« first day (1604 days earlier)      last day (3341 days later) » 

fge
12:08 AM
@Gemtastic I need to work on my... Well.. Work... for an hour or so but then I'll get on coding CRUD with JooQ so that you see how this is done, OK?
 
Yes, thank you. I'll be reading in the meantime. I'm not sure how long I will be awake
 
fge
gist.github.com/fge/74fb950eb05e549f1ece <--- the stuff I'm working on
Meh
The language is a horror
If I didn't have grappa I don't know what I would do :p
 
:P
 
fge
12:34 AM
Grrr
File, File, File!
File SUCKS (#34)
 
Indeed XD
 
fge
12:46 AM
*needs to redo his videos about JSR 203
 
fge
1:11 AM
pastie.org/10026850 <-- another reason why File sucks (#35)
 
Yep, it sucks already
 
 
1 hour later…
fge
2:29 AM
Huh
I can actually tokenize such crazy stuff
 
fge
2:42 AM
34 million rows in a trace file
Record BROKEN
By more than 50%
Ouch
And a tree depth of 207
Compare that to the previous "records" which were 22 million rows and a tree depth of 147
 
But can it make coffee?
Or do my taxes?
 
fge
Well, write a parser for the language and plug in appropriate events and it can probably do both :p
 
3:12 AM
gZ!!
Again a long conversation, skippin it.
 
fge
Eh?
 
Are you not going to bed?
 
fge
3:31 AM
No
I'm on a coding frenzy
 
Woah.
 
4:20 AM
Anyone here studying / student. We have been told with our coursework that "class files are not needed. Anyone submitting only class files will receive no marks". Do we submit the class files AND .java files?

Thanks
 
4:57 AM
anyone around?
 
@fge dude, does JOOQ have support on handling null values from .fetchOne method?
I mean, it could be beautiful if you could just fetch and map it directly to your pojo, but somehow if you use fetchOne, there is a chance that it could be null, so directly using .map on it would throw an NPE.
@mikeeustace you can just submit i guess the .java files... .class files are in machine form, so its probably useless to the professors (or whoever would look unto them).
 
thanks @LeeJeong
 
@mikeeustace no prob dude
 
Whilst you're here, is there a better way to allow two lines space than \n\n
 
I assume that when using system.out.print?
what's your purpose, why would you need another method other than \n\n?
 
5:03 AM
I'm a noob. It just looks ugly... repetitive :)
 
ahh.. hehe, its ok. you'll probably get used to it. what matters is what shows on the users.
 
It's to produce a letter (showing off inheritance). for eg, I have

+ "Yours Sincerely \n\n\n\n\n\n\n\n"
10% of the mark is for 'elegance'... I never get that 10% haha
 
you can however just write system.out.println(); several times.. thats equivalent to one return.
sysout("yours sincerely, ");
system.out.println();
system.out.println();
 
So, it would say
"Yours Sincerely";
system.out.println();
system.out.println();
system.out.println();
system.out.println();
system.out.println();
"Mr Jeong";
Thanks for your help
 
yep.
BRB, probably when @fge is back. i guess he's asleep, he's on the other side of the globe.
 
5:10 AM
right... thanks. coursework deadline in 18 hours. Sure I'll have some questions :)
 
ok. goodluck!
 
 
1 hour later…
6:37 AM
anyone around?
 
6:50 AM
yeah
 
what does write a method with main statements to test your new class mean?
I've written the code (took a loooooong time). It works. I don't understand that though, and I have googled. Thanks @ItachiUchiha
 
 
2 hours later…
8:59 AM
 
Not me.
 
9:17 AM
Hi all
FRom http://docs.oracle.com/javase/tutorial/essential/regex/quant.html
Possessive quantifier
This example
Enter your regex: .*+foo // possessive quantifier
Enter input string to search: xfooxxxxxxfoo
No match found.

What will this .*+foo match ?
 
@Androider nothing
.*+ matches xfooxxxxxxfoo, the next subpattern foo cannot be asserted, therefore it cannot be matched.
 
So .*+ will not match for anything ?
 
Negative.
 
other than the example
So what would this .*+foo match for ?
 
2 mins ago, by Unihedro
@Androider nothing
Do you even understand how regex works? xD
 
9:21 AM
I am a beginner
 
That's a no.
 
ok.
 
Alright, in a regex match, there is a left pointer and a right pointer.
The left pointer points at a position of the subpattern regex, while the right pointer points at the string.
A "regex" is a "regular expression" that represents a match rule. For instance, in concatenate matching /cat/, here is how the match is performed:
 concatenate
^
 cat
^
 
possessive quantifiers are a bit "advanced" for a beginner IMHO
 
Thanks !
 
9:23 AM
@HamZa It's trivial honestly. :P
The left pointer asserts "c" from the subpattern, and then "a", and then "t". It succeeds in the 4th position.
 
That said possessive quant. should be somewhere in the reference stackoverflow.com/questions/22937618/…
 
I already linked it last time Androider was here.
 
Actually I was learning regex from Java Docs and came across that..
 
99
Q: Greedy vs. Reluctant vs. Possessive Quantifiers

Regex RookieI found this excellent tutorial on regular expressions and while I intuitively understand what "greedy", "reluctant" and "possessive" quantifiers do, there seems to be a serious hole in my understanding. Specifically, in the following example: Enter your regex: .*foo // greedy quantifier Enter...

 
@HamZa Thanks a lot . will look through this
 
9:25 AM
+1 Good answer. I would only add: Go read Mastering Regular Expressions (3rd Edition)ridgerunner Mar 16 '11 at 3:53
 
@Unihedro I haven't read that book. Should I be worried?
 
Nah.
@HamZa I'm very tempted to flag most of the comments in the thread.
 
@Unihedro aliteralmind went spamming "this has been added to the FAQ". I'm against this idea TBH
 
cc @aliteralmind
@HamZa That's OK imho, it helps future readers reach the thread.
The problem is that it becomes obsolete quickly.
 
lol no need to ping him. It has been done and cannot be redo
 
9:30 AM
I can write an SEDE and link it for a moderator to go through. Thiefmaster has a bulk delete script :P
 
It's funny. I'm a linguist (and noob to coding).

I really can see why Java, C++ etc are called languages. I was teaching posessive quantifiers this week to students learning English.
 
meh, I don't really care/mind. As long as the reference is out there. He has done a great job maintaining the answer
 
@mikeeustace You teaching English? I'd be tempted to believe, but you misspelled "possessive" and broke the grammar at "I really can" :p
 
lolwut
 
typo yes, nothing wrong with the grammar!
and I'm 10 hours in to writing my coursework. Typos'll happen!
 
9:32 AM
That said, is there some script/query to see how many questions has been closed as dupe from a certain question? I want to know how useful the reference is. I searched a bit but couldn't find any // @Unihedro
 
@HamZa You can use the Linked Questions feature, except that not only counts closed-as-dupes, but also just links. It should be doable with the data dump
 
+ lazy to figure out a query to do that :P
 
1s
 
oh don't bother if it's a pain :)
@Androider is android dev a pain?
 
@HamZa Yes :(
 
9:34 AM
what can I call 'this.'?

I had to fix broken code supplied by the teacher and then explain what we did.

The code I added was

public InventoryItem (Stringitem)
{
this.item = item;
this.count = 0;
}
 
@mikeeustace contextual accessor
 
@mikeeustace are you a teacher or a student? //confused
 
You're like a human reference :) Thanks"
Linguistic teacher. Doing another degree at the moment in IT
 
@HamZa +251/-0 should be sufficient to express how useful it is :P
 
@mikeeustace item is the String item
 
9:35 AM
So both!
 
@Unihedro got +300 favorite!
@mikeeustace I C
@Androider I figured, my condolences :)
 
Thanks @Androider I wanted to talk about the 'this.' and how the values stay within the braces.
 
@HamZa Are you learning android ?
or you know android ?
 
I learned a bit a few months ago and made an app to control a robot with it (sockets!)!
 
@mikeeustace this refers to the initialized var
 
9:37 AM
You can't see the app in action though but to get a rough idea :)
 
@HamZa awesome music
 
So, it refers to the initiated variable but it is called a contextual accessor. Cheers
 
Team mates made the video :)
 
