GraduateQuant (@GraduateQuant) header
GraduateQuant (@GraduateQuant) profile picture
London, England
Joined July 2024
Photo by GraduateQuant (@GraduateQuant)Photo by GraduateQuant (@GraduateQuant)Photo by GraduateQuant (@GraduateQuant)Photo by GraduateQuant (@GraduateQuant)Photo by GraduateQuant (@GraduateQuant)Photo by GraduateQuant (@GraduateQuant)Photo by GraduateQuant (@GraduateQuant)Photo by GraduateQuant (@GraduateQuant)
P7 of System Mapping by Barbrook-Johnson and Penn
20
Trying to learn rhombus (@racketlang) lately, the control flows syntax is so elegant and intuitive: docs.racket-lang.org/rhombus…
1
3
313
- test should be considered part of the program - the same for properties - PBT and runtime checks should be able to be derived from props - var name should be considered part of the doc. Docstring should not repeat what is already implicated by the var name.
18
the only thing I one-shotted on Codex Plus plan is the 5 hour usage limit.
2
58
no one: claude: BSD sed has no \b, so the rename didn't apply. Redoing it with perl. well actually, might just be my skill issue
24
I need a word to describe: "I saw a bug. I don't understand the bug. LLM came up with a fix I don't understand either. But it fixed the bug." I really don't want to waste reviewer's time and make them think that I'm an idiot when attaching a gen-ai fix in a bug report.
14
I think today's time is the turning point for AI labs to optimize for human communication rather than some "task"-related benchmaxxing in model training. The cost-benefit structure has made trading off readability for unreadable code golf not reasonable anymore.
1
1
21
I wonder what proxy they will come up to model the readability of codebase (not just code, but also a readable architecture design). Using Fable to evaluate Opus's code is definitely not good, because Fable has no issues with overused jargon and putting changing log in comments.
10
I am resistant to use LLM to help me read a book. I have fear that if I don't read it from cover to cover, I'll get lazy and disrespect the knowledge and the author. I just tried. It's good and efficient. I should probably do that more often. It's a skill to learn.
1
14
其实仔细想想, 我的恐惧是由于我过度神圣化了书本. 我幻想只要一页一页读完, 我就一定会获得什么. 我至少可以说"我读完了XXX". 我可以划掉这本书不再读. 一些证据: - 我对paper也有类似的恐惧. 但是没有书来得多 - 我很少重读书 因为我觉得"读完了"
17
I don't understand why the migration target is Python (Python is my main language btw). I'd at least choose a language with ADT. OCaml? Scala? The conclusion might mean that Haskell was the wrong choice at the very beginning. LLM only makes correcting this error easier.
86
wow, I've been experimenting with bonsai for a while and I always wondered how it plays with native app. I never expect logseq to be related to this. It was my favourite notetaking app before my Obsidian era (and my own hacky Ocaml solution). Maybe it's time to revisit logseq.
1
171
Oh "monad = monoid in the category of endofunctors" finally clicks for me
Monads are structures where you can generate one layer of structure out of nothing and collapse an arbitrary number of layers of structure down to one.
1
28
One hour into using Opus 4.8, it is definitely a huge regression for me, both in the engineering aspect and mental aspect. Overly used metaphors and emotion-fused wordings. I feel like it both keeps gaslighting me and treating me like a stupid boss.
26
I tried to read it but it feels too much like prompts. Duck-taped seven-sketch and rust.
Python made AI accessible. Rust can make parts of AI understandable. That’s the bet behind Category Theory for Tiny ML in Rust. We’re building tiny ML systems from first principles using: Rust types typed transformations composition training loops category theory as an engineering tool Not abstraction cosplay. Executable structure. Working draft. Public feedback welcome.
1
133
Replying to @JaneStreetGroup
@JaneStreetGroup _might_ open sources a LLM trained for OCaml coding --- Actually it's more like I hope this will happen. I think they are the only one that is able to do this.
32
I think it makes sense to have some sort of "regularization" for LLM generated code to avoid "overfitting" test case failure. Some metrics could be: lines of code, nested level in a function, and etc.
Replying to @avsm
I'm very curious to see how the code evolves in those process, and whether it merely fixes the bugs, or whether it ends up fixing the bad practices that led to them
52
A very good explanation of dune's mental model from dune's doc. Great read to pay off the study debt I accumulated from skipping the docs and resorting to help from LLM. dune.readthedocs.io/en/stabl…
23
Nice talk about OxCaml. Good to watch in combination with the @JaneStreetGroup tech blogs about OxCaml youtu.be/wbrELQrzwQk?si=iguz…
62