Archive

Archive for March, 2008

Mating Season

March 30th, 2008

Went out to this store this afternoon to pick up daughter's graduation present. As things ended up, a new 1.83 GHz Intel Mac Mini managed to tag on the ride back home.

After some futzing with a fire wire cable, and hitting the “migrate from my old mac” bit during setup, I ended up with pretty much everything I had before, except faster. The new mac setup was probably the single easiest computer migration that I've ever had in my life. All my links, programs, tweaks, and everything in between has ended up on the new box with no observed issues. I think the most strenuous thing I ended up doing was pointing the new mac to the wireless network- since wireless is built-in now.

Since I just run benchmarks with FileScanner on the old mac just last night, I decided to give things a shot on the new computer to see where things were at. According to things, the scan took a hair under 5 minutes to complete against around 18,000 files.


real 4m57.133s
user 0m39.023s
sys 0m30.061s

sqlite> select count(*) from system;
18676

So, according to my guesstimates,

Old Computer:
20063 entries / 1274 seconds == 15.74 entries made per second.

New Computer:
18676 entries / 297 seconds == 62.88 entries made per second.

So, I think I ended up pretty much quadrupled my script performance overnight.

Yeah, I think it's a keeper.

Cheers,

tom

admin Technology

File Scanner has been released!

March 30th, 2008

It's been a pretty long time since I've messed with Python, so I decided to pull out the old books and give it a shot.

So, after a few hours I ended up with File Scanner. From the script…

Read more…

admin Code

StoryVote Has Been Released!

March 23rd, 2008

I've been a huge fan of Fark for years now and have been a totalfarker for a while as well. Good stories, funny photoshop contests, it's just a great place to visit.

Probably the bit I enjoy the most is the story headlines. They have a yearly headline vote for the best, but there's still so many headlines throughout the year that probably get missed in the interim its silly.

I coded StoryVote over the past couple of days. It's a headline voting mechanism with the following features:

* Checks Fark.com for new stories and puts them into the database once it validates there's not a dupe hiding in there somewhere
* Keeps track of IP addresses and items voted on. If you vote too many times for a story, or vote a whole bunch, it will ask you to go get another hobby

It was the first time I've ever used Magpie RSS and it was really enjoyable. It was great to not have to re-invent the wheel by writing my own RSS parser.

Let me know what you think. I plan on releasing the source once I re-write the MySQL stuff to stop any chance of sql injections.

Cheers,

tom

admin Code

It’s 2330

March 7th, 2008

And they woke me up out of a dead sleep to unlock the data center to let some guy out who forgot his badge.

What?

tom

admin Muddling About

So, I started thinking…

March 6th, 2008

A hundred years ago, when I was a kid, I imagined myself my very own robot friend. This critter would do things for me like keep me on time to the next exciting adventure, remind me of relevant bits of minutiae concerning what makes the perfect throwing rock, as well as every page of every book that I ever read and could even make cross links between topics so that everything was always exciting and new and mattered to me.

Read more…

admin Muddling About, Technology


Visit Think Atheist

Visit The KCHost Radio Network - KCHRN