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

Wow. I honestly wasn't expecting to ever see this on the front page of HN again, given the current ubiquity of 64-bit Linux. (And yes, before anyone asks, I've played around with minimizing 64-bit executables. Unfortunately they are both larger and less forgiving of tomfoolery. The smallest 64-bit ELF I've created is 84 bytes.)

Since it is here, though, I want to take the opportunity to say thanks to everyone who's expressed their appreciation of my essay. And I should note here that writing that essay, so many years ago now, is one of the better thing I've done for my career. Share what you have to learn the hard way; the effort won't be wasted.

comment 13y ago · link · parent

http://lorempixel.com/

comment 13y ago · link · parent

Reading this really brought back memories of when I was writing Windows code. It really felt like half of any project was spent on working around the OS, rather than with it.

comment 14y ago · link · parent

No, because if nothing else we don't actually know what it's composed of. It's entirely possible that it will turn out to be a new family of particles, for example.

But more to the point, dark matter is certainly not made up of quarks and/or electrons (because it doesn't interact electromagnetically), so shoehorning it into a list of phases of "normal" matter is misleading at best, if not simply wrong.

comment 14y ago · link · parent

Then it's probably my mix-up. An extremely similar passage occurs in Metamagical Themas, in which Hofstadter describes a conversation in which he first realized that he may have only assumed that Carroll's Tortoise was male. I've likely confused one with the other.

comment 14y ago · link · parent

Not quite. Achilles and the Tortoise originally came from an essay by Lewis Carroll. Hofstadter had borrowed them for GEB, and in doing so also borrowed their gender -- or so he thought. In reality when he went back to check, long after publication, he realized that Lewis Carroll had left the Tortoise completely genderless.

comment 14y ago · link · parent

My favorite part of the video is where they explain all the cool things you can do ... WITH A KEYBOARD.

Seriously, though. I've experimented with chording keyboards in the past. Conceptually they're quite cool, but their advantages are outweighed by the finickiness of having to master a new set of split-second timing issues. I can only imagine having zero tactile feedback on top of all that. (And then opting for zero visual feedback as well?)

comment 14y ago · link · parent

The "DIY black dome" object mentioned briefly in the article is used to create "polynomial texture map" images. If you're unfamiliar with it, it's a very cool technique. http://www.hpl.hp.com/research/ptm/ has details, but in brief: an object is photographed multiple times from one camera position but multiple lighting positions. Software can then programmatically interpolate to how the image would look from all lighting positions. It's a way to improve on basic texture-mapping for games, of course, but it's mostly proving useful in archaeology, allowing more people to interact virtually with precious objects. PTM images can also be provide "impossible" views of objects -- e.g. giving every pixel a different lighting angle so as to maximize contrast.

comment 14y ago · link · parent

It may not be "wrong" per se, but it could easily have the unhappy result of making dissent invisible (or at least less visible). Unpopular opinions, if expressed honestly and well, ought to be encouraged.

comment 14y ago · link · parent

If you asked for a big enough file of random bytes, eventually, chances are that the file would just happen to contain the substring "Xcat $1\nprintf X\ncat $0\nexit\n". You then do the following:

1. Copy the part of the file preceding that substring to a file named "foo".

2. Take the rest of the file, including all of the substring EXCEPT for the initial X character, and put it in an executable file called "decompressor".

When you run "./decompressor foo > out", you will then recreate the original file. The length of decompressor + foo will be one byte shorter than the original file.

comment 14y ago · link · parent

In my experience (and studies seem to bear this out), most people will automatically assume an attractive woman has poor skills in X (where X is anything that doesn't involve dealing with customers). So I don't think your "commonsense" argument actually holds in the real world.

comment 14y ago · link · parent

Lynx 2.8.6rel.4: https://aboutmybrowser.com/1283428590

Lynx 2.8.8dev.2: https://aboutmybrowser.com/4027520259

Links 2.1pre32: https://aboutmybrowser.com/3138479085

ELinks 0.11.1: https://aboutmybrowser.com/3604611808

(Text-based browsers deserve love, too.)

comment 14y ago · link · parent

I assume they're thinking of things like automatic bill payments. From what I can tell these days, if it involves storing your private information on a computer you don't own via the internet, it counts as "cloud computing."

comment 14y ago · link · parent

I'm not even sure I even realized it was there.

comment 14y ago · link · parent

Every major file type (or nearly every, anyway) has a set of signature bytes, a "magic number" or something equivalent that identifies it as being of that type. This lets programs identify what kind of object a file represents without requiring this information to be supplied by the user.

Most file types have this magic signature as the initial few bytes of the file. For example, a Windows executable always begins with the ASCII characters "MZ".

The point is that with non-overlapping magic signatures, a single file can be simultaneously identified as more than one type.

comment 14y ago · link · parent

I discovered Ellen Fullman by chance back in the 90s. Unfortunately she hasn't writing any nonfiction since that I know of -- her last two books are both novels. "The Bug" is a fun read, particularly if you've ever had to do any low-level GUI programming back in the pre-browser days, but it's a little thin overall. Haven't read her newest one yet.

If she started writing nonfiction again, I'd buy it sight unseen.

comment 14y ago · link · parent

The only thing that could make this better would be if you were doing this as an independent contract for 16 credits.

comment 14y ago · link · parent

The game was made by one person, yes. But it's a little misleading to emphasize that this was "one person" when they were representative of the massive amounts of anti-feminist sentiment that was sent her way. If you look through the random sampling of comments her video garnered, it's hard to claim that the video game "changed the frame of the discussion" that was already well underway.

comment 14y ago · link · parent

Which, ironically, is almost as bad, when you suddenly realize that you basically let Chrome change the UI, and there's no way to return to the UI you once knew.

comment 14y ago · link · parent

The takeaway quote:

"After years of aspiring to improve software usability, I've come to the extremely humbling realization that the single best thing most companies could do to improve usability is to stop changing the UI so often!"

I wish I could ink this command onto the right hand of programmers (and program managers) everywhere.

comment 14y ago · link · parent

Even the toned-down link text given here is somewhat unfair to the article, which is really about how we deal with an introduced plant (in this case the eucalyptus tree in California) that has both good and bad effects on the local biota. There is no clear The Right Thing to do here, and it's a fascinating issue to consider.

comment 14y ago · link · parent

The assumption that "natural language grammars" and "logic" are even on speaking terms will only bring you frustration, as you rail against perfectly correct constructions while the world rightly ignores you.

comment 14y ago · link · parent

Not at all. It's a rhetorical quotation; I'm not responding to any one person. (I suppose that's part of the issue: it's rarely any one person that's behaving badly; it's the cumulative effect.)

comment 14y ago · link · parent

"StackOverflow is a meritocracy, therefore women should feel just as welcome as men." Some women tell you that it's not. Is your first reaction: [a] we should honestly try to listen to their feedback , or [b] publicly hypothesize that they're probably just whining because they can't take the heat? One of these answers leads to change, the other demonstrates how an egalitarian space turns unwelcoming.

Sick of hearing how sexist Internet forums are? Good! Let's keep working to change that. Other than discouraging people from pointing it out I mean.

comment 14y ago · link · parent

Thanks for the article; I really enjoyed getting the view from the other side.

comment 14y ago · link · parent

Why is it when people say things like "lack of respect for [insert language here]", it's always to defend their own lack of respectful behavior towards, you know, actual human beings?

comment 14y ago · link · parent

If someone started a fistfight in the conference's bar after hours, would you be surprised if the conference chose to not invite that person back again, ever? Would you come to his defense by saying "It's not the conference organizers' responsiblity what happens in the bar afterwards!" Some of the commenters have this idea that if you behave like a jerk to someone, ONLY that person has the right to distrust you. WTF?

comment 14y ago · link · parent

Speaking as someone who has spent WAY too much time playing minesweeper -- Early on I came to a similar conclusion (though without doing the actual math) and started clicking on corners initially. I soon discovered, as most people do, that corners are much more likely to expand out into a tiny opening that you can only follow for a short time before you're forced to make a "coin toss" move. If the goal is to make a _usable_ blob, clicking in the middle is best.

comment 14y ago · link · parent

Uh, not really. I think you'll find that quite a lot of people are willing to consider engaging in infidelity, but would not be okay with torturing their own offspring on a daily basis in order to keep that fact hidden.

comment 14y ago · link · parent

Compiling to a virtual machine is only one step up from byte-compiling, which hardly counts. Calling a tail a leg doesn't make it one.
1
1516171819