« first day (1617 days earlier)      last day (3318 days later) » 
01:00 - 20:0021:00 - 00:00

fge
9:00 PM
<-- still coding
 
<-- still studying
 
fge
9:23 PM
Meh, my TODO list only keeps growing
 
Meh.
Still on ClassLoaders
Reflections and Method Handles still left .. phew
 
fge
Classloaders? What for?
 
Just trying to understand how the complete thing works
 
fge
Good luck
Classloaders are... Complicated
 
yeah they are, banging my head for some time now
 
9:33 PM
Hello
 
Heya
 
hi
 
Studying sounds nice
 
fge
Heh, I am jealous of a particular guy on IRC who writes bytecode/classloader related code like it was nothing
Well, given that he's a senior developer at JRebel I shouldn't be surprised, but still
I'm jealous
"Where can I read more about indy 101?" -- "Wait, I'll write some sample code"; 10 minutes after, he has actually written a fully working example
 
Where on IRC is this :D
 
fge
9:42 PM
Freenode, ##java
 
You can do the same when it comes to NIO
 
^^^
 
fge
NIO2, you mean
 
I either say IO or NIO
what is NIO2?
 
fge
It is in fact the other official name of JSR 203
NIO is all the Channel stuff
SeekableByteChannel, ByteBuffer etc
(+ async I/O)
 
9:45 PM
anyone here familiar with SAX? not the instrument
 
78
Q: What's the difference between JavaScript and Java?

GuyWhat's the difference between JavaScript and Java?

Shog's comment on that XD
 
well I am not deep diving into class loaders, but just kinda trying to understand the basic usage of it
 
I guess that's a no, then?
 
> One is essentially a toy, designed for writing small pieces of code, and traditionally used and abused by inexperienced programmers.
 
fge
9:50 PM
@SecondRikudo I have a hard time believing the number of upvotes
 
@fge I don't, It's a joke question from 2008
 
@Second did you read my cookies and cupcakes?
 
@Gemtastic No?
 
10:15 PM
Hmmm
@Gemtastic That's partially true.
Java was built on top of C's mistakes, eliminating the horrible pointer arithmetics and symmetry bugs.
JavaScript was made in a time where Java Applets were in full blown thrust, and Netscape wanted a language to allow a less programmerish crowd to be able to write simple, trivial applications without needing to learn a full blown language
Although the comparison between programming languages and food is pretty interesting
Some languages are surely toxic (looking at you perl!)
 
perl is about as dead as a former mainstream language can be (they don't die, they go in to maintenance mode). Now, if we just got the same happen to PHP...
 
@kiheru Not with the release of PHP 7 we won't.
We're looking at a full blown Python situation here
PHP 7 won't have mysql_query(), invalidating 99.995% of all PHP tutorials on the internet
Which of course means, none of the crappy companies will ever upgrade.
 
python situation as in upgrading to newer version is non trivial?
 
@kiheru Python situation is having two versions for the language (Python 2 and Python 3) and everyone are using the former XD
I don't see anyone stopping to use PHP5 over the next 5 years or so, at least.
Hipsters and evergreens will go with PHP7
But that's about it.
 
Hehe, yes. Running Fedora, with very little legacy stuff and I still need to have 2.7 installed
it perl 6 gets ever released, it'll be the same, except all the legacy stuff was written 15 years ago
 
10:37 PM
Is there any easy way in Java to print out all of the servlet names and paths that a web app has registered with the container?
 
fge
@SecondRikudo what you call "mistakes" in C I call features ;) Again, everything is in the eye of the beholder
 
@fge vOv if I open a handler to a file, it's pretty obvious I want to close it when I'm done
If I allocate memory, it's obvious I want to deallocate it when I'm done
C doesn't do that for you, and you have to do it, and 100% of the time
If something should be done 100% of the time, the machine should do it for you.
 
fge
No, sorry
You can't ask a CPU to do that for you at the machine instruction level
C is just "high level machine code"
 
@fge I never asked the CPU to do it.
I asked the language to do it.
 
fge
And then again --> with discipline, this is not a problem
 
10:50 PM
Hence, Java was born over C's inability to provide such a basic feature.
 
fge
After all, EVERYTHING runs C
 
This isn't a discipline problem
 
fge
Yes, this is a problem of point of views
I don't see C as flawed, you do
 
