USB3 Need for Speed

DSCF8641-Edit.jpg

This car is presently in the entrance to our department. I’ve no idea why it is here, but it looks great and fits the subject. And I want to have a go at driving it….

Along with my Windows 8 installation I’ve also been working on beefing up my main machine a bit. I take a lot of photos. And I mean a lot. And some of them come out. The rest stay on my hard disk as I never throw anything away. And now the disk is full. Maplin (of all places) were selling a Seagate 3Gbyte USB3 disk for a very good price (less than 130 quids) and so I bought one and then hopped onto ebay (only the best will do) and spent another ten quid on a USB3 card, because my PC motherboard is one year old wildly out of date and doesn’t have the new high speed interface.

I popped the card in this evening. Then I took it out again, because I’d forgotten to remove the blanking plate from the PC case. Then I put it back and off we went. Seems to work OK. One tip, if you install a card like this in your PC and it has PC power supply connector on it you really should connect this up. Otherwise devices might try to draw more current than a PCI Express slot can deliver, which will end badly in any one of a number of ways.

Anyhoo, tests indicate that I’m getting around double the speed of my older USB 2 drive on the connection, up to around 58 MB/sec on the larger files. Not quite the 10X increase that USB3 is supposed to offer, but at around half the speed of my internal SATA drive I can live with that. These numbers come from the spiffy performance display that Windows 8 gives you for file copies:

image

Seeing as they are not raw speed readings, but rather more “real world” in their usefulness, I’m a happy bunny at the moment. The number above is a bit low because I’m moving lots of small files around, which always restricts the throughput.

London Fun and Games

DSCF8675-Edit.jpg

This is my first attempt at taking a panoramic picture of the lovely new Kings Cross station. I’m sure there will be more in the future.

This morning we woke up late after all the excitement . In fact, we were so excited last night that we didn’t notice that the car taking is back to the hotel delivered us at the wrong place. For a while we sat in the bar having drinks and charging them to a room that didn’t exist. After we had been ever so politely reminded of this issue we grabbed a taxi back to “the other hotel called the Hilton that is in Kensington” for bed.

Today was spent having a great lunch and shopping for presents appropriate for a Pearl wedding anniversary. My suggestion, a Pearl handled revolver and one bullet, was not well received (and potentially dangerous) and so earrings and a watch with a vaguely pearlescent case were purchased instead. Oh, and the earrings were not for me.

Rob on Newsnight

DSCF8686.jpg

I got an interesting phone call on Friday afternoon from Hannah, a researcher on Newsnight. They were doing a piece about the Imagine Cup and she wondered if I would like to come down to London and take part in a discussion about the competition. After subtly checking to see if it was a wind up by saying “You’re not a student are you?” I decided that it was all above board and agreed to hop on the train on Monday, a situation only slightly complicated by the fact that it was my wedding anniversary the following Tuesday (Solution: take number on wife with me).

And so at 10:30 tonight I found myself sitting chatting with Dame Evelyn Glennie, someone who I have long admired. Such a great person. The subject for the discussion was the project from winners of the 2012 Imagine Cup, Team Quadsquad, who had created a glove that converts sign language into speech. You can see the video of their finalist presentation here. We were debating the value of the technology, and how/if it could be fitted into the lives of the hearing and speech impaired.  For me the best thing about the night was that we were there at all, and that student teams had produced a device which provided the basis for discussion and development of the technology, something that the Imagine Cup is all about.

The whole thing was over in a trice and then we were ushered back out of the studio where I managed to arrange a blurry photograph. We then headed out into the night, Dame Evelyn to go back home and us to celebrate by having a drink in the wrong hotel. Great fun. I think the show will appear on iPlayer at some point in the future. I think the machine at home has recorded it. At least I hope so…

Control the Horizontal and the Vertical

Flying

I got an email today from a student looking for an interpolation technique to create smooth curves from a series of points. The reason he was after this was that he was making a game. His problem was that the technique looked a bit complicated and hard to implement on the target platform.

My advice in these situations is always “don’t sweat the complexity”. The simplest way to do this kind of thing is as a series of straight line segments. These are easy and quick to implement and should let you get something working really quickly. If the gameplay works OK, just stick with that technique and work with it. Remember that the player enjoying the game doesn’t know that you originally wanted to add curves. Only put the curves in if your game needs it.

