Avatar
Gary O’Keeffe
7ed19e6e8f2db7fe905c61af6fc63e172f532ad31e4fdb2b80b8703e9df26ad6
building a world where every action creates value

A video tutorial on the applied math behind social media algorithms.

I talk about how these algorithms work before designing and building my own from scratch.

https://twitter.com/i/status/1685095143828017152

Tools used: #chromadb, #OpenAI, #Python

Data used: #nostr (specifically my serverless API: https://github.com/garyokeeffe/NSA)

Code used: https://github.com/garyokeeffe/NRA

Replying to Avatar Vitor Pamplona

This website is hosted by Nostr relays: https://nostr-webserver-3c29f7957ffe.herokuapp.com/e/1efc13c6ffbaf60c0347baf89f6ecaad22f74abf82165fcdb55ef7e8cca8a597

The HTML (kind 5392), JavaScript (kind 5394), CSS (kind 5393), and Images (Kind 1965/1964) are all hosted inside several relays and can be moved to any other relay if needed by simple broadcasting.

One day browsers will fetch nostr: directly. And then we won't need domain names or fixed servers anymore.

Code is here: https://github.com/vitorpamplona/nostr-web-server

very cool!

Recommendation systems are what make social media timelines and online shopping addictive. They learn your taste and get smarter the more you use them.

Built a recommendation system for nostr using embeddings and a bit of linear algebra.

Will record a tutorial tomorrow---should be fairly accessible---I'll use as little jargon as possible.

Richard Hamming: The art of doing science and engineering

Yo. Big news! The Nostr Serverless API (NSA) that #[0]  and I built is now open source.

Check out our repo here and join the fun: https://github.com/garyokeeffe/NSA

I'll be giving an exciting update on the Nostr Serverless API tomorrow---stay tuned!

Testing note sending endpoint from my API

Nostr Serverless API demo

where I:

- fetch social data from API

- do basic visual analysis in #R

- explain how the API works

- deploy the API in #AWS

building with Kevin Bolger. open-sourcing it. sick comp social science tutorials to follow 🤝

https://www.youtube.com/watch?v=h_d0mfQ6-No

The kids learning data science today will be the people designing the algorithms that run the world tomorrow.

Twitter's API was such a great tool for people learning data science---we had free real-world social media data at our fingertips! (I remember building #maypac word clouds ~10 years ago! 😂)

But, now that the API is stuck behind a steep paywall there's a whole ecosystem of unusable data science tutorials!

I'm building out a nostr API to closely resemble the functionalities old Twitter API. Making it open source and serverless too so anyone can spin it up for cheap (hopefully it'll run below AWS's lambda pricing threshold).

Will do a quick demo tomorrow. Let me know if are interested in helping out!

HOT TAKE

Kamala actually comes across well in this video: (but skip the first 2 mins of fart sniffing): https://t.co/TSm39Qf5Szhttps://www.youtube.com/watch?v=S5MW2aRc4ac

"We should not dampen or in any way slow down innovation that can improve the condition of people's lives. And we must also make sure, in that process, that we are not trampling on people's rights."