Oddbean new post about | logout

Notes by pedja | export

 F*cking Haskell. Bots for SimpleX are just pure pain. 
 haskell = pleasure + pain 😅   
 nostr:nprofile1qqsdmxucnhl9uzzq4yjn3ulflp8kwnjlz74styewlwktfk8xeyzlxqspp4mhxue69uhkummn9ekx7mqppa... 
 i'm anti-reply guy! 😄  
 I’m less concerned that dumb people don’t understand, and discount nostr, and more concerned ... 
 there was a bot few months ago with similar behaviour. Dan something 
 Primal feature request time! 

Let us know what you would like to see next in Primal. What’s mi... 
 vim keybindings 💯  
 ok i get it. most probably solution for this should be released very soon. 
  @blockdyor is it better now? 
 ios ver 17.0.3 , primal ver 0.90.3 
  @pavle ? 
 Basically keeping the link thumbnail saved on some relays like Damus already does. With Primal, a... 
 ok i get it. most probably solution for this should be released very soon. 
 I’m not involved in that part of the app, maybe nostr:npub1mkde3807tcyyp2f98re7n7z0va8979atqkfj... 
  @blockdyor what kind of change are we talking about? 
 @pedja when voting will be implemented @primal , pls? 
 no immediate plans. we will revisit after we launch v1.0 of all of our apps. 
 ... if I were to self-host Primal, and their cache server, how much storage would I need? o.o
Dep... 
 after 8 months of running primal cache server storage size is around 390GB. 
 How do I use the API endpoint in my nostr:npub12vkcxr0luzwp8e673v29eqjhrr7p9vqq8asav85swaepclllj0... 
 congratulations! clients of primal cache instance are using websocket connections to send API request messages and get back API response messages. available API requests are defined in file called app.jl but i would suggest, beside looking at that code, you take a look at live communication between primal webapp (at primal.net) and primal server. in your web browser you should be able to open devtools/network tab, and select websocket connection to wss://cache2.primal.net/v1and look at the messages that are being sent and received. there you will be able to see common structure of each API request/response that the webapp is using which is almost everything currently available from our cache instance. webapp usually is the first to use new features and then i tell the same suggestion to our mobile app developers when i want to explain new API requests. ofc sometimes i have to additionally clarify some aspects of new API requests since nobody knows all the details which are sometimes important to mention. that's it. and feel free to ask again. 
 #artist learning to make #art #painting
boosted by #rakija #artstr
https://m.primal.net/HKvy.jpg 
  @primal open-sourced software tech stack for Nostr (server, web app, iOS app, Android app). Find links to repos here: https://primal.net/downloads 
Event not found
 i'm sorry for late reply. i was going through body detoxification. 

only primal clients should use wss://cache2.primal.net/v1 for number of reasons. your local cache instance is available at ws://127.0.0.1:8801 (this is default address on which server is listening which can be changed). if you want to expose the cache instance to public you should use nginx or some other webserver which can do reverse proxy and provides TLS for security. 
Event not found
 really good news