• Probably not first (unregistered)

    A true DIY engine. Nice.

  • (cs)

    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?

  • (cs) in reply to BradC
    BradC:
    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?

    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.

  • (cs) in reply to KattMan
    KattMan:
    BradC:
    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?

    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.

    Whoa. WTF of epic proportions!!

    Nice top 12!!!

  • (cs)

    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!

  • random reader, first time poster (unregistered)

    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?

  • RogerN (unregistered)

    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?"

  • (cs)

    "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

    Heck no! My Windows Calculator is invaluable because I need to convert between decimal and hex regularly, and to calculate offsets for memory maps and such.
    

    Your loss, James."

    Sentence flow? The intro to the response seems to have been replaced with "involves".

  • (cs) in reply to RogerN
    RogerN:
    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?"

    Heh, that's be cool. An "install on demand" for each new calculation type.

    "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."

  • (cs) in reply to BradC
    BradC:
    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."

    I think I just pissed myself from laughing...

  • (cs)

    This sure has been fun. And provides a little break for Alex. Let's do this again!!!!

  • plazm (unregistered) in reply to BradC
    BradC:
    RogerN:
    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?"

    Heh, that's be cool. An "install on demand" for each new calculation type.

    "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."

    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"

  • o_0 (unregistered)

    Nullity... that's a WTF all its own.

  • Caleb (unregistered)

    So what happens if you're using the User Calculation Engine and choose Skip Question?

  • Kinglink (unregistered)

    The only calculator that can handle math if 1+1 = 4 next week.

    Award that prize, contest over.

  • ttt (unregistered)

    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.

  • Aleksis (unregistered)

    "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

  • gonchuki (unregistered) in reply to Aleksis
    Aleksis:
    "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

    i would rather bet $12 ^_^

  • dkf (unregistered) in reply to BradC
    BradC:
    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!!
    We could make it more "Web2.0"-y by asking users to vote on whether they would accept some random calculation submitted by someone else...

    "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...

Leave a comment on “OMGWTF Finalist #12: ExtensibleCalc”

Log In or post as a guest

Replying to comment #:

« Return to Article