DEV Community

Cover image for Leaner Sites, Cheaper Reviews, and Tetris Becomes Snake
Adam
Adam

Posted on

Leaner Sites, Cheaper Reviews, and Tetris Becomes Snake

Signup here for the newsletter to get the weekly digest right into your inbox.

Find the 9 highlighted links of weeklyfoo #160:


How D1 scales to millions of databases

by Cloudflare

Scaling the D1 control plane for millions of SQLite databases without routing every query through a central bottleneck

📰 Good to know, cloudflare, databases, scale


Cutting our inference bill by 68%

by Cloudflare

Cloudflare dropped average AI code review cost from $2.43 to $0.77, mostly by ordering messages so first requests actually hit the prompt cache

📰 Good to know, ai, llm, cost


Building Laminar, Ramp's managed agents platform

by Ramp

A model-agnostic agent harness on Postgres, Temporal and S3 with session state independent of disposable sandboxes, async steering, subagents and shared tracing

📰 Good to know, ai, agents, architecture


React only where needed, moving from Next.js to Astro

by Owner

10,000+ restaurant sites moved to Astro and Cloudflare Workers with React islands, menu-page p75 LCP went from 5.4s to 0.7s

📰 Good to know, performance, astro, react


php2shell, how the PHP RCE works

by Wiz

A multipart POST exhausts memory mid-parse, then the shutdown cleanup follows a planted pointer and runs the attacker's payload, regardless of the app on top

📰 Good to know, security, php


PGX

by PGRun

Hosts thousands of isolated throwaway Postgres databases in one process, cloned from a template in milliseconds, for agent sandboxes and per-PR tests

🧰 Tools, postgres, testing, ai


env.style

by Ryan George

Wraps your Next.js or Vite config to tint the favicon per environment so you see at a glance where you are

🧰 Tools, dx, nextjs, vite


The Tetris script that becomes Snake once prettified

by Robert Vähhi

Chaining semantic quirks in pretty-printers and deobfuscators turns the cleaned-up output into a different program

🤪 Fun, javascript, security, fun


What happens when AI writes your C++ code?

by Greg Law, Mark Williamson

Benchmarking how well LLMs debug a half-million line C++ codebase, where they still lag at debugging versus writing

📺 Videos, ai, cpp, debugging


Want to read more? Check out the full article here.

To sign up for the weekly newsletter, visit weeklyfoo.com.

Top comments (0)