ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

It would look something like this: Foo arr[10]; ResultArray res = { .items = arr, .cap = 10 }; get_items(&res); So get_items() would fill up to cap, and if there's grow, it would try to grow the buffer, else stop. Having sat on this for a while, I think it's a bit too complicated.

May 14, 2025, 9:52 PM

Record data

{
  "uri": "at://did:plc:pdadigepidvacjp3d2a5vvbb/app.bsky.feed.post/3lp5ycgtl6h2k",
  "cid": "bafyreih227lld2cpcaqbjw2r6sk4hikic2na25gvtvanholkmswj5qbtwq",
  "value": {
    "text": "It would look something like this:\n\nFoo arr[10];\nResultArray res = { .items = arr, .cap = 10 };\nget_items(&res);\n\nSo get_items() would fill up to cap, and if there's grow, it would try to grow the buffer, else stop.\n\nHaving sat on this for a while, I think it's a bit too complicated.",
    "$type": "app.bsky.feed.post",
    "langs": [
      "en"
    ],
    "reply": {
      "root": {
        "cid": "bafyreicdigty7dd7sihaazd43wetjafger5j3brzihurzhibyw556kw5pu",
        "uri": "at://did:plc:pdadigepidvacjp3d2a5vvbb/app.bsky.feed.post/3lp564comco2k"
      },
      "parent": {
        "cid": "bafyreignjajkh2dinpiij7jtpos6xaxa7mkrybgxcmnldwybiqzzh53c3q",
        "uri": "at://did:plc:752y77nxqoruw2serahdltgh/app.bsky.feed.post/3lp5w62ky2s2j"
      }
    },
    "createdAt": "2025-05-14T21:52:29.862Z"
  }
}