• 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 ๐Ÿ“Š

In partnership with

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

๐Ÿ—ž๏ธ Tech and AI Trends

๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป 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 (react library secrets)
Common React libraries architecture

ARTICLE (github action detective)
Whose code am I running in GitHub Actions?

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