« first day (1699 days earlier)      last day (3256 days later) » 
05:00 - 18:0018:00 - 23:00

5:04 AM
o/
 
morning
 
Morning
 
 
2 hours later…
fge
6:36 AM
Moo
 
6:53 AM
Hello there Guys~!
 
7:11 AM
Very Good Morning!
 
7:24 AM
I wonder where are the elders..
 
Elders?
 
@Unihedron :P
 
I posted a question on Chess. I hope they appreciated my love for variant chess.
0
Q: How to defend from the crazy knight attack opening at Nf3 ..., Nd4 in Atomic chess?

UnihedronHere's a game of Atomic chess I played with a friend. As you may see, neither of us are very good at Atomic chess and the game ended in under twenty moves. [FEN "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"] [Event "Casual game"] [Site "http://lichess.org/I9pp1BLC"] [Date "2015.06.1...

 
Anyone up for a Spring question?
 
Spring?
Now?
In the morning?
 
7:47 AM
Morning
 
Morning
 
8:01 AM
morning
 
^^^
 
@fge a bit too late, but it's "disculpa" or "perdón"
morning all!
@Dustiny what do you mean by "the handle"?
 
Katatonia makes good coding music
 
@Gemtastic no singable lyrics?
 
Oh yesindeed it does, but it's more mood music. It's easy to listen to while I code
 
8:07 AM
@Tavo vocals are distracting, I prefer just melody
 
oh, I normally use Massive Attack or Royksopp
helps me concentrating, very little option to sing along
although when I'm in the mood and extremely focused, I can do with The Offspring or something alike
 
Music to me though is mostly to cancel out my coworker's work talk behind me
When I focus I get so focused I don't hear the music anyway
 
@Gemtastic the number of times that I put a new record and realised it had finished and didn't even heard it...
 
@Tavo I know, bro. I usually notice because suddenly I hear my coworkers discuss their job (which is vastly different from mine)
 
to me, it's normally my manager summoning me to a meeting
 
8:13 AM
hi
 
hi @mimisya
 
@Tavo Hehe yeah
Though I have some embarrassing ticks when I'm that deep into focus; I sit in really weird positions and make faces :/
 
I've been in this new role for a couple of months. Every week he has to come and ask me to fill my timesheets
 
I have a nice routine before I go home where I fill in my times
 
@Gemtastic how about throwing hands in the air when it compiles? :P
I have a meeting as a reminder in Outlook. Still no joy
 
8:16 AM
XD At least it makes sense. I look like I forgot how to human
I also squint a lot so it looks like I'm pissed at my code
I focus so hard I become asian! :O
 
ADG
OK how to reverse a map using java 8 streams, not the crude way
something like map.forEach((key,value)->reversemap.put(value,key));
 
1 message moved to bin
 
@Gemtastic lol
 
hi every body,i want to learn how to design software project,write core code,how to design table,write e-r map.what book should i read?
 
ADG
is help indeed sound bad in english or am i parsing it's translation incorrectly into my language @Unihedron
 
8:20 AM
@wangyiran Any book that teaches you Java.
That is, if you're even aiming for Java, otherwise just read any book, it doesn't even have to be related to programming.
 
ADG
anyone else?
 
@ADG You're pinging me without grant. That's not acceptable.
 
ADG
OK how to obtain a grant?
 
lol
 
ADG
I thought you were helping and kind
 
8:22 AM
yesterday, by Unihedron
Negotiations are for kind people. I'm not a kind person.
No, I'm not kind
 
@ADG he is helping. but 'kind'? 0_O
 
@ADG Write to caniaskforhelpinannoyingways@unihedro.com.
 
@CrazyNinja he is, but helping? :P
 
ADG
404 DNE
QED Unihedron is None.
 
It took me five seconds to change my mail server to void all incoming mail on that subaddress, so feel free to write all you want.
 
ADG
8:24 AM
Nope, the mail bounced back
 
@ADG did you really try? O_o
 
@ADG My server logs tell otherwise.
 
ADG
@Tavo well I have, would yo see my code?
 
what code?
I just saw some -sadly common- arguing
 
@Tavo Because the Java room totally comes with a lot of Java discussions, right?
 
ADG
8:26 AM
@Tavo here it is...
 
@Unihedron indeed
^_^
 
ADG
for (<...> x : map.keySet()) {
reversemap.put(map.get(x), x);
}
 
@Unihedron I would never take your entertainment out of you
@ADG and what do you want to do?
 
ADG
@Tavo do you see, it works, but I said "Java 8 Streams"
 