If it turns out that lines would not be appropriate for your game theme, just change the game to one where lines do make sense. Remember that games are like “The Twilight Zone”. You control the horizontal and the vertical. The player is entering your universe, so you can define it as you like. Straight lines or curves, it’s all up to you. But start simple.

The Correctifier

Correctifyer 

We found the source of the pinball problem from last night. An extra we had bought had been supplied with incorrect wiring, sending power to one of the opto leds the wrong way. It seemed to survive this mistreatment though, and we just had to add my “Correctifier” (patent pending) which swaps the wires to make them the right way round.

Pinball Underside

This is the kind of wiring that we are working with, behind the flashing lights…..

Pinball Hacking

The Zone

The best, in fact the only, good investment I have ever made was in my Twilight Zone Pinball machine. I got it ages ago from Richard, when he went over to the USA. It is huge, noisy and doesn’t always work very well. A perfect fit with me.

Tonight we spent some time playing with the machine in the best possible way. We took it to pieces and added some parts that I got in Australia while over there for the Imagine Cup. I’m always blown away by the sheer mechanical complexity of these things. Anyhoo, we managed to replace one faulty part (the clock you can see above now has four working lights) and break another. So I guess you could say we broke even on the day.

Hello from Windows 8

DSCF4798-Edit.jpg

Windows 8 proved very easy to install. I believe in starting from a clean slate (sorry) so I backed up my entire machine last night and this morning at 8:30 I started the upgrade by booting from a CD, deleting all the partitions from the disk and starting from scratch. I had the machine working under Windows 8 well before 9:00. Looks very good so far. One thing to be aware of (although this might just be me). We have an eduroam WiFi network at Hull which is authenticated using a self signed certificate. When you connect to it you sometimes get a message saying that the certificate is not as secure as it might be, and do you really want to do this. You just have to say OK to continue to connect.

When I first installed Windows 8 this didn’t work. The machine just refused to connect to the university WiFi. It knew that the password was correct, but it didn’t give me the option to ignore the certificate. However, once I’d connected via the wired network, and logged onto the machine with my Windows Live account it worked perfectly. It might be the case (although I’m really just guessing here) that Windows 8 insists on having a “proper” login before it will enable the option to ignore certificate errors like this. I’d love to know if you have hit this problem too, so put a comment on the end of this post if you get problems.

As for me, I’ve installed Windows Essentials and got Live Writer working (hence this post). Next it is on to Visual Studio 2012 and the other stuff.

Bye Bye Live Mesh

Bye Bye Live Mesh

Microsoft have released the latest version of Windows Essentials. When you start to install it you get the dialog above. The title “One Last Thing” is interesting, it is a kind of “By the by, we are about to take something away that could break your way of working” statement. I’m pressing Cancel just at the moment.

The writing has been on the wall for Live Mesh for a while. Pretty much ever since SkyDrive started doing the same kind of thing, i.e. let you transparently share files around your computers and back them up in the cloud. I’ve been a fan of this ability for ages. If you take any (or indeed all) of my machines and throw them in the river I won’t necessarily thank you, but I can take such vandalism in my stride because I use Live Mesh to sync all my work. Getting a new machine is quite relaxing for me as I just have to introduce it to Live Mesh and all my data appears as though by magic. The only restriction here is that Live Mesh limits you to 4G of file space in the cloud, but since we are talking about working data here (all the other important stuff is back home spread over a bunch of disks) 4G is fine.

It’s unfortunate that Live Mesh is going. The SkyDrive replacement works the same way, although it only synchronises via the cloud apparently. With Live Mesh two machines would directly exchange files if they found themselves on the same network. Live Mesh also provides a Remote Desktop feature which SkyDrive doesn’t. There have been a few complaints on the interwebs about the demise of Live Mesh. I think this is really a bit unfair. After all, it’s not as if it was a service that anyone has paid for. If someone gave you an apple pie every day for a while and then stopped it would be rather unfair to complain. Particularly if they then offered you a rhubarb crumble instead. If you want a premium service you can go for DropBox, which is excellent but not as cheap as I would like.

As for me, I’m presently copying my files from my Live Mesh folders into SkyDrive shared ones and I’ll press OK as soon as I’ve got all the files in place.

IR Blasting

Amplified IR Led

