Sun 05 Jul 2020

The Crimson Campaign: Good

In the afternoon I finished The Crimson Campaign, book 2 in the Powder Mage trilogy by Brian McClellan. While I liked the previous book in the trilogy, Promise of Blood, more I consider this still a good book; not bad for the middle book in a trilogy.

If you like the Powder Mage trilogy, you might like:

The Autumn Republic

Field Marshal Tamas has finally returned to Adopest, only to find the capital in the hands of a foreign power. With his son Taniel presumed dead, Tamas must gather his beleaguered forces and formulate a plan to defeat the Kez - no easy task when you're outnumbered and can't tell friend from foe.

The army is divided . . .

With their enemy bearing down on them, the Adran command is in disarray. Someone, it seems, is selling secrets to the Kez. Inspector Adamat is determined to flush out the traitor, but as the conspiracy unravels, he will learn a horrifying truth.

And all hope rests with one man . . .

Taniel Two-Shot, the powder mage who shot a god in the eye, is on the run. He possesses the sole means of defeating the Kez, but to do so he must evade treachery at every turn. If he fails, Adro will fall.

In the afternoon I started in The Autumn Republic, the final book in the Powder Mage Trilogy by Brian McClellan.

Recently molted Aphonopelma seemanni eating

In the afternoon I gave 2 pre-killed mealworms, Tenebrio molitor, to the female Aphonopelma seemanni I keep. The large tarantula started to molt the 27th of June, 2020 and still has a very colorfull fresh look so I decided to take a few photos of her.

Aphonopelma seemanni eating a mealworm
Aphonopelma seemanni eating a mealworm.

I pre-kill mealworms by crushing their heads to prevent them from burrowing into the substrate. The tarantula doesn't seem to mind that she doesn't have to hunt for her food; it's just delivered at the doorstep of her burrow.

Beginner’s Guide To Abstraction

Abstraction is hard to define but the process typically goes like this:

  1. you identify different chunks of code that you think are all basically doing the same thing
  2. you create a method or a class with a narrow interface which can be substituted in for all the chunks of code you found
  3. you go and swap out the chunks of code with a call to your method/class

Source: Beginner’s Guide To Abstraction, an article by Jesse Duffield.

Remap Enter to Control in GNU/Linux

Recently I’ve switched back from macOS to GNU/Linux, as my primary development environment, and I found out that my old article on remapping Enter to Control was no longer the optimal way to achieve this. It took me a bit of digging, but eventually I found dual-function-keys (a plugin for the interception framework), which does exactly what I needed and it does it splendidly.

Source: Remap Enter to Control in GNU/Linux (2020 Edition), an article by Bozhidar Batsov.