Older blog entries for mrorganic (starting at number 247)

Have I mentioned that I hate COM? I haven't? Well, let me expound: I hate COM. COM is a feculent, festering boil; a gross chancre, a steaming turd, a flyblown pile of sewage. Do I hate it? Boy howdy, you better believe it!

I'll write an essay someday expounding just how and why I hate COM, why COM is most of the reason that Windows is not only insecure but insecurable even in principle, and why component technology in general is a badly-thought-out paradigm.

But for now I'll just say: COM sucks.

I used to enjoy MetaFilter. It was a place where you could see some truly offbeat and interesting stuff -- kind of like MemePool, only even more esoteric. But ever since George W. Bush became president, the site might as well be called IHateBushFilter, and the tenor of the discussion has turned shrill enough to drive away even fans of The Nation.

Too bad. But there's always Fark, which is both funnier and more interesting. And let's not forget James Lileks, whose Institute of Official Cheer is a wonderful way to burn up a lazy afternoon.

(When did the Left become so shrill and humorless, by the way? Even Al Franken can't seem to crack a decent political joke anymore; he's just as bitter and pissy as the rest of them.)

I've had some real problems with CD-ripping. CDParanoia can't cope with a couple of spoken-word CD's that I have, and in any case, cdparanoia is slow. I don't know if I just have a crappy CD-ROM drive, or if Linux has a dodgy IDE-ATAPI driver, but whatever the cause, it makes the whole rip-encode cycle very painful.

This is one of the few times when I'd really prefer a SCSI CD-ROM rather than an ATAPI one.

13 Sep 2003 (updated 13 Sep 2003 at 11:56 UTC) »

An interesting question of coding style. In C and C++, some people write the strcmp() function as follows:

if (!strcmp(foo,bar)) {
    /* do something interesting */
}

This makes the code hard to read, in my opinion. You are checking a positive result -- in this case, that two strings are equal -- and yet (because C and C++ treat FALSE as zero and a non-zero value as TRUE) you must check a negative result. This is highly non-intuitive, and I think it should be considered bad coding style.

Instead, the code should be written this way:

if (strcmp(foo,bar) == 0) {
    /* do something interesting */
}

It's not that much more typing, and it's far clearer as to what the intent of the conditional really is.

But that's just me.

Sigh. That'll teach me to post on political topics on Advogato. Arguing politics or religion on the internet is the absolute pinnacle of pointlessness. That's why MeFi has turned into such a sump in the last couple of years. No minds are changed, harsh words are bandied about, and hard feelings ensue. I should know better by now.

But enough of that.

I finally figured out how to manage and play Ogg Vorbis files on my Neuros via Linux. It turns out there are a few tricks:

1. You need a recent kernel. I compiled and installed 2.4.22 on my Debian box with USB mass-storage drivers compiled in.

2. You need to mount the Neuros with the "-o sync" option. Asynch updates flat-out don't work with the Neuros. I'm not sure why.

3. You need to encode Vorbis files at about -q 3 or -q 4. I had a bunch of tunes encoded at -q 6, and they would play fine for a bit, but start stuttering and skipping after a minute or two. -q 3 files play fiine. I suspect that the Neuros doesn't have enough horsepower to decode high-bitrate files.

On the updside, the sound quality of -q 3 vorbis files is very good -- as good (or better) than 192-bitrate MP3 files.

Learn the wisdom of Master Foo and receive enlightenment.

Stuff like this is why I love Unix. I can't imagine a hacker spending the time and effort to write these things about Windows.

Also: learn at the knee of a master. Find out how Doug McIlroy can kill quicksort (i.e., make it go quadratic). qsort(), thou art undone!

Our mutual friend Darl McBride of SCO has excreted a masterful troll, which the geeks at Slashdot and LinuxToday are tearing into right now. I expect that ESR will unleash a rebuttal sometime soon; stay tuned.

On that same note, I see that Eric has written a nifty source-code comparison tool called Comparator. It's amazing what a pissed-off and motivated master-hacker can come up with.... This is also a natural companion to diff, which makes it a handy development tool.

8 Sep 2003 (updated 8 Sep 2003 at 17:56 UTC) »

Once again my weekend was eaten by weasels. I did not get my website set up, nor did I get any work on my essays done. A friend came over on Sunday, and my wife and I spent most of the day with her; it was fun, but it was no help in getting my "geek stuff" done.

I did buy another 25 ft. ethernet cable for my computer room to replace the one that broke. Here's a tip: never buy cables at Radio Shack. They clipped me $15 for a lousy Cat-5 patch cable! I should have just gone to some internet-based cable outfit and got one for $5 or so, but I was in a hurry. Still -- fifteen bucks for a damned cable! That's highway robbery! (And that's why I haven't shopped at a Radio Shack in years. How quickly I forget.)

[UPDATE]

I just sent $100 to the EFF. I had this money earmarked for music CD's, but the RIAA Lawsuit clusterf**k is under way, and I have no intention of funding their actions. Screw 'em. I'll buy my CD's used from now on; most of the music I like is old stuff anyhow.

Let me be clear: I support the idea of copyright. How could I not? I am a writer, and I would vigorously defend my own copyright against infringers. But this is little more than a dying industry trying to bully its customers into supporting its ludicrous business-model.

I have no problem in paying the artist for their work. I'm even willing to pay a distributor a value-add if they can package and promote the given work in a way that makes it more attractive or easier to use. But I refuse to pay what is in essence a tax simply to prop up a bloated do-nothing bureaucracy. There's no earthly reason a music CD should cost $18, and yet most new releases do (in fact, I've seem some that are as high as $21!). That's highway robbery.

So: I will either buy my CD's used (thus giving my trade to local businesses and depriving the RIAA of revenue all in one shot), and I will patronize artists who sell their own music over the web.

To the RIAA: that sound you hear is your doom approaching.

I had to re-retire the Sun box. It just...stopped...right as I was trying to compile a program. Then I remembered why I delegated it to a closet lo these many months ago: it has a flaky power supply. Or a bad motherboard. Or something.

So I went back to using my crappy old Pentium II as my server, which meant that much of today was spent installing and configuring Debian linux and the associated tools.

Hopefully I'll be able to spend tomorrow actually doing something productive.

238 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!