12 Replies - 1105 Views - Last Post: 02 April 2019 - 12:45 PM

#1 DarenR   User is online

  • D.I.C Lover

Reputation: 601
  • View blog
  • Posts: 3,984
  • Joined: 12-January 10

#$%^&%^%! lost all my code

Posted 01 April 2019 - 09:43 AM

I worked on some code for about a week and when i publish , the stupid thing lost connection with my c drive and it deleted all my code--- like wtf


ughhghghhgh
Is This A Good Question/Topic? 0
  • +

Replies To: #$%^&%^%! lost all my code

#2 NeoTifa   User is online

  • NeoTifa Codebreaker, the Scourge of Devtester
  • member icon





Reputation: 4470
  • View blog
  • Posts: 19,010
  • Joined: 24-September 08

Re: #$%^&%^%! lost all my code

Posted 01 April 2019 - 09:45 AM

Did you not back it up in GitHub, or was that what you meant by "publish"? Sorry that happened.
Was This Post Helpful? 0
  • +
  • -

#3 modi123_1   User is online

  • Suitor #2
  • member icon



Reputation: 14987
  • View blog
  • Posts: 59,843
  • Joined: 12-June 08

Re: #$%^&%^%! lost all my code

Posted 01 April 2019 - 09:46 AM

.. oh hell wasn't yesterday international back up day? whooops.
Was This Post Helpful? 0
  • +
  • -

#4 no2pencil   User is offline

  • Professor Snuggly Pants
  • member icon

Reputation: 6754
  • View blog
  • Posts: 31,251
  • Joined: 10-May 07

Re: #$%^&%^%! lost all my code

Posted 01 April 2019 - 10:10 AM

April Fools!!!
Was This Post Helpful? 0
  • +
  • -

#5 jon.kiparsky   User is offline

  • Beginner
  • member icon


Reputation: 11497
  • View blog
  • Posts: 19,569
  • Joined: 19-March 11

Re: #$%^&%^%! lost all my code

Posted 01 April 2019 - 01:46 PM

I do not understand this story at all.
Was This Post Helpful? 0
  • +
  • -

#6 DarenR   User is online

  • D.I.C Lover

Reputation: 601
  • View blog
  • Posts: 3,984
  • Joined: 12-January 10

Re: #$%^&%^%! lost all my code

Posted 02 April 2019 - 07:53 AM

well i found out after the fact that all of our c drives are network connected -- that is where my code lived
i didnt realize that the originator of the code had a hard coded publish item to the folder we use for code repositories (btw we are just getting tfs so everything is currently done locally)

so during the publish visual studio had erased my repository because of the hard coded crap and then lost connection tot he network which meant it didnt transfer any code to the folder and essentially erased itself----

such a horrible set up
Was This Post Helpful? 0
  • +
  • -

#7 jon.kiparsky   User is offline

  • Beginner
  • member icon


Reputation: 11497
  • View blog
  • Posts: 19,569
  • Joined: 19-March 11

Re: #$%^&%^%! lost all my code

Posted 02 April 2019 - 08:00 AM

Quote

the folder we use for code repositories




I do not understand this story at all.
Was This Post Helpful? 0
  • +
  • -

#8 modi123_1   User is online

  • Suitor #2
  • member icon



Reputation: 14987
  • View blog
  • Posts: 59,843
  • Joined: 12-June 08

Re: #$%^&%^%! lost all my code

Posted 02 April 2019 - 08:15 AM

@Daren - I hear you, and I acknowledge your pain.

Posted Image


Networked C drives? Is this on a VDI or something using a thin client? Eeesh. that's rough.
Was This Post Helpful? 0
  • +
  • -

#9 DarenR   User is online

  • D.I.C Lover

Reputation: 601
  • View blog
  • Posts: 3,984
  • Joined: 12-January 10

Re: #$%^&%^%! lost all my code

Posted 02 April 2019 - 08:27 AM

i really dont know modi-- ive only been here a few weeks -- i do know they have something close to 70 servers all doing the same thing most on 2008 with very minimal use on each server
Was This Post Helpful? 0
  • +
  • -

#10 modi123_1   User is online

  • Suitor #2
  • member icon



Reputation: 14987
  • View blog
  • Posts: 59,843
  • Joined: 12-June 08

Re: #$%^&%^%! lost all my code

Posted 02 April 2019 - 08:32 AM

Hopefully it's not a VDI. (Virtual desktop infrastructure). If so then I am so.. so.. sorry.
Was This Post Helpful? 2
  • +
  • -

#11 no2pencil   User is offline

  • Professor Snuggly Pants
  • member icon

Reputation: 6754
  • View blog
  • Posts: 31,251
  • Joined: 10-May 07

Re: #$%^&%^%! lost all my code

Posted 02 April 2019 - 09:13 AM

*
POPULAR

Your coding on a Wyse terminal, arn't you?

Attached Image
Was This Post Helpful? 5
  • +
  • -

#12 ArtificialSoldier   User is online

  • D.I.C Lover
  • member icon

Reputation: 2283
  • View blog
  • Posts: 6,972
  • Joined: 15-January 14

Re: #$%^&%^%! lost all my code

Posted 02 April 2019 - 09:41 AM

That sounds like what used to be the case with Flash, and for all I know still is. If you have a Flash project opened from a network location, and if for any reason your computer temporarily loses the connection to that source drive, you are unable to save that file at all, anywhere. You can't even save it locally. That was a longstanding bug with Macromedia, and by the time I stopped using Flash Adobe still hadn't fixed it.
Was This Post Helpful? 0
  • +
  • -

#13 Skydiver   User is offline

  • Code herder
  • member icon

Reputation: 6875
  • View blog
  • Posts: 23,313
  • Joined: 05-May 12

Re: #$%^&%^%! lost all my code

Posted 02 April 2019 - 12:45 PM

For the past month I'd been feeling sorry for myself because my company remaps HOMEDRIVE and HOMEPATH to a network share. G: drive is mapped to the network share. Whenever I work from home via VPN, about 80% of the time, the G: drive is not available. It sucks bigtime since git uses the HOME environment variable, and that variable is setup using the HOMEDRIVE and HOMEPATH environment variables. Back on Win7, I could use the UserInit trick to override the HOMEDRIVE and HOMEPATH environment variables at Windows startup time to point to someplace local on my machine. The UserInit trick doesn't work on Win10 with the way our machines are locked down. So whenever I try to use git, it complains that it can't find its configuration files. :(

Suddenly, I feel a lot better now. At least they don't remap the entire C: Drive here at work.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1