Hellishly Slow Level 13 DEFLATE Compression

DEFLATE level 13 is a deliberately impractical libdeflate compression level: the output remains standard DEFLATE, while the encoder spends far more time searching parse, Huffman, and block split choices. On Silesia it saves 86'990 bytes, 0.134%, over level 12 and runs 56.4x slower; this cost is acceptable only when data is compressed once and distributed many times.

Hugo Site Publishing with Respectful Caching and IndexNow Submission

Hugo builds static pages; publishing determines whether deployed artifacts carry accurate cache validators and whether search engines receive explicit update notification. The implementation separates Hugo generated deployment artifacts, an mtime manifest and an IndexNow payload, from publication mechanics; publishing script restores filesystem mtimes, aligns .gz artifacts with their sources, deploys through rsync, and submits the current URL list.

Synology DSM Workarounds

This short article documents two workarounds for Synology DSM: mobile application authentication failures via custom domains, and rclone checksum verified backups over SFTP.

Nginx based LRU cache for Music Player Daemon for WebDAV storage

This article provides a technical guide for configuring an Nginx based Least Recently Used (LRU) cache for Music Player Daemon (MPD) instances that utilize WebDAV for music storage. This architecture facilitates offline music playback, allowing access to cached tracks even when the WebDAV storage is inaccessible.

EdgeRouter 4 under OpenBSD with Failover WAN

This article details the configuration process for setting up OpenBSD on an EdgeRouter 4 device to function as a home router, incorporating features such as private DNS resolution for clients and failover WAN connectivity.

Forward an IP address between OpenBSD via WireGuard

This brief article provides a footnote on the configuration of an OpenBSD machine with two IPv4 addresses: 1.2.3.4/24 and 1.2.4.5/24. In this configuration, 1.2.3.4/24 is utilized as the machine’s address and a point for the tunnel, and 1.2.4.5/24 is forwarded to the remote machine within a dedicated routing domain. Furthermore, the machine in question has an IPv6 network aaaa:bbbb:cccc::/128. One address, aaaa:bbbb:cccc::eeee:ffff/64, is utilized inside the tunnel, while aaaa:bbbb:cccc::1/64 is used on the machine.

Using GitHub Actions as a Temporary Shell

This article provides a straightforward method for utilizing GitHub actions to create a temporary SSH shell that can be used for testing on different platforms. The conclusion of this article includes a security concern regarding this technique.

Integrating Remote email2rss into macOS

This article provides a guide for creating an AppleScript that registers as the default handler for the feed URI scheme on a local machine. The script forwards all URIs to a remote instance and registers it into rss2email. It also contains some useful notes about running rss2email on remote host.

Installing macOS 10.6 Snow Leopard in Virtual Machines

VMware and Parallels support macOS 10.6 Snow Leopard virtualization, though both restrict this capability to Server editions; however, differences between Server and Desktop variants remain minimal, permitting straightforward installation from retail media through simple image modification.

Enforcing DNS-over-TLS on Local DNS Resolver with Random Upstream

This article provides a guide for installing a local DNS resolver that enforces DNS-over-TLS to a randomly selected publicly available upstream server. The setup described respects DNS response consistency by enforcing DNSSEC if it is supported by the DNS zone, encrypts DNS traffic, and uses DNS servers from different providers. The second section of this article addresses the question of privacy.

Low Latency Atomic Operations for JVM

This article presents an implementation of atomic operations optimized for low latency in multithreaded JVM environments. The implementation achieves approximately 2x lower latency under high concurrency through adaptive backoff mechanisms in compare and swap loops.

Sleeping at JVM Thread for a Very Short Period

This article explains why it is not possible to make a 1 nanosecond sleep in JVM. Instead, you may achieve an unguaranteed small pause which depends on the number of active threads.