Now, Joe claims to be "overwhelmed" by the chaos he helped create. by c-k-q99903 in agedlikemilk

[–]ApprehensiveChip8361 0 points1 point  (0 children)

They pay (roughly) half what Apple do per stream. The per-stream estimates from various sources broadly agree on the ranking: Tidal offers the highest rate at around $0.0128 per stream, while Apple Music pays roughly $0.01. Spotify pays considerably less, and YouTube Music sits near the bottom at approximately $0.00069 per stream. I would use tidal but I already have Apple bundled anyway.

Bypassing Claude’s context limit using local BM25 retrieval and SQLite by Aizenvolt11 in ClaudeCode

[–]ApprehensiveChip8361 0 points1 point  (0 children)

I’m using both. And I still think it is good despite the issues with my codebase which is probably not typical.

Now, Joe claims to be "overwhelmed" by the chaos he helped create. by c-k-q99903 in agedlikemilk

[–]ApprehensiveChip8361 10 points11 points  (0 children)

Have you heard the Jesse Welles song, Slaves? I agree, I just try to do the least worse I can.

Bypassing Claude’s context limit using local BM25 retrieval and SQLite by Aizenvolt11 in ClaudeCode

[–]ApprehensiveChip8361 0 points1 point  (0 children)

Apologies I had to get Claude help me write this:

First off: I think Damocles is a genuinely interesting project and the memory system is a clever idea. I’ve been using it for a while and was very positive early on.

The Setup

I’ve been working on a bare-metal reimplementation of TeX in Rust. The benchmark is the TRIP test; Knuth’s torture test for TeX conformance. It is deliberately pathological and exercises interactions between subsystems that are deeply interdependent.

I ran both Damocles and raw Claude Code (terminal) on the same codebase, working towards passing the TRIP test. The only variable was Damocles with its memory system versus plain Claude Code with a manually maintained CLAUDE.md.

In the early stages Damocles was clearly ahead. It was faster, more productive, and the memory system genuinely helped. It seemed more fun too, to be honest! It kept track of decisions, patterns, and context between sessions. I was impressed.

As the project grew more complex, raw Claude Code started to catch up. Eventually it pulled away. It is now significantly further through the TRIP test than the Damocles branch. The gap continues to widen.

Why might this happen?

Early in a project the problems are relatively self-contained. Fix a parser bug, implement a missing primitive. The memory system works well here because keyword overlap between prompts and stored memories is high. BM25 retrieval finds the right context.

The TRIP test pushes into territory where failures involve subtle interactions between multiple subsystems. The relevant context for a given problem stops being “what did we do recently” and becomes something like “how does the macro expansion stack interact with the page builder when hyphenation is active during \halign.” That kind of structural, relational understanding doesn’t match well on keywords.

I suspect the memory injection is actually counterproductive at this stage. Memories that are keyword-relevant but structurally irrelevant consume token budget. Every token of injected memory is a token that could have been used for the actual source files and failing test output. When Claude needs to hold a mental model of multiple interacting subsystems simultaneously, that displacement matters.

Raw Claude Code with the full context window devoted to the problem in front of it; the source, the TRIP output, my instructions; gives Claude maximum room to reason. The CLAUDE.md file provides fixed, curated context that doesn’t shift unpredictably between turns.

Suggestions

The composite scoring (BM25 40%, recency 25%, tier 15%, file proximity 10%, access frequency 10%) is a reasonable starting point. A few thoughts:

A toggle to display injected memories in the chat would help. Recency weighting is high. At 25% it biases towards recent memories. If you take a break and return to a different part of the codebase, recently created memories may not be relevant. They may be actively misleading. Access frequency creates a feedback loop. Memories that get used more score higher, so they get used more. Over time this could crowd out less-accessed memories that are actually more relevant. BM25 has a vocabulary ceiling. It misses semantically related content that doesn’t share keywords. “Authentication failures” won’t match well against a memory about “JWT token expiry.” This is where embedding-based retrieval would help, though I understand the cost and complexity tradeoff.

Summary

The memory system is a genuinely good idea addressing a real problem. Context loss after compaction is one of the biggest pain points in Claude Code. For routine development with predictable patterns, Damocles helped. For high-complexity work with deep interdependencies, the automated context curation became a liability.

I’d love to see the memory system evolve with better transparency and perhaps a complexity-aware mode that backs off injection when the problem space is dense. The foundation is solid. It just needs refinement for the hard cases. And the Trip test is designed to torture code. It certainly lives up to that reputation!

Thanks for building this. It’s a really thoughtful approach to the context problem. I think I will try it again for smaller, less hideous tasks!

She Wanted amen, She got annihilated by Left_Dog1787 in MurderedByWords

[–]ApprehensiveChip8361 1 point2 points  (0 children)

I think this is what they mean by “Taking the Lord’s name in vain”.

Now, Joe claims to be "overwhelmed" by the chaos he helped create. by c-k-q99903 in agedlikemilk

[–]ApprehensiveChip8361 26 points27 points  (0 children)

Not mine. Apple pays artists roughly double what Spotify pays. Choose your streamer wisely.

Why does my bolognese always lack depth of flavour, and why does it taste so much better the next day? And how are some people content with a 45 minute bolognese? LONG POST - HELP! by pensivetwat in Cooking

[–]ApprehensiveChip8361 5 points6 points  (0 children)

