Playlist Editor

Behold. After a couple of hour's work we have the first version of an M3U compatible (yeah - right)  playlist generator. You point it at a device full of audio files and you can select tracks for inclusion in a playlist you can then save. I love using Visual Studio and C# to put useful things together quickly.

Next step is to have a crack at decoding the track information so I can select music by genre.

The Mysterious M3U File Format

The music player in my car is quite good. I can plug in a memory card and load up a whole bunch of music. The player interface also talks enticingly about "playlists", but I don't seem to have any and there seems no way in the car to create them.

So I do some digging. After a bit of searching I discover that the car will accept playlists in the "M3U" format. This format can be exported from some music players and you can also find programs that will create M3U files. Which is useful.

But, me being me, I fancy writing my own M3U file generation program. So I do some more digging. It turns out that the format of an M3U file is a list of tracks in a text file.

That's it. No cunning schemas or encoding techniques. Just a list of names. The only fiddly bit is in the file extension which I think needs to be m3u for non-Unicode and m3u8 if the text is UTF-8 encoded. You can make it more complicated by adding directives (there's a good description here) but it turns out that I can start making these exotic sounding files with just notepad. I'm going to have a go tomorrow.

There's a lesson here folks, which is that in the Wonderful World of Computers(tm) it is quite frequently the case that something horribly complex sounding will actually turn out to be quite simple. Don't work on the basis that "it will always be too hard for me to understand". Every now and then something is as simple as the simplest thing it could be.

Misty Morning at c4di

Got up bright and early to go and work down at c4di today. I've got all my robots set up there now (they've got plenty of space, which is nice) and I wanted to work on remote configuration of robot settings.

I was up so bright and early that the car was actually frozen solid. And as I drove into town a clear bright morning turned into something a bit foggy. But this did make for some nice photographs when the mist cleared a bit. 

Some seagulls 

c4di looking shiny

Light Pipes and Off Roading

I've been experimenting with some wheels I found on a different, lessor, robot. They are about the right size, and they give a Hull Pixelbot a nice "off-road" feel. They make turning a bit more difficult though, as the thick tyres are very grippy. 

I've also been playing with printing "light pipes" inside the shade for the pixels. The idea is to give better defined points for a camera to track the position and orientation of the robot. But I think the results are quite artistic too. 

Hull Pixelbot Seminar Fun

I've not taken an audience picture for a while.

And it shows.

Anyhoo, I gave my Hull Pixelbot seminar today. Great fun (at least I enjoyed it). Most everything worked and we had some great discussions about games involving the robots.

You can find the slide deck here.

I'm feverishly writing the howto guides and getting the software ready for the "big upload" on Friday.

It was great to see everyone, they do have lovely audiences at Hull.

HullPixelbot Fridge Magnets

I've spent a chunk of the weekend printing Hull Pixelbot fridge magnets. I just took the logo and fed it into Cura (the slicing program that I use for Una, my 3D printer) and after a bit of fiddling I managed to get a 3D object that works quite well.

Once printed I just have to rub a black marker pen over the 3D text to make the letters stand out. Although I wasn't as careful as I should have been, which has made them a bit smudged. Perhaps I can print a little mask to put over the text when I ink it.

Anyhoo, the magnets will be going on sale soon in aid of Comic Relief. I'm doing a lecture in rhyme again this year all about robots, accompanied by a bunch of dancing Hull Pixelbots.

Oh, and if you are in the university on Wednesday I'm also doing a Hull Pixelbot seminar thee too.

Must see Hull: Hepworth's Arcade and Trinity Market

If you're from Hull and you haven't been to Trinity Market in a while, then go.

If you're not from Hull, but you find yourself in our excellent city for one of our awesome City of Culture events, then go to Trinity Market.

It's down the end of Whitefriar Gate. You can get to it from Hepworth's Arcade or from the street. It's got all kinds of interesting stores and shops in there. Along with the staples like meat, fruit and sweeties (and, er, staples), it's also got a whole bunch of boutiques and an amazing vinyl store selling records that I actually own. There are quite a few places you can get a bit to eat too.

And in Hepworth's Arcade you've got Fanthorpes, a proper HiFi shop, and also a really good, traditional joke shop.

 