@HamZa That was Awesome
@shravankumar You will need 20 rep to chat in here ;)
 
Our teacher didn't want us to post the code online. IE: he wants to give this project again to upcoming students and it would make their tasks much easier if they found the code :P
 
fge
9:41 AM
Moo
 
@Androider unless @Unihedro gives him explicit write access?
 
@HamZa Only mods can give explicit write access to <20 rep users.
 
oh K
 
This is typically only used for chat bots, such as Smokey.
@fge Morning!
 
But no mod will give write access to less than 20 rep
 
9:42 AM
@Unihedro have you built anything awesome in minecraft except for shelters?
 
@Gemtastic Yeah?
 
@Sword Minigame plugins, adventure maps, survival maps, ...
 
I saw you were in a hangout yesterday, what was it about? :P
 
1 min ago, by Unihedro
This is typically only used for chat bots, such as Smokey.
 
@Unihedro not as a dev, I mean as a player/gamer ..
 
9:44 AM
BTW, just curious who created Smokey ?
 
Charcoal did
@Sword Then, yes
Castles, fortresses, UFOs on the private FTB, ...
Aesthetic mineshafts too
 
@Unihedro You seem to be at a quite young age.. if you don't mind, How old are you ?
 
I still think minecraft, wow etc is a waste of time // war started
 
