Forgot your password?
typodupeerror
Programming It's funny.  Laugh. IT Technology Hardware

Most Expensive JavaScript Ever? 405

Posted by Soulskill
from the not-their-best-work dept.
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."
This discussion has been archived. No new comments can be posted.

Most Expensive JavaScript Ever?

Comments Filter:
  • by Chi-RAV (541181) on Tuesday July 21, 2009 @08:01AM (#28768637)

    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.

  • by mcgrew (92797) on Tuesday July 21, 2009 @08:02AM (#28768645) Homepage Journal

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

    Conspiracy theorists unite!

  • Re:HP probably (Score:2, Informative)

    by Anonymous Coward on Tuesday July 21, 2009 @08:05AM (#28768689)
    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+"\""); }
  • by Anonymous Coward on Tuesday July 21, 2009 @08:08AM (#28768721)

    "since they are insignificant in the browser market I'd probably do the same thing. This is a lame piece of news, companies blow larger deals on much sillier situations than this. It's just Opera trying to drum up some users." - by sulfide (1382739) on Tuesday July 21, @08:53AM (#28768555)

    Not knocking FireFox/Mozilla really, they do a nice product & I've worked with their teams fixing bugs on various sites etc. et al, but... they're NO OPERA, in terms of performance, memory footprint, speed overall consistently, & security vulnerabilities patching (as well as meeting standards, but, here? FF seems to do more pages 'correctly', but, that's a matter of useragent string as a fix usually (report as IE, hassles go away many times), + webpage devs building MOSTLY around IE &/or FireFox instead)...

    Considering Opera's OVERALL faster (when all factors are tested, Opera USUALLY comes out "on top" of the competition, for more speed & efficiency in various tests of browser speed (such as this one -> http://www.howtocreate.co.uk/browserSpeed.html [howtocreate.co.uk] + others such as -> http://nontroppo.org/timer/kestrel_tests/ [nontroppo.org] & more (available upon request, just ask, I will put them out))?

    It keeps Opera's competition on their toes, so-to-speak - they "steal" ideas from Opera, rampantly, & yes FireFox has surpassed Opera in javascript parsing + processing speeds lately, but, that same "gain" turned up a loss in the next url below (1st one):

    AND, that Opera is overall the most secure (i.e.-> consistently bearing less known & unpatched security vulnerabilities, for YEARS now no less, this HAS been the case) than BOTH of its main competitors in FireFox (yes, even v.3.51 lately, has "holes again", per this url from here @ /. no less) -> New Firefox Vulnerability Revealed http://tech.slashdot.org/story/09/07/19/169206/New-Firefox-Vulnerability-Revealed [slashdot.org] & Microsoft Internet Explorer -> http://secunia.com/advisories/product/21625/ [secunia.com] vs. Opera -> http://secunia.com/advisories/product/10615/ [secunia.com]

    That anyone, with ANY SENSE, that is, knows which webbrowser not only performs the best, pound for pound, but also which one keeps you safest online (& has features natively "built-in" that other webbrowsers have to use addons for, or imitate, to achieve the same levels of excellence in 1 package)...

    APK

    P.S.=> Lastly, considering Opera generally makes passing the "ACID tests" (for browser std.s compliance) a snap usually, & they are usually the first OR amongst the first that pass it? Well... to quote Microsoft? "Where do YOU want to go, today?"... Opera! apk

  • by Anonymous Coward on Tuesday July 21, 2009 @08:28AM (#28768895)
    But it's worse than that. The unnamed company specifically sent these test servers to Opera. I can sorta understand a bone-headed company deciding it would not bother supporting a minority browser like Opera... but it is then silly to bid on a contract with that minority player, and it takes colossal idiocy to ship a server that doesn't even work with that company's software.
  • by ZorinLynx (31751) on Tuesday July 21, 2009 @08:41AM (#28769041) Homepage

    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.

  • Re:So who was it ?? (Score:5, Informative)

    by jefu (53450) on Tuesday July 21, 2009 @08:51AM (#28769143) Homepage Journal
    A bit of exploration gives one possibility. This page, on Dell DRACs [dell.com] , which have a web interface, shows that the web interface supports really only IE and firefox, and those only on 32 bit machines.
  • by metalhed77 (250273) <[andrewvc] [at] [gmail.com]> on Tuesday July 21, 2009 @08:51AM (#28769145) Homepage

    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.

  • by Kupfernigk (1190345) on Tuesday July 21, 2009 @09:19AM (#28769517)
    (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.

  • by tepples (727027) <tepples AT gmail DOT com> on Tuesday July 21, 2009 @09:19AM (#28769521) Homepage Journal

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

  • Re:So who was it ?? (Score:3, Informative)

    by coolsnowmen (695297) on Tuesday July 21, 2009 @09:24AM (#28769603)

    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.

  • by Daniel Dvorkin (106857) * on Tuesday July 21, 2009 @09:26AM (#28769633) Homepage Journal

    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.

  • Re:Warn and continue (Score:4, Informative)

    by Binestar (28861) * on Tuesday July 21, 2009 @09:44AM (#28769861) Homepage
    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.
  • by cblack (4342) on Tuesday July 21, 2009 @09:45AM (#28769891) Homepage

    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.

  • Re:Warn and continue (Score:4, Informative)

    by netsharc (195805) on Tuesday July 21, 2009 @09:47AM (#28769921)

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

  • by dgatwood (11270) on Tuesday July 21, 2009 @11:31AM (#28771283) Journal

    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.

  • by Grishnakh (216268) on Tuesday July 21, 2009 @12:58PM (#28772505)

    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.

  • by shutdown -p now (807394) on Tuesday July 21, 2009 @01:04PM (#28772599) Journal

    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 [opera.com], 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.

  • by shutdown -p now (807394) on Tuesday July 21, 2009 @01:23PM (#28772815) Journal

    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 [w3.org].

    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.

"Everything should be made as simple as possible, but not simpler." -- Albert Einstein

Working...