October 10, 2020

Finally got the first comments submitted to this blog and.. they’re spam by bots. Oh well! If you fancy leaving a real comment, feel free.

Today I had much of the day to myself as the family went to Mrs C’s parents for dinner and due to the “Rule of Six” I get to stay at home. I used this time getting a few chapters into Introduction to Algorithms by Cormen, Leiserson, Rivest and Stein, a somewhat intimidating textbook aimed at computer science students, and something that has sat in my library for years.

I’m trying to broaden my horizons somewhat more lately and while I have read quite a few academic papers in my time, I’ve never really slugged through a textbook of this size in the CS space due to all the mathematics I’d need to pick up.

To be honest, I needn’t have worried so much. Despite being a famously long textbook, Algorithms doesn’t just dump you into a land of mathematical equations and symbols but explains most of what it’s trying to say in plain English first. Luckily the first few chapters have mostly covered things I’m already familiar with:

  • The basics of algorithm efficiency
  • Loop invariants
  • Insertion sort and proving the correctness of an implementation
  • Analyzing the run-time of an algorithm
  • Calculating worst case and average case running times
  • Considering the growth of running time in terms of asymptotes
  • Incremental vs divide-and-conquer algorithms
  • Recurrence (not a concept I had considered academically before, but basically the idea of recursive complexity)
  • O(n) vs Ω(n) vs Θ(n) – was familiar with the first but filling in the gaps was useful here. O provides an asymptotic upper bound, Ω the lower, and Θ is for more generally referring to non-asymptotic running time which lies, beyond some point, between two constants, such as k1 and k2 here:

I’ve paused at chapter 4 where we begin to analyze a maximum-subarray problem as all of the above was more than enough for an afternoon.

Later in the evening I read Bite Size Python by April Speight which I received a few days ago. It’s very much a beginner-focused book and really to people of a younger age at that. Despite knowing most of what was in it, it was fun to browse and work through and I think it’ll be a good introduction to Python for many. I might do a video review going into a little more depth sometime. Furthermore, it’s fantastic to see a programming book by a Black author and I think this is worth supporting as the more voices we have in the programming space, the better things can be.

I also did some experimentation with https://www.nearlyfreespeech.net/ – a host that’s been around offering “pay as you go” hosting since 2002. It’s an unusual host in many ways but if you want to put up a basic Web page somewhere for cheap, its feature set is compelling. I’m using it to explore the ideas of running “serverless” functions in a more primative cgi-bin style environment than modern serverless environments tend to be. Partly as a joke, but.. there may be mileage in it.

October 9, 2020

Friday is my busiest day of the week so I had a lot of newsletters to prepare and get out of the door. It was extra busy because my editorial second in command was having the week off so I had to do a bit more than usual and double check everything myself. Luckily, I survived, and while I still had a bit of a sore head from the migraine (see the previous entry) things generally went OK. Was I glad when the work was over? Heck yes.

The top 100 albums of the 90s challenge continued, and I listened to:

#9 – Beck – Odelay: I’m a Beck fan but Odelay has never really interested me so I was looking forward to actually listening to the entire thing. I enjoyed it but it still isn’t one of my favourite Beck albums. Odelay is a little scatterbrained and all over the place like Beck has all these ideas he wants to get out but has no cohesive way to stitch them together. I like albums that flow and Odelay doesn’t. 7/10

#8 – The Notorious B.I.G. – Ready to Die: I think everyone of a certain age has some familiarity with Biggie. He’s a bit of an unusual character and I’m not entirely convinced that someone who had to sing non-stop about getting laid in the back of limousines was actually getting much at all, but his character is big and bold across every track he’s on. There are a lot of tracks on here with great samples and that just have a neat vibe to them. The only downside is it’s a bit long and gets tiring by the end. 7/10

#7 – Nirvana – In Utero: I’m super familiar with Nevermind but In Utero is an album filled with tracks I know but which I haven’t listened to as an album before. I liked it. I can’t think of a lot to say about it really, but if Nirvana is even vaguely appealing to you, this album is totally fine. 7/10

A solid run all in all with no serious weak spots, but I’m really excited to do number 6 next as it’s Ten by Pearl Jam which is a fantastic album I’m certainly familiar with.