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

Companies are scrambling to curtail soaring AI costs

https://www.economist.com/business/2026/06/14/companies-are-scrambling-to-curtail-soaring-ai-costs
1•achenet•37s ago•0 comments

Aegis: A Backup Reflex for Physical AI

https://arxiv.org/abs/2606.06660
1•josefchen•57s ago•0 comments

MemSoph

https://memsoph.ai/
1•ParkinEasy•1m ago•0 comments

Anthropic to meet with Trump administration over Mythos dispute

https://www.cnbc.com/2026/06/15/anthropic-mythos-trump-ai.html
2•cebert•1m ago•0 comments

Semi-solid batteries emerge as safer lithium-ion alternative

https://www.techbuzz.ai/articles/semi-solid-batteries-emerge-as-safer-lithium-ion-alternative
1•Vaslo•2m ago•0 comments

Show HN: Mood

https://mood.lasagna.pizza/
1•kinduff•3m ago•0 comments

Ask HN: How do you deal with the feeling of "loss of control" with AI coding?

2•xiaoyu2006•4m ago•0 comments

Show HN: AI Metrics, Visually

https://barvhaim.github.io/visual-ai-metrics/
2•bignet•5m ago•0 comments

Ocean monitoring network of 900 sensors meant for 20 years is being dismantled

https://apnews.com/article/ocean-observatories-initiative-trump-congress-9b306cb05ec3c824f5e03482...
2•ck2•6m ago•0 comments

Fox Is Buying Roku

https://www.fastcompany.com/91559558/fox-corp-buying-roku-stock-prices-fall-on-tv-streaming-merger
2•simonebrunozzi•6m ago•0 comments

Show HN: Hammermind – Game-ready pixel art and audio files from a single prompt

https://hammermind.com
1•cryptohammer•7m ago•0 comments

Cancelled Xbox 360 version of GoldenEye 007 gets recompiled for PC – no emulator

https://github.com/SunJaycy/GoldenEye-Recomp
1•HelloUsername•7m ago•0 comments

Sakana AI Launches Its First Commercial Product, Sakana Marlin

https://sakana.ai/marlin-release/#English
1•hardmaru•7m ago•0 comments

Gliderboy Reinvents Humble Weather Balloon with Flight Home

https://www.bloomberg.com/news/newsletters/2026-06-15/-gliderboy-reinvents-weather-balloon-with-r...
1•kejaed•7m ago•0 comments

The most complete citizen participation tool for a democratic government

https://consuldemocracy.org/
1•snowpid•10m ago•0 comments

Amazon Boosts India Automation, Robotics and EV Logistics

https://startupnews.fyi/ecommerce/amazon-boosts-india-automation-robotics-ev-logistics
1•maybiiLen•11m ago•0 comments

Libexpat will not accept vulnerability reports before 2026-08-01

https://github.com/libexpat/libexpat/issues/1277
1•robin_reala•13m ago•0 comments

Copper transport drug restores memory and clears toxic Alzheimer's proteins

https://www.monash.edu/news/articles/copper-drug-restores-memory-and-clears-toxic-alzheimers-prot...
2•bookofjoe•13m ago•0 comments

Microsofts new Outlook takes 10 SEC to do what Outlook Classic does instantly

https://www.windowslatest.com/2026/06/15/microsofts-new-outlook-takes-10-seconds-to-do-what-outlo...
3•_____k•14m ago•0 comments

Remote work is bad for you

https://mrmarket.lol/remote-work-is-bad-for-you/
3•baud147258•14m ago•1 comments

Show HN: CriteriaBot – A Universal Customizable Classifier

https://criteriabot.io/
1•RoyalTnetennba•14m ago•0 comments

Ask HN: Has anyone replaced Claude/GPT with a local model for daily coding?

2•cloudking•15m ago•0 comments

Website as Wunderkammer

https://www.henryweikel.net/
1•casmalia•16m ago•0 comments

Show HN: SideDNS – Local DNS routing and HTTPS without editing /etc./hosts

https://github.com/Wilfried-Tech/sidedns
1•Wilfried-Tech•16m ago•0 comments

Show HN: Visical, a cross-platform tool for camera calibration

https://github.com/BrugolaOvoidale/Visical
1•BrugolaOvoidale•17m ago•1 comments

Tensor Shapes in the Python Type System – Avik Chaudhuri – PyCon Typing Summit

https://pyrefly.org/blog/tensor-shapes-in-the-type-system/
1•ocamoss•18m ago•0 comments

Hetzner increased dedicated server prices 3-4x

9•enescakir•18m ago•0 comments

Data-Oriented Design

https://gamesfromwithin.com/data-oriented-design
1•tosh•18m ago•0 comments

Show HN: Concept-Vector – human-interpretable word embeddings

https://github.com/truehumanexe/concept_vector/tree/main
1•clejack•18m ago•1 comments

Roguelites and Gambling

https://iwhalen.com/rougelites-and-gambling/
1•iwhalen•19m ago•0 comments