Alex Gleason on Nostr: Here’s the amount of code it takes to validate only the most basic 5 ActivityPub ...
Here’s the amount of code it takes to validate only the most basic 5 ActivityPub objects (200 LoC), plus the amount of code it takes to validate a Nostr event (19 LoC).
Published at
2023-03-01 06:33:10Event JSON
{
"id": "89742cc4d90b27872c958d485adefc950d8e30835e861560e6030c43d861f449",
"pubkey": "a06f17ffb19bf45857e5974ac8bb1bea578189786eea458e443bdf8c3d533bd3",
"created_at": 1677652390,
"kind": 1,
"tags": [],
"content": "Here’s the amount of code it takes to validate only the most basic 5 ActivityPub objects (200 LoC), plus the amount of code it takes to validate a Nostr event (19 LoC).\n\nhttps://media.gleasonator.com/ae6561a23048d0dadfe60ac304b5a9d41ae35b52d495ec9df9de9f6e4ae59f65.png\n\nhttps://media.gleasonator.com/4ab58d407ff677b7335308bd4705c57c26efafa0d9021def78776515b96e20c5.png",
"sig": "0f1f586050d3091b91161b740a3801bd6d51b5ca596bc5b325d0f7db390e8953db95f463328b86da3bf29d8fab6d2113f58a0fa82ce1c432187d1b52075bb514"
}