818 karma · joined February 21, 2007
http://area51a.net/mds mds@area51a.net
Sure you won't get the full literary experience skimming through War and Peace. But fluffy articles with a single tweet's worth of information content I can "speed read" just fine.
Teller (of Penn and Teller) legally changed his name to just "Teller". Apparently his drivers license reads Teller NLN for No Last Name.
"In Europe & Australia the term "Duracell Bunny" has entered the vernacular as a term for anything that continues indefatigably while in North America the term "Energizer Bunny" has a similar connotation."
And if the extra cat is actually making a measurable difference, maybe that's a good signal that it's time to rewrite it in C.
Agreed with the general sentiment though.
At first I laughed because I thought he was joking until he I saw he was serious. He followed that up with something about stacking weights on a seesaw.
$ cat t.c ; gcc ./t.c
#include<stdio.h>
int main() {
printf("%d\n", a());
}
int a() {
int i = 5;
i = ++i + ++i;
return i;
}
$ ./a.out
14 # ??
$ gcc t.c -c -o t.bin
$ gdb t.bin
...
(gdb) disassemble a
Dump of assembler code for function a:
0x0000000000000030 <a+0>: push %rbp
0x0000000000000031 <a+1>: mov %rsp,%rbp
0x0000000000000034 <a+4>: movl $0x5,-0xc(%rbp)
0x000000000000003b <a+11>: mov -0xc(%rbp),%eax
0x000000000000003e <a+14>: add $0x1,%eax # add 1 and store it in i => 6
0x0000000000000041 <a+17>: mov %eax,-0xc(%rbp)
0x0000000000000044 <a+20>: mov -0xc(%rbp),%eax
0x0000000000000047 <a+23>: add $0x1,%eax # add 1 and store it in i => 7
0x000000000000004a <a+26>: mov %eax,-0xc(%rbp)
0x000000000000004d <a+29>: mov -0xc(%rbp),%eax
0x0000000000000050 <a+32>: mov -0xc(%rbp),%ecx # move current value of i (7) into %ecx and %eax (both registers are now 7)
0x0000000000000053 <a+35>: add %ecx,%eax # add them together => 14
0x0000000000000055 <a+37>: mov %eax,-0xc(%rbp)
...Walking up to an ad or whatever and waving my my phone around at it just feels un-cool and socially awkward.
Depends on how they define a "generic reader" doesn't it?
[...] Richard had completed his analysis of the behavior
of the router, and much to our surprise and amusement, he
presented his answer in the form of a set of partial
differential equations. To a physicist this may seem
natural, but to a computer designer, treating a set of
boolean circuits as a continuous, differentiable system is
a bit strange.
Feynman's router equations were in terms of variables
representing continuous quantities such as "the average
number of 1 bits in a message address." I was much more
accustomed to seeing analysis in terms of inductive proof
and case analysis than taking the derivative of "the
number of 1's" with respect to time.
http://www.longnow.org/essays/richard-feynman-connection-mac...It's about a 5 minute read if you skip the statistics.