« first day (1618 days earlier)      last day (3321 days later) » 
03:00 - 14:0014:00 - 00:00

2:00 PM
Schools sucks.
 
@Unihedro so you concluded that ;)
 
Going to school isn't about learning specific technologies that you will use in your next job. It's about learning how to learn...
 
^^^^^
 
@Unihedro Because it's easy to install and doesn't require a license.
 
@SecondRikudo ... Eclipse?..
 
2:00 PM
@Michael BAHHHHHAAAAAAAAAAAAAAAAAAAAAAAHAHAHAHAHAHAAAAAAA
 
You need school
 
@SecondRikudo So does eclipse
Doesn't require installation :P
 
In ACM programming contest Netbeans and Eclipse are Banned
 
@SecondRikudo You don't agree?
 
2:00 PM
ACM programming???
 
@Michael I wish it were that way.
 
ACM - its a school cempetetion
 
@deadlydragon00 cempetitin?
 
But if your school never taught you how to Google and read references, that's not what it does.
 
sorry
 
2:01 PM
And I still haven't met the school that does that.
 
@SecondRikudo Say your school uses Java. Does that mean you can only apply for Java jobs?
 
@SecondRikudo Why does school have to teach you how to google?
 
lol
 
@Michael In most cases I've seen, sadly, yes.
@ItachiUchiha Knowing how to google isn't a trivial skill.
2
 
@ItachiUchiha It's surprising how many people need to be taught this...
 
2:02 PM
The thing is, in school we learn really niche aspects of java
 
@fge I use it... in prod code... because our codebase is 10 years+ old.
 
Fact: Have a look at Stack Overflow...
 
and i don't want to learn further on the internet because its going to confuse me in lesosns
 
@rubin.kazan Move ahead of lessons
 
@rubin.kazan That's fine, but you need to understand what you're taught.
 
2:03 PM
hi
 
At the moment I'm just memorising the lines of code we get taught
 
I think the problem is that some people don't know how to state their problem abstractly. They want a person to listen to their problem so someone can empathize with them.
 
@rubin.kazan Join ACM
 
Did she just say "Memorizing lines of code"?
 
@deadlydragon00 ... In my programming contests, we're allowed to use either IntelliJ, the Bash terminal, or Free Pascal IDE
 
2:04 PM
@deadlydragon00 Im going to look into it now, have no idea what it is
 
Which are for Java, Cpp and Pascal respectively.
 
In our place Netbeans and Eclipse are not allowed for ACM
 
same
 
I hate IntelliJ. I tried to set it up for Golang. It was such a terrible experience
 
@schmutter Hi.
 
2:05 PM
@deadlydragon00 Really? When I went to ACM competitions in school, they let us use whatever development tools we wanted during the programming competitions.
 
how old do i need to be for ACM?
and what countries is it available in?
 
AS long as you are college
 
@rubin.kazan Most Important : Do not memorize your code, try to deduce a logic for the question and then implement it. Memorizing will just bring you hurdles in the future.
3
 
@Michael those are banned in our place, only BlueJay are allowed and thay disabled autocomplete for imports
 
umm, im not living in the US
 
2:06 PM
@deadlydragon00 BlueJay is the worst software ever made.
 
@deadlydragon00 Wow. That's silly IMO.
 
@ItachiUchiha ah okay, i'll try and understand more but i find myself asking too many questions in class then the kids nd teacher get mad if u know what i mean
 
@deadlydragon00 BlueJ??? That is even worse than Netbeans
 
Yeah Totally right
Thats the reason why I dont like ACM
 
@rubin.kazan Write questions you have on the side and ask here.
 
2:07 PM
Scored 35% in the most recent programming test
 
We (I) won't get mad, no matter how many questions you ask.
 
@rubin.kazan Just let the teacher get mad. He/She is paid for answering your questions :)
 
Also that ^
 
@ItachiUchiha haha i don't have it in my hear to do that
Thank you, are u guys basically on her 24/7
 
1 min ago, by Unihedro
@deadlydragon00 BlueJay is the worst software ever made.
 
2:08 PM
Well @uni is a 24/7 resource in here
 
