Black Marble Wisdom

DSCF1577.jpg
Steve Spencer and Rob (Boss) Hogg get down to business

We were very lucky enough to have Steve and Rob from Black Marble come over to Hull today to tell us about the business of software development. I think everyone should see talks like those, particularly people who think that creating software solutions is a technical problem. Because it isn’t. It’s pretty much an “everything else” problem with a bit of technology thrown in to make it work. Steve and Rob give about the best exposition of this that I have ever seen. They can talk about the mistakes that developers and managers make because they are candid enough to admit that they have made most of them over their time in business.

The staggering number of software projects that fail in the real world is down to human frailty as much as anything else, and what Steve and Rob do is point out the behaviours to watch for and the strategies that you can use to mitigate the problems.

My only regret about the talk was that we did not have more students there to get the benefit of it. Folks, if you thought about going but didn’t bother in the end, you have seriously missed out. With a bit of luck Rob and Steve will be back again next year, and you can get the benefit then.

Raspberry Pi Introductory Session

DSCF1572-Edit.jpg 
Just as we were getting started.

Tonight Emma-Jane, Simon, Neil and myself did our first “Raspberry Pi” event. Thanks to Emma-Jane’s special trip to the supermarket we even had some actual raspberry pi’s to eat, which was nice.

The event was organised for local schools and colleges who want to find out more about the platform and how it can be used for teaching and fun. Simon showed off the neat way that you can interact with Minecraft from within a Python program and I told my polar bear joke. Again. It was nice to see so many people who were keen to work with this splendid little piece of technology. You can download the slide deck for the presentation from here. If you want to find out more about my Raspberry Pi powered arcade table you can find out here. And yes, it is still “nearly finished”…

We are repeating the whole thing tomorrow, including probably the polar bear joke….

Software War Stories from Black Marble

image

If you’ve ever wondered what software development is really all about then you should come along to our next “Rather Useful Seminar” on Wednesday this week. Robert Hogg and Steve Spencer of Black Marble, a local software company which works closely with the Department and has recruited many of our graduates, are giving a seminar on Wednesday 17 April where they will be sharing their experiences of software engineering in the real world.

Robert and Steve are entertaining speakers and have a great deal of experience of real-world software development and running a software business. The presentation will be at 14:15 in RB-LTA. This is a slightly different time and venue from previous seminars. All are welcome, particularly Year 1 and Year 2 students.

My Lego City Secret

image

I’m working my way through Lego City Undercover on the Wii U and thoroughly enjoying it. I still don’t like the loading times, but I’ve got used to the cranky car handling and I’m now ploughing my way through the missions. With the help of the above text. Yes, I’ve now reached the stage in my life where I’m using a cheat guide for a game which was created for eight year olds to play…

In my defence I’m only using it for when I get really stuck, in fact I’ve asked number one wife to look things up for me, so that I don’t get tempted to “cheat in advance”.

Class Design for Shops

IMG_6213_4_5.jpg

At the moment lots of our students are working on their first year coursework. This year they can make either a game, which I’ve called “Space Killers” or a management system for a record shop, which I’ve called “Vinyl Destination” (turns out that there actually is a shop with that name – which only goes to show that great minds think alike sometimes). By the way, a record is what very old people used to buy music on. They are pressed out of plastic, usually 7 or 12 inches in diameter, easy to scratch and becoming fashionable again, which is nice.

Anyhoo, one of the central design decisions that has to be made is just how to store information about the records that the shop has in stock. We have been discussing this in the lectures, and it is interesting to reflect how the business needs of the customer affect the organisation of their data. Lots of shops have things to sell, but the way that you would hold their stock information varies from one business to another. I’ve broken these down to three broad categories which I’ve called “Art Gallery”, “Car Showroom” and “Supermarket”.

Art Gallery: In an art gallery each item of stock is unique. Or at least it better had be. Turning up with a second copy of the “Mona Lisa” would probably raise one or two eyebrows. Every item in the gallery has properties such as the artist or artists that made it, the date, the description and the price, but this information would be held for each individual piece in stock. To store the data for this application we would design a class, perhaps called “StockItem”, and then create an instance of this class for each of the pieces that is held in stock.

