367 reputation
15
bio website
location
age
visits member for 4 years
seen 18 hours ago

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
Nov
30
comment Questioning pythonic type checking
Assuming nothing else in the quack() call tree can raise an unchecked AttributeError.
Nov
23
awarded  Nice Answer
Nov
21
awarded  Yearling
Nov
21
answered Is there an excuse for short variable names?
Nov
21
comment What does it mean that “language A is written in language B”?
"From the perspective of watching a TV program, a TV program is just a TV."