We should create our own community with regards to learning to code. :p
 
@Unihedro Yeah I know..
 
I for one don't know anything useful about Java, so I would be enlightened pretty easily.
 
258 unread messages
 
Bad timing though, very many things going on for me right now ;-; even on sunday, can't imagine tomorrow
Yay someone applied for the position on Oratio!
 
2:09 PM
But be careful, he will bash you if you are too poke(y)
 
accepted without reading application; workload -25%
 
How do you refer a guy who pokes a lot? pokey doesn't sound to be the correct word :P
 
poke-ative
 
I've always thought of java as a boring language, I mean we're just creating gui's
 
@Unihedro and that's a lie
 
2:10 PM
@Unihedro Sounds more like a pokemon-master :P
 
ahaha
 
Gotta catch them all.
catch (Object ALL)
 
Pokemon X and Y is the latest episode
 
@rubin.kazan ouch... probably with Swing, right?
 
@rubin.kazan There's more than GUIs and Applets in the world of Java :)
 
2:10 PM
@rubin.kazan GUI is just 5% (may be even less) of what Java has to offer.
 
@Vogel612 yup
 
I love java for Backends.. NO GUI
 
High five, me too!
 
great
 
For example (cc @rubin.kazan) OakBot is built in Java.
=about
 
2:11 PM
@rubin.kazan I kinda pity you...
 
OakBot v0.0.2 by Michael | source code | built: About 4 weeks ago. | started up: About 3 weeks ago.
 
@Vogel612 school
 
A chat bot in Java! Isn't that awesome! :D
 
ooooh
 
wow
Where is the repo @Unihedro
 
2:12 PM
At least it's not in Prolog, or they'd go back in time and kill our mothers.
 
Totally, Hi5 @uni @Michael
 
@deadlydragon00 Click on the "source code" tab.
 
how can i learn more about java without being confused
 
@rubin.kazan Talk with us.
 
atm we are doing 1 dimensional arrays
we have done sorting and searching methods so far
 
2:13 PM
arrays are ... complicated.
 
yuppp
 
Time to get back to code :)
 
I'm doing alright with 1 dimensional so far
 
since java arrays are different than c arrays, mostly
 
@rubin.kazan Basically you need to specify why you need to use Java
 
2:13 PM
@Vogel612 Well, you first learn the low level to understand the problem, then you're presented with the higher level abstraction.
 
dont understand wtf I am doing it just feels as if it is a variable
 
@Vogel612 Java arrays are different than any proper array.
 
I love Java I dont like C#
 
@deadlydragon00 I think I just vomited in my mouth a little
 
hehe
 
2:14 PM
Anyway, thank you :)) see you all later
 
@SecondRikudo Ewww
 
Bye Rubin
 
2:19 PM
@ItachiUchiha lol, I love that one.
 
If you are given a chance at google to have an Interview and you said "Java Suck". Expect to be kicked... :D
 
Um actually, Google is powered by Sharepoint
 
I believe its powered by C++ and Java
Java is the Backend while C++ index the Data.. I guess
 
Ask Jon and Myst...
 
2:24 PM
are they working at google?
 
@Unihedro lol that would be hilarious
 
Jon works at Google, Myst works at Youtube.
 
Mystical?
 
Oh, Pleas invite them
 
NO
 
2:25 PM
:'(
 
I'm a scrub, I have no power to.
 
if you're good, you know where to find myst though.
muh4h4h4h44h4h4
 
You are making me curious
 
meh.. Uni also knows a chatroom where myst is currently in
 
I also own a few rooms where he's in.
But I'm not going to poke them; I'd die.
 
2:37 PM
yep
 
:D
I know someone at Quora but he is an HR
 
one of the mods at CR is working for IBM
another one was working at Sun during java initial development (from what I gather)
the last one is a CS Undergrad ;)
 
@deadlydragon00 People at Quora < People at Stack Overflow.
 
I don't use Quora
 
Me neither. I contribute to Stack Exchange and Wikipedia.
 
2:40 PM
Oh and then there's Eric. He was in with C# design
and Brian Goetz, one of the Java Language designers..
 
@Vogel612 He is the man behind the lambdas :)
 
