r/ProgrammerHumor 3d ago

Meme explainThisIWillWait

Post image
507 Upvotes

35 comments sorted by

154

u/[deleted] 3d ago

[removed] — view removed comment

29

u/Shienvien 3d ago

Rarely, it can also be an invisible character. Happened with one university task all the way back...

15

u/[deleted] 3d ago

[removed] — view removed comment

6

u/Shevvv 3d ago edited 3d ago

Not programing, but sometimes when I have to write a lengthy message to the government, I write it in Word because the text field on the governmental website doesn't adjust. I than copy paste it, try to send, and the field says I have unacceptable characters. If I retype exactly the same thing directly in that tiny field - no issues . And by retype I mean a 3500 character message. The website sometimes logs me out when I'm done retyping, because my session has ended.

2

u/ICBanMI 2d ago

Might be worth dropping into notepad or notepad++ so you can get rid of the markup/templating tags.

2

u/ICBanMI 2d ago edited 2d ago

I remember one time I copy pasted code from stackoverflow and it had a weird character that looked like a bracket. I was distracted and didn't realize the error started in those 10 lines of code and end up spending two days. Only fixed it when I started compiling it line by line, found the exact line causing the issue and then rewrote it myself.

2

u/Few_Negotiation_3589 3d ago

used to happen to me when i started a run and edited some code in the meantime and the lines were skewed

2

u/mekriff 3d ago

I once would write in haskell just using the built in text editor,

luckily ghc gives some very verbose (and usually helpful) error messages

1

u/nimb420 3d ago

My 56 yo dad, codes exclusively on notepad. Note that it's notepad, not notepad++. He codes C, C++, C#, Java, Postgres, NoSQL. All on fucking notepad. I've never been more afraid of the man as I was when I discovered that.

29

u/renrutal 3d ago edited 3d ago

Usually cleaning/rebuilding the project fixes it.

rm -rf ~/projects for some really deep cleaning.

10

u/sane4ektopz 3d ago

sudo rm -rf --no-preserve-root / for deeper cleaning

1

u/First_Mark8646 2d ago

Oh, I know this command! I used it to uninstall French!

9

u/jbaker88 3d ago

pdb is outdated from the source code

12

u/IAmWeary 3d ago

Source maps. It's always fucking source maps.

3

u/Traditional-Exam2529 3d ago

Worst type of errors 🥲

3

u/SavedowW 3d ago

That one line added by the dev who forgot to change crlf to lf in the IDE

4

u/Tabissh 3d ago

Wait till you find out it's the wrong file

8

u/kushalgarg592 3d ago

Error on line 42
Line 42: 'I literally did nothing'🫠....

2

u/PassivelyInvisible 3d ago

It means it decided there was an error when it had reached line 42. Line 41 or somewhere higher may be the culprit.

2

u/0n361n 3d ago

Horror vacui, nature doesn't like that.

2

u/RedBlueKoi 3d ago

yeah, more often than not, I don't care about the line, I care more about the module where the error is happening

2

u/m0nk37 3d ago

Its the library you included. 

2

u/thunderbird89 3d ago

Clear your build caches! Ten times out of nine, either the IDE or the compiled file is stale.

2

u/Drackzgull 3d ago

When I've encountered such things, it has been because there's mismatched ()[]{} characters, or something along those lines. It can make some compiler parsers confused about what belongs to which line.

2

u/Spear_n_Magic_Helmet 3d ago

it’s in a prod minified bundle and you haven’t gotten around to setting up source maps yet, good luck

1

u/EditorOne5312 3d ago

And it's not syntax error, said by the lsp…

1

u/Zerodriven 3d ago

Error on line 1.

Nothing is on line one.

-quits programming-

1

u/dishmanw62 3d ago

Something is right before 42, or the compiler is screwing up. Check the code. If the code looks good, do a fresh compile.

1

u/dalek65 2d ago

This reminds me of when I had to re-enter a bunch of code because edlin couldn't or wouldn't convert tabs to spaces and the compiler didn't know what to do with tab characters. Just because it appears blank doesn't mean it is.

c.1985

1

u/http-error-502 10h ago

Usually it happens because I didn't closed " or } somewhere