Live data from Hacker News

Kiss Linux – A distribution with a focus on less is more

k1ss.org

91–100 of 145 posts

Re: Kiss Linux – A distribution with a focus on less is more

#91
post #89

Earlier quoted context omitted.

I know about that utility -- still not shell though. The fact that you need a utility to make such a simple task readable is pointing to the shell language lacking.

By your own logic, your own UNIX solution to the file renaming problem is "not shell" since it uses the mv "utility". Or do you mean rename is not POSIX? The shell language certainly is lacking for almost anything beyond its original purpose of gluing together pipelines/graphs of UNIX commands; it's a largely unintentional DSL from the time before many modern notions of language ergonomics had become established. The…

Okay so how would it be done without mv..using the POSIX rename syscall?

https://pubs.opengroup.org/onlinepubs/009695399/functions/re...

mv is basically just a shim over rename so I don't see your point.

Shell may be to glue things together but it's supposed to also be a decent language for doing file/filename related things.

Re: Kiss Linux – A distribution with a focus on less is more

#92
post #85

Earlier quoted context omitted.

> The only way out of dependency hell is to disallow it by allowing multiple versions/different configurations of side-by-side packages (...) Another elegant way, for a more civilized time, is to simply disallow dependencies. If none of your packages has any dependencies, then no dependency hell is ever possible. This is possible and easy with static executables (for binary packages), and by embedding the interpreter…

Static binaries still have dependencies, they just embed them all into one file. That's not generically possible - as the most trivial example, consider a bash script which runs other executables. If you're trying to solve this problem, you need to actually solve it for all real cases; otherwise your solution breaks down and you're back where you started, in dependency hell.

This: perl ..

Re: Kiss Linux – A distribution with a focus on less is more

#94
post #89

Earlier quoted context omitted.

By your own logic, your own UNIX solution to the file renaming problem is "not shell" since it uses the mv "utility". Or do you mean rename is not POSIX? The shell language certainly is lacking for almost anything beyond its original purpose of gluing together pipelines/graphs of UNIX commands; it's a largely unintentional DSL from the time before many modern notions of language ergonomics had become established. The…

Okay so how would it be done without mv..using the POSIX rename syscall? https://pubs.opengroup.org/onlinepubs/009695399/functions/re... mv is basically just a shim over rename so I don't see your point. Shell may be to glue things together but it's supposed to also be a decent language for doing file/filename related things.

My point is that mv is a compiled C program, not a shell builtin or piece of shell syntax, that you may nonetheless call in a shell script to extend the functionality of the shell. rename is another such compiled C program. To say that it's awkward to batch rename files with mv may be true, but that's a deficiency of an external C program being used beyond its original purpose. Since we're using external programs anyway, you can just use one that's actually designed explicitly for the purpose renaming files.

Re: Kiss Linux – A distribution with a focus on less is more

#95
Been a while since I've used a Linux distro, let alone one that focused on being basic, but it feels like there is a lot of overlap with what Slackware was last time I used it. To me the whole point of "Simple" is to make the system comprehendible and Slackware did a very good job of that.

(Or for that matter, given the functionality presented here, I think OpenBSD as well)

Re: Kiss Linux – A distribution with a focus on less is more

#96
Me, out loud: "Awwww! What cute site!" I am not ashamed.

It's like a lil mini haiku OS (not to be confused with HaikuOS the open BeOS).

- - - -

Ooo!

https://github.com/michaelforney/samurai

> samurai is a ninja-compatible build tool written in C99 with a focus on simplicity, speed, and portability.

Re: Kiss Linux – A distribution with a focus on less is more

#97

I loved the idea (git everything!) until I read this: "How do I remove a package and all of its dependencies? [...] The package manager does not do recursive dependency removal on removal of a package. This error-prone automation will not be added to the package manager. "

FWIW I'm thinking: Step 1, Install Nix (or Guix.)

Re: Kiss Linux – A distribution with a focus on less is more

#98

Earlier quoted context omitted.

Could you explain more re: bugs? Dylan Araps sort of specialises in well-written (ba)sh and iirc uses shellcheck meticulously. I ask not to be combative in case you're just making a casual joke - more I'd like understand how bugs might creep in to (ba)sh code - even if say, one follows shellcheck and is as competent as Dylan.

I saw that after posting. It's not a critic of Dylan's work, more a critic of how difficult it is to write good bash code. Your comment on shellcheck and Dylan expertise just confirm it. It's like C, you could write safe C but it's very difficult. I wish there was a language with the ubiquity of Bash but modern and safe.

So it's a joke? You didn't e.g. look at: https://github.com/kisslinux/kiss/issues ?

(0 open, 85 closed BTW)

Re: Kiss Linux – A distribution with a focus on less is more

#99

Website looks terrible, practically unreadable on mobile. Black and red don't go well together either.

I enjoyed viewing it on an OLED screen.

They don't even have the "viewport" meta tag set, so it isn't meant for mobile.

Re: Kiss Linux – A distribution with a focus on less is more

#100

I’m not familiar with Kiss but it looks interesting; what’s the benefit of Kiss over something like Arch Linux which is already minimal?

... and/or any of the multitude of Arch install and setup scripts available like this one

https://github.com/LukeSmithxyz/LARBS

Post reply on HN