Archive for the ‘Computers & Internet’ Category

Argh…

Wednesday, February 28th, 2007

Same code and same input, down to the bit, only works on one machine. Reliably fails on all others. Reliably works on the working one. Same OS and system libraries, also down to the last bit.

I have to conclude that God hates me. Only the sick bastard who designed the tapeworm would be capable of such a finely-tuned annoyance.

The problem is no longer merely taunting me, it’s violating causality. Wait, does that mean it is no longer of this universe, so I don’t need to worry about it?

It’s eXtreme something all right…

Wednesday, February 28th, 2007

So, I’ve been banging my head up against cantankerous computers far more often at work. It’s been refreshing. Computer problems are so much nicer than the political wrangling, because if a computer’s being uncooperative, you have the option of kicking it in the head. Better still, the technical snags often have solutions, even if only theoretical. I’ve long since given up on the feasibility of large organizations.

(Not that the technical stuff is pleasant in absolute terms; I just found myself thinking “of course 1.3.6.1.4.1.1466.115.121.1.7 means ‘true or false’, I should have known that by now, makes perfect sense.” Stupid over-engineered protocols. And I once thought IMAP was bad…)

I roughly categorize the “engineers” at work by their output; some write code, others configs, there’s word and powerpoint (I lump those together, since they seem to come in pairs), and finally excel. I like to stay as close to the code/config boundary as possible, but have been on the word-ppt/excel boundary for many frustrating months.

Part of me enjoyed getting back to the technical problems enough to give me a bit of a scare. Once I latched on to a stubborn technical puzzle, I couldn’t let go. I was obsessed with getting it solved. It was personal; the problem wasn’t just “not being solved”, it was taunting me, and IT MUST PAY!

At about the time when the urge to put on warpaint and crawl into the #*!ng computer after the #!@*!ng insolent problem, I’d take a bathroom break, go get some water, and calm down a little bit.

The breaks didn’t cutting it for more than an hour or two, so to prevent any awkwardness or HR incidents, I started writing a powerpoint presentation. With an animated slide, natch. That did the trick. I feel much, much calmer now…

‘Scuse me while I geek this out…

Tuesday, January 16th, 2007

Well, that was quick.

I decided to give Linux another shot, to see if I it could reduce my computer futzing, etc. (Me shying away from computer tinkering, Jess making fermented beverages — what’s going on here?). I’ve been using Fedora Core 6 on my primary workstation at work for about a week, without incident. Meanwhile, my FreeBSD laptop gets a bunch of “are you fscking nuts?” comments.

This time, Linux lasted only two hours. Slower boot-up, spotty/fragile support for the Intel Pro/Wireless 2200 — I only had that working for one session, it disappeared on reboot. Couldn’t even do sleep/wakeup as smoothly as FreeBSD; it dropped the network connection and never recovered.

So, back to FreeBSD (as soon as I could get a FreeBSD install CD to reinstall the FreeBSD boot loader) for a while. Both are still installed, so I may give Linux another go when I’m feeling like tinkering :-)

You know it’s been a long time since your last post when …

Friday, January 12th, 2007

You have to log back in to WordPress, and you’ve forgotten your password. Tenth time’s the charm :-)

I normally have WP remember me and Firefox remember my password. That doesn’t do much good when the toddler decides your laptop is a fun thing to throw. Surprisingly, the tot survived. The laptop, though, needed a new hard drive.

Anybody know of a good network-bootable/installable Linux distribution? I hacked my own FreeBSD one, but am thinking of dual-booting with a “just Fscking works” linux distribution for when I’m feeling less adventurous… The laptop doesn’t have an internal CD, I’ve lost my USB CD, and struck out trying to boot from one of those snazzy pen drives.

That rumbling sound…

Wednesday, November 22nd, 2006

… is the earth shaking from my happy dance. Three things:

  1. I’m brewing tomorrow!
  2. I have some beers on tap! (I’ve had only cider for a couple months)
  3. Grafica Obscura is back online!

I haven’t finished all of the prep work for the brewing, as typical. Tonight was spent freeing up fermenters — I moved my Belgian Dubbel from this summer out of its secondary carboy and into a keg. I think this one’s going to be good — moderately dry, smoky, with almost a whisky character. I planned to force carbonate it before putting it on tap, but the liquid poppet started leaking, meaning it had to be hooked up to something, so it went on tap.

I also fixed the other beer, my 2003 Raspberry lambic, which has had a clogged dip tube for well over a month, because of the raspberry chunks and other detritus that made it into the keg. I replaced the dip tube with a shorter one that seems to end somewhat above the crap, so the beer is flowing free, clear, and sour :-) This one’s quite tasty also, and I can’t wait for it to get a little fizzier.

The plan for tomorrow is 10 gallons of steam beer wort, half of which will become a steam beer, the other half will be dry-hopped, hopefully to impersonate an American IPA. I still need to weigh out ingredients, grind grains, get propane…

Grafica Obscura, although a bit dated by now, was always worth a read and re-read. It’s a collection of graphics and origami hacks, essays, etc. by Paul Haeberli, formerly(?) of SGI. The pages used to be hosted at sgi, but about 6 months ago, I was going to refer a friend (hi Dan!) to a couple elegant hacks on the site, but it came up 404, no forwarding address, and the wayback machine had very few of the example images. Now it’s back, and I’m happy.

Even though Grafica’s been static since the late 90s, I still find some inspiration there every now and then. Of particular interest is the (still-)inchoate “Futurist Programming” section, which first led me to the work of Henry Massalin, author of the Synthesis operating system, an OS which rewrites and optimises its own code at runtime. Massalin’s dissertation is an amazing work, and fun to read.

So it begins….

Tuesday, October 10th, 2006

