Given the pip

When is a dishwasher not a dishwasher? In our house it’s around half past three in the afternoon when you open the thing and find lots of plates still with food still attached. Very much a first world problem, but still a bit irritating.

Today I thought I’d have a go at fixing it, just in time for Christmas next year. Or something. I took off the “spinny things that spray water” - I’m sure that’s their proper name - and had a look a them. Turned out that one had filled itself up with lemon pips. These had escaped from gin and tonic glasses and found their way into the pipework, ending up in a position to block the water flow into the jets which clean the plates.

There’s a pro-tip here. If your dishwasher isn’t a dishwasher, make sure that nothing is blocking the flow. In theory there are filters to stop this kind of thing happening but as we all know, theory and reality are not always the same thing.

Slow Flash Sync on Christmas Eve

I’ve spotted at least two chocolate decorations..

Apparently “slow flash sync” is all the rage this year. You take a long exposure giving time for the lights in your picture to show up in the image and maybe wave the camera around a bit. Then, at the end of that you take a flash photograph, which lights up everything else in the picture and freezes it. Qute fun.

Things in Rings

I forgot to take a picture of the board when we played this on Monday night

Venn Diagrams were invented in Hull. Sort of. If you don’t know what a Venn diagram is, then this game will teach you. If you don’t care what a Venn diagram is, then perhaps this is not for you. Things in Rings gives one person (the “knower”) knowledge of a particular word structure (perhaps “contains the letter R”), attribute (perhaps “heavier than a cat”) and context (perhaps “things you can find in my house”). The rest of the players have to discover by experimentation what the three things are. They do this by placing things from their hands (nicely drawn cards that they draw from their hands) into a Venn diagram made with three string loops. The “armchair” went in the middle (because it contains an r, is heavier than a cat, and you can find them at home). There’s also a category for “Nothing” which is where you’d put something like a museum - which doesn’t match any category.

If you place a thing right it stays there. If you place a thing wrong the “knower” puts it in the right place and you get another card. The knower takes a turn along with everyone else, and tries to pick things which will help the group work out what is going on. If everyone gets rid of all their cards everyone wins. If the knower runs out of cards before this happens, everyone loses.

Gameplay is not competitive - which some players might miss. However it is great fun and can lead to some very interesting discussions about the nature of stuff. You don’t have to guess exactly what the rules are. You just have to have a working knowledge that lets you get rid of your cards. It’s a great icebreaker and we rather enjoyed it.

Tacta is a fun tactical card game

Currently working on a dot counter for the scores….

Tacta is a nice little tactical card game for up to six players. We played it this evening. You place your cards so that they fit into matching areas on cards that have already been placed. The aim is to have as many of “your” spots showing as possible. The game is supposed to take 20 minutes (according to the box) but we managed to make it last a lot longer than that, which a plenty of tactical scheming and debate over whether or not a card was over the edge of the table….

Mining for Games

Next thing to do is make a box.

Number One Son is visiting us for Christmas and, as usual, he has brought a few toys for us to play with, starting with a PlayStation 5 APU-based BC-250 crypto mining board. He picked this up for a very good price from AliExpress (although they seem to be getting a bit more expensive now). The board was built for a life in a rack of servers mining crypto coins, but now they are appearing on the second hand market. They need a bit of work to get going, you’ll need to find a power supply, an SSD and a suitable fan, but once you’ve done that you end up with a machine that will run Steam games at a fair old speed. It’s not quite PlayStation 5, more like PlayStation 4.5, but it is very useable and a great way to get into higher performance games or as something powerful to pop under the telly. You can find out more here.

Bug in the C# Yellow Book

Phiko even sent a diagram explaining the mistake

My C# Yellow Book has been out for a while. I still get emails every now and then with corrections to the text. Phiko got in touch last week about an error that nobody else has spotted. At the start of the book we write a program which works out the amount of wood and glass required to create a window. It contains the statements:

glass area = width of window * height of window
wood length = (width of window + height of window) * 2

Phiko explained that this is wrong, because the length of the wood required must include enough to make the corners of the frame. So, to work out the correct length you also need to factor in the width of the wood too. This all goes to show the importance of testing. If I’d actually tried to make a window using the amount of wood calculated by the code, I’d have found the problem immediately. I think Phiko has a great future as a developer. Well done. I’m going to update the example in the next version of the book.

Fun with Banana Camera Images

You’d think I’d look more pleased