I’m working on content for next semester at the moment. One of the modules that I deliver is a second year course called 08249 Electronics and Interfacing. In this module we get to fiddle around with robots and stuff. Last year we created a controller and a slave robot. To send commands between the two devices we were using wires link the two together.

Next time I want to use infrared instead. This has proved quite an interesting challenge. Infrared is “light you can’t see”. The wavelengths of infrared signals are outside the range of the human eye, although some cameras can see them (as you can see above), where the LED appears to be lit but to the human eye it is off. I’ve actually taken pictures in the dark using an infrared sensitive camera (most mobile phone cameras pick up IR) and “painting” with a TV remote control…

However, f you want to use infrared signals to transfer data you can’t just shine an infrared light at a receiver. This is because sunlight contains lots of infrared. The receiver would not be able to distinguish the remote data from sunshine. So remote controls use modulation to make their signal stand out from the background. Modulate means change up and down. Rather than shining continuously a TV remote flashes the control signal on and off 38.000 times a second. The receiver detects signals which are changing at that rate and ignores any others, so that it can filter out background noise. This is a bit like a sailor who can tell a flashing lighthouse lamp from the light of the moon.

If you buy an infrared receiver device it will have this demodulation behaviour built in to the hardware, which is very useful. Unfortunately you don’t get this when you buy a transmitter. An infrared LED (a light that shines with infrared light) just works as a continuous light source, and so you can’t use it directly. Fortunately the .NET Micro Framework has a number of tricks that you can use to make a modulation signal. So I connected an infrared e-block to a GHI FEZ device and got started. And I found it doesn’t seem to work very well.

The reason (as I found by using my phone camera) is that the infrared led doesn’t shine very brightly. When I took a look at the circuit I found that the IR led is connected directly to the output from the microcontroller. The microcontroller can’t produce much power, and so the light was very dim. This is the same as what would happen if you connected a big speaker to the headphone output of your phone. Because the headphone output can’t deliver much power, the sound produced would not be very loud. They’ve probably designed the circuit this way so that it is fine for short range communications, but can’t produce signals that could travel a long way and affect other devices.

I don’t care about that, I just want more power. So I took a look at the visible LED e-block. This has a transistor to amplify the signal from the FEZ controller and provide more power. I decided that it would be worth swapping the visible LED for an infrared one. So I did this. Actually this part is quite funny. I very carefully took the LEDs off the two E Blocks using a solder sucker and lots of patience, and then, equally carefully, I soldered the infrared led back onto its original board. Idiot. Fortunately I managed to unsolder it again and, as you can see above, it does work and I can send an infrared signal a reasonable distance (although I’d like to send it further).

Next step is to create some kind of message protocol to send commands to a robot. Infrared commands are not very reliable (that’s why your TV remote repeats them continuously when you hold the button down) but I reckon we should be able to send enough to tell the robot what to do. Great fun.

How to get more Blog Traffic

DSCF4799-Edit.jpg

Danny Brown, one of our students, is celebrating his 10,000th blog reader. Well done sir. I tell all my students to start doing things, and get a blog out there about what they are doing. I seem to remember that Danny had a blog before he came here, but I note that quite a few Hull students are now active bloggers. You can find out what they are up to at http://hullcompsciblogs.com/ There are some really good blogs to follow up there covering everything from Raspberry Pi to video games to Gadgeteer.

I’ve been blogging for very many years and do it for fun. Although it is nice to get traffic as well. If you want some tips for a successful blog, well, here are some of mine.

Track your users. If your blogging site doesn’t provide tracking of hits then install something like Google Analytics. It costs nothing and it gives a great insight on how much activity you are getting. This can be quite depressing, but it is always useful to know when you have done something that attracts interest.

Make sure you have metadata that makes sense. I’m not going to suggest Search Engine Optimisation as such here, just common sense things to help people find you.

Integrate your blog with social media. I use Windows Live Writer (part of Windows Live Essentials) for creating blog posts. That provides plug-ins that I can use to tweet and post on Facebook when the blog is updated. You can use If This Then That (an amazing service that I must devote a proper blog post to later) to do this for you automatically. And remember that comments on your posts will not arrive on your blog posts, they will now often arrive as Likes on Facebook or Tweets.  This means that if you want to have a dialog with your readers you have to go out and look for their comments.

