Oddbean new post about | logout

Notes by tohrxyz | export

 big news! boltz.exchange just launched lightning <> rootstock bitcoin atomic swaps

now its incredibly easy to get into rootstock and work with smart contract platforms

https://blog.boltz.exchange/p/hello-rootstock-swaps 
 why are websockets better for fetching nostr notes than http reqs?

somebody said interactivity but most of the time users are just passive consumers 

#devstr #asknostr 
 i have this feeling that websockets are too expensive compared to the benefit they give for a chat app

but i havent tested it yet, like what would be the scalability issues with serving million users via http polling vs wss 
 👏STOP PUTTING ANIMATIONS INTO APPS THEY FEEL LAGGY 👏STOP PUTTING ANIMATIONS INTO APPS THEY FEEL LAGGY 👏STOP PUTTING ANIMATIONS INTO APPS THEY FEEL LAGGY 👏STOP PUTTING ANIMATIONS INTO APPS THEY FEEL LAGGY 
 if u doing good in life make sure to lift up people around you

life is better when you share the success 
 Another one who discovered the wonders of SQLite (i.e. that it doesn't check types even though yo... 
 big push from DHH of ruby on rails 
 Another important point.

nostr:nevent1qqsdl3ktkq2s983le786xeylgh2xltz4nuj3kp2tadpcmnhw7eqmducpzd... 
 no it isnt. relays can just lie and if client doesnt verify signature (which they probably dont), its essentially unauthed content 
 really bad take. because this implies desire to have immutable thing. but nostr doesnt provide such thing. you cant rely on on relays not lying to you. i mean how many clients verify signatures. 

and even if they did, relays can also NOT SHOW you some stuff. not even lying per se. they can just not show edits 
 by truth you mean ability to see the original message, right? 
 never skipping a cardio (running away from ai assistants) 
 litecoin is great for shopping for huge items on eshops that have crypto payment gateway 

> fast blocks (2.5min)
> no address reuse (eth, solana, tron)
> dirt cheap (<$0.01)
> no need to worry about channel capacity and routing fees

and going eth tokens/monero —> litecoin for purchase is a great strategy

id urge you to consider experimenting with other cryptos if they cant solve your specific problem better than bitcoin (not talking about sound money)

dogma and religion isnt productive. 
 This is the signal to sell your system76 and buy Bitcoin  
 actually sir u misspelled “macbook” by writing “bitcoin” :D 

buy macbook, build good stuff, earn more than just hodling 
 but would it have glossy apple on the back??

i thought so 
 stupid react native animations

now all apps are laggy 
 minibits about to be next wallet of satoshi 
 Remember, remember
the 5th of November

https://m.primal.net/Ltkr.png  
 so much CI/CD .. just trust your instincts bro 
 i love grep 
 LLM as a consultant but never writing the actual code 
 the best thing to happen to us were ai generated deepfake shitposts 
 somebody made a stream where AI generated Trump debates AI generated Kamala over questions from twitch chat 😂

https://www.twitch.tv/trumporkamala2024 
 app makes computer yap some words and people are scared its sentient??? 
 zero conf? 
 Responsibility exists on nostr because of ownership. You treat things you own differently than th... 
 if i dont run my own relay, in what universe do i own my notes? 
 maybe a cached copy in my local storage 
 ERR; 403 Bad Request 
 do you think rewriting communism in rust would help ?
 
 what user agent does btcd node use? #asknostr #devstr 
 whats mls sir and where is it implemented? thanks 
 oh right , but implementation is still missing 

nostr:note1rfph9euer7zevdqhlu5w9em03y38rkukpnehczmad569jhxs3n3s9p4x2w 
 thanks, and are there plans on utilising this in some messenger app in the foreseeable future or is this just an early beginning of this? 
 they dont want u to know but you can live ur life like in gtav online lobby 
 aws s3 as a git remote, effectively serverless git remote server

https://github.com/awslabs/git-remote-s3 
 when you search for google in bing, it gives you bing searchbar before google results lol

https://m.primal.net/LcEG.png  
 somebody knowledgable about #DATUM and  @OCEAN mining pool, please 

so DATUM makes it so that each individual miner can select which transactions get into the box

OCEAN is as a pool against ordinals inscriptions and Runes

but DATUM should prevent censorship from pool's side, so if miner using DATUM decides to include ordinals, will  @OCEAN censor it and go DIRECTLY AGAINST their own supposed censorship-resistance mining protocol? 
 somebody should probably make relay aggregator service

like it has predefined set of relays and fetches on the backend and provides simple network traffic to clients

sure this leads to centralization but lots of different people could do it

fetching from 10 relays at the same time and using websockets feels inefficient 
 *** and this isnt what  @primal 's caching relay does really.

iirc it just caches the results that you have already gotten from different wss-based relays. 
 wouldnt http requests be more efficient than websockets??

like websites have long before this figured out how to use graphql for exotic queries and most of those aren't even that special for nostr clients, like GET 20 posts for your feed from couple of relays

WSS are really weird for me in this context

can somebody more experienced explain please? 
 my fave fashion influencer confirmed on tiktok yesterday that all the smart girlies are training ... 
 algos are imporant, but they need to serve you

theres so much data available that you need some sort of sorting and personalization because you dont want to look at uninteresting garbage

but you have to take step further in your thinking and not just repeat shit u read on the internet 
 proton drive, while being end-to-end encrypted, has this feature to privately locally index your gallery photos/videos and let you search in it
 
https://image.nostr.build/3e944e83eaa2721acca80e8a240ebd74baaf8051f03a34c723a579a0b642a911.jpg 
 oh wait its just for files 
 Nostr relays are web servers.  The only reason they work is because they are web servers.  Most a... 
 web3 mentioned??????! 
 mempool be mempooling hard rn 
 We will never see 58k again 
 top signal 
 asi záleží aj od toho akého nostr klienta používaš. Ja s Amethyst a phoenix wallet som to ... 
 (mozes klamat) (a mat malo satov) 
  @damus and  @primal are gonna be AWS and Azure of nostr relays 
 it feels kind of crazy that you can have 30k followers on nostr

my subconscious still feels that this is too much of an underground thing to do these numbers 
 I wonder why anyone thinks it is a good idea to have support for a Bitcoin project over Telegram.... 
 have you ever eaten mcdonalds at 1AM while completely hungry? 
 bet billions werent spent on food in ur fridge to taste that good 
 its funny how replying to voice message with voice message feels more polite than with text 
 hey  @Proton Wallet could you please enable "custom feerate" when sending a tx?

sometimes the priority isn't even at 'low" and i'm forced to overpay, thanks 
 the audacity to straight up call you without a notice 
 wise man once said beauty of open source is, the code is useful even if it helps only you

build things you need and others might find it useful too 
 another day another foss repo 
 Hello decentralized bastards! 
 hello weirdass black&orange coin app 
 i made this simple http server that let's you make GET requests for npub from relay and it will return those notes to you.

sometimes you cannot import nostr packages or use websocket connections, that's when http server is useful

http(s)://<your_domain>:1337/events?npub=<npub>&relay=<relay>

https://github.com/tohrxyz/trawix 
 can i fetch notes from relay using HTTP GET or do I need to write caching server myself? :D 
 today, while visiting Budapest, i’ve been able to visit Satoshi Nakamoto statue and in the light of recent documentary chasing their identity, this anonymous figure represents the true spirit of bitcoin ⚡️😎 https://image.nostr.build/ede7715252f981b1b0f437af94cae81ac94de6647b4bb15eaacad2e1ca1d5847.jpg https://image.nostr.build/a64a62899bf8d1f509c7c19b6c83cc16813b840b279ca2e874ef04a2c64d952f.jpg https://image.nostr.build/6ab8743b994d91073385d20e3deadafaf0873170ac09f01c449a3240bfe99f77.jpg  
 This project is not anonymous but I believe it can be useful to someone..

nostr:nevent1qqsxnj7qt... 
 well it is.. if you use it in an anonymous way :D

thanks for rt 
 hey #nostriches  ! 🦄

I've just opened a new PR to the nostr:nprofile1qythwumn8ghj7un9d3shjtnwdaehgu3wvfskuep0qy2hwumn8ghj7un9d3shjtnyv9kh2uewd9hj7qgwwaehxw309ahx7uewd3hkctcpr3mhxue69uhksmmyd33x7epwvdhhyctrd3jjuar0dak8xtcpr3mhxue69uhhg6r9vd5hgctyv4kzumn0wd68yvfwvdhk6tcqyz8vs6kfuyyhnxvx2grgae4sqg3m3cext24m8l3gld4nkm3fftwfv5u9z2k  repo, that adds option to share calendar events of a specific npub!

this should be really helpful for sharing your own, or someone else's events in the calendar, you could now do it on "/events/people/npub:" path!

We at nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyv9kh2uewd9hj7qg3waehxw309ahx7um5wgh8w6twv5hszxthwden5te0wfjkccte9eekummjwsh8xmmrd9skctcppemhxue69uhkummn9ekx7mp0qyghwumn8ghj7mn0wd68ytnvv9hxgtcqyqhnt37u59eq7m28y4xjxnxvpkeqtuacqfct7vdwdcv7j9ew5sxq2hhdy0v  are really looking forward for this to be merged 🙌
 https://github.com/coracle-social/coracle/pull/435 
 like you can go and do so much cool shit with go

just go do it 
 i fucking love golang 
 i couldnt find service that would send notifications about AAVE (defi lending protocol) positions for my account, so i've made a bot that queries blockchain and sends messages through matrix protocol

as of now, you need to self-host it and it works only for Arbitrum L2

https://github.com/tohrxyz/notificator 
 sry turns out deleting few gigs of cache makes it fast again nostr:note1aanfw4gn74e366qu78dpxv989e28jywap8m88x89zxl4mtat7lxqlx35gl 
 aight so since when 9 pm ET is eastern and not european time 💀💀 
 > download ai code editor
> block internet and turn off every ai for it
> pepe happy 
 notice how “native” spotify app is so laggy

but web app is so snappy and fast, feels like true native app 
 asking ai model, trained on shit code, for code, produces more shit code, than if you wrote it yourself

who wouldve thought

https://futurism.com/the-byte/ai-programming-assistants-code-error 
 once u get bitcoin, the next step is learning how to do your finance in true cryptoanarchy fashion using permissionless defi protocols instead of banks

few 
 would you rather give your id to a bank then use defi on a chain that uses different coin for gas anon?? 
 how many *str’s until people start calling their apps normal names 
 props to @damus @primal and stuff like that 
 guys u should try out defi

buy stuff and not sell btc 

kinda amazing ngl 
 lifehack note (bookmark worth)