Was nerd sniped today. Write a function in Python that flattens a list of arbitrary depth. My solution: http://t.co/TBwNrkqZjE
miniblog.
Related Posts
Anthropic used Claude to write a C compiler in Rust (CCC). I've really enjoyed following the discussion.
The initial post shows how they wrote the harness with GCC as an oracle and a prompt specifying a design using SSA. The author has clear domain expertise.
https://www.anthropic.com/engineering/building-c-compiler
There's something pleasingly self-referential about configuring an agent by talking to it.
> Remember that [fact about data formats].
Agent: Noted.
... realise nothing happened ...
> Write to your rules file that when I say "remember", I want you to write to the rules file.
I see people advocating for writing a FAQ, but I really struggle to write one from scratch.
The best FAQs are written as a response to, well, frequent questions.
How do you populate the initial FAQ?