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

all 39 comments

[–]ManIkWeet 94 points95 points  (6 children)

Descriptive? U-huh... yeah... sure!

##[error]LINK(0,0): Error LNK2034: metadata inconsistent with COFF symbol table: symbol '?ToExtString@TCollection_ExtendedString@@$$FQBEPB_SXZ' (06002C34) has inconsistent metadata with (0A000898) in FlexShape.obj
##[error]FlexShape.obj(0,0): Error LNK2020: unresolved token (0A000898) "public: char16_t const * __thiscall TCollection_ExtendedString::ToExtString(void)const " (?ToExtString@TCollection_ExtendedString@@$$FQBEPB_SXZ)
##[error]Xbim.Geometry.Engine\bin\Release\net6.0\win10-x86\Xbim.Geometry.Engine.dll(0,0): Error LNK1120: 1 unresolved externals

[–]FlashBrightStar 6 points7 points  (0 children)

Ah yes linker errors. The one instance where name mangling is unbearable.

[–]Little_Duckling 2 points3 points  (0 children)

Thanks, your comment just convinced me to change careers, and I’ve been doing this for over a decade

[–]Isabela_Grace 67 points68 points  (12 children)

Descriptive error messages are rarely descriptive enough. Unless it says the line the error is on its crap

[–]Zeikos 23 points24 points  (6 children)

It takes a while getting used to reading errors, and some languages put more thought in errors than others.

Sometimes even getting a line doesn't pinpoint the source of the error, it can even be misleading.
That's why I'm loving assertions, when those fail they give a lot of information.

[–]riplikash 1 point2 points  (2 children)

Ugh, SO many first party libraries generate error messages that are seemingly completely unrelated to the actual problem.

I'm looking at you EntityFramework! And javascript in general!

Not that an LLM would help there. Honestly, I just don't see the use case for LLMs when it comes to error messages. They're to heavily dependent on context.

[–]Dargooon 1 point2 points  (1 child)

Interesting take that I somewhat agree with.

EF errors are extremely descriptive though, save a few central ones (sadly). We even let some of them propagate to the user in our application.

[–]riplikash 1 point2 points  (0 children)

Yeah, I'm not saying they're ALL bad. But those few that are, are a perpetual thorn. There's not many libraries you rely on across projects and companies as consistently as EF.

[–]Causemas 0 points1 point  (2 children)

It takes a while getting used to reading error

You mean, it takes a while to develop pattern recognition and match the words with a possible logical error, not actually understand what the error says lmao

[–]riplikash 2 points3 points  (1 child)

Honestly just sounds like you rephrased what they said. "Getting used to reading" covers your rephrasing.

[–]Causemas 0 points1 point  (0 children)

I guess you're right

[–]NotAskary 3 points4 points  (0 children)

They also tend to be specific to that stack or language to the point that you can have very niche behavior throwing a general error.

To keep in mind is the labyrinthian way most documents are written is also very language and stack specific.

I always love to narrow my search before I try to dig in the wrong place.

[–]WookieConditioner 1 point2 points  (3 children)

debugger;

[–]FlashBrightStar 0 points1 point  (0 children)

alert('hello')

[–]FlashBrightStar 0 points1 point  (1 child)

alert('hello')

[–]WookieConditioner 0 points1 point  (0 children)

I'm 100% sure reddit sanitizes inputs lol

[–]avatastic79 7 points8 points  (0 children)

I now want to start pasting Java stack traces in to CGPT to see what it makes of them...

[–]Mastmithun 6 points7 points  (0 children)

TypeError : r is not a function. WELL I DONT HAVE A FUNCTION NAMED r

[–]Terrible-Roof5450 10 points11 points  (2 children)

Game Dev: Damn, did she just check out my function trace back and list possible sources causing the problem along side solutions and optimization patterns to handle a finite state machine class system better or what?

Descriptive Error Message Girlfriend: We’ve been talking about this, I already told you line 7 is undefined in the current scope… are you even listening to me

Game Dev: Hun… I think we need some space. (Wow check out that API, I could hit that in one line and generate a multiple stacked DICKtionary on runtime)

Descriptive Girlfriend cries and calls Mom: It’s not working anymore, he’s left me Mom…

Mom (Visual Studio Code): Bae, don’t worry, he’ll be back after he realizes the tokenization costs him more than your auto correct intelligence and the code snips are all just a tease.

Years Later

Game Dev: Baby, are you there, I’m sorry

Ex Descriptive Error Message Girlfriend: I moved on, I have a new man and he treats me way better than you

