Avatar
Martin
8aefe77ddb732945696c7c8c8070778b645b8706b0cdbf5c8a4a22f1144c104e
💜 Musician, Composer, Producer, DJ ❤️ Singing Circles, Dances, Sports ❤️🌀🇩🇪👾🔥🎤🎹🎼🎧🪗🎸

I prefer western guitar. The key was for me to be able to master the first 4-8 chords. Its very difficult at the beginning because your hand will hurt and it feels awkward to make the chord shapes . But once you know the shapes by heart and your hand relaxes and you can switch between these chords without thinking the magic starts. I would try G, Em, D, C .. with these four chords alone you can play and sing many songs already if you transpose them (capo). I would not start with scales and single tones. I d also buy a songbook with these classic campfire, pop or folk songs

Guitar is perfect for a start imo. I started playing by learning Chords only several years ago (i.e. rhytm guitar) I quickly was able to sing along to favorite songs which is good fun :)

Replying to Avatar Gzuuus

I'm excited to introduce Nostr Social Duck, or just NSD, a library I've been crafting over the last two weekends that brings sophisticated social graph analysis, even to hardware that doesn't have the luxury of abundant memory. This library leverages DuckDB to perform graph operations over Nostr social graphs built from Contact List events (kind 3), and it's designed to run on all sorts of hardware, from low-end devices to powerful servers.

The inspiration came from limitations I encountered with nostr:npub1g53mukxnjkcmr94fhryzkqutdz2ukq4ks0gvy5af25rgmwsl4ngq43drvk excellent nostr-social-graph library. While powerful, loading entire social graphs into memory becomes challenging, specially on resource constrained devices like older computers, mobile devices, Raspberry Pis, and similar environments. Once the graph grows, memory constraints can cause performance issues or outright failures.

The recent launch of Relatr and its inclusion in the Umbrel community store (thanks to nostr:npub1ye5ptcxfyyxl5vjvdjar2ua3f0hynkjzpx552mu5snj3qmx5pzjscpknpr ) got us thinking: how could we enable anyone to run this without being constrained by their hardware? Since disk storage is cheaper than memory, how we can balance the tradeoffs 🤔... That's when DuckDB emerged as the perfect solution

DuckDB is quite a cool piece of software that's been around for some time with an amazing team committed to open source. It's an embedded, in-process database designed to run on all sorts of hardware. What makes DuckDB particularly compelling for our use case are its advanced memory management capabilities. When complex queries require more memory than available, DuckDB automatically spills to disk, ensuring queries complete even if there is not enough memory, rather than crash. No memory, no problem.

This feature alone makes DuckDB a strong choice, but there's more. Its advanced analytic SQL capabilities make graph analysis operations possible and performant. NSD already provides methods to get the shortest distance between pubkeys, along with a complementary method to find the shortest path that returns both the path and distance. You can define a root pubkey which creates a temporary table with all distances precomputed, making subsequent queries much faster.

The library also includes methods for social graph analysis, like, get the degree of a pubkey, how many inbound and outbound connections it has, which helps determine the weight of a pubkey in the graph. There are convenient methods to check if one pubkey follows another or if two pubkeys are mutual follows. As well thanks to DuckDB in the future we could use parquet files to distribute social graph data. You can find all the details in the repo.

We're currently refactoring Relatr to use NSD, and the results are impressive. By replacing the previous combination of nostr-social-graph library and SQLite database with DuckDB and NSD, we've eliminated the inefficiencies of having separate data sources. Complex queries like profile search now benefit from analytical SQL directly in the search algorithm, reducing data transfer between the program and database and returning more relevant results efficiently.

I did some naive benchmarking to understand how it performs compared to the nostr-social-graph library, and it behaves pretty well. Both libraries are pretty close in performance when there's a root pubkey set in NSD.

