safareli Profile Banner
Irakλi Safareli Profile
Irakλi Safareli

@safareli

Followers
646
Following
4K
Media
360
Statuses
3K

SWE @headroomai TypeScript and functional programming wizard. 🧙‍♂️

Joined September 2012
Don't wanna be here? Send us removal request.
@safareli
Irakλi Safareli
1 month
ToolLoopAgent is just 12 lines of JS
0
0
2
@instant_db
Instant
1 month
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
@safareli
Irakλi Safareli
1 month
The Soul of Erlang and Elixir • Sasa Juric • GOTO 2019
0
0
2
@safareli
Irakλi Safareli
1 month
0
0
0
@safareli
Irakλi Safareli
2 months
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
Tweet card summary image
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
@theo
Theo - t3.gg
2 months
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
@headinthebox
Erik Meijer
2 months
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
@GeoffreyHuntley
geoff
3 months
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
@tornikegomareli
Tornike Gomareli
4 months
Devtherapy #22 with @safareli Thanks for visiting us, it was super interesting! https://t.co/g4EuoB5AV0
0
1
4
@tornikegomareli
Tornike Gomareli
4 months
We had some great conversation about functional programming on Devtherapy's #22 episode with @safareli
0
1
6
@safareli
Irakλi Safareli
4 months
Why Vercel AI SDK Gets Prerelease Versions Wrong? https://t.co/qlNt9QVEj8
0
0
1
@stopachka
Stopa
5 months
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
@ChShersh
Dmitrii Kovanikov
6 months
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
@headroomAI
Headroom
6 months
Hello world, we're Headroom.
9
23
398
@stopachka
Stopa
8 months
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
@safareli
Irakλi Safareli
8 months
Renaming chat in claude mac desktop app
0
0
7
@konstiwohlwend
Konsti Wohlwend
8 months
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
@ClerkDev
Clerk
8 months
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
@instant_db
Instant
9 months
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
@safareli
Irakλi Safareli
10 months
Using Branded types as key for Record in not reliable.
0
0
2
@safareli
Irakλi Safareli
10 months
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