Tom Talks Rather Useful Security

DSC04302.jpg 
Tom keeps his nerve….

We had a student powered Rather Useful Seminar today. Tom Forbes is one of our third year students and he has a side-line in computer security. So a while back he offered to give a Rather Useful Seminar about his experiences making the web a more secure place. In fact he wanted to go beyond just talking, and actually set up a web site, just for the hacking of. So he did.

TomsSite.jpg

Tempting products, but woefully insecure.

We were actually able to connect to the site and do some injection and scripting attacks there and then. Great fun. You can find out more about the presentation on Tom’s blog, here.

I made the point that if any other students think they might have a seminar in them, we are always looking for volunteers. It is great practice. If you reckon you have a story to tell, get in touch and we can set something up.

Pro Wrestling

DSC04153-Edit.jpg

I love my shiny new Surface Pro 2 dearly. It is very, very, close to the perfect computer. It is useful in about any situation. It weighs next to nothing for a machine of this power. The screen makes movies look lovely. The battery lasts for a good while. There is enough disk and memory space to put all my work on it (I got the 256G disk version with 8G of ram) and the machine seems powerful enough to run just about everything I throw at it.

And yet it is not perfect.

The first problem I’m having is one shared by very many Surface Pro 2 (and perhaps Surface 2 owners). The machine is a bit like me first thing in the morning. It really doesn’t like to wake up. Putting the machine to sleep and then waking it up again is a terrible lottery. Sometimes it works. Other times it does a fresh reboot, killing any applications that were running. And now and again it does a really frightening thing involving “Automatic Repair” that doesn’t seem to result an any great data loss, but it does scare the bejesus out of you, and is just the thing you don’t want to see on the way to a lecture you are about to present from it. From the forums I notice that quite a few people are having the same problem. Some link it to the Type Cover 2, others to the WIFI adapter. I’ve tried a few of the suggested fixes, but the only one that really worked for me was to tell the machine not to sleep when you closed the cover, but to hibernate instead. This is the mode where the machine copies all of the memory to the hard disk and then shuts down, loading the memory back on restart. This is a tad slower than waking from sleep, but it does seem a lot more reliable.

The second problem I’m having is that the Wi-Fi adapter does not work reliably on the university network. At home fine. In Starbucks fine. On the Microsoft Campus fine. At the University I get around five minutes of operation followed by failure. The Wi-Fi hardware thinks it is connected but all applications that try to use the network beg to differ. This is very annoying. Initially I thought I was going mad, but then I found a post on the Surface forums describing these exact symptoms in another device.

I’m inclined to wonder if all this is an issue with the Hyper-V virtual machine feature. I’ve, rather unwillingly, had to turn this on so that I can develop for Windows Phone 8, but I’ve noticed on other computers that some device drivers really don’t work well in this mode. I also think that the power on problems are not restricted to the Surface platform, some other machines I’ve used seem startlingly bad at getting going.

I’m hopeful that these will be fixed by a firmware/driver update some time soon. Microsoft are maintaining a stoic silence in the face of these problems, which I hope means that they are working feverishly behind the scenes to fix them.

Cottingham Lights 2013

DSC04276.jpg

Every year around this time they turn on the Christmas Lights in Cottingham where we live. I go out and take some pictures. Some years I just leave the shutter open and wave the camera around a bit. This was one of these years.

DSC04285.jpg

They had some folks there selling flashing lights and stuff, which made for some great effects. Not sure if they are art or not. But I like them.

Philadelphia Freedom

WP_20131123_13_51_50_ev0_Pro__highresAnd4more.jpg

Flew back today from “The Best MVP Summit Ever”™. My flight was via Philadelphia, where they had a rather nice sunset (see above). I took the picture with my Lumia 1020 (actually I took 5 and then merged them together to get the rather pleasing result).  I think I’ll print out a really large version of this.

Another surreal favourite moment, hearing Elton John’s “Philadelphia Freedom” being played through the public address system while I was there. Awesome.

Free Windows Phone 8 Book

DSC04208_09_10.jpg

I’m very pleased to be able to report that my Windows Phone 8 Book (the Blue Book that is a companion to the Yellow Book) is now available for free download from Microsoft Faculty Connection. There are around 250 pages of developer goodness spread over 15 chapters, along with a over 50 demos.

BigGreenButton

This is the button that you use to download the content. Click on the word Download. You don’t need to be a member of the Faculty Connection to get the content, it should just arrive as one large zip archive with the Blue Book document and all the demos.

