- 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
A true DIY engine. Nice.
Admin
So, does the DIY calc engine track and regurgitate prior responses? (haven't downloaded it yet) Or does it simply prompt the user for the answer every time you use the calculator?
Admin
It simply prompts the user each time.
Of course this calculator is extensible (not sensible) so if you wanted it to track, you could write your own extension and add it to it's library.
Admin
Nice top 12!!!
Admin
If I recall correctly, one of the other entries had a database back-end pre-populated with ONLY the test case values. Any other query resulted in a prompt, and the answer was added to the database. So each (unique) question only has to be added once. Better not get it wrong, though!!
Nice that we could add this variation to the ExtensibleCalc. Or I suppose we could just call it directly!
Admin
Several finalists have the ability to call out in some way, but this is the only one explicitly designed to call out to other contest entries. Can any of the others be coerced into calling other contest entries, and if so how large an unnecessary ziggurat of computation can be made? FilesystemHashmapNotepad could call another entry if the other entry takes keystrokes and supports the clipboard, do any do that?
Admin
Ten DLL's? Impressive.
It would be even funnier if it had to automatically download updates before it could run. I'm surprised none of the candidates took this approach...
"It looks like you're trying to multiply two real numbers. This functionality requires installation of Service Pack 2. Would you like to download and install it now?"
Admin
"The ExtensibleCalc’s author, James Ng, is a Singaporean native and currently lives in Canada. His day job as an embedded software engineer has him editing (and occasionally adding) anywhere from zero to ten lines of code each day. involves
Your loss, James."
Sentence flow? The intro to the response seems to have been replaced with "involves".
Admin
"WARNING: Subtracting a larger number from a smaller will require the use of negative numbers, which are supported only by Service Pack 3delta. Please click OK to close, Cancel to Accept, or FileNotFound to download and install this upgrade."
Admin
I think I just pissed myself from laughing...
Admin
This sure has been fun. And provides a little break for Alex. Let's do this again!!!!
Admin
And having updates overwriting each other making it nessesary to download and install updates again
"WARNING: Subtracting a small number from a larger will not require the use of negative numbers. It seems that you have support for negative numbers, so Service Pack 3delta has to be uninstalled before continuing. Please click OK to close, Cancel to download something and uninstall the Service Pack, or FileNotFound to Accept"
Admin
Nullity... that's a WTF all its own.
Admin
So what happens if you're using the User Calculation Engine and choose Skip Question?
Admin
The only calculator that can handle math if 1+1 = 4 next week.
Award that prize, contest over.
Admin
There is nothing wrong with code being object oriented. I would do calc this way: public interface ICalc { void InjectNumberPress(int number); void InjectDividePress(); void InjectMultiplyPress(); void InjectMinusPress(); void InjectPlusPress(); void InjectEqualsPress(); void InjectPercentPress(); void InjectInversePress(); void InjectBackspacePress(); void InjectCePress(); void InjectCPress(); void InjectCommaPress(); void InjectPlusMinusPress(); void InjectSqrtPress(); string CurrentNumber { get; } event EventHandler<NewNumberEventArgs> NewNumber; } Then a plugin could at least add bignum support.
Admin
"This is the twelveth article in a twelve-part series that discusses the twelve finalists"
..I bet 10$ that the article was submitted at 12:12pm
Admin
i would rather bet $12 ^_^
Admin
"Please help us improving the acurasies of our calculations to be letting us know what you think of replies of other users. Your responses are valuable to us. "We've been told that: 1+2=4 "Please to select agree? " 1* - The person who told you this is an arrogant jerk who can't add to save his life, and who was probably trolling anyway " 2* - I think this is wrong, and want to moderate it down " 3* - I don't know; this arithmetic stuff is hard, is there a class I can take on it? " 4* - I believe this to probably be correct " 5* - I would recommend this calculation to others"
Or something like that...