Wallace and Gromit’s Fleeced Boardgame

image

Spent a good chunk of last night playing Wallace and Gromit’s Fleeced the Boardgame. This is based on A Close Shave, one of the brilliant series of animations produced by Nick Park at Aardman. You play as one of six characters in the story (I was Preston, the evil robot dog) and you move your beautifully made playing pieces over the board trying to snare sheep and get them back to your lair. You can do this by fair means, picking them up from their hideouts and leading them home. Or you can play foul, and “rustle” sheep from the other players.

The game is full of lovely touches, from the whistles that each player needs to blow before they herd their sheep to the cheese cards that you can pick up on the way. There is even a “Hard Cheese” card that gets you sent straight to the police station.

Some of the reviews in Amazon are quite funny. One complains that you can’t finish the game because everybody keeps stealing sheep from each other and nobody wins. It is true that you could play the game like this, just like two chess players could play for ever by moving their pieces back and forth and not doing much. However, I reckon it is absolutely great fun. I might even spend some of the “Miles Millions” ™ on a copy.

Rob Goes to London

IMG_0184.jpg

It looks as if Her Majesty’s stock is dropping a bit….

Having a couple of days in London. I like the place, but wouldn’t want to live there. Had lunch at The Diner. Always have lunch at the Diner. I insist. And nobody seems to mind. If you want some of the best burgers in London, you should pop along.

Then went off in search of camera stuff and bits and bobs. Paid homage in the Apple store (I always go in there wearing a Microsoft jacket to see if it will burst into flames). The new Macbook Pro looks very nice. But at the moment I’m loving my Samsung Slate 7 (on which more later) and so I’ll stick with that for now.

IMG_0189.jpg

I’m breaking in a new camera at the moment, so I took a whole bunch of pictures.

IMG_0227-Edit.jpg

Bright Shades

IMG_0199.jpg

Patriotic Bike.

Start Here! Learn the Kinect API has gone to print

image

I’ve always wanted to produce a book with an exclamation mark in the title. And today it went off to print. Start Here! Learn the Kinect API is the story of one man’s struggle against the forces of the universe and device drivers as he calls forth the inner strength that we all have within us, and uses it to forge a majestic tome that sits easily amongst the greatest of its peers, telling the tale, once and for all, of how mortal developers can write fun programs using the C#,  .NET and the Microsoft Kinect sensor.  The book is now with the printers, and will be in the shops at the end of July.

The book was great fun to write and I hope it will be fun to read. It is interesting that Microsoft have applied for a patent for a gesture based MIDI interface powered by Kinect, and that one of the examples in the book actually tells you how to do precisely this on your PC. I wonder if I can sue them….

Making Things

A gadget that makes gadgets is probably the ultimate gadget. So a few weeks ago I sold a whole bunch more cameras (I seem to do all my saving by means of the “camera bank”.) and ordered an Ultimaker. Peter reckoned that this was the best of the 3D printers and I was attracted to it by the level of detail that you could print with, and the fact that it came in a kit, which I could spend the upcoming bank holiday working on with Number One Son.

WP_000020 (1).jpg

Several weeks later a heavy box arrived which contained motors, circuits and some lovely laser cut birch plywood which would be fitted together to make the finished printer. So, armed with the very detailed instructions and beautifully packaged and labelled pieces we set to work.

It was great fun. Like Lego, but bigger and with bits that light up, bits that get hot and bits that move. And you learn lots of new terms like “Bowden Tube”, “Peek insulator” and “STL file”. And at the end of it you have a thing that makes things. The principle is very simple. At one end you push a plastic fibre which goes down a tube to the “extruder head” which contains a heater and a very fine nozzle.

IMG_0091.jpg

This is the finished product, I painted it blue. The machine “prints” in 3D by moving the head over a build surface, adding successive layers of extruded plastic to create the design you fed into it. It is fascinating to watch the head buzzing around. Number one son made a video of it printing out a Companion Cube here.

