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: Hostflip – a macOS /etc./hosts switcher that detects external edits

https://github.com/heronapp/hostflip
1•heroncoder•4m ago•0 comments

Weaponizing Defender's Remediation Driver as a Kernel Operation Primitive

https://research.checkpoint.com/2026/btr-reforged-weaponizing-defenders-remediation-driver-as-a-k...
1•janandonly•8m ago•0 comments

DumpsterCluster: From Dumpster Diving to Serving Llama-70B on $60 GPUs

https://arxiv.org/abs/2608.14614
1•montalbano•9m ago•0 comments

I miss the old Claude Code

https://alexkras.com/focus-is-the-main-feature-why-i-miss-the-old-claude-code/
1•akras14•10m ago•0 comments

Gaming with a cast iron drill press, a mouse, and an ESP-32 [video]

https://www.youtube.com/watch?v=-8ZY74LW4W4
2•proftom•13m ago•0 comments

The wise do not hurry the seasons

1•peibin•14m ago•1 comments

Grok Build Lets Anyone Create Websites and Apps Without Knowing How to Code

https://moztako.me/grok-build-create-websites-apps-without-coding/
1•Jefmz•15m ago•0 comments

All Your Parking Tickets Are Belong to Me

https://www.jack.bio/blog/parkingtickets
1•7777777phil•16m ago•0 comments

Show HN: PostRank – Paid Leaderboard with Comments, Boosts, and Earned Credit

https://postrank.lol
1•anand_murugan•20m ago•0 comments

I turned my Mac into a “dumb” computer

https://javaman.bearblog.dev/computer/
2•Gecko4072•21m ago•0 comments

Show HN: Spinifex – run EC2/S3/IAM/EKS on your own hardware, AWS CLI unchanged

https://github.com/mulgadc/spinifex
4•toddyholiday•22m ago•0 comments

Show HN: Scribble/write on your desktop, with any phone/tablet

https://expressed.effective-flow.com
1•johncclayton•22m ago•0 comments

Olympic breakdancer Raygun says therapy helped after going viral

https://www.cnn.com/2026/08/25/entertainment/raygun-documentary-netflix-rachael-gunn-breakdance
1•Tomte•23m ago•1 comments

Musk's X Corp loses lawsuit against Israeli data-scraping company (2024)

https://www.reuters.com/legal/musks-x-corp-loses-lawsuit-against-israeli-data-scraping-company-20...
2•Markoff•24m ago•2 comments

Flow AI Video Generator

https://ai-flow.video
1•graphZen•25m ago•0 comments

Email Verification API

https://github.com/WICG/email-verification
1•nreece•28m ago•0 comments

Mold: A Parallel Linker

https://arxiv.org/abs/2608.23228
1•dannas•29m ago•1 comments

Chronic Illness Climbs Closer to a Former Nuclear Site in California

https://www.sra.org/2026/08/14/chronic-illness-climbs-closer-to-a-former-nuclear-site-in-california/
2•geox•29m ago•0 comments

Norway's digital government services hit by repeated DDoS

https://forgeeks.net/norway-government-ddos-attack/
3•ledoncool•30m ago•0 comments

Prison Gothic – Hong Kong Typeface

https://en.wikipedia.org/wiki/Prison_Gothic
1•keiferski•32m ago•0 comments

Someone just published open knowledge base

https://github.com/mo-root/open-kb
1•moroot•33m ago•0 comments

Two unvaccinated people in Pennsylvania are first measles-related 2026 US deaths

https://www.cnn.com/2026/08/25/health/measles-deaths-pennsylvania
5•helsinkiandrew•36m ago•0 comments

Nvidia Jetson Orin-guided Russian AI drone killed three civilians in Ukraine

https://www.tomshardware.com/tech-industry/drones/nvidia-jetson-orin-guided-the-russian-ai-drone-...
4•sbulaev•38m ago•0 comments

Apple Mac Studio M5 Ultra with 1.2TB/S Memory Bandwidth

https://www.apple.com/mac-studio/
2•itchingsphynx•39m ago•0 comments

Another DDoS attack against Norwegian government IT infrastructure – status

https://status.digdir.no/incidents/d7tgwqgzd742
4•omBratteng•42m ago•0 comments

Show HN: Launched free browser agent (the catch: ads)

https://rtrvr.ai
1•arjunchint•42m ago•0 comments

Can AI Music Tools Replace Epidemic Sound? An Honest Look

https://www.musegen.ai/blog/ai-music-vs-epidemic-sound
1•musegenai01•43m ago•0 comments

Show HN: Multiplayer Laser Simulator

https://prismaduel.com/
3•maxberggren•47m ago•1 comments

Chinese government fears talking to AI might replace human intimacy

https://www.theguardian.com/world/2026/aug/26/china-ai-companion-relationships-marriage-birth-rat...
3•fittingopposite•47m ago•2 comments

Turn Any Image into JPEG XL. Free and Private

https://anyjxl.com/
1•johnnyApplePRNG•50m ago•0 comments