Post #3887307
2026-07-17 14:01 UTC
Replies (4)
-
@jonny@neuromatch.social 2026-07-17 14:22
So how does bluesky get an account's birthday to know if it needs age verification ? There's a system in bsky's code "useQuery" where you can provide a) some cheap way to initialize a value, and b) some query that can keep it updated from the server. Or so its supposed to go. This is just one of many hilarious fallbacks: there is a clientside birthday cache. For some reason. For slop reasons. The thing containing birthday is "other required data." Sure. There is a function "get other required data from cache" - that's the "fast initial data" method. Then there's the "slow correct data" function, just normal "get required data" However in the "get required data" there is.... Also an unconditional read from the birthday cache that overwrites whatever came from the server. So. https://github.com/bluesky-social/social-app/blob/783dfe2a123b5c3a245d1e43a01e543d05849394/src/ageAssurance/data.tsx#L375
-
@vv@solarpunk.moe 2026-07-17 14:04
@jonny@neuromatch.social oh damn now i wanna look at it
-
@neuralreckoning@neuromatch.social 2026-07-17 14:22
@jonny@neuromatch.social I love how they wrote it because you can just add one line to your adblock filter and it bypasses it.
-
@steveriggins@mastodon.social 2026-07-17 14:35
@jonny@neuromatch.social @aslakr@mastodon.social I am beginning to adore LLMs as finally there is something that blathers on more than me.