Sir l33tname

@l33tname
356 Followers
217 Following
8.5K Posts
Quality of github issues has been very low lately.

Another reason to hate #Apple We're seeing more 2018+ MacBook Pro/Air donations β€” but Apple's T2 chip means even after iCloud sign-out and reset, the firmware stays locked to the original account.

Without donor contact, these machines are useless. :(

I've upcycled ~1,000 older Macs, but T2 era machines will end that. It's controlling, creates e-waste, and will only get worse. #righttorepair matters β€” Apple couldn't care less.

Windows 11 or NetBSD 11... only one will never have ads in the default install.
If you find you break things a lot, you're probably not all that agile.

@PeterSommerlad @vitaut @oschonrock @lefticus

For GCC 16 std::string uses extern templates for C++20 mode. std::format does too.

std::print uses extern functions if you use `-D_GLIBCXX_NO_INLINE_PRINT -lstdc++exp` to use non-inline definitions (which compiles 3-4x faster and produces object files with a single call to an extern function, without instantiating all the std::format code).

https://godbolt.org/z/7ffz518qq

Compiler Explorer - C++ (x86-64 gcc (trunk))

int main() { std::println("Hello, world!"); }

Today it's backup time  

My old setup was all kinds of messy in regard to backups. Some BorgBackup here, some nothing elsewhere.

Plan is to once again simplify things. A backup is of no use to me, if it's hard to use. All of my servers that hold important data run on ZFS, so I'll finally make use of ZFS snaphots and send/recv to have easy and consistent backups.

For that I'll be copying the setup of @stefano, as is documented here: https://it-notes.dragas.net/2022/05/30/how-we-are-migrating-many-of-our-servers-from-linux-to-freebsd-part-2/

That means zfs_autobackup, running on a backup server. Most likely I'll set it up to pull backups from the other systems.
I have not yet decided on whether to use some sort of ZFS encryption here, tbd.

I'll use an OVH KS-Store server for this purpose. 4x4TB of HDD storage, which I'll turn into a pool with 12TB of usable storage.
I already installed FreeBSD on it and started locking it down from most public access.

How we are migrating (many of) our servers from Linux to FreeBSD - Part 2 - Backups and Disaster Recovery

Some details on how we're performing backups and disaster recovery of the migrated servers.

IT Notes
Bauch kraulen, nicht arbeiten! 😺
Another whopping 0.15ns speedup in https://github.com/vitaut/zmij.
GitHub - vitaut/zmij: A double-to-string conversion algorithm based on Schubfach and xjb

A double-to-string conversion algorithm based on Schubfach and xjb - vitaut/zmij

GitHub