Jump to content


Damn It!!


12 replies to this topic

#1 davepermen

    Senior Member

  • Members
  • PipPipPipPip
  • 1306 posts

Posted 05 December 2005 - 11:09 PM

I just got my notebook overheating and thus freezing (what a combination!!) while refactoring over 2 hours on some piece of code, wich i finally got really happy about.. and guess what? to not touch the old code, and refactor in some test environment, i started new projects, wich of course are unsaved and only save if i want to (wich i never planned to, as i just could reinsert the refactored code into my old projects).

and yes, there aren't any files in those temp-folders.. all the rewriting, restructuring, and cleaning up on the (working) mess.. gone.. and i hate such rework..


oh my.. i go to sleep.. now i'm really depressed.

just had to get that out of my heart now. good night
davepermen.net
-Loving a Person is having the wish to see this Person happy, no matter what that means to yourself.
-No matter what it means to myself....

#2 eddie

    Senior Member

  • Members
  • PipPipPipPip
  • 751 posts

Posted 05 December 2005 - 11:35 PM

Ack, fun.

Normally I try to keep two working copies of things out of source control on my machine, one that's for crazy large changes, and one for small stepping. That way I can save as much as I want, without running into that risk. :)

Also handy is if you use branching so you can fold it back into the mainline if things go well, or scrap it if you realize what you did was absolutely crazy. :)

Anyhow, I'm sure none of these will console you now, but my deepest sympathies. Lost code is never good.

#3 davepermen

    Senior Member

  • Members
  • PipPipPipPip
  • 1306 posts

Posted 05 December 2005 - 11:38 PM

well, it was just two hours.. but i was so proud and chilled out somehow, and was just starting the last and final test, to be able to sleep well afterwards..


and, heck, it was just two console apps communicating over tcp with eachothers on 127.0.0.1... why the heck did it had to lock up?!!? :D


now i can't get to sleep anymore.. grmbl.
davepermen.net
-Loving a Person is having the wish to see this Person happy, no matter what that means to yourself.
-No matter what it means to myself....

#4 eddie

    Senior Member

  • Members
  • PipPipPipPip
  • 751 posts

Posted 05 December 2005 - 11:59 PM

Sounds like some driver's having a bad day. :)

#5 Alex

    Valued Member

  • Members
  • PipPipPip
  • 152 posts

Posted 06 December 2005 - 01:13 AM

Maybe you can recover the data if you don't touch anything and use a tool that restores deleted data. AFAIK data can be restored even if it has been overwritten with random garbage several times...

Alex

#6 monjardin

    Senior Member

  • Members
  • PipPipPipPip
  • 1033 posts

Posted 06 December 2005 - 03:25 AM

It sounds like his changes were in RAM, not on the disk. Good luck getting that back =(
monjardin's JwN Meter (1,2,3,4,5,6):
|----|----|----|----|----|----|----|----|----|----|
*

#7 dave_

    Senior Member

  • Members
  • PipPipPipPip
  • 584 posts

Posted 06 December 2005 - 10:49 AM

Talking about refactoring... Does anyone know any good refactoring tools? I've tried Ref++ but thats only a 30 day trial. Are there any free alternatives?

#8 eddie

    Senior Member

  • Members
  • PipPipPipPip
  • 751 posts

Posted 06 December 2005 - 04:56 PM

I tried Ref++ but didn't find it fantastic.

Personally, I just use VisualAssist, and gVim. :) It's apparently pretty hard to do good tools in C++.

#9 roel

    Senior Member

  • Members
  • PipPipPipPip
  • 697 posts

Posted 06 December 2005 - 05:20 PM

does vs 2005 not have some refactoring features? for c# for sure, what about c++?

#10 davepermen

    Senior Member

  • Members
  • PipPipPipPip
  • 1306 posts

Posted 06 December 2005 - 06:49 PM

no clue about c++, but i'm definitely liking the ones for c#.. i ___VERY__ often use the renaming feature :D
davepermen.net
-Loving a Person is having the wish to see this Person happy, no matter what that means to yourself.
-No matter what it means to myself....

#11 Luminion

    Member

  • Members
  • PipPip
  • 34 posts

Posted 06 December 2005 - 06:57 PM

Now that sounds like fun :)

#12 Onikhaosifix

    Valued Member

  • Members
  • PipPipPip
  • 117 posts

Posted 06 December 2005 - 07:25 PM

Luminion said:

Now that sounds like fun :)

It's not fun.

#13 davepermen

    Senior Member

  • Members
  • PipPipPipPip
  • 1306 posts

Posted 06 December 2005 - 08:40 PM

depends on what he replies to.. if he replies to the renaming and such, yeah, that is fun. if he replies to the original topic, then no, it isn't..

couldn't yet get bothered to redo my work again .. :D
davepermen.net
-Loving a Person is having the wish to see this Person happy, no matter what that means to yourself.
-No matter what it means to myself....





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users