SADev retweeted
Beautiful, this is exactly why I’m building Deslop. Every bit of duplicate code you clean up is fewer bugs, less tokens and less cognitive load.
Thanks @johnjkattenhorn
I spent this morning trying Deslop (deslop.live/), a duplicate-code finder built by my friend @CFDevelop .
I ran it across something I'm build for my agent-practice monorepo: TypeScript server and web app, Python tooling, 61k lines.
The plain scan is fast and useful so can be used on a CI step.
Here's what it found:
- 341 files in about 6 seconds, ranked worst first, with HTML, JSON and text reports.
- 534 groups of duplicated code, 9.5% of lines.
- Its top hit was a 2,000-line protocol file we copy on purpose. One exclude line fixes that.
- The real finds were in production code. One response-handling block was copied across three API routes, and one data-polling hook was copied in two views. Both fold into a single function.
It compares syntax trees, not lines, so it catches renamed copies and not just pasted ones.
It compares syntax trees, not lines, so it catches renamed copies and not just pasted ones.
It also has an MCP server, so a coding agent can check before it writes. I gave Claude Code a hook it was about to write, and find-similar pointed it straight at the existing copy.
That's the "don't write a third one" loop I want in every agent session.
The optional embedding layer looks for code that does the same thing but is written differently.
- I pointed it at Ollama (nomic-embed-text) on my homelab GPU.
- It found something the plain scan couldn't: two versions of the same git helper in two different reporters, written in different styles.
- That costs about 20 minutes on a first run against 6 seconds, but its cache makes a second run's embeddings almost free.
It take a far while to run with embeddings so I'll run it as a review, not as a CI gate.
Definitely sorth a run on your own repo:
github.com/Nimblesite/Deslop
SADev retweeted
I added C support to Deslop and added walkthrough videos on each of the docs pages. This really helps to show you how Deslop works. This is the one tool you absolutely need in the AI era
deslop.live/docs/research-ba…
SADev retweeted
This tutorial shows you how to build an app that casts MP3 audio to your TV with algebraic effects. Like and subscribe for more Osprey content
youtu.be/bwaDoJf0DNM
SADev retweeted
Osprey is heating up
Come and join the Discord server to chat about the language and building programming languages in general
discord.gg/eK6X3BjRP
SADev retweeted
My first 100% handwritten blog post in a while
christianfindlay.com/blog/fu…
SADev retweeted
This is for my F# peeps
Fuck yeah 👍
sharplsp.dev/docs/fsharp-pro…
SADev retweeted
Really cool animation on the SharpLsp vscode marketplace listing
Check it out. Reviews don't hurt either...
SADev retweeted
Your codebase is full of code duplication. Give deslop to an agent and it will get rid of a lot
No, this is not about DRY
This is about not having ten copies of the same damn function everywhere
Dart, c#, Rust, Python, Go and more
deslop.live/
SADev retweeted
Deslop 0.35.0 is out!
This is a big one! I spent over a month working on accuracy issues. There are fewer false positives and negatives and the clone types are a lot clearer
Read about it here
deslop.live/blog/duplicate-c…
SADev retweeted
Super stoked to announce beta testing of my latest app for Apple users 🎉
All your battery charge meters in one place! Just hit the link for beta testing
chargedash.app/
SADev retweeted
Replying to @AnthropicAI
@AnthropicAI @ClaudeDevs I have experienced my tokens being eaten up suddenly twice in the last week. Around Thursday, I had 20% of my Max 20x plan left. A single session chewed all of it.
Yesterday I bought around $300 AUD of tokens for the same account. I used about $100
SADev retweeted
why does rust ./target directory take up so much space. I'm going to need a 10TB nvme drive.
SADev retweeted
My eyes are opening to all the possibilities for static code analysis and other tooling
The tools we have are mostly primitive. There are some great tools scattered across languages but my goal is for every lang to have these tools
Deslop is the first
deslop.live/
SADev retweeted
Deslop’s interactive GitHub issue graph is something every repo that requires transparency should have
deslop.live/issues/
SADev retweeted
We released a new version of Deslop today. It was purely about accuracy fixes. We also added this page so you know exactly what’s going on when you gate your pipeline for code duplication percentage
deslop.live/docs/accuracy-tr…
SADev retweeted
Here it is dmx - a new way to do code generation for Dart
Try it in the browser
dmx.dev/playground.html
github.com/kevmoo/kevmoo_ski… - another skill, wrapping the amazing tool by @CFDevelop - this CLI is super useful. The skill just streamlines bits for your favorite agent!