@HamZa I agree.
@Androider 16
That doesn't stop me from developing stuff :P
 
damn, I wasted another 30mn in chat. I "planned" to do my homework lel
I blame you @Androider for the possessive quantifier thing :P
 
9:47 AM
Close call mate, we couldn't let that happen :)
 
That too was like a home work :P
wasn't it ?
 
I'm getting older and my level is fluctuating more like degrading
 
Age factor :)
that's natural
 
@Androider I'm ~6 years older than @Unihedro
 
fge
Meh
You're all young
 
9:51 AM
@fge Agreed
 
@HamZa My age..
 
This is what I do in my freetime youtube.com/watch?v=01ygcAoiRts
I'm the guy with the hoodie
(and purple/yellow stripes)
 
Alright Guys i am logging off. Catch you later :)
Ba bye
 
@ItachiUchiha bye
 
10:55 AM
@Unihedro - and how long have you been coding?
 
@mikeeustace Longer than you, duh.
 
We already know you're 16...
 
So?
Long enough to warrant answering every question you could ever ask and deeming ownership of the room.
 
I know. That's why asked you. I'm very impressed by your knowledge.
You seem to have a chip on your shoulder sometimes!
and other times save me hours of googling with a great answer.
Was java the first language you learnt?
 
@mikeeustace No.
 
11:04 AM
What was it?
 
Flash (now named ActionScript)
 
@Unihedro (now Dead)
 
@SecondRikudo Yeah because it was bought out by Adobe and Adobe sucks.
 
Ah.

Does the order of code matter (as long as the output is the same)? eg. http://pastebin.com/i82LYc7C

Does it matter where I put, not for it to work but for coding conventions?

public InventoryItem (String item)
{
this.item = item;
this.count = 0;
}
 
It will be syntactically correct.
However, Oracle has a book named Oracle's Coding Conventions for the Java Programming Language, and you are expected to loosely follow it.
 
11:07 AM
Let me guess, it's a big fat tome of a thing! :)
 
So if you exchange the item= line and count= line, it will still work but people looking at it will subtract three points from your charisma bank.
@mikeeustace Yes, there's also one for Javascript.
 
Thanks. Is the code public InventoryItem... in the correct place?
 
This game is stupid. xD
@mikeeustace Probably.
 
thanks
 
Hellow World!
 
11:16 AM
@Unihedro I thought Super Meat Boy was the most challenging game I've ever seen.
I was wrong
 
Super Meat Boy is fun. xD
 
@Unihedro I reached 98% completion on that shit
 
@SecondRikudo WTF
 
