Top all-time · #19001
Jon McCartie
Personal blog · mccartie.comprogrammingweb
Jon McCartie's personal blog at mccartie.com covers programming and web. Since 2016, 4 different Hacker News readers have linked it 5 times, most often “Rails 5.1: Default Primary Keys Are Now BIGINT”. The last post was in 2019, but the archive is still widely read.
Too few sampled comments (1) to say how often HN recommends it.?
Why HN links it
Jon McCartie's blog. One HN commenter linked a 2016 post on Rails 5.1 defaulting primary keys to 64-bit IDs, in a thread about a MySQL table that outgrew its ID type.
Summarised by Claude from a sample of 1 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Most-linked posts?
- Rails 5.1: Default Primary Keys Are Now BIGINT3 people · 3 mentions · first linked 2016-12-05
What Hacker News says?
Yeah, this was a case of somebody (definitely not me, I would never!) generating a table in Rails, before Rails used 64 bit IDs on primary keys by default, and no one noticed before the table got really large. It looks like newer versions of Rails are doing it by default now: http://www.mccartie.com/2016/12/05/rails-5.1.html
Comment linking /2016/12/05/rails-5.1.html
on “GitHub's online schema migration for MySQL”Submitted Rails 5.1: Default Primary Keys Are Now BIGINT as a story · 2 points
HN discussionSubmitted Rails 5.1: Default Primary Keys Are Now BIGINT as a story · 1 points
HN discussionSubmitted Token-Based API Authentication with Rails as a story · 1 points
HN discussionSubmitted Rails and Slack: Creating a Slash Command App as a story · 1 points
HN discussion