ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

On the awfulness of my code base: Forget state machines. We have places where array index is meaningful and you have to treat data with arr[1] differently than data with arr[2]. Sometimes 2 is the first one. šŸ˜®ā€šŸ’Ø

May 8, 2025, 7:19 PM

Record data

{
  "uri": "at://did:plc:n4a3xmmqu4adsids6osixlxk/app.bsky.feed.post/3loomy2g3e22u",
  "cid": "bafyreihy65w3no6r7vebnfae7o3bnlwwn2qqrcryt6xb4h45aff7rjfmfa",
  "value": {
    "text": "On the awfulness of my code base:\nForget state machines. We have places where array index is meaningful and you have to treat data with arr[1] differently than data with arr[2]. Sometimes 2 is the first one.\n\nšŸ˜®ā€šŸ’Ø",
    "$type": "app.bsky.feed.post",
    "embed": {
      "$type": "app.bsky.embed.record",
      "record": {
        "cid": "bafyreigog5h4bq6pzofqoufgt5mut4ro67o24j2buvj25tpakwgmmjquje",
        "uri": "at://did:plc:pppqzcp436xpufbu6luy5ysh/app.bsky.feed.post/3looii4v3us24"
      }
    },
    "langs": [
      "en"
    ],
    "createdAt": "2025-05-08T19:19:54.056Z"
  }
}