Here’s a quick overview:

  • Getting Started with Windows Phone
    • The Windows Phone Platform
    • The Windows Phone Ecosystem
    • Windows Phone Program Execution
    • Windows Phone Application Development
  • Making a User Interface with XAML
    • Program Design with XAML
    • Understanding XAML
    • Putting Program Code into an Application
  • Visual Studio Solution Management
    • Getting Started with Projects and Solutions
    • Debugging Programs
    • Performance Tuning
  • Constructing a Program with XAML
    • Improving the User Experience
    • Working with XAML text
    • Using the TextChanged Event
    • Managing Application Page Layout
  • Advanced Application Development
    • Data Binding
    • Displaying Lists of Data
    • Pages and Navigation
    • Using ViewModel classes
  • Isolated Storage on Windows Phone
    • Storing Data on Windows Phone
    • Copying Files into Isolated Storage
  • Using Databases on Windows Phone
    • An Overview of Database Storage
    • Creating Data Relationships with LINQ
  • Networking with Windows Phone
    • Windows Phone Network Support
    • Networking Overview
    • Addresses and Networks
    • Creating a User Datagram Protocol (UDP) Connection
    • Creating a Transmission Control Protocol (TCP) Connection
    • Reading a Web Page
    • Using LINQ to Read from an XML Stream
  • XNA Game Development
    • XNA in Context
    • Making an XNA 4.0 Program
    • Player Interaction in Games
    • Adding Sound to a Game
    • Managing Screen Dimensions and Orientation
    • Using MonoGame
    • Making a MonoGame XNA program
  • Using Speech in Applications
    • Speech Synthesis
    • Controlling Applications using Speech
    • Simple speech input
    • Using grammars
  • Maps and Location
    • Determining the geoposition of the phone
    • Using the Map component
  • Using Bluetooth and Near Field Communications
    • Using Bluetooth
    • The Intercom Program
    • Using Near Field Communications
  • How Applications Run
    • Background Processing
    • Adding a Live Tile to an Application
    • File Transfer Tasks
    • Scheduled Notifications
  • Marketing Windows Phone Applications
    • The Windows Phone Icons and Splash Screens
    • Preparing an Application for Sale
    • Windows Phone Store
    • Making your Application Stand Out

Enjoy.

A Trip to the Space Needle

DSC04157_8_9.jpg

I made it to the top of the Space Needle ten minutes before sunset. It had been clear and bright all day (something of a rarity for Seattle) and I thought I might be able to grab some good pictures.

I was right.

I was there for quite a while taking pictures. It was very cold out on the observation deck, but there was a nice warm cafe where I could grab a coffee and wait until I could feel my fingers again.

DSC04026_7_8.jpg

This was a very fitting end to what has been one of the best MVP Summits I’ve ever attended. The depth of the content, the quality of the engagement and the scale of the developments coming down the tracks were all mightily impressive. I’m never quite sure just what I’ve done to deserve to get an inside track like this, but I’m very pleased that I have. Thanks to all at Microsoft for setting it all up.

Secret Agent Watch Secrets at the MVP Summit

Actually there are no secrets here really. It was rather nice to go to a session and hear the presenter say “You can blog all you want about this.”. So I am doing. Chris Walker, Founder of Secret Labs had come along to tell us about the new Secret Agent watch that his company launched on Kickstarter a while back. He’d brought along some hardware samples and the latest version of the software that lets you use the accelerometer in the device via a funky new emulator. I had a play with this and one of the demos shows how to make a big font watch face.

The code is very simple, each of the letters is a gif image that is just drawn on the watch screen.

image

If you fancy having a play with this you can download the software from the Agent Watches web site.Above you can see the emulator.The hardware looks very nice. Two processors, one a low power device, ground breaking power monitoring and new display technology. Great stuff.

DSC03896.jpg

This is the watch.

DSC03907.jpg

This is the hardware inside, with the display.

Chris was telling us that there have been some delays on the hardware (this is nothing particularly surprising when you are making stuff) but that it should be available after Christmas.

MVP Summit Day 2–Beer and Bicycles

Today was the time for more and more stuff. But then it was time for another in the series of World Famous MVP Summit pub crawls. Or in this case, pedal

DSC03781.jpg

This is the only bicycle with a bar that I’ve ever seen, let alone been on. The principles is simple enough..

DSC03795.jpg

It is a bicycle powered by MVPs. Powered by beer. We pedalled down the road to bar number one,

DSC03800.jpg

The first bar was great, although the duck shooting game was obviously broken as I was comprehensively beaten when we were playing it. /when moving on we switched to “stagger power” and went off to the next one.

DSC03811_2_3.jpg

The streets are very pretty round here

DSC03826.jpg

The second bar had a great name, amazing artwork inside (since it was for sale I’m not posting pictures)..

DSC03880.jpg

..and superb live music. And pizza. And beer.

DSC03893.jpg

And pretzels.

It was a great night. Thanks to Desiree and Sharon for setting up everything and making it such a wonderful occasion.

MVP Summit Day 1

DSC03758_59_60.jpg

