« first day (1009 days earlier)      last day (2945 days later) » 

12:03 PM
@Seth And then you have to start all over again
@Cerbrus "But its just coding. Everyone can do that. What I'm doing is more important"
******* please
12:17 PM
Is the tuna fish swimming around?
Or he did swim into a nasty net :\
Aug 23 at 12:01, by Bhargav Rao
Unreliable Fishes Everywhere
Yep. Never around when you need them
Aug 23 at 12:01, by Tunaki
Clearly.
12:23 PM
All those oneboxes make my eyes bleed :c
When you look at what you have done and realized you have no idea why: i.sstatic.net/jlPVf.png
3
@NathanOliver Screenshot pls? :(
You need a beer
@JanDvorak No, I need a screenshot :(
Edited within the grace period. :/
12:25 PM
@Seth fixed
@NathanOliver Thanks :)
I'm sure Joachim wouldn't be too thrilled that we put him on display like that :p
(removed)
(removed)
(removed)
12:31 PM
[This chat message intentionally left blank.]
@Louis Didn't you forget something there? ô.ô
@Seth Forget what?
@Louis "was"? :o
hey
> This chat message intentionally left blank
12:34 PM
hiya \o
@NathanOliver akways
@Tunaki Hey Tuna :3 NO is looking for you
typos included
lol NO
@Seth Actually, it is common to word it without "was" or "is" for things that are intentionally left blank.
12:36 PM
@Louis Lolwut?
Seriously?
But history will remember Nathan isn't here and went partying
@Seth Yes, seriously. You'll find a few on this page, for instance. (Which alas, has not been intentionally left blank.)
@Tunaki I'm here, I'm here
I have a java question for you if you do not mind
12:39 PM
sure
@Louis Oh wow :o Thanks! (And nice pun ;D)
In C, C++ after you compile your code you can look at the generated assembly to see what kind of optimizations the compiler did to your code(like optimize away a loop). Is there a Java equivalent?
@NathanOliver didn't he loose his mind?
@kayess loose c:
(removed)
12:40 PM
@NathanOliver You can see the bytecode produced by the compiler with javap
That won't tell you what other kinds of optimization the JIT will do to your code at runtime but it's a start.
Waffles
@NathanOliver Grabs some
So on top of the compiler the JIT will also do optimizations on the byte code?
Yeah
@Seth You're welcome. :)
12:42 PM
For example if it can determine that a method call does nothing, it will conveniently remove it
Can you see what the JIT produces? I assume that is what generates the actual binary.
no that is at runtime
hence the name Just in time
JIT = Just in Time
Hiya @ryany
12:43 PM
morning
Hiya ryan
@ryanyuyu Hey :)
pretty much: Java code -> Java compiler -> byte-code -> JVM -> JIT -> machine code
small break in the project this morning.
12:44 PM
@Pet \o
@PetterFriberg Yo :p
OK. But the machine code is basically a stream and not really a file
Yeah
Machine code is an endless series of single commands
:P
12:46 PM
Up to byte-code included, that's compile-time and you can see what javac did by examining the bytecode. Seeing what JIT does is a lot more complicated, if possible
@NathanOliver Java code compiles into byte code.
@Tunaki I know at Facebook they don't really look at what it generates but how the system behaves to determine improvements.
The JVM interprets byte code and through a processing stage JIT forms the actual executed machine code
@NathanOliver Yep, that's the only way to measure. Benchmark it and see what it does on a million iterations
There were lots of question on java-8 some time ago because people thought they were measuring by executing the code once or twice and not doing really anything with the output they were having
@Tunaki For some critical algos a million isn't a sufficient benchmark though
12:49 PM
JIT can say "oh wait, you don't use variable X, let me remove everything that calculates it!"
@Tunaki I just saw a Q where the OP "tested" with an array of size 8 and 32 for a single run.
they were testing sorting speeds
haha
Thats not a bench mark
thats not even a unit test
thats a disgrace
Well, I don't even look at performance question anymore when it doesn't come with a valid benchmark. In Java, that's JMH.
I'm like heck, 8 elements, the C++ compiler might optimize all the loops and just to a straight code
12:51 PM
right?
@NathanOliver 8 hardcoded elements
the compiler will almost certainly cut out a loop in that case
At 8 elements, the branch predictor might not find a good pattern to get going yet.
Yeah
Not sure if they were hard coded or not but even if they were random generated it would still optimize away the loops.
Makes sense
12:52 PM
If they're external input it can't optimise away the loops
but yes, just pseudo random generated then it will
What I hate is the compiler is so good at optimizing that you actually have to go out of your way to force it not to when you need to benchmark some things. At times it goes "oh your not using the result at all, I'll just get rid of all that code since you really don't need it".
@NathanOliver Yes, yes and yes
lol yeah
benchmarking is really hard to do right
I guess there's some widely accepted benchmarking tool for C++?
That it is. Half the Q's I see have the code optimized away.
I'm not sure. I just run a big sample a bunch of times and take a average.
12:58 PM
I dont usually benchmark
When I benchmarked the little bit of very performance sensitive code I had to write, I just let it run all weekend and got the results on monday
:p
Same here. Profiling is big though.
turns out recursive behavior is worth optimizing out when you're writing in assembler
@Magisch Isn't that because a lot of recursive code is optimized into something else?
@NathanOliver Does a lot of optimization happen from assembler -> machine code?
@Magisch no
1:01 PM
No from C or C++ to machine code. A lot of times your recursive function is turned into a non-recursive function
which is the point of assembler after all
@NathanOliver I literally have never written a recursive function in C in production
only for exercises
I like simplicity and I like for me and my coworkers to instantly understand what any given piece of code does and why
:) good man. Really the only recursion I use is qsort.
And I'm not at all good in parsing what a recursive function does on first glance
:p
i use recursion
1:05 PM
I've only used it about twice. Both times I've had to think pretty hard...
Is the roomba working?
Usually when I look at normal code I'm pretty good at realizing exactly what it does. When I have something recursive for some reason I need much longer to parse what it actually does and how to fix problems in it
How come this question wasn't roombad? stackoverflow.com/questions/30469228/…
I use recursion... I use recursion... I use recursion... I use recursion... I use recursion... segfualt
1:06 PM
I use tail recursion... I use tail recursion... I use tail recursion... I use tail recursion... I use tail recursion... I use tail recursion... I use tail recursion... I use tail recursion... I use tail recursion... message too long
@NathanOliver lol
I'm 1 vote away from meta.SE reversal
@Tunaki "not closed as a duplicate", check. "has a score of 0 or less", check. "is not locked", check. "has no answers with a score > 0", check. "has no accepted answer", check. "has no pending reopen votes", check. "has not been edited in the past 9 days", check.
sd k?
@Tunaki The system will automatically delete unlocked, unanswered questions with score of zero (or one if the owner is deleted), fewer than 1.5 views per day on average, and fewer than two comments after 365 days. it has answers
1:08 PM
@NathanOliver but RemoveAbandonedClosed
What are the reqs for that? I though if it had multiple answers it would not be auto deleted?
I listed them up there also ^^
> Oh ye lords of Regex
:D
hmm. then it should have been deleted. Want to use delete votes?
Err. Misclicked to Typo
1:12 PM
\o
@NathanOliver leave it and lets track it... to see when and if it gets deleted
I did notice no question was roombad in the past few days in godaddy, which is weird
heck I can query them, let me do that...
maybe a comment on shog9 last roomba meta?
that's just sad
there are 12 of those
what is roomba?
@Tunaki I remember that the roomba for closed runs weekly
1:19 PM
@Braiam help page says daily for RemoveAbandonedClosed
check if roomba ran last night
apparently, it didn't
@ColdFire automatic deletion of questions see stackoverflow.com/help/roomba
did you check the delete queue?
only questions closed in aug 16 were deleted in UL
then I guess it runs weekly
not daily
every thursday 3UTC
1:25 PM
no, actually, that question should have been deleted, if it was closed the august 15
yes
meta to the rescueeeEEEEEEEEeeeeee!
sigh, unaccept after a year :)
@Tunaki do you use rxjava?
@ColdFire nope
1:28 PM
Today is coincidence day:
@Bathsheba I agree. I think the code optimization is the most rational explanation. Which is really funny as I was just talking in chat about how you have to force the compiler to stop doing that. — NathanOliver 2 mins ago
@Tunaki know it?
@ColdFire by name yes
Wow. JS duped closed to C++
Does this mean JS == C++?
1:30 PM
It was recently asked as a Java question also
hammered to the C++ one just as well
@NathanOliver You need to use the === operator to avoid implicit type conversion
(Just reminded Nathan why he hates JS)
how the heck can you have a hot question that is a duplicate of the 8th most upvoted question all-time
you read my mind
1:31 PM
I don't
(The chip does)
@Braiam tell me if you find anything, will look in a moment
or maybe I can post "Why is it faster to process a sorted array than an unsorted array?" in C#. That question isn't tagged C# so it isn't a dupe right
let me hit the hot network
@Tunaki And in that case, maybe you'd have the VM do heuristic-based optimizations or something. Could actually be interesting =p
@Tunaki Me thinks you would incur the wrath of Skeet
1:34 PM
@NathanOliver That's not actually a thing, it never was. The universe doesn't allow anything that would make the Skeet angry to actually exist.
It's actually implied by the Novikov self-consistency principle
DuckDuckGoes
Oh right, that one
@Kyll So if tuna tries to post it he will stop existing because he is violation of the laws of the universe?
morning!
@NathanOliver No, his computer will halt and catch fire before he can post it
1:37 PM
Hiya gunr
Plop gunr!
@Kyll :). BTW ever see the TV show?
@NathanOliver Where do you think that reference came from? ;D
@Kyll so I won't use a computer, and send a letter to SE with a threat of plopping everyone if they don't comply
@Tunaki Went there, did that.
1:38 PM
Well it was a thing before the show but woot. Did you see it is coming back?
Now TLM Plops too.
@NathanOliver I wasn't such a huge fan tbh
... My mom and sister really liked it though. Weird.
Ah. No problem. It just think the history is cool
afk
TylerH has started reviewing!
1:50 PM
You know I just realized that you only actually need 3 pople to be able to close and delete a question as long as it is a dupe.
yep
its a mini mod
that's the best case scenario
you need 3 people though
да
^ such a funny little character.
1:53 PM
@Tunaki I've noticed you've started reviewing! I'll update your session record.
Tunaki passed a audit!
Tunaki passed a audit!
@gunr2171 I've noticed you've started reviewing! I'll update your session record.
Tunaki passed a audit!
Hello Guys
Hey
not NAA, attempts to answer the question I'm going to retract that
"HELP ME COUDNIT EXCUTE"
2:06 PM
^ that :)
You edited it :(
Yeah I started to use a different pattern for those
Reject and edit with a custom message
By rejecting and then fixing it up, then mod flagging?
I think that's probably excessive
So, you made quite the edit... i.sstatic.net/sQu5x.png
it prevents other people to want to edit it
quite notably, the queue
2:09 PM
gunr2171 passed a audit!
the only trouble is that the reject reason is not shown on the review item history, but on the post history itself
@Tunaki I think there was a MSO feature request for that right?
Instead of the general "community rejected" message
I think so yes, but I remember Shog saying "too complicated to do otherwise"
Ah. That's too bad
@Tunaki I wouldn't say preventing other people from editing it. It's simply flagged for mod attention, and wont clear on edit. IMO, just adds more work for the mods
2:11 PM
flagged for mod attention?
does reject and edit does that now?
In sharedPrefrences Mode_APPEND is for appening the value right?
??????????
@Queendevelopers Looks like an Android question. This chat room isn't for programming issues. Take a look at other chat rooms (maybe Android)
But you edited the post, so it's pulled it out of the review queue. What are you going to do after that? Just leave it as is?
@FrankerZ no, only edits from the queue pulls it out when it is flagged as NAA
Thank you Tunaki
2:15 PM
So you're saying this is still in the queue? stackoverflow.com/review/low-quality-posts/13473015
yes
yep, I can vote on it
So then we simply don't even need to reject?
....yo dawg
2:18 PM
@FrankerZ Technically, if there are pending NAA flags, yes, you don't even need to reject. But I also do it because I want the user to learn they shouldn't do that (and not receive +2)
I thought the thing with VQL queue was that if the post was edited (inside or outside of the queue) the review item was nullified. Is that still the case?
^ That's what I thought
Yeah, that's the confusion here
Pending VLQ flag + edit --> review invalidated, flag helpful
Pending NAA flag + edit from review --> review invalidated, flag helpful
confusion cleared?
Durr, which way did he go george?
2:21 PM
so what about your edit? Your edit didn't have any effect on the review item?
@gunr2171 nope
ok, works for me then
it did clear VLQ flags if there were any
but the review item remains
but it didn't clear the NAA flags, and if there are, the review item remains
2:22 PM
oh
gunr2171 passed a audit!
@FrankerZ see I would have reject and edited, and then flagged :)
Yeah
this way, you can do all the things by yourself
2:31 PM
I realized that 1 second after I flagged it
2:42 PM
Hiya!
Hey
I seeded a bit of godaddy people, hit the queue and seed some more :) and don't forget to edit when the question is on-topic
Greetings AA
@ryanyuyu I've noticed you've started reviewing! I'll update your session record.
@JanDvorak the Talk page is incredidbly funny
> This is clearly a list of lists (of lists). Therefore, it should be included on a list of lists. Thus, this article should link to itself.
hmm. I just saw a post that has a reopen vote on it when it was dupe closed by community. I wonder if reopen voting should be disallowed in those cases since the OP agrees the linked to question(s) answer his question.
2:53 PM
> I propose to move this page from List of lists of lists to Lists of lists of lists <- this is just incredible :D
3:04 PM
TIL that minitech changed username to Ryan. Imposter!
I'm out of cv's for today, spent them all on godaddy questions
almost under 200
Does dropping requirements is/are considered off-topic similar to this stackoverflow.com/questions/39169469/… ?
@Enzokie Too broad or POB both work
Is that sd report spam?
3:18 PM
Ok tnx
that is spam for me, serves only for advertisemetn purposes
I am still unsure, I voted to delv. Will not flag.
It needs one more delv vote (the sd report)
I just voted to delete. I was on the spam fence.
those chat flags
yep, chatfight going on over there
Yes. In the room that shall not be named
3:27 PM
Why do .... use 'shall' so often? :)
because Gandalf made it cool
hey
@Enzokie hey
3:44 PM
@ColdFire hey
What does You can only counterflag messages that have been flagged mean? I marked a flag as invalid and it popped that up.
Welcome TG
@SotiriosDelimanolis means it was already handled but you cliked before the notifications disappeared
concurrency :D
ok good, that's what I thought
3:49 PM
Do anybody have that user comments link
Why would you not check to see if what you are using is actually supported by the language?
in GoDaddy burnination, 18 secs ago, by Burnaki
Delete candidates available here: http://reports.socvr.org/120759/1
^ delete candidates for godaddy up for review
yes yes yes
you all put so much more effort into this than I did lol
the bot does all the work :p

« first day (1009 days earlier)      last day (2945 days later) »