最新文章
今日新增 416 篇 · 共 7,401 篇 · 来自 241 个博客
Demystifying styled-components
AI 摘要Many React developers perceive styled-components as somewhat magical, with its use of traditional CSS under the hood being unclear, which can lead to real problems when issues arise. This article demystifies the library by explaining exactly how it works through the process of building a mini-version from scratch.
A from-scratch tour of Bitcoin in Python
AI 摘要The 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.
Paleolithic Nostalgia
Longing for the paleolithic past in the Anthropocene
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
Rust is not a Company
AI 摘要The 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 v2.2
An all-new high-performance CLI tool, ::before and ::after support, sibling selectors, selected text variants, and tons more.
Your CPU May Have Slowed Down on Wednesday
AI 摘要The 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.
Patterns for Personalization in Recommendations and Search
A whirlwind tour of bandits, embedding+MLP, sequences, graph, and user embeddings.
Bookiversary.
AI 摘要The 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.
Let's Learn About Aspect Ratio In CSS
The Plan for React 18
AI 摘要The 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.
How to use React Context effectively
How to create and expose React Context providers and consumers
The Testing Trophy and Testing Classifications
How to interpret the testing trophy for optimal clarity
Static vs Unit vs Integration vs E2E Testing for Frontend Apps
What these mean, why they matter, and why they don't
Kinda a big announcement
AI 摘要The 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.
Social virtual spaces with Elixir at Mozilla
A case study of how Elixir is being used at Mozilla.
Towards Data Science - Author Spotlight with Eugene Yan
My favourite project, how I write weekly and how you can start, and content I would like to see more of.
What’s new in Svelte: June 2021
AI 摘要The 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.
Contrastive Representation Learning
AI 摘要Contrastive 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.