When you go to the MVP Summit they essentially open up your head and pour a ton of stuff into it. Unfortunately I’m not in a position to say what the stuff was. I can’t tell you how many Non-Disclosure screens we saw. Actually, that’s not because the number is a secret, it is because I lost count. All I can write about the Windows Phone sessions is “Blimey, this all looks very nice”.

After our “reverse brain dump” we headed outside for a walk around. It has been cold, damp and raining since I got here, so of course I feel right at home.

Flying with Bad User Interfaces

WP_20131117_15_32_07_Pro.jpg

So today I was lucky enough to get to fly out to Seattle for the MVP Summit. That’s twice in one year. Lovely. We took off and before long I was playing with the in-flight entertainment. As you do. The picture quality and sound were excellent. The range of movies and TV shows as wide. But the user interface was horrible.

Take the screen above. The user interface is touch driven, so you are reaching out with your fat fingers on the end of your wobbly arm to hit one of the two buttons, which do fairly critical things. Get the wrong button and you will be upset. So why are the buttons so close together, so small, and why is the text on them so hard to read?

And then there’s this:

WP_20131117_15_32_22_Pro.jpg

This is how you pick the films. The screen is pretty enough but it is filled up with useless information. The titles of the films themselves are impossible to discern on the artwork and the scroll targets are tiny tiny.  If they had thought about it they could have put the name of every film, in text, on one screen and saved us the hassle of grinding through the pages.

Add to this a very unresponsive and inaccurate input and you have a recipe for an unhappy user. And the annoying thing for me is that the service, once you started watching, was very good indeed. It was just that someone really didn’t think how the user interface was supposed to work.

Microsoft 3D Design Tool Released

Screenshot (1)

Earlier this year Microsoft announced that they would be supporting 3D printers as native devices in the Windows 8.1 operating system. The aim of this is to make 3D printing as easy as 2D printing is today. They’ve just released a 3D design tool, along with some rather nice 3D designs, which you can download for free from the Windows Store. Just search the store for “3d printing” to find it.

The program works with a newly released printer driver for the Makerbot printers. The program looks very good, but unfortunately at the moment I can’t use it to print with my Ultimaker yet as that printer doesn’t have driver support. I really hope that it arrives at some point, it would be a great step to making a 3D printer a proper “appliance”.

Hull University at Platform Expo

DSC03702.jpg

Getting to grips with interfacing.

I learned something new today. I leaned that it is actually possible for Simon and me to leave the university at ten minutes past nine, drive to the middle of Hull, set up 15 Raspberry Pi systems (with keyboard, monitor and mouse), get parked up and have it all ready for a class at ten o’clock.

Possible, but not exactly relaxing.And without the fantastic help from the crew at the venue, it would have been quite a different story. People, you were great.

As usual with these affairs the first few minutes are as hectic as a very hectic thing on roller skates. But then everyone settles down, people get into the material and start writing code and making lights flash. I love it when I ask someone “Have you ever programmed before?” and they say no. And you can see from that they are up to that they are enjoying it and might just want to do some more one day.

DSC03707_8_9.jpg

Some of the sessions were in the Ferens Art Gallery, which turned out to be an excellent venue.

We were down to do four workshops of one hour each. And we had a two hour lunch break which we used to go and see talks from Richard Adams from Microsoft and Carla Prada of Soho Studios.

DSC03729.jpg

Richard talked about the way that the business of making games is changing, and how companies like Microsoft are looking for Computer Scientists rather than great programmers to write for their latest systems. To me this makes a quite a bit of sense.  Writing good code is one thing, but creating programs with an understanding of how the system actually executes your program means that you can make much more effective use of the technology. This is not always an issue, the speed of modern processors is such that they can often compensate for inefficient code. However, this is not the case in games, where you need to squeeze the greatest possible amount of performance from the platform. We cover this in the second year, when Warren introduces C++ and talks bout things like arranging your loops and tests to make best use of the way that the computer processes instructions in hardware. Good to hear an industry professional telling us that it really is important.

Next up was Carla, telling us about the creation of  new kind of interactive children’s entertainment character for Sesame Street. It was very interesting to hear about the trials and tribulations that you get when trying to motion capture and then animate puppets, especially furry ones. And it was also nice to hear what an occasion it is to actually meet “Big Bird”. Carla showed some of the motion capture scenes, and it was fascinating to see how the puppeteers make things seem so alive.

Then for Simon and I it was time for a quick sandwich before going back into the fray for some more workshop action. Then we packed all fifteen monitors etc back into the cube and returned to the university, nicely in time for my 5:15 lecture, where I gave away some Platform Expo wristbands.

A busy, busy, day, but well worth it.

David Clark from Cuba Entertainment on Unlocking your Dream

 

DSC03697.jpg

