My first time using the SLANG interpreter to solve an Advent of Code problem. I think it went pretty well, for testing on small inputs it's definitely a win compared to wasting time running the compiler.
I found quite a handful of bugs in assorted system utilities today.
Also I managed to stuff up the video recording so there are a couple of sections where the video freezes up. I think the problem in the first case is that I had been browsing the web while waiting for the input files to get sorted, so the terminal window that OBS was recording was not focused, so it wasn't bothering to update. And in the second case I think my screen was locked, so again the terminal window was not focused. Not completely sure. For future I'll try to keep OBS visible so that I can check it is working. ... https://www.youtube.com/watch?v=74K00OIcAWA
Shit video quality, but it works. Printed in PLA. There's a wire on each side, and a thick wire through the springy bit. When you press the switch the thick wire forms a connection between the other 2 wires. A problem with this design is that sometimes the thick wire only touches 1 of the other wires. You get the tactile feedback that the switch is closed, but it isn't fully closed yet and you still need to press harder.
My eventual plan is to produce a working keyboard switch and then print lots and make a keyboard with them.
...
https://www.youtube.com/watch?v=m2ko-DP1m60
It looks like the normals are 90 degrees away from where they should be? And some are flipped? Can't really tell what's going on. I have tried playing with the glTF export options and nothing makes a difference, except if I disable normals then everything is the same colour and the lighting has no effect.
...
https://www.youtube.com/watch?v=ddcp-tkYOME
SCAMP is now fast enough and stable enough that it can run the text editor and the compiler on real hardware.
It's still pretty slow but there is a bit of low-hanging performance fruit. In particular the clock speed is currently limited by what is convenient to generate on the Arduino rather than by any limitation of the SCAMP hardware, so I expect I should have no problems clocking it higher. Also lots of the I/O code is bad (no userspace buffering, i.e. a full round-trip through the kernel for every single character).
But progress is being made, and it pretty clearly all works, which is the main thing I was concerned about.
SCAMP is a 16-bit homebrew CPU. You can read more about it on https://github.com/jes/scamp-cpu or https://incoherency.co.uk/blog/tags/cpu.html
...
https://www.youtube.com/watch?v=4sBB0iD6XvI
I didn't tighten the chuck enough on the first attempt, so the ring came loose.
I did a second attempt on the same ring, which worked really well!
Some of the letters are duplicated because of the false start, and the text is distorted because the plastic is too flexible. I just need to remake the hook part in metal to make it stiffer and I think I'll be there.
...
https://www.youtube.com/watch?v=wkiZHVjJCKY
This is a hand-soldered 8x8 LED matrix in a 3D printed housing, driven by an Arduino Uno and a MAX7219.
...
https://www.youtube.com/watch?v=-HcQigWqp_4