Latest articles

443 new today · 7,340 articles · from 241 blogs

research!rsc··Russ Cox

What is Software Engineering?

AI summaryThe article defines software engineering as programming that must account for time and other programmers, requiring practices like version control, testing, and modularity to keep code maintainable. It argues that nearly all of Go's distinctive design decisions were motivated by software engineering concerns, citing examples such as gofmt enabling tools to edit source code without formatting changes, and URL-based import paths that eliminate ambiguity and simplify collaboration among programmers.

Josh W. Comeau··Josh W. Comeau

Dynamic Bézier Curves

A deep dive into Bézier curves in React. We'll look at how to build dynamic effects such as scroll-to-flatten using SVG path instructions, and how to architect our components for maximum readability and reusability. Keep reading.

Eugene Wei··Eugene Wei

Invisible asymptotes

AI summaryThe article introduces the concept of 'invisible asymptotes'—hidden ceilings on a company's growth curve that must be identified early, before growth flattens, so they can be addressed. Drawing on his experience as Amazon's first strategic planning analyst, the author explains how Amazon discovered that customers' irrational aversion to paying shipping fees was its single biggest growth barrier, which it eventually eliminated through initiatives like Super Saver Shipping and Amazon Prime. The author argues that companies should spend as much effort on identifying 'product-market unfit' as they do on achieving product-market fit, though newer business types like social networks lack easy TAM proxies that made Amazon's analysis possible.

Lea Verou··Lea Verou

Never forget type="button" on generated buttons!

AI summaryThe author debugged a strange bug in Mavo where pressing Enter inside a collection item deleted an item instead of adding a new one. The root cause was that Mavo-generated elements lacked a type attribute, making them default submit buttons—so pressing Enter submitted the form and fired a click event on the first delete button, which had become the de facto default submit button. The fix was adding type="button" to all programmatically generated buttons, a practice recommended for any library code operating within unfamiliar HTML.

Eugene Wei··Eugene Wei

What I learned from a Taipei alley

AI summaryWhile filming a documentary in Taipei, the author noticed the city's food-filled alleys were remarkably clean despite a scarcity of public trash cans, prompting him to investigate Taiwan's trash collection system. Starting in the mid-1980s, Taiwan adopted a 'just-in-time' system in which residents hand their trash directly to musical garbage trucks several nights a week, using paid official blue bags while recycling is free, and the government removed public bins to enforce recycling compliance. These holistic policies reduced daily waste by more than two-thirds and raised recycling rates to 55%, leading the author to contrast Taiwan's success with what he sees as San Francisco's reactionary, incrementalist approach to governance.

Lea Verou··Lea Verou

Responsive tables, revisited

AI summaryThe author explores techniques for making HTML tables responsive, favoring the key-value display where headers are repeated for each row, and proposes two new methods to achieve this without duplicating content in the markup or CSS: using text-shadow to copy header text onto each row, and using the element() function (Firefox-only) to duplicate the entire thead. Both approaches work with normal table markup, but they share drawbacks such as unselectable duplicated headers and the requirement that table cells not wrap. As a result, the author considers these techniques hacks and hopes for more viable solutions in the future.

Sam Altman··Sam Altman

US Digital Currency

