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

Show HN: Control Claude Code, Codex, Pi and Gemini CLI from Telegram

https://github.com/choiyounggi/cliclaw
1•dch0202•47s ago•0 comments

A digestion of the proof of Sendov's conjecture

https://terrytao.wordpress.com/2026/08/12/a-digestion-of-the-proof-of-sendovs-conjecture/
1•surprisetalk•4m ago•0 comments

An Infinite Waltz – A Must Read (Docu-Video Audio/ Visual Adaptation Included)

https://iamwisdom.substack.com/p/an-infinite-waltz-the-dance-beyond
1•I_Am_Wisdom•8m ago•0 comments

The great silence: why haven't we found any aliens yet?

https://www.theguardian.com/news/2026/aug/11/the-great-silence-why-havent-we-found-any-aliens-yet
1•thm•9m ago•0 comments

Show HN: VeerHost – $1/month web hosting, limited spots

https://veerhost.com/1-dollar-web-hosting/
5•betterornotss•11m ago•0 comments

Phoebe Gates' startup Phia faces cookie stuffing allegations

https://www.bloomberg.com/news/articles/2026-08-11/phia-app-co-founders-pushed-for-features-takin...
1•saeranv•12m ago•0 comments

Show HN: Journal, Interstitial Journaling

https://journal.lasagna.pizza/
1•kinduff•14m ago•0 comments

Show HN: Lexicon AI – Exam-focused vocabulary journal for SAT and IELTS prep

https://lexicon-ai-journal.vercel.app/
1•wayne_14e•15m ago•0 comments

How to Look the Sky in the Face

https://www.raptitude.com/2026/08/how-to-look-the-sky-in-the-face/
1•inatreecrown2•16m ago•0 comments

Trump order lets US firms hack overseas groups under certain conditions

https://www.cnn.com/2026/08/13/politics/cyber-privateers-trump-order-overseas-groups-hacking
5•freditup•19m ago•0 comments

Apple trains its own AI model for China market with Alibaba's support

https://www.reuters.com/business/retail-consumer/apple-trains-its-own-ai-model-china-market-with-...
2•petethomas•19m ago•0 comments

RegExp /V in JavaScript: Sets, Intersections, and Unicode

https://www.jstools.space/blog/regexp-in-javascript/
1•javatuts•21m ago•0 comments

Trump's Gift to the Money Launderers

https://www.thebulwark.com/p/trumps-gift-to-the-money-launderers-database-treasury
3•computerliker•21m ago•0 comments

FieldRobin – AI-native field service software for small service businesses

https://fieldrobin.com
1•pdgrg•23m ago•0 comments

Counterstrike 1969 TV Series

https://archive.org/details/counterstrike-1969-tv-series
2•petethomas•29m ago•0 comments

Trump orders aircraft carrier redesign to use steam catapults to launch jets

https://www.theguardian.com/us-news/2026/aug/13/trump-aircraft-carriers-steam-catapults
4•decimalenough•29m ago•0 comments

Users of psychedelics narratively turn bad trips into valuable experiences

https://www.sciencedirect.com/science/article/pii/S0955395920303352#bib0056
3•MrJagil•32m ago•0 comments

The Making of Cursor's Icons

https://www.minoradventures.co/blog/the-making-of-cursors-icons
1•duck•33m ago•0 comments

Definium says LSD-based pill reduces anxiety in late-stage study

https://www.reuters.com/business/healthcare-pharmaceuticals/definium-says-lsd-based-pill-reduces-...
3•oliverulerich•33m ago•0 comments

Cicada.os, Graphene.os for Your Laptop

https://kpres12.github.io/Cicada.OS/
1•kpres62•38m ago•1 comments

How Claude's watermarking (probably) works

https://johnjwang.com/post/2026/08/12/how-claude-watermarking-probably-works/
1•882542F3884314B•43m ago•0 comments

Infodump about Monkey Island

https://pants.fishing
2•dmarinus•44m ago•0 comments

User reports show problems with LinkedIn

https://downdetector.com.au/status/linkedin/
1•hahahaa•45m ago•0 comments

Border blaster

https://en.wikipedia.org/wiki/Border_blaster
8•petethomas•54m ago•0 comments

Programing language faster than Python for ML (Jaithon 3.1)

https://github.com/abhiramasonny/jaithon
1•AbhiramaVS•54m ago•2 comments

Elon Musk is suing California over an AI law. Here's why transparency matters

https://www.sfchronicle.com/opinion/openforum/article/ai-data-law-california-22382698.php
4•newsomix9xl•55m ago•0 comments

Portable Doom (Shareware) in a Single 6MB HTML File via WASM

https://wasi-doom.netlify.app/
2•badfox•56m ago•1 comments

Show HN: A 3-page information-theoretic lower bound on random TSP

https://zenodo.org/records/21911759
1•Dori_Lee•56m ago•0 comments

Show HN: Liferay Stylebook token generator CLI (NPM)

https://www.npmjs.com/package/stylebook-token-generator
1•jay__proto•59m ago•0 comments

The Future of Libraries in BPF

https://lwn.net/Articles/1084869/
1•pykello•1h ago•0 comments