0 comments suggest edit

C64I was fooling around with building a custom stylesheet for formatting RSS items within RSS Bandit and I created one that tries to emulate the Commodore 64 look and feel. While it is possible to download the exact font used by the 64, I chose not to require a font download and instead chose Terminal. It is close enough and exists on most machines. If you want this style for yourself, download the template here and save it to the following directory (assuming a default installation):

C:\Program Files\RssBandit\templates

If you’re designing your own templates, I have a little tip for you.

  • Grab the XML for an RSS from your cache located at C:\Documents and Settings\PHaack\Application Data\RssBandit\Cache on my computer.
  • Drop it in your templates directory.
  • Open it up in a text editor (such as Notepad) and add the following line just underneath the XML declaration
  • <?xml:stylesheet type="text/xsl" href="PathToYourFormatter.xslt"?>

    Now when you open the XML file in Internet Explorer, it automatically applies the stylesheet to the XML allowing you to quickly test changes to your formatter stylesheet. Note that this will not work if you are using the AppStartupPath or AppUserDataPath variables as these will not be in context.

0 comments suggest edit

XEarth For you grizzled Unix hacks out there, this might be old news, but I just learned of a really neat tool that I’m sure will appeal to the geophysicist in each of us (or at least Erik).

XEarth for Windows is a neat little application that acts as your desktop image. It displays either a globe, or a flattened representation of earth with the areas that are currently bathed in sunlight lit up, while the areas that are in the midst night are darkened. Not only that, any earthquake of magnitude 4.0 or above is also displayed as a yellow circle. The larger the circle, the larger the earthquake. Check it out.

UPDATE: Los Angeles doesn’t exist in the list of cities - its location is 33.56, -118.24 and you can add that manually.

0 comments suggest edit

TweekendPulled this classic CD out of the crate for a little funky listening today. It starts off with a robotic funky track in “PHD” and progresses through some ragin’ rock in “Name of the Game” before settling down into a lush soundscape with “Blowout”, my favorite track on the CD.

Though it lacks the commercial appeal of their earlier hit “Vegas”, I tend to favor Tweekend probably because of its lack of overexposure.

0 comments suggest edit

A friend of mine told me about a deal his company is working on in which an dot com internet company which was valued at around a couple million dollars a few years ago has now reached an agreement to be sold for a couple hundred million. He’s not at liberty to discuss which company (so we can buy up its stock), but the company does not deal with rocket science.

It got me thinking that it’s time I start throwing ideas around with some of my brightest friends and come up with a business idea that will be easy to implement, and if not make us millionaires, provide us with a steady income and nice place to work. Here’s what we came up with…

business plan

0 comments suggest edit

Soccer Ball I once scored even faster than this… oh wait, we’re talking soccer here.

This must have been a nice shot off the kickoff. In college we once had a friendly scrimmage with the women’s team. To help even things up, our coach (who played professionally) played on the women’s side. In order to humble our loudmouth goalie during after we had scored, took a tap off the kickoff and sailed it into the net over his head. I didn’t time it, but I imagine it was close to 2.5 seconds.

AP - An amateur soccer player who scored 2 1/2 seconds into a game earlier this month was credited with the world’s fastest goal by the England Football Association on Tuesday.

[Via Yahoo! News - Oddly Enough]

0 comments suggest edit

Back in the day, amidst all the stupidity prevalent on the web, there was one site that dared to raise the banner and take the stupidity one step higher. That site was, my friends, lostyouth.com.

LostYouth is now defunct due to a corporate scandal involving its founder who cooked the books like a ragin’ cajun and squandered the money snorting blow of the backs of midget strippers.

However, rising from the ashes like a city in Arizona, lost youth is back! (Though now it is hosted at a free hosting site. This makes sense if you were paying attention because the guy squandered all his money.) Ladies and Gentlemen, I present to you, the return of LostYouth.

0 comments suggest edit

“Unfortunately, the regular expression language is no different from any other in that it has various dialects and accents” – Masting Regular Expressions, Jeffrey E. F. Friedl

So I know this is basically the geek equivalent to those cheesy email surveys that go around asking you to answer a bunch of questions about yourself and then send the questionnaire and your answers to all your friends, but I have to participate anyways. I found this meme going in a blog entry that asks you to do the following:

Grab the nearest book. Open the book to page 23. Find the fifth sentence. Post the text of the sentence in your journal along with these instructions.

