Re:Rv, a new kind of Ruby management tool
by jxf on Tuesday August 26, 2025 @07:54PM
(#45033790)
Is it really a name collision when they're effectively completely different namespaces? For example, no one thinks Rust's `cargo` might be the same thing as Ruby's obscure `cargo` library.
[ Parent
| on HN ]
It's not a library. It's an executable that needs to be on the PATH to use it. And the executable has the exact same name.
Re:Rv, a new kind of Ruby management tool
by woodruffw on Tuesday August 26, 2025 @10:04PM
(#45034666)
At this point, I think the namespace for 2-3 character CLI binaries has probably been clobbered several times over.
My lazy heuristic is to use nix-locate to search through the 100k packages in Nixpkgs, e.g.:
> nix-locate -r 'bin/uv'
Not perfect, but sort of useful for choosing names for executables for internal corporate projects, little wrapper scripts, etc. It's definitely still possible to find reasonable names!
But I've never done the analysis of such short names yet :D
So does the example I provided.