Discovering New Music Using Spotify and Discogs APIs

Lately I’ve been in the mood for discovering new music. I had mostly been relying on Spotify for this, either looking for new material by bands I already know, or by using the Radio feature, or by searching public playlists. None of these were very satisfactory - I feel like Spotify tends to recommend you the same few bands, even though their library is vast. So I thought, OK, I’ll try searching myself. The genre I’m looking for is Doom metal - a very slow, heavy subgenre of metal with clean and death metal vocals and (of course) gloomy lyrics. I got into it via the “Peaceville Three” - three UK bands who are still my favourite bands today. Anyway, there’s a legendary forum on doom-metal.com which is an excellent source of information. In this case, one forum user had posted an incredibly helpful recap of the best releases from the last decade. Perfect! But how would I know whether they’re on Spotify or not? ...

September 24, 2022 · 4 min · Mike Cartmell

Self-hosting a cloud drive with Rclone

For a long time I had been using Google Drive to store all my important documents. It worked extremely well - always accessible no matter where I was, synced across all my devices, and never had to worry about my files being unavailable or deleted. Ultimately though, it didn’t feel like it was mine, and I didn’t like the idea of depending on Google. When searching for an alternative, I considered full-blown cloud solutions like Nextcloud/ownCloud, but they seemed overly complex to me. Also, I didn’t like the idea of being locked to their product, despite it being open-source. I wanted something simpler. So I thought: how about plain old S3? It’s simple, easy to integrate, works everywhere, and I don’t even need to host anything - so it won’t consume any resources. My main concern about this plan was that the files wouldn’t be encrypted - if someone gained access to my S3 drive they’d get access to my files, and that would be bad. ...

September 17, 2022 · 5 min · Mike Cartmell

Our AI-Assisted Future

Our AI-Assisted Future We are entering a world where we can create any kind of content we can dream of, just by asking an AI (Artificial Intelligence) to make it for us. This isn’t some distant future either - more like within the next 12 months. AI-generated text is basically here already, and it’s practically indistinguishable from human writing. The main limitation is it can only generate small amounts of text at a time, but that’s just a matter of scaling it up. Image generation, too, is already shockingly good. Take a look at Google’s Imagen or OpenAI’s DALL·E 2 that were both announced recently. It has a similar limitation in that the images are limited to low resolution, but again that won’t be the case for long. ...

June 1, 2022 · 3 min · Mike Cartmell

Migrating Perl Projects to Kubernetes

This is the seventh post in a series on Modernizing my Personal Web Projects. I mentioned that one of the goals of this project was to revive some of my older projects that tend to get neglected and stop working. So, I went through my GitHub and found an old Perl project that would be perfect to host again. Read on for my experience with migrating Perl projects to Kubernetes. The project I chose to migrate is gin-rummy-bot, a web-based Gin rummy game and an AI opponent. I became fascinated with Gin while learning poker after coming across the story of Stu Ungar. He had an eidetic memory and won the World Series of Poker main event a record three times. His last win incredibly came sixteen years after his previous win, a feat that will almost certainly never be replicated. But he was also known for being the best Gin rummy player, which he regarded as a more skillful game than Texas Hold’Em. ...

September 13, 2021 · 3 min · Mike Cartmell

Hosting WordPress on Kubernetes

This is the sixth post in a series on Modernizing my Personal Web Projects. In this post I’ll describe my experience of hosting WordPress on Kubernetes for my personal sites. WordPress is a popular free and open-source content management system. It’s often used for blogs and e-commerce sites for its ease of use and vast plugin library. I moved to it myself for my personal blog some time ago because it takes care of all the backend parts that power the site – so I can focus on writing content. ...

September 10, 2021 · 7 min · Mike Cartmell