Front-end react developer building my own nostr client. https://nostrudel.ninja/
hzrd149 @hzrd149 - 43m
Most web clients cant easily validate the hashes since its not possible to get the raw blob from a <img> element. I have a button to do it in noStrudel but the user has to intentionally click it Also it does not detect https://github.com/willnorris/imageproxy which is the image proxy that noStrudel can use :)
hzrd149 @hzrd149 - 60m
What are you using to detect proxies? User agents? Also blossom can help prevent tampering with media since the files sha256 is in the URL which is in the signed event
hzrd149 @hzrd149 - 5h
Finally found a way to implement WoT filtering that I like in #noStrudel
hzrd149 @hzrd149 - 11h
Yeah, sorry it's. Alittle hidden in the menus
NWC 👀 nostr:nevent1qvzqqqqqqypzp4sl80zm866yqrha4esknfwp0j4lxfrt29pkrh5nnnj2rgx6dm62qy2hwumn8ghj7un9d3shjtnyv9kh2uewd9hj7qgwwaehxw309ahx7uewd3hkctcqyz03vzcszpua8rkt2nhvfa4yj8ffxw72qaag4pjztnfgtgdtqrttsphvhp7
hzrd149 @hzrd149 - 20h
I'm not accusing him of it, at least not till I see convincing evidence. But either way I don't think porn spam is good for nostr while it's growing.
hzrd149 @hzrd149 - 1d
The porn scares of new users and makes existing users leave. Spam attacks are expected and clients and relays are trying to find new ways to mitigate them, but when you spam porn your not just spamming your trying to hurt the small community
very small complaint. there are lots of layered dialog modals :)
Well this should be interesting...
hzrd149 @hzrd149 - 2d
Random thought. maybe bloom filters could be space efficient way to handle the filtering use case? I don't know much about them but AI says they are used to prove an ID is within a set
I'm not too worried about the server lying, since ideally users could choose their provider or maybe run their own. The way I see it there are two uses for pagerank or "WoT" 1. The client wants to hide content that is outside of the users social network (subjective distance or score) I'm not sure how this could work without the server sending the whole graph (probably Mb of data) or the client making API requests to check each pubkey (not great for privacy) For this case I think the simple kind:3 WoT is good enough, at least for now 2. The client wants to sort events or pubkeys by "reputation" or score Vertex already does this well for user search ( query -> pubkey[] ) but it may be useful to have some kind of generic sorting method for events to allow a client to sort replies ( again probably bad for privacy ) I tend to agree with nostr:npub1jlrs53pkdfjnts29kveljul2sm0actt6n8dxrrzqcersttvcuv3qdjynqn. I want my client to work without a dependency on a server. but I'd also like to integrate with some kind of server to improve performance or to get better sorting / filtering results
Luckily bitcoin nodes don't run in the web browser :)
I love the comparison and break down. this is the kind of content I'm on nostr for :)
No, I would like to write UI tests and performance tests. but isolating a nostr testing environment with multiple relays is pretty difficult to setup
"all my problems were somewhat solved" lol, because problems are never really solved 😅
Just spent one hour debugging a very confusing issue with the replaceable event loading in applesauce. it was one of those bugs where different browsers where giving different results Turns out that FireFox does not implement setTimeout the same as chrome does. Chome seems to run the callbacks in the order of the timeout value. where as FireFox seems to run them in the order they where registered. that or it was running a setTimeout(() => {}, 0) after a setInterval Either way the solution was to remove the setTimeout. so just be careful when using timeouts in async code
Working on updating #noStrudel to use the latest applesauce version and I'm surprised that it feels a little snappier. maybe its all in my head or maybe all my work on a good nostr sdk paying off :)
hzrd149 @hzrd149 - 8d
please do. personally I don't like managing awesome style repos
hzrd149 @hzrd149 - 9d
Looks like there is a new nsite host gateway https://nostrdeploy.com I updated the default nsite.lol homepage to work on it so it can be used as a dashboard https://npub1rqznq898cxkjly6fqak09qheqkeure2qazr8tc2tjkzkcs9htces9rzvta.nostrdeploy.com/
Already working 😁 https://nsite.lol/ https://nsyte.run/ https://github.com/nostr-protocol/nips/pull/1538