Just call me gramps...
/Well. I'm now officially, properly, incontrovertibly old. I've just become a grandfather.
Baby Imogen was born last night. We went to see her today and she is awesome. Just awesome.
Rob Miles on the web. Also available in Real Life (tm)
Well. I'm now officially, properly, incontrovertibly old. I've just become a grandfather.
Baby Imogen was born last night. We went to see her today and she is awesome. Just awesome.
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 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.
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
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.
Maybe not a great score. But a great number.
I've just finished uploading a bunch of documentation and software to the HullPixelbot GitHub site. I'm new to this "building a community on GitHub" thing, so please feel free to let me know when/if I do something wrong.
I'm working on a detailed construction document, that will go live soon.
We had the world's largest gathering of Hull Pixelbots today at the c4di. We're trying to come up with a turn based strategy game which uses Hull Pixelbots as pieces. Quite fun.
At the end we loaded a simple "move and turn" program into the robots and turned them loose. Half way through a wheel came off one of the robots. Can you tell which onw?
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.
With apologies to Forza.
I'm giving a seminar tomorrow all about Hull Pixelbots and my plans for the future. If you want to come along, it's at 2:00 in Lecture Theatre D in the Robert Blackburn Building on the University of Hull campus. I'll be bringing a bunch of robots along to show off, including my latest, "Blue Steel".
I love it when I can go from an idea too something that works in a few hours. Now that I've got nine Hull Pixelbots running I thought last night it might be fun to create pixel designs on the PC and then send them to an array of robots.
I'll be releasing this code on Friday this week, along with all the other Hull Pixelbot stuff.
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.
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.
Spent just about all day today building and upgrading my robot army. They've all got distance sensors now and I can remotely send programs into them. At this rate I'm going to need a bigger robot arena.....
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.
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.
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. "
No fair.
I'd like to thank the folks who reversed the order of the connection pins on the latest batch of Arduino Pro-Mini devices that I've bought. It was such fun to spend the best part of the day searching for a fault that wasn't there.....
What do you do when your robots are all broken and nothing works? You get in your new car and go for a drive. That's what.
I really like Forza Horizons 3.....
Rob Miles is technology author and educator who spent many years as a lecturer in Computer Science at the University of Hull. He is also a Microsoft Developer Technologies MVP. He is into technology, teaching and photography. He is the author of the World Famous C# Yellow Book and almost as handsome as he thinks he is.