My life would be pretty pathetic if chatting is a major entertainment.
 
8:28 AM
I meant arguing
 
ADG
J8S??
 
s/chatting/arguing/ then.
 
@ADG RTFM
 
!!urban rtfm
 
@Tavo RTFM Read The Fucking Manual
 
8:29 AM
oh, right
 
Hi All can Anyone tell me how work window handler to display log message ?
 
Window handler?
 
3 messages moved to bin
 
ADG
@Gemtastic The F word annoyed me. Should I ....
 
!!tell ADG sandbox
 
8:30 AM
@ADG Please go and play in the Sandbox
 
@ADG I didn't create the expression. But you should learn to read the JavaDoc
 
yes
 
fge
Why this urge to use streams when a non stream solution is perfectly acceptable and Just Works(tm)?
 
no idea in detail how it work actually
 
@fge Because it's an XY Problem.
 
ADG
8:32 AM
Oh I can't understand what is going on... :(... really . I know a little J8S but wanted to ask something, maybe it's too elementary so you're being angry. The best thing would be that I apolize to all and say goodbye. (Say)
 
Java is one of if not the most well-documented programming language there is. If what you want to do is possible, it will exist an entry about it in the docs.
 
@Ghanshyam that was likely a question to add a bit more context (toolkit in use etc, what you want to achieve...). I for one have no idea what you're asking
 
Logger.getLogger(Connection_oracle.class.getName()).log(Level.SEVERE, null, ex); display this message in window screen
 
@ADG it's not about that. What you want to do is quite simple. In fact it is so simple, that if you just read a bit around, you can figure it out by yourself
 
8:34 AM
@kiheru
 
hence my link
 
ADG
@Tavo Ok, I'm sorry
 
@ADG no need for that
but coding is a constant learning experience. If you are given the solution, will you learn?
 
@Ghanshyam You still did not tell the toolkit in use. Here's one for swing: java2s.com/Code/Java/Language-Basics/…
 
@kiheru its defaultoolkit I am using let me check yours
 
8:39 AM
@Ghanshyam The GUI toolkit, I mean. Swing, AWT, JavaFX, SWT, ...
 
I am using Swing
@kiheru thank your given link will work
 
Then the code in the link should work as an example. Though I'd add @Override where applicable (otherwise I haven't really checked the code quality)
 
okay i will try
 
uff, at a quick look, it's not thread safe, so better be careful. Check what it does before using it, and write a better version
 
okay but i have a no idea in detail to implement in a perfect way thread
and i will use better version thanks
 
8:50 AM
Mainly I'm referring to the initialization of the GUI outside the event dispatch thread. It rarely causes problems, but it can do so. I'm not in the mood of going through the code with a comb, so I just wanted to give a warning in case I'm linking to a code snippet that is no good. It's always best to check what you intend to use anyway
(In case you don't know what I'm talking about, see here‌​)
 
fge
curses SonarQube _again_
 
i will go in detail to understand you given in link make it perfect work
 
I should stop looking for errors after I say I do so.. But anyway, here's another threading bug: publish() can be called from any thread, but JTextArea.append() is not thread safe. Calls to that should be wrapped with invokeLater().
(now really closing that tab so that I won't keep looking at it)
 
can you tell me please ,why need to implement in invokeLater() with thread
everytime generate new task then
 
9:07 AM
That "concurrency in swing" should have a fairly through explanation, but here's a short version: Swing is not thread safe, meaning creating, accessing and modifying swing components should be done only in the event dispatch thread. The swing methods that are thread safe, are documented as such (there aren't many). invokeLater() pushes the runnable to be executed in the EDT, and that's the right way to do it in case you need to call swing methods while in some other thread
In case you want to check if the current thread is the EDT, use SwingUtilities.isEventDispatchThread()
 
I will implement it also i do more practice in, i am amateur in swing thank a lot save my time
 
In that case I recommend checking the other parts of the swing tutorial as well. The net is full of crappy tutorials and code samples, but the oracle's tutorial is very carefully written to use swing correctly.
 
I was tried some tutotrials from net as you said its was't work so, i little confuse in this now, i will must use only oracle's tutorial
 
9:23 AM
@Gemtastic just to confirm what we've said before, I've been without my headphones for about an hour and just realised :D
 
@Tavo XD
 
It's not the only place with correct code, but oracle's java tutorial is probably the largest single reference of correct use of the language and the standard libraries. There are other sources written by people who know what they're doing, but those can be harder to tell apart from the garbage unless you already know how the library in question is used, and just want to check some specifics
 
