Super HN

New Show
421. Mark Zuckerberg Lied to Congress. We Can't Trust His Testimony
422. US Supreme Court rejects Trump's global tariffs
423. Show HN: An e-ink air traffic monitor built with Cloudflare Workers
A clean, high-contrast Air Traffic Monitor for TRMNL E-ink displays. Includes custom layouts (Vertical, Horizontal, Quadrant) and a Cloudflare Worker script for fetching flight data. - Jay9185/Trmnl-Aviation-monitor
424. Ask HN: Are hackathons still worth doing?
425. Grandson of Reese's Peanut Butter Cups inventor says Hershey is cutting corners
The grandson of the inventor of Reese’s Peanut Butter Cups is lashing out at The Hershey Co., accusing the candy company of hurting the Reese’s brand by shifting to cheaper ingredients in many products.
426. Nanodevice produces continuous electricity from evaporation
427. Shingles Vaccine Linked to Slower Biological Aging in Older Adults
Shingles vaccination not only can prevent painful illness but also correlates with lower inflammation & slower biological aging in Americans age 70+.
428. Deep Blue
429. Apple iWork apps send analytics data when "Share Analytics Data" is off
Attached: 1 image Forget about switching off "Share Analytics Data" in Pages settings. Keynote, Numbers, and Pages share it regardless of your choice. #Privacy #Apple #infosec
430. Show HN: Echo, an iOS SSH+mosh client built on Ghostty
A fast, modern SSH client for iOS and iPadOS, built for the new era of terminal tools and AI coding agents.
431. Large Language Model Reasoning Failures
Abstract page for arXiv paper 2602.06176: Large Language Model Reasoning Failures
432. Show HN: I curated 130 US PDF forms and made them fillable in browser
Browse 135+ fillable PDF forms. Fill out tax forms, immigration forms, and more online for free with SimplePDF. No account needed.
433. 5.25-inch floppy disks expected to help run San Francisco trains until 2030
We have a technical debt that stretches back many decades."
434. An AI CEO said something honest: ExperiencedDevs
435. Western Digital is sold out of hard drives for all of 2026
Will HDDs follow RAM and SSDs when it comes to price increases?
436. Java desktop apps with web front end (Angular, react)
Krema is a lightweight desktop application framework using Java backends and web frontends with system WebViews
437. Measurement of a lithium plume from the uncontrolled re-entry of Falcon 9 rocket
A 10-fold enhancement of lithium atoms was detected at 96 km altitude by a resonance lidar at Kühlungsborn, Germany, approximately 20 hours after the uncontrolled re-entry of a Falcon 9 upper stage. The upper-atmospheric extension of the ICON general circulation model, nudged to ECMWF, was used to calculate winds. Backwards trajectories, including wind variability as measured by radar, traced air masses to the Falcon 9 re-entry path at 100 km altitude, west of Ireland. This study presents the first measurement of upper-atmospheric pollution resulting from space debris re-entry and the first observational evidence that the ablation of space debris can be detected by ground-based lidar. The analysis of geomagnetic conditions, atmospheric dynamics, and ionospheric measurements supports the claim that the enhancement was not of natural origin. Our findings demonstrate that identifying pollutants and tracing them to their sources is achievable, with significant implications for monitoring and mitigating space emissions in the atmosphere. A plume of pollutants in the upper atmosphere above Germany is identified using lidar observations of lithium concentrations and can be traced back to the uncontrolled re-entry of a specific rocket launch through atmospheric modelling
438. YouTube Blocks Background Listening Workaround for Free Users
Background play in Brave appears to have been restrored, though.
439. Show HN: 17MB model beats human experts at pronunciation scoring
This app lets you record or upload an audio clip to receive detailed pronunciation feedback, turn spoken words into written text with word‑by‑word timestamps, or type any text and have it spoken ba...
440. CBS didn't air Rep. James Talarico interview out of fear of FCC
“Late Show” host Stephen Colbert said CBS did not air his Monday interview with Texas state Rep.
441. How microbes Got Their Crawl (Asgards: Origins of eukaryotes)
442. C++26: Std:Is_within_lifetime
When I was looking for the next topic for my posts, my eyes stopped on std::is_within_lifetime. Dealing with lifetime issues is a quite common source of bugs, after all. Then I clicked on the link and I read Checking if a union alternative is active. I scratched my head. Is the link correct? It is — and it totally makes sense. Let’s get into the details and first check what P2641R4 is about. What does std::is_within_lifetime do? C++26 adds bool std::is_within_lifetime(const T* p) to the header. This function checks whether p points to an object that is currently within its lifetime during constant evaluation. The most common use case is checking which member of a union is currently active. Here’s a simple example: 1 2 3 4 5 6 7 8 9 10 11 12 union Storage { int i; double d; }; constexpr bool check_active_member() { Storage s; s.i = 42; // At this point, 'i' is the active member return std::is_within_lifetime(&s.i); // returns true } In this example, after assigning to s.i, that member becomes active. The function std::is_within_lifetime(&s.i) returns true, confirming that i is within its lifetime. If we checked std::is_within_lifetime(&s.d) at this point, it would return false since d is not the active member. Properties and the name The function has some interesting design choices that are worth discussing. It’s consteval only std::is_within_lifetime is consteval, meaning it can only be used during compile-time. You cannot call it at runtime. This might seem limiting, but it’s actually by design. The purpose of this function is to solve problems that exist specifically in the constant evaluation world. At runtime, you have other mechanisms available like tracking state with additional variables. The compiler doesn’t maintain the same level of lifetime tracking information at runtime that it does during constant evaluation. Why a pointer instead of a reference? The function takes a pointer rather than a reference, which might seem unusual for a query operation. The reasoning is straightforward: passing by reference can introduce complications with temporary objects and lifetime extension rules. A pointer makes the intent explicit — you’re asking about a specific memory location, not about a value or a reference that might be bound to various things. It’s a cleaner semantic fit for what the function actually does. Why not “is_union_member_active”? You might wonder why the feature has such a general name when the primary use case is specifically about unions. The answer is that the committee chose to solve the problem at a more fundamental level. Instead of adding a union-specific check, they provided a general mechanism to query object lifetime. This means std::is_within_lifetime can potentially be useful in other constant evaluation scenarios where you need to know if an object exists. The generalization makes the feature more powerful and future-proof, even if the primary use case today is checking union member activity. The original motivation The proposal was driven by a very specific problem: implementing an Optional with minimal storage overhead. Imagine you want to create a type that can either hold a boolean value or be empty, using as little memory as possible. Here’s the challenge: 1 2 3 4 5 6 7 8 struct OptBool { union { bool b; char c; }; constexpr auto has_value() const -> bool { // How do we check if 'b' is the active member? // We can't just read it - that's undefined behavior if 'c' is active! } }; At runtime, you can track the active member with a sentinel value in c — for example, using 2 to indicate “no value” since bool only uses 0 or 1. But during constant evaluation, this becomes problematic. The compiler needs to know which union member is active without relying on runtime tricks. Before C++26, there was simply no standard way to check this at compile time. With std::is_within_lifetime, the solution becomes straightforward: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 struct OptBool { union { bool b; char c; }; constexpr auto has_value() const -> bool { if consteval { return std::is_within_lifetime(&b); } else { return c != 2; // sentinel value } } constexpr bool value() const { return b; } }; During compile-time evaluation, we use std::is_within_lifetime to check if b is the active member. At runtime, we fall back to checking the sentinel value. This gives us the best of both worlds: compile-time correctness and runtime efficiency. Compiler support At the moment of writing (February 2026), none of the major compilers support this feature yet. As with many C++26 additions, we’ll need to wait for implementations to catch up with the standard. Conclusion C++26’s std::is_within_lifetime is a focused addition that solves a real problem in constant evaluation: checking which union member is active without invoking undefined behavior. While the motivating use case came from implementing space-efficient optional types, the committee wisely chose to address the underlying problem more generally. The function’s design — taking a pointer, being consteval-only, and having a broad name — reflects careful consideration of both current needs and potential future applications. It’s a small but well-designed piece that makes constexpr evaluation more practical and expressive. Connect deeper If you liked this article, please hit on the like button, subscribe to my newsletter and let’s connect on Twitter!
443. Accenture combats AI refuseniks by linking promotions to log-ins