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

Early results show 65% fewer input tokens overall

https://github.com/cauebraz/squeeze/tree/main/bench
1•cauebraz•2m ago•0 comments

Drone Strikes Didn't Take Out Russian Bot Farm, but We Were Primed to Believe It

https://www.motherjones.com/politics/2026/10/ukraine-drone-strike-yandex-russian-bot-farm-right-w...
1•ggm•2m ago•0 comments

Visa gets Beijing's green light for bank card business

https://www.cnbc.com/2026/10/13/visa-china-green-light-bank-card-business-.html
1•lxm•3m ago•0 comments

Show HN: Brutus CLI – Tiny Dagger to Kill Your Mac's Caesar

https://github.com/smashah/brutus
3•smashah•4m ago•0 comments

Light Touch: a classic iOS device emulator (iOS 1–7)

https://github.com/samhenrigold/LightTouchMac
2•ghoulishly•7m ago•0 comments

Why robots can't pick strawberries yet [video]

https://www.youtube.com/watch?v=TumxO2glmPQ
2•xqcgrek2•8m ago•0 comments

Nvidia Reportedly Ending the RTX 5090, Reserves GB202 for Workstation GPUs

https://www.techpowerup.com/353578/nvidia-reportedly-ending-the-rtx-5090-reserves-gb202-silicon-f...
3•kristianp•15m ago•1 comments

Original iPhone OS 1.0 Emulated in the Browser

https://2007.mobile/
3•tech234a•15m ago•0 comments

AI Scaling vs. Human Scaling

https://www.tobyord.com/writing/ai-scaling-vs-human-scaling
3•gmays•17m ago•0 comments

Ask HN: What do you think will be hot in 2027 with on-device AI

2•mrburton•20m ago•0 comments

An Open Letter on AI and Cybersecurity from the Scientific Community

https://ai-security-letter.org/
5•qainsights•22m ago•0 comments

Show HN: Can AI read your mind?

https://jeffyclassify.com/blog/mind-reader/
4•nico•27m ago•2 comments

Everything New in OpenCode 2.0

https://www.augmentedswe.com/p/whats-new-in-opencode-2
2•wordsaboutcode•27m ago•1 comments

It Could Be Otherwise: Science in the Age of Uncertainty

https://blue-continuum.com/it-could-have-been-otherwise
4•dnetesn•28m ago•0 comments

Show HN: AI Hub – Open Access Lesson Plans for Teaching Students about AI

https://aihub.remakelearning.org/
4•gault8121•36m ago•0 comments

Show HN: The LAST DOOR – a tiny game about deciding when to leave

https://sydro.surge.sh/lastdoor/
4•sydro9•44m ago•0 comments

Borrowing Strength (Drug Dosing)

https://arenamag.com/articles/borrowing-strength
4•elo2000•45m ago•0 comments

Show HN: PDF to ePub Conversion Tool for Mac

https://github.com/bnlcas/pdf2epub
4•blululu•47m ago•0 comments

Apples to Apples: Getting Type Mappings Right in LLM-Based Code Translation

https://www.codemetal.ai/research/apples-to-apples-getting-type-mappings-right-in-llm-based-code-...
7•matt_d•48m ago•0 comments

Learning What to Investigate Next: Meta-Reasoning for Long-Horizon Agents

https://arxiv.org/abs/2610.02525
5•matt_d•51m ago•0 comments

KBEmacs, MIT's Programmer's Apprentice, Reanimated

https://github.com/jeffshrager/kbemacs
3•abrax3141•53m ago•0 comments

Ask HN: Where has creativity in software gone?

6•piratesAndSons•53m ago•7 comments

Show HN: Built a Rome City Builder

https://tiberava.pages.dev/
10•granga•53m ago•0 comments

DOJ arrests 2, seizes 187 devices in North Korean laptop farm crackdown in Texas

https://www.reuters.com/legal/government/doj-arrests-two-seizes-187-devices-north-korean-laptop-f...
6•usernomdeguerre•57m ago•0 comments

I built a tool to track what AI leaders say and how their views change on video

https://blumify.io/people
8•gcsydney•58m ago•0 comments

High-speed video reveals how honey bee stingers pump venom

https://arstechnica.com/science/2026/10/honey-bee-stingers-are-double-piston-venom-pumps/
5•gumby•1h ago•0 comments

Character.ai files for Chapter 11 bankruptcy. Disney makes a bid

https://www.cnbc.com/2026/10/13/character-ai-chapter-11-disney-bid.html
1•Gaishan•1h ago•1 comments

The Feeling of Power

https://hex.ooo/library/power.html
3•layer8•1h ago•0 comments

1 in 8B: A Life Simulation Game

https://1in8b.life/en/
5•nogajun•1h ago•0 comments

Fine-tuning decision models – Server Logs and IoT Fleets

https://hive.technology/lab-notes/fine-tune-decision-models/
3•tylermhall•1h ago•0 comments