Here's how to create a Nix binary cache from a derivation's closure within a Nix derivation. Since you can't run nix commands within derivations, this can be useful for including a build closure within an installation medium, such as when performing a NixOS offline installation.
Posts
Here be blog posts
Generate Nix binary caches without nix copy
Using Japanese banks while renewing your visa
I'm currently renewing my visa (residence permit, 在留許可) in Japan. While I've submitted my application 3 months ahead of its expiry, the Immigration Services Agency (出入国在留管理庁) appears to be overwhelmed with applications.
Can uBlock Origin block WebRTC?
Do you loathe online banking as much as I do? Does your bank make online banking more cumbersome each week in the name of "combating fraud" and "staying compliant" with anti-money laundering and counter terrorist financing laws?
Have you ever looked under online banking's hood? Here's an example from a bank that I use in Japan to pay for life necessities and to keep a roof over my head.
Jump between pytest errors with Vim's QuickFix
Here's how you can use the Vim and Neovim QuickFix feature to conveniently jump between pytest errors without leaving your editor.
Similar Kanji, 衣脚 edition
Four Chinese characters that I regularly confuse have a 衣 radical at the bottom (ja: したごろも).
Cybersecurity by the book
Consider this past question from an "ethical hacking" certification posted on itexamanswers.net:
How to install MediaWiki on Debian 13
Here's how to install MediaWiki on a desktop computer running Debian 13 (Trixie).
Koriander: now on PyPI
Try installing Koriander CMS from PyPI. All you need to run is the following, provided that you've installed pipx:
pipx install koriander
Koriander: Creating my own CMS
For the past few months I've been working on my own CMS called Koriander.
Operating a private 5G station in Japan
A year later, a bug fix
As promised in my last post, I've fixed the hugo new content future date bug.
Automotive real-time operating systems
Most cars contain embedded systems called Electronic Control Units (ECU). These ECUs control the electrical systems inside a car like engines or brakes. Some cars can have more than 100 of these ECUs inside.
Adhesive NFC tags
Have you ever tried adhesive Near-Field Communication (NFC) tags?
Diffie-Hellman shared value generation in J
I wanted to try out how to derive p and g used inFinite Field Diffie-Hellman.
How to fix mDNS on macOS Sequoia
Upgrading to macOS Sequoia broke mDNS for me.
My M2 MacBook stopped responding when pinging its host name lithium.local. The Anki sync serverrunning on it became unreachable. It didn't matter whether I attempted to resolve lithium.local from another machine or on that machine itself.
Information Security Management Examination
Arcane but Useful Computer Virus Guideline
Try the Pomodoro Technique with Pomoglorbo
More systemd networking fun
What was once an elegant machine built up by the wisdom of thousands of volunteers is now a rusty bucket with holes: my Debian installation.
As I have recently fixed my interface configuration I thought I solved all my home networking problems.
On my local network, I rely on mDNS a lot. My macOS and Debian machines use it find each other. To ssh, mosh, and sync git annexes between computers, I use .local addresses extensively.
The one where I leave it to systemd-networkd
I like keeping my Debian 12 installation bare bones. Sometimes bare bones means disabling your only link to the outside world by accident.