frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: A free, minimal CV builder I made as a side project

https://cv-today.com
1•PokeWorldJG•51s ago•0 comments

Show HN: Competitor Finder API – find real competitors from one hostname

https://champsignal.com/competitor-finder-api
1•maximedupre•3m ago•0 comments

Show HN: Textream: Dynamic Island-style teleprompter for macOS with voice track

https://blog.fka.dev/textream/
1•fka•7m ago•0 comments

How do you use AI coding tools at scale without losing architectural control?

https://contextfirst.dev/
1•seekerXtruth•13m ago•1 comments

What to do with the KDE Oxygen and Air themes?

https://filipfila.wordpress.com/2026/02/08/beating-an-old-but-not-dead-horse-what-to-do-with-the-...
3•jandeboevrie•15m ago•0 comments

Show HN: RexIDE - One app to command CLI agents across projects

https://rex.mindmeld360.com
1•tomerbd•17m ago•0 comments

Windows is leaving old printers behind without solution

https://www.tomshardware.com/peripherals/printers/microsoft-stops-distrubitng-legacy-v3-and-v4-pr...
2•storm1er•18m ago•0 comments

Eight More Months of Agents

https://crawshaw.io/blog/eight-more-months-of-agents
1•arrowsmith•19m ago•0 comments

Uber held liable, ordered to pay $8.5M in driver rape suit

https://www.cnbc.com/2026/02/06/uber-liable-pay-8-5-million-driver-rape-suit.html
1•gslin•25m ago•0 comments

DayTradingCentral – Free Trading Journal (Next.js, NestJS, Postgres)

https://www.daytradingcentral.com
1•MuZzZ•25m ago•1 comments

Creative problem-solving of unsolved puzzles during REM sleep

https://academic.oup.com/nc/article/2026/1/niaf067/8456489
2•tchalla•32m ago•0 comments

Show HN: Language learning through AI example sentences (onigiri.kr)

https://jpen.onigiri.kr/
1•jaehakl•33m ago•0 comments

Wi-Fi 7 marketing is lying about its biggest feature [video]

https://www.youtube.com/watch?v=-5o_Qu3XToQ
2•wateralien•33m ago•0 comments

Thoughts on LLMs

https://finestructure.co/blog/2026/2/6/thoughts-on-llms
1•interpol_p•36m ago•0 comments

China's rare earth steel is transforming infrastructure [video]

https://www.youtube.com/watch?v=DfNN1Es02hI
1•zeristor•37m ago•0 comments

Show HN: CodeMic

https://codemic.io/#hn
1•seansh•37m ago•0 comments

How to build a hero section that gets you a chance

https://www.indiehackers.com/post/how-to-build-a-hero-section-that-actually-gets-you-a-chance-bff...
1•allinonetools_•38m ago•0 comments

Framework 13 Initial Impressions

https://www.abgn.me/posts/frame-work-13-initial-impressions
2•albingroen•38m ago•0 comments

Show HN: Peekr – An anonymous "Truth or Dare" game built with MERN

https://peekr-black.vercel.app/
1•peekrtrue•40m ago•1 comments

Casplist.eu

https://casplist.eu
1•PhilipV•47m ago•1 comments

OpenAI exec becomes top Trump donor with $25M gift

https://finance.yahoo.com/news/openai-exec-becomes-top-trump-230342268.html
16•doener•48m ago•1 comments

(AI) Slop Terrifies Me

https://ezhik.jp/ai-slop-terrifies-me/
3•Ezhik•48m ago•0 comments

Anthropic's team cut ad creation time from 30 minutes to 30 seconds

https://claude.com/blog/how-anthropic-uses-claude-marketing
2•Brajeshwar•56m ago•0 comments

Show HN: Elysia JIT "Compiler", why it's one of the fastest JavaScript framework

https://elysiajs.com/internal/jit-compiler
2•saltyaom•57m ago•0 comments

Cache Monet

https://cachemonet.com
1•keepamovin•58m ago•0 comments

Chinese Propaganda in Infomaniak's Euria, and a Reflection on Open Source AI

https://gagliardoni.net/#20260208_euria
1•tomgag•58m ago•1 comments

Show HN: A free, browser-only PDF tools collection built with Kimi k2.5

