Addicted to Code
/I’ve spent today writing code. And that’s pretty much all I’ve done. And, to be honest, I don’t see this as a bad thing.
Rob Miles on the web. Also available in Real Life (tm)
I’ve spent today writing code. And that’s pretty much all I’ve done. And, to be honest, I don’t see this as a bad thing.
I had to go for an eye test. I really wanted to do this as a comedy routine, but my nerve failed:
Doctor: ‘Have your eyes ever been checked?’
Me: ‘No. They’ve always been blue.’
Doctor: ‘I don’t find that very funny.’
Me: ‘Well, I do know lots of cornea jokes….’
Anyhoo, all was well. They are not going to have to shoot any lasers at my exploding eyeballs, which has got to be a good thing.
Big thanks to all the folks at the Eye Clinic in Hull who were professional, efficient and totally awesome.
The coloured fountains in Hull city centre look lovely.
Every now and then I get to do the newspaper review for the Radio Humberside breakfast show. It means getting up at stupid o’clock in the morning but it is rather fun. We talked about a bunch of things, including Air Quality, which was actually in the news today. Apparently the air in London Underground tunnels contains dangerously high levels of particulates (just the things we are measuring with the sensors that we are building at Connected Humber). According to the standards that we’ve been using, things get unhealthy when an indicator value we are measuring goes above 60 or so. The values they are seeing in the deepest stations are around 450….
The bit that took my breath away (really) was that someone actually said something like “Although the levels are high, it doesn’t matter because people don’t spend a lot of time on the tube”. Unless, of course you happen to drive a train or work in the station…..
Today I went for my induction at the Hull Makerspace and paid up for my first month of membership. I’m rather pleased that my recent financial shenanigans mean that I’ve actually saved the monthly membership fee before I spend it, which must be a first for me.
The induction session set out how they see the Makerspace working and I’m really keen to get in there and play with stuff.
My ambition is to have used every single machine in the Makerspace by the end of the year. This means that I’m going to have to have a go at making pottery and using the scary lathe and CNC machines as well as laser cutting.
Looking forward to it.
This is important information that I use once a year. But what is it?
Update: some of the figures are a bit hard to read, sorry about that. The sequence is:
AA, BB, Z9, CC, DD, EE, Y5, FF
The values are not hex codes, it’s nothing to do with colours and everything to do with Christmas. There’s a big clue in my blog post here.
I’ve made a new screencast. This one is all about the use of Azure Functions with IoT devices. I find it quite magical that I can press a button (in this case the Joke Button above) and have a function run in the cloud in response to that action. And the code to make it work is tiny. Find out how it works and how to get started in the video.
Sometimes the old solutions are the best. In this case the solution is “Turn it off and then on again”. I’m using a BME280 temperature, pressure and humidity sensor in the air quality monitor that I’m building. It works well, except sometimes, when it refuses to say hello when it starts up.
This has caused a certain amount of head-scratching. However, after a while I worked out that it only misbehaved after I had downloaded some code into the device. It’s as if it doesn’t like being woken up twice once it has been powered up.
Now if it gets stuck I just unplug the device and plug it back in. It’s something to be born in mind when you can’t get something to work.
I have a special category in my work (particularly with hardware) called “Things you do to make it work but you don’t know why”. This is another one.
I’ve been saying for ages that Hull needs a Makerspace. And now we’ve got one. And it’s bigger and better than my wildest dreams. It’s in the library in the middle of town and it is packed with equipment and expertise in equal measure. Membership costs 20 pounds a month (which it turns out I’ve already raised thanks to my last two financial deals) and gives you access to valuable machinery and tuition.
I’m looking forward to making robots, air quality sensors and daft lights among other things. You can sign up here for an induction session that will get you stared making.
I’ve just changed to a new contract for my home networking. The speed goes up, the amount of data stays the same and the price drops by eleven pounds a month.
What’s not to love?
If you’re in Hull you really should take a look here and see if there is something cheaper that you can change to. Hull is already one of the best connected cities in the world, it’s nice to see it getting cheaper as well.
Old joke: “They say that money talks. The only thing it says to me is ‘Goodbye’”.
However, these days it doesn’t even do that. When Netflix (or a host of other subscription services) take their fees from my account they do so invisibly. The only way that I know that it has happened is by carefully checking my statements to find out why the balance value is dropping.
Today I found that a service I thought I’d cancelled ages ago has been racking up these “stealth charges”. Of course it’s my fault for misunderstanding what I was paying for, but if I’d had regular emails each time that the fee was paid I’d have spotted the rogue transactions much earlier.
It’s as if they don’t want to tell you when they take money in case you notice and cancel something…..
I reckon that a service provider should be forced to send you an email or a text each time they take your cash off you. These companies seem happy enough to send me emails advertising new things I can buy from them, it would be rather nice if they also told me when I had bought something.
We’ve got a tradition of going out to the seaside on New Year’s day. We didn’t do it last year, but this year the weather was so nice that we couldn’t resist it. So we headed down to Hornsea to see the sea. We managed to make the morning perfect by finding the Hornsea Floral Hall, where they were serving bacon butties.
The thing about a bacon sandwich is that once you’ve heard someone mention one, you really want one for yourself. The chap in the queue in front of us ordered a buttie and so we of course had to follow suit. It was really really nice.
What a great way to start 2019.
As the year ends it is time to think about new year resolutions. One of mine is that I’m not going to make the very old joke about getting a different computer monitor.
The other is to try to be a bit more assertive in the new year, or at least to stop apologising when cashiers in shops ask me “Do you have a loyalty card?” when I try to buy something. Up until now I’ve always said “Sorry, I’m afraid not”. From now on I’m just going to say "no”. That’ll make a difference to my life, no doubt.
I’d like to wish all (or is that both) my readers the very best of times in 2019 and beyond.
May your code always compile and your solder always stick.
A couple of days ago we went to see “Spider-Man: Into the Spider-Verse”. It’s really, really, good. You should go and see it. A light touch, a strong story and some amazing graphics. Spiderman as you’ve never seem him. In many different ways.
I was very upset to discover today that a shop in Cottingham (where I live - the village not the shop) has taken away their “Invisible hearing aids - 475 pounds a pair” sign. I really wanted to get a photograph of that sign.
The way I see it, advertising things like this is fraught with fraud potential.
“I say, there’s only one hearing aid in this box”
"That’s because the other one is switched on”
.. and so on.
They’ve now have a sign that that says “Free Eye Tests”. I can see fraud potential here too:
“We’ve done your test, that will be fifty pounds please”
”Hang on, the sign says that you do eye tests for free”
”Ah yes we do, but the charge is for testing the other eye. That costs fifty pounds….”
Sometimes I consider myself a great loss to the world of commerce.
We went to what was supposed to be the sales today. But we didn’t find much that was worthy of the “sale” label. I think every reduction that could have been applied to the prices had already been applied.
As part of our Christmas present, number one daughter organised a trip to an escape room in Hull. This was a room with a difference. It turns out that there is no problem escaping, you can leave the bank at any time. But, you’ll want to take away a few souvenirs in the form of wads of cash, gems etc etc.
The puzzle was a very good mock up of a bank branch (remember them), even down to the pens chained to the desk. And there was a strong room, and things containing money and clues in equal measure. I’m not going to tell you much about the puzzles, except that they are fun and the whole thing works very well to build tension during the hour you spend trying to get your hands on as much loot as possible.
We did OK, and each of us got a cheque for our share of the take. You can see mine above. It’s lovely to have these kinds of things in Hull. If you fancy a fun and challenging trip out I can strongly recommend it.
Today I got to open up the box and start work on my big Christmas Present. It’s a lovely big Lego Truck.
I must confess that I bought it for me when I saw it at an amazing discount on Amazon. It’s the biggest build that I’ve ever done. And I’m having big fun.
Happy Christmas one and all.
Well, the lights have stayed up for another day. I think they’ve reached “Peak Sag”. I’m rather pleased with how well they work. It’s basically a one dimensional particle system with particles that change size and position. I’ll post the code on GitHub at some point.
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.