czep.net

czep.net · Personal blog · on HN since 2016

Personal site of a programmer with posts on databases, Linux, statistics and career, including a well-known essay on the number 52 factorial.

What HN saysHN commenters keep linking its 52 factorial page when discussing card shuffles and how large that number is, and one for a static site generator.
31HN people shared it
17linked it in comments
18stories submitted
295story points
6 months agolast shared
2016people per year2026

Most-shared posts

  1. 1
    52 Factorial
    18 people · 99 points · first shared 2016 · 63 comments on HN
  2. 2
    Obfuscating Your Primary Keys
    4 people · 6 points · first shared 2021 · discussion on HN
  3. 3
    Don't call me a '5:01er' (2015)
    2 people · 97 points · first shared 2017 · 67 comments on HN
  4. 4
  5. 5
    Linux from Scratch on EC2
    2 people · 6 points · first shared 2017 · discussion on HN
  6. 6
    Legion of Lobotomized Unices (2017)
    2 people · 4 points · first shared 2018 · 1 comments on HN
  7. 7
  8. 8
    This time is no different
    1 people · 1 points · first shared 2026 · discussion on HN
  9. 9
    Ceo family man
    1 people · first shared 2017
  10. 10
    Contact
    1 people · first shared 2016
  11. 11
    Stasis
    1 people · first shared 2021

What HN people wrote when they linked it

