"write a program to transpile A to B" instead of "port A to B"
10,565 karma · joined June 1, 2009
"write a program to transpile A to B" instead of "port A to B"
The main thing to watch out for is blocking the rendering or event loop. I've definitely seen apps where a slow API call blocks everything else. So less about performance and more about knowing how to do concurrency well.
> Introducing cf: the agentic CLI for the entire Cloudflare API
emphasis my own to highlight the key word missing in the HN title
I still think they produce shoddy or sus code too often, an artifact of the current generation's training to try anything and everything until it "completes the task". They have a hard time even with that concept, which is part of "coding" imo
We still require a lead/cto to sign off, one cannot merge their own PR, they remain tied to a human at creation time, so there are at least two pairs of biological eyes on every PR.
...tbd what the cognitive effects will be for us.
Related, Matt Pocock's skill for having agents generate an interactive bash script for things only humans can do (or should do), presented in the context of devops like activities
https://github.com/mattpocock/skills/blob/main/skills/produc...
I have found that having the agents write scripts to use tools like this is better (less tokens, more reliability, fewer side quests) than giving it to them directly with markdown they may or may not follow on any given day.
The other benefit to this is that you can put scripts on either side of the agent and remove all credentials from their process, removing whole classes of issues you don't want to have to tell your boss about. CLIs like this are great for read-only debug sessions, but if you are going to make modifications to your cloud infra, keep doing IaC.
practice makes perfect, exercise your brain like your body
I'm not typing keys, but I am very much still concerned about the quality and nature of the code. Coding to me is more than pushing keys
> if you can define a really good PRD and sophisticated technical specs
I still believe we cannot waterfall software, the idea seems like taking a step backwards. How often do we learn about an unforeseen complexity only after getting into the implementation?
In my experience with agents, it's better to be iterative and in-the-loop. Start with a decent description, have them research the code/issue, write up an initial plan/design, work iteratively on writing code and updating design doc, review and finalize the code and markdown. Then future agents will have some resources to shortcut understanding the code base.
Ai can push a lot of keys very fast, but not always the right ones
if they need to be reminded to follow the coding standards, visible in the very code they are working on, what has been solved?
To solve something, there must be a defined problem, what is the problem that was solved. Or perhaps it is just "coding is solved" is the turn of phrase de jour be ause we haven't yet found a more succinct and accurate way to describe the paradigm shift
When it comes to non technical people using Ai to build things on code, the outcomes are on average pretty poor, which i see as evidence that the driver and their expertise behind the Ai matters a lot. A notable example is Terence Tao's conversation with ChatGPT, us math normies could never have done that. The same applies to coding agents ime
Ai can help you learn if you are intentional about it.
I have strong disagreement because it sounds like, by analogy or proxy, we have also "solved writing"
The memorization means that you can extrapolate the more complex concepts. If you don't have the very basics, what are you even going to extrapolate on?
I once had a roommate who I encouraged to divide our grocery bill by 2 in his head for splitting the bill, by the end of the year he was quick and accurate.
while I generally agree on his open weight stances, I lost all respect in that moment, everyone of these people are so out of touch
if you look at OpenCode, you can see their awareness of this stuff, with conditionals and custom prompts/tools depending on the current model, notably an apply_patch for gpt models where the rest get the normal edit tool
Why should Ai be different?
Fortunately open weights are likely to dominate and it becomes a permissionless ecosystem
When the Go team ported the original compiler from C to Go, they wrote a program that did ~99% of the work
would be curious to know how many times "unsafe" appears in there, have seen rust devs comment on how the ais like to use unsafe to work around difficulties with memory management, like how they will sometimes subvert tests
what we would like to see is your settings and configuration, maybe the task(s) you gave them and any code/scripts around them, where did they run from (your laptop vs cloud vm)
why did they even have credentialed access to change credit cards? Sounds like you didn't do the basics for isolation
the agents go on side quests, all the time... super frustrating, but I suspect between that tendency and asking about a UI (image), you racked up a bill with legitimate requests
There is a reason some of us preach "stay in the loop" and I hope you now understand why we do
this is different and nuanced from the "not even close" or "they are trash" that the other person in this thread has opined, note how they also claim Claude is way ahead of OAI as well