frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Inception: Automatic Rust Trait Implementation by Induction

https://github.com/nicksenger/Inception
4•bietroi•2h ago
Hi HN,

I thought this would be a good place to share a little puzzle I've been working on. Inception is a Rust library that helps you share behaviors in Rust using structural induction. Practically, this means that instead of having a derive macro for each behavior, a single derive can be used to enable any number of behaviors. It doesn't do this using runtime reflection, but rather type-level programming - so there is monomorphization across the substructures, and (at least in theory) no greater overhead than with macro expansion.

While there are a lot of things missing still and the current implementation is very suboptimal, I'd say it proves the general concept for common structures. Examples of Clone/Eq/Hash/etc replicas implemented in this way are provided.

The code is not idiomatic, which is my biggest reservation about continuing this work. It was fun to prove, but is not so fun to _improve_, as it feels a bit like swimming upstream. In any case I hope some of you find it interesting!

Knowledgeable Embedding: Injecting entity knowledge into embedding to boost RAG

https://github.com/knowledgeable-embedding/knowledgeable-embedding
1•ikuyamada•53s ago•0 comments

What Xi hosting Modi and Putin reveals about China's plans for a new world orde

https://theconversation.com/what-xi-jinping-hosting-modi-and-putin-reveals-about-chinas-plans-for...
1•andsoitis•1m ago•0 comments

How to automatically switch the IME when typing non-English in IntelliJ IDE

https://github.com/xiaolvpuzi/SmartInputPro
1•xxxtai•2m ago•1 comments

MegaRace, CD-ROM, FMV, and the Multimedia Dream of the 1990s

https://retro365.blog/2025/08/29/megarace-cd-rom-fmv-and-the-multimedia-dream-of-the-1990s/
1•Michelangelo11•4m ago•0 comments

Cute Aggression

https://en.wikipedia.org/wiki/Cute_aggression
1•jameslk•6m ago•0 comments

AP reporting calls into question why and how Israel attacked a Gaza hospital

https://apnews.com/article/israel-palestinians-hamas-war-strikes-hospital-journalists-75e79272f3a...
1•hebelehubele•7m ago•0 comments

Document programming in Typst and LuaLaTeX: some examples

https://lee-phillips.org/TLexamples/
1•leephillips•7m ago•0 comments

Abundance: Big Tech's Bid for the Democratic Party

https://newintermag.com/abundance-big-techs-bid-for-the-democratic-party/
1•panic•19m ago•0 comments

Why SaaS Pricing Pages Fail (and How to Fix Yours)

https://dnsk.work/blog/pricing-page-redesign/
1•lelanthran•21m ago•0 comments

How Do Committees Invent? – Melvin E. Conway (1968)

https://www.melconway.com/research/committees.html
1•thunderbong•23m ago•1 comments

Evidentiality

https://en.wikipedia.org/wiki/Evidentiality
1•benbreen•27m ago•0 comments

What if you procrastinate because your imagination sucks?

https://substack.com/@josepheverettwil/p-169440720
1•rajlego•34m ago•0 comments

Show HN: Lattix 1.2.1 – Why launch apps one by one?

https://www.lattix.app
1•AbjMV•37m ago•0 comments

Linux – Recreating old problems with new tools

https://www.dedoimedo.com/computers/linux-old-problems-new-solutions.html
2•XzetaU8•42m ago•1 comments

Microsoft open-sources Bill Gates' 6502 BASIC from 1978

https://arstechnica.com/gadgets/2025/09/microsoft-open-sources-bill-gates-6502-basic-from-1978/
2•pabs3•42m ago•1 comments

Rug pulls, forks, and open-source feudalism

https://lwn.net/SubscriberLink/1036465/e80ebbc4cee39bfb/
2•pabs3•48m ago•0 comments

I Minimized a Rust Binary to Under 0.5% of Its Original Size

https://github.com/realJoshByrnes/rusticle
1•ozjd•50m ago•1 comments

A Claude Code 5-hour limit Tracker

https://cctimer.netlify.app
1•geethikaisuru•52m ago•3 comments

ICFP Programming Contest 2025

https://icfpcontest2025.github.io/
3•perihelions•1h ago•0 comments

The Mass Shooters Are Performing for One Another

https://www.theatlantic.com/technology/archive/2025/09/minneapolis-church-shooting-influencers/68...
3•JumpCrisscross•1h ago•0 comments

Use singular nouns for database table names

https://www.teamten.com/lawrence/programming/use-singular-nouns-for-database-table-names.html
1•vinhnx•1h ago•1 comments

Florida Decided There Were Too Many Children

https://www.theatlantic.com/newsletters/archive/2025/09/florida-vaccine-children-mandate/684110/
3•JumpCrisscross•1h ago•0 comments

Tesla Wants Out of the Car Business

https://www.theatlantic.com/technology/archive/2025/09/tesla-elon-musk-master-plan-robotaxi/684122/
2•JumpCrisscross•1h ago•0 comments

In football, which is better: youth or experience?

https://blog.engora.com/2025/09/old-experienced-vs-young-and-energetic.html
1•Vermin2000•1h ago•1 comments

Is your steak dead? [video]

https://www.youtube.com/watch?v=xSCl_FBbq_E
1•yonatan8070•1h ago•0 comments

Ipsaya-Your intellectual property query expert

https://www.myipinquire.com/
1•yayahong•1h ago•1 comments

Real ID: Fear, Federalism, and the US National ID Program [video]

https://www.youtube.com/watch?v=oAd99oq526M
1•danboarder•1h ago•0 comments

Qualcomm teams up with BMW for hands-free driving

https://www.theverge.com/news/771917/qualcomm-bmw-snapdragon-ride-pilot-adas
2•granto•1h ago•0 comments

Writing Mac and iOS Apps Shouldn't Be So Difficult

https://inessential.com/2025/08/28/easy-app-writing.html
3•goranmoomin•1h ago•0 comments

Internet Gaming Zone restoration project

https://sat.do/zone/
1•fewcha_hendrix•1h ago•1 comments