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

Gut Instinct: Connecting with our intuition

https://www.cheltenhamzen.co.uk/writings/gut-instinct
1•lawrenceyan•34s ago•0 comments

How do LLMs understand an artist's inner universe?

https://jimiwen.substack.com/p/how-do-llm-understand-artistic-inner
1•jimiwen•5m ago•0 comments

Ask HN: What would you want in a GitHub alternative?

1•vednig•7m ago•0 comments

Supply chain compromise in mistralai Python package

https://github.com/mistralai/client-python/issues/523
2•meander_water•8m ago•0 comments

The Cathedral, the Bazaar and the Kitchen

https://blog.vrypan.net/2026/05/11/the-cathedral-the-bazaar-and-the-kitchen/
1•ultratalk•9m ago•0 comments

Show HN: 3D pin art Audio Visualizer

https://github.com/wyattmattoe/pin-art-visualizer
1•wyattmattoe•10m ago•0 comments

Arcadia, CA, Mayor Federally Charged with Acting as Illegal Agent of PRC, Pleads

https://www.justice.gov/usao-cdca/pr/arcadia-mayor-federally-charged-acting-illegal-agent-peoples...
2•737min•14m ago•1 comments

Extremely Low Frequencies

https://computer.rip/2026-05-09-extremely-low-frequencies.html
1•pinewurst•14m ago•0 comments

Tuna-2: Pixel Embeddings Beat Vision Encoders for Understanding, Generation

https://github.com/facebookresearch/tuna-2
1•gmays•33m ago•0 comments

ClickFix Campaign: I Searched for Tailscale and Found a Phishing Operation

https://perezbox.com/articles/clickfix-campaign-tailscale-nine-month-phishing-operation
1•sucuri2•35m ago•0 comments

Local LLM Proxy: Turn Idle LLM Compute into Universal Credits

https://github.com/wink-run/local-llm-proxy
1•zwling8•35m ago•0 comments

Kettle: Attested Builds for Verifiable Software Provenance

https://arxiv.org/abs/2605.08363
1•badcryptobitch•36m ago•0 comments

Sam Altman's Business Dealings Under GOP Scrutiny Ahead of OpenAI's IPO

https://www.wsj.com/tech/ai/sam-altmans-business-dealings-under-gop-scrutiny-ahead-of-openais-ipo...
3•JumpCrisscross•42m ago•1 comments

Productivity Isn't About Going Faster

https://humanpro.co/articles/productivity-isnt-about-going-faster/
4•gx•45m ago•0 comments

End-to-end encrypted RCS messaging rolling out for Android and iPhone users

https://blog.google/products-and-platforms/platforms/android/android-ios-end-to-end-encrypted-rcs...
3•thunderbong•46m ago•1 comments

Elon Musk's Grok Is Losing Ground in AI Race

https://www.wsj.com/tech/ai/anthropic-spacex-ai-deal-elon-musk-f86ea369
3•JumpCrisscross•47m ago•4 comments

MCP-Guardrail

https://github.com/kaarhsg-cpu/mcp-guardrail
1•karthikhermes•49m ago•0 comments

Skill1: Unified Evolution of Skill-Augmented Agents via Reinforcement Learning

https://arxiv.org/abs/2605.06130
1•lexandstuff•54m ago•0 comments

“Something rather unusual is happening in Russia” – My BBC Radio Dispatch

https://www.youtube.com/watch?v=K9su3iLw9hU
4•consumer451•1h ago•1 comments

Tofersen, a New Treatment for ALS, Reverses Symptoms for Some

https://www.nytimes.com/2026/05/06/well/als-treatment-tofersen-qalsody.html
1•MaysonL•1h ago•0 comments

Ask HN: Can NPM postinstall script be run in a sandbox? how to do that?

1•imWildCat•1h ago•0 comments

Cloudflare Is Down

7•sammy2255•1h ago•4 comments

Instructure Pays Ransom to Canvas Hackers

https://www.insidehighered.com/news/tech-innovation/administrative-tech/2026/05/11/instructure-pa...
1•Cider9986•1h ago•0 comments

Trying San Francisco's most experimental depression treatments

https://www.theguardian.com/society/2026/may/11/silicon-valley-depression-wellness-boom
2•andsoitis•1h ago•0 comments

Earthworms Don't Bio-Accumulate Microplastics, So There May Be Hope for Us

https://hackaday.com/2026/05/05/earthworms-dont-bio-accumulate-microplastics-so-there-may-be-hope...
1•lxm•1h ago•0 comments

Tesla's New AI Tech Could Save Lives, Thanks to Quicker Airbags

https://www.caranddriver.com/news/a71269172/tesla-ai-tech-airbag-deployment/
2•RickJWagner•1h ago•0 comments

RegexPSPACE: Regex LLM Benchmark

https://arxiv.org/abs/2510.09227
1•thatxliner•1h ago•0 comments

It has a few rough edges but it works and it's free

https://github.com/slucerodev/ExoArmur-Core
1•slucerodev•1h ago•0 comments

Show HN: Sigmashake Desktop – AI Coding Agent Guardrails

https://sigmashake.com/desktop
1•cavalrytactics•1h ago•1 comments

Why Everyone's Picking Up a PSP Again in 2026

https://gardinerbryant.com/psp-in-2026/
2•Kate0CoolLibby•1h ago•0 comments