i am totally agree with you. so, first use as possible as oracle'java tutorial for a savings our time also.
 
10:10 AM
8(
 
hi there, I want to know whether I can learn Spring MVC without having first hand experience on SPring, I had in JSP
 
@Mahesha999 You could use their own tutorials
Though I don't really recommend them unless you know how it's done without a framework
 
10:34 AM
hi everyone
 
hi
 
in this fiddle i want a text to be displayed below the image
could somebody assist me
either image or text is displaying but i want them both to be displayed one below the other
 
@greenhorn Java != JavaScript
 
@Gemtastic thats css
 
@greenhorn Then it's even MORE in the wrong room
It's not even programming...
Just coding
 
10:42 AM
oops sorry
 
question about generic type parameters...
for a method with a generic type parameter T...
how can I find out whether T is actually a subtype of a certain class?
and then delegate to a more specialized implementation?
 
fge
@Vogel612 you're SOL I'm afraid
 
@Vogel612 how about Super.class.isAssignableFrom(Sub.class)
 
fge
Well, except if you have a Class<T> as an argument to the method, then you can use whatever methods Class has for you
 
@Tavo now Sub is T...
darnit...
 
10:45 AM
ahm
 
I can't even check the first element, because the collection is not guaranteed to be consistent..
 
spring dependency injection, anyone?
 
remove the Spring, then I'm in ;)
 
ok
no
it wont help :P
 
!!/urban SOL
 
10:47 AM
@Vogel612 SOL Shit Outta Luck
 
hmm... yes, looks like it.
 
@Gemtastic how its done without framework?
 
@Mahesha999 Do you know how to do what spring does?
 
lol, just found this comment I wrote in the code yesterday: //TODO: fix this test. You left it here before running away to a meeting. You fucking past self...
2
 
XD
I like my notes for skeleton code: //TODO: Everything.
 
10:58 AM
I have //TODO: POYLMORPHISM PLS
 
// FIXME: quote fields here?
and about 30 "auto-generated method stub"
but there's surprisingly little of these...
 
@Gemtastic but wheres that explained? Any good tut as starting point? - An unknown error has occurred
lol copy pasted error stuff too
 
@Mahesha999 I don't know any tutorials sadly, but you'll have to use google if you don't know how to build webapps without using spring.
 
11:31 AM
Morning, Java
 
Morning
 
Boss wanted a bunch of us to come in early today so our seldom used office had people in it (client coming), I'm one of two people that lives furthest away from the office, I got here first.
Successkid.jpg
 
I'm not allowed to add TODOs because our build breaks if numberTodos(codebase) > 0
._.
 
I have surprisingly few tagnamed comments, but when I find one, it's something useless like // FIXME or not in fact I don't even know if this works
 
fge
@wonderb0lt talk about ridiculous
 
11:36 AM
The reasoning: You should always check in finished and good code.
 
@wonderb0lt what the hell build tool are you using?
And that's a ludicrous reason. What if you're still working on something but want to save your progress? Or you're on a developmental or prototyping branch?
 
TeamCity -> ant -> PHP_CodeSniffer
@Nexion tough luck
 
meh...
let's say... master is TODO tag-free
development branches? maybe not so much.
 
Yeah, I agree with @Vogel612
 
Well we don't have the dev/trunk branch distinction so...
 
11:43 AM
@wonderb0lt hmm... do I smell SVN?
 
@Vogel612 Why yes
 
then you're quite right.
SVN doesn't allow nice branching and commit squashing, so checking in is basically the last thing to do after testing, refactoring and a peer review
 
ha ha ha
(I'm not laughing at you but manically to myself)
 
why that?
because it never work that way?
 
Because neither of those happen (and I don't know how to do a pre-commit code review with a team that's 8 car hours away)
 
11:56 AM
@Tavo I think I've gone an hour now without music... Too busy >_>
 
12:08 PM
@Gemtastic lol
 
:P
 
1:00 PM
oh, apparently I've won a chat-related badge
:D
 
yaay
 
*\o/*
gosh, I had to escape the pompoms :P
 
1:15 PM
be aggressive b-e aggressive, b-e-a-g-g-r-e-s-s-i-v-e
 
damn ArgumentCaptor requiring a mock...
@Dustiny making an entrance
hiya mate
 
How apt for you, @Dustiny =P
 
^-^ Morning @Tavo , morning @nexion
Hows the day going so far?
 
busy on the good side
yourself? coffee in your hand?
 
Tired as hell, woke up at 6am to get in to work today Q.Q
 
1:19 PM
That's always good, nothing makes the day go slower than being stagnant
 
Coffee is barely doing it
 
Of course, coffee, then soon a cigarette and shortly after that a poop. Nothing like a morning ritual
@Nexion Yuk. I was 10 minutes late today because of accidents, I should probably not give myself 30 minutes for a 30 minute drive lol
 
My drive home last night was delayed due to a MASSIVE trailer fire on the side of the highway
I felt the heat from it 2 lanes over
 
Haha crazy
I've only seen a car on fire once, it was pretty cool though
Did you wish you had marshmellows?
 
1:25 PM
@Tavo I mean "handle" as in username, I guess I could have just said username, I wasn't sure if name was appropriate
@Nexion "It seems you don't belong here! "
 
@Dustiny ahm, ok
plenty of Spanish people in my office
until today, my whole team was made of 3 Spaniards, including myself :P
 
until today?
I have 2 Chinese dudes in my office, everyone else is white
Someone told me the other day that saying the word "Spaniard" was offensive, or calling a polish man a "polack" was offensive
People get too butthurt over nothing these days is what I say!
 
The PC police called.
 
I hate BIRT reports
 
1:41 PM
@Dustiny I think for me it's lost in translation. Never thought of it as offensive. But if it is, I couldn't care any less
^-^
Does anyone what do I need to use to capture a slf4j log in my tests?
 
@Tavo The world needs more people like you lol. I'm not sure if it's just my generation or not, but people are oversensitive these days
 
@Dustiny I have had that same argument over and over in this country
in the UK they are at the point where they are losing their sense of humour because it's not politically correct
 
Yeah same with Canada and the US
 
I understand some people might feel offended sometimes
but there's always someone that can get offended for the tiniest thing
one can't always fold to political correctness
otherwise we go to 1984 and language alteration to avoid doublethinking
 
One thing I noticed is that my university was a cesspool of political correctness lol
I think that all started with the administration forcing equality,etc on people to make people feel accepted and so they don't have complaints from parents, but it went way too far
@Tavo Yes! exactly
 
1:56 PM
@Dustiny once you go down that road, it's almost impossible to stop
 
HAMMERTIME!
 
lol
 
haha yeah, my favourite is when people took such a higher moral ground on 'equality' and all that garbage that they actually started discriminating against people
 
I might avoid to joke about extremely sensitive topics with certain people, but that's where I draw the line
 
"if you don't share my thoughts on this, your scum!"
 
1:58 PM
my ex's friends didn't like to hear jokes about sex. I would not make the sort if I was with them, but if my friends and hers were mixed together, then I would
 
Yeah I probably need to get some boundaries like that
 
otherwise, I wouldn't be myself
(that's just a silly example, but it's how things have to work)
 
I stopped caring at all a while back, but I feel like it will get me in trouble professionally at some point lol
Especially with all these witch hunts going on
 
as long as you are good at what you do, don't worry too much
Linus Torvald seems to be the greatest asshole in the world, and look at him
 
I'm reading some stuff right now, haha he seems pretty awesome
Oh my god haha. ""I am a lazy person, which is why I like open source, for other people to do work for me," Torvalds said in response. "I like to sit on the beach with a floofy drink and let you guys do all the work... I’m coasting, right now I’m coasting—I don’t have any projects I’m working on.""
I think my biggest thing is that outside of the office my sense of humour is very edgy and offensive, so the key for me is to not let that overflow online, as long as it's in person I'm probably fine
 
2:04 PM
Morning, Java!
 
Good morning Michael
 
Morning, @Dustiny.
 
Jerry! Morning!
 
/thinks Why does this kid keep calling me Jerry. Oh well, I'll just go with it.
Hey @Uni!
 
I was just wondering why someone named Jerry would go by Michael
So I guess that is explained nicely
 
2:10 PM
xD
 
YEEEEHHAAAA
We got the official request to migrate the prod server of the main customer from windows to linux!!
 
\o/
 
YAY!!!
 
Good choices: they're making them
 
fge
"I would have done so without your even asking" (BOFH answer)
 
2:22 PM
Uni, I was creeping your SO careers out of boredom and curiosity, I am also a huge lover of chiptunes
 
It might get interesting to find a jdk 6 to run the crap, but hey!
 
Just thought I'd let you know
 
fge
@Vogel612 why don't you just go with 8? It's compatible after all
And you don't have to care about permsize as a bonus
 
@fge we might or might not access internal API that changed...
Point being I don't know..
but that'd definitely be interesting..
 
@fge Is this a new Java 8 feature?
 
2:29 PM
well.. somewhat.
permgen got deprecated. You now get a warning along the lines of "This is no more used, and I will ignore it"!
 
Doesn't Java 8 dynamically give you more memory (if available) if you exceed their cap?
(don't actually know how they deprecated that)
 
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAARRRGHHHHH
WHY IN THE NAME OF EVERYTHING SACRED IS THE PRIMARY KEY SAVED AS STRING!!?!?!?!?!?!
 
@Vogel612 lul
 
@Michael it's much less funny if you're building a String to put into a SQL statement from them...
public static <T extends Map<String, V>, V> String toQueryInString(Class<V> valueType, Collection<T> items, final String attribute) {
 
@Vogel612 - PK is fine as a string as long as it's like a GUID or something
 
2:44 PM
did I mention this won't actually fit the goddamn collections I have to process?
because they don't extend Map<K,V> or something similarly sensible?
but instead extends something totally inane like... Map ... as rawtype?
 
Guys! It's Stream abuse day!
Someone throw out a programming problem that involves functional scopes, I'll try to solve it with abusive stream usage.
 
fge
@Michael yes
 
2:59 PM
@Unihedron build a jagged int[][] representing a pascal's triangle.
I already solved that today on codewars... but without streams... and probably not that very functional-ish
 
...
My mind just blew up when you gave that challenge
 
> Uh oh! Something went wrong! (500)
why does that always happen when I try to go on this site?
 
log in m8
@Vogel612 I haven't even solved the JS version
 
Off to lunch. Bye Java!
 
3:04 PM
@Nexion but not if you save it as bigint in your DB...
 
hahahahahahahahaha
Yeah, no.
 
Is 120K good for being a Java developer?
 
@BrianS No. Your morals are priceless.
 
currency? previous experience? target job?
 
Don't let anyone buy your soul!
 
3:06 PM
I know swift, PHP and beginner java
 
@BrianS Depends on where you live, too, I suppose. I would kill for that kinda salary
 
Ew PHP :>
 
Wait, you do PHP? Then 120K is too much.
 
Php is the king for me bro
 
Kidding! :D
 
3:07 PM
I make like, 42k =(
 
DC
 
Sorry, my sense of humor is a bit twisted today. ByteCommander beat me in chess three games in a row.
 
I do 3 lang
PHP, Swift, Java, HTML, CSS, JavaScript, know at least 2 javascript framework
These are what master in except java
Not yet
 
Eh...
 
@Nexion why do you think I asked about the currency??
 
3:16 PM
I make 200 Weißwürstl per month. I mean it's not much but it keeps one fed, you know?
 
real bayrische Weißwürstl? nice
well.. asserting you get your Pretzels with them
 
Pretzels are awarded as performance bonus
 
@Unihedron for some reason I read that as BitShifter, apparently I have chiptunes on the mind
 
I should stop listening to goth rock/metal at work, it only depresses me even more ._.
 
I listen to a lot of angry rock/metal, it gets me pumped up
Maybe too much though
 
3:24 PM
@Dustiny You being pumped up too much, unimaginable. :P
 
don't go exploding in people's faces spreading some aggressive algae please
 
I'll try..
@wonderb0lt Your sarcasm is like daggers in my soul
 
@Dustiny <3
 
3:44 PM
:D
 
4:00 PM
Hey Im using Java JSoup for screen scraping, when I crawl berkeleygroup.co.uk/search-results I can only get one property out of 62. Whats the reason behind this?
 
@Vogel612 Tell me what you think about this drumming, lol guy is insane
 
I have crawled other angularJS pages but this one only yields one result.. stackoverflow.com/questions/30919886/…
 
best prod code yet, today:
boolean savingPersonIsController = (empl.isController() || empl.isManagingDirector()) == true ? true : false;
@Dustiny that drummer is broken...
too overpowered.
sad that the guitar's so incredibly ...
 
I wonder how many calories he burns in a typical drum session..
They kind of remind me of a cracked-out Primus
 
 
2 hours later…
lol
Anyone know how to 'change vm options' in eclipse; like this video does at 4:30 in netbeans? youtube.com/…
 
looking into computer vision eh?
 
ya - finally; I figure the api is powerful enough it's gotta be pretty easy? heh.
 
Hmm I remember seeing VM options somewhere
It is indeed pretty easy haha, I remember in my class it was so easy it was considered cheating
 
My first project is probably going to be a way of marking points in a ping-pong game; to increase your score you just have to do a special hand gesture or something.
 
05:00 - 18:0018:00 - 23:00

« first day (1699 days earlier)      last day (3256 days later) »