frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Using C++ type aliasing to avoid the ODR problem with conditional compilation

https://devblogs.microsoft.com/oldnewthing/20250501-00/?p=111134
5•signa11•1y ago

Comments

cherryteastain•1y ago
Cool trick but why wouldn't you just put the Log method without the ifdef in the header, and put the conditionally compiled bits in a .cpp file? The method in the article already puts both Widget<true> and Widget<false> in a .cpp file.
stop50•1y ago
The thing that is complained on by the linker is not the method, its the m_logger attribute. because of that the two structs mismatch. But since Widget<true> and Widget<false> are two different structs in the typing system they don't interfere with each other

Show HN: Revos – architecture checks for AI-generated code

https://github.com/mattykry/revos
1•Mattykry•35s ago•0 comments

Elvure

https://elvure.app
1•mening12001•1m ago•0 comments

Transfa – ephemeral file transfer for CI/CD pipelines and AI agents

https://transfa.sh/
1•colapsis•1m ago•0 comments

Mars or the Moon or A.I.? Elon Musk's Changing Goals for SpaceX

https://www.nytimes.com/2026/04/22/technology/elon-musk-spacex-ipo-goals.html
1•1vuio0pswjnm7•1m ago•0 comments

Why Spain has the greatest cities

https://worksinprogress.co/issue/why-spain-has-the-worlds-greatest-cities/
2•devitoria•2m ago•0 comments

The Atmosphere needs a front door

https://wecanjustdothings.leaflet.pub/3mlv5oijn5s2q
1•Kye•2m ago•0 comments

X Algorithm open source updated

https://github.com/xai-org/x-algorithm/commit/e414c171ed68266341193330bc4864bf3f3534e3
1•drak0n1c•4m ago•0 comments

Easy Tauri integration tests with vitest

https://powersync.com/blog/tauri-integration-tests
1•kobieps•5m ago•0 comments

Comparing Context Retrieval Approaches for AI Code Review

https://comparethemarketcareers.com/blog/comparing-context-retrieval-approaches-for-ai-code-review/
1•adzicg•5m ago•0 comments

Today we are releasing a QEMU escape

https://twitter.com/v12sec/status/2055282721212252178
2•throwaway2027•6m ago•0 comments

I built Zenith: a live local-first fixed viewport planetarium

https://smorgasb.org/zenith-tech/
3•surprisetalk•8m ago•0 comments

Are Musicians Doomed? (Pro Guitarist Reacts) [video]

https://www.youtube.com/watch?v=ApbcT0Bx1h4
1•tzs•8m ago•1 comments

SiteRows – Query Websites with SQL

https://siterows.com/
1•mozersky•9m ago•0 comments

Image-blaster: Creates 3D environments, SFX, and meshes from a single image

https://github.com/neilsonnn/image-blaster
1•MattRogish•11m ago•0 comments

What Lamarck's Giraffe Got Right

https://nautil.us/what-lamarcks-giraffe-got-right-1280790
1•Brajeshwar•11m ago•0 comments

SpaceX IPO set to lock in Elon Musk's control with Mars-linked pay deal

https://www.ft.com/content/00382ab9-3dfe-468c-8966-853cd787dd43
1•frb•12m ago•1 comments

Routine vaccines may cut dementia risk–experts have startling hypothesis on how

https://arstechnica.com/health/2026/05/routine-vaccines-may-cut-dementia-risk-experts-have-startl...
1•danorama•12m ago•0 comments

SSH-Keysign-Pwn: Reading Root-Owned Files via a Ptrace Logic Bug

https://needhelp.icu/blogs/ssh-keysign-pwn/
2•mbeavitt•14m ago•0 comments

Celebrating 20 years of Google Translate

https://blog.google/products-and-platforms/products/translate/fun-facts-google-translate-20-years/
1•andrewstetsenko•14m ago•0 comments

You are the bottleneck now

https://bytode.dev/commits/you-are-the-bottleneck-now
1•marvinified•15m ago•0 comments

C3 0.8.0 replaces builtins, simplifies reflection, and rethinks unsigned sizes

https://c3-lang.org/blog/0_8_0_the_core_language_is_settling/
2•birdculture•17m ago•0 comments

TypeScript, C# and Turbo Pascal with Anders Heijsberg

https://www.youtube.com/watch?v=K-Xv8D8NjTk
1•pjmlp•18m ago•0 comments

Casimir force co-opted to generate free energy, midichlorians not included

https://arstechnica.com/science/2026/05/casimir-force-co-opted-to-generate-free-energy-midichlori...
2•FrustratedMonky•19m ago•0 comments

Raising the Bar

https://github.blog/security/raising-the-bar-quality-shared-responsibility-and-the-future-of-gith...
2•soheilpro•24m ago•0 comments

Startup Raises $1.3B for an A.I. 'Grid'

https://www.nytimes.com/2026/05/12/technology/amp-startup.html
3•bookofjoe•26m ago•1 comments

The Playboy Fiction Index

https://data.post45.org/posts/playboy-fiction-index/
4•Tomte•28m ago•0 comments

Tell HN: I haven't finished a single project 100%

1•theorchid•28m ago•1 comments

There's Something Living in Fog

https://nautil.us/theres-something-living-in-fog-1280786
1•Brajeshwar•29m ago•0 comments

Iran's Internet Shutdown Enters It's 77th Day

https://mastodon.social/@netblocks/116577450970712439
3•alephnerd•30m ago•1 comments

Wearable polygraph detects hidden stress

https://news.northwestern.edu/stories/2026/05/wearable-polygraph-detects-hidden-stress
3•gmays•31m ago•0 comments