Star Trek (2009)

Star Trek
Star Trek (2009)

Someone pinch me, I must be dreaming. Hollywood have finally taken something old, turned it into something new and – somehow – made it utterly freaking awesome at the same time. Star Trek has to be the single best “reboot” (I bloody hate that phrase) of any franchise so far. By a country mile. And then some.

Plot in a nutshell: Imagine a kind of Star Trek: Origins with some lovely tweaks and you’re there. If you don’t know the history of Star Trek, find a spotty person with no friends at a convention. They’ll be happy enough to spend the rest of your life explaining it to you.

What makes it so good? Well, pretty much everything. The story’s well done. The characters are as familiar as they could be… and yet subtly changed just enough so they don’t appear their old, dated selves. The cast are superb – Karl Urban could be DeForest Kelly and Zachary Quinto is the perfect Spock. The dialogue’s awesome – there’s a “phasers to stun”, a couple of “live long and prosper“s and a “dammit Jim, I’m a doctor not a physicist!” Sadly there’s a lack of “She cannatak it” from Scotty, but we’ll forgive them that one. It comes close.

Above all, it’s damn entertaining. The humour level is spot on and the effects are bang up to date without being the focus of the film. What I think I liked most, though, is that we already know the characters. What we’re seeing is the formation of a team that most over-30s have a great knowledge of. Finally we’re seeing exactly how they came together – or one version of it. The plot allows the creative team and the scriptwriters to tinker with previous versions, but they’ve done so subtly.

I will be amazed if they can follow this with a sequel even half as good. I know I’ve thrown a lot of hyperbole your way, but believe me I was grinning like a loon after the first 15 minutes (the opening sequence isn’t exactly humourous). I didn’t even punch crap out of the two idiots next to me who kept repeating bits of the dialogue and pointing out the characters to each other. I must have been immersed.

See it. If you’re a sci-fi fan or Trekker/Trekkie then please just go if you’ve not already got a ticket. If you’re not a fan, go see it anyway. If this doesn’t convert you then nothing will.

Reblog this post [with Zemanta]

Ban everything!

Many used or smashed paintballs on the floor.
Danger - may cause you to go postal

And I thought we were the only over-reactionary country in Europe. After a horrific school shooting in March, the German government has announce it’s going to make it more difficult to obtain a gun. It’s also toying with making home gun safes mandatorily biometric – so you have to open them with your thumbprint and not a key.

OK, I can go with that. If weapons are harder to get hold of through legal means or through theft then nutjobs will find it more difficult to go on a rampage.

However, they’re also planning to ban all laser tag and paintball across the country as well. The ****? That’s about as mad as, say, banning all depictions of swastikas in a vain hope that everyone will forget about Hitler. Oh, wait – they did that as well.

Coming up next, if nobody stops them I’m sure, will be a complete ban on violent computer games. And films. Every re-released DVD in Germany which features a handgun will have digital jiggery-pokery performed on them to change the firearms into radios or something. Mr Spielberg will be minted from the royalties from that idea.

Seriously, it was an awful thing to happen to any community. But does anyone really think that banning paintball will have any effect at all?

Reblog this post [with Zemanta]

Gateshead on the up!

Gateshead FC Logo
Gateshead FC

Huge congratulations to Gateshead FC who have won their playoff final at home this evening and been promoted to the Blue Square Conference Premier! Along with the Newcastle Eagles and Newcastle Blue Star, it’s not been a bad week for Tyneside on the sporting front.

My fingers are crossed that Newcastle United can pull some kind of sympathetic rabbit out of the hat on Monday night…

Reblog this post [with Zemanta]

Waste-of-time site of the day

Conceptis Puzzles
Conceptis Puzzles

OK, I admit I have a lot of spare time at the moment but this site may interest a lot of you – especially those with kids and spare printer ink. Conceptis Puzzles is a free site with loads of logic and classic games on. Layout is good and the varierty of puzzles is excellent. You have the option of printing the games out for play in your own time, or in some cases you can play online. This seems to be being rolled out with some available and some not as yet.

I’m looking forward to seeing more of them available online, and as your progress is saved in your account (free registration and virtually no information to fill in – even the Ts&Cs take up less than a quarter of a page) you can come back to a partially completed puzzle any time. Instructions are well presented with sample videos for some of them as well.

There are, at present, twelve types of puzzle available – five picture and seven number. So if you’re bored of sudoku, have a look and see if there’s a new type that takes your fancy.

I might print out a few of the join-the-dots puzzles for my little cousin. Even they come in three different varieties including multi-coloured ones. A shame they’re not online-enabled as yet (the puzzles and my cousin’s family!).

Reblog this post [with Zemanta]

Step through directories in Linux

Screenshot of a sample Bash session, taken on ...

This is a post mainly to remind myself how to do something that I discovered after a bit of a dig, but it may come in useful for anyone with a repetitive task to do under Linux.

What I had was a flat set of directories, each with a number of files in. What I wanted to do was to go through these and, where the contents were jpegs, archive them into a zip file and erase the jpegs. Then move the resultant zip file up a level into the parent directory and erase the resulting empty one.

I managed to work out a fairly simple solution, although with one failing – it doesn’t take into account directories which didn’t have jpegs in. What I did was move those which contained non-jpegs (there were no mixtures, in this instance – directories were either 100% jpeg or 100% not) into another folder for safe keeping before I ran the routine. This means I could keep the command as simple as possible.

Do note, though, that I specified “rm *.jpg” rather than moving the zip and deleting the directory contents. Just in case I was wrong and a directory had a non-jpeg in it, I specified jpeg deletion. That way, if something else random was in there I could easily see when the directory couldn’t be deleted. If necessary I could then manually edit the resultant zip file and remove the offending item before manually erasing the directory.

Having said that, it wouldn’t have been dangerous to run it as-is without moving them. The command would simply have created archives I didn’t want, failed to have erased the non-existent jpegs, and therefore not have been able to erase the directories in question. “rmdir” cannot erase a non-empty directory without specific qualifiers (-rf, for instance) so the remaining data would have been safe. And I could simply have deleted the unwanted zips. However, as they were often from folders full of large movie files, this would have slowed down the whole process a lot and also have caused possible hard drive capacity issues.

The resultant command was as follows:

for dir in *;do (cd "$dir"; tar -c -z -f "$dir".zip *; rm *.jpg; mv * ..; cd ..; rmdir "$dir"); done

Note that this can also be re-written as a script. Simply line-break it where it makes sense and ditch the semi-colons. Of course, it can also be used as th ebasis for anything else that involves whipping through a flat directory structure.

Before some UNIX guru tells me my solution is inelegant and nasty, I know you’re probably right. But it did what I need and I’m not an expert! By all means, furnish me with something more professional – I’m always happy to learn.

Reblog this post [with Zemanta]