Retro Fun at C4DI

WP_20140109_18_12_15_Raw__highres.jpg

Tonight it was time for some Retro Fun at C4DI. Nothing on the agenda as such, just bring along your retro gear and be prepared to tell its story. We had some great stuff turn up, including a laser disk system and a Theramin.

Peter had brought the Apple II (by the way, the missing key is the | key) and a Palm Pilot. Ian brought the Sinclair Scientific calculator and I brought the hand cranked calculator. (did you know that people that used these were actually called computers?).

WP_20140109_18_49_52_Raw.jpg

You can play "How many of these did you own?" here. I had two, and I really, really wanted an Apple Newton....

It was very interesting to see just what people had brought. There were Sinclair Spectrums, Walkmen (Walkmans?), Amstrad Portable Computers and all kinds of tech. It is sobering to reflect that these were all state of the art in their time, and that the iPhone that you adore so much is destined to become just as retro as these gadgets in a few years time. 

Thanks to Jon for setting it up. The next meeting of the Hull Digital is Thursday 16th January, when they are having the first Hardware Meetup, which should be very interesting. 

How to use Python in Visual Studio 2013

DSCF4570.jpg

I've taken quite a shine to the Python language. Although I'm still strongly wedded to C# think that Python is also a great placed to do stuff. A bit like swapping the sensible Ford Focus for a Mazda MX5 for the weekend kind of fling.

What you might not know is that there is an implementation of Python that works a treat on .NET (so that you can combine Python and other languages), and that there is also a lovely plugin for Visual Studio that lets you write, and more importantly debug, Python in "The Best Place to Write Code in the Universe and Space".

I've written a tiny howto that tells you how to get started. You can find it here.

New C# Yellow Book Available - and on Kindle

Small Cover.jpg

The latest version of the C# Yellow Book is now available to download from here. There are a few fixes of typos and I've added some new content about array initialization.  But you'll be pleased to hear that the jokes are all exactly the same....

This is the "Rubber Duck" edition. The next one will have something else yellow on the cover. Probably custard.

My New Year Resolution this year is to finish things off that I've started, and with this in mind I spent some time last week preparing a Kindle version of the text. This is largely in response to some enterprising soul who has taken my PDF file and created a rather poor quality version of the text which is on sale at the moment. 

My version has all the diagrams and text and although I'm not completely happy with the format it is perfectly usable. You can download it from here.  Unfortunately it is not free, but it is well worth the nominal cost.

Living in Project Spark

Project Spark

Project Spark

Someone very kindly sent me an invite code to the Project Spark beta yesterday. Tonight I had a quick play. It looks to me like  a cross between Disney Infinity, Minecraft and Project Kodu. With some Little Big Planet thrown in. You can design and create your own worlds and populate then with objects and characters. Each object in the game has a "brain" which controls how it behaves in response to particular stimulation.