@fge The fact remains, that not everyone program in C.
 
fge
Sure
 
10:52 PM
When someone today picks up a programming book, they don't go to C first
At least, most of them.
Why is that?
 
fge
And not everyone programs in Java, JavaScript, Haskell, C# etc etc
@SecondRikudo which I believe is a mistake; beginning with C teaches you a lot you would never learn if you started with an "easier" language
 
C is flawed, it makes a lot of sense from the machine's perspective, but it lacks basic features from a human's perspective.
 
fge
I did start with C
 
Asking a machine to track alloc and malloc across 7 files is easy
Asking a human to do it is bordering impossible.
 
fge
C is not flawed, it forces humans to acknowlege that what is behind anything you program is a machine
 
10:54 PM
Hi all
 
@fge I don't need to know that level of detail.
That's the idea of abstracting the pain away.
 
I learned C++ in University, and for my sins I now have to program in Java ^^
 
fge
You don't
I do
Recall, I was a systems engineer for 15 years
Without C, I just wouldn't have been able to be as good a systems engineer as I was
 
I can make my living, and my hobby projects, and learn how to express myself through code, without knowing how a processor ticks, and what makes a certain type of RAM better than another
Hell, I've only learned what heap and stack were very recently.
 
fge
Yes, that's your choice
But that's no reason to view other languages as flawed, they are from your perspective
@SecondRikudo I have learned about them when I was 12
 
10:56 PM
@fge Well, they are flawed because other languages were successful after fixing those flaws :P
 
If you bite into an apple expecting it to be a pear you will always be disappointed and end up calling apples disgusting.
 
@SecondRikudo @fge , as developers we are now being abstracted away from the hardware. The "metaphorical" curtain has been drawn over the machine and all we see on stage is a VM
 
You can't run away from facts, Java became successful after it killed the two most horrible bug factories from C.
 
fge
@SecondRikudo and what language do you think runs your very device at the moment?
Answer: C
 
@fge I don't doubt that
And I'm sure there are a lot of people out there that would pay a crapton for a good C developer
 
fge
10:57 PM
Pick the right tool for the job; but don't call a tool "flawed" because it doesn't do "what you want"
C is not flawed
 
fge
It is pitch perfect for what it was defined, and designed, for
 
1 min ago, by Second Rikudo
You can't run away from facts, Java became successful after it killed the two most horrible bug factories from C.
If C was not flawed, no other languages were created on top of it.
 
fge
And you can't run away from the facts either: Java was not designed to be a systems programming language
 
The mere fact that someone thought that they could do better, and it gained such popularity, tells something.
C weren't designed to be a system programming language.
 
fge
11:00 PM
Anyway, that's a useless argument
 
It was designed to be a programming language, because that's all there was.
 
fge
Yes it was
Of course it was
Ohwell, nevermind
And, uh, you seem to forget that FORTRAN precedes C, and so do ADA and COBOL
 
@fge Yes, but they all had, fundamentally the same role.
Don't get me wrong.
C was, and still is, genius.
 
So, sorry to interject here but I want to ask if anyone could recommend a Java framework for these two use cases.

-Web scrape / mine words from sites like LinkedIn
-Provide this data as JSON via REST
 
The fact that C lives, while ADA COBOL and PASCAL (mostly) died
Shows that it is very good at what it does
 
fge
11:02 PM
COBOL isn't dead...
There's still a s*load of mission critical code running COBOL
But it doesn't boast about it
 
@loosebruce Doesn't sound like a very complicated thing to do yourself
 
Yes but is there something that could speed up my development?
 
Any DOM parser for scraping
@loosebruce You're looking at the problem wrong
Will you have to maintain this program after you build it?
 
No this is a fun project

I hate people who use buzzwords

So I want to collect buzzwords like "cloud" , "big data" from sites like linkedin and use metadata to categorize those buzzwords e.g. business talk, economics, politics

Then I want to store that in MongoDB and provide a REST api to get the stored data as JSON
This Spark framework looks promising
 
hi, can anyone help me with a question on SAX?

http://stackoverflow.com/questions/29323687/using-the-sax-characters-method-to-parse-pcdata-from-an-xml-element
 
01:00 - 20:0021:00 - 00:00

« first day (1617 days earlier)      last day (3318 days later) »