Latest Tech News

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

Filtered by: td Clear Filter

A safe, non-owning C++ pointer class

Sometimes some object A needs to interact with another object B, e.g., A calls one of B’s methods. In a memory-unsafe language like C++, it is left to the programmer to assure that B outlives A; if B happens to be already destructed, this would be a use-after-free bug. Managing object lifetimes can be tricky, especially with asynchronous code. Perhaps unneeded, but here is a simple example of the problem: struct Foo { void foo (); }; struct Bar { Foo * f ; void call_foo () { f -> foo (); } };

Beyond OpenMP in C++ and Rust: Taskflow, Rayon, Fork Union

TL;DR: Most C++ and Rust thread-pool libraries leave significant performance on the table - often running 10× slower than OpenMP on classic fork-join workloads and micro-benchmarks. So I’ve drafted a minimal ~300-line library called Fork Union that lands within 20% of OpenMP. It does not use advanced NUMA tricks; it uses only the C++ and Rust standard libraries and has no other dependencies. OpenMP has been the industry workhorse for coarse-grain parallelism in C and C++ for decades. I lean on

Ring Outdoor Cam Plus plummets to new record-low price of just $59.99

It’s hard to put a price on security, but nothing beats getting a good security camera at a record-low price. The Ring Outdoor Cam Plus has never been as affordable as it is today. Take it home for just $59.99! Buy the Ring Outdoor Cam Plus for just $59.99 ($40 off) This offer is available directly from Amazon, which owns the Ring brand. It’s a “limited time deal” and you can get the same discount whether you pick the Black or White model. Ring Outdoor Cam Plus Ring Outdoor Cam Plus See price

Deep researcher with test-time diffusion

The recent advances in large language models (LLMs) have fueled the emergence of deep research (DR) agents. These agents demonstrate remarkable capabilities, including the generation of novel ideas, efficient information retrieval, experimental execution, and the subsequent drafting of comprehensive reports and academic papers. Currently, most public DR agents use a variety of clever techniques to improve their results, like performing reasoning via chain-of-thought or generating multiple answe

Here are 25 great deals you can snag ahead of Amazon’s fall Prime Day event

may not be the latest, greatest model available — that title goes to the 8BitDo Pro 3 — but it’s still a good option you can pick up for $42.49 (about $7 off) at Amazon . I’ve been using the wireless gamepad to play games on the Nintendo Switch 2, and it works great with Donkey Kong Bananza (aside from the horrible rumble feedback, which you can thankfully turn off). The retro controller features drift-free Hall effect joysticks, two back buttons on the rear grips, and a switch that allows you t

Based C++

Based C++ This repo provides an implementation of the GNU Interface Layer (GIL) and standard library for g++ . C++ is the best interpreted language Usage Here is a simple "Hello, world!" in C++. # include " gil/std.hpp " using namespace gil ::std ; volatile auto run = main<{ str::puts ( str::literal ( " Hello, world! " )) }>; To run the program, run g++ -std=c++23 -Based hello_world.cpp -o - Note The above command only works if you invoke g++ from the root of this repo; otherwise, you w

Topics: based gil repo run std

Early Prime Day deal: 8Bitdo's Pro 2 controller with travel case drops to $40

It has been just over a month since 8Bitdo released its Pro 3 controller. While the new model is a great option, its predecessor shouldn't be kicked to the wayside — especially when it's on sale. Right now, Prime members can get the 8Bitdo Pro 2 wireless Bluetooth controller and a travel case for $40, down from $60. The 34 percent discount solves our biggest gripe about the device: that it's too big to carry around sans case. Plus, it gives you a cheaper option that's also compatible with the n

Is Zig's New Writer Unsafe?

