420 reputation
515
bio website
location United Kingdom
age 30
visits member for 3 years, 2 months
seen 2 hours ago

This is just here so I get the nice drop-shadow!


Jul
1
comment using this in a constructor, why does it work?
The object might not be finished being constructed, but we know where it will be (in memory) when it is, hence we can get a reference to that location.
May
29
awarded  Informed
Sep
16
awarded  Popular Question
May
5
awarded  Yearling
Feb
26
awarded  Constituent
Feb
19
awarded  Caucus
Oct
19
answered One dimensional cutting algorithm with minimum waste
Oct
19
comment One dimensional cutting algorithm with minimum waste
Regarding cutting width just increase all the required lengths by that cutting width.
Oct
19
comment One dimensional cutting algorithm with minimum waste
This sounds like the Bin Packing Problem where the bins are the size of your rods and the object sizes are the lengths of material required. stackoverflow.com/questions/tagged/bin-packing
Oct
18
comment It's hard to judge your own product. Is there a name for this issue?
This might be a question for english.stackexchange.com
Oct
6
awarded  Enthusiast
Sep
30
comment Abstract class + Inheritance vs Interface
You can't have fields in interfaces, so ToleranceLevel would probably be a get property.
Sep
14
comment Is there a constant for “end of time”?
Maybe slightly of interest: How do I reset the time on my computer without turning it on?
Aug
17
revised Why should I declare a class as an abstract class?
Fixed more grammar, and formatting
Aug
17
comment Should I take care of race conditions which almost certainly has no chance of occuring?
"others have said that if there's even a 0.00000000000000000000000000000000000000000000000000001% (I kid you not on the numbers, this is what I've heard)" I hope they said that number in scientific notation! :)
Aug
17
suggested suggested edit on Why should I declare a class as an abstract class?
Jun
8
awarded  Caucus
May
5
awarded  Yearling
Apr
26
comment How does Google crawl frequently updated webpages?
See also what google has to say (not much): support.google.com/webmasters/bin/…
Apr
20
comment When should you use bools in C++?
Not sure about efficiencies, but the purpose of an int is to store an integer and the purpose of a bool is to store a boolean value (true or false). Using a bool IMO reflects its use much better than using an int.