Car Showroom: This situation is slightly different. The showroom will hold a large number of cars, but they will be of particular models. They will hold a large number of “Ford Fiestas”, but each of them will have different trim levels, colours, ages and prices. If we held the data about our cars in the same way as we hold the data in the art gallery we would store a lot of the same data multiple times. Every individual StockItem would hold its own copy of the name, the manufacturer and lots of other information common to all Ford Fiesta models. A better way to design the system might be to have a class, perhaps called “CarModel”, which holds all the information about the type of car (all the “Ford Fiesta” parts) and then have the “CarModel” class hold a list of all “StockItems”. The StockItem class would hold all the information about a particular car, including things like colour, mileage and price. The CarModel class could hold a list of the StockItems of that particular model. For example, if the garage had a red Ford Fiesta and a blue Ford Fiesta there would be a CarModel object for Ford Fiesta which holds a list containing two items, a StockItem for the red one and a StockItem for the blue one.

Supermarket: In the case of a supermarket which is selling cans of beans, all the cans of beans of a particular type are identical. In this case we don’t need to store information about any individual can, instead we just want to know how many we have in stock. So for the supermarket we just need an object that holds a description of the item and also contains a counter that tells the system how many of that item are in stock.

If you are building a system for a customer, it is worth considering which of the three arrangements makes most sense. In terms of Vinyl Destination I reckon that because the you can get records of different quality it is more like a garage or an art gallery. The shop may have several copies of “Abbey Road” by The Beatles, but some will be in pristine condition (and therefore worth more) than others.

Addicted to 3D Printing

IMG_6505.jpg

You know you are an experienced 3D printer when:

  • Strangely shaped bits of coloured plastic from failed print jobs are no longer fascinating to you.
  • Your bedroom carpet is covered in strangely shaped bits of coloured plastic.
  • You can get hold of strands of plastic at 200 degrees centigrade and think "Ooops" rather than dancing round the room holding your hand and swearing.
  • Your hands acquire some funny looking scars and blisters as a result of this.
  • You start to make up tunes inspired by the noises your printer makes when it is working.
  • Whenever something works you instantly try to print out a bigger one. Or a smaller one. Or a red one.
  • You start to like the smell of molten plastic.
  • You feel that you are at the cutting edge of technology, even when your wife asks "What's that meant to be?"
  • You think a little plastic bust of yourself would make an ideal wedding present for someone.
  • You begin to plan your social life around eight hour print jobs.
  • You don't know what PLA stands for, but you know exactly the temperature it melts in your machine. In five different colours.
  • The word "plug" becomes a swear word.
  • People start giving you designs they’d like to have printed out.
  • You start to wonder if there might be a business model in this…..

Free Windows Phone Dev. Training

image

You don’t get much for free these days. Except that sometimes you do. Getting training on things computing is often a horribly expensive business. But now and then you get some astonishing offers. Nokia and Microsoft have teamed up to set up some training days in London which are free to developers with an interest in Windows Phone development. There is one this Saturday, and another on the 11th May. Click on the dates to find our more and register.

I know they are going to be high quality because Andy Wigley is doing the training. If you have coding smarts and a good idea for an app,  but have never written for Windows Phone, then you should go along and get some great insights into mobile development. Tell them I sent you.

Will the real Percy Pig stand up

WP_20130331_001.jpg

It has come to my attention that I’ve made a terrible error. I’ve been writing posts extoling the virtues of Percy Pig sweets, (which I’ve been buying from Sugar Sugar Sweets – three for two on Wednesday) when it turns out that these are really Porky Pig sweets. The real Percy Pig is a trademark of Marks and Spencer as you can see above. I found this out when I bought a pig for number one wife for easter. The chocolate tastes great, but we are having a real problem eating Percy, shorts and all as we don’t like saying things like “I’ll have his leg, looks delicious…”.

We’ve solved this by convincing ourselves that this is actually a model of Percy, who is alive and well and living happily in a sty in Bournemouth. Oh yes he is.

Fun with HDR Photography

DSCF1398_399_400.jpg

I’m getting quite into this HDR photography lark. It doesn’t always result in photographs which are lifelike, see above, but I quite like the effect and anyway, it’s my blog…

