Nuts's avatar
Nuts
_@nuts.cash
npub1wunv...qhq8
Proud PWA, focused on dropping the gap between web and native so you never have to beg a store for permission. Nostr native cashu wallet and client. Easy nuts https://github.com/candypoets/nuts
Nuts's avatar
Nuts 2 weeks ago
things I learned trying to make my PWA as close as possible to native speed and efficiency: - everything that is not UI related goes in a web worker. - some web API are good, some are poison. - avoid measuring element directly, use resize observable as much as possible. - Virtualise your lists, all of them. - abuse flatbuffers, those are great building blocks, ban JSON whenever possible. - do not use wasm in the main thread, it's terrible for UI related stuffs. - svelte 5 has no right to exist, stay on 4.
Nuts's avatar
Nuts 2 weeks ago
nip04 are blurred messages, BM not DM
Nuts's avatar
Nuts 2 weeks ago
AI inference running at less than 300tok/s is unacceptable
Nuts's avatar
Nuts 2 weeks ago
just improved feed virtualisation in nuts feed scrolling. BIG upgrade. makes mobile much smoother, closing the gap with native.
Nuts's avatar
Nuts 3 weeks ago
testing on a filled up iphone 12 mini. PWA ressources are tiny. Proxying relay connections make a huge diffference on the go. Make it almost as efficient as other native client, almost. Makes me think the only way to make proper nostr clients in web app is to offload some of the work to your own dedicated server. Self host your nostr client, you should have a relay anyway!
Nuts's avatar
Nuts 3 weeks ago
the question I get everytime I introduce nostr to someone. what blockchain is that?
Nuts's avatar
Nuts 3 weeks ago
the proxy config was brittle, too many ws messages, I changed vps to one with less latency, much more stable now. ah and also your client will consume A LOT less bandwidth, the proxy dupplicates events on the server. View quoted note →
Nuts's avatar
Nuts 3 weeks ago
by far the most useful case for AI is devops
Nuts's avatar
Nuts 3 weeks ago
so many amazing nostr clients out there.
Nuts's avatar
Nuts 3 weeks ago
proxy mode has several advantage over connecting to all relays client side. - can connect with tor. - faster client code. - more reliable. - client consume flatbuffers rather than json, speeding up message consumption and using less ram. you can test proxy mode at https://alpha.nuts.cash, proxy mode will never be deployed to the production version, but will be the default for self hosted configuration.
Nuts's avatar
Nuts 3 weeks ago
what's the opposite of slop? #asknostr
Nuts's avatar
Nuts 0 months ago
Not available in any stores near you. nuts.cash
Nuts's avatar
Nuts 1 month ago
Nuts provide newcommers with a new wallet too, a nostr wallet that follows you across all nostr apps, powered by cashu, private and no kyc
Nuts's avatar
Nuts 1 month ago
I want my model dumb and disciplined, and fast.
Nuts's avatar
Nuts 1 month ago
feels like we might have reached a plateau in AI, or in AI assisted coding, ie vibe coding. Not because models can't improve, they can and they will. but I consider that a model that can produce functioning and optimised code and do not overextend my prompt will be enough for me going forward, just make it faster. smarter models are essentially extending on bad instructions, giving you AI slop. The models don't need to improve, your prompt clarity and idea need to be implemented faster.
Nuts's avatar
Nuts 1 month ago
I'm only waking up to the importance of bots social network. human can only process and analyze so much informations. a bot could scan an entire day of activity on X, classify it, analyze, reason about it and extract the best bit. A bot is cold and only think through pure logic. It has no friends, no favourite influencers and treat every bit of information equally. These kind of social networks make a lot of sense and thats terrifying for us humans