- 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
Admin
Admin
My company has an immediate opening for you Nelson.
Admin
Shut up Bert! you're just mad you're stuck in the Bottom Enduser Role.
Admin
I completely agree.
Admin
Now if the User Name Login authentication also strips off the first few chars, you see where I'm going...
Admin
I really don't see what you mean.
Admin
Brillant! now when do we get the xkcd for this wtf?
Admin
that's a long way of saying 'bitmask'.
anyone know why my account does random things all the time? It is very frustrating.
Admin
As for missing the point of relational database... some software I inherited has a properly designed relational database with a user table, a role table, and a junction table between the two for membership. However, the UI and all of the permission evaluation code only support one role per user. It also stores both the username and the surrogate PK of the user in the user-role table and is inconsistent in the use of the two. Also, the UI has no feature to change the role of a user, mainly due to the fact that the UI actually creates the user account and assigns a role derived prefix. At least the data design is decent enough to allow us to fix these issues one at a time.
Admin
Dear Alex,
Please change the name of the comments section to "Daily Hints for How to Over-Engineer Software Solutions."
Admin
Three words: Extensible Markup Language
http://download.oracle.com/javaee/5/tutorial/doc/bncav.html
Not spam, askimet--just trying to keep my comment brief.
Admin
Knowing that, I will continue to use a database for everything. Now if you said a puppy dies...I'd rethink my position.
Admin
You know what they say. "When your only tool is a hamster..."
Admin
And puppies.
And people.
Admin
I can hook you up. ;)
Admin
At my job, we use a database for everything too: including source code. Each line is stored in LINE_NO. The interpreter that drives the code is stored in binary and is executed directly on the operating system (we have different binaries for Windows and Linux, not Apple). Some developers have some difficulty with this concept and insist on hard-coding values in the source that is in the database without defining the foreign keys (this approach is actually quite extensible if you need to execute different code for different data values on the fly--the conditional statements can be reduced quite a bit based on how you write the stored procedures). Once you get the hang of it, it's really quite an elegant system (of course I designed it and don't have to maintain it anymore, so I'm biased).
Truly one of the wonders of the modern software world and not a WTF at all.
Admin
A user never changes role. It's the caste system. Born level 1 tech support, always level 1 tech support. Must've been developed in India. MAKES PERFECT SENSE! You people and your western-centrism.
Admin
select roles.roleabbr + user.lastname as UserName ...
Admin
Admin
Really? When I looked at this, I thought it looked like it came from a Russian outsourcing team, actually...
Admin
Ordinario!
Admin
Your solution just suck.
Admin
I tried wikipedia, but I still don't get the Admiral Nelson joke. Can someone please explain?
Admin
Admin
Admin
...every problem is a celebrity's colon?
Admin
TRWTF is the definition of a "role" in the preamble.
Applications should define privileges ("create invoice", "view invoice", "pay invoice" etc); roles are collections of privileges; users are assigned roles (preferably; direct privileges if messy).
Admin
UserName = "Admiral Nelson";
if(IsInRole("Administrator") { // Brillant! ...
Admin
Shouldn't that be TRL_BRILLANT?
Admin
No one said the cat was still alive....
Admin
CAPTCHA 'augue', I'd augue with you about it, but the cat is still pretty damn old either way.
Admin
Don't open the box!
Admin
Admin
Admin
I am curious. Is there a reason why so many people know all these memes, going back years, but don't bother to register? Am I doing it wrong?
Admin
So you can change your post name to coordinate with the story. Like this. Whoa...
Admin
It seems to me that it's much more of a Brown M&M than a Canary.
Admin
(/everyone searches for IGNORE button)
Admin
Sincerely, Horatio
Admin
Yes. You need to put it on a wooden table first.
Admin
Or we just ran across this sight a couple of months ago; and used the random link already hundreds of times.
Admin
+1 for sad truth.
Admin
Dear Rick,
In case you can’t tell, this is a grown-up place. The fact that you insist on replying to your own post clearly shows that you’re too young and too stupid to be using thedailywtf.com.
Go away and grow up.
Sincerely, Bert Glanstron
Admin
That system obviously won't work for me. I can't think of any role that would start with ÃÆ
Admin
It's how you can tell the n00bs. Most of these memes are repeated almost daily, so it takes no time at all to pick up on them. Captcha posting is another telltale sign of newness.
Admin
You are an idiot and should be banned from your mommy and daddy’s modem.
Admin
So, when the customer, "Cusine Showroom" comes through, there's no problem, but when the customer is "Empire Products", well, they get the keys to the kingdom.
Admin
For “brillant”, we seem to have one right today: http://xkcd.com/780/
Admin
You know, the difference between funny and you is the obviousness of your reference. If you were to refer to something obscure but related, it may be construed as interesting. That way, you could still just copy-and-paste someone else's work, but at least it would be entertaining.