- 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
do i smell a belgian?
Admin
I once had the fun task of maintaining a massive freight management application written in Delphi. By a self taught programmer whose comments were in Italian. Supposedly the guy who took over from me later resigned and became a lumberjack. I still wonder if that career choice had anything to do with the work.
Admin
The way you've framed that comment seems vaguely familiar....
Admin
Do you deny it?
Since programming is not a problem that can be solved by getting drunk and shouting, the Dutch are just not suitabl for it :)
Admin
Welcome to my Hell. Every time I want to exit a conditional statement with a return value, I have to do the same thing. It's enough to drive anyone batshit insane.
myFunction = 5 Exit Function
Admin
1011001110111111101011000001110011111000011001011100001110101110000011101001101000110010110000011101001110010111010111101001101000
Admin
sorry, I meant 1011001110111111101010100000111001111100001100101110000111010110100000111010011010001100101010000011101001110010111010111101001101000
Admin
Don't need the table (B64Compare), use ASC() instead.
Don't need LEFT(), ASC() returns value of first encountered byte.
Don't need to subtract 64 from byte value, bitwise AND with 63 should be quicker.
No error checking, though. For shame.
Admin
Ah .. I see the WTF now, the euro symbol appears on the end of the ascii characters.
The euros not even in the original 8-bit IBM extended set.
Admin
Unfortunately, I would have to disagree with you on the comparision of database against IO. Firstly, IO is one of the most expensive opertaions in computing. But isn't a database nothing more but a file? Answer is: yes, it is nothing more but a file. BUT it is optimized with indexes and data re-organization which would make data more "intuitive" to be accessed. Also, the accessor would know what's the most optimized way to pull a certain set of information out of a data schema.
Wanna go for the proof? You can create a database + table and fill in, I don't know, close to 2GB of information. Perform a select against that database and see how much time it takes to return your query.
Then, try to perform the samething in a 300MB text file.
PS: If database is just a "glorified set of files", I wander why are they so widely used across enterprises and institutions.
Admin
Which would you rather use? A set of files, or a set of glorified files ;)
Live for the glory.
Admin
it's only a guess (my Dutch being only slightly better than my C++ ;) but I think you're mis-splitting the variable name: Ik is dutch for I, therefore the variable is Ik Own Jou, rather than I Kown Jou.
It could just be that the only databases available to them were MS Access and Borland Paradox. I worked for a company once who had only just got SQL Server, and every app I supported was a mish mash of Access, VBA, Delphi and Paradox. I was often tempted to resort to text files for persitent data storage ;)
Still, it could be worse; one of that company's clients had an IT department that they refused to licence any software they deemed unnecessary. I was asked to write a system for the client to send us updates for a db we maintained on their behalf. Had the client had Access available, it would've been a half day job. As it was, I had to program the damn thing in Word and VBA, with a text file output that we then imported into the db (yes, ideally I'd have done it online in perl or php, but the management wouldn't shell out for the hosting upgrade we'd've needed!). Not surprisingly, I handed in my notice about then!
Admin
Databasifying?
Admin
In a (decidedly broken) system I was working with recently, the i18n system included among the possible languages "Sanscrit" and "Volapuk". Not that there were any translations into those laguages, but the system allowed for it.
Oh well, at least they didn't include "Klingon".
Admin
CATPCHA: I'm not telling :P
Admin
Writing the code is slower. Running the code is faster. (assuming your code doesn't do the same crap the OO stuff does)
Admin
This makes me think about the dutch programmer that once told me that a complete file driven 'database' could perform as well and any other database as long as there wasn't any complicated locking going on.
Admin
Looks more like sarcasm tags missing ;-)
Admin
TRWTF... these "two lines", numbered for your convenience:
...6 physical lines ...4 logical lines ...3 executable lines ..."two lines"WTF