Latest articles

423 new today · 7,353 articles · from 241 blogs

Elixir Blog··José Valim

Elixir v1.8 released

Elixir v1.8 comes with many improvements at the infrastructure level, improving compilation time, speeding up common patterns, and adding features around introspection of the system.

Without Boats·

The Waker API II: waking across threads

AI summaryThis post examines the thread safety challenges of the dynamic Waker type, a problem briefly introduced at the end of the previous post on the waker API. The author looks in greater detail at how waking across threads has been handled so far and discusses what the approach should be going forward.

James Clear··James Clear

The Surprising Benefits of Journaling One Sentence Every Day

AI summaryThe article explains that journaling—a simple habit of writing down your thoughts—has been used by many accomplished people, from Oprah Winfrey to writers, scientists, leaders, and athletes, because it offers benefits like learning new lessons from past experiences, sharpening memory, and providing proof of personal progress. However, while many people appreciate the value of journaling, few stick with it as a habit, as even Oprah let her gratitude journal slip when life got busy. The author's solution is to make journaling frictionless by writing just one sentence per day using simple prompts, since a habit doesn't have to be impressive to be useful.

Without Boats·

The Waker API I: what does a waker do?

AI summaryWork on supporting async/await in Rust is progressing rapidly, with the team closing in on an important milestone: stabilizing the futures API used to interact programmatically with asynchronous computations. The biggest remaining area of work is the design of the waker API, an essential but somewhat opaque part of how the asynchronous programming system functions.

Sara Soueidan··Sara Soueidan

The Refactoring UI Book

AI summaryThe author, a developer with no formal design education, praises the Refactoring UI book by Steve and Adam as exactly what they had hoped for—packed with concise, straight-to-the-point design tips accompanied by helpful visual examples. They say the book helped them understand design decisions they now recognize in other designers' work, and they highly recommend it to developers looking to improve their design skills. The book is available as a full bundle with extras like color swatches, UI components, icons, and videos, or as an essentials package with just the book and videos.

James Clear··James Clear

My 2018 Annual Review

AI summaryThe author reflects on his 2018 Annual Review, answering three questions: what went well, what didn't, and what he learned. Highlights include publishing Atomic Habits, which became a bestseller, expanding his audience and charitable contributions through the Against Malaria Foundation, while setbacks included missed deadlines, fewer workouts, and reduced writing output. His key lessons include focusing on fundamentals, balancing impatience with patience, staying curious, and being selective about what he says yes to.

Lil'Log·

Object Detection Part 4: Fast Detection Models

AI summaryThis article is Part 4 of an object detection series, focusing on fast detection models as a follow-up to Part 3, which covered the slower but accurate R-CNN family of region-based algorithms. It highlights that while R-CNN models achieve high accuracy, they may be too slow for applications like autonomous driving. The article concentrates on fast object detection models, including SSD, RetinaNet, and models in the YOLO family.

Without Boats·

Organizational Debt

AI summaryThis is a year-end blog post by the author, who humorously acknowledges the tradition of annual Rust project posts. While the author plans to work on several technical improvements to Rust this year, the post focuses instead on organizational debt. The author argues that the Rust project urgently needs to address this organizational debt in 2019.

Lea Verou··Lea Verou

ReferenceError: x is not defined?

AI summaryThe author recounts testing how different browsers phrase the 'x is not defined' ReferenceError, cataloging the varying message formats across Chrome, Firefox, Safari, Edge, IE, and other browsers via BrowserStack. Based on these findings, they share a regex to reliably detect this specific error in a try...catch block, while acknowledging that string-matching error messages is inherently fragile. They argue that JavaScript should adopt error codes, similar to HTTP status codes, so developers wouldn't need to rely on brittle string matching to distinguish error types.