« first day (1862 days earlier)      last day (3085 days later) » 

12:00 AM
if your code is running a computation that never gets stored your compiler's dead code optimization is very much broken
 
right, but I might only store the NaR a thousand ops later.
I might just chuck it in a register for future use.
 
the mill has no registers
it has a 'scratchpad', but putting stuff there is equivalent to storing
 
then what's the difference between storing it and not?
I pretty much have to store it right away.
 
the mill has a belt
 
so the Mill has to check it right away, effectively.
 
12:02 AM
which works as a FIFO queue
every operation addresses from the belt (give me items at position 0, 3 and 5)
and every operation drops its results on the front of the belt, pushing old data off the belt
this is obviously terrifyingly hard to code as a human
but trivial for a compiler
 
I don't see what that has to do with anything we've been discussing.
 
as long as a value is on the belt, it's not being stored
so no, it doesn't have to be 'right away'
 
right, but then you're right back to problem #1
which is that it's gonna sit there on the belt waiting to trap but I'm gonna keep going until I actually use it.
 
well, it'll fall off pretty soon, the belt isn't huge
but either way, as long as you don't reorder stores, it's no problem
 
I like re-ordering stores.
 
12:05 AM
and the compiler shouldn't do that
 
the compiler has every right to re-order stores.
 
if it decides to use NaR as an optimization
@Puppy sure, but if it doesn't want to deal with NaR he can put a store right after every result
I'm not seeing your issue though
 
I'm sure that won't be cripplingly slow
my issue here is that I have this broken value and fuck all is being done about it.
if I've loaded from bad memory I need to know about it, not just hope that it's good.
consider something like, I dunno, auto x = *p; launch_nukes(); return x;.
I'mma want to know immediately if *p traps.
I can't wait until after I've launched the nukes to check if it traps.
speculative execution may not be cheap but it's not cheap for a reason and that's because it doesn't have random side effects.
 
I don't know how the mill would handle that
it also depends on the compiler
 
I hate when you have to make a decision but you don't know if you're heading down the wrong path
Then you have to redo everything later to make up for it
worst feeling ever
[({})]
If you input lambda notation incorrectly it looks kind of lewd
 
12:18 AM
@TonyTheLion ^_^
@Borgleader How terrifying!
 
I just got thrown at me students that has studied for 10+ weeks c++. They still have no Idea what a compiler does.
 
oh my.
 
Sometimes I cry a little, sometimes I drink a little.
 
I never learned what compilation, linking, etc was at all during all of university
please explain the basics to your students
 
@Prismatic I apologize for you idiot instructor.
 
12:26 AM
At least it's Friday (or is it Saturday now where you are?) and you have all weekend to evade the dawning horror of your situation.
 
Well I didn't study software, I took engineering. We used C and C++ but they were just used to learn basic programming and algorithms really, so I'm not that surprised we didn't get the details
But it sucked when I had to use programming at work because if you write 'c++' on your resume they expect you to have some knowledge of what that stuff is
 
wait how many people in the Lounge studied engineering instead of computer science?
 
@jaggedSpire I did my masters at CERN, That was physics. I did a lot of maths.
 
@CaptainGiraffe whoa. Nice!
 
@jaggedSpire Now I teach c++. And I'm quite good at it.
 
12:33 AM
@CaptainGiraffe apparently, if they're handing you poorly taught students and expecting you to fix them. By the end of the semester, if I'm reading your situation correctly?
 
@jaggedSpire I can fix a lot of them =)
 
I can't teach them why sehes code is prettier. I can only teach them the basics.
 
Terrorist threat level is now 4 in Brussels.
That's the highest.
It's scary times.
 
@StackedCrooked Is that where you are?
 
12:40 AM
I live in Ghent. That's about 30 min drive distance.
I hope things stay quiet here.
 
Oh damn
Stay safe sir :)
 
@Borgleader I want to cuddle him and snuggle him and feed him treats. :D
@StackedCrooked Please stay safe. :)
 
This just cost me 30mins of my life, because GCC (4.8.1) didn't issue a warning: while (n--); *dest++ = *src++;
I don't understand, help
@StackedCrooked Why?
 
@Jefery sneaky semi colon
 
Ouch
 
12:49 AM
sorry for caps
 
@Jefery they didn't say
 
@StackedCrooked wow that's even more worrying
:\
 
@Jefery That is a 1.6s scan in the lab room.
 
> Level 3 is the second highest threat level in Belgium. Level 4 would mean that the threat is "very serious" as opposed to "serious" under level 3. "The threat to the person, group or event that is the subject of the analysis is very close".
 
@Jefery That's infuriating.
 
12:51 AM
@Jefery "No raw loops" - Sean Parent
 
and that's why my language doesn't allow single expressions after while nor empty expressions
C is while (expr) expr; (loosely using the term expression here)
in Kwik it's while expr { expr }
 
> Investigators believe, however, that Abdeslam - the “eighth attacker” in the Paris massacres - may also be on the run from Isis. A Belgian website has reported that the only identified Black Friday attacker still alive approached a friend in Brussels on 17 November. He said he regretted his part in the attacks, which had “gone too far”.
This is probably the reason
 
aww
oops sorry guys
I went too far
I might've murdered dozens of people
 
@sehe sometimes you spend too much time on those who are not worthy
 
hrm
 
@orlp It's funny. OP uses char* and strtok. But he made the mistake of tagging with
 
isn't this a bit redundant?
#include <boost/date_time/gregorian_calendar.hpp>
#include <boost/date_time/gregorian/greg_date.hpp>
#include <boost/date_time/gregorian/gregorian_io.hpp>
 
I mean, isn't there a header that says "gimme gregorian shit"
 
12:55 AM
^ those sounds
 
user1804599
@sehe use regular expressions.
 
@ilya1725 char* strtok, and NULL, his c++ version is c99 :P — Borgleader 7 secs ago
 
however, in this case I agree with elyse
 
@sehe I took a -4 hit for a similarly funny.
 
it seems that a regular expression is justified here
 
12:56 AM
@CaptainGiraffe link?
@orlp Nothing is justified here.
@orlp That would be nice
 
@orlp Apparently he didn't
> “It is possible he panicked or chickened out of killing himself. It is possible that he was disgusted by what he had been involved in or that his explosive suicide belt failed to detonate.”
 
@orlp There's some annoying shit with the io streaming being buried without convenience header
 
I think we should get him alive and question him.
I'd like to understand what goes into the mind of these people.
 
@Jefery a lot of people will attempt to dehumanize them
tell them nothing goes on
they're just stupid imbeciles
don't listen to them
 
user1804599
 
12:58 AM
yes, shit like that
everyone has a fundamental set of truths they believe in without proof
 
@sehe The question was deleted. The Q asked for a for loop I supplied a simple template recursion.
 
@orlp Speak for yourself
 
@CaptainGiraffe hehe. Similarly. Mmm.
 
@ElimGarak either you believe in nothing, which I don't believe
 
I have this belief that everybody always makes the best choice available at a specific moment. From that, you have to wonder what things lead to the consequence of this being his best choice possible.
 

« first day (1862 days earlier)      last day (3085 days later) »