Latest articles

436 new today · 7,333 articles · from 241 blogs

Sara Soueidan··Sara Soueidan

Auto-Sizing Columns in CSS Grid: auto-fill vs auto-fit

In this article I explain the subtle but important difference between auto-fill and auto-fit for sizing columns in CSS Grid. Each of them exhibits a responsive behavior once compbined with repeat() that you may or may not want for your resp

Without Boats·

Not Explicit

AI summaryThe author describes a recurring argument encountered in Rust community discussions—such as on RFCs and the internals forum—where people reject certain feature designs for being 'too implicit.' These critics typically argue that while 'magic' may be acceptable in other languages, Rust is supposed to be an explicit language, so an alternative design should be preferred instead. The title 'Not Explicit' suggests the author intends to examine or challenge this common notion of explicitness in Rust's design philosophy.

Preshing on Programming··Jeff Preshing

How to Write Your Own C++ Game Engine

AI summaryThe author shares lessons learned from writing a C++ game engine from scratch for their mobile game Hop Out, arguing that modern engine development is more about managing self-created complexity than wrestling with weak hardware. Key advice includes using an iterative approach—getting something running quickly and letting the architecture emerge naturally rather than over-planning—and resisting the urge to unify code too much, such as blindly following DRY or forcing functions into classes. The article also warns that serialization is a bigger subject than many expect.

Sam Altman··Sam Altman

A Clarification

AI summaryThe author clarifies that he was not defending tolerating unpleasant people in labs, but rather arguing that society must tolerate controversial ideas, since major scientific and social progress—like gay rights—often begins as unpopular or heretical positions. He acknowledges that drawing a clear line between hateful speech and legitimate debate is difficult, noting that today's accepted views may be judged unethical by future generations, as with the example of eating meat. He concludes that it is dangerous to simply ban discussion of topics people find offensive.

Lil'Log·

Object Detection for Dummies Part 2: CNN, DPM and Overfeat

AI summaryThis piece is Part 2 of the 'Object Detection for Dummies' blog series, which focuses on CNN, DPM, and Overfeat methods for object detection. It opens by recapping Part 1, which introduced image gradient vectors and the HOG algorithm for summarizing gradient information, image segmentation for finding potential object regions, and the Selective Search algorithm for refining those regions into better proposals.

Sam Altman··Sam Altman

E Pur Si Muove

AI summaryThe author observes that discussing controversial ideas feels easier in Beijing than in San Francisco, arguing that the Bay Area's culture of branding dissenting views as heresy is stifling innovation and driving away talented people. He contends that breakthrough ideas—from bitcoin to SpaceX—often start out sounding crazy or dangerous, so a culture that punishes heresy cannot produce true innovation. He concludes that society must tolerate uncomfortable and even bad ideas in open debate if it wants to enable the genuinely great ones.

Sam Altman··Sam Altman

The Merge

AI summaryThe article argues that the merge between humans and AI has already quietly begun, as algorithms now shape what people do, feel, and think in ways no single person fully understands, making this a gradual co-evolution rather than a single 'singularity' moment. The author contends this process cannot be stopped and that a merge—via brain-machine interfaces or close relationships with AI—is humanity's best-case scenario for avoiding conflict with a smarter species. Given exponentially improving computing power and rapidly growing AI research, he urges the world to take this seriously and coordinate globally.

Without Boats·

Failure 0.1.1 released

AI summaryThe author has released failure 0.1.1 to crates.io, two weeks after the initial release, containing incremental improvements suggested by the community. A major change in this version is that the derive macro can now be used without a separate dependency on the failure_derive crate, requiring only a #[macro_use] tag on the extern crate statement.

Distill·

Sequence Modeling with CTC

A visual guide to Connectionist Temporal Classification, an algorithm used to train deep neural networks in speech recognition, handwriting recognition and other sequence problems.

Without Boats·

Announcing Failure

AI summaryThe article announces the release of a new Rust crate called 'failure,' now available on crates.io, which is designed to make managing error types easier. The library was heavily influenced by lessons learned from previous error management approaches, particularly the Error trait and the error-chain crate. Its core abstraction is the Fail trait, which serves as a replacement for the existing std::error::Error trait.

Lea Verou··Lea Verou

Different remote and local resource URLs, with Service Workers!

AI summaryThe article explores the common web development challenge of using different resource URLs (such as for JavaScript libraries) in local development versus production, reviewing workarounds like manual URL swapping, JS-based fallback loading, and build tools like gulp. The author presents their preferred solution: a Service Worker that intercepts requests on localhost and redirects them to local files, allowing normal remote URLs in the HTML. While effective, this approach has caveats such as the same-origin restriction requiring the script to be copied to each repo and the first pageload still using the remote URL.

Lil'Log·

Object Detection for Dummies Part 1: Gradient Vector, HOG, and SS

AI summaryThe author, new to computer vision, is starting a blog series called 'Object Detection for Dummies' to explore the math behind object recognition and detection algorithms. This first part covers rudimentary image processing concepts and image segmentation methods, such as gradient vectors, HOG, and selective search, without involving deep neural networks. Deep learning models for object detection and recognition will be covered in Parts 2 and 3 of the series.

Without Boats·

Alternative Registries

AI summaryCargo, Rust's package manager, introduced a new feature this week that allows users to download dependencies from alternative registries in addition to crates.io. This enables organizations to distribute internal libraries through cargo without needing to upload them to a public registry. The feature is currently available only on nightly and is gated behind the alternative-registries feature gate.

Lil'Log·

Learning Word Embedding

AI summaryThis article explains that machine learning models cannot directly process free-text human vocabulary, so words must be transformed into numeric values. It introduces one-hot encoding as one of the simplest transformation approaches, where each distinct word corresponds to one dimension of the resulting vector, with a binary value indicating whether the word is present (1) or absent (0).