Oddbean new post about | logout

Notes by roosoft | export

 Time for a nice TradingView BTCUSD chart cleanup. Switching to price discovery mode.

Let's goooo! 🚀 
 that's a good start... 
 Helped another pleb get set up on nostr:npub1getal6ykt05fsz5nqu4uld09nfj3y3qxmv8crys4aeut53unfvlq... 
 Once they integrate BOLT12, it might end up being the best setup there is. 
 iPhone mirroring is my new favorite way to use Damus 
 There is an issue on the @Alby hub GitHub repo about BOLT12…

Seems like they’re on the lookout for demand about that feature.

If you’re interested, like me, let them know!

https://github.com/getAlby/hub/issues/46 
 Sounds like a nice opportunity to do something meaningful! nostr:note1k5grzd075zumjqt7kdt59lgaek947ymj00dsupar5f46m24qrrkq9ykhww 
 is there a way to somehow use BOLT 12 with Alby Hub? 
 New #damus appstore version just dropped!

- Support for viewing Highlights and a way to create h... 
 updated... reply guy gone... thx Will and Damus devs!!! 
 Pretty cool that Alby Hub derives a nostr private key from a 12 words backup…

Thing is, I already have one. Can’t find a way to override this… 
 nevermind, found a way 
 OMG, I am so excited to try @Alby Hub!

It got installed in a minute on fly.io with a simple TOML file. https://image.nostr.build/56eb2308f7408cacf7455e55010e8f8fdab2bda8f3458d9a31b8e04106ed7c3a.jpg  
 Why are there now 1000 reply guy bot accounts on NOSTR?

It’s annoying as hell 
 interested in that curated set of relays... how come they don't show up on your profile in Damus? 
 Good bye forever* $58k #Bitcoin 👋

(*Forever subject to change) 
 fot the 100th time… this time is different. 
 Why is async through tokio so popular in rust?

Seems to me that this guy gets the problem… https://image.nostr.build/fbdc74d9f0834bb2b9e05ef525a3ec1e8bea63c037c812fe44c936545220ae17.jpg  
 If you are seeing lots of replyguy spam make sure you aren’t casting a massive net and adding a... 
 Would be dope to be able to know from which relays a certain note comes from… 
 Don't be the one who puts his lige savings under Brian Armstrong's mattress 
 Got my hands on the Building bitcoin in Rust book… https://braiins.com/books/building-bitcoin-in-rust

Can’t wait to take a look at that chapiter… 25 pages explaining how to create a note from scratch

https://image.nostr.build/9bc0410e991a81606f1e5c896654ed414872ff2ff1ca66d4c7b3c3872d446d11.png 
 spent the past 5 hours or so doing some notedeck hacking on the plane.

I'm making it a bit easie... 
 thanks will for making me realize egui is a thing! 
 highly recommended... now, let's see if I can mix that with the @bitcoindevkit  #rust #bitcoin https://image.nostr.build/a6be50e6f795f7936f3e5da8e70df310f1466b6d5027e82615bcd34bd6ae0782.jpg  
 following so many new people this week... seems like nostr is going mainstream! 
 Wait a minute... in the wild west, the cowboys were the bad guys? 

https://www.netflix.com/title/81572104 
 This why it's hard to use Lightning.
nostr:nevent1qqs2mmwjm7gg8yuhdrvn0ekehetz0m0z883vyt6fv7vxsf3... 
 same with custodial Blue Wallet 
 question for rust bdk developers... how do you keep in sync with the mempool?

is it possible to subscribe to wallet events somehow or is polling required? 
 I agree... but I was specifically talking about https://bitcoindevkit.org

The rust lib doesn't seem to have realtime functions throwing events from nodes 
 I just installed miniflux, which is an awesome rss self hosted RSS aggregator.

Looking for great nostr, bitcoin or nix blogs or podcasts to follow.

Any recommendations? 
 #nostr is currently missing a MASSIVE opportunity.  There is a new bitcoin testnet, testnet4.  It... 
 care to share some faucets? thanks! 
 how do you even get a bitcoin core node to sync with testnet4? https://bitcoin.stackexchange.com/questions/123455/how-can-i-use-testnet4-with-bitcoin-core-today 
 a bitcoin related comic book in the making... 👀

nostr:note1fwmhl5j5cswf7h97sjrvz6a9j4wywva93q06r9zu67au6vgs0rrqtz3kd5 
 Does anyone else have a whole toolbox sized battery organizer and yet it still seems like you end... 
 that's what kids do to you 
 The new segwit explainer from Greg Walker is a thing of beauty:

https://learnmeabitcoin.com/beginners/guide/segwit/ 
 testnet4 coins needed, thx for the help

tb1q2892vugcrkypnn8lnwqll6u0mt7et7gl8eeuz0

