Experimental browser for the Atmosphere
you could do some interesting things here like //loop through all strings of length 8 or less for_tree(string x = ""; x.size() <= 8; x -> {x+"a", x+"b", x+"c" /*...*/ x+"z"}){ although probably using a helper function to generate the branches would be smart
Apr 28, 2025, 11:29 PM
{ "uri": "at://did:plc:eerlwrwx25lfeot7dcruvqrv/app.bsky.feed.post/3lnvwbem3uk2u", "cid": "bafyreiehnyrqjrevvkk6zns52oyd47fyh2f7fffxxyghz3vzeln4ulzmpa", "value": { "text": "you could do some interesting things here like \n\n//loop through all strings of length 8 or less\nfor_tree(string x = \"\"; x.size() <= 8; x -> {x+\"a\", x+\"b\", x+\"c\" /*...*/ x+\"z\"}){\n\nalthough probably using a helper function to generate the branches would be smart", "$type": "app.bsky.feed.post", "langs": [ "en" ], "reply": { "root": { "cid": "bafyreid2a4klarkkbgilnplr7j7xv3gk7flr3abpt554jbtpqfn2fzoyie", "uri": "at://did:plc:eerlwrwx25lfeot7dcruvqrv/app.bsky.feed.post/3lnvumwlhus2u" }, "parent": { "cid": "bafyreicjvem2yq3hbqwhprnxcusfutavso5m2lebbknd5xtyao36tsgq7u", "uri": "at://did:plc:eerlwrwx25lfeot7dcruvqrv/app.bsky.feed.post/3lnvvmnm4qc2u" } }, "createdAt": "2025-04-28T23:29:36.947Z" } }