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•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

FFL – A portable Python CLI (via APE) to send files to any browser via WebRTC

https://github.com/nuwainfo/ffl
1•bear330•3m ago•1 comments

Show HN: Elecz – MCP server for real-time electricity prices in 40 countries

https://elecz.com/
1•zemloai•5m ago•0 comments

Windows 9x Subsystem for Linux

https://codeberg.org/hails/wsl9x
1•ibobev•5m ago•0 comments

What is your AI agent constantly doing wrong?

1•jesseduffield•6m ago•0 comments

Show HN: I mage GhosttyFX, a JavaFX terminal view that uses libghostty

https://github.com/vlaaad/ghosttyfx/
1•vlaaad•8m ago•0 comments

OpenAI faces lawsuit claiming chatbot gave advice that led to fatal overdose

https://www.reuters.com/legal/litigation/openai-faces-lawsuit-california-court-claiming-chatbot-g...
1•1vuio0pswjnm7•9m ago•0 comments

Meta loses court fight over compensation to Italian publishers

https://www.reuters.com/legal/litigation/meta-loses-court-fight-over-compensation-italian-publish...
1•1vuio0pswjnm7•11m ago•0 comments

AI Accelerates Old Failure Modes

https://thehardparts.dev/field-notes/ai-accelerates-old-failure-modes
1•ludovicianul•12m ago•0 comments

Hiking by Transit

https://hikingbytransit.com/
1•mooreds•12m ago•0 comments

Flux Matching – Generalizing diffusion models to non-scoring func vector fields

https://twitter.com/Xiaojie_Qiu/status/2054256268295213528
1•samuell•13m ago•0 comments

Show HN: Monghoul – Desktop MongoDB GUI with schema-aware autocomplete and MCP

https://monghoul.com/
2•kontsedal•13m ago•0 comments

All the ways to mock your Rust code

https://blog.appliedcomputing.io/p/all-the-ways-to-mock-your-rust-code
1•MrBuddyCasino•14m ago•0 comments

Show HN: I asked AI to write Sci-Fi for eternity

https://f055.net/thattimei/that-time-i-asked-ai-to-write-sci-fi-for-eternity/
2•f055•16m ago•0 comments

Every service should have a killswitch

https://www.seangoedecke.com/killswitches/
1•gautamsomani•17m ago•0 comments

What 262,715 regex questions on stack overflow haven't answered

https://iev.ee/blog/what-262715-regex-questions-havent-answered/
1•aw1621107•18m ago•1 comments

Distribution kept expiring. So I built 10 channels instead. Here's every loop

https://www.indiehackers.com/post/rented-distribution-kept-expiring-so-i-built-10-channels-i-own-...
1•max_unbearable•19m ago•0 comments

Bone-crushing hyenas are cleaning up city streets in Ethiopia

https://www.cnn.com/world/africa/bone-crushing-hyenas-cleaning-ethiopian-streets-spc
1•breve•22m ago•0 comments

Simple, zero overhead way to compress model, KV cache via Low-Rank Decomposition

https://jeffreywong20.github.io/a3.github.io/
1•thw20•23m ago•0 comments

Show HN: Hollow – A local multi-agent OS that builds its own tools

https://github.com/ninjahawk/hollow-agentOS
1•ninjahawk1•23m ago•0 comments

Local Transformer Language Model Running on GameBoy Color

https://github.com/maddiedreese/gbc-transformer
1•redbell•24m ago•0 comments

7 in 10 Americans oppose data centers being built in their communities

https://www.washingtonpost.com/nation/2026/05/13/7-10-americans-oppose-data-centers-being-built-t...
1•frb•25m ago•0 comments

Hyper-Frame – a custom iframe to embed a browser tab

https://www.hyper-frame.art/console
1•keepamovin•27m ago•0 comments

AMD DGF: An Open Geometry Compression Standard

https://gpuopen.com/learn/amd-dgf-an-open-geometry-compression-standard/
1•ibobev•28m ago•0 comments

Attribr

https://www.attribr.dev
1•SupaMRVL•30m ago•0 comments

The lasting influence of Netscape Time

https://thehistoryoftheweb.com/the-lasting-influence-of-netscape-time/
1•speckx•30m ago•0 comments

Tsjilp – AI as a silent communication assistant

https://www.tsjilp.me
1•hkuperus•35m ago•1 comments

I Got a Cisco 7942G

https://moonydev.xyz/blog/i_got_a_cisco_7942/
2•moonydev•35m ago•0 comments

Show HN: Before Upload – check files locally before sending them to AI tools

https://beforeupload.com/
3•ailef•35m ago•1 comments

Peter Norvig's 21 line spelling corrector using probability theory

https://impythonist.wordpress.com/2014/03/18/peter-norvigs-21-line-spelling-corrector-using-proba...
2•ibobev•35m ago•0 comments

Britain's hiring culture has become absurd

https://spectator.com/article/the-absurdity-of-britains-virtual-hiring-culture/
2•password54321•36m ago•0 comments