The week began on a somewhat amusing note, with one of the morning’s spams starting off with:

Forward-looking companies invest in total administrative alignment. Indeed, another optimal power drill hardly pours freezing cold water on another tuba player.

How personalized….

Microsoft, spam, my spleen, and you…

Tuesday, June 13th, 2006

Some days, it just doesn’t pay to turn the old brain on. Trying to make sense of things is the quickest path to insanity. Raging, blubbering, ululating, bloody, squirrel-butchering insanity.

But enough about work…

As a longtime advocate of free software, free operating systems, and (in a pinch) Macs, it occurred to me that I hadn’t been driven into a good lather over Microsoft in almost 5 years. Quite the feat, probably a record for me since I switched from DOS to Unix around 1992-1993. That streak ended today.

As I see it, Microsoft is partly responsible for about 80% of the spam on the Internet. It works roughly this way:

  • Microsoft sells desktop OS software with multiple exploitable server programs turned on by default.
  • They then encourage people to connect this monstrosity to the Internet.
  • Vulnerabilities get exploited, and used to install programs that scan other computers for vulnerable services. As a result, any Internet connected machine will probably get probed by such a program every couple minutes. The usual “time-to-0wnership” given by security researchers is on the order of 15 minutes. Connect to the Internet to download the new service pack? You’ll probably be exploited before it downloads.
  • These programs can usually be instructed to act as a proxy, often for sending spam or performing click-through advertising fraud. In theory, they can be instructed to do anything up to and including melting down most of the Internet as we know it, and are often used to steal credit card numbers, passwords, etc. and host phishing sites, but we’ll keep focused on spam here… of which these infected machines send 70-80%.

It gets even scarier. Windows box running slower than usual? It’s probably infected with multiple such programs doing god-knows-what. Anti-virus programs help some, but the malware authors can trivially evade these by re-encrypting their code, so some currently in-the-wild worms can only be cleaned by a format and reinstall, after which the machine is back to its initial, vulnerable state waiting to get reinfected.

Windows is by far the most problematic OS for this sort of thing, but similar programs target UNIX and MacOS X hosts with insecure PHP scripts (e.g. old versions of WordPress [kick me]) or guessable passwords. Unlike these, though, a networked Windows box should probably be treated as suspect a priori.

So, you’re Microsoft, you’ve unleashed this mess on the Internet, there are a few things you can do to help. For example, you could work with anti-spam efforts, and put your considerable weight behind best practices such as port 25 filtering, mail server rate limiting, etc. that take a huge bite out of spam at the source. You could also use your control of practically every PC user’s desktop to include some educational materials, informing them that the Internet is a very dangerous place, and as a result, they will need to explicitly enable and limit access to any services they wish to run.

Or you could engage in plain old PR, organizing useless conferences every year, appropriating a poorly thought-out fad (e.g. SPF) as your own, and trying to force its adoption so it looks like you’re doing something about spam….

To be fair, Microsoft seems to be somewhat involved with the former, but keeps a very low profile. The big push, PR, and Microsoft name are behind “Sender ID”, a Microsoft-rebranded SPF which will do nothing to combat spam, much less the spam zombies Microsoft helped create.

What a waste. Microsoft is powerful enought that if they had put their muscle behind something that worked instead of this (at best) distraction, we might actually have eradicated most spam by now.

Times have changed, Carl.

Sunday, May 21st, 2006

I’m watching a TiVO’d recording of the Science Channel’s re-broadcast/re-master of Carl Sagan’s old COSMOS series. He’s talking about the human brain, and tossed out an estimate of the amount of information the brain can store as “perhaps a hundred trillion bits.”

With the stereotypical “BILLIONS and BILLIONS” accent, of course; I’m most of the way through the series, and I still can’t get past that…

He proceeded to describe the vastness of such an amount of information in terms of a library of printed books. What an old metaphor. Now, 100 trillion bits is a little over 10 Terabytes, which is … actually not too much these days. Twenty large IDE drives. Google manages hundreds of times more information on commodity hardware. We’ve installed over three times as much at work.

Kind of takes away the sense of wonder, doesn’t it. Maybe when the science channel re-did the special effects, they should have added a few more zeros to the numbers.

Say what?

Monday, April 3rd, 2006

I’ve added a few computer-related links to the blogroll.  The newest (to me) one is honeyblog, a blog all about honeypots, malware detection.  Real fun stuff, in other words.  Reading back a few weeks turns up an interesting post about some software which can detect malware before the AV companies can come up with a signature.  It’s a modified version of the PC emulator qemu which monitors the code it’s running to see if any outside input is executed or passed as arguments to system calls.

Unfortunately, the technique is dubbed “dynamic taint analysis”, making it nearly impossible to read about without giggling.  Grr…

End of an era?

Saturday, April 1st, 2006

I’ve been using an MUA almost as old as I am, for about a third of both of our lives.  I’m speaking of MH, of course.  Predates pine, elm, and if you’ve accidentally typed “mail” at a UNIX prompt and gotten an inscrutable (nice way of saying “unusable”) little program, MH predates that, too.

I finally got fed up with the spottily-supported MH mailbox format (MH supports it well, Procmail works, UW-IMAP only grudgingly and slooowly, and that’s about it for mail programs) and started looking elsewhere.  All the cool kids, including about everyone at work uses mutt, and today I’m joining them.  It’s taking quite a bit of getting used to: MH had its advantages for the way I read mail.  More likely, I had warped the way I read mail to conform with MH.

So here ends my more than 10-year exclusive MH use.  Sniff.  Somehow it wouldn’t work to raise a large monolithic glass in memory of the little gaggle of utilities that is MH.  A bunch of little glasses maybe :-)

[note: this post may be retroactively declared that sort of April 1st post at any point in the future, at the author's sole discretion.]