It sucks, you know, not being able to sleep? I find myself awake at the most awkward of hours, staring blankly at the laptop screen. Three nights ago, I went to sleep at 3 AM. Two nights ago, I attempted to go to sleep earlier but was lying in bed unable to, and then I went into a sneezing frenzy ...
Yesterday, there I was, minding my own business, when Facebook "memories" or whatever threw this curveball at me: Turns out it was exactly 5 years ago that I hacked together a small piece of PHP, with a liberal amount of SQL logic thrown in, and it became sort of popular. We're talking a codebase like this: <?php function find3Bus($from, $to) ...
This has been lying in an xcf (GIMP) file on my hard-drive with a last modified date of 03/03/2012, but is probably much older. Instead of completing it using GIMP as I must've originally intended, I shifted it to a vector graphic project due to my current love affair with Inkscape, and finished it off in a few hours today.The ...
Ohhh, I have a blog now? Whoa.So my uni life's ending in a couple of weeks, and things have been hectic. Actually, that's an understatement. But yeah, you always manage to find some time to do the things that really matter, and that's what counts in the end, right? Unless I've been counting wrong all this time, and someone comes ...
In the last part, we added fancy output code, and our output looks like this now: ...which, if you've ever seen a map, isn't what terrain actually looks like. The terrain around peaks tend to be at a similar height, and there is rarely the random patchwork of heights we see here. So let's fix that! But first... Visualise Steps ...
I've been eyeing a graphics tablet for a while now, and on 11.11 there was this gorgeous Gaomon S620 for just $22 (!!!) on AliExpress, an offer I simply couldn't refuse. Well, the tab arrived in the mail today, and I want to share some of my experiments on my first day of digital art! The first few attempts (above) ...
My current work requires keeping track of more than a dozen live websites and making sure that their versions are kept up to date. We have employed a small Go program to make this possible, which enable us to scrape the generator meta tags on the websites and thereby get the version number1. The code is simple and uses ...
The Blog I've written 18 blog posts in 2019, which is below the target I set at the start of the year (two blog posts a month, for a total of 24), but it's progress. In comparison, I wrote only 1 post in 2018.
In the last part, we explored how to set up what was basically a matrix and randomly assign elevation values to it. In this part, I wanted to explore how to deal with assigning values to the elements adjacent to the peaks, and how to display the map to users in a more intuitive way than a bunch of numbers. ...
I haven't gushed about Go much on this blog1, but I thought of writing a small series of posts on a little piece of code I cooked up while I was supposed to be doing other, more important things2. Concept So I was sitting there, zoning out and browsing one of my favourite subreddits, when I thought about how terrain ...
Clean Architecture, simplified. I'm a huge fan of Robert C. Martin's work in general, and Clean Architecture in particular. I'm frequently on the lookout for how to apply it to the different system architectures and frameworks we work with. Which modules should be decoupled? I think the rule is similar to the previous rule: Any module that changes frequently ...
CloudWatch is pretty cool, and looking at a metrics dashboard and setting up alarms is pretty badass—especially when you're not a full-time DevOps and don't have the time to worry about your monitoring solution in addition to the thing it's supposed to look after. If you're running some of your stuff outside AWS (cue gasps), CloudWatch agent is supposed ...
I had been a dog person for as long as I can remember. There was a cat sometime in my early teens or something, but I don't even remember where we buried it after it died.Then, everything changed when the fire nation attacked.Cats—and I can't stress this enough—are selfish bastards. This makes them immediately relatable. They will naturally gravitate towards ...
2020 has been an interesting year musically, so here are some of my favourite music this year. Theo Katzman Vulf wunderkind Theo's album, "Modern Johnny Sings: Songs in the Age of Vibe", has been the talk of the town. Cory Wong Speaking of Vulf alum, Cory's album "Elevator Music for an Elevated Mood" is also the talk of the town, ...
It was pretty good weather for an otherwise sweltering January, as they lay perched on the rooftop balcony overlooking the suburbs. "You smoke?", she asked pointing the pack at him. Toying momentarily with the idea of changing his entire personality to fit in (as he often does), he finally resigned to a quiet "no, thanks". He hoped it didn't come ...
It really is, though.You know how the best friends are the people with whom you can share long silences and it would be the most comfortable thing in the world?Or how, in a conversation, you find yourself learning a lot of stuff and letting it all soak in, and you don't want to say anything because you'll add nothing of ...