News for hackers. Stuff that matters.
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.
Re:Rv, a new kind of Ruby management tool by pxc on Tuesday August 26, 2025 @08:25PM (#45034002)
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.
Re:Rv, a new kind of Ruby management tool by pxc on Wednesday August 27, 2025 @12:34AM (#45035494)
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

Re:Rv, a new kind of Ruby management tool by jxf on Wednesday August 27, 2025 @12:30PM (#45041823)
So does the example I provided.
Re:Rv, a new kind of Ruby management tool by fuckaj on Tuesday August 26, 2025 @10:40PM (#45034878)
You might use R and Ruby. Wouldn't be unheard of. Alias ftw.