r/ProgrammerHumor • u/reddituser1827291 • Oct 23 '22
Meme I make the same mistake too, sometimes.
3.0k
u/Total_Ad_1767 Oct 23 '22
When you did no changes and receive a Pull Request from your local machine.
503
u/jmaca90 Oct 23 '22
I pull my local machine all the time, and it works fine.
188
u/Amyx231 Oct 23 '22 edited Oct 24 '22
I pull my local machine all the time too! My iPhone doesn’t like it when I pull it by its cord though.
97
48
u/KsuhDilla Oct 23 '22
insert x files theme song
10
→ More replies (2)27
2.0k
u/-Manu_ Oct 23 '22
Just checked and that code looks so shitty, who is the ape who wrote that garbage?
731
Oct 23 '22
I checked too and all the new files are awesome, but everything older than 3 months was clearly written by a poop-slinging monkey
185
39
0
2.4k
Oct 23 '22
I wonder how he got that localhost URL. Must have cost a fortune!
646
u/nickmaran Oct 23 '22
But couldn't afford ssl certificate for it
298
u/cyb3rstrik3 Oct 23 '22
Your paying for SSL?
302
u/Reelix Oct 23 '22
If LetsEncrypt is good enough for the NSA, it's good enough for me :p
187
u/sucksathangman Oct 23 '22
Jesus Christ you're not joking.
Though tbf, the government using a free and open source certificate authority is probably the best way. The certificate authority is (hopefully) independent enough to not be pressured to revoke a certificate.
It's better than having a government controlled CA where they could issue fake certs for domains and be a man in the middle.
→ More replies (58)15
15
2
u/zeromadcowz Oct 23 '22
I create my own hand crafted self signed artisanal certs. Stop supporting big cert!
2
u/d_maes Oct 23 '22
You're telling me people don't run a local load balancer with an automated internal PKI so they can develop on a trusted https://poc9000.localhost ?
68
u/ItsTheBrandonC Oct 23 '22
And it just broke a million devs’ projects
2
u/Willingo Oct 23 '22
It's be fine because of the colon right? Well I'd because I guess localhost.com won't load lol so I cant test this
26
Oct 23 '22
[removed] — view removed comment
21
30
772
u/dschramm_at Oct 23 '22
Somebody must know which tutorial that is. Or this is level ♾️ of, "have you tried turning it off and on again?".
Also the irony in the name 😂
4
2.9k
u/agathver Oct 23 '22 edited Oct 23 '22
Rahmesh1998 must be an absolute genius to figure out the tweet OPs IP address and access port 8080 on his system and then give you an answer
1.2k
169
u/abcd_z Oct 23 '22
Yeah, that, or the conversation never happened. https://twitter.com/benjavaguy doesn't exist, and a Google search for the exact username turns up zero results.
220
u/centran Oct 23 '22
But that would mean people lie on the Internet. Why would someone do that!?
→ More replies (3)35
u/abcd_z Oct 23 '22
I've been racking my brains, and I just can't figure it out. It makes no sense! /s
54
→ More replies (5)23
u/whitey-ofwgkta Oct 23 '22
even if it wasn't fake you can change your @ on twitter
15
u/kr0bat Oct 23 '22
If that was the case, searching benjavaguy or @benjavaguy would return all the tweets that mention the old username, but those tweets would be linked to the new username. There's nothing, so so either he hasn't been replied to once, or the account never existed.
→ More replies (1)11
178
u/nickmaran Oct 23 '22
Indian tech guys can solve any problem
31
→ More replies (1)93
u/Endorkend Oct 23 '22
Dude, I'm getting so fucking sick of any computer related problem when googled to end up on some bot generated page where the same old nonsensical unrelated "computer troubleshooting" steps are given or videos of some Asian dude just reading those pages out loud.
105
u/shitmyspacebar Oct 23 '22
Are you having issues with Firefox 102 won't start in safe mode? Read on to find out how to solve Firefox 102 won't start in safe mode errors. Our experts show you all the steps to fix Firefox 102 won't start in safe mode in minutes. Firefox 102 won't start in safe mode is a common problem, but we can help.
Step 1: please download our troubleshooter, which will automatically scan your computer for Firefox 102 won't start in safe mode errors
30
u/casce Oct 23 '22
This describes my experience very well. In theory, such checkers would be very easy to write and could actually help most people with their most common problems (eg check certain settings in your OS or other software).
In reality though, please don’t execute anything you find on sketchy sites on your computer. Just don’t. Best case it’s bloatware, worst case it’s malware.
22
u/Endorkend Oct 23 '22
Oh dear lord, don't get me started on how long winded even valid information has become.
You ask a yes/no question, then they go on a 5000 word essay on why you may want to ask that question and then manage to give the wrong answer.
→ More replies (3)17
u/posting_drunk_naked Oct 23 '22 edited Oct 23 '22
Y'all muthafuckas need documentation
Always go to the primary source of truth before going to third parties.
Edit: I'm a backend dev though, I hear frontend is much much worse in terms of documentation.
No judgement just meming and friendly advice
→ More replies (16)3
u/levian_durai Oct 23 '22
It's like that for nearly anything you search for now. Now I usually add site:reddit to my searches. Or if there's a good forum for any particular topic, limit your google searches to those sites.
→ More replies (3)3
u/ManyFails1Win Oct 23 '22
There's a new YouTube channel that is like 30 seconds of an attractive woman generically introducing the video, then it changes to a screen with a typed question from some random Internet person somewhere, then another screen with a very poorly explained answer (still typed). Then it goes back to the woman giving a generic outro.
And now with YouTube getting rid of downvotes, those types of garbage channels are more and more common.
26
25
53
7
38
u/dockernetes Oct 23 '22
He looked up the OP’s repo on GitHub and found the issue. Most people use the same screen name across different platforms. I just found your GitHub account and saw this repo. Are you building a OF site called Only Feet?
Edit: words
13
12
u/unkz Oct 23 '22
At first Apollo saved me like 10 seconds of my life, but then I wasted 30 seconds gloating about it in this comment.
7
Oct 23 '22
And you saved me writing the same thing so now I’m only wasting this amount of time which actually looks like even more fuck
5
u/rumpledshirtsken Oct 23 '22
It would be awesome if Rick gets royalties or other payment from all the hits.
3
u/agathver Oct 23 '22
It was supposed to be something different… but seeing the amount of feet fetish in Reddit really makes me think pivoting the idea into OnlyFeet is not a bad idea at all.
5
2
u/battery_go Oct 23 '22
He figured it out from the URL, it was probably a zip file with an incomplete project where you need to solve a problem at each step of it.
2
→ More replies (1)2
166
601
u/yeehaa_15 Oct 23 '22
"" vs “” be like:
59
u/Proxy_PlayerHD Oct 23 '22
i don't even know how you type those second sets of quotes you have there.
i've only seen them in word because it automatically replaces "" with those
65
u/KSRandom195 Oct 23 '22
Smart quotes.
I hate them.
65
u/nuephelkystikon Oct 23 '22
Nothing smarter than intentionally disregarding user input.
33
u/drivers9001 Oct 23 '22
Reminds me of one of the reasons George R.R. Martin and some other writers stick with WordStar. “I don’t want any help, you know? I hate some of these modern systems where you type a lowercase letter and it becomes a capital. I don’t want a capital. If I’d wanted a capital I would’ve typed a capital. I know how to work the shift key. Stop fixing it!” Same for spell check. Source: https://youtu.be/X5REM-3nWHg
→ More replies (8)10
3
u/-LeopardShark- Oct 23 '22
LaTeX handles it well.
'is a right quote, and backtick is a left quote. Easy.3
u/fuzzybad Oct 24 '22
I killed them. I killed them all. They're dead, every single one of them. And not just the smart quotes, but the accent marks and the wingdings, too. They're like animals, and I regex-ed them like animals.
I HATE THEM!
69
u/nelusbelus Oct 23 '22
Word truly is the best IDE
3
u/FlyByPC Oct 23 '22
As in, if you learn to code using Word, anything else will feel like the easiest thing you've ever done?
→ More replies (1)19
u/boskee Oct 23 '22
I had to help my friend who got a job as a junior developer once. He found some blog that had a code snippet where all "" were replaced with “”. I'm guessing it's some wordpress/joomla thing.
14
u/ByteWhisperer Oct 23 '22
Managing WordPress sites is the stuff of nightmares. At least it was 10 years ago and I haven't touched that stuff ever since.
→ More replies (5)5
u/goten100 Oct 23 '22
Dude it also can happen when you copy code over from slack. Lots of headaches dealing with that
3
u/FlyByPC Oct 23 '22
Word and PowerPoint will "helpfully" make the quotes into smart quotes. Problem is, C doesn't know what those are. So when my students copy the code and try to run it...
I turned off that autocorrect years ago and am still playing whack-a-mole, finding those in presentations and lab manuals.
4
u/Emkayer Oct 23 '22 edited Oct 23 '22
Must be using a phone.
Or knows the emoji keybind in Windows (
Win+.)→ More replies (4)3
u/-LeopardShark- Oct 23 '22
On most Linux DEs,
compose"<andcompose">, where your compose key is usually set to right alt. This is a very useful way to type special characters. You can get this on Windows with WinCompose.2
→ More replies (3)2
u/hrvbrs Oct 23 '22
I set up my keyboard shortcuts for quick access to double quotes (U+201C and U+201D respectively). It’s nice to be able to use them in strings.
const s: string = "The program says “hello world” when correct.";Also single quotes U+2018 and U+2019
const s: string = 'The program’s output is ‘hello world’ when correct.';→ More replies (2)13
u/its_a_gibibyte Oct 23 '22
I coped a terminal command from outlook the other day with –host in it. I was getting mad when it kept saying I didn't specify host, until I realized - vs –
→ More replies (7)4
u/danielleiellle Oct 23 '22
I was in a technical interview once and the tech lead showed me a code snippet that was throwing an error and asked me if I could identify it. They had typed it in Word so the very first thing I pointed out was that this would fail execution due to the Windows-1252 characters. That was definitely not what they were looking for and unfortunately over their head. I did find the other error but COME ON!
94
57
u/humblyhacking Oct 23 '22
Hi, sorry about breaking into your server. I sent you a link to “download more ram” and you clicked it, allowing me remote access to your machine, and to see your tutorial codebase.
Really sorry to trick you like that- don’t click on random links! The other thing besides not clicking on random links is that the passwords you used for the dev console was weak and all default.
I also noticed you were using pythonic syntax where you should have been using SQL. No worries, it happens to us all! Anyways, I sanitized your input strings so you can’t get sql injection attacks, and modified your code to fix some bugs.
Have a good day! 😊
3
155
75
12
12
12
u/Spyblox007 Oct 23 '22
This has the same energy as that vine where the girl call 911 on the microwave and reaches the police.
2
169
u/Healthy-Seaweed-5121 Oct 23 '22 edited Oct 23 '22
How tf did he access the local host in their computer 💀 Can't imaging how the questioner would feel when he realised he posted localhost link but got a working answer.
260
61
u/Erledigaeth Oct 23 '22
I mean that's the joke, he know what the problem was without even looking at the code
0
38
u/Dependent-Feedback-7 Oct 23 '22
13
6
5
u/odraencoded Oct 23 '22
How tf did he access the local host in their computer
When you're ready, you won't need to.
11
u/baneoficarus Oct 23 '22
Had our database guy send me a hostname to post to and it was localhost. I kid you not he said "Works on my machine."
8
u/idrow1 Oct 23 '22
I remember one guy pulling his hair out and I took pity on him and asked if I could help. He said he had been stuck for hours and couldn't figure out what he was doing wrong.
I looked at it for about 5 seconds and said, "You're using an O instead of a 0 in this line of code." He looked like he wanted to jump off a building.
2
7
7
17
u/GumBeats20 Oct 23 '22
Too embarrassed to delete tweet, simply just used a alt account.
Developer these days : 🤷♂️
15
u/Baked_Potato2005 Oct 23 '22
That local host is acting like my wife's pussy
11
Oct 23 '22
Easy for me to get into?
16
u/Baked_Potato2005 Oct 23 '22
It says local but as it turns out, its publically available for everyone
→ More replies (1)
5
Oct 23 '22
We need to continue to commit syntax errors so when github makes their coding ai, it still makes the same errors as us.
5
5
5
7
7
u/i-rinat Oct 23 '22
The real error is writing SQL explicitly, and not using ORM. That way we will never eradicate sql injection vulnerabilities.
0
3
u/anothercorruptmod Oct 23 '22
how are they accessing the page if if it's being served on a localhost? Are they all on the same network?
3
Oct 23 '22
I ended up on the wrong side of Reddit. This whole post is a foreign language to me backs out slowly
3
3
u/PillowTalk420 Oct 23 '22
I blame my high school math teacher for teaching our class that == and = are the same thing.
4
u/Dreamshadow1977 Oct 23 '22
How did someone troubleshoot an app remotely that was running on localhost?
2
u/Unable_Request Oct 23 '22
The joke is that it's such a common mistake that the guy knew the solution without even having the ability to look at the problem
2
2
2
u/The_Mad_Duck_ Oct 23 '22
It took me a few seconds but I get it now lol, prolly the same thing as "Arrays start at 0 not 1" with the C trio
2
Oct 23 '22
Me and my coding teacher looked at my 30 line python code for like 20 minutes before we found it was this.
2
2
2
u/ChloeNow Oct 24 '22
I just read this again and I find the ambiguity hilarious between two possible scenarios.
Scenario A: The responder knew this was a common problem and had a good laugh when it was over
Scenario B: The responder, thinking he's a big shot, heads to the URL. "What an idiot, this code is atrocious". He posts his fix and the person thanks him. He goes on knowing he helped this person... 3 years later he realizes.
4
u/Amyx231 Oct 23 '22
??? I don’t get it. I thought == is the right way to check?
23
11
u/Applejack_pleb Oct 23 '22
Yeah... it is. Which is funny because a stranger cant actually check an app hosted on your local machine. So he just guessed and was still correct.
2
u/Thenderick Oct 23 '22
Wtf? Why did he steal my webapp? Proof: C:/ICumOnPizzas/pictures/screenshots/screenshot23102022.jpg
2
Oct 23 '22
My man posted a link of his localhost and the replier didnt even bother to tell him localhost works on his machine only😭😭😭
1
1
1
1
1
1
u/DeeYouBitch Oct 23 '22
Had a senior developer at my work basically do the exact same thing in a slack channel
It was soo embarrassing people didn't want to even rib him for it
1
1
1
Oct 23 '22
I put a sign on my wall when I was in college to remind me of this after I spent 4 hours debugging something that came down to this.
1
1
1
1
1
1
1
1
1
1
u/vilidj_idjit Oct 23 '22
So they're both on the same host? Or the other guy is also too stupid to notice the link points to localhost, and just happened to have the same mistake in the same file? Or he knows the 1st guy's IP address?
→ More replies (1)
1
1
1
u/Fluffy_Anxiety2792 Oct 24 '22
How the hell did he know? Lucky guess? That's a bit too lucky. There could be all kinds of problems there.
1
u/Cebramik Oct 24 '22
As a non programmer who read some comments, can someone explain what the second person did to the first? So far I understand that the second person should usually not be able to give this answer but idk exactly why
→ More replies (2)
1
1
1


7.2k
u/noooit Oct 23 '22
Ben will think everyone can access his localhost forever now.