Archive for December, 2005

A sed example (with a rev!)

Wednesday, December 14th, 2005

Since I haven’t posted a lot newsworthy lately, how about a little example with sed?

I had a shell script that was spitting out some numbers into a file. I thought, “Hey, it would be nice if I added commas in the right place.” I could have rewritten my shell script in Python [...]

Hacking the jProject

Tuesday, December 13th, 2005

What’s really sad is that I can think of some customers that would do something like hacking the jProject

FactFinder makes screen scraping easy

Friday, December 9th, 2005

I need to do some research in church on average household incomes in different neighborhoods. Luckily the U.S. Census Bureau has all that informaction and they distribute it in the public domain at American FactFinder. Of course, I have a list of ZIP codes to research and I don’t want to do this [...]

Celebrate Christmas a different way

Thursday, December 8th, 2005

Maybe before reading this entry, you should read yesterday’s The Final Word column from USA Today. It sets this entry up better than anything I could write.

It doesn’t take too much experience to know that holiday shopping is a pain. Last year was stressful in our house — money was tight and we [...]

Oracle Instant Client is going to get you

Tuesday, December 6th, 2005

For days, I’ve been working on getting a machine to talk to a new Oracle 10g server and, finally, I’m almost there. I’m using the new Oracle Instant Client, which, instead of installers and CD’s, it’s just a series of zip files. That part is nice.

Oracle says that all you have to do [...]

Introducing geocode_pic.py

Monday, December 5th, 2005

I wrote this script as a response to Hack 10 in the most-excellent Mapping Hacks from O’Reilly. I named it geocode_pic.py and it takes a directory of JPEGs and a GPS tracklog and tries to list out what coordinates each picture was taken at.

It hasn’t been tested extremely well, but it works [...]

“Think ya used enough dynamite there, Butch? “

Saturday, December 3rd, 2005

From Sioux Falls, SD:

The toppling of the Zip Feed tower failed Saturday, turning what was supposed to be a spectacle watched by thousands into a source of amusement for an entire city.

The 202-foot tower, the tallest building in the city and possibly the state, was scheduled to topple at 12:55 p.m. But after a loud [...]

Finding the total size of a group of files

Friday, December 2nd, 2005

To sorta make up for the lack of posts this week, here is a little recipe that will find the total size of the group of files within a shell script. The group of files is, of course, in $files.

let size=0
for f in $files; do

[...]

More Pictures, after much too long

Friday, December 2nd, 2005

This picture update has Leah’s second birthday, her first trip to Chuck E. Cheese’s (with a ton of adults!), some leaf-raking fun, and some hideous floor tile that used to be on our house. I’m currently finishing up putting some new ceremic tile down.

FireFox 1.5

Friday, December 2nd, 2005

In case you don’t follow browser developments, FireFox 1.5 is out. I didn’t do the betas and was waiting for my FireFox 1.0 to tell me to upgrade. I read so many good things about it and then had an hour or so to kill, so I installed it on my Windows machine [...]