Live data from Hacker News

Devin: AI Software Engineer

cognition-labs.com

231–240 of 604 posts

Re: Devin: AI Software Engineer

#231
Let's get realistic here - I just beat GPT-4 at tic tac toe, since it failed to block my 2/3 complete winning line ...

Sure, one day we'll have AGI, and one day AGI will replace many jobs that can be done in front of a computer.

In the meantime, SOTA AI appears to be an airline chatbot that gets the company sued for lying to the customer. This is just basic question answering, and it can't even get that right. Would you trust it to write the autopilot code to fly the airplane? Maybe to write a tiny bit of it - just code up one function, perhaps?

I sure as hell wouldn't, and when it can be trusted to write one function that meets requirements and has no bugs, it's still going to be a LONG way before it can replace the job of the developers who were given a task of "write us an autopilot".

Re: Devin: AI Software Engineer

#232

I have in my codebase several really long django views files (3k lines!). They were written in a poor fashion with many nested if statements for parsing and error handling. On a one by one basis I can use VSCode github copilot to rewrite each one the way I want it. What I want to do is iterate through all functions in the files and do each one of them. I know we are getting there, but does anybody know how that can b…

Have you tried cursor.sh Not affiliated with them but it's actually pretty incredible for long context

Re: Devin: AI Software Engineer

#233
post #73

As a developer but also product person, I keep trying to use AI to code for me. I keep failing, because of context length, because of shit output from the model, because of lack of any kind of architecture etc etc etc. I'm probably dumb as hell, because I just can't get it to do anything remotely useful, more than helping me with leetcode. Just yesterday I tried to feed it a simple HTML page to extract a selector, I…

Yeah I'll only give it tasks where it needs to spot patterns and do something obvious, and even then I'll check it make sure it hasn't just omitted random stuff just for shits and giggles.

TBH I'm more surprised when I don't need to help it now. After about 3 times where it cycles between incorrect attempts I just do the job myself.

I disabled copilot since it consistently breaks my flow.

Re: Devin: AI Software Engineer

#234

I have in my codebase several really long django views files (3k lines!). They were written in a poor fashion with many nested if statements for parsing and error handling. On a one by one basis I can use VSCode github copilot to rewrite each one the way I want it. What I want to do is iterate through all functions in the files and do each one of them. I know we are getting there, but does anybody know how that can b…

Give Claude 3 Opus a shot maybe.

One of the reasons I have stayed well clear of the IDE tools is they force me to use their own model.

While they might be convenient it means I can't switch to whatever the SOTA model of the day is at the drop of a hat.

Opus is awesome and well worth a shot.

Re: Devin: AI Software Engineer

#235

Humans seek work that provides satisfaction and meaning in their life. For every technological advancement, artisans are the first to be made obsolete. Sure we have landfills full of unworn textiles, the market says its good, but overall, we keep destroying what allows humans to seek meaning. Our governments and society have made it clear, if you don't produce value, you don't deserve dignity. We have outsourced art…

> What will be left? Where will we be? Just stranded without dignity or purpose, left to rot when we no longer produce value. Nobody stops you from paying $1000 for a shirt made by artisans right now. Do you want to? > Our governments and society have made it clear, if you don't produce value, you don't deserve dignity. It's not somebody else who decided that. It's you.

I bought a pair of 350 dollar boots that can be repaired many times.

That was five years ago, with a recent re-sole this past summer.

This isn't an exaggeration by the way, but the cobbler who did the resole thanked me for bringing him the job, as it was a genuinely enjoyable experience for him. I assume most of his work is repairing suitcases going by the other clientele in the shop.

But sure, exaggerate that to be an artisan you need to be selling 1000 dollar shirts, rather than doing a 100 dollar service that doubles or triples the life of a decently made item.

Re: Devin: AI Software Engineer

#236
post #73

As a developer but also product person, I keep trying to use AI to code for me. I keep failing, because of context length, because of shit output from the model, because of lack of any kind of architecture etc etc etc. I'm probably dumb as hell, because I just can't get it to do anything remotely useful, more than helping me with leetcode. Just yesterday I tried to feed it a simple HTML page to extract a selector, I…

Claude Opus is working for me. It's not perfect but it definitely handles busy work well enough that it's a net positive. Like I add some new fields to a table and ask it to update all the files that depend on the field and it works after 1 or 2 tries. There is a time saving benefit but there is also an avoiding mental fatigue benefit for busywork.

What are you using on top of Claude Opus that helps it access your file system?

Re: Devin: AI Software Engineer

#237
We're not that far from a major turning point.

Currently these models don't provide an adequate enough confidence measure that prevents them from maximizing their potential. In the next few years we're going to reach a point where models will be able to tell if something is possible and avoid hallucinating, guaranteeing much better correctness. Something like that would be absolutely killer.

If you add on a top-down approach using a framework, such that it can architect a system down into small individual components, then that's a recipe for a really great workflow. The models we have now really shine in doing automated unit tests, and small bits of code to avoid limits with context size. Making the interfaces obvious enough, and being able to glue things together using obvious connections seems very possible.

I really do think that in the next few years we're going to see one of these tools really do well.

Re: Devin: AI Software Engineer

#238
From their twitter:

> When evaluated on the SWE-Bench benchmark, which asks an AI to resolve GitHub issues found in real-world open-source projects, Devin correctly resolves 13.86% of the issues unassisted, far exceeding the previous state-of-the-art model performance of 1.96% unassisted and 4.80% assisted.

While it is a progress, its far away from being useful to be a software engineer.

Re: Devin: AI Software Engineer

#240
For something that you can download and try right now, and actually works for daily coding tasks, you can try my desktop app 16x Prompt.

https://prompt.16x.engineer/

It's not 100% automated but saves a lot of time spent on writing code.

It works by composing prompts from tasks instructions, source code context and formatting instructions, resulting in high quality prompts that can be fed into LLMs to generate high quality code.

Post reply on HN