AI summaryThe author argues that cryptocurrency is here to stay, but the dominant cryptocurrency may not yet exist, and proposes that the US government could create its own winner, called 'USDC' (US Digital Currency), treated as a second legal currency and initially distributed evenly to US citizens. Such a move would fix government challenges like pseudo-anonymity and taxability—potentially by restricting some transactions to known-owner wallets and building tax collection into the protocol—and could give the US significant power over a worldwide currency. The author emphasizes that the network must remain mostly in control (e.g., the government couldn't arbitrarily inflate the currency), but believes a middle ground exists where both governments and cryptocurrency users get much of what they want.

Lil'Log·

Implementing Deep Reinforcement Learning Models with Tensorflow + OpenAI Gym

AI summaryThis article is a hands-on tutorial on implementing deep reinforcement learning models, following two previous posts that introduced the underlying algorithms. The implementation is built with Tensorflow and the OpenAI gym environment. The full code for the tutorial is available in the lilianweng/deep-reinforcement-learning-gym repository.

Joel on Software··Joel Spolsky

Announcing Stack Overflow for Teams

AI summaryStack Overflow announced Stack Overflow for Teams, a paid service that lets organizations set up a private space on Stack Overflow where members can ask and answer questions visible only to their team. The article argues that a Q&A system captures institutional knowledge far better than wikis or searchable chat archives, since answers are written to help someone immediately and searching actually works. Pricing starts at $10 per month for the first ten users, and private questions appear seamlessly on stackoverflow.com with a clear distinction between public and team posts.

Lea Verou··Lea Verou

Quicker Storify export

AI summaryWith Storify shutting down, the author found the official manual export process painfully slow, requiring multiple page loads per story. Noticing that the HTML and JSON export URLs could be reconstructed from each story's URL slug, she wrote a quick JavaScript console script that collects all her story slugs and opens both export URLs in tabs, letting her simply save each one. The script isn't perfect—opening dozens of tabs slows the browser significantly—but it saved a lot of time compared to exporting her 40 stories manually.

Sara Soueidan··Sara Soueidan

Going Offline

AI summaryThe author announces they have added offline viewing functionality to their website using Service Workers, allowing visitors to access main pages and articles even without an internet connection, along with a Web App Manifest for a more native-app-like experience. The implementation was inspired by Jeremy Keith's new book 'Going Offline' from A Book Apart, which the author read in two days and highly recommends for anyone wanting to learn about Service Workers. These features are progressively enhanced, meaning browsers that don't support Service Workers simply miss out on the new capabilities while the site experience remains unchanged.

Joel on Software··Joel Spolsky

Strange and maddening rules

AI summaryThe article reflects on Stack Overflow's founding philosophy, explaining how self-help debugging techniques like rubber duck debugging inspired Jon Skeet's question checklist, and how the founders deliberately welcomed beginner questions—unlike the old comp.lang.c Usenet group whose elitism caused it to languish. While acknowledging that the site's rules can seem strange and maddening to novices, much like Burning Man's seemingly arbitrary principles, the author argues they are necessary for maintaining quality. He expresses concern that rudeness and condescension drive away potential future developers, and describes plans to improve the user interface and moderation tools to encourage friendlier behavior while preserving Stack Overflow's status as the world's most trusted programming resource.

Eugene Wei··Eugene Wei

The inefficiency of large, infrequent transactions

AI summaryEugene Wei explores why large, infrequent transactions like IPOs, home purchases, and weddings sustain abnormally high fees despite efficient market forces and internet-driven price transparency. He attributes these fat margins to buyers' inexperience with rare transactions, their outsized size, the lack of price anchors, the symbolic value that justifies overspending, and time pressure that weakens buyer leverage. He concludes that businesses can create moats by replicating these qualities, as seen in subscription pricing and bundling strategies that reduce transaction frequency and obscure per-unit costs.

Joel on Software··Joel Spolsky

A Dusting of Gamification

AI summaryThe article, part of a series on Stack Overflow, describes the site's light use of gamification—primarily its reputation system inspired by Reddit Karma and Slashdot's karma—which rewards helpful contributions and signals community norms. The author acknowledges the dark side: downvotes can feel punishing and the system has made the site feel unwelcome, especially to programmers from underrepresented groups, which Stack Overflow is working to address. He concludes that gamification is a weak force that can only reinforce behaviors people are already motivated to do, not create motivation where none exists.

Sam Altman··Sam Altman

Productivity

AI summaryThe article presents the author's personal productivity tips, emphasizing that choosing the right things to work on is the most important factor, since small gains compound massively over a career. His system centers on ruthless prioritization through lists, saying no to time-wasters, and optimizing physical factors like sleep, exercise, and nutrition. He concludes by warning against productivity for its own sake and stressing that one should never neglect family, friends, and the things they love.

Lil'Log·

Policy Gradient Algorithms

AI summaryThis article covers policy gradient algorithms in reinforcement learning and has been updated multiple times between 2018 and 2021 to incorporate newly introduced methods such as SAC, D4PG, TD3, SVPG, IMPALA, and PPG, along with additional discussion on PPO. It has also been translated into Korean and Chinese thanks to community contributors.

Without Boats·

Async & Await in Rust: a full proposal

AI summaryThe article announces a pair of RFCs proposing async & await notation support in Rust, the result of four months of work expected to significantly impact Rust's network services space. RFC #2394 adds the async & await syntax to the language, while RFC #2395 moves part of the futures library into std to support it. Together, these proposals enable async syntax with the full range of Rust features, including borrowing across yield points.

Eugene Wei··Eugene Wei

Catch up

AI summaryThe author reflects on spending less time on social media, drawing parallels between Twitter, Facebook, and Instagram and the Sirens episode in Emily Wilson's translation of The Odyssey—the apps' irresistible pull of likes and outrage mirrors the Sirens' song, and he figuratively ties himself to the mast (like Odysseus) to resist replying to trolls while heeding Circe's warning to sometimes simply flee. He then offers a 'catch up' section covering his recent podcast appearances, his fascination with the rise of superstar vloggers like Logan Paul after watching his nephews engage with Fortnite and Snapchat, and an excerpt from Ben Fritz's book on how Will Smith and Adam Sandler once dominated Sony Pictures' profits.