- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Yay, duplicate comment topic again. I hadn't seen one of these for a while.
Admin
It's a sign from the Almighty DiscHorse.
Admin
Delaid creation is delayed?
Filed under: Please adjust the RTC for time distortion
Admin
In this case it's proof of @paulabean's brillant code.
Admin
The other thread, in case it never gets unlisted: https://what.thedailywtf.com/t/apache-chief/51916
Admin
"... highly-recommended web design consultants to bring its website in to the 21st century."
There's TRWTF, we need to read no further.
Admin
Nevertheless, any member of TCotCDCK will assure you every piece of brillant™ code is created with the inspiration of the Almighty DiscHorse, Hollowed Be His Name.
Admin
Blatant abuse of the session infrastructure. If they'd done the access in one step, it should have held out quite well despite being numbingly stupid.
If you close the session again, sure it's an unnecessary synchronization on cache access, but it shouldn't hold up the server so badly.
Admin
Figures, I finally get "Frist" on an article topic, and it ends up being on an unlisted dupe.
Admin
Am I missing something that makes Spaceballs relevant to this story?
Admin
(Second letter moved to third-to-last position, if you must know.)
Admin
Who says story elements have to have any relevance to the story? :trolleybus:
Admin
Hallowed
Admin
Surry, I nevar get the Lurd's Prayor in Englesh rite eithor.
Admin
How old was this story that they didn't use one of the many memory caching modules out there instead of doing this? APC has been around since 2003, and that would have handled exactly what they wanted to achieve.
Admin
They got that technique straight from Chief Lerdorf himself :
I'm not a real programmer. I throw together things until it works then I move on. The real programmers will say "Yeah it works but you're leaking memory everywhere. Perhaps we should fix that." I’ll just restart Apache every 10 requests.
https://en.wikiquote.org/wiki/Rasmus_Lerdorf
Admin
I read that as:
Admin
I dunno... Being :minidisc::horse:, I think Hollowed out husk of something is pretty appropriate...
Admin
Sigh. You failed to misspell "I", "get", "the", and "in". Is a little consistency too much to ask?
Eh, that horse doesn't appear to be dead just yet.
Wow. I've heard tell that PHP is TRWTF, but I didn't realize it was TRWTFs all the way down.
Admin
Paul and his team are TRWTF
Admin
I don't think that I ever did post the full story.
https://what.thedailywtf.com/t/closed-poll-its-friday/1033/20
Admin
PHP: a fractal of bad design
Clbuttic.
Admin
I will have you know that I made a simple web-based monitoring system for network-connected Arduino-based devices using PHP, and it worked perfectly fine after a month of staring at code wondering things like why socket_create() wasn't creating sockets.
Admin
real_socket_create_this_time_for_sure()?
Admin
For sure takes a socket and creates a real within it, depending on the system's discotime™.
Admin
Filed under: [Well, Discourse *does* act like a malignant virus...](#hallowed)
Ed It!: kinda :hanzo:'d
Admin
Admin
None of this would have happened if they had gone with the Cherokee consultants instead.
Admin
Filed under: Metalanguage Also filed under: Autonymy
Admin
Don't think Java would have saved them from their stupidity.
Admin
I'm going to go with no, you're not. Actually the most WTFy thing in this story was Charles Robinson's apparently sincere belief that shoehorning all the Spaceballs references into it made it more enjoyable to read.
Once again, a reminder for the humor-challenged dimbulbs running this site: We come here for the technical WTFs, not your hamfisted attempts at punching them up.
Admin
Well no, not all of us. Some of us come for both, and some come for neither.
Admin
Admin
All these "web designers" and "web developers" make PHP look worse than it is. Yes, it's a fractal of bad design and has a lot of historical cruft with it but a skilled actual developer can do nice things with it when you know what shit to avoid and how to get the most out of it.
These HPCs were idiots. Period.
I can build a nice house with a shitty toolbox. You can whack that nail in with the double clawed PHP hammer sideways and the nail is just fine.
You don't judge the house based on the toolbox but the result. PHP is still shit though.
:hanzo:'d
Admin
So can I, but if you give me a shit tool box and tell me to build a house, given half a chance i'll nip out to my car on my first break and grab my better toolbox.
Admin
A skilled actual developer can do nice things with any old programming system. A system is bad when it is so full of traps that it has a high probability of leading developers off into the weeds of bad programming, whether they realise that that's what they're doing or not.
Admin
Oh, oh! Is it time for a :fire::facepunch: about which is worse, PHP or JS? :stuck_out_tongue:
Admin
Yes.
Admin
JS would win in a fair few competitions, PHP would get a couple, the rest would tie.
if i bring in C# and Python that i also have in my toolbox PHP wouldn't win any of the rounds.
Admin
Python looks stupid and C# is a poopy-face?
Admin
compelling arguments.
:rofl:
Admin
What did you expect, me defending PHP?
I'm not that delusional. Yet.
Admin
I think the point of that paragraph was more about judging the carpenters.
Admin
Hmmm....
How is this an "issue"? How many global variables do you want?
Admin
Admin
Local variables are :doing_it_wrong: If everything is global, you can't have any memory leaks, and your program runs faster because it doesn't have to waste time dealing with declaring local variables all the time. Plus, with everything being global, your program has a larger audience. [spoiler]:trolleybus:[/spoiler]
Admin
If Perl is a language it's possible to swear in, PHP is clearly designed for making bad jokes.
Admin
You are why we can't have nice things.
Admin
Why were you expecting nice things here? This is a site about not-nice things.
Admin
It would win the round called "Must work on LAMP". The game is rigged :smile: