Avatar
hzrd149
266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5
JavaScript developer working on some nostr stuff - noStrudel https://nostrudel.ninja - Blossom https://github.com/hzrd149/blossom - Applesauce https://hzrd149.github.io/applesauce

I think I opened a NIP-29 group from a link, I don't remember if I clicked any buttons though

Signed into flotilla with a browser extension, it immediately bombarded me with NIP-42 auth requests so i figured Id let it sign stuff for 5 minutes....

Then the first thing it does it wipe my NIP-29 groups list... lesson learned.

Why are nostr apps still being built to automatically sign stuff?

Yeah... That's an annoyance, ideally, Blossom Servers would have an FTP-style file management interface and then you would just copy the links with the hash.

filenames are lost when servers go down and when the file is re-uploaded to another server there is no way to tell if its the original without knowing the original hash

also the NIP-60 wallet in applesauce should be working now. it might still loose users money but at least it will show the correct balance every time you open the app 😬

https://hzrd149.github.io/applesauce/examples/#wallet/wallet

I was just about to ask about that. every time I try to use the app I'm annoyed by the constant NIP-42 auth requests. it would be awesome to have the same auth system that you implemented in grimoire

This is cool. also testing something to see if Grimoire has a NIP-89 event

nostr:naddr1qvzqqqrc8ypzqla9dawkjc4trc7dgf88trpsq2uxvhmmpkxua607nc5g6a634sv5qyd8wumn8ghj7urewfsk66ty9enxjct5dfskvtnrdakj7qgmwaehxw309a6xsetxdaex2um59ehx7um5wgcjucm0d5hsz9mhwden5te0veex2mnn9ehx7um5wgcjucm0d5hsqpnnda3kjctvjnyrpc

Way too many things added or broken to easily list in a single article. but here are some highlights for the v5 release of applesauce

I've also take some time to update the docs at https://hzrd149.github.io/applesauce/ and created lots more examples 😁

nostr:naddr1qvzqqqr4gupzqfngzhsvjggdlgeycm96x4emzjlwf8dyyzdfg4hefp89zpkdgz99qy2hwumn8ghj7un9d3shjtnyv9kh2uewd9hj7qg3waehxw309ahx7um5wgh8w6twv5hsqrtpwpcxcetnv96kxefdwc6sersccd

Discipline them...

Honestly not sure though. the API for applesauce isn't very similar to other libraries that the models are used to. so it either takes a large "rules" context for them to understand it. or I have to clean up the API

For applesauce V4 I've found the most success by pointing them at the specific examples in the "examples" folder that I want them to copy. although that means that depending on how much code you give them it will fill up their context window. So I've been doing a lot of cleanup on the API for V5 that will hopefully make it easier for AI models to at least guess what the method names are :)

Using proxies to optimistically create an observable chain where each step attempts to access the value. it basically resolves the path through the object as if each field returned a Promise and you used `await` at each step

I tend to agree, but the "outbox model" is just for pulling the latest notes from the people you follow

https://hono.dev/ looks interesting, it's always fun to play with new web frameworks

Will do, I've got a lot of stuff to fix before the next noStrudel version

Sorry to everyone having issues with #noStrudel I haven't forgot about the app but I've been busy (distracted) with building out the applesauce SDK

Once applesauce has feature parody with noStrudel. then I plan to go through noStrudel and replace all the legacy code with new tested code from applesauce. then in theory there will be 0 bugs...

I've added support for expiring DMs, but expiring kind 1s and replies is an interesting idea

Replying to Avatar Gigi

Just run:

/gamemode 1

Fixed πŸ‘

hmm... I was thinking of using zod because its a fancy new typescript library. but there is merit in having a language agnostic schema

Although it wouldn't work with typescript unless I built a compiler from schema -> zod -> types

I think I saw someone else working on it. nostr:npub1zafcms4xya5ap9zr7xxr0jlrtrattwlesytn2s42030lzu0dwlzqpd26k5?

It was either a JSON schema library or zod, idk. but I have the urge to build my own now

Every time I make a big release of applesauce I get tempted to go back and build more... I really should move on and actually implement the features I've added into noStrudel

On a totally unrelated topic. what do the typescript devs thing about building a library of zod schemas for common event types?

I've been trying to think of how to prevent invalid events from getting to the UI components and causing a crash and I think strong types with validation might help

no, my POC only had paid uploads. never got to the point of trying downloads