Thursday 24 December 2009

Skittles Vodka

Cross-posted with I’m glad it burnt

As a poor student, I’m always on the lookout for ways of making cheap alcohol more appealing to the palate. With a house party approaching, and wallets thin as usual, my housemates and myself decided to experiment with Tesco Value Vodka and Skittles. The recipe (as one would imagine) is ridiculously simple – you stick a load of Skittles into the vodka, let them dissolve, and then drink it.

Skittles Vodka Manufacturing

To get the best flavour, we found that there were enough of each colour Skittles in 5 large bags. To begin with, simply separate the Skittles into the different colours (trying not to eat too many!), and drop them into a bottle of vodka (we used the 90cl Tesco Value). Shake vigorously, and then leave overnight to dissolve – the result should look something like this:

Skittles Vodka Manufacturing

Filtering the sediment from the bottom of the bottle is a rather tedious process – made much easier if you have spare bottles and funnels lying around the house. I have it on good authority that a folded piece of kitchen paper makes a good filter, however we splashed out and a used a mixture of coffee filters, and proper chemical filters ‘acquired’ from the university chemistry labs.

Skittles Vodka Manufacturing

The filtering process took us several hours, since each funnel would only hold a small amount of the mixture at a time. It’s important not to rush this stage, as getting sediment into the final drink does not look particularly attractive! That said – the end product will never be completely clear, however it is worth filtering 2 or 3 times until the worst has been removed.

Your Skittles vodka is ready to consume! Be warned – it is very easy to drink this stuff neat without tasting the vodka. Enjoy at your own peril, or mix with lemonade to save on the hangover.

Tuesday 22 December 2009

Windmills

As part of my Software Applications module this year, I have a sub-module called Digital Imaging. Basically, we learned how to use Java3D to model things and then animate them.

The assignment set for this term was to create a wind turbine…

turbine

Above is what I created! Obviously you cannot see here, but the blades move round the appropriate axis, and the entire head of the turbine rotates around the Y-axis when you click on the mast. Pretty impressive – huh?! I didn’t think so either! If, for whatever reason, you do think it’s impressive – you may download the .jar file here. It will need Java3D and possibly some other stuff installed to run.

The main thing I learnt doing this was how much of a pain J3D really is – it’s a completely obsolete extension of Java that doesn’t really have much use, apart from for making simple animations such as this one. I can’t think of anyone who would use Java to make a serious 3D game, the processing power just isn’t there to allow decent use of physics, lighting or anything else essential to make an immersive environment. For example, when I was trying to make the turbine cast a shadow on its environment, I found it wasn’t just as simple as allowing the light source to throw a shadow onto the grass object – oh no – I had to calculate the exact shape that the shadow would be, based on the position of the light relative to the turbine, then draw it manually to the floor. As you can imagine, this would be a huge task – and lets not even get started on running this 40+ times a second to get the moving blades, or even considering the opacity of the shadow in different places, or the fact that multiple light sources exist, or that the turbine would shadow itself in parts…

I’ve used programs before (GameMaker stirs a memory?) that will do all that for you in 2 or 3 lines of code, however in J3D I was looking at separate classes, and 2 or 3 times the existing code I had to make the turbine work. No thanks, I’ll just pretend it was a very bright day!

I’m quite glad I’m rid of J3D now – I’ll be even happier when I’m rid of Java completely. I’d be really happy if I never had to see a wind turbine ever again… but they had to go and drop that into our Software Engineering project as well. More to follow on that…

Sunday 20 December 2009

The never ending list

Or more specifically – the never ending list of things to do that seems to dictate my life more than I do.

Over the last 3 months, I’ve watched said list grow and grow as my department shoved more and more assignment deadlines towards me, and watched the things I really want to do get moved gradually towards the bottom. This term has been a rather bumpy ride in terms of deadlines, assignments and exams – and I’m told it’s downhill from here! I’ll write some follow up posts soon showing off what I’ve achieved in creating recently (I’m actually proud of some of it!).

