blog Learning How to Emotion

While I do not think of myself as particularly smart, I was one of the lucky kids that had a reasonably easy time in school. For many subjects, especially science, math, and history I do not recall having to spend enormous amounts of time studying. There were a few subjects I struggled with a bit (particularly spelling) but I could usually brute force a bit, cram and be done with it.

Read More →

blog Handling Optional Django Modules

Django comes with support for MIDDLEWARE and provides several useful ones by default. I usually try to make my projects as useable as possible, and some debug middleware is only useful when development. Example Middleware Since the order and layering often matter, I’ll usually configure all my optional middleware in the correct spot like bellow, with a short comment. MIDDLEWARE = [ "debug_toolbar.middleware.DebugToolbarMiddleware", # Only enabled for debug "django.middleware.security.SecurityMiddleware", "whitenoise.middleware.WhiteNoiseMiddleware", # Used primarily for docker "django.

Read More →

blog Programming as Magic

Any sufficiently advanced technology is indistinguishable from magic. Arthur C. Clarke In many ways, programming is very much like a kind of Magic. We even call people that are good at computers, a Computer Wiz(ard). When I volunteered at an English school I would often have a bit of fun and jokingly call myself パソコンの魔法使い or Computer magician when describing my job. Writing code can even look like writing in an ancient arcane grimoire.

Read More →

blog Lapce

While I already use VSCode for most things, like many developers I am often curious to see what else is out there. Even though I like some of the ideas behind the Zed editor, and will follow its progress, advertising built in AI is a fairly immediate turn off. The idea of a high performance editor though is still very appealing, and it seems like there are many rust based contenders (not that my rust abilities are anywhere near the level to contribute anything).

Read More →

blog Perfect is the Enemy of Good

As I have tried to reduce my dependence on social media, I have picked up more and more blogs into my feed reader. With as much as I read, I have often felt like I should be writing more as well but I am very skilled at distractions and excuses to avoid writing. I am often reminded about the seinfield calendar which introduced a strategy for improving at something with continuous practice.

Read More →

blog Radiation as an Example

When one thinks of radiation, what kinds of thoughts first come to mind? For many, radiation gives the image of something scary. Often places like Fukushima and Chernobyl come to mind. For me, I’ll often immediately wonder “how much are we talking about”. There are two examples that often come to mind. User Information / Data Like radiation being useful for X-Rays and microwaving food, there are times where you need to handle user information and data.

Read More →

blog My most used Alfred workflows in 2024

I’ve been using alfred on my macs for quite a number of years. I don’t remember how I first found out about it, but it’s nearly always the first thing I install on new machines. Should I move to Linux, I am certainly going to need to find an equivalent and onagre looks like it might be one potential replacement. Inspired by a random comment on mastodon, I thought it would be interesting to write about my most commonly used workflows.

Read More →

blog Cinderella Fit

I recently learned a new word, シンデレラフィット (Cinderella Fit) which amused me. It seems to be a term applied a lot when talking about various storage items from places like muji and ikea and refers to items that fit perfectly. I’m often reminded of it when I see videos on things like gridfinity where one tries to make a container that fits perfectly for each individual item. There’s a part of me that loves seeing things like BaseLynx , a customizable charging system that has a dock for each one of your devices.

Read More →

blog Salt Changes

I was surprised when reading the changelog for Salt 3007.0 , regarding several deprecated modules to be removed in 3009.0. I also later read some of the policy changes on their blog. Going forward, they are planning on having a much smaller core module, and will be moving a lot of larger modules to external repositories. I started using Salt while I was at Kotagent, and quite liked the way it worked.

Read More →