Need my own laptop

I really need my own laptop now, as Kay may well kill me if I keep on stealing hers.

I’m trying to wait just a couple more weeks before buying one, in case Apple release something pretty at their October 14th press event. If they disappoint again then it’s probably going to be the Packard Bell 12″ BG45-U-300 netbook.

Posted in Uncategorized | Leave a comment

Moodle Heritage Block

As part of our integration project at work I’ve created a Moodle block that integrates with the Heritage library management system. It parses an XML feed outputted by Heritage and obtains a list of current loans, along with their due dates and media type.

If this kinda think floats your boat you can download it here.

Posted in E-learning, Geekitude, Uncategorized | Tagged , | Leave a comment

It’s the middle of July…

…and I have the fire on.

Global warming, my arse.

Posted in Uncategorized | Leave a comment

Git -> Mercurial

Right, forget Git. I’m in love with Mercurial right now (so much nicer!).

Posted in Geekitude | Tagged , | Leave a comment

Dell XPS M1330 – object of desire

I’ve been wanting a new laptop for a while now, ever since my last one (a Samsung Q25) spat out smoke and started melting any power adapter connected to it. Up until now I’ve always assumed that I’d end up with a Macbook, but today I came across the Dell XPS M1330.

Dear lordie, this is one sexy laptop. Only 13″ across (helloooo? Metric?) it’s mega-portable, but has got enough power to play modern 3D games, thanks to a dedicated graphics card, dual core processor and oodles of memory. Plus, it comes in pink and is sold with Ubuntu pre-installed!

I need it so badly.

Posted in Geekitude | Tagged , , | 1 Comment

CMS Made Simple

Getting annoyed at the CMSMS developers. Their attitude is turning increasingly unfriendly and the lead developer, who is a throughly nice guy, is never to be seen.

Good job my workplace is thinking of outsourcing our CMSMS-powered website. (Am I annoyed at this outsourcing? Nope, as it leaves me all the more time to play with Moodle & Mahara!)

Posted in Moodle, webby | Tagged , , | Leave a comment

Mega Moodle Meet

Yays:

  • Lovely venue (Birmingham Thinktank)
  • Very, very nice food (mmm, cream cheese bagels)
  • Lots of people like my idea of a Moodle technical event
  • Presentation from ULCC – use of Mahara and systems integration
  • Free memory sticks (if it’s free, it’s good)
  • All the normal lovely people, plus a few new faces

Nays:

  • To be honest, a lot of what we’ve seen before
  • Lights with a life of their own
  • Sparkling water disguised as normal water
  • Public transport is so fucking bad it makes my teeth grind. I am never getting the train anywhere again.
  • Jim Judges is leaving as RSC-WM compere organiser.
Posted in Moodle | Tagged , , | Leave a comment

The fuckwit’s guide to Git

I’ve just spent a day learning about GIt – we’re starting on a big project over the summer with additional developers and we’ll need a source control system. It’s been a bit of a steep learning curve as I’ve had to learn about versioning systems from scratch as well and now my brain needs to download.

So here is the fuckwits guide to starting a git-based project.

First of all, install Git. On Ubuntu that’ll be:

sudo apt-get install git-core

I don’t care what it is on other systems, as I don’t use them. Go figure it out yourself.

If you’re in an organisation then you’ll probably want a central repository. Choose the machine the repo will live on, install git-core, create a new user to own your repo (I’ve just called it “git”) and create a directory for you new project to live in (I just create a folder in the git user’s home dir).

sudo adduser git

su git

cd ~/

mkdir projecthome

cd projecthome

You’ll now need to make this folder into a git project:

git init

Fucking chavs are even in SCMs now (“give me yer money, init!?”).

Create a file, just to test things.

touch index.php

You’ll now need to tell git that you’re thinking of commiting this file to the repo.

git add index.php

or to add everything in the dir:

git add .

Once you’ve added any files you’ll need to commit them. This is the big deal and what Git is all about:

git commit -m "This is the first commit of the project"

The message is very important, as it tells other people what you did in this commit.

To see what you just did, type:

git log

Woo, you now have a project. You may now do a small dance.

Now switch to the machine where you will actually do your work on. You’ll need to make a copy of the repo on your repo server (make sure git-core is installed):

git clone git@<yourserveraddress>:/home/git/projecthome/

You’ll see some gumph appear and hopefully if you do an “ls” you’ll see:

index.php

Nice! You’ve got a working copy from a remote repo.

Now, try adding a new file here:

touch another.php

You’ll need to tell Git you want to add this file to your local repo:

git add another.php

And now we’ll commit it to the local repo:

git commit -m "I've just added another file"

And check out the log to see what has been done:

git log

Now, at this point you’ve committed your changes to your local copy (remember the clone?) of the project repo. Nothing wrong with that – you’ve got content versioning going on and can do all kinds of fancy things. However, none of your coworkers can see the changes you’ve made. Not much use really. Therefore you’ll push those changes back to the central repo, with, erm:

git push

Woo! Now everyone else can access the changes you’ve made.

If one of your co-workers makes a change on their copy of the repo and pushes it back to the central repo you’ll need to pull it back down. It’s just as obvious a command again:

git pull

Any changes they’ve made will show up in your directory.

I’m going to brain dump some more here later on. For now I’m off to figure out branching and merging…

Posted in Geekitude | Tagged , | Leave a comment

Git…

The SCM that is very definitely written by nerds. Probably the type who put people down with “RTFM” and get frustrated with people who don’t know the OSI seven layer model.

I will get “git push” working…

Posted in Geekitude | Tagged | Leave a comment

George Carlin

The filthy old bastard is dead:-(

Posted in Uncategorized | Tagged , | Leave a comment