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

Comments

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

Pyptx – Write PTX Kernels in Python

https://github.com/patrick-toulme/pyptx
1•bobrenjc93•1m ago•0 comments

Show HN: LoreData – generate lore-accurate personas from pop culture universes

https://loredata.orchidfiles.com/
1•theorchid•2m ago•0 comments

Ask HN: Is anyone using Zoho, Lark or Proton?

1•wasimsk•4m ago•0 comments

Blog prize for big questions about AI

https://www.dwarkesh.com/p/blog-prize
1•gmays•4m ago•0 comments

The Professors Are Using ChatGPT, and Some Students Aren't Happy About It

https://www.nytimes.com/2025/05/14/technology/chatgpt-college-professors.html
1•coldsunrays•7m ago•0 comments

Show HN: Routiium – self-hosted LLM gateway with a tool-result guard

https://github.com/labiium/routiium
1•deadpixel•7m ago•0 comments

Agent-World: Scaling RW Environment Synthesis for General Agent Intelligence

https://agent-tars-world.github.io/-/
1•gmays•8m ago•0 comments

Context Is Finite. Who Maintains It?

https://blog.gchinis.com/posts/2026/04/self-organizing-agents/
1•gchinis•8m ago•0 comments

Release PiClaw v2.0.1 – Ferrix

https://github.com/rcarmo/piclaw/releases/tag/v2.0.1
1•rcarmo•12m ago•0 comments

Trump ousts National Science Board members

https://www.washingtonpost.com/science/2026/04/25/national-science-board-members-dismissed/
3•acdha•13m ago•0 comments

Is the World Ready for a Car Without a Rear Window?

https://www.wsj.com/lifestyle/cars/polestar-4-dan-neil-review-407f11a6
1•bookofjoe•16m ago•1 comments

Why your AI assistant is suddenly selling to you

https://www.economist.com/business/2026/04/19/why-your-ai-assistant-is-suddenly-selling-to-you
1•edward•16m ago•0 comments

Automate TLS for Dynamic Domains with Traefik and Hetzner DNS

https://matija.eu/posts/dynamic-domain-certs-traefik-hetzner/
1•mmunj•17m ago•0 comments

AI Might Be Lying to Your Boss

https://williamoconnell.me/blog/post/ai-ide/
3•annjose•18m ago•0 comments

Go quirks: function closures capturing mutable references

https://rednafi.com/go/closure-mutable-refs/
1•Brajeshwar•18m ago•0 comments

Can you stop beans from making you gassy?

https://www.seriouseats.com/how-to-reduce-bean-gas-tested-11883862
1•jstrieb•20m ago•0 comments

Show HN: The Order of the Agents – Make Codex and Claude Create the Perfect PRD

https://github.com/btahir/agent-order
1•bilater•23m ago•0 comments

RFC: Oden: The Server-First, JavaScript-Esque Runtime

https://rfchub.com/phobos/rfc5-oden-the-server-first-javascript-esque-runtime
1•tlhunter•26m ago•0 comments

The U.K. Smoking Ban Is Illiberal

https://www.theatlantic.com/ideas/2026/04/case-against-uk-smoking-ban/686949/
3•JumpCrisscross•26m ago•1 comments

Building Semantic Version Control in Rust

https://therohansharma.com/semantic-version-control-rust
1•lukastyrychtr•28m ago•0 comments

Logs say success. The system says otherwise

https://blog.bridgexapi.io/why-your-logs-say-everything-worked-even-when-it-didnt
1•Bridgexapi•29m ago•1 comments

Show HN: Good AI Task – a tool for asking AI what it can and can't do

https://goodaitask.com
1•jmt710•30m ago•0 comments

Nicholas Carlini – Black-hat LLMs [video]

https://www.youtube.com/watch?v=1sd26pWhfmg
8•simonebrunozzi•33m ago•0 comments

Show HN: Useknockout open source background removal API 40× cheaper -remove.bg

https://github.com/useknockout/api
3•tlorents•34m ago•0 comments

Show HN: AI Visibility Monitor – Track if your site gets cited by GPT/Claude

https://github.com/WorkSmartAI-alt/ai-visibility-monitor
3•balance006•34m ago•0 comments

Check Cloudflare D1, R2, Workers usage – see remaining limits for today/month

https://dialtoneapp.com/cloudflare
3•fcpguru•37m ago•1 comments

LLM-Rosetta: Zero-Dep API Translator for OpenAI, Anthropic, Google and Streaming

https://github.com/Oaklight/llm-rosetta
2•Oaklight•40m ago•0 comments

Artifacts Are Alive (and Photographs Are Dead)

https://worksonmymachine.ai/p/artifacts-are-alive-and-photographs
5•Stwerner•43m ago•1 comments

Show HN: Mapping Sonnet's thinking process via flame charts

https://adamsohn.com/lambda-variance/
2•dataviz1000•43m ago•0 comments

You're about to feel the AI money squeeze

https://www.theverge.com/ai-artificial-intelligence/917380/ai-monetization-anthropic-openai-token...
4•negura•44m ago•1 comments