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

A Maintainer in Residence: Scott Schafer for the Cargo Team

https://blog.rust-lang.org/2026/09/22/announcing-a-maintainer-in-residence-scott-schafer-for-the-...
1•hnisjafx40•3m ago•0 comments

Show HN: I built an AR App that overlays makeup tutorials live on your face

https://urartist.app/
1•Vicmed13•4m ago•1 comments

Scoop: Top AI companies probing security incidents

https://www.axios.com/2026/09/26/openai-anthropic-thousands-ai-security-incidents
1•nsoonhui•4m ago•0 comments

Advice to a Beginning Software Engineer

https://www.seangoedecke.com/advice-to-a-beginning-software-engineer/
1•ingve•5m ago•0 comments

M-5 Did Not Go Insane

https://palhereford.substack.com/p/no-m-5-did-not-go-insane
1•p-hereford•7m ago•0 comments

What is an AI sandbox, and why do AI agents keep escaping them?

https://madrobot.blog/2026/09/27/what-is-an-ai-sandbox-why-ai-agents-escape/
2•AIfanboy•8m ago•0 comments

DXing at Galactic Scale

https://daily.hamweekly.com/2026/09/dxing-at-galactic-scale-seti-search-for-extraterrestrial-inte...
1•slow_typist•8m ago•0 comments

Show HN: Chuks v0.2.0-RC.2: 45 bugs a test suite didn't find, real programs did

https://chuks.org/blog/chuks-v020-rc2-what-the-candidate-found/
1•princeLex•10m ago•0 comments

Ask HN: Is answering GitHub issues with AI without declaring it a big deal?

1•LelouBil•12m ago•0 comments

Sonifying Audio Transformers with Attention Tape Heads

https://michaelchinen.com/2026/09/26/audio-attention-tape-heads/
1•mchinen•14m ago•0 comments

An open letter to Scott Alexander

https://quillette.substack.com/p/an-open-letter-to-scott-alexander
2•mellosouls•15m ago•0 comments

Australia's Deputy PM Defends Data Security After OpenAI Hack

https://www.bloomberg.com/news/articles/2026-09-27/australia-s-deputy-pm-defends-data-security-af...
1•sbulaev•15m ago•0 comments

OpenAI pauses training of latest models after agents probed US Government sites

https://apnews.com/article/ai-openai-anthropic-agents-rogue-hack-2f8a2b9024d4f06793bcca12f8089d20
2•ml-student•15m ago•0 comments

Do whatever you want. You don't need to choose. You don't have to win or lose

1•ndnchrkdbck•16m ago•0 comments

Reflect Orbital, Sunlight on Demand?

https://www.reflectorbital.com
1•birdboat00•17m ago•0 comments

Majority of YouTube comments seem AI generated to me now

1•217•18m ago•0 comments

Local LLM extraction plugin for Obsidian (100% offline)

https://github.com/wessteq/revenue-auditor.
1•Pharwek•21m ago•0 comments

Rezzmo – an AI-native communication app with live AI during calls

http://rezzmo.com/
3•abdulazizslim•22m ago•0 comments

Differences Between `Foldl` and `Foldr`

https://blog.haskell.org/foldl-and-foldr/
1•g0xA52A2A•22m ago•0 comments

Rusty thoughts on "Parse, don't validate"

https://eli.thegreenplace.net/2026/rusty-thoughts-on-parse-dont-validate/
2•ingve•22m ago•0 comments

Show HN: Maniac Mansion Reconstructed in 3D from Its Original Screens

https://github.com/s-macke/maniac-mansion-3d
1•s-macke•23m ago•0 comments

Apostate: An open-source, verifiable antidetect Chromium fork

https://github.com/heretic-tech/apostate
1•ccheshirecat•28m ago•2 comments

The Jobs Matrix for AI: Four Boxes Instead of Forty Tools

https://age-of-product.com/jobs-matrix-ai/
1•swolpers•28m ago•0 comments

Helping Sales Reps to Adopt Behavior Change

https://10systems.xyz
1•Assane_D•28m ago•0 comments

Moondream Parakeet Redux and Parakeet Ultra

https://moondream.ai/blog/introducing-parakeet-redux-and-ultra
2•GaggiX•30m ago•1 comments

Happy Birthday to GNU (Starring Stephen Fry) [2008]

https://www.youtube.com/watch?v=NM8VGiOv_I8
2•steptwo•32m ago•1 comments

AirCard: Customize Apple Pay card artwork without a jailbreak

https://github.com/Mak5er/AirCard
1•jonbraun•34m ago•0 comments

U.S., Russia stripped human oversight from global AI weapons pact

https://www.washingtonpost.com/technology/2026/09/26/how-us-russia-weakened-global-effort-regulat...
5•reconnecting•34m ago•3 comments

Chinese AI models surge in global popularity

https://www.cnbc.com/2026/09/26/china-ai-global-adoption.html
4•haebom•34m ago•0 comments

Meta Blocks President Lula's Facebook Page, Campaign Ads 2 Weeks from Election

https://www.reddit.com/r/worldnews/comments/1wr3id3/meta_blocks_president_lulas_facebook_page_and/
23•rbanffy•38m ago•10 comments