| « Prev | Page 1 | Page 2 | Page 3 | Next » |
|
Ring my BEL... Ring my BEL
|
|
I typically refuse to be responsible for code I haven't seed, too.
|
Everybody knows you should always seed |
Wasn't that an issue with LinkedIn? |
|
I bet the database query language was SQ-BEL
|
Re: For Whom the BEL Tolls
2012-07-02 09:27
•
by
n/a
(unregistered)
|
The developers of this WTF always seed their code... randomly. |
|
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 |
Re: For Whom the BEL Tolls
2012-07-02 09:31
•
by
¯\(°_o)/¯ I DUNNO LOL
(unregistered)
|
|
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. |
|
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???" |
|
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. |
Re: For Whom the BEL Tolls
2012-07-02 09:49
•
by
scott
(unregistered)
|
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... |
Re: For Whom the BEL Tolls
2012-07-02 09:49
•
by
Bob
(unregistered)
|
|
Ha! C# _doesn't_ have a chr() function!
However, you can cast, so still no excuse. |
|
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. |
Windows Communication Foundation. I wish I didn't know that. |
|
Ding! Fries are done!
|
...Does TDWTF have editors? |
I work at burger king i make flaming whoppers i wear paper hats! Really not a very exciting 1 tho. |
Re: For Whom the BEL Tolls
2012-07-02 09:59
•
by
Anon
(unregistered)
|
|
Yes, but they use visible characters only.
|
|
article breaks rss
|
And we can save them hundreds by combining their plane, car and boat policies! |
Re: For Whom the BEL Tolls
2012-07-02 10:06
•
by
For the Proliferation of Excellence
(unregistered)
|
|
Is there still a "live" version of How to Write Unmaintainable Code, that this ought to be added to? :-)
|
|
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? |
|
I wouldn't expect a chr() character in C#, but I'd expect "\a" or "\009" works?
|
|
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)... |
Re: For Whom the BEL Tolls
2012-07-02 10:48
•
by
William
(unregistered)
|
Bummer that y'all don't have a zap gremlins or show invisibles feature. |
We got both editor kinds of editor ! We got Vi AND emacs ! |
|
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..." |
Re: For Whom the BEL Tolls
2012-07-02 11:04
•
by
Nagesh
(unregistered)
|
Not unless 009 suddenly became the octal notation for seven. |
Re: For Whom the BEL Tolls
2012-07-02 11:19
•
by
Some Damn Yank
(unregistered)
|
No. You have to ask? |
Re: For Whom the BEL Tolls
2012-07-02 11:22
•
by
Some Damn Yank
(unregistered)
|
BEL BEL BEL BEL BEL! You get the prize! |
Re: For Whom the BEL Tolls
2012-07-02 11:23
•
by
steroberts89
(unregistered)
|
|
Windows Communication Foundation
|
Re: For Whom the BEL Tolls
2012-07-02 11:26
•
by
no laughing matter
|
What a retarded programming-language! So instead of rockstars they should have employed wizards? |
|
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. |
Given what these 2 crackpot programmers do I would say that a rotary engine in any application is a perfect analogy to anything these 2 programmers are trying to accomplish. |
|
There are advantages to being second. Not being the first to be blamed for one...
|
Re: For Whom the BEL Tolls
2012-07-02 12:03
•
by
Sociopath
(unregistered)
|
The former are smart. The latter are rich. |
|
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.
|
Re: For Whom the BEL Tolls
2012-07-02 12:22
•
by
an editor
(unregistered)
|
FTFY |
Re: For Whom the BEL Tolls
2012-07-02 12:31
•
by
Nagesh
(unregistered)
|
To say the least. \xFF is not allowed at all in well-formed UTF-8. Every 7-bit ASCII character appears as itself in UTF-8 encoding, and nothing that looks like a 7-bit ASCII character ever appears in UTF-8 except to represent that particular 7-bit ASCII character in the represented Unicode string. This is true for the ASCII control characters too. |
Re: For Whom the BEL Tolls
2012-07-02 12:38
•
by
no laughing matter
|
If you are using todays WTF as a benchmark for your crummy software development method, you fail at marketing. |
Pretty much any arbitrary character in the 1 - 31 range except backspace/tab/newline/carriage return could be used as a delimiter these days. |
No, it was originally used to ring the physical bell on a teletype. That is, a low-tech version of this. |
Re: For Whom the BEL Tolls
2012-07-02 13:23
•
by
aa
(unregistered)
|
My first instinct would be to pick something common, like ':', then build in some escape sequences. What if some data gets thrown at it that happens to contain the more esoteric of the ASCII? |
I believe you fail at reading comprehension. What I was saying is that Agile would have AVOIDED today's WTF. Guaranteed. |
I'm guessing that you don't use negative integers much. |
|
Martin is lucky that he wasn't relegated to "forth-rate status", because then he might have to use the Forth language.
|
Re: For Whom the BEL Tolls
2012-07-02 14:30
•
by
JJ
(unregistered)
|
Ouch. |
Re: For Whom the BEL Tolls
2012-07-02 14:46
•
by
Kenny Akridge
(unregistered)
|
|
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?
|
Re: For Whom the BEL Tolls
2012-07-02 14:57
•
by
Daily C# Codemonkey
(unregistered)
|
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". |
"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. |
| « Prev | Page 1 | Page 2 | Page 3 | Next » |