Slashdot Mirror


Microsoft's OOXML Formulas Could Be Dangerous

hill101 writes "According to Rob Weir's blog, Microsoft's 325-page OOXML specification for spreadsheet formulas is deeply flawed. From basic trigonometric functions that forget to specify units, to statistical functions, to critical financial functions — the specification does not contain correct formulas that could possibly be implemented in an interoperable way. Quoting Mr. Weir: 'It has incorrect formulas that, if implemented according to the standard, may cause loss of life, property, and capital... Shame on all those who praised and continue to praise the OOXML formula specification without actually reading it.'"

71 of 360 comments (clear)

  1. EULA? by Anonymous Coward · · Score: 5, Funny

    if implemented according to the standard, may cause loss of life, property, and capital...

    Didn't you read your Office EULA?

    Microsoft specifically disclaims any damage relating to loss of life, property, or capital.

    1. Re:EULA? by setagllib · · Score: 2, Interesting

      Precisely because it's so likely with Microsoft products. If they didn't disclaim it they'd be in serious trouble. Disclaiming doesn't make it a non-issue though.

      --
      Sam ty sig.
    2. Re:EULA? by jeffasselin · · Score: 2, Interesting

      Well, here in Quebec at least, such provisions are illegal and software manufacturers can and have been held responsible for the reliability and functionality of their products.

      --
      If he explores all forms and substances Straight homeward to their symbol-essences; He shall not die.
    3. Re:EULA? by trianglman · · Score: 2, Insightful

      Actually, in the US, many provisions in most EULAs are illegal and not considered valid. I don't know specifically about the "no liability" clauses, but I do know that in somewhat related cases, warnings do not remove a company's liability (i.e. wet floor signs aren't protection against a company being sued when a customer falls on said wet floor). I personally don't see why holding a company liable for damage caused by their software is a bad thing. It might get us software that will actually work...

      --
      Clones are people two.
  2. Impartial reviews by KiloByte · · Score: 5, Funny

    Shame on all those who praised and continue to praise the OOXML formula specification without actually reading it.
    To the contrary, they have all carefully read the checks they received.
    --
    The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.
    1. Re:Impartial reviews by VirusEqualsVeryYes · · Score: 5, Funny

      Not to be a grammar Nazi, but

      1. "not" should be capitalized;
      2. "nazi", as a proper noun, should be capitalized;
      3. "words" should be singular, as you are referring to one single word, "check";
      4. "im" should be capitalized and spelled with an apostrophe;
      5. there should be a period after "mistake"; and
      6. "cheque" is, if not only the British spelling, interchangeable with "check" -- in an international forum such as the Internet, both are acceptable.

      Please surrender your club card at the next meeting. Have a nice day.

    2. Re:Impartial reviews by armb · · Score: 4, Informative

      > While I fully agree that the rules of English are screwed up, you need to put your trailing comma before the closing quote

      That's the rule for American English. British English is often more logical.
      http://grammar.ccc.commnet.edu/grammar/marks/quota tion.htm
      http://www.catb.org/jargon/html/writing-style.html

      --
      rant
  3. So? by ColaMan · · Score: 3, Insightful

    .....if implemented according to the standard, may cause loss of life, property, and capital..

    Pffft....as if this has ever been much concern to software manufacturers before.

    Every EULA has boilerplate text denying all responsibility , and you'd be mad to trust any results from software implicitly. Double check it yourself , even if it's just a few corner cases.

    --

    You are in a twisty maze of processor lines, all alike.
    There is a lot of hype here.
    1. Re:So? by erroneus · · Score: 4, Insightful

      A user NOT trusting his tools is a very strange thing. If it were some sort of software engineer doubting software tools, that's one thing and it's somewhat expected. But in general:

      * We trust all hand tools like wrenches and sockets to be exactly the size on the label
      * We trust all of our doctor's opinions whether or not a second opinion is recommended
      * We trust our math applications to do math properly
      * We trust our spell checkers to check properly

      In general, we trust the things we by to work as expected... as advertised. (No, I haven't seen Excel advertised to be accurate, but in a math application, it's implied by its very existence) So to say that you should re-check the results by hand is not just ridiculous, it would never happen.

      I remember when the Pentium processor first came out and there was this math error in there somewhere. It was a BIG deal.

      But before passing too much judgment on this too quickly, a little verification of the bugs might be helpful and let's mark our calendars to see how fast Microsoft fixes the problem... oh wait, the problem is said to be in the file specification? What does that mean if they update the format specification with regards to their ISO certification?

    2. Re:So? by tsa · · Score: 2, Insightful

      In general:

      * We trust all hand tools like wrenches and sockets to be exactly the size on the label


      OK, I'm with you here.

      * We trust all of our doctor's opinions whether or not a second opinion is recommended

      I guess you have a good health and don't see doctors often, or you would never say this.

      * We trust our math applications to do math properly

      Really? I live in a scientific environment and I've never seen a colleague who put his/her full trust in a mathematical program.

      * We trust our spell checkers to check properly

      You're joking, right?

      I myself never trust anything fully, especially if it's capable of doing more than one specific thing. Even if it doesn't have design flaws, it can break or be used in a way it wasn't meant to be used for.

      --

      -- Cheers!

    3. Re:So? by spottedkangaroo · · Score: 2, Funny

      Every EULA has boilerplate text denying all responsibility

      I can't believe this is still happening... Imagine, for example, that your kitchen range or your kitchen table or your window AC unit came with such a document?

      --
      Imagine if you weren't allowed to use roads because a bus company complained about your driving 3 times. --skunkpussy
    4. Re:So? by ericrost · · Score: 2, Insightful

      "* We trust all hand tools like wrenches and sockets to be exactly the size on the label"

      Well, technically we trust our hand tools to conform to the nominal size specifications that go along with the size on the label and thus interface correctly with any connector that also conforms to that nominal size specification.

      A 3/8" wrench is not 3/8" EXACTLY, it is some close approximation of 3/8" toleranced such that a correctly toleranced bolt that is a close approximation of 3/8" is guaranteed to be smaller (in the case of a hex head bolt).

      Just your friendly neighborhood mechanical engineer. :)

  4. Typical Microsoft... by QuietLagoon · · Score: 4, Insightful
    ... put out garbage into the marketplace, and then wait for the customers to do the quality assurance work that Microsoft should have done.

    The trouble is that the politicians standardizing on this spec will look only at its length and declare it to be good. Maybe Microsoft made the specification long with that intent in mind.

  5. Meaningless statement by Anonymous Coward · · Score: 3, Insightful

    Shame on all those who praised and continue to praise the OOXML formula specification without actually reading it.

    What percentage of those who praise ODF specifications actually read it? Or any other specification? I would imagine it is a small percentage.

  6. Surprised? by JohnFluxx · · Score: 3, Insightful

    I doubt anyone is surprised. How can you possibly fast track a 325 page document, giving the public only a time amount of time to check it, then expect it to be perfect.

    Man, I really really get annoyed at Microsoft.

  7. I WISH it was that "good"... :-( by BerntB · · Score: 2, Informative

    Just another product that's supposed to mature after extensive paying-user-beta-testing.

    I wish it was that "good". :-(

    The OOXML spec seems to be a dump of the MS Office data formats, so it should already be decades old. But sure, let us not assume malice when stupidity will suffice as explanation. I mean, we don't speak about condemned criminal here, do we? Oh, wait...

    --
    Karma: Excellent (My Karma? I wish...:-( )
  8. Re:Confused? by Goffee71 · · Score: 2, Funny

    Microsoft to prostitution in ten posts, is that a record?

    --
    If he's the Walrus then can I be a penguin please?
  9. Proof that open formats are a good idea? by moosesocks · · Score: 5, Interesting

    I don't know about you, but I view this as being a very GOOD thing.

    Because the format was an "open" standard, the serious flaws present in the format were quickly and correctly identified by third parties outside of Microsoft.

    If it had been a trade secret, it could have been bundled into a product, and assumed to be reliable by its users. Instead, it's been exposed for what it is.

    If anything, this proves that open formats are a good idea.

    --
    -- If you try to fail and succeed, which have you done? - Uli's moose
    1. Re:Proof that open formats are a good idea? by Rakshasa+Taisab · · Score: 4, Interesting

      MS pretty much seems to have cut-n-pasted their MSOffice help files and decided to call that a 'standard'. Only thing good about it, is that it will make ISO be so much less willing to ratify their standard. If you look at their CEILING definition, as linked in the article's comments, it is so unprofessionally written you'd wonder at the size of EMCA's checks.

      --
      - These characters were randomly selected.
    2. Re:Proof that open formats are a good idea? by Karellen · · Score: 3, Insightful

      Oh, I definitely agree that open formats are a good idea, and that this does show one very good reason why.

      But, the point is that MOOXML is a shitty open format. It was written in a closed environment, without a decent review by anyone, in 1/20th the time you'd expect a spec of that size to take, and is being put on a "fast-track" process to ISO which means - if it goes through - it will never have had a proper review by anyone.

      Yes, having the format be open is a good thing.

      But this format is utter crap, on many different levels. It's size, complexity, inconsistency, bugginess, NIH-iness, reliance on Win32, etc., etc., etc.... make it completely unsuitable to be ratified as an ISO standard.

      When you're turning something into an international standard, you want to take your time and get it right. That's what the standardisation process should be about. Creating something usable by as many parties as possible. MOOXML fails completely here.

      Yes, I'm in favour of them opening their document formats. I wish they'd release updated documentation for the binary .doc format as well, usable by anyone (last I checked there was a "you must agree not to use this information to create products that compete with office" clause in the (outdated) documentation download) so that people could interoperate with those formats on non-Windows platforms. But do I wish for the binary .doc format to be an international standard? Hell no!

      --
      Why doesn't the gene pool have a life guard?
    3. Re:Proof that open formats are a good idea? by mikeb · · Score: 2, Interesting

      "You could find similar problems in virtually all specs" Well I would like to see your evidence of that! Having worked on the the original C standard extensively and done a fair bit of work on the C++ standard, I find it rather annoying that an unsubstantiated statement like this is trotted out.

      In the standards committee it was typical to find 50 people in a room reading *each* *single* *word* of the draft standard and arguing for hours over a single line - 8 hours a day for five days at a stretch. Immense attention to detail was spent on considering every possible interpretation of the words and wrangling over the best and most precise, unambiguous way to define what the standard was supposed to mean. The fact that the original C standard passed through almost unmodified (though slightly extended) in its later version is testament to all that work. Typically the people who work on standards committees put in vast amounts of effort to avoid precisely the lameness that TFA's article refers to. Seriously - not to specify whether SIN uses degrees or radians is inconceivable for an ISO standard.

      Bill Plauger in particular did Trojan amounts of work on the C libraries to avoid dumb mistakes of those kinds.
    4. Re:Proof that open formats are a good idea? by bjourne · · Score: 2, Interesting

      Well I would like to see your evidence of that! Having worked on the the original C standard extensively and done a fair bit of work on the C++ standard, I find it rather annoying that an unsubstantiated statement like this is trotted out.

      If you have been involved in drafting the C standard then you should be aware of the list of defect reports. You should know that it is almost impossible to precisely specify every single detail that a normal working human would naturally assume.

      The standard is far from complete in the sense that a literal and mechanical interpretation of it won't produce a working C compiler. You still need a human to fill in the gaps and to guess the trivially sane assumptions. Also remember that C standard is a much simpler thing to specify than the file format for an office suite. And yet it takes, as you say, 50 people in a room reading every single word.

      And for the record, I work with implementing and testing JSR:s. They also contain goatse-sized holes, which is why the JCP requires reference implementations because specs never specify everything they need to specify.

    5. Re:Proof that open formats are a good idea? by mikeb · · Score: 2, Interesting

      At face value, the list of defect reports might be assumed by a naive reader to suggest that the C standard is full of holes and would metaphorically never float. In fact on rereading it, I think that in the main it supports my point :)

      Any standard that's intended for human readership will suffer precisely because it's written for humans. Attempts to use formal specifications (perhaps denotational semantics or something like 'Z') haven't really caught the public imagination though it would have been interesting to try. I'm sure I remember that being discussed tangentially during one of the boozy degenerations of an ANSI meeting after a long day of wordsmithing circa 1985.

      Maybe it was a typo that italicised the 'If' in 'If you have been involved' .. my track record in involvement in the ANSI standard for C is well known for those who care to look. For those who don't, ISBN 978-0201544336 and http://publications.gbdirect.co.uk/c_book/ may assist.

      Sadly I'm also caught up in the mire of OOXML fast-track reviewing as a member of the British Standards Institute's panel. There are some very serious questions to be raised about just what can be done with a document that's so big. It probably took hundreds of staff-years of work in total to produce something as short as the C standard. Where does the effort come from to review and QA something so very much bigger?

  10. Congress as role-model? by JonTurner · · Score: 5, Funny

    >>How can you possibly fast track a 325 page document, giving the public only a time amount of time to check it, then expect it to be perfect.

    Damned if we know.
    Signed,
    The US Congress

  11. Just want to point out... by Anonymous Coward · · Score: 2, Informative

    The trig functions take arguements in radians, and the arctrig functions return radians. This doesn't ever need to be said - it's goddamn assumed by anyone who knows what they are doing. Unless degrees are specifically mentioned, you always assume it's radians. ALWAYS. I might as well complain that when I press the pi button on my calculator it outputs a number but doesnt specify whether it's in base10 or something else...

    If someone thinks that these functions even MIGHT work with degrees, than they should NOT be implementing them for anything that might cause the "loss of life, property, and capital". Leave the important stuff like that to professionals.

    1. Re:Just want to point out... by Xiaran · · Score: 3, Insightful

      The problem is that we are talking about a proposed international standard and you are using the phrase "it's goddamn assumed by anyone...". There should ideally be *no* assumptions in a stadard... it needs to be as clear and accurate as humanly possible. Remember that once a standard is published it is translated into many laguages and possibly implemented in different cultures as mentioned in TFA. What you assume to be obvious may or may not be obvious to others.

  12. And proof that single-ownership is bad by Anonymous Coward · · Score: 4, Interesting

    Now that MS are the only ones who are allowed to change the standard, we must

    a) wait until MS change the standard
    b) then progress it through the "approvals" procedure
    c) find out again if there are any problems (and go back to a)
    d) implement these changes

    And when it comes to WordSpacingLikeWord95 or whatever, how has this being "open" helped? People have asked what it means and been told nothing useful.

    Oh, and doesn't this show that if MS had opened up the standard for perusal BEFORE filing it (like ODF did), wouldn't we have avoided this problem?

  13. Yeah, I'm sure this guy is objective by WalterGR · · Score: 2, Insightful

    Who is the author, Rob Weir?

    I work for IBM, as a performance architect, as well as on various ODF technical topics. (source)

    So a guy working on a different document format, for a company who competes with Microsoft, has unkind words? Color me shocked.

    OOXML defines spreadsheet formulas, and ODF doesn't. The Microsoft boosters have been parroting the party line for quite some time.

    Uh... ODF doesn't define spreadsheet formats. There's no standard for spreadsheets in ODF. How is that "parroting the party line?"

    1. Re:Yeah, I'm sure this guy is objective by january05 · · Score: 5, Insightful

      ODF will define spreadsheet formulas, in the next version. And come on, the "IBM conspiracy" take from MS is really lame since OOXML is the one with proprietary patented extensions. I'll take any open standards company I can get, personally.

    2. Re:Yeah, I'm sure this guy is objective by topham · · Score: 3, Interesting

      Parroting the party line is promoting the fact that it has formulas as showing it is superior to ODF when the formula specification is next to useless because it wasn't reviewed properly.
      If you read the article it isn't a cople of minor mistakes which can be corrected; it's a number of mistakes which have already made it past a review stage.

    3. Re:Yeah, I'm sure this guy is objective by jkrise · · Score: 2, Insightful

      So a guy working on a different document format, for a company who competes with Microsoft, has unkind words? Color me shocked. A competitor has a vested interest in exposing short-comings of his competition. So an IBM employee is the best critic of a competing Microsoft product. Why is this hard to understand? Why not criticise the views expressed, rather than the person he is OR his employers?

      As for spreadsheet formats not being defined in ODF - it isn't a big deal, and the alliance seem to be working on the issue, in any case. A wrong formula is infinitely worse than No Formula.

      I wonder what your vested interest is... your lack of a meaningful response and indulging in mud-slinging appears very deceptive, and your motives - suspect.

      --
      If you keep throwing chairs, one day you'll break windows....
    4. Re:Yeah, I'm sure this guy is objective by WalterGR · · Score: 2, Insightful

      I wonder what your vested interest is... your lack of a meaningful response and indulging in mud-slinging appears very deceptive, and your motives - suspect.

      I'm a Microsoft shill. They pay me a ton of money to post on /. because they know that maybe - just maybe - all it will take is one more post in their favor to convert the unfaithful.

      Seriously? Come on dude. This entire story is more-of-the-same get-the-crowd-riled-up /. click-fodder. But if you want to make a show of it...

      So an IBM employee is the best critic of a competing Microsoft product. Why is this hard to understand?

      My post pointed out that the guy isn't objective. Then it proceeded to give an example of using the pejorative "parroting the party line" for merely stating a fact. That's it.

      As for spreadsheet formats not being defined in ODF - it isn't a big deal, and the alliance seem to be working on the issue, in any case.

      A lack of spreadsheet formats is a big deal if, for example, you want to create a spreadsheet.

      I prefer to comment on stories and not my rhetorical technique, so I won't be watching for responses to this post. If you'd like to discuss it further, feel free to e-mail me at waltergr@aol.com.

  14. Surely we all saw this coming by bersl2 · · Score: 2, Interesting

    While I think that the "loss of life, etc." part is a bit overboard, since nobody builds a mission-critical system on top of Excel (or do they...), I do think that the criticism is appropriate.

    Anybody keeping a comprehensive and up-to-date list (or list of lists) of specific things that are wrong with OOXML? I see a bunch of scattered ones here and there. Of course, I've also wished there were a comprehensive list of specific "bad" things that MS has done; it would make demonstration of their unscrupulousness that much easier.

    1. Re:Surely we all saw this coming by RuBLed · · Score: 2, Informative

      My dear friend, I am quite sure that at the very least, you are not a reader of http://worsethanfailure.com/ There's still hope and time for those who are yet to be welcomed to the fold. My friend, read and be enlightened...

    2. Re:Surely we all saw this coming by simong · · Score: 4, Informative

      Depends what you call mission critical. Excel was used in voting systems in the Scottish and local elections in the UK this year, and Diebold's GEMS system uses Access as a database. High tech indeed.

  15. Not a good thing, because it is not a free format. by master_p · · Score: 2, Insightful

    It may be open, but it is not free, i.e. the required changes can not be done by third parties or by a committee and then used by Microsoft. Microsoft wouldn't do anything that would hurt its embrace and extend business model, and OOXML follows that logic as well(it's so huge and flawed that no one dares using it).

  16. Deeply Flawed Spreadsheet Formulas? by phalse+phace · · Score: 2, Funny

    Billg: "That's the dumbest fucking idea I've heard since I've been at Microsoft."

  17. I never understand why people complain so much by pembo13 · · Score: 3, Insightful

    Let MS do exactly what they want, they seem quite successful at it, if it bites them in the butt, so be it. I would just like our own software freedoms to be preserved. I have no intention on producing anything with their format, I'm sure I'll eventually have to read it, but the chances that the receiver of a document is liable for inaccurate content within that document seems very low.

    What is the motivation, since I'm sure there must be a good one, to do this free work for MS?

    --
    "Thanks for all the money you paid to us. We've used it to buy off ISO among other things" -Microsoft
  18. Implied warranty - fit for the purpose by QuestorTapes · · Score: 5, Interesting

    > ...in general:
    >
    > * We trust all hand tools like wrenches and sockets to be exactly the size on the label
    > * We trust all of our doctor's opinions whether or not a second opinion is recommended
    > * We trust our math applications to do math properly
    > * We trust our spell checkers to check properly
    >
    > In general, we trust the things we by to work as expected... as advertised.

    http://www.oandp.com/edge/issues/articles/2006-08_ 06.asp

    http://www.brajeshwar.com/finance/insurance/Liabil ity-Insurance.html

    These links refer to the concept you're talking about. The second refers to the UK Consumer Protection Act, but the concept is general and fairly well accepted. From the first link:

    "...any product that is sold comes with an implied warranty of merchantability and fitness for a particular purpose; and, just by selling a product, a seller is implicitly promising that: (1) the product is merchantable, i.e., fit for the ordinary purposes for which such products are to be used, provided that the seller is in the business of selling products of that kind; and (2) the product is fit for a particular purpose, provided that the seller, at the time of sale, knew the particular purpose for which the product was required, and the buyer relied upon the seller's skill or judgment in selecting a suitable product for that purpose."

    This hasn't been successfully applied to software cases like this, but the issue hasn't be ruled out either. But it's hardly a stretch to expect that software such as a spreadsheet comes with an implied warranty that ordinary financial and statistical calculations are properly performed.

  19. Microsoft can't code by BillGatesLoveChild · · Score: 4, Interesting

    > From basic trigonometric functions that forget to specify units

    Amazing. That's the sort of mistake you'd expect from a First Year Computer Science Major, but not from a Second Year. This isn't the first time Microsoft have done this. Even for the Windows API, the code trumped the documentation. The best way to find out what a feature did was to write test programs to poke at it. Heck. Until recently DirectX needed three pages of goobleydo-gook to start up. These people just don't get APIs, period.

    In Microsoft Visual Studio when you press F1 Help it comes up with a list that includes "How to Write Good Code". Yes, by Microsoft. Even in the early hours of the morning, it gets a smirk if not a gufaw or a laugh. Microsoft are not good programmers. Haven't been for a long time. Anyone worth their salt will launch a Start Up, or at least join a company offering reasonable growth and prospects. Microsoft is like a Pyramid Scheme. The people that joined at the start did very well. As for the people that joined late... not a chance. Which makes you wonder about the ones that joined anyway. Read the Book "Microserfs".

    > Ecma

    Why didn't Ecma pick it up? These Standard Bodies are in-name only. When a "Member" wants to push something through, it gets pushed through. Then the Member's sales reps can go to the Government body and say "Look! We have an Ecma approved Standard" and t he Government worker ticks the "Uses Industry Standards" box on the tender.

    One of the funnier "standards" was a simulation standard called HLA. It was approved before anyone had built a proof of concept. People bet their careers on it and the whole government was ordered to embrace it. The only problem: When they finally built it, it didn't work. *OUCH!*

    1. Re:Microsoft can't code by clickety6 · · Score: 2, Informative

      LOGO

      Example 1: a square

      FORWARD 100
      LEFT 90
      FORWARD 100
      LEFT 90
      FORWARD 100
      LEFT 90
      FORWARD 100
      LEFT 90

      --
      ----------------------------------- My Other Sig Is Hilarious -----------------------------------
  20. no units ... by Anonymous Coward · · Score: 2, Insightful

    From basic trigonometric functions that forget to specify units/i?

    Trignometric functions are unitless to begin with. They are ratios.

  21. Article on BBC by H4x0r+Jim+Duggan · · Score: 2, Informative

    The BBC have published an article by FSFE also explaining the general problems of MS's non-open OOXML format (and proprietary formats in general).

  22. Shame?! by krygny · · Score: 5, Insightful

    "Shame on all those who praised and continue to praise the OOXML formula specification without actually reading it."

    Reminds me of something I once heard a congressman rationalize in reference to a bill he just voted for containing several lame provisions (many with which he did not even agree): "Do you have any idea what reading a bill like that would entail?" I do. It would entail you doing your fucking job.

    --
    Research shows that 67% of those who use the term "research shows", are just making shit up.
  23. Re:Ok, but... by jkrise · · Score: 4, Insightful

    Someone failed the math class where they explained that an angle is a "dimensionless derived unit" . Explaining, short version for the clicky-impaired: angles are the ratio between two measurements of length -- the length of an arc and the radius of said arc.
    It got off to a bad start. Technically that may be correct, but in reality, it is very common and practical to express angles in degrees. So, sin(30) = 0.5 and tan(90) = 1. Memorising the values of sin, cos and tan for 0, 30, 45, 60 and 90 degrees is a de-facto requirement to solve trig. problems in high school. Does Microsoft expect students to relearn all these convenient derievd units in radians, and go mad?

    A document standard is a practical necessity to express everyday ideas in a readable format. Not to be technically accurate and practically useless. Try typing HCl + NaOH --> NaCl + H2O in Office, and watch yourself breaking the monitor.

    --
    If you keep throwing chairs, one day you'll break windows....
  24. Re:Ok, but... by itlurksbeneath · · Score: 3, Insightful

    Dimensionless or not, in the real world (i.e. not in math class - and you really have to pick one way in math class, too), you have to pick one system of representing it and use that to send to your functions (see sin() as an example).

    That Wikipedia page you referred to us using the derived unit of "radians". There are a couple of different ways to represent that number - degrees, radians, grads. Hell, anybody that's ever used a calculator knows you have to use just one of those systems for your particular calculator.

    Nice try, but do a little more research before posting and blasting somebody's article with illogical arguments.

    --
    Have you ever considered piracy? You'd make a wonderful Dread Pirate Roberts.
  25. Guess what? by sid0 · · Score: 3, Informative

    Type in =SIN(30 degrees) if you want degrees. I'm sorry, Excel doesn't pander to high school students. In the real world, when the sine of an angle is mentioned, it is SUPPOSED to be radians. Every programming language I know accepts arguments for trig functions as radians.

    The article, or at least this part, is FUD.

    1. Re:Guess what? by kryten_nl · · Score: 3, Insightful

      Just because a certain feature is the de facto standard, doesn't mean it shouldn't be included in a standards document to combat ambiguity.

      Btw, comparing Excel (Excel users) to a programming language (programmers) is a stretch at best.

      --
      For the perfect anti-Unix, write an OS that thinks it knows what you're doing better than you do and let it be wrong.
    2. Re:Guess what? by azrider · · Score: 5, Informative

      Touche on the high school part, forgot about that. :) The main customers are of course still enterprises. I still think the default argument should be radians.
      Who cares whether the default argument is degrees or radians. Two things are missing from the quoted "specification" document:

      1: What is the default argument

      2: Is the specification consistent across all functions which use this type of value as an argument

      A specification which conforms to neither proper or common usage is worse than no specification at all

      This is what Rob Weir was saying.

      --
      And ye shall know the truth, and the truth shall make you free.
      John 8:32(King James Version)
    3. Re:Guess what? by Hoi+Polloi · · Score: 4, Informative

      The number 360 isn't arbitrary. It stems from mesopotamia and the need to represent numbers as fractions. People needed a number that could be divided by 2, 3, 4, 10, 12, etc easily in one's head yet big enough to provide small fractions.

      From wikipedia:

      "The number 360 as the number of 'degrees' (i.e. smallest practical sub-arcs) in a circle, and hence the unit of a degree as a sub-arc of 1360 of the circle, was probably adopted because it approximates the number of days in a year. Its use is often said to originate from the methods of the ancient Babylonians. Ancient astronomers noticed that the stars in the sky, which circle the celestial pole every day, seem to advance in that circle by approximately one-360th of a circle, i.e. one degree, each day. Primitive calendars, such as the Persian Calendar used 360 days for a year. Its application to measuring angles in geometry can possibly be traced to Thales who popularized geometry among the Greeks and lived in Anatolia (modern western Turkey) among people who had dealings with Egypt and Babylon.

      Another motivation for choosing the number 360 is that it is readily divisible: 360 has 24 divisors (including 1 and 360), including every number from 1 to 10 except 7. For the number of degrees in a circle to be divisible by every number from 1 to 10, there would need to be 2520 degrees in a circle, which is a much less convenient number.

      Divisors of 360: 1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 18, 20, 24, 30, 36, 40, 45, 60, 72, 90, 120, 180, 360"

      --
      It is by the juice of the coffee bean that thoughts acquire speed, the teeth acquire stains. The stains become a warning
    4. Re:Guess what? by DrXym · · Score: 2
      Type in =SIN(30 degrees) if you want degrees. I'm sorry, Excel doesn't pander to high school students. In the real world, when the sine of an angle is mentioned, it is SUPPOSED to be radians. Every programming language I know accepts arguments for trig functions as radians.

      That's a ridiculous thing to say. We are talking about a specification that applications are meant to IMPLEMENT, not second guess. If a function takes radians it should just say it.

    5. Re:Guess what? by mgv · · Score: 2, Funny

      Type in =SIN(30 degrees) if you want degrees. I'm sorry, Excel doesn't pander to high school students. In the real world, when the sine of an angle is mentioned, it is SUPPOSED to be radians. Every programming language I know accepts arguments for trig functions as radians.


      But the difference with the microsoft OOXML is that the units are sensed automagically as part of the result computations. The use of radians rather than degrees is specified by a combination of having administrator privileges, the instillation of visual studio, and a low user id on slashdot. In the absence of these features, the units are assumed to be specified in degrees.

      Michael
      --
      There is no cryptographic solution to the problem where the intended receiver and the attacker are the same entity.
  26. This is to be expected... by rsmoody · · Score: 3, Interesting

    After all, they did not BUY this from someone else. They came up with it on their own. We all know, Microsoft's best products were purchased from someone else. Excel for example.

    --
    45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
  27. Someone else failed the math class by giafly · · Score: 3, Insightful

    Someone failed the math class where they explained that an angle is a "dimensionless derived unit".
    If you must quote Wikipedia, please read it first. This article refers to the "SI system of measurement units" which measures angles in units of radians: "The unit of angle is the angle subtended at the centre of a circle by an arc of the circumference equal in length to the radius of the circle. There are 2 radians in a circle."

    Other measurement systems use different units for angles, for example degrees.

    In short, a thing being dimensionless does not mean no units are used to measure it.
    --
    Reduce, reuse, cycle
    1. Re:Someone else failed the math class by Lord+Ender · · Score: 2, Funny

      If you must quote Wikipedia, please read it first.
      He did, but I changed it after he posted but before you posted.
      --
      A slashdotter who didn't build his own computer is like a Jedi who didn't build his own lightsaber.
  28. Re:Let's not get ahead of ourselves... by CmdrGravy · · Score: 2, Funny

    A simple spreadsheet error in the zoo transportation department commands them to mail a large crocodile to a balcony at the top of a large block of flats. A party of innocent children are walking down the road under the balcony and are all hit and killed by a large falling crocodile.

    The Israeli kidnap and asassination department are looking through their targets spreadsheet where a simple spreadsheet error has flagged your address at the top of their list. Next day you are kidnapped, tortured and killed.

    A simple spreadsheet error in the town planning department lead them to construct an large and elaborate new drain system underneath your house down which your house, your wife and all your belongings are sucked never to be seen again.

  29. Re:nCr mapped to AveDev?!! by LiquidCoooled · · Score: 2, Interesting

    You think thats bad?

    In the MSDN documentation for .NET Compact Framework Data Providers there is a small note:

    Note This feature has been designed to be used in conjunction with a prerelease version of an anticipated successor to Microsoft Visual Studio .NET. Check the documentation accompanying the commercially released version for any updates.

    Now it took a while to parse that and I decided that I might possibly in the future write some code for it but only if I cannot find a better IDE/ and dev system.

    MS have really started to come apart at the seams.

    --
    liqbase :: faster than paper
  30. Re: Circular Reference Implementation by JetScootr · · Score: 3, Insightful

    Absolutely not. A standards specification should stand on its own, or reference other standards. "MS office" is an implementation, not a standard. It can't be used to define a standard any more than the wheelbase of your car can define what a roadway should be.
    Further, if ooxml is as "free" as MS would have politicians believe, then referring back to a proprietary product destroys that "freedom". (It's really not free, anyway, but just for the sake of discussion...)

    --
    Pavlov wouldn't be so famous if he'd used a can opener instead of a bell.
  31. Re:MS Office approx. Reference Implementation by Lonewolf666 · · Score: 3, Informative

    -Which version of MS Office (including level of Service pack)?
    -And who guarantees that the "reference implementation" is still available 5 years from now? (hint: Microsoft tends to discontinue sale of its products after a few years).

    --
    C - the footgun of programming languages
  32. Re: Circular Reference Implementation by BarneyRubble · · Score: 2

    Again i agree that in an ideal world it should stand on it own. But absolutely defined specs are hard (see spec for kilogram for example) hence the need for reference implementations.
    I guess my real point is pragmatically with the spec + office(to clear up a few ambiguities ) it should be able to create compatible programs.
      Is it is ideal? No. Is it workable? probably?

  33. Re:Ok, but... by Actually,+I+do+RTFA · · Score: 4, Funny

    Can someone help me? I want to take the sin of a right angle in Excel. Can someone tell me where the pi key on the keyboard is, so I can type in pi/2 radians?

    --
    Your ad here. Ask me how!
  34. now arriving at Dallas-Fort Worth... by rubberglove · · Score: 4, Funny

    Think doctors and malpractice lawsuits. Texas just put a cap on malpractice lawsuit awards and doctors are flooding there, sure to drive health care costs down.
    "Hi everybody!"
    "Hi Doctor Nick!"
    1. Re:now arriving at Dallas-Fort Worth... by RexRhino · · Score: 2, Insightful

      "The Bush administration largely gets it backwards, they say health care is expensive because of lawsuits. I say lawsuits are expensive because of our health care system." William M. Sage, Columbia University law professor and physician. Mr. Sage might be a law professor and physician, but he is obviosly not an economist. You have to be pretty foolish to believe that making doctors pay millions in insurance premiums, and driving thousands out of the medical field for fear of lawsuits, wouldn't make health care more expensive.

      Name dropping Bush is a nice touch too... usually when people can't make a coherent arguement, they throw the word "Bush" into their sound bite, because Bush is extremly unpopular and that is enough to make people lose their ability for critical thought. I mean, why didn't he mention Hitler while he was at it? Or Satan?

      Did anyone notice that insurance companies donate literally billions of dollars to campaigns over the past decades to get this passed? The Trial Lawyers of America, the political action group that represents ambulance chasers, gives 50% more campaign donations that the rest of the insurance, medical, and pharmicutical industry combined. They are the single largest donator to political campaigns in America. However many "billions" you think that the insurance companies spend, multiply that by several times and that is what the Trial Lawyers spend! http://www.triallawyersinc.com/healthcare/hc07.htm l
    2. Re:now arriving at Dallas-Fort Worth... by node+3 · · Score: 2, Insightful

      Mr. Sage might be a law professor and physician, but he is obviosly not an economist. You have to be pretty foolish to believe that making doctors pay millions in insurance premiums, and driving thousands out of the medical field for fear of lawsuits, wouldn't make health care more expensive. Yeah, when you require such an important job be done right, *of course* it's going to cost more. At least, up front. In the long term, however, it's much, much better.

      Capping medical malpractice awards is another way of saying, "limiting the rights of the victim". Aren't you conservatives supposed to be all in favor of victim's rights? If your doctor screws up, don't you think you have rights to compensation under the law? Capping compensation is like capping prison sentences. It's like saying, no matter how bad your actions are, you can only be punished so far. For a group that so strongly supports the death penalty, being against having to pay for the damage you've caused seems absurd to the extreme.

      How would you feel if everything was capped like this? If your building contractor was similarly capped? Did his malpractice cost you $100 million? Tough, you can only get $200k from him, regardless of whether he was entirely at fault, and found negligent at his profession. That would be insane. How much worse when it's something to do with your health!

      The Trial Lawyers of America There is absolutely *NOTHING* wrong with being a trial lawyer. To be against them is to basically be against the JUDICIAL system. How insane is that?

      You used the derogatory term "Ambulance Chasers" to refer to trial lawyers. If they have a case, if there was fault worthy of a trial, what is *wrong* with seeking to make the guilty party pay? If it weren't for trial lawyers, the US would be a much more dangerous place to live.

      I have absolutely no doubt that if someone's actions caused you significant loss of health, *YOU'D* hire the best trial lawyer your money could buy.
    3. Re:now arriving at Dallas-Fort Worth... by node+3 · · Score: 2, Interesting

      Actually, doing a job to too high standards can kill people That's not what we're talking about. We're talking about malpractice insurance. If the standards are set to high, that's the problem with the standards, not the insurance itself.

      I believe the rights of the accused trump any right of the alleged victim We're not talking about the accused. We're talking about the guilty. If you're found *guilty* of malpractice, you must pay, and there should be no artificial cap--you pay what you deserve to pay. Until you're found guilty, you most certainly deserve rights to protect you from malicious or unmerited persecution. It seems to me you are focusing on the wrong part. There's (seemingly) a flaw in the first half (the part *before* you're found guilty), yet you think that, due to this, you should apply the fix to the second part (the part *after* you're found guilty).

      I am all for capping prison sentences for everything but murder and rape... saying that you can only be punished so far sounds like a very fair and sensible thing to do for all but the most extreme crimes. So do I. Unfortunately for you, that's not what I argued against. I argued against limiting damages (punishment) before even taking into account the nature and severity of the wrongdoing.

      If people want protection, let them go to a doctor who is bonded. They can do this now. This is also the case with auto insurance. You can be bonded, or you can buy insurance. But mandatory insurance (or bond) makes us all safer.

      Yeah... cause you know, places that aren't lawsuit crazy, like France, or Germany, or Canada, are just sooooo much more dangerous than the United States. Please! No, I said, "If it weren't for trial lawyers, the US would be a much more dangerous place to live." Are you saying France, Germany and Canada all do not have trial lawyers? Interesting. How do they settle civil disputes?

      *ALL* cases go to trial. No they don't.

      [about whether you'd pay for a trial lawyer's services] You are missing the point. No, that's *exactly* the point. You decry them as an evil, yet you'd not hesitate for one moment to avail yourself of their services.

      If trial lawyers are so despicable, you should vow to never, EVER, use them. EVER. But you know you would. That either makes *YOU* evil, or them not. Which is it?

      Additionally, if trial lawyers are so awful, doesn't that make trials awful, by association? I mean, the whole point of a trial lawyer is to argue a trial. This seems a fairly fundamental requirement for a free and civil society.

      The vast majority of medical lawsuits involves cases where someone never suffered any significant loss of health, and the doctor wasn't responsible. First off, did you just make that up? Second, even if it's true, do these cases result in the plaintiff winning? Third, isn't that fraud? And again, this does not indict insurance, it indicts flaws in the rules.

      Instead of fixing the legal system, you'd rather just do away with that portion of it altogether? What's this got to do with whether insurance itself is good or bad? Or trials are good or bad?
  35. Re:Ok, but... by M.+Baranczak · · Score: 3, Funny

    You need to buy a Greek keyboard for that. If you're doing advanced math, it's a worthy investment.

  36. MS claims this is a FULLY DEFINED STANDARD by tinkerghost · · Score: 5, Informative

    When other people claim a standard is fully defined, it means that all the standard use cases are defined* - units, expected parameters, optional parameters, etc. In the real world, nobody uses radians. Radians are used by engineers & scientists. Pilots, backyard builders, school children, and the occasional office worker use degrees.

    To be honest, nobody cares if OOXML defines SIN(x) to take radians, degrees, gradians, or hyperbian-arc-vectors. What we care about is that someplace in the fully defined standard, OOXML needs to say:

    DEFINE: SIN(x[,unit])

    • SIN: geometric function dictating the height of a right triange with a hypotonous of 1 and an angle of x.
    • x: parameter describing the angle to be operated on by the sin function
    • unit - optional: one of a predescribed list of standard descriptors for angle:
      1. D: Degree - unit of angle defined as 1/360th of a full circle
      2. R: Radian - defined as the angle at which the length of an arc is the same as the radius of the arc. 1/2Pi of a full circle ~ 57.3 degrees
      3. G: Gradian - unit of angle defined as 1/400th of a full cicle.
      Missing unit parameters are defaulted to Radians. Unknown unit parameters will result in a type error.

    That's how a proper standard useable for international work in multiple fields is defined. You do not just dump your US help file into the standard & call it done. I have had to deal with a lot of standards, both Military and Industrial, the OOXML standard is well below the grade of the average Mil or Ind standard.

    That's before you get to the point of inclusions in the standard like "Must Replicate Office 98 Behaviour for this feature". Now, if there was a reference to another standard that defined Office 98 behaviour, then it's not a problem. However, I don't see a reference included in the OOXML standard. Worse, for dates, OOXML defines the proper behaviour as their broken implimentation of the Gregorian Calendar - a direct conflict to the existing ISO standards.

    I don't care who sponsored this standard, it's not a properly writen standard. It has huge holes & it's contradictory to several existing standards. Either one should get it rejected. If MS cleans it up so it meets the actual requirements of a "STANDARD" then they should get approved. If they leave it as the crap heap it is, it should be rejected.

    *- if passing sqr(-6) as a unit works in the implimentation, that's not the standards problem. However, if the standard fails to mention the default unit type & the existance of the unit parameter, then there's an issue.

    1. Re:MS claims this is a FULLY DEFINED STANDARD by advocate_one · · Score: 2, Informative

      pilots use degrees yes, however, the software in the navigation computers is using radians... and there's all sorts of conversion shenanigans going on between different units communicating with each other... you may find this hard to believe, but the system I'm currently working on transmits position from the GPS to the Inertial navigation unit in radians, between the INU and the navigation computer in degrees, internally in the navigation computer, all calculations are done in radians, it is displayed in degrees to the pilot on his multi function displays, but transmitted to the Head up display in radians and yet again displayed there in degrees...

      --
      Donald 'Duck' Dunn: We had a band powerful enough to turn goat piss into gasoline.
  37. M$ statement at Beuro of Indian standards by anivararavind · · Score: 2, Interesting

    As a part of M$ ECMA fast track process ISO/IEC JTC1, Bureau of Indian Standards(BIS) a P-member of ISO has to vote on OOXML. The Discussions for this is going on now. You can see the Documents at http://www.odfalliance.in/OOXML.html

    Here (Page 4, item 9b) M$ repeats again the same affirmation: "Ecma 376 contains full documentation for spreadsheet formulas"

    F

    ull documentation for Microsoft and ECMA = copy and paste of Excel formula Online Help

    From Minutes of Meeting of BIS working group on wordprocessing ML held on May 07, 2007, with comments

    Two beautiful points in MS response:

    OOXML does not have a large number of features but is "feature rich".

    "The statement was not that the size is due to the large number of features but "feature rich". The size of the document is also due to the fact that it is a fully defined specification." (note, OOXML is incomplete, inconsistent, and lacks semantic, ie, it is a street directory without a map)

    6000+4000 pages of OOXML specifications are needed because MS couldn't be bothered to ask Oasis to define spreadsheet formula's

    "As an example, which was cited in the meeting but has not been captured in the minutes, is the specification for implementing formulas in Spreadsheets which is not present in ODF. In this case what would spreadsheet formula specifications be considered as if not a point of standardization."
  38. Re:MS Office approx. Reference Implementation by gnasher719 · · Score: 2, Interesting

    '' I agree with the general point that the spec. should be more carefully defined.
    However, in practise does MS office not act as a reference implementation to clear
    up ambiguities? ''

    That's how Microsoft works. That's not how standards work.

    The right way to handle this would be to take the whole thing away from Microsoft, who clearly doesn't have people who can do the job, and give it to people who have experience with standards, and let them create a workable standard. Then Microsoft can try to create an application that follows this standard, and they can try to translate old office documents to the standard.

    On the other hand, you could save a lot of work by throwing away this whole nonsense, and let Microsoft use an existing, well-designed and carefully reviewed standard like the OpenDocument Standard.

  39. Re:Huh degrees by janrinok · · Score: 2, Funny

    Are there only 360 days in your year? Don't you find that calendars are difficult to buy?

    --
    Have a look at soylentnews.org for a different view