Hashrocket TIL

til.hashrocket.com · Company blog · on HN since 2015

Hashrocket's developers publish short daily Today I Learned notes, mostly on Postgres, Rails, Elixir, and shell tools.

What HN saysCommenters like it as a quick reference that often turns up in searches, and one company copied the idea for its own TIL site.
16HN people shared it
9linked it in comments
8stories submitted
22story points
2 years agolast shared
2015people per year2026

Most-shared posts

  1. 1
    Show HN: Our daily learning site, TIL, is five years old
    7 people · 13 points · first shared 2015 · 5 comments on HN
  2. 2
    Build a CLI with Elixir
    1 people · 5 points · first shared 2019 · discussion on HN
  3. 3
    Postgres, varchar, and silent white space trimming
    1 people · 2 points · first shared 2024 · discussion on HN
  4. 4
    TIL: Disable spring server on rails development
    1 people · 1 points · first shared 2023 · 1 comments on HN
  5. 5
  6. 6
    3zyftipjiu rails will change the not behavior
    1 people · first shared 2022
  7. 7
    Xsavbhlrz4 shortcuts with hash d in zsh
    1 people · first shared 2023
  8. 8
    9c43748955 be aware postgres rounds
    1 people · first shared 2016
  9. 9
    L4t5xok8hg activerecord strict loading in rails
    1 people · first shared 2024
  10. 10
    2fdb6afb66 difference between wq and x
    1 people · first shared 2020
  11. 11
    Dnzttruljf prefer lodash es when using webpack
    1 people · first shared 2021

What HN people wrote when they linked it

thomascountz · 2025-01-10
I like "TIL"s for quick references. HashRocket's TIL page[1], for example, often comes up in my searches. I don't know if it counts as a TIL in the way OP means... 1. https://til.hashrocket.com/
flanbiscuit · 2021-03-16
Lodash has deprecated these individual packages and they will be removed in v5: https://lodash.com/per-method-packages They recommend adding the main `lodash` package and then importing only the functions you need. import throttle from 'lodash/throttle`; I prefer using the `lodash-es` package for the reasons outlined in these 2 blog posts https://til.hashrocket.com/posts/dnzttruljf-prefer-lodash-es-when-usin… https://itnext.io/lodash-es-vs-individual-lodash-utilities-size-compar…
dchuk · 2020-04-18
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
jbranchaud · 2016-02-09
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/
brightball · 2024-04-01
Modern Ruby on Rails makes this really easy with Strict Loading. https://til.hashrocket.com/posts/l4t5xok8hg-activerecord-strict-loadin… One of the biggest perks with the association loads is that it avoids joins by default, which can become a scaling barrier as you grow. Instead, it will capture the associated ids, find all of the related records in a single query and then transparently handle everything for you behind the scenes. Without any optimizations, you'll get essentially 1 query per loaded association rather than the N+1 "one per association per row". You can always tune things to utilize joins, subqueries and optimize specific cases later but this is a sensible setting that will avoid the vast majority of issues.
booleanbetrayal · 2022-01-08
It was fully documented and ActiveRecord has done similar things in the past. See also: https://til.hashrocket.com/posts/3zyftipjiu-rails-will-change-the-not-…
lunchladydoris · 2020-12-12
In case anyone else hasn't heard of or used :x > Like “:wq”, but write only when changes have been made. https://til.hashrocket.com/posts/2fdb6afb66-difference-between-wq-and-…
glibgil · 2016-02-10
Meh, I think I'll skip the ah-ha moments of my coworkers who don't ask themselves "yeah, how else would you do it when you have already specified the precision?" https://til.hashrocket.com/posts/9c43748955-be-aware-postgres-rounds

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close