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. Lutz Roeder Saved my Mind

Lutz Roeder Saved my Mind

Scheduled Pinned Locked Moved The Lounge
csharpdatabasevisual-studiocomdata-structures
25 Posts 11 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.
  • B Offline
    B Offline
    Brady Kelly
    wrote on last edited by
    #1

    So, after a busy weekend coding furiously to revise an export tool for review tomorrow, religiously checking in my project after every change and good compile, I finally noticed the little head icon next to one file. That means a head is going to roll. :confused: SourceSafe in VS2005 tells me something about the file being checked out by someone else, so I open the project in SourceSafe itself and see the file still checked out, but to myself. So, I reckon what could be the harm in checking the file in and getting it again, as I must have about 20 versions today alone, so whatever this check-in overwrites, I can just revert to the previous version. So, I confirm all confirmations, and lo! I have a label from today, and a version dated 11 July. :~:~:~ No other version is found anywhere! :mad: It;s not like I was looking at the same source file in another VSS database or anything, it just ignored probably two hundred check-ins[1] since 11 July, and bang, screw you stupid user! :mad: Oh yes, the happy part. I am soo lucky I had VS closed when all this happened, which prevented a final build and test, as the last known good build before this shit was in my bin\debug. I whipped out Reflector[^] and disassembled the fallen class. I use a third party SDK, without a using statement, and all qualified type names frm the SDK were reduced to only the class name, which required some tweaking as some identical class names appear in two or three namespaces, but context and compile errors sorted that quite quickly. I also noticed that formal parameters for some methods were not of the correct type but of a previous type, something of a mystery, but about fifty initial compile errors quickly reduced by copy and paste edits, and I'm back in business. Thank you Ludz! :rose: [1] This is not on our source tree, I was using VSS here only as a change tracker.

    P S M C D 7 Replies Last reply
    0
    • B Brady Kelly

      So, after a busy weekend coding furiously to revise an export tool for review tomorrow, religiously checking in my project after every change and good compile, I finally noticed the little head icon next to one file. That means a head is going to roll. :confused: SourceSafe in VS2005 tells me something about the file being checked out by someone else, so I open the project in SourceSafe itself and see the file still checked out, but to myself. So, I reckon what could be the harm in checking the file in and getting it again, as I must have about 20 versions today alone, so whatever this check-in overwrites, I can just revert to the previous version. So, I confirm all confirmations, and lo! I have a label from today, and a version dated 11 July. :~:~:~ No other version is found anywhere! :mad: It;s not like I was looking at the same source file in another VSS database or anything, it just ignored probably two hundred check-ins[1] since 11 July, and bang, screw you stupid user! :mad: Oh yes, the happy part. I am soo lucky I had VS closed when all this happened, which prevented a final build and test, as the last known good build before this shit was in my bin\debug. I whipped out Reflector[^] and disassembled the fallen class. I use a third party SDK, without a using statement, and all qualified type names frm the SDK were reduced to only the class name, which required some tweaking as some identical class names appear in two or three namespaces, but context and compile errors sorted that quite quickly. I also noticed that formal parameters for some methods were not of the correct type but of a previous type, something of a mystery, but about fifty initial compile errors quickly reduced by copy and paste edits, and I'm back in business. Thank you Ludz! :rose: [1] This is not on our source tree, I was using VSS here only as a change tracker.

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      You have to love Reflector. Lutz really has done an amazing job and it's invaluable - especially if you want to demonstrate a VB.NET version of code to somebody and you only ever code in C#. Don't knock it - it works.:laugh:

      Deja View - the feeling that you've seen this post before.

      P B 2 Replies Last reply
      0
      • P Pete OHanlon

        You have to love Reflector. Lutz really has done an amazing job and it's invaluable - especially if you want to demonstrate a VB.NET version of code to somebody and you only ever code in C#. Don't knock it - it works.:laugh:

        Deja View - the feeling that you've seen this post before.

        P Offline
        P Offline
        Paul Conrad
        wrote on last edited by
        #3

        Pete O'Hanlon wrote:

        You have to love Reflector

        I second that. Can't begin to say how often Reflector has been a help :)

        "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

        B 1 Reply Last reply
        0
        • P Paul Conrad

          Pete O'Hanlon wrote:

          You have to love Reflector

          I second that. Can't begin to say how often Reflector has been a help :)

          "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

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

          It's often been a help to me, but not like this. It redid about four days of work.

          1 Reply Last reply
          0
          • P Pete OHanlon

            You have to love Reflector. Lutz really has done an amazing job and it's invaluable - especially if you want to demonstrate a VB.NET version of code to somebody and you only ever code in C#. Don't knock it - it works.:laugh:

            Deja View - the feeling that you've seen this post before.

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

            Oh my God, it does VB.NET as well. :~ I never noticed before, but I guess I'll just have to be more careful now when I disassemble.


            Last modified: 12mins after originally posted --

            P 1 Reply Last reply
            0
            • B Brady Kelly

              Oh my God, it does VB.NET as well. :~ I never noticed before, but I guess I'll just have to be more careful now when I disassemble.


              Last modified: 12mins after originally posted --

              P Offline
              P Offline
              Paul Conrad
              wrote on last edited by
              #6

              Brady Kelly wrote:

              Oh my God, it does VB.NET as well

              :laugh::laugh: Well, it should since it looks at the IL :)

              "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

              B 1 Reply Last reply
              0
              • P Paul Conrad

                Brady Kelly wrote:

                Oh my God, it does VB.NET as well

                :laugh::laugh: Well, it should since it looks at the IL :)

                "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

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

                I'm very impressed at its abilities with local variable names. I've renamed my .pdb file, and Reflector still names locals correctly. Where else could it get this info from?

                1 Reply Last reply
                0
                • B Brady Kelly

                  So, after a busy weekend coding furiously to revise an export tool for review tomorrow, religiously checking in my project after every change and good compile, I finally noticed the little head icon next to one file. That means a head is going to roll. :confused: SourceSafe in VS2005 tells me something about the file being checked out by someone else, so I open the project in SourceSafe itself and see the file still checked out, but to myself. So, I reckon what could be the harm in checking the file in and getting it again, as I must have about 20 versions today alone, so whatever this check-in overwrites, I can just revert to the previous version. So, I confirm all confirmations, and lo! I have a label from today, and a version dated 11 July. :~:~:~ No other version is found anywhere! :mad: It;s not like I was looking at the same source file in another VSS database or anything, it just ignored probably two hundred check-ins[1] since 11 July, and bang, screw you stupid user! :mad: Oh yes, the happy part. I am soo lucky I had VS closed when all this happened, which prevented a final build and test, as the last known good build before this shit was in my bin\debug. I whipped out Reflector[^] and disassembled the fallen class. I use a third party SDK, without a using statement, and all qualified type names frm the SDK were reduced to only the class name, which required some tweaking as some identical class names appear in two or three namespaces, but context and compile errors sorted that quite quickly. I also noticed that formal parameters for some methods were not of the correct type but of a previous type, something of a mystery, but about fifty initial compile errors quickly reduced by copy and paste edits, and I'm back in business. Thank you Ludz! :rose: [1] This is not on our source tree, I was using VSS here only as a change tracker.

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

                  Yup. Surely, one of the great mysteries of the Universe is whether or not Reflector's greatness is matched by VSS's suckage. Right up there with Spiderman vs. Wolverine, i tells ya...

                  You must be careful in the forest Broken glass and rusty nails If you're to bring back something for us I have bullets for sale...

                  P 1 Reply Last reply
                  0
                  • B Brady Kelly

                    So, after a busy weekend coding furiously to revise an export tool for review tomorrow, religiously checking in my project after every change and good compile, I finally noticed the little head icon next to one file. That means a head is going to roll. :confused: SourceSafe in VS2005 tells me something about the file being checked out by someone else, so I open the project in SourceSafe itself and see the file still checked out, but to myself. So, I reckon what could be the harm in checking the file in and getting it again, as I must have about 20 versions today alone, so whatever this check-in overwrites, I can just revert to the previous version. So, I confirm all confirmations, and lo! I have a label from today, and a version dated 11 July. :~:~:~ No other version is found anywhere! :mad: It;s not like I was looking at the same source file in another VSS database or anything, it just ignored probably two hundred check-ins[1] since 11 July, and bang, screw you stupid user! :mad: Oh yes, the happy part. I am soo lucky I had VS closed when all this happened, which prevented a final build and test, as the last known good build before this shit was in my bin\debug. I whipped out Reflector[^] and disassembled the fallen class. I use a third party SDK, without a using statement, and all qualified type names frm the SDK were reduced to only the class name, which required some tweaking as some identical class names appear in two or three namespaces, but context and compile errors sorted that quite quickly. I also noticed that formal parameters for some methods were not of the correct type but of a previous type, something of a mystery, but about fifty initial compile errors quickly reduced by copy and paste edits, and I'm back in business. Thank you Ludz! :rose: [1] This is not on our source tree, I was using VSS here only as a change tracker.

                    M Offline
                    M Offline
                    Marc Clifton
                    wrote on last edited by
                    #9

                    Brady Kelly wrote:

                    SourceSafe in VS2005

                    I will never, ever, use SourceSafe. Marc

                    Thyme In The Country
                    Interacx
                    My Blog

                    B S 2 Replies Last reply
                    0
                    • S Shog9 0

                      Yup. Surely, one of the great mysteries of the Universe is whether or not Reflector's greatness is matched by VSS's suckage. Right up there with Spiderman vs. Wolverine, i tells ya...

                      You must be careful in the forest Broken glass and rusty nails If you're to bring back something for us I have bullets for sale...

                      P Offline
                      P Offline
                      Paul Conrad
                      wrote on last edited by
                      #10

                      Shog9 wrote:

                      great mysteries of the Universe is whether or not Reflector's greatness is matched by VSS's suckage. Right up there with Spiderman vs. Wolverine

                      :laugh: Nice analogy, there.

                      "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

                      1 Reply Last reply
                      0
                      • M Marc Clifton

                        Brady Kelly wrote:

                        SourceSafe in VS2005

                        I will never, ever, use SourceSafe. Marc

                        Thyme In The Country
                        Interacx
                        My Blog

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

                        Look, what happened here is ultimately my fault, but the way it happened and the fact that once I ignore one message, VSS just canned my source file, has me going to make a very serious recommendation against it at our "way forward" think tank on Tuesday. My lead is very pro open source, so I'm sure given one good reason we will seriously look at Subversion. We were looking at VSTS, but I don;t know what happened there, probably too expensive.

                        1 Reply Last reply
                        0
                        • B Brady Kelly

                          So, after a busy weekend coding furiously to revise an export tool for review tomorrow, religiously checking in my project after every change and good compile, I finally noticed the little head icon next to one file. That means a head is going to roll. :confused: SourceSafe in VS2005 tells me something about the file being checked out by someone else, so I open the project in SourceSafe itself and see the file still checked out, but to myself. So, I reckon what could be the harm in checking the file in and getting it again, as I must have about 20 versions today alone, so whatever this check-in overwrites, I can just revert to the previous version. So, I confirm all confirmations, and lo! I have a label from today, and a version dated 11 July. :~:~:~ No other version is found anywhere! :mad: It;s not like I was looking at the same source file in another VSS database or anything, it just ignored probably two hundred check-ins[1] since 11 July, and bang, screw you stupid user! :mad: Oh yes, the happy part. I am soo lucky I had VS closed when all this happened, which prevented a final build and test, as the last known good build before this shit was in my bin\debug. I whipped out Reflector[^] and disassembled the fallen class. I use a third party SDK, without a using statement, and all qualified type names frm the SDK were reduced to only the class name, which required some tweaking as some identical class names appear in two or three namespaces, but context and compile errors sorted that quite quickly. I also noticed that formal parameters for some methods were not of the correct type but of a previous type, something of a mystery, but about fifty initial compile errors quickly reduced by copy and paste edits, and I'm back in business. Thank you Ludz! :rose: [1] This is not on our source tree, I was using VSS here only as a change tracker.

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

                          This is why we stopped using SourceSafe. Personally I consider the product too dangerous to use. I'm astounded it's so crappy. Microsoft: You have billions and billions of dollars. Buy a company that has a decent source control product.

                          cheers, Chris Maunder

                          CodeProject.com : C++ MVP

                          B P S 3 Replies Last reply
                          0
                          • C Chris Maunder

                            This is why we stopped using SourceSafe. Personally I consider the product too dangerous to use. I'm astounded it's so crappy. Microsoft: You have billions and billions of dollars. Buy a company that has a decent source control product.

                            cheers, Chris Maunder

                            CodeProject.com : C++ MVP

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

                            Thanks Chris, I'm sure coming from you this will make my motivation to move off it a little easier to get across.

                            1 Reply Last reply
                            0
                            • C Chris Maunder

                              This is why we stopped using SourceSafe. Personally I consider the product too dangerous to use. I'm astounded it's so crappy. Microsoft: You have billions and billions of dollars. Buy a company that has a decent source control product.

                              cheers, Chris Maunder

                              CodeProject.com : C++ MVP

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

                              Chris Maunder wrote:

                              we stopped using SourceSafe

                              What do you use then?

                              "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

                              C 1 Reply Last reply
                              0
                              • P Paul Conrad

                                Chris Maunder wrote:

                                we stopped using SourceSafe

                                What do you use then?

                                "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

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

                                ionForge Evolution[^]

                                cheers, Chris Maunder

                                CodeProject.com : C++ MVP

                                S P 2 Replies Last reply
                                0
                                • C Chris Maunder

                                  ionForge Evolution[^]

                                  cheers, Chris Maunder

                                  CodeProject.com : C++ MVP

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

                                  What a... garish... website... :~

                                  ---- Do you see what i see? Why do we live like this? Is it because it's true... ...That ignorance is bliss?

                                  P 1 Reply Last reply
                                  0
                                  • C Chris Maunder

                                    ionForge Evolution[^]

                                    cheers, Chris Maunder

                                    CodeProject.com : C++ MVP

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

                                    Silly question, but how does it fare for you (must be okay to great if you are using it)?

                                    "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

                                    1 Reply Last reply
                                    0
                                    • S Shog9 0

                                      What a... garish... website... :~

                                      ---- Do you see what i see? Why do we live like this? Is it because it's true... ...That ignorance is bliss?

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

                                      My thoughts, too. Could be prettied up a little :)

                                      "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

                                      1 Reply Last reply
                                      0
                                      • B Brady Kelly

                                        So, after a busy weekend coding furiously to revise an export tool for review tomorrow, religiously checking in my project after every change and good compile, I finally noticed the little head icon next to one file. That means a head is going to roll. :confused: SourceSafe in VS2005 tells me something about the file being checked out by someone else, so I open the project in SourceSafe itself and see the file still checked out, but to myself. So, I reckon what could be the harm in checking the file in and getting it again, as I must have about 20 versions today alone, so whatever this check-in overwrites, I can just revert to the previous version. So, I confirm all confirmations, and lo! I have a label from today, and a version dated 11 July. :~:~:~ No other version is found anywhere! :mad: It;s not like I was looking at the same source file in another VSS database or anything, it just ignored probably two hundred check-ins[1] since 11 July, and bang, screw you stupid user! :mad: Oh yes, the happy part. I am soo lucky I had VS closed when all this happened, which prevented a final build and test, as the last known good build before this shit was in my bin\debug. I whipped out Reflector[^] and disassembled the fallen class. I use a third party SDK, without a using statement, and all qualified type names frm the SDK were reduced to only the class name, which required some tweaking as some identical class names appear in two or three namespaces, but context and compile errors sorted that quite quickly. I also noticed that formal parameters for some methods were not of the correct type but of a previous type, something of a mystery, but about fifty initial compile errors quickly reduced by copy and paste edits, and I'm back in business. Thank you Ludz! :rose: [1] This is not on our source tree, I was using VSS here only as a change tracker.

                                        D Offline
                                        D Offline
                                        dazfuller
                                        wrote on last edited by
                                        #19

                                        I had something similar a while ago although we were using Seapine Surround. After spending a week on a project and religiously checking everything in I got a working build, the heavens opened and the angels sang. The following day I open studio and it asks if I would like to do a get, thinking someone else may have made a change and knowing that my changes were all in there I said yes, if only I had known that somehow all the changes had been lost and that I was now checking out a project several revisions old, the angels had stopped singing. But coming charging over the hill to my rescue shining in the midday sun was Ludz and Reflector. Disassembling the last working build of my application I managed to get it all back and surprisingly managed to refactor some of it as well. I learnt my lesson from this affair, Studio sucks, seapine sucks, together they are a source for evil in this world. But with Ludz and Refactor out there we might just stand a chance. Thank you Ludz

                                        1 Reply Last reply
                                        0
                                        • M Marc Clifton

                                          Brady Kelly wrote:

                                          SourceSafe in VS2005

                                          I will never, ever, use SourceSafe. Marc

                                          Thyme In The Country
                                          Interacx
                                          My Blog

                                          S Offline
                                          S Offline
                                          Steven J Jowett
                                          wrote on last edited by
                                          #20

                                          Me neither, I cannot see any point, as I take backups at key stages, and therefore do not need a backup of every change I ever make.

                                          Steve Jowett ------------------------- Sometimes a man who deserves to be looked down upon because he is a fool, is only despised only because he is an 'I.T. Consultant'

                                          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