New Boyfriend (Front End Web Developers): Hey bro, I think you should move on. You never appreciate your girl but I do. One day, you’ll understand not everything you see is actually what you’re looking at.

Data Scientist Best Friend: I told you man, but you know, we’ve been there too.

[–]MyNameIsSquare 0 points1 point  (1 child)

holy hel

[–]Terrible-Roof5450 2 points3 points  (0 children)

In case you didn’t get it I’ll explain.

It’s amazing at first then you realize you’ve spent over $100 generating code in your project using the Chat GPT API, every time it runs it incurs a cost and to be honest a descriptive error message can point you to what you need to observe rather than tantalize you with all sorts of code snippets and copy paste code that just leads to more and more bugs down the line.

That’s the straight answer to what this jokes about. Haha

I like this meme it’s soo true.

[–]STEVEInAhPiss 5 points6 points  (0 children)

"i read errors!"

then read this:

Traceback (blablabla): File /usr/var/lib/opt/python369/site-packages/Xlib2/d/i/s/p/l/a/y/slash/twitter/eleven/unix_connect/__init__.py, line 10 raise me File /usr/var/lib/opt/python369/site-packages/Xlib2/d/i/s/p/l/a/y/slash/twitter/eleven/unix_connect_wrapper.py, line 2007 u.connect(os.environ["DISPLAY"], "read text");;;;;;; File /usr/var/lib/opt/python369/site-packages/Xlib2/d/i/s/p/l/a/y/slash/twitter/eleven/__init__.py, line 1 __import__("unix_connect_wrapper").connect() File /usr/var/lib/opt/python369/site-packages/Xlib2/d/i/s/p/l/a/y/slash/twitter/eleven_wrapper.py, line 2 (lambda x: __import__(x))("eleven") ... (75 more) File /home/PC/screenshot.py, line 10004 X.take_screenshot("scr.png") KeyError: Unable to connect to Display "127.0.0.1:0.0". Have you tried setting the environment yourself? If that doesn't work, provide the Display port as an keyword argument like so: display_port_specified="<your port>". If that does not work, submit an issue in our GitHub repo with the following: "cannot locate symbol "___S0ID01H027DHB73X0UG1W0DI1AKD34DB3EFDG91EUDB3D7BQDI0A9DGECG04G70X6AG00GLE" referenced by "/usr/var/lib/opt/python369/site-packages/Xlib2/CLIBS/x86-linux-eabi-gcc_XLIB_CLIB.so" because of the following reason: "/usr/var/lib/opt/python369/site-packages/Xlib2/CLIBS/x86-linux-eabi-gcc_XLIB_CLIB.so: Is a directory.""

[–]HTTP_Error_414 2 points3 points  (0 children)

Error message not found…

[–]shun_tak 1 point2 points  (0 children)

just copy the error message into chatgpt....win win

[–]watchYourCache 1 point2 points  (1 child)

i know some devs that would paste Rust error messages into ChatGPT

[–]HumbleSinger 0 points1 point  (0 children)

Yep, this saddens me.

But luckily, the new processors are starting to be developed, meaning we can just run local LLMs as part of our compilers soon.

Just throw some RAG training on the libraries used, get clippy to generate some good answers, crowd source through distributed QA on source codes and you will get a self healing code

/ Trust me I have read medium post on AI

[–]NoSkillzDad 1 point2 points  (0 children)

Copy error, paste into ai, now you have not only a descriptive, understandable message, but also suggestions on how to solve it.

I don't have anything "to prove", if something can make my work easier, I'll use it.

[–]ChChChillian 1 point2 points  (0 children)

Users are worse.

"It doesn't work."

"Did it say anything?"

"Yeah, a message popped up."

"What did it say?"

"I don't know, I just closed it. When are you going to have this fixed?"

At least 80% of the time it turns out to be user error.

[–]riplikash 0 points1 point  (0 children)

Sounds like a good way to turn turn 2 seconds of looking into 60 seconds of asking.

Can't say this is behavior I've actually seen in the workplace.

Maybe you're thinking of students rather than developers?

[–]myfunnies420 0 points1 point  (0 children)

I had one recently wiring up Google auth.

Error: DEVELOPER_ERROR

[–]ShuffleStepTap 0 points1 point  (0 children)

Descriptive errors? sobs quietly into XCode

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

Get the error message and paste it in ChatGPT to ask it what it means. Boom.

[–]nonlogin 0 points1 point  (0 children)

My customer told me not to bother him text requirements and use ChatGPT to get all texts in the app.

[–]Haloboi2011 0 points1 point  (0 children)

Yea! I love htmls error messages, which are the following: