1,409 reputation
712
bio website
location Thailand
age 33
visits member for 4 years, 3 months
seen Dec 14 at 16:13

Nov
20
comment Speech Recognition in the .NET framework is not efficient
Pronounced English letters can be ambiguous, and often difficult even for humans to distinguish. Consider using a ICAO Spelling Alphabet (alpha, bravo, charlie...) and recognition accuracy is bound to go up.
Sep
16
awarded  Yearling
Nov
18
comment Updating password hashing without forcing a new password for existing users
This leaves the old hashes vulnerable (e.g. if someone steals the DB). Hashing each old hash with the new more secure method mitigates this to some degree (you'll still need the hash type to distinguish between newHash(oldHash, salt) or newHash(password, salt)
Sep
16
awarded  Yearling
Nov
22
answered Compute if a function is pure
Nov
22
comment Child to Parent linking - bad idea?
You don't need a WeakReference. The .net garbage collector can handle cycles. If the child is no longer in use (parent not pointing to it), it will be collected despite containing a reference to the parent.
Oct
7
answered Is extensive documentation a code smell?
Sep
16
awarded  Yearling
Aug
21
accepted Naming a “do X if needed” method
Aug
21
asked Naming a “do X if needed” method
May
6
awarded  Good Answer
Apr
7
comment Developing assistance tools for games, is it legal against the game creator?
However, is breaking Terms of Service illegal? As in, can you get sued for damages?
Apr
7
comment Developing assistance tools for games, is it legal against the game creator?
Is it fraud according to some specific statute, or just fraud in a sense that it constitutes cheating (unethical, but possibly legal)?
Nov
11
comment How many copies are needed to enlarge an array?
Another factor: in the real-world, the empty allocated elements would be zeroed out (in a high-level language like Java or C#). This entails a write (but not a read), that seems to cost half as much as a copy.
Sep
17
awarded  Yearling
Sep
12
comment One-line functions that are called only once
The bool is particularly beneficial if the condition function name would be difficult or possibly misleading (e.g. IsEngineReadyUnlessItIsOffOrBusyOrOutOfService).
Jul
19
comment Why don't all companies buy developers the best hardware?
@ChristopherBibbs for routine office tasks, you're correct, but for software development, slowing down the expensive dev work because of support costs is rarely a profitable proposition. Besides, most devs run as admin and set up their own environment anyway.
Jun
28
awarded  Nice Answer
Jun
28
answered Is issue (bug and feature) count a good measure of a project?
May
21
comment How do you effectively compete with an open source project?
Exactly. There is a distinct set of features that open source developers are not too keen to work on, or happy to leave 80% done (the 80% of the benefit which requires 20% of the effort). Usability, UI polish, interoperability with other apps, some types of testing etc.