Post AT97HJJrErGfT4WHei by smith@orwell.fun
(DIR) More posts by smith@orwell.fun
(DIR) Post #AT911OJaIXMkbSPxc8 by 3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d@mostr.pub
2023-02-27T20:15:56.000Z
1 likes, 0 repeats
Is it correct to say that the most famous 25 relays are being basically DDoSed all the time while the other 900 relays are seeing very little traffic?
(DIR) Post #AT911OxzsHgycnKEbY by alex@gleasonator.com
2023-02-28T16:57:27.263266Z
2 likes, 1 repeats
@3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d There needs to be a Nostr product focused on relays as communities. NIP-11 is a good start, but we need the ability to attach a favicon and brand to the relay. Snort is also doing a good thing by letting you view content from specific relays. For the Fediverse it's instances, for Nostr it's relays. The strategies are no different here, it's just that on Nostr you can be a member of multiple communities at once. The relay is the thing to gameify.
(DIR) Post #AT91FfLzkE95VDLsjw by graf@poa.st
2023-02-28T17:00:07.491105Z
1 likes, 0 repeats
@alex @3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d whats good relay software. i see a list of them and no real concise breakdown of each ones supported NIP or whatever the fuck they're called. i've got idle hardware and a domain that would be suited for this (the address would be relay.shitforce.one) but i dont know which to run
(DIR) Post #AT91Wy7vCTRieI1IH2 by alex@gleasonator.com
2023-02-28T17:03:10.299104Z
1 likes, 0 repeats
@graf @3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d The one I’m running is strfry, which reminds me the most of Pleroma: https://github.com/hoytech/strfry It has MRF-like capabilities and is designed to be as efficient as humanely possible. I’m not sure how you would scale it once it hits its limit. The other one I was torn on is nostream, which is beefy and seems infinitely scalable the more money you can throw at it: https://github.com/Cameri/nostream
(DIR) Post #AT91kej87p4mXFwz0C by graf@poa.st
2023-02-28T17:05:43.608278Z
0 likes, 0 repeats
@alex @3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d >limithas a demonstrable limit been found with either of them? probably not right?
(DIR) Post #AT924NseTANU4woM8e by alex@gleasonator.com
2023-02-28T17:09:11.924992Z
4 likes, 1 repeats
@graf @3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d The bridge served 500K requests yesterday, and with Mostr and strfry on the same box my system resources looked like this the whole time.The other reason I went with strfry is it has event import/export in jsonl format, which would make it theoretically possible to migrate data to another relay software.
(DIR) Post #AT92Ak9yY2LKulwkqG by parker@pl.psion.co
2023-02-28T17:09:55.525601Z
0 likes, 0 repeats
@alex @3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d @graf I assume the MRF-like capabilities are the write policy plugins?
(DIR) Post #AT92C4xmgeuNizsgrY by graf@poa.st
2023-02-28T17:10:41.027083Z
1 likes, 0 repeats
@alex @3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d the latter uses postgresql so it should theoretically be easy to migrate it. ill look into this. thank you
(DIR) Post #AT92GBRgWnkSzHp9jU by alex@gleasonator.com
2023-02-28T17:11:19.040064Z
1 likes, 0 repeats
@parker @3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d @graf Yep. And what’s even cooler is you can write plugins in any programming language, since events get piped to it through your script in stdin and you return them in stdout.
(DIR) Post #AT92phYv6vvSjO91iy by parker@pl.psion.co
2023-02-28T17:17:51.311269Z
3 likes, 0 repeats
@alex @3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d @graf Is there any easy way to query people’s Lightning address? A relay that only allows subscriptions from people who are not capable of receiving zaps would be fun.
(DIR) Post #AT95Y1HNMemSX4CNG4 by graf@poa.st
2023-02-28T17:48:14.638421Z
2 likes, 1 repeats
@alex @3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d alright strfry if you want to let your nostr buddies know, ill watch and see how it performs relay.shitforce.one
(DIR) Post #AT95YbvL7Y8eBRAnY0 by graf@poa.st
2023-02-28T17:48:22.041695Z
0 likes, 0 repeats
@3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d @alex (also supports ipv6)
(DIR) Post #AT95kJhyfgpJAEVNVw by alex@gleasonator.com
2023-02-28T17:50:25.683311Z
2 likes, 0 repeats
@graf @3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d Can I publish my Mostr bridge to it?
(DIR) Post #AT95lbZDl5MAqF1VyK by graf@poa.st
2023-02-28T17:50:43.191656Z
2 likes, 0 repeats
@alex @3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d go for it, the machine its on is pretty beefy
(DIR) Post #AT95stbJ6lb0nbTYye by APPTeOORuzvlGOetVY.verita84@poster.place
2023-02-28T17:52:03.253191Z
0 likes, 0 repeats
@graf @alex @3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d You finally coming around to nostr Graf?
(DIR) Post #AT95uy5BPpY7HKREJc by graf@poa.st
2023-02-28T17:52:24.714541Z
1 likes, 0 repeats
@verita84 @alex @3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d no i dont really have an interest in using it in its current iteration but i figured i would help alex and others
(DIR) Post #AT96ICWxrdOWkUVkXY by APPTeOORuzvlGOetVY.verita84@poster.place
2023-02-28T17:56:37.604412Z
0 likes, 0 repeats
@graf @alex @3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d Something wong
(DIR) Post #AT96f9g2djB2Yihaka by APPTeOORuzvlGOetVY.verita84@poster.place
2023-02-28T18:00:46.503509Z
0 likes, 0 repeats
@graf @alex @3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d Is this just going to be a nostr relay or a fedi/nostr relay/bridge ?
(DIR) Post #AT96sYv06XuObl5lwG by graf@poa.st
2023-02-28T18:03:10.853580Z
1 likes, 0 repeats
@verita84 @alex @3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d fixed. improper config in nginx since I didn't realize it was utilizing websockets at first so i configured the proxy_pass directive wrong
(DIR) Post #AT96usjzNOf8fJ30lc by APPTeOORuzvlGOetVY.verita84@poster.place
2023-02-28T18:03:37.094136Z
0 likes, 0 repeats
@graf @alex @3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d Works !
(DIR) Post #AT97HJJrErGfT4WHei by smith@orwell.fun
2023-02-28T18:06:13.849068Z
0 likes, 0 repeats
As far I can understand, there's no work in the relay, except for saving hex key addresses. The job is in the browser, who need to encode-decode everything is landing 🤔
(DIR) Post #AT97HJsFB0m1BibkFk by graf@poa.st
2023-02-28T18:07:38.009576Z
0 likes, 0 repeats
@smith @alex @3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d well it looks like its compressing data on the fly`[Websocket ]INFO| [20] Disconnect from 127.0.0.1 UP: 19.59K (59.2% compressed) DN: 62b (0.0% compressed)`its also on 10gbit
(DIR) Post #AT986DPIymrhttLCJE by APPTeOORuzvlGOetVY.verita84@poster.place
2023-02-28T18:16:52.289711Z
0 likes, 0 repeats
@graf @alex @3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d You should be seeing some users/traffic now. Posted about it on Nostr.
(DIR) Post #AT98ELMZHe8ytLw812 by graf@poa.st
2023-02-28T18:18:19.306984Z
1 likes, 0 repeats
@verita84 @alex @3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d ye theres a bit. im working on defining robots and other directives in nginx then i will tidy up the configs need to figure out a favicon
(DIR) Post #AT98OO1sE2lY3a2tkm by alex@gleasonator.com
2023-02-28T18:19:37.481459Z
1 likes, 0 repeats
@graf @verita84 @3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d The whole protocol is websockets, which is very interesting. Want a single event? Open a websocket and request it, and it’ll get back to you when it does (usually a few ms).
(DIR) Post #AT98Oj1EBdj99euBA8 by APPTeOORuzvlGOetVY.verita84@poster.place
2023-02-28T18:20:12.879912Z
0 likes, 0 repeats
@alex @3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d @graf Is websockets the reason why I have to refresh the clients all the time to get updates? lol
(DIR) Post #AT98SPQywZnlZYhxxY by graf@poa.st
2023-02-28T18:20:51.909586Z
2 likes, 0 repeats
@alex @3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d @verita84 yeah im learning as i go. might submit a PR with my nginx config and service unit since they dont have one yet
(DIR) Post #AT98h0ogknV3Z9lB3Y by alex@gleasonator.com
2023-02-28T18:23:25.942565Z
1 likes, 0 repeats
@verita84 @3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d @graf No, that’s a client problem. Clients use a relay pool, and that implementation is very important to UX. You want it to retry relays with exponential backoff. I assume Iris is doing something custom, but even the best JS relay pool I found is still a bit rough around the edges.
(DIR) Post #AT99ft6E3nyNIQzTM0 by parker@pl.psion.co
2023-02-28T18:34:30.908106Z
0 likes, 0 repeats
@alex @3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d @graf I'm being serious btw, I need to figure out how to do that.
(DIR) Post #AT9AgEs3DNkAm05jzk by alex@gleasonator.com
2023-02-28T18:45:38.412456Z
0 likes, 0 repeats
@parker @3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d @graf I haven’t looked into the zaps thing yet and I still don’t even fully get lightning.
(DIR) Post #AT9BAWon3F0h7j0ee0 by parker@pl.psion.co
2023-02-28T18:51:15.581857Z
0 likes, 0 repeats
@alex @3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d @graf Bitcoin is expensive and slow as shit, so for micropayments they set up a peer to peer network of nodes that use these nodes to route payment channels between people, who trade invoices back and forth, and then do a single final settlement of payments on Bitcoin once those channels are closed.
(DIR) Post #AT9BVdkSTqKWhM3B7w by alex@gleasonator.com
2023-02-28T18:54:57.142217Z
1 likes, 0 repeats
@parker @3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d @graf I got that much, but how is it possible that either user can “close” the channel at any time? Some cryptography thing.
(DIR) Post #AT9BcWetEqakjjjGEK by meso@asbestos.cafe
2023-02-28T18:56:19.358121Z
0 likes, 0 repeats
@alex @parker @graf alex do you really have to shit up my timeline with "3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d" why did you have to do this to us
(DIR) Post #AT9CUqx60GMTJW9MCe by parker@pl.psion.co
2023-02-28T19:06:07.984785Z
0 likes, 0 repeats
@alex @3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d @graf They use multisig wallets that both parties deposit Bitcoin into. Any time there's a new invoice, an updated balance sheet gets signed by both parties. So if the channel closes, miners check that the final settled balance sheet is valid and signed, and the multisig distributes funds accordingly.Also, as per meso, please truncate bridged nostr user-names if at all possible.