This morning I finally finished the encoding part of the base 64 encoder that I was writing just for fun. It was a lot of fun, it was the first time since I have been programming that I got to do some bit manipulations like shifts and working with hexadecimals. It was a lot simpler than I thought it'd be. Whenever I saw the <<
operator, in my mind it was always some next level stuff. It is. After all that is what is actually happening a few layers down when you program a digital system. It's nice to see below a layer of abstraction, especially when it turns out to be quite fun. Like this was.
I even managed to fix the code in the book I was reading from. At first I was quite lost as some of the outputs were correct but some weren't. Luckily I remembered something I had read before in the Zig documentation which helped me figure out the mistake.
Electronics
Today I received the Rasberry Pi Pico 2 Wireless and a larger breadboard. The first one was quite tiny. I'm still waiting on some resistors which I've ordered, which can't get here soon enough. I know what this weekend is going to look like too. I'm just going to be making some LED's do stuff for now, but soon I want to do more stuff. What that is, I have no idea yet. There a few sensors I've seen which would be cool to tinker with to see what the data from them looks like. It's also a good excuse to write more Zig with MicroZig.
Front Squatting 140Kg
It's been a couple of days since I wrote anything, feels good to be back. Last week a got a new PR for my front squat (140kg), which I'm still recovering from. I've been finding myself quite tired at random times during the day. I might also have hurt my arse which I found out as I was squatting (back squat) on Monday. Usually I start with the bar, then 70, 120 and 150Kg for the working set, but at 150Kg I felt quite unsteady as I was walking away from the rack. It's nothing major but should be back squatting heavy next week. Will be just doing upper body mostly this week.