HackerTrans
トップ新着トレンドコメント過去質問紹介求人

rafaepta

456 カルマ登録 5 年前
https://github.com/Rafaelpta/dupehound

[email protected]

投稿

Guardrails Against Duplicated Code

technology.org
2 ポイント·投稿者 rafaepta·11 時間前·0 コメント

[untitled]

1 ポイント·投稿者 rafaepta·3 日前·0 コメント

Deterministic Guardrails Against AI Code Duplication

technology.org
2 ポイント·投稿者 rafaepta·8 日前·0 コメント

Show HN: Open-source Deterministic Guardrails Against AI Duplicated Code

github.com
1 ポイント·投稿者 rafaepta·9 日前·0 コメント

Moebius: Tangled Up in Blueberry

tomlennon.com
2 ポイント·投稿者 rafaepta·19 日前·0 コメント

Prefer duplication over the wrong abstraction (2016)

sandimetz.com
541 ポイント·投稿者 rafaepta·20 日前·354 コメント

Ask HN: What's the hardest part of maintaining a legacy codebase?

3 ポイント·投稿者 rafaepta·22 日前·5 コメント

Ask HN: Does taste matter when writting code

5 ポイント·投稿者 rafaepta·23 日前·3 コメント

Ask HN: How do you separate intentional test boilerplate from real duplication?

10 ポイント·投稿者 rafaepta·24 日前·7 コメント

[untitled]

1 ポイント·投稿者 rafaepta·26 日前·0 コメント

Terminal UIs Are an Abomination. AI Needs Better UX

medium.com
3 ポイント·投稿者 rafaepta·26 日前·2 コメント

[untitled]

1 ポイント·投稿者 rafaepta·27 日前·0 コメント

Show HN: Deterministic and offline duplicate-code detector

github.com
4 ポイント·投稿者 rafaepta·28 日前·0 コメント

Finding code duplicated by AI without AI

github.com
4 ポイント·投稿者 rafaepta·29 日前·2 コメント

Agent doesn't remember your codebase (dupehound)

medium.com
2 ポイント·投稿者 rafaepta·30 日前·0 コメント

Show HN: Dupehound – find the code your agent wrote twice (no AI required)

github.com
3 ポイント·投稿者 rafaepta·30 日前·0 コメント

Show HN: Mirror a terminal to your phone – E2E encrypted, peer-to-peer,no daemon

github.com
4 ポイント·投稿者 rafaepta·2 か月前·0 コメント

Technical Founders Misread Adoption

avelino.run
3 ポイント·投稿者 rafaepta·2 か月前·0 コメント

Most Knowledge Management Systems Fail

desktopcommander.app
1 ポイント·投稿者 rafaepta·4 か月前·0 コメント

Filesystems Are Having a Moment

madalitso.me
8 ポイント·投稿者 rafaepta·4 か月前·0 コメント

コメント

rafaepta
·22 日前·議論
Yeah, that is pretty much what it does already: it tries to recognize test files and skip them. Dupehound is available for 12 languages Today.

Some languages like RUst you mentioned, have a clear tag that says "this is a test," but others do not, so the tool has to guess from file names and ends up missing some and skipping too much.

Also as I mentioned on the answer below, sometimes you actually do want to see the repeats inside tests, or normal code repeats on purpose too. So I am leaning toward letting users wave off one specific case by hand instead of skipping everything blindly.
rafaepta
·22 日前·議論
[flagged]
rafaepta
·22 日前·議論
[dead]
rafaepta
·22 日前·議論
Using dupehound for identifying duplicated code.

What I use for: I use for identifying duplicated code. It is deterministic, doesn't use AI, offline, runs from CLI and is super fast (and free).

What I dislike: I won't say it I dislike, but it is not a tool that does all the jobs of a code review. For instance, it doesn't flag security issues. It is superfocused on code duplication (it performs better than Sonar for this use case) and is specifically useful for large codebases. Disclaimer: I am one of the collaborators, so take it with a grain of salt https://github.com/Rafaelpta/dupehound
rafaepta
·25 日前·議論
agreed, but imo terminal and any conversational interface is not a silver bullet. Example: signup up for a ai assistant that lives in the email. Can't cancelled it bcs the founder assumed that since you ask anything in natural language every problem the user might have is solved. This is just pushing problems to users.
rafaepta
·27 日前·議論
So true, just built a deterministic system to identify duplicated code. It's offline and doesn't use AI on purpose, since a gate that blocks your CI has to give the exact same answer every time, and finding dupes means comparing every function against every other (that's index work). It does NOT use AI. But ironically, I used AI to build it (https://github.com/Rafaelpta/dupehound )
rafaepta
·29 日前·議論
I think "deterministic" is going to become a feature label the way "offline" and "no tracking" did.
rafaepta
·4 か月前·議論
Great read. Thanks for sharing
rafaepta
·6 か月前·議論
watches age well