Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
breadbox
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
breadbox
9y ago
The issue is that sizeof is most often used in function-like macros, and the user may not even realize that it's a macro. (Or that sizeof is involved in it.)
92.
▲
The short arm of coincidence
(bit-player.org)
1 points
by
breadbox
9y ago
|
0 comments
93.
▲
Neil DeGrasse Tyson on Linguists and Arrival
(languagelog.ldc.upenn.edu)
7 points
by
breadbox
10y ago
|
0 comments
94.
▲
by
breadbox
10y ago
> I look at dark matter/energy as a measurement of what we don't know - it is not necessarily matter or energy (although it could be). Dark matter is called matter because it has mass, i.e. it experiences gravitational attracti
95.
▲
by
breadbox
10y ago
Good article, but I couldn't help stumbling over the thumbnail history of markup languages in the introduction -- in particular the assertion that Markdown, "in 2004 ... really pushed the concept over the brink of ubiquitousness&q
96.
▲
The Downfall of YouTube’s Biggest Star Is a Symptom of a Bigger Illness
(buzzfeed.com)
2 points
by
breadbox
10y ago
|
0 comments
97.
▲
by
breadbox
10y ago
Right now that's a plus.
98.
▲
by
breadbox
10y ago
The TRS-80s had the lovely feature that all of the punctuation above the digits were consistent with ASCII layout. shift-1 was !, as per usual, but also shift-2 was ", and ' was shift-7. On the Model I they even went so far as to
99.
▲
A Tantonalizing Problem
(bit-player.org)
2 points
by
breadbox
10y ago
|
0 comments
100.
▲
by
breadbox
10y ago
It's also worth highlighting that diffoscope.org is an extremely cool tool. This project is worthwhile just for having encouraged its creation.
101.
▲
by
breadbox
10y ago
I think a lot of times it just sneaks in. For example, when one of my projects was in alpha state, I added the build timestamp to the `--version` output, so that I could reserve version number changes for actual releases. At that point in t
102.
▲
by
breadbox
10y ago
Dang it, I did a search for "feathers" and nothing relevant seemed to come up. Maybe I typoed something without noticing.
103.
▲
The First Dinosaur Tail Found Preserved in Amber Is Covered in Feathers
(thisiscolossal.com)
1 points
by
breadbox
10y ago
|
3 comments
104.
▲
by
breadbox
10y ago
> It uses the regex and readline libraries Given that readline is basically a line-oriented version of emacs (or vi, if you set the config), it sounds like you actually wrote a readline editor with an ed-inspired UI.
105.
▲
A Good Bundle [151 games]
(itch.io)
2 points
by
breadbox
10y ago
|
0 comments
106.
▲
by
breadbox
10y ago
Note that this article more or less flouts Betteridge's Law -- the answer is very likely Yes.
107.
▲
Is Earth Our Solar System’s Missing ‘Super-Earth’?
(medium.com)
1 points
by
breadbox
10y ago
|
1 comments
108.
▲
by
breadbox
10y ago
Martin Gardner published a small book early in his career that describes Llull's project. It includes reproductions of many of his diagrams, which are very geometrically ornate.
109.
▲
by
breadbox
10y ago
Or via the bitwise operators. Still, it is not possible to take the address of a bitfield.
110.
▲
by
breadbox
10y ago
char doesn't have to be 8 bits in size, true, but C basically doesn't give you any way to address memory smaller than a char.
111.
▲
by
breadbox
10y ago
Minor point: sizeof(char) was defined to be 1 even in the original C89. "char" has always been a misspelling of "byte" in C.
112.
▲
by
breadbox
10y ago
Trust me, this mistake has been ubiquitous for decades. You're just now realizing it. (cf "recency effect")
113.
▲
by
breadbox
10y ago
That is a great idea, and I wish I had had it in my back pocket about ten years ago. My daughter invented "coin flip chess" when she was little. I had showed her how to flip a coin to pick between two choices, and she wanted to
114.
▲
by
breadbox
10y ago
Martin Gardner noted in one of his Mathematical Games columns that chess variants are great for evening the playing field between players of different skill levels. There are so many variants out there. I like how this one works well with a
115.
▲
Green's Online Dictionary of Slang
(greensdictofslang.com)
4 points
by
breadbox
10y ago
|
0 comments
116.
▲
by
breadbox
10y ago
I dunno if I'd say it was never used anymore. Try running `cat` (to bring up a basic termainal input) and type various control keys. Anything that isn't interpreted by the tty is probably displayed using caret notation.
117.
▲
by
breadbox
10y ago
Actually, this is a feature of libreadline (in its default configuration). ^Y mimics the yank command from emacs. At an actual terminal input (like you can get by running `cat` with no arguments), ^Y will just echo back a literal ^Y (assumi
118.
▲
by
breadbox
10y ago
Perhaps not always, but in my experience it largely comes from the same place, and has about as much actual reason behind it.
119.
▲
by
breadbox
10y ago
I'm fairly certain it can be dated back to the dawn of written language, and presumably extends back to the beginning of human society. Hell, if there is a verifiable record of a time period in which a significant fraction of the estab
120.
▲
by
breadbox
10y ago
I swapped Del and Esc the first week I got my Kinesis. But even with it there I still sometimes use Ctrl-[ to press Esc.
More ›