“I don’t know” seems like the only defensible position (or may be even reasonable) in today’s world
23
Bookmarked
In 1975, UNIX Version 6 contained a piece of process-switching code in sys/ken/slp.c that became famous for one of the strangest comments in programming history.
the routine restored an earlier stack frame so that a return could resume execution in a different function. It relied on the way the PDP-11 C compiler saved registers.
Dennis Ritchie later admitted that the mechanism was fundamentally broken and had to be redesigned when UNIX was ported to another architecture.
but the original source contained this unforgettable comment:
1
103
So now I’m picking up bad commentary from experts about the C language on X
That C is bad that it’s surprising why it has survived so long and so on
73
A beautiful equation with a lot of relevant use in tech!
For instance imagine a network monitoring system monitoring destination IPs of traffic
Changes in “entropy” of the distribution of IPs may signal some relevant information
For example
Imagine we find two distributions
IP1 90%
IP2 4%
IP3 3% and IP4 3%
-0.9*log2(0.9) - 0.04*log2(0.04) - 2 * 0.03*log2(0.03)=0.626
Here entropy is 0.63 bits
Later we find
IP1 25%, IP2 25% IP3 25% and IP4 25%
-4* 0.25log2(0.25)=2
Where entropy is 2 (each state equally likely)
So such changes in entropies of distribution can signal useful information about the system
109