It looks really good, the world editing tools work well and the programming side is very interesting. Microsoft plans to release it across Windows 8 and Xbox One (and I'd love a copy on the phone too). 

There are lots of high quality tutorials and you can share the worlds that you make with other people. 

Learning a New User Interface would seem to be hard

DSCF2221.jpg

I'm slowly getting my hang of the new user interface for blog publishing that I have to use now.

For now my pet hate is that some important behaviours are initiated by text that you have to click on, and others by buttons.  I hate that, and I've no idea why designers think it is a good idea. I reckon that if an element does something it should look like it does something, not like a message.

Oh well, I'm just going to have to get used to clicking on everything to see what happens....

Moving into the Future

DSCF2724_5_6.jpg

Some time back I tried to move my blog. It didn't end well.  Now I'm trying again. The main reason is that changes to Twitter and Flickr have broken my blog posting workflow and Windows Live Writer (my blogging tool of choice for years) has been badly compromised by the way that high resolution displays in Windows 8.1 show the text as too tiny for my elderly eyes.

This move is not without cost. I'm expecting that some permanent links to resources may break during the move, I'm going to make a pass through the last six months or so of posts and fix them. If you find that a resource is not available then please let me know and I'll re-host the files and update the link. I think that if you access things via robmiles.co.uk you should be able to get everything as before. Then again, if it all goes horribly wrong you won't be able to read this post.....

The good news is that the new site has lots of lovely features that I'm very keen to try out. So please bear with me.

Achievement Unlocked – Red Lumia 1520

DSC04414.jpg

One of my New Year Resolutions will probably be to not buy as many gadgets. But the new year starts tomorrow... Which is just as well, as today I took delivery of a totally shiny red Lumia 1520 phone. I’m going to have to sell a few bits and bobs to pay for it but on first impressions it is worth it.

I got the phone off eBay, not something for the faint of heart, but the price was good and I really, really, wanted a red one. It is an O2 model which has been unlocked for all networks, and with one caveat (see later) it works fine with my EE sim.

When Windows Phone first came out the phone I really wanted was an HTC HD7. This had a huge (4.3 inch) screen and oodles of internal memory. Unfortunately, thanks to the antics of a couple of enterprising students, who managed to pop up town and bag the only two launch devices in Hull, I was denied this device and settled for a Samsung that served me very well. Then I moved into Nokia territory and I’ve been there ever since.

The Lumia 1520 makes the HD7 look tiny. It has a huge 6 inch screen that is quite frankly the awesomest I’ve ever seen. However, it is nice and slim and I find it quite pocketable, although until I get a case for it (coming soon) I of course won’t be putting it in any pockets.

It has a socket for an SD card I’ve managed to put 64G of music and videos (including the whole first seasons of “Freaks and Geeks” and “Veronica Mars”) on there. The battery seems to go on for ever and so I can now properly contemplate watching (and enjoying) proper programs on the device. It’s been a long time since I could put all my music and some films on my phone, and I love it. It always struck me as silly that the flagship Nokia devices were the ones that didn’t tend to have sockets for memory cards.

There are a few niggles. The principle one is with the touch interface, which has a habit of interpreting slide actions as taps every now and then. (if you get this you could try turning off the “double tap to wake up” touch option – which seemed to improve things for me). Apparently this is a known issue and Nokia are working on it.

I had to get new nano-sim to replace the micro-sim that I was using before. This cost me ten pounds at the EE store, but they did throw in a sim adapter which means that I can use the new nano-sim in older devices. There are instructions on the interwebs for converting a micro-sim into the nano size, but these scared me a bit as they involve sanding down the card to make it thinner. And of course if I got that bit wrong I could have wrecked the sim and probably got it stuck in the new phone.

Each time the phone is powered on it presents me with an Access Point choice screen which I don’t really need, but this is probably to do with the fact that I’m using an unlocked phone on the “wrong” network.

If it worked with a Bluetooth keyboard (which at the moment fails to pair) it would be completely awesome as a portable productivity device. I really hope that becomes available at some point in the future.

As of now I love the device. Having the extra column of tiles on the start screen means that I can get to pretty much any of my applications without scrolling. I’ve not found the size a problem yet, although I’ve not carried it around too much as I’m still waiting on that case…..

Nintendo are going to be just fine

image

Some people are worried about Nintendo. With sales of the Wii U a bit flat and Sony and Microsoft releasing consoles that appear technically more advanced you might be forgiven for worrying about the future of the home of Mario.

I’m not that concerned though. Because Nintendo are still producing great games. Over the holiday I had a chance to play Super Mario 3D World and it is lovely. And today we had a bunch of folks round and spent a happy time playing with Nintendoland. 

For attention to detail and sheer fun appeal the Nintendo brand is pretty hard to beat and I reckon this should see them in good stead for the future.

The Hobbit: The Desolation of Smaug

image

There are two kinds of trilogies. There are the ones where the first film is a smashing success and they have to build it out a bit, like Back to the Future, Indiana Jones or, ahem, Star Wars. Then there are films that are naturally structured that way, for example Lord of the Rings (and probably the Girl with the Dragon Tattoo when they get round to it). 

The Hobbit would have made a really successful single film. It is a rather thin book and there is plenty to sustain a hundred action packed minutes. But one film means one ticket sale. So it is now a trilogy. The first film did a good job of setting up the characters. The job of the second film is to get them into a horrible mess and the third film will hopefully tie everything together. The good news is that “The Desolation of Smaug” does a good job as the second film.

It is a bit on the long side, but manages to pack in plenty of action, character development and even a bit of romance.  And it leaves things balanced on a cliff-hanger that will have us all go back and buy the third ticket to find how it ends.

Everyone gets into their role with gusto, although Gandalf the Grey seems a bit tired this time out, which is not surprising I suppose as he is quite literally old before his time in this outing of the franchise.

If you enjoyed any of the earlier films you will love this one. It has all you would expect, including helicopter shots of earnest warriors of difference sizes striding over hill tops and running through caverns and over stone bridges with no handrails.

Laser Cutter Purchase Chicken

image

Ian came around today and we played a kind of “dangerous purchase chicken”, each trying to persuade the other that what we really need in our lives is a laser cutting machine. Turns out you can get these from ebay for a few hundred pounds, which for a device with a 40 watt C02 laser is actually amazing value we reckon.

The one we looked at can cut paper, card, leather and most other non-metallic materials. Including fingers and thumbs I suppose. The vendor page shows a video of the machine happily burning through card, with the lid wide open and presumably all the safety interlocks (which I hope it has) turned off.

It would be nice to be able to precisely cut plastic parts and the device might be a nice complement to Una the 3D printer. But bearing in mind that the thing is water cooled and needs a hole cutting in the wall to install the vent that gets rid of all the nasty smoke,  I think I’ll pass for now.

Donald Fagen and Lego Minifigures

image

I got a couple of great books for Christmas. It’s really nice when you get things that you like, but didn’t know existed until you pull off the wrapping paper. First up was Donald Fagen, Eminent Hipsters. I’ve been a fan of Steely Dan since forever. They make west coast sounding jazz/rock that number one wife says sounds like “Middle of the Road Music”. Whatever. I think they are great and they are still writing and touring despite being in their mid sixties.

The driving force behind the group, Donald Fagen and Walter Becker, studied English Lit. as students and this really comes out in their lyrics and sleeve notes. And now Donald Fagen has published a collection of essays and notes with stories from his childhood, growing up as a jazz geek before the word geek became respectable, and also charting the trials of being a rock star on the road, jetting between five star hotels and sell out concert venues.

You won’t get much insight into the lyrics of the songs they’ve written, and to be honest Mr Fagen sounds like a bit of a grump from time to time. But he really can turn out a splendid phrase or two. A good read if you like well written prose. A truly great read if you follow the band.

image

When we go up town shopping I usually end up buying everyone a Lego minifigure. As if our house is short of bits of coloured plastic that are hard to dust. Anyhoo, they are fun to put together and always nicely themed.

It turns out that you can get a book about them. Now, I realise that what we have here is really just a brochure/catalogue/marketing thing that is probably a cynical ploy by a steel-hearted multi-national company bent on getting us to buy more bits of coloured plastic from them. But I like the pictures. And I like looking at the images and getting the “I’ve got one of them….” And you do get some more minifigures with the book as well……

Mending Glasses with Heat Shrink Tubing

image

.. and you get to play with things that look a bit like ray guns….

My glasses fell apart a while back and up until now I’ve been making use of duct tape to hold them together. This works but it is not great from an elegance point of view. So I’ve got hold of some heat shrink tubing and now I’m using that. The repair is much stronger, and unless you know to look, much harder to spot.

Heat shrink tubing is wonderful. It is just strong plastic tubing that you can buy in different diameters. And when you heat it up it, well, er, shrinks, tightly gripping what ever it has been slid over.

It’s best to use a heat gun like the one above, although you can use a hair dryer at a pinch. If you are serious about building your own electronics you should definitely make use of the stuff, particularly when you are soldering wires onto connectors. It provides a strong physical support for the connection and also insulates pins from each other.

Me, I’m now saving for the huge expense of getting another pair of specs.

Christmas Coup

image
I think she looks quite seasonal. What with those Christmas lights across her nose….

We had a great Christmas. I hope you did too. We rounded off the whole splendid day with a bit of theft, assassination and insurrection. As you do.

We played Coup. It is from the Resistance family of games and contains a similar mix of bluff, lies and downright nastiness. The game lasts only a few minutes each, which is nice because when you get assassinated by your nearest and dearest you can start plotting for the next round….

Shower of no power

image

Here’s a Christmas Riddle for you: “When is a shower not a shower?” The answer, at least in our house, is “At 7:35 am this morning” when number one wife turned the dial and nothing happened.

Truly, there is no better way of starting the week before Christmas, with guests arriving who will presumably be expecting bathing facilities, than by standing in the bath wearing your pyjamas and dismantling a shower unit. The hope was that it was just blocked. The fear (which was actually more of a certainty if I’m honest) was that something inside (probably the outlet valve) was bust.

Turned out that my fears were justified. However, thanks to the power of the internet, a bunch of calling round and the services of a very obliging plumber, we had the replacement in and working by the end of the day. All it meant was that I was a bit poorer,

Getting Windows Phone App Reviews

image

One thing that will encourage potential users of your application is good reviews. However, users are not that inclined to give good reviews to programs, even when they got them for free and have used them many times.

Lee Stott did a great little blog post a while back that shows how to add a review facility to your application. It is very sensibly designed, in that it only nags once, after ten uses of the program, so it doesn’t become a pain for the user.

You could also use the same technique to add timed release behaviours to your application, so that it could suggest new things to do over time.

Steve Jobs Biography

image

Steve Jobs was not a particularly nice person by all accounts. I’ve never had much time for folks who are horrible to other people and then claim they do this  “just because they are that way”. But he did make a lot of things. I’ve been working my way through his biography over the last few weeks and it is fascinating.

For me the best bits are at the beginning, when he and Steve Wozniak rode the personal computer wave and built a huge company from nothing. Towards the end the story turns into a succession of product meetings and multi-million dollar deals but it is a great read nonetheless.