- Hungry Minds
- Posts
- ๐๐ง AWS Lambda 101: How to Handle 10 Trillion Requests a Month
๐๐ง AWS Lambda 101: How to Handle 10 Trillion Requests a Month
PLUS: RIP VSCode ๐, Free System Design PDF ๐, Javascript Generators Explained โก
Happy Monday! โ๏ธ
Welcome to the 961 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
Lessons from Big Tech on building resilient payment systems revealed.
Discover how Amazon Lambda works in modern software development.
I created a FREE System Design Interview Handbook for aspiring engineers.
Curious about content creation? Read if you should become a content creator.
Check out how Wikimedia slashed 300ms off WASM execution.
๐๏ธ Tech and AI Trends
xAI has launched a new Colossus training cluster to boost AI development.
Cursor wants to change coding forever with AI
Amazonโs upcoming AI-powered Alexa uses Anthropic's Claude for smarter interactions.
๐จ๐ปโ๐ป Coding Tip
Utilize TypeScript's Mapped Types to efficiently create flexible, reusable types.
Reading time: 5 minutes
This issue of Hungry Minds is brought to you by:
Timely, budget-aligned software delivery meeting your business goals
Quick start and timely project delivery
Industry-leading expertise covering your entire SDLC
ELEKS-owned responsibility for your project's success
Food for Thought
A mindset, an example, and an action item to start the week
"Coding is not just code, that is a live thing that runs your business."
Mindset: Coding is the heartbeat of your business - it powers your operations and must be nurtured.
Example: Stripe, a global payments company, treats its codebase as a strategic asset, regularly refining and optimizing it.
Action: Review your codebase today and identify one area for improvement to streamline your business processes.
The Rabbit Hole
Deep dives, trends, and resources curated to stay ahead
๐พ SIDE DISHES ๐พ
ARTICLE (async what now?)
Understanding asynchronous I/O; building an event loop from scratch
ARTICLE (transformer wizards)
Who developed the Transformer Explainer?
ARTICLE (sieve the day)
Why Aren't We SIEVE-ing? : Marc's Blog
ARTICLE (chatty code helper)
Programming With ChatGPT
ARTICLE (enumorific change)
The Boolean Trap
GITHUB REPO (cooking with Claude)
A collection of notebooks/recipes showcasing some fun and effective ways of using Claude
ARTICLE (clipboard capers)
The web's clipboard, and how it stores data of different types
ARTICLE (react-a-licious build)
Implementing React From Scratch
ARTICLE (generator joyride)
JavaScript Generators Explained, But On A Senior-Level
ARTICLE (s3 event store magic)
Using S3 but not the way you expected. S3 as strongly consistent event store
ARTICLE (distributed chaos math)
Notes on Distributed Systems for Young Bloods
ARTICLE (final v2 version)
The Art of Finishing
ARTICLE (self-hosting shenanigans)
Why I still self host my servers (and what I've recently learned)
The Weekly Digest
Software, AI, and startup news worth your time
Brief: Elon Musk's xAI unveils Colossus, an AI training system boasting 100,000 Nvidia processors, aiming for $1 trillion annual profits and potentially powering Teslaโs Optimus robot.
Brief: GitLab Duo introduces an AI-driven workflow for developers, enhancing productivity with automated suggestions, secure code practices, and real-time guidance, all while protecting your proprietary data.
Brief: Cursor sets its sights on automating coding tasks to simplify development processes, aspiring to encourage more people to engage with software creation.
Brief: Amazon's upcoming "Remarkable" Alexa will leverage Anthropic's Claude AI, enabling context-aware conversations while offering a subscription model between $5 to $10 per month.
Brief: Early users of OpenAI's SearchGPT express mixed feelings, highlighting its potential strengths in specific queries but noting inaccuracies and hallucinations that undermine its effectiveness against Google Search.
Brief: OpenAI is contemplating a $2,000 monthly subscription for its advanced LLMs Strawberry and Orion, aiming for high-end AI capabilities as it seeks billion-dollar funding amidst fierce competition.
The Quick Byte
One coding tip because youโre technical after all
This weekโs coding challenge:
This weekโs tip:
Mapped Types in TypeScript
are a powerful feature that allow you to create new types by transforming the properties of an existing type. They can be particularly useful when you need to create a new type based on the structure of an existing one, such as making all properties optional or read-only.
Wen?
Transforming Existing Types: Mapped Types are useful when you need to create a new type based on the structure of an existing type, such as making all properties optional or read-only.
Generic Transformations: Mapped Types can be used in combination with generics to create more flexible and reusable type transformations.
Conditional Transformations: Mapped Types can be further enhanced with conditional types to selectively transform properties based on certain conditions.
Why?
Reduced Boilerplate: Mapped Types allow you to avoid manually creating new types by hand, reducing boilerplate and repetitive code.
Increased Flexibility: Mapped Types make it easier to create variations of existing types, which can improve the flexibility and maintainability of your codebase.
Improved Type Safety: By using Mapped Types, you can ensure that the transformed types still adhere to the structure of the original type, improving type safety and catching potential errors at compile-time.
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).