1,188 reputation
1911
bio website
location Umeå, Sweden
age 30
visits member for 3 years, 4 months
seen 17 hours ago

C++ developer at heart, loves to play around with graphics APIs.


Dec
12
awarded  Yearling
Dec
10
comment Inheritance from the objects themselves
If you have template <int N> struct Foo {}; you could do struct Buz : Foo<2> {};. The different instantiations of Foo would be unrelated to each other, but you could always give them a common base. Note that N is a compile-time constant here, so you can use it for things like array sizes and template metaprogramming.
Dec
3
comment Strategy for avoiding duplicate object ids for data shared across devices using iCloud
How about UUIDs?
Nov
26
comment What reasons are there to reduce the max-age of a logo to just 8 days?
I don't see why this cannot be seen as a piece of courtesy information. Your bullet point seems to be overly generalizing and ruling out this possibility.
Nov
17
answered Can you explain me why multiple threading need lock?
Nov
12
comment Should I expect my team to have more than a basic proficiency with our source control system?
Did anyone bother to figure out the workflows you had and map them to the primitives that the new VCS has to offer? It's quite easy to shoot yourself in the foot with commands that sound like the ones you're used to, and you really need someone to orchestrate something like this. Where's the bloke responsible for this change?
Nov
12
comment Should I expect my team to have more than a basic proficiency with our source control system?
I hope you have good repository backups.
Nov
11
comment How can I get my own encryption algorithm tested?
There's lots of people who are willing to put effort into cracking his algorithm - it's the shady ones with black hats.
Nov
6
answered Does comparison operand order affect speed?
Oct
30
awarded  Enlightened
Oct
25
awarded  Good Answer
Oct
24
awarded  Editor
Oct
24
revised Execute code every hour
elaborating on why cron is a solution
Oct
24
awarded  Mortarboard
Oct
24
awarded  Nice Answer
Oct
24
answered Execute code every hour
Oct
20
answered Why error codes are negated?
Oct
19
comment Is it okay to define a [] method in ruby's NilClass?
This smells like Perl autovivification. There's many fine caveats there, and you should probably find out which before changing a global behaviour of your language just in order to be lazy.
Oct
13
comment Is the use of “utf8=✓” preferable to “utf8=true”?
I can't quite see how it would save you from having to validate input, considering that you always have to consider malicious input for public interfaces.
Oct
4
comment Two interfaces with identical signatures
The only reason that this question even appears is because your functions have access to way too much state, due to the incredibly wide and unconstrained Player and GameState parameters.