Better HN
topnewbestaskshowjobs
Log inSign up

breadbox

3,118 karma · joined Mar 18, 2010 (16y ago) · 566 submissions

My personal website is at muppetlabs.com under my username.
Submissions

comment 9y ago · link · parent

> I always wondered why musicians keep up with the > conventional musical notation system, and haven't come > up with something better (maybe a job for a HNer?).

Before starting down that path, I would recommend familiarizing yourself with the wide range of music notations that already exist and continue to be used, and then the ridiculously varying plethora of failed alternative music notations that have been invented over the centuries, and why they failed to see wider adoption.

And, of course, it's fascinating to study the evolution of the existing "standard" music notation, and see the changes that have been adopted, and the ones that weren't. For all its apparent stasis, it has definitely evolved over the centuries, in response to the changing needs of musicians.

comment 9y ago · link · parent

This flaw was pointed out while C99 was under review. The idea of changing sizeof to not be evaluated at compile-time did not sit well with a lot of people. Unfortunately, the alternative (sizeof not being usable with dynamic arrays) was clearly worse.

comment 9y ago · link · parent

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.)

94.

The short arm of coincidence(bit-player.org ↗)

1 points · by breadbox · 9y ago · discuss

95.

Neil DeGrasse Tyson on Linguists and Arrival(languagelog.ldc.upenn.edu ↗)

7 points · by breadbox · 9y ago · discuss

comment 9y ago · link · parent

> 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 attraction to itself and to other forms of matter.

Dark energy is called energy because it acts like radiation, i.e. it has negative pressure.

> Personally, I don't like dark matter because my "hack" alarm bells start ringing. That being said, I also don't know what I don't know.

Your second sentence is far closer to the mark than your first. Dark matter was indeed seen as a hack in the 1930s when it was first proposed, but there is now a large and remarkably consistent body of observations that show its presence. Here's one lay-friendly blog post that briefly describes some of the evidence: https://medium.com/starts-with-a-bang/why-dark-matter-9252bf...

> In that way, it wouldn't hurt if slightly fewer eyes were looking at particle dark matter and slightly more at "non-matter" dark matter.

It's kind of like quantum mechanics at this point. The only reason there aren't more eyes looking at alternatives to dark matter is because we already did that over the last few decades, and the evidence in favor of dark matter kind of became ridiculously overwhelming.

If you want to float an alternative to dark matter at this point, you have to, at the very least, come up with a theory that explains all the things that dark matter explains. (Presumably you would also come up with something that dark matter doesn't explain that your theory does, but one thing at a time.)

comment 9y ago · link · parent

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". I would say that the concept of markup languages truly became ubiquitous in the 1990s, with the extremely widespread popularity of a markup language that the author didn't even mention -- the Hypertext Markup Language.

98.

The Downfall of YouTube’s Biggest Star Is a Symptom of a Bigger Illness(buzzfeed.com ↗)

2 points · by breadbox · 9y ago · discuss

comment 9y ago · link · parent

Right now that's a plus.

comment 9y ago · link · parent

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 make shift-0 produce a space! (On the Model III however, they reused shift-0 to toggle between uppercase and lowercase mode -- sort of a reverse caps-lock key.)

101.

A Tantonalizing Problem(bit-player.org ↗)

2 points · by breadbox · 9y ago · discuss

comment 9y ago · link · parent

It's also worth highlighting that diffoscope.org is an extremely cool tool. This project is worthwhile just for having encouraged its creation.

comment 9y ago · link · parent

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 time I never thought it would become a debian package, much less that reproducible builds would be a thing someday.

comment 9y ago · link · parent

Dang it, I did a search for "feathers" and nothing relevant seemed to come up. Maybe I typoed something without noticing.

105.

The First Dinosaur Tail Found Preserved in Amber Is Covered in Feathers(thisiscolossal.com ↗)

1 points · by breadbox · 9y ago · 3 comments

comment 9y ago · link · parent

> 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.

107.

A Good Bundle [151 games](itch.io ↗)

2 points · by breadbox · 10y ago · discuss

comment 10y ago · link · parent

Note that this article more or less flouts Betteridge's Law -- the answer is very likely Yes.

109.

Is Earth Our Solar System’s Missing ‘Super-Earth’?(medium.com ↗)

1 points · by breadbox · 10y ago · 1 comment

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

Or via the bitwise operators. Still, it is not possible to take the address of a bitfield.

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

Minor point: sizeof(char) was defined to be 1 even in the original C89. "char" has always been a misspelling of "byte" in C.

comment 10y ago · link · parent

Trust me, this mistake has been ubiquitous for decades. You're just now realizing it. (cf "recency effect")

comment 10y ago · link · parent

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 add it to the game. So before you moved you had to flip a coin, and if you guessed wrong you lost your turn.

On move four she took my queen.

comment 10y ago · link · parent

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 computer-run game (a physical Really Bad Chess would require lots of extra pieces).

117.

Green's Online Dictionary of Slang(greensdictofslang.com ↗)

4 points · by breadbox · 10y ago · discuss

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

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 (assuming it too is in its default configuration).

comment 10y ago · link · parent

Perhaps not always, but in my experience it largely comes from the same place, and has about as much actual reason behind it.
12345
19