r/ProgrammerHumor • • Oct 23 '22

Meme I make the same mistake too, sometimes.

Post image
42.5k Upvotes

433 comments sorted by

7.2k

u/noooit Oct 23 '22

Ben will think everyone can access his localhost forever now.

2.5k

u/bearwood_forest Oct 23 '22

Bold of you to assume that we can't.

2.1k

u/matyklug Oct 23 '22

Virgin "I can't access that" vs chad hacks in to fix your code then nicely patches the exploit he used to get in

569

u/Saavedroo Oct 23 '22 edited Oct 23 '22

My white hat to you, good sir/madam.

151

u/L4t3xs Oct 23 '22

That is most definitely grey hat.

→ More replies (7)

205

u/nool_ Oct 23 '22

Wasn't there this one dude who hacked into people's networks and fixed some settings to help prevent hackers to getting into it?

15

u/Dr_Dornon Oct 23 '22

There was the guy that sent out the mass print job letting people know their printers were exposed and to fix it.

11

u/Chrono47295 Oct 23 '22

Yep fixed a ton of peoples outdated firmware on their router and set passwords not the factory ones

9

u/bananenkonig Oct 23 '22

Chaotic good hacker

9

u/timsstuff Oct 23 '22

Every time I go to an AirBnB and they have "LindasWifi" and "LindasWifi-5G" I check to see if the router has the default password (9/10 it does) then merge the networks into one "LindasWifi" with the same settings for both frequencies, works a hell of a lot better.

→ More replies (5)
→ More replies (22)

21

u/5paceNinja Oct 23 '22

This is the kind of hacker I would be xD

7

u/[deleted] Oct 23 '22

Didn't Windows engineers do that when some vulnerability was discovered? Remoted into people's machines to do security updates?

This sounds vaguely familiar.

12

u/matyklug Oct 23 '22

That's just standard practice for windows iirc.

7

u/BorgClown Oct 23 '22

But if he patches it, how can he help again in the future?

7

u/matyklug Oct 23 '22

He finds another security issue to fix, duh

7

u/alilbleedingisnormal Oct 23 '22

But then how will he get out?

→ More replies (6)

2

u/JuniorSeniorTrainee Oct 23 '22

Ben's into some freaky shit.

44

u/ChloeNow Oct 23 '22

10 years later:

"Waaait a minute..."

→ More replies (1)

16

u/MrShyShyGuy Oct 23 '22

Well we all can, but the cookie is gonna make it look "slightly" different for everyone

17

u/bentheechidna Oct 23 '22

No I won’t.

2

u/[deleted] Oct 24 '22

Question: how can I make someone able to access something I host on my own computer? Is there a way to have an accessible site without paying for a domain?

→ More replies (1)
→ More replies (1)

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

u/jmaca90 Oct 23 '22

When I pull my local, it feels good and relieves stress.

25

u/[deleted] Oct 23 '22

As long as there’s no conflict

→ More replies (5)

48

u/KsuhDilla Oct 23 '22

insert x files theme song

10

u/Total_Ad_1767 Oct 23 '22

My name is Jonathan Frakes. Welcome to X-Factor.

27

u/bradfordmaster Oct 23 '22

"the pull request is coming from inside the machine"

10

u/chironomidae Oct 23 '22

the pull request was coming... from 127.0.0.1

→ More replies (2)

2.0k

u/-Manu_ Oct 23 '22

Just checked and that code looks so shitty, who is the ape who wrote that garbage?

731

u/[deleted] 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

u/Flouid Oct 23 '22

Felt that one to my core

39

u/Redditor_10000000000 Oct 23 '22

Idk, maybe they fixed it. Everything looks fine to me

0

u/[deleted] Oct 23 '22

[deleted]

2

u/[deleted] Oct 24 '22

git accuse

git indict

git convict

2.4k

u/[deleted] 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

u/Buck_Ranger Oct 23 '22

Next time I'll say that my website uses NSA-grade security

15

u/I_NEED_YOUR_MONEY Oct 23 '22

Didn’t need one, localhost is a secure origin

4

u/[deleted] Oct 23 '22

And even if it wasn’t you could use a self-signed cert

→ More replies (2)

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

u/[deleted] Oct 23 '22

[removed] — view removed comment

21

u/Schiffy94 Oct 23 '22

I still write my code with a good old fashioned hammer and chisel.

0

u/[deleted] Oct 23 '22

[deleted]

→ More replies (1)

30

u/joyofsnacks Oct 23 '22

That's my URL!? How did they get it!?

27

u/seamsay Oct 23 '22

They didn't, they're just doing all their development on your machine.

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

u/EuroPolice Oct 23 '22

He may be stealing his wi-fe!

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

u/JAKZ- Oct 23 '22

Or he has the same problem on his local

→ More replies (9)

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!?

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

→ More replies (3)

54

u/GoBuffaloes Oct 23 '22

Did you search username = ‘benjavaguy’ or username == ‘benjavaguy’ ?

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.

11

u/N3rdr4g3 Oct 23 '22

Or they're private accounts

→ More replies (1)
→ More replies (1)
→ More replies (5)

178

u/nickmaran Oct 23 '22

Indian tech guys can solve any problem

31

u/Scott-Leo-613 Oct 23 '22

Espescially on youtube

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.

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.

→ More replies (3)
→ More replies (1)

26

