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

The Network as a Program [video]

https://www.youtube.com/watch?v=CHHZwari_qA
1•simonpure•2m ago•0 comments

Autoresearch found a 3-year-old bug in our query engine

https://posthog.com/blog/autoresearch-query-bug
1•robbie-c•3m ago•0 comments

Maladaptive Daydreaming

https://www.bbc.com/future/article/20260528-the-people-who-are-addicted-to-daydreaming
1•hi41•4m ago•0 comments

DuckDuckGo makes its 'no-AI' search engine easier to access as its traffic booms

https://techcrunch.com/2026/06/01/duckduckgo-makes-its-no-ai-search-engine-easier-to-access-as-it...
2•jaredwiener•4m ago•0 comments

Futurelock and You [video]

https://www.youtube.com/watch?v=HmvphjGJHcA
1•smklein•5m ago•1 comments

QBE 1.3 Released

https://c9x.me/compile/release/qbe-1.3.html
2•s3graham•6m ago•0 comments

The Newest Instagram "Exploit" Is the Goofiest I've Seen

https://www.0xsid.com/blog/meta-account-takeover-fiasco
9•ssiddharth•6m ago•0 comments

Soybean oil linked to metabolic and neurological changes in mice

https://news.ucr.edu/articles/2020/01/17/americas-most-widely-consumed-oil-causes-genetic-changes...
1•bilsbie•8m ago•0 comments

We gave an AI agent eyes. It didn't even use them

https://www.agentvoyagerproject.com/captains-log/2
1•pmkelly4444•8m ago•0 comments

Erin Brockovich takes aim at data center secrecy

https://techcrunch.com/2026/05/31/erin-brockovich-takes-aim-at-data-center-secrecy/
3•Brajeshwar•9m ago•0 comments

Anthropic Files to Go Public, Setting Stage for Huge I.P.O.

https://www.nytimes.com/2026/06/01/technology/anthropic-ipo.html
4•jbegley•10m ago•0 comments

AI Savings Misses 'Should Be Making Executives Uncomfortable,' Bain Says

https://www.bloomberg.com/news/articles/2026-06-01/bain-finds-corporate-ai-investments-based-on-r...
1•toomuchtodo•12m ago•0 comments

Message Queues and Brokers Help with Temporal Decoupling

https://carlosblanco.github.io/architecture/backend/2026/05/25/message-queues-brokers-temporal-de...
2•carlosomar2•13m ago•0 comments

Show HN: Tok - A Claude Code token counter (no ANTHROPIC_API_KEY required)

https://github.com/samjoch/tok
2•samjoch•14m ago•0 comments

Show HN: Valdr - Valkey/Redis in safe Rust, passes >99% of Valkey test suite

https://github.com/ianm199/valdr
2•ianm218•14m ago•2 comments

I Let Agents Run a Retail Store. Here Is What Happened

https://shish.substack.com/p/i-let-agents-run-a-retail-store-here
2•frans•15m ago•0 comments

Trying to get Claude to help me buy a car

https://developerwithacat.com/blog/202606/ai-car-search/
2•mmarian•15m ago•1 comments

Show HN: Get new long-tail keywords in your inbox every week

https://www.longtailkeyword.io
1•onion92•16m ago•0 comments

"No way to prevent this" say users of only package manager

https://xeiaso.net/shitposts/no-way-to-prevent-this/supply-chain/2026-redhat-javascript-clients/
2•speckx•18m ago•1 comments

The Triumph of the Digital Age Stanley's Finest

https://stanleysfinest.com/index.html
1•shrubby•19m ago•0 comments

Programmatic Tool Calling for Any MCP

https://r33drichards.github.io/mcp-js/concepts/mcp-pass-through/
1•someguy101010•20m ago•1 comments

How to get into Y Combinator: notes from a W23 alum

https://github.com/iCarossio/y-combinator
1•iCarossio•20m ago•0 comments

Iran issues warning for northern Israel residents

https://breakingthenews.net/Article/Iran-issues-warning-for-northern-Israel-residents/66411193
5•us321•22m ago•0 comments

Anthropic confidentially files for US IPO

https://www.reuters.com/business/ai-giant-anthropic-confidentially-files-us-ipo-2026-06-01
3•m-hodges•22m ago•0 comments

Red Hat Cloud Services Publish Pipeline Compromised, Shipped Malicious NPM

https://safedep.io/redhat-cloud-services-hit-by-mini-shai-hulud-npm-worm/
1•birdculture•23m ago•0 comments

Aurora DSQL: The Adjudicator

https://marc-bowes.com/dsql-adjudicator.html
1•steepben•23m ago•0 comments

I Turned Off My Phone for a Month and Used a Landline

https://nymag.com/strategist/article/replacing-iphone-with-landline-phone.html
1•mrjaeger•24m ago•0 comments

Macron announces 93B euros in 'Choose France' investments

https://www.euractiv.com/news/macron-announces-93-bn-euros-in-choose-france-investments/
3•jruohonen•27m ago•0 comments

Show HN: A multi-carrier shipping rate aggregator for the EU

https://jetsend.eu/en-es
1•jetsend•27m ago•0 comments

I ran a few local LLM models on my MacBook Air M3, these are the results

https://prasadkhake.com/blog/16gb-mac-llm
2•robertlangdon•28m ago•0 comments