100 points for you if you know where I remember this gif from π
This is killing me, video about American dude who flies to Poland to research if XD is real and sees XD graffiti on the walls and is in absolute shock π
"And what's with those alternative versions"
wait are you telling me you don't even have "xD" there??
I asked GPT to write me some bash command to extract the initial part of a script that includes a comment, andβ¦ seriously what the hell ΰ² _ΰ²
And the worst part: it worksβ¦ ΰ² _ΰ²
https://lab.martianbase.net/xrpc/com.atproto.sync.getBlob?did=did:plc:oio4hkxaop4ao4wz2pp3f4cr&cid=bafkreig3pki66iev7pnqtmkzif3qdphr6ygdmhk6figdusepxnnbdxvj2m
It was this ruby.sdk.blue/examples/pos... π
post_skeetrb | ATProto Ruby SD...
I had a few example scripts in the Skyfall & Minisky repos before, but they were written back when hardcoding bsky.social as the PDS name was a good idea⦠so I started updating them, to make the code look up the PDS hostnames correctly.
Now, one bundle install and you can run all examples, and they're all listed together. I also added a few new ones, including one using @leaflet.pub@bsky.brid.gy records and one using @tangled.org@bsky.brid.gy + Constellation π #atdev
tangled_issue_trackerrb | ATPr...
But I didn't want to make them depend on didkit and each other, so you couldn't run the example easily w/o installing other gems manually, and duplicating the lookup code was messy. So in the end I had an idea to move them all to the single repo, the one for ruby.sdk.blue:
Examples | ATProto Ruby SDK
Basically I would say it mostly depends if the request is synchronous blocking something else (e.g. a firehose processing thread), or asynchronous with a callback to fire when it's resolved; if it's asynchronous then it usually shouldn't matter much how much time it waits, within reason