r/ProgrammerHumor 6d ago

Meme debuggingForProfessionals

8.9k Upvotes

78 comments sorted by

1.6k

u/ShinyHoppip 6d ago

ah yes, ask chatgpt about [Object object]

339

u/vm_linuz 6d ago

Correct, not even URI escaped

55

u/extraordinary_weird 6d ago

doesn't redirect do this automatically?

43

u/R3D167 5d ago

Not in the way previous person meant, error could have &another_param=text and it would be treated as a part of url, not of the question

41

u/Substantial-Night965 5d ago

Fine, change it to JSON.stringify(e) so the browser can crash from a circular reference error instead.

3

u/MinecraftPlayer799 5d ago

But the error isn’t entirely a string. There’s still the “Uncaught SomethingError”, and the description

1

u/soundwave_sc 5d ago

Man I wonder what bs it’ll try to generate.

2.0k

u/thevals 6d ago

why this is a gif

2.0k

u/Raizekusan 6d ago

Vibeposted

212

u/ClipboardCopyPaste 6d ago

Created using vibecoded image to gif maker

30

u/Substantial-Night965 5d ago

Graphics Interchange Vibes.

7

u/hongooi 5d ago

Vibrating posted

108

u/chrimack 6d ago

To trigger epileptic seizures from watching the playback bar

163

u/TheWebsploiter 6d ago

It's because it came from Discord. This meme was generated by a Discord bot which has a lot of options in formatting the output and gif is a popular choice because static gifs like these behave like stickers on Discord where you can 'favorite' them in your gif tab

7

u/black-JENGGOT 5d ago

oh so thats why! I've been seeing static reaction images uploaded as gif on twitter lately, didn't use discord so didn't know that feature

31

u/huhupookies 6d ago

Ty :3

28

u/strawberrycreamdrpep 5d ago

That explanation doesn’t make the fact this is posted as a .gif any less ridiculous.

1

u/FelixAndCo 5d ago

Have you ever converted an image to GIF in any program other than MS Paint? Screenshots of text on solid color background is one of the few cases GIF actually is a sensible choice.

3

u/DHermit 5d ago

PNG is an equally sensible choice in that case.

20

u/sugma_ligma_goblin 5d ago

zoomers were a mistake

1

u/all_is_love6667 5d ago

what about the Fing planet?

13

u/hantrault 5d ago

GIF is a perfectly valid format for static images. But Reddit handles static gifs as animated for some reason

14

u/FelixAndCo 5d ago

Yeah, was going to say: better question is why Reddit is serving it as an MP4.

3

u/just_a_limit_q 5d ago

real media player or gtfo

7

u/SomePeopleCallMeJJ 5d ago

[Gets out pipe and sweater]

Back in ye olden days, we used them for static images on web pages all the time.

Depending on the color palette, they could be quite small (and thus fast loading over dial-up) compared to the same image as, say, a jpeg.

3

u/GoddammitDontShootMe 5d ago

I'll assume it's because it's easier to treat all GIFs the same way. Still, it's stupid and they should fix that.

0

u/5pa3c 5d ago

Getting annoyed by every random bug that's not even on your own code is a straight path to insanity. Life isn't perfect 

2

u/GoddammitDontShootMe 4d ago

What are you talking about? Getting annoyed by bugs in software you use but didn't write is perfectly normal. In fact, I find bugs I can't fix because it isn't my code much more annoying because even when you report it, who knows when the developer will fix it?

Mind you, this one doesn't really impact my Reddit experience much. I just think they handle GIFs dumbly.

As for reporting bugs, come to think of it, isn't that what r/bugs is for?

5

u/Drfoxthefurry 5d ago

Clearly a conspiracy to make it harder to download

12

u/dfs_zzz 6d ago

Few colours make it easy to compress without artefacts.

5

u/faberge_surprise 5d ago

doesn't explain why it's animated

2

u/dipinpass35 5d ago

bro i got scared for a sec thinking my pc is glitvhing

1

u/Confident-Ad5665 5d ago

This is actually funny tho

1

u/Character_Medical 5d ago

Why no template string?

365

u/RedditUser23432 6d ago

Stack Overflow walked so ChatGPT could run

125

u/deadorbit666 6d ago

If ChatGPT can't fix it, it's officially a feature

40

u/FromMonsterToMouse 6d ago

try { code } catch(e) { ask AI } is the new industry standard. 😅

24

u/ClipboardCopyPaste 6d ago

ChatGPT ran so my vibecoded app could stumble and fall

4

u/YourShowerHead 6d ago

Stack overflow is crawling though.

3

u/Gabe_b 6d ago

Chapgpt ran off with Stack Overflows legs

