Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. The Back Room
  4. Rants of the Day

Rants of the Day

Scheduled Pinned Locked Moved The Back Room
questionc++comarchitecturetutorial
20 Posts 10 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Chris Maunder
    wrote on last edited by
    #1

    1. Why does Firefox refuse to be sensible with setting the width of a File upload control 2. Why does IE report Zip file uploads as application/octet-stream instead of /zip? 3. Why does Firefox return getElementByTagName("body") as a collection whereas IE returns a single element 4. Why aren't browser makers forced onto an island with an assortment of sharp, messy weapons to duke it out and settle on a single standard. How hard can it be to decide on what "width" means? Or on how to insert some text into a page?

    cheers, Chris Maunder

    CodeProject.com : C++ MVP

    E 7 S P B 5 Replies Last reply
    0
    • C Chris Maunder

      1. Why does Firefox refuse to be sensible with setting the width of a File upload control 2. Why does IE report Zip file uploads as application/octet-stream instead of /zip? 3. Why does Firefox return getElementByTagName("body") as a collection whereas IE returns a single element 4. Why aren't browser makers forced onto an island with an assortment of sharp, messy weapons to duke it out and settle on a single standard. How hard can it be to decide on what "width" means? Or on how to insert some text into a page?

      cheers, Chris Maunder

      CodeProject.com : C++ MVP

      7 Offline
      7 Offline
      73Zeppelin
      wrote on last edited by
      #2

      That really depends on what you mean by "width" and "text". At the Planck scale, what is "width"? And "text"? What is that. Did you read the browser manual?


      1 Reply Last reply
      0
      • C Chris Maunder

        1. Why does Firefox refuse to be sensible with setting the width of a File upload control 2. Why does IE report Zip file uploads as application/octet-stream instead of /zip? 3. Why does Firefox return getElementByTagName("body") as a collection whereas IE returns a single element 4. Why aren't browser makers forced onto an island with an assortment of sharp, messy weapons to duke it out and settle on a single standard. How hard can it be to decide on what "width" means? Or on how to insert some text into a page?

        cheers, Chris Maunder

        CodeProject.com : C++ MVP

        E Offline
        E Offline
        Ed Gadziemski
        wrote on last edited by
        #3

        Chris Maunder wrote:

        How hard can it be to decide on what "width" means? Or on how to insert some text into a page?

        You may as well ask "What is the meaning of life?" or "Why can't they cure the common cold?" :)

        B 1 Reply Last reply
        0
        • E Ed Gadziemski

          Chris Maunder wrote:

          How hard can it be to decide on what "width" means? Or on how to insert some text into a page?

          You may as well ask "What is the meaning of life?" or "Why can't they cure the common cold?" :)

          B Offline
          B Offline
          BoneSoft
          wrote on last edited by
          #4

          Ed Gadziemski wrote:

          "Why can't they cure the common cold?"

          That's an easy one, it's a virus.


          Try code model generation tools at BoneSoft.com.

          E 1 Reply Last reply
          0
          • C Chris Maunder

            1. Why does Firefox refuse to be sensible with setting the width of a File upload control 2. Why does IE report Zip file uploads as application/octet-stream instead of /zip? 3. Why does Firefox return getElementByTagName("body") as a collection whereas IE returns a single element 4. Why aren't browser makers forced onto an island with an assortment of sharp, messy weapons to duke it out and settle on a single standard. How hard can it be to decide on what "width" means? Or on how to insert some text into a page?

            cheers, Chris Maunder

            CodeProject.com : C++ MVP

            S Offline
            S Offline
            Shog9 0
            wrote on last edited by
            #5

            Chris Maunder wrote:

            3. Why does Firefox return getElementByTagName("body") as a collection whereas IE returns a single element

            Pretty sure it's getElementsByTagName(), and always returns a collection... :~

            ----

            ...the wind blows over it and it is gone, and its place remembers it no more...

            C 1 Reply Last reply
            0
            • B BoneSoft

              Ed Gadziemski wrote:

              "Why can't they cure the common cold?"

              That's an easy one, it's a virus.


              Try code model generation tools at BoneSoft.com.

              E Offline
              E Offline
              Ed Gadziemski
              wrote on last edited by
              #6

              It's a multi-billion dollar industry. Who would want a cure for that?

              B 1 Reply Last reply
              0
              • S Shog9 0

                Chris Maunder wrote:

                3. Why does Firefox return getElementByTagName("body") as a collection whereas IE returns a single element

                Pretty sure it's getElementsByTagName(), and always returns a collection... :~

                ----

                ...the wind blows over it and it is gone, and its place remembers it no more...

                C Offline
                C Offline
                Chris Maunder
                wrote on last edited by
                #7

                You'd think so. I always thought so. But in the debugger, plural or not, it was not returning a collection. Which was actually completely my fault because I was asking for the tags before the document had actually rendered them but even so, when are browsers' implementation of javascript going to start doing what I want instead of what I tell it to do? Huh? HUH??

                cheers, Chris Maunder

                CodeProject.com : C++ MVP

                S 1 Reply Last reply
                0
                • E Ed Gadziemski

                  It's a multi-billion dollar industry. Who would want a cure for that?

                  B Offline
                  B Offline
                  BoneSoft
                  wrote on last edited by
                  #8

                  Think how rich the patent owner of that cure would be... AIDS won't be cured anytime soon either, for the same reason. No virus has ever been cured in human history.


                  Try code model generation tools at BoneSoft.com.

                  A 1 Reply Last reply
                  0
                  • B BoneSoft

                    Think how rich the patent owner of that cure would be... AIDS won't be cured anytime soon either, for the same reason. No virus has ever been cured in human history.


                    Try code model generation tools at BoneSoft.com.

                    A Offline
                    A Offline
                    Anthony Mushrow
                    wrote on last edited by
                    #9

                    Did we mention it is impossible to kill a virus?

                    My current favourite word is: PIE! I have changed my name to my regular internet alias. But don't let the 'Genius' part fool you, you don't know what 'SK' stands for. -The Undefeated

                    T 1 Reply Last reply
                    0
                    • A Anthony Mushrow

                      Did we mention it is impossible to kill a virus?

                      My current favourite word is: PIE! I have changed my name to my regular internet alias. But don't let the 'Genius' part fool you, you don't know what 'SK' stands for. -The Undefeated

                      T Offline
                      T Offline
                      Tony Wesley
                      wrote on last edited by
                      #10

                      SK Genius wrote:

                      Did we mention it is impossible to kill a virus?

                      That assumes that a virus is alive, not a universally accepted viewpoint.

                      A 1 Reply Last reply
                      0
                      • T Tony Wesley

                        SK Genius wrote:

                        Did we mention it is impossible to kill a virus?

                        That assumes that a virus is alive, not a universally accepted viewpoint.

                        A Offline
                        A Offline
                        Anthony Mushrow
                        wrote on last edited by
                        #11

                        Nope, that assumes a virus is not alive in the first place, and therefor cannot be killed. A universally accepted viewpoint. ;P

                        My current favourite word is: PIE! I have changed my name to my regular internet alias. But don't let the 'Genius' part fool you, you don't know what 'SK' stands for. -The Undefeated

                        B T 2 Replies Last reply
                        0
                        • A Anthony Mushrow

                          Nope, that assumes a virus is not alive in the first place, and therefor cannot be killed. A universally accepted viewpoint. ;P

                          My current favourite word is: PIE! I have changed my name to my regular internet alias. But don't let the 'Genius' part fool you, you don't know what 'SK' stands for. -The Undefeated

                          B Offline
                          B Offline
                          BoneSoft
                          wrote on last edited by
                          #12

                          The way I understood it, a virus is alive and can be killed. As I understand it in fact air can kill HIV (which is why it's transmitted through fluids), but curing a human of a viral infection (without killing the host too) is another matter. But I'm by no means a virus expert.


                          Try code model generation tools at BoneSoft.com.

                          A 1 Reply Last reply
                          0
                          • B BoneSoft

                            The way I understood it, a virus is alive and can be killed. As I understand it in fact air can kill HIV (which is why it's transmitted through fluids), but curing a human of a viral infection (without killing the host too) is another matter. But I'm by no means a virus expert.


                            Try code model generation tools at BoneSoft.com.

                            A Offline
                            A Offline
                            Anthony Mushrow
                            wrote on last edited by
                            #13

                            You can destroy a virus, you can't 'kill' it. All a virus is, is a protein case, with some DNA (or RNA) inside. It gets into cells, puts the new genetic code into the cell, and the cell starts making more viruses (is it viruses or viri? or both?). They're like God's little hackers. On a side note: Look how off topic this has become :laugh:

                            My current favourite word is: PIE! I have changed my name to my regular internet alias. But don't let the 'Genius' part fool you, you don't know what 'SK' stands for. -The Undefeated

                            B B A 3 Replies Last reply
                            0
                            • A Anthony Mushrow

                              You can destroy a virus, you can't 'kill' it. All a virus is, is a protein case, with some DNA (or RNA) inside. It gets into cells, puts the new genetic code into the cell, and the cell starts making more viruses (is it viruses or viri? or both?). They're like God's little hackers. On a side note: Look how off topic this has become :laugh:

                              My current favourite word is: PIE! I have changed my name to my regular internet alias. But don't let the 'Genius' part fool you, you don't know what 'SK' stands for. -The Undefeated

                              B Offline
                              B Offline
                              BoneSoft
                              wrote on last edited by
                              #14

                              Hmm. I assumed they were cells. Good to know.

                              SK Genius wrote:

                              Look how off topic this has become

                              Yeah I noticed that. My fault, my apologies.


                              Try code model generation tools at BoneSoft.com.

                              1 Reply Last reply
                              0
                              • C Chris Maunder

                                You'd think so. I always thought so. But in the debugger, plural or not, it was not returning a collection. Which was actually completely my fault because I was asking for the tags before the document had actually rendered them but even so, when are browsers' implementation of javascript going to start doing what I want instead of what I tell it to do? Huh? HUH??

                                cheers, Chris Maunder

                                CodeProject.com : C++ MVP

                                S Offline
                                S Offline
                                Shog9 0
                                wrote on last edited by
                                #15

                                Chris Maunder wrote:

                                when are browsers' implementation of javascript going to start doing what I want instead of what I tell it to do?

                                I hear there's a browser out there that supports using VBScript client-side... ;P

                                ----

                                ...the wind blows over it and it is gone, and its place remembers it no more...

                                1 Reply Last reply
                                0
                                • A Anthony Mushrow

                                  Nope, that assumes a virus is not alive in the first place, and therefor cannot be killed. A universally accepted viewpoint. ;P

                                  My current favourite word is: PIE! I have changed my name to my regular internet alias. But don't let the 'Genius' part fool you, you don't know what 'SK' stands for. -The Undefeated

                                  T Offline
                                  T Offline
                                  Tony Wesley
                                  wrote on last edited by
                                  #16

                                  I surrender to your superior logic.

                                  1 Reply Last reply
                                  0
                                  • C Chris Maunder

                                    1. Why does Firefox refuse to be sensible with setting the width of a File upload control 2. Why does IE report Zip file uploads as application/octet-stream instead of /zip? 3. Why does Firefox return getElementByTagName("body") as a collection whereas IE returns a single element 4. Why aren't browser makers forced onto an island with an assortment of sharp, messy weapons to duke it out and settle on a single standard. How hard can it be to decide on what "width" means? Or on how to insert some text into a page?

                                    cheers, Chris Maunder

                                    CodeProject.com : C++ MVP

                                    P Offline
                                    P Offline
                                    peterchen
                                    wrote on last edited by
                                    #17

                                    Chris Maunder wrote:

                                    getElementByTagName("body") as a collection

                                    Because Microsoft wouldn't do it.


                                    We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
                                    My first real C# project | Linkify!|FoldWithUs! | sighist

                                    1 Reply Last reply
                                    0
                                    • A Anthony Mushrow

                                      You can destroy a virus, you can't 'kill' it. All a virus is, is a protein case, with some DNA (or RNA) inside. It gets into cells, puts the new genetic code into the cell, and the cell starts making more viruses (is it viruses or viri? or both?). They're like God's little hackers. On a side note: Look how off topic this has become :laugh:

                                      My current favourite word is: PIE! I have changed my name to my regular internet alias. But don't let the 'Genius' part fool you, you don't know what 'SK' stands for. -The Undefeated

                                      B Offline
                                      B Offline
                                      Brady Kelly
                                      wrote on last edited by
                                      #18

                                      SK Genius wrote:

                                      They're like God's little hackers.

                                      Wouldn't that imply they're alive?

                                      1 Reply Last reply
                                      0
                                      • C Chris Maunder

                                        1. Why does Firefox refuse to be sensible with setting the width of a File upload control 2. Why does IE report Zip file uploads as application/octet-stream instead of /zip? 3. Why does Firefox return getElementByTagName("body") as a collection whereas IE returns a single element 4. Why aren't browser makers forced onto an island with an assortment of sharp, messy weapons to duke it out and settle on a single standard. How hard can it be to decide on what "width" means? Or on how to insert some text into a page?

                                        cheers, Chris Maunder

                                        CodeProject.com : C++ MVP

                                        B Offline
                                        B Offline
                                        Brady Kelly
                                        wrote on last edited by
                                        #19

                                        Because getElementByTagName returns a collection in general? Because it actually renders more than one body element.

                                        1 Reply Last reply
                                        0
                                        • A Anthony Mushrow

                                          You can destroy a virus, you can't 'kill' it. All a virus is, is a protein case, with some DNA (or RNA) inside. It gets into cells, puts the new genetic code into the cell, and the cell starts making more viruses (is it viruses or viri? or both?). They're like God's little hackers. On a side note: Look how off topic this has become :laugh:

                                          My current favourite word is: PIE! I have changed my name to my regular internet alias. But don't let the 'Genius' part fool you, you don't know what 'SK' stands for. -The Undefeated

                                          A Offline
                                          A Offline
                                          Al Beback
                                          wrote on last edited by
                                          #20

                                          SK Genius wrote:

                                          They're like God's little hackers.

                                          I say it's the devil's work. :rolleyes:


                                          Christianity: The belief that a cosmic Jewish zombie who was his own father can make you live forever if you symbolically eat his flesh and telepathically tell him you accept him as your master, so he can remove and evil force from your soul that is present in humanity because a rib-woman was convinced by a talking snake to eat from a magical tree... yeah, makes perfect sense.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups