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 11y ago · link · parent

As always, "kids" == younger than me. But no, I've never used a teleprinter for anything serious.

Still, the evidence of their recent departure is all around us. vi (short for "visual", because the idea of a visual editor was still pretty novel) didn't even exist until 1976.

comment 11y ago · link · parent

The author's amazement at the oblique reference to teletype outputs is hilarious. Kids these days forget that much of Unix (and most other things) were created without the benefit of "glass teletypes" (aka screens).

comment 11y ago · link · parent

I don't think so. I'm going from memory here, but I think in pre-K&R C it wasn't assumed that every struct/union would be given its own separate namespace.

comment 11y ago · link · parent

Sounds like what changed wasn't him or the events; it was the fact that the events were noticed by the world at large.

comment 11y ago · link · parent

Standout quote: "People think that confidence follows skills, but it’s usually the other way around where skills follow confidence." This is a fact that really needs to be more widely acknowledged. (It also casts the microagressions that have the effect of chipping away at the confidence of women and minorities in a rather uncomfortable light.)

comment 11y ago · link · parent

Since this is all about obscure languages, it maybe worth pointing out here that the original INTERCAL compiler was written in SPITBOL.

On one or two occasions I asked Don Woods to clarify some feature of the language that was incompletely described in the original INTERCAL document, and he dug out the original SPITBOL code in order to answer my question.

187.

Pumping the Primes(bit-player.org ↗)

78 points · by breadbox · 11y ago · 3 comments

188.

One for Diogenes(languagelog.ldc.upenn.edu ↗)

32 points · by breadbox · 11y ago · discuss

comment 11y ago · link · parent

Last week I would have sworn the same was true of cars.

comment 11y ago · link · parent

There is nothing wrong with supporting lots of platforms, but those #ifdefs need to be encapsulated in wrappers functions (or macros). This is a classic example of premature optimization, actually. You use one or two #ifdefs directly because you hate to pay the cost of function overhead just to make the code easier to read. (Even though there's practically no point in tiny optimizations just before the code is going to wait for keyboard input.) A few years go buy, a few more situations are done via #ifdef because at least that way it's consistent. Eventually you have a nightmare function like this, where reading it forces you to read every possible version of the function simultaneously.

Encapsulate your #ifdefs people!

191.

Un justified(languagelog.ldc.upenn.edu ↗)

1 points · by breadbox · 11y ago · discuss

comment 11y ago · link · parent

No, they aren't. That may be what you're hearing, but I promise you that's not what the intended message is.

When someone says "This town has a crime problem," they're not saying "The town itself is committing lots crimes" or even "This town contains nothing but criminals." What they are saying is that it doesn't matter how many good people there are in the town, it's still that town's responsibility to do something about it. The town can't just wait around for some other town to come and fix things for them. Or go on letting people get robbed and killed as long as it doesn't happen to anyone that "matters".

Women say "This industry is fucked" because they want things to get better. Some people hear this and seem to think that if they personally didn't cause it, then it's not their job to fix things or even acknowledge the issue. But news flash, the only way things get better if the people who aren't causing the problem drive the change. Because the people who are causing the problem aren't going to. They're entirely happy with the shitty status quo.

193.

Meet the Julians(bit-player.org ↗)

4 points · by breadbox · 11y ago · discuss

194.

Fast money, slow data(bit-player.org ↗)

11 points · by breadbox · 11y ago · discuss

195.

Disastrous Ambiguity(languagelog.ldc.upenn.edu ↗)

1 points · by breadbox · 11y ago · discuss

196.

Music Streaming for the Rest of Us(charlespetzold.com ↗)

4 points · by breadbox · 11y ago · discuss

comment 11y ago · link · parent

Another example would be Fish Fillets. The GPL release of the source included all of the assets, even the voice-acting sound files (though only available in Czech). Info at http://fillets.sf.net/ , released source code at http://sourceforge.net/projects/fillets/files/original%20ALT...

198.

Traffic Jams in JavaScript(bit-player.org ↗)

80 points · by breadbox · 11y ago · 1 comment

comment 11y ago · link · parent

I doubt you have to dig that far down to find a reason. Just think of the kind of person that gets described as "humorless". Then imagine marrying one of them. Women aren't thinking about their hypothetical future children; they're thinking about not hating their own lives in six months.

comment 11y ago · link · parent

Or maybe you need to set aside the shell scripting and start learning a different language? "Things like inverted trees, functional programming, [and] polymorphism" really have no analogue in a shell language. Start working in C++ or Java, for example, and I suspect these things will start making more sense.

comment 11y ago · link · parent

Immediately after executing the loop body, you mean.

comment 11y ago · link · parent

No, it's the head of a for-loop. (The statement or block that follows this macro invocation becomes the body of the loop.) The third clause of the loop head guarantees that the loop can execute at most once.

comment 11y ago · link · parent

A cool idea, though the it's in need of some better examples to show its true power. Several of the examples can be accomplished with the traditional C preprocessor. For example:

    #define with_open_file(fp, path, mode)   \
        for (FILE *fp = fopen(path, mode) ; fp ; fclose(fp), fp = 0)

comment 11y ago · link · parent

I heard a minor variation of that, in which the button just kicked the playback volume up, exploiting the effect that louder music often feels "better".

comment 11y ago · link · parent

No, they aren't going to win. The public leaderboard tests people's submission on toy data. Typical for contests like these. The real contest will be determined using realistic data, which is kept secret until after the contest is over.

comment 11y ago · link · parent

Not sure exactly what you're referring to (didn't find "m1" or "m2" anywhere in the paper), but ...

When a monstar leaves the counter (due to a SUB lever emitting a bunny), the monstar has to proceed to the area under the ladder, where Tim has to kill it in order to proceed.

If Tim pulls a SUB lever when the counter equals zero (no monstars), then the bunny will die on the ceiling spikes and be removed. Tim will not be able to reach the ladder and will have to exit the branch point and proceed to the next spot.

comment 11y ago · link · parent

Except of course that that would make it completely boring to play, so why would you do that? This, I can't help feel, is kind of the point. It's the part of the game that's encoded socially rather than algorithmically that make it unique and interesting.

comment 11y ago · link · parent

Yeah, but leaving out "quote" is like leaving "if" out of C.
1
678
19