My Writings. My Thoughts.
The Gunslinger
// January 5th, 2012 // 3 Comments » // Reviews
I just finished listening to The Gunslinger, the first book in the Dark Tower series by Stephen King. This series made it onto my potential reading list because of the suggestion of Scott Johnson, a web cartoonist who also has several podcasts which I enjoy (The Instance, Film Sack!) I am currently training for a marathon, so my weekend runs are fairly long (in the multiple hour range) and I decided it would be a good opportunity to listen to some audiobooks. I just picked The Gunslinger from my list because I had the audiobook and it seemed like a good place to start.
So how did I like it? It was really good. You can look it up and read all about it, so I won’t rehash the details of the novel and what it is about. The thing I liked was that it mixed so many different genres. It is a cowboy western with some sorcery/magic mixed in. There is also a “knights of the round table” feel and some modern day sci fi. Throw in some religion (a somewhat blasphemous take on Christianity no less – not my favorite part) and multiple/parallel universe thinking and you have yourself a mixed up jumble of interesting reading (or listening in my case).
Hey Microsoft, Where Are My Keyboard Shortcuts!?
// August 19th, 2011 // No Comments » // Blog Babble
I recently upgraded to Microsoft Office 2010. I really like the way the design team is going on their newer versions. It is really sleek and nice feeling, but I’ve noticed something missing… my keyboard shortcuts! I’m a Linux guy at heart (I install cygwin on every Windows machine I own and/or use) so performing tasks quickly from the keyboard are a part of my computing lifestyle. For instance in Outlook I could always type ALT-T, Y to permanently delete items in my Recycle Bin. Not anymore! The new interfaces are very mouse-centric and while they look good they leave out the ole shortcuts that have become second nature to me.
Wait a minute, you say! You can still use keyboard shortcuts. That’s true. Now to perform the same task in Outlook I can simply type ALT-F, I, T, Y. That just rolls off the tongue (or fingers), doesn’t it? Maybe in the next version I’ll be able to type “P-L-E-A-S-E E-M-P-T-Y M-Y R-E-C-Y-C-L-E B-I-N, Y-E-S I A-M S-U-R-E, T-H-A-N-K Y-O-U”.
Hackety-Hack, Don’t Come Back
// August 15th, 2011 // No Comments » // Blog Babble
Well, this has been a first for me. I was recently hacked on this very blog; or at least it was brought to my attention recently. I suppose it could have taken place a while ago. My hosting provider started sending me notices that my webspace account was generating large amounts of spam mail while I was away on vacation. So naturally by the time I got back home, they had shut down all of my websites. Of course, that was a good thing because they actually researched and found the offending scripts inside a WordPress theme that I had installed. Thus the reason that my blog is somewhat out of sorts now.
So a big thanks goes out to 1&1 Web Hosting for finding the problem and dealing with it in a reasonably quick fashion. Naturally I’ll be scrutinizing my WordPress themes a bit more closely from now on.
Thor – Opening Weekend and T-Shirts
// May 7th, 2011 // No Comments » // Blog Babble, News
This is opening weekend for Thor! Geeks of the world unite in celebrating yet another comic book hero brought to life. And while you’re standing in line for tickets or popcorn, why not show that you’re a true Thor fan with one of these cool T-Shirts from NerdyShirts.com.
Firefox 4 – The First 48 Hours
// March 25th, 2011 // No Comments » // News
The Mozilla team put together this infographic with statistics on the first 48 hours of Mozilla Firefox 4 in the wild (source).
Janitors Gone Wild
// February 11th, 2011 // 1 Comment » // Blog Babble
Don’t put your half drank junk up in my garbage cans!
Windows Vista crcdisk.sys – System Won’t Boot
// July 18th, 2010 // 2 Comments » // Tutorials
I recently had a friend call me in need of computer repair assistance. I’ll save you the many hours of troubleshooting and simply list the fix here.
The Dreaded crcdisk.sys
I found this symptom of the problem by booting into Safe Mode and watching the drivers load. I noticed that it always hung for a long time on the crcdisk.sys file. Well, if you perform a search on Google for “windows vista crcdisk.sys” you will find a plethora of woes from computer users desperately trying to regain the functionality of their PC. There are also a plethora of fixes, advice and this worked for me posts. I tried many of these to no avail.
The Road To Recovery
The laptop I was working on was a Toshiba laptop and it had a system restore disk. Great! Sort of. Restoring the system to factory condition from the disk (after the owner had backed up their data of course) resulted in a system that was broken and still had the problem listed above. Hmmm.
Another operating system perhaps? I installed Windows XP from scratch. Worked great. I installed Windows Vista SP2 from scratch (another disk). Worked great. Re-tried the system restore from Toshiba. No good.
At this point I figured I was just going to install Vista from scratch. So I reinstalled Vista and downloaded the Toshiba drivers from their website. One by one I started installing the drivers. Until I got to the driver for a flash media card reader (front of laptop). Bam! It froze up during the install. So I rolled that change back using Windows System Restore and then continued with all of the other drivers. No problems. I tried the flash media driver one more time just to be sure, and sure enough it failed again. That’s good! Predictability is key in diagnosing computer problems.
Dump A MySQL Database To YAML Using PHP
// July 16th, 2010 // 3 Comments » // Tutorials
The Problem
I was recently working on a project that is built on WordPress / BuddyPress. I built up some content using the CMS features of WordPress in my development server and then I transfered the WordPress content to a beta server using the export/import functionality. That kind of stinks having to do that every time I want to push updates to my beta server. So I looked into using Doctrine to generate data fixtures which I could repeatedly run against the different database. Doctrine supports YAML files, which are extremely easy to edit by hand, so it seemed like a good idea.
So what’s the problem? Well, I didn’t currently have any of my data in YAML files. I didn’t want to had edit them or do some sort of copy and paste madness. So, I wrote a script in PHP to dump my data into a YAML file.
Modify PHP CLI Include Path Dynamically
// July 15th, 2010 // 4 Comments » // Tutorials
I was working with an application platform that I had just downloaded today. I just wanted to check it out and play with it a bit. In the application framework was an executable script that provided some command line utility. I fired up the script and received an error like “PHP Fatal error: require_once(): Failed opening required…”. Of course non of the files from the downloaded archived were in the include path for my system, but I didn’t want to just go adding it to my php.ini file just to play around with it short term. What to do.
Command Line Options
First I wanted to see if there was a command line option that I could pass to PHP to tell it what include_path to use for just this one execution. If you execute the following you’ll see the usage:
php --help
There is no include_path command line option, but there is the -d foo[=bar] option which allows us to modify any of the INI entries by key/value.
Mashable’s iPhone App – Flash What?
// June 28th, 2010 // 1 Comment » // Blog Babble
I just opened up the Mashable app on my iPhone to view an article and received the error below stating, “You need Adobe Flash Player 8 (or above) to view the charts. It is a free and lightweight installation from Adobe.com. Please click on Ok to install the same.” Hey guys… are you aware of the whole Apple / Flash controversy? I’m guessing your iPhone app shouldn’t be prompting me to install Flash.