One of the great things about the printer is that it can print extra bits for itself. If you look at the picture above you can see a bright pink fan ducting on the print head which I printed and then fitted to replace the one that the printer ships with. The new duct does a better job of focusing the cool air onto the print so that it hardens more quickly. If I have an idea for a better design I’ll simply print that out and then fit it.

Tonight I decided to print out a new locking assembly for the “Bowden Tube”. This is the tube that guides the raw plastic fibre into the extruder head. I was especially interested in this because it contains a screw thread, and I wanted to see how this would turn out. The print did not go well, mainly because I left the printer heated for too long, and some fibre in the tube melted and formed a plug that stopped the flow. I had to strip down the print head, clean out the blockage and then rebuild everything. Two hours of messing around with bits and bobs. And I loved it. At the moment it is extruding very well, but I’ve got a little leak of plastic around the nozzle which I’ll have to seal up. I’m looking forward to adding some sealant and then trying again.

IMG_0095.jpg

This is the assembly I printed tonight, with a knurled nut on top of the fitting and a thread that works really well. Perhaps I should get some different coloured plastic to work with…

The main reason I got my Ultimaker was not to print parts for it (which would be kind of recursive) but to make cases for other gadgets. The Gadgeteer platform provides a lovely way of making devices, but they will still need a box. As long as the box is smaller than 8 inches in any direction (the build volume of the Ulitimaker) I can design and print it. We already managed to print out a box for number one son’s Raspberry Pie device.

This is not a technology ready for prime time. But it is a tinkerers delight. You don’t just get to play with the bits, you get to make more bits to play with too. There might be people out there who will say that in the future everyone will have an Ultimaker, and that one day the machines will make themselves. This might happen at some point, but great as it is I can’t see my little blue box printing out a Stepper Motor or a Microcontroller any time soon. To me it is very similar to the very first TVs that were made by John Logie Baird. They worked by spinning disks and flashing lights and were thoroughly impractical for proper viewing. But they got people engaged with the idea of being able to view things over long distances. The Ultimaker is just like this. It is slow (although really fast for a 3D printer), noisy and not 100% reliable, but that doesn’t matter. What it does seems as magical as watching someone 100 miles away must have seemed in 1925. When people really figure out how to do this, how to make different colours and build more quickly, then I can see that there really will be one in every household. And another piece of Star Trek technology will have arrived in our lives.

We will be launching a spin off from Three Thing Game (Three Thing Thing) later this year when we will get people building gadgets using Gadgeteer (keep your diaries clear for the 27th – 28th of October folks) and I’ll bring along the printer so that we can make some boxes for whatever gets made.

Oh, and if you want to find out more about Gadgeteer, Peter has produced some superb posts about the platform.

..and we’re back

DSCF8292-Edit.jpg

One of my favourite sayings is “What doesn’t kill you makes a darned good blog post”.

This is not always true.

I can’t say that the last couple of weeks have been fun, but they have been a lot better than they might have been, thanks to the kindness and thoughtfulness of folks around me. Thanks folks. In amongst the bad stuff there have been quite a few good things happening, of which more later. For now, I’ve got some serious marking to catch up on.

How to sell on eBay

IMG_4889-Edit.jpg