but "just" 12k rep ;)
too busy doing other stuff ;)
 
Who has a new Idea on what project to do in java next time?
 
World domination.
 
> It's Uni, it's Uni and the dead..dead..dead..deadlydragon00. NORF
 
2:52 PM
!!urban norf
 
Cap is still dead :(
I'll look online myself
 
Cyu Everyone... I need to sleep, Bye
 
Seeya!
 
3:16 PM
hi
just had a hairy last hour
 
do we want to know?
 
got an email saying my Azure subscription had been cancelled for my FYP college project
 
@Unihedro /me wants to write an urban command for OakBot now
 
turns out it was a glitch email
 
lol
 
3:18 PM
phew
thats a load off my back
 
@Michael hmm... while we're at OakBot.. are there any plans from your side to merge it back to JavaBot?
 
@Vogel612 Not currently. OakBot and JavaBot have very different architectures.
 
hmm.. true that
 
JavaBot uses a library that simulates a web browser, which is super slow and unnecessary. :P
 
lel
 
3:20 PM
OakBot just makes raw HTTP calls.
 
eeek
 
I've merged the javadoc functionality in with JavaBot, though.
 
well in essence the message sending also is raw HTTP calls
yes. But why have two bots that can javadoc
 
Right now, I'm working on ez-vcard.
 
so I've started with the Jackson API to parse in my game file instead of SAX, so far i've added the JSON file, added the Jackson jar, and created POGO's, next step is to set up the parsing?
 
3:22 PM
that's kinda irrelevant to the question... what If we removed javadoc stuff from JavaBot?
 
I'm looking at its pitest results to improve the unit tests and find bugs. :)
@Vogel612 Why do you want to remove it?
 
because it's redundant?
 
I find that it helps to stimulate discussion in chat.
 
I'd be against having two different codebases for two separate bots
It's only OakBot's that's in use
JavaBot is currently not running anywhere
 
Yes, you can look at the javadocs yourself, but having a javadoc snippet in chat helps to focus the conversation, IMO.
 
3:25 PM
@Michael you're missing my point...
 
I think Vog means that OakBot already delivers the Javadocs, so JavaBot shouldn't have to (for now).
 
^^ that
 
fge
Grr, I can't wrap my head about the error which I see :(
 
@Unihedro Ah. Makes sense.
@fge Don't worry, that's normal. Human skulls are not that flexible.
 
3:33 PM
HELL
 
@SecondRikudo I am actually quite sure this doesn't mean the Java flavor originally..
 
fge
F*
No search engine helps :(
 
What is the error?
 
Woot! Finished everything!
\o/
It's almost midnight. xD
 
fge
3:51 PM
@Michael java.lang.ClassFormatError: Arguments can't fit into locals
 
=javadoc ClassFormatError
 
@Unihedro java.lang.ClassFormatError: Thrown when the Java Virtual Machine attempts to read a class file and determines that the file is malformed or otherwise cannot be interpreted as a class file.
 
> Subclasses of LinkageError indicate that a class has some dependency on another class; however, the latter class has incompatibly changed after the compilation of the former class.
^ @fge You need to recompile the dependency, it's incompatibly changed
 
fge
No, that's not the problem
It's bytecode which grappa generates
There's a problem with it and I can't find where it is exactly
 
Ohhhh
 
3:54 PM
So, you know there's a problem with the byte code, you just don't know what it is.
 
fge
I suppose it's due to my calling MethodVisitor's .visitMaxs() with arguments which were supposed to trigger automatic computing... It just happens that here it doesn't work
It works when I generate 1.6 bytecode
Not 1.7 :(
<-- going to collect as much info as he can and ask a question on SO...
@Unihedro you still owe me a mail
 
Um
IIRC, I have to trim everything to three paragraphs, right?
 
fge
No
Read the mail again
 
Oh! I completely missed that
So sorry!
The last paragraph, I mean.
 
fge
Well, have a try with what I said in the mail already; there is time to refine
 
4:07 PM
> non development skills
... Too much to mention in that field.
Gardening, professional design, HR, resource & financial management, legal, mocking people, ...
 
mocking people >_>
 
@ItachiUchiha I also lead and participate in tabletop RPGs, and always win in the ones I participate in. :p
 
fge
@Unihedro meh, don't go overboard; those skills are not important for what you aim to do for that particular position
 
ikr..
 
fge
Uuh
Found...
But I don't understand why
 
4:17 PM
 
fge
I'll certainly ask the question
In the meantime, get to work :p
 
yes cap'n
 
Off to lunch. Cya.
 
Seeya!
 
hi
 
4:31 PM
Don't badger our chat users. If they know and would help you, they already would.
 
huh?
okay dokey
 
IOW: Don't ping unnecessarily unless you have a particularly good reason.
 
gotcha
 
4:47 PM
... bbl
 
 
3 hours later…
7:23 PM
>_> <_<
 
Hi everyone
 
heya stranger!
what brings you to this wonderland?
 
hmm... a Tux
 
The wonderful world of Java
Seriously, I'm not a good english speaker but I've wrote a Java API short documentation. So I need some advice or spell check. Anyone can be interest ? Thanks in advance.
 
Show me
 
7:34 PM
That is the home page of this documentation
Thanks very much
 
> to write a validation states changes condition
to write a validation state change condition
sounds better
> (change of a state to another)
change of one state to another
 
Ok, i've updated the page
thanks!
 
hi
 
@BrianJ hi
 
I'm using getClass() to reference a resource in my project, but the mapper from the Jackson API won't take a type of Input Stream, any way to get around this?
fresh out of ideas
mapper expects a string
InputStream source = getClass().getResourceAsStream(GAME_FILE);

Location loc = mapper.readValue(new File(source), Location.class);
 
7:47 PM
@BrianJ You could read the file content in a String before ?
 
String jsonPath = source.toString();

// read from file, convert it to Location class
Location loc = mapper.readValue(new File(jsonPath), Location.class);
like this?
 
No, you could read the file content with a BufferedReader for example and store each line in a StringBuilder for example
 
@idriss you are a lot similar to fge in case of your professional background :)
 
Then you could pass your String result as argument of your mapper
 
@IdrissNeumann will my above solution not work?
 
7:53 PM
@ItachiUchiha Sorry, I don't know what is "fge" ^^
 
/ME is searching on google
 
He is from France. Started as a Systems Engineer, C and Unix. Been there for 12 or so years and then finally landed into Java.
 
@ItachiUchiha I think I'm more young and I've less experience then he
^^
 
Well yeah, his github profile rocks
 
7:56 PM
than*
s/(th)e(n)/\1a\2/g
@BrianJ It's possible that readValue can take a File as argument (I've don't check the javadoc). In this case, your solution can work :)
 
okay just got a null pointer exception when I tried to call parse() from main, I know I'm a noob
 
Moreover, I know that readValue can take a json String argument
You could also give an InputStream directly ;)
 
@IdrissNeumann if I use that then it would be:

Location loc = jsonMap
I'll post my impl of that solution
 
I think you can map your File with another class like your POJO for example (if the POJO has a correct structure)
 
so this would be equivelant? or no? @IdrissNeumann

InputStream source = getClass().getClassLoader().getResourceAsStream(GAME_FILE);



Map<String, Object> jsonMap = mapper.readValue(source, Map.class);

Location loc = (Location) jsonMap;
 
8:10 PM
@BrianJ No ^^
 
I thought so
 
lol
feels like me right now doing this project
 
@BrianJ mapper.readValue(source, Location.class);
 
@IdrissNeumann that gives a type mismatch
Map<String, Object> jsonMap = mapper.readValue(source, Location.class);
 
8:14 PM
@BrianJ I'll try...
 
ok
maybe I should use the previous method?
 
First test : with String json content :
@Test
public final void testJacksonTest() {
String json = "{\"id\":\"1\"}";
try {
ObjectMapper mapper = new ObjectMapper();
Location l = mapper.readValue(json, Location.class);
assertEquals(new Integer(1), l.getId());
} catch (Exception e) {
failWithException(e);
}
}
And the pojo :
package org.volifecycle.tests.utils;

public class Location {
private Integer id;

public Integer getId() {
return id;
}

public void setId(Integer id) {
this.id = id;
}
}
 
so I tried to call the parse method from my main class, but I'm getting a class not found exception, although the Parser class is in the same package
@IdrissNeumann
any ideas why?
I have the POG's set up already, thanks for the ^^ sample, don't know why my parser class isn't being found when I call from main though
 
9:03 PM
when I set a breakpoint I get an error at this line:

String jsonPath = source.toString();
 
fge
9:50 PM
Argh, NPE
 
10:01 PM
yeah
that's what I said
I think the problem is converting source.toString();
I set up a question on SO about it, if anyone has some input:

http://stackoverflow.com/questions/29334973/how-to-pass-inputstream-to-jackson-apis-objectmapper
 
fge
10:15 PM
Sorry, that was related to my code
 
fge
10:51 PM
OK, excellent
grappa 1.1.0 soon on the shelves!
 
11:03 PM
@fge Can I get it on floppy disk?
poking fun at how software is less and less being distributed in brick-and-mortar stores
 
hi can someone help me with my question?
 
What is your question, @DevinTripp?
 
I think you're going to have to be more specific about what exactly it is you can't wrap your head around. What specifically is the problem with which specific aspect? — Chief Two Pencils 37 mins ago
0
Q: How to make a variable button that you can click

Devin TrippSo im trying to make a game app that lets you click the green buttons and get rewarded or what ever and displays it and when you click a red button you loose. ive attempted to make a button for this app but cannot wrap my head around it. thank you everyone public class Main extends Activity { ...

 
You should fix the program logic or whatever.
Sorry, I'm not familiar with Android.
 
fge
@Michael no, I don't have a floppy drive anymore :p
 
11:13 PM
There is something satisfying about hearing a floppy disk grind when you are saving something.
It's like, the computer has to work hard to save all of your hard work.
 
haha
 
Am I right?
 
fge
Consider the fate of those poor floppies too
Prodded hard by steel needles when they didn't ask anything
 
As opposed to solid state drives? Being constantly exposed to electricity whilst their memories slowly fade away.
A life of eventual Alzheimer's.
 
Is there anyone here willing to clarify some things to me about sockets in Java?
 
11:23 PM
What is your question, @NoobDoob?
 
Well I have the following question
supposing I have a program acting as a server, running on JVM
is there a limit to how many accepted socket connections, from a socket object listening to a specific port number, I can keep alive at the same time?
other than how much my RAM can take
 
fge
THere are OS limits
One of them is the number of file descriptors your process can open
 
so to overcome this one way would be to use more processes for my task?
 
fge
Or to raise the OS limits for your user if you can do that
 
and I would also have to start listening to another port too, I suppose
 
11:27 PM
@ItachiUchiha Most schools pressure on Eclipse. In my case it's only that my first teacher used it. The ones we had in the last two classes use intelliJ.
 
fge
No, the port is not a problem; you can accept an infinity of connections from a single listening socket
 
but I am limited by the OS limits
 
fge
The limit is really with the file descriptors
 
on the processes
hm
 
fge
Yes, and also per user
All this depends on the configuration of the OS
 
11:28 PM
Part of the reason I am asking
is because a freind of mine said JVM itself has its own limits, as a virtual machine
friend*
would that be one and the same with the limits imposed by the OS?
 
fge
No, not as far as using system resources is concerned; it may be limited into what it can access, yes
That and the fact that the language it runs may also have its own limitations as well
For instance you can't do a real fork() in Java
(that may change for Java 9 though)
But it's not the fact that the JVM is a VM which ls the limit, not at all
 
Well our little chat has definetly been helpful to me. Thank you for your time :)
 
fge
no problem
 
@NoobDoob Now you can tell your friend that he's wrong. xD
 
It's not just for the argument, we are on our way to make a working server
So clarifying that would be helpful indeed :P
And he's got quite more real work experience than me on programming, so I can't tell him much :P
Well time to say goodbye
It's quite late here in Greece, and I got jobs to do tommorow morning
See you some other time :D
 
11:36 PM
Alright, bye :)
 
03:00 - 14:0014:00 - 00:00

« first day (1618 days earlier)      last day (3321 days later) »