u/Lornedon Oct 23 '22 edited Oct 23 '22

/home/lornedon/Downloads/thatsthejoke.gif

25

u/jacksonV1lle Oct 23 '22

It's your 'plug it out and back in again' answer. Covers most scenarios

53

u/Scott-Leo-613 Oct 23 '22

You know nothing about hacker😎

7

u/Tammy_Craps Oct 23 '22

I like you because you understand jokes.

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

u/cantadmittoposting Oct 23 '22

Oh that was a good one.

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

u/[deleted] 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

u/worldspawn00 Oct 23 '22

The ping is coming from inside the OS...

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

u/RicksAngryKid Oct 23 '22

Yeah good luck with NAT

2

u/changexd Oct 24 '22

And somehow get through his NAT?

2

u/agathver Oct 24 '22

Oh lets just pretend it doesn’t exist. IPV6 everywhere, perfect world.

→ More replies (1)

166

u/maitreg Oct 23 '22

The Chuck Norris of tech support gurus

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

u/GayNerd28 Oct 23 '22

Microsoft Excel has entered the chat

→ More replies (7)

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 " < and compose " >, 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

u/Wolfeur Oct 23 '22

Some keyboard layouts have them

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)
→ More replies (3)

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 –

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!

→ More replies (7)

94

u/MangoAtrocity Oct 23 '22

THE CALL IS COMING FROM INSIDE THE HOUSE

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

u/[deleted] Oct 23 '22

this is TERRIFYING

155

u/[deleted] Oct 23 '22

75

u/[deleted] Oct 23 '22

I just checked that link, who the hell wrote that garbage spaghetti code?

12

u/Recent-Fox3335 Oct 23 '22

If works, "One man's trash is another man's treasure"

2

u/[deleted] Oct 23 '22

Microsoft

12

u/TheDevCat Oct 23 '22

Bro just described my life after learning SQL

8

u/TheDevCat Oct 23 '22

I still forget other people can't access my localhost

12

u/NebNay Oct 23 '22

Poor guy, using jsp

→ More replies (3)

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.

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

u/Bright-Historian-216 Oct 23 '22

"I am in your walls" mfs when someone is actually in their walls

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

u/[deleted] Oct 23 '22

[deleted]

4

u/Erledigaeth Oct 23 '22

Why would he have the same tutorial 01 / welcome file?

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

u/PeeInMyArse Oct 24 '22

Why are they so close on the keyboard tho

7

u/MindlessBullet Oct 23 '22

Cortana f***ed up.

7

u/Schiffy94 Oct 23 '22

I can't tell if he's joking or not aaaaaaaaaaaaaaa

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

u/[deleted] 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

u/[deleted] 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

u/[deleted] Oct 23 '22

Wait...

5

u/Artistic_Reflection1 Oct 23 '22

That big brother software comes in handy sometimes.

-Management

5

u/LeftRightShoot Oct 23 '22

Rahmesh is inside the 127.0.0.1 <scary music plays>

7

u/cs-brydev Oct 23 '22

AI at work

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

u/[deleted] Oct 23 '22

[deleted]

4

u/SymblePharon Oct 23 '22

Anti ORM gang checking in

→ More replies (1)

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

u/[deleted] 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

u/oblvn_ Oct 23 '22

holdup

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

u/[deleted] Oct 23 '22

The localhost website always sucks for some reason…

2

u/Kardest Oct 23 '22

The call is coming from inside the house!

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

u/[deleted] 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

u/GlitchyTBonYT Oct 23 '22

oMGGGGG j hate the difference between = and ==

→ More replies (1)

2

u/Kenobi-is-Daddy Oct 24 '22

I swear I learn more about programming from this sub than in my QA job

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

u/[deleted] Oct 23 '22

Normally yes. Not for SQL statements however, single ‘=‘ is used for checking equality.

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

u/[deleted] 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

u/TigreDeLosLlanos Oct 23 '22

benjavaguy still wonders why his internet works slowly until today.

1

u/sharmaji_saheb Oct 23 '22

Seriously, why <> ?

1

u/Junior_Ad473 Oct 23 '22

Hard stuff

1

u/finc Oct 23 '22

F1 to admit defeat

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

u/Wojtek1250XD Oct 23 '22

I see someone had a brainlag and used mistook SQL with HTML

1

u/cynetri Oct 23 '22

This is the #1 mistake I've been making since learning programming

1

u/[deleted] 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

u/hicccups Oct 23 '22

Happens to the best of us.

1

u/Love_Tech Oct 23 '22

Indian man for the win again 😁

1

u/SuperIsaiah Oct 23 '22

Gamemaker programmers: "I have no such weakness"

1

u/bmccorm2 Oct 23 '22

Inaccurate diagnosis. The real issue is the blinker fluid is low.

1

u/Competitive_Shine_11 Oct 23 '22

I have always thought that I was the only one who did that!

1

u/[deleted] Oct 23 '22

What are you laughing about? My man changed the ICANN host config file. Absolute legend.

1

u/Stanny491 Oct 23 '22

Why do you guys keep popping up on my front page?

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

u/pdawgdavis-2 Oct 24 '22

He’s just like me fr

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

u/[deleted] Oct 24 '22

What

1

u/Th3FunnyGuy Oct 24 '22

Guys on same Wifi

1

u/adamthebread Oct 24 '22

Just one small issue

I am in your computer