Archive of

TIL: Cut out a shape in Inkscape

I had a square logo, and I wanted to make it round. Inkscape makes it surprisingly easy.

  1. Create a circle shape, and place it over the square image.
  2. Set opacity of the circle to 50%.
  3. Select both the shape and the image.
  4. Choose Objects > Clip > Set.
  5. 💰
Continue reading

Hald CLUT Pack: now with three new presets

To paraphrase Sir Mix-A-Lot, I like Hald CLUTs, and I cannot lie. Indeed a handful of Hald CLUT files made with my own fair hands is a staple of my photography workflow. Hald WHAT? you might ask. To oversimplify, it's a preset that any Hald CLUT-capable application (digiKam, RawTherapee, and Darktable, to name a few) can use to apply a specific look to a photo. Here's a much better and more detailed explanation if you want to know more.

Continue reading

Weekend reading: "Learn less, faster" edition

Short notes on Restic

I'm always fashionably late to the party. So forgive me for being the last to get all excited about Restic. Encryption by default, snapshots, deduplication, support for various storage types—Restic checks all the boxes. Not only that, it is also a supremely easy to use backup tool.

While learning how to use Restic, I took notes for future reference. I'm sharing my trivial findings here on the off-chance that someone might find them useful. The notes cover a simple scenario, where Restic backs up data to an external USB storage device.

Continue reading

Instant offline translation with Argos Translate and a dash of Bash

Google Translate is great, until it's not. The quality of translation is undeniably impressive, and the apps have some genuinely useful features. But even if you choose to ignore the fact that Google lives off our data, there is a matter of Google Translate not working offline—not on a Linux system, anyway. And even if it could do that, there is still a case to be made for using and supporting an open-source alternative free from the shackles of surveillance capitalism.

Enter Argos Translate, an open-source neural machine translation engine that works offline and is available as a Python library, a command-line tool, a web application, and a desktop utility. Install Argos Translate on your machine, add a simple Bash shell script, and you can instantly translate a text selection from any application. Here is how to do this on Ubuntu and Linux Mint.

Continue reading