TLDR Web Dev 2024-02-16
Google Gemini 1.5 🤖, C++ vs Rust 🤔, Unreal Engine 5 on the web 🤯
Memory Profiling Part 1. Introduction (6 minute read)
Learning about memory profiling can help you understand how an application uses memory over time and aid in building the right mental model of a program’s behavior. This article defines key terms like memory usage, footprint, VSZ, and RSS and explains how they differ. It also discusses how this information can be used to identify problems and understand the pressure on the memory subsystem.
Safe and reliable production changes for fast moving teams; and how Rivian recently got this wrong (7 minute read)
Rivian recently made a mistake during an over-the-air software update for its cars that caused infotainment screens to reboot and become unusable for several days. It could have prevented this with better practices like canary deployments, pre-flight checks, and rollback mechanisms, which are common in cloud systems. Frequent small deployments and phased rollouts ensure safe changes in production.
How Amazon Streams Live Video to Tens of Millions of People (8 minute read)
Amazon Prime Video uses a variety of AWS services, including Elemental MediaConnect, MediaLive, and CloudFront, to ingest, encode, package, and deliver video content to millions of users. It also employs redundancy measures and parallelization to ensure that its system is resilient to failures. By doing so, it is able to achieve an expected uptime of 99.999%.
The Three Virtues of a GREAT Programmer (1 minute read)
There are three virtues of a great programmer: laziness, impatience, and hubris. Laziness drives efficiency and clear documentation, impatience fuels proactive and user-friendly solutions, and hubris motivates crafting well-maintained, respected code.
Zero to Unmaintainable in 1.2 Commands (3 minute read)
The web development industry's obsession with speed over maintainability ultimately leads to unsustainable situations. It’s important to consider maintainability throughout the development process as it’s much easier to acquire debt than develop on top of an unmaintainable project.
Attend XRP Ledger Zone @ EthDenver! (Sponsor)
Attending EthDenver? Join
XRP Ledger Zone on February 27!
Learn how the robust security of the XRP Ledger (XRPL) meets the smart contract programmability of EVM.
Hear from David Schwartz, Co-Architect of the XRPL, grow your DeFi project, use the coworking space or join us for happy hour. Register Today!
Our next-generation model: Gemini 1.5 (8 minute read)
Google has introduced Gemini 1.5, a large language model with significantly improved performance and new features, like a one million token context window. It's still under testing, but it is available for developers and enterprises in Google’s AI Studio and Google Cloud’s Vertex AI. Gemini 1.5 Pro offers similar performance to Gemini Ultra but is more efficient and opens up new possibilities for tasks like better reasoning, code writing, and problem-solving due to its extensive context.
Fuzzy Search (GitHub Repo)
Fuzzy Search is a frontend library for searching objects by their names and features. Queries are fast and usually take under 10ms to complete.
Zenfetch (Website)
Zenfetch helps you leverage all the information you've saved, including articles, PDFs, and YouTube videos. It uses AI to organize everything and enables users to have conversations about their saved content, extract information, validate thoughts, and brainstorm ideas.
Code Chores: The boring part of maintenance (3 minute read)
Keeping a self-hosted project healthy requires constant "code chores" like updating frameworks, fixing bugs, and refactoring code - tasks less exciting than flashy new features. These chores require consistent funding and are often overlooked compared to individual features. Developers should split funds and time between features and essential maintenance as features need ongoing care to remain functional and secure.
Ask HN: Are there any good reasons to use C++ over Rust for new projects today? (Hacker News Thread)
Rust is quickly growing in popularity, but C++ is still ideal for many use cases due to its integrations with existing libraries and familiarity with a large number of developers. C++ has more mature compilers, libraries, and knowledge overall. Choosing the right language is best determined by the goal of the project and how familiar existing teams are already with C++ and Rust. Rust is a great choice for those who need strong memory safety and want to use a more modern language.
Gradient Descent into Madness - Building an LLM from scratch (18 minute read)
This article teaches developers how to build a language model from scratch. It outlines the necessary steps and libraries needed to build such a model from start to finish and provides code examples.
Get our free, 5-minute newsletter read by 350,000 frontend, backend, and full stack developers
Join 350,000 readers for
one daily email