Parts Catalog Accessories Catalog How To Articles Tech Forums
Call Pelican Parts at 888-280-7799
Shopping Cart Cart | Project List | Order Status | Help



Go Back   PeachParts Mercedes-Benz Forum > General Discussions > Off-Topic Discussion

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 06-29-2015, 09:27 AM
Mölyapina's Avatar
User title not in use
 
Join Date: Oct 2012
Location: Chelmsford, Massachusetts
Posts: 4,373
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.

__________________
"Senior Luna, your sense of humor is still loco... but we love it, anyway." -rickymay ____ "Your sense of humor is still loco... " -MBeige ____ "Señor Luna, your sense of humor is quite järjetön" -Delibes

1982 300SD -- 211k, Texas car, tranny issues ____ 1979 240D 4-speed 234k -- turbo and tuned IP, third world taxi hot rod

2 Samuel 12:13: "David said to Nathan, “I have sinned against the Lord.” And Nathan said to David, “The Lord also has put away your sin; you shall not die."
Reply With Quote
  #2  
Old 06-29-2015, 10:30 AM
Registered User
 
Join Date: Jan 2006
Location: Tucson, AZ
Posts: 5,358
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.
__________________
“Whatever story you're telling, it will be more interesting if, at the end you add, "and then everything burst into flames.”
― Brian P. Cleary, You Oughta Know By Now
Reply With Quote
  #3  
Old 06-29-2015, 01:51 PM
Can't Know's Avatar
Registered Slacker
 
Join Date: Sep 2010
Location: Sunny CA
Posts: 733
Sounds like there was a failure in the logic design of your sync scheme!


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.
Reply With Quote
  #4  
Old 06-29-2015, 02:45 PM
MTI's Avatar
MTI MTI is offline
Registered User
 
Join Date: Nov 2002
Location: Scottsdale, Arizona
Posts: 10,626
Guess who shouldn't be working on the autonomous driving car codex . . .
Reply With Quote
  #5  
Old 06-30-2015, 08:05 PM
Mölyapina's Avatar
User title not in use
 
Join Date: Oct 2012
Location: Chelmsford, Massachusetts
Posts: 4,373
Quote:
Originally Posted by Jooseppi Luna View Post
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 View Post
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.
__________________
"Senior Luna, your sense of humor is still loco... but we love it, anyway." -rickymay ____ "Your sense of humor is still loco... " -MBeige ____ "Señor Luna, your sense of humor is quite järjetön" -Delibes

1982 300SD -- 211k, Texas car, tranny issues ____ 1979 240D 4-speed 234k -- turbo and tuned IP, third world taxi hot rod

2 Samuel 12:13: "David said to Nathan, “I have sinned against the Lord.” And Nathan said to David, “The Lord also has put away your sin; you shall not die."
Reply With Quote
  #6  
Old 06-30-2015, 08:06 PM
Mölyapina's Avatar
User title not in use
 
Join Date: Oct 2012
Location: Chelmsford, Massachusetts
Posts: 4,373
Quote:
Originally Posted by Can't Know View Post
Sounds like there was a failure in the logic design of your sync scheme!
Oh, so now everybody's a comedian! (As my father might say )

__________________
"Senior Luna, your sense of humor is still loco... but we love it, anyway." -rickymay ____ "Your sense of humor is still loco... " -MBeige ____ "Señor Luna, your sense of humor is quite järjetön" -Delibes

1982 300SD -- 211k, Texas car, tranny issues ____ 1979 240D 4-speed 234k -- turbo and tuned IP, third world taxi hot rod

2 Samuel 12:13: "David said to Nathan, “I have sinned against the Lord.” And Nathan said to David, “The Lord also has put away your sin; you shall not die."
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:51 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, 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 -    DMCA Registered Agent Contact Page