Some content gets a lot less interest that others. The absolute best content you can create is stuff that solves problems. If you make posts that tell people how to do things then you will get a lot of traffic as people find your answer and link through to it. You will also get traffic via search engines. Pick a subject you know a bit about, or are learning yourself, and put up blog posts with answers to the problems that you hit. One reason Danny has had so much success is that he has provided some neat technical answers (with all that a reader needs to solve the problem) along with the other content. Readers might not care about the place you went last week, or what you think about the current government, but they do like being able to solve problems. The only downside with useful content is that such readers are “fair weather friends” who will bump up your traffic for a day or so, before it drops back down again. The way to address this is to put plenty of stuff on your landing page that will encourage them to look around and find other things to read.

Enjoy your blogging, keep it regular and leave the readers thinking that you like talking to them. You don’t need to post every day. Only a fool would do that. But a regular blogging heartbeat is a good thing. If you take a break don’t worry, or feel like you have to “fill in the gaps”, just come back with a good post and it will be like you never went away.

Olympic Closing Ceremony–Wish You Were Here

image

I wasn’t at the Olympic Closing Ceremony. Wish I had been. I normally hate these kinds of things, seeing them as overblown feasts of self congratulation.

This one was different. It was great. Even the music was amazing. All of it. And when they started with the intro to “Wish you were here”, and then, at the end when the guy on the tight rope shook hands (see 70’s Pink Floyd album cover reference above), well, words fail me.

I’m pretty sure that there will be someone on Radio 4 tomorrow moaning about the way that the whole thing showed “nothing about what being British really means”. (actually I’m very sure, I’m writing this on Monday morning and I’ve just heard it).

What daft thing to say. To me the whole Olympics thing has been about Britain saying “Actually you know, we are pretty good at lots of things. Including putting on a darned good show.” Well done Team GB. At every level.

Bristol Balloon Festival

Bristol-15

We went to the Bristol Balloon Festival today. It was probably advertised as “An Event for all the Family”, because all the families in Bristol seemed to have the same idea. My goodness it was busy. We had a bit of a queue to get into the car park, and then a bit of a trek to the balloon launching area. We’d heard on the way that, because of high winds, there was not going to actually be a balloon launch, but we’d already spent such a long time queuing at that point that we thought we’d stick with it and see what there was there.

The weather was great, we did get a glimpse of a balloon (see above) and it was a great evening.

Discount Kinect Start Here! with Moo Cards

DSCF8632.jpg

It’s the other side of the card with the discount code which is the interesting bit….

I’ve always liked Moo cards. In fact I like them so much that ages ago I wrote a “Moo Card Splitter” program that takes images and makes them into a Moo Card jigsaw on Flickr. I’m not sure if it still works. Maybe I’ll make a Metro version that uses the Windows 8 Metro interface that looks like Metro nothing like anything else that doesn’t resemble a rather cool, Metro-esque interface using the Segoe font.

Anyhoo, Microsoft Press like Moo Cards too. Today I was sent a little box full of Moo cards about my new book. (I never get tired of saying “My new book”..). On the back of each card is a discount code that will get you 40% of the paper version of the book and 50% of the ebook. Now, of course, I’d prefer you to pay full price. The book is certainly worth it. But if you want a low cost way of getting hold of “the premier C# Kinect interfacing book written by a tall bloke with a name that rhymes with “Mob Riles” then I can recommend it. I’m carrying a few of the cards in my wallet, so feel free to ask me for your own personal card if you bump into me. Actually, I’d prefer it if you didn’t bump into me, just ask for the card.

Alternatively, email me with the title “I’ve just bumped into you” and I’ll send you a “Virtual Card” with the discount code on the back.

Amazing Pulse Gadgeteer Device

image

Scarlet put me on to this amazing device that transforms internet data into a graph. It was made using six servos which are driven by a .NET Gadgeteer processor. You can use it to show you the weather forecast, how busy your Twitter feed is, or anything that you can pull from the web and make into numbers.

You can find out more about the Pulse device here.

Tetris Lights

IMG_3118-Edit.jpg

Number one daughter told me that I might like to get some of these lights. She’s right. They’re great. The bottom Tetris piece (the blue bar) is connected to a power source and the others then light up when you stack them above. I spent a happy ten minutes getting them into this vaguely plausible arrangement. I’m trying to get them stacked with the top flat… If you are a Tetris aficionado you might want to seek them out.

Scary Nexus 7

IMG_2542-Edit.jpg

