Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
DoreKnob135y@Katakompe aka, the error that just says, "you fucked up, but I'm not gonna tell you how you fucked up. Now go spend 50 million hours trying to figure out what went wrong."
-
Python if you *try* hard as you might to put your hand on the red hot stove it'll intercept your hand 99.9999 percent of the time. C, go right ahead and when it's cooked feel free to then eat your own hand meat. That's quite kind considering I'm thinking of real mode programming rather than protected memory. I love when you accidentally over right into the graphics / sound buffer.
-
Hazarth95215y@DoreKnob well, you know how you fucked up. You screwed up the physical memory space by reading/writing a part of it you don't own (ever or anymore)
And it's impossible to know where from the compilers perspective, you could've deleted a variable at the beginning of execution and then write into it at the end and all it can tell you is "at this line, segmentation fault" -
@Hazarth How do you enable information about the line?
I always only get "segmentation fault (core dumped)" as error text -
Hazarth95215y@Katakompe its not an option, but a feature of the debugger, so you need to run it in debug mode when it crashes, as you should while debugging a problem. If you need to catch it in production you have to sprinkle logs around your code, but that you should do anyway too, nothing beats a good logging practice in the long run
-
@Hazarth
ahh yes, the good old print all the strings that you have problems with and fuck with that memcpy cuz you have forgotten how it works... -
Pickman6525yMy experience with python is: "everything is okay dude" with a big explosion in the background.
-
Rust errors are like. Alright I get it no need rub it on my face
Node.js(javascript) errors: What the clusterf*ck!
C is just plain Savage in everyway
joke/meme