frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Zod 4.6.6 compromised by malware?

https://github.com/colinhacks/zod/commit/d821685ea6732436fcdf786a81d076958471e467
84•luggage_bazooka•59m ago•20 comments

Postgres isn't slow, your storage is

https://clickhouse.com/blog/posette-talk-recap-postgres-isnt-slow-your-storage-is
53•saisrirampur•2h ago•22 comments

Type-safe HTML templating in Zig

https://lalinsky.com/2026/10/11/type-safe-html-templating-in-zig.html
100•lukaslalinsky•3h ago•40 comments

Fingerprints are the new cookies

https://royfish.dev/fingerprints-are-the-new-cookies
347•royfish•10h ago•163 comments

Calculus with Julia

https://jverzani.github.io/CalculusWithJuliaNotes.jl/
117•subset•1d ago•9 comments

Total Annihilation, rebuilt for modern computers

https://nanolathe.gg
493•jttnr•14h ago•197 comments

Running the unmodified Linux amdgpu driver on an iPad

https://github.com/Geramy/LemonSeed-Studio
14•joshcsimmons•22h ago•3 comments

Whatever became of holography? (2011)

https://www.americanscientist.org/article/whatever-became-of-holography
127•cainxinth•8h ago•61 comments

No portable way to detect string-to-float conversion errors in standard C

https://sebsite.pw/w/20261009-strtod.html
44•signa11•1d ago•39 comments

Cartographers of North Korea (2019)

https://cartographers-nk.wonyoung.so/
250•edent•13h ago•46 comments

Will Linux phones become a viable alternative to the Android/iOS duopoly?

https://amosbbatto.wordpress.com/2026/10/05/linux-phones-alternative/
131•amosbatto•3h ago•131 comments

Doory – Open-Source Canva

https://github.com/shaongitbd/doory
104•acley•7h ago•37 comments

Terence Tao: Math 2.0 [pdf]

https://teorth.github.io/tao-web/slides/math-2-0-caltech-2026.pdf
387•Anon84•19h ago•421 comments

The gap in shared understanding of LLM capability is widening

https://twitter.com/karpathy/status/2109361546505966046
443•albertzeyer•12h ago•634 comments

Local Indexing to reduce tool calling and token usage

https://tedhaley.ca/pensieve/
75•TedHaley•8h ago•17 comments

Illustration Beyond Proof

https://terrytao.wordpress.com/2026/10/11/illustration-beyond-proof/
64•smilelamp•9h ago•1 comments

Passkeys are a trap

https://nonfunctional.substack.com/p/passkeys-are-a-trap-do-not-use-them
589•laurex•10h ago•341 comments

Chapter 1 of "Ways of Seeing" by John Berger (1972)

https://www.ways-of-seeing.com/ch1
108•rafael859•14h ago•18 comments

Every US Electrical Outlet Explained [video]

https://www.youtube.com/watch?v=n_1wzYQwnts
22•zdw•1d ago•25 comments

Programmable pigments: Photochromic nanoparticle inks for rewritable tattoos

https://www.cell.com/matter-light/fulltext/S3117-5848(26)00119-5
47•Bluestein•23h ago•35 comments

Research Firm Calls Anthropic's IPO 'Unprecedented Test of Investor Gullibity'

https://www.cnbc.com/2026/10/07/anthropic-will-be-most-ridiculous-ipo-of-year-analyst-says.html
37•m463•3h ago•7 comments

Crest – an Arc-inspired open-source browser for Mac

https://crestbrowser.com/
16•cobychapple•5h ago•11 comments

So, you’d like to sell your print issues of The Onion?

https://theonion.com/archivehunt/
318•mooreds•13h ago•48 comments

Ask HN: Do you want a router that has DD-WRT pre-installed?

49•Ixander•1d ago•53 comments

NYC's "Click to Cancel" rule is now in effect

https://www.nyc.gov/main/click-to-cancel
464•gregsadetsky•14h ago•217 comments

Recursive self-improvement through collective intelligence

https://pub.sakana.ai/mass/
113•hardmaru•10h ago•61 comments

I guess I'm using WebP now?

https://anderegg.ca/2026/10/08/i-guess-im-using-webp-now
107•Brajeshwar•2d ago•118 comments

Vectorized CLZ and CTZ

https://purplesyringa.moe/blog/vectorized-clz-and-ctz/
43•zX41ZdbW•1d ago•5 comments

Google Data Centers around the world

https://datacenters.google/locations/
53•andsoitis•10h ago•48 comments

Draw by Pinging IPv6 Addresses

https://pings.utwente.io/
8•eraclide•1d ago•5 comments
Open in hackernews

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

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

Comments

MacsHeadroom•1y 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•1y 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•1y 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•1y ago
do you have references to

> TTT, cannon layers, and titans

najarvg•1y 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•1y ago
is titans replicated? I feel like lucidrains couldn't replicate.
logicchains•1y 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•1y 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•1y 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•1y 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•1y 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.