Sean’s Obsessions

Sean Walberg’s blog

Quick Reference Cards

I love these reference cards. A double sided page, three columns, with just the essentials for quick reference.

Most of these are from Refcards.com

Not sure if it helps you, but print with double sided, landscape, and flip on short edge, or the pages will run in opposite directions.

Updated: Found some more reference cards, including vi, php4, bash, regexp, and linux stuff. Also some duplication with the link above.

Snapshots and LVM

I’ve been looking for some instructions on how to do snapshots on my machine. I did some research a while ago, and found several partial explanations, some of them contradictory.

http://arstechnica.com/columns/linux/linux-20041013.ars

goes through the whole process. He’s using XFS as the file system, so there is an extra step to freeze it. I suppose with ext2 you could remout as RO, but I thought the whole point of snapshots was to do this stuff hot!

Snapshots are a way to freeze your hard drive at a moment in time, usually for backup purposes. You basically end up with a read-only version of your hard drive on a separate device that you can back up, while the original version can tinker along.

SpamAssassin 3.0.0 + SURBL Rock!

A friend suggested I try out the SURBL, a DNS based blacklist of URLs that appear in spam messages. The theory is that most spam is trying to pitch something via a website, so if you keep track of the websites, you’ll have a good idea if the message is spam by checking the urls in the message.

Checking their web page, there were two methods of installing it, the easiest being to use SpamAssassin 3.0.0. Lazy as I am, I upgraded:

# cpan
...
cpan> install Mail::SpamAssassin

I added a couple of lines to my user_prefs file, and all was well. Well, not everything. I had to turn off the auto whitelist I was using before, since it’s on by default and doesn’t seem to like me specifying it. I also had to delete my Bayesian filter files, since the database version seems to have changed.

In the morning, I thought something was wrong with my mail. The only thing “wrong” was that there was no spam! SpamAssassin has always done a good job of separating the good from the bad, but this latest upgrade is a huge jump.

LPI Certification Book

This book just landed on my doorstep, and I can already tell you it’s a great resource if you want to obtain your LPI certification. How? I was one of the technical editors!

It covers both exams necessary for LPI level 1. I really enjoyed the author’s laid back style, plus the breadth of information it covered.

VoIP. It’s Time.

From Slashdot comes The VoIP Insurrection. Well worth a read, especially if you need more convincing that the existing PSTN is past its prime.

Today the CRTC begins public hearings on VoIP. It’s not being televised, but they offer a live stream, albeit in Windows only format.

I look forward to hearing Jeff Pulver’s comments, along with the couple that follow him. Also hearing what the Telecommunications Workers Union has to say might be worth a laugh… If Government can’t ruin a technology, a union might.

Funny Thread From PICLIST

Recently seen on PICLIST:

Author: Dennis Crawley
Date: 2004-09-17 12:56 -500
To: Microcontroller discussion list - Public.
Subject: [EE] Finding a chip…

A week or two ago, a huge lightning strike over Buenos Aires, and one chip
of a telephone switcher just almost disappears. I’ve look for it, but I’ve
failed.
Perhaps somebody is in touch with the manufacturers.
[snip]
The chip have this signs:
TEC-9254
562-300012
(100 pins)

Thank you in advance, for any help.

The first reply:

Author: Engineering Info
Date: 2004-09-17 14:47 -500
To: Microcontroller discussion list - Public.
Subject: Re: [EE] Finding a chip…
Don’t know who TEK is but the 9254 is probally the date code (54th week
of 1992). [snip]

The reply to that:

Author: Olin Lathrop
Date: 2004-09-17 16:08 -500
To: Microcontroller discussion list - Public.
Subject: Re: [EE] Finding a chip…
Engineering Info wrote:
> Don’t know who TEK is but the 9254 is probally the date code (54th
> week of 1992).

ROTFL! That’s got to be one of the dumber comments I’ve seen here recently.

Are you sure it’s not the 92nd week of 1954?

And the reply to that

Author: Engineering Info
Date: 2004-09-17 17:04 -500
To: Microcontroller discussion list - Public.
Subject: Re: [EE] Finding a chip…

FUCK YOU TOO ASSHOLE!!!

(sorry, it just made me laugh)

CRTC RSS Feed

Since the CRTC doesn’t have an RSS feed (and I asked a while ago), I made one myself.

http://ertw.com/~sean/crtc.xml

It updates every morning at 0830 CST. Due to the nature of their site layout, I pull data from their “What’s new today” page, so it’s possible I may miss a day here and there if I can’t reach it and don’t notice.

A Couple of Handy Google Tricks

Dictionary definitions of a word:

define:word

Faster than going to dictionary.com, though not as complete

Search for a string in the URL:

inurl:string

Handy for when you remember part of the url

Specify the file type:

filetype:pdf
(or whatever)
Handy when you want to exclude pdfs (ie -filetype:pdf), or when you’re trying to find something in particular and need to narrow down the search

Metric conversions: rtfm
Great for converting metric and imperial, or basic calculations when you can’t find your calculator and the OS’ calc doesn’t cut it

Furlongs per fortnight
e^2*pi*i