Is Zig's New Writer Unsafe? If we wanted to write a function that takes one of Zig's new *std.Io.Reader and write it to stdout, we might start with something like: fn output ( r : * std . Io . Reader ) ! void { const stdout = std . fs . File . stdout ( ) ; var buffer : [ ? ? ? ] u8 = undefined ; var writer = stdout . writer ( & buffer ) ; _ = try r . stream ( & writer . interface , . unlimited ) ; try writer . interface . flush ( ) ; } But what should the size of buffer be? If this was a one-

iOS 26: How to Control Your iPhone's Camera With Your AirPods

Taking photos can be a fun way to save and share memories, but sometimes getting a good picture can be difficult. For example, if you're taking a selfie, you might find it hard to hold your phone at the right angle to get everyone in the shot while keeping your hand out of frame and still being able to press the capture button. But with Apple's newly released iOS 26, you can now use your AirPods to take photos -- so all you have to worry about is getting everyone's best angle. Apple released iO

Best Home Security Cameras Without Subscriptions in 2025: No-Fee Favorites

Does the camera have the ability to listen to audio and initiate a two-way conversation using the app? Does the camera have night vision that can cover the space you have in mind? Is the app easy to understand, control and use to change settings? Does the camera work with your existing home security system or your preferred voice assistant? Can video be stored without fees? Is it local storage under your control or cloud storage? Do you have to purchase your own storage device? Can you share

Hypershell Introduces the World’s Best Outdoor Exoskeleton to Date: The Hypershell X Ultra

We’ve previously covered some of Hypershell’s pro-level exoskeleton suits, and been impressed by them. Now the brand new Hypershell X Ultra is here, upping the specs and appeal in almost every department, ready to claim the title of the best outdoor exoskeleton on the market. These exoskeletons are designed to fit comfortably and snugly around your frame, enabling you to travel farther for longer, and attempt hikes and challenges that might otherwise be beyond you. Even better, they adapt and a

8Bitdo's Pro 2 controller with travel case is on sale for $40 for Prime members

It has been just over a month since 8Bitdo released its Pro 3 controller. While the new model is a great option, its predecessor shouldn't be kicked to the wayside — especially when it's on sale. Right now, Prime members can get the 8Bitdo Pro 2 wireless Bluetooth controller and a travel case for $40, down from $60. The 34 percent discount solves our biggest gripe about the device: that it's too big to carry around sans case. Plus, it gives you a cheaper option that's also compatible with the n

Adjacency Matrix and std:mdspan, C++23

In graph theory, an adjacency matrix is a square matrix used to represent a finite (and usually dense) graph. The elements of the matrix indicate whether pairs of vertices are adjacent or not, and in weighted graphs, they store the edge weights. In many beginner-level tutorials, adjacency matrices are implemented using vector of vectors (nested dynamic arrays), but this approach has inefficiencies due to multiple memory allocations. C++23 introduces std::mdspan , which provides a more efficient

Save Big on Our Favorite Outdoor Security Cam

Looking to secure the perimeter of your back patio? Our favorite outdoor security camera, the Arlo Pro 5 (9/10, WIRED Recommends) is currently marked down almost half off. Amazon has the single camera marked down from $180 to $100, and a two camera kit marked down to $130 for even better savings. The video quality is surprisingly good for an outdoor security camera, with a 1440p output resolution, which is bolstered by a new and improved 12-bit sensor. The result is great coverage in both dark

C++20 Modules: Practical Insights, Status and TODOs

The post was written in Chinese and translated by LLM. Feel free to contact me if any phrasing seems unnatural. 25-08-22 update for Modules Wrapper,[One big thirdparty module], [suggested filename suffix], [mix include and import] C++20 Modules are beneficial for improving code modularity, enhancing program encapsulation, boosting compilation speed, and reducing the size of library code. Consequently, C++20 Modules have been highly anticipated since their inception. However, it is unsatisfacto

Seedship – Text-Based Game

