Damus
Yonle profile picture
Yonle
@Yonle

a sleepy, lazy little programmer from Indonesia thats now in the early year of college that creates stuffs.

nostopus is my most beloved character in nostr

note: posts here don’t fully reflect how i interact elsewhere. this is just my personal noise space where i post thoughts, vents, and nonsense.

Relays (10)
  • wss://nos.lol/ – read & write
  • wss://relay.damus.io/ – write
  • wss://nostr.wine/ – read & write
  • wss://relay.momostr.pink/ – read & write
  • wss://offchain.pub/ – write
  • wss://nostr.mom/ – write
  • wss://ditto.pub/relay – read & write
  • wss://relay.mostr.pub/ – write
  • wss://relay.nostr.moe/ – write
  • wss://nrelay.c-stellar.net/ – read

Recent Notes

YoungSatoshi · 2w
What is relay and why can't it be trusted?
Yonle profile picture
It's basically the backbone of nostr that you are currently using and seeing right now, A bunch of servers that retrieve and store a data in the form of "event"s where an event could be a note, interaction (like, repost), zaps, etc.

given that you are storing a event in more than one server, each server uses different kind of implementation, some are probably limited probably due to how it was designed to work. because of that, client must be aware that each servers might have incomplete implementations of it and must try to solve that problem on their own side instead of fixing it upstream, which could take longer given that not every admin would like to update the software right away, especially on a busy server.
1
YoungSatoshi · 2w
Servers store events, possibly notes.
Jay · 2w
That makes sense. Given there are so many relays out there you can't expect them all to do things right.
YoungSatoshi · 2w
What is relay and why can't it be trusted?
semisol · 2w
Limit is advisory anyway. Relays can send less than what you ask for without any issue, and you should still paginate until you get enough. Only “no events” should be authoritative as nothing remains, even then…
Jay · 2w
What's the right way to do req limits? I don't trust NIPs so I just review other people's code to figure out what to do.
Yonle profile picture
Seeing how developers treat it, It seems they prefer to have the subscription closed by the relay right after receiving a selected amount of events,

but then one might treat a limit as an offset and that's where both things conflict with each other. Given that i treat it as a offset but still sent EOSE anyway, Some developers find it a bit conflicting with their implementations.
2
Yonle · 2w
I would suggest having your client to send CLOSE to relay after you received `<limit>` amount of events accordingly to your REQ instead of blindly trusting relay, which i found quite often
nostrich · 2w
bro can you not
Yonle profile picture
when i see my project, bostr got blamed for not doing `REQ` limit properly, I still can't stop laughing on how these fucks got gaslighted by a flawed NIP-01 spec
11
Jay · 2w
What's the right way to do req limits? I don't trust NIPs so I just review other people's code to figure out what to do.
Yonle profile picture
>added features

all we wanted is a fucking functioning app, not a babbooloning amount of features shoved one for another
Yonle profile picture
apparently there's peoples in nostr waiting for my next noises

all while i'm angy on nostr consuming 1 MB/s for like 69 seconds straight for no reason