The happiest moment of my life occurred last week, when said list of ‘essentials’ finally reached zero, when the final assignment had been sent to the abyss that is known as ‘DUO’, and the end of term benchtest was over. I’m told that after spending a night out marking this occasion, I was heard celebrating in my room… Which involves me yelling a lot, before your minds jumped elsewhere!

Anyway – I get home, having promised myself a fortnight to enjoy Christmas before getting stuck down to work, and I find myself unable to even get started on that list of ‘want to do’ items. Congratulations to the CompSci department – they’ve killed my work ethic even for things that I enjoy!

Monday 3 August 2009

Off to Italy…

… back in 3 weeks!

Heading out tomorrow morning (at the airport for 5am :’-[) to fly to Pisa, couple of days getting used to the weather then travelling down the coast to Rome by whatever means possible, hopefully achieving our Explorer Belt!

I’m going to try and keep a diary of what we do each day, then post on here when I get back. However we may end up too lost/drunk/dead to actually bother writing!

Anyway – see you all in 3 weeks!

P.S. Twit2MSN V1.3 now released – should appear in the database some time whilst I’m away!

Wednesday 15 July 2009

Twit2MSN Version 1.3a

I’m pleased to announce that work on the next iteration of Twit2MSN is well under way, with a couple of the major issues already addressed, and hopefully all of the high/critical priority issues being sorted for the final version.

For a preview (alpha status), you can download the appropriate files from http://code.google.com/p/twit2msn/source/browse/#svn/branches/1-3 and then compile into a .plsc file as described in the Messenger+ scripting API.

I’m looking for a dedicated bunch of beta testers – drop me a email if you’re interested!

Tuesday 14 July 2009

What would Baden-Powell say?

http://www.dailymail.co.uk/news/article-1199191/Beer-cross-dressing-racy-dating-games-Scouts-trip-What-Baden-Powell-say.html

This article, headlining on the Daily Mail tomorrow I believe, has particularly annoyed me this evening.

From my experience, this kind of event happens pretty much every night on university campuses up and down the country without making headline news – just because this happened to be an official gathering of Scout Network members makes it wrong? Everyone at the event had to be over 18, all licensing laws were adhered to, no-one started smashing up a kebab shop afterwards. The only damage caused was a few dead brain cells!

I don’t have a particularly strong view on posting such photos on Facebook – but I presume they were posted with some privacy, which the Daily Mail has now breached by publishing them in a national newspaper. Those people did not ask to have their photo plastered on Facebook, nor was permission sought (a grey area), but using these as published material attributing the source to ‘Facebook’ is very very dodgy practice.

A comment from a parent cited in the article also pissed me off

The father of one of the revellers said: 'It's really let their image down so badly, the fact there's a seedy side to scouting. I can't believe HQ didn't put a stop to this whole sorry mess.'

I think that is put into perspective by one of the comments left on the article

Looks like a great party. I never knew Scouts were so "with it!" Where can I join?

18-25 year olds don’t necessarily want to spend every night “gathering round the campfire and singing Ging Gang Goolie” – Scout Network wouldn’t exist if that’s all we did! That said though – the Mail didn’t notice the photos published on the MAD UK website of people – wait for it – gathering around the campfire and singing Ging Gang Goolie!! Do your research!

The best comment so far sums up my argument completely…

They are young people enjoying themselves. What is wrong with that?

I await a response from Gilwell with bated breath – I hope they don’t cower down under media pressure, and instead defend what Scouting is all about – letting us “take acceptable risks and think for themselves” (Official Scout Association description)

Tuesday 30 June 2009

My take on the iPhone 3GS

First of all, this is not a particularly informed review. I do not own one of these devices currently, I’m basing my opinion on third party reviews and Apples’ keynote address on the 3GS.

The one thing that strikes me about this whole launch is the amount of hype Apple are creating about the 3.0 software – but overlapping this with the launch of the 3GS. For instance, things like Spotlight search and the new Messages app feature center-stage on the Apple website promoting the 3GS, but these are available on 3G and even 2G iPhones!! That said, the features 3.0 brought to my phone have been sadly disappointing. The vast increases in SDK capabilities haven’t been taken up by developers at all (may do another post on this some time) for whatever reason, and I’m yet to use Spotlight in a ‘non-test’ capacity. The messages app is all well and good – but when I tried to send a contact to a friend of mine, it came out as rubbish. I know there’s not a standard for such messages across phones, but that sort of invalidates the point of having such capabilities!

Voice control is all well and good, I’ve not seen many reviews of this feature out in the wild, so I can’t really pass judgement on that. The addition of a magnetometer within the 3GS will be a huge feature. I personally try to get out and about doing some Geocaching, and hopefully the Groundspeak iPhone application will be updated to allow use of this compass to make seeking caches even easier with an iPhone.

However, the simple addition of video recording (and increase in camera quality) is just about enough to sell me on the 3GS. I’ve whinged about the quality of the existing camera until I’m blue in the mouth – but still I use it for all my day-to-day shooting! People are much more likely to be carrying a mobile phone than a full camera when they need it most. Apple have pulled some really good moves in this hardware update, and I for one am on the end of the hook – I want it!

Wednesday 20 May 2009

Twit2MSN Version 1.2

I’ve dedicated this evening to getting the new version of my Twitter/MSN integration script working – and I am pleased to announce that it is now out of the door and in the hands of the good people at Messenger+.

The details on the update can be found on the project page, with the changelog, download details, and the source code.

My next project will be doing some more work on the website, adding my own blogging system rather than using Blogger (so I can host comments etc), as well as releasing fbCal into the wild.

Might do some revision as well at some point… would be good if I did pass my first year!

UPDATE: Oops! That'll teach me for seeding out updates at odd hours of the morning! The latest version is now 1.2.1, fixing the bug causing the script to not start the updating process. New script has been sent for approval - hopefully 1.2 will never be released into the database if the update is seen in time!

Sunday 26 April 2009

The Ethics of Scraping

I’ve recently been given a commission to do a piece of coding involving grabbing information from another website and displaying it in a different manner. Obviously I won’t say much more about the brief – don’t want to annoy the customer or expose myself!

The brief got me wondering – how legal is it to grab content from another website? I guessed it was probably another one of the ‘grey areas’ that surround the internets at the moment, however another issue concerned me slightly more… how ethical was it? My script essentially steals information from a website for use in other ways, that the original publisher has no control over. Since the website in question publishes no open API or content feeds for this purpose, surely they mustn’t want this information being scraped from them? The website being scraped is essentially just a collection of many different items, published by their own individual owners. Do they want the information scraped and re-published?

I’ve heard of another case from a friend (again, won’t get into details) whereby a company is keeping a tight fist around its data. This is sort of understandable, but again the website in question is aggregating many different peoples data. Is the website being anti-competitive  by not releasing APIs?

I will sleep better once this script is out of development and off my server – I know I wouldn’t like it if someone else was doing this to my website! However – the customer is always right, and I won’t disappoint!

Tuesday 14 April 2009

To kill a… Fiat Punto?!

Picture the scene, me driving happily up the M6 on Friday evening on my way to the Network Gathering in Windermere this weekend, when all of a sudden – disaster strikes!

*Dun dun dunnnnn*

Warning lights on the dashboard, engine starts to make funny noises, so I pull over into the Lancaster services. And then the car dies. Turn the key: nada. Its deceased… steam pouring from under the bonnet.

Some very kind gentlemen offers to lend me a hand pushing the car (I was blocking the slipway!) when to my embarrassment – the Highway Patrol pull up! Being pushed into a parking spot followed by a jeep with lots of flashing lights on… nice.

Anyway, 40 minutes later the AA pull up, the guy shoves some water into the engine, and off I toddle again. Make it about 2 miles down the road when it happens again! This time he decides its the head gasket that has gone, so off I go again, only this time being towed!

Arrive back in Poynton late on Friday night, and end up abandoning the car in the seediest part of Poynton Industrial Estate because the sodding garage is locked up for the weekend!

Cut to today, car goes into garage, I get told it’ll cost £550 to repaid. Plus the insurance is due up – another £1100. Bye bye all my money for uni for next term!

Tuesday 31 March 2009

Skype for iPhone released

Skype have just launched their official iPhone client in the UK! Woop!

My first reaction was definitely one of ‘wow’ – the interface is slick, and a quick phone call to their ‘test service’ (didn’t want to wake anyone!) revealed the call quality to be excellent, although it seemed that a little part of my test message was dropped.

Only problem I can see with it is the lack of cell network support, I’d really like to be able to make calls on the go without having Wi-Fi nearby. Other ‘nice to have’ would be the use of background processing on the iPhone, but that is Apples’ fault obviously. Maybe push notifications could be used somehow in this app? We shall wait and see…

Sunday 29 March 2009

My new addiction

And they say small things amuse small minds? Never been more true!

Found an absolute gem in the iPhone App store the other day: Flight Control [iTunes link]. Here’s my go at a little review!

The UI is much smoother than I’ve seen on many iPhone games, simplistic menu options and tutorials make this game so easy to dive in to. The basic idea of the game is to guide planes onto a runway (you can probably see why I like it already!), whilst making sure they don’t collide with each other. It’s harder than it sounds!

There are 4 types of aircraft in this version: light aircraft, helicopters, medium and large jets. All of which move at a slightly different speed – the controllers nightmare! I’m sure nothing this drastic would occur in real life though (aircraft landing within split seconds of each other?!), or else I’d only be able to land 66 planes before killing someone!

The use of the touch-and-drag interface on the iPhone coupled with clever use of the on-screen graphics and onboard sound make the game extremely easy to use, it takes mere seconds to get started.

Overall, I’ve no regrets on spending 59p on this app, and I can’t wait to see how it will be expanded on in future releases

P.S. I wanted to include some screenshots, but no matter how hard I try, the iPhone won’t let me take them off the internal memory :-(

Monday 23 March 2009

Published!

Woop! I’ve had one of my projects (Twit2MSN) published by the good people at Messenger Plus! Live :-D

The script can be found at: http://www.msgpluslive.net/scripts/view/520-Twit2MSN

I hope to be able to get version 1.2 done this week, and get that published soon

Saturday 14 March 2009

Last.fm Boffin

http://www.last.fm/group/Audioscrobbler+Beta/forum/30705/_/510180

Been trying out the ‘Boffin’ tool from Last.fm this evening – and I’m astounded!

Basically, it scans your PC for music, groups it by tag, and then lets you play only music with a specific tag. For instance, I’ve had “Trance” selected for a while now, and it just keeps shoving on amazing tunes I didn’t even know I had!

Obviously, its on an Alpha release, but the technology demonstrated behind it is superb. Didn’t take long to scan my entire music library, and did a pretty good job (so far) of getting the tags and grouping them.

Its also nice to see what my music library mainly consists of (hope the picture works!):

boffin

Can’t wait to see this incorporated into the main Last.fm program!

Wednesday 11 March 2009

Invaders must Die

Downloaded the new Prodigy album yesterday, and I’m currently in two minds as to whether I like it or not.

The title track is pretty awesome, and ‘Omen’ is epic (I owned that before), however a lot of the other stuff just isn’t their style, neither old school Prodigy or new-electro Prodigy.

I’d say I do regret buying this one, but its definitely one to get for free (not that I encourage that!)

Tuesday 10 March 2009

Site upgrades

Found time this afternoon to make a couple of quick upgrades to the website :-D

The ‘blog’ link will no longer go straight to blogger, but will instead parse the feed within my own site. I’ve also removed all the nasty characters (I think) that the RSS feed seems to put in, but I’m still having trouble with the actual styling of some posts, apparently ones that come from my phone! I’ve also not quite finished a way of viewing older posts, that should be here soon.

Keep your eyes peeled for more stuff soon!

Busy times

I really should get round to writing here more often!

Spent quite a lot of last night writing up a summative essay for Intro. to Management, a lot of bullshit went into it though! I’m currently procrastinating instead of walking the 40 minute round trip to hand it in. Really can’t be bothered!

48 hour production in college this weekend – and all the PA Committee ‘freshers’ are involved, I’ve just had an email saying I’m doing all the mixing for the band – joy of joys! Should be a fun weekend anyway, can see me being drunk for the majority of it though!

Also been told I’m ringing in another quarter with DUSCR next week, I think I’ve scored more this term than I’d done in the 8 years before uni!

Peace out…

Wednesday 4 February 2009

Half-Fire-Life-Drill

http://news.bbc.co.uk/1/hi/technology/7867861.stm

Found that on the BBC website this morning – looks like a fantastic use of my departments research team! Maybe just an excuse for them to play Source games all day?!!

Basically, the team (headed by Dr Shamus Smith) took the Half-Life engine, added a map representing the CompSci department, and then used it to run a simulation about escaping from a fire in the building. Sounds like a good idea, in theory!

Found this very interesting:

"If a door was on fire, they [gamers] would try and run through it, rather than look for a different exit," said Dr Smith

I’d like to think that I’d go for a different exit anyway… or are all gamers retarded in that way? Hope they wouldn’t try a similar strategy in real life!

Really didn’t like how the university covered this though (http://www.dur.ac.uk/news/newsitem/?itemno=7525). Sure Half-Life is violent, but simulations have been around for ages!

Friday 23 January 2009

FSX gone?

http://www.flightsimx.co.uk/announcements/microsoft-flight-simulator-development-team-axed/

Sad day for the Flight Simulation world :-(

Saturday 17 January 2009

Gambling

http://tinyurl.com/89fhcb

If we’re honest – the one word Obama is guaranteed to say in his speech is ‘change’. Here’s my plan.

Betsson.com are offering odds of 1.03-to-1 on him saying it. Somehow, I manage to get a short term loan for a few thousand pounds. Bet this, pay off the loan straight away, walk away with the 3% (minus loan interest). Betting small amounts wouldn’t be worth it, but £1m equals £30k profit!

Anyone got a spare few million that I can borrow for a week?

Tuesday 13 January 2009

Nuevasync update

Just been released! Provides support for multiple calendars on the phone (so they appear in different colours) and also for read-only ICAL files.

Well, that's just put gCalCloud out of business! I shall be shelving the project tomorrow, but will post the source code for people to have a look at just how crap it was! Hehe

Anyway, cheers Nuevasync, you just saved me a project!

Monday 12 January 2009

iBlogger

As part of my resolution to get using this blog some more, thought I'd invest in iBlogger - a iPhone application that's actually quite professional! It's on sale at the moment, down from £4.99 to £0.59 - well worth it!

Anyway, think it's time I slept!

Sunday 11 January 2009

New website

You are probably viewing this having come from my brand new website – http://www.mattdyson.uni.cc – if not, go there now!

Some people may remember the site from times of old, many years ago when it had a crummy layout, crummy code and crummy content. The content is arguably still crummy, but I think I’ve improved on the other two!

I hope to integrate this blog into the site more (the wonders of XML and PHP :-P) in the near future, rather than running two separate sites, however I will continue to use Blogger as an extremely able blogging platform!

My life

Well, its been a very long time since I posted here! Don’t believe I’ve written anything since I got back from Hungary even… that was a long time ago!

Upon getting back from Hungary, I’d heard from Durham that I’d been accepted into Van Mildert College, which has been my home for the last term. I moved in on October 4th, was consistently drunk for 10 weeks, and then moved back home in mid-December, having learnt not a lot – but having had a bloody good time! You can see why I’ve not had time for blogging!

Hungary was awesome if you were wondering, as was Summer Camp the week after – a good preparation for the ensuing mayhem at university!

I’ll try to post more on here as and when I remember, including some updates from Durham!

P.S. – Happy belated Christmas and New Year!