Reputation
368
Top tag
Next privilege 500 Rep.
Access review queues
Badges
1 7
Impact
~23k people reached

Jun
22
awarded  Autobiographer
May
12
comment What do you call an iterator that returns the current, previous and next siblings of each node of a list?
tuple doesn't mean two items specifically; it can be any number. A two-item tuple is a pair.
Feb
25
awarded  Editor
Feb
25
revised Is it reasonable to assume that any physical quantity can be represented by a 64-bit integer without overflow or underflow?
Added JDK context for "original binary search" claim.
Feb
25
suggested approved edit on Is it reasonable to assume that any physical quantity can be represented by a 64-bit integer without overflow or underflow?
Sep
11
comment What is the purpose of a Code Review
+1 for knowledge transfer; IMO this is the greatest benefit.
Jul
22
answered When I test out the difference in time between shifting and multiplying in C, there is no difference. Why?
Jul
22
comment When I test out the difference in time between shifting and multiplying in C, there is no difference. Why?
Always, always check the generated assembly code when working on this kind of optimization, to be sure you're measuring what you think you're measuring. A huge number of "why am I seeing these times" questions on SO wind up boiling down to the compiler completely eliminating operations because the results aren't used.
Jul
8
comment Pointer indexing
As an aside, here's why we index from zero: cs.utexas.edu/~EWD/ewd08xx/EWD831.PDF
Jul
3
answered How does the “Fourth Dimension” work with arrays?
Jun
14
comment Programming as fast as you can touch-type… How to get to that stage?
The point of programming is to solve hard problems, not output large amounts of code. As you become a better programmer, you'll learn to solve harder problems with less code. This means more time thinking and less time typing.
Jun
10
comment Is Ken Thompson's compiler hack still a threat?
@DanielWagner - but much easier to detect when your soft firewall alerts you that your compiler is calling the mothership ;)
Feb
26
answered Engineering interview candidate refuses to use whiteboard
Feb
12
answered Should Junior Programmers be involved as code reviewers in the projects of Senior Programmers?
Jan
26
comment Is Ken Thompson's compiler hack still a threat?
@ArjunShankar - I didn't say anything whatsoever about probability; it's obviously quite low. The whole concept of the backdoor in question is that it doesn't appear in the source, so I don't see that "many eyes on the source" is even relevant.
Jan
26
comment Is Ken Thompson's compiler hack still a threat?
@Kaz -- At some point, aboveboard modifications to the compiler or login program might get to the point where they defeat the backdoor's compiler-recognizer/login-recognizer, and subsequent iterations would lose the backdoor. This is analogous to a random biological mutation granting immunity to certain diseases.
Jan
26
comment Is Ken Thompson's compiler hack still a threat?
The modern open source software tradition is still hugely reliant on source distribution and gcc, so within that ecosystem I think the theoretical vulnerability is still there. Consider what would have happened if e.g. the first Red Hat Linux distro had this back door.
Dec
1
comment Why is the sudden increase in number of Git submitters on Debian popcon graph in 2010-01?
@PeterLeFanuLumsdaine I think my point is that the constantly-zero function can be achieved by a sigmoid with a zero growth rate just as easily as an exponential with zero growth rate.
Dec
1
comment Why is the sudden increase in number of Git submitters on Debian popcon graph in 2010-01?
@Mechanicalsnail -- nope, sigmoidal again. Regardless of the current population of bioluminescent flying llamas, I think you have to agree that Djibouti's carrying capacity for them is finite.
Nov
30
comment Why is the sudden increase in number of Git submitters on Debian popcon graph in 2010-01?
There's no such thing as exponential growth, only sigmoidal. en.wikipedia.org/wiki/Sigmoid_function