frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Why is Zig so cool?

https://nilostolte.github.io/tech/articles/ZigCool.html
318•vitalnodo•9h ago•189 comments

Snapchat open-sources Valdi a cross-platform UI framework

https://github.com/Snapchat/Valdi
237•yehiaabdelm•8h ago•71 comments

Becoming a Compiler Engineer

https://rona.substack.com/p/becoming-a-compiler-engineer
209•lalitkale•11h ago•89 comments

Friendly Attributes Pattern in Ruby

https://brunosutic.com/blog/ruby-friendly-attributes-pattern
12•brunosutic•5d ago•0 comments

Myna: Monospace typeface designed for symbol-heavy programming languages

https://github.com/sayyadirfanali/Myna
258•birdculture•14h ago•121 comments

How to find your ideal customer, right away

https://www.reifyworks.com/writing/2023-01-30-iicp
29•mrbbk•4d ago•3 comments

Immutable Software Deploys Using ZFS Jails on FreeBSD

https://conradresearch.com/articles/immutable-software-deploy-zfs-jails
69•vermaden•8h ago•22 comments

How did I get here?

https://how-did-i-get-here.net/
203•zachlatta•12h ago•36 comments

Why I love OCaml (2023)

https://mccd.space/posts/ocaml-the-worlds-best/
323•art-w•18h ago•222 comments

Ruby Solved My Problem

https://newsletter.masilotti.com/p/ruby-already-solved-my-problem
219•joemasilotti•14h ago•89 comments

Local First Htmx

https://elijahm.com/posts/local_first_htmx/
33•srid•6h ago•15 comments

Making Democracy Work: Fixing and Simplifying Egalitarian Paxos

https://arxiv.org/abs/2511.02743
3•otrack•1h ago•0 comments

Running a 68060 CPU in Quadra 650

https://github.com/ZigZagJoe/Macintosh-Q650-68060
39•zdw•7h ago•12 comments

YouTube Removes Windows 11 Bypass Tutorials, Claims 'Risk of Physical Harm'

https://news.itsfoss.com/youtube-removes-windows-11-bypass-tutorials/
589•WaitWaitWha•12h ago•210 comments

FSF40 Hackathon

https://www.fsf.org/events/fsf40-hackathon
77•salutis•5d ago•2 comments

Apple's "notarisation" – blocking software freedom of developers and users

https://fsfe.org/news/2025/news-20251105-01.en.html
50•DavideNL•3h ago•22 comments

Venn Diagram for 7 Sets

https://moebio.com/research/sevensets/
123•bramadityaw•3d ago•28 comments

How a devboard works (and how to make your own)

https://kaipereira.com/journal/build-a-devboard
70•kaipereira•10h ago•20 comments

Angel Investors, a Field Guide

https://www.jeanyang.com/posts/angel-investors-a-field-guide/
138•azhenley•15h ago•29 comments

Transducer: Composition, abstraction, performance (2018)

https://funktionale-programmierung.de/en/2018/03/22/transducer.html
95•defmarco•3d ago•3 comments

Show HN: Find matching acrylic paints for any HEX color

https://acrylicmatch.com/
20•dotspencer•4d ago•8 comments

Can you save on LLM tokens using images instead of text?

https://pagewatch.ai/blog/post/llm-text-as-image-tokens/
18•lpellis•6d ago•8 comments

Cerebras Code now supports GLM 4.6 at 1000 tokens/sec

https://www.cerebras.ai/code
81•nathabonfim59•8h ago•54 comments

Ribir: Non-intrusive GUI framework for Rust/WASM

https://github.com/RibirX/Ribir
60•adamnemecek•12h ago•8 comments

Why I love my Boox Palma e-reader

https://minimal.bearblog.dev/why-i-love-my-boox-palma-e-reader/
68•pastel5•5d ago•37 comments

Analysis of Hedy Lamarr's Contribution to Spread-Spectrum Communication

https://researchers.one/articles/24.01.00001v4
54•drmpeg•9h ago•39 comments

VLC's Jean-Baptiste Kempf Receives the European SFS Award 2025

https://fsfe.org/news/2025/news-20251107-01.en.html
322•kirschner•12h ago•59 comments

Using the Web Monetization API for fun and profit

https://blog.tomayac.com/2025/11/07/using-the-web-monetization-api-for-fun-and-profit/
58•tomayac•10h ago•15 comments

