Mostly about my amusement

Month: August 2007 (page 2 of 2)

When SCO has to shoot, shoot don’t talk

SCO should have done more shooting and less talking.

I can’t wait to read SCO’s official response to them not being the owner of the UNIX copyrights.

If SCO had gone after IBM in a reasonable fashion and with actual proof (as opposed to just whining about what their selective experts claimed) then they may have come out ahead. Instead they tried to extort a really huge user base and alienated what could have been their customers.

Their claims were just silly. I am sure that SCO can now buy up some electric typewriter company and try to sell licenses for the QWERTY keyboard. Assuming they have any money left after this.

Installed Vista 64 bit

After failing to get my copy of Vista to recognized my nvidia SATA striped drives, I configured them into two separate drives which was recognized. Instead of one 300 GB drive I have two 150 GB drives.  The Vista DVD recognized the drives now.

Sigh. Since I had to do a fresh install I put on the 64 bit version. The most fun came when I tried to activate Vista online. After activating it twice the online system will refuse to activate the software. You have to use the toll free number and recite the codes into the phone. I’m not sure how pissing off a legitimate customer works for Microsoft but hey, if they do anything else the the pirates will win. Or something like that.

The 64 bit version of Vista runs well. I’m going to bump up the RAM from 2 GB to 4 GB to see if there is a real performance increase.

Stupid Vista Tricks

I attempted to update the drivers for my XPS 700 using the Nvidia nforce web site drivers. After a few reboots, the BAD thing happened. I lost all the data on my workstation and I am not able to re-install Vista.

Ubuntu works well off the Live CD but that’s about it. I’m using vLite 1.0 to build a new Vista install DVD but so far what I have created is not working.


Adding numbers to post titles in WordPress

In the WordPress support forum (very serious neener neener neener ;-P ) I had seen a request to add numbers to each post title. Giving it some thought and testing here is one way it can be done.

In the index.php file for your theme, before the loop (I put it right after get_header line) add the following code:

<?php if ( $paged < 2 ) {
$my_paged = 0;
} else {
$my_paged = ($paged - 1) * get_option('posts_per_page');
$count = 1;

Now inside the loop in the same file put this php code where ever you want the number to appear.

<?php echo $my_paged + $count . ". "; ?>

A good place is right after the <h2> in the default theme, so this line

<h2><a href="<?php the_pemalink() ?>...


<h2><?php echo $my_paged + $count . ". "; ?><a href="<?php the_pemalink() ?> ...

The count variable needs to be incremented for each post. Before the end of the loop put this line in

<?php $count = $count + 1; ?>

On the default theme this should go right above the <?php endwhile; ?>. This will produce a number with a period and a space before the title.

Since it is before the <a> tag it will not be part of the link to the post.