I've been writing TILs for 5 years

  • TIL Alt-clicking in the Terminal prompt lets me move the cursor to that position. How had I not discovered this over many years?

  • Forgive me for my ignorance, but I haven't contributed to open source much yet. What is the reason for forking this repo. I see a lot of people have done it. Wouldn't that be akin to cloning someone else's personal blog? I just don't see the point of that.

  • > Chrome Supports Many Unix Keyboard Shortcuts

    These are actually Emacs-style editing shortcuts that come are part of Cocoa's text controls. If this doesn't work in an app on macOS, that app has broken them or is trying (evidently poorly) to reimplement their own text editing widget.

  • This is awesome! Twitter has been my goto for posting TILs for about as long. Now I regret not collecting them in a more coherent format like this.

    Sara Soueidan has a similar log oriented toward UI work:

    https://www.sarasoueidan.com/today-i-learned/

  • Vim is by far my most TIL-ed topic. I recently started gathering a lot of that learning into a screencast series: https://www.youtube.com/playlist?list=PL46-cKSxMYYCMpzXo6p0C...

  • TIL that I'd been using items in this list for reference without realizing that I had been working with Josh (OP) at my day-job the whole time!

  • I've started collecting these myself and I try to summarize them every month. I encourage everyone to do the same, it's a great way to build a reference of stuff you learn that you can and reviewing them monthly makes it stick.

    https://theodorton.github.io/categories/til/

  • Seems like a really simple web app concept someone should pursue. I feel like being able to browse other people’s TILs and save them/search them would be a really valuable thing.

    EDIT: Just like this: https://til.hashrocket.com/ but open to anyone to sign up

  • ive been doing this mostly on stackoverflow (where I answer my own question, or answer questions to something I couldn't find an answer too). It does take a bit longer than a repo where I just dump information, so I might try that instead

    My thought process is I'll google something and find something I wrote

    There's also the bonus that you might get an expert answering your topic

    EDIT: related story - I wrote an answer to a question about programming a financial calculator, and one of my dev friends had the same exact problem/found my solution the next day on stackoverflow

  • The VIM ones are my favorite - I'm always blown away with the simple keyboard shortcuts that could have saved me hours had I known them 2 years ago.

    TIL just typing "=" in Vim fixes all my indentation

    Just subscribed to his newsletter so I can get these and not forget about this cool repo!

  • Reading through theses makes me wish I started this 5 years ago.

    Guess I better start today!

  • I was inspired by Josh’s TIL previously and have been storing TILs at https://TIL.secretGeek.net for years now too.

    Just last night I rebuilt the site using a new static site generator I built for it (called Clowncar) so I can cut gitbook out of my life.

  • Suggestion: If you have an especially good TIL about programming, look for an appropriate public forum to post it.

  • TIL macOS doesn't ship with `ack`. Found this out when trying the first thing on the list `ack --bar`.

    :(

  • This is great. I've been collecting 'things' I learned and links to pages, like a reading list etc. but none of that sticks out long term because the resources might move, the data might not be searchable or the thing you wanted to get out of a larger article is actually much smaller than the 20 pages it came with. And then when you collect links and a reading list you end up not really going back to it anyway.

    This approach makes it much easier to just add the thing you actually wanted to learn and learned in a small concise way with a reference back to where you found it. So simple, yet as so many others I hadn't thought of it.

  • Ha, you got me confused there for a bit, because of: https://wiki.c2.com/?ThreadedInterpretiveLanguage

    Anyway, thanks for sharing your tips!

  • In a similar fashion I've been working on a snippet library for php and js, though it's definitely not this frequent or intentional.

    It's quite useful when I stumble upon things like how do I format this date, or match balanced brackets in a string.

    Battle tested code ready for my taking. Quite useful when I'm in a hurry! Do you guys do this too?

  • In case folks are interested in other "non-tech" TILs, I occasionally visit this blog to see what's been added recently - https://alearningaday.blog/ - by a Product Manager who currently works at LinkedIn.

  • This is amazing. Curious how you search or go back to refer them? Have you considered porting this to a doc generator like mdBook(https://github.com/rust-lang/mdBook).

  • A lot of the TILs could be put in a single readme instead of a file of their own.

  • I am actually building a site specifically for this use case:

    https://todayilearned.co

    It allows both private and shared insights, so people can learn together. Check it out

  • This inspired me to start doing this myself. I made a start here: https://github.com/simonw/til

  • I really like this format. It's an interesting mid-point between a tweet and a blog, but optimized for "evergreen" content as opposed to content where the date is key.

  • This would make a great set of flashcards for a spaced-repetition system! Thanks for publishing these.

  • Great effort! Often thought about creating a blog for such things but never progressed further.

  • Referencing the selected element in Chrome with $0 certainly saves quite a few typing.

  • I'm so old I remember when TIL meant Threaded Interpreted Language.

    :)

  • Thanks for sharing! This is awesome.

  • Great list

  • ive saved this...super cool!

  • “On Mac, you can insert a non-breaking space character by hitting option-space.”

    Does anyone know how to turn this OFF? I accidentally type non-breaking spaces in the terminal all the time and then have to meticulously try re-entering each space from the end backwards until bash finally groks it...

  • I've been saying ELI5 for 5 years...

  • TIL 1) 32.0.0 grade fertilizer, 2) ethyl alc whatever 3) don't add the measuerd nox until you're gonna fuck things up 4) what a fucking experience

  • github is not a blog.

  • I don't really see the point of this, except that it helps the author stay consistent to make updates and learn things. I'm not really sure why anyone would consume this, except for curiosity into what they could do for implementing their own consistency forcing function.