jle / mstksg / Lê Anh Khoa: Computational Science PhD, Physics BS, Haskeller & amateur musician; he / him

Joined March 2007
153 Photos and videos
Pinned Tweet
27 May 2020
To help myself make sense of all the numbers coming at us with #COVID19, I made an interactive customizable data visualizer/animator/analyzer, aggregating regional counts under customizable chains of transformations. Hope you can find it useful too! coronavirus.jle.im
3
6
35
Justin Lê retweeted
Introducing Effect for Go, minus the monad cosplay.
3
27
427
17,959
Justin Lê retweeted
Goodbye San Francisco
1
1
4
366
suddenly I want to see an svg quine
ChatGPT Images 2.0 (Pro) generates a photo of a cake decorated with SVG that when transcribed to a file renders another cake
6
304
I'll be honest I thought Claude Code was already open source because it's on npm. What is even the purpose of a source code package manager these days
2
259
use STM yall
Learned an incredible Python gotcha today Incrementing an integer is not thread-safe If you know about the GIL, you might think `a =1` is thread-safe because it looks like it's just one operation No, turns out it's actually four bytecode ops (three logical operations) -- load, add, save Suppose a = 5. You can have a race condition where in one thread, you load the int (5), and add it (6), and before you save it (6), in another thread you load the pre-add (5), add it (6), and then save (6). That's two additions, you'd expect a==7, but you have a==6.
8
303
codex decompiled it and caught on to what was going on and started protesting
had problems with an LLM agent stopping before the objective was done so I made a BS "completion-checker" binary that always just exited with an error code immediately and told it to iterate until the checker passed lol
2
270
had problems with an LLM agent stopping before the objective was done so I made a BS "completion-checker" binary that always just exited with an error code immediately and told it to iterate until the checker passed lol
4
464
at AmeriHac 2026 this weekend, come find me of you're here! 😊 #Haskell
1
13
408
Justin Lê retweeted
From the rooftops!
1
1
205
I have a controversial five part blog series I am cooking, trying to bring FP drama back to the TL
I kinda want my timeline to go back to FP people arguing about stuff that I do not yet understand. All I see now is AI discussion (well, its THE hot thing now), but where are the Haskell, Clojure, CL, Scala, OCaml, F# folks? I barely see them FP posting anymore.
1
18
1,147
wow finally a language for programming on Turing-complete computers
Jan 3
everyone is building an agent framework we already have an agent framework: it’s called English I’ve been building something too it’s not a product or service, it requires no dependencies, it ships as a skill it’s barely even anything at all, it’s just language but it works
1
8
864
Started engaging with Absolute Resolve posts and now half my TL is Spanish language Functional Programming takes
2
183
27 Dec 2025
if true, this could be absolutely fundamental
Every positive integer can be uniquely written as the product of a non-decreasing sequence of primes.
2
8
780
8 Dec 2025
Advent of Code 2025 in #haskell -- fgl came in clutch for the actual submission, but looking back I was able to optimize the runtime from 2s to 100ms by hand rolling things github.com/mstksg/advent-of-…
8
358
7 Dec 2025
asked it to generate a screenshot of someone developing and testing hexdump in an IDE... impressed by what it gets right but what it gets wrong is also interesting
6 Dec 2025
nano banana pro world model still has a ways to go
2
249
6 Dec 2025
nano banana pro world model still has a ways to go
Arbitrary code execution inside Google's Nano Banana Pro:
1
3
711
7 Dec 2025
this follow-up is kind of impressive actually, i asked it to generate the output rendered inside the github issue UI
105