<i>Twice</i> in the last decade I've been completely stuck on something, googled extensively, finally found the answer ... which I wrote, on Usenet, 25 years ago.
I can't even tell you how often this happens to me. People come to me because I wrote something and I then tell them: "Let me go read the manual" (because I can't remember what I did a month later, so I'm always consulting my own docs).<p>I always tell people: "You think I wrote this manual for you, but I'm not that altruistic. I wrote it for future me."<p>To be fair, not exactly the same thing. I typically remember I wrote it, just not what it does or how it works. :-)
Wow, epic!<p>The most depressing thing is being presented with an issue and finding my name attached to a closed ticket from years before with no explanation of how I fixed it.<p>Guess what, current me, you're going to learn this again from scratch because past me was in a hurry and couldn't be bothered to type out what he did.<p>BSG - this has all happened before, and it will all happen again.
When I began studying physics I felt like a clueless novice. All those equations looked like chicken-scratch on paper. And, "What's the difference between kinetic and potential energy?" And there were so many concepts to understand - forces, masses, fields, charges, and particles. And differential equations seemed incomprehensible. Now, after a few decades I've mastered most all of that. Yet, when I try to grasp the real basics, like "What is space-time?", "How does superposition lead to a single macroscopic universe?", "What is the Higgs field?", "How did this universe 'start'?", "What exactly is mass?", then I realize I'm really back at novice again. I know almost nothing.
Reading the comments here I'm under the impression that people think OP wrote the manual for `su`, but the interesting fact here is he wrote the GNU coreutils implementation of `su` itself.<p>Debian (stable, at least) doesn't use his version anymore. The HISTORY section of the current manual says<p>> This su command was derived from coreutils' su, which was based on an implementation by David MacKenzie. The util-linux version has been refactored by Karel Zak.
I find my personal memory is very ephemeral, without repetition, things get quickly forgotten. In a long enough timeline, about 1-3 year, I start to fail recognizing my own code. Since I have trained most Jr Devs I work with they all have similar coding patterns as me, which makes it even harder.<p>Granted, I have specific code tells, which helps, but like the article mentions I have forgotten the why or the bug that I fixed that required specific changes.
I write this shit down so I don’t have to remember it, thanks.<p>Back in the age of modems, when PPP was still the new hotness, I was proud of myself for memorizing the IP addresses for a few of the services I used regularly. Two or three times I got to punk my friends when the DNS servers got messed up, and they’re sitting with me in the computer lab wondering what else we could do to pass the time when they looked over and noticed that I’m happily typing away in the very thing they couldn’t get into because The Internet Is Down. No man, it’s just DNS.<p>Older, sadder but wiser me knows that I still could have done that joke if I had written the numbers on a scrap of paper. I could have had twenty instead of five.
Related:<p><i>From Novice to Master, and Back Again</i> - <a href="https://news.ycombinator.com/item?id=9098635" rel="nofollow">https://news.ycombinator.com/item?id=9098635</a> - Feb 2015 (1 comment)<p><i>From Novice to Master, and Back Again</i> - <a href="https://news.ycombinator.com/item?id=8443981" rel="nofollow">https://news.ycombinator.com/item?id=8443981</a> - Oct 2014 (27 comments)
yes. I think most of us who programmed in the trenches are familiar with forgetting what we've done...<p>the difference is that nothing I've ever worked on will ever be public or useful beyond a small private business which doesn't even exist anymore.
This reminds me of an old joke I heard a while back, which is that the opposite of "it's like riding a bike" is "it's like the UNIX command line".<p>No matter how many times you do it, you will have to re-learn it every single time.
This is one reason answering questions on StackOverflow is so rewarding. You can save future you a ton of trouble by putting a (better) answer there and then stumbling onto it later. Ditto blog posts. Power tip: this also works for personal journals in searchable format.
15 years working as a software dev. There have been many times Sergio from the past has saved my ass. I find exactly what I needed to get something done and turns out the author was me. Coworkers also sometimes find my stuff so that's a nice feeling.<p>If you write code do yourself a favor and write for future you. It'll help.
1. Have problem.<p>2. Google it.<p>3. Find answer on stackoverflow.<p>4. Try to upvote.<p>5. "You can't vote for your own post."<p>This has happened to me multiple times.
I've had that happen with math teaching material a couple of times. One time I was dissatisfied with how I presented the definition of implication so I googled. The top link was to a discussion where the person answering linked to me. Like DJM, I found it a little unsettling.
Once I had a question about APACS, circa 2008, not a lot of information. found a tool using it, some lateral browsing, dns, simmilar usernames and finally i got to talk to the authour of the tool who gladly helped me :)<p>I was discussing how the only info I found was in a remote wikipedia article, yet incomplete. the guy told me he had written that article too.<p>good times
I live by command line history and timestamps.<p>I wish there was even better way to preserve the context of what you were doing at the time (env variables, current path at the time etc).
Zen Koan:<p>Before I began my studies in Zen, I thought a tree was a tree and a stone, a stone.<p>When I started to study Zen, I could see that a tree was not a tree, and a stone was not a stone.<p>Now that I am a Zen master, I know that a tree is a tree and a stone is a stone.<p>-- Source: my buddy in college<p>I think you come full circle to learn that you can only keep so much in your head at one time and that you're always in some sense loading up what you need for the next month or three. At least this time you knew to look for the man su command, and remind yourself of the work you did, that you shared with all these other people.