The Nexus is proving quite an impressive piece of hardware. Battery life is shaping up to be very good. I’ve found out how to make the screen brighter (turn on auto-brightness) and got auto-rotate to work (for some reason it is turned off by default). I’ve also found some useful applications, including one that provides access to my Skydrive storage amongst other things. I’ve loaded some films and music onto it and they work very well and look rather good. Then it did something that totally baffled me.

I took the Nexus 7 to work today. Left it in my bag. Didn’t bother connecting it to the campus network. After a while it beeped, so I got it out to take a look. It had received a new email message. Which was rather impressive, bearing in mind it didn’t have a network connection. Then I took a closer look at the WiFi settings. It knew all about the university network, along with a couple of networks at places it had never been to.

Strange.

Eventually I remembered, around a year ago I had a brief fling with a Nook Color, another Android powered tablet. I found the Nook great for reading books (that’s what Barnes and Noble made it for) but a bit slow for anything else. But I did take it to work and connect it to the campus network. And of course I’d registered the device using my Google username. Which means that the Nook had uploaded the WiFi settings to my part of the Google cloud which then made them available to any other Android device that I register.

I’m not sure whether to be impressed or frightened by this. On one hand it is very convenient for me not to have to mess around with SSIDs and passwords. On the other it is a bit scary that Google are holding all my (along with lots of other people’s) network credentials up in their cloud. One of the boxes that I ticked next to a page of licence agreements (does anybody actually read these) probably gave them permission to do this, but I now worry a bit that if I get a security breach on my Google account it also gives people access to my home network, should they choose to register their own device and then stand outside my house, browsing files the other side of my network firewall…

This is a reminder of just how clever and connected modern devices can be, and just how much you have to be aware of the dangers of all this cleverness.

Harry Bosch is the man

image

Sometimes you just want a good book to read. Not one that has won awards, just a good narrative and some strong characters. Michael Connelly writes crime novels which are just a great way to pass the time. One of his heroes, Harry Bosch, is a hard bitten and hard boiled detective, just the kind of guy you’d want to investigate your murder (although perhaps you’d be past caring by then). Harry works the mean streets of Los Angeles and has seen a lot of life. There are a number of books which chronicle his ups and downs, you can read them in order or how you like, as each is completely free standing. If courtroom drama is more your style there are also some books staring Mickey Haller, the attorney with a heart of gold and an interesting past. All good reads.

As an exercise, while I was washing the car today I had a go at putting together a Harry Bosch style narrative. There’s actually a serious point here – from a writing point of view it is often useful to have a go at using a particular style – do a blog post from a private eye, or a president, or a poet and see how you get on. Anyhoo, with apologies to Michael Connelly, and a note that his prose is definitely not played for laughs, here’s my attempt at a Harry Bosch story:

The Axe In The Head Affair

Bosch hit the man full in the face as hard as he could. The man went straight down onto the ground, as Bosch knew he would. Bosch stood over him, waiting for the man to get up so he could hit him again. The man looked up at him, with pain in his eyes.

‘Why did you do that Harry?’ he asked

‘This is a murder investigation, not a popularity contest’ Bosch rasped, breathing heavily.

‘But I’m your partner’ the man on the ground managed to say.

‘Listen’, Bosch replied, hoping the voice of experience would get through before anything else bad happened. ‘I get through partners the way some people get through underwear. And I often leave them in pretty much the same state. The sooner you learn that, the better. Next time, remember that it is black with no sugar, not any kind of fancy coffee pourings’. His partner looked at over at the frappachino with chocolate frosting on the top resting on the hood of the squad car and nodded. ‘I just thought you might fancy a change.’ he said, getting to his feet with difficultly.

‘Now to business’ said Bosh, walking towards the other car. He could tell at once there had been a murder there. The un-natural stillness around the vehicle, the faint, lingering, smell of fresh death, and the axe sticking out of the head of the man in the driver’s seat all pointed to homicide. He paused to open his briefcase and take out a fresh pair of blue crime scene gloves from the bulk pack he carried with him everywhere. “I really must stop wearing these around the house” he thought as he put them on and carefully opened the car door.

Somebody had wanted Harvey Putz to be very dead indeed. Only a small part of the axe blade was still visible, the rest was embedded in his temple. From the angle of the blow Bosh decided that it had been wielded by a left handed female with a club foot. Or perhaps that’s what they wanted him to think, he thought grimly, remembering that this was Los Angeles, where nothing was ever as it seemed, except perhaps the weather, and even that was sometimes changeable.

