AI coding assistants might not save wall-time, but they do save effort, in the same way that pressing the 'up' arrow ten times in a shell might let you avoid typing 'ls'

2 months ago by xia to c/showerthoughts

jtrek 36 points 2 months ago

Guy at work did a whole mini project with just LLMs and prompting. I asked him some questions about how it works and some implementation details, and he had no idea. Great. I'm going to have to maintain this thing, probably.

path: 0 23154741, hotness: undefined, score: 36, children: 6
AdamEatsAss 21 points 2 months ago

Just use a LLM to maintain it. Duh.

path: 0 23154741 23155089, hotness: undefined, score: 21, children: 0
jj4211 10 points 2 months ago

A guy vibe coded something and said to incorporate it into my work.

Now it was a feature that people had asked for so I had to try it out.

It failed 75% of the things it was supposed to do and for the other what usually was a near instant interactive task took 5 minutes. I kicked it back saying he needed to fix the problems and improve performance. The end of the next day he answered that the infrastructure must be broken because the AI couldn't get results and the performance problem was just the nature of the things the software had to interact with. I say "he", but pretty sure his comment was LLM generated, long and useless.

But it was the impetus to get that function done now, as his "substantiative" work meant we could technically provide a customer request, lower priority as it may have been. So I spent a morning implementing the same thing it did but the old fashioned way, 100% worked and the unavoidably slow thing took less than a second.

path: 0 23154741 23161641, hotness: undefined, score: 10, children: 0
Omopaladin 3 points 2 months ago

If you're technical, spec kit helps with this a lot.

You define the spec, and declare everything important about how it needs to work.

Then let the ai loose on developing the code. Then I have another ai check for accuracy to the spec, and have it walk me through the code at a high level.

I understand it about as well as I do most projects where there is a team working on something.

Works great if you are already a competent coder. If I was new to coding though, I don't think I would be learning a ton

path: 0 23154741 23162665, hotness: undefined, score: 3, children: 3
jtrek 4 points 2 months ago

I feel like most of the time saved is by skipping the part where you learn stuff. Like, the AI fills out how you do a left join with this ORM library. Cool. Now I don't know how to do that.

You know how a lot of managers are annoying and don't know anything about how shit works? That's down the road using LLMs like this.

path: 0 23154741 23162665 23163597, hotness: undefined, score: 4, children: 2
Omopaladin 3 points 2 months ago

I don't disagree. That's why I feel for new developers. I've been doing this for 25 years, and I have some stuff still to learn, but not all that much on a vibe coded saas app.

If I had to learn like this when I was new though, I probably would have never learned anything

path: 0 23154741 23162665 23163597 23168888, hotness: undefined, score: 3, children: 0
HubertManne 1 point 2 months ago

I feel this way to.

path: 0 23154741 23162665 23163597 23165866, hotness: undefined, score: 1, children: 0
nkk 31 points 2 months ago

except instead of ls it runs rm -rf /

path: 0 23152660, hotness: undefined, score: 31, children: 5
db2 12 points 2 months ago
-y
path: 0 23152660 23153000, hotness: undefined, score: 12, children: 1
slowtrain33 7 points 2 months ago

-frfr

path: 0 23152660 23153000 23154616, hotness: undefined, score: 7, children: 0
lIlIlIlIlIlIl 5 points 2 months ago

Why did you prompt for that?

path: 0 23152660 23153051, hotness: undefined, score: 5, children: 1
Witchfire 12 points 2 months ago

To test the --no-preserve-root safeguard. It's like playing Russian roulette

path: 0 23152660 23153051 23153233, hotness: undefined, score: 12, children: 0
ttyybb 1 point 2 months ago

Didn't steam actually do that for a bit on some systems when you tried to uninstall?

path: 0 23152660 23158183, hotness: undefined, score: 1, children: 0
4am 28 points 2 months ago

If you ask AI to create the shell of a class for you with 3 variables (two ints and one Vector as you defined elsewhere in your project), that’s different than saying “make me Facebook 2” and expecting everything to go well.

Ethics of current LLMs in a still-capitalist-materially society aside, the problem with AI is that management wants the robots to do all the work so their jobs become easier and their stocks go up. But that shit just doesn’t DO that. LLMs don’t think. They are statistical autocomplete. Programming is not trivial, no matter how much it may seem that way because we have trivialized as much of it as possible to make it useful.

path: 0 23154263, hotness: undefined, score: 28, children: 1
NegentropicBoy 8 points 2 months ago

"They are statistical autocomplete." nice

path: 0 23154263 23156882, hotness: undefined, score: 8, children: 0
BagOfHeavyStones 17 points 2 months ago

Thought it was going to be ctrl+r

I didn't know that one for years.

(Searches command history.)

path: 0 23153667, hotness: undefined, score: 17, children: 1
wltr 3 points 2 months ago

Yeah, pair that with fzf!

path: 0 23153667 23158752, hotness: undefined, score: 3, children: 0
cenzorrll 13 points 2 months ago

...pressing the 'up' arrow ten times in a shell might let you avoid typing 'ls'

I feel seen. But in my defense, that directory was like, 6 levels deep

path: 0 23154813, hotness: undefined, score: 13, children: 5
kunaltyagi 6 points 2 months ago

Let me introduce you to my savior: ctrl + r

And a better bash with fuzzy find: fish or zsh.

path: 0 23154813 23156943, hotness: undefined, score: 6, children: 3
JustTesting 5 points 2 months ago

fzf is where it's at

path: 0 23154813 23156943 23157731, hotness: undefined, score: 5, children: 0
RichardDegenne 4 points 2 months ago

Yeah, that what you can type ^R ls instead of ls to save time!