Today’s Rather Useful Seminar followed on nicely from the one last week, about steps to take to get your game out there. Except that this was the view from the other side of the street. David Clark of Cuba Entertainment has been in the gaming business since the early nineties working with such companies as Stainless Games, SCI, Eidos and Sega. He has seen the rise and fall of the cartridge based console, the disruption caused by the PlayStation 1 when Sony released it on an unsuspecting world, and most recently the shattering effect of the arrival of Apple and the App. Store on game distribution.

He has also seen the influence of the game publisher wax and wane and the rise of the self publishing game house. David was here to tell us how you can take your great software and make it into successful product. He had some very interesting things to say about money, where to get it from, what do do with it and the importance of an exit strategy.

Two things stood out from his talk for me. Firstly that 60% of something is an awful lot more than 100% of nothing. The value that publishing services can give to a game are well worth the cost. You might think that you can promote and sell your game yourself, but unless you got into game development to do just that, you are not going to enjoy it very much, and besides you should really be spending your time adding value to your product, not trying to persuade people to buy it. Much better to let go of some of the equity and use it to pay for people who can get things moving for you.

The second thing that stood out (and I was very pleased to hear this from David) was the importance of Networking. And no, I don’t mean WiFi. I mean having business cards, making useful friends and keeping people informed of what you are about. The kind of funding that a fledgling game developer needs is just the kind of stuff you can get from folks you happen to know who have spare cash lying around. So you need to make efforts to “happen to know” them. This means getting out there and promoting yourself, which is spectacularly difficult for an introverted computer scientist, but it is well worth the effort.

Thanks so much to David for coming along and giving us the benefit of his experience and knowledge.

You can find his presentation slide deck here.

Platform Expos is This Week

image

At the end of this week things get really interesting if you are into anything digital, and games in particular. The latest incarnation of Platform Expos is hitting the centre of Hull. I always end up wondering how they get all the people along to speak, and manage to get so much industry involvement. But they do, and you can get the benefit of all their efforts by going along to the events this Friday and Saturday, all around the middle of Hull. You can find out the programme, and get tickets, here.

Simon and I will be joining in on Friday, when we are doing some fun and games with Python, Pi and hardware interfacing. Simon is also giving a presentation on the Saturday too. Platform Studios will be showing off their games and if you have any kind of interest in things digital you should get yourself along there.

Cool Printing

DSC03663.jpg

One more picture from yesterday. This stand had some amazing printers and a DJ as well.

Today I had a go at printing with some of the fibres that I got yesterday. It didn’t start well to be honest. I put in some lovely translucent green PLA that I’d been given and the printer produced some rather gooey looking outputs. Turns out the new material had a much lower melting point that the stuff I normally used. So when Una heated it up to 220 degrees I was printing with something very runny indeed. When I brought the temperature down to a slightly cooler 200 degrees things improved massively, and I ended up with some much more pleasing results.

That’s a tip for 3D printing folks. Try different temperatures. I’ve now started printing a bit cooler and my prints have a bit more detail, and the layers seem more even, which is nice.

3D Print Show London

DSC03616.jpg
A rather nice venue

So today it was up bright and early and onto the train for a trip to the London 3D Print Show. I went last year and I enjoyed it so much I’ve gone back this year. There was a bigger venue and more stuff going on. Same mix of presentations, stands and exhibitions, but generally just more of it. The business is definitely maturing. The general thrust of things is towards are more “appliance” type devices which folks could just get hold and use to print things. There was also a stunning display of how 3D printing is being used in medicine, from printing tissue and prosthetics to making 3D mock-ups of the patient for the surgeon to practise on.

Ultimaker were there with the new Ultimaker 2 and a wall of Ultimaker 1 machines. There were lots of other brands there I’d not seen before.

DSC03568.jpg

This printer was turning out pottery, which was very impressive.

DSC03598.jpg

They even had people selling parts. That heated bed looked very tempting….

DSC03638.jpg

There were 3D printed moustaches up for grabs.

DSC03651.jpg

This stuff looks amazing. PLA fibre with wood particles in it.Makes prints that look like tiny carvings. I got a little sample of the stuff which will be very interesting to play with.

On the way out I went past the shop and bought a bunch of Faberdashery colours that look really nice. I’m going to have a go at printing with them tomorrow. But I might have a bit of a lie-in first.

Angel Investor at the Rather Useful Seminar

DSC03536.jpg

At the Rather Useful Seminar this week we talked about how to market games that you write.
Next week David Clark of Cuba Entertainment will be visiting the department and telling us about the other side of the coin as he talks video game investment and angel investors.
If you are interested in how the games and entertainment industry work you should come along to this seminar at 1:15 pm in Lecture Theatre D in the Robert Blackburn Building on Wednesday 13th of November.