PeachParts Mercedes-Benz Forum

PeachParts Mercedes-Benz Forum (http://www.peachparts.com/shopforum/index.php)
-   Off-Topic Discussion (http://www.peachparts.com/shopforum/forumdisplay.php?f=16)
-   -   Syncing folders gone wrong (http://www.peachparts.com/shopforum/showthread.php?t=369668)

Mölyapina 06-29-2015 10:27 AM

Syncing folders gone wrong
 
So I took two classes in the first half of the summer, logic design and a data structures class using C. We have our final project for data structures due today, and when I working on it yesterday, I at one point tried to sync the program files I had on a remote server with my computer, and instead of syncing the empty folder on my laptop with all of my program files, I synced all my program files with the empty folder on my laptop, deleting all of my work!

Fortunately, my lab partner had older versions of most of our files and I had some more recent ones saved, but we still lost 7+ hours of work to that mistake, just over 24 hours before the thing was due :(. I of course felt terrible, but my lab partner was fortunately nice about it, and I ended up coding up until 3:30 this morning and then got up early to continue... I'm still a little behind where we wanted to be, but fortunately not as much.

So, lesson learned: always back up your files!

Ugh.

Mike D 06-29-2015 11:30 AM

Yup. Cardinal rule of programming.

"One step forward, TWO back-ups!"

I usually end up with 6 or 7 versions of my CNC programs, each with a different name, to avoid the problem. Gets confusing at times but nowhere near as frustrating as over-writing a known good file.

Can't Know 06-29-2015 02:51 PM

Sounds like there was a failure in the logic design of your sync scheme! :D :D


Okay, JK, I know how painful that stuff can be. But look on the bright side, at least it wasn't seen by millions as SpaceX's failure was. ;)

MTI 06-29-2015 03:45 PM

Guess who shouldn't be working on the autonomous driving car codex . . .

Mölyapina 06-30-2015 09:05 PM

Quote:

Originally Posted by Jooseppi Luna (Post 3492155)
So I took two classes in the first half of the summer, logic design and a data structures class using C. We have our final project for data structures due today, and when I working on it yesterday, I at one point tried to sync the program files I had on a remote server with my computer, and instead of syncing the empty folder on my laptop with all of my program files, I synced all my program files with the empty folder on my laptop, deleting all of my work... and then everything burst into flames!

Fortunately, my lab partner had older versions of most of our files and I had some more recent ones saved, but we still lost 7+ hours of work to that mistake, just over 24 hours before the thing was due :(. I of course felt terrible, but my lab partner was fortunately nice about it, and I ended up coding up until 3:30 this morning and then got up early to continue... I'm still a little behind where we wanted to be, but fortunately not as much.

So, lesson learned: always back up your files!

Ugh.

Hey Mike, I fixed my story for you ^^.
Quote:

Originally Posted by Mike D (Post 3492198)
Yup. Cardinal rule of programming.

"One step forward, TWO back-ups!"

I usually end up with 6 or 7 versions of my CNC programs, each with a different name, to avoid the problem. Gets confusing at times but nowhere near as frustrating as over-writing a known good file.

Yeah. A friend of ours was over for dinner last night and showed me how to use svn to back up my files... I'll use it from now on.

Mölyapina 06-30-2015 09:06 PM

Quote:

Originally Posted by Can't Know (Post 3492269)
Sounds like there was a failure in the logic design of your sync scheme! :D :D

Oh, so now everybody's a comedian! (As my father might say :D)


All times are GMT -4. The time now is 01:30 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0
Copyright 2024 Pelican Parts, LLC - Posts may be archived for display on the Peach Parts or Pelican Parts Website