Only level I couldn't complete was one of the Pink Dark World's
And I did it all (sans some bandages where it's literally impossible to) with Meatboy, no other characters (including The Kid which I had :P)
Have you seen the Super Meatboy speed run?
 
Nope.
> Have fun in the deadliest hell hole you will never attempt because watching it done on YouTube is way cooler!
 
Oh god.
Excuse me while I curl in a ball and cry in a corner.
 
@Unihedro There are, maybe, 2 wasted moves throughout the entire playthrough
 
@SecondRikudo WTH, I am just wondering how many times must have he played the game to deliver such perfection :D
 
Incredible how Super Meat Boy world records are faster than VVVVVV world records. xD
 
fge
12:04 PM
Wee
Not being able to do left recursion can sometimes be reaaaally painful
 
user4103894
:O
 
user4103894
O:
 
Thank god for bit manipulation. xD
 
fge
12:18 PM
@Unihedro hmm, not sure how this is related to my problem :p
But I solved it anyway
 
@fge It's unrelated, but bithacking just helped me massively.
 
morning
 
Morning!
 
o/
@Gemtastic you called last night?
(I was probably already dreaming about world domination for the third time when you pinged)
 
@SecondRikudo Well, I kinda still need some help and @mentioned he'd love to listen in on it to learn a thing or two about your godly knowledge of multilayer architecture and domain-driven design. He thought my current skeleton is a bit over-engineered.
 
12:46 PM
Java vs Anti Java atmosphere. xD
 
1:01 PM
I don't get why I should be angry, it's just explaining the whole dress thing
 
@Gemtastic The title is a click bait.
 
indeed
 
1:14 PM
@Unihedro that vid remind me of someone :D
 
@deadlydragon00 Me too, and that's @FredOverflow.
 
1:31 PM
Good morning, Java!
 
Morning Mike!
 
Hellow
 
This is used to write the opcode to the buffer:
buffer.writeByte(packet.getOpcode() + this.cipher.nextValue());
But thats a byte, cipher.nextValue returns an int
what if opcode + value is > 127?
 
@BenBeri then you're screwed
 
nevermind
if you have byte 100, and you add cipher's value to hide to opcode, and the value is 28
it basically turns -128
and then to "decode" it u do newopcode - value and it turns back to 100
 
1:39 PM
@Unihedro Cool video!
I like how he thinks of thoughts as germs.
 
Anyone coding on the weekend?
 
me
 
<--- this guy
 
:D
 
@Unihedro lol
 
1:48 PM
That's like asking are you eating over the weekend! xD
 
Anyone not coding on the weekend?
 
Me xD
 
@Unihedro You are a shame to your family and fellow developers.
 
in Teenage Programmers Chatroom, 16 mins ago, by Gabriel Tomitsuka
Meh, apparently I'm the single one who codes on weekends.
 
Go to the shame hole to die.
 
1:49 PM
Go join him, he's lonely. xD
 
@Unihedro I'm not a teenager.
 
@SecondRikudo The room description states "No age limit.".
 
@SecondRikudo Dude that was scary
the interview at military
3 people in front of me, not used to that
 
Started asking me what how object is represented & works in PHP and how is it different from java's
 
1:55 PM
Shame on you, shame on your cow...
 
@BenBeri Did you manage to answer? :)
 
@fge CGP Grey, kurzgesagt and Francis Galiegue are my three favorite channels.
 
@SecondRikudo Well the PHP part no, I told them I have never been deep into knowing that theory and that I didn't do php for a while.
They asked bout TCP/UDP and HTTP that I managed to answer though, abouyt Mysql + java and JVM and then told me to build a linked list myself
Like myself, not use existing Collections
But second
The yasked me at the end if I will handle working 12 hours a day + sign keva / maybe do ksinut in the future
I said yes ofciourse to all
 
@BenBeri They aren't kidding about any of those.
 
wow... in Germany working 12 hours a day is officially illegal..
 
2:05 PM
I know of another person (in this chat, incidentally) who is in a similar maslul to that.
@Vogel612 In that IDF you get to do that, and get paid approximately $100 a month :D
 
@fge Haha thanks.
 
now if I just knew what keva, ksinut and maslul were, then I could enrage even more..
also it's not like you're getting more effective the longer hours you work.
 
@Vogel612 keva = serve beyond mandatory period. "Keva" comes from "Kavua" which means "permanent"
Ksinut (which should actually be Ktsuna) = being an army officer
Maslul = route
 
@SecondRikudo Well I know, even if its 12 hours I can handle that. But 12 hours a day for 2.9 years with no good payment.. thats crazy..
in keva you get paid pretty fine so im not worried aobut that
 
anyone know how to cite a reply from stack overflow in an essay?
 
2:16 PM
Get the answer's perma-link.
 
Thanks @Michael - how do I do that?
 
when you share it you get the permalink
 
Click on the "Share" link, right below the answer.
@Gemtastic Beat me to it. xD
 
:P
 
great. Thanks.
both of you
 
2:19 PM
No problem.
 
goodnight everyone.
@Michael good morning to you.
 
@Sword Morning. :)
 
@fge urgent git help if you know:
How can I exclude all pom.xml files from git show?
 
@mikeeustace remember to also mention the author's name
If you link to their profile, you should be fine ;)
 
fge
@SecondRikudo not sure what you mean; what is the problem exactly?
 
2:28 PM
@fge I have a commit with a lot of automated crap in it
I want to get only the relevant files
There's a version change across about 30 pom.xml files, and I don't want to see them
 
Yes, I'm directly quoting so have the username at the end of the quote

"Remember to also mention the author's name", (2015) Vogel612

and then the full reference at the end of the essay. I just couldn't work out how to link to their answer instead of the page url.