https://m.primal.net/IKhU.jpg 
  @wiz is that you, mining all those new blocks I see on testnet4's section of the Mempool app? 
 Guys, spending some time on my old Elixir Bitcoin lib. Feels good!

Are there still some working testnet3 faucets lying around in 2024? Most of those I had documented 2 years ago are either buggy or completely gone.

Thanks for helping a guy giving assistance to a new bitcoin dev. 
 ... or should I switch to testnet4 already? 
 Has anyone stayed at the Whale Tail Hotel in Uvita? My wife and I are considering a trip!

#asknostr 
 Can't say about that specific hotel, but it's the coolest sector in Uvita 
 When you remove a python app, and replace it by its rust upgrade...

https://m.primal.net/IIMW.png  
 Lovely  @mempool production setup documentation:

If you don't have a fast SSD or NVMe-backed disk, that's fine—go online and buy some fast new NVMe drives. When they arrive, install them, throw away your old HDDs, and then proceed with the rest of this guide. 
 Eelco Dolstra’s PhD thesis that lead to NixOS

https://edolstra.github.io/pubs/phd-thesis.pdf 
 wen testnet4? 
 Nix is so cool… have you tried microVMs?

They can be compared to Docker containers, except they’re safer and easier to manage. 

This is not to mention that all those config files totally are reusable. Once you configure a Bitcoin node with NixOS, you can reproduce that on another computer just by reusing code. Reminds me a lot of programming language libraries.

Oh, and setting up baremetal computers is done with the same exact concept. That means any config can be reused anywhere, in a virtualized environment or not.

Take a look at https://astro.github.io/microvm.nix/ 
 no docker at all 
 it is linux only 
 what is that interface? I like it! 
 Is your bitcoin core node using hardware or software hasing?

https://bitcoin.stackexchange.com/questions/122440/bitcoin-core-vm-and-hardware-sha256 
 Looking for a good trade off for Google.

Want more privacy but good results.

I find DuckDuckGo ... 
 Kagi has been my daily driver for a while now and I'm not looking back

They also offer the Orion browser which is pretty dope 
 All my LND node’s channels have been closed 4 months ago.

I am now in the process of creating a new one with Core Lightning. Is it possible to reuse the same identity? If so, how? 
 @Amboss 

What happens on your website when an alias is being recycled with a completely new node? Assuming the previous one never comes back on the network, of course…

Could this bring confusion in search results? 
 gm… if you’re a bitcoiner interested in nix, I want to reach out.

we need to regroup and work together. all of us. 
 @jb55 have you ever had conversations in Nix circles revolving around nixpkgs and bitcoin? 
 An awesome Bitcoin-related comic in the making… nostr:note1ft53xym9mgf8p50xhy252qnqmdkj6hx5z9ry8msc0e9ku2f4rgrqefqmd4 
 @wiz

Yo dawg…

Someone brought to my attention that Mempool seems to have forked Blockstream’s fork of Romanz’s electrs…

The README.md seems pretty similar to Blockstream’s aside from the fact that its sync requirements are a bit more up to date.

I would like to know what else have been changed… 
 Trying to package Blockstream’s esplora into Nix’s package manager.

Made me figure out that this app doesn’t have a version number. This is despite the fact that the app it’s a fork of has one. Not a good thing for Nix, as it requires immutability. Will have to resort to a commit hash, I guess.

Still wondering which version number Nix will end up displaying to its users… how will they know how up to date they are? Not convinced a hash would do it. 
 Both BTCCAD and BTCUSD will happen roughly in 15k of their respective fiat currency.

Thus, BTCCAD will happen sooner.

Thanks for attending to my speech. 
 Your go to Linux distro? #asknostr 
 NixOS 
 Are you, like me, handling a shit load of git projects on the same computer?

Here is a small CLI rust app that can list them all and do somme fuzzy searching.

I am also using it to cd direct into project folders with fuzzy finding in one command.

https://github.com/roosoft/project_commander 
 "Diplomacy is the art of telling people to go to hell in such a way that they ask for directions."

Winston Churchill 
 In my rust learning journey, I just came across https://ratatui.rs

Seems pretty well suited for bitcoin or nostr CLI apps… 
 Hi @nostrdevkit

Where is the nostr rust community where I can discuss about NDK, the Nostr Development Kit? 

Is there a telegram group or something? Can’t find any on the website… 
 Need help with rust-bitcoin. New to the language itself. It might be very well documented, but I am struggling with basic stuff.

Would appreciate to have someone answering some basic questions I might have, so I can get going and build FOSS stuff on top of it.

Thanks fam! 
 I am just getting started with basic operations... would like to get a [u8 ;32] out of a Txid... 
 That is so true, it solved my current problem… should have tried it before posting here. Thanks! 
 Where do rust nostr devs hang out these days?

Taking a look at the nostr crate after spending weeks learning rust basics. Also done with half of 2023’s Advent of Code.

Feeling the urge to create or contribute to something useful… 
 Care to elaborate?