Andrew Dunn

Australia

Age: 22

Jan
31
comment Smart way to construct class member std::vector<std::unique_ptr<AClass> >
I know this question is really old but I had the same problem and just figured it out!
Jan
31
revised Smart way to construct class member std::vector<std::unique_ptr<AClass> >
added 50 characters in body
Jan
31
answered Smart way to construct class member std::vector<std::unique_ptr<AClass> >
Jan
24
awarded html
Jan
8
awarded Good Answer
Jan
5
comment How to remove DOM elements without memory leaks?
Hi Max, the problem is actually just bad browsers not cleaning up cross references properly, meaning the garbage collector can't collect them. This might have changed in the last 5 years.
Dec
6
awarded Announcer
Dec
4
answered How can I strip first X characters from string in shellscript using SED?
Nov
11
awarded Enlightened
Nov
11
awarded Nice Answer
Oct
14
comment no package identifier when getting value for resource number 0x00000000
I love you @NinadPingale
Sep
23
comment PBKDF2 using CommonCrypto on iOS
Hi @PiyushKashyap, a 256-bit salt ensures maximum entropy for a 256-bit key. Regardless, it is completely unnecessary. 128-bits is more than enough, and 64-bits is enough.
Sep
19
awarded Yearling
Sep
19
awarded Yearling
Aug
27
revised How to use StringByAppendingFormat in XCode6
Remove xcode tag
Jul
9
comment How do you use String.substringWithRange? (or, how do Ranges work in Swift?)
This will be fixed in Swift 1.0 @NateCook. :) The reason the second one didn't work is because it is a composed character, made up of multiple code points.
Jul
9
comment How do you use String.substringWithRange? (or, how do Ranges work in Swift?)
@JanX2 Premature optimisation is the root of all evil.
Jul
7
comment Changing SetTimer resolution on Windows
Are you running an optimized build? You could be getting overhead
Jul
7
revised Changing SetTimer resolution on Windows
added 148 characters in body
Jul
7
comment Changing SetTimer resolution on Windows
It turns out SetTimer cannot be set for a period less than 10ms msdn.microsoft.com/en-us/library/windows/desktop/…
1 2 3 4 5