5 ms·
#1 has an easy fix. Clone the dependency you want to use in the directory of your code. Instruct it to go into the directory and look at that code in order to
by kristopolous 2y ago
#1 has an easy fix.
Clone the dependency you want to use in the directory of your code.
Instruct it to go into the directory and look at that code in order to complete task X: "I've got a new directory xyz, in it contains a library to do feature abc. I'll need to include it here to do A to function B and so on"
The weird version mixing bug will disappear. If it's closed source, then just do the documentation.
You need to line up the breadcrumbs right.
#2 is "create a patch file that does X. Do not apply it". Followed by "apply the previous patch file". Manually splitting the task fixes the attention.
Another method is to modify the code. Don't use "to-do" it will get confused. Instead use something meaningless like 1gwvDn, then at the appropriate place
[1gwvDn: insert blah here]
Then go to the agent and say
"I've changed the file and given you instructions in the form [1gwvDn:<instructions>]. Go through the code and do each individually.
Then the breadcrumbs are right and it doesn't start deleting giant blocks of code and breaking things
#3 You will never start anything unless you convince yourself it's going to be easy. I know some people will disagree with this. They're wrong. You need to tell yourself it's doable before you attempt it.
#4 is because we lose ownership of the code and end up playing manager. So we do the human thing of asking the computer to do increasingly trivial things because it's "the computer's" code. Realize you're doing that and don't be dumb about it.
- moqizhengz 2y agoThis is a very typical reply when we see someone pointing out the flaws of AI coding tools. "You are using it wrong, AI can do everything if you properly prompt it" Yes, it can write everything if I provide enough context, but it ain't 'Intelligence' if context ~= output. The point here is providing enough context itself is challenging and requires expertise, this makes AI ides unusable for many scenarios.
- infecto 2y agoThis is a very typical reply when we see someone excited about AI and then a luddite needs to come along and tell them why they should not be so excited and helpful. I mostly jest but your comment comes off quite unhelpful and negative. The person you replied to wasn’t blaming the parent comment, just offering helpful tips. I agree that today’s AI tools aren’t perfect, but I also think it’s important for developers to invest time refining their toolset. It’s no different from customizing IDE shortcuts. These tools will improve, but if devs aren’t willing to tinker with what they use, what’s the point?
- aprilthird2021 2y agoI think your reply is a bit unfair. The first problem of the AI using outdated libraries sure it can be fixed if you are a competent developer who keeps up with industry standards. But if you need someone like that to guide an AI, then "agentic" coding loses a lot of its "agentic" ability which is what the article is talking about. If you need enthusiasts and experts to steer the AIs, they are a bit like "full self driving" where you are still asked to touch the steering wheel if it thinks you're not paying attention to the road.
- owebmaster 2y agoIt is definitely not unfair. #2 is a great strategy, I'm gonna try in my agentic tool. We obviously need experts to steer the AIs in this current phase, who said we don't?
- echoangle 2y ago> We obviously need experts to steer the AIs in this current phase, who said we don't? I don't know if it's explicitely said but if you call it agentic, it sounds like it can do stuff independently (like an agent). If I still need to hand feed it everything, I wouldn't really call it agentic.
- owebmaster 2y agoThere are two different roles here, the dev that creates the agent and the user that uses the agent. The user should not need to adapt/edit prompts but the dev definitely should for it to evolve. Agents aren't AGI, after all.
- beardedwizard 2y agoWhere are the goalposts then? If the answer is always "you are prompting it wrong" then there are no goalposts for agentic development. Where is the consensus position that is demonstrably more effective than traditional development? My observation is that it's somewhere close to "start this project and set an overall structure", after that nobody seems to agree.
- deleted 2y ago[deleted]
- kristopolous 2y agoIt's a piece of software, not a magical wand
- rafaelmn 2y agoIn terms of use it's closer to a magic wand than traditional software.
- dandellion 2y agoIt's more like a genie, you tell it your wish and hope it doesn't get it all twisted.
- amputect 2y agoWe already have a term for prompting a computer in a way that causes it to predictably output useful software; we called that programming, and people on this website used to think that knowing how to do that was a worthwhile field of study.
- BerislavLopac 2y agoThe obligatory CommitStrip: https://www.commitstrip.com/en/2016/08/25/a-very-comprehensive-and-precise-spec/ https://www.commitstrip.com/en/2016/08/25/a-very-comprehensi...
- andai 2y agoWe do this not because it is easy, but because we thought it would be easy.
- airstrike 2y agoI need that on a shirt
- kristopolous 2y agoFinding a way to convince yourself something is easy is the best trick to unblocking yourself and stopping distractions. This is the closest thing I know to the "1 simple trick" thing.
- ozim 2y agoThis feels like when I explain to a layperson cool dev tool like GIT. They just roll eyes and continue to do copies of the files they work on. I just roll eyes on that explanation because it exactly feels like additional work I don’t want to do. Doing my stuff the old way works right away without having to do some explanation tricks and setting up context for the tool I expect to do correct thing on the first go.
- kristopolous 2y agoit's clearly a preference I feel strongly about. I've been programming for over 30 years btw - I can manually do this. It's a new tool I'm trying to learn. I was personally clocking in about 1% of the openrouter token count last year every day. openrouter has grown quite a bit, but I realize I'm certainly in the minority/on the edge here.
- usrbinbash 2y ago> You need to line up the breadcrumbs right. And in the time I line up the breadcrumbs to help this thing to emulate an actual thought process, I would probably alrady have finshed doing it myself, especially since I speed up the typing-it-all-out part using a much less "clever" and "agentic" AI system.
- dimitri-vs 2y agoJust so you know, none of what you said sounds easy and I'm a fairly technical person that uses Cursor and other AI tools all day.