Daily tweets about computer science and related stuff @JohnDCook.

Joined November 2010
“Most of the problems in writing software come from not knowing what depends on what.” — Stuart Feldman, creator of make (1976)
3
15
1
83
6,737
'Writing code is often a constant struggle against distraction.' -- Joy of Clojure
1
7
29
6,819
Minimum criteria for a language to be Turing complete cs.stackexchange.com/questio…
1
4
11
6,033
Cardinal rule of floating point arithmetic: If x and y agree to n bits, then you can lose up to n bits of precision computing x-y.
1
12
6,102
'It has long been my personal view that the separation of practical and theoretical work is artificial and injurious.' -- Christopher Strachey
1
4
1
25
7,256
Algorithms to find which words can be spelled with chemical symbols. From O(n) to O(2^n). johndcook.com/blog/2026/10/1…
3
8
28
4,403
Alan Turing Found alluring Machines whose only fault Was that they would not halt. -- Karl David
1
5
29
7,997
'The fastest algorithm can frequently be replaced by one that is almost as fast and much easier to understand.' -- Douglas W. Jones
1
13
1
72
8,015
Mathematics for Computer Science cs.princeton.edu/courses/arc… [339 page pdf]
1
14
103
9,009
Computer Science retweeted
It's Halloween season again and as a mathematician I'm obliged to post this. I don't make the rules
65
4,848
179
20,092
411,152
“Modern cryptanalysis is possible primarily because people make mistakes.” — Bruce Schneier
3
30
7,888
Kerkhoffs' Principle: The security of a cryptosystem should not depend on keeping the cryptographic algorithm secret.
2
8
1
53
8,063