Tech News
← Home  ·  All topics

C++

280 GoKawiil briefs on this topic

Vera Rubin Observatory finds candidate dwarf planet 4.3 billion miles out

Astronomers at the Vera C. Rubin Observatory in Chile announced detection of an object, provisionally named 2026 ED138, orbiting about 4.3 billion miles from the Sun, roughly 46 times Earth's distance. Early estimates put its diameter between 370 and 930 miles, and its orbit is tilted 25 degrees from the plane most planets follow. If confirmed, it would be the first new dwarf planet classified since the International Astronomical Union set the category's rules in 2006.

Rubin Observatory spots distant object 2026 ED138, a possible sixth dwarf planet

Astronomers using the Vera C. Rubin Observatory have identified a trans-Neptunian object called 2026 ED138, located about 46 times farther from the Sun than Earth and estimated at 600 to 1,500 kilometers wide. Researchers Matthew Holman and Kevin Napier found it using a new search code, then traced additional sightings back to 2016 to map its orbit, which is tilted roughly 25 degrees from the solar system's plane.

Amazon discounts Apple AirPods Max 2 by $100, AirPods Pro 3 by $49

Amazon is currently selling Apple's AirPods Max 2 for $449, a $100 discount, across all five color options. The AirPods Pro 3 earbuds are also discounted by $49, now priced at $200.

New open-source C++ library generates perfect hash functions for compile-time string lookups

A blog post describes a C++ technique for mapping fixed sets of strings (like HTTP methods or keywords) to values without runtime hash collisions. Following the design of the decades-old gperf tool, the approach builds an association table so each known key maps to a unique slot using only key length and a few selected characters. The author presents working code examples, including mapping HTTP methods such as GET, PUT, POST and DELETE to distinct slots via a simple formula.

Baseus 10-in-1 USB-C docking station drops to $60.99 on Amazon

Amazon has discounted the Baseus 10-in-1 USB-C docking station to $60.99, down 24% from its $79.99 list price. The hub offers dual HDMI outputs supporting 4K at 60Hz on both displays simultaneously, Gigabit Ethernet, SD/TF card slots, USB-A and USB-C data ports with speeds up to 10 Gbps, and 100W PD passthrough charging.

Amazon Basics 68W GaN two-port charger drops to $21

The Amazon Basics 68W Two-Port GaN Wall Charger is currently discounted to $21. It features one USB-C port supporting up to 60W with USB Power Delivery and one USB-A port up to 18W, combining for a 68W maximum output, though USB-C power drops to about 50W when both ports are used simultaneously. The compact charger measures roughly 2.6 x 2.46 x 1.16 inches and holds a 4.6-star rating on Amazon.

Amazon discounts Lenovo 8-Port USB-C Slim Travel Dock by 23%

Amazon is selling Lenovo's USB-C Slim Travel Dock at a 23% discount. The compact dock offers eight ports, including HDMI, USB-C, USB-A, and SD/microSD card readers, and supports a single 4K 60Hz external display. It features a built-in USB-C cable and supports up to 65W pass-through power delivery for charging a connected laptop.

Amazon discounts AirPods Pro 3 by 20%, cuts M5 MacBook Air by $200

Amazon has reinstated a 20% discount on Apple's AirPods Pro 3, pricing them at $199.99, alongside a continuing $69 offer on the Apple Pencil (USB-C). The retailer is also offering Apple's entry-level M5 MacBook Air at $200 off with a bundled 70W charger, and AirTag 2 at its lowest price yet, while Twelve South launched its new Airfly View accessory and restocked the Airfly Drive CarPlay adapter.

Researchers push to develop standardized tests for immune system health

A commentary in Nature argues that current clinical tools—such as white blood cell counts or C-reactive protein tests—only offer a fragmented view of immune function, failing to capture whether a person's immune system is resilient or declining. The authors say advances in immunology, molecular profiling, imaging and AI could enable development of a comprehensive 'immunome' measurement to assess immune health more completely.

LISEN 10,000mAh 45W power bank drops to $31.59 on Amazon

Amazon has discounted the LISEN Small Portable Charger to $31.59 from its $39.98 list price, an 8-dollar cut. The compact 10,000mAh battery supports up to 45W USB-C fast charging and includes a built-in short USB-C cable with a strap for portability.

Blog post details idiomatic C pattern for safely iterating backwards with unsigned indices

Developer David Priver published a post explaining common mistakes programmers make when writing backward loops over unsigned size_t counters in C, including tautological comparisons and signed-integer workarounds that introduce portability or truncation issues. He presents an alternative idiom, 'for (size_t i = count; i--; )', which uses the postdecrement operator to keep the index in bounds and relies on well-defined unsigned wraparound behavior in C to terminate the loop safely.

9to5Toys roundup: AirTag 2 hits record low, MacBook Air M5 $200 off

A new batch of Apple-focused deals includes the lowest-ever Amazon price on a single AirTag 2, the USB-C Apple Pencil starting at $59, and Apple's 13-inch M5 MacBook Air in Midnight discounted $200. The sale also includes continuing pre-order discounts on the next-gen Apple TV 4K, $50 off AirPods Pro 3, a first-time discount on Apple's Desert Alpine Loop band, and an Anker Halloween sale offering up to 42% off.