Plan to Kill Spam
Posted in General
Afternoon watch, 7 bells (3:37 pm)

I have a perfect plan to get rid of most spam:

Ignore anything that originates/passes through any of the following domains: rr.com, comcast.net, attbi.com, charter.com, *verizon.*—that's not all of them, but it's a good start.

Flat out refuse mail that comes from host mailers that don't have reverse-resolving IP addresses, or claim to be from one host while the resolution shows it plainly to be from another.

Last of all, if none of this works, just don't open your email client. Blow up your mailbox with a dry ice bomb, nail your door shut, board up your windows, and live a quiet life with your cats. You do have cats, don't you?

Leave a Comment »
Chat with old friends
Posted in General
Afternoon watch, 5 bells (2:59 pm)

Today I got to chat (over MSN Messenger) with an old mission companion, KH. He's in Southern California with his family, although he's a native of Taiwan. I'm glad to be in touch with a few people even though I've been home for almost 10 years now. He told me to "jia you" (Chinese for get moving, or literally "add oil") and get married.

Leave a Comment »
A Nice Visit
Posted in General
Forenoon watch, 6 bells (11:00 am)

Last night I drove over to the inn and visited L's parents. I haven't stopped by since she went out of town, so I didn't want to look like she is the only reason I go over there (although she basically is). We chatted for a while and watched some TV, and I fixed their computer up (IE was crashing). I had a very nice visit with them.

Leave a Comment »
Time Calculator
Afternoon watch, 7 bells (3:44 pm)

For several months, a few people around the office know about my "time calculator", a small command-line program I wrote to calculate the difference between times. I wrote it to help calculate my weekly time sheets before I handed them in to the accountant. It allowed for an optional lunch, and would just output the number of hours and minutes you worked (as long as you input the time correctly).

I rewrote it using gtk+ for the graphical interface, and it's pretty cool now. You can see a screenshot here (courtesy of The Gimp).

Leave a Comment »
Welcome to Kindergarten, Stupid
Posted in General
Afternoon watch, 1 bell (12:43 pm)

I feel stupid about having to do this, but today I had to write on my diet pepsi when I put it in the fridge at the office because someone drank my other one. It now says "NOT YOURS" in big black letters. Hopefully someone will get the message. I'm tempted to walk around and find where my other one went.

Leave a Comment »
Comments are off
Posted in General
Forenoon watch, 3 bells (9:56 am)

I'm not sure why the comments aren't showing up lately, I'll try to find the reason. I do get an email about them, they just aren't showing up.

Leave a Comment »
A Blog Test
Posted in General
Forenoon watch, 3 bells (9:55 am)

This is a blog functionality test.
Read the rest of this entry »

Leave a Comment »
Lonely Topic
Forenoon watch, 3 bells (9:52 am)

Well this topic hasn't had any posts for a while, so I thought I'd fill it in a bit. MP and I are still weightlifting and playing racquetball. Yesterday we were a bit short on time, so we only did 2 sets of bench presses (160 lbs) and only played one game of racquetball (I won). But we had some long volleys, one of the longest we'd ever done if I remember right. It took us 30 minutes to play just the one game. Our typical games are 15-20 minutes nowadays.

Leave a Comment »
Why Windows Isn’t My Friend
Forenoon watch, 3 bells (9:48 am)

I had to update a subdomain on 3 DNS servers that I run. Apparently the retarded monkeys that outsource this subdomain decided that they needed to change the IP address of our site, without informing me. Then they have the gall to ask if I know how to create DNS records! Like I haven't been doing it for this very site for six months now! (Not to mention running 3 DNS servers for the past 3 or 4 years)

Anyway, our VP of Sales still thought things were broken because his browser (Yes, we love MSIE...) wasn't going to the correct site even after updating the DNS records. Thank goodness someone at MS figured we'd need a way to manually flush all cached DNS information. They buried it in the ipconfig tool:

ipconfig /flushdns

And there you go.

Leave a Comment »
Stop the Insanity
Afternoon watch, 5 bells (2:46 pm)

Some people just shouldn't be allowed to breed.

Leave a Comment »
What I love about sed
Forenoon watch, 3 bells (9:46 am)

sed has saved me so much time over the past few years, I just love it. For example:

#!/bin/bash

cat $1 | sed 's!,\([0-9][0-9]/[0-9][0-9]/200[34]\),!,"\1",!g' | \
sed 's/,\([0-9]*\),/,"\1",/g' | \
sed 's/,,/,"",/g' | sed 's/,,/,"",/g' | \
sed 's/,$/,""/g' | \
sed 's/"\([0-9]\{4\}\)"/"0\1"/g' > $1.txt

That shell script fixes CSV files sent to us by one of our software dealers. The files come in and won't import into our CRM software because it's really picky about what type of CSV (either always quoted or never quoted, no mixing; no newlines inside records, etc). So instead of fixing them all by hand, I just run them through that series of sed commands and voila!, it works.

sed is beautiful.

Leave a Comment »
Back in Town
Posted in General
Forenoon watch, 1 bell (8:37 am)

Well I'm back in town now, got back yesterday evening. My grandfather doesn't want to see the doctor (he had an appointment with the heart specialist yesterday), and in his words he just doesn't want to know. He also doesn't believe he needed the quadruple bypass surgery he had a few years ago. I understand if he doesn't want to get another big operation, but heck, if it's something simple and can be fixed with medication and will lengthen your life, why not at least get the tests done and find out? You don't know unless you go...

Leave a Comment »
Sister Chasing
Posted in Dreams
Morning watch, 6 bells (7:27 am)

I woke up this morning right at the end of a strange dream. I was meeting my sister Betsy at a warehouse, with lots of plastic sheets hanging down like it was a meat-packing plant, or it was going to be painted. I was in a hooded jacket, and scared her, and she started running away from me. I laughed at her and chased her around, and she couldn't get away from me. She was getting scared and I said "Don't worry Betsy I'm not going to hurt you" but she just kept running until I told her I was her brother. Then she stopped, looked at me, we laughed and then walked away together and I woke up.

Leave a Comment »
DIY Pope
Morning watch, 6 bells (7:24 am)

The Do-it-yourself Pope is crazy cool.

Leave a Comment »
Bad News
Posted in General
Afternoon watch, 4 bells (2:00 pm)

My mom called today to say her dad isn't doing too well, so I'll be flying down Thursday afternoon to help out. I'll be gone from Thursday to Monday. I'll be in Portland, but reachable by cell phone (if any of you viewers have the number).

If not, send me a message via my BogoMail system.

Leave a Comment »