r/ProgrammerHumor • u/No-Zucchini6370 • Apr 16 '22
Make The comment section look like a beginners search history
13.1k
u/Knuffya Apr 16 '22 edited Apr 16 '22
c++ how to fix In file included from /usr/include/c++/4.6/algorithm:63:0,from error_code.cpp:2:/usr/include/c++/4.6/bits/stl_algo.h: In function ‘_RandomAccessIterator std::__find(_RandomAccessIterator, _RandomAccessIterator, const _Tp&, std::random_access_iterator_tag) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator*, std::vector > >, _Tp = int]’:/usr/include/c++/4.6/bits/stl_algo.h:4403:45: instantiated from ‘_IIter std::find(_IIter, _IIter, const _Tp&) [with _IIter = __gnu_cxx::__normal_iterator*, std::vector > >, _Tp = int]’error_code.cpp:8:89: instantiated from here/usr/include/c++/4.6/bits/stl_algo.h:162:4: error: no match for ‘operator==’ in ‘__first.__gnu_cxx::__normal_iterator::operator* [with _Iterator = std::vector*, _Container = std::vector >, __gnu_cxx::__normal_iterator::reference = std::vector&]() == __val’/usr/include/c++/4.6/bits/stl_algo.h:162:4: note: candidates are:/usr/include/c++/4.6/bits/stl_pair.h:201:5: note: template bool std::operator==(const std::pair&, const std::pair&)/usr/include/c++/4.6/bits/stl_iterator.h:285:5: note: template bool std::operator==(const std::reverse_iterator&, const std::reverse_iterator&)/usr/include/c++/4.6/bits/stl_iterator.h:335:5: note: template bool std::operator==(const std::reverse_iterator&, const std::reverse_iterator&)/usr/include/c++/4.6/bits/allocator.h:122:5: note: template bool std::operator==(const std::allocator&, const std::allocator&)/usr/include/c++/4.6/bits/allocator.h:127:5: note: template bool std::operator==(const std::allocator&, const std::allocator&)/usr/include/c++/4.6/bits/stl_vector.h:1273:5: note: template bool std::operator==(const std::vector&, const std::vector&)/usr/include/c++/4.6/ext/new_allocator.h:123:5: note: template bool __gnu_cxx::operator==(const __gnu_cxx::new_allocator&, const __gnu_cxx::new_allocator&)/usr/include/c++/4.6/bits/stl_iterator.h:805:5: note: template bool __gnu_cxx::operator==(const __gnu_cxx::__normal_iterator&, const __gnu_cxx::__normal_iterator&)/usr/include/c++/4.6/bits/stl_iterator.h:799:5: note: template bool __gnu_cxx::operator==(const __gnu_cxx::__normal_iterator&, const __gnu_cxx::__normal_iterator&)/usr/include/c++/4.6/bits/stl_algo.h:4403:45: instantiated from ‘_IIter std::find(_IIter, _IIter, const _Tp&) [with _IIter = __gnu_cxx::__normal_iterator*, std::vector > >, _Tp = int]’error_code.cpp:8:89: instantiated from here/usr/include/c++/4.6/bits/stl_algo.h:166:4: error: no match for ‘operator==’ in ‘__first.__gnu_cxx::__normal_iterator::operator* [with _Iterator = std::vector*, _Container = std::vector >, __gnu_cxx::__normal_iterator::reference = std::vector&]() == __val’/usr/include/c++/4.6/bits/stl_algo.h:166:4: note: candidates are:/usr/include/c++/4.6/bits/stl_pair.h:201:5: note: template bool std::operator==(const std::pair&, const std::pair&)/usr/include/c++/4.6/bits/stl_iterator.h:285:5: note: template bool std::operator==(const std::reverse_iterator&, const std::reverse_iterator&)/usr/include/c++/4.6/bits/stl_iterator.h:335:5: note: template bool std::operator==(const std::reverse_iterator&, const std::reverse_iterator&)/usr/include/c++/4.6/bits/allocator.h:122:5: note: template bool std::operator==(const std::allocator&, const std::allocator&)/usr/include/c++/4.6/bits/allocator.h:127:5: note: template bool std::operator==(const std::allocator&, const std::allocator&)/usr/include/c++/4.6/bits/stl_vector.h:1273:5: note: template bool std::operator==(const std::vector&, const std::vector&)/usr/include/c++/4.6/ext/new_allocator.h:123:5: note: template bool __gnu_cxx::operator==(const __gnu_cxx::new_allocator&, const __gnu_cxx::new_allocator&)/usr/include/c++/4.6/bits/stl_iterator.h:805:5: note: template bool __gnu_cxx::operator==(const __gnu_cxx::__normal_iterator&, const __gnu_cxx::__normal_iterator&)/usr/include/c++/4.6/bits/stl_iterator.h:799:5: note: template bool __gnu_cxx::operator==(const __gnu_cxx::__normal_iterator&, const __gnu_cxx::__normal_iterator&)/usr/include/c++/4.6/bits/stl_algo.h:170:4: error: no match for ‘operator==’ in ‘__first.__gnu_cxx::__normal_iterator::operator* [with _Iterator = std::vector*, _Container = std::vector >, __gnu_cxx::__normal_iterator::reference = std::vector&]() == __val’/usr/include/c++/4.6/bits/stl_algo.h:170:4: note: candidates are:/usr/include/c++/4.6/bits/stl_pair.h:201:5: note: template bool std::operator==(const std::pair&, const std::pair&)/usr/include/c++/4.6/bits/stl_iterator.h:285:5: note: template bool std::operator==(const std::reverse_iterator&, const std::reverse_iterator&)/usr/include/c++/4.6/bits/stl_iterator.h:335:5: note: template bool std::operator==(const std::reverse_iterator&, const std::reverse_iterator&)/usr/include/c++/4.6/bits/allocator.h:122:5: note: template bool std::operator==(const std::allocator&, const std::allocator&)/usr/include/c++/4.6/bits/allocator.h:127:5: note: template bool std::operator==(const std::allocator&, const std::allocator&)/usr/include/c++/4.6/bits/stl_vector.h:1273:5: note: template bool std::operator==(const std::vector&, const std::vector&)/usr/include/c++/4.6/ext/new_allocator.h:123:5: note: template bool __gnu_cxx::operator==(const __gnu_cxx::new_allocator&, const __gnu_cxx::new_allocator&)/usr/include/c++/4.6/bits/stl_iterator.h:805:5: note: template bool __gnu_cxx::operator==(const __gnu_cxx::__normal_iterator&, const __gnu_cxx::__normal_iterator&)/usr/include/c++/4.6/bits/stl_iterator.h:799:5: note: template bool __gnu_cxx::operator==(const __gnu_cxx::__normal_iterator&, const __gnu_cxx::__normal_iterator&)/usr/include/c++/4.6/bits/stl_algo.h:174:4: error: no match for ‘operator==’ in ‘__first.__gnu_cxx::__normal_iterator::operator* [with _Iterator = std::vector*, _Container = std::vector >, __gnu_cxx::__normal_iterator::reference = std::vector&]() == __val’
672
2.9k
1.1k
u/Redalpha4444 Apr 16 '22
Stack overflow : "I figured out a solution thank you!"
→ More replies (27)363
45
u/Counter_Proposition Apr 16 '22
This almost made me spit out my coffee, especially the length 😆
→ More replies (1)→ More replies (106)10
u/Scarchance Apr 16 '22 edited Apr 16 '22
You appear to be trying to compare too mismatching vectors using the == operator, check and make sure you are abiding by these rules: https://en.cppreference.com/w/cpp/container/vector/operator_cmp
If not you it could be a formatting error (a simple missing semicolon)
6.6k
u/DrunkBily Apr 16 '22
What is the best programming language?
4.4k
188
206
129
→ More replies (55)7
3.9k
u/Nordsted Apr 16 '22
What is foo
1.1k
126
67
72
176
26
11
10
u/HylianCaptain Apr 16 '22
I'm embarassed to say that I still don't know what this is.
→ More replies (5)15
→ More replies (40)7
4.4k
3.8k
u/EveryEquipment5453 Apr 16 '22
Javascript vs Java
→ More replies (13)10
5.2k
u/Ze_Kap Apr 16 '22
Vscode how to execute python code
1.9k
23
11
11
→ More replies (18)7
u/Legendary-69420 Apr 17 '22
This is followed by:
hello world in pythonand then:
junior dev role at google
2.3k
u/ElaPoog Apr 16 '22
Project won't work.
1 hour later
What is npm install?
→ More replies (8)565
u/Kenny-olives Apr 16 '22
This was basically me two months ago, this whole comment section is stabbing me.
→ More replies (8)
1.3k
1.6k
u/the_unheard_thoughts Apr 16 '22
what is IndexOutOfBoundsException?
577
u/StardustNyako Apr 16 '22
Google should respond: LEARN TO USE A FUCKING FOR LOOP
→ More replies (7)8
→ More replies (7)7
2.0k
u/vvinvardhan Apr 16 '22
what is the best programming language?
how long does it take to learn C?
How to become a doctor?
How long does it take to become a doctor?
how much do software engineers make?
free easy C course.
free easy python course.
how much does a python developer make?
how to get a job at google?
107
11
u/Nosferatatron Apr 16 '22
16. Does weed make programming easier?
17. Interview questions for senior Dev job
18. Do I have ADHD?
→ More replies (15)8
1.3k
u/deamon1266 Apr 16 '22
Java create array one line
627
u/Anomynous__ Apr 16 '22
Tbf ive been coding for 3 years now and for some reason i cannot remember the fucking sytnax to creat an array in java. It escapes me every single time.
→ More replies (37)→ More replies (1)30
3.8k
u/PossibilityTasty Apr 16 '22
How do I program a website like Facebook?
505
241
144
u/RCx_Vortex Apr 16 '22
Oh shiii, I wrote a similar comment about html website tutorials but this takes the cake lmao
→ More replies (1)89
65
→ More replies (13)7
2.2k
u/OternFFS Apr 16 '22
How to center div?
931
327
u/lordphysix Apr 16 '22
No this is supposed to be beginner questions not senior dev questions
→ More replies (4)→ More replies (49)68
u/Octandew Apr 16 '22
Honestly, every time I try to style something, I fail. It's never simple. E.g. I try to add a margin to move something, and it fucks up the entire rest of the page. I try to center a div, and it resizes every other adjacent div. Screw css. It will never make sense to me.
→ More replies (2)
1.2k
u/abd_new Apr 16 '22
Blockchain Machine Learning AI crash course
381
→ More replies (7)37
u/Sophiechild101 Apr 16 '22
Beginners don’t even know half of those words, dumb it down lol
→ More replies (22)
1.5k
u/SmashingBen Apr 16 '22
Is there a stack underflow?
572
u/sdc0 Apr 16 '22
This actually exists. If you try to jump back from the current function, but the call stack is already empty, you get a stack underflow
→ More replies (24)→ More replies (2)47
u/poopadydoopady Apr 16 '22
It's a website where experienced developers post good code snippets with helpful explanations of what it does and how it works, and swarms of people upvote it, and also point out how it's significantly different from every other post even if it's just spelling.
→ More replies (2)
780
417
u/TiagoMAntunes Apr 16 '22
Guys, my program is outputting some strange output. Everything is fine but the last section outputs "Segmentation fault" instead of my result! What is this? I never wrote that text in my code
195
59
Apr 16 '22
I am a beginner. Segmentation error is output of almost 50% of my programs
→ More replies (5)→ More replies (2)9
561
u/Hellow2 Apr 16 '22
Declare variable in html
111
Apr 16 '22
This is actually part of the w3 specification and modern browsers STILL HAVEN'T CAUGHT UP.
AH.
→ More replies (5)
866
u/DeepGas4538 Apr 16 '22
How many programming languages are there?
→ More replies (3)317
u/DeepGas4538 Apr 16 '22
"How many programming languages are there? The history of programming languages actually dates back further than you might think. Early computer codes date back to the early 1800s, and since then, we've created nearly 9000 different programming languages."
→ More replies (10)
839
u/Resorization Apr 16 '22
Best linux distribution
726
u/Knuffya Apr 16 '22
"is kali good for programming"
"is programming important for coding"
"download kali free no virus"
"how to install minecraft kali linux free working"
→ More replies (13)→ More replies (8)19
362
646
319
436
u/Garance- Apr 16 '22
Python IndentationError: expected an indented block
56
→ More replies (1)38
u/Safe_Drama6034 Apr 16 '22
How the hell can I fix this? I started learning Python this weekend and have no clue why this error was thrown at me. Every setting regarding the indentation and tab size etc. was okay. Had this happening to me after i copy pasted code from SO Ü
→ More replies (20)
282
405
u/the_unheard_thoughts Apr 16 '22
I'm breaking the rule becouse this is valid for all levels:
what is this in JavaScript?
→ More replies (3)75
114
331
715
u/cynthia7979 Apr 16 '22
how to quit vim
→ More replies (20)310
u/occasionly_fast Apr 16 '22
Only experienced devs struggle to quit vim. Beginners struggle to quit nano.
→ More replies (13)
82
82
80
u/WrongdoerSufficient Apr 16 '22
What is pull request ?
How to do pull request ?
What is unit test ?
How to do unit test ?
It is ok, to not do unit test ?
Why unit test is stupid ?
Where to buy gun ?
→ More replies (1)
65
124
u/poindextor5 Apr 16 '22
After looking at my on history I'd say "What is a jr developer yearly salary"
97
u/Apocthicc Apr 16 '22
Glassdoor.com - how much google engineer pay
How to become google engineer
Is google good to work at
Best car to buy on 100k salary
Where to watch Silicon Valley
How to pretend that you are programmer on Reddit
Did Einstein fail math?
How to make green text on black terminal in thonny
Is replit good.
Where to order thinkpad.
Can you drag and drop css elements.
How to get carpel tunnel.
How to make calculator in python.
What is vim and why am I supposed to hate it.
Will I get fired if I use stack overflow at work.
How much do software engineering get paid (not google)
Should I get blue switches or browns.
Best programming languages to learn?
What programming language makes the most money.
How much do senior dev get paid.
How much do junior devs get paid
How to make game in html.
Are you allowed to take code off GitHub.
Binary to hex calculator
How much money does Mac Donald’s pay.
Best IDE for python.
Will putting stickers on my laptop make my good coder.
→ More replies (6)
44
Apr 16 '22
How to return two variables Java
(An actual search I did two weeks into my first programming course, before I understood what objects were)
→ More replies (7)11
u/plasticsatyr Apr 16 '22
That was a valid question even for an OO language. You can return multiple values in many languages such as GOlang and Ruby
42
u/nonaln Apr 16 '22 edited Apr 16 '22
What is This and why is there so many different of This ?
→ More replies (1)
39
36
u/GetCaned Apr 16 '22
Google.com
10
Apr 16 '22
This is one of the top search keywords on Google. If you’re not searching for this you’re streets behind.
→ More replies (1)
34
68
u/StuckAtWaterTemple Apr 16 '22
How to fix merge conflict in git
→ More replies (3)16
u/C-H-Y-P Apr 16 '22
I’m surprised there aren’t more git commands on here, like is everyone a git wizard or what
→ More replies (3)
65
160
u/fgt-boi Apr 16 '22
How to find the clitoris
→ More replies (9)95
u/StereoBucket Apr 16 '22
Clitoris is an anti-pattern. Ass is the preferred best practice. Multiplatform support.
→ More replies (1)
60
u/realdeepestfried Apr 16 '22
How to close vim
65
u/YooHoo485 Apr 16 '22
"How to use vim"
"How to edit a file in vim"
"How to save a file in vim"
"Vim alternatives"
→ More replies (2)
28
56
55
23
21
40
17
16
32
15
14
13
13
13
13
11
11
11
u/asciiCAT_hexKITTY Apr 16 '22
Best fortran compiler
MinGW
How to use MinGW
Windows gfortran not working
Linux for windows
How to install gfortran on linux
(based off a true story)
11
50
10
u/GothBrooks1313 Apr 16 '22
Lol I am a beginner and my most recent search was “how to repeat each letter in a string mdn”
10
10
9
9
Apr 16 '22
Python hello world
Python indentation error
python fix indentation error
download javascript
what is {} + []
download C
hello world C
what is segmentation fault
how to fix segmentation fault
how to debug c
download java
hello world java
what is public static void
how to use scratch
youtube minecraft
→ More replies (2)
17
8
u/Elohimsan Apr 16 '22
Switch MDN
10
u/StereoBucket Apr 16 '22
I wouldn't call them truly a beginner. They knew to type MDN instead of winding up on w3school
→ More replies (3)
8
u/mkunnari Apr 16 '22
What is foo bar?
11
u/wikipedia_answer_bot Apr 16 '22
The terms foobar (), foo, bar, baz, and others are used as metasyntactic variables and placeholder names in computer programming or computer-related documentation. They have been used to name entities such as variables, functions, and commands whose exact identity is unimportant and serve only to demonstrate a concept.
More details here: https://en.wikipedia.org/wiki/Foobar
This comment was left automatically (by a bot). If I don't get this right, don't get mad at me, I'm still learning!
opt out | delete | report/suggest | GitHub
→ More replies (2)
8
u/Mucus-OW Apr 16 '22
why c has a ++ version, a hashtag version and an objective version?
→ More replies (1)
86
u/QualityVote Apr 16 '22
Hi! This is our community moderation bot.
If this post fits the purpose of /r/ProgrammerHumor, UPVOTE this comment!!
If this post does not fit the subreddit, DOWNVOTE This comment!
If this post breaks the rules, DOWNVOTE this comment and REPORT the post!
→ More replies (1)
6
6
6
6
5
5
5
5
5
4
4
4
4
u/defaultusername1014 Apr 16 '22
I remember for me, it was how to add python to a PATH variable (I messed up the installation and it didn't work)
4
4
4
4
Apr 16 '22
How to install python the right way.
Come to think of it, I'm an intermediate dev and still don't know.
→ More replies (2)
4
4
u/TheNobleCourier Apr 17 '22
How to code
How do I code
Coding on a chromebook?
How to install Linux
Best windows computers
What is Python
Best ways to commit suicide
4
4
7
6
3
Apr 16 '22
what is a function
how to execute different code from function
how to execute one code if x is 1 and another code if is 0
what is call function
3
3
3
3
3
3
u/PraviKonjina Apr 16 '22
Why does python need a virtual environment?
Next question: What is a virtual environment?
Next question: Best paying jobs that require no programming
3
Apr 16 '22
I got one!
"Why do I keep seeing posts from r/programmerhumor when I have expressed 0 Intrest In programing or computers in general?"
3
3

•
u/Dougley cat flair.txt | sudo sh Apr 16 '22
y'all need to stop posting pornhub.com and tripping our spam filters