Avatar
Alex Gleason
79c2cae114ea28a981e7559b4fe7854a473521a8d22a66bbab9fa248eb820ff6
I create Fediverse software that empowers people online. I'm vegan btw. Note: If you have a question for me, please tag me publicly. This gives the opportunity for others to chime in, and bystanders to learn.

Photo of me at my first job.

HE'S DOUBLING DOWN ON IT, AMAZING

I try to line up my code so it looks aesthetically pleasing.

I really don't get why Gab is financially struggling given their offerings.

The Mostr homepage got a nice facelift with design work from the great nostr:npub1r0rs5q2gk0e3dk3nlc7gnu378ec6cnlenqp8a3cjhyzu6f8k5sgs4sq9ac ! Thank you!!! 🚀 ✊ 🎉

https://mostr.pub/

This little place in Greenland looks like where you'd save your game after a long journey.

THIS IS THE GREATEST NOSTR RELAY CLASS TO EVER EXIST.

I don't know if it's fast, but it's fucking ACCURATE, RELIABLE, and STABLE. IT RECONNECTS.

YOU CAN USE ASYNC GENERATORS. YOU CAN BREAK OUT OF IT IN A FOR-LOOP AND IT DOES AUTOMATIC CLEANUP AND CLOSES THE SUBSCRIPTION. ABORTING THE SIGNAL WORKS TOO.

Thank you to the websocket-ts library for making me not want to KMS. 👏

https://gitlab.com/soapbox-pub/NSpec/-/blob/main/src/NRelay.ts

This is the problem with both socialism and capitalism. People think if you're against one you have to be for the other. Nobody likes to hear it, but the truth is that both are fatally flawed because even the smartest humans are idiots. This is why chickens should be allowed to vote.

The main problem I still have is that there is no reconnecting WebSocket solution that actually works. To solve it... I restart the server on a cron job. 😃

Upgraded to a bigger SSD so I can keep a Bitcoin full node on my laptop. See you in four days.

https://github.com/btcsuite/btcd

Inserting Nostr events into an in-memory SQLite database is faster than adding them to a native ES6 Map. But if you migrate the database every time, it gets much slower compared to instantiating the ES6 Map every time.