- 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
I sex.
You sex.
Your mama sexes.
Admin
http://dictionary.reference.com/search?q=gender
http://dictionary.reference.com/search?q=sex
Admin
Incorrect. I can point to many examples of words that are used in common, everyday speech that are not in your common dictionary. Furturemore I can point to words in most more advanced novels that you will have to go hunting for a dictionary that actually has it. The common dictionary does not.
However, in terms of infinate extensibility, you could discuss the set of graphemes of the english language, and while that is limited to languages that use english symbology, there is no reason you could not create a database of graphemes of all spoken languages (think unicode). However, that gets you no close to constructing a word than a monkey pounding away on a typewriter.
Admin
You know, I actually found a use for MS Access and it ain't for database and/or application developpement. It's the quickest way to interface databases of different origins and run queries on them, like for example running a join table query between an Oracle table and an Excel spreadsheet, copying a MySQL table into MS SQL Server using INSERT INTO... SELECT FROM syntax, etc...
It's not the fastest running queries, but it gets the job done without having to write code modules. That's the best power of MS Access, linking systems through ODBC connections.
Admin
Agreed, it is an excelling DTS replacement, and you get the ability to have local storage, a UI, reports, and so on. I typically write most conversion tools in Access. You can put everything you need in a single MDB file.
As for SatanicPuppy -- can you give an example of when Access "won't you do anything you really WANT to do" ? If you want a true server database application, then yes, it won't let you do that too well. But if you use it for what it is designed for, it works pretty damn well.
Admin
I use MS Access to make quick and dirty 'live' prototypes of stuff. Then if the project gets approved I'll develop it for real in something that is for real.
I can't think of a quicker way to throw ODBC connections, code, and a form together for demostration purposes.
Admin
You just didn't see what he had before. Before, he had a post that used inline styles (namely, fixed positioning, alignment to the top left, white background, and size big enough to cover the whole page) to cover up the entire thread. Fairly clever, but altogether annoying. The "x" is what's in his place.
Admin
Admin
Generic data models are the way to hell.
Simple rule: Never ever use them.
Oracle's Thomas Kyte ranting about generic data models
Admin
Fisting around, eh? ;)
Admin
to sex is to determine the gender...
Admin
now that you mention it...
and they also deleted my post today!!!
just in case anyone missed it, I posted:
"Second!"
Admin
and when did they start requesting the name and added the CAPTCHA?
Admin
ah... I GOTCHA!!... is because I used a different browser this time :$
Admin
I just noticed that the form's icon is the default VB6 form icon. Does that mean this was written in VB6?
If so wouldn't that be the real WTF?
Writing a sophisticated single-user database app in VB6 with a complex user interface is enough of a hack, writing a database-driven application framework in VB6, now that is a major WTF.
Admin
Admin
</font>
Admin
and FILE_NOT_FOUND
Admin
I've worked with hospital software for years too. In addition to the above, we also had I - Indeterminate. Then one of the clients approached us to add O - Other.
ummmm, I'm still trying to work that one out...!
And, yes, the gender table was hard-coded into the system.
Admin
Shouldn't that be:
M - Male
F - Female
W - WTF?
Admin
Or:
M - Male
F - Female
E - Eunich
M - Multiple
W - WTF
U - Unknown
M would be for conjoined twins most likely.
W would be for Anonymous
U would be for people who haven't yet been identified.
Admin
owwwwwww O_o
Admin
Of course they're not! I have a gender, but never any sex!
Admin
"i sexed her up pretty good"
Admin
Admin
true, but, the modern and popular usage of "gender" is now sometimes appropriate, as it is not only a grammatical term, it also refers to how someone 'wishes' to be known. In other words, if I decide I prefer to be referred to as a female, then my gender is Female, yet my sex is Male. I've studied this. (And no, I don't want this to stick. Please) But, SEX should almost always be used in this, as your Sex is usually more important than your chosen Gender.
Oh and btw, nothing wrong with having a Gender table generally, as it helps with reporting, standard form population etc.
The naming standard reminds me of apps a la Great Plains, AccPac etc.... shudder
Admin
I don't see what more can be accomplished by DBing Gender in its own table than by simply having a single field linked to a listbox that has "M", "F" and "T"(ranssexual) on it. <_<
Admin
lol, I was just waiting for some tool to finally notice the VB6 icon.... Bit slower than usual dontcha think? Tell me good sir, EXACTLY why using VB6 here was a hack? (this should be good.... :) )
Admin
I once spent a few weeks reinventing objects and inheritance and reflection for variables and of course serialization (to xml) and so forth... I called it ContentZ, I wrote a GO player using HTML forms with it as a cgi script storing games as "xml" files.
I wrote it in pure -ansi -traditional -pedantic -Wall -W gcc of course.
It was in C of course.
I also started a 3D modeler in opengl (but never bothered to implement save/load in it, even though I had the serializer, go figure).
I'd show you a website where a modified screen shot from the modeller was, but it went down.
I learned a lot, but it sucked. I've since lost all that code, and I don't regret it.
Admin
<singing quality="badly">
ooooooooooooohhhhhhhhhhhh ooooooooohhhhhhhoooooooohhhhhhh oooooooooohhhhh oooohh
To the R tick-tock you don't stop...
I wanna sex you up....
</singing>
Admin
I thought this was already implemented and sold as a pile-of-dung called SAP
Admin
This is the sign of truly visionary designer; he is even planning ahead for the day we might encounter an alien species with more than two genders. Awesome!
Admin
"I sexed her up well."
Admin
Also, "her"? Who do you think you're fooling?
Admin
Believe it or not, this kind of "fully customizable" systems are being asked more and more often. Yes, they might sound like over-engineering, specially for this case. The simple solution might be an addressbook, but maybe that was too simple.
As das said, a flexible system can save the client some bucks in customization, if included in the service fee. On the other hand, big-end systems like crappy Scala (an ERP system) does the same thing (all table and column names are crappy random numbers) and they DO milk you thousands of dollards for deploying their crap in your enterprise.
So, this is hardly a WTF. It might look as overkilling the requirements, but sometimes, this is what the clients actually want.
Admin
It's nice they were trying to design a system that could be maintained.
However they clearly have no idea how to actually do that.
Having a table to maintain types for sex is fine, all that other crap they have to go through seems like over kill.
My running joke at work is that you could make your system so generic that what you end up with is simply another programming langauge but no actual system, at some point you have got to put your business logic in. Smart developers are able to assess the best place for that.
Admin
My experience: Sometimes the worst you can give the client is exactly what they ask for. I've told clients "that's the worst idea ever, you'd be lucky if it just wastes time and money" countless times. Just wrap it up really nicely and they'll thank you for the advice.
I've even just made things totally different from what they insisted on, and still having them thank me. "Hey, that's a lot better than what I asked for, you're a genious". Yeah, that wasn't your words when I suggested it two months ago.
What does the client want? What does he say he wants? What does he actually need? Very different things. Try giving them the last one, but maybe make it look like the first one.
Just a comment on that single sentence, you probably agree. ;-)
Admin
I can't stop laughing... Delete Female [:D]
Admin
within the entire context of the system, having a single field hardcoded as having 2 specific values would be a far larger WTF than having a field that has only 2 obvious values completely flexible like this...
Whether the application needs that massive overall flexibility is of course another question entirely and quite likely it didn't (though without it it might not have been externsible enough to allow Das to add those extra fields at all).
Admin
Not very eloquent, but well put. Of course, strictly speaking, they are not 100% synonymous, but in the current discussion, gender could according to my dictionary: definition 2: the state of being male or female. Check yours for an alternative definition...
Anyway, back to the main issue: they should have added two tables instead of one. One table for sex, the other for gender.
As a matter of fact, I think I'm going to recommend someone to turn this into law. Think of the possibilities: I'm sure everybody has received mail addressed to "Mr./Mrs.", and I'm also sure you thought that was ridiculous, but with sex/gender addressing, this possibility will become correct.
One small step for man, but a great step for pre/post/non-op (wo)mankind.
Admin
"Fully customizeable" Systems based on generic data models are a bad joke. If you want to be able to fully customize, get the source and use VS or Eclipse to do the customization. Add columns or create new tables in the database if you need them. But don't build a flexible system on top of an already flexible system (the DBMS). Don't invent pathetic new languages just to avoid exposure to VB/Java/C#/Whatever.
Admin
As most of you know, there are 3 genders (sexes ?) : male, female and filenotfound.
Admin
Just to point out, I have used VB6 extensively. Here are some of the reasons that writing complex software in VB6 feels like a hack:
Admin
Or perhaps
MALE [H]
FEMALE [}]
FEMALE_NOT_FOUND [W]
Admin
.. which just goes to show, any attribute named "gender" is likely going to need extending to add "neuter". So all that extensibiliy was well-founded, I suppose.
Admin
Please sir, this is spoken like a guy that never really used VB6 and instead just jumped on the bandwagon. I'll address your issues here.
1. Lack of proper error handling? Compare this side by side:
On error goto ErrCatch Try
'some code
Goto Cleanup
ErrCatch: Catch
'error trapping code
Cleanup: Finally
'Cleanup code
End Try
No difference here.
2. Lack of proper OO and no super classing? Ok agree here, but you can actually subclass, and I am not talking about just creating a control to host other controls.
3. Proper multithreading? You actually can do it, officially unsupported but it does work. The problem is trying to support it while using edit and continue then justy hitting stop.
4. Data access through a control, not necessary. You yourself stated that you can use ADO directly. think about these two stastements together.
5. Compatibility, this is a problem with all languages when trying to access Access, not a VB only issue.
6. ADO difficult to find? Once again this is NOT VB. If you need to use ADO regardless of language the difficulty doesn't change.
Admin
Wow .. lots of weird typos on that one. sorry for all those offended!
Admin
Groucho was funny, but I always liked Chico Marxist the best!
Admin
Absolutely right.
And forte is pronounced fort not fortay.
And "beg the question" means evade the question, not leads to the question.
And it's "Just Deserts" not "Just Desserts"
And the new millenium started January 1, 2001, not January 1, 2000.
Any other pet peeves we should address.
Admin
It's more like:
MALE = 1,
FEMALE = 0,
FRENCH = FILE_NOT_FOUND