- Hungry Minds
- Posts
- 🍔🧠 Real-time TB transfers at Pinterest
🍔🧠 Real-time TB transfers at Pinterest
PLUS: How AirTags Work ⚡, DDOS Mitigation 101 📚, Long Polling vs. WebSockets 💬
Happy Monday! ☀️
Welcome to the 316 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.
🍔 THIS WEEK’S MENU 🥗
📚 Software Engineering Articles
How Pinterest handles hundreds of terabytes of data daily
Cloudflare's strategy to fight thousands of DDoS attacks
Why long polling beats WebSockets in certain scenarios
Building polite web crawlers that won't anger server admins
Smart database selection guide for system design
🗞️ Tech and AI Trends
CES 2025's most innovative products revealed
Nvidia unveils revolutionary personal AI supercomputer
Meta replaces fact-checking with community notes
👨🏻💻 Coding Tip
Use useEffect cleanup functions to prevent memory leaks in React
Reading time: 5 minutes
A few words from our sponsor this week:
Automate your meeting notes
Condense 1-hour meetings into one-page recaps
Say goodbye to post-meeting data entry
Claim 90 days of unlimited AI notes today
Food for Thought
A mindset, an example, and an action item to start the week
"To handle yourself, use your head; to handle others, use your heart."
Mindset: Approach challenges with both logic and empathy to find the best solutions.
Example: Zappos, the online shoe retailer, is known for its customer-centric culture, where employees are encouraged to use their hearts to deliver exceptional service.
Action: Reflect on a recent interaction - did you use both your head and heart? Identify one way to improve.
The Rabbit Hole
Deep dives, trends, and resources curated to stay ahead
💾 SIDE DISHES 💾
ESSENTIAL (ddd-oss it again)
How Cloudflare Mitigates Thousands of DDoS Attacks Every Hour
GITHUB REPO (swarm the moon)
Swarms - The Enterprise-Grade Production-Ready Multi-Agent Orchestration Framework
ARTICLE (long-polling party)
Back to Basics: Why We Chose Long Polling Over WebSockets
ARTICLE (ai boogie woogie)
How AI-assisted coding will change software engineering: hard truths
ARTICLE (slack check, please!)
Automated Accessibility Testing at Slack
ARTICLE (crawly now or never)
Building a Polite & Fast Web Crawler
GITHUB REPO (cline as wine)
Cline - Autonomous Coding Agent
ARTICLE (next not-next)
You don't need Next.js
ARTICLE (llm and me)
How I Program with LLMs
ARTICLE (codebase shenanigans)
Mistakes engineers make in large established codebases
ARTICLE (database dilemmas)
How to Choose the Right Database
ARTICLE (copying the cool kids)
What we learned copying all the best code assistants
ARTICLE (go for it!)
Go is a Well-Designed Language, Actually
The Weekly Digest
Software, AI, and startup news worth your time
Brief: At CES 2025, major brands showcased 25 groundbreaking products, from AI-integrated TVs to smart glasses, set to redefine technology and consumer experiences.
Brief: xAI's Grok chatbot launches as a free standalone iOS app in the U.S., expanding its capabilities while competing with other leading AI chatbots.
Brief: iOS 18.3 hints at the upcoming 'Invites' app by Apple, aiming to enhance event management with features such as RSVP tracking and iCloud integration.
Brief: Meta replaces its fact-checking program with a community-driven approach, citing a commitment to free speech amid changing political landscapes.
Brief: NVIDIA launches Project DIGITS, an ultra-compact AI supercomputer boasting a petaflop of AI performance, enabling developers to run large-scale AI models effectively and locally.
Brief: Elon Musk's Grok chatbot may introduce an 'Unhinged Mode' that aims to provide offensive and objectionable responses, potentially reshaping the boundaries of AI interaction.
The Quick Byte
One coding tip because you’re technical after all
This week’s coding challenge:
This week’s tip:
In React
's useEffect hook, you can utilize the cleanup function to prevent memory leaks and handle component unmounting gracefully. The cleanup function runs before the effect runs again and when the component unmounts, making it crucial for managing subscriptions, event listeners, or any ongoing processes.
Wen?
WebSocket Connections: Essential when dealing with real-time data streams or WebSocket connections that need to be properly closed when the component unmounts.
Event Listener Management: Critical for removing event listeners attached to window or document objects to prevent memory leaks and unexpected behaviors.
Timer Cleanup: Necessary when using setInterval or setTimeout to ensure timers are cleared and don't continue running after component unmounting.
Burp-A-Laugh
The most important meal of your day
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).