Ebay is probably seen as old hat these days, but if, like me, you have a gadget habit to pay for and limited funds, then one way to get some cash is to sell some of the gadgets that you have around the place. I’ve been doing a lot of this lately. Here are my tips for successful sales:

  • Give the auction plenty of time to run, and let it end at a time when folks are sure to be around and take part in a “bidding frenzy”. I quite like Sunday evening for this.
  • Use Buy It Now. I had a lot problems with people making “kamikaze bids” at the last moment to try and snipe the auction. The problem is that if two people are using this “cunning” trick the result is an enormous bid that they is promptly rescinded, leaving you stuck with no sale. The good news is that you do get to hear some great excuses from people about why they did the bid, and how the cat must have pressed the keys, etc, etc, but the bad news is that you have to run the auction over again. For some reason, Buy It Now sales, where you set a price you will instantly sell it for, stop these folk. If you set a price around 10 pounds or so less than the last one sold for then you will at least get the market rate or near enough. You can use Completed Listings on a search to find out how much this was. This can be depressing, but remember the thing you are selling is only worth what people are willing to pay. If charge what you think it is worth you will just lose your listing fees. And sometimes people get so carried away bidding that you actually get paid more than the Buy It Now price, which is rather nice.
  • Have it packed and ready to post before you put it up for sale. As far as I’m concerned, the gadget is gone as soon as the listing goes live. Purchasers expect to get their item as soon as they have paid for it, and so you must have it down at the Post Office the following day and away on Next Day delivery.
  • Do some research on postage prices. I’ve got stung once or twice where the thing I was selling turned out to be a lot more expensive to post than I expected. As a guide, a small mobile phone will cost around 7 pounds for next day, insured, delivery. A laptop will cost around 25 pounds to send. Of course you should always use tracked, signed for, delivery.
  • Use PayPal. And nothing else. Nuff said.
  • Be nice. When you’ve posted the item, send the tracking number in an email so that they can watch the progress of their parcel. And you can use the tracking number to make sure that it has been collected at the far end.
  • If you are buying a gadget that you might fall out of love with one day (it does happen) then keep the box and all the bits so that you can send out a complete package if you do sell it. This helps with both the price and the speed of the sale. And don’t lose the driver disks.

Imagine Cup World Finalists Announced

image

The World Finalists for the Imagine Cup Software Development Challenge have just been announced. All 72 of them. You can find the list here. I’m really looking forward to seeing them at the Finals in Australia.

One thing I forgot to do a while back was to give a shout out to Team WykeWare who won the Hull University heat of the Imagine Cup and got to compete in the UK Finals. Kudos to Katherine Fielding, Samuel Armstrong, William R Dann and David Hart. Good work people, and I know you are enjoying the prizes that you got.

Getting Started with Gadgeteer

image

WE had the folks from Microsoft Gadgeteer here to see us yesterday. They brought with them all kinds of cool interfaces that I’m looking forward to playing with, after I’ve finished marking. If you’ve not come across Gadgeteer before it is a .NET Micro Framework based platform for creating, well, er, gadgets.

If you’ve ever wanted to create a data logging, remote controlled, catflap. Or a GPS-enabled TV remote, or a motion detecting chicken counting camera, etc etc, then Gadgeteer gives you the modules to plug together to make the hardware and Visual Studio and C# to write the software, including in device debugging of your code.

There are a huge number of modules available now including camera, LCD panel, gyro, compass, lights, switches, multi-io boards, barometer, soil moisture sensors, heart rate sensors,  Bluetooth, WiFi, GPS, GPRS, infra-red, ethernet, USB Host and USB client. Plus you can bring out the individual signals from the processor and use them directly.

You can get started with the Fez Hydra Basic Kit, which you can see above. This costs around the same as a video game and a half. The sensors range from a fiver to quite expensive (for things like the VGA adapter, if you need it). If you want to get started in embedded development, or have an idea for a device and want to make it come to life, the Gadgeteer is a great place to start, particularly if you already have C# skills.

We have been using the Gadgeteer’s older brother, the .NET Micro Framework, for the last couple of years and it has been a very successful means of introducing students to the joys of making hardware do stuff. If you want to have a go with this kind of thing you should take a look.

If you are a student at Hull and you have have a really good idea for a device, and you want some hardware to play with over summer, then come and see me and I’ll see if I can find a kit to loan you.

Last Chance for Free Food

SDIM0012.jpg

If you want to come to the Finalists BBQ and get some free meat (vegetarian options will be available too) then you need to get your tickets from the departmental office before the end of tomorrow (Wednesday 23rd). The BBQ is open to all 3rd and 4th year students (1st and 2nd year students don’t need to worry as we’ll be doing something similar next year and the year after).  It is on Monday 28 May in Sanctuary from 2.30 pm to 5.30 pm.

