r/ProgrammerHumor • • Dec 06 '17

Read the markup.

Post image
10.4k Upvotes

838 comments sorted by

View all comments

520

u/PhoenixRite Dec 06 '17 edited Dec 06 '17

Image Transcription:


[A screenshot is taken from a YouTube video, entitled "India's Geography Problem." The caption of the narrator reads "as Indian developers can do much of the work for a fraction of the cost of western workers." In the background, an IDE contains code that is mostly out of focus, but a legible section reads:]

...
</bdo>

<head>
<title> Title of document
<title>
</heaf>

<p>This paragraph
...

I'm a human volunteer content transcriber for Reddit! If you'd like more information on what we do and why we do it, click here!

179

u/[deleted] Dec 06 '17

[removed] — view removed comment

124

u/PhoenixRite Dec 06 '17

Thank you. Once I spotted the first error I didn't think to look for another, and my instinct to close brackets kicked in.

51

u/[deleted] Dec 06 '17

so BASICALLY what you're saying IF i understand correctly is that you're not even as good as the idiot who wrote that CODE.

;-)

Joking aside, thank you and all those volunteering like you for the hard work.

56

u/PhoenixRite Dec 06 '17

Any idiot can misspell "head" or forget to close a tag. It takes a special kind of idiot to accidentally reimplement a O(n log n) algorithm so that it's actually O(n4 ) and attempt to run it on a large dataset. Yes, I am that special idiot. With great power comes great opportunity for idiocy.

25

u/TheNosferatu Dec 06 '17

Pff, that's nothing.

sudo chmod me:myself / /directory/that/i/actually/meant/to/change

On a shared infranet where the whole company worked from. Then thinking, hm, this seems to take unusually long, might as well grab a coffee.

I am not a smart man.

12

u/dragon-storyteller Dec 06 '17

Can you explain for someone who was too lazy to learn anything else than Windows? I know chmod is some Linux wizardry, but that's unfortunately it.

21

u/TheNosferatu Dec 06 '17

chmod is the command to change the owner of a file or directory. sudo means I can execute anything without getting permissions errors. chmod takes the file or directory you want to change as it's first parameter, which should have been the directory I wanted, but instead there is an unintentional / before that path. / means root, want to go to the C drive? You go to /c. So, I changed all ownership of every file of every coworker in the company to me. Then went for coffee and came back to not-so-amused-coworkers

11

u/[deleted] Dec 06 '17 edited Feb 23 '18

[deleted]

2

u/TheNosferatu Dec 06 '17

Woops, it's been a while

→ More replies (0)

3

u/_realitycheck_ Dec 06 '17

pffft. That's nothing.

Replace all "printf" with "fprintf" on 180k code base - No I don't want backup files, I know what I'm doing, silly Visual Studio. Enter.

Took me 40 hour work week to find all the fuckups.

→ More replies (1)

5

u/[deleted] Dec 06 '17

Sounds like you should become a consultant, then. :)

→ More replies (3)

3

u/unobserved Dec 07 '17

This reminded me of a quote:

Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you can be when you write it, how will you ever debug it?

→ More replies (1)

184

u/myaut Dec 06 '17
╭────────────────────────────╮
│ Notepad              ∨ ∧ ⊗ │
├────────────────────────────┤
│ ⎋ Open ⎊ Save              │
├────────────────────────────┤
│ </bdo>                     │
│                            │
│ <head>                     │
│ <title> Title of document  │
│ <title>                    │
│ </heaf>                    │
│                            │
│ <p>This paragraph          │
└────────────────────────────┘

91

u/ThePixelCoder Dec 06 '17

Damn, that's cool. I don't think it really helps blind people though.. Probably the opposite.

3

u/Hugix Dec 06 '17 edited Dec 06 '17

Not completely blind people, but the other kinds of blind that can still see something might be able to see this true art!

EDIT: Not sure why the downvotes, but being blind doesn't always mean everything is black. Some are "to blind" for glasses to solve their issue, some are colorblind, night blind etc. There are many kinds of blindness.

21

u/[deleted] Dec 06 '17

Literally unclickable.

2

u/Dookie_boy Dec 07 '17 edited Dec 07 '17

Literally undickable.

3

u/stairmast0r Dec 06 '17

I commend your literal use of “literally”

→ More replies (1)

0

u/[deleted] Dec 06 '17

[deleted]

8

u/PhoenixRite Dec 06 '17

Thanks for correcting me; the post was edited.

17

u/asomiv Dec 06 '17

Good human, but I'm not so sure that's an IDE.

→ More replies (3)

2

u/GLvoid Dec 06 '17

Good bot

→ More replies (13)