Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Just goes to show though, when it's an Open Problem, the best way to solve the problem is commercially.

    i.e. It still sucks, but because nobody could maintain the energy to do an Open Source solution, the commercial version lives on, while any Open Source attempt dies :)

    Of course, it will still suck...
    • What's really weird is that Soulver uses bc behind the scenes to do its math. I don't really know why. Possibly for high precision, or to take care of variables. It seems like a weird decision, but maybe there's a good reason. This makes me think that this works by applying a series of naive transformations to every line to convert it to bc.
  •   Q: sum of 1, 2, and 3
      A: 6
      ?: wrong!

    What would you expect the sum of those numbers to be?

    • Six! Whoops. I clearly zoned out while writing this. Here are some more stupid "plain English" examples:

        Q: sum of 5, 6, and 7
        A: 18
        ?: right!
        Q: sum of five, six, and seven
        A: (none)
        ?: useless
        Q: sum of five, 6, and seven
        A: 6
        ?: wrong
        Q: sum of five, s1x, and seven
        A: 0.8414709848
        ?: okay, I typoed; what happened?

      What did happen there? s, 1, x, and s1 are all (no reply). 1x is 1. s1x gets that small nu

      • Googling revealed that 0.8414709848 = sin(1)
        • Wow... just...

          Q: s1
          A: (no answer)
          Q: sin 1
          A: 1
          Q: sin(1)
          A: 0.0174524064
          Q: s1x
          A: 0.8414709848
          Q: s2x
          A: 0.9092974268
          That's the right sin(2) for s2x, there. The answer for sin(1) is for 1 degree. The one you gave is for one radian.

          No idea.
          • This was good for a good out-loud laugh this morning. Thank you. :)

            J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
  • By the way, you *can* define functions, like: cube root(x) = x^(1/3)

    This is annoying because not all transformations are visible as built-in functions. Some are "word operators," like "root" which becomes the sqrt operator, leading to the "cube root of 9" resulting in sqrt(9) instead. Word operators are displayed in global prefs. Function defs are on the document window, but they're still global: my finger slipped and I deleted a built-in function and I can't see a way to get it back, short of reinstalli
  • It's kind of funny. If some Perl developer used to the CPAN/Acme conventions wrote such a software, that he admittedly knew that didn't work right but that was supposed to be amusing, it would be appropriate for an Acme module. Instead, they sell it. Wow! that's making money of an amusement (only pleasing for commercial owner's sake and not for user's sake).