Slashdot Mirror


Most Expensive JavaScript Ever?

ekran writes "A while ago Opera Software needed more servers. Not just a few servers either — they were planning Opera Mini's growth, implementing Opera Link, and My Opera was also growing quickly. Most of the major hardware vendors grabbed their specs and came back with offers and sample servers shipped all the way to Oslo for testing. One of the biggest vendors, however, did not do their homework. They shipped the server, but when the Opera sysadmins started up the web-admin interface, they were met with a JavaScript statement that managed to piss off the whole company including the CTO. The script, apparently, locked out the Opera web-browser."

91 of 405 comments (clear)

  1. So who was it ?? by ls671 · · Score: 3, Interesting

    I browsed the comments on the Opera blog and I could not find any definitive answer although HP and Dell are mentioned as possible culprits.

    So who was the culprit company ??

    Now that it is on /., I am sure that a member of the Slashdot intelligence community could come up with the answer. I offer a reward that will be paid in SMP currency, not in NOK. Sorry about that but I do not have any NOK at my disposal.

    currencies:
    NOK = Norwegian krone
    SMP = Slashdot Mod Points

    --
    Everything I write is lies, read between the lines.
    1. Re:So who was it ?? by gEvil+(beta) · · Score: 4, Funny

      What's the current SMP/NOK exchange rate?

      --
      This guy's the limit!
    2. Re:So who was it ?? by Anonymous Coward · · Score: 5, Interesting

      I browsed the comments on the Opera blog and I could not find any definitive answer although HP and Dell are mentioned as possible culprits.

      Funny story. I have a large Dell LTO tape array, and it has a web-based management tool. Part of the management web pages generate on-the-fly images in XBM format. IE had a security flaw in the parsing of XBM images, and since XBM images are so rare, Microsoft simply disabled XBM images entirely.

      So, I am forced to use firefox to manage the tape array.

    3. Re:So who was it ?? by jefu · · Score: 4, Informative

      A bit of exploration gives one possibility. This page, on Dell DRACs , which have a web interface, shows that the web interface supports really only IE and firefox, and those only on 32 bit machines.

    4. Re:So who was it ?? by L4t3r4lu5 · · Score: 3, Funny

      And more importantly, how many Libraries of Congress can we fill if we buy 5.25" floppy disks full of The Internet?

      --
      Finally had enough. Come see us over at https://soylentnews.org/
    5. Re:So who was it ?? by Anonymous Coward · · Score: 5, Funny

      That must be terrible, being forced to use a non-broken browser. I'm so sorry!

    6. Re:So who was it ?? by Anonymous Coward · · Score: 2, Funny

      Americans making currency jokes about an oil exporting country.
      That's why love this site.

    7. Re:So who was it ?? by coolsnowmen · · Score: 2, Informative

      If it uses a plugin (active X / nsplugin ) to do some of the work. Think of the linux complaint about flash not being 64bit (there is an 'alpha' version now, but there wasn't for a long time.

    8. Re:So who was it ?? by coolsnowmen · · Score: 2, Funny

      How else are they going to make the cool intro screen with flying text and their logo that links to main.htm?

    9. Re:So who was it ?? by EdZ · · Score: 4, Funny

      The Library of Congress is a unit of data storage, not a unit of volume!

    10. Re:So who was it ?? by brusk · · Score: 2, Funny

      Why can't it be both? It wouldn't be that hard to measure the volume of all the buildings making up the LoC.

      --
      .sig withheld by request
    11. Re:So who was it ?? by brusk · · Score: 2, Funny

      Who's there?

      --
      .sig withheld by request
    12. Re:So who was it ?? by c0p0n · · Score: 4, Funny

      That's what cubic football stadiums are for.

      --

      Your head a splode
    13. Re:So who was it ?? by Keeper+Of+Keys · · Score: 2, Funny

      Remind me, exactly how many cubic footballs fit into one stadium?

    14. Re:So who was it ?? by norminator · · Score: 2, Funny

      The same as the ratio of Schrute Bucks to Stanley Nickels or Unicorns to Leprechauns.

    15. Re:So who was it ?? by C0vardeAn0nim0 · · Score: 4, Funny

      volkswagen beetles are a measure of volume
      football stadiums are a measure of area
      round trips to the moon is a measure of lenght
      parsecs are a measure of time
      shitloads are a mesure of weight
      bajillions are a dimensionless quantity
      and the measure of power is a universal constant: 1.21 jigawatts
       

      --
      What ? Me, worry ?
    16. Re:So who was it ?? by mikkelm · · Score: 2, Interesting

      Heh.

      Norwegian GDP (PPP) per capita: $55,200 (2008 est.)

      US GDP (PPP) per capita: $47,000 (2008 est.)

      There's much more to an economy than net output.

    17. Re:So who was it ?? by suffe · · Score: 2, Interesting

      Yeah. Like huge oil production for a country with a small population. Rumor has it, if every Norwegian were given their "fair share" of the oil production when they hit 18, every single one of them would be a millionaire. If this is true or not, I don't know. But just comparing GDP from two so different economies is almost as pointless as comparing net output.

      As a Swede though, I ask myself, what would their GDP be if it wasn't for the oil (and, erm, cod) and would they again be 'little brother'? =)

      --

      Karma: 2.71828182846 (Mostly due to small, fun pills)
  2. More servers by badfish99 · · Score: 4, Funny

    A while ago Opera Software needed more servers
    I think they still do.

    1. Re:More servers by CarpetShark · · Score: 2, Funny

      A while ago Opera Software needed more servers
      I think they still do.

      Why do you think they put a server into every Opera browser?

  3. HP probably by YeeHaW_Jelte · · Score: 3, Interesting

    Had the same thing on the webadmin interface for one of their ILO's. Or more precise, it wouldn't work on anything but IE. Hadn't seen that for quite a while.

    --

    ---
    "The chances of a demonic possession spreading are remote -- relax."
    1. Re:HP probably by Anonymous Coward · · Score: 2, Informative

      This is the current ILO script: if( ( ie!=null && ie[1] >= "6.0" ) || ( fire!=null && fire[1] >= "1.0.2" ) || ( moz!=null && moz[1] >= "1.6" ) ) { // supported browser; do nothing } else { alert( "Integrated Lights-Out 2 supports Microsoft Internet Explorer version 6.0 or greater, Firefox version 1.0.2 or greater, and Mozilla version 1.6 or greater. Some functionality may not work and pages may not format correctly on other browser platforms. This browser platform reports it is \""+navigator.userAgent+"\""); }

  4. I'm more curious who did their QA by Loopy · · Score: 2, Insightful

    And if it was outsourced.

    1. Re:I'm more curious who did their QA by Midnight+Thunder · · Score: 5, Insightful

      Don't forget this was demo hardware from companies responding to a tender. At this point Opera was still evaluating the hardware. Two things seem to have happened:
          - the software was implemented with an abort for Opera, either because QA was not done for Opera.
          - the vendor didn't appear to know what the primary product of Opera was, and what the browser requirements of their admin interface were.
      While the first scenario is bad enough, the second is just unforgivable, since it shows to the customer that the vendor apparently made no attempt to know who their customer was.

      --
      Jumpstart the tartan drive.
    2. Re:I'm more curious who did their QA by MemoryDragon · · Score: 2, Interesting

      Third answer, they ran into opera bugs and didnÂt have the finding to spend the necessary time to work around them.
      I recently had to do a degrated version of a site for opera because I ran into bugs and speedbumps not easily fixable and fixed
      by opera already in their alpha version of version 10.
      Sorry to say that while opera in its 9.x incarnation does not have many bugs it has some and some of them are really severe and not easy to bypass
      because opera does not allow conditional css includes like ie does and it is not everyones idea to hack css via javascript for hours just to support that browser!

  5. Re:So who was it ?? not by Chi-RAV · · Score: 5, Informative

    it's not HP as the link to what they actually buy shows they bought HP blades (http://www.digi.no/504306/her-kjores-egentlig-opera-mini&bid=6)

    my money is going on Dell.

  6. let me take a guess by Zashi · · Score: 4, Interesting

    Having tested web based software for IBM before, I'm going to take a stab in the dark and guess it was IBM. Anyone here ever use SCM (Storage Configuration Manager)? It's utter shite; slow, buggy, and unsupported on anything other than firefox and IE.

    Remember kids, IBM Hardware = Good. IBM Software = Kill it with fire.

    --
    Skiffy is Spiffy, but Ort is tort.
    1. Re:let me take a guess by phoebe · · Score: 3, Interesting

      I'm going to take a stab in the dark and guess it was IBM.

      The IBM Blade Chassis management software works perfectly fine in Opera with no popups or warnings at all. It's actually nicer to use in Opera than Firefox.

  7. From TFA, the actual code... by mcgrew · · Score: 5, Informative

    if (is.opera)
    {
    window.location.href="config/error.htm";
    }

    Conspiracy theorists unite!

  8. Like every other Opera user by doas777 · · Score: 5, Funny

    spoof the agent, just like everyone else who uses Opera

  9. Re:ok so the company lost money... by noundi · · Score: 4, Insightful

    Don't be a jackass. Their market share has nothing to do with the article. I don't care about Opera but the story is still funny as hell and worth repeating. I just wish that kind of stuff happened to me at work. :(

    --
    I am the lawn!
  10. I'm going to go out on a limb, and say.... by popo · · Score: 5, Funny

    Not that Opera doesn't have serious funding... but I'm going to go out on a limb and say that this javascript would be more expensive, most of the time
    .
    .

    if (is.explorer)
    {
    window.location.href="config/error.htm";
    }

    --
    ------ The best brain training is now totally free : )
    1. Re:I'm going to go out on a limb, and say.... by GayBliss · · Score: 2, Insightful

      Not that Opera doesn't have serious funding... but I'm going to go out on a limb and say that this javascript would be more expensive, most of the time . .

      if (is.explorer) { window.location.href="config/error.htm"; }

      It would cut our UI development time by at least half!

      It typically comes down to developing the UI once for IE, and once for all others.

  11. Re:ok so the company lost money... by fuzzyfuzzyfungus · · Score: 5, Insightful

    Why? I can see not bothering to test much on Opera, or putting a "We only support browsers X and Y." statement in the manual, or even not bothering about any issues that crop up if you use Opera to access the admin interface; but why would you deliberately add a check that breaks Opera?

  12. At least someone knew what Opera was. by Kupfernigk · · Score: 5, Funny
    If you have an enemy, at least someone cares about you.

    The British cartoonist Giles is said to have made himself practically sacking proof by one of his cartoons. The Duke of Edinburgh remarked that "The [Daily, owned by Beaverbrook] Express is a bloody awful newspaper."

    Giles promptly did a cartoon of his employer being led off in chains by Yeoman Warders, watched by the Duke, with the caption

    "Ah well", said Lord B, as they trotted him off to the Tower, "At least he reads it, or he wouldn't know it's a bloody awful newspaper."

    --
    From scarped cliff or quarried stone she cries "A thousand types are gone, I care for nothing, no not one."
  13. If large corporations would only use common sense, by judolphin · · Score: 5, Insightful

    This nonsense would never happen.

    I started as a web developer in the mid-90s. I know how hard it is to develop for multiple browsers and versions. When Netscape and Internet Explorer 4.0 came out, they quickly gained the majority of market share. Many colleagues did not want to keep their sites compatible with 3.x browsers because they felt it was a pain. I would always hear the sentence, "They only have a 5% market share."

    To me this was and still is a ridiculous attitude. You're OK randomly raising your middle finger to 1 in 20 potential customers visiting your site? What if that 1 in 20 is the wrong person? Obviously, in this case, they definitely raised their middle finger to the wrong people.

    But this gets even worse, because Opera is not obsolete and is fairly standards-compliant. To top it off, the vendor specifically broke the web site for the browser they were too lazy to design for, rather than doing something that makes sense -- like investing time and money to reach a small but tech-savvy segment of the population.

    All told -- shamefully -- it makes me feel a little Schadenfreude that it bit them in the rear.

    --
    The Institute of Incomplete Research has determined that 9 of out 10
  14. Headline by iVasto · · Score: 2, Insightful

    The headline is misinformative. Based upon the headline I would have expected to read about a company hiring a bunch of developers for a lot of money to code something cool in javascript. Perhaps a more appropriate headline is "Javascript locked out Opera, Opera locked out the company."

  15. Re:ok so the company lost money... by schon · · Score: 2, Insightful

    since they are insignificant in the browser market I'd probably do the same thing.

    Then you're a fucking moron.

    If you were running a store with a physical presence, would you also ban customers who drove Toyotas, telling them "Toyota is insignificant, and therefore you are not allowed to shop at my store. Come back when you have a Ford or GM"?

  16. Heh. by popeyethesailor · · Score: 4, Insightful

    Classic case of a company not knowing what their product is used for.

    Opera != Work Browser.
    Opera == Bestest P0rn Browser ! Swift image resizing, superior mouse gestures, and remaining responsive even after a gazillion tabs are opened.

    It's like turning up with your purpose-built race car at the city center, and whining about speed humps.

  17. For those new here... by mcgrew · · Score: 4, Funny

    currencies:
    NOK = Norwegian krone
    SMP = Slashdot Mod Points

    The uncyclopedia will explain:

    Economy
    The currency of Slashdot is the Karma Point (which recently replaced the archaic reputation point used under the barter system). In 2001, the Karma Point was cursed by an evil witch who got modded flamebait. Expert moneyologists agree that the curse is a serious matter, however its nature and effects are as yet unknown, although preliminary reports suggest a correlation between high Karma concentration and the Slashdot Effect.

    Slashdot's primary export is journalistic integrity, and Slashdot has grown almost as rich as Oscar Wilde due to skyrocketing prices because of the global shortage, as well as the Federation of Planets adopting integrity as its staple food. Some analysts and economists have speculated that Slashdot does not in fact have any journalistic integrity of its own, and that all exports are either counterfeit or borrowed from the World Bank in exchange for several life-debts. If these accusations turn out to be true, then Slashdot could owe the Wookies that own the Bank several billion lives in payment.

    Slashdot's primary import is n00bz, which upon arrival into the country are sent to meat factories to be processed into spam, an all-purpose household paste, good for use as a duct tape, glue, glue solvent, dodgeball, koala, roofing material or low-end computer. The manufacture of spam from n00bz is done through a process called pwnage.

    1. Re:For those new here... by demachina · · Score: 2, Interesting

      The biggest failing of Slashdot Karma is the resolution is so low its effectively useless. Most people's Karma immediately shoots to Excellent and stays there for eternity or to "shitty troll" or whatever is the lowest rung of ./ Karma.

      Cmdr Taco made an enormous strategic blunder not making Karma a numeric value with no upper or lower limit cuz then it would be a ginormous horse race among karma whores to be #1 and trolls to be dead last. Comments from the #1 karma whore would be godlike in their powers.

      --
      @de_machina
  18. You think the code is bad? Take a look at page 5! by RingDev · · Score: 4, Interesting

    http://www.digi.no/504306/her-kjores-egentlig-opera-mini&bid=5

    Notice anything odd about the large 48v DC power cables? Like the '+' and '-'... on the wrong lines...

    Forget a javascript issue, that there is a pretty huge installation issue.

    -Rick

    --
    "Most people in the U.S. wouldn't know they live in a tyrannical state if it walked up and grabbed their junk." - MyFirs
  19. Re:ok so the company lost money... by TrippTDF · · Score: 2, Interesting

    Actually, he has a very valid point. In your Toyota example, you are forgetting that in order to support Toyota, you have increased development costs and time in order to support a very, very small percentage of users, compounded by the fact that supported browsers are free and can be installed in a matter of minutes.

    If I'm working on a project with a limited budget and you were going to tell me that enabling support for Opera was going to add even 5% to my total costs, I'd cut it in a heartbeat, because anyone that is using Opera can just switch over to another browser to perform the task at hand*.

    The exception to this rule is my wife's office, which mandates Opera use... but it's only because they manage classical musicians and they like the name... it causes them all kinds of problems.

  20. Why "fire" and "moz", not "gecko"? by tepples · · Score: 4, Interesting

    I've already found a defect in the revised sniffer. The variable names "fire" and "moz" appear to indicate that the code above this line would fail on Iceweasel, IceCat, SeaMonkey post-renaming, Fennec, K-Meleon, Epiphany, and other browsers using the same HTML/CSS/JavaScript engine as Firefox. Why is it testing for "fire" and "moz", not "gecko"? Having an alert() pop-up on (I'm guessing) every page is an improvement against immediate redirection to an error page, but it's still an annoyance.

    1. Re:Why "fire" and "moz", not "gecko"? by Daniel+Dvorkin · · Score: 2, Informative

      If it is intentional, then my question becomes as follows: Why would a reasonable site owner only want to support Firefox?

      You're assuming "reasonable."

      The thought process (if it may be dignified with such a term) goes something like this, I suspect. These are sites which, until fairly recently, only supported IE. The developers only ever use IE, it's all they know, and they don't really want to know about anything else. As far as they're concerned, the big blue E is the internet. Yes, there are Windows web developers who think like this. Lots of them.

      But there's this weird "Firefox" thing they've heard about, it's too popular for them to ignore completely, so they'll grudgingly kinda-sorta support it. If Firefox users are very lucky, the developers may have a little-used copy of Firefox on their machines which they will use to skim through the site after it's been built using IE. And if it looks okay, then they can say, "We support Firefox too!"

      Anything else is just beyond their ken. Rendering engine? Gecko? KHTML? What the hell are those? Look, we made our site work for you weirdos who don't want to just use the big blue E like everyone else does. Get off our backs. Jeez.

      --
      The correlation between ignorance of statistics and using "correlation is not causation" as an argument is close to 1.
  21. Re:ok so the company lost money... by blackraven14250 · · Score: 2, Insightful

    Toyota has the #1 marketshare in the world at something like 15-18%. That's akin to Firefox in terms of share (20-something percent). Opera is lucky if they have 1% of the browser market. It's more like saying Ashok Leyland doen't have a sizable marketshare, therefore we're excluding them from the market.

  22. Ah, memories of days past.... by dals_rule · · Score: 5, Funny

    Many years ago, we were bidding on a US Postal Service contract to supply computer equipment to all of their offices. We had several pallets of bid material on the loading dock, ready to go. Fortunately, one of the program managers made a last minute check and discovered (in time!) that nobody had bothered to tell the shipping department to ignore the standard, "Ship all contract proposals FedEx, overnight", procedure in this case.....

  23. Re:ok so the company lost money... by tsm_sf · · Score: 5, Insightful

    Actually, he has a very valid point. In your Toyota example, you are forgetting that in order to support Toyota, you have increased development costs and time in order to support a very, very small percentage of users, compounded by the fact that supported browsers are free and can be installed in a matter of minutes.

    If you hire a good developer your site should work for all browsers. It's not fucking rocket science.

    --
    Literalism isn't a form of humor, it's you being irritating.
  24. Re:You think the code is bad? Take a look at page by ZorinLynx · · Score: 5, Informative

    48V DC is an odd beast, with odd standards going back to the early days of the Bell System.

    In a 48V DC system, the positive side is grounded. This is to prevent corrosion on phone lines in the ground that happens more readily if the system is negative ground.

    Since positive is ground, the "live" wire is negative, or -48VDC. Since this is the wire you don't want to lick, or allow to touch the chassis when powered, it is colored red in many deployments. The black wire is ground, you can lick* it all you want.

    * -48V DC won't really sting you much if you just touch it unless your hands are wet or you touch it with a wet part of you like your tongue.

  25. Re:So who was it ?? not by afidel · · Score: 3, Insightful

    HP's not much better though:
    var detect = navigator.userAgent.toLowerCase();
    var ie = detect.match(/msie ([\d\.]+)/);
    var moz = detect.match(/rv:([\d\.]+)/);
    var fire = detect.match(/firefox\/([\d\.]+)/);
    if(
    ( ie!=null && ie[1] >= "6.0" ) ||
    ( fire!=null && fire[1] >= "1.0.2" ) ||
    ( moz!=null && moz[1] >= "1.6" )
    ) {
    // supported browser; do nothing
    } else {
    alert( "Integrated Lights-Out 2 supports Microsoft Internet Explorer version 6.0 or greater, Firefox version 1.0.2 or greater, and Mozilla version 1.6 or greater. Some functionality may not work and pages may not format correctly on other browser platforms. This browser platform reports it is \""+navigator.userAgent+"\""); }


    Of course that's just a warning, not just dumping them to the error page. It IS annoying that we do such stupid browser detection tricks instead of coding to standards. In an ideal world that statement would be something like:
    If browser.supports(HTML4) do {} else alert ( "upgrade to a modern browser" );

    --
    There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
  26. Am I the only one... by jenn_13 · · Score: 2, Insightful

    ... who was expecting this to involve the new recovery.gov?

  27. Well I learned something new today by RingDev · · Score: 4, Insightful

    Thanks for that, now I feel kinda like an idiot. At least I am now a smarter idiot than I was half an hour ago.

    -Rick

    --
    "Most people in the U.S. wouldn't know they live in a tyrannical state if it walked up and grabbed their junk." - MyFirs
  28. Re:ok so the company lost money... by afidel · · Score: 5, Insightful

    You are assuming WAY too much. Some subcontractor wrote software to a specification that said support browsers x and y with functionality a,b,c,..q and pass these tests. To make sure some clever tester didn't find some obscure bug with Opera that would keep him from getting paid he just errored the browser out. This passed functionality testing and was approved. Later this now approved and standard code was delivered with the imbedded management card of a server that just happened to be shipped to Opera. The two events have nothing to do with each other and it unbelievably unlikely that for an account the size of Opera that someone would have done regression testing on their software to make sure it works with Opera's product.

    --
    There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
  29. Re:So who was it ?? not by metalhed77 · · Score: 4, Informative

    Ah yes, Dell Remote Access Controllers have a shitty as hell web interface that only seems to work in IE. I think it's supposed to work in firefox but it never has for me.

    --
    Photos.
  30. Re:ok so the company lost money... by ihavnoid · · Score: 5, Insightful

    It is common to deliberately add a check that breaks the whole stuff when some 'unexpected' condition happens. You know, assertions.

    Which one is better? Not working at all, or seems like working but a not-so-commonly-used-some-sort-of-admin-command somehow gets screwed and the web browser fires a do-not-touch-this-unless-you-want-complete-meltdown-command because there was some minor difference on the javscript engine parsing some parameters? Yeah, can be extremely rare, but if it isn't tested, nobody can be sure.

    Obviously, the best thing to do would be to test all possible conditions. However, if you can't, then there can be three choices:

    1) Leave it to the users, Nah, I'm not gonna test it.
    2) Launch a big warning message and blame the users if something goes wrong, or
    3) Make it never work when some unknown condition is reached.

    Number 1 is perfectly reasonable when the worst consequence isn't so bad. For example, a web forum interface, or things like Facebook. Maybe number 2 would be better in most cases. But, if an untested scenario may cause huge, irrecoverable damage, number 3 may be the best choice. (You should remember that the product in question was the server management console, which can bring the whole datacenter down when things go wrong.)

    My opinion is that, deliberately excluding Opera was a quite reasonable idea. Trying to sell a product that deliberately excludes Opera (web browser) to Opera (the company) was the stupid idea.

  31. Re: 5% by Lonewolf666 · · Score: 2, Interesting

    In general, not supporting a 5% market segment because it would cost too much development effort may be a reasonable decision.

    In this case, the real WTF was submitting the product in a bid for the vendor of said 5% market segment. And simply throwing an error if Opera is detected. That's like opening a business in a black neighborhood and putting up a sign that says "Niggers not allowed" ;-)

    --
    C - the footgun of programming languages
  32. Re:ok so the company lost money... by Mystra_x64 · · Score: 2, Insightful

    Is it possible that the admin interface in question uses oncontextmenu?

    Why would it do that in the first place? It's not a desktop application. It's a damn web page and is not some Google maps wannabe.

    --
    Quick way to get 30% Funny 70% Troll: defend Opera browser on /.
  33. Re:ok so the company lost money... by MrMr · · Score: 2, Insightful

    Especially as Ford and GM need many more spare parts than Toyota anyway?
    Sorry, couldn't resist

  34. Don't do it like this, please, outside telecoms by Kupfernigk · · Score: 3, Informative
    (a) you can kill yourself with 48V if you're unlucky. It is very unlikely, anything below 60V is considered to be "safety extra low voltage" or SELV, but it's possible to induce fibrillation.

    (b)If deploying a system like this, IEC says the positive wire should be BLUE and the negative should be GREY. If the wires are completely isolated (i.e. neither is grounded or connected to PE) the positive wire should be BROWN. In the US (Opera isn't in the US) the wiring convention is WHITE for the return and BLACK for the negative wire. Just DON'T ever use red and black and reverse their normal functions. 48V can make very impressive arcs.

    --
    From scarped cliff or quarried stone she cries "A thousand types are gone, I care for nothing, no not one."
  35. * Except Opera for devices by tepples · · Score: 2, Informative

    anyone that is using Opera can just switch over to another browser to perform the task at hand*.

    Except Opera has a significant exclusive presence on appliances. For instance, I don't know of any other web browser that can be installed on a Wii or Nintendo DS system without a jailbreak, and there are plenty of phones for which Opera Mini or Opera Mobile is the best web browser. Or was this your * ?

  36. Re:From +1 INFORMATIVE now down to 0 INFORMATIVE? by __aaxwdb6741 · · Score: 3, Funny

    I'd mod you "-1, Annoying as hell typing syntax".

  37. Re:ok so the company lost money... by KillerBob · · Score: 3, Insightful

    Picture VW Polo next to Rolls Royce Phantom. Polo will fit nicely out the front of your local 7-11 / Tesco store; Good luck getting the Phantom in anything smaller than the Disabled spaces.

    Though to be fair, if you're the kind of person who a) ows a Rolls Royce Phantom (or a Bugatti Veyron, or a Mercedes-MacLaren F1, or...) and b) shops at 7-11, you probably qualify for the Disabled spaces... Mentally.

    --
    If you believe everything you read, you'd better not read. - Japanese proverb
  38. Re:ok so the company lost money... by omnichad · · Score: 4, Insightful

    You're missing one obvious factor. There are a lot of great browsers written using pre-existing code. Omniweb is a great Mac browser that uses Webkit for HTML, and Spidermonkey for Javascript. The behavior of that javascript is known, but browser detection routines for every minor browser made of major software is ridiculous. You write based on standards, and test in a few major browsers. #2 is the only option. NEVER BLOCK A USER.

  39. Re:ok so the company lost money... by Clairvoyant · · Score: 3, Insightful

    As Opera has been complaint to most standards for years, while it took other browsers years to do the same, it is the websites that have the incompatibilities, not Opera.

    Driving your nice little environment degrading Toyota Prius to Germany and finding out they have trimmed all branches of trees so that only VW, BMW, Merc and Audi can pass through without being scratched would probably upset you just as much as your statement would to any Opera supporters. And you would not be blaming Toyota, you'd be blaming the German government. Why does the word rationale mean something completely different when it's about IT?

    Also, afidel's post is far from "right-on", as he/she/it too makes at least two assumptions (while debunking someone elses!): Opera being an insignificant browser; you're forgetting all mobile devices here. And Opera's request being insignificant. Judging from what's Opera's requirements are, I'm assuming (see, there's one!) they're ready to order some very serious amounts of high-end server stuff.

  40. Re:ok so the company lost money... by Anonymous Coward · · Score: 2, Interesting

    I don't think they would have minded so much if it reported politely that it doesn't work with Opera, rather than just dumping unceremoniously to an error screen without any indication why. It would make people assume that Opera was itself the problem, when in fact in this case there is no real error.

  41. Re:ok so the company lost money... by Clairvoyant · · Score: 2, Insightful

    We DO know the context; it's a flippin' webadmin site! How hard can it be to write it in proper HTML/CSS/whatever?!

    Chances are 90% of it was stolen from Open Source PHP stuff anyway.

  42. I just visited opera.com with Firefox by Skapare · · Score: 3, Funny

    ... and it worked. It displays just fine. Are they trying to make their competitors look good or something?

    --
    now we need to go OSS in diesel cars
    1. Re:I just visited opera.com with Firefox by shutdown+-p+now · · Score: 3, Informative

      Opera web site is actually a pretty impressive piece of code. It has all that nifty stuff like drop-down menus, and yet it also renders perfectly in Lynx (with menus as lists) - disable CSS and JavaScript in your browser, and you'll see. Meanwhile, it validates to XHTML 1.0 Strict.

      It shouldn't be surprising, however, given that Opera guys are pretty keen on all Web-related standardization efforts - they've played a big role in initiating HTML5 effort (and are still very active in its development), before that they've participated in past W3C HTML/CSS standardization efforts, and they push for open standards (such as SVG) otherwise.

  43. Re:Warn and continue by Binestar · · Score: 3, Informative

    Generally you can free up the file handles. http://technet.microsoft.com/en-us/sysinternals/bb896655.aspx

    Got a file stuck? Open a cmd prompt, run 'handle filename' to get a list of file handles for that file. then 'handle -c <HEXHANDLE> -p <PID>'. There ya go, file is forced closed and you can delete it.

    --
    Do you Gentoo!?
  44. Re:ok so the company lost money... by TheGratefulNet · · Score: 4, Insightful

    If you hire a good developer your site should work for all browsers. It's not fucking rocket science.

    more to the point, try doing less 'fancy schmancy stuff' and you'll find that simple web forms and UI's work JUST FINE with all browsers. even lynx.

    I am not a fulltime web devel (I write software, not web pages) but I have been able to get some web sites up and running that use the form/cgi paradigm and they work across ALL browsers. what's not to work?

    oh, you want flash and blinking and 'as you type' stuff that happens?

    go elsewhere, then. go write some stupid windows program if you want to 'act that way'.

    but that crap does not belong on serious web apps. 'web masters' (what a joke..) have ruined the web with all the blink/fancy crap they try to pull off.

    the web was designed so that you would NOT have to check (!) what browser you are sending data to.

    why the hell SHOULD a server-side program care how you render data? you've done your job, you tagged paragraphs as paragraphs, lists as lists, images as images. you did what html was designed to do!

    just annoys the hell out of me that the web was NOT designed for 'making remote word processors'. it just was never meant for such things. we have twisted this nice interoperable (key term that has lost its meaning, sadly) web into some overly complex beast that 'needs' to know how you render data. or worse, wants to TAKE PART in the font sizing, spacing, colors and so on. what a huge mistake; and its already too late to fix the web at this point; too many idiots are trying to make web programming just another bloated GUI.

    in a way, I wish we didn't have such fat pipes or such fast processors. maybe then we'd see a return to sanity and some level of minimalism. that's what web UI's were *supposed* to be. tag the elements and stay the hell away from FORMATING.

    --

    --
    "It is now safe to switch off your computer."
  45. Re:So who was it ?? not by cblack · · Score: 4, Informative

    Some of their ethernet switches block non-IE browsers as well. I forget which is which, but I think the PowerConnect 6000s warn about the browser but let you through, and the 5000s just refuse to let you in when running firefox on linux.
    My experience is from a few years ago and perhaps they have fixed their firmware since then, I know I filed a complaint.

  46. Re:Warn and continue by netsharc · · Score: 3, Informative

    Or just use Unlocker: http://ccollomb.free.fr/unlocker/ , it catches failed attempts to delete/move files and pops up a window showing you what's locking the file.

    --
    What time is it/will be over there? Check with my iPhone app!
  47. Re:ok so the company lost money... by SharpFang · · Score: 2, Interesting

    The device we are currently releasing deliberately checks for and disables MSIE.
    The reason is the code uses live embedded SVG visualization of the process which MSIE is simply not capable of.
    There are no easy and simple alternatives (don't get me started on Flash), and the visualization part is an essential part of the user interface, with various modules clickable to change their state in real time. Also, the SVG files can be directly used as images in the documentation, being 100% valid pictures of projects of whatever the device is to drive. It is not intended for a wide audience and we can mandate the customers to use certain tools (you need training and certification to be allowed to access it at all).

    --
    45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
  48. Re:ok so the company lost money... by brusk · · Score: 2, Funny

    You really, REALLY don't want to know why some places mandate the GIMP as a graphics editor.

    --
    .sig withheld by request
  49. Re:ok so the company lost money... by robot_love · · Score: 4, Funny

    Way ahead of you, my friend!

    --
    .there is enough of everything for everyone.
  50. ATD by jDeepbeep · · Score: 4, Funny

    What's the current SMP/NOK exchange rate?

    The same as the current SMP/ATD (Alterian Dollar) exchange rate. The problem here is the Vogons mod everything down except their own poetry.

    --
    Reply to That ||
  51. Re:Bad web programmers by ducomputergeek · · Score: 2, Interesting

    The problem there is that not all browsers follow the standards. Specifically the one that most people still use. Especially in Corporate environments. I know that we make sure out stuff works on IE first, Safari second, firefox third, and then Opera. Because our traffic breaks down to 88% MSIE, 8% Safari/Safari Mobile, 3% FireFox, 1% other.

    We've written standards complaint code before that works in everything but MSIE. The previous guy at my post held the opinion "They should upgrade to a real browser". Our company lost sales and he lost his job.

    --
    "The problem with socialism is eventually you run out of other people's money" - Thatcher.
  52. Re:So who was it ?? not by dpilot · · Score: 3, Insightful

    Stupid practice.

    The reason for standards isn't to keep companies like Microsoft in check, though it has that result, and that is good for the marketplace. Standards are supposed to reduce costs. In this particular example, the way your iLO team *should* do the job is to first check for html compliance, then check for IE6 - as the largest-share noncompliant browser, then check for any other non-compliant browsers you can't afford to ignore. At that point, you have 3 ways to branch in your code - compliant, IE6, and unsupported.

    The software industry is pretty nearly hopelessly fouled up, because of the lack of clear and properly used standards. A large part of this is Microsoft's fault, though not all, by any means. Unfortunately, rather than software getting better, other industries are getting worse. Customer lock-in is an addictive drug, and in the long term is probably as wise, even from a business sense.

    --
    The living have better things to do than to continue hating the dead.
  53. Technically it's correct behaviour by Eskarel · · Score: 2, Interesting
    though it all really depends on what was on that error page.

    I've seen Opera do some funny things with some RIA's I've written, the same code works on webkit, trident, and gecko with no problems, but Opera does some funny things. My code is probably wrong(it's a hack job on some badly designed pre-existing code, not a clean rewrite), but nevertheless it works fine on everything else.

    Seeing that I basically have 3 options.

    1. Spend a few weeks I don't have debugging/rewriting the code.
    2. Leave it as it is, and let the page render incorrectly, as I know for a fact it does.
    3. Create a redirect on the page which sends the user to an error page explaining that their browser is unsupported and asking them to please use another one.

    Any of these three options can be correct, depending on the needs of the business and the severity of the problem. In all reality, no matter how big this guy thinks there server order was, it was probably only a drop in the bucket overall, and in all reality no one was fired and nothing really happened, they lost a sale. They lost it on something stupid, but it's only one sale no matter how big it is(and it likely wasn't really all that big).

    Opera is not infallible, they've come up with a few fairly innovative design ideas, but they've always been crippled to a certain extent by ideology. Part of why Opera was and is so fast, and so light is that it is basically incredibly anal about exactly correct HTML syntax. In theory this is a good idea, but in practice it means that Opera has been plagued by pages which don't render correctly for it's entire lifespan. A lot of the web is sort of kludged together because the standards defining how to do things properly are always 2-3 years behind what people are actually doing, a lot of WYSIWYG editors spit out bad code, hand coders make mistakes. All these things happen, and Opera has never been even the remotest bit forgiving(oddly enough firefox is by far the most forgiving, substantially more so than IE) of any of it, which is one of the prime reasons IMO why it never really gets much market penetration despite generally speaking having most of the innovative web ideas before the competition. The fact that until fairly recently it was ad driven or cost money, isn't open source, and doesn't come installed on anyone's PC are of course others. There's really no need to switch to another browser which results in more broken pages, isn't free as in speech, and until very recently wasn't even free as in beer, no mater how innovative it is.

    1. Re:Technically it's correct behaviour by metamatic · · Score: 3, Insightful

      My code is probably wrong(it's a hack job on some badly designed pre-existing code, not a clean rewrite), but nevertheless it works fine on everything else.

      So basically, you admit your code is probably wrong, but you can't be bothered to fix it? Fine, but don't complain when your code stops working or fails in someone's browser and you lose business as a result.

      The way I see it, this is only incidentally a story about stupidity. Not working in a standards-compliant web browser is a good indicator of poor web application quality. The cited behavior of deliberately failing in Opera would make me unlikely to pick the product, even though I'm a Firefox user.

      --
      GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
  54. Re:So who was it ?? not by dgatwood · · Score: 5, Informative

    Browser detection is almost always the wrong way to do things anyway. Test for existence of specific JavaScript properties/methods on objects to find out if they exist. You can generally check for IE-specific behavior just by testing for the presence or absence of JavaScript properties/methods.

    if (document.getElementsByClassName) {
    elts = document.getElementsByClassName("resulttablerow");
    } else {
    /* IE and old browser version */
    }

    By doing this, you won't have to do a browser check at all and your page will "just work" for any browser that implements either the standards-compliant behavior, the IE behavior, or both. You can do the same thing for CSS properties by trying to add the property, then going and trying to read it back for verification. If it isn't there when you go back and check for it, the browser doesn't support the CSS property.

    I'm not familiar with Opera's behavior, but in my experience, roughly 99.5% of CSS and JavaScript that works with FireFox also works with Safari and vice versa (as long as you don't try to use bleeding edge HTML5 or CSS3 features). Any browser check that only tests for FireFox is almost always just guaranteed to make a bunch of users mad for no reason.

    --

    Check out my sci-fi/humor trilogy at PatriotsBooks.

  55. Re:So who was it ?? not by dpilot · · Score: 2, Insightful

    Does this really work? For the given example, does "if (document.gelElementsByClassName)" really mean that it will work the way you expect, for any and every implementation? That's the other part of standards - there's following the standard, and then there's "following the standard", which aren't necessarily interoperable... like Kerberos and a certain unnamed implementation.

    --
    The living have better things to do than to continue hating the dead.
  56. Re:So who was it ?? not by anonymous+donor · · Score: 2, Insightful

    This has nothing to do with web standards. The alert message says it's not _supported_ on other browsers. Here "supported" means "someone has actually tested it on every supported version, if it something doesn't work, call us". If anything breaks and you call support, they can't say "that's a bug in your browser". If it is a browser bug they have to work around it.

    --
    fortune favors the lucky
  57. Re:So who was it ?? not by billcopc · · Score: 4, Insightful

    Except the Cadillac doesn't specifically forbid Ford executives from riding in it, nor does Airborne refuse to deliver to UPS clients.

    --
    -Billco, Fnarg.com
  58. Re:ok so the company lost money... by b4dc0d3r · · Score: 2, Insightful

    So much wrong - I don't even know where to start.

    Stuff happening "as you type" is extremely useful in some circumstances. Excluding that functionality because it might not work is a terrible idea. Updates to small portions of the page instead of waiting for a page reload is a good way to make the site work better and faster.

    you don't need a windows program to make it "act that way". You just need proper feature testing and graceful fallback. Unfortunately, that takes a while to test. If a browser has one feature but not another, and another browser is backwards, you could have some strange results depending on the order of feature checking.

    Flash can add a lot to the usability as well, again if you have a graceful fallback. And again, different browsers or even different add-ons can change the experience. You can have NoScript blocking both scripts and Flash, or just one or the other. You don't want the website to be 100% flash with no other options - that's just stupid. I don't spend any more time on those sites. It's not the "web masters" creating this problem - it's the people who write requirements for the site (or work with the web dev). They want it to work a certain way, and pay enough to get that done - but not for additional execution paths like graceful fallback.

    The web was designed to transfer data. It was not designed to make all data render on all clients. Ideally, every client should support the same feature set. But there are a lot of optional "MAY" or "SHOULD" items just in HTML, making it a vastly different experience even if written 100% to the standard. In an ideal world you'd write it once. But we all know that software has bugs, and we have to be aware that other people's bugs make us as web masters look bad.

    A server-side program SHOULD care how you render data, because it can make the difference between an amateurish site and one that looks like a real business. People are more likely to spend time on a site that looks like someone took time with it, as opposed to a fly-by-night operation shoved up in a few hours.

    the web was not meant for a lot of things, but it is easy to add simple features which make browsing a lot easier, more intuitive, and entertaining. Images weren't even intended in the original development efforts, but I think you would agree they can help. Especially on commercial sites. Things evolve, and it's stupid to ignore these things just because they weren't intended.

    You seem to be advocating zero fonts, zero colors, zero images, zero layout - even I, who browses with scripts off and no flash plugin and uses "ImgLikeOpera" so I can quickly disable/enable images, realize that there are benefits to using all of the enhancements available.

    I agree that the web should be browsable with Lynx, but I also think it should be browsable with all the extras, if they add functionality or increase ease of use.

  59. Vogon Poetry by zooblethorpe · · Score: 5, Insightful

    You asked for it, ladeees and gentlemen! It may not be that grand masterpiece, Ode to a Small Lump of Green Putty I Found in my Armpit One Midsummer Morning, but I think this little joy from Prostetnic Vogon Jeltz should be enough to warm your hearts:

    Oh freddled gruntbuggly,
    Thy micturations are to me
    As plurdled gabbleblotchits
    On a lurgid bee
    That mordiously hath bitled out
    Its earted jurtles
    Into a rancid festering ...
    [drowned out by moaning and screaming]
    Now the jurpling slayjid agrocrustles
    Are slurping hagrilly up the axlegrurts
    And living glupules frart and slipulate
    Like jowling meated liverslime
    Groop, I implore thee, my foonting turlingdromes
    And hooptiously drangle me
    With crinkly bindlewurdles,
    Or else I shall rend thee in the gobberwarts with my blurglecruncheon
    See if I don't.

    Cheers!

    --
    "What in the name of Fats Waller is that?"
    "A four-foot prune."
  60. Re:You think the code is bad? Take a look at page by Grishnakh · · Score: 2, Informative

    No, that's correct. Black indicates ground, and red indicates power (which is -48V). This is a -48V system, so it's backwards from what you're used to looking at.

  61. Re:ok so the company lost money... by shutdown+-p+now · · Score: 2, Informative

    But since they are insignificant in the browser market

    Opera is only insignificant in U.S. and Asia. It's much more noticeable in Europe in general, and very prominent in Eastern Europe and especially in ex-USSR / CIS countries, topping at about 40% there (and yes, it does overtake Firefox there). Which is still a fairly large market - you might not care about it, but for a lot of companies, it would be silly to ignore it.

  62. Re:So who was it ?? not by eihab · · Score: 2, Insightful

    Then use a library like jQuery or Mootools. The overhead is low (30-50kb) and the gains in speed, cross-browser support and extra functionality (jQuery's CSS3 selectors in IE!) is enormous.

    Even if you're a veteran who knows how to code your way around all the different inconsistencies, it's so much nicer to let a library handle that and focus on what you really need to get done.

    You'll eventually run into something or even find that the library maybe working against you in some way. But I want to say that 99% of the time it'll save you time and headaches.

    --
    If you can't mod them join them.
  63. Re:So who was it ?? not by Blakey+Rat · · Score: 2, Interesting

    It mostly works. It's possible, but not likely, that IE's version of getElementsByClassName does something differently than Firefox's version, but the odds are if they implemented it at all, it's correct.

    There are lots of places where a check like this won't help you at all, though. For example, try to figure out which mouse button is pressed when an event occurs-- IE and Firefox/DOM use different methods: http://www.quirksmode.org/js/events_properties.html#button

    Now here comes the place where I get modded down for trolling: the IE way of doing things frequently, in fact almost always, makes a hell of a lot more sense than the W3C way. Examples:

    1) The existence of "document.readyState" allows a Javascript to know if the document is ready for DOM manipulation even if the Javascript was injected into the page after the ONLOAD event already fired (for example, a Javascript which can either be included in the page or as a bookmarklet.) There's no way to do this using the standards.

    2) The IE property name "innerText" makes a hell of a lot more sense than "textContent", since "innerHTML" is already in the standards. "innerHTML" should match "innerText", or "textContent" should match "HTMLContent". The standards make no sense here. Given, IE should implement "textContent" (and in fact I think IE8 does), but FF should also implement "innerText".

    3) The above-mentioned mouse button handling code. In Firefox and other standards compliant browsers, there's no way to tell if two buttons were pressed simultaneously. Additionally, there's no (reliable) way for the browser to communicate that no button was pressed at all when the event occurred. The standards on this are retarded.

    4) The way IE handles events makes it possible to include static event handlers (i.e. event handlers hard-coded into the HTML) and still receive an event object. As far as I can work out, there's no standards-compliant way to do this.

  64. OT: Slashdot Achievement by rhendershot · · Score: 2, Funny

    Driving your nice little environment degrading Toyota Prius to Germany and finding out they have trimmed all branches of trees so that only VW, BMW, Merc and Audi can pass through without being scratched would probably upset you just as much

    Fantastic! I nominate yours for a Slashdot Achievement (which if they don't have then they certainly *should* have!)

    Most Tortured Car Analogy of the Year ;)