If you're a student wanting to show mum and dad some local colour then you could take them along.

If you are just in the market for something interesting you should definitely go take a look.

Proper Cooking with Rob

I've been told that my first cooking recipe, Bananas and Custard, isn't actually a recipe. It's more of a serving suggestion. Huh.

Anyhoo, I'm going to keep going.  This is one of my favourite meals. It's a proper recipe with more than two ingredients. And things to do.  It is what I call "zero effort cooking". We have it quite a lot. Number one wife is very tolerant.

Sausage and Potato Surprise with Beans

Ingredients

  • Two low fat sausages each. You can go for full fat if you like. It's your body.
  • One baking potato each. Not too big. Just handy throwing size.
  • One tin of baked beans. To share. Vary the size of the tin according to the number of diners. Or get more than one tin. That would work too.

Method

  1. Start doing this around an hour and twenty minutes before you actually want to eat: Turn the oven on at 200 degrees or the gas equivalent. Which is definitely not 200. Wash the potatoes and then use a fork to make a few holes in each. Use the pointy ends of the fork, otherwise it is very hard work. Put the potatoes on a shelf in the oven.
  2. Start doing this around half an hour before you actually want to eat: Take the sausages and stick a different fork into those a few times. I'm pretty sure that this is required. Otherwise I think they explode or something. If you are the kind of person who enjoys sticking forks into things you're having a great time by now, and you haven't even eaten anything yet. Put the sausages in a baking tray and put them in the oven with the potatoes. Do not cook the sausages straight from frozen, unless you want to revisit all the meals you've had over the last day or so.
  3. Start doing this around 5 minutes before you actually want to eat: Open the can of beans, drop them in a pan and try to heat them up without boiling them. The true flavour of the baked bean is very delicate and can be somewhat impacted by being burnt onto the bottom of the pan. Number one wife has been known to fry an egg at this point, but I think this spoils the purity of the meal. And besides, the yolks on mine always break.
  4. Start doing this when you want to eat: Serve everything up. Add butter to the potatoes to taste, and I'm a big fan of the Heinz Hot Tomato Ketchup. Note to reader: Heinz are not sponsoring this article. I wish.

Serving Suggestion

  1. I don't know, you could give the meal a frontier air by wearing a bandana and dishing out the beans while holding a knife between your teeth.  Or perhaps wear a cowboy hat and prop a Winchester repeating rifle up against the table.
  2. Oh, and if you are wondering where the surprise is, try shouting "Booo!" as you put the sausages on the plate. Then again, it tastes as good without this.

Ramshacke Rock is back in Groove

Some time back I was bemoaning the way that the "Ramshackle Rock" playlist had vanished from Groove. Well, it's back.

I've now got a mental picture of boffins at Microsoft nervously scanning my blog and then rushing down the corridors to their machines so that they can put right any wrongs that I've noticed. But then again, that's probably not how it works.

But I do like the curated playlists in Groove. Unfortunately, owing to the vagaries of Bayesian logic (which is how I think these things work - you can find a nice description here), I'm not getting exactly the same tracks as last time. But they are all suitable ramshackle.

And, as a major plus, you now have the option to save the playlist for future use. Excellent.

Make a name by making stuff

Been getting some lovely emails over the last few days from people who have been reading my books, learning to program, and trying to make it "big in this business". The question seems to be "How do I get into programming/game development?". Here's one of my replies:

"It turns out that the best way to become a Game Developer is develop games.

Just have a simple (and keep it simple) idea for something and try to make it work. Take a look at the games that are in your books and see if you can modify them to behave differently. Change the images, make them do something different and then go from there.

I'd also advise you to get involved in things like Game Jams, where you can team up with other people and get help. That gets you feedback too. Global Gamejam has just been and gone, but anything like that (there might be some locally) are a good idea. 

If you can't find a gamejam, hold your own. Get some friends together and try to build a game over a weekend. Start with something simple that works and see where you go. And if you start blogging about what you are doing, helping other people and taking part in forums you'll get to know other developers and also start to make a name for yourself.

It will be a lot of hard work and you will need to be very persistent, but I know it can be done because I've seen people do it. "