- 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
I would say that they were paid by line of code, but they adroitly used a single line of code to set the tens place.
Admin
anyone notice the 70 range is different to the rest? 13 + (2 * i) + i vs 13 + (2 * i)
Admin
Oh such a simple refactor.....
Admin
Oh such a simple refactor.....
Admin
Ah so there's the bug! Been hunting for this (and billing the customer for my time) for three weeks!
Admin
Wot - no unicorns?
Admin
And there's the fact that 2i + i is the same as 3i
Admin
Well to be correct is SHOULD be the same, but if someone has made something evil like playing around with the * or + operators, bets are off as to if the result is the same... It is not clear if the i variable is a normal int (which I hope) or some object that emulates an int and where operator overloading could make life 'interesting' evil grin
Admin
sprintf(FilePutName+13, "%2d%2d", VersionNumber[0], VersionNumber[1]);
True, my version adds a machine zero after the fourth byte. But my version is much shorter.
Admin
I am exceptionally satisfied to see this article of property protection, thank you for sharing. I trust next the truth will surface eventually better. Spiderman Homecoming Jacket
WTH is a "homecoming jacket"?
Admin
Anyone noticed that version {1,1} and version {10,10} both give "<filename> 1 1" as output? (same for {2,2} and {20,20} etc)
Admin
grmbl. formatting got messed up, but you get the idea
Admin
Keep looking mate, it's there.
Admin
Thanks for the site it's one of the highlights of my day. I think "tho" should be "to" in "They are just paid tho write the code, not maintain it. ".
Thanks again!
Admin
They are just paid to write the articles, not maintain them.
Admin
What we have here... is a failure to cogitate.
Admin
@PlanB No, they don't.
Actually {1,1} gives "X1.X1", where as {10,10} gives "1X.1X". The part you don't see, is that "FilePutName" is actually already intialized as "IrrelevantGarbage_00.00", so {1,1} actually becomes "01.01" and {10,10} becomes "10.10".
Admin
Anyone noticed that 90. 80 70 etc. are not handled in the case statements?
Admin
Ah, good find. Missed that...
Admin
And when they go past 99 on any of those unsigned shorts it looks like Groundhog Day.
Admin
It is now. Wasn't when I first posted.
Admin
Shouldn't that be "Attack of the the "i" Creatures"?
Admin
Using 'view source' or similar helps.
Although I am not sure what the point of hiding unicorns and rainbows in the HTML is...
Admin
A homecoming jacket is a jacket bought to celebrate an American highschool football game played after a long string of games played at other high schools.
Admin
I wonder what a Venn diagram of these coders and our local friendly spammer would look like.
Admin
To be fair to the author of the code.
2i + 1 is only = to 3I where i = 1
Admin
I saw saw what you did, there.