this post was submitted on 17 Dec 2024
116 points (100.0% liked)

Programming

17651 readers
416 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS
 

It was merged after they where rightfully ridiculed by the community.

The awful response to the backlash by matwojo really takes the cake:

I've learned today that you are sensitive to ensuring human readability over any concerns in regard to AI consumption

top 12 comments
sorted by: hot top controversial new old
[–] [email protected] 49 points 12 hours ago (2 children)

Fuck AI code generation. I gave it a fair shot and it's a waste of time that actively makes my job harder.

[–] [email protected] 4 points 6 hours ago

I use AI as a rubber duck or to get general ideas all the time. For example, I wanted to make a "hand" of cards splayed out using css, so I asked AI and it gave me a nice starting point I could tweak without having to fuss with figuring the formula to tilt which element at which angle. It's also quite good at guessing what boring boilerplate code I need to type next.

Another example: I was trying to figure out an architecture that adhered to OOP/SOLID principles for a specific task, and asked for an example implementation. I was able to test and think through a ton of permutations before landing on what I was taking to prod.

I think it's a nice tool for the toolbelt, but it isn't replacing a programmer anytime soon. You have to know what to ask and be able to intelligently analyze what it spits out to you

[–] hushable 18 points 11 hours ago

My employer hired a consultancy company to implement some terraform and ansible code for some cloud infra and we got in return hundreds of machine generated code lines that do not work and now are suing the consultant.

Worst part, is that the guy who reviewed this ended up writing everything himself

[–] [email protected] 17 points 11 hours ago (1 children)

They excused it as "I'm overworked" which... fair enough, but that doesn't excuse this. I blame Microsoft, not this fella.

[–] [email protected] 1 points 1 hour ago

AI is good for the messy inbox problem, but it ain't perfect.

[–] [email protected] 20 points 12 hours ago (3 children)

He's right that it's probably harder for AI to understand. But wrong in every other way possible. Human understanding should trump AI, at least while they're as unreliable as they currently are.

Maybe one day AI will know how to not bullshit, and everyone will use it, and then we'll start writing documentation specifically for AI. But that's a long way off.

[–] [email protected] 1 points 33 minutes ago* (last edited 32 minutes ago)

Having AI not bullshiting will require an entirely different set of algorithms than LLM, or ML in general. ML by design aproximates answers, and you don't use it for anything that's deterministic and has a correct answer. So, in that rwgard, we're basically at square 0.

You can keep on slapping a bunch of checks on top of random text prediction it gives you, but if you have a way of checking if something is really true for every case imaginable, then you can probably just use that to instead generate the reply, and it can't be something that's also ML/random.

[–] Joeffect 20 points 11 hours ago

If it can't understand human text then is it really worth using? Like isn't that the minimum standard here, to get context and understand from text?

I don't have any game in this but this seems backwards and stupid... Especially since all AI currently is fancy pattern matching basically

[–] [email protected] 2 points 11 hours ago

He admitted himself that it might not be harder for AI to understand.

[–] [email protected] 16 points 11 hours ago

The more apt headline is that Microsoft doesn't pay enough people to review their documentation PRs. The org has 572 members but nearly every PR to this repo is processed by this one guy.

[–] halloween_spookster 3 points 11 hours ago

Progressing languages aren't about computers. They're about humans.

[–] [email protected] 3 points 11 hours ago

Even the dudes responses in those comments seem written by an AI.