John Bakhmat
banner
johnbakhmat.dev
John Bakhmat
@johnbakhmat.dev
23 y.o Software Engineer (TS/Ocaml/Gleam)
I wish there was scroll-margin-bottom - so that it would align bottom part of the block with bottom of the screen
October 16, 2025 at 1:03 PM
I don’t understand arachnophobia, like why would you be mad that two spiders get married? It makes no sense
October 15, 2025 at 3:16 PM
I need more OCaml in my life
September 24, 2025 at 6:00 PM
Bloom filters are based. cc Dillon
September 24, 2025 at 5:02 PM
The code in question is this github.com/JohnBakhmat/...

Is it ok? Is it fine? Should I make it better somehow?
boombox-ocaml/lib/flac.ml at main · JohnBakhmat/boombox-ocaml
Lil media server written with ocaml. Contribute to JohnBakhmat/boombox-ocaml development by creating an account on GitHub.
github.com
September 24, 2025 at 4:36 PM
If I’m reading a stream, how do I reduce it? Let’s say I have a file that consists of chunks, each chunk starts with a header where there is chunk type and body length, if type is equal to a type I need - I need to parse data, if not - skip based on length.
September 24, 2025 at 4:31 PM
Sure but from like, a mental point of view? Do I copy parser state over and over again until I have all the data I need?
In mutable version I would create a mutable object and push data one after the other. If it was just an array id probably use some kind of reducer, BUT…
September 24, 2025 at 4:31 PM
Like immutable TM
September 24, 2025 at 3:57 PM
I’m used to 403 so probably 403 is better
September 23, 2025 at 2:33 PM
Anyways, I’ve tried using f(x) = (e^x -1)/(e-1)
To convert from perceived percents to actual volume and it’s pretty fire so far
September 14, 2025 at 2:53 PM
python is the only language im terrified to work with. sometimes it feels like a dumpster
September 7, 2025 at 7:19 PM
“Stole all the data from you” is longer but rhymes better
August 24, 2025 at 6:52 AM
Evil twin
August 24, 2025 at 6:47 AM
Markdown text editing is far superior
*italic*
**bold**
`inline code block`

```
code block
```
July 21, 2025 at 7:42 AM
Reposted by John Bakhmat
bad ux, 3/4 ways of doing similar but not compatible with other features. small docs, lack of examples. hard to extend.

but also maintainers lack practicallity, not helpful env to contribute... and literally all projects depending on it
June 29, 2025 at 10:55 AM
@bsky.app please add bookmark feature
June 3, 2025 at 7:55 PM