<<widget damageSystem>> \t/* Silently apply damage to a system */ \t/* args[0] should be the name of the system */ \t/* args[1] should be the amount of damage */ \t<<switch $args[0]>> \t\t<<case "atmosphere scanner">> \t\t\t<<set $scanner_atmosphere -= Math.min($args[1],$scanner_atmosphere)>> \t\t\t<<set $new_integrity = $scanner_atmosphere>> \t\t<<case "gravity scanner">> \t\t\t<<set $scanner_gravity -= Math.min($args[1],$scanner_gravity)>> \t\t\t<<set $new_integrity = $scanner_gravit

Topics: args case planet set td

Show HN: C++ library for reading MacBook lid angle sensor data

MacBook Lid Angle Sensor C++ Library A C++ library for reading MacBook lid angle sensor data, based on reverse engineering of HID device specifications. Features 🔍 Direct access to MacBook's built-in lid angle sensor 📏 Real-time precise angle measurements (0-360 degree range) ⚡ High-performance C++ implementation with modern C++14 standard support 🛡️ Comprehensive exception handling mechanism 🔧 Clean and easy-to-use API interface 📦 CMake build system support Device Compatibility Suppor

8BitDo's Ultimate 2 controller for Switch 2 is on sale for only $54

8BitDo makes some of our favorite gaming accessories, and right now you can get one of its Nintendo Switch 2 controllers for the lowest price we've seen yet. A deal on Amazon shaves 14 percent off the 8BitDo Ultimate 2 controller's usual $70 price tag, bringing it down to $60 — and with a coupon you can apply before checkout, it drops a bit more to $54. The discount only applies to the white color option. The Ultimate 2 Bluetooth controller is one of the best Switch 2 accessories out there. (It

I called the MSI Claw an embarrassment, so imagine my surprise: its successor is the best Windows handheld yet

is a senior editor and founding member of The Verge who covers gadgets, games, and toys. He spent 15 years editing the likes of CNET, Gizmodo, and Engadget. Posts from this author will be added to your daily email digest and your homepage feed. I wrote that no one should buy MSI and Intel’s original handheld gaming PC. I literally called it an embarrassment, and the company blacklisted me after that. MSI stopped pitching me news, and stopped answering my emails, even after the company began to

Topics: 2h 5w claw tdp watt

24 of the Best Gifts Under $150 for 2025

If you're looking to gift an affordable outdoor camera that doesn't require frequent battery replacements, the Blink Outdoor 4 is a great option. CNET's Tyler Lacoma says, "From the 1080p resolution and Alexa support to the two-way audio and motion detection, the Outdoor 4 does a little of everything in a compact, weather-resistant design. But where it really shines is that extended battery life." The handy Blink app also lets you check battery status -- a lifesaver, since you’ll probably forge

My Blink Outdoor Camera Ran for Over a Year Without a Recharge. It’s Still One of My Smartest Buys

The Blink Outdoor 4 security camera typically costs around $100. Right now, you can get a two-pack for $180, which is still a solid value for a wireless setup that doesn’t require constant recharging. CNET's key takeaways The Blink's Outdoor 4 security camera comes with lithium AA batteries that lasted me well over a year, unlike competitor cameras that need frequent recharging as often as every month. The Blink Outdoor 4 is one of the more affordable cams, at about $100, and it can often be

24 of the Best Gifts Under $100 for 2025

If you're looking to gift an affordable outdoor camera that doesn't require frequent battery replacements, the Blink Outdoor 4 is a great option. CNET's Tyler Lacoma says, "From the 1080p resolution and Alexa support to the two-way audio and motion detection, the Outdoor 4 does a little of everything in a compact, weather-resistant design. But where it really shines is that extended battery life." The handy Blink app also lets you check battery status -- a lifesaver, since you’ll probably forge

My Blink Outdoor Camera Battery Lasted Nearly Two Years. Now It's 50% Off for This Last-Minute Labor Day Deal

Labor Day deal: The Blink Outdoor 4 security camera typically costs $100. Right now, you can get a two-pack of them for $90, a discount of more than 50%. The deal is part of a limited-time Labor Day sale, so we recommend buying it before it's gone for good. CNET's key takeaways The Blink's Outdoor 4 security camera comes with lithium AA batteries that lasted me well over a year, unlike competitor cameras that need frequent recharging as often as every month. The Blink Outdoor 4 is one of the

Ring Outdoor Cam Plus hits its record-low price at just $69.99!

Peace of mind has no price, but if you play your cards right, you can secure your home on the cheap. The Ring Outdoor Cam Plus is currently at the most affordable price we’ve seen, saving you 30% off the retail price. Buy the Ring Outdoor Cam Plus for just $69.99 ($30 off) This offer is available directly from Amazon, which also owns Ring. The sale is labeled as a “limited time deal,” and the discount applies to both the Black and White color versions. You can also pick between the battery-powe

Brokewell Android malware delivered through fake TradingView ads

Cybercriminals are abusing Meta’s advertising platforms with fake offers of a free TradingView Premium app that spreads the Brokewell malware for Android. The campaign targets cryptocurrency assets and has been running since at least July 22nd through an estimated 75 localized ads. Brokewell has been around since early 2024 and features a broad set of capabilities that include stealing sensitive data, remote monitoring and control of the compromised device. Taking over the device Researchers

My Blink Outdoor Camera Battery Lasted Nearly Two Years. Now It's 50% Off for Labor Day

Labor Day deal: The Blink Outdoor 4 security camera typically costs $100. Right now, you can get a two-pack of them for $90 -- a discount of more than 50% -- on Amazon during its Labor Day sale. CNET's key takeaways The Blink's Outdoor 4 security camera comes with lithium AA batteries that lasted me well over a year, unlike competitor cameras that need frequent recharging -- as often as every month. The Blink Outdoor 4 is one of the more affordable cams, at about $100, and it can often be fou

AWS, Microsoft and Google unite behind Linux Foundation DocumentDB database to cut enterprise costs and limit vendor lock-in

Want smarter insights in your inbox? Sign up for our weekly newsletters to get only what matters to enterprise AI, data, and security leaders. Subscribe Now Document databases are an increasingly important type of technology in the gen AI era. A document database is a type of NoSQL database that doesn’t rely on rows and columns like a traditional relational database, instead it uses the JSON (JavaScript Object Notation) format. There are multiple vendors that develop document databases includi

Anonymous structavaganza in Zig

Mon Aug 25 2025 When statements disappear, what remains of good semantics? Let’s see what side effects have been introduced! To start, observe this truly primordial ‘C code; struct A {}; struct B {}; void example ( struct A e ); int main (){ example (( struct B){}); } clang output: error: passing 'struct B' to parameter of incompatible type 'struct A' example((struct B ){}); ^~~~~~~~~~~~ THE TYPES ARE UNIQUE. THEY HAVE DIFFERENT NAMES! THE ARE NOMINALLY DIFFERENT. And such it is for all

In-Memory Filesystems in Rust

In-memory Filesystems in Rust I’ve been working on a CLI tool recently, and one of the things it does is manage files on disk. I have written a lot of file management tests for Bundler, and the two biggest reasons that the Bundler test suite is slow are exec and fstat . Knowing that, I thought I would try to get out ahead of the slow file stat problem by using an in-memory filesystem for testing. A collaborator mentioned being happy with the Go package named Afero for this purpose, and so I se

Stepanov's biggest blunder? The curious case of adjacent difference

The curious case of adjacent difference If you have ever tried using the std::adjacent_difference algorithm in c++, I’m sure it left you puzzled. As the name suggests, this algorithm computes differences between adjacent elements of the input sequence, but it does one more thing: it copies the first element of the input sequence into the output sequence unmodified. The following example demonstrates how to apply the algorithm to delta-compress a postings list of document identifiers that contain