Oddbean new post about | logout
 Ok but... JSON allows "\/" to mean "/".  Dumb that it does, but it does.  If you find a "\\/"  that means "\/".  The "\\" prefix becomes "\" and the suffix remains "/".  The escaping is not recursive so it then remains "\/" in total, it doesn't do another pass to become "/".

But it probably doesn't matter much.  Events that use "\/" escaping are kinda dumb and unnecessary and NIP-01 violations.

As for things like scientific notation, I never expected any relays to support that. Chorus doesn't. The test is just more of a curiousity.  This is why it says "NO" meaning NO we don't support that (perhaps stupid) thing, rather than the more judgemental FAIL. 
 ah, that helps

well, i've reached the point with this tool where all the rest of my issues relate to subscription management and i haven't properly implemented that yet so i'm digging into khatru to figure out what i need to add... i've got the basics all there but not the part where it actually scans the subs from incoming events, or closing subs properly when they do the limit, etc etc

that's gonna be more complicated, i think, because the code i've built already plays nice with the "cache relay" interface from nostrudel which is a lot more dumb and acts like it's got infinity bandwidth

just so many times i'm like "so why doesn't the reelay see an event when i click this" and the clients just give ZERO feedback on why there is a problem, except maybe if your relay sends a NOTICE or OK, false