This picture was produced by the Photomatix program which you can get from HDRsoft for less than the price of a video game. The only real pain is having to take three copies of each photograph, an underexposed one and an overexposed one which are then combined with the software. If you are into photography and you haven’t had a go at it, then I’d recommend that you give it a whirl. It transforms quite dull scenes into much more interesting ones.

TechEd 2013 here I come

image

I was very pleased to find out a little while back that I’ve been invited to deliver a couple of sessions at TechEd USA in June. I’m doing two sessions on Windows Phone 8, one about using background agents and the other about adding speech to Windows Phone 8 applications. I’m really looking forward to going out to New Orleans and taking to the stage. It was even nicer to find that my old partner in crime, Andy Wigley, is also giving some sessions on phone development. It looks like it is going to be great conference. And I hear it can be quite warm out there. I might even pack my shorts…..

Gadget Show Live 2013

DSCF1504.jpg

Went off the the Gadget Show Live today. This is our final trip out of the holidays, and has been much anticipated. We last went in 2010 (scared to find that this was actually three years ago). This time we actually made it to the live show, which was great, family friendly, fun. Including audience controlled video gaming, as shown above. There were lots of things on show (although there were fewer 3D TVs on display this time – funny that…) Anyhoo, I took pictures of the bits and bobs that took my fancy.

DSCF1473.jpg

These robots are great. Just don’t ask the price.

DSCF1497.jpg

These are a bit smaller and simpler, but no less interesting. They move around as a swarm. I’m very tempted to write some XNA that does what they do in software, although the hardware ones are a lot more fun.

DSCF1485.jpg

There were lots of 3D printers around the place. This one looks nice enough, but I prefer Una.

DSCF1479.jpg

What a pity none of these phone cases will fit my Lumia….

DSCF1553.jpg

This is a “4K” resolution TV, although I’m not sure the photo does it justice. You can’t quite see the price tag, which was 25,000 pounds…. For that money you could probably buy a house with that view.

Refining Una the Ultimaker

DSCF1560.jpg

I think you should know I endured a lot of pain to fit this part…

Just because I’m on holiday, doesn’t mean I don’t get to play with tech. I spent a big chunk of today fiddling with Una, my Ultimaker 3D printer. I don’t usually give my devices names, but since I’ve discovered that this particular device has moods I thought a name would be appropriate. The great thing for me about 3D printers is that they don’t work all the time and you can always persuade yourself that there are things you can do to make them better. Perfect for a tinkerer like me, who was brought up on Meccano.

Today I convinced myself that by replacing the wooden end bearing caps with adjustable plastic ones I could probably improve print quality. I could certainly cut down on the banging and crashing that I was getting during printing, when the print head changes direction and the rods it slides on are pushed into the side of the case. I’d already made one change earlier in the week, when I upgraded the fibre feed mechanism that pushes plastic into the machine. That had improved print quality a bit and so I figured I was on a roll with this.

So I set to and printed all the parts (finding a matching colour for the case, which was nice) and then I had to fit them. This was where the fun started. I put the original fittings on as I was constructing Una, and then put lots of parts around them. This meant that the nuts holding the end caps in place were really hard to get to. I tried printing out a “nut calumet”, which sounds like a desert from a posh restaurant, but is really something you can use to put the nut on the back of the bolt. But eventually I found the best way to replace the fittings was just to jam my finger inside the machine behind each nut, so that it held it in place, undo the existing bolt and put the new one straight back in. This removes the need to put the nut in place, as it never goes anywhere, and leaving aside the pain involved in forcing your finger inside very tight spaces, worked very well.

I’m not sure if the print quality is that much better to be honest, although printing is a lot quieter and smoother than it used to be. I’m a bit worried that steel bolts in the end caps are going to grind chunks out of the steel rods they are rubbing against, so I’ve ordered some brass bolts (which cost the princely sum of 14 pence each) to replace them with. These should form a bearing against the steel and be a bit smoother.

If you have an Ultimaker then I think it is a worthwhile upgrade, just because it makes printing much quieter. If you are about to build one from a kit, I’d advise getting some end caps printed so that you can put them on during construction and save yourself a bit of pain later.

