Episode 164: Are We Going to Run Out of Credit Cards? #56
Replies: 9 comments 2 replies
-
This episode was hilarious. There is a problem to check whether a credit card number is valid using the Luhn algorithm in CS50: |
Beta Was this translation helpful? Give feedback.
-
To answer the question, it definitely wasn't the best episode, but it wasn't the worst either, I still enjoyed it :) I have no idea how credit card numbers are generated. However, I've worked on a tangentially-related toy problem, if you're interested: how to go pseudo-randomly through all the possible numbers exactly once, without having to keep a list of previously-allocated numbers. And it uses a C++ standard class: std::linear_congruential_engine! Blog post: A Detour into Group Theory. |
Beta Was this translation helpful? Give feedback.
-
Patrick McKenzie would be an interesting guest to discuss the intersection of finance and computing. He was recently on Conversations with Tyler here |
Beta Was this translation helpful? Give feedback.
-
Conor, sadly, I have to agree with Bryce, this episode was gold 😄. As they say about streaming services/cable tv, "come for the movies, stay for the shows" your podcast is "come for the algorithms, stay for the banter" 😀. "A discussion with Sean Parent"-episodes are always platinum-grade content! Thanks! |
Beta Was this translation helpful? Give feedback.
-
This was fun. The high pitched forwarding noise really really hurts my ears. Please stop it. 🫰 |
Beta Was this translation helpful? Give feedback.
-
Bryce, it will definitely be one of my favorite episodes of the year! |
Beta Was this translation helpful? Give feedback.
-
Conor says there's a billion numbers per one of the 100,000 issuers which should last for 800 years and Bryce argues "People make a lot of babies". From a comedy standpoint that is gold. And I assume none of that was scripted. Overexcited Bryce and underwhelmed Conor is often very funny, but this episode took it to a whole new level. Even the editing of the 10x parts was gold. I mean, do you really just 10x and if yes, could the orginal be recovered by playing it at 1/10x speed? Not that I'd want to do that, but technically? To answer your question "should we be buying ANSI standards or ISO standards once a month?" As for the title, technically it should probably read "... Credit Card Numbers", but that won't save this episode either. So, thanks for the laughs, made my day! |
Beta Was this translation helpful? Give feedback.
-
Conor and Bryce, I also remember taking the bits for those numbers and inverting them. This makes it difficult to predict the next number, as in an 8 bit mask, the numbers 1, 2 and 3 become 128, 64 and 192. Hope that helps, and happy new year to the two of you. |
Beta Was this translation helpful? Give feedback.
-
@codereport, implementing Luhn feels like a Rust vs C++ vs BQN vs Uiua video just waiting to happen. Here's a Uiua implementation to get you started lol. |
Beta Was this translation helpful? Give feedback.
-
Episode Link: https://adspthepodcast.com/2024/01/12/Episode-164.html
Feel free to write comments or ask questions 🙂
Beta Was this translation helpful? Give feedback.
All reactions