Newslurp

<< Stories

Just use Postgres 🤔, Google employee post-mortem 🧑‍💻, ex-Google CEO leaked talk ⚡️

TLDR Web Dev <dan@tldrnewsletter.com>

August 19, 11:22 am

TLDR WebDev
Eric Schmidt, the former CEO of Google, recently had a talk at Stanford where he mentioned some controversial things about OpenAI and Google 

TLDR

 TLDR Web Dev 2024-08-19

🧑‍💻

Articles & Tutorials

How We Survived 10k Requests a Second: Switching to Signed Asset URLs in an Emergency (11 minute read)

This developer's Google Cloud Storage bill skyrocketed due to someone downloading thousands of images per second from his public bucket. To prevent future abuse, he implemented a solution that generates temporary, signed URLs for images that expire after a set period, and then redirected users through a Rails application. He also added rate limiting to the API and website.
CSS Grid Areas (16 minute read)

CSS Grid Template Areas lets you define your grid layout using named areas, making it more intuitive for complex layouts. It also simplifies creating responsive layouts by allowing adjustments to grid area definitions based on screen sizes. This article goes over the basics of CSS Grid Areas with lots of visual examples.
Just use Postgres (9 minute read)

Postgres today is powerful enough to be the default choice for new applications requiring persistent data storage. NoSQL databases like DynamoDB, Cassandra, and MongoDB are not recommended for applications requiring high scalability and specific access patterns because data modeling gets too complex and analytics is tough. This article goes through other alternatives, like Oracle DB and Kafka, to show how Postgres is better.
🧠

Opinions & Advice

Postmortem of my 9 year journey at Google (8 minute read)

This former Google engineer reflects on his 9-year journey at the company. The pros include high compensation, great perks, and the opportunity to build a team. The cons include burnout, a USA-centric culture, and a lack of career growth opportunities.
Good programmers worry about data structures and their relationships (4 minute read)

Linus Torvalds (the creator of Git and Linux) says that data structures are more important than code in software development since good data structures lead to better code design and maintainability. This article supports this view with personal experience, describing how restructuring data in a project allowed a team to move faster in the long run. This prioritization is also how Git grew to be the dominant version control system.
An unordered list of things I miss in Go (8 minute read)

This developer expresses their fondness for Go but also lists features they miss from other languages. They find the lack of ordered maps in Go's standard library inconvenient, requiring developers to use third-party implementations or manually sort maps. The developer also misses keyword and default arguments for functions, which would simplify function calls and improve API design. They also wish there was lambda syntax in Go.
🚀

Launches & Tools

How I cut 22.3 seconds off an API Call using Trace View (Sponsor)

As a developer, few things are more frustrating than an API that's slower than molasses — the code works, but it can't possibly be a good user experience. Frontend developer Dan Mindru used Sentry's Trace View to debug the ‘final boss of endpoints' and shave off valuable seconds. Read about Dan's optimization journey on the Sentry blog
PyScript (Website)

PyScript is an open source platform for Python in the browser.
Scrape It Now (GitHub Repo)

A simple way to scrape websites that integrates with Microsoft Azure.
MPV (Website)

MPV is an open-source cross-platform media player.
🎁

Miscellaneous

Former Google CEO Eric Schmidt's Leaked Stanford Talk (65 minute read)

Eric Schmidt, the former CEO of Google, recently had a talk at Stanford. This is the transcript of the talk, in which he discusses the rapid advancements in AI and its potential impact on the world. He predicts that within the next year or two, significant changes will arise due to the integration of three key AI advancements: large context windows, AI agents, and text-to-action capabilities. He also mentioned some controversial things about OpenAI and Google's work culture, which led to the talk being taken down.
PyTorch is dead. Long live JAX. (24 minute read)

The PyTorch framework was initially successful for rapid prototyping, but now has a better successor in JAX, a framework created by Google DeepMind. JAX has a compiler-driven approach, which allows for automatic optimization and parallelization. It also has a functional API, better reproducibility, portability across different hardware, and automatic scaling.
The shortest, strangest engineering interview I've ever done (10 minute read)

This interviewer had a bizarre interview with a candidate named Adam. Adam was critical of the interview process, claiming it was too long and unnecessary, and that he could assess a developer's skills simply by looking at their GitHub profile. Despite the interviewer's attempts to explain his process and adjust it to Adam's preferences, Adam abruptly ended the interview, claiming it wouldn't be a good fit. After the call, Adam sent an aggressive email criticizing the interviewer's interview style and even his open source work.

Quick Links

Vanilla JSX (Website)

Examples of using JSX without a framework.
The Art of Interviewing Your Interviewer to Uncover a Company's True Culture (5 minute read)

Job interviews are not just about companies assessing candidates, but also about candidates evaluating companies.
Crafting a 13KB Game: The Story of Space Huggers (21 minute read)

This developer created a 13KB game that had procedurally generated levels and a pixel art style with an engine called LittleJS.
Ask HN: What do you monitor on your servers? (Hacker News Thread)

A Hacker News poster asks for advice on server monitoring, specifically about specific metrics beyond the basics (like network performance, processes, and services).

Love TLDR? Tell your friends and get rewards!

Share your referral link below with friends to get free TLDR swag!
Track your referrals here.

Want to advertise in TLDR? 📰

If your company is interested in reaching an audience of web developers and engineering decision makers, you may want to advertise with us.

If you have any comments or feedback, just respond to this email!

Thanks for reading,
Priyam Mohanty, Jenny Xu & Ceora Ford


If you don't want to receive future editions of TLDR Web Dev, please unsubscribe from TLDR Web Dev or manage all of your TLDR newsletter subscriptions.