home.social

#factorials — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #factorials, aggregated by home.social.

fetched live
  1. Oh, so we're solving #puzzles now, huh? 🤔 Yeah, let's calculate #factorials without loops, recursion, or common sense. 🌀 Just sprinkle some Y and Z #combinators over that monstrosity and call it a "gentler" introduction. 🙄
    irfanali.org/blog/zcom #coding #humor #programming #challenges #HackerNews #ngated

  2. Oh, so we're solving #puzzles now, huh? 🤔 Yeah, let's calculate #factorials without loops, recursion, or common sense. 🌀 Just sprinkle some Y and Z #combinators over that monstrosity and call it a "gentler" introduction. 🙄
    irfanali.org/blog/zcom #coding #humor #programming #challenges #HackerNews #ngated

  3. Oh, so we're solving #puzzles now, huh? 🤔 Yeah, let's calculate #factorials without loops, recursion, or common sense. 🌀 Just sprinkle some Y and Z #combinators over that monstrosity and call it a "gentler" introduction. 🙄
    irfanali.org/blog/zcom #coding #humor #programming #challenges #HackerNews #ngated

  4. Oh, so we're solving #puzzles now, huh? 🤔 Yeah, let's calculate #factorials without loops, recursion, or common sense. 🌀 Just sprinkle some Y and Z #combinators over that monstrosity and call it a "gentler" introduction. 🙄
    irfanali.org/blog/zcom #coding #humor #programming #challenges #HackerNews #ngated

  5. Oh, so we're solving #puzzles now, huh? 🤔 Yeah, let's calculate #factorials without loops, recursion, or common sense. 🌀 Just sprinkle some Y and Z #combinators over that monstrosity and call it a "gentler" introduction. 🙄
    irfanali.org/blog/zcom #coding #humor #programming #challenges #HackerNews #ngated

  6. Ah yes, the ancient art of hiding your diary entries in a deck of cards, because #encryption is just too mainstream 🤡🔢. A blog post that is essentially a math lesson disguised as a magic trick, but without any of the actual magic. Apparently, #factorials are the new secret code—move over, spies! 🕵️‍♂️🃏
    asherfalcon.com/blog/posts/3 #diaryhacks #mathmagic #secretcodes #HackerNews #ngated

  7. Ah yes, the ancient art of hiding your diary entries in a deck of cards, because #encryption is just too mainstream 🤡🔢. A blog post that is essentially a math lesson disguised as a magic trick, but without any of the actual magic. Apparently, #factorials are the new secret code—move over, spies! 🕵️‍♂️🃏
    asherfalcon.com/blog/posts/3 #diaryhacks #mathmagic #secretcodes #HackerNews #ngated

  8. Ah yes, the ancient art of hiding your diary entries in a deck of cards, because #encryption is just too mainstream 🤡🔢. A blog post that is essentially a math lesson disguised as a magic trick, but without any of the actual magic. Apparently, #factorials are the new secret code—move over, spies! 🕵️‍♂️🃏
    asherfalcon.com/blog/posts/3 #diaryhacks #mathmagic #secretcodes #HackerNews #ngated

  9. Ah yes, the ancient art of hiding your diary entries in a deck of cards, because #encryption is just too mainstream 🤡🔢. A blog post that is essentially a math lesson disguised as a magic trick, but without any of the actual magic. Apparently, #factorials are the new secret code—move over, spies! 🕵️‍♂️🃏
    asherfalcon.com/blog/posts/3 #diaryhacks #mathmagic #secretcodes #HackerNews #ngated

  10. :rubberduck: made colored #factorials in 2 lines :awesome:
    #python

  11. :rubberduck: made colored #factorials in 2 lines :awesome:
    #python

  12. :rubberduck: made colored #factorials in 2 lines :awesome:
    #python

  13. :rubberduck: made colored #factorials in 2 lines :awesome:
    #python

  14. @atamakahere Surely that would need to limit itself to u8 as the input and u128 as the output? And even then you'd need a hard limit enforced on the input value because 255! is equal to more than 3.35E104, whereas u128::MAX is less than 3.5E38.

    In fact, the biggest number which fits is 34! equal to roughly 2.95E38.

    Factorials grow up so fast.

  15. @atamakahere Surely that would need to limit itself to u8 as the input and u128 as the output? And even then you'd need a hard limit enforced on the input value because 255! is equal to more than 3.35E104, whereas u128::MAX is less than 3.5E38.

    In fact, the biggest number which fits is 34! equal to roughly 2.95E38.

    Factorials grow up so fast.

    #RustLang #factorials

  16. @atamakahere Surely that would need to limit itself to u8 as the input and u128 as the output? And even then you'd need a hard limit enforced on the input value because 255! is equal to more than 3.35E104, whereas u128::MAX is less than 3.5E38.

    In fact, the biggest number which fits is 34! equal to roughly 2.95E38.

    Factorials grow up so fast.

    #RustLang #factorials

  17. @atamakahere Surely that would need to limit itself to u8 as the input and u128 as the output? And even then you'd need a hard limit enforced on the input value because 255! is equal to more than 3.35E104, whereas u128::MAX is less than 3.5E38.

    In fact, the biggest number which fits is 34! equal to roughly 2.95E38.

    Factorials grow up so fast.

    #RustLang #factorials

  18. #factorials #math
    From @waitbutwhy
    February has 28 days (7 x 4). Each day has 24 hours (8 x 3). Each hour has 60 minutes (6 x 5 x 2).

    So February has 8! minutes:
    8 x 7 x 6 x 5 x 4 x 3 x 2 x 1.

  19. #factorials #math
    From @waitbutwhy
    February has 28 days (7 x 4). Each day has 24 hours (8 x 3). Each hour has 60 minutes (6 x 5 x 2).

    So February has 8! minutes:
    8 x 7 x 6 x 5 x 4 x 3 x 2 x 1.

  20. #factorials #math
    From @waitbutwhy
    February has 28 days (7 x 4). Each day has 24 hours (8 x 3). Each hour has 60 minutes (6 x 5 x 2).

    So February has 8! minutes:
    8 x 7 x 6 x 5 x 4 x 3 x 2 x 1.

  21. I sent that 1000! picture to a friend on #Hangouts (which #Google hasn't shut down... yet), and my friend commented on the large number of 0s at the end of the value.

    I assured him that that's what happens with #factorials - by 5! you've got 2*5 as a subexpression, and by 10! you've got another factor of 10, well, right there. 15 brings in another factor of 5, and by that point, you've got a backlog of 2s. 25! has six trailing zeroes, with two factors of 5 right there.

    That's #math for you.