Avatar
(>0_0)>
e5308b9c04ec5cc2bae04b5a70a7da79b28501a0676c243375813eb0cf8f4c08
The zaps must flow. ⚡️⚡️⚡️

WoS after today! Let’s go!

#zapathon

The zap storm is here! ⚡️⚡️⚡️

#Zapathon

Johnny Cash sings "Barbie Girl" (A.I.)

I’m actually impressed with how good it sounds.

https://www.youtube.com/watch?v=HyfQVZHmArA

Has AI gone too far? Elvis sings Baby Got Back 🤣🤣🤣

https://www.youtube.com/watch?v=IXcITn507Jk

Replying to Avatar jb55

Hey guys,

I've been quiet lately... I've been working on something big. In the past 2 weeks there have been 9539 new lines of code added to damus, 2928 removed, 279 files changed. I've rewritten much of the codebase in preparation for the nostrdb integration.

## nostrdb

What is nostrdb? nostrdb is an integrated relay within damus, with the same design as strfry, but slightly different to support embedding into nostr apps. This will be the heart of Damus apps going forward, including notedeck and other future microapps. Think of it as a kind of development kit but with an embedded database and query capabilities. I didn't want to have to recreate all of the same querying, caching, and parsing code when building new apps, nostrdb will solve all of the painful and slow parts. nostr seems simple but if you want a fully working app it is pretty complicated, especially if you want it to be fast and sync efficiently.

### Goals

* be the best and most efficient at querying, syncing and storing nostr notes

* enable direct mapping of notes into application code without any serialization overhead

* provide advanced syncing capabilities such as negentropy, which allows us to only query stuff we don't have

* be as portable as possible. nostrdb is a C library that you can embed into basically anything.

* full relay filter support

* full text search

### Benefits

* full note verification

* more efficient de-duplication before we begin processing events off the wire

* set-reconciliation based syncing (negentropy) drastically reduces bandwidth usage and latency

* iteration on future nostr apps will be quicker (android, desktop, etc)

* features like ghost mode, account switching, etc will be much more efficient as you will be able to quickly switch between notes that are cached locally

* much smaller memory footprint due to optimized in-memory note format, which in turn improves cpu-cache efficiency

* much better profile and note searching

So that's what I've been working on in the past two weeks. On to what else is new in this release:

## Multi reactions!

Suhail did an amazing job at adding multiple reaction support. All you need to do is long-press the Shaka button to show different options. You can customize these in settings as well

## New onboarding features

Damus will now suggest people to follow when you first enter the app, this is the first of many onboarding improvements coming soon. Thank Klabo for this one!

That's all for now! Please test thoroughly and let me know if you run into any issues. You likely will since the entire codebase has been changed, and I probably broke something.

Until next time 🫡

Stop trying to tempt me to update my zaps away!

🤣🤣🤣

Thanks everyone for the zaps 🥹

nostr:note18v6zytqetelt36qw239k87r9m8na8772ecx8a0g7euwtxfyhxltq8mnhl9

Curse meetings making me miss the #zapathon

Would be cool to see Pixar’s USD format serve as the “HTML” of AR/VR

https://www.theverge.com/2023/8/3/23818718/apple-pixar-3d-tech-alliance-openusd-metaverse

Replying to Avatar paulo

Nice! 🤜⚡️🤛

Go grab whatever kind of nuts you want

😅🤣🤣

💜🫂🧡

Crazy to think that 40+ years later the Voyager Probes are still functioning.

#space

https://www.space.com/voyager-2-heartbeat-earth-deep-space-signal