Live data from Hacker News

Aider: AI pair programming in your terminal

github.com

131–140 of 170 posts

Re: Aider: AI pair programming in your terminal

#131
Just finishing up a responsive website design with Claude, no typing by me, just a natural language conversation as I'm looking at the rendering differences and trying strategies to find a one size fit all without shims. The longer context is amazing, 'return the entire codebase to help us maintain a strong context, I have no hands' works extremely well, and it's handling an 875 line project of mixed html/css/js like a champ. This is as bad as it'll ever be, makes web design a pleasure again, well, sort of...

Re: Aider: AI pair programming in your terminal

#132
post #130

With all these AI tools requiring a prompt, does it really simplify/speed up things? From the example: I have to write "add a name param to the 'greeting' function, add all types", then wait for the result to be generated, read it carefully to be sure that it does what I want, probably reiterate if the result does not match the expectation. This seems to me more time consuming than actually do the work myself. Does a…

Does anyone has examples where promoting and double checking is faster than doing it on your own? I find it is faster in lots of cases where the solution is 'simple' but long and and a bit fiddly. As a concrete example from earlier today, I needed a function that took a polygon and returned a list of its internal angles. Can I write it myself, sure. Did copilot generate the code (and unit tests) for me in a fraction…

Sorry I'm not in your domain at all, but shouldn't that be a library function? Properties of polygons seem pretty universal to me. Will AI replace carefully curated libraries with repeated boilerplate? Thus reducing reusabilty of human efforts?

Re: Aider: AI pair programming in your terminal

#133
Promising. Looks like it can leverage existing requirements if included in the git repository as ReqIF exchange format files. I’m currently not able to verify with an experiment because I’m dealing with huge sets of requirements and I easily reach the limits of API (I guess), need to trim down. Any experience by others?

Re: Aider: AI pair programming in your terminal

#134
post #132
post #130

Earlier quoted context omitted.

Does anyone has examples where promoting and double checking is faster than doing it on your own? I find it is faster in lots of cases where the solution is 'simple' but long and and a bit fiddly. As a concrete example from earlier today, I needed a function that took a polygon and returned a list of its internal angles. Can I write it myself, sure. Did copilot generate the code (and unit tests) for me in a fraction…

Sorry I'm not in your domain at all, but shouldn't that be a library function? Properties of polygons seem pretty universal to me. Will AI replace carefully curated libraries with repeated boilerplate? Thus reducing reusabilty of human efforts?

If there is a good library for it within the domain, ideally at some point the AI will suggest it. Can't wait until the AI writes it own library it will reference in future answers.

Re: Aider: AI pair programming in your terminal

#135
post #107

Earlier quoted context omitted.

I'd say that using LLMs to write boilerplate falls under "automation"

Yes, except it's "bad automation", because as opposed to the automation referred to by GP, boilerplate written by an LLM (or an intern or whomever) is extra code that costs a lot of time to be maintained.

In many ways it's more akin to outsourcing then automating.

Re: Aider: AI pair programming in your terminal

#136
post #132
post #130

Earlier quoted context omitted.

Does anyone has examples where promoting and double checking is faster than doing it on your own? I find it is faster in lots of cases where the solution is 'simple' but long and and a bit fiddly. As a concrete example from earlier today, I needed a function that took a polygon and returned a list of its internal angles. Can I write it myself, sure. Did copilot generate the code (and unit tests) for me in a fraction…

Sorry I'm not in your domain at all, but shouldn't that be a library function? Properties of polygons seem pretty universal to me. Will AI replace carefully curated libraries with repeated boilerplate? Thus reducing reusabilty of human efforts?

shouldn't that be a library function

It's a balance. Sometimes it's better to just to write a 10 line function and get on with your work, rather than dragging in a huge extra dependency to your project.

Re: Aider: AI pair programming in your terminal

#137
post #87

I have this 300 line Go application which manages git tags for me. I asked it to implement a -dry-run function. It failed twice. First time it just mangled the file. Second time it just made code that didn't do anything. I asked it to rename a global variable. It broke the application and failed to understand scoping rules. Perhaps it is bad luck, or perhaps my Go code is weird, but I don't understand how y'all wanna…

Which model? I've used Aider a bunch and for tasks like that GPT-4 has worked pretty well. But 3 would not be able to do it.

Re: Aider: AI pair programming in your terminal

#138
post #87

I have this 300 line Go application which manages git tags for me. I asked it to implement a -dry-run function. It failed twice. First time it just mangled the file. Second time it just made code that didn't do anything. I asked it to rename a global variable. It broke the application and failed to understand scoping rules. Perhaps it is bad luck, or perhaps my Go code is weird, but I don't understand how y'all wanna…

Which model? I've used Aider a bunch and for tasks like that GPT-4 has worked pretty well. But 3 would not be able to do it.

That’s why I’m not fully jumping in yet, as I think even GPT 4 is borderline. I’m grateful for those investing their energy into building things like this (and no doubt many will be successful) but I’m happy to remain an interested observer until the next generation when I think the value proposition may be much more evident.

Re: Aider: AI pair programming in your terminal

#139
post #114

Earlier quoted context omitted.

It must be your app/lang/prompt/grandma/dog/... lol. LLMs are the future, and they will replaces Allllllll the coders in the woooorld (TM), and did you know "it" can create websites??? Wooo, let's go, baby! Nah these things are all stupid as hell. Any back and forth between a human and an LLM in terms of problem solving coding tasks is an absolute disaster. People here and certainly in the mainstream population see s…

LLMs does not store information though. Language is a tool to convey information. LLMs are only about the language, not the information.

[dead]

Re: Aider: AI pair programming in your terminal

#140
post #75

Python projects depress me because of the dependency management problem.

No problem, just install it in a virtualized containerized pyenv virtualenv pipx poetry conda dies

Exactly.

How do Python people put up with that? Have none of them tried to run multiple Python projects over time on the same Linux install with commandline access to all of them at once?

Post reply on HN