So there you go. I admit, I don’t have every arcane rule of regular expressions in my head. I often refer to the \^(1+)$ times a day. It is truly the [A-Za-z] of regular expressions.

code 0 comments suggest edit

In an earlier blog entry, I asked the question if it made sense to add code in a debug version of the TimedLock class (written by Ian Griffiths in this post and commented on by Eric Gunnerson in this post) to store the stack trace when acquiring a lock on an object so that if another thread blocks an attempt to acquire a TimedLock, we can discover the StackTrace of the blocking thread.

Well I stopped asking questions and started writing answers. I update the TimedLock class with stack trace tracking and also wrote an NUnit test that demonstrates the fact that we can identify the stack trace. Check out the source code in the TimedLock repository.

Please keep in mind, this is meant to be a DEBUG version. In order to store the stack trace, I place it and the object being locked into a static hash table. In doing so, I acquire a lock on the hash table which can hinder overall concurrency as it is a static member. Hopefully, this will still be useful for tracking a pesky deadlock issue. I haven’t done any serious analysis or testing yet, so I welcome your comments if I’m way off base.

0 comments suggest edit

I’ve spent the last 3 days trying to get an installation of Windows Server 2003 Enterprise edition onto a Virtual PC machine. I couldn’t understand why it took so long until I realized I had accidentally selected the ISO image for the checked debug version. Arggggg!!! How stupid is that!?

Thankfully, the normal release version is installing much faster.

0 comments suggest edit

Code Complete 2Code Complete by Steve McConnell was the first programming book that had me glued to its pages as one would read a page turner thrilling novel. I couldn’t put it down. I still have several scars from the many obstacles I would walk into as I read the book and attempted to carry on my normal business. It’s that good!

Simply, Code Complete is the Bible of code construction, i.e. the craft of writing code. Now on the horizon, Code Complete 2 is on pre-sale at Amazon. I can’t wait to get my hands on this.

0 comments suggest edit

Tyson the skateboarding
bulldog You’ve got to see this to believe it.

Tyson the skateboarding bulldog lays down some gnarly moves on the asphalt on his little skateboard.

And we had so much trouble teaching Ozzie (our dog in Alaska) how to take care of his business in the yard, and this dog is about to pull some ollies.

0 comments suggest edit

In a previous post I mentioned that I bought an LCD monitor from some unknow Yahoo store. Well I recieved it yesterday and I can’t tell you how happy I am with it. I’ve never seen such a nice, well built, sharp LCD. It took my eyes a few minutes to adjust as I think they’ve grown accustomed to blurry text. In any case, the store sells it for $399.00 (includes shipping) which is a steal. Here’s the URL http://store.yahoo.com/3btech/deulbysa17fl.html

I liked it so much, I am going to purchase another one. However, I need a graphics card (not too expensive) that supports a dual monitor set up. Any suggestions? Something around the $120 range.

0 comments suggest edit

I’m not one to act like an elitist snob and make fun of stupid people. Ok, who am I kidding. I do like to make fun of stupid people. Especially those with no sense of humor. Wired News has this great article about how many people take The Onion as serious news.

For those of you who have never read The Onion, it is a satire site with deadpan news articles that are quite humorous. Apparently however, the satire is lost on people. For example, there’s the Chinese reporter, a paragon of journalistic integrity, who plagiarized a news article on the Onion. Then there’s the many groups who held prayer vigils after reading an Onion story concerning a Chinese woman who gave birth to septuplets and has one week to choose one to keep and throw the rest off a mountan top.

0 comments suggest edit

DISCLAIMER: When I say Player’s handbook, I’m not talking about a “Playa’s Handbook”. The book I am referencing is absolutely the WRONG thing to read if you want to pick up chicks. I’m already married, so I can bring this stuff out.

So after a long three day weekend of moving, I decided that I needed to geek out to the Dungeons and Dragons Player’s Handbook 3rd edition that I borrowed from Micah. I played the second edition rules when I was a kid and have a lot of nostalgia associated with the game. I thought it would be fun to take a look at the new rules.

So far, the theme appears to be simplification. I like the fact that they’ve simplified the experience point table. Now, instead of each class having a separate table for advancement, everyone uses the same table. Multiclassing is simplified as well. I always thought that certain rules were overly complex. On one hand, that is fun in the “ooh, I like secrets” sort of way. But on the other hand, it led to too many “what fucking die do I roll!?” moments.