This effort aligns with the ongoing #WoTathon organized by nostr:npub1healthsx3swcgtknff7zwpg8aj2q7h49zecul5rz490f6z2zp59qnfvp8p , as we believe NSD provides fundamental primitives for performing graph operations on everyone's hardware without sacrificing simplicity of use and deployment.

The library is available now and can be integrated into any js project:

```bash

bun add nostr-social-duck

# or

npm install nostr-social-duck

```

As we finalize the Relatr refactor, we'll share detailed insights about the improvements and performance gains. The combination of Nostr's decentralized social protocol with DuckDB's efficient analytics creates a powerful foundation for the next generation of social applications.

The library's repository: https://github.com/gzuuus/nostr-social-duck

Related DuckDD's blog posts:

- https://duckdb.org/2025/01/17/raspberryi-pi-tpch

- https://duckdb.org/2024/03/29/external-aggregation

- https://duckdb.org/2024/12/06/duckdb-tpch-sf100-on-mobile

If you like the project please consider supporting our work by zapping, or contribute to it's development

Congrats Gzuuus 💜😅

Replying to Avatar Gzuuus

I'm excited to introduce Nostr Social Duck, or just NSD, a library I've been crafting over the last two weekends that brings sophisticated social graph analysis, even to hardware that doesn't have the luxury of abundant memory. This library leverages DuckDB to perform graph operations over Nostr social graphs built from Contact List events (kind 3), and it's designed to run on all sorts of hardware, from low-end devices to powerful servers.

The inspiration came from limitations I encountered with nostr:npub1g53mukxnjkcmr94fhryzkqutdz2ukq4ks0gvy5af25rgmwsl4ngq43drvk excellent nostr-social-graph library. While powerful, loading entire social graphs into memory becomes challenging, specially on resource constrained devices like older computers, mobile devices, Raspberry Pis, and similar environments. Once the graph grows, memory constraints can cause performance issues or outright failures.

The recent launch of Relatr and its inclusion in the Umbrel community store (thanks to nostr:npub1ye5ptcxfyyxl5vjvdjar2ua3f0hynkjzpx552mu5snj3qmx5pzjscpknpr ) got us thinking: how could we enable anyone to run this without being constrained by their hardware? Since disk storage is cheaper than memory, how we can balance the tradeoffs 🤔... That's when DuckDB emerged as the perfect solution

DuckDB is quite a cool piece of software that's been around for some time with an amazing team committed to open source. It's an embedded, in-process database designed to run on all sorts of hardware. What makes DuckDB particularly compelling for our use case are its advanced memory management capabilities. When complex queries require more memory than available, DuckDB automatically spills to disk, ensuring queries complete even if there is not enough memory, rather than crash. No memory, no problem.

This feature alone makes DuckDB a strong choice, but there's more. Its advanced analytic SQL capabilities make graph analysis operations possible and performant. NSD already provides methods to get the shortest distance between pubkeys, along with a complementary method to find the shortest path that returns both the path and distance. You can define a root pubkey which creates a temporary table with all distances precomputed, making subsequent queries much faster.

The library also includes methods for social graph analysis, like, get the degree of a pubkey, how many inbound and outbound connections it has, which helps determine the weight of a pubkey in the graph. There are convenient methods to check if one pubkey follows another or if two pubkeys are mutual follows. As well thanks to DuckDB in the future we could use parquet files to distribute social graph data. You can find all the details in the repo.

We're currently refactoring Relatr to use NSD, and the results are impressive. By replacing the previous combination of nostr-social-graph library and SQLite database with DuckDB and NSD, we've eliminated the inefficiencies of having separate data sources. Complex queries like profile search now benefit from analytical SQL directly in the search algorithm, reducing data transfer between the program and database and returning more relevant results efficiently.

I did some naive benchmarking to understand how it performs compared to the nostr-social-graph library, and it behaves pretty well. Both libraries are pretty close in performance when there's a root pubkey set in NSD.

