Sunday, July 4, 2010
uml deadend or why your proprietary file format is a really, fantasically bad idea
What I'd like to do is take the UML document as input, and have it spit out a bunch of ORM files for me in another language and just let the ORM's framework worry about the messy SQL details for whichever database ends up being used. Not only would this be (slightly) less tedious than manually building up the objects by hand, it would have the benefit of making the UML document a single point where the database could be managed in the abstract and I could get on with doing the stuff that's more computer sciencey and less data enterishy.
But. I can't. Because the UML file was created with a very feature rich UML editor that lets you draw really nice and really well annotated diagrams, but locks it all up inside of a very non-UMLish file format. And for the icing on the cake, the company that made the editor closed up shop in May and has decided to not only stop taking orders for their software but providing the free evaluation download as well.
From my point of view, this makes the file just as programmatically useful as a jpeg picture of a diagram of the database layout. The tedious grunt work of examining the diagram and manually hacking it all together is unavoidable, which means that now we've introduced the chance of documentation skewing away from the implementation. Inadvertent forks from last minute bugfixes or poorly communicated design changes are now on the table.
All because a software developer thought his method for storing UML data was better than just using simple UML, and that his clever method would assure him of job security.
Wrong on both counts, mang.
And now we're both hosed.
Just stick with the standards, people. Please?
Friday, May 28, 2010
screw you, firefox tab complete!
For some reason that is completely unfathomable to me, the URL that's shown as hilighted in firefox's URL window can get out of sync with options that show up in the drop down menu of possible alternatives, yet firefox gives preference to the drop down menu when you hit the TAB key to complete.
Case in point: I want to go to gmail. I start typing in "http://www.g" and the drop down shows up. The first thing its got highlighted is "http://www.google.com/", which makes sense. I next hit "m" (so what I got in the URL window is "http://www.gm")... the text in the URL window goes ahead and auto-completes out to "http://www.gmail.com", BUT the drop down highlight remains on "http:"//www.google.com/").
So when I hit ENTER, I'm being queried for a search string instead of looking at my inbox.
I sigh and once again curse my blazing fast touch typing skills and lightning quick ENTER key pressing reflex. So I go fumble around for the mouse, point the stupid pointer over the URL, double click to highlight the entire URL, hit BACKSPACE, and... we go back to where I said "Case in point:" up above.
Repeat 3-4 times until I finally am able to remember to force myself to stop and wait for the drop down to catch up and get to my email so I can read the latest chain letter my old high buds have forwarded to me.
KAAAAAAAAAAHHHHHHHHHHHHHHHHNNNN! \o|