Whitby Again

IMG_6301_2_3.jpg

..and so to Whitby. Love the place. And the Fish Pie served at the Magpie Cafe. Actually I like the cafe as much for its technology and business approach as its food. They have large screens showing you what fish is available on the day. All the attentive and hard working waitresses enter your order into a PDA (and have done for quite a while now). The cafe is on Twitter, and they are continuously updating what they do. In these respects they are very like Fudge in Hull, working to improve and extend that their reach while still remaining very good at their core business, serving really good food.

We were blessed with some of the best weather I’ve seen for, well, months, and so I took some more pictures of the place.

IMG_6321.jpg

We didn’t take a trip on the boat, but these folks seemed to enjoy it.

IMG_6324_5_6.jpg

Last time we came the sea was so bad that we weren’t allowed this far out on the pier.

Elsham Hall

Took a trip out to Elsham Hall today. The weather was cold and grey, but didn’t actually rain, which was something of a relief. We were able to see the promise of the place though, definitely going back there in a few months when the gardens have got going properly. As it was, the main attractions were the livestock, of which there was plenty.

IMG_6151.jpg

They have a peacock there.IMG_6205.jpg

.. and a turkey…IMG_6193.jpg

.. and some rabbits.

If you’ve got kids and are looking for somewhere to take them and tire them out, I can recommend the place. After all, that’s how we found it a few years back. And with Humber Bridge tolls down a bit now, going south of the river for a trip out is looking a lot more affordable.

Zombie Dice for Brain Eating Fun

image

Another day, another game review. I’m taking quite an aggressive stance on the holiday this week I’m afraid, so that means that if you don’t receive a response to a work related email it is because I’m, quite literally, too busy doing nothing. Normal servicer (or what passes for it) will be resumed on Monday next week.

And so on to Zombie Dice. It is a nice, simple, dice game with you playing the role of a zombie, hungry for brains and rather less keen on shotgun blasts. The mechanic is simple enough to get your head (or at least skull) round and great fun.  For me the best bit though was looking up the product on Amazon for a link and finding that game was linked with the following special promotion:

image

Just what your average Zombie needs….

Lego City for Wii U

image

If you are forming the impression that I’ve spent the last few days going to movies and playing games then you are pretty much right. I’m on holiday.Go me.

Anyhoo, today I got hold of my copy of Lego City Undercover and finally got to play it. It was a bit more finally than I expected actually, as firing up the game triggered a console update of the Wii U itself and the game does have its share of loading screens. But it is well worth waiting for. I like the Lego versions of the films that have been around for ages. But this is in a different league. The story is all home spun (but none the worse for that) and there is lots of dialogue (which is all very well presented). There are lots of movie in jokes and characters that you start to care about after a few missions. The Wii U gamepad is used to very good effect, as a mapping device, communicator and crime scene scanner.

I’m really enjoying myself going round solving crimes and arresting bad guys. As the whole thing has been designed to be played by seven year old kids I’m finding that I can actually do quite well, which is nice. The only real gameplay issue that I’ve noticed really is that the handing of the vehicles is a bit tricksy. But everything else is great fun. I don’t think you should buy a Wii U just to play this game. But if you already have the console, the game is a really, really good buy.

Braggart–a great game of boasting

image

Spent some time today playing Braggart. This is a splendid little card game. Each player takes the role of a hero in a bar, boasting of their great deeds and daring dos. You assemble your boasts and present them to your opponents to gain points and win the game. But they can call you a liar and change your story to one which is considerably less impressive. The artwork on the cards is great and the tales you can spin are hilarious. Great fun and well worth tracking down.

GI Joe: Retaliation Movie Review

image

OK. Lets get this out of the way at the start. GI Joe “Retaliation” is as good as any movie inspired by plastic dolls made for boys to play with can be. I saw the very first one and thought it was a great piece of lightweight throwaway fun. This one is a bit darker though. And they’ve thrown away the silly gadgets and added Bruce Willis. I think the director must have watched “The Expendables” a few times before making this film, and made a few changes to match. Unlike “Trance”, there is hardly any plot and things are mostly moved along by cartoon violence and blowing things up. Which is fine by me.