Older blog entries for ncm (starting at number 173)

30 Mar 2007 (updated 30 Mar 2007 at 22:02 UTC) »
Chicago: The formula for a variable capacitor is C = kA, where A is the angle. (You're welcome.)

titus: Xerces-C++ sucks rocks, always has. For objective evidence, see how many (of what, 20K?) Debian packages depend on libxerces27. Not counting other libraries, I find: enigma, a game; anymeal, a cookbook database, and anon-proxy, an HTTP proxy daemon. It would be extremely unwise to make anything that matters depend on Xerces-C++. Among the first things I did at ITA Software, in 2001, was to replace Xerces-C++ in their system with libxml2. My current employer has just done the same.

lucasr: Python, Perl and Ruby really are the VB of the Free Software world. On the upside, people do get a lot of work done in VB. By the way, the value of a Paul Graham article halves for each mention of Lisp in it. The best ones don't mention Lisp at all. (That one has value 0.5.)

slef: Thank you for the pointer to ytplay. (It's an annoying script, but very fixable.)

Burgundavia: By the link you posted, it appears that most people don't do tech, and in particular don't do Free Software, in large part because they don't like meritocracies. The difference seems to be that men are much more inclined to identify as unlike (and, in particular, better than) others, and thus likely to find meritocracy appealing, offering a much larger pool to draw upon. Worrying about rudeness (which is far from unique to tech) just distracts us from the real problems.

apenwarr: Netflix is more clever than you. At Netflix, nobody ever gets to take a vacation, because any time off is time spent shirking. Furthermore, if they fire somebody, they don't have to pay accumulated unused vacation time.
16 Mar 2007 (updated 16 Mar 2007 at 03:07 UTC) »
haruspex: Projects should always start out with a random name, say two (possibly mnemonic) letters and six random digits. If one gets popular, you have plenty of time to come up with a memorable name. (No, th101138 is taken. I said random.)

But I'd rather put up a monotone archive, myself. BTW, congratulations to all involved on the monotone 0.33 release.

15 Mar 2007 (updated 21 Mar 2007 at 07:30 UTC) »

[spammer deleted]

Next time you encounter a Secret Service agent, ask him if the SS would interfere were somebody they protect convicted and sentenced to death. Also, would it matter whether it were a state or federal crime?

Since last entry I went to Hawaii and back. (My parents celebrated their 50th anniversary there.) At the airport coming home I had already checked our luggage before I remembered I still had my pocketknife, so I slipped it into my son's carry-on bag while in line at the x-ray machine. They rifled several other bags, pestered us about a 4 oz bottle of children's ibuprofen, even swabbed my daughter's bag for explosives, and ignored the bag with the dreaded pocketknife in it. Don't you feel safe now?

Running Linux 2.6.20.3 now, with swsuspend2 and bcm43xx patches. It has not been an improvement over 2.6.19; a second gdm X session thrashed swap after resume until I managed to switch to and log out of it. dmesg output is filled with tracebacks from various drivers, with complaints of incompatibility with suspend/resume, even though I always rmmod those drivers before suspending.

apenwarr: I've been doing the same thing, putting stuff here just so that I (and others, I like to think) can find it with Google. On that note, my favorite comic strip lately is Diesel Sweeties, and Tim Cahill is still amazing -- lately, in his book "Hold the Enlightenment".

26 Feb 2007 (updated 26 Feb 2007 at 08:43 UTC) »
mikal: Who in the world could find time to watch 22GB of TV, from whatever source? Indeed, who can find time to watch any of it? If you (dear reader) do, it's past time to reƫvaluate a number of life choices.
18 Feb 2007 (updated 21 Feb 2007 at 01:27 UTC) »

MS Windows (stupidly) lacks a socketpair() function. All the re-implementations I found on the net faked it with pipes, which are (also stupidly) not selectable. It's trivial to code a selectable win32 socketpair, making it doubly stupid that it's not there in the first place, and triply stupid that all the other implementations posted are useless.

p.s. it's impossible to write "doubly", any more, without thinking about Spinal Tap and smiling.

[Update: the erstwhile predominance of useless win32 socketpair implementations might be seen as a manifestation of Bram's Law. I don't know what it means for Bram's Law that a useful one has now been posted. Bram, are you there?]

17 Feb 2007 (updated 17 Feb 2007 at 23:19 UTC) »
Omnifarious: No, don't track down who at Wells Fargo to write to about their putrid policies. They are more likely to try to have you arrested than improve their policies. Switch banks, refinance. Telling them why you closed your accounts just might reach the right person. Wells Fargo, like most banks, really doesn't care what you think or what you want; their valued customers are businesses. It's better to bank with people who have some reason to care, such as a credit union.
16 Feb 2007 (updated 14 Mar 2007 at 04:48 UTC) »

The bcm43xx driver in my Dell appeared to stop working. I thought about it, and realized that at the time when it did work, I had first loaded and then unloaded the bcm43xx_d80211 driver, which is from an alternative development line. Sure enough, that seems to be what it takes. Evidently the alternative driver initializes something the regular driver misses. Or something.

Anything written by Michael Pollan is certain to be well worth reading. Books include "The Omnivore's Dilemma" and "The Botany of Desire". (The latter reveals that what Johnny Appleseed of history and legend promoted was not apples for eating, but rather apples to juice for hard cider: a sort of American Dionysus.) A recent article in NYT Magazine, "Unhappy Meals", gets more interesting with each page.

I made my first edit to Wikipedia yesterday. Thus far it's escaped the attention of vandals, many of whom seem obsessed with that entry.

You may take my word for this: it is always a mistake to write a program named "stupid". The number of ways in which it will turn out to have been a mistake is unlimited. First, you code it. Normally, an omitted #include is no big deal, but now you feel stupid about it. Likewise any bugs (which you really ought not to have in such a little program -- right?). When you give the program to someone else (say, your boss), can they ask you how to run it? What if it doesn't work right? Who, precisely, in each instance, is being called, or thinks he might have been called, or is made to feel, stupid?

Every soon-to-graduate Computer Science student should be assigned to write that program. The truly smart ones will refuse, but how many of those are there? Give an automatic "A" to anybody who does; that's somebody who really understands software.

164 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!