Readit News logoReadit News
olivergregory commented on Codix: Code indexing and refactoring tools for AI agents   github.com/ogregoire/codi... · Posted by u/olivergregory
olivergregory · 4 days ago
I built codix because AI coding agents waste a lot of tokens grepping and guessing their way through codebases. They search for symbols by name, get imprecise results back, and sometimes just hallucinate definitions that don't exist.

codix indexes your code into a local SQLite database using tree-sitter, then provides precise symbol lookups, reference finding, and relationship queries (callers, callees, implementations, supertypes).

It also supports refactoring: `codix rename` finds every occurrence of a symbol across the codebase using AST analysis (not text search), shows you a dry-run diff, and applies it with --apply.

    cd your-project
    codix init
    codix find UserService
    codix callers save
    codix impls Repository
    codix rename save persist          # dry-run
    codix rename save persist --apply  # apply
It supports Go, Java, JavaScript/TypeScript, Python, and Rust. The index auto-refreshes on every query, so it's always current.

The output is designed to be token-efficient for agents, but it works fine for humans too. Adding it to your agent is one line in CLAUDE.md or AGENTS.md.

MIT licensed, written in Rust, ~5k lines. Contributions welcome — especially for new language plugins.

olivergregory commented on One Formula That Demystifies 3D Graphics   youtube.com/watch?v=qjWkN... · Posted by u/msephton
d-lisp · 2 months ago
To me the formula mystifies things. It should be made clear that it is a simple application of pythagore's theorem,

(i didn't see the video except the beginning to check what was the "mysterious formula".)

olivergregory · 2 months ago
Don't you mean Thales?
olivergregory commented on Hardening Firefox – a checklist for improved browser privacy   andrewmarder.net/firefox/... · Posted by u/amarder
st3fan · 7 months ago
Wasn't that a bug that was fixed weeks ago? Like early August? If you are not averse to this feature then it is better to simply make sure you are running the latest version.
olivergregory · 7 months ago
I litterally gained one hour off my charged battery when I switched these two settings off, just a week ago, and I keep my browser up to date. So not for me.
olivergregory commented on Hardening Firefox – a checklist for improved browser privacy   andrewmarder.net/firefox/... · Posted by u/amarder
temp0826 · 7 months ago
I just want something (config or extension or instructions or whatever) to give me the best (rather, most common/average) fingerprint possible according to that EFF tool. Does that exist?
olivergregory · 7 months ago
That’s the extension Privacy Badger.
olivergregory commented on Hardening Firefox – a checklist for improved browser privacy   andrewmarder.net/firefox/... · Posted by u/amarder
olivergregory · 7 months ago
Set the browser.ml.chat.enabled and browser.ml.enabled to false as they intensively use the processor and drain the battery. All that to just find the best name for your tab groups. I prefer to have my laptop last one more hour instead.
olivergregory commented on Show HN: FilterQL – A tiny query language for filtering structured data   github.com/adamhl8/filter... · Posted by u/genshii
olivergregory · 7 months ago
It seems nice. However is there any way to query arrays within the datastructure itself? Or go deeper in the hierarchy, such as "model.cost"?
olivergregory commented on It is time to 'Correct the Map'   correctthemap.org/... · Posted by u/daverol
olivergregory · 7 months ago
Calls it "correct the map", manages to write "Belguim" instead of "Belgium".
olivergregory commented on Can you block it? A simple Ad Block Tester   canyoublockit.com/... · Posted by u/nateb2022
olivergregory · 7 months ago
NoScript does the job. Not a single ad in sight.

Dead Comment

u/olivergregory

KarmaCake day67April 20, 2023View Original