- 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
First!!! Again! Two in a row. Better get some euromillions tickets
Admin
Déjà vu again again!
Admin
Admin
Here's the same code again, indented and highlighted:
Still as hard to read...
Admin
Looks to me like the article has been edited at least twice (to fix the code formatting). There are three Discourse topics for the article. Could it be that Paula creates a topic when the article is first posted, and then again every time it gets edited?
Admin
Maybe...
Admin
That's just brillant.
Admin
"Seriously, are we not doing phrasing any more?"
Admin
Is it something I said? Wait, I did shut down the :giggity: Engine module some time ago. Re-enabling hooks... .. Oh, well, :blush: Darn if you all have dirty minds I guess?
Admin
(Showing my age, perhaps, and that I read republished pulp-magazine sci-fi when I was much younger than I am today.)
Admin
Turns out that she is an aficionado of certain breeds of small common garden birds, and she keeps some of them in a cage, and due to the fact that she feeds them lots of seed, more than they'd get in the wild, these birds have grown larger than normal. That's right, folks. Paula Bean has big tits.
Admin
Maybe just that someone commented out the code to delist it but forgot to reinitialise the count of how many times it had been edited.
Admin
When I post an article, there's a checkbox to "create a new thread". When that's checked (and sometimes when it's not), TDWTF's CMS calls out to Paula to tell her to post a new thread. Paula replies with the ID of the thread, and the CMS stores that with the article and locks it.
Paula error out on this. A lot. Usually, an error means no thread was created, but sometimes, the error happens between creating the thread and returning the ID, which means the thread gets created but the CMS doesn't know about it. And your editor posting the article often just assumes an error means nothing happened, because 90% of the time- at least until recently- it did.
Admin
And of course aficionados of certain species of sea birds like ... boobies...
Admin
And this article is a prime example of why electronic voting is a Bad Idea (tm) (Apart form all the other equally bad reasons having to do with lack of transparency and the 'engineer triangle' of secret voting, proof against tampering, and proof that a person can only vote once etc)
Had the voting been performed with normal paper, the persons who wanted to change their selection before handing in the vote could just have asked for a new piece of paper and their (final) vote would still have been valid!
Admin
And as they eat sand for their digestion, there's lots of silicon in them.
Btw, Excel says that 280613 is April 15, 1968.
Whatever. It's time that Google algorithms check the candidates and elect the one best fit for the position without bothering the population with leaving their homes for nothing more interesting than voting.
Admin
TL;DR: Comments nearly Belgiumed the election.
Admin
Those of us in the UK of a certain age have fond memories of Mrs Slocombes Pussey, and who can forget the indefatigable Samantha who managed to score with Humphrey Lyttelton so often on I'm Sorry I Haven't a Clue.
Admin
Or one with only a single entendre:
And then there was Round the Horne and their "answers to last week's questions":
Admin
Admin
It's a comedy show. With memes. It's meant to be funny.
Admin
Admin
:rolleyes:
Admin
I'm sorry you haven't a clue…
Admin
you know.... people have exactly the same reaction when i say the same thing about shows like South Park and American Dad....
though to be fair I have the same reaction when a certain vocal rat claims to be funny.
Admin
Should be unambiguous. The postcards missing to a total of 2 build a null set (in the sense of measure theory).
Admin
Sorry to break up the string of not-quite-double entendres (what's the square root of a double entendre? or the <dble ent | and | dble ent> Dirac values? ), but back to the story:
Dont'cha just LOVE it when devs don't generate even a minimal set of error-input Use Case tests?
Admin
https://www.youtube.com/watch?v=w3_0x6oaDmI
Admin
Guess you have to be a fan of British humor. Only the Brits can pull off telling a fart joke in a completely serious manner.
Admin
Love it! In case it's not common knowledge, "Slough" rhymes with "now".
Admin
Luckily, they stopped using them here (NL). According to wikipedia, mechanical voting machines were introduced in 1966, electronic ones in 1978, and voting computers in 1991. In 2006 a batch of voting machines was disqualified by the verifying authority because votes might be detectable at a distance of tens of meters through electromagnetic radiation, leading several municipalities to be forced to switch to paper ballots. Other brands of voting computers had their approval retroactively retracted, but the elections were not redone. However, all elections since have been done with paper ballots, and it looks like a papertrail will remain a requirement in the future.
Voting 'via the internet', apart from all the hacking concerns, has a social pressure concern where others from the same house can pressure and verify whether people 'voted correctly'. This has been a concern in more recent elections as 'stemfies' (voting selfies) arose during elections several years ago. The official recommendation is to make such a selfie as you deposit the ballot in the ballot box, while the vote is not visible. A ban on cell phones in the voting booth was considered infeasible.
Admin
Admin
But not Great Tits? Poor Paula
Admin
https://what.thedailywtf.com/t/book-teh-o-cial-discopaedia-abarker-creator-and-prophet-of-the-discopaedia/3866/729
Admin
Was going to post a YMBNH, but I see @HardwareGeek has sufficiently referenced a good post explaining, and in truth you actually are (apparently) new here. ;)
Flagged @HardwareGeek's post for civility.
Admin
Civility? How dare you accuse me!
Admin
https://what.thedailywtf.com/t/why-cant-i-talk-about-belgium/51846
The irony that the URL gets broken because of the title is not entirely lost. Lets try that again...
https://what.thedailywtf.com/t/why-cant-i-talk-about-/51846
Admin
Takes even more skill to fart a pulling-off joke in a jocular manner.
Admin
Admin
(sneering) big deal, I'm old enough to remember Jon Pertwee taking over from Patrick Troughton. Pertwee's still my favourite Doctor. And Jo Grant is my favourite Assistant, although Zoe comes a very close second ...
Pertwee had a tendency to be unable to concentrate when going through a difficult moment. Tough Troughton thoroughly thought through trough, though,
Admin
I'm a bit too young for all of that (four days from turning 31, and I can still feel young! :smile:); my first Doctor wasn't until the series was revived in 2005 with Christopher Ecclestone and Billie Piper.
David Tennant's my favourite Doctor, with Capaldi second, then Smith, then Ecclestone (I'll make a separate ranking for the older Doctors at some point I'm sure).
Admin
Am I the only one to be horrified that code with such an important use, where it is so vital that it be accurate, is not well commented and that it uses parameter names such as x, y and z?
Admin
Presumably,
_x
was in Dutch,_y
was in French, and_z
was in German.Admin
Surely, TRWTF is, storing the same information twice: one is a count of how many candidates are selected, the other is a array of which candidates are selected. Hm, it seems to me you can perhaps get both things from the array? With a function like getNbCandidSel() that counts the entries in the array?
Then again, there are a lot of classic WTFs in this, like hungarian notation (OK, it's C, maybe that's tolerable), all kinds of abbreviations that make it just a bit hard to read (Imagine the horror of spelling our Candidate instead of Candid! Those extra 3 characters can kill)...
Admin
A C array does not include its own length. Unless it's NULL-terminated, in which case determining its length is an
O(n)
operation, so you may still want to store it.Admin
I hope a public election never ever has enough candidates for this to be worth even a millisecond of thought.
Admin
As with strings, you store the length because that's the only sane way to do it. The only thing null terminated strings are good for is 0L705GpkBRe7h nPqOB7kkWtY IotjOH1V1b7Cogel2s5 yu1QSrLXkbNF Vmfe3oVKikY2fIg3z6X txH5ZjkO1Z R3CB4afkwIH TMXIF0Eq 08pUZCu7 3USpMhtxo
Admin
Admin
Or Lough Erne… :D
Admin
Whoever named that should have asked for a raise.