OpenPGP Smartcard KDF issue: Bad PIN

Both YubiKey and GnuPG are able to do many things. The difference one might point out is, that GnuPG probably does neither of them particularly well, resembling a Swiss army knife. No matter how well either of the tools handles tasks it is able to perform, both tools had became a…

Merge repos using git-filter-repo

I have already written how useful a tool git filter-repo is for cleaning repositories. I made some extensive use of the newfound knowledge since to undo some previous bad decisions in my private repositories. Here's a list of commands for merging project-a into project-b for a re…

List executable files with fzf

Sometimes I find myself in the need to take a look at the executable files available in the current project directory, choose a suitable one and run it, potentially specifying some parameters. Unfortunately, package managers did not agree on a path, where the executable files sho…

Git sign previous commits keeping dates

Sometimes you might need to re-sign your previous commits using GnuPG. This process rewrites the git history in a sense of changing commit hashes. What is more, it also changes the date when commit was made. If not done properly, the repository looks like if there was no history …

Clever uses for git-filter-repo

There is a common saying around version control systems stating the following: Do not rewrite the history. And it is pretty solid saying to be fair, supported at many threads, for instance at FS#45425 or elsewhere. You simply have to assume that once you pushed something into t…

Installing caffe SSD on Arch

Exploring artificial intelligence possibilities in late 2021 led me through multiple hoops already. There are things that work already, there are things that can be optimized for a better performance and then there are things that do not appear to work at all. One of such things …

Install tfjs-node from source

When starting with TensorFlow library bindings for NodeJS, for instance by installing: npm i @tensorflow/tfjs-node And then importing it inside a node module: import * as tf from "@tensorflow/tfjs-node" The following error can be seen: This TensorFlow binary is optimi…