974 reputation
615
bio website lightnesspyramid.com
location Nottingham, United Kingdom
age
visits member for 3 years, 10 months
seen 15 hours ago

♪ The autumn leaves keep turning to the colour of your hair. ♫

#MySenseOverIntelliSense

I think that Clueless was very deep. I think it was deep in the way that it was very light. I think lightness has to come from a very deep place if it's true lightness. — Alicia Silverstone


Upvotes are not for "correcting" downvotes. It is not your job to take away somebody else's right to vote. Only upvote if you thought that it was a great question/answer, not because you disagreed with somebody else's downvote.


        


15h
comment Are all magic numbers created the same?
I wouldn't use a constant for 1024^2, either; 1024*1024 plz!
22h
comment What is a good word for the current “state” of a state machine?
Ooh I do like "stage"...
22h
accepted What is a good word for the current “state” of a state machine?
23h
comment What is a good word for the current “state” of a state machine?
@ratchetfreak: Could you state that again?
23h
comment What is a good word for the current “state” of a state machine?
I've used "the state of the machine" elsewhere, in longer prose where the idea that "the machine" is short for "the state machine" has already been safely introduced. That's not the case here, so I think I'll stick with "the current state of the state machine" as you say. Thanks.
23h
asked What is a good word for the current “state” of a state machine?
Nov
25
comment How to break up a programming project into tasks for other developers?
"As long as you are editing different parts of the same files, you wont get conflicts. If you do get conflicts, they will be clearly marked as such." That's overly simplified. "Physical" conflicts are one thing but it's very easy to break the semantics of someone's code from sixty lines up by changing code sixty lines down, without the version control system being able to tell you about it. It's important that developers can read and interpret diffs during merge.
Nov
24
comment Function guaranteed to never return the same value twice
@Telastyn: The resolution of context-switching in modern CPUs is at least 1ms, last I checked. As for clock manipulation, if you're not using the monotonic clock then that's your own fault :P As it is if you've exposed yourself to DST (wtf) as explored above
Nov
24
comment Function guaranteed to never return the same value twice
@DocBrown: I guess what I'm trying to say is that, for pseudocode, it's insufficiently clear as to what Interlocked does.
Nov
24
comment Function guaranteed to never return the same value twice
Unless you're returning the date & time in a human-readable format, your value shouldn't have any timezone information inside of it anyway.
Nov
24
comment Function guaranteed to never return the same value twice
What language is this? What is Interlocked?
Nov
7
answered Is it good practice to rely on headers being included transitively?
Oct
22
comment Why are floating point numbers used often in Science/Engineering?
@supercat: Fixed point isn't hard.
Oct
22
comment Why are floating point numbers used often in Science/Engineering?
A lot of the time it's down to programmers being silly.
Oct
16
comment Name for this type of parser, OR why it doesn't exist
@Kevin: I use this too, with some safety features, to handle incoming data from a network in a proprietary format. Nothing hacky about it!
Oct
5
comment When writing object-oriented code, should I always be following a design pattern?
@bdesham, when Stack Overflow jumped the shark
Oct
5
comment When writing object-oriented code, should I always be following a design pattern?
@Giorgio: No it's not.
Oct
5
comment When writing object-oriented code, should I always be following a design pattern?
Here, have a badge.
Oct
5
comment When writing object-oriented code, should I always be following a design pattern?
Never follow design patterns. Ever. They are intended to help you describe the code you write, not force you into blinkers. This is a common misconception made worse by the spread of various misleading books.
Sep
24
awarded  Autobiographer