[SJF Logo]
Steve Friedl's Weblog

July 30, 2003
Woo hoo! - happy uptime!

Just checked my web server and found that I've had a year of uptime:

$ hostname
www.unixwiz.net
$ uptime
 7:28am  up 369 days, 18:38,  2 users,  load average: 0.00, 0.00, 0.00

Not that it's such a busy server: since Kasia moved on it's been pretty quiet :-)

Posted by Steve at 07:32 AM
July 18, 2003
Toot Toot: Wizardly Words for Warnings

In the August 2003 issue of Linux Magazine you'll find my Compile Time column on compiler warnings. I've long been pretty damn anal about getting rid of compiler warnings, because even benign warnings can hide the *real* ones: if you're used to 27 "unimportant" warnings every time you build your software, when that 28th important one pops up, will you even notice?

Run right out to your favorite newstand and pick up the latest -- or (better) just subscribe.

I'm worth it :-)

Posted by Steve at 09:55 PM
July 12, 2003
Trackback testing

Testing trackback and ping for Sharon to her search items posting.

The top couple of entries that bring people to my site are:

1 	56 	2.03% 	aim passwords
2 	49 	1.78% 	__attribute__
3 	49 	1.78% 	password decoder
4 	47 	1.70% 	aim password decoder

Sadly, only the one for Using GNU C __attribute__ is anything I actually am happy about.

Posted by Steve at 10:26 AM
July 11, 2003
That boy needs a spanking

Some idiot punk teenager decided to get into a pissing contest with Kasia over email, but he quickly found himself outmatched. I guess this moron has such a high opinion of himself that he thought being abusive and profane would get his way - as if...

The fun starts...

But wait, there's more!

What the hell kind of loser parents does this kid have?

Posted by Steve at 10:56 AM
July 06, 2003
The Amazing Disappearing Sound Card

For a couple of weeks I've been struggling to install sound cards in a pair of customer computers running Windows XP, and it's been maddening. Installed some no-name sound cards, they install and configure OK, sound great... until the next reboot. After reboot, the hardware shows as present and working correctly, but the Sounds control panel says "No Audio Hardware". WTF?

Moved the cards around, reinstalled: same thing, every time.

Picked up a couple of name-brand Creative sound cards: same thing, every time.

Googled for hours: nothing.

This customer is a 30-minute drive for me, and no way I can bill them for all of this time I'm burning.

Finally figured it out: many moons ago, I'd gone through these machines and disabled a bunch of Services in the Control Panel for things that we didn't use, and this included the "Windows Audio" service which I had set to "Manual".

Apparently, installing the driver starts the service, but it doesn't notice that it's not set for Automatic Start, so upon reboot the device just disappears. Every time. Simply setting this service to start automatically fixed the problem.

Posted by Steve at 04:35 PM
July 05, 2003
How hard could it be?
An insightful posting at BroadBandreports poses an intersting query. In the source for /bin/true on the Solaris platform, we find this:
#! /bin/sh
#
#	@(#)true.sh 1.5 88/02/07 SMI; from UCB
#
exit 0
How come it took five tries to get right? :-)

Posted by Steve at 09:22 PM
July 02, 2003
Attacking spam from the demand side?

Virtually all the approaches against spam have been either against the spammers directly (blacklists or legislation), or on filtering (SpamAssassin), but I wonder if it might be better to approach this from the demand side.

Spammers only spam because it works - sell products, get downline for MLM, etc - but what if ISPs put "You may not respond to spam" as part of their terms and conditions, and those found doing so get their internet accounts suspended/terminated. If you find out that your friends bought something via spam, shun them. It's already socially unacceptable to send spam: why not expand the circle?

I really have no idea how this could be implemented (without intrusive monitoring, at least), but it seems to me that if the demand dried up, so would the supply.

My guess this is a hopeless approach, but it's much easier for me to understand the mentality of a spammer (self interest) than of the moron who responds to it.

Posted by Steve at 08:34 AM