- 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
Regex as an "addon" to XML. Why not.
Admin
"simpleType" — understatement of the century.
Admin
What mad PHB permitted this filth in the first place? Not that it's a working solution at any point, but consider the sheer "fun" of updating one of those rules ...
Admin
Obligatory:
https://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags/1732454#1732454
Admin
Ah, travel industry tech, a veritable gold mine of WTF. In my experience an unholy mix of every technology and passing fad you ever heard of (and several you didn't) cobbled together with XML, RSS, CSV and tab files dumped in shared directories, people typing manifests in from photographs of printouts on a wooden table.
I would say this looks like it comes from inside the behemoth known as TUI, except someone at some point tried to put some guiding comments and a vaguely useful tag/variable naming convention in place, and that never happened. And I don't think I ever saw anyone use a regex there, even the right way.
Admin
"The danger of DSLs, of course, is that they’re often YAGNI in the extreme, or at least a sign that you don’t really need" is a great example of how not to write. It took a minute to associate "DSLs" with "domain-specific-languages" from the previous paragraph, because you didn't put (DSLs) after the term. And then I had to remember what YAGNI meant, because I guess I haven't had to snark about customer requests lately, but it's worth a link for noobs. The sudden cutoff without even a period was odd, as well.
Admin
Wow, the very first comment is now spam and it's NOT the one being "Held for moderation." That's inspiring. I guess They Just Didn't Care.
Admin
Surely TRWTF is the first paragraph ending in mid-sentence.
Admin
You haven't heard? TRWTF these days is TDWTF.
We just come here to slag it off between surfing for dodgy essay writing services and cheap Viagra.
Hmm, what's the chances of that passing moderation?
Admin
Yeah, I had to look up YAGNI, but it was fairly clear that "DSLs" didn't mean "Digital Subscriber Lines"...
But I still have to blink a bit when people talk about "SDLC" because it's clear they don't mean "Synchronous Data Link Control".
Admin
Dies.Ist.Kein.Gültiger.Kommentar This.Is.Not.A.Valid.Comment
Admin
"Comment held for moderation." isn't the frist time that an invalid comment was entered.
Admin
Comment held for moderation? Kids these days, don't know how lucky they have it. I remember getting stuck at wondering if "squares that include street signs" should include the sign post or not...
Admin
I'm still not 100% sure that a square containing exactly one street sign qualifies as one of the set "squares with street signs". Still, my guess seems to have worked.
Admin
"You shouldn’t use kitties to polish your car." I hope I meet this Stella, someday. She's witty.
Admin
I feel like this link is Obligatory. I think the actual StackOverflow post was already linked, but still.
https://blog.codinghorror.com/parsing-html-the-cthulhu-way/
Admin
Worthwhile article held for moderation.
Admin
When you have a problem and you try to solve it with XML, you now have three problems: The original problem, the XML, and the regexes.
Admin
frist!
Admin
Man benutzt keine Kätzchen um sein Auto zu polieren. You don't use kitties to polish your car.
Admin
regex101.com FTW
Admin
I never, ever polish my car.
If I did, I'd only use the finest, fluffiest kitties, and lots of them.
Just to make a change from all the xkcd links http://www.27bslash6.com/opinions.html
Admin
And she is right. Not only it is a poor use of kittens, it's a sure way of ending with your car covered in scratches. Younger cats aren't really "economical" with their sharp little nails after all.
(There's also the matter of animal abuse but I think someone who's willing to use a living cat as a rag isn't bothered by that anymore.)
Admin
http://bit.ly/2FsnYO3
Admin
Something something regex. Something something two languages.
Admin
good really
Addendum 2022-10-23 22:38: At university, I completed a paper and other homework. Large-scale works were extremely challenging to write. I once sought assistance with various other assignments, including drafting my medical residency personal statement editing . I was able to save time because of this answer. My homework would have been significantly worse. Even the thought of how long it took to write that is frightening.