ππ§ Inside Apple Pay: The Secrets Behind 41 Million Daily Transactions
PLUS: 30 System Design Concepts π§ , Simplifying MCP π, Visual Algorithms Cheat Sheet π
Happy Monday! βοΈ
Welcome to the 423 new hungry minds who have joined us since last Monday!
If you arenβt subscribed yet, join smart, curious, and hungry folks by subscribing below.
π Software Engineering Articles
Breaking down stateful vs stateless design for better architecture decisions
Master system design with these 30 essential concepts
Learn to build a robust on-call process that won't burn out teams
CPU architecture concepts every developer must understand
Critical insights before choosing Next.js for your project
ποΈ Tech and AI Trends
Gemini 2.5 release brings groundbreaking improvements to Google's AI
Open source developers fight back against AI crawlers
Amazon's AI-powered shopping introduces a personalized interests feature
π¨π»βπ» Coding Tip
torch.compile
for fast inference with PyTorchTime-to-digest: 5 minutes
How Apple Pay Handles 41 Million Transactions a Day Securely πΈ
Apple Pay is handling 41 million secure transactions a day. Thatβs wild! Appleβs approach is strong because they donβt store your credit card info on the iPhone or their servers. That also means that you donβt need the internet to pay.
The challenge:
Creating a payment system that's both super convenient (just tap!) and ultra-secure while working offline and protecting sensitive financial data.
Implementation highlights:
Credit card details are never stored on the iPhone or Apple servers. Instead, a unique Device Account Number (DAN) is generated and stored in a secure chip.
Biometric verification (Face ID/Touch ID) happens locally in the secure enclave, never leaving your device
Each transaction creates a unique one-time cryptogram combining DAN and transaction details, making replay attacks impossible
Results & Learnings:
Speed + Security: Apple Pay is almost frictionless because the crucial data is stored in specialized hardware and verified with short-lived cryptograms.
Zero Exposure: Your real card number stays hidden, minimizing risk of theft.
Works Anywhere: Works offline thanks to clever use of secure elements and NFC
Fun fact: Your iPhone is probably more secure than your physical wallet (unless your wallet is made of vibranium π)
Breaking Down Stateful vs Stateless Design
System Design was HARD until I Learned these 30 Concepts
Written by
How to Design a Good On-Call π¨
Written by
andMCP (Model Context Protocol): Simply explained in 5 minutes
Written by
What high performers know about doing hard things
Written by
Turning 30: 5 Things My 20s Taught Me
Written by
Visual-Focused Algorithms Cheat Sheet
Written by
ESSENTIAL (typescript zoom zoom)
Trends #7: TypeScript is getting 10x faster!
GITHUB REPO (awesome-llm-party)
awesome-llm-apps
ARTICLE (reacting to trends)
React Trends in 2025
ARTICLE (types are friends, not foes)
Don't Be Afraid Of Types
ARTICLE (cpu knows best)
Hardware-Aware Coding: CPU Architecture Concepts Every Developer Should Know
ARTICLE (ai: the new sidekick)
AI for Software Engineering is Just Another βParadigm Shiftβ
ARTICLE (react library secrets)
Common React libraries architecture
ARTICLE (github action detective)
Whose code am I running in GitHub Actions?
ARTICLE (editor speedrun)
How we made our rich text editor load faster
ARTICLE (next.js or next mess?)
You should know this before choosing Next.js
Want to reach 170,000+ engineers?
Letβs work together! Whether itβs your product, service, or event, weβd love to help you connect with this awesome community.
π± Rebuilding TikTok: A Vision for an American Future (4 min)
Brief: Perplexity aims to rebuild TikTok in America with a transparent algorithm, enhanced AI infrastructure, and a focus on trustworthy content, transforming it into a platform for creativity and knowledge discovery.
π DeepSeek Unveils V3-0324 with Enhanced Reasoning and Open-Source Models (2 min)
Brief: DeepSeek's V3-0324 release enhances reasoning performance and tool-use capabilities, now available under the MIT License with open-source weights.
ποΈ Amazon Unveils AI 'Interests' Feature to Personalize Shopping Experience (3 min)
Brief: Amazon's new AI-driven 'Interests' feature helps users discover personalized products by continuously scanning for items that match their specific shopping needs.
π Gemini 2.5 Launches with Enhanced AI Reasoning and Performance (3 min)
Brief: Google unveils Gemini 2.5, showcasing advanced reasoning capabilities and top performance on benchmarks, setting a new standard in AI technology.
π‘οΈ Open Source Developers Combat AI Crawlers with Ingenuity and Resolve (3 min)
Brief: Open source developers are employing creative strategies to protect their work from AI crawlers, showcasing a blend of innovation and defiance in the face of automated threats.
This weekβs coding challenge:
This weekβs tip:
In Python, when using PyTorch for deep learning, you can leverage torch.compile()
to optimize model performance by compiling the model into an optimized computation graph, reducing overhead and improving execution speed, especially for complex models.
Wen?
Performance-Critical Training: Speeds up training loops for large models like transformers or CNNs by reducing Python overhead and optimizing computation.
Inference Optimization: Enhances inference speed on production workloads, particularly when deploying models on resource-constrained environments.
Complex Graph Operations: Ideal for models with intricate layer interactions or d
βWhen one door of happiness closes, another opens, but often we look so long at the closed door that we do not see the one that has been opened for us."
Helen Keller
Thatβs it for today! βοΈ
Enjoyed this issue? Send it to your friends here to sign up, or share it on Twitter!
If you want to submit a section to the newsletter or tell us what you think about todayβs issue, reply to this email or DM me on Twitter! π¦
Thanks for spending part of your Monday morning with Hungry Minds.
See you in a week β Alex.
Icons by Icons8.
*I may earn a commission if you get a subscription through the links marked with βaff.β (at no extra cost to you).