Live data from Hacker News

Show HN: I've been writing daily TILs for a year

github.com

71–80 of 156 posts

Re: Show HN: I've been writing daily TILs for a year

#71
post #48

Lots of good stuff here. I would appreciate a wiki-style site with short answers like these instead of searching {Google,DDG} and trawling the [stackoverflow] results. Not all of them are necessarily good practice though. This made me chuckle: What Is The Current [Git] Branch? git rev-parse --abbrev-ref HEAD (if you're reading this jbranchaud, try `git branch` :p)

`git branch` also determines whether your working tree is modified. This can be extremely slow on large repos.

`git rev-parse --abbrev-ref HEAD` is very inexpensive in comparison, and doesn't print anything extra you might need to parse out if you're in a shell script.

Re: Show HN: I've been writing daily TILs for a year

#73
post #56

Earlier quoted context omitted.

Everyone at my company really got behind the idea of TILs too, so we created a little web app for it -- https://til.hashrocket.com/

Any chance this is open source? Would love to set this up for my office

We recently open-sourced it. Let us know what you think!

https://github.com/hashrocket/hr-til

Re: Show HN: I've been writing daily TILs for a year

#74
Something I find really interesting is how VIM takes up a huge chunk of the TILs.

One of my personal quirks is I feel like those terminal-based editors consume an undue amount of time and energy to learn and maintain. This TIL seems to give a bit of extra evidence for that suspicion. Simpler options have been available for years now (e.g., Sublime). In those rare moments when you do need to edit files on a remote server, nano is always available.

Re: Show HN: I've been writing daily TILs for a year

#75

For me, this is all about tracking my personal learning. I reference old posts several times a week. I hope others can learn from it as well!

Cool idea! I'll definitely be stealing this. Have you thought of making it searchable or generating a site your posts? Anything you would have wished you had done differently since you started it?

Re: Show HN: I've been writing daily TILs for a year

#76
post #46
post #25

Earlier quoted context omitted.

There are varied opinions about this topic. Several Sources of Truth and Righteousness advise against "sequel"[1][2], However it seems that in a certain building in WA "sequel" is preferred [3]. [1] https://dev.mysql.com/doc/refman/5.7/en/what-is-mysql.html [2] http://www.postgresql.org/about/press/faq/ [3] https://social.msdn.microsoft.com/Forums/sqlserver/en-US/fd6...

Redmond also colloquially refers to the product Microsoft SQL Server as just SQL (pronounced "sequel"), as in, "We're trying sell more SQL licenses," or, "Is the backing DB for your SAP installation Oracle or SQL?" This has led to some confusion. Additionally, as I pointed out in a sibling comment up the chain somewhere, SQL is an abbreviation of the original acronym, SEQUEL, for Structured English QUEry Language. It…

Thanks, I did not know about the SEQUEL acronym.

Re: Show HN: I've been writing daily TILs for a year

#78

Earlier quoted context omitted.

> I blame that I've been writing "SQL" all day and have unconsciously associated three letter non English words and "Is acronym". Hyperpedantically, "SQL" is an initialism, but not an acronym.

TIL what an initialism is and how it differs from an acronym :) Funnily enough, Chrome is flagging it as a misspelled word, but googling for it brought up its definition in Google's usual definition box.

Try turning on "Ask Google for Suggestions". That should do the trick.

Normal spellcheck is a dictionary. "Ask" is server-side magic that is context-aware and goes beyond dictionaries. After turning it on, try "icland is an icland" to be amused. Or "Brittaney Spears".

I normally don't go on about this, but since this thread is about TILs... :)

Re: Show HN: I've been writing daily TILs for a year

#79

When I was first learning UNIX many years ago a grey-beard told me to always keep a spiral bound notebook and pen at my side. It was great advice. Jotting down the arcane commands committed most of them to memory, for the rest my black little spell book held the magical incantation for any situation. I've since gotten away from that habit. Perhaps I should follow this fellow's lead.

I do this when learning a new language I know I want to know most of the STL of. Of course, most languages have similar functions for strings, lists, etc., but it helps a lot. Currently doing it for Elixir.
Post reply on HN