• Hungry Minds
  • Posts
  • 🍔🧠 75% More Tweets: Inside Twitter's 1.0 PWA Strategy

🍔🧠 75% More Tweets: Inside Twitter's 1.0 PWA Strategy

PLUS: Salary Negotiation Masterclass 💰, Implementing Undo/Redo Systems ♻️, Why Sam Altman Gets 10x More 🚀

Today’s issue of Hungry Minds is brought to you by:

Happy Monday! ☀️

Welcome to the 330 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.

BIG NEWS:
I just moved to Seattle 🇺🇸 with Amazon 🥳

I will post more pictures and announcements as I progress, but as you can imagine, the next few weeks are going to be pretty busy 🥵

Still, I’m super excited to start this new journey and grow in the Prime Video team 📹

📚 Software Engineering Articles

🗞️ Tech and AI Trends

👨🏻‍💻 Coding Tip

  • Use git check-ignore to easily identify untracked files in your repository

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

  • Get senior engineer-level code reviews right in your IDE with CodeRabbit.

  • Instantly catches bugs and code smells, suggests refactorings, and delivers context-aware feedback for every commit, all without configuration.

  • Works with all major languages; trusted on 10M+ PRs across 1M repos and 70K+ OSS projects. Install the extension and start vibe checking your code today.

Twitter's transformation into a Progressive Web App (PWA) in 2017 marked a pivotal moment in web development history. The team built a lightning-fast experience that worked on any device, consumed minimal data, and reached millions of users worldwide - all from a single codebase.

The challenge: Create a unified web experience that delivers native app-like performance while working across diverse devices, networks, and user conditions globally.

Implementation highlights:

  1. Intelligent code splitting: Used route-based chunking and PRPL pattern to load only what's needed, reducing initial JavaScript payload by 50%

  2. Advanced performance monitoring: Built custom tools like Build Tracker to catch performance regressions in PRs before they hit production

  3. Virtualized scrolling: Created a custom VirtualScroller component to handle infinite timelines efficiently without causing jank

  4. Progressive enhancement: Implemented features like offline support and push notifications based on browser capabilities

  5. Responsive architecture: Built adaptive components that morph based on screen size while keeping bundle sizes optimized

Results and learnings:

  • Achieved sub-second loading times even on 2G networks

  • Processed over 10M push notifications daily by 2017

  • Increased engagement with 75% more Tweets sent compared to previous mobile web

The Twitter PWA story demonstrates that with the right architecture choices and a relentless focus on performance, web apps can rival native experiences. As Paul Armstrong noted, the secret ingredient wasn't technical - it was "an extremely excited team of smart engineers with a passion to make something incredible."

ESSENTIAL (senior vibes only)
How To Vibe Code As A Senior Engineer

ESSENTIAL (terminal magic tricks)
How I Use My Terminal

GITHUB REPO (json goes brrr)
AykutSarac/jsoncrack.com

GITHUB REPO (git snack time)
cyclotruc/gitingest

ARTICLE (racey go brrr)
Gist of Go: Race conditions

ARTICLE (cha-ching mindset)
How to negotiate your salary package

Want to reach 190,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: Legal documents reveal OpenAI and Jony Ive’s io tested 30+ headphone sets and explored AI hardware form factors, but their first device won’t be wearable, despite meetings with a Google-backed earpiece startup.

Brief: Tesla rolls out its Robotaxi service in Austin, marking a major step in fully autonomous ride-hailing with a fleet of self-driving electric vehicles.

Brief: Legal documents reveal OpenAI and Jony Ive’s io explored in-ear devices and other hardware prototypes, but their first product may not be wearable, amid a trademark dispute with earpiece startup iyO.

Brief: Amazon plans to scale its AI infrastructure with new data centers, aiming to support the rising computational needs of AI-driven services.

Brief: Anthropic launches a beta feature allowing users to create AI-powered apps directly in Claude by describing what they want, with generated code and real-time previews available across all pricing tiers.

Brief: Google introduces AI-generated video summaries and search results for YouTube Premium users, letting them preview content without clicking—raising concerns about creator engagement and revenue.

This week’s coding challenge:

This week’s tip:

Use find -type f -exec sh -c 'git check-ignore -q "$1" || echo "$1"' sh {} ; to list all files not ignored by .gitignore, which helps identify incorrectly tracked files or validate gitignore patterns. This command combines find with git check-ignore to test each file against your gitignore rules.

Wen?

  • Gitignore debugging: Quickly identify which files aren't being ignored as expected when .gitignore rules aren't working as intended.

  • Repository cleanup: Find untracked files that should potentially be ignored before they get accidentally committed.

  • CI/CD validation: Verify that build artifacts and temporary files are properly ignored in automated environments.

“Monsters are real, and ghosts are real too. They live inside us, and sometimes, they win.”
Stephen King

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