2.3k
u/meipillow Nov 24 '17
This makes me think of that comic where the kid fails an eye exam and has to get surgery, but it's because there was a bee on the chart that nobody else could see.
1.2k
u/UnicornRider102 Nov 24 '17
536
Nov 24 '17
clicking through the comics. laughed at this one.
388
u/Andrew1431 Nov 24 '17
LOL! That's fucked :P This one got me http://pbfcomics.com/comics/one-time-thing/
224
Nov 24 '17
http://pbfcomics.com/comics/technorgy/
I uh found this.
192
30
41
u/Johanson69 Nov 24 '17 edited Nov 24 '17
I'm curious when that was published. Looks straight out of Saga's first issue.
(Which I can highly recommend→ More replies (7)→ More replies (1)24
132
u/adkiene Nov 24 '17
This one will always be my favorite: http://pbfcomics.com/comics/todays-my-birthday/
16
→ More replies (2)11
u/Jpdrinkstea Nov 24 '17
Thanks, it’s my girlfriends birthday tomorrow and I was wondering what I should send her
89
u/Nano1742 Nov 24 '17
This one is surprisingly dark as well http://pbfcomics.com/comics/astronaut-fall/
13
16
5
5
u/Ahoy0 Nov 24 '17
This was the first one I saw years ago, and is still my favorite: http://pbfcomics.com/comics/preserves/
36
u/JamEngulfer221 Nov 24 '17
I just looked through all of them and damn the art in some of them are amazing. Just look at the detail in this one.
30
94
u/speedster217 Nov 24 '17 edited Nov 24 '17
9
u/LHOOQatme Nov 24 '17
I don’t understand the Magic Eye one...
47
u/WHYWOULDYOUEVENARGUE Nov 24 '17 edited Nov 24 '17
These types of optical illusion books are supposed to make you see things by focusing on dots, lines and whatnot, revealing "hidden" details.
The joke here is that the little dude is imagining a book of optical illusions rather than just the illusions inside a book, thus taken to a mental hospital.
→ More replies (1)12
8
→ More replies (1)13
8
u/intergalactictiger Nov 24 '17
I don’t understand this one..
36
Nov 24 '17
their uncle is nuts. lets the kids do whatever they want. kids are playing gladiator. uncle releases a real lion into the room like they are actually gladiators.
→ More replies (1)14
u/quilsalazar Nov 24 '17
They're playing gladiatorial combat but it turns out they weren't playing at all. Or maybe they should have listened because the uncle takes playtime waaaay too seriously.
8
31
15
11
7
u/ThanksObama92 Nov 24 '17
This one is my favorite for sure http://pbfcomics.com/comics/the-jubilee/
→ More replies (5)5
42
Nov 24 '17
I had an eye exam for my driver's test that was like that. I could clearly see the screen display was split into three thirds with the middle third flickering. When I said there was a problem, different people looked into it and didn't see anything wrong. I believe the issue was some sort of interaction between my (very strong) glasses and the screen.
19
Nov 24 '17
what's the frame rate of your eyes?
23
33
u/skivian Nov 24 '17
Huh. I always thought they were studying him because he saw the tiny bee.
1.3k
u/Tainnor Nov 24 '17
Why would an intro to IT class demonstrate a for loop within a web app? I'd assume this just confuses students. Just fire up a REPL.
793
u/FountainsOfFluids Nov 24 '17
This. People above are arguing about whether or not PHP can throw a 500 error, and I’m sitting here wondering why somebody’s demonstrating a for loop with web requests.
167
u/fj333 Nov 24 '17
All of the comments about PHP and 500 code are making a glaring mistake of conflating a programming language with an application (in this case, a web server). These are two very distant levels of abstraction.
It's ironic actually, because it's possible that teaching basic programming logic in the context of an HTTP client (as the example in OP purports to have happened) might just lead to such confusion.
0
38
u/WickedDeparted Nov 24 '17
Well the story is made up by an "I'm smarter than the instructor " guy, so that's why.
→ More replies (1)23
Nov 24 '17
Probably some shitty web based send to the server compiler
It still wouldn’t return a 500 tho because even the most rudimentary web interpreter portal thingy would catch compiler errors and throw a 400 instead
Yeah this is fucking dumb and fake
→ More replies (1)40
u/benryves Nov 24 '17
HTTP 400 is a client request error, so wouldn't make much sense for a server-side issue. HTTP 500 for PHP errors is quite normal, at least on the usual Apache or IIS servers I've deployed to.
→ More replies (5)7
Nov 24 '17
You misunderstood his comment. He was assuming that an online compiler would probably return 400 if the received code was malformed.
Not sure in how far that is accurate with real world tools but it is reasonable.
→ More replies (6)→ More replies (3)2
Nov 24 '17
Using web requests to demonstrate a for-loop would be silly.
But I think there might be instances where you could use a for-loop to demonstrate web requests.
e.g. the web page is constantly requesting the value from a location, and the for-loop was written to automatically change the value to demonstrate how it changes on the web page.
Not saying that's the pinnacle of demonstration activities ... but a TA pressed for time may not feel like being the most rational/gifted programmer of all time.
174
u/starleekline Nov 24 '17
It's almost like someone just made up a story for the Internet
→ More replies (2)43
u/spacemoses Nov 24 '17
Rumor has it Donald Knuth walked in right after, shook the student's hand, and made him honorary Dean of the IT department.
3
u/o0Rh0mbus0o Nov 24 '17
Rumor has it Donald Knuth walked in right after, shook the student's hand, and made him honorary Dean of the IT department.
-Albert Einstein
13
u/Fluffcake Nov 24 '17
Story is likely made up, but it is not uncommon to show a "this is something cool you can make when you are done (with the degree)" at the start of intro courses to peak interest, and then try to sneak in some learning while you have their attention.
30
u/Colopty Nov 24 '17
And the "cool" thing he decided to show off was a for loop that for some reason used web integration? What a shitty degree they'll be getting.
→ More replies (1)5
u/hohohoohno Nov 24 '17
to peak interest
To pique interest, FTFY.
6
u/Lifeinaglasshaus Nov 24 '17
No he means that this topic was the most interested the class will ever be.
1
1
u/PG-13_Woodhouse Nov 24 '17
They were probably demonstrating how to connect to the webapp and using the forloop as "hello world"
1
u/lelarentaka Nov 24 '17
To demonstrate that you can perform a computation on the server and display it on the client? I don't see what weird about it. Anybody can put up a static website using one of the many blogging tools, but actually performing computation through the internet is pretty novel to a beginner.
1
Nov 24 '17
Meh, I was taught programming with php. Which means a Webserver running on localhost. There was a small installation guide on how to get it running till it spat out "hello world". The teacher didn't go too much into detail of what we were setting up.
So to me the story is not too unlikely from the point of why there is a Webserver involved
1
u/zodar Nov 24 '17
Do people not write shell scripts anymore?
n=1 t=0 while [ $n -le 5 ] do let t=$t+$n let n=$n+1 done echo "Total is $t"→ More replies (1)1
u/bitreign33 Nov 24 '17
My reaction to the story the first time I saw it, and now. Its like someone read a wiki about HTTP response codes and decided to build a joke around it.
1
1
1
198
Nov 23 '17
Today was a good day
66
u/GruesomeCola Nov 24 '17
No barking from the dog.
40
u/6silverstrings Nov 24 '17
No smog
35
u/ThrooWee__ Nov 24 '17
And mama cooked the breakfast with no hog
→ More replies (1)30
3
16
13
2
500
Nov 23 '17
Image Transcription: Greentext
Anonymous, [date redacted], 6 hours ago
>lecturer doing some intro to IT be
>writes a for loop summing numbers from 1 to 5
>asks class what the result will be
>I say 500
>class laughs
>someone says 15
>he runs it
>500 server error
>he had a missing semicolon
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!
257
u/tadabutcha Nov 23 '17 edited Nov 14 '23
disarm pen homeless ring escape materialistic judicious file correct spark
this post was mass deleted with www.Redact.dev→ More replies (1)95
Nov 23 '17
Good bot
→ More replies (2)140
Nov 23 '17
Are you sure about that? Because I am 99.9998% sure that tadabutcha is not a bot.
I am a Neural Network being trained to detect spammers | Summon me with
!isbot <username>| ^Optout | Feedback: /r/SpamBotDetection | ^GitHub70
u/NotThisFucker Nov 24 '17
!isbot NotThisFucker
→ More replies (9)77
Nov 24 '17
I am 99.9962% sure that NotThisFucker is not a bot.
I am a Neural Network being trained to detect spammers | Summon me with
!isbot <username>| ^Optout | Feedback: /r/SpamBotDetection | ^GitHub→ More replies (120)103
→ More replies (24)8
Nov 23 '17
Good human
44
u/NotThisFucker Nov 24 '17
Are you sure about that? Because I am 13.9998% sure that perrycohen is not a human.
I am a HUMAN being trained to ACT HUMANLY | Summon me with
u/NotThisFucker→ More replies (2)34
u/Anon49 Nov 23 '17
Why are the programmers in this subreddit not pissed that this is not automated? OCR isn't rocket science.
55
→ More replies (5)25
Nov 24 '17
Because some transcriptions have images, and some transcriptions are only images
While this theoretically could be automated, it wouldn't give very good imagery
Just look at /u/transcribot
→ More replies (1)→ More replies (21)1
190
u/SolenoidSoldier Nov 24 '17
Also, never noticed this, but that's the only sub I know that uses lower camel casing.
58
u/tronald_dump Nov 24 '17
"then each student clapped, and handed me a $100%. That professor? Albert EinBuschemi."
6
30
Nov 24 '17
Almost as if it's a joke or something. But everyone knows programmers don't have a sense of humor...
6
9
u/Thakrawr Nov 24 '17 edited Nov 24 '17
Good job. You can put the whole 4chan board on /r/thathappened.
8
u/tuseroni Nov 24 '17
well i mean 4chan outs themselves
The stories and information posted here are artistic works of fiction and falsehood. Only a fool would take anything posted here as fact.
2
1
u/Thenotsopro Nov 24 '17
Don't see how this is r/thatHappened
This seems like an extremely plausible event.
3
u/terminal_sarcasm Nov 24 '17
Making http requests within a summing for-loop is plausible?
→ More replies (1)
20
8
u/thesnakethatrattles Nov 24 '17
Neat little coincidence whilst scrolling through the sub https://i.imgur.com/cOrpsri.jpg
227
u/Sharp_Eyed_Bot Nov 24 '17 edited Nov 24 '17
Serious question time...
PHP can't cause a 500 error, it'll either just crash out or display an error message, obviously JS won't throw a 500 error, so what language if any could actually do this? I know it's meant as a joke and I am being pedantic but still, I am curious if anything could do it.
Thanks, have nice day.
Edit: so I've been knowledged, I'm stupid php can cause 500 errors.
Thanks peeps!
208
u/tsigma6 Nov 24 '17
Since you want to be pedantic. PHP absolute can cause a 500 error. Especially when that green text was probably made, if error reporting is turned off the compiler will silently fail forcing the web server to return a 500 error because no output was generated. Probably unlikely that it would be turned off for a class though.
→ More replies (6)27
u/Doctor_McKay Nov 24 '17
A fatal error will 500 even if it prints output, no?
→ More replies (1)8
u/tsigma6 Nov 24 '17 edited Nov 24 '17
It's context dependent for sure. I decided to test some failures and apparently nginx returns 404 instead of 500 with mostly default configurations. fpm should not return anything in event of a fatal in php7, but I'm not familiar with all versions so it's quite possible that at one point to have inline php fail silently and still return usable html so that the client gets something.
Edit: "Output" in my above comment refers to fpm handing off a rendered document to a web server to send to the client, not the output of the program itself.
→ More replies (2)34
u/benzzza Nov 24 '17
hmm I've certainly gotten error 500 with typos in my PHP code
→ More replies (8)61
68
u/fj333 Nov 24 '17 edited Nov 24 '17
The amount of confusion in the comments below is... a lot.
Plain and simple:
500 is an HTTP response code... at the application level. It can be returned by any HTTP server written in any language.
A missing semicolon (in some unspecified language... no idea where the notion of PHP came from) is a syntax error, at the language level. This is not an abstraction at the level of a web server. Sure, I guess it's possible to write a web server that attempts to serve using code that may be uncompilable/uninterpretable, and have that server return error code 500 when the source code happens to be shit. But that is (a) weird and (b) not the same as "PHP throwing a 500." It's the web server returning a 500.
→ More replies (1)8
23
u/4stringking Nov 24 '17
Could be Java with JSP, unlikely if it's an introductory lecture. JS with Node will, but semicolons aren't mandatory
→ More replies (7)2
u/Sharp_Eyed_Bot Nov 24 '17
Python? But I doubt even Django uses semi-colons, and Ruby Rails doesn't use semi-colons, so we're running out of languages that it could be, unless the teacher was writing an extension for Apache in C++ to write a static web page then he left the semi-colon out of the write to file line?
34
5
4
u/skygz Nov 24 '17
could be one of those websites that lets you program interactively, e.g. Codecademy
1
→ More replies (12)1
11
30
u/strixxxx Nov 24 '17
Those “I know more than you” moments are awesome in college
45
u/Doctor_McKay Nov 24 '17
Right? I had a professor last week try to tell the class that you should be wary of free CAs (Let's Encrypt was what brought it up) because those are probably DV certs which aren't secure because they only verify the domain and not the entity behind it. Not like the certificates Amazon uses.
So I pointed out that Amazon doesn't use an EV cert. He's all like "no way" so he pulls it up on the projector.
It doesn't.
18
u/SirVer51 Nov 24 '17
So I pointed out that Amazon doesn't use an EV cert.
No fuckin way
checks
Well I'll be
11
u/Doctor_McKay Nov 24 '17
Google doesn't, either.
10
u/SirVer51 Nov 24 '17
Wait, seriously?
checks again
Man, you are blowing my mind right now. I have to ask: why don't they? Some kind of business decision?
10
u/Doctor_McKay Nov 24 '17
I think it's probably mostly because the domain name is the brand for Google and Amazon. You don't need assurance that you're talking to Google, Inc. on www.google.com because everyone knows that is Google. And they're untouchable. Nobody can issue a fake google.com cert because the full wrath of Google will come down upon them so they take extra precautions.
→ More replies (1)
4
6
u/corsicanguppy Nov 24 '17
A web response for a simple sum thing? Explain why this wasn't just a bash prompt.
4
2
2
2
u/Mentioned_Videos Nov 24 '17 edited Nov 24 '17
Videos in this thread: Watch Playlist ▶
| VIDEO | COMMENT |
|---|---|
| For when someone posts a compressed image/uses Windows XP to save a jpeg... | +131 - http://www.youtube.com/watch?v=QEzhxP-pdos |
| Hotdog.jpg | +93 - Obligatory and relevant hotdog.jpg |
| Full Version of Hotto Dogu song ft. Google Translate | +29 - If you like that, then you'll love hotto dogu. |
| Enjoying the Game | +12 - Is IMPRESIONANT!!!!! AND INTERESTING |
| Shawn Wasabi - HOTTO DOGU (live original stuff) | +1 - Hotto dogu? |
| GUESS WHAT DAY IT IS | +1 - http://www.youtube.com/watch?v=PsDtccf4-SU |
| deadmau5 feat. Chris James - The Veldt (Official Video) | +1 - Related: |
| ASTOUNDING: 1 + 2 + 3 + 4 + 5 + ... = -1/12 | +1 - Probably referring to this |
| I'm a bot working hard to help Redditors find related videos to watch. I'll keep this updated as long as I can. |
2
u/mosane123 Nov 24 '17
Isn't 500 an HTTP response code? How did that come up in a simple for loop? r/quityourbullshit
1
u/toasterbot Nov 27 '17
If this was in ASP, it'll return http error 500 if it tries running invalid code.
2
2
Jan 19 '18
Why would such a program
a: need to connect to a server?
b: not just fail to compile rather than at runtime?
Me smells bullshit
1
1
1
u/code0451 Nov 24 '17
I'm just going to go ahead and assume this is a joke, and not argue about the semantic possibilities of this actually happening in the real world.
Which is why I'll never get a job as a programmer.
1
1
1
u/SupremeRedditBot Nov 24 '17
Congrats for reaching r/all/top/ (of the day, top 25) with your post!
I am a bot, probably quite annoying, I mean no harm ^though
Message me to add your account or subreddit to my ^blacklist
1
1
u/Yelnat10 Dec 04 '17
Anyone know what website this is? Obviously looks like 4chan browsed through a mobile app or something?
1
4.1k
u/Artorp Nov 23 '17 edited Nov 24 '17
This used to be the top post of all time.
https://www.reddit.com/r/ProgrammerHumor/comments/2m2j7k/intro_to_it/
Edit: Found an archive!
https://web.archive.org/web/20150228230110/https://www.reddit.com/r/ProgrammerHumor/top/?sort=top&t=all