Strlcpy@2

u/strlcpy@programming.dev
1 posts · 14 comments

Recent posts

Recent comments

Why? You're using this method every time you use "Log in with Facebook", or when you use corporate single sign-in. Logging in with "passkeys" is this. It has been widely deployed for government ID already. In fact, I remember it being used for age verification when getting prepaid sim card in Austria.

Apart from the question of desirability of such checks in the first place: with attestations, the digital equivalent of a signed government document.

This process involves three parties:

  • you
  • the identity provider (the government)
  • the third party (who wants to verify your age).
  1. You click a button that takes you to the identity provider (government e-identiy). There you log in.
  2. Identity provider asks you to confirm what you want to share with the third party, like your age bracket.
  3. The third party receives a digitally signed attestation with this information.

The proof of identity is exclusively between you and the government's e-identity platform. The third party only gets to see what's shared with them (like your age bracket).

Government e-identity isn't hypothetical btw, e.g. in the Netherlands that's DigiD.

on Whatcha all working on? · c/programming · 2 pts · 127d

A basic Death Stranding 2D demake targeting SNES, GBA, PS1, Windows, DOS and whatever I can make it work on in one binary. So the single file is a valid Windows program, a GBA ROM, a PS1 disc image, a bootable PC disk image, etc.

I'm really chipping away at it one bit at a time. I already have the most crucial bit, which is the very start of the file which needs to be a DOS EXE header, x86 machine code and ARM machine code at the same time. But at every step new practical difficulties arise.

The specific bit I'm working on now is writing a custom linker, because no regular linker script magic is going to make a normal linker do what I need, and it turns out slicing intermediate binaries isn't going to cut it either.

I went with the simplest self-hosting I could think of for my private repos:

ssh my-server 'git init --bare git/foo.git'
git clone my-server:git/foo.git

You don't get a web UI or anything but that's OK for me, I just want the repo.

on *Permanently Deleted* · c/linux · 9 pts · 129d

Debian mostly. I appreciate the democratic, non corporate governance, the classic Free Software ethos, the stability, and their not going blindly along with upstream defaults (e.g. telemetry).

My server runs OpenBSD because I find it more tightly designed, and simpler. Laptop Fedora because the hardware wasn't originally well supported by Debian stable.

I think you'd thrive in many of the multicultural European capitals, or smaller progressive cities. From personal experience I can recommend Germany (Berlin, Hamburg), the Netherlands (Amsterdam, Utrecht, Groningen), and Austria (Vienna)

Depending on the place, housing can be tight and be aware of an increasingly vocal anti-immigrant, anti-trans minority. But they don't speak for us!