How real programmers code
-
One of my fellow employees found this
-
Okay. Where's the WTF?
-
-
Best code ever.
-
Funkyscript ?
-
@derula said:
Okay. Where's the WTF?
Someone just discovered #define. You know, like the rest of us did when we were 14.
-
@blakeyrat said:
@derula said:
Okay. Where's the WTF?
Someone just discovered #define. You know, like the rest of us did when we were 14.
Well. Based on the domain, I'd say it's a school thingy. Many CompSci students I've met weren't of the started-programming-when-they-were-12 type but rather of the "Lol I wanna work at Crytek" type. Admittedly, those will often also be the ones that drop out of school real quickly, but yeah.
-
Is it still cool after being run thru the preprocessor?
-
@henke37 said:
Is it still cool after being run thru the preprocessor?
Pass. Insufficient data in the screen-shot, and the URL is (I'm assuming even if you had a valid login) no longer valid.
Googling for part of the visible source isn't throwing up much either, so it looks like it wasn't posted anywhere.
-
Reminds me of Brainf*ck
-
-
@Zecc said:
@derula said:
Okay. Where's the WTF?
Judging by the URL, they're using mod_perl.It's in a cgi-bin folder. Doesn't that mean that you'd only need to put a Perl shebang in the file (and probably +x it; I dunno, I never used CGI)? Assuming you are running mod_cgi, of course... okay, that's probably not that much less of a WTF.
-
Nah nah nah nah
Nah nah nah nah
Hey hey hey
Goodbye
-
inb4 compilable "Friday" lyrics.
-
@derula said:
@Zecc said:
You caught me. I was only making a cheap throwaway joke.@derula said:
Okay. Where's the WTF?
Judging by the URL, they're using mod_perl.It's in a cgi-bin folder. Doesn't that mean that you'd only need to put a Perl shebang in the file (and probably +x it; I dunno, I never used CGI)? Assuming you are running mod_cgi, of course... okay, that's probably not that much less of a WTF.
I don't know anything about mod_perl (or any other Apache modules for that matter), and I only used Perl enough to know I don't want to ever again.
But come to think of it yes, IRCC CGI means the web server simply calls an external program/script with request information passed through environment variables.
In any case, AFAIK it's an obsolete technology.
-
Speculating about things you don't have a clue of is fun! Let's go on:
@Zecc said:
In any case, AFAIK it's an obsolete technology.
Doesn't Ruby on Rails use FastCGI? For whatever that is or for however that's related to CGI.
-
@derula said:
Speculating about things you don't have a clue of is fun! Let's go on:
@Zecc said:
In any case, AFAIK it's an obsolete technology.
Doesn't Ruby on Rails use FastCGI? For whatever that is or for however that's related to CGI.
This is certainly a misunderstanding. CGI is not an obsolete technology. Perl is.
</flame>
-
-
@da Doctah said:
+1 for obscure reference.@Watson said:
Nah nah nah nah
Nah nah nah nah
Hey hey hey
Goodbye
Steam programming!
-
At least it's not [url="http://www.csse.monash.edu.au/~damian/papers/HTML/Perligata.html."]Perlingata[/url].