| « Prev | Page 1 | Page 2 | Next » |
|
let's not ignore the fact that they are using strings for what likely was originally meant to mimic a true/false value
|
Re: Yes ... I mean No ... errr, Maybe. Perhaps?
2005-06-20 13:47
•
by
Amazinderek
|
|
Why would they set the value to "maybe"? I think "If you are looking for the group administrator, then, yes, I am this person" would be much better.
|
|
What about 'tralse' or 'frue'?
|
Re: Yes ... I mean No ... errr, Maybe. Perhaps?
2005-06-20 13:49
•
by
Justin Sippel
|
I prefer "Nes" and "Yo". |
This won't work -- its completely ignoring other similarly valid boolean states, such as "probably", "perchance", "mayhaps", "kinda", and "duh". -dZ. |
Re: Yes ... I mean No ... errr, Maybe. Perhaps?
2005-06-20 13:56
•
by
Charles Nadolski
|
Yes, no maybe, it's all just noyes to me! nyuk-nyuk. |
|
OMG since a string was used for the to store a boolean why not use session.isAdmin to describe the actual role ie: <a class="user">Logged in as:a> #session.fullname# |
|
I wrote a system that handles multivariate truth values. http://www.thedailywtf.com/forums/36067/ShowPost.aspx
|
Re: Yes ... I mean No ... errr, Maybe. Perhaps?
2005-06-20 14:02
•
by
Javier G. Lozano
|
|
I think they assign a numeric value to "true" and "false" to accoung for the "maybe" and also "perhaps". In other words, in some languages true has the numeric value of 1 and false the value of 0. Well, let "perhaps" be any value between .25 - .499999 and let "maybe" be between .5000001 - .999999. This way, they can have .5 available for "Sure, but I'll need to check." |
Re: Yes ... I mean No ... errr, Maybe. Perhaps?
2005-06-20 14:05
•
by
Jeff S
|
Don't forget "supposedly", "allegedly", "aparently", and of course "no doubt!" |
Re: Yes ... I mean No ... errr, Maybe. Perhaps?
2005-06-20 14:06
•
by
Matt B
|
It kills me when people make the same jokes as were in the original post |
|
It seems like a joke.
As WTFs go, it's really not so bad :) |
|
What about all the foriegn languages? I don't see any ability to
handle yes/no in french, Hebrew, Aramic, Greek, Russian, or Korean - just to name a few. The languages that don't use the latin alphabit, particularly ones that are right to left ought to be handled. Mostly because I'd like to see the WTF type code this group would come up with to deal with it. This would be okay code if it used an enumeration, and had a comment on why someone would be a maybe administrator. Yes, everyplace where you are checking for administrator needs that comment. Otherwise the first fresh from school programmer with a clue will start removing them and breaking the program. (More experienced programers have of coursed learned to laugh at code like this, but let it go until they can come up with a redesign that solves all the problems) |
Re: Yes ... I mean No ... errr, Maybe. Perhaps?
2005-06-20 14:16
•
by
DZ-Jay
|
Oh yeah, well here's to you and a quick death: "When I was in school, I never thought I'd be sitting in a conference room, having a discussion on whether I should use "possibly", "perhaps", or "sometimes"...!" dZ. |
Re: Yes ... I mean No ... errr, Maybe. Perhaps?
2005-06-20 14:28
•
by
Kodi
|
Sounds like this was coded for a pentium with the floating point error |
|
Because an administrator is an identity it's OK to be unsure of.
|
|
Where's the Anthrax version? <cfif session.isAdmin EQ "NOT!"> |
Re: Yes ... I mean No ... errr, Maybe. Perhaps?
2005-06-20 14:49
•
by
smitty_one_each
|
If you're feeling Deutsch, there's the wonderfully compact "jein" |
|
I'm not sure whether this has any impact but apparently one cannot be a site administrator and a geoup administrator at the same time. Maybe a site administrator is implicitly a group administrator.
|
Re: Yes ... I mean No ... errr, Maybe. Perhaps?
2005-06-20 15:21
•
by
loneprogrammer
|
That sounds like a real bike shed discussion. Who cares what you pick when all the options are stupid? |
|
Mayhaps the Group administrator's name is "May Brown" but everyone calls her May B.
|
Re: Yes ... I mean No ... errr, Maybe. Perhaps?
2005-06-20 15:34
•
by
Charles Nadolski
|
I'd hate to work somewhere where people are "supposedly" or "apparently" administrators :( |
Re: Yes ... I mean No ... errr, Maybe. Perhaps?
2005-06-20 16:02
•
by
DZ-Jay
|
Well, if the administrators at your place of work are in fact administrators, take them out for a beer and enjoy their company. Some of us are not that lucky, and are unfortunately stuck with those that "supposedly", "apparently", or "think they" are. :( -dZ. |
Re: Yes ... I mean No ... errr, Maybe. Perhaps?
2005-06-20 16:06
•
by
Carl
|
|
"why don't you just tell me the name of the user you want to be..."
|
Re: Yes ... I mean No ... errr, Maybe. Perhaps?
2005-06-20 16:27
•
by
triso
|
I think it would be even worse if you were "supposedly" paid every two weeks. |
|
That reminds me of a Three Stooges exchange in the short film, "Gem of a Jam:"
Curly: "I think we have a case of spectus on the floorus." Moe: "Then we should use sultathius soap." Larry: "I wouldn't say yes, but I wouldn't say no." Curly: "Would you say maybe?" Larry: "I might." |
Re: Yes ... I mean No ... errr, Maybe. Perhaps?
2005-06-20 16:41
•
by
Lance
|
Sweet, an Anthrax reference! That takes me back to high school. "What is it?....caught.... in... a mosh!" [6]
|
|
but.... I kind of like it!!! c'mon compaired to some of the code we've seen.... i'm sure the developer wrote it with a sense of humour! Perhaps we've discovered a new slot for Saterday Night Live![8-|]
|
Re: Yes ... I mean No ... errr, Maybe. Perhaps?
2005-06-20 17:10
•
by
ammoQ
|
I disagree. "Jein" does not mean somthing like "perhaps" or "maybe"; it rather means "partially yes" or "the answer depends on your point of view". |
|
Finally someone has found use for fuzzy logic. I mean, the world is not black / white either, so why should booleans be?
|
|
Don't forget sometimes, often, usually, irrelevant, and perhaps. This design in ridiculous.
|
Re: Yes ... I mean No ... errr, Maybe. Perhaps?
2005-06-20 18:45
•
by
John Smallberries
|
|
Wow. I never thought of using a software implementation of the Magic 8-Ball as my security mechanism...
|
Re: Yes ... I mean No ... errr, Maybe. Perhaps?
2005-06-20 18:55
•
by
loneprogrammer
|
Will I be able to modify this database? Cannot predict now. Dammit. Server must be down again. |
It isn't a WTF... they were using Fuzzy Logic! |
Re: Yes ... I mean No ... errr, Maybe. Perhaps?
2005-06-20 20:44
•
by
CornedBee
|
I disagree again. "Jein" in my experience is used to say "I can't, for the life of me, decide." |
Re: Yes ... I mean No ... errr, Maybe. Perhaps?
2005-06-20 20:58
•
by
clockwise
|
Marge: "Does that ear-ring mean you're a pirate?" Pirate: "Kinda." |
Re: Yes ... I mean No ... errr, Maybe. Perhaps?
2005-06-20 21:42
•
by
Gary Wheeler
|
|
We actually did some work on that kind of logic in an AI class I took. Maybe that's why no one has gotten AI to work yet...
|
|
Now this is a definite maybe .... this even handles quantum
computing - with the value of maybe only becoming known when tested .... |
Re: Yes ... I mean No ... errr, Maybe. Perhaps?
2005-06-21 02:11
•
by
diGriz
|
And I have to disagree with you. "Jein" means "yes and no". This is not the same as "maybe", and it doesn't have anything to do with decisions. Example: "Do you like the new project?" - "Yes and no. I like the new techniques, but I have to travel a lot." Believe me, I'm a native speaker :-) |
Re: Yes ... I mean No ... errr, Maybe. Perhaps?
2005-06-21 04:17
•
by
Philz
|
Na, was ist denn nun, du Schiffmeister, kommst Du mit, Du Kollegenschwein? |
Re: Yes ... I mean No ... errr, Maybe. Perhaps?
2005-06-21 04:31
•
by
diGriz
|
Wohin? Zum LinuxTag? Natürlich werde ich da sein :-) (Why do you call me "Kollegenschwein"?) |
Re: Yes ... I mean No ... errr, Maybe. Perhaps?
2005-06-21 04:38
•
by
Philz
|
Hell I'd really like to be there as well! That was a quote taken from "Fettes Brot - Jein" :-) |
Re: Yes ... I mean No ... errr, Maybe. Perhaps?
2005-06-21 04:46
•
by
diGriz
|
Oh, I didn't know that. Well, I know "Fettes Brot", of course, but I know just a few songs of them... even though I'm nordisch by nature :-) |
Re: Yes ... I mean No ... errr, Maybe. Perhaps?
2005-06-21 05:52
•
by
Welcome To The Machine
|
Hey, that was nearly a Haiku! |
Re: Yes ... I mean No ... errr, Maybe. Perhaps?
2005-06-21 07:12
•
by
Tallies the Techno Monkey
|
LMAO! That insanely funny. Good one... [:D] |
Re: Yes ... I mean No ... errr, Maybe. Perhaps?
2005-06-21 08:04
•
by
Rank Amateur
|
Wow. Just plug the text into Babelfish... and it still doesn't make sense! Isn't technology wonderful? --RA, whose father from Wuppertal taught me nothing other than "Schwebebahn." |
Re: Yes ... I mean No ... errr, Maybe. Perhaps?
2005-06-21 08:26
•
by
smitty_one_each
|
Request you update Leo, sir. |
Re: Yes ... I mean No ... errr, Maybe. Perhaps?
2005-06-21 08:34
•
by
brazzy
|
|
Maybe they were dealing with some form of quantum data? The state is on, off, and somewhere inbetween all at the same time :)
Anyway this reeks of a code that started off somewhat logical and then sadly got patched to do something else turning the code and logic into a total mess. I've had this happen to a few of my projects before. |
Re: Yes ... I mean No ... errr, Maybe. Perhaps?
2005-06-21 09:04
•
by
diGriz
|
Okay, I'll give it a try:
Note: (1) "Schiffmeister" is the stage name of a member of the German hiphop band "Fettes Brot" (fat bread). He picked it from the computer game "Pirates!". (2) "LinuxTag" is an exhibition almost completely about Linux, which takes place in Karlsruhe, Germany, this year from 06/22 to 06/25. Even Microsoft has got a booth... to entertain the geeks :-) |
| « Prev | Page 1 | Page 2 | Next » |