James Watson has died

https://www.nytimes.com/2025/11/07/science/james-watson-dead.html
296•granzymes•13h ago•165 comments

Blood, Brick and Legend: The Chemistry of Dracula's Castle

https://news.research.gatech.edu/2025/10/31/blood-brick-and-legend-chemistry-draculas-castle
7•dhfbshfbu4u3•4d ago•0 comments
Open in hackernews

EM-LLM: Human-Inspired Episodic Memory for Infinite Context LLMs

https://github.com/em-llm/EM-LLM-model
113•jbotz•6mo ago

Comments

MacsHeadroom•6mo ago
So, infinite context length by making it compute bound instead of memory bound. Curious how much longer this takes to run and when it makes sense to use vs RAG.
zfountas•5mo ago
Hi MacsHeadroom, first author here. Thanks for the great questions about compute/memory trade-offs.

The quick take: To give you an example of processing speed, with a 7B model on an NVIDIA V100, EM-LLM processes (or generates) about 326 tokens/sec with a 51.2K context window (which is quite competitive for these old GPUs).

More broadly, EM-LLM is designed to make ultra-long contexts (memory-prohibitive for standard O(n^2) attention) computationally tractable. The Appendix C of our paper https://openreview.net/pdf?id=BI2int5SAC details how: significantly better attention scaling, efficient O(nm) memory formation, and large KV cache management via CPU/disk offloading. While there's a slight per-chunk overhead compared to the simplest retrieval methods initially, the crucial part is our ability to handle sequences at scales infeasible for full-context models. For instance, we're successfully using 8B models with 10M token contexts on a single GPU without prohibitive delays.

Regarding RAG in particular, EM-LLM often shows significant gains on tasks needing deep understanding of a single, long, coherent context. A key reason is that EM-LLM allows each layer to retrieve and integrate relevant information from different "episodes" of the context independently, offering more nuance than a typical single RAG step, for similar overall resource use.

mountainriver•6mo ago
TTT, cannon layers, and titans seem like a stronger approach IMO.

Information needs to be compressed into latent space or it becomes computationally intractable

searchguy•5mo ago
do you have references to

> TTT, cannon layers, and titans

najarvg•5mo ago
This was the nearest reference I could find. Links to an unofficial pytorch implementation on Github are also linked in the threads somewhere - https://www.reddit.com/r/LocalLLaMA/comments/1i0q8nw/titans_...
vessenes•5mo ago
is titans replicated? I feel like lucidrains couldn't replicate.
logicchains•5mo ago
I think something like Titans explains Gemini's excellent long context performance. That would explain why the Titan team hasn't released the training code or hyperpameters used even though they said in the paper that they would, and why soon after that it came out that DeepMind would be holding off publishing new results for 6 months to avoid giving away competitive advantages.
p_v_doom•5mo ago
Interesting. Before there even was attention I was thinking that the episodic memory model offers something that could be very useful for neural nets, so its cool to see people testing that
killerstorm•5mo ago
Note that this works within a single sequence of tokens. It might be consistent with "episodic memory" metaphor if we consider a particular transformer run as its experience.

But this might be very different from what people expect from "memory" - i.e. ability to learn vast amounts of information and retrieve it as necessary.

This is more like a refinement of transformer attention: instead of running attention over all tokens (which is very expensive as it's quadratic), it selects a subset of token spans and runs fine-grained attention only on those. So it essentially breaks transformer attention into two parts - coarse-grained (k-NN over token spans) and fine-grained (normal).

It might be a great thing for long-context situations. But it doesn't make sense when you want millions of different facts to be considered - making them into long context is rather inefficient.

yorwba•5mo ago
It would be inefficient if you had to do it from scratch for every query, but if you can do it once as a preprocessing step and reuse the prepared context for many queries, it might start to become more efficient than a shorter context that includes only some documents but has to be reprocessed because it's different every time.
killerstorm•5mo ago
Yes, I think it might be a good solution where you have a context up to 10M of tokens and you do a lot of requests with that context. It might be relevant for agentic stuff which tends to produce long chat logs - especially with some gadgets on top, e.g. some 'episodes' might be completely removed as obsolete.

But I don't think it's a good solution for bigger amounts of data - as in that case it's more beneficial if that can be formed into independent memories.