frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

I Moved My Digital Stack to Europe

https://monokai.com/articles/how-i-moved-my-digital-stack-to-europe/
234•monokai_nl•1h ago•143 comments

Why I'm leaving GitHub for Forgejo

https://jorijn.com/en/blog/leaving-github-for-forgejo/
17•jorijn•18m ago•1 comments

Preserving Fisher-Price Pixter

https://dmitry.gr/?r=05.Projects&proj=37.%20Pixter
68•dmitrygr•2d ago•6 comments

New stainless steel can survive conditions for hydrogen production in seawater

https://www.sciencedaily.com/releases/2026/05/260510030950.htm
127•HardwareLust•2d ago•43 comments

Restore full BambuNetwork support for Bambu Lab printers

https://github.com/FULU-Foundation/OrcaSlicer-bambulab
516•Murfalo•15h ago•230 comments

Deterministic Fully-Static Whole-Binary Translation Without Heuristics

https://arxiv.org/abs/2605.08419
232•matt_d•8h ago•54 comments

Web Server on a Nintendo Wii

http://wii.sjmulder.nl/
36•adunk•3d ago•1 comments

Substrate (YC S24) Is Hiring a Technical Success Manager

https://www.ycombinator.com/companies/substrate/jobs/T2fMBhD-technical-success-manager
1•kunle•1h ago

Googlebook

https://googlebook.google/
834•tambourine_man•19h ago•1368 comments

Show HN: Needle: We Distilled Gemini Tool Calling into a 26M Model

https://github.com/cactus-compute/needle
524•HenryNdubuaku•19h ago•157 comments

The Boring Part of Bell Labs (2025)

https://acesounderglass.com/2025/11/15/the-boring-part-of-bell-labs/
50•surprisetalk•5d ago•6 comments

Using OR-Tools CP-SAT for Scheduling Problems

https://atalaykutlay.com/or-tools-cp-sat-for-scheduling-problems.html
15•akutlay•2h ago•1 comments

An idiot's guide to lead optimisation for proteins

https://magnusross.github.io/posts/protein-lead-optimisation-1/
5•magni121•2d ago•0 comments

How to make your text look futuristic (2016)

https://typesetinthefuture.com/2016/02/18/futuristic/
404•_vaporwave_•16h ago•54 comments

Cost of enum-to-string: C++26 reflection vs. the old ways

https://vittorioromeo.com/index/blog/refl_enum_to_string.html
21•sagacity•4h ago•9 comments

Why senior developers fail to communicate their expertise

https://www.nair.sh/guides-and-opinions/communicating-your-expertise/why-senior-developers-fail-t...
644•nilirl•22h ago•286 comments

CERT is releasing six CVEs for serious security vulnerabilities in dnsmasq

https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2026q2/018471.html
338•chizhik-pyzhik•18h ago•174 comments

Traceway: MIT-licensed observability stack you can self-host in ~90s

https://github.com/tracewayapp/traceway
134•sebakubisz•2d ago•24 comments

Scrcpy v4.0

https://github.com/Genymobile/scrcpy/releases/tag/v4.0
252•xnx•16h ago•39 comments

When “idle” isn't idle: how a Linux kernel optimization became a QUIC bug

https://blog.cloudflare.com/quic-death-spiral-fix/
119•sbulaev•13h ago•17 comments

The vi family

https://lpar.ATH0.com/posts/2026/05/the-vi-family/
211•hggh•1w ago•134 comments

Rendering the Sky, Sunsets, and Planets

https://blog.maximeheckel.com/posts/on-rendering-the-sky-sunsets-and-planets/
497•ibobev•23h ago•39 comments

Quack: The DuckDB Client-Server Protocol

https://duckdb.org/2026/05/12/quack-remote-protocol
322•aduffy•19h ago•67 comments

Kraftwerk's radical 1976 track

https://www.bbc.com/culture/article/20260511-kraftwerks-radical-1976-track-radioactivity-became-a...
189•tcp_handshaker•13h ago•156 comments

My graduation cap runs Rust

https://ericswpark.com/blog/2026/2026-05-12-my-graduation-cap-runs-rust/
179•ericswpark•13h ago•66 comments

SecurityBaseline.eu

https://internetcleanup.foundation/2026/05/european-governments-3000-tracking-sites-1000-phpmyadm...
190•aequitas•6h ago•98 comments

The Future of Obsidian Plugins

https://obsidian.md/blog/future-of-plugins/
405•xz18r•21h ago•148 comments

Reimagining the mouse pointer for the AI era

https://deepmind.google/blog/ai-pointer/
223•devhouse•19h ago•189 comments

As researchers age, they produce less disruptive work

https://nautil.us/is-this-why-science-advances-one-funeral-at-a-time-1280650
98•Brajeshwar•19h ago•98 comments

What if there was no BASIC in EndBASIC?

https://blogsystem5.substack.com/p/no-basic-in-endbasic
32•rbanffy•4d ago•12 comments
Open in hackernews

Cost of enum-to-string: C++26 reflection vs. the old ways

https://vittorioromeo.com/index/blog/refl_enum_to_string.html
21•sagacity•4h ago

Comments

sagacity•4h ago
Oof, that first example (the idiomatic C++26 way) looks so foreign if you're mostly used to C++11.
ginko•55m ago
Is it? I'm mostly used to (pre-)C++11 and the only unusual operators I see are ^^T (which I presume accesses the metadata info of T) and [:e:] (which I assume somehow casts the enumerator metadata 'e' to a constant value of T).

And template for but I assume that's like inline for like in zig.

CamouflagedKiwi•26m ago
requires is also new (not sure exactly when that appeared, it's after the last time I wrote C++ in anger) although I think it's fairly clear what it means. I can only guess at the other two.

Not familiar with Zig but AFAICT `inline for` is about instructing the compiler to unroll the loop, whereas `template for` means it can be evaluated at compile time and each loop iteration can have a different type for the iteration variable. It's a bit crazy but necessary for reflection to work usefully in the way the language sets it up.

ginko•18m ago
Zig's inline for is also evaluated at comptime:

https://ziglang.org/documentation/master/#inline-for

randusername•31m ago
I was a fool to assume that the same forces shaping the ugliness of C++ syntax would not also be at work in C++ 26.
w4rh4wk5•57m ago
I've been wondering about debug-ability of code using reflection. X-Macros are quite annoying to step through in most debuggers, though possible. While the code in the first example is evaluated fully at compile-time, how would you approach debugging it?
HarHarVeryFunny•40m ago
No doubt reflection has been built with other use cases in mind, but it sure would have been nice just to have std::to_string(enum)
bluGill•28s ago
C++ conference speakers (including keynotes) are now begging everyone to stop using enum to string in their example. While they are a simple and easy to understand example, reflection is for much more interesting problems. I can't think of any other example that I would type into a comment box or put on a slide.
king_geedorah•12m ago
Another win for X macros and for C style in general, though the author didn’t declare it as such.