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

Hayabusa2 captures images of asteroid Torifune

https://global.jaxa.jp/press/2026/07/20260706-3_j.html
1•pinewurst•1m ago•0 comments

How Prompt Tuning Improved GPT-5.5 in VS Code

https://code.visualstudio.com/blogs/2026/07/06/optimizing-vscode-coding-harness-model-providers
1•PieUser•1m ago•0 comments

Show HN: Slidown – Markdown to PowerPoint in pure Go, no AI in generation

https://github.com/Songmu/slidown
1•Songmu•1m ago•0 comments

Parents are blaming Snapchat for their teens' fentanyl deaths (2025)

https://www.latimes.com/business/story/2025-03-05/snap-lawsuit-fentanyl-death-teens
1•1vuio0pswjnm7•3m ago•0 comments

Show HN: Brunelly AI Native Platform v26.06

https://brunelly.com/
1•RihabAI•5m ago•0 comments

China built a 40-story tower that stores wind power by stacking concrete

https://boingboing.net/2026/07/06/post-china-built-a-40-story-tower-that-stores-wind-powe.html
2•eric_h•14m ago•0 comments

Supreme Court won't block Texas enforcing age verification law for app downloads

https://apnews.com/article/texas-age-mobile-app-verification-law-supreme-court-362137cccb26fc5f5d...
1•1vuio0pswjnm7•14m ago•0 comments

How Europe would fight without America

https://www.ft.com/content/ffd323d9-8a8c-4b67-ae0d-208c8f994ece
1•JumpCrisscross•17m ago•0 comments

Ask HN: Where do you hire interns for startups?

1•guptadeepak•18m ago•0 comments

Section 139(8A) of Income Tax Act: Guide, Rules and Benefits – SMFG India Credit

https://www.smfgindiacredit.com/knowledge-center/section-139-8a-of-income-tax-act.aspx
1•saumyaraut11•19m ago•0 comments

Xbox 'OG' Adventures

https://mamoniem.com/xbox-og-adventures/
1•davikr•20m ago•0 comments

"The Borgias" vs. "Borgia: Faith and Fear" (accuracy in historical fiction)

https://www.exurbe.com/the-borgias-vs-borgia-faith-and-fear/
1•walterbell•29m ago•0 comments

The Consciousness Atlas: Visualizing the Landscape of Consciousness

https://www.consciousnessatlas.com/
2•lucasrufkahr•34m ago•0 comments

The Socialist Temptation of Sam Altman

https://www.wsj.com/opinion/openai-government-sam-altman-donald-trump-ai-5b2676a2
2•thm•36m ago•0 comments

Show HN: Conquer the Top Leagues 38-0 Games

https://38-0.one/
1•cksmct•37m ago•1 comments

Researchers Reveal the Power of 'Quantum Proofs'

https://www.quantamagazine.org/researchers-reveal-the-power-of-quantum-proofs-20260706/
2•pseudolus•37m ago•0 comments

Too ugly, too noisy, too American? France's great air con debate

https://www.cnn.com/2026/07/07/europe/france-heatwave-air-con-politics-intl
1•rawgabbit•42m ago•1 comments

Summary: Analytic Idealism in a Nutshell by Bernardo Kastrup

https://www.chestergrant.com/summary-analytic-idealism-in-a-nutshell-by-bernardo-kastrup
1•chegra•42m ago•0 comments

MSE – Why am I finding the Catalan numbers in these "Snowball Numbers"?

https://math.stackexchange.com/questions/5142872/why-am-i-finding-the-catalan-numbers-in-these-sn...
1•philipfweiss•43m ago•0 comments

12.4M US business registrations are free on state open-data portals

https://gist.github.com/BhackerJ/22a35fead8764782189c7a20c5ded0d7
1•chonghaoju•43m ago•1 comments

Are Humanoid Robots Ready to Be Deployed?

https://www.newyorker.com/magazine/2026/07/06/are-humanoid-robots-ready-to-be-deployed
1•tuxguy•47m ago•1 comments

Show HN: Disclosure Lookup – a Caido plugin that finds where to report a vuln

https://github.com/disclose/caido-lookup
2•caseyjohnellis•55m ago•0 comments

There's a Global Network of Fungi Under Your Feet This Is the First Complete Map

https://www.wired.com/story/theres-a-global-network-of-fungi-under-your-feet-this-is-the-first-co...
1•Jimmc414•58m ago•4 comments

Apple updates vended agent skills: Xcode 27 Beta 3

https://petegoldsmith.com/blog/2026-07-07-xcode-27-beta-3-agent-skills/
2•theraven•59m ago•0 comments

A Sad Kind of Convenience - The death of physical media

https://www.theatlantic.com/technology/2026/07/playstation-ends-discs/687770/
1•Bondi_Blue•59m ago•2 comments

Show HN: Lingbot Vision – Self-Supervised Dense Perception (0.296 NYUv2 RMSE)

https://technology.robbyant.com/lingbot-vision
1•Kajaking•59m ago•0 comments

Balancing Claude 4.8 with GLM 5.2 in mid-level Coding Agent structuring prompts

https://cimons.com/article/balancing-claude-with-glm-5-2-in-mid-level-coding-agent-structuring-pr...
1•etcimon•59m ago•1 comments

Snap sued by parents of girl who was raped by man she met on Snapchat

https://www.latimes.com/business/story/2026-06-25/snap-sued-by-parents-of-girl-who-was-raped-by-m...
3•1vuio0pswjnm7•59m ago•0 comments

CapTablex: Open-source cap table managment in Elixir

https://github.com/captablex/captablex
1•rayrrr•1h ago•1 comments

A Mom Said Infant Formula Killed Her Baby. The Manufacturer Closed the File

https://kffhealthnews.org/health-industry/infant-formula-adverse-events-nec-baby-deaths-fda-repor...
1•Jimmc414•1h ago•0 comments