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. TOTD

TOTD

Scheduled Pinned Locked Moved The Lounge
question
30 Posts 15 Posters 33 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.
  • P Paul Watson

    Tip of the day: It is pretty stupid trying to open a 256 megabyte file with Notepad, even though it has an extension of TMP. What is even more stupid though is End Tasking that straining Notepad. I don't know what End Task was trying to do (dump the contents of the 256meg file?) but it just farked my machine back to the stone age (writing from another machine right now. My machine is sitting there doing something, has been for the last 20 minutes...) Night all!

    Paul Watson
    Bluegrass
    Cape Town, South Africa

    Macbeth muttered: I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er DavidW wrote: You are totally mad. Nice.

    R Offline
    R Offline
    Roger Wright
    wrote on last edited by
    #7

    Ouch! Will it respond well enough to switch to a different task, Explorer.exe perhaps? "Please don't put cigarette butts in the urinal. It makes them soggy and hard to light" - Sign in a Bullhead City, AZ Restroom

    P 1 Reply Last reply
    0
    • P Paul Watson

      Marc Clifton wrote: The big red "off" button works great. Instantly frees all your virtual RAM and swap disk space. I have a lengthy Stored Procedure open (and unsaved) plus two half written emails and a couple ASPX pages open in VS.NET that need to be saved. :| And I wish off buttons worked like they used to in the old days. These days the only equivalent to an off button on a PC is yanking the cord out the back :)

      Paul Watson
      Bluegrass
      Cape Town, South Africa

      Macbeth muttered: I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er DavidW wrote: You are totally mad. Nice.

      N Offline
      N Offline
      Nick Parker
      wrote on last edited by
      #8

      Paul Watson wrote: I have a lengthy Stored Procedure open (and unsaved) So what's the longest stored procedure you have written Paul. Mine is sitting at 1308 lines, I left a nice disclaimer at the top to any individual who considered modifying it. ;P The shorter the better as far as I can see. -Nick Parker

      P 1 Reply Last reply
      0
      • P Paul Watson

        Tip of the day: It is pretty stupid trying to open a 256 megabyte file with Notepad, even though it has an extension of TMP. What is even more stupid though is End Tasking that straining Notepad. I don't know what End Task was trying to do (dump the contents of the 256meg file?) but it just farked my machine back to the stone age (writing from another machine right now. My machine is sitting there doing something, has been for the last 20 minutes...) Night all!

        Paul Watson
        Bluegrass
        Cape Town, South Africa

        Macbeth muttered: I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er DavidW wrote: You are totally mad. Nice.

        R Offline
        R Offline
        Roman Nurik
        wrote on last edited by
        #9

        i never use end task... i use end process which seems to work more indiscriminantly (spelled right?)... just kills the f*ing thing

        Roman Nurik

        P 1 Reply Last reply
        0
        • P Paul Watson

          Tip of the day: It is pretty stupid trying to open a 256 megabyte file with Notepad, even though it has an extension of TMP. What is even more stupid though is End Tasking that straining Notepad. I don't know what End Task was trying to do (dump the contents of the 256meg file?) but it just farked my machine back to the stone age (writing from another machine right now. My machine is sitting there doing something, has been for the last 20 minutes...) Night all!

          Paul Watson
          Bluegrass
          Cape Town, South Africa

          Macbeth muttered: I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er DavidW wrote: You are totally mad. Nice.

          G Offline
          G Offline
          Garth J Lancaster
          wrote on last edited by
          #10

          Paul - NEXT time, before you open all these processes, install wrkill from the NT resources kit .. its better than the Task Manager for killing things like Notepad, except, it doesnt do it 'nicely' .. it kills 'em good and proper without asking questions hth, Garth

          P B 2 Replies Last reply
          0
          • G Gary R Wheeler

            Errr, most 'off' buttons still work, at least with Phoenix BIOS motherboards. If you hold the power switch down long enough (3 seconds or so), the BIOS will shut the machine off regardless of how confused/hosed/sc***wed-up the O/S is. And yes, I know what you mean about Task Manager. It apparently tries to talk all nicey-nice to applications first, whereas I want it to assasinate the offending process. No mercy!


            Software Zen: delete this;

            G Offline
            G Offline
            Glenn Dawson
            wrote on last edited by
            #11

            Also, on other BIOSes, you can usually set how the power button works.

            P 1 Reply Last reply
            0
            • G Gary R Wheeler

              Errr, most 'off' buttons still work, at least with Phoenix BIOS motherboards. If you hold the power switch down long enough (3 seconds or so), the BIOS will shut the machine off regardless of how confused/hosed/sc***wed-up the O/S is. And yes, I know what you mean about Task Manager. It apparently tries to talk all nicey-nice to applications first, whereas I want it to assasinate the offending process. No mercy!


              Software Zen: delete this;

              P Offline
              P Offline
              Paul Watson
              wrote on last edited by
              #12

              Gary R. Wheeler wrote: If you hold the power switch down long enough (3 seconds or so), the BIOS will shut the machine off regardless of how confused/hosed/sc***wed-up the O/S is. 3 seconds! Jeeesh, back in the Good Old Days you so much as looked at the off button and it switched the PC off. :-D Gary R. Wheeler wrote: It apparently tries to talk all nicey-nice to applications first, whereas I want it to assasinate the offending process Assasinate. I like it :-D

              Paul Watson
              Bluegrass
              Cape Town, South Africa

              Macbeth muttered: I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er DavidW wrote: You are totally mad. Nice.

              1 Reply Last reply
              0
              • G Glenn Dawson

                Also, on other BIOSes, you can usually set how the power button works.

                P Offline
                P Offline
                Paul Watson
                wrote on last edited by
                #13

                Glenn Dawson wrote: Also, on other BIOSes, you can usually set how the power button works Man. I want one of those :-D

                Paul Watson
                Bluegrass
                Cape Town, South Africa

                Macbeth muttered: I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er DavidW wrote: You are totally mad. Nice.

                1 Reply Last reply
                0
                • N Nick Parker

                  Paul Watson wrote: I have a lengthy Stored Procedure open (and unsaved) So what's the longest stored procedure you have written Paul. Mine is sitting at 1308 lines, I left a nice disclaimer at the top to any individual who considered modifying it. ;P The shorter the better as far as I can see. -Nick Parker

                  P Offline
                  P Offline
                  Paul Watson
                  wrote on last edited by
                  #14

                  Nick Parker wrote: Mine is sitting at 1308 lines Wow. No I am not that hardcore :) This one was only 149 lines. I am not a DBA or anything like that, so it is hectic for me. Though this one was the first time I got to use recursion in a SP. Boy does it suck in comparison to recursion in something like C#, even VB beats it. I cannot wait for Yukon so that I can use C# to code SPs. That will be a beautiful day. Nick Parker wrote: The shorter the better as far as I can see Amen. 90% of my stored procs. are just INSERT and UPDATE statements really.

                  Paul Watson
                  Bluegrass
                  Cape Town, South Africa

                  Macbeth muttered: I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er DavidW wrote: You are totally mad. Nice.

                  1 Reply Last reply
                  0
                  • R Roman Nurik

                    i never use end task... i use end process which seems to work more indiscriminantly (spelled right?)... just kills the f*ing thing

                    Roman Nurik

                    P Offline
                    P Offline
                    Paul Watson
                    wrote on last edited by
                    #15

                    Roman Nurik wrote: never use end task... i use end process which seems to work more indiscriminantly (spelled right?)... just kills the f*ing thing I could not even get Task Manager up to get to the Processes tab. The best I could do was click the Close Window button of Notepad and wait for it to bring up the End Task dialog (which took awhile.) You are right though. End Process is normally better, though I bitch when it tells me "You cannot end that process blah blah" :)

                    Paul Watson
                    Bluegrass
                    Cape Town, South Africa

                    Macbeth muttered: I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er DavidW wrote: You are totally mad. Nice.

                    J 1 Reply Last reply
                    0
                    • G Garth J Lancaster

                      Paul - NEXT time, before you open all these processes, install wrkill from the NT resources kit .. its better than the Task Manager for killing things like Notepad, except, it doesnt do it 'nicely' .. it kills 'em good and proper without asking questions hth, Garth

                      P Offline
                      P Offline
                      Paul Watson
                      wrote on last edited by
                      #16

                      Garth J Lancaster wrote: install wrkill from the NT resources kit .. its better than the Task Manager for killing things like Notepad, except, it doesnt do it 'nicely' .. it kills 'em good and proper without asking questions Cool, thanks for the tip. As Gary said up above: "I want it to assasinate the offending process"

                      Paul Watson
                      Bluegrass
                      Cape Town, South Africa

                      Macbeth muttered: I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er DavidW wrote: You are totally mad. Nice.

                      1 Reply Last reply
                      0
                      • R Roger Wright

                        Ouch! Will it respond well enough to switch to a different task, Explorer.exe perhaps? "Please don't put cigarette butts in the urinal. It makes them soggy and hard to light" - Sign in a Bullhead City, AZ Restroom

                        P Offline
                        P Offline
                        Paul Watson
                        wrote on last edited by
                        #17

                        Roger Wright wrote: Will it respond well enough to switch to a different task, Explorer.exe perhaps? Naah nothing. Even the Cap and Numlock light test was a bit fickle. And as per usual after it managed to kill Notepad, Windows still decided to keep all the resources in some loop of space time. Had to reboot to get it all back. One day someone needs to explain to me how an ended process can smack my resources into another unusable dimension.

                        Paul Watson
                        Bluegrass
                        Cape Town, South Africa

                        Macbeth muttered: I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er DavidW wrote: You are totally mad. Nice.

                        R 1 Reply Last reply
                        0
                        • D Daniel Ferguson

                          I have a lengthy Stored Procedure open (and unsaved) plus two half written emails and a couple ASPX pages open in VS.NET that need to be saved. Now you know why some of us are in the habit of pressing Ctrl-S so often...

                          "Pretending to guide me, you led me astray, And I don't want to fall into your kind of ways." "Melt", Front 242

                          P Offline
                          P Offline
                          Paul Watson
                          wrote on last edited by
                          #18

                          Daniel Ferguson wrote: Now you know why some of us are in the habit of pressing Ctrl-S so often... But things were going so well! Haven't had a problem with WXP for so long that I started to trust it*. "Oh WXP can handle this, no need to save that stuff" :-D :rolleyes: * That is were I made my fatal mistake, right? :laugh:

                          Paul Watson
                          Bluegrass
                          Cape Town, South Africa

                          Macbeth muttered: I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er DavidW wrote: You are totally mad. Nice.

                          D 1 Reply Last reply
                          0
                          • P peterchen

                            Paul Watson wrote: I have a lengthy Stored Procedure open (and unsaved) plus two half written emails and a couple ASPX pages open in VS.NET that need to be saved Should teach you to do one thing at a time. sorry - but you know the saying - um... how do you say that in english: "Wer den Schaden hat, braucht für den Spott nicht zu sorgen"? All thumbs for your machine being idely twiddely happy to await your commands in the morning...


                            Italian is a beautiful language. amare means to love, and amara bitter.
                            sighist | Agile Programming | doxygen

                            P Offline
                            P Offline
                            Paul Watson
                            wrote on last edited by
                            #19

                            peterchen wrote: Should teach you to do one thing at a time You only do one thing at a time? No ways I can limit myself to one thing at a time, even if I wanted to. Boss on IM, sending bug sheets via email, writing a SP for someone, code reviewing someones code in VS.NET, double checking it against an opened specification document in Word, CP etc. etc. etc. :rolleyes:

                            Paul Watson
                            Bluegrass
                            Cape Town, South Africa

                            Macbeth muttered: I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er DavidW wrote: You are totally mad. Nice.

                            1 Reply Last reply
                            0
                            • D Daniel Ferguson

                              I have a lengthy Stored Procedure open (and unsaved) plus two half written emails and a couple ASPX pages open in VS.NET that need to be saved. Now you know why some of us are in the habit of pressing Ctrl-S so often...

                              "Pretending to guide me, you led me astray, And I don't want to fall into your kind of ways." "Melt", Front 242

                              R Offline
                              R Offline
                              Rein Hillmann
                              wrote on last edited by
                              #20

                              I wouldn't press it too often. I used to work with someone that (out of habit) used to press CTRL-S three or four times in quick succession. This backfired on him since the app (I think it was VB6) didn't lock the file and it had two (or more) threads write to the same file at the same time. The next time he tried to open that file he realized it was corrupt. :wtf: Important lesson: save often, but not too often. :-D

                              D 1 Reply Last reply
                              0
                              • P Paul Watson

                                Tip of the day: It is pretty stupid trying to open a 256 megabyte file with Notepad, even though it has an extension of TMP. What is even more stupid though is End Tasking that straining Notepad. I don't know what End Task was trying to do (dump the contents of the 256meg file?) but it just farked my machine back to the stone age (writing from another machine right now. My machine is sitting there doing something, has been for the last 20 minutes...) Night all!

                                Paul Watson
                                Bluegrass
                                Cape Town, South Africa

                                Macbeth muttered: I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er DavidW wrote: You are totally mad. Nice.

                                R Offline
                                R Offline
                                Rein Hillmann
                                wrote on last edited by
                                #21

                                Download this utility PSKill[^] - it allows you to kill processes from remote machines. It's a lifesaver when task manager doesn't respond.

                                P 1 Reply Last reply
                                0
                                • R Rein Hillmann

                                  Download this utility PSKill[^] - it allows you to kill processes from remote machines. It's a lifesaver when task manager doesn't respond.

                                  P Offline
                                  P Offline
                                  Paul Watson
                                  wrote on last edited by
                                  #22

                                  Wow, thanks. Hey, I have admin rights on a co-workers machine..... :evil grin: :-D

                                  Paul Watson
                                  Bluegrass
                                  Cape Town, South Africa

                                  Macbeth muttered: I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er DavidW wrote: You are totally mad. Nice.

                                  1 Reply Last reply
                                  0
                                  • G Garth J Lancaster

                                    Paul - NEXT time, before you open all these processes, install wrkill from the NT resources kit .. its better than the Task Manager for killing things like Notepad, except, it doesnt do it 'nicely' .. it kills 'em good and proper without asking questions hth, Garth

                                    B Offline
                                    B Offline
                                    Bruce Duncan
                                    wrote on last edited by
                                    #23

                                    Another good one is 'pskill' from System Internals. It doesn't ask questions or tell you 'access denied' or anything. You can quite easily kill off system processes, though I would not recommend it... ;P

                                    Bruce Duncan, CP#9088, CPUA 0xA1EE, Sonork 100.10030
                                    Blackadder: Baldrick, have you no idea what irony is?
                                    Baldrick: Yeah, it's like goldy and bronzy only it's made of iron.

                                    1 Reply Last reply
                                    0
                                    • G Gary R Wheeler

                                      Errr, most 'off' buttons still work, at least with Phoenix BIOS motherboards. If you hold the power switch down long enough (3 seconds or so), the BIOS will shut the machine off regardless of how confused/hosed/sc***wed-up the O/S is. And yes, I know what you mean about Task Manager. It apparently tries to talk all nicey-nice to applications first, whereas I want it to assasinate the offending process. No mercy!


                                      Software Zen: delete this;

                                      P Offline
                                      P Offline
                                      Peter Hancock
                                      wrote on last edited by
                                      #24

                                      pskill it!!! Die Kill Maim Destroy it! pskill is one of the most useful tools that I use. None of this nice talky happy stuff! And they still ran faster and faster and faster, till they all just melted away, and there was nothing left but a great big pool of melted butter "I ask candidates to create an object model of a chicken." -Bruce Eckel

                                      1 Reply Last reply
                                      0
                                      • P Paul Watson

                                        Daniel Ferguson wrote: Now you know why some of us are in the habit of pressing Ctrl-S so often... But things were going so well! Haven't had a problem with WXP for so long that I started to trust it*. "Oh WXP can handle this, no need to save that stuff" :-D :rolleyes: * That is were I made my fatal mistake, right? :laugh:

                                        Paul Watson
                                        Bluegrass
                                        Cape Town, South Africa

                                        Macbeth muttered: I am in blood / Stepped in so far, that should I wade no more, / Returning were as tedious as go o'er DavidW wrote: You are totally mad. Nice.

                                        D Offline
                                        D Offline
                                        Daniel Ferguson
                                        wrote on last edited by
                                        #25

                                        * That is were I made my fatal mistake, right? Hehe ... yep. Actualy XP is pretty good. Usually you can End Task an offending process and continue, but I still like to press ctrl-s periodically to make sure.

                                        "Pretending to guide me, you led me astray, And I don't want to fall into your kind of ways." "Melt", Front 242

                                        1 Reply Last reply
                                        0
                                        • R Rein Hillmann

                                          I wouldn't press it too often. I used to work with someone that (out of habit) used to press CTRL-S three or four times in quick succession. This backfired on him since the app (I think it was VB6) didn't lock the file and it had two (or more) threads write to the same file at the same time. The next time he tried to open that file he realized it was corrupt. :wtf: Important lesson: save often, but not too often. :-D

                                          D Offline
                                          D Offline
                                          Daniel Ferguson
                                          wrote on last edited by
                                          #26

                                          _(I think it was VB6) _Hmmm.. a there's lesson here too. ;)

                                          "Pretending to guide me, you led me astray, And I don't want to fall into your kind of ways." "Melt", Front 242__

                                          C 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