frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•8mo ago

Comments

cherryteastain•8mo 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•8mo 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

Declassified cable estimates 10k killed at Tiananmen Square (2017)

https://www.axios.com/2018/01/05/declassified-cable-estimates-10000-killed-at-tiananmen-square-15...
1•simonebrunozzi•1m ago•0 comments

Computing's Energy Problem (and what we can do about it) (2014) [pdf]

https://gwern.net/doc/cs/hardware/2014-horowitz-2.pdf
1•thomasjb•1m ago•0 comments

AI Destroys Institutions (2025)

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=5870623
1•felineflock•2m ago•0 comments

OBS Studio 32.1.0 Beta 1 available

https://github.com/obsproject/obs-studio/releases/tag/32.1.0-beta1
2•Sean-Der•2m ago•0 comments

A substitute for thinking

https://federicopereiro.com/substitute-thinking/
1•swah•2m ago•0 comments

The Quest to Chart the Sea

https://www.economist.com/interactive/international/2025/12/22/the-quest-to-chart-the-sea
1•andsoitis•4m ago•0 comments

The Imitation Game: Using LLMs as Chatbots to Combat Chat-Based Cybercrimes

https://arxiv.org/abs/2512.21371
1•PaulHoule•4m ago•0 comments

ExoActive: Exoskeleton for trades people from Festool (2024)

https://www.festoolcanada.com/campaigns/microsites/exoactive
2•bhouston•5m ago•1 comments

The XOR Cache: A Catalyst for Compression

https://dl.acm.org/doi/10.1145/3695053.3730995
1•blakepelton•6m ago•1 comments

Show HN: Ctrl – Open-source AI OS where each app has an AI that knows its data

https://github.com/CtrlAIcom/ctrl
1•rado12•7m ago•1 comments

Ask HN: Why do you think the web of the noughties was better than it is now?

1•trwhite•10m ago•0 comments

AI to turn YT Videos into Bullet points

https://github.com/francescovaglia/kliply
1•francescovaglia•10m ago•0 comments

GitHub Actions Degraded

https://www.githubstatus.com/incidents/5ccghcfrkv39
1•nilsjansen•10m ago•0 comments

What does it take to ship Rust in safety-critical?

https://blog.rust-lang.org/2026/01/14/what-does-it-take-to-ship-rust-in-safety-critical/
1•miniBill•13m ago•0 comments

Gemini is Winning

https://www.theverge.com/ai-artificial-intelligence/861863/google-gemini-ai-race-winner
1•youtubeuser•14m ago•0 comments

Vector Similarity Search in DuckDB (2024)

https://duckdb.org/2024/05/03/vector-similarity-search-vss
1•tosh•14m ago•0 comments

My AI got a GitHub account

https://www.maragu.dev/blog/my-ai-got-a-github-account
1•noperator•14m ago•0 comments

Report Shows Uber and DoorDash Drove $550M in Delivery Worker Pay Losses

https://www.nyc.gov/site/dca/news/005-26/dcwp-report-shows-uber-doordash-drove-550-million-delive...
1•buellerbueller•15m ago•1 comments

Show HN: Romek – CLI to inject local Chrome cookies into headless Playwright

https://github.com/jacobgadek/romek
1•jacobgadek•16m ago•1 comments

Locust swarms destroy crops – scientists found a way to stop it

https://news.asu.edu/20260115-environment-and-sustainability-locust-swarms-destroy-crops-scientis...
2•geox•16m ago•0 comments

I Used Claude Code to Build My Planning System (So I Could Stop Planning)

https://marialearns.substack.com/p/how-i-used-claude-code-to-build-my
1•jackpep•17m ago•0 comments

Ask HN: Audio analysis models, how to train to learn sound patters?

1•thedangler•18m ago•0 comments

Mystery sounds under review for signs of extraterrestrial life

https://www.popsci.com/science/mystery-seti-sounds-extraterrestrial-life/
1•Brajeshwar•18m ago•0 comments

Why almost no homes burned in LA have been rebuilt since last year's fires

https://grist.org/housing/la-homes-not-rebuilt-after-last-years-wildfires/
1•Brajeshwar•18m ago•0 comments

Why child prodigies rarely become elite performers

https://www.economist.com/science-and-technology/2026/01/14/why-child-prodigies-rarely-become-eli...
2•Brajeshwar•18m ago•0 comments

AWS Serverless: Still the Boring Correct Choice

https://nexo.sh/posts/aws-serverless-boring-correct-choice/
1•nexo-v1•19m ago•0 comments

Trump Threatens to Invoke Insurrection Act in Response to Minnesota Protests

https://www.wsj.com/politics/policy/trump-minnesota-insurrection-act-98e11761
3•perihelions•20m ago•0 comments

Filetypes and Airports

https://airports.swtch.tel/
1•firloop•20m ago•0 comments

Can Wikipedia Survive?

https://www.ft.com/content/513761bb-3b6c-4b32-9931-a34f01047558
1•alephnerd•20m ago•1 comments

Snowtree: Review-Driven Safe AI Coding

https://www.bohutang.me/2026/01/10/snowtree-review-driven-safe-ai-coding/
1•xiaohanyu•20m ago•0 comments