mstk's profile picture. jle / mstksg / Lê Anh Khoa: Computational Science PhD, Physics BS, Haskeller & amateur musician; he / him

Justin Lê

@mstk

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

Pinned

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


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-…


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

mstk's tweet image. 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

nano banana pro world model still has a ways to go

mstk's tweet image. nano banana pro world model still has a ways to go


Advent of Code 2025 Day 7 in #Haskell -- we can do recursive knot-tying for both of these :) I spent some amount of time trying to unite the two parts as one parameterized knot aggregation but gave up, for now. github.com/mstksg/advent-…


Advent of Code 2025 in #Haskell -- `transpose` once again saves the day :) github.com/mstksg/advent-…


Advent of Code 2025 in #Haskell Day 5 -- i feel bad for the "import antigravity" nature, but it's definitely a nice chance to use one of my favorite haskell libraries for processing intervals! github.com/mstksg/advent-…


Advent of Code in #Haskell Day 4 -- the return of 2d grid logic :) github.com/mstksg/advent-…


Advent of Code 2025 in #Haskell day 3! :) Got to use StateT + List (aka LogicT Lite), one of my more favorite tools in Haskell. github.com/mstksg/advent-… can't believe we're already a quarter of the way done


advent of code 2025 in #haskell Day 2, using one of my fav haskell data structures :) 260us time is as fast as some of these ever get github.com/mstksg/advent-…


advent of code 2025 day 1 :D can basically always bank on a scanl for these :) github.com/mstksg/advent-…


it's that time of the year where i bump my advent of code repo and i realize which of my hackage packages broke this year :) i should probably have a better of system to monitor this...


Justin Lê reposted

Ranking Applicative functors from worst to best. Links in thread. F [Text.Regex.Applicative].RE (just use a monad, life is already hard without regexes) E [Control.Applicative].Lift (adds a "no effect" to an effect, barely ever useful) D [Control.Applicative].Backwards…


Justin Lê reposted

Nix solves this.


remember that version 99 came out before version 11, of C

I remembered that Python 3.14 came out recently and I spent several seconds trying to figure out how version 3.5 could have come out 10 years ago. Are they counting *down*, I wondered? Then I remembered how version numbers work.



Anyone going to be at Haskell Symposium 2025 this year? :)


Loading...

Something went wrong.


Something went wrong.