path: 0 23154813 23156943 23157915, hotness: undefined, score: 4, children: 1
kunaltyagi 1 point 2 months ago

Pretty sure I use ls <dir> more than ls

Also, use mc and you'll never need ls

path: 0 23154813 23156943 23157915 23160805, hotness: undefined, score: 1, children: 0
jj4211 1 point 2 months ago

Ctrl r my friend

path: 0 23154813 23161655, hotness: undefined, score: 1, children: 0
CubitOom 8 points 2 months ago

But doesn't pressing the up arrow 10 times (and reading each command) waste both time and effort compared to just pressing 2 buttons?

path: 0 23156697, hotness: undefined, score: 8, children: 3
Epzillon 8 points 2 months ago

Yes, which is a perfect comparison

path: 0 23156697 23159092, hotness: undefined, score: 8, children: 0
xia 2 points 2 months ago

Stretching an additional finger, as well as locating an additional key, could be considered extra effort.

path: 0 23156697 23163019, hotness: undefined, score: 2, children: 1
CubitOom 1 point 2 months ago

Sure but both quantified and qualified, those 4 actions are less effort than the 20 actions of key pressing and reading the terminal.

path: 0 23156697 23163019 23163267, hotness: undefined, score: 1, children: 0
Baggie 8 points 2 months ago

Yes, and you can make a door by driving a car through a wall. The outcome may be less than optimal though.

path: 0 23154516, hotness: undefined, score: 8, children: 1
kunaltyagi 3 points 2 months ago

That's a doorway, not a door

path: 0 23154516 23156947, hotness: undefined, score: 3, children: 0
HubertManne 7 points 2 months ago

So ai sharing time. I was at a ai hands on for a monitoring company. One guy was going around showing off this thing. Its a dashboard and he made it by telling the ai to look at a type of data and then asking it to find out what the data was about and then asking it to put together a dash based on the datas applications. The result was a real nice dash. So I say. But do you understand the dashboard. Could you use it. He was like. Well presumably people who know about the particular data will be able to use it. So the only thing he actually knows about the dashboard is its pretty.

path: 0 23165784, hotness: undefined, score: 7, children: 0
vala 4 points 2 months ago

I've been trying full on vibe coding the last few weeks to see where it's at. I don't feel any less exhausted at the end of the day.

path: 0 23167522, hotness: undefined, score: 4, children: 0
webkitten 2 points 2 months ago

alias what-the-fuck-is-in-this-room=ls

It might be longer but it's definitely more memorable to type.

path: 0 23163087, hotness: undefined, score: 2, children: 1
HubertManne 1 point 2 months ago

alias REPORT!=ls honestly not shure if the bang would work.

path: 0 23163087 23165826, hotness: undefined, score: 1, children: 0
vga 0 points 2 months ago

They absolutely save you wall-time, huge amounts of it. At least if you're competent.

path: 0 23162288, hotness: undefined, score: 0, children: 4
okamiueru 3 points 2 months ago

Not a single study representative of normal tasks has shown that to be the case.

path: 0 23162288 23162660, hotness: undefined, score: 3, children: 3
vga -1 points 2 months ago

I'm absolutely fine with moving 10 times faster than others I was moving before, and people thinking they're doing better than me at the same time. So I'm not complaining.

I could be wrong, but everything I see in my own worklife suggests that I'm not. The performance increase is immense. I genuinely cannot understand why the results seem to disagree with this. I've always been a bit ahead of the curve, so perhaps that's the reason now as well.

path: 0 23162288 23162660 23162717, hotness: undefined, score: -1, children: 2
okamiueru 4 points 2 months ago

I'm happy for you. From what I've seen, that observation correlates highly with one or both of 1. a poor evaluation of "productivity", 2. rather low productivity to begin with.

The first category is by far the worst, as they think they're being extremely productive. But the burden is simply shifted onto someone else. No doubt that the authors of each of these vulnerability reports considered themselves to be immensely productive: https://gist.github.com/...

Producing 10 times more garbage, is a hefty net negative.

path: 0 23162288 23162660 23162717 23164001, hotness: undefined, score: 4, children: 1
vga 2 points 2 months ago

Could be our team composition that's the magic sauce: we're 4 seniors with 20+ years of experience from software development each and just one who's more like a junior. We could be doing this like artisans of pre-2025 but we're in a bit of a hurry, being a startup. Also, using AI seems to give us quite a bit more free time.

Remains to be seen, I guess, whether it's garbage we're producing. But we have completed in 6 months what I would have assumed would've taken 2 years and a bigger team.

path: 0 23162288 23162660 23162717 23164001 23165369, hotness: undefined, score: 2, children: 0
showerthoughts
showerthoughts

@lemmy.world

login for more options
42540
3860
5606

A "Showerthought" is a simple term used to describe the thoughts that pop into your head while you're doing everyday things like taking a shower, driving, or just daydreaming. The most popular seem to be lighthearted clever little truths, hidden in daily life.

Here are some examples to inspire your own showerthoughts:

Rules

  1. All posts must be showerthoughts
  2. The entire showerthought must be in the title
  3. No politics
    • If your topic is in a grey area, please phrase it to emphasize the fascinating aspects, not the dramatic aspects. You can do this by avoiding overly politicized terms such as "capitalism" and "communism". If you must make comparisons, you can say something is different without saying something is better/worse.
    • A good place for politics is c/politicaldiscussion
  4. Posts must be original/unique
  5. Adhere to Lemmy's Code of Conduct and the TOS

If you made it this far, showerthoughts is accepting new mods. This community is generally tame so its not a lot of work, but having a few more mods would help reports get addressed a little sooner.

Whats it like to be a mod? Reports just show up as messages in your Lemmy inbox, and if a different mod has already addressed the report, the message goes away and you never worry about it.

go to feed...