Andrew Dunn

Australia

Age: 22

Oct
20
awarded Nice Answer
Oct
14
comment no package identifier when getting value for resource number 0x00000000
I love you @NinadPingale
Oct
12
awarded Announcer
Sep
23
comment How to Get Element By Class in JavaScript?
@taseenb String.indexOf() is supported in IE6, you are thinking of Array.indexOf().
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/…
Jul
7
comment How does this code function?
@chris std::string uses char_traits<char>::compare which will always use the less than operator.
Jul
7
comment How does this code function?
More specifically, 'd' is represented by the number 100 and 's' by the number 115 in US-ASCII. Here's a complete chart: robelle.com/smugbook/ascii.html
Jul
7
answered How does this code function?
Jul
7
answered Changing SetTimer resolution on Windows
Jul
7
awarded Supporter
Jun
16
awarded Guru
May
9
awarded Good Answer
1 2 3 4 5