What I've been up to recently

Hey! Long time no see. Anyway, here's some stuff from the past week or so.

Data Alignment

I watched this talk from the creator of the Zig language. It was pretty nicely done, and introduced some new concepts to me.

What I learnt:

The talk also covers various tricks for reducing the size of your data, because by reducing the size of the data, you can often avoid unecessary padding - and be more likely to fit the data you need into a cache - which can make your programs much faster. The actual techniques didn't really particularly applicable to anything I'm doing right now (JavaScript) - so I didn't pay too much attention here. How ever the tricks include

The topics covered in this talk feel like things that I would know about if I had done a CS degree. I think it would be useful to find a big list of CS topics that I might not know about, and try to understand at least the basics of all of them. If you have such a list please send it my way!

The Beatles

We watched the first part of Peter Jackson's new trilogy The Beatles: Get Back. The first part covers the initial rehearsals/recording sessions of the album Let it Be - which is the only Beatle's album I've ever owned a physical copy of - and one I for some reason really like.

The film is really fun, and inspiring. I love seeing inside the process that artists take, and it seems like for the Beatles a big part of the process is doing funny accents and singing joke songs. Despite the fact that it shows the lead up to the bands break up, they seem to be having a lot of fun. The footage is incredible, and it's just generally really nice that this thing exists. I really recommend this film.

I've also been listening to lots of Beatles songs. They are good.

Weightlifting

I've recently gotten into weightlifting. While I've enjoyed being skinny my whole life, and it has allowed me to be in fashion and cycle up hills quickly, I now feel like it would be fun to be a hunk.

I've previously read Starting Strength by Mark Rippetoe, which is a widely recommended, and much maligned book. It has pretty good explanations of how various lifts work mechanically, but falls down a bit in terms of programming. His suggested routines are considered to be a bit stupid by a lot of people, and his diet suggestions inclide drinking a Galon (however much that is) of milk every day. Anyway, I started doing that program but have just transitioned into GZCLP which I prefer because it has more deadlifts.

I've also started making a web app to track my workouts. It doesn't really work yet.

Hash Maps

I've been learning rust recently, and also getting more interested in the nitty gritty of how data structures are implemented in 'low level' languages. I found a quite nice blogpost here about implementing an open addressing hash map in Java. I thought it would be a fun exercise to implement something similar in Rust. I did, and it works, and it was fun. I'll probably write this up in more depth later.

Christmas Music

Every year I try and release an album of Christmas Music. Every year I start fairly early and it still feels like a rush. Anyway it's started. There is one song done. You can hear the previous one here