Archive for the ‘Uncategorized’ Category

DRM – When will they give up?

Thursday, March 4th, 2010

Well, it's happened yet again. Ubisoft came up with a grand new copy protection scheme that was going to stop pirates in their tracks. It would be the holy grail that would make it so only paying customers could use the game. If they had an internet connection. Every time ...

Hacker’s Diet – Take 2

Monday, February 15th, 2010

I've tried the Hacker's Diet once before in the past, and did fairly well, but eventually lost motivation and just stopped. But this year, my employer has offered us what amounts to a free gym membership, and I took the extra step of paying for a trainer. So I'm taking ...

New Security Plans

Saturday, November 14th, 2009

Due to repeated problems with hackers on servers at my day job, I've developed a new security plan that I'm going to share in a second. First, a little background, and then I'll list my requirements that I used to develop the plan. First, we have no official system administrator, and ...

Tokenizing a string in php

Tuesday, October 21st, 2008

I decided today to resume development of my BayesSpam plugin for SquirrelMail. My first priority was speeding up the parsing of messages. My first step was a simple one. I was doing this: while (preg_match('/([a-zA-Z][a-zA-Z-_']{0,44})[,."')?!:;/&]{0,5}([ tnr]|$)/',$string,$matches)) { $string = preg_replace('/([a-zA-Z][a-zA-Z-_']{0,44})[,."')?!:;/&]{0,5}([ tnr]|$)/',' ',$string,1); if (isset($matches[1]) && $matches[1] ...

Ripping Audiobooks in iTunes

Thursday, July 24th, 2008

Today, I was going through our CD collection and ripping a bunch of stuff I didn't have into my iTunes library, just to give the computer something to do while I worked. I got to some audiobooks / talks, and wanted to import them as audiobooks, so that iTunes would treat ...