frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Claktor – a refactoring CLI for coding agents

https://claktor.com/
1•mszbednarski•9m ago
I've been working on Claktor ever since I got frustrated with some 'code smells' AI Agents have been producing while writing Rust. Claktor is a refactoring tool that leverages custom AST parsing and processing to produce ranked 'leads' on what in the codebase should be looked into to reduce logic duplication. When I started out, it was mostly an opinionated 'how code should be written' detector, after attempting to formalize something objectively useful out of it I've arrived to this.

How is it scored? When exploring how to try to roughly judge how much logic there is in a program, the first approach is LOC. However that is just a proxy as lines can have lots of meat and can be gamed. What we arrived to are 'normalized tokens' which is a parsing of a normalized program by an LLM tokenizer. This neatly fits into then cost of reading the modified file by AI Agents. The more normalized tokens we reduce while preserving behaviour, the more deduplicated to codebase is and cheaper it is to read, extend, test and maintain by AI Agents. (the normalization is subject to some guards like: removing types does not reduce tokens)

Is this developed to the extent that it can be? By all means no! It already is very effective however as it greedily ranks everything through the codebase so AI Agents can remove around 3 to 10 times more for the same cost depending on the repo.

Please try it out and let me know how it goes! Currently works with TS,JS,Rust and Python

Prediction Markets Are Accurate

https://marginalrevolution.com/marginalrevolution/2026/10/prediction-markets-are-accurate.html
1•surprisetalk•15s ago•0 comments

SSA from Bytecode: Imperative Pearl

https://bernsteinbear.com/blog/ssa-bytecode/
1•ibobev•39s ago•0 comments

Musical Notes and Scales

https://reasonablypolymorphic.com/blog/notes-scales/index.html
1•ibobev•58s ago•0 comments

Amazon's Discount Illusion: 1 in 3 "Deals" Offered No Savings– 1 in 10 Cost More

http://groundworkcollaborative.org/news/amazons-decoy-deals-groundwork-investigation-reveals-near...
1•DeepLogin•1m ago•0 comments

China accelerates data center expansion as the West faces mounting opposition

https://technode.com/2026/11/11/china-accelerates-data-center-expansion-as-the-west-faces-mountin...
1•andsoitis•2m ago•0 comments

From data to silicon: play Connect-4 against a chip

https://benoitrostykus.com/data_to_silicon.html
1•mochomocha•2m ago•0 comments

Giveback: Measure what your company gives back to open source

https://github.com/michelin/giveback
1•PaulSec•4m ago•0 comments

Tencent launches Hy4 flash, cutting AI task costs by 95% in internal tests

https://technode.com/2026/11/16/tencent-launches-hy4-flash-cutting-ai-task-costs-by-95-in-interna...
1•theanonymousone•4m ago•0 comments

I got Claude to rewrite curl in Rust in ~4 weeks

https://claude.ai/artifact/K4BoWt35HQz1xWZBR3bMRD
1•kov•4m ago•1 comments

Can the AI boom make enough money to sustain itself?

https://www.economist.com/briefing/2026/11/12/can-the-ai-boom-make-enough-money-to-sustain-itself
1•Anon84•4m ago•0 comments

BIS Issues Rule Addressing Remote Access to American Super Intelligence Tech

https://www.bis.gov/press-release/bis-issues-rule-addressing-remote-access-american-super-intelli...
1•markus_zhang•7m ago•0 comments

Stack Overflow for Agents

https://agents.stackoverflow.com/all?sort=hot
1•max1truc•7m ago•0 comments

The Profligacy Principle

https://contraptions.venkateshrao.com/p/the-profligacy-principle
2•jger15•9m ago•0 comments

Tell HN: Opus 5.5 is no more nerfed

2•rzk•9m ago•1 comments

Show HN: Claktor – a refactoring CLI for coding agents

https://claktor.com/
1•mszbednarski•9m ago•0 comments

Show HN: Unref – A Python dead code finder built on Ruff's parser

https://github.com/Apakottur/unref
1•McAvey•9m ago•0 comments

Show HN: LGTM – A Reigns-style swipe game about surviving your AI coworker

https://lgtm-flame.vercel.app/en/
1•SCWei0806•9m ago•0 comments

How Gas Trading Works in Great Britain

https://a115.co.uk/gas-trading-explained/
1•a115ltd•10m ago•0 comments

Agents Face a Problem Recognized in the Early '90s

https://blog.reframetech.com/ai-agents-face-a-problem-recognized-in-the-early-90s
1•talljeff68•11m ago•0 comments

Show HN: Ivy – (self) hosted simple Lambda tracing

https://ivytrace.dev/
1•tschoffelen•12m ago•0 comments

It's Time to Reinvent Software Tickets for the AI Era

https://www.autoencoders.com/papers/reinvent-software-tickets-for-the-ai-era/
3•jmulla•14m ago•1 comments

Exploiting Replay Protected Monotonic Counters to Brute-Force Windows Hello PINs

https://arxiv.org/abs/2611.18126
6•cwerling•15m ago•0 comments

OpenTodo – a self-hosted, local-first task manager in one Go binary

https://github.com/OpenTodoApp/OpenTodo
2•pixari8383•18m ago•0 comments

Boots to begin prescribing medical cannabis in UK

https://www.theguardian.com/business/2026/nov/16/boots-pharmacy-begin-prescribing-medical-cannabi...
2•6LLvveMx2koXfwn•19m ago•0 comments

Anthropic Says Its Recursive Self-Improvement Alarm Has Been Triggered

https://gizmodo.com/anthropic-says-its-recursive-self-improvement-alarm-has-been-triggered-200084...
2•HiroProtagonist•20m ago•0 comments

No one can ever buy this domain, and that's intentional

https://www.makeuseof.com/why-example-com-will-never-go-up-for-sale/
2•surprisetalk•20m ago•0 comments

Npkill 1.0: now it cleans more than node_modules

https://zaldih.com/en/post/npkill-1-0-0/
2•petercooper•20m ago•0 comments

Show HN: Offline PDF Desk – one HTML file, redacts and merges PDFs offline

https://dowla0.gumroad.com/l/offline-pdf-desk
2•Vladenik•20m ago•0 comments

FAA blames ground stop on faulty copper wiring [updated]

https://www.theregister.com/offbeat/2026/11/13/faa-blames-ground-stop-on-faulty-copper-wiring/530...
2•Bender•21m ago•0 comments

Microsoft blames monster email outage on software defect introduced in July fix

https://www.theregister.com/saas/2026/11/16/microsoft-blames-monster-email-outage-on-software-def...
2•Bender•21m ago•0 comments