- 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
Ring my BEL... Ring my BEL
Admin
I typically refuse to be responsible for code I haven't seed, too.
Admin
Everybody knows you should always seed
Admin
Wasn't that an issue with LinkedIn?
Admin
I bet the database query language was SQ-BEL
Admin
The developers of this WTF always seed their code... randomly.
Admin
See a moderateley WTF story Come to the site to look for snide meta-comments in the source of the story None there
Very Disappoint.
CAPTCHA: damnum - It's that damnum that's breaking the record
Admin
One version of OS X TextEdit.app (10.4 era I think) somehow had the ability to insert control-P characters into the text. I was using plain old TextEdit.app rather than XCode because this was mostly a bunch of 8-bit assembly language code I was working on, such as for hacking on old video game consoles, and sometimes little command line utilities in C.
I never figured out what sloppy keyboarding I did to trigger the control-P, but since it was completely invisible, even when whatever compiler/assembler I was using bitched about the line of code, it still took me a minute or two before I found the place where I had to hit the left/right arrow keys twice to pass.
Admin
So, did the rockstars come back and make it work in short order? Or did Martin replace it with something off the shelf?
BTW, what is "WCF"? I'd like to think it's pronounced "Whatza F???"
Admin
C# doesn't have a chr() function?
I agree that Martin doesn't qualify as a decent programmer, however, it seems the "rockstars" don't either.
Admin
Yeah, well, Xcode 3.2 still has this "feature". About once a year I get a line of code that will not compile until I retype it character for visible character...
Admin
Ha! C# doesn't have a chr() function!
However, you can cast, so still no excuse.
Admin
Sounds kind of like they were trying to do a NoSQL database type of thing, but failed miserably.
Lesson: There's a difference between REAL "rockstar" developers, and snake oil salesmen who happen to talk a big game.
Admin
I wish I didn't know that.
Admin
Ding! Fries are done!
Admin
...Does TDWTF have editors?
Admin
Really not a very exciting 1 tho.
Admin
Yes, but they use visible characters only.
Admin
article breaks rss
Admin
And we can save them hundreds by combining their plane, car and boat policies!
Admin
Is there still a "live" version of How to Write Unmaintainable Code, that this ought to be added to? :-)
Admin
The Real What TF is that they misused BEL as a delimiter when there's already an ASCII Unit Separator non-printable control character (0x1F) that fits the purpose exactly, right?
Admin
I wouldn't expect a chr() character in C#, but I'd expect "\a" or "\009" works?
Admin
Re: Rotary engines.
"Rotary engine" originally referred to engines that look superficially like "radial" engines, except that the crankshaft is bolted to the plane and the engine block to the propeller, rather than the other way around, with the result that the engine block rotates... It saw a reasonable amount of use on aircraft up to the 1920s, and limited application in motorcycles and a very few cars, all in more or less the same period. It's a poor fit for most automotive applications, since the "ideal" place to put it is in one or more of the wheels, and that does dubious things to the unsprung weight, and therefore to handling.
The other common application of the term "rotary engine" is pistonless engines such as the Wankel rotary. This is perfectly acceptable as an engine for cars, motorbikes, aircraft and other applications where a compact high-power engine is needed.
So, rotary engines having problems migrating from cars to aeroplanes is a poor analogy (since it isn't true) for wonky software design (which evidently is true in this case)...
Admin
Bummer that y'all don't have a zap gremlins or show invisibles feature.
Admin
We got both editor kinds of editor ! We got Vi AND emacs !
Admin
Martin is just lucky that his editor doesn't actually generate a beep when it hits a BEL character... Imagine this conversation taking place outside Martin's cubicle between two fellow developers:
"I didn't know our editors had built-in censor capabilities..."
Admin
Admin
Admin
Admin
Windows Communication Foundation
Admin
Admin
We have our own home-grown NoSQL database at nk, and it uses spaces for separation which provides even more fun with escaping and unescaping.
We also use our own scheme of serialization of table rows for cacheing which is uses \xFF as separator, which is quite unlikely to happen anywhere in UTF-8 strings or numbers (and most of coulmns are of either of these types), but in case it happens we escape it by doubling (\xFF becomes \xFF\xFF).
We thought for a minute about using \0 which also doesn't happen inside regular strings, but that would be problematic for almost every part of the stack.
I've never heard about unit separator ASCII character but sounds elegant, if it doesn't occur in UTF-8 strings to often.
I've heard about guys who were implementing some MMORPG internet protocol which chosen 37 (or some other odd byte) as a separator, which was found by experiment to be the least probable byte value. It was like 12 years ago, but I am still wondering WTF was wrong with them, their priorities, their architecture, their stats analyzis, and their data distribution.
Admin
Admin
There are advantages to being second. Not being the first to be blamed for one...
Admin
Admin
Agile strongly discourages "rockstar programmers." Everyone on the team should be well-versed in all areas of the codebase(s). This provides for emergent design, which is a far superior outcome to the kind of not-invented-here code we see in today's WTF.
Admin
FTFY
Admin
Admin
Admin
Admin
Admin
Admin
I believe you fail at reading comprehension. What I was saying is that Agile would have AVOIDED today's WTF. Guaranteed.
Admin
Admin
Martin is lucky that he wasn't relegated to "forth-rate status", because then he might have to use the Forth language.
Admin
Admin
This seems silly to me. If you want a chr() function in C#, write the function. The cast works just fine though. What's the problem?
Admin
C# has a Chr() function. It's in the VB-to-VB.Net compatibility library, which is plain ol' .Net and can be used from C#.
See here:http://msdn.microsoft.com/en-us/library/microsoft.visualbasic.strings.chr.aspx
Also, can someone take Akismet out back and shoot it? It thinks this is spam. The correct classification is "nitpick".
Admin
"Rockstar" programmers do just fine in agile environments.
They design everything with no plan for the future (because we'll worry about that when it comes).
They put together write-once-work-once code that everyone else is expected to use as an example of perfection.
They examine the the common code base to drive everyone else crazy by criticizing their code. Best of all, in this category, is criticizing code patterned after what the "rockstars" originally wrote.
Everyone else is expected to know the whole code base, but except for the random critical attacks, the "rockstars" can't be bothered.
Finally, by the time the spit really hits the fan, the "rockstars" have moved on to greater "gigs"; and won't deign to revert to lesser things. Anyway, it's the current maintainers' fault because they didn't follow the "rockstars'" perfect plan.
They're agile as can be.