Latest Tech News

Stay updated with the latest in technology, AI, cybersecurity, and more

Filtered by: depth Clear Filter

Researchers revive the pinhole camera for next-gen infrared imaging

This article has been reviewed according to Science X's editorial process and policies . Editors have highlighted the following attributes while ensuring the content's credibility: Researchers use laser light to form a tiny "optical pinhole" inside a nonlinear crystal, which also turns the infrared image into a visible image that a traditional silicon-based camera sensor can detect. With this setup, the researchers captured clear, wide-depth images without using any lenses, even in very low lig

Dicing an Onion, the Mathematically Optimal Way

This is a project about onions and math. Why? Because tens of millions of people are curious about how to properly dice an onion, according to YouTube. In 2021, chef and food writer J. Kenji López-Alt broke out some math to get optimal uniform piece sizes. But there is more than one way to dice an onion… This is an onion. (Well, a simplified cross-section of one.) We’ve cut it in half lengthwise, using a sharp knife to reduce the chance of injury and onion-induced crying. From here, what’s the

Shallow water is dangerous too

Julia and I know drowning is the biggest risk to US kids 1-4, and we try to take this seriously. But yesterday our 4yo came very close to drowning in a fountain. (She's fine now.) This week we were on vacation with my extended family: nine kids, eight parents, and ten grandparents/uncles/aunts. For the last few years we've been in a series of rental houses, and this time on arrival we found a fountain in the backyard: I immediately checked the depth with a stick and found that it would be just

Shallow Water Is Dangerous Too

Julia and I know drowning is the biggest risk to US kids 1-4, and we try to take this seriously. But yesterday our 4yo came very close to drowning in a fountain. (She's fine now.) This week we were on vacation with my extended family: nine kids, eight parents, and ten grandparents/uncles/aunts. For the last few years we've been in a series of rental houses, and this time on arrival we found a fountain in the backyard: I immediately checked the depth with a stick and found that it would be just

Optimizing a Math Expression Parser in Rust

Optimizing a Math Expression Parser in Rust Optimizing a Math Expression Parser in Rust Table of contents In a previous post I explored how to optimize file parsing for max speed. This time, we’ll look at a different, self-contained problem: writing a math expression parser in Rust, and making it as fast and memory-efficient as possible. Let’s say we want to parse simple math expressions with addition, subtraction, and parentheses. For example: 4 + 5 + 2 - 1 => 10 (4 + 5) - (2 + 1) => 6 (1

PSA: iOS 26 Spatial Scenes will work on iPhones 12 and up [U]

Update: A previous version of this post incorrectly stated that the feature works with any iOS 26-compatible iPhone. It has been updated to clarify that the feature is only supported on iPhone 12 and later. Today, Apple announced Spatial Scenes, a new iOS 26 feature that turns 2D photos into immersive 3D effects. And here’s the good news: even if you don’t have an iPhone compatible with Apple Intelligence, you’ll still get access to it. Here’s how it works. It’s AI, but it’s not Apple Intellig