farcaller on Nostr: Playing with humanify[1] to figure out what exactly the npub14dl6r…fa40d's public ...
Playing with humanify[1] to figure out what exactly the
npub14dl6rmty8l7rf0w6nrqczzx08cusx23sgda26jtdelfe3zct6r0sjfa40d (npub14dl…a40d)'s public API does. I must say, it's a pretty good instrument to study code, even though feeding it several megabytes of minified javascript sure got it thinking for a while. I see that as a legitimate awesome use case for LLMs because I would absolutely not do this by hand and would look for a different approach instead. It's not like it's significantly better than unminify, but it provides some extra context where otherwise you'd spend minutes figuring it all out.
Why am I doing all this? Oh, I just miss having #clojure in my markdown mastermind so I'm hacking SCI into obsidian so I could write plugins inside obsidian itself. In clojure.
[1]:
https://github.com/jehna/humanifyPublished at
2024-10-05 17:50:08Event JSON
{
"id": "46c17a5350606769de6abe0b975918143ff9664f4e966e88c2423ab877fd2094",
"pubkey": "76290e99c4cc39c8803db2800a761c0bda875e70245a90957ad48e88a9ba6fe9",
"created_at": 1728150608,
"kind": 1,
"tags": [
[
"p",
"ab7fa1ed643ffc34bdda98c18108cf3e39032a30437aad496dcfd3988b0bd0df",
"wss://relay.mostr.pub"
],
[
"p",
"812a4bc6a6f71a0417b505d2f9713ac5f8486057e33a307ebec77bbb9ef69205",
"wss://relay.mostr.pub"
],
[
"t",
"clojure"
],
[
"proxy",
"https://hdev.im/users/farcaller/statuses/113256078292273517",
"activitypub"
]
],
"content": "Playing with humanify[1] to figure out what exactly the nostr:npub14dl6rmty8l7rf0w6nrqczzx08cusx23sgda26jtdelfe3zct6r0sjfa40d's public API does. I must say, it's a pretty good instrument to study code, even though feeding it several megabytes of minified javascript sure got it thinking for a while. I see that as a legitimate awesome use case for LLMs because I would absolutely not do this by hand and would look for a different approach instead. It's not like it's significantly better than unminify, but it provides some extra context where otherwise you'd spend minutes figuring it all out.\n\nWhy am I doing all this? Oh, I just miss having #clojure in my markdown mastermind so I'm hacking SCI into obsidian so I could write plugins inside obsidian itself. In clojure.\n\n[1]: https://github.com/jehna/humanify",
"sig": "b383042dd9c1942ab577d73d0a856a4f80c4fc7088145b4fc07e1fbcdda357f1f5e1986d9a3aa2fa9c17d75521027dd591ff8b1512b9cfa33446187359ce892b"
}