« first day (3707 days earlier)      last day (1458 days later) » 

00:00
To err is human, to moo bovine. (source)
 
3 hours later…
03:00
dreams of electric sheep
 
2 hours later…
05:19
Unihedron completed part 1 of day 16! \o/
06:04
Unihedron completed part 2 of day 16! \o/
 
3 hours later…
09:00
solves P vs NP
Matthieu Honel completed part 1 of day 16! \o/
09:22
Hi
@Dynamite Welcome to the Java Chat, the room for Java enthusiasts! I'm Oak, one of the room's bots. If you want to ask a question, just ask it and someone will respond if they feel like it. But remember that this room is not a help desk or tutoring service! If you want to just hang out, then welcome aboard! Oh, and the room's full list of rules are posted here.
 
2 hours later…
11:19
Matthieu Honel completed part 2 of day 16! \o/
 
2 hours later…
13:34
OrdinaryDraft completed part 2 of day 11! \o/
13:54
posted on December 16, 2020

archive - contact - sexy exciting merchandise - search - about ← previousDecember 16th, 2020nextDecember 16th, 2020: Hey, I've got a mailing list for SECRET PALS! If you'd like to be a SECRET PAL, baby, now is your chance. I only send out a message like once a month!– Ryan

14:04
Madara Uchiha completed part 1 of day 16! \o/
 
2 hours later…
15:34
Michael Angstadt completed part 1 of day 16! \o/
15:49
Madara Uchiha completed part 2 of day 16! \o/
16:06
int x=13,y=20;
x+= ++x + ++x + 150*y + ++y;
I'm getting different answers for this in C and in Java
Can anyone explain why?
C gives the result as 3066
Java returns 3063
I'm new to C but relatively familiar with Java
@AbhigyanChattopadhyay Welcome to the Java Chat, the room for Java enthusiasts! I'm Oak, one of the room's bots. If you want to ask a question, just ask it and someone will respond if they feel like it. But remember that this room is not a help desk or tutoring service! If you want to just hang out, then welcome aboard! Oh, and the room's full list of rules are posted here.
@AbhigyanChattopadhyay Type /help to see all my commands.
@AbhigyanChattopadhyay my parser says "Illegal code: This code does not satisfy clean code rules."
also, 3066 sounds just wrong
there are 2 major good answers, which are 3063 and 3065
the reason for these answers differs on the order of assignments
if += is a direct atomic operation, 3065 should be the answer
if += is a syntax sugar for x = x + ..., then 3063 should be the answer
in the first, the value of x (to increment) is read after evaluating the right hand
in the second, the value of x (to increment) is read before evaluating the right hand
in the right hand expression, x is incremented twice (by 1 each)
so, there should be a difference of 2
where the 3066 comes from, I don't know
I can only assume you wrote the incorrect number in chat
if not, we need @fredoverflow
:)
16:49
Michael Angstadt completed part 2 of day 16! \o/
I'm really getting better at using streams because of these. xD
IntelliJ also very good about giving you tips.
 
2 hours later…
19:00
HI guys
 
1 hour later…
 
2 hours later…
22:13
22:53
yawns loudly
hellow dawgs
nvm ff
Zoe
Zoe
3 messages moved to Trash can

« first day (3707 days earlier)      last day (1458 days later) »