Slashdot Mirror


User: Jugalator

Jugalator's activity in the archive.

Stories
0
Comments
6,054
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 6,054

  1. Re:DHTML in Mozilla? on Dynamic HTML The Definitive Reference (2nd edition) · · Score: 2

    > The FORM element encompasses behavior similar
    > to a collection and an element. It provides
    > direct access to the contained input elements
    > as well as the attributes of the form element

    That just sounds like form.containedElement is ok. What I was going for is that "form" where "form" is the ID of a tag isn't part of the DOM standard. That's where getElementById comes into play.

    > Finding a better example of vendor-specific
    > DOM code should be easy.

    Yes, I admit I didn't try hard since the general look of the code wasn't pleasant. Go ahead and give us a better example if you wish instead of:

    > Nothing worse than a web nazi when he's up his
    > own ass.

    :-P

  2. Re:DHTML standards set by W3C and ECMA on Dynamic HTML The Definitive Reference (2nd edition) · · Score: 2

    .. and both these standards are well supported, at least for normal use, by both IE, Mozilla and (I think) Opera. I think this as a very overlooked fact, by looking at all the trouble web designers are going through making special cases for the amounts of browser/version combinations.

  3. Re:Dynamic Duo on Dynamic HTML The Definitive Reference (2nd edition) · · Score: 4, Insightful
    Too bad that the Dynamic Duo site teach to write special cases for IE4/NS4. What about Mozilla and any Netscape version past 6.0 that has nothing in common with Netscape 4? What about Opera?

    Then they have to suggest using something like this:
    if (ie4) {
    // IE4+ code
    } else if (ns4) {
    // NS4 code
    } else if (ns6) {
    // NS6/Moz code
    } else if (opera) {
    // Opera code
    }
    Can you see the maintenance you'd need to do to make it cross-browser compatible?

    The alternative is DOM where you can use common code for all browsers that support DOM. Considering that the standard has been around for years and is supported rather good by all current browsers, it's surprising that there's enormous amounts of sites around that teach the aging "version 4" coding philosophy. It's the philosophy behind those hideous IE-specific pages that might have *some* Netscape support in but break when you use a browser/browser version the coder didn't expect or didn't exist at the time the page was coded.
  4. Re:DHTML in Mozilla? on Dynamic HTML The Definitive Reference (2nd edition) · · Score: 5, Insightful
    I'm not a web developer, but I've heard that DHTML support in Mozilla is pretty bad

    Not as long as you follow the current standards (DOM). If you do that, both IE and Mozilla has rather good "DHTML" support. It's funny that there's a way to write decent cross-browser pages that's dynamic and all that and that this way is even standardized, while many web developers *still* refuse to realize facts and continues to struggle with Microsoft's document.all model, having to disable parts of pages to make them cross-browser, etc. Is it lack of education? Brainwashing? :-)

    The site I'm thinking of is Citibank's credit card management section

    Yeah, and just by looking at the source code at their login screen I see tons of non-standard DHTML code so it's no surprise it isn't working well at other browsers than IE.

    I'm talking about this:
    if ((frm.USERNAME.value == "") || (frm.PASSWORD.value == ""))
    {
    alert("Please enter your User ID and Password to sign on");
    frm.USERNAME.focus();
    return (false);
    }
    See that frm.USERNAME rubbish?
    If they had just changed that fragment to this:
    var usr = document.getElementById("USERNAME");
    var pwd = document.getElementById("PASSWORD");

    if ((usr.value == "") || (pwd.value == ""))
    {
    alert("Please enter your User ID and Password to sign on");
    usr.focus();
    return false;
    }
    .. and it might have worked a lot better on Mozilla (while still maintaining 100% compatibility with IE! *gasp*). Look above at the incredible effort spent too.
  5. Re:Hyperthreading? bah! on Intel Pushes Pentium 4 Past 3 GHz · · Score: 2

    Um, i'd mod you down for being an idiot

    It's funny. Laugh. :-)

  6. Re:Curiosity....... on Mice Designed by Famous Anime Artists · · Score: 2

    which is really odd seeing as mostly on /. people don't read the article before commenting...

    I guess the keyword here is "anime". Nerdiness in all its glory. :)

  7. Re:Also @ Cosmo Games on Mice Designed by Famous Anime Artists · · Score: 2

    Wow, that's the second most ugliest mouse I've ever seen.

  8. Hyperthreading? bah! on Intel Pushes Pentium 4 Past 3 GHz · · Score: 4, Funny

    I'm personally going to build an octathreading CPU by tricking the OS into thinking it's working with EIGHT processors! Wow, that should give me 8x the performance! Stupid Intel restricting themselves to faking just two processors.

  9. Re:Curiosity....... on Mice Designed by Famous Anime Artists · · Score: 2

    It was slashdotted before there was any comments here. :-(

  10. Re:This can't succeed in Norway on Palm Tungsten Models Reviewed · · Score: 3, Interesting

    Hehe... You beat me to it... :-) It's "heavy stone" in swedish as well. In Sweden, we normally use the name "Wolfram" for the mineral (which is also where its atomic symbol "W" comes from).

  11. Re:Yeah, right... on Proposed Next-Generation Space Station · · Score: 1

    Oh, and I guess you can play Find Five Flaws on that picture... The globe look a bit misplaced for example. :-)

  12. Re:Yeah, right... on Proposed Next-Generation Space Station · · Score: 3, Informative

    This seems to be the main news site for the International Space Station.

    They seem to have fun messing around with stuff. Don't ask me what the heck they're up to on the picture. :-)

  13. Re:what a balanced and fair summary on Big Brother Lifetime Award Goes To Microsoft · · Score: 2
  14. Regardin the security issues... on Big Brother Lifetime Award Goes To Microsoft · · Score: 5, Interesting

    I think Windows is largely a desktop OS, regardless of any "Professional" labels MS choose to put on them. Remember that a "profesional" user is far too often someone who knows how to use MS Office and Outlook with zero security awareness.

    And for a desktop OS, Windows XP is sure stable and secure enough for me. Sometimes I have to wonder if an easy-to-use OS makes people lazy and don't care about firewalls, anti-virus software and other obvious security software that are necessary today, especially if you're going to use an Operating System that's by far the most common on the market. Microsoft's responsibility isn't to provide security to prevent us from spreading trojans. Only education can do that.

    But don't get me wrong -- I blame MS if they don't have a patch ready before a virus/trojan/whatever is released. But, to use Bugbear as an example, if a patch is released a year ago and someone didn't care to download it, is it then Microsoft's responisiblity to foresee the problem and have a fix when Windows 2000 went retail or the user's responsibility to keep up to date with security patches?

    I guess it all boils down to the fact that we're all human... Since Microsoft has a hard time to keep up with exploits from a huge amount of potential hackers due to the OS' wide-spread use and the end users for not keeping up with security software and patches. Perhaps Windows would be much better of as Open Source since it would help with a larger programmer base, but that's of course impossible as long as Bill Gates has something to say. :-)

  15. Re:Gives out more heat that it recieves. on Galileo's Flyby of Almathea · · Score: 4, Interesting

    I think at least Io was so volcanic and active because of the extreme "tidal waves" from Jupiter. The "waves" are, due to the huge gravitation of Jupiter, so strong they pull solid matter and this of course cause quite a bit of friction. And friction cause heat. Not really surprising, since such a small object as our Moon does funny things to our seas. :-)

    Anyway, to my point, perhaps the same applies to Amalthea?

  16. Re:My theory on Tetris Is Hard: NP-Hard · · Score: 3, Funny

    Hehe... Yeah, I'm personally convinced that Tetris and all its clones have a highly sophisticated masochistic AI.

  17. Re:Tetris "ends"? on Tetris Is Hard: NP-Hard · · Score: 2

    Will someone please tell me what happens when Tetris ends? Is it like the end of the rainbow ... pots of gold and all that good stuff?

    Yeah, I think it's like the end of the rainbow, but not as you describe it. Rather "you never get there". :-)

  18. Re:the second I read the article on Tetris Is Hard: NP-Hard · · Score: 3, Funny

    I'm sure creating that infectious tune wasn't NP-hard.

    No, but, from own experiences, it's an NP-hard problem to get it out of your head once you've heard it, so please don't give me a link to where it can be downloaded. :-)

  19. My theory on Tetris Is Hard: NP-Hard · · Score: 5, Funny

    Tetris wouldn't be NP-hard if it just released that damn 1x4 brick when you need it!

  20. The Aviation Safety Reporting System on Cellphones On Airplanes · · Score: 5, Informative

    Check out actual reports from PED-related (Personal Electronic Device) incidents.

    You might also wish to read a discussion of the problems with PEDs on airplanes.

    Finally, here's a list of how the ASRS connect electronic devices to airplane anomalies, according to various reports they've received:

    Anomaly: NAV CDI needle swing (off course), Phase: CL, Possible Cause: tape players
    Anomaly: CDI needle swings, Phase: ER, Possible Cause: chess player
    Anomaly: erroneous nav signal of VOR station, Phase: ER, Possible Cause: dictaphone
    Anomaly: loss of VOR capability, Phase: ER?, Possible Cause: cellphone
    Anomaly: HSI's discsrepancies, Possible Cause: cellphone
    Anomaly: NAV compass & CDI oscillation (off course), Possible Cause: PEDs
    Anomaly: off VOR course, Phase: ER, Possible Cause: cellphone
    Anomaly: off course, Possible Cause: tape player
    Anomaly: music blocked VHF comm's, Possible Cause: FM radio
    Anomaly: comm's blocked, Phase: GR/CL, Possible Cause: Nintendo, cellphone, notebooks
    Anomaly: off course, Possible Cause: tape machine+Nintendo
    Anomaly: off course, Phase: ER, Possible Cause: cellphone
    Anomaly: both VORs lost, no VOR audio signal, Phase: ER, Possible Cause: cellphone
    Anomaly: all directional gyros lost, Possible Cause: 25 radio's, 1 laptop
    Anomaly: compass error; off course, Phase: ER, Possible Cause: laptop, comp.game
    Anomaly: 2 missed approaches, Phase: FA, Possible Cause: PED suspected
    Anomaly: loss of all autonav functions, Phase: CL, Possible Cause: 3 laptops, cdplayer/radio
    Anomaly: loc receiver anomaly; missed app., Phase: FA, Possible Cause: PED suspected
    Anomaly: compass precess 10deg, Phase: ER, Possible Cause: laptop
    Anomaly: Omega NAV unreliable, Phase: ER, Possible Cause: tv set suspected
    Anomaly: HSI errors, Phase: TA,CL,ER, Possible Cause: cellphone
    Anomaly: nav compass sys error; off course, Phase: CL, Possible Cause: cellphone
    Anomaly: temp loss of com freq., Possible Cause: cd player
    Anomaly: INS nav errors, Possible Cause: electronic games
    Anomaly: off course, Possible Cause: cellphone
    Anomaly: eng fuel ctlr + vhf radio interference, Possible Cause: cellphone
    Anomaly: off course, Possible Cause: laptop
    Anomaly: EMI interference & radio alt flag, Phase: ER, Possible Cause: cd-players (2)
    Anomaly: erratic cdi indications, Phase: ER, Possible Cause: 2 gameboys
    Anomaly: autopilot erratic, Phase: AP, Possible Cause: cellphone suspected
    Anomaly: off course, Possible Cause: gameboy
    Anomaly: nav radio interference; off ILS course, Phase: AP, Possible Cause: computer game
    Anomaly: EMI interference causes a split between the compass system in flight ER laptop both LOC and GS 'OFF' flags showed just prior to the Outer Marker
    Phase: AP, Possible Cause: PED suspected
    Anomaly: significant LOC rate of deflection, Phase: AP, Possible Cause: PED possible
    Anomaly: loss of Captain EFIS display, Phase: AP, Possible Cause: 8 laptops
    Anomaly: electronic compass erratic, Possible Cause: cd player
    Anomaly: interfering transmitter, Phase: AP, Possible Cause: cellphone
    Anomaly: NAV and COM radio problems, Phase: PED, Possible Cause: suspected
    Anomaly: off approach path, Phase: AP, Possible Cause: PED suspected
    Anomaly: off course due to drifting, Phase: FM, Possible Cause: PED suspected
    Anomaly: HSI discrepencies, Possible Cause: PED suspected
    Anomaly: EICAS interference, airspeed discrep., Phase: ER, DC, Possible Cause: PED
    Anomaly: loss of COM frequency, Possible Cause: cellphone
    Anomaly: ILS, radio altimeter, and primary flight display went out, Possible Cause: 20 cellphones

  21. Re:Whats wrong with html/css2 ? on Tim Bray on Microsoft Office · · Score: 2

    Yeah, Mozilla support XML and I even think it supports XSLT for any layout needs. However, I still think XML in Office 11 is meant for parsers and automated systems, since I don't think MS would bother with it when they already have implemented HTML for web purposes. But I can't be completely sure of what Steve Ballmer & co are planning. :-)

  22. But would you be allowed to use the phones? on Cellphones On Airplanes · · Score: 4, Insightful

    I mean.. How is the flight crew going to tell the difference from an "ok" phone and a "bad" phone? Will they have to take your phone and check if it has some special certificate or what?

  23. Re:Whats wrong with html/css2 ? on Tim Bray on Microsoft Office · · Score: 3, Informative

    Whats wrong with HTML and CSS2 for all your word processing?

    I don't think the new XML format is meant for documents you wish to publish on the web. Office already support the HTML format pretty well (with some extensions.. ahem) since Office 2000. HTML support works even better in Office XP since it allow you to save the document as "filtered HTML", where Office filters most of the Office-specific tags and attributes at the cost of loosing some information in the document.

    I think the XML format is being added since XML represent the document with a much more meaningful structure that's easier to parse by third party software for use in electronic commerce and other automated systems, something that's inappropriate to use HTML code for, as it was designed to make pretty layouts, not to describe content for easy parsing.

    I think it's pretty obvious why MS would want to add XML support - to spread their Office document format and make Office useful in places such as web services where it wouldn't be as useful before.

  24. Re:Or from the US site on Could CDRW Disks Replace Videotapes? · · Score: 2

    Wow, I want one of those. :) (technical specs here btw).

    Plays & records DVD-RAM, plays & records DVD-R, plays CD-R/RW, built-in 40 Gb hard disk for 52 hours of recordings... Hmm...!

    $999.95 ($29.95 per 9.4 Gb recordable DVD-RAM disc for 240 minutes)

    A bit expensive but it's one of those "I need" gizmos. :)

  25. Re:Makes you really wonder... on Pigs with Human Genes · · Score: 2

    ... when do pigs fly ...

    They already can, silly!

    Pigs entering atmosphere

    And in other news:

    Dead pigs fly from truck, almost hit minivan