You are currently browsing the Randys Blog blog archives for April, 2007


Success is as ice cold and lonely as the North Pole

North Pole Marathon 2007

If you are looking for something to do next april (2008) then look no further! Try running in the World’s Coolest Marathon at the North Pole. We can meet up with St Nick while we’re there.

Zippy Photos

I’ve officially named my photo album software Zippy Phtos.  I’ve created a Google Code Page for it also.   I’ll be updating it with downloads, general usage information etc.  I’ll also be using its subversion code repository to keep the code archived as well.

Never go to a doctor with dead office plants

Mike showed me two sweet websites that help with RSS feeds.

The first is Feed Rinse. Feed Rinse is a free website that will allow you to setup an RSS feed that filters another RSS feed. This means if you subscribe to an RSS feed that has a bunch of subjects that you don’t care about you can filter them out.

The second is Feed 43. Feed 43 (or Feed For Free) is a free website that allows you to convert any website that doesn’t have an RSS feed into an RSS feed. I haven’t had a chance to play with this yet but it looks like you need to write some sort of script to determine what on the site should be considered an article etc. I’ll post about it again after I play with it for a while.

Why we love The Office

ahhhh Jim and your crazy antics:

YouTube Preview Image

Filesystem Photo Gallery

I’ve been looking for a good filesystem-based Gallery system for a while. I haven’t been able to come up with one that has the features and is as lightweight as I’d like it. Therefor I decided I’d write my own. I implemented the first version in .NET but have since ceased development and decided to move away from IIS/windows and begin using linux/apache and an external host (powweb). I also want the Gallery system to work seamlessly with WordPress and any other PHP based content management system (or blog engine). Therefor I decided to scratch the .NET version and start on a PHP based version.

I started working on my new PHP filesystem based Gallery system last night. It’s intended to be extremely lightweight with no database interaction. It will assume the first image in a directory should be the ‘thumbnail’ for that directory. It will dynamically generate thumbnails for images which do not yet have a thumbnails. This is so that they are only created once.

I’m very surprised at how fast the The system is coming together. I suspect that in a few days I’ll have a working version with most if not all of the features I’m looking for.

The only problem is I have no Idea what to call it. If anyone has any suggestions I’d love to hear them.

As soon as I come up with the name I’ll publish a google code site with all the documentation and downloading goodness.

Flowers

2005 Oscar Winner for Animation, Pixar’s Delivery:

http://video.google.com/videoplay?docid=-979142813772951376

Animation is about creating the illusion of life

Found a fantastic animated music video:

YouTube Preview Image

I think it's trying to communicate…

Apparently I’m the last person on the Net to see this Sony video:

YouTube Preview Image

Widget Trouble

I had some trouble finding examples on how to Widgetize your WordPress Theme. I found plenty of links but all were dead. I figured I’d mirror a how-to guide here to make it easier for people to find out how to make their Theme work with WordPress widgets.

First of all you’ll want to put some code in your sidebar.php file to have a default sidebar as well as a dynamic sidebar when available. to do this use something like the following:

<ul id="sidebar">
    <?php if ( !function_exists('dynamic_sidebar')|| !dynamic_sidebar() ) : ?>
    <li id="about">
        <h2>About</h2>
        <p>This is my blog.</p>
    </li>
    <li id="links">
        <h2>Links</h2>
        <ul>
            <li><a href="http://example.com">Example</a></li>
        </ul>
    </li>
    <?php endif; ?>
</ul>

This will enable your site to use a dynamically generated sidebar. Next we need the ability to implement a dynamic sidebar. To do this simply add the following to your functions.php file:

<?php
if ( function_exists('register_sidebar') )
    register_sidebar();
?>

Provided you have the Widgets plug-in installed and activated, you should now see a ‘Sidebar Widgets’ section under Presentation in the Admin section of your site.

I am not the original author of this tutorial nor am I a contributor in any way to the Widgets plug-in. If you have questions about the plug-in itself, or this method is not working please contact the author or see the plugin website.

I got a good price for my house. Made my landlord mad as hell

update: the video has been removed from youtube. The following is a replacement from metacafe:

http://www.metacafe.com/watch/527593/

hilarious video staring Will Ferrell and his daughter.

YouTube Preview Image