frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Value-pool based caching for Java applications

https://github.com/malandrakisgeo/mnemosyne
14•plethon•1w ago

Comments

NBJack•1h ago
This sounds useful, but the lengthy attempt to describe what it solves is rather confusing. Is it caching a list? An actual type of object? The type of the object itself?

The diagram, clearly well-intentioned, doesn't really answer my questions either. I'll note the lack of discussion on memory safety gives me pause, but I see evidence of such in the code.

> Once the library is configured for the project, the first thing you need to do is to define the IDs of the objects to be cached.

I'm certain they mean tag the identifier fields used by objects. At first glance, this sounded like a hyper-specific shortlist of objects cached based on their runtime ID values.

> Write more elaborate and cleaner documentation

Please friend; make it concise and clear first.

Fabricio20•56m ago
The key explanation is:

> Whenever a method is invoked with some arguments, those are used as a key that is mapped to IDs instead of objects. The objects are then retrieved and returned from the ValuePool via their IDs.

You store the actual value on this value map, and then have a bunch of maps with references to this value map. When you update the entity, you can update the cache by updating "just" the value map. All other maps are automatically "updated" because they just reference the identifier (no-op). So you query these other maps to get the list of identifiers, then pull the actual values from the value map.

I get what its trying to do, its just not clear to me how it would handle updating the key-reference maps. If I change the value of a field (say name on a user entity), does it know to remove that entry (user_name_age map as an example) from the references map?

> The caches of the methods are only linked to IDs instead of transaction objects, so we won't need to update something there as long as an object is not deleted.

Show HN: Strange Attractors

https://blog.shashanktomar.com/posts/strange-attractors
333•shashanktomar•8h ago•39 comments

S.A.R.C.A.S.M: Slightly Annoying Rubik's Cube Automatic Solving Machine

https://github.com/vindar/SARCASM
124•chris_overseas•8h ago•26 comments

Futurelock: A subtle risk in async Rust

https://rfd.shared.oxide.computer/rfd/0609
310•bcantrill•14h ago•144 comments

Leaker reveals which Pixels are vulnerable to Cellebrite phone hacking

https://arstechnica.com/gadgets/2025/10/leaker-reveals-which-pixels-are-vulnerable-to-cellebrite-...
265•akyuu•1d ago•165 comments

Addiction Markets

https://www.thebignewsletter.com/p/addiction-markets-abolish-corporate
241•toomuchtodo•13h ago•229 comments

Introducing architecture variants

https://discourse.ubuntu.com/t/introducing-architecture-variants-amd64v3-now-available-in-ubuntu-...
199•jnsgruk•1d ago•121 comments

A theoretical way to circumvent Android developer verification

https://enaix.github.io/2025/10/30/developer-verification.html
119•sleirsgoevy•11h ago•85 comments

The profitable startup

https://linear.app/now/the-profitable-startup
83•doppp•4h ago•25 comments

Intent to Deprecate and Remove XSLT

https://groups.google.com/a/chromium.org/g/blink-dev/c/CxL4gYZeSJA/m/yNs4EsD5AQAJ
43•CharlesW•3h ago•25 comments

Active listening: the Swiss Army Knife of communication

https://togetherlondon.com/insights/active-listening-swiss-army-knife
56•lucidplot•4d ago•24 comments

Viagrid – PCB template for rapid PCB prototyping with factory-made vias [video]

https://www.youtube.com/watch?v=A_IUIyyqw0M
95•surprisetalk•4d ago•31 comments

Nisus Writer: Schrödinger's Word Processor

https://tidbits.com/2025/10/25/nisus-writer-schrodingers-word-processor/
7•zdw•6d ago•1 comments

My Impressions of the MacBook Pro M4

https://michael.stapelberg.ch/posts/2025-10-31-macbook-pro-m4-impressions/
168•secure•21h ago•232 comments

Hacking India's largest automaker: Tata Motors

https://eaton-works.com/2025/10/28/tata-motors-hack/
182•EatonZ•3d ago•54 comments

Use DuckDB-WASM to query TB of data in browser

https://lil.law.harvard.edu/blog/2025/10/24/rethinking-data-discovery-for-libraries-and-digital-h...
170•mlissner•13h ago•44 comments

How We Found 7 TiB of Memory Just Sitting Around

https://render.com/blog/how-we-found-7-tib-of-memory-just-sitting-around
135•anurag•1d ago•35 comments

Value-pool based caching for Java applications

https://github.com/malandrakisgeo/mnemosyne
14•plethon•1w ago•2 comments

How I stopped worrying and started loving the Assembly

https://medium.com/@jonas.eschenburg/how-i-stopped-worrying-and-started-loving-the-assembly-4fd00...
15•indyjo•1w ago•2 comments

Perfetto: Swiss army knife for Linux client tracing

https://lalitm.com/perfetto-swiss-army-knife/
119•todsacerdoti•19h ago•15 comments

Beyond Smoothed Analysis: Analyzing the Simplex Method by the Book

https://arxiv.org/abs/2510.21613
3•sebg•4d ago•0 comments

Kerkship St. Jozef, Antwerp – WWII German Concrete Tanker

https://thecretefleet.com/blog/f/kerkship-st-jozef-antwerp-%E2%80%93-wwii-german-concrete-tanker
22•surprisetalk•1w ago•3 comments

Ask HN: Do you have an aversion to recent TLDs?

3•GaryBluto•39m ago•2 comments

Signs of introspection in large language models

https://www.anthropic.com/research/introspection
133•themgt•1d ago•75 comments

Nix Derivation Madness

https://fzakaria.com/2025/10/29/nix-derivation-madness
163•birdculture•17h ago•57 comments

Sustainable memristors from shiitake mycelium for high-frequency bioelectronics

https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0328965
120•PaulHoule•18h ago•55 comments

Why should I care what color the bikeshed is? (1999)

https://www.bikeshed.com/
53•program•1w ago•40 comments

Photographing the rare brown hyena stalking a diamond mining ghost town

https://www.bbc.com/future/article/20251014-the-rare-hyena-stalking-a-diamond-mining-ghost-town
26•1659447091•8h ago•5 comments

The cryptography behind electronic passports

https://blog.trailofbits.com/2025/10/31/the-cryptography-behind-electronic-passports/
160•tatersolid•19h ago•95 comments

Show HN: Pipelex – Declarative language for repeatable AI workflows

https://github.com/Pipelex/pipelex
86•lchoquel•3d ago•16 comments

AI scrapers request commented scripts

https://cryptography.dog/blog/AI-scrapers-request-commented-scripts/
202•ColinWright•15h ago•156 comments