https://pdfuck.com
3•Justin3go•1h ago•0 comments

Curating a Show on My Ineffable Mother, Ursula K. Le Guin

https://hyperallergic.com/curating-a-show-on-my-ineffable-mother-ursula-k-le-guin/
2•bryanrasmussen•1h ago•0 comments

Show HN: HackerStack.dev – 49 Curated AI Tools for Indie Hackers

https://hackerstack.dev
1•pascalicchio•1h ago•0 comments

Pensions Are a Ponzi Scheme

https://poddley.com/?searchParams=segmentIds=b53ff41f-25c9-4f35-98d6-36616757d35b
2•onesandofgrain•1h ago•9 comments
Open in hackernews

Variadic Switch

https://pydong.org/posts/variadic-switch/
46•Tsche•9mo ago

Comments

david2ndaccount•8mo ago
In D, you can just do a static foreach over a sequence to generate case labels:

https://d.godbolt.org/z/PxWEW14K1

pjmlp•8mo ago
Unfortunely like many things D, eventually C++ gets the feature, even if not as nice to use.

That is template for as part of the C++26 reflection work.

https://isocpp.org/files/papers/P2996R4.html

You will also find some well known names here,

https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2025/p34...

Doxin•8mo ago
I feel like the main problem people have with C++ is not the lack of features, but the absolute glut of slightly bad features. That's why I prefer D over C++ in any case: it's a much smaller language. You can learn enough to be dangerous in an afternoon, and enough to be proficient in a week or two.
pjmlp•8mo ago
I on the contrary, I rather reach out to C++, even though I like D, it isn't the features, it is the ecosystem.

Otherwise I rather stay in JVM/CLR/V8 land, when I don't need to.

I have been around D since Andrei Alexandrescu's book was published, even he is now back in C++ at NVidia, as his main work after he kind of stepped away from his role in D development.

And he is one of the figures on C++26 reflection papers.

Doxin•8mo ago
Oh C++ has the clear advantage in libraries available, for sure. That's not really due to the languages themselves though I'd say. I'm honestly not quite sure why C++ got widely adopted and D did not.
pjmlp•8mo ago
Almost two decades predating it, and sadly no OS vendor picked up on it.

Many people forget C++ is a C sibling, born at AT&T on the same building UNIX and C were being handled, thus it was quite an easy win for C compiler vendors, to add C++ support to their toolchains.

Note that Objective-C also never made it outside NeXT, GNUStep was never that good clone, and had it not been for Apple's acquision and success, maybe we would no longer speak about it.

When Facebook or Remedy Games played with D, we hoped it would somehow improve adoption, that was never the case, and both companies no longer use D.

PeterWhittaker•8mo ago
I find the article very interesting and informative but, honestly, of all of the approaches, I find the basic switch to be the most readable and likely the most maintainable, at least for this case.
pjmlp•8mo ago
The two major problems in C++, we as a comunity suffer from, are those that still insist using it as plain old C with some improvments, and those that do some kind of post-avant guard code, only understood by anyone coding every day in C++, that have as pastime reading ISO standard and compiler reference manuals, while attending C++ conferences.

One keeps the whole security discussion going on, while the other keeps an image that C++ is a language not worth learning.

glouwbug•8mo ago
Funny enough, the runtime switch, for all practical reasons, is probably just as fast
cout•8mo ago
The limitation with the runtime switch is that it cannot be generated. If all you want to do is have different behavior for each type, then it's probably fine. But if you want to write generic code (apply the same function regardless of type), you need to be able to generate the function using metaprogramming techniques.

C++ isn't great for for metaprogramming, because much of it is a hack that uses the type system to do things it was never originally designed to do (i.e. as a lisp). But as metaprogramming has become more commonplace, the language has evolved with features that make it easier and more readable. It's still all based on a hack, and there's still no good way to debug a metaprogram. But at least I don't have to read the loki book anymore to grok it.

I still prefer to use a proper code generator when I can (it compiles faster, and I can see the generated code). Generating an ordinary switch outside of C++ is certainly an option and is something I've done. But I don't reach for it every time, because those tools tend to be kludgy as well (they can generate invalid C++, which templates and comstexpr cannot).