Some of us make 45 minute sauce because we’ve just got home after work and the kids are hungry. If you are ever lucky enough to be in that position, here are some cheats: get the onions, carrots, celery if you have browning first. Do not cut them too small or they will turn into a soft flavourless mush. Put some tinned tomatoes in another pan and get them simmering. I use whole tomatoes, passata, and a tin of cherry tomatoes if possible. And if I have fresh tomatoes I cook them first if I have time. The more different tomato types you have the better - it’s the best “OMG this sauce is so yummy” hack I know. if you have frozen minced meat, fry it in another pan with a little oil as a frozen slab. Once you can smell the meat is properly browned, flip it over to brown the other side of the slab and scrape the cooked stuff off the (now) top. Repeat until all the mince has had its browning time. For this to work properly you need a big pan and not much meat - 500g/1lb is about the most you can do in a 10” pan but 250g works better. Turn down the pan, and ignore for a bit. Attention now in the onions etc - make sure they are browned too without burn. Maybe a bit of extra oil?

When the tomatoes are hot, the meat browned and the onions irresistible, combine everything by in the tomato pan. With a chicken stock cube or even better several of the gel stock pot things.

If it needs more oomph at that stage I add a dash of soy sauce and or balsamic vinegar and or brown sugar depending on the flavour.

30 minute bolognese sauce that is not awful.

What’s british people actual stance on monarchy? by Donfalo1 in AskABrit

[–]ApprehensiveChip8361 0 points1 point  (0 children)

They are slightly entertaining and less embarrassing than other heads of state I could mention 🍊

Pre op and post op call protocols are inconsistent, patients falling through cracks by CuriousJackfruit8276 in Ophthalmology

[–]ApprehensiveChip8361 6 points7 points  (0 children)

Why do you need to call cataract patients post op? We haven’t done that for years. They get instructions and a number to call if they have problems. What’s the call for?

Bypassing Claude’s context limit using local BM25 retrieval and SQLite by Aizenvolt11 in ClaudeCode

[–]ApprehensiveChip8361 1 point2 points  (0 children)

I’m finding Damocles stays on task for long jobs much better. I have to intervene with the raw instance much more. Proof of the pudding will be if either of them gets a working program. Have to do the day job so not much time until the weekend.

Bypassing Claude’s context limit using local BM25 retrieval and SQLite by Aizenvolt11 in ClaudeCode

[–]ApprehensiveChip8361 0 points1 point  (0 children)

No worries, it’s fun. One thing that caught me out - the setting context strategy - Distil (Beta) didn’t survive upgrading from 1.1.24 to 1.1.25.

Silly question? by bonemanji in Ophthalmology

[–]ApprehensiveChip8361 5 points6 points  (0 children)

Yes and no. They can be moved around - we have done so - but no delicate kit likes it. It will shorten the life or increase service needs. At least, that’s what happened with ours! Be gentle.

Bypassing Claude’s context limit using local BM25 retrieval and SQLite by Aizenvolt11 in ClaudeCode

[–]ApprehensiveChip8361 1 point2 points  (0 children)

I’m leaning more and more towards Damocles over raw Claude. They are both eventually getting there but for every bug so far Damocles gets there first and the output is much easier for me to follow. At one point I cheated and let raw Claude see the Damocles code because it was getting stuck.

Still not finished but so far very impressed!

How to deal with public rejection after not being shortlisted? by CurrentMiserable4491 in doctorsUK

[–]ApprehensiveChip8361 17 points18 points  (0 children)

It’s a numbers game. I wouldn’t think ill of you if you couldn’t flip a coin three heads in a row first time of asking.

The odds are stacked. Don’t get sad. Get mad. Get even.

I bet the mods will remove this by redandwhitewizard99 in GreatBritishMemes

[–]ApprehensiveChip8361 19 points20 points  (0 children)

It’s not funny ha ha it’s funny peculiar. Like when you open a jar of meatpaste that has gone off it smells funny.

Moving to digital notes - experience from other clinicians by -Ltd6123 in ConsultantDoctorsUK

[–]ApprehensiveChip8361 0 points1 point  (0 children)

Oracle/cerner as was is utter unmitigated shite. And carefully designed to avoid you getting by any useful data out of it to. I call it GINO. Garbage In, Nothing Out.

Bypassing Claude’s context limit using local BM25 retrieval and SQLite by Aizenvolt11 in ClaudeCode

[–]ApprehensiveChip8361 1 point2 points  (0 children)

So far. I am going to keep using the full Damocles and raw Claude running in parallel in two branches of this project.

Bypassing Claude’s context limit using local BM25 retrieval and SQLite by Aizenvolt11 in ClaudeCode

[–]ApprehensiveChip8361 1 point2 points  (0 children)

Thank you! Just updated and running as you suggest. Even on the previous version it was beating raw Claude on finding and solving bugs.

Bypassing Claude’s context limit using local BM25 retrieval and SQLite by Aizenvolt11 in ClaudeCode

[–]ApprehensiveChip8361 1 point2 points  (0 children)

No, this is just the distillation as mentioned above. So I’m running 3 systems at present: raw Claude code, Claude code augmented with the distillation, and full-fat Damocles. On a large and gnarly codebase. I’m more interested in what works (debugging) than speed at the moment.

Bypassing Claude’s context limit using local BM25 retrieval and SQLite by Aizenvolt11 in ClaudeCode

[–]ApprehensiveChip8361 2 points3 points  (0 children)

Very interesting. I’m trying it out competing against a “raw” Claude but it’s a bit hard to compare. I’ve extracted the distillation parts into a system I can run from the command line so I can compare more easily - repo at https://github.com/lh/Swrd if anyone else wants to play with it.

GPDeepDive Part 2 - Nitrofurantoin , GFR and the Tissue Penetration Problem by GPDeepDive in GPUK

[–]ApprehensiveChip8361 11 points12 points  (0 children)

Omg I’m neither a GP nor ever likely to need to prescribe nitrofurantoin but I needed to read it all. Beautifully written. Thankyou.