Follow Me On Twitter Facebook LinkedIn Flickr
Surprisingly I'm rather liking the Amazon elastic compute cloud. Running my first VM instance with my new pet Linux distro ubuntu 10.04 ... 2010-08-09
A software development and computer technology blog.

Archive for the ‘Bits N Bytes’ Category

IT Crowd title sequence, register dump during Fedora Core 4 installation (Anaconda)

Finally had a few seconds knocking about to see what the screen near the end of the IT Crowd title credits is all about. Which is weird as I’ve been wondering whether to update my FC9 machines to FC12, hmmm.

But I’m still not changing my RH9 server, for sentimental reasons…

Time for a minor face lift

I was getting bored with the old website colours, so I went for black. Well I like it.

Just catching up on a whole backlog of GeekBrief.TV episodes, so I’m overdosing on new tech, but after loading more wood on a skip and stripping wallpaper it’s a nice chance to geek-out for a bit. I’ll probably listen to the final podcast from LUGRadio in the morning, it’s a real shame they’re packing it all in just a couple of months after I discovered it.

Hmmm… 3 monitors is very tempting, GuildWars on 2 monitors is great apart from having your character (and view) split in half…

Wide Widescreen

Wide Widescreen

Back once again… with the ill behaviour.

I’ve managed to spend a little time on some projects, working on AJAX stuff and a hex map editor mostly of late, the latter using the free download of the Visual Studio C++ 2008 Express Edition. It’s not bad for free, and there’s plenty of freedom to do as you please with a finished application, even for commercial use. I’m still not convinced by the C++/Visual Basic dumbed down hybrid that is C#, it’s too Microsoft specific for my liking, even with Mono bringing .Net to Linux. What’s wrong with C/C++? Nothing, that’s what :)

Drupal has been sucking up a good chunk of my time too, as I’ve been tinkering with a gaming resources website idea. Drupal is pretty good, when you finally discover how things are done, but getting it to work just right is a real art form. It’s probably the same with most CMS software, they can’t make it absolutely configurable to satisfy everyone’s needs. But I’m certainly having more fun with it than I was with Joomla, that just seemed to waste my time. I’m not saying it’s no good for anyone, just that I couldn’t get my head round it.

Linux 98!

After many months since my last upgrade where I planned to re-structure my network, I’ve finally configured the last machine. The rest were done pretty quickly, especially the gateway server (Linux RedHat 9) as there was no way we were going to go without net access. But I had to remove a little memory from this server to beef up another. The other old 450MHz AMD has since been upgraded to a win2k domain server running SQL server 2000 to compete with MySQL on the Linux server, also hoping to try exchange server but like, ewww. Now finally I have my previous 1.33GHz machine dual booting Win98, for all the old games like Quake, Carmageddon, MechWarrior 2, etc. and Linux RedHat 9 as a desktop. I’ve got another drive free on this machine on which I intend to try some different distributions of Linux, probably SuSe, Slackware, Debian, Gentoo, etc. But now I have a good place to develop some stuff on Linux without fear of taking the internet gateway down.

Well, that’s it. I’ve over excited myself with all this talk of servers, I need to go lie down.

Back again

What was I saying about technology and spending more time playing about with setting it up and less time actually using it? Here I am having installed and moved all my previous posts to another piece of blogging software. Well it’s half the fun I suppose, the other half of the fun is inserting a rusty knitting needle through your eye, or something like that.

So, I’m now trying out this WordPress blogging software and I’m pretty impressed, especially with the admin interface. Although the WYSIWYG post editor leaves a lot to be desired and enjoys infuriating me to within an inch of my life. I *need* to display code in my blog and for that I chose Priyadi Iman Nurcahyos ‘Code Auto Escape’, especially since many developers of WordPress code displaying facilities opted to dump their efforts and adopt Priyadi’s plugin instead. But the WYSIWYG editor continued to strip html tags from within the tags of the plugin, so I’m having to use the old style post editor, although there’s nothing to complain about there to be honest.

Considering the popularity and notoriety of Six Apart’s ‘MovableType’ blogging software I was surprised when I saw the features covered by WordPress that MovableType had missed. WordPress covers multiple level categories with a simpe interface, more control over perma links, ability to create static pages as well as posts, extremely simple plugin installation, etc. Well, I am pleased but I guess it is early days yet and if my posting frequency doesn’t pick up I may never realise it’s true power.

Anyway, I’ll finish off my first post on my new blog, with a little bit of code to sort life out…

#include <stdio.h>
#include <string.h>

void swap(char *a, char *b);

int main(int argc, char *argv[])
{
  char c[5];
  int i,j;
  
  sprintf(c, "LIFE");
  
  printf("Sorting '%s' to ",c);
  for (i=0;i<strlen(c)-1;i++)
    for (j=strlen(c)-1;j>i;j--)
      if (c[j-1] > c[j])
        swap(&c[j-1],&c[j]);
  printf("'%s'\n", c);
}

void swap(char *a, char *b)
{
  char c;
  c = *a;
  *a = *b;
  *b = c;
}

Which should give you: Sorting ‘LIFE’ to ‘EFIL’

From this we can deduce that in order to sort out your life you must be backward.