Archive for January, 2009

Red Dwarf makes a comeback

Posted on January 27th, 2009 in Television | 1 Comment »

21 years after its initial launch, Red Dwarf is going to make a brand new appearance on our televisions once again.

Is this a good thing? Usually these types of projects spawn one of two things – a brilliant show, where it was like it never left us – or a shockingly bad attempt at bringing the show back to life. I am hoping that because it has the complete original cast, it will maintain the silly humour it had originally.

Aptana and RadRails

Posted on January 15th, 2009 in Programming, Ruby on Rails | 1 Comment »

I’ve recently started playing with Aptana and RadRails under Windows, where I encountered a problem where Aptana wasn’t able to install gems, and it popped up the installation window each time I started Aptana. It is logged as a known issue but I wanted it working, so I persevered.

The upshot of it is, I looked at the Rails console within Aptana at what commands were being run. Most of the where, for example:

gem install rails -l

All I did, is take each of the commands run automatically from the console and removed the -l option:

gem install rails

Everything installed perfectly in no time at all, and it’s all now up and running!

Xbox 360 – Media Centre Extender and DivX/Xvid

Posted on January 8th, 2009 in Technology | Comments Off

I recently attempted to get media from my PC playing through my Xbox 360, to use it as a media centre, but quickly found that the Media Centre Extender on Windows Media Centre Edition and Vista, wasn’t allowing me to play DivX or Xvid encoded video clips.

As it turns out, you can’t actually do it through the Media Centre Extender, but you can get them to play through the Videos Share bit instead (a quick update is needed from Xbox Live – it should trigger when you first try to download the player). It’s obviously not as pretty as the Media Centre Extender, but it works perfectly well and that’s the most important thing.

I’m lead to believe that the reason for this is that the Xbox team have put support for playing these codecs in via their dash, but MCE doesn’t use any of this, as it is written by it’s own team as they are completely separate products.

Is it going to get fixed in the future? Apparantly not. Best start saving for a proper media centre pc!

jQuery – Basic Thickbox (lightbox, blackbox)

Posted on January 6th, 2009 in JavaScript, Programming, jQuery | Comments Off

This is a very quick run through on how to get a basic jquery thickbox (blackbox) popup working, containing an image, and is based on the official demo page. The actual thickbox demo page has more advanced options available and full documentation – this is intended for those who don’t wish to know the full ins and outs of the functionality, but just want it working! :)

So let’s get started….

The first thing to do is download the latest version of jquery.

Next grab:

First, make sure the page you are trying to use the Thickbox on, has a valid DTD – it will not function correctly if you don’t. I as a rule, use the Strict DTD.

Next we include the javascript files we have downloaded, and the css file – taking note to replace the path and filenames if you downloaded the compressed versions:

<input type=”radio” name=”payRemainingBalance” value=”true” checked=”checked”/>
<script type=”text/javascript” src=”javascript/jquery.1.6.4.pack.js“></script>
<script type=”text/javascript” src=”javascript/thickbox-compressed.js“></script>
<link rel=”stylesheet” href=”css/thickbox.css” type=”text/css” media=”screen” />

Now that we have those included, we need to quickly edit thickbox.css, and tell it where to find the loadingAnimation.gif that we downloaded earlier. By default it looks for images/loadingAnimation.gif, so if this is where you’ve put it, you can ignore this step.

We should now be good to go, to try your thickbox out – there are a few ways to do this,the most common being from a text or image link, opening up the thickbox to contain an image, so we’ll use that as our example.

Text link:

<a href=”path-to-your/image.jpg” class=”thickbox”>Show Image</a>

Image link:

<a href=”path-to-your/image.jpg” class=”thickbox”><img src=”path-to-your/link-image.jpg” /></a>

The class=”thickbox” is the important bit, so make sure you’ve got that in there!

This should give you a working, (very) basic example of the thickbox. Once you’re happy with that, look at the rest of the examples, and you will find you can use it for various things, not just for showing pictures!

Useless BBC Technology article

Posted on January 1st, 2009 in Rants, Technology | Comments Off

Posted a couple of weeks ago, is this “Shopping online for blind people” article on the BBC News Technology pages. As per usual, the BBC’s technology team have done some excellent research to use in this article.

The first site we see, confuse.com (not to be confused with confused.com – hah), is shown as a price comparison site….. which it blatantly isn’t. It’s an ad site, which has the same standard layout as all other ad sites, and if you click on any of the supposed comparison links, all you see is a page of adverts. Excellent work BBC.