frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: CLI tool for detecting non-exact code duplication with embedding models

https://github.com/rafal-qa/slopo
18•rkochanowski•1h ago

Comments

rkochanowski•1h ago
I built Slopo to solve one specific problem: finding similar code that is hardest to detect by other tools, coding AI agents, and humans.

It finds similar-looking code with embeddings. This detects more than just copy-paste clones or even clones with minor changes. Similar code is often not a clone to refactor, and this is a trade-off. Initial results need to be verified, but coding agents can do this quickly. Example prompts are available on https://slopo.dev

Additionally, similar code distant in the codebase is ranked higher to focus on less obvious duplication.

The results differ a lot depending on the codebase. I noticed that sometimes most of the detected duplicates are false positives, but the remaining ones are strong candidates to refactor or even bugs. Sometimes it reveals much more real duplication.

realxrobau•1h ago
If it did PHP I would love to run it over WordPress. What would it take to add that?
rkochanowski•50m ago
PHP support can be easily added, I will release a new version soon.
raro11•22m ago
Thank you
murats•38m ago
Nice idea. I can see this being useful before refactors, especially when the duplication is semantic rather than copy paste.

Launch HN: Manufact (YC S25) – MCP Cloud

https://manufact.com
35•pzullo•55m ago•18 comments

Since Linux 6.9, LUKS suspend stopped wiping disk-encryption keys from memory

https://mathstodon.xyz/@iblech/116769502749142438
30•IngoBlechschmid•41m ago•0 comments

Android Developer Verification: Threat masquerading as protection

https://f-droid.org/2026/07/01/adv-malware.html
1251•drewfax•13h ago•513 comments

Show HN: Mail Memories – A desktop app to rescue photos from Gmail

https://mailmemories.com
46•ltiger•1h ago•16 comments

AI can't be listed as inventor on patent applications, Japan's top court rules

https://japannews.yomiuri.co.jp/science-nature/technology/20260306-314930/
139•mushstory•2h ago•55 comments

How to ask for help from people who don't know you

https://pradyuprasad.com/writings/how-to-ask-for-help/
60•FigurativeVoid•2h ago•2 comments

Show HN: ZeroFS – A log-structured filesystem for S3

https://www.zerofs.net/
66•Eikon•2h ago•34 comments

Is One Layer Enough? A Single Transformer Layer Matches Full-Parameter RL Train

https://arxiv.org/abs/2607.01232
68•tcp_handshaker•3h ago•15 comments

German button maker searched rivers of American Midwest for valuable shells

https://www.smithsonianmag.com/smithsonian-institution/how-one-german-button-maker-searched-the-r...
59•bookofjoe•4d ago•14 comments

PeerTube is a free, decentralized and federated video platform

https://github.com/Chocobozzz/PeerTube
52•doener•4h ago•4 comments

Kimi K2.7 Code is generally available in GitHub Copilot

https://github.blog/changelog/2026-07-01-kimi-k2-7-is-now-available-in-github-copilot/
303•unliftedq•11h ago•128 comments

Hazel (YC W24) Is Hiring for Our Largest Government Contract

https://www.ycombinator.com/companies/hazel-2/jobs/3epPWgu-full-stack-engineer-ts-sci
1•augustschen•2h ago

The Egg Bandits Made a Thousand Times the Fine They Just Paid for Price Fixing

https://www.thebignewsletter.com/p/crime-pays-the-egg-bandits-made-a
99•toomuchtodo•2h ago•22 comments

The primary purpose of code review is to find code that will be hard to maintain

https://mathstodon.xyz/@mjd/115096720350507897
174•ColinWright•4h ago•99 comments

The fall of the theorem economy

https://davidbessis.substack.com/p/the-fall-of-the-theorem-economy
170•varjag•8h ago•72 comments

Show HN: CLI tool for detecting non-exact code duplication with embedding models

https://github.com/rafal-qa/slopo
18•rkochanowski•1h ago•5 comments

Oomwoo, an open-source robot vacuum you build yourself

https://makerspet.com/blog/building-an-open-source-robot-vacuum-meet-oomwoo/
417•devicelimit•15h ago•82 comments

Vite+ Beta

https://voidzero.dev/posts/announcing-vite-plus-beta
166•Erenay09•4h ago•95 comments

ZCode – Harness for GLM-5.2

https://zcode.z.ai/en
478•chvid•18h ago•319 comments

Show HN: Claudoro, Pomodoro timer embedded in the Claude Code statusline

https://github.com/emson/claudoro
22•emson•1d ago•17 comments

CursorBench 3.1

https://cursor.com/evals
106•handfuloflight•10h ago•68 comments

WinPE as a stateless harness for Windows driver testing and fuzzing

https://bednars.me/blog/winpe-harness
45•piotrbednarsalt•3d ago•2 comments

The Meadows of Medieval Summer

https://www.historytoday.com/archive/out-margins/meadows-medieval-summer
10•lermontov•6d ago•8 comments

Show HN: A graph paper generator that renders vector PDFs in the browser

https://freegraphpaper.net/
25•lam_hg94•2h ago•5 comments

Germany’s Infineon opens major chip plant as EU seeks tech autonomy

https://www.rfi.fr/en/international-news/20260702-germany-s-infineon-opens-major-chip-plant-as-eu...
86•giuliomagnifico•3h ago•20 comments

Comparing Fable and 10 other LLMs on refactoring a LangGraph god node

https://wtf.korridzy.com/twilight-of-the-gods/
20•Korridzy•2h ago•5 comments

Senior SWE-Bench: open-source benchmark that assesses agents as senior engineers

https://senior-swe-bench.snorkel.ai/
125•matt_d•13h ago•93 comments

My favorite keyboards

https://fabiensanglard.net/keyboards/index.html
92•tmach32•3d ago•80 comments

Winamp Skin Museum

https://skins.webamp.org
75•sarah-robiin•3h ago•38 comments

Asymmetric Quantization: Near-Lossless Retrieval with 97% Storage Reduction

https://www.mixedbread.com/blog/asymmetric-quant
81•breadislove•2d ago•30 comments