News for hackers. Stuff that matters.
Re:Ask HN: Do you ever go to StackOverflow twice for the sam... by davidsojevic on Thursday May 07, 2020 @06:58AM (#23101631)
It may be worth keeping a notepad, journal, or even a blog that you can document snippets and things you've learned if you're finding that you're using Google or StackOverflow often to try and solve the same problems.

I personally just keep around a handful of markdown files split up into different categories for things I use every few months, but can never remember the exact command or series of commands to accomplish it.

I've also had a few coworkers and friends who have hosted blogs (some public, some private) for the same purposes.

Documenting them in your own words will also likely help with the knowledge retention so you may even find that you won't need to look it up next time it happens.

Re:Ask HN: Do you ever go to StackOverflow twice for the sam... by zicon35 on Thursday May 07, 2020 @07:05AM (#23101671)
Yeah that makes sense. Do you keep these files using a tool or just in organised folders right now? Could you link a public blog for reference? Would love to take a look. I have been taking notes sometimes like yourself but I find it hard to look them up later.
Re:Ask HN: Do you ever go to StackOverflow twice for the sam... by davidsojevic on Thursday May 07, 2020 @07:18AM (#23101741)
I have a single folders I call "Notes" with a handful of files that make up the arbitrary groupings and I keep a "notes.md" file in project folders for project specific notes I want to keep about.

For example, in the "Notes" folder, "wkhtmltopdf.md" contains some notes around issues I was experiencing in getting wkhtmltopdf setup in a new environment and the steps I took to resolve them. Whereas "general.md" just contains some Docker commands I do infrequently but can never remember the arguments I need each time and don't want to spend the time reading the docs and crafting the command again.

Periodically I'll spot something in my notes I haven't used in many months and I'll just delete them from my notes. Usually this is because I just remember the command/what to do after a while _or_ because it's just never cropped up again.

As for a public blog reference, here's an example of one that has a handful of blog posts with notes and they've used tags for grouping and looking up later on: https://jwigley.com/

Re:Ask HN: Do you ever go to StackOverflow twice for the sam... by zicon35 on Friday May 08, 2020 @03:29AM (#23112285)
Thanks this is useful :)
Re:Ask HN: Do you ever go to StackOverflow twice for the sam... by eesmith on Thursday May 07, 2020 @07:48AM (#23101920)
I think so. I find myself sometimes doing a search, where the top-level link(s) are colored visited, so I must have seen them before.

One of the most common reasons is Python's argparse. I find it easier to consult the documentation when I need it than remember how it works.

Every once in a while the page which gives me the answer is something that I wrote.

Re:Ask HN: Do you ever go to StackOverflow twice for the sam... by zicon35 on Thursday May 07, 2020 @07:57AM (#23101987)
Have you tried bookmarking it or keeping notes ? I bookmark stuff which I think would be useful but then I dont remember I have the bookmark of it.

"Every once in a while the page which gives me the answer is something that I wrote" -- Wow.

Re:Ask HN: Do you ever go to StackOverflow twice for the sam... by eesmith on Thursday May 07, 2020 @08:07AM (#23102062)
If it's code, I make notes in the code as to where the answers came from.

If it's build/configuration, I keep a log of the changes I made. Which has proved very handy.

But just because it's in my notes, doesn't mean I remember it. I have to know where to look.

Yeah, I had a friend of mine point to some code I wrote in a StackOverflow comment. I had no memory of writing it.

Re:Ask HN: Do you ever go to StackOverflow twice for the sam... by zicon35 on Friday May 08, 2020 @03:31AM (#23112296)
"I have to know where to look." -> For me personally this is the hard part.
Re:Ask HN: Do you ever go to StackOverflow twice for the sam... by eesmith on Friday May 08, 2020 @05:21AM (#23112880)
Inscribed on the wall over the entrance of what was the first library building at my undergrad: "The half of knowledge is knowing where to find it".
Re:Ask HN: Do you ever go to StackOverflow twice for the sam... by valand on Friday May 08, 2020 @11:43AM (#23116029)
All the time. StackOverflow questions are there to stay.
Re:Ask HN: Do you ever go to StackOverflow twice for the sam... by ToFab123 on Thursday May 07, 2020 @06:39AM (#23101538)
Yes
Re:Ask HN: Do you ever go to StackOverflow twice for the sam... by zicon35 on Thursday May 07, 2020 @07:06AM (#23101677)
Do you keep notes?
Re:Ask HN: Do you ever go to StackOverflow twice for the sam... by ToFab123 on Thursday May 07, 2020 @09:29AM (#23102723)
No. I have a good memory of how to find it again.
Re:Ask HN: Do you ever go to StackOverflow twice for the sam... by sagespidy on Friday May 08, 2020 @09:28AM (#23114637)
hehehe, lol , me too