Hull CS50 T Shirts - and don't forget to register

Our 50th Anniversary celebration is in two weeks. Time to think about some T shirts… I’ve created a poll in the Announcements thread on the Discord channel for the event. If you fancy a shirt to celebrate the occasion, put a vote in and I’ll set up a way you can get one.

If you are coming next week it will be lovely to see you. We are working on content for the event at the moment. If you’ve not registered you really should do soon, we will be closing registrations soon so that we can finalise the numbers. You can find out more about the event here.

Paparazzi Pan and Tilt Fail

I’m trying to make an old point and shoot camera follow you around the room. I need something to move the camera around. My super-powerful servos arrived today. I thought they might do the moving for me. I designed the little pan and tilt mechanism that you can see above. The tray on the left is where you put the camera. There is a servo behind the tray which does the panning, and the servo on the right does the tilting.

Above you can see how it works. You fit the mechanism on a tripod and put the camera on the tray. And it sort of does the job. The servos are powerful enough to support the camera weight and do the panning and tilting thing. But I don’t like the effect. I had this idea of a camera suspended in the air on a picture and moving from there. And the tilt and pan axes are in different planes, so that the camera moves in a curved path when I don’t want it to. Oh well. Back to the drawing board (or in this case OpenSCAD).

Printers know just when to not work...

Met my MEng project students today. The plan was to impress them with a nicely printed overview of the course content. But the printer had other ideas. For the last few weeks it has been waking up at odd times and emptying its ink tanks so that it won’t work when I need to use it. Cunning stuff.

There was plenty of black ink. But no yellow. The thing I was printing had no yellow in it. But the printer refused to play. The online help referred to a monochrome printing mode you could use in this situation, but of course that didn’t work. My plans to impress were in tatters.

The good news is that I managed to figure it out. If you want to use the monochrome mode properly you need to install the “proper” drivers that you get from Brother, rather than the ones that are installed automatically by Windows 11.

And I’ve ordered some more ink. Should be here tomorrow.

Bye Bye Mr. Cube

he actually looks shinier now than when we bought him.

Sad day today. Said goodbye to “Mr. Cube”. I got him in 2010 and he’s been in the family for the last fourteen years. I’ve very fond memories of my Cube motoring days; one of the nicest cars I’ve ever owned. And he has worn extremely well. But, rather sadly, it is time for a change. If you see him out and about be sure to give him a wave and totally confuse the person driving him.

ChatGPT Exif Update

One of the problems with film photography is that when you scan the film negatives you get an image file that doesn’t contain the metadata (called exif data) giving details of when the photograph was taken, the camera used and whatnot. I’ve found a lovely tool called ExifTool which I can use to set the required values in a image file. But what I really wanted was a little program with a Graphical User Interface that lets me select a folder full of images and then set all the images to the specified camera make and model.

I had a quick chat with ChatGPT and it wrote two programs for me. One in Python and the other in PowerShell. I fired up the Python one and it just worked. It made the menu you can see above, using the TkInter interface. The formatting of the window could use a little work, but the program itself seems to do exactly what I want. All I had to do was describe what I wanted and out popped the code. This is both highly impressive and deeply scary.

I’ve now decided that I don’t want to have to enter the make and model of the camera each time, I want the application to use the folder hierarchy to work out what the name should be (i.e. for the above image I would have a parent folder called Mamiya which contains a subfolder called Mamiya Press 23 Standard in which the image files are stored). I’m going to tell ChatGPT about my idea and then get it to create that instead. When I’ve got it all working I’ll put it on GitHub for anyone who has the same problem as me.