Irakλi Safareli
@safareli
Followers
646
Following
4K
Media
360
Statuses
3K
SWE @headroomai TypeScript and functional programming wizard. 🧙♂️
Joined September 2012
Count-Min Sketches let you count giant amounts of data, without becoming giant objects themselves. Curious how they work? In the post that follows, we'll show you how to build a Count-Min Sketch from scratch in JS, prove it, and learn about PG Wodehouse along the way.
1
4
10
Cool but why run this code in CF instead of using Javascript Engines like QuickJS in the callnig process? you get better control this way and don't need another dependency that could fail. https://t.co/FZ431mrowf
blog.cloudflare.com
It turns out we've all been using MCP wrong. Most agents today use MCP by exposing the "tools" directly to the LLM. We tried something different: Convert the MCP tools into a TypeScript API, and then...
0
0
0
If you want your vibe coding to be better, all you have to do is - write detailed specs and technical documents - create tons of automated tests - use old industry standard technologies - code review a lot more - manually QA every detail …maybe I’ll stick to writing code
216
189
4K
You might think that it obvious that this Python program always prints 10 and 10 def f(): return 10 print(f()) print(f()) However, if you add an unused import import evil def f(): return 10 print(f()) print(f()) It suddenly prints 10 then 42. In general, to prove
22
29
281
Here we go. This is the 9-month recap of my "The Future Belongs to People Who Do Things" talk. Inside: - The problems with AGENTS . md - The problems with LLM model selectors - Best practices for LLM context windows - AI usage mandates at employers - Employment performance
22
61
527
Devtherapy #22 with @safareli Thanks for visiting us, it was super interesting! https://t.co/g4EuoB5AV0
0
1
4
Why Vercel AI SDK Gets Prerelease Versions Wrong? https://t.co/qlNt9QVEj8
0
0
1
Today @instant_db is releasing an API to let humans and agents spin up full-stack backends Each backend comes with database, sync engine, auth tools, file storage, as well as presence And it's all hosted on multi-tenant infra You can create millions of DBs in milliseconds
17
25
146
40 Functional Programming concepts to learn. Bookmark for later. 1. Algebraic Data Types (ADTs) 2. Pattern-matching 3. Higher-Order Functions (HOFs) 4. Closures 5. Immutability 6. Totality 7. Streams 8. Lazy streams 9. Stream fusion 10. Deforestation 11. Functor 12. Applicative
47
158
1K
Instant is hiring a founding Typescript hacker to join us in SF. If you are: 1) obsessed with type ergonomics (even with how types look in intellisense) 2) enjoy building UIs that people use for hours 3) want to build a sync engine Then we want to talk you!
6
18
141
This is a blatant lie @ClerkDev — you absolutely ARE vulnerable to the Next.js security vulnerability, and it's important that you inform your users about this. It's quite trivial to reproduce. Just create a new Clerk project (on Next.js 15.2.2) and follow the exact instructions
We are in touch with the Next.js team and can report that developers using Clerk are not impacted by the vulnerability disclosed today. Clerk uses a cryptographic signature to ensure middleware has run. If it’s bypassed by an attacker, Clerk will terminate the request with an
23
33
834
Hey hey everyone! Wanted to let you know we just released Storage out of beta! This means all apps can upload images, documents, etc. with Instant. Free apps can store up to 1GB and paid ups can store up to 10GB and then $0.125/GB after.
3
20
61
So instead of spreadsheet using `Identity` monad to hold cell values imagine it using `Array` monad instead. One can go further and even use some Probability monad too to get not only all possible values but there probabilities as well https://t.co/jvw6uuj2XD
0
0
2