Well, I’ve got my camera capture working for the Nano Banana camera. I’m not using the same display as the original, so I’ve had to write the display driver from scratch which has been great fun.

At the moment the captured images look fine (see above) but the lcd viewfinder display is a bit of a mess. But I think I’ve done enough for this evening.

Sticky Keys

Here’s a lifestyle tip for all (both) my readers. Don’t use a key to slice through the tape on a package and then immediately try to use the same key to open the door. Slicing through tape can deposit a bunch of sticky stuff onto the key which then ends up in the lock.

I spotted the gluey residue just in time. No damage was done. Second lifestyle tip is to rub a lead pencil up and down the business end of a key a few times. This deposits a layer of graphite on the key which will find its way into the lock mechanism and make it work much more smoothly. Make sure your pencil is a lead one though, this doesn’t work with crayons.

Mixed Franchises in Flight Simulator 2024

There’s a new experience available in Flight Simulator 2024. The Stranger Things add-in lets you take on missions tied to the TV show. It’s a single player thing, which is a bit sad as I quite fancied three of us all going for a flight in the upside down. However, the experience does come with a really nice Huey helicopter from the show which is great fun to fly. We got together tonight and took it around the Jurassic World plugin landscape which was great fun.

Pro tip: If you get in the Huey and it won’t do anything much the trick is to take off, climb a few feet and then crash as soon as you can. When you get put back in the air you should find that the collective is now properly bound to the throttle which makes it much easier to fly.

Tips for using ChatGPT to create code

I’ve written a few lines of code with ChatGPT now. Here are my tips.

  • Start with the most detail about the problem that you can. I’ve actually found that this is a great way to solve a problem whether you use ChatGPT or not - because it forces you to think hard about what you want it to make.

  • Don’t let ChatGPT add complication. It frequently suggests writing more code (for example processing the output of a method rather than changing what the method does).

  • Show ChatGPT the exact error that you got by pasting it into the conversation.

  • Ask ChatGPT to write your documentation too. If you ask it specifically, it will generate markdown files that you can download straight into your project. This works really well. Explain what kind of documentation you want, and the audience it is for.

  • Make a ChatGPT project and upload the source code into the project once you’ve got it mostly working. Then you can refer back to it directly later. Add documents too, especially ones that ChatGPT has written for you that need to be updated as you add functionality.

  • Try very hard not to let ChatGPT rewrite you entire program. When it does this the names of variables may change (filename will become file or name) and changes that you specifically requested earlier may well be omitted. Instead, ask for a set of step-by-step changes and additions that you can work through with it. This helps you build understanding of what ChatGPT is making for you.

  • Tell ChatGPT which bits you want to make first, and just make those. Then put the partially completed files in the project (see above) for it to work on.

  • If it does something that feels wrong, call it out. Best case you’ll get a good explanation of why it is working that way. Worst case you’ll find it has missed something. Which leads to….

  • Don’t assume that the emphatic way that it explains things means it knows what it’s doing. I’ve caught it making the most amazing howlers and heading off in really strange directions.

  • Don’t get upset when you are debugging code that it has written and it starts referring to the code as yours…..

Apple TV Foundation has suddenly got good

When Apple announced that they were making a TV series based on the Isaac Asimov Foundation books I was very pleased. I was less pleased when I actually watched it though, as it seemed ponderous, very full of itself and not that tied into the books I remembered enjoying. The second season was a bit better, although it still seemed to get bogged down with digressions I could do without. But the third season is a stormer. Fast moving action, a terrifyingly convincing baddie and some nice takes on the third volume of the series make it well worth a look.

Christmas Hardware Meetup

Underneath the picture is a breadboard with a PICO and a very old led plugged into it.

We had a select gathering at the Hardware Meetup tonight, but it was no less fun. There were a few entries into the “Christmas Lights” competition. I think the best lights came from Ian, in the form of the above, which not only involved considerable reindeer research, but also proper operation of a hole punch. Ross had brought a set of led panels from his amazing self-playing piano project and spent a while getting AI to develop a nice range of displays.

Animated coloured raindrops version 1

What you get if the AI doesn’t know exactly how your leds are wired.

Lots of fun, plenty of tech talk and even a chocolate or two. We’ll not be having a Meetup in two weeks on 24th December, what with it being Christmas Eve. Wonderful though meetups are, it is very likely that folks will have better things to do at that time. At least, I really hope they do. The next meetup will be on 7th January in 2026.