If you prefer free pizza (or want to have both) the Microsoft Windows 8 developer camp will end with free food too. It’s on Wednesday June 6th and you can sign up here:

http://hullwindows8.eventbrite.com/

Teaching in “Sometimes Useful Shock Horror"

IMG_7895-Edit.jpg

If any of my students ever want to bring me a completed exam script I’m always happy to “mark” it in front of them. Quite a few take advantage of this and it really helps their grades (folks on 08120 – there’s still time before Thursday)

I’ve spent some time today going through answers and I’ve noticed something that worries me every time I see it. Some of the answers were just about spot on, but didn’t leave me with the impression that the student giving them really knew what they were talking about. It was as if they were just giving responses that they had learned, rather than speaking about something they understood. Now the thing is that this approach probably works fine if you are learning about Kings and Queens of England, but it is very different when we are teaching something that we really want you to apply. A lot of the stuff that we are teaching is intended to be applied to solve problems.

The thing to remember, if you are stuck in this revision thing, is that it is much more sensible to put effort into trying to understand the topic that it is to work really hard just remembering things. I never really got to grips with the piano because I was too “lazy” to learn how to sight read music for my left hand. So I’d just learn the left hand bit in time for the lesson that week. Of course, eventually this technique broke, when I found that the next exam had a “sight reading” test.

Learning to program is like this. You can learn “If a class implements an interface it must contain implementations of all the methods specified in the interface for it to be possible to create an instance of that class”. Or you can work out that we have interfaces so that we can build systems that deal with objects in terms of what behaviours they have (these are the methods specified in the interface) rather than the class hierarchy that they are part of.

Knowing the former will get you half the marks in the exam. Knowing the latter will let you create a mechanism whereby all the objects in your solution, the receipts, customer records, addresses, invoices and product descriptions, can be sent to a printing process that just asks them to print, and doesn’t care what type of object they really are because all the objects implement the iPrint interface which contains a “PrintToPaper” method.

If you want me to go through any of this stuff please come and see me and I’ll be happy to do just that. You can also post questions on the forum, and use the Twitter tag #08120Revision for quick questions. And don’t forget that we are not telling you this stuff so you can reflect it back to us in exam answers, we are telling you this stuff so you can use it to make things work.

I always find it amusing when students come back to me after a while on the course and say “That thing you taught us, turns out it is actually useful”.

Well, duh.

Thwaite Gardens Open Day

DSCF7850.jpg

Last year we went to Thwaite Hall gardens. And this year we went again. The weather was nowhere near as nice, but the grounds themselves were just as amazing as ever. I find it really hard to believe that this area of woodland, complete with lake, is just round the corner from where we live. I think last year’s pictures were better, but that didn’t stop me from having another go.

DSCF7825-Edit.jpg

There are apparently some very rare trees here, but to me they all just look lovely.

IMG_7817-Edit.jpg

One of the greenhouses.

Scary Phone Calls

IMG_5867-Edit.jpg

Had a very scary phone conversation today. And made a fool of myself too. It started with a letter on the mat when I got home. “Please ring the Barclaycard fraud hotline” it said in letters that weren’t particularly large and didn’t sound that friendly either. It was signed by someone whose name I forget. But when I rang the number, that person answered. The man himself.

This totally threw me. Barclaycard is a big company. I really didn’t expect to get straight through to the person who wrote the letter. And only yesterday I’d had a phone call from someone at “Windows Support” anxious to tell me about a virus that he knew was on my computer (although he didn’t know my name – asking only to speak to “The person who lives at your address”). Anyway, the chap from Barclaycard started asking me security questions and I started thinking about a scam model where you send someone a letter with a phone number on, get them to ring the number and then ask them for some security questions. And so I asked “How do I know you’re from Barclaycard?”. This threw him. After a while (during which he must have thought some interesting things about me) we decided that I should ring the number printed on the card and talk to them instead. I thanked him and rang off.

