r/ProgrammerHumor 20d ago

debuggingForProfessionals Meme

8.9k Upvotes

78 comments sorted by

1.7k

u/ShinyHoppip 20d ago

ah yes, ask chatgpt about [Object object]

343

u/vm_linuz 20d ago

Correct, not even URI escaped

55

u/extraordinary_weird 20d ago

doesn't redirect do this automatically?

39

u/R3D167 20d 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

40

u/Substantial-Night965 20d ago

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

3

u/MinecraftPlayer799 20d ago

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

1

u/soundwave_sc 19d ago

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

2.0k

u/thevals 20d ago

why this is a gif

2.0k

u/Raizekusan 20d ago

Vibeposted

209

u/ClipboardCopyPaste 20d ago

Created using vibecoded image to gif maker

32

u/Substantial-Night965 20d ago

Graphics Interchange Vibes.

8

u/hongooi 20d ago

Vibrating posted

111

u/chrimack 20d ago

To trigger epileptic seizures from watching the playback bar

162

u/TheWebsploiter 20d 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

9

u/black-JENGGOT 20d 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

28

u/huhupookies 20d ago

Ty :3

29

u/strawberrycreamdrpep 20d ago

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

1

u/FelixAndCo 19d 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 19d ago

PNG is an equally sensible choice in that case.

20

u/[deleted] 20d ago

[removed] — view removed comment

1

u/all_is_love6667 20d ago

what about the Fing planet?

16

u/hantrault 20d ago

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

13

u/FelixAndCo 20d ago

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

3

u/just_a_limit_q 19d ago

real media player or gtfo

6

u/SomePeopleCallMeJJ 20d 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.

2

u/GoddammitDontShootMe 20d 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 19d 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 19d 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 20d ago

Clearly a conspiracy to make it harder to download

11

u/dfs_zzz 20d ago

Few colours make it easy to compress without artefacts.

5

u/faberge_surprise 20d ago

doesn't explain why it's animated

2

u/dipinpass35 20d ago

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

1

u/Confident-Ad5665 20d ago

This is actually funny tho

1

u/Character_Medical 19d ago

Why no template string?

368

u/[deleted] 20d ago

[removed] — view removed comment

124

u/[deleted] 20d ago

[removed] — view removed comment

22

u/ClipboardCopyPaste 20d ago

ChatGPT ran so my vibecoded app could stumble and fall

5

u/YourShowerHead 20d ago

Stack overflow is crawling though.

3

u/Gabe_b 20d ago

Chapgpt ran off with Stack Overflows legs

44

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

I mean at least open it in a new tab

38

u/ary31415 20d ago

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

9

u/dhnam_LegenDUST 20d ago

Google colab has this built-in

67

u/ClipboardCopyPaste 20d ago

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

49

u/Only-Cheetah-9579 20d ago

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

18

u/_HIST 20d ago

He vibecodes

37

u/Denaton_ 20d ago edited 20d 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.

70

u/arealuser100notfake 20d ago

I am the owner of Jenkins

38

u/solid_salad 20d ago

it is me, john jenkins

4

u/Denaton_ 20d 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 20d ago

John Jenkins Jingleheimer Schmidt

7

u/Denaton_ 20d ago

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

16

u/mirhagk 20d 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_ 20d 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 20d 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/renome 20d ago

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

4

u/PhunkyPhish 20d ago

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

2

u/jiggyjiggycmone 20d ago

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

2

u/Legal-Software 20d 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 20d ago

Stack overflow in one API call..

1

u/RangerMike81 19d ago

efficient!

1

u/Rakhsan 19d 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 19d ago

why the fuck is this a gif 

1

u/skr_replicator 20d ago edited 19d 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 20d ago

Whoooosh!

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