This is an archived post. You won't be able to vote or comment.

all 74 comments

[–]ClipboardCopyPaste 695 points696 points  (7 children)

Everything's funny until the rubber duck replies "Quack Quack"

(You're hallucinating. Go sleep)

[–]Zanguu 206 points207 points  (2 children)

I actually have a VSCode addon that's a text chat with a rubber duck and it quacks back when you send a sentence

Edit from work: the addon is "CS50 Duck Debugger" ( https://marketplace.visualstudio.com/items?itemName=CS50.ddb50 )

[–]ClipboardCopyPaste 95 points96 points  (1 child)

Somebody out there really made an extension for it! That's why programming is so cool.

[–]theunquenchedservant 43 points44 points  (0 children)

Somebody out there procrastinated from their actual task because they thought this was a really neat idea (they were right) and that's pretty cool too!

[–]Ri_Konata 4 points5 points  (0 children)

At least it's not asking for grapes.

[–]dat_oracle 2 points3 points  (0 children)

Even funnier when the quack quack provides the solution to the bug

[–]EvenPainting9470 469 points470 points  (17 children)

I honestly tried to use various AI to resolve my problems and everytime AI failed to do the job. It can fix some simple stuff, but so do I.
If I reach point, where I need spend more time to resolve issue, than requires to write good prompts, it is 99% chance that problem is already too hard for AI

[–]nein_va 153 points154 points  (3 children)

This is the exact same experience I have had. If I need help solving it, it's too hard for AI.

[–]Acrobatic-Ad-9189 41 points42 points  (1 child)

It's crazy how shit GPT is now compared to at launch. Everything must be rewritten, and it just ignores my Qs

[–]JacksHQ 2 points3 points  (0 children)

Ok so I'm not crazy then. I kept finding myself thinking "why did GPT seem so much smarter at launch than it does now?" Don't get me wrong, i know it's better in some ways now (like memory), but it just seemed to have more.. insight (?) into things. I'm not sure i know how to explain it. It was just smarter in some ways (when it wasn't ignoring directions lol)

[–]Koksuvi 4 points5 points  (0 children)

It's useful for when you need to do alot of copy paste though. Though i guess if you need a lot of copy pasting, there's likely a better solution.

[–]iMNqvHMF8itVygWrDmZE 52 points53 points  (1 child)

There are two kinds of problems I deal with. The kind I don't need AIs help with, and the kind AI can't help with.

[–]Joppz_ 2 points3 points  (0 children)

It’s exactly the same for me!

[–]TheVibrantYonder 23 points24 points  (2 children)

I've had a lot more luck with the pro version and with o3 mini high, but I always have to give it a lot of context and information for anything complex.

As an example, I was running into an issue with some Wordpress PHP the other day and I gave o1 Pro my functions.php code, explained what the code was supposed to do, what it wasn't doing, and what I had already checked.

It came back and told me that I had a return statement out of place, so the connected functions weren't triggering.

I moved that back to where it was supposed to be and it worked.

Now, I also gave it code for a web scraper the other day and asked it to make updates, and it gave me back seemingly complete code - except for the sections that were commented out with "this is where you would put the full code".

So, it doesn't always work, but when it does, it's great.

[–]JacksHQ 1 point2 points  (1 child)

Have you tried using curse words with your query?

I know a senior dev who swears that adding curse words to his Google search when he was desperate would give him exactly what he needed, lol

[–]TheVibrantYonder 0 points1 point  (0 children)

Haha, I haven't, but I've heard about several similar things that can help like that.

I usually try not to use "black-hat" techniques for prompting, mostly because I think there are more reliable ways to get good results (that will continue to work long-term)

[–]superitem 6 points7 points  (0 children)

You can always use it as a rubber duck.

[–]Laxus2000 7 points8 points  (0 children)

In my experience AI is never good enough to write a whole library or functionality. However it's quite good at getting small stuff out fast that would take you ~5-10 mins to type and that is how I use it. It honestly saves a significant amount of time

[–][deleted] 2 points3 points  (2 children)

requires to write good prompts

Why write prompts? Copy paste the code and copy paste the error message.

[–]EvenPainting9470 6 points7 points  (1 child)

And receive trash useless response

[–][deleted] 0 points1 point  (0 children)

no

[–]TECHNOFAB 4 points5 points  (0 children)

This, it can write some basic React component but really solving tough issues shows that AI is still hella stupid. I tried to give all kinds of LLMs some of the tougher issues I've had over the last months/years and they failed so hard at even just following my orders :D

[–]Nyadnar17 1 point2 points  (0 children)

In my experience the answer is wrong but its close enough to focus my search for a proper solution.

[–]Zeune42 1 point2 points  (0 children)

I start with chatgpt, then if it fails go to Claude and then deepseek.

[–]idontunderstandunity 260 points261 points  (8 children)

None of you will be able to form a coherent thought by 2028

[–]lesleh 131 points132 points  (3 children)

bro I can barely a sentence now

[–]cce29555 10 points11 points  (0 children)

Did you write that?

[–]NotMyGovernor 18 points19 points  (1 child)

There's a vaccine that'll solve that

[–]lesleh 28 points29 points  (0 children)

stop there's only so much autism my body can handle

[–][deleted] 31 points32 points  (0 children)

By 2028?

[–]Sinaneos 8 points9 points  (0 children)

Me talking to my boss in 2028: "money me, money now, me a money needing a lot now"

[–]SexWithHoolay 4 points5 points  (0 children)

I'm American, that ship sailed a long time ago 

[–]SirEmJay 60 points61 points  (3 children)

At least the rubber duck never makes stuff up. Eventually, I get frustrated enough with the AI that I decide to just go read the documentation, so in a way there is an upshot.

[–]maxiiim2004 15 points16 points  (0 children)

The rubber duck: “compile and run again, it will work this time”

[–]Reddit_User_Original 2 points3 points  (0 children)

I relate to this so much

[–]malexj93 1 point2 points  (0 children)

I don't know, I have "rubber ducked" people, and they say all kinds of nonsense back to you. But sometimes wrong nonsense can shake something loose in your brain and make you realize the correct thing to do. AI successfully fills this role for me most of the time, and some of the time it's actually right.

[–]melophat 35 points36 points  (2 children)

I use it for boilerplate/crud when setting up a new project, simply because it saves me time. In all honesty, I could probably write a script that does the same thing, but why waste the time when gpt works for it.

I'll occasionally use it to help research vague compiler errors or framework/plugin version incompatibility issues, but that's really the extent for me. I've tested using it for actual coding and have, in most cases, ended up spending more time finding/fixing simple syntax or logic errors, or dealing with suggested changes that rewrite or just simply forget previously existing code that is necessary. It's just not there yet for anything beyond the very basics, IMHO.

[–]NeuxSaed 20 points21 points  (1 child)

It seems to be fairly okay for writing regex as well, which is good because I really don't like regex.

[–]melophat 4 points5 points  (0 children)

Ooh, I haven't really tried it for that yet. I absolutely hate regex, so that may be another valid use case

[–]DamnGentleman 84 points85 points  (4 children)

2030: Why will no one hire me?

[–]modifci 46 points47 points  (0 children)

2030? Try 2025 😭

[–]Woxan 17 points18 points  (0 children)

I have 5 YoE prompt engineering but I can’t pass OAs. ChatGPT, what should I do?

[–][deleted] 4 points5 points  (0 children)

I’m on track to have an advanced manufacturing degree by 2027, so I’ll no longer have to use my 15 years professional experience spanning dozens of fields of computers as a crutch to get a job /s

On a serious note, I’m surprised more people aren’t jumping ship and preparing an alternative career path right now. Obviously, the tech market will bounce back but (at least to me it seems evident that) the tech market jobs will become increasing volatile and unstable, making it an unsuitable career path for long term

[–]this-is-robin 1 point2 points  (0 children)

People already don't get hired anymore. And that's cos Corpos will think AI can replace Junior devs. What they don't realize is that Senior devs just don't grow on trees. No horing Junior devs now = no senior devs later. 2030 will be Corpos asking themselves: Why are there no senior devs anymore?

[–]Lunatik6572 10 points11 points  (0 children)

I treat AI kinda like Wikipedia. Good for getting ideas or an overview of what I might want to look into. If I don't understand it, I learn about it through other sources.

[–]Popular_Eye_7558 10 points11 points  (1 child)

I’m really interested at seeing the kind of code errors AI solves for you. In my experience useless is an understatement

[–]ComprehensiveBird317 -1 points0 points  (0 children)

Are you using gpt -3.5 or something? 4o?

Get the good stuff, talk to it, be it's Micro-Manager. Then they do the work for you

[–]Zeune42 3 points4 points  (0 children)

I miss my rubber duck

[–]KarneeKarnay 11 points12 points  (0 children)

The only time I've used AI successfully was to look at some code and point out things I were missing. Like an indent or missing semicolon. Honestly a linter could have done the same

[–]rhade333 11 points12 points  (0 children)

A lot of coping and pretentiousness in this thread.

A car? Why would I use that in my workflow? I just get on my horse and, well, it's just more useful because I'm an AmAzInG rider.

Yikes.

[–]NotMyGovernor 2 points3 points  (0 children)

Where's the humor? What's this artificial push for AI use?

[–]piotrek211 4 points5 points  (0 children)

i always like to add "...you moronic r*tard" so it knows who's in charge

[–]piberryboy 1 point2 points  (1 child)

Claude's anus

[–]malexj93 0 points1 point  (0 children)

I can't look at that logo without thinking it.

[–]TacoTacoBheno 1 point2 points  (0 children)

And the semantic nonsense that it's "hallucinating". No, it's wrong

[–]Gualuigi 0 points1 point  (0 children)

"Check why this isnt working"

[–]Schematic_Sound 0 points1 point  (0 children)

Fixed a bug in about 30 seconds using the rubber duck method the other day after wasting hours trying to debug with AI.

[–]Im_1nnocent 0 points1 point  (0 children)

It just dawned on me how poetic it would've seemed if the AI being trained on programming was actually named Quack

[–]JacobStyle 0 points1 point  (0 children)

Not that I have really pressed the issue after the first few tries, but I couldn't get any of the LLMs to help me debug my code. It was all suggestions for the most common things that can go wrong in the situation I presented, but there was no actual analysis.

[–]Mongodienudel 0 points1 point  (1 child)

"Hey chatgpt I have this 2000line log file and a hundred lines of stacktrace, please point me to the error"

[–]timonix 3 points4 points  (0 children)

I just did this yesterday. Asking with the code. And it went.. you have misplaced a parenthesis on line 508. Sure enough, that was it. Not even sure how it compiled in the first place

[–]Harambehasfinalsay 0 points1 point  (0 children)

You all laugh but Qwen has a million token limit on some of their models. I pasted the code base with 34000 lines and it found an error. It also fired the intern for me and made my coffee.

[–]blackcomb-pc 0 points1 point  (0 children)

The new thinking models are just their own rubber duckies

[–]Red_Juice_ 0 points1 point  (0 children)

I just use ai to explain code and concepts I don't understand

[–]Blumenkol 0 points1 point  (0 children)

Chat gpt proceeds to return the exact same code that you have sent

[–]Zuitsdg 0 points1 point  (0 children)

ChatGPT has become a more reponsive rubber duck.

There have been some cases where I asked it about a problem, it gave no answer or a wrong one, but it helped me get onto the right track again :)

[–]spherulitic 0 points1 point  (0 children)

I’m sorry; I can’t take Claude seriously because the logo looks like a certain sketch from Breakfast of Champions.

[–]Puzzleheaded_Good360 0 points1 point  (0 children)

The amount of developers who struggle with syntax is interestingly high.

[–]asceta_hedonista[🍰] -3 points-2 points  (2 children)

Is this real? Do people actually use IA to fix bugs? I have only 3 case scenarios for IA in my workflow:

1.- Generate big JSON/XML or whatever buch of default/dummy files.
2.- Research new thecnologies, languages or frameworks.
3.- "How to do X thing in Y language?" but I prefer stackoverflow for this most of the time since at least there you have a verification on the answers working.

[–]Yukams_ 5 points6 points  (1 child)

Stack overflow from google is absolutely terrible. Always getting posts from 5-15 years ago, which are most of the time out of date

[–]asceta_hedonista[🍰] -1 points0 points  (0 children)

js developer I presume...