At the end of December, John went back to the US for Christmas. I was still working at that “it’s great!” project and on my makeshift database. And I came up with something cool. Something I was very proud of.
I did most of that work at home because it was time around the holidays. Although I did have a modem, that was before the times you could email a bulk attachment, so usually, I would compress my code with tar command and copy a .tar file to the diskette, and take this diskette to the office.
The next day John should have to be back, and I was anticipating my triumph. At about 9 PM, when kids were already long asleep, I started to make my final .tar file.
Nowadays, even some of the younger IT people might not know what the tar command does, yet along those of my readers who are not programmers. The fact is that the tar command has positional parameters, the first one is the name of the file, which is the destination of compression, and the rest of the file names are the files which you are compressing. My project consisted of one huge file with the actual code, and two smaller files with some addition. So I am typing this tar command and hit enter. And the next thing I realize is that I’ve omitted the destination filename! You figured out what had happened – the actual file with the code was used as a destination to compress two smaller files, and thus my code was deleted!
Yea. Its was bare Linux in 1992. No Time Machine. No UNDO. It was gone. And it was 9 PM of the day before I wanted to show my progress. And it was a week’s work.
I was going to have a sleepless night.
I found a several days old version of that code and started debugging all over again. It was easier the second time because as soon as I saw a bug, I could remember how I fixed it. But still – that was quite a work. By 3 AM, I was done, and I was still able to bring this code to the office the next day and still had my moment of triumph. But since then, I am very diligent in saving my work. And these days, when anybody is embarrassed with a mistake they made, I am always like – that’s fine, you can’t even imagine how many mistakes I’ve made!
Like this:
Like Loading...