- Hungry Minds
- Posts
- ๐๐ง Inside Apple Pay: The Secrets Behind 41 Million Daily Transactions
๐๐ง 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 here.

๐ 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 PyTorch
Time-to-digest: 5 minutes
Big thanks to our partners for keeping this newsletter free.
If you have a second, clicking the ad below helps us a tonโand who knows, you might find something you love. ๐
The #1 AI Meeting Assistant
Still taking manual meeting notes in 2025? Let AI handle the tedious work so you can focus on the important stuff.
Fellow is the AI meeting assistant that:
โ๏ธ Auto-joins your Zoom, Google Meet, and Teams calls to take notes for you.
โ๏ธ Tracks action items and decisions so nothing falls through the cracks.
โ๏ธ Answers questions about meetings and searches through your transcripts, like ChatGPT
Try Fellow today and get unlimited AI meeting notes for 30 days.

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 ๐)

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.

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.
Brief: DeepSeek's V3-0324 release enhances reasoning performance and tool-use capabilities, now available under the MIT License with open-source weights.
Brief: Amazon's new AI-driven 'Interests' feature helps users discover personalized products by continuously scanning for items that match their specific shopping needs.
Brief: Google unveils Gemini 2.5, showcasing advanced reasoning capabilities and top performance on benchmarks, setting a new standard in AI technology.
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 dynamic control flow, where compilation can fuse operations efficiently.
"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).