13,055 reputation
22452
bio website
location
age
visits member for 3 years, 6 months
seen 22 mins ago

Nov
2
comment How to Safely Sell Source Code?
@InteXX a laywer will be able to write up a proper sales contract and advice on the transfer of copyright/license, and suing someone for failure to pay is generally a open&shut case and no-one wants the bad press of being a defaulter
Nov
2
comment Autoreleasing objects in Reference Counting Systems
@NSAddict well unless you have actual RAII language support (where destruction happens after the copy to the callers variable) then that is a decent second choice
Nov
1
answered Autoreleasing objects in Reference Counting Systems
Nov
1
comment How to Safely Sell Source Code?
Talk to a laywer
Oct
31
comment How to avoid long call chains?
use breakpoints in the A class?
Oct
30
answered Usage of the argv[0]
Oct
29
comment Pair programming via mailing list
A "Mailing List" isn't purely email, it allows conversation threads, and FOS projects generally have a issue tracker where you can submit patches
Oct
27
comment How to get a one-way hash function that is collision safe for about 1 million unique inputs?
@CodesInChaos unless he needs a stateless hash function
Oct
27
comment How to get a one-way hash function that is collision safe for about 1 million unique inputs?
you'll need only ~40 bits in the hash output, (unless I remember the birthday paradox wrong)
Oct
26
comment Original source of `(seed * 9301 + 49297) % 233280` random algorithm?
it's a linear congruent generator but with a fairly small period (only 233k while a 32 bit int allows have a 4 billion period
Oct
24
comment What can one do to improve readability of math-oriented code in C#, Java, and similar?
You can selectively import certain functions import static java.lang.Math.cos;
Oct
18
revised Is there a good name for this pointer template?
added 61 characters in body
Oct
18
answered Is there a good name for this pointer template?
Oct
15
comment Seeking Guidance on Thread Safe Scripting
you don't have pre-baked thread-pools? your implementation of queue may not be thread safe
Oct
15
comment Decimal vs. Integer; Given a fixed range of values, which is preferable for accurate computation?
even when a value in the range 10^-8 is later multiplied with a value in the 10^20 region?
Oct
15
comment Decimal vs. Integer; Given a fixed range of values, which is preferable for accurate computation?
should temporary results be in as high accuracy as possible or immediately rounded to the results accuracy?
Oct
14
comment Adding quirks from an old system to a new system because that's what people are used to - a term for this?
Adding "features" that most definitely are not bugs
Oct
14
comment Java Multithreading and CPU cores
there is but it's advanced and you shouldn't bother with it as it doesn't actually make a difference unless you are micro-optimizing
Oct
14
answered Does GCC optimize code to remove useless variable read operations?
Oct
14
comment Does GCC optimize code to remove useless variable read operations?
@Doval that will read from RAM each time and probably ignore any caching that may happen (and it will with a linear read from an array)