This effort aligns with the ongoing #WoTathon organized by nostr:npub1healthsx3swcgtknff7zwpg8aj2q7h49zecul5rz490f6z2zp59qnfvp8p , as we believe NSD provides fundamental primitives for performing graph operations on everyone's hardware without sacrificing simplicity of use and deployment.

The library is available now and can be integrated into any js project:

```bash

bun add nostr-social-duck

# or

npm install nostr-social-duck

```

As we finalize the Relatr refactor, we'll share detailed insights about the improvements and performance gains. The combination of Nostr's decentralized social protocol with DuckDB's efficient analytics creates a powerful foundation for the next generation of social applications.

The library's repository: https://github.com/gzuuus/nostr-social-duck

Related DuckDD's blog posts:

- https://duckdb.org/2025/01/17/raspberryi-pi-tpch

- https://duckdb.org/2024/03/29/external-aggregation

- https://duckdb.org/2024/12/06/duckdb-tpch-sf100-on-mobile

If you like the project please consider supporting our work by zapping, or contribute to it's development

Congrats Gzuuud ❤️

Simon Dixon has very logical and interesting takes on the recent Bitcoin dump, Strategy s Role, politics, markets and much much more. Give it a listen.

https://youtu.be/kGwkOSUJqto?si=hn_IFcVKPCh7RZzE

Its a long ride every week (2 hours and more) but he splits it in three parts. Just wow!

Yeah. Real Alan probably never used the word „social media“. 😛

Hi Nostr, I had a cool DJ set and a musical Live Performance last saturday at a nice Ecstatic Dance venue. I am not sure how I can post music properly (file storage) on Nostr yet (lol) but my goal is to definitely step this up and find some good hosting. More to come :) in the meantime if you like the centralized music service called „soundcloud“ you can take a listen to the set. The DJ set was meant to be a journey through the 5 elements Earth, Water, Fire, Air, Ether.

For the first time I used my main music DAW software Ableton to perform a dJ set which is a total new and different thing but I am glad I went there… Kind regards Martin

https://on.soundcloud.com/ihqMHhKhX14mU1zlug

Preparing for my next DJ Set and it will be #ableton only for the first time :)

https://blossom.primal.net/eeab162b4204c0ab1c95c73d8766fafebe89632db2204a9b036b6c494e0853fc.mov

Wow this Podcast with Simon really went deep, made so many connections and was absolutely stunning to listen. I need to let it sink in or even listen again. Thanks for this!

Much time for insightful and heartwarming content and tasks on ya computer 💜☺️ Lets make it through this once more!

🌟 An Innovative Project in the Heart of Tulum! 🌟

Imagine a place where technology, sustainability, and the future of money come together to create something truly unique. This is Bucéfalo, my latest venture located in a prime property in Tulum, just steps away from all the key services this vibrant city has to offer. 🏙️✨

Since April 2024, I’ve been developing a structured concept based on the fascinating model of the circular economy, but with a disruptive twist: Bitcoin as its central axis! 💡₿ This project isn’t just about functionality—it’s about inspiration, showing how we can build smarter, more efficient spaces aligned with global trends.

If you’re intrigued to learn more about this ambitious plan, feel free to visit our official website (https://bucefalo.group/), send me a direct message here on Nostr 📲 or follow nostr:npub15h92ezlxt8lqghghnj58e6gjgq6cjrmffljz85elu85xz9ew6utsese6sp. I’m excited to share the details and answer any questions you might have. And the best part? We can communicate in Spanish, German or English! 🌍 Your preferred language won’t be a barrier—I’m here to ensure you fully understand every aspect of this project.

🚀 Ready to explore the future?

#CircularEconomy #Bitcoin #TulumInnovation #Sustainability #DigitalFuture #UniqueProjects #TechAndCulture #PositiveChange #Blockchain

Bookmarked for later. Thanks for sharing :)

#asknostr is there an easy app on iOS to remove all picture metadata?

Looking for Nostr local meetups in Rhein Main area, Frankfurt Germany…

Anything happening here??

#frankfurt

#rheinmain

#asknostr

#meetup