frontpage.
newsnewestaskshowjobs

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

Don't Solve My Sudoku

https://blog.ubavic.rs/19/
1•ubavic•50s ago•0 comments

AI models have caught up with Unity dev

https://www.reddit.com/r/gamedev/comments/1wo5asm/ai_models_have_caught_up_with_unity_dev_my/
1•reasonableklout•1m ago•0 comments

Mechanistic reasoning in biology among elementary school children

https://www.tandfonline.com/doi/full/10.1080/10508406.2024.2432682
1•wslh•3m ago•0 comments

David Letterman meets Manny the Hippie in Haight-Ashbury (1996) [video]

https://www.youtube.com/watch?v=7QrRDUasQp8
1•MilnerRoute•3m ago•0 comments

Handwritten Notes for Friends and Machines

https://ifup.org/blog/handwritten-notes-with-friends-and-machines/
1•philips•4m ago•0 comments

AI Exec: We May Have Pulled Off "The Largest Theft of Labor in Human History"

https://www.motherjones.com/politics/2026/09/openai-chatgpt-microsoft-copyright-legal-case-docume...
2•pluc•5m ago•0 comments

Turbo Vision for Rust

https://tv.enzolombardi.net/
1•networked•6m ago•0 comments

Ask HN: Did you not get the warnings about building thinking machines in Dune?

2•roschdal•9m ago•1 comments

Video CDs Break Windows Explorer

https://clydesnotes.blogspot.com/2026/08/video-cds-break-windows-explorer.html
2•ClydeN•10m ago•0 comments

Stock Buybacks and Quarterly Thinking: How America Fell Behind in Battery Tech

https://www.ineteconomics.org/perspectives/blog/the-u-s-battery-maker-that-could-and-the-u-s-auto...
2•paimapi•13m ago•0 comments

Show HN: CaughtShipping – curfew app for developers, enforced by a public wall

https://caughtshipping.com/
1•misulicus•13m ago•0 comments

Who is going to teach the junior developers?

https://blog.luap.info/who-is-going-to-teach-junior-developers.html
6•polote•16m ago•3 comments

Seed Game

https://seed.game/early-access
2•jackhalford•16m ago•0 comments

Show HN: Shielded Bitcoin – private payments on Bitcoin, proven in the browser

https://shielded.bitcoin.pe/
1•harshjv•16m ago•0 comments

Schools for the poor are not poor schools

https://www.economist.com/united-states/2026/09/24/schools-for-the-poor-are-not-poor-schools
1•andsoitis•17m ago•0 comments

My brother's new high rise apartment doesn't allow individual internet services

https://www.reddit.com/r/mildlyinfuriating/s/mQRDnpsNvs
3•nixass•18m ago•1 comments

Show HN: Billed – a one-time-purchase invoicing app (no subscription)

https://apps.microsoft.com/detail/9nbs6t5cjpdp?hl=en-US&gl=US
1•billed•19m ago•0 comments

Goetics: On Go as a Tool for Creative Expression [video]

https://www.youtube.com/watch?v=kTcoVUEmJ4I
2•caycep0llard•20m ago•0 comments

Ask HN: Have you read the Dune books by Frank Herbert?

1•roschdal•27m ago•2 comments

Nifty little macOS toolbar tool to track daily usage

https://github.com/shrivara/token-bar
1•Hasaber8•27m ago•0 comments

Ask HN: Why doesn't Apple provide Xcode 27's markdown editor as a separate app?

2•amichail•30m ago•6 comments

Blocking Your Adblocker. How to be an asshole, programmatically

https://medium.com/@vmsp/blocking-your-adblocker-967d1c6e48f2
1•birdculture•30m ago•0 comments

The world has a grounding problem

https://aclevername.substack.com/p/the-world-has-a-grounding-problem
2•utilityhotbar•30m ago•0 comments

The tiny island where Chinese mothers travel to give birth to American babies

https://www.telegraph.co.uk/us/news/2026/09/26/saipan-birth-tourism-us-citizens/
1•cwwc•30m ago•0 comments

AMD Takes the Lid Off of Next-Gen EPYC 9006 Venice as Zen 6 Comes to Servers

https://www.servethehome.com/amd-takes-the-lid-off-of-next-gen-epyc-9006-venice-as-zen-6-comes-to...
2•rbanffy•32m ago•0 comments

Show HN: OrbitalNote – A modern desktop orgmode editor with calendar and agenda

https://orbitalnote.org/
1•mannders•37m ago•0 comments

C64 MERCENARY (1985): a novel exploit bug at the start of the game

https://gamesexplained.com/c64/mercenary/
2•a1r•40m ago•1 comments

I built my daughter a custom alarm clock because everything on Amazon sucked

https://reclaimtheday.substack.com/p/i-built-my-daughter-a-custom-smart
5•pneedleman•41m ago•3 comments

A4 paper format / International standard paper sizes (2025)

https://www.cl.cam.ac.uk/~mgk25/iso-paper.html
3•Tomte•43m ago•0 comments

Creating applications using the drag-and-drop is a pleasure

https://nimoxi.com/spikeui/
2•Caronte3D•47m ago•0 comments