Thanks
 
fge
Sorry, no idea whether this is possible...
 
If you follow that when using content, you'll be fine.
 
Do you just wanna hide them but still have them in the cvm?
 
Thanks @Unihedro
 
That was ridiculously amusing for god knows what reason. xD
 
That's how I used to play with cars as a kid. I still imagine faces and feelings on them XD
 
why would ANY stalker be nice to have?
 
hi
 
> the part of the brain charged with making rational decisions saturated in ethanol and distorted techno music.
That's definitely future me. xD
 
@Gemtastic Yuno <3
 
well, if you are yuno, maybe having a yuno stalking you would be nice.
 
3:16 PM
@Gemtastic Did you watch Mirai Nikki all the way?
Because things go south really fast when Yuno stalks Yuno.
 
"Are you as obsessed as I am?"
"I'm WAY more obsessed!"
"As am I now!"
@SecondRikudo I only watched the spoilers online
 
@Gemtastic It's an anime worth watching
Although it wouldn't be the first I'd recommend :P
I have some time now, want to show me your architecture? (No mic though, yet)
 
hi, how do I view whats happening at a break point in Eclipse? I've set the break point and run, but no window appears to show whats happening
 
@SecondRikudo Sure
Well, I want to discuss it
 
@Gemtastic Let's discuss it as best we can in chat, and move to voice later when I can
(I'm currently still at work, waiting for shit to build, but it's an open space, so can't really have a conversation out loud :P)
 
3:33 PM
@SecondRikudo Yeah, I understand :)
Well, basically, I'm just trying to picture where the things belong still...
 
Okay, do you have a current skeleton?
(Even in pseudo-code or in a document)
 
I feel like I don't know enough to make one. I'm gonna try to draw you something
 
I set a breakpoint on the parse network method in this class, but it never fires..Any idea why? The println's execute after but the breakpoint on that method doesn't trigger..
this is the method then in the Location class:

http://hastebin.com/erowumerij.avrasm
 
3:59 PM
@Gemtastic Any luck? :P
Be back in a few mins
 
Does this look like a nice design?
 
lolz
 
any idea on my question?
 
@Unihedro CPR?
 
4:08 PM
Cardiopulmonary resuscitation, commonly known as CPR, is an emergency procedure performed in an effort to manually preserve intact brain function until further measures are taken to restore spontaneous blood circulation and breathing in a person who is in cardiac arrest. It is indicated in those who are unresponsive with no breathing or abnormal breathing, for example, agonal respirations. According to the International Liaison Committee on Resuscitation guidelines, CPR involves chest compressions at least 5 cm (2 in) deep and at a rate of at least 100 per minute in an effort to create artificial...
 
rofl
 
The question needs a life-saving edit to get in shape. And real fast. xD
 
I wasn't sure if you meant the resuscitation or something like ClosePrankRTFM or something
Usually you wanna kill the questions you link
 
Kill ALL the things
Nah, this one is actually on-topic if heavily wrecked
 
0
Q: Calling method from other class in main

Brian JI've set up a method in a Location class to parse an xml file. But when I try to invoke the method from the main class within the main method, it doesn't seem to be called. I set a break point on locObj.parseNetwork(); but it never gets fired, the println's after it execute so not sure what the ...

 
4:36 PM
Night!
 
Night uni
 
:]
 
4:51 PM
I have
while (response.equals (" y "));

but I want y+any letter or combination of letters.
how can I do that?
Thanks
 
@Gemtastic Back
 
@SecondRikudo wb
Are you home now as well?
 
Hello @Gemtastic - I don't think I've seen you since you helped on my last all nighter trying to do coursework at the last minute :)
 
@mikeeustace Well, I'm kinda doing the same atm, except it will be 3 or 4 all nighters in a row XD
 
ouch! I've had a long week but managed my 6 hours of sleep.
 
4:56 PM
@Gemtastic tell me you didn't use MSPaint for that XD
 
Not going to bed until this one's finished though.
 
What's ViewController?
 
@SecondRikudo I did. Got a problem with it? XD
I'm only gonna have two windows; a login and the actual application
 
You said it yourself it's an application, not a view. ApplicationController is more appropriate :P
What's Connection?
 
Anyone familiar with listening events for changes in database in mysql?
 
4:59 PM
Also, what are those Logic Classes?
 
@SecondRikudo Indeed. It's but a temporary name :P
 
I seem to forgetting words all the time.
 

« first day (1604 days earlier)      last day (3341 days later) »