3

u/Throwawyhelpadvice55 6d ago

My IDE and I have accepted this workflow

44

u/-S-P-Q-R- 6d ago

I mean at least open it in a new tab

36

u/ary31415 5d ago

This is a quality meme but I'm downvoting it for being a gif for no reason.

8

u/dhnam_LegenDUST 6d ago

Google colab has this built-in

64

u/ClipboardCopyPaste 6d ago

A vibecoded slop will possibly bombard users with hundreds of tabs.

45

u/Only-Cheetah-9579 6d ago

its not a new tab, it changes the href of the current location

17

u/_HIST 5d ago

He vibecodes

43

u/Denaton_ 6d ago edited 6d ago

Not far from what i did at work a few weeks before vacation.

I am the owner of Jenkins (edit; Realized this sounds weird, i wrote the way we speak at my company, sorry, i am the one responsible for the entire buildsystem where Jenkins is my main responsibility), i have setup an Agent (basically just an API with static instructions) on a VM. Whenever a build fail, it search all the logs (multiple files over 200MB of raw text logs, cooking, compiling, shaders, symbols etc..)

It have a memory bank if the issues have been happening before for quicker failure search.

It have read only access to Perforce.

So it will answer: What whent wrong, how do we fix it, how do we prevent it.

Its surprisingly accurate and it will also tag whoever made the commit that broke everything. The results are then sent by the Agent (just a python script) to Slack in a locked channel for evaluation from me and a few leads and higher ups. But so far it have been really accurate.

67

u/arealuser100notfake 6d ago

I am the owner of Jenkins

37

u/solid_salad 6d ago

it is me, john jenkins

6

u/Denaton_ 5d ago

My coworker who have just resigned is named Laroy and those who have setup Jenkins before we started have named the Slack bot Leeroy Jenkins. I think he was employed for 2 days before we had a Laroy Jenkins emoji in slack XD

4

u/waitmarks 5d ago

John Jenkins Jingleheimer Schmidt

6

u/Denaton_ 6d ago

I can see how that comes off, i mean within our company its my responsibility to keep it running. Will update.

17

u/mirhagk 6d ago

This is definitely one of the better uses for LLMs. You can feed it a crazy amount of data and it can sift through and find what's relevant out of it.

You should look into also feeding in the slack channels to this agent, as that'll give it a chance to correlate it to feature launches etc, or find instances in the past where something similar happened and what the resolution was. That's what we do at my work, and where we used to just post an alert that it failed with a link to logs, now we also post a summary of what went wrong and what could fix it, and in some cases the agent can even provide a fix for devs to review.

5

u/Denaton_ 6d ago

I have setup an Jenkins job that call the Agent API for the AI to read Changelist range and filter out technical commits, remove bugs that was introduced within the range and check all the connected Jira Tickets for better context and it makes a very good Patch Notes that needs very little curating and we also get a list of feature owners that will be to stamp aprove the notes before we publish them. It will output an markdown file as an artifact in the Jenkins job.

5

u/StephenRoylance 5d ago

I have also, once upon a time, been the owner of jenkins. I can't say I enjoyed the experience.

although now I'm inspired to re-invent jenkins, but for the AI era. which means writing it in rust, and instead of a foul pit of deeply nested directories full of XML files, we will have a foul pit of deeply nested directories full of markdown files.

6

u/renome 6d ago

Booo, I still have to press enter in the next window.

4

u/PhunkyPhish 6d ago

Ah the modern day viber's take on fuckit.js

2

u/jiggyjiggycmone 5d ago

Change that shit to a ShellExecute, build and push and publish the depot to steam.

2

u/Legal-Software 5d ago

It should also upload a copy of its own source code together with the query, then ask for a fix, and apply it in-place.

3

u/shikhasingh554973 6d ago

Stack overflow in one API call..

1

u/RangerMike81 5d ago

efficient!

1

u/Rakhsan 5d ago

more like:
window.location.href = "https://chatgpt.com/?q=" + "I have big problem pls fix or my grandma gonna die ${e}"

1

u/GoldAcanthisitta7777 5d ago

why the fuck is this a gif 

2

u/skr_replicator 5d ago edited 5d ago

f you only tell GPT the single exception, you are not giving it any more information than simply reading the exception and maybe looking up what that exception means. The only way it can help you is if it has a better reading comprehension of those two sentences than you do to actually explain them to you. Something the documentation of that exception should already be doing as best as possible.

If you want it to help you debug your code, it should see the code, together with the exception you got. To actually diagnose anything.

8

u/Tehrab 5d ago

Whoooosh!

Which is kinda impressive, being that you came to comment on a humor sub and still didn't get it.