/avatar.png

hello! i'm cliford

i try to write technical blog posts. i also post life updates sometimes.

Minesweeper, but hold the guessing

I used to love playing Minesweeper back in the WinXP (and later Win7) days. However, I had one big gripe with it: you spend 10 minutes solving a board only to end up in a situation where you have to make a random guess on what cell is the mine. Tried so hard, got so far, only to lose it all to that frowny face🙁. I had no choice back then, but now that I’m old enough to fight my own battles, I’ve finally decided to take this off my to-do list.

GObjects, D-Bus and Widgeting

Since my last post on setting up a caffeine widget, I’ve been drawn back into customizing my rice. It’s been interesting to come back to all the widgets I wrote back in college and look at them with a couple years of experience. Notably, some event-loop-blocking operations and a bunch of places where I chose to go the route of polling a shell command over using event-based triggers. I understand that the gains here are marginal (especially when I have, like, three Electron apps running at all times), but what kind of engineer am I if I don’t try to eke out every last CPU cycle from my machine?

Systemd, Sleep and Caffeine

If you were misled by the title to think this was some analysis of my broken sleep schedule and completely unrelated caffeine addiction, you can rest assured that this post has nothing to do with it. In recent times, the only technical things I play around with outside of work are my rice and this website, so I figured I should write about that. I’m going to try and see if I can finish this in one sitting, which will hopefully set the precedent for me to write these posts more frequently and for smaller topics. To all three of my loyal subscribers, apologies if the quality here has declined (what standards were you expecting, anyway?😞).