Is it acceptable in an XRPC API with cursor pagination to return an empty list but a non-empty cursor, e.g. { feed: [], cursor: "2025-05-20..." } ? Is this something worth taking into account as a possibility from the client side, or can an empty `feed`/`records` etc. be treated as the end? πŸ€” #atdev
I gotta say, I'm kinda enjoying writing JS in this "JSDocScript" mode πŸ€” The code is almost* unchanged except the comments - I really wanted to avoid complicating it or adding more instructions just for the types - but I get most of the advantage of TS in much more confident and faster refactoring.
My personal Sisyphus stone is trying to filter out all posts saying "PDS" when talking about e.g. tornadoes, mental health or police from the ATProto feed πŸšΆπŸ»β€βž‘οΈπŸͺ¨
Wow, it really is so much smoother… Rust > Go, apparently πŸ¦€πŸ˜› RE:
Phil made a tool for comparing who has a bigger hose (I'm sorry…) RE:
Ok, hear me out… πŸ€” https://lab.martianbase.net/xrpc/com.atproto.sync.getBlob?did=did:plc:oio4hkxaop4ao4wz2pp3f4cr&cid=bafkreihiyabqfsjoa553xiq6l3wzwpitvtp3gxbngmuxyrhzjd5fveaqs4
#NewsFromMastodon πŸ™ƒ https://lab.martianbase.net/xrpc/com.atproto.sync.getBlob?did=did:plc:oio4hkxaop4ao4wz2pp3f4cr&cid=bafkreib3gmeex626w5afdae35lsdtbss3i3akw326z3gskiivwvo34pmqi
Putting this in my bio RE:
Can't stop hacking :] https://lab.martianbase.net/xrpc/com.atproto.sync.getBlob?did=did:plc:oio4hkxaop4ao4wz2pp3f4cr&cid=bafkreiaoufmixmj6ff3wndpvbcdpfwrirf52mctboks5ycoojxsaxv2sra
Kitties from yesterday πŸˆπŸˆβ€β¬›β˜ΊοΈ https://lab.martianbase.net/xrpc/com.atproto.sync.getBlob?did=did:plc:oio4hkxaop4ao4wz2pp3f4cr&cid=bafkreibd6ltibf3js3oeukss3piazq7hjymt3durpvvrpzeqywnlcp6ihy https://lab.martianbase.net/xrpc/com.atproto.sync.getBlob?did=did:plc:oio4hkxaop4ao4wz2pp3f4cr&cid=bafkreiaqugmearyd2gj7qg2zdx2mibyvunbgdonsdxwq3mq3eimsltstve