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.