Systemd added a birthDate field in userdb to "comply" with the new age verification laws[1]
Since GardenerDB is meant to work as well as possible as a drop-in to systemd-userdb, I am forced to also add this field, but I refuse to properly implement it
GardenerDB will hardcode the birth date to be 1998-07-06 for every user, any application that accesses that field for whatever reason will be happy to have that field, and the user will be happy that they don't have to reveal their actual age.

https://git.pinkro.se/Rose/gardenhouse/gardenerdb.git/commit/?id=37dc6f53ce091965c006cf273c88dd352b197587

1: https://github.com/systemd/systemd/pull/40954
gardenerdb.git - Drop-in standalone implementation of systemd-userdb

@rose actually by implementing this at all you are now automatically a fascist
@rose why this date :gort:
lets all love lain! (it aired on that date in japan)
@rose
Why not hardcoding e.g.
1998-02-29? On this day, no one was born because this day did not exist. 😂
lmao that would also be funny
i went with 1998-07-06 because that's when Lain aired in japan
@rose @rzbrk i wouldve let the user pick between the release dates of doom, quakes 1-3 and half life

@coolbean Half-Life (>=18), GTA IV (16-18), Minecraft (13-16), Doom 2016 (<=13)

4 age brackets. perfectly AB 1043 compliant.

@rose @rzbrk

@rzbrk @rose Depending on if the day is broken-down or an epoch time, you might not even be able to represent that. Even if it is broken-down, a value that doesn't round-trip might make other things break.

@dalias
The idea of my proposal WAS to break things. 😉 I understood, that the field in the DB serves only one purpose: age verification.

But thank you for the technical details. It might not be feasible in every case to just present a non-existing day.

@rose

@rzbrk @dalias @rose

The best way to break any system is to provide a problem that bypasses its error checking. If something causes an exception (for example an invalid date) then they can fix that problem pretty easily, or at least flag it to management.

@rose actually a chadly move
@[email protected] god i need to get around to finishing lain

@rose from the thread 😵‍💫 lol. I rolled a d20, and I beat the repository's AC. Looks good to merge!

Edit: forgot alt

@theeclecticdyslexic @rose
Poettering being a joke yet again.

@rose

Young code monkeys.
Study this legend.
This hero.
Pray that you reach half their magnificence of the coders craft.
Pray you have the skill
Pray you have the courage.

Fight unjust laws
With righteous code!

@rose consider setting it to 01.01.1970 or just today minus 25+ years at random?

@F3715H @rose +1

Just give it either nothing, something bogus or whatever.

@[email protected] I did consider that, however I wouldn't put it past applications that utilize this field to see that date as suspicious and not trust it
1998-07-06 is a pretty random date, it can't really be tracked to any default value or common thing
Though I'll make it a build option to allow hardcoding a different date, but I don't intend to add any other logic such as randomizing dates, I want my interaction with this field to be as minimal as possible
@rose Just consider non-compliance as a matter of principle?

@rose WTF?

I'd just refuse to do that if I were #systemd maintainer, because #AgeCerification is #Cyberfascist horseshit and I pledge myself to subvert and sabotage #Cyberfascism as a matter of principle!

  • Set everything to 01.01.1970

tbh when i have to fill birthdate on something that doesn’t matter i still choose 01-01 on random year between 1980 and 1990

@rose

@[email protected] if programs start seeing this date and noticing an unreasonable amount of ppl were born there suddenly, consider using the release date of the serial experiments lain anime episode number <crc16 of the username modulo 13>
@rose systemd would let me pick any arbitrary day as my birthday but you force me to have only one… this is mean…. I DONT WANT TO BE A MILLENIAL!!!! let me usemy computer like i want to
@flower @rose i have good news for you! 1998 is a zoomer already
@q66 @flower @rose fate worse than death
@q66 @flower @rose (fiore is a zoomer)
@fiore @flower @rose rip been nice knowing u
@q66 @rose elder zoomer then🙄🙄🙄whatever einstein
@flower @rose i still think my hardcoded 1969/04/20 proposal is a better
@q66 @flower @rose forced gen-x-ification
@q66 @flower @rose this is someones kink
@fiore @flower @rose well of course, anything is someone's kink

@rose

Systemd is the eerily analogous OS equivalent of metastasized cancer finding its way into every vital organ.

@rose I don't know anything about any of this but I appreciate the date being 9876