Latest articles

419 new today · 7,399 articles · from 241 blogs

Andrej Karpathy·

A from-scratch tour of Bitcoin in Python

AI summaryThe article presents a from-scratch, zero-dependency implementation of Bitcoin in pure Python, with the goal of creating, digitally signing, and broadcasting a Bitcoin transaction. The author walks through generating a cryptographic identity using Elliptic Curve Cryptography on the secp256k1 curve, including deriving private/public keypairs and implementing elliptic curve addition with the double-and-add algorithm. Finally, the post begins implementing hash functions like SHA-256 in pure Python rather than using libraries, in order to derive the Bitcoin wallet address.

Baby Steps·

CTCFT Social Hour

Hey everyone! At the CTCFT meeting this Monday (2021-06-21), we’re going to try a “social hour”. The idea is really simple: for the hour after the meeting, we will create breakout rooms in Zoom with different themes. You can join any breako

Mara Bos·

Rust is not a Company

AI summaryThe author, a contributor to the Rust project, initially perceived the project's hierarchy of teams and leaders as just another typical organizational structure. After becoming more involved—joining the library team and eventually becoming its team lead—they started reflecting more deeply on why this structure exists and what purpose these teams actually serve.

Tailwind CSS Blog·

Tailwind CSS v2.2

An all-new high-performance CLI tool, ::before and ::after support, sibling selectors, selected text variants, and tons more.

Travis Downs··Travis Downs

Your CPU May Have Slowed Down on Wednesday

AI summaryThe author observed that zero-filling memory on Skylake and Ice Lake CPUs became substantially slower starting Wednesday, June 9th, and traced the cause to a new Intel microcode update (delivered via Ubuntu's intel-microcode package) that disabled the hardware zero store optimization to mitigate the CVE-2020-24512 side-channel vulnerability. This serves as a reminder that raw CPU performance can silently change due to microcode updates, so reproducible benchmarks should re-run entire suites even on identical hardware. The author also argues that stripping out optimizations vulnerable to timing side channels is an unsustainable path, and calls for a measured approach to classifying and mitigating such attacks rather than trying to eliminate every possible leak.

Ethan Marcotte··Ethan Marcotte

Bookiversary.

AI summaryThe author marks the tenth anniversary of his book 'Responsive Web Design' by republishing a short interview that A Book Apart conducted with him. In the interview, he reflects on the book's origins—including inspiration from John Allsopp's 'A Dao of Web Design'—discusses how CSS Grid has reshaped responsive layout work, and urges designers to critically examine the biases baked into their design tools and to organize their workplaces. He also recommends people like Lynn Fisher and organizations like Resilient Coders, and shares personal touches such as his love of Ursula Franklin's Massey Lectures and his running routine.

React Blog··Andrew Clark, Brian Vaughn, Christine Abernathy, Dan Abramov, Rachel Nabors, Rick Hanlon, Sebastian Markbage, and Seth Webster

The Plan for React 18

AI summaryThe React team announced that they have begun work on React 18, their next major version. They created a Working Group to help the community gradually adopt the new features and published a React 18 Alpha so library authors can try it out and provide feedback.

Joel on Software··Joel Spolsky

Kinda a big announcement

AI summaryThe article announces that Stack Overflow is joining Prosus, an investment and holding company, but will continue operating independently with the same team, leadership, and focus on its existing business lines like Stack Overflow for Teams. The author reflects on how slowly programming evolves, noting that Stack Overflow's 2008 launch was one of the few changes that transformed developers' lives overnight, and argues the acquisition is the best possible outcome for the company's future. Having stepped back from day-to-day operations, the author is now building HASH, an ambitious open-source project aimed at making web data more structured and programmatically accessible for simulations.

Svelte Blog·

What’s new in Svelte: June 2021

AI summaryThe June 2021 Svelte update highlights significant progress on SvelteKit, including ESM-based config files, a new trailingSlash option, renamed layout/error files and output directory, plus router and adapter bug fixes. Language tools gained a new TypeScript plugin for deeper Svelte integration, svelte-check improvements like tsconfig support, and hydration fixes in Svelte 3.38.x. The post also showcases community-created apps, sites, libraries, and components.

Lil'Log·

Contrastive Representation Learning

AI summaryContrastive representation learning aims to build an embedding space where similar sample pairs stay close together while dissimilar pairs are far apart. It can be applied in both supervised and unsupervised settings. In unsupervised scenarios, it is one of the most powerful approaches within self-supervised learning.

Ethan Marcotte··Ethan Marcotte

Responsive design and container queries? Oh my!

AI summaryMarking the eleventh anniversary of his original 'Responsive Web Design' article, the author discusses how container queries—a long-wished-for CSS feature—may finally become a reality, with an experimental implementation now available in Chrome Canary thanks to the work of Miriam Suzanne, Nicole Sullivan, and others. He argues that a layout using container queries instead of media queries still qualifies as responsive design, proposing that responsive layouts be defined by fluid grids, flexible images, and some combination of both query types. Ultimately, he reflects that responsive design has been continuously reinvented by the community's ongoing experiments and discussions ever since his original article, and he's excited to see where it goes next.