‘Send the car down to the lab’ he said eventually. ‘Let’s go and see Mrs. Putz and break the bad news to her’ If she didn’t already know he thought to himself grimly.

Mrs. Putz lived in a neighbourhood of fancy cars and even fancier houses. As they drove to her address Bosch looked at the neat suburban lawns, some with children playing in the warm spring sunshine. He wondered what dark secrets each house held, and speculated on the unhappiness that undoubtedly lurked behind each brightly painted door. Mrs. Putz took her time to answer the doorbell. When she did Bosch saw that she had once been truly beautiful. Before the city of Angels did its dirty work and brought her down to its level, before her dreams were crushed and buried by time. And before she painted herself bright blue.

‘Sorry about this’ she said, in lieu of introduction. ‘Smurf convention. How can I help’.

‘I’m afraid I have some bad news’ said Bosch, ‘Your husband has just been murdered’.

‘Have I?’ boomed a male voice from behind the woman. ‘I feel fine at the moment.’

Bosch looked at the address in his notebook. ‘Is this number 82?’ he asked finally.

‘Nope’ said the man, who was also painted the same disturbing shade of blue. ‘They’re next door’.

Bosch apologised and headed back to the car, wondering if he should punch his partner in the face again.

The real Mrs. Putz was much quicker to get to the door. Almost as if she had been expecting them to call by. Bosh told her that her he had some bad news about her husband and she instantly said something that aroused his suspicions. ‘Which one?’ she asked.

That was all it took as far as the investigation was concerned. Time to move things downtown to police headquarters and transfer the conversation an interview room. Bosh used all his experience to get the suspect in the mood to talk. He left her there for half an hour to give her time to stew, gave her a cup of triple strength coffee to loosen her tongue and then turned his chair the other way round when he sat down, like he had seen in the movies.

‘So what do you think happened?’ he asked eventually, trying to get comfortable on the seat.

She wrinkled as much as much of her brow as she could. She was definitely one of the Botox generation. ‘I don’t know’ she said finally. ‘I’ve had a tragic life. My first husband died of eating poisoned mushroom soup and then my second husband died, also from eating poisoned mushroom soup.’

‘Why do you think that your third husband was hit in the head with an axe?’ Bosh asked, moving in for the kill.

‘Well’ she said thoughtfully, ‘For one thing, he wouldn’t eat his soup.’

Bosh sighed, and started on the paperwork. When would people learn that crime doesn’t pay? Unless you write good books about it.

Google Nexus 7 Review

image

I think other folks have used the gag about needing three hands to work it, so I won’t

Warren told me that I’d get a Google Nexus 7. I protested. ‘There is no way I need one of those’ I said. But the one Adam had bought looked very nice. And the price is pretty amazing. And I was going to get number one wife a Kindle Touch for her birthday. And the Nexus will do a lot more than just read books. So there you are. We ended up with one each, mainly because I hate the idea of number one wife having better gadgets than me. And I have just been paid.

The device is very nice. Works a treat. Binds tightly to your Google account. Has this Google Now thing that is supposed to tell you all kinds of important stuff about your life. At the moment it is just telling me that it is 18 degrees in Cottingham, which is about right.

You get 15 pounds of credit in the Google Play store with the device. I’ve spent 70 pence on Real Racing, which is on offer at the moment. It runs very well and really shows off the power of the device. I also wanted to download BBC iPlayer (one of the best reasons for owning a device like this) but at the moment it doesn’t work, which is pretty terrible. I think this is because the Nexus is “Flash Free” and iPlayer needs that. Whatever it is, it needs to be sorted out soon. There are some other irritations in applications, some of them assume they are headed for a phone screen, and look wrong. Also, for some reason the default setting of the device is to lock in portrait mode, which is a bit of a pain. Number one wife was upset to find that you can’t get Scrabble for it if you are outside the USA, which is unfortunate.

You can rent (but I can see how to buy) movies on the device. You do get a free copy of the latest Transformers movie though. And a Jeffry Archer book. I’m looking forward to loading up the 16G of internal memory with some music and videos of my own. Battery life seems OK, I’ve not run it flat yet but 7 hours seems a reasonable amount. It has WiFi and Bluetooth, but not mobile data. For me this isn’t a problem, as I can us the Lumia as a hotspot if I need to. The 7 inch screen is bright and clear and the software is responsive, even if the UI seems a bit more complex than it needs to be – but then again I am used to Windows Phone on touch devices. There is no video out facility, but given the fairly limited internal space on the device I don’t think you ‘d be using it as a video library really.

