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: Wirewright, an experimental symbolic physics environment

https://github.com/wirewright/wirewright
1•homonoidian•2m ago•0 comments

HiFi/Stereo Review-Stereo Review – Audiophile Magazine from 1958 to 1999

https://www.worldradiohistory.com/Archive-All-Audio/HiFI-Stereo-Review.htm
1•PopAlongKid•9m ago•1 comments

Show HN: Phileas – Local-first long-term memory for the AI you chat with

https://github.com/alexajuno/phileas
1•alexajuno•10m ago•0 comments

Jets were 300 feet apart in Boston close call that forced Delta flight to abort

https://www.pbs.org/newshour/nation/jets-were-300-feet-apart-in-boston-close-call-that-forced-del...
1•abixb•11m ago•0 comments

New Super Pac Aims to Rally Tech Workers to Help Limit A.I

https://www.nytimes.com/2026/06/18/technology/ai-super-pac-guardrails-alliance.html
2•reasonableklout•13m ago•0 comments

Napoleon Was a Guitarist

https://www.yamaha.com/en/musical_instrument_guide/classical_guitar/trivia/
2•thunderbong•22m ago•0 comments

Bean – a portable convergence gate for agent work

https://github.com/grainulation/bean/
3•woptober•28m ago•0 comments

Spas Were a Mistake (2022)

https://gomakethings.com/articles/spas-were-a-mistake/
1•kristianp•28m ago•0 comments

FoodFavs

https://foodfavs-euq7bgdf.manus.space/
1•pteridactlecdt•30m ago•0 comments

Show HN: TaxLens – free lodging-tax API for hotels, OTAs, and property managers

https://taxlens.getdynamiq.ai
1•vitalii-duk•31m ago•0 comments

A dead simple personal website engine for developers focused on simplicity

https://github.com/iam-mhaseeb/koji
3•iamhaseeb•33m ago•0 comments

Nix-build in under 100 lines

https://fzakaria.com/2026/06/21/nix-build-in-under-100-lines
2•undeveloper•34m ago•0 comments

AStarGrid2D in Godot 4: The Complete Reference

https://vav-labs.com/blog/astargrid2d-complete-reference/
2•Vav-Labs•36m ago•0 comments

Show HN: ANMA, boundary contracts for cheaper AI coding agents

https://github.com/anma-labs/anma
1•nxy•36m ago•0 comments

Show HN: AI Colours

https://github.com/pilotpirxie/ai-colours
1•__natty__•36m ago•0 comments

Ask HN: What would justify writting an OS kernel in 2026?

3•alonsovm44•38m ago•2 comments

Show HN: PeekAI – Local-first observability for Python AI agents

https://github.com/oussamaKH63/peekai
1•ousskh63•39m ago•0 comments

Petition against Meta's employee training data collection for ML models

https://mcipetition.com/
2•reasonableklout•43m ago•0 comments

Show HN: Lupen – an itemized, verified receipt for Claude Code and Codex spend

https://github.com/momoraul/Lupen
1•momoraul•45m ago•0 comments

Riddle solved: Why was Roman concrete so durable? (2023)

https://news.mit.edu/2023/roman-concrete-durability-lime-casts-0106
1•Jakob•47m ago•0 comments

Tech Workers Are Fighting Against Silicon Valley's AI Push

https://www.techpolicy.press/tech-workers-are-fighting-against-silicon-valleys-ai-push/
4•reasonableklout•48m ago•1 comments

Falcon GX the most powerful brand engineering tool

https://falcon.so/
1•cts-i-cts-d•49m ago•0 comments

China's Z.ai open-sourced a frontier coding model as Washington bans it rival

https://startupfortune.com/chinas-zai-open-sourced-a-frontier-coding-model-the-same-day-washingto...
3•insanetech•49m ago•1 comments

Machine Studying

https://jacobxli.com/blog/2026/machine-studying/
1•meander_water•51m ago•0 comments

PivCo-Huffman "Merge" Operations

https://fgiesen.wordpress.com/2026/06/21/pivco-huffman-merge-operations/
1•luu•52m ago•0 comments

Against the Survival of the Prettiest

https://worksinprogress.co/issue/against-the-survival-of-the-prettiest/
1•Jimmc414•53m ago•0 comments

The Parent Uprising Against Screen Time at School

https://www.wsj.com/us-news/education/school-technology-screens-parents-9fc7384b
1•JumpCrisscross•53m ago•0 comments

Lithp.py (~2008)

https://fogus.me/fun/lithp/
2•wglb•54m ago•0 comments

Keystone – deterministic execution vault with replay‑verifiable proof

https://github.com/cryptictyrant519/keystone-proof
1•DevTyrant519•55m ago•0 comments

TimeFlies – convert flight info to calendar

https://ozgur.ca/projects/time-flies
1•sedatk•56m ago•0 comments