Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kps
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
1182 ms
·
3121.
▲
by
kps
14y ago
There's a Boost header with macros that provide this for C and C++. int i = BOOST_BINARY( 1 0010 0010 0000 1000 );
3122.
▲
by
kps
14y ago
So, the question is — if you take a zeppelin-sized chunk of aerographite, seal the outside, and evacuate the air, will it hold up to the pressure?
3123.
▲
by
kps
14y ago
The word ‘persian’ there is a little misleading. The European satellite providers stopped carrying the Iranian government's channels, not Persian-language channels in general.
3124.
▲
by
kps
14y ago
Two of those four do, more or less, via the Coalition for Patent Fairness — http://www.patentfairness.org/learn/who/supporters/ (Disclaimer: my employer is also a member, and I approve, but play no part.)
3125.
▲
by
kps
14y ago
I use a standing desk at home. I find my feet hurt if I stand still for long, but not if I walk. For me, running the treadmill at about 2km/h is ideal.
3126.
▲
by
kps
14y ago
Neat. Kind of like what Ivan Sutherland's Sketchpad did in 1963.
3127.
▲
by
kps
14y ago
From The Elements of Programming Style by Kernighan and Plauger: “Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you can be when you write it, how will you ever debug it?”
3128.
▲
by
kps
14y ago
Non-intuitive? ASCII ^H is Backspace, which moves left, and ^J is line feed, which moves down. How much more intuitive can you GET?!?
3129.
▲
by
kps
14y ago
The stock V6 UNIX kernel is 28,684 bytes, and /bin/sh is 5888.
3130.
▲
by
kps
14y ago
At home, I've been standing or walking on a treadmill for about a year. I find walking actually easier on the feet. My current 'desk' is a prototype of 2×4s and plywood, which I plan to replace with something nicer (with a matched 'skin' fo
3131.
▲
by
kps
14y ago
Some information about computers from the early '50s is still classified — http://www.governmentattic.org/4docs/NSAgenSpecComputers_198... . That plus http://www.governmentattic.org/3docs/NSA-HGPEDC_1964.pdf are interesting reads for an
3132.
▲
by
kps
14y ago
"standard nine-pin serial port" Them's fightin' words, boy. DEC had a DE9 serial port connector whose pinout is not the same as the later IBM PC DE9 serial ports.
3133.
▲
by
kps
14y ago
Often when TTY settings are messed up by a full-screen program, you need to type «Control-J stty sane Control-J». It's necessary to use Control-J (i.e. newline) explicitly instead of pressing Return or Enter, because those generally send CR
3134.
▲
by
kps
14y ago
You're better off finding an existing ASCII teletype. Then all you need is a USB-to-RS232 interface (FTDI and PL2303 ones work on OS X) and, depending on the machine, an RS232 to 20ma current loop interface, or a modem. Then simply edit /et
3135.
▲
by
kps
14y ago
The version from Nature does not suffer from this typographical mess. http://www.nature.com/news/proof-claimed-for-deep-connection...
3136.
▲
by
kps
14y ago
Switching base every digit is fun. Before Britain made their currency dull, some LEO and ICT (later ICL) computers did £sd arithmetic in hardware.
3137.
▲
by
kps
14y ago
Then the question can be rephrased, for the US anyway, as “Should that part of the DMCA be enforced?”
3138.
▲
by
kps
14y ago
Supporting KILL and especially WERASE would be nice; I usually use one of those rather when I've made a string of errors, rather than watching and counting backspaces. And I agree with previous comments that it's hard to follow just how man