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. The Lounge
  3. Don't name your computer NULL as I did...

Don't name your computer NULL as I did...

Scheduled Pinned Locked Moved The Lounge
c++databasesql-serversysadminquestion
12 Posts 8 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
    Cristian Amarie
    wrote on last edited by
    #1

    ...because I did once a select from sysprocesses SQL Server and I saw in the host name 'NULL'. It was indeed my computer name connected, not the null value. I stayed with a colleague one hours until we figured out why NULL was displayed... This is probably silver medal. Gold medal award goes to: In a program with two "controls" (actually was a DOS app some years ago), one for date DD|MM and one for time HH|MM. I wrongly reversed the data to be set in those boxes and it displayed me 13|10 in both. It's ok, I said, let's take a coffee. Some hours later it was not ok. 4 hours pulling my hair off "why?" (on a 486DX2, 8 MB Ram, BC++ 3.1 console). Because the first test was done in October 13, hours 13:10 --> both are 13|10. Now my the computer is not called NULL anymore, but VOID, so I suppose it's ok now.

    C S T R 4 Replies Last reply
    0
    • C Cristian Amarie

      ...because I did once a select from sysprocesses SQL Server and I saw in the host name 'NULL'. It was indeed my computer name connected, not the null value. I stayed with a colleague one hours until we figured out why NULL was displayed... This is probably silver medal. Gold medal award goes to: In a program with two "controls" (actually was a DOS app some years ago), one for date DD|MM and one for time HH|MM. I wrongly reversed the data to be set in those boxes and it displayed me 13|10 in both. It's ok, I said, let's take a coffee. Some hours later it was not ok. 4 hours pulling my hair off "why?" (on a 486DX2, 8 MB Ram, BC++ 3.1 console). Because the first test was done in October 13, hours 13:10 --> both are 13|10. Now my the computer is not called NULL anymore, but VOID, so I suppose it's ok now.

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      Okay, I won't.... Are Spanish city names okay??


      Do you want to know more?


      Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Please remember that the force of gravity can go up as well as down.

      1 Reply Last reply
      0
      • C Cristian Amarie

        ...because I did once a select from sysprocesses SQL Server and I saw in the host name 'NULL'. It was indeed my computer name connected, not the null value. I stayed with a colleague one hours until we figured out why NULL was displayed... This is probably silver medal. Gold medal award goes to: In a program with two "controls" (actually was a DOS app some years ago), one for date DD|MM and one for time HH|MM. I wrongly reversed the data to be set in those boxes and it displayed me 13|10 in both. It's ok, I said, let's take a coffee. Some hours later it was not ok. 4 hours pulling my hair off "why?" (on a 486DX2, 8 MB Ram, BC++ 3.1 console). Because the first test was done in October 13, hours 13:10 --> both are 13|10. Now my the computer is not called NULL anymore, but VOID, so I suppose it's ok now.

        S Offline
        S Offline
        Steve McLenithan
        wrote on last edited by
        #3

        LOL My computer is named null ;)

        This demographic will quite happily click on shiny things however:laugh:

        Found on Bash.org [erno] hm. I've lost a machine.. literally _lost_. it responds to ping, it works completely, I just can't figure out where in my apartment it is.

        R 1 Reply Last reply
        0
        • C Cristian Amarie

          ...because I did once a select from sysprocesses SQL Server and I saw in the host name 'NULL'. It was indeed my computer name connected, not the null value. I stayed with a colleague one hours until we figured out why NULL was displayed... This is probably silver medal. Gold medal award goes to: In a program with two "controls" (actually was a DOS app some years ago), one for date DD|MM and one for time HH|MM. I wrongly reversed the data to be set in those boxes and it displayed me 13|10 in both. It's ok, I said, let's take a coffee. Some hours later it was not ok. 4 hours pulling my hair off "why?" (on a 486DX2, 8 MB Ram, BC++ 3.1 console). Because the first test was done in October 13, hours 13:10 --> both are 13|10. Now my the computer is not called NULL anymore, but VOID, so I suppose it's ok now.

          T Offline
          T Offline
          Tomaz Stih 0
          wrote on last edited by
          #4

          I'm sorry to put salt on open wound, but who on earth would name his computer NULL? :-D Tomaz

          C C 2 Replies Last reply
          0
          • T Tomaz Stih 0

            I'm sorry to put salt on open wound, but who on earth would name his computer NULL? :-D Tomaz

            C Offline
            C Offline
            Cristian Amarie
            wrote on last edited by
            #5

            Me. As i said, now is VOID, and at home is VIRTUAL.

            1 Reply Last reply
            0
            • T Tomaz Stih 0

              I'm sorry to put salt on open wound, but who on earth would name his computer NULL? :-D Tomaz

              C Offline
              C Offline
              Colin Angus Mackay
              wrote on last edited by
              #6

              LPT1 would be a much better name.


              Do you want to know more?


              Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Please remember that the force of gravity can go up as well as down.

              1 Reply Last reply
              0
              • S Steve McLenithan

                LOL My computer is named null ;)

                This demographic will quite happily click on shiny things however:laugh:

                Found on Bash.org [erno] hm. I've lost a machine.. literally _lost_. it responds to ping, it works completely, I just can't figure out where in my apartment it is.

                R Offline
                R Offline
                Richard Parsons
                wrote on last edited by
                #7

                Found on Bash.org [erno] hm. I've lost a machine.. literally _lost_. it responds to ping, it works completely, I just can't figure out where in my apartment it is. Not funny, just not funny at all :(( This actually happen to us here a few weeks ago... We could ping computer 36 but we could not find it. It turned out to be a machine that nobody ever uses in the copy room... :doh:

                R S 2 Replies Last reply
                0
                • R Richard Parsons

                  Found on Bash.org [erno] hm. I've lost a machine.. literally _lost_. it responds to ping, it works completely, I just can't figure out where in my apartment it is. Not funny, just not funny at all :(( This actually happen to us here a few weeks ago... We could ping computer 36 but we could not find it. It turned out to be a machine that nobody ever uses in the copy room... :doh:

                  R Offline
                  R Offline
                  Rick York
                  wrote on last edited by
                  #8

                  I read a story about a computer being "lost" several years ago at a large institution, MIT I think it was. Eventually they discovered that a doorway had been walled-in with the computer inside. It turned out to be an old PDP-8 I think. One of the last ones alive. I am a little vague on the facts now but those things have happened. __________________________________________ a two cent stamp short of going postal.

                  1 Reply Last reply
                  0
                  • R Richard Parsons

                    Found on Bash.org [erno] hm. I've lost a machine.. literally _lost_. it responds to ping, it works completely, I just can't figure out where in my apartment it is. Not funny, just not funny at all :(( This actually happen to us here a few weeks ago... We could ping computer 36 but we could not find it. It turned out to be a machine that nobody ever uses in the copy room... :doh:

                    S Offline
                    S Offline
                    Steve McLenithan
                    wrote on last edited by
                    #9

                    Richard Parsons wrote: Not funny, just not funny at all This actually happen to us here a few weeks ago... We could ping computer 36 but we could not find it. It turned out to be a machine that nobody ever uses in the copy room... ROTFLMAO. yes it is. your story makes it even funnier.:laugh::laugh::laugh:

                    This demographic will quite happily click on shiny things however:laugh:

                    Found on Bash.org [erno] hm. I've lost a machine.. literally _lost_. it responds to ping, it works completely, I just can't figure out where in my apartment it is.

                    1 Reply Last reply
                    0
                    • C Cristian Amarie

                      ...because I did once a select from sysprocesses SQL Server and I saw in the host name 'NULL'. It was indeed my computer name connected, not the null value. I stayed with a colleague one hours until we figured out why NULL was displayed... This is probably silver medal. Gold medal award goes to: In a program with two "controls" (actually was a DOS app some years ago), one for date DD|MM and one for time HH|MM. I wrongly reversed the data to be set in those boxes and it displayed me 13|10 in both. It's ok, I said, let's take a coffee. Some hours later it was not ok. 4 hours pulling my hair off "why?" (on a 486DX2, 8 MB Ram, BC++ 3.1 console). Because the first test was done in October 13, hours 13:10 --> both are 13|10. Now my the computer is not called NULL anymore, but VOID, so I suppose it's ok now.

                      R Offline
                      R Offline
                      Rocky Moore
                      wrote on last edited by
                      #10

                      Never thought about naming a machine that. I guess your mind was blank when it asked for a name huh ? :) Rocky <>< www.HintsAndTips.com - Now with "Recommendation" postings www.MyQuickPoll.com - Now with Recent Poll List

                      C 1 Reply Last reply
                      0
                      • R Rocky Moore

                        Never thought about naming a machine that. I guess your mind was blank when it asked for a name huh ? :) Rocky <>< www.HintsAndTips.com - Now with "Recommendation" postings www.MyQuickPoll.com - Now with Recent Poll List

                        C Offline
                        C Offline
                        caractacus
                        wrote on last edited by
                        #11

                        NUL, PRN, COM1, LPT1 These are all DOS device names. I believe you can shake the foundations of a windows system by using these in crucial areas, such as the machine name. If you don't mind odd behavior, missing data and reinstalling periodically, try these names out and tell me what happened!:)

                        C 1 Reply Last reply
                        0
                        • C caractacus

                          NUL, PRN, COM1, LPT1 These are all DOS device names. I believe you can shake the foundations of a windows system by using these in crucial areas, such as the machine name. If you don't mind odd behavior, missing data and reinstalling periodically, try these names out and tell me what happened!:)

                          C Offline
                          C Offline
                          Cristian Amarie
                          wrote on last edited by
                          #12

                          Nothing happens, I think, if you name a computer NUL. The computer name and a reserved file name have nothing to do, nobody will try to call CreateFile passing a computer name as parameter. Anyway, try to create a user LPT1 - this one can be easily deleted.

                          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