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

BulkFileRenamer – A Windows app for batch renaming files

https://apps.microsoft.com/detail/9nl267vtkkmg?hl=en-US&gl=US
1•SolvyCode•12s ago•0 comments

Show HN: ClipTunes, string together trimmed YouTube video clips

https://cliptunes.app
2•jhedlund•1m ago•0 comments

Building for composable agentic services: nameIntel x402 via MCP

https://nameintel.io/
2•dudemanAtl•2m ago•1 comments

Sony Deletes a Bunch More Movies from the Accounts of People Who 'Bought' Them

https://www.techdirt.com/2026/07/15/sony-deletes-a-bunch-more-movies-from-the-accounts-of-people-...
2•nekusar•3m ago•0 comments

Never Been More Back

2•security1011015•4m ago•0 comments

Winners and losers in the coming AI margin collapse

https://martinalderson.com/posts/the-upcoming-ai-margin-collapse-part-2-winners-and-losers/
2•martinald•5m ago•0 comments

British Steel taken into public ownership to protect 'vital' UK supply

https://www.bbc.com/news/articles/c5y680w62wno
5•clarionbell•10m ago•0 comments

The Act and the Outcome of Creation

https://www.ssp.sh/blog/on-creation/
3•zazuke•11m ago•0 comments

SpaceX stock erases all its gains and slides below IPO price in intraday trading

https://www.latimes.com/business/story/2026-07-16/spacex-stock-erases-gains-slides-below-ipo-pric...
3•1vuio0pswjnm7•14m ago•0 comments

Regularer Expressions

https://furia.com/page.cgi?type=log&id=523
4•surprisetalk•16m ago•0 comments

The LLM Critics Are Right. I Use LLMs Anyway

https://www.theocharis.dev/blog/llm-critics-are-right-i-use-llms-anyway/
4•JeremyTheo•17m ago•0 comments

Let's Build PlanetScale from Scratch: Infrastructure

https://onatm.dev/2026/07/16/homescale-part-1/
3•onatm•18m ago•0 comments

Physicists create first room-temperature quantum material

https://phys.org/news/2026-07-physicists-room-temperature-quantum-material.html
3•smurda•18m ago•0 comments

Google and Epic give up fighting – third-party Android app stores are coming

https://www.theverge.com/policy/965792/google-epic-withdraw-injunction-third-party-app-stores-com...
3•pmontra•19m ago•0 comments

Apple sues OpenAI after ex-engineer allegedly used bug to steal trade secrets

https://arstechnica.com/tech-policy/2026/07/apple-sues-openai-after-ex-engineer-allegedly-used-bu...
3•rickdeckard•20m ago•1 comments

Brussels prepares fresh Google fines as Big Tech enforcement increases

https://www.ft.com/content/c5a880f1-aa6a-4336-b499-3ab95cf37857
3•1vuio0pswjnm7•21m ago•0 comments

Lessons from CISA's Cyber Incident

https://www.cisa.gov/news-events/news/lessons-cisas-cyber-incident
2•salmon•22m ago•0 comments

SpaceX sell-off wipes $1T from Elon Musk's rocket group

https://www.ft.com/content/94959f40-1874-4ece-b629-b18f43aa3ede
2•1vuio0pswjnm7•22m ago•0 comments

Show HN: Rackp – a protocol for deriving fault when AI agents cause incidents

https://github.com/rackp-io/rackp
2•rackp•23m ago•0 comments

Things you didn't know about indexes

https://jon.chrt.dev/2026/04/15/things-you-didnt-know-about-indexes.html
2•theanonymousone•25m ago•0 comments

Drake Anthony Recreates the Mechanical Bulb First Seen in 1675 – TechEBlog

https://www.techeblog.com/drake-anthony-styropyro-mechanical-bulb-barometric-light/
3•rbanffy•26m ago•0 comments

UK investigates TikTok over child safety measures

https://www.politico.eu/article/ofcom-investigates-tiktok-over-child-safety-measures/
2•giuliomagnifico•28m ago•0 comments

I learned to stop worrying and love ARINC 424

https://birdhalfbaked.com/how-i-learned-to-stop-worrying-and-love-arinc-424
2•CorvusCrypto•29m ago•1 comments

Chinese AI startup Moonshot to launch model challenging Anthropic's lead

https://www.ft.com/content/c6ecd8ce-c441-4d7c-aea6-fae3e28fb6ff
4•merksittich•30m ago•1 comments

The Full Stack of Society: Can You Make a Whole Society Wealthier?

https://radicalcontributions.substack.com/p/the-full-stack-of-society-can-you-make-a-whole-societ...
2•baud147258•30m ago•0 comments

Escalation Theory: Compliance, Violence, and Overachievement in Society

https://radicalcontributions.substack.com/p/escalation-theory-compliance-violence-and-overachieve...
2•baud147258•30m ago•0 comments

Show HN: I Built an Accent Changer App

https://accentchanger.com/
2•wbemaker•30m ago•0 comments

Do you put rules or examples in your LLM context?

https://blog.getcassis.com/derivation-distance/
5•aloys_hn•34m ago•0 comments

Engineer made built in memory, loop detection and audits mandatory for agents

https://github.com/RyjoxTechnologies/Octopoda-OS
2•JosephjackJR•34m ago•1 comments

Help me be accountable with my time

2•atomiomi•35m ago•0 comments