« first day (90 days earlier)      last day (4843 days later) » 

8:00 PM
but instead, you can get a life sentence for holding out a razor and the other person falling on to it
 
Murder during a state of "diminished responsibility via mental illness" is not too dissimilar from "killed someone but didn't mean to", AFAICT.
 
there's a big difference
 
You have to be at fault somehow.
 
if you're the perpetrator, then you set out to kill someone, and perhaps you had a mental illness that slightly reduces this
compared to
 
You can't just get locked up for someone getting distracted checking you out then being run over
 
8:01 PM
you're the perpetrator who happened to do something unlawful and minorly dangerous, which happened through a blue moon and a lightning strike concurrently, to get someone else killed
 
6 mins ago, by Tomalak Geret'kal
Maybe I am a lawyer.
:)
 
there's "fault", and then there's "intention"
 
Indeed.
That's the distinction between murder and manslaughter
But it still has to be rigourously proven that you were undeniably at fault for the death.
 
nope
 
Now, how well that's executed, is another story.
 
8:02 PM
that's the distinction between civil and criminal claims
civil claims, negligence
 
What do you mean "nope"? I'm telling you. That's how it works in my country.
 
criminal claims, recklessness or intention
yeah
 
OK, I'm going.
 
there is that
 
sbi
@RobertPitt The problem with a code review site is that you need to find enough experienced users, or the idea won't fly, even if all novices in the world committed to it.
@KonradRudolph Whoa, those colors hurt the eyes!
 
8:10 PM
@sbi I didn’t design that site. But the idea behind it is very neat.
And I know for a fact that a part of the Stack Overflow code base was refactored there
 
sbi
@TomalakGeretkal Which TZ are you in?
@DeadMG That I seriously doubt.
Stepanov et.al. are very unlikely to work at the standard library by now.
 
@sbi Maybe Bjarne is. It was Bjarne+Stepanov who hoisted STL into stdlib.
Argh, I'm mixing up use of forenames and surnames
 
sbi
@AlfPSteinbach "all the people who designed the STL"
 
Ah, that's mainly just Stepanov, if I recall correctly (he did an Ada version too)
Sorry I think I have to reboot
 
sbi
Stroustrup didn't design it. His feat was the coup that held up standardization for another year for the price of incorporating such a great library of such a strange design into the std lib.
@AlfPSteinbach Reboot? Mhmm. Usually I go to bed and sleep.
 
8:18 PM
@sbi yes. i think it says much that my tongue-in-cheek comment about ditching everything but the STL subset of std library, was once taken very seriously. only meant it as a joke.
 
sbi
@KonradRudolph I didn't say you designed it! (Now you need to point out that you didn't say that I said you designed it...) It still hurts me eyes, though. Badly.
 
@sbi Why are complaining to me??? Like I care :D
 
sbi
@AlfPSteinbach You do have this problem sometimes, don't you? <tong_sticks_through_cheek/>
@KonradRudolph I didn't. You posted the link. I clicked on it. I replied to your posting. This is the chat. Replies to postings are done by naming the user who posted.
 
@sbi "grumpy" fits, yes. this is third time in two days you're going all out personal. what did i do to you eight or ten years ago?
 
@sbi I do appreciate that you took the time to review and comment on the links I post here. ;) Nobody else ever does
2
@sbi by the way, was the whole NRVO thing cleared up? I had written this beautiful test case but nobody noticed it …
(when I say “beautiful” I really mean “quick & dirty”)
 
sbi
8:23 PM
@KonradRudolph I'm sorry. Thank you. I saved the code and your posting to return to it. Only I didn't get around doing it today. (Because I promised one of my sons to work on his model trains with him today. I only just stole away for a few minutes.) I will look at it and get back to you. And, no, it's not cleared up for me. But it will have to wait.
@AlfPSteinbach I don't think you've been here ten days ago, have you?
And I'm not sure how I could have made a personal attack while my tongue was so far into my cheek, it stuck right through it.
 
by typing it? :P
 
well, whatever is was, years ago, i apologize for that
 
sbi
@Konrad In fact, I pasted the code into my test project, compiled and ran it, but couldn't make head nor tail of the output. And I had this test to get running, you know. And then there was my son waiting... So I put it off.
@AlfPSteinbach I dunno what it was anymore. It wasn't about me, though, that I know. So apologizing to me, is a nice gesture, but also a somewhat empty one. :)
OK, back to the trains it is. He cut short something. I need to fix it... [afk]
 
@sbi I have to grudgingly agree that trains are more interesting.
 
8:46 PM
yikes... been ages since I actually been in here
got a quick question... is going #define MAXVALUE 10 any different to const int MAXVALUE = 10
 
My understanding is they are the same
 
the former is a preprocessor symbol that doesn't respect scopes or anything
with latter the identifier MAXVALUE can be given a different local meaning in some scope
 
you shouldn't use #define unless absolutely necessary
always prefer const or static const
 
I see what you are saying about scope... but If I put the const int in the same place, it will effectivle be global, but only in that fill? were as #define would carry over to other files right?
God I love this place
any hoops, thanks guys... back to sockets ¬_¬ just waiting for the pain to start
 
8:51 PM
depends. the #define is effective from that point and all following text (after preprocessing), unless redefined or undefined. the const is effective from point of definition till end of scope. if it's defined at global namespace scope that's all following text.
 
@AlfPSteinbach which I am sure is what I want... but when did any one know what they really wanted :S
thanks
 
 
1 hour later…
9:59 PM
wow, there's a gamedev.stackexchange.com?
 
@DeadMG You living behind the moon?
 
no
 
@KonradRudolph lol
if I have some code that malloc s some memory, then clear it... would it not be simpler for me to use calloc... which basically just allocates and then clear for you? same difference right?
 
yes, if you are only ever going to need clearing to zero
 
@thecoshman Yeah, but simpler to use new (unless you need subsequent reallocation)
 
10:08 PM
well, im working on 'copying' some code for my own use, so not sure if new is grand or not. but I can see that it mallocs, checks that malloc worked then clears, may as well just calloc
 
@thecoshman new char[size]() will allocate and clear
simplicity isn't the issue; the issue is being consistent with other code that uses the global allocator
you could just as easy write a function, call it my_calloc for the sake of argument, which uses ::operator new and memset, if you didn't want to use new[], for example
 
its all the same
 
10:27 PM
@FredNurk or you could just use a vector...
 
sbi
@thecoshman If you "know", then why do you come and ask us?
 
I didn't know, that's why I asked. But I get the feeling that your implying I came across like a git. sorry about that.
 
sbi
@thecoshman Using std::vector<unsigned char> is indeed the best way to use raw storage.
 
11:12 PM
absolutes are always wrong
 
@FredNurk All generalizations have exceptions.
 
except yours (to be clear :P)
 
@FredNurk Oh no - we've detonated a logic bomb.
 
Thit sntence has three errors
 
@FredNurk Hmmm, I fixed the first two but it turned out not to be true.
 
11:17 PM
you mean you found two errors and then found it was wrong again?
 
11:46 PM
Evening all
 
@FredNurk nice one :)
@MooJuice ~10pm here. Night :D
 
Any reason you guys can see I got a downvote here?
not that I care, just not sure what was wrong about my answer :)
 
@MooJuice Nothing wrong, afaict. Maybe you got a stalker? Common these days. Just upvoted your answer.
 
@jweyrich I hope it's a female :)
and ty :)
 

« first day (90 days earlier)      last day (4843 days later) »