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

Mapping CVEs to Mitre ATT&CK Techniques

https://arxiv.org/abs/2607.25572
2•adulau•3m ago•1 comments

Folding Paper Globes

https://foldingglobes.com/globes
2•dango2506•4m ago•0 comments

U of T mathematician Jacob Tsimerman awarded prestigious Fields Medal

https://www.utoronto.ca/news/nobel-prize-mathematics-u-t-mathematician-jacob-tsimerman-awarded-pr...
1•gregsadetsky•5m ago•0 comments

Chemical recycling plants closing in EU and US

https://www.chemistryworld.com/news/chemical-recycling-plants-closing-in-eu-and-us/4023904.article
2•latexr•10m ago•0 comments

Preempting the Prefill

https://inmyhead.is/blog/preempting-the-prefill-part-1/
3•adityau19•11m ago•0 comments

Claude Chat Container

https://claude.ai/share/24074801-092c-4a9c-970f-e533f58e88cd
3•_continuation•14m ago•1 comments

Security Determination on the Threat Posed by Foreign-Produced Power Inverters [pdf]

https://www.fcc.gov/sites/default/files/power-inverter-fcc-determination.pdf
1•Stevvo•21m ago•0 comments

Google rivals line up seeking damages after record $1B EU fine

https://www.reuters.com/legal/litigation/google-rivals-line-up-seeking-damages-after-record-1-bil...
3•1vuio0pswjnm7•23m ago•0 comments

Why Christopher Nolan shot "The Odyssey" on IMAX film [video]

https://www.youtube.com/watch?v=1GEqDZ3hQSo
1•handfuloflight•24m ago•0 comments

eBay pays $46M to journalists it targeted in harassment campaign

https://arstechnica.com/tech-policy/2026/07/ebay-former-execs-pay-56m-to-settle-bloody-pig-mask-h...
4•robin_reala•25m ago•1 comments

Dreams Drain Energy: The REM Sleep Paradox

https://www.tohoku.ac.jp/en/press/dreams_drain_energy_the_rem_sleep_paradox.html
2•giuliomagnifico•25m ago•0 comments

Raw Data, Wrong Answers

https://www.theclimatebrink.com/p/raw-data-wrong-answers
1•adrianN•25m ago•0 comments

Web Rendering in Iced: What Works

https://gofranz.com/blog/web-rendering-in-iced-what-actually-works/
1•chironjit•27m ago•0 comments

Kids who own phones have poorer reading comprehension scores than those who dont

https://newsroom.ucla.edu/releases/owning-a-cell-phone-associated-with-poorer-reading-comprehensi...
2•JeanKage•28m ago•0 comments

Paseo: Open-source desktop and mobile app for TUI coding agents (Codex, CC)

https://paseo.sh/
1•maxloh•28m ago•0 comments

Towards Automating Eval Engineering

https://twitter.com/Vtrivedy10/status/2079976006644072796
1•gmays•29m ago•0 comments

Show HN: FOSS sandbox platform for zero trust remote access without secrets

https://github.com/octelium/cordium
1•geoctl•30m ago•0 comments

Google reported its first negative quarter since going public

https://finance.yahoo.com/technology/ai/articles/google-spent-490-million-day-163000234.html
4•mgh2•35m ago•1 comments

Grammar.lol: open-source Grammarly using existing ChatGPT or Grok Subscription

https://grammar.lol
2•KitN•36m ago•1 comments

WhatsApp Opening:Threema Rejects Integration Not Just Because of Data Protection

https://www.heise.de/en/news/WhatsApp-Opening-Threema-Rejects-Integration-Not-Just-Because-of-Dat...
1•Markoff•37m ago•1 comments

New airliner sets record flying 24 hrs nonstop from Australia to France

https://arstechnica.com/gadgets/2026/07/new-airliner-sets-record-flying-24-hrs-nonstop-from-austr...
8•divbzero•52m ago•1 comments

Show HN: PR review time decreased by N3MO:impact analyzer (15 days free trial)

https://n3mo.vercel.app
2•RajX_dev•53m ago•1 comments

PJM board proposes backstop capacity auction, data center curtailment plans

https://finance.yahoo.com/energy/articles/pjm-board-proposes-backstop-capacity-100932204.html
2•measurablefunc•55m ago•0 comments

China tests largest superconducting fusion magnets ever built

https://theprint.in/india/breakthrough-china-artificial-sun-project-6-5-tesla-magnet/2999321/
5•soniman•58m ago•0 comments

More Tailscale tricks for your jailbroken Kindle

https://tailscale.com/blog/jailbroken-kindle-proxy-tun-modes
52•Error6571•58m ago•1 comments

Show HN: Firemaps Spain – Live wildfire map with wind flow for ES and PT

https://firemapsspain.online/
2•kalamarico•1h ago•0 comments

Manganin: Tools Matter

https://blog.manganin.dev/blog/tools-matter/
2•ai2027•1h ago•0 comments

Israel Is Paying Millions to Train AI Chatbots How to Talk About Gaza

https://www.dropsitenews.com/p/israel-brad-parscale-ai-chatbots-gaza
15•jaykru•1h ago•2 comments

Cross-platform Shadow AI: Find, score, and report unmanaged AI

https://www.npmjs.com/package/@guardion/shadow-ai
2•rflsandroni•1h ago•0 comments

Show HN: Wordknots

https://wordknots.barapa.dev/
2•barapa•1h ago•0 comments