I called back on what I now thought would be a proper number and it was all above board. A company I had bought something from a while back had suffered a security breach and my card was therefore “under suspicion”. I get a new card soon, with a different number.

It struck me afterwards that what I did was almost sensible. If the bank is going to spend effort making sure I’m who I say I am, then I should probably put some effort into making sure it really is the bank I’m talking. Although next time I’ll just check the website first.

Please Do Learn to Code

IMG_5859-Edit.jpg

Tuesday night was not a happy one in the “Land of Rob”. First off I read this post from Jeff Attwood which argued that it is pointless for “normal” people to try and learn to program. Most depressing. Then I watched some of The Matt Lucas Awards Show, a rather vacuous and self-congratulatory program where the “celebrities” were invited to identify the subjects they hated most at school. One said “Maths”, another said “Computer Science”. They followed up with examples of why they hated the subjects so much, and even brought on an obviously very talented maths teacher just to make fun of her. Ugh and Ugh.

Two sides of the same coin. An expert telling non-experts not to bother learning their subject and two apparently “successful” people who seemed proud of the fact they hated the same subject. Two rules I work by:

  1. Never be proud of your ignorance.
  2. Never dismiss those who you think know less about something than you do.

The only great thing about this is that today Scott Hanselman, a proper computer person and almost a celebrity, turned up with the perfect response in his blog.

Computer Science Finalists BBQ

IMG_4706-Edit.jpg

We will be having our first ever Department of Computer Science Finalists’ BBQ this year on Monday 28 May in Sanctuary from 2.30 pm to 5.30 pm.  All year 3 and year 4 students and staff can turn up and get free food. (which might not include any of the items in the picture above)

If you fancy coming along you can get a ticket from the Departmental Office (you need a ticket to get the food).  I’ll be there, of course, because to me the best tasting food is free…..

Phones 4 U Do Customer Service

IMG_1074-Edit.jpg

 

I rang my dad last night. Mentioned my new phone, as you do. “I can’t understand you.” he said. “It’s simple”, I explained, before going into great detail about the complex financing infrastructure that I had carefully put in place so that he would appreciate that I was not being profligate with money and was putting into place all those rules of fiscal good behaviour that he had taught me. “No” he replied “I can’t understand what you are saying, your voice is distorted”.

I rang myself up (one good reason for having a landline). He was quite right. I couldn’t understand me either. Turns out that my lovely Lumia 900 is brilliant at everything except making phone calls. If you turn the volume up during a call then the sound gets progressively more broken up until you hit the level 7, at which point you sound like a dalek with a bad cold. Oh dear. It looks like it is a problem with the noise cancelling part of the device picking up sound from the speaker and trying to cancel it, and then getting stuck in a loop. Whatever it was, not good. From the posts on the Nokia forums there are a few folks having this problem. While I can solve the problem by not turning the volume above 7 I’m not particularly happy with this solution, the worst thing being that I sound fine to me, it is just the person at the other end that can’t hear anything sensible.

So this lunchtime it was off down to Phones 4 U in Princes Quay, where I bought it. Fortunately the problem is really easy to demonstrate, and they were happy to make a swap for a working device. They were very good about this, and so I was left with just one more problem to solve. On Saturday I’d linked my Zune Pass to my new phone (mainly so I could get the new Garbage album onto it). You are only allowed to change your Zune Pass devices once a month, and so I was worried that I’d have to wait another 28 days before I could carry Shirley Manson et all around with me again. Not so. Zune support has an interactive chat mode that works very well. Rather than hanging around on call waiting you just wait for the message window to open and then type in your question. Up and sorted within five minutes.

I’m a bit sad that I lost a lunch-hour sorting out a problem that should not have arisen. But I’m very pleased that Phones 4 U and the Zune people responded so quickly and constructively.  Marks and Spencer could learn from them.