zlob 1.6.0 - now with parallel gitignore based file walker
▲ 16 r/Zig

zlob 1.6.0 - now with parallel gitignore based file walker

I have released zlob 1.6.0 - it used to be a globbing library but now it also exposes the internal file walker. How is it better than std one?

- It includes gitignore parsing (so it doesn't list the files are ignored via .gitignore/.ignore)

- it uses platform specific apis to batch load the files and metadata (getdents64, getattrslistbulk, ntdll apis)

- it allows you to include custom white list include logic

- it allows you to request only the metadata you need (for statx/getattrslistblk on mac)

- it outputs the collected ignore rules for potential reuse

- depens on platform and amount of files 2-10x faster than ignore crate in rust

repo https://github.com/dmtrKovalenko/zlob

u/Qunit-Essential — 9 hours ago
▲ 42 r/Lofree+1 crossposts

I reverse engineered lofree hypace firmware protocol to bypass macos limitations

I've been pissed off that the official lofree web configuration software doesn't allow to configure the action of the side buttons so I have reverse engineered the protocol of firmware and bypassed all the limitations.

Here is a project, you can ask any AI to flash the firmware using it as an example

https://github.com/dmtrKovalenko/lofree-hypace-reverse-engineer

u/Qunit-Essential — 27 days ago
▲ 86 r/opencode+1 crossposts

Opencode File Search becoming significatntly faster the next release

Opencode just announced that their migrating their file search to the rust based file search SDK https://github.com/dmtrKovalenko/fff.nvim that is significatnly faster and provides a better results

Here is a quote from the core team member tweet:

"in the next version of opencode file search is powered by fff

- files the agent opens start ranking higher
- tool calls reuse the same search layer instead of starting cold
- less wasted context
- fast af"

Here is a demo in the 40M loc linux kernel monorepo. The change affects all the toolcalls, grep, glob, and a @ mention for file search. The @ file search is also typo resistant now!

https://reddit.com/link/1u0j1fe/video/6j3ovza6746h1/player

reddit.com
u/Qunit-Essential — 28 days ago