r/ProgrammerHumor 17h ago

Meme debuggingForProfessionals

7.2k Upvotes

70 comments sorted by

1.1k

u/ShinyHoppip 16h ago

ah yes, ask chatgpt about [Object object]

236

u/vm_linuz 16h ago

Correct, not even URI escaped

38

u/extraordinary_weird 16h ago

doesn't redirect do this automatically?

29

u/R3D167 15h 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

27

u/Substantial-Night965 14h ago

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

2

u/MinecraftPlayer799 9h ago

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

1.7k

u/thevals 17h ago

why this is a gif

1.8k

u/Raizekusan 17h ago

Vibeposted

168

u/ClipboardCopyPaste 16h ago

Created using vibecoded image to gif maker

26

u/Substantial-Night965 14h ago

Graphics Interchange Vibes.

5

u/hongooi 14h ago

Vibrating posted

155

u/TheWebsploiter 16h 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

6

u/black-JENGGOT 9h 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

23

u/huhupookies 16h ago

Ty :3

26

u/strawberrycreamdrpep 13h ago

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

0

u/FelixAndCo 28m 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.

19

u/sugma_ligma_goblin 14h ago

zoomers were a mistake

1

u/all_is_love6667 13h ago

what about the Fing planet?

100

u/chrimack 16h ago

To trigger epileptic seizures from watching the playback bar

12

u/hantrault 13h ago

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

9

u/FelixAndCo 11h ago

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

2

u/just_a_limit_q 7h ago

real media player or gtfo

4

u/SomePeopleCallMeJJ 9h 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.

5

u/GoddammitDontShootMe 11h 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.

5

u/Drfoxthefurry 15h ago

Clearly a conspiracy to make it harder to download

12

u/dfs_zzz 17h ago

Few colours make it easy to compress without artefacts.

6

u/faberge_surprise 13h ago

doesn't explain why it's animated

2

u/dipinpass35 10h ago

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

1

u/Confident-Ad5665 9h ago

This is actually funny tho

1

u/Character_Medical 7h ago

Why no template string?

313

u/RedditUser23432 17h ago

Stack Overflow walked so ChatGPT could run

100

u/deadorbit666 17h ago

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

37

u/FromMonsterToMouse 16h ago

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

20

u/ClipboardCopyPaste 16h ago

ChatGPT ran so my vibecoded app could stumble and fall

4

u/YourShowerHead 16h ago

Stack overflow is crawling though.

3

u/Gabe_b 16h ago

Chapgpt ran off with Stack Overflows legs

4

u/Throwawyhelpadvice55 17h ago

My IDE and I have accepted this workflow

33

u/-S-P-Q-R- 16h ago

I mean at least open it in a new tab

22

u/ary31415 12h ago

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

59

u/ClipboardCopyPaste 16h ago

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

36

u/Only-Cheetah-9579 16h ago

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

11

u/_HIST 15h ago

He vibecodes

8

u/dhnam_LegenDUST 16h ago

Google colab has this built-in

37

u/Denaton_ 16h ago edited 16h 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.

63

u/arealuser100notfake 16h ago

I am the owner of Jenkins

31

u/solid_salad 16h ago

it is me, john jenkins

5

u/orangeyougladiator 15h ago

Did you see Jenkins down the beer all over Jenkins shirt?

4

u/waitmarks 13h ago

John Jenkins Jingleheimer Schmidt

3

u/Denaton_ 14h 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

6

u/Denaton_ 16h 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 16h 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_ 16h 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.

7

u/StephenRoylance 14h 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.

5

u/PhunkyPhish 16h ago

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

3

u/renome 16h ago

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

2

u/jiggyjiggycmone 15h ago

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

2

u/Legal-Software 11h 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 16h ago

Stack overflow in one API call..

1

u/RangerMike81 6h ago

efficient!

1

u/Rakhsan 42m ago

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

1

u/skr_replicator 13h ago edited 6h 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.

6

u/Tehrab 13h ago

Whoooosh!

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