Author of 190k ★️ javascript-algorithms repository on GitHub. Sr Software Engineer at @UBER. Opinions are my own.

Joined August 2010
275 Photos and videos
Pinned Tweet
#Javascript #Algorithms repository is over 50K⭐️now. I've launched it as a #technical #interview preparation playground for myself and I wouldn't even dare to think that it would be so warmly embraced by community. I'm shocked and I'm glad. 👉🏻github.com/trekhleb/javascri…
14
26
136
I was a bit apprehensive about using --dangerously-skip-permissions in Claude Code, so I put it in a Docker sandbox over the weekend. Mounts only the current project folder, nothing else. github.com/trekhleb/claude-p… #claude #claudecode #docker
2
1
133
Data-driven summaries for California cities and counties CaliVibe has collected a decent amount of data, so I was curious to use Claude to generate a summary for each city/county Example for Half Moon Bay: trekhleb.dev/cali-vibe/city/… #california #maps #ai #claude #vibecoding
1
189
...and “the ultimate California contradiction: a place so gorgeous it almost makes you forget you're one medical emergency away from financial ruin” was both “fun” and “not really fun”, since it may not be that far from reality for many people.
1
43
Keeping content like this on a short “leash”, without letting it cross the line, across 700 cities and counties turned out to be a bit problematic. So, for now, you can check out a more restrained and data-driven version of the descriptions using the link above.
40
"To LLM" is the new "To Google"
1
149
California monthly sunshine hours map ☀️ trekhleb.dev/cali-vibe/ #california #data #map #visualization
195
Since more metrics have been added to CaliVibe, the next step was adding the ability to compare California cities and counties based on them. Again, 100% of the code was written by Claude. trekhleb.dev/cali-vibe/?comp… #california #map #vibecoding #claude
1
1
176
Vibe-coded CaliVibe for fun — an interactive map to explore California counties and cities through population, crime stats, temperature patterns, 3D terrain views, etc. ~98% of the code was written by @claudeai with a few sprinkles from @GeminiApp trekhleb.dev/cali-vibe/
1
1
179
Added BART lines to the map: trekhleb.dev/cali-vibe/?tran… More transportation systems are coming... #california #Transportation #BART #map #vibecoding
1
81
Added SacRT, Gold Runner, MetroLink, SD Trolley, Sprinter, Coaster, Pacific Surfliner, SMART, LA Metro Rail, Muni Metro, VTA, and Capito Corridor #california #transit #map
162
The “98% of JS code generated by AI” metric doesn’t mean the project was low effort. It means that 100% of the code was written in English by a human (not 2%)
109
Oleksii Trekhleb retweeted
My books on #JavaScript and #TypeScript are free to read online: – Exploring JavaScript (ES2025 edition) – Deep JavaScript – Exploring TypeScript (TS 5.8 edition) – Shell scripting with Node.js Retweets appreciated! exploringjs.com
2
70
182
14,279
“Let’s rewrite it from scratch!”
3
477
Played around with visualizing the geographical distribution of the top tech jobs data: jobs-radar.com/ #tech #jobs on the #map
1
1
4
1,404
For learning purposes, I made a minimal TensorFlow.js re-implementation of @karpathy's minGPT (Generative Pre-trained Transformer). One nice side effect of having the 300-lines-of-code model in a .ts file is that you can train it on a GPU in the browser github.com/trekhleb/homemade…
2
4
431
Added pre-trained weights for some combinations of GPT/Dataset. It is possible now to try GPT without training. For GPT Micro, it took me around ~30 minutes to train (Chrome, WebGPU) trekhleb.dev/homemade-gpt-js… #GPT #Transformers #machine_learning #artificalintelligence
231