Earlier quoted context omitted.
I like writing code, and it definitely isn't satisfying when an LLM can one-shot a parser that I would have had fun building for hours. But at the same time, building a parser for hours is also a distraction from my higher level ambitions with the project, and I get to focus on those. I still get to stub out the types and function signatures I want, but the LLM can fill them in and I move on. More likely I'll even ha…
Parsing is an area that I'm interested in. Can you talk more about your experience getting LLMs to one-shot parsers? From scratch LLMs seem to be completely lost writing parsers. The bleeding edge appears to be able to maybe parse xml, but gives up on programming languages with even the most minimal complexity (an example being C where Gemini refused to even try with macros and then when told to parse C without macro…
How I program with agents
301–308 of 308 posts
Re: How I program with agents
#302LLMs for code review, rather than code writing/design could be the killer feature. I think that code review has been broken for a while now, but this could be a way forward. Of particular interest would be security, undefined behaviour, basic misuse of features, double checking warnings out of the compiler against the source code to ensure it isn't something more serious, etc. My current use of LLMs is typically via…
Re: How I program with agents
#303The agentic loop. The brain in the machine. Effectively a replacement for the rules engine. Still with a lot of quirks but crawshaw and many others from the Google era have a great way of distilling it down to its essence. It provides clarity for me as I see it over and over. Connect the agent tools, prompt it via some user request and let it go, and then repeat this process, maybe the prompt evolves over time to be…
> a consistent path to interacting with the world e.g sms, mail, weather, social, etc. Here's an interesting toy-project where someone hooked up agents to calendars, weather, etc and made a little game interface for it. https://www.geoffreylitt.com/2025/04/12/how-i-made-a-useful-...
Re: How I program with agents
#304LLMs for code review, rather than code writing/design could be the killer feature. I think that code review has been broken for a while now, but this could be a way forward. Of particular interest would be security, undefined behaviour, basic misuse of features, double checking warnings out of the compiler against the source code to ensure it isn't something more serious, etc. My current use of LLMs is typically via…
Why isn't this spoken more about? Not a developer but work very closely with many - they are all on a spectrum from zero interest in this technology to actively using it to write code (correlates inversely seniority from my sample set) - very little talk on using it for reviews/checks - perhaps that needs to be done passively on commit.
That said, there have been some reports where the AIs have predicted what later became outages when they were ignored.
So... I don't know. Is it worth wading through 10 bad reviews of 1 good one prevents a bad bug? Maybe. I do hope the ratio gets better though
Re: How I program with agents
#305Some of my favorite things to use AI for when coding (I swear I wrote this not AI!): - CSS: I don't like working with CSS on any website ever, and all of the kludges added on-top of it don't make it any more fun. AI makes it a little fun since it can remember all the CSS hacks so I don't have to spend an hour figuring out how to center some element on the page. Even if it doesn't get it right the first time, it still…
Re: How I program with agents
#306Some of my favorite things to use AI for when coding (I swear I wrote this not AI!): - CSS: I don't like working with CSS on any website ever, and all of the kludges added on-top of it don't make it any more fun. AI makes it a little fun since it can remember all the CSS hacks so I don't have to spend an hour figuring out how to center some element on the page. Even if it doesn't get it right the first time, it still…
Re: How I program with agents
#307Earlier quoted context omitted.
I guess I don't really understand the goal of "one-shot" parser generation, since I can't even do that as a human using a parser generator! There's always an iterative process, as I find out how the language I wanted isn't quite the language I defined. Having somebody or something else write tests actually helps with that problem, as it'll exercise grammar cases outside my mental happy path.
The comment that started this whole thread off mentioned LLMs oneshot-ing parsers. I didn't think an LLM could one shot a parser and I am interested in parsers which is why I asked about more info. It's not a goal of mine but because of interests in parsing I wanted to know if this was something that was happening or if it was hyperbole.
As opposed to getting there through incremental revisions where I must dictate the directions the LLM takes -- I don't necessary know the directions it should take because I might be agnostic about it.
I find success in breaking the problem down into tokenize and parse just like I do when writing parsers myself.
tokenize(string) -> Token[]
parse(Token[]) -> Node[]
And definitely get it to generate tests every step of the way. The insane part is when the LLM can run tests itself and can iterate on code until all tests pass.Or you extend it with a feature just by writing some failing tests and it does the rest.
Re: How I program with agents
#308Earlier quoted context omitted.
You’re right that it’s branding, but it also has meaning: a display resolution that (approximately) matches the resolution of the human retina, under typical viewing conditions. The fact that the term is easily understood by the lay public is what makes it a good name and smart branding. BTW the term ‘retinal display’ existed long before Apple used it, and refers to a display that projects directly onto the retina.
A screen that directly projects onto the retina sounds like a great reason to call it a retinal display. So then Apple hijacking the term to mean high DPI... how does that fit in? There's not that many results about this before Apple's announcement in 2010, many of them reporting on science and not general public media: https://www.google.com/search?q=retinal+display&sca_esv=3689... Clearly not something anyone reall…
It fits in quite easily and obviously: Just typical Apple being Apple, marketing hyperbole.