News for hackers. Stuff that matters.

sahilmuthoo

Surprised that nobody has mentioned that this post is 100% AI generated
I’m sorry you’re feeling so unwell. I believe you can get better. I have similar problems and have extensive experience with medication, talk therapy, exercise etc. You can talk to me (email/Zoom etc), I’ll try to help. My email address is in my profile. Take care!
fzf is a tool with a much larger feature set. fuzzy is just a humble library that you can add to your code.
/xpost from the PR :)

Wow! mind = blown. Please let me digest this code. I will merge later today. I'm probably going to come back and ask a few questions. I wouldn't want to pass up the opportunity to learn from you.

Thank you very much!

There are tests.
Thanks for writing command-T :)

Let me pull up some embarrassing numbers of fuzzy matching on all of Chromium.

I've found it hard to write tests (though there are a few here - https://github.com/sahilm/fuzzy/blob/master/fuzzy_test.go ). Match quality is often subjective. Tweaking one parameter messes with others.

This library came out of a project I started. The project never saw the light of day. If I do see real world use, it'll be easier to find bugs and fix them :)