All in all, you’d be bonkers to spend any more than the price of a Nexus on a tablet of this kind. The hardware is excellent and there’s no way they can be making much, if any, profit on it. This does of course mean that you are meant to be part of the product, and so you can expect all your actions on the device to be comprehensively mined for selling opportunities. Having said that, you can just use it and it will deliver a very good, and eminently portable tablet experience.

A Career in Windows Phone Programming

image
I’m not saying you can reach the dizzy heights of accomplishment reflected by a product such as Cheese Lander, but you can try….

Last week I got a tweet “i am electrical engineer and wanna start a career in windows phone programming. any advice ?! “.

I’ve been thinking about this for a while, and this is my advice, for what it is worth.

Get the Free Tools

Head over to http://create.msdn.com/ and grab the Windows Phone SDK. It is a free download and will give you everything you need to get started.

Get a Windows Phone

You can write programs without needing a real device, but for the proper experience you really need some hardware I’m afraid. The good news is that with all the shiny new Nokia devices coming along, lots of people are moving up in the Windows Phone world and so there is a good supply second hand devices at very good prices. As far as I’m aware, all of the older phones can be upgraded to the latest version of the software and so you can perform Windows Phone development on one of the first generation devices. If you can find a second hand Omnia 7 device that would be a good one to start with.

You might have noticed that Windows Phone 8 is just around the corner, and may be thinking about holding off for this. I’m not sure that this would be a good move though. Whatever you do, there is always another version coming along and the skills that you pick up on Windows 7 will transfer over to Windows 8 when the time comes.

Decide whether you are writing games or applications

If you want to write games you can think about using XNA. Unfortunately the future of this platform is a bit more hazy than I’d like, but as a quick way of getting into writing silly games (like Cheese Lander) then it is very hard to beat. If you are getting started and want to write some useful and fun stuff I think I’d go for the Silverlight approach at the moment. This will make it easy to move into the XAML based environments on Windows Metro and Windows Phone 8. It is also getting increasingly viable as a casual gaming platform.

Get the Free Documents

If you have never programmed before you could read my C# Yellow Book. This will give you a good grounding in programming.  You can find out about Windows Phone programming from my Windows Phone Blue Book, which is available from the same place. There is also a ton of free stuff on the http://create.msdn.com/ site that you can use.

Find a Problem to Solve

Coding in a vacuum is very hard. It is much easier to learn how to write a program if you have something specific to achieve. As your background is electronics I’d try to think of a simple problem (for example a resistor colour codes calculator) which you could write a program to solve and then have a go at coding that.

Use the Forums in the Right Way

There are lots of forums out there with people who are more than happy to help. However, they hate it when someone posts a problem like “I’ve got to do X. Where do I start?”. This kind of post sounds like someone is asking the forum to do some work for them. A much better post is something like “I’ve got to do X. Is Y a good approach to do this?” or even better “Why does this code not work?”. This shows that you have thought about the problem and done something before putting it out there. And as soon as you know something, start posting sensible replies to other post questions, so you give back to the system.

Blog what you do

I’m assuming that you are doing this as a way of getting employment. If this is the case (and even if it isn’t) you should start a blog about your progress. In the blog you can put what you learn (so you don’t forget it) and chart your progress. Potential employers are very impressed by people who are constructive and resilient. A regular blog will be something you can point them at to which will show how you have progressed. Keep the focus on the technology you have learned, and how you have applied it. You never know, you might find other people following what you do and learning from you. Regular blogging is also a great way to build your writing skills, which are also very useful for getting work.

Enjoy it

Learning to program is hard work. The most important thing about success is persistence.  Focus on getting little things to work and then building on them. Don’t have a huge, grand, idea and then get upset with yourself when you can’t realise it. This is the most common reason for people giving up on programming.

If you find yourself getting bogged down or stuck on a problem remember that you can always simplify your solution and just focus on one small part. With a bit of luck you will get a little buzz when you get something to work, and a bigger buzz when someone looks at your program and says “How did you do that?” and that will motivate you to do more. Good luck.