dceddia · 2021-01-01
The linked blog post was a good read about why the author went down this path, goals of the project, and some technical challenges along the way: https://czep.net/20/stasis.html As someone with a Jekyll blog who's considered changing SSG's a few times in the past, this was interesting to read. I could see myself going down a similar path. Gatsby adds a lot of complexity that IMO isn't a big benefit for a simple blog, and when I tried migrating my site to it, a lot of existing posts were broken in weird ways. Eleventy is "Jekyll but in JavaScript" and way closer to what I want, but its flavor of Liquid is just slightly different from Jekyll's to the point where I would have to update a bunch of posts, plus there's no incremental build yet. So I'm still sticking with Jekyll for now. Maybe one day I'll break down and build my own SSG like the author...
sjcsjc · 2019-04-18
And there are 80658175170943878571660636856403766975289505440883277824000000000000 possible shuffles of a pack of cards which is also mind blowing but really just an excuse for me to wheel out this excellent link again https://czep.net/weblog/52cards.html
mega_dean · 2026-05-08
Reminds me of this page with an example for understanding how many permutations there are for a shuffled deck of cards: https://czep.net/weblog/52cards.html > So, just how large is it? Let's try to wrap our puny human brains around the magnitude of this number with a fun little theoretical exercise. Start a timer that will count down the number of seconds from 52! to 0. We're going to see how much fun we can have before the timer counts down all the way. Shall we play a game? > Start by picking your favorite spot on the equator. You're going to walk around the world along the equator, but take a very leisurely pace of one step every billion years. The equatorial circumference of the Earth is 40,075,017 meters. Make sure to pack a deck of playing cards, so you can get in a few trillion hands of solitaire between steps. After you complete your round the world trip, remove one drop of water from the Pacific Ocean. Now do the same thing again: walk around the world at one billion years per step, removing one drop of water from the Pacific Ocean each time you circle the globe. The Pacific Ocean contains 707.6 million cubic kilometers of water. Continue until the ocean is empty. When it is, take one sheet of paper and place it flat on the ground. Now, fill the ocean back up and start the entire process all over again, adding a sheet of paper to the stack each time you’ve emptied the ocean. Do this until the stack of paper reaches from the Earth to the Sun. Take a glance at the…
shagie · 2025-09-07
The number 52! is absurdly large. While the article is behind a paywall and so I can't see its full discussion, I'm reminded of https://czep.net/weblog/52cards.html that has a bit on the "how large is the number" > Start by picking your favorite spot on the equator. You're going to walk around the world along the equator, but take a very leisurely pace of one step every billion years. The equatorial circumference of the Earth is 40,075,017 meters. Make sure to pack a deck of playing cards, so you can get in a few trillion hands of solitaire between steps. After you complete your round the world trip, remove one drop of water from the Pacific Ocean. Now do the same thing again: walk around the world at one billion years per step, removing one drop of water from the Pacific Ocean each time you circle the globe. The Pacific Ocean contains 707.6 million cubic kilometers of water. Continue until the ocean is empty. And it goes on. Numbers like Tree(3) or Loader's number or the various "these are really big mathematical functions" ( relevant xkcd https://xkcd.com/207/ )... we know we can't comprehend them. But 52! - that's something that we think we can get our head around... and it's mind boggling large once you start doing the math and trying to relate it to real things that we can relate to (which are mind bogglingly large).
czep · 2017-03-08
I've thought long and hard about this very question as I often wondered how I'd maintain my skills when my kid was born. I remember reading the Preface of some technical book where the author said he's glad he never had kids because he would always be afraid that in a competition for his time, "the computer would always win." I feel that way sometimes, I just want to study, learn, write code, because I love this field and having a family doesn't mean my interest in computing has died. But we have to ask why this attitude is endemic to tech and not to other fields. You don't see surgeons or investment bankers asking their peers in forums, "how do you skill up" after having kids! So why do we feel like in tech we must sacrifice everything else that makes us human just to keep our nose to the grindstone? I wrote two blog posts that echo this dilemma. [1] "Don't call me a '5:01er'" where I attack the unfair portrayal of people with kids as being less committed to their jobs, and [2] "Why can't a CEO be a family man?" about how our entire civilization seems to have its priorities bass-ackwards. For me the critical turning point in my perspective came one day as I gazed down at my son on his changing table. I looked at him lying there helpless and it made me think of how I said goodbye to my father, looking down as he lay in the casket. Then I realized that one day the tables would literally be turned as this very same helpless creature would be looking down at my…
danbruc · 2016-06-05
No discussion of 52! is complete without [1]. A somewhat condensed version of one of the illustrations from the site. 52! is the number of different ways you can arrange a single deck of cards. Let's try to wrap our puny human brains around the magnitude of this number with a fun little theoretical exercise. Start a timer that will count down the number of seconds from 52! to 0. We're going to see how much fun we can have before the timer counts down all the way. Start by picking your favorite spot on the equator. You're going to walk around the world along the equator, but take a very leisurely pace of one step every billion years. Make sure to pack a deck of playing cards, so you can get in a few trillion hands of solitaire between steps. After you complete your round the world trip, remove one drop of water from the Pacific Ocean. Now do the same thing again: walk around the world at one billion years per step, removing one drop of water from the Pacific Ocean each time you circle the globe. Continue until the ocean is empty. When it is, take one sheet of paper and place it flat on the ground. Now, fill the ocean back up and start the entire process all over again, adding a sheet of paper to the stack each time you’ve emptied the ocean. Do this until the stack of paper reaches from the Earth to the Sun. Take a glance at the timer, you will see that the three left-most digits haven’t even changed. You still have 8.063 × 10⁶⁷ more seconds to go. So, take the stack of…
jvanderbot · 2024-12-07
I found a text version of the same (?) thing: https://czep.net/weblog/52cards.html
skrause · 2024-12-06
It was 52!, the number of possible permutations of 52 cards: https://czep.net/weblog/52cards.html
fsagx · 2024-10-22
52! even has its own website: https://czep.net/weblog/52cards.html
RGamma · 2024-09-17
Luckily still enough to fit the 52! stuff in, 10^722 times. https://czep.net/weblog/52cards.html
ninju · 2020-08-06
This page has a "workflow" you can go through to get a sense of how big 52! really is http://czep.net/weblog/52cards.html
andrepd · 2018-06-17
How big, you ask? This big: https://czep.net/weblog/52cards.html
virtualwhys · 2017-09-27
> The mind boggles This may help[1] [1] https://czep.net/weblog/52cards.html
theoh · 2016-06-05
Actually, the page section mentioned ("The Details") is on the czep.net page. http://czep.net/contact/ is empty.
ColinWright · 2016-06-05
They were referring to the link in the comment to which they were replying, namely, this one: http://czep.net/weblog/52cards.html The address you provided here is correct, but is for the submitted article.
jrochkind1 · 2021-11-10
I mean, the links are going to be a template either way, so you can change the identifier part to change the item; it's just a question of whether the identifier portion is the internal rdbms PK, or something else. It's considered undesirable because it's basically an "implementation detail", it's good to let the internal PK change without having to change the public-facing URLs, or sometimes vice versa, when there are business reasons to do so. And then there are the at least possible security implications (mainly "enumeration attacks") and/or "business intelligence to your competitors" implications too. But it's true that plenty of sites seem to expose the internal PK too, it's not a complete consensus. Just kind of a principle to separate internal implementation from public interface. Here's a short 2008 HN discussion on it, in which people have both opinions: https://news.ycombinator.com/item?id=19876901 Here's a more recent and lengthy treatment: https://czep.net/21/obfuscate.html
AndrewOMartin · 2018-01-26
I assumed your link was going to be this one about a "graspable" description of the number 52! (factorial). https://czep.net/weblog/52cards.html Start a timer that will count down the number of seconds from 52! to 0. Then walk around the world along the equator, at the very leisurely pace of one step every billion years. The equatorial circumference of the Earth is 40,075,017 meters. After you complete your round the world trip, remove one drop of water from the Pacific Ocean. Now do the same thing again: walk around the world at one billion years per step, removing one drop of water from the Pacific Ocean each time you circle the globe. The Pacific Ocean contains 707.6 million cubic kilometers of water. Continue until the ocean is empty. When it is, take one sheet of paper and place it flat on the ground. Now, fill the ocean back up and start the entire process all over again, adding a sheet of paper to the stack each time you’ve emptied the ocean. Do this until the stack of paper reaches from the Earth to the Sun. Take a glance at the timer, you will see that the three left-most digits haven’t even changed.

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