« first day (2232 days earlier)      last day (2723 days later) » 

5:11 AM
@dcsohl 1<=t,n,s<=10^6
0<=r<=1
 
 
2 hours later…
7:35 AM
morn
 
8:21 AM
morn
 
8:44 AM
morn
 
 
1 hour later…
10:13 AM
I hate it when there's no work to do in the office. There's only so many articles I can read in a day...
 
 
1 hour later…
11:14 AM
git question: can I cherry pick more than one commit? As in git cherry-pick hash1 hash2 hash3?
just for the record, you can do git cherry-pick hash1^..hash2
only in git 1.7.2+ though
 
 
1 hour later…
12:28 PM
Happy Friday, Java!
 
Friday \o/
 
1:26 PM
ƪ(˘⌣˘)┐ ƪ(˘⌣˘)ʃ ┌(˘⌣˘)ʃ
 
1:43 PM
Oh yes
Has some non-alcoholic cider while coding
 
it's the Friday dance
oh. Non-alcoholic? Are you having a baby? :o
 
No, I just hate the taste of nerve poison :)
 
disappointing...
 
It IS still cider so it has some super low content leftover
And that's sadly what makes it less nice to drink
 
I do like my nerve poison
which reminds me that I don't have any beer in the fridge. Buy all the beer! \o/
 
1:56 PM
I leave all the beer to you peeps
 
I just had a thought about the room title. If NOT_ANDROID is written in capitals, that means it's a constant. If it is a constant, why is it quoted?
#todaysthought
one could argue that the string passed could be all in capitals, but it's kind of edgy
have I mentioned that work is very slow in the office today?
 
I don't get why Java needs to be instantiated with a string
 
well, it was changed by Itachi as Java :: NOT_ANDROID or something like that. Then Uni said that was not java syntax, so he changed it. But I still believe that is not really good enough
 
Hi all!
 
and here we are, discussing about important things :P
hi there
 
2:09 PM
I have extended a ConcurrentHashMap and overridden the put-method. However: When I put anything it puts the element into the map but doesn't execute the code (print to stdout) before the call to super.put(). Does anyone of you have an idea why this is? O.o
 
you have not even googled that question, have you?
 
Yes, I have. I wouldn't ask if I hadn't...
 
you clearly haven't googled much: stackoverflow.com/questions/4595512/…
your exact same question
also, I would recommend you to debug your code step by step
 
Java::NOT_ANDROID would be valid syntax if you were gauche enough to have a method NOT_ANDROID() in your Java class...
 
Well this question on SO doesn't explain why if I call subClass.put(), a stdout-print in subClass.put() is not executed but the superClass.put() is called. It seems to "skip" the code in the overridden method...
 
2:25 PM
@Fawkes Your program takes input from System.in -- what are you feeding it? The very first value in is t, the number of times you're doing the hash thing. The second input is n, the number of key-value pairs for the current hash thing. Then each pair of numbers after that is a key-value pair for the current hash thing.
So if your input is 1 3 1 1 2 2 3 3 you are making one hash, with three values (1,1), (2,2), (3,3) and you should not be at all surprised that there is no value for 0.
So again, it depends on what values you are feeding it -- what's the input?
 
@zoku that's why I'm recommending you to debug step by step. I don't think your problem is that the instruction is skipped. It might be that you are not seeing it in the console. Maybe you are redirecting your stdout
 
2:41 PM
@Tavo afaik I'm not redirecting the stdout. A debug runs into the same error. The breakpoint in subClass.put() is never reached.
Ok, I found the problem. Tried to work with the element to early when not everything was ready, yet. Thanks for replying! The new point of view helped me!
 
@zoku glad you managed fixing it
 
 
2 hours later…
4:46 PM
almost time to go home! \o/
 
Yo, JavaFX masters! I want to add glow effect to a circle. Why does it truncated the glow in a square like fashion?
 
I still wonder why people use Java for front end stuff...
 
@Tavo I'm noob bro. I'm actually EE. What other option do I have?
 
not use Java
 
Then what?
 
4:49 PM
depends on what you are doing I guess
but Visual Studio has brilliant drag and drop tools
 
I want a GUI to connect to some Serial port. I don't know C++ and hence QT. I don't know python
@Tavo JavaFX also has SceneBuilder
 
oh well
 
Besides, There may be also an Android client in sight
 
shrugs
 
The question is, I don't get why so many people hate java so ardently
 
4:51 PM
I don't hate Java
but I think using Java for the front end is like hammering a nail with a screwdriver
 
What about usability in different OSes? You write once in JavaFX and you are good to go in Win/Mac/Linux or even maybe Rasberry Pie or ARM
 
what about running your front end in a browser?
that even lets you run it in a mobile phone
I'm not saying you can't do it. I'm saying it's not the best tool
 
Again I'm EE but I have feeling all these technologies* like Node.js or Angular are all hype
In 5 years, There is 0 guarantee that these will be still around
@Tavo Browsers? Then you should still worry about Chrome/FF/Safari stuff
 
I beg to differ. There's so much development around them that they have become the de-facto standard
 
Ain't no one have time for that
 
4:58 PM
5 years ago people said the same thing about Java: it's dying!
and here we are, still coding in Java
 
@Tavo I'd have sticked to HTML5 if I wanted to do web stuff. At least there is a standard behind it
@Tavo Oracle monster is behind Java. lots of Govt and Business folks are dependent on it. This hype stuff does not apply to Java
 
yeah. How much is Oracle supporting Java lately?
 
@Tavo Providing yet another GUI (JavaFX) or Lambda Expressions doesn't count?
 
I do believe that lambdas are really overhyped. And to be honest, I haven't used JavaFX, but I don't see people moving massively into it
JavaFX is a toy at best
 
@Tavo And folks at Slashdot seem to be on the same boat with me
 
5:01 PM
so...?
 
@Tavo The consensus of developers think Node.js and Angular are hype and Java is here to stay
 
well, there's no clear consensus if we are debating, right?
;)
it's your consensus with Slashdot
talk to all the people using Angular, they might differ
we all know that Java is here to stay mostly because of all the stuff that is already in production out there
 
@Tavo Don't get me wrong. I'm not the person commenting on these stuff since I don't know anything about java script or NoSql and stuff
 
well, then there's hardly a consensus. You are just repeating Slashdot's opinion, right?
 
@Tavo Exatly
 
5:04 PM
well, I do have my own opinion :)
I might be wrong, I might be right
 
@Tavo :D
@ItachiUchiha Yo, JavaFX masters! I want to add glow effect to a circle. Why does it truncated the glow in a square like fashion?
 
 
2 hours later…
7:09 PM
hello Java
 
7:29 PM
@Zeta.Investigator How did you make the circle?
The drop shadow effect depends on the layout bounds of the node
@Tavo because its Java
 
@ItachiUchiha LEDIndicator = new Circle(0, 0, 7, Color.BLUE);
LEDIndicator.setEffect(new Glow(0.1));
LEDIndicator.setStroke(Color.TRANSPARENT);
ToolBar myToolbar = new ToolBar();
myToolbar .setPadding(new Insets(10, 10, 10, 10));
myToolbar .getItems().add(connectionLED);
 
 
1 hour later…
8:58 PM
anyone here take the professional scrum master exam? apart from the 16 pages scrum guide, anyone suggest some prep' material?
 

« first day (2232 days earlier)      last day (2723 days later) »