Hey gang, I just pushed Damus build 18 which is the first major nostrdb integration. Now all damus profiles are stored in nostrdb! You will always be able to search profiles from people you've seen in the past. There are many crash fixes in this build as well, check out the full changelog: Enjoy! ### Added - Add followed hashtags to your following list (Daniel D’Aquino) - Add "Do not show #nsfw tagged posts" setting (Daniel D’Aquino) - Hold tap to preview status URL (Jericho Hasselbush) - Finnish translations (etrikaj) ### Changed - Switch to nostrdb for @'s and user search (William Casarin) - Use nostrdb for profiles (William Casarin) - Updated relay view (ericholguin) - Increase size of the hitbox on note ellipsis button (Daniel D’Aquino) - Make carousel tab dots tappable (Bryan Montz) - Move the "Follow you" badge into the profile header (Grimless) ### Fixed - Fix text composer wrapping issue when mentioning npub (Daniel D’Aquino) - Make blurred videos viewable by allowing blur to disappear once tapped (Daniel D’Aquino) - Fix parsing issue with NIP-47 compliant NWC urls without double-slashes (Daniel D’Aquino) - Fix padding of username next to pfp on some views (William Casarin) - Fixes issue where username with multiple emojis would place cursor in strange position. (Jericho Hasselbush) - Fixed audio in video playing twice (Bryan Montz) - Fix crash when long pressing custom reactions (William Casarin) - Fix random crash due to old profile database (William Casarin)
Excited to try and see what NostrDB can do better.
Profiles is one small usecase of nostrdb, but i think its working quite well!
There seems to be an issue when encountering new profile in reply and trying to go to it. It goes there and nothing loading for a while, going back and clicking on yet another new profile that I am not following or seen, it freezes and I cannot do anything but quit Damus and start it again. iOS 17.0.1 latest Damus TF 🐶🐾🫡
The freezing is a nav bug introduced by apple in iOS17 which is very hard to fix but we’re working on it
Ah, got it. I’ve seen discussions around that and didn’t know it was related. Thanks! 🐶🐾🫡🫂
Seems pretty smooth so far!🫡 What’s next for nostrdb integration?
A big issue right now is that notes are processed twice and are still stored in memory. So there is lots of cpu and memory waste at the moment. Next step is to remove all the swift note processing code and use nostrdb for everything.
Yo, happy to help now. Have some time on my hands. @vrod
Does the current implementation use the gossip model, or is that later down the line?
It doesn’t do any network stuff at the moment, but yeah definitely down the line.
Cheers Will 🤙 Brick by brick 🧱
How I that, Will?
How can one use it? Any NiP in particular?