- 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
foxy checksum?
You have my attention!
Admin
I love how certain code can be compressed. Took a 2,000 line MS Access VB module and made it into a 300 line SQL stored procedure. Said procedure ran in milliseconds, said VB module usually timed out.
Admin
Admin
I claim false advertising; article contained no foxes whatsoever! :tangerine:
Admin
Indeed! i was most displeased that there was no foxes to be seen in that article.
Unless this Visual FoxPro is Cousin Vinnie FourLegs's new alias.....?
Admin
Foxpro is one of the worst things ever. It let any idiot who knew a bit of SQL pass them self off as a real developer. Every time I heard a job mention anything about Foxpro, even in the past tense, it was an awful experience.
Admin
Highlighter bug. Well, "bug". The highlighter doesn't support FoxPro, because, well, why would it?
Admin
So let me guess: TRWTF is the variable spacing in the first few lines, which indicates that there's a possibility that at least the first few lines were typed in by hand, rather than copied and pasted and then amended by hand.
Admin
might be seen as a poor excuse of a fox emoticon. When in doubt, let's assume at least they tried.
Admin
Admin
:sadface: The only emoticon of that list I can see is the cat face. (-> Hello Kitty?)
Nevertheless, that's outside the range of printable ASCII characters (' ' to '~') which is the range used here, anyway.
Which btw is the :wtf: of the "fix": it doesn't do boundary check. What about umlauts, tabs etc. in
m.lcSerNum
?Admin
In a Serial Number!? ARE YOU INSANE?!
Admin
Thanks for noticing.
Edit: But what if there was a fox emoticon in the serial number?
Edit 2: I wouldn't infer from the name lSerNum that it actually represents a serial number. Neither from the fact that it has been read in from a barcode, neither from both facts combined. Variable names are totally arbitrary, as everyone knows.
Admin
No foxes were harmed in the production of this article.
Admin
Or bobcats. Consider yourself lucky.
Admin
Cue Jimi Hendrix:
You know you're a logic breaker (Foxy) You know you're a software test faker (Foxy)
I wanna break down and cry Makes me gouge out my eye, no I've got to re-design, design Foxy checksum!
Admin
You think that's bad, try working in it. brrr Admittedly, both the project and my code were as much of a WTF as the language, but it was my first (kinda-sorta) paid programming job, so a lot of that was inexperience (waiting for the inevitable 'so what's you're excuse now?' in 3, 2, 1...).
FoxPro in any form is a WTF. If anyone is still using it in 2015, that's a WTF squared.
The sad thing about this one, though? One of the few 'features' that wasn't awful (bad, but not awful) about the language was the
translate()
function, which if I am reading this right could have done all those cases as a one-liner (though it would need to loop on it, I think). Though as the Python code shows, even that wouldn't really be needed.Admin
Oh twaddle. This entire issue deserves foxynaucinihilipilification.
Admin
Admin
Wait...
:scream_cat:
Last time I saw VFP was like in 1997
Admin
I concur. [image]
Admin
As opposed to the necrohippimastigation that dominates most of the other threads?
Admin
what is this a long word competition now?
Well i can play that too.
Lopadotemachoselachogaleokranioleipsanodrimhypotrimmatosilphioparaomelitokatakechymenokichlepikossyphophattoperisteralektryonoptekephalliokigklopeleiolagoiosiraiobaphetraganopterygon
Admin
You know, foxynaucinihilipilification. The act of estimating something as fox-related but otherwise worthless. Similar to floccinaucinihilipilification but with added vulpinity.
Admin
I think it's something like besto
Admin
Admin
It takes about five seconds to show that tooltip :wtf:
Admin
Not to be confused with jbojevysofkemsuzgugje'ake'eborkemfaipaltrusi'oke'ekemgubyseltru.
Admin
You must have a pretty bad OS/browser/window manager, since my ARM dhromebook shows it nearly instantly.
Admin
Why not get yourself a better
computerfont?Admin
ah. that's more of that benlobjasticlyfromulent stuff....
at least i think that's how you spell the name of that....
Admin
Admin
If you see a five-letter word of the form CVCCV or CCVCV, it's probably a lojban gismu.
Admin
i'm sorry.... i understand about 70% of the words you use individually, but i can't figure the rest out from context and so the meaning of your sentence is obscured....
Admin
C = consonant, V =
verbvowelbesto is of the form CVCCV, for example.
Admin
I didn't think my opinion of this "language" could get lower until you mentioned that mixing consonants and verbs was an actual thing.
Admin
i noticed that myself.
if this is a languaged that vowels verbs while verbing vowels..... i might just have to try and learn it...
Then again i have been trying to wrap my head around Hymnos for years now with little luck so....
Admin
Almost every word in your post has both consonants and vowels in it.
Admin
And yet, it doesn't make sense to talk about how a type of letter and a type of word are mixed.
Admin
I only woke up 4 hours ago. Cut me some slack.
Admin
YMBNH
Admin
You need four more letters before we can start the round :stuck_out_tongue:
Admin
y
is not used in any gismu.Admin
TIL @ben_lubar doesn't know how to play Countdown :stuck_out_tongue:
Admin
I thought we were playing wheel of fortune!
Admin
Don't worry about it, I thought we were playing Base64.
Admin
I had the pleasure of dealing with the aftereffects of someone who used Foxpro to store text documents, back in the 1990s. Once the "database" was created, the originals (which were paper documents) were shredded. At which point the following happened: The hard disk failed. The tape backups turned out not to be backups; the primitive tape drive had failed and nobody had known because nobody ever attempted to restore from backup.
Using Norton, it proved possible to extract the data off the failed drive (the head had crashed while traversing so there was a sector corrupted on every track) and with a few weeks of midnight oil burning the data was recovered. As text files, with hard copy.
A couple of weeks later I got a call to the managing director's office, where I was shown a PC. It seems the sales manager had left in a hurry after wiping the drive; could we get it back? This is in the days when "deleting" files meant changing the first two letters of the file name, and space wasn't reclaimed till the drive needed it. So yes, we could. Soon after a substantial pay rise happened.
I report this to show the younger generation just how easy it was in the old days to get a reputation as some kind of IT genius. Before the Internet, even basic knowledge of hard drives and filing systems could make you the go-to guru, even in an engineering company.
Admin
The good ol' times. I was some sort of genius at my freshman year because I knew about the existence of the Java API and after recovering some gals laptop by removing the battery as it was in short.
Admin
Sorry, guys. FoxPro is a red herring.
TRWTF is a custom checksum algorithm.
Admin
It's sad that @Remy didn't include a picture.
When I hear FoxPro I'm thinking of one of these pictures:
[image] [image]Admittedly, the last one might be distracting on an article.