News for hackers. Stuff that matters.
Re:Suckless.org: software that sucks less by imiric on Friday February 21, 2025 @04:43PM (#43133417)
> This is an odd thing to bring up though because that's quite literally the only way to make any changes to suckless software, editing source code in C.

You're ignoring the part where the tools are often a fraction of the size and complexity of similar tools. I can go through a 5K SLOC program and understand it relatively quickly, even if I'm unfamiliar with the programming language or APIs. I can't do the same for programs 10 or 100x that size. The code is also well structured and documented IME, so changing it is not that difficult.

In practice, once you configure the program to your liking, you rarely have to recompile it again. Like I said, I'm using a 5 year old st binary that still works exactly how I want it to.

Maintaining a set of patches is usually not a major problem either. The patches are often small, and conflicts are rare, but easily fixable. Again, in my experience, which will likely be different from yours. Our requirements for how we want the software to work will naturally be different.

The madness you describe to me sounds like a feature. It intentionally makes it difficult to add a bunch of functionality to the software, which is also what keeps it simple.

Re:Suckless.org: software that sucks less by Avshalom on Friday February 21, 2025 @04:58PM (#43133571)
>I can go through a 5K SLOC program and understand it relatively quickly

you already said in your first post that you can't understand it.

Re:Suckless.org: software that sucks less by eadmund on Friday February 21, 2025 @05:03PM (#43133619)
But he can, and pretty quickly. That’s unlike most programs, which are more or less unintelligible to those not working on them.
Re:Suckless.org: software that sucks less by imiric on Friday February 21, 2025 @05:10PM (#43133673)
Right, but "pretty quickly" is relative :D

I'm not a C programmer, so it would probably personally take me days, maybe weeks to fully grok 5K SLOC of C. Still, it is potentially possible if I made the effort, unlike with other programs, like you say.

It's a testament to the quality of the original C code that I was able to configure and use st and other suckless tools with my limited experience. An experienced C developer would probably find it a breeze.

Re:Suckless.org: software that sucks less by imiric on Friday February 21, 2025 @05:02PM (#43133608)
I said I don't understand it, not that I couldn't.

I don't because I haven't needed to. Understanding just a few hundred lines has been enough for my needs.

Re:Suckless.org: software that sucks less by J_McQuade on Friday February 21, 2025 @05:56PM (#43134110)
> I said I don't understand it, not that I couldn't.

When your main goal to just get on with solving your actual problems, these are the same thing.

Re:Suckless.org: software that sucks less by kombine on Friday February 21, 2025 @06:50PM (#43134576)
I have a small config for Kitty that does not require any patching and recompilation and can survive Kitty updates for years to come. I don't understand why I need to study the source code of my terminal emulator.
Re:Suckless.org: software that sucks less by imiric on Friday February 21, 2025 @07:33PM (#43134849)
I quite liked Kitty, and wanted to keep using it. But the slow startup was a deal breaker for me. Even with `--single-instance` it was at least 5x that of st for me, which is noticeable for an app I use very frequently. Besides, I'm not a fan of running a single instance of any app, since if (when) it crashes, all my work is gone.

Then I had a look around their issue tracker, and noticed others complained about this too[1]. And the dismissive and defensive response from the author just rubbed me the wrong way.

[1]: https://github.com/kovidgoyal/kitty/issues/330

Re:Suckless.org: software that sucks less by jdhendrickson on Saturday February 22, 2025 @12:45AM (#43136424)
Strange, it actually endeared him to me. Thanks for the link. I guess some crusty part of me enjoys seeing someone who actually knows what they are talking about not putting up with whiny demanding randos on the internet. I might even give kitty a second chance on windows, to clarify I don't think you are wrong to feel the way you do, it just gave me a chuckle how differently different people parse things.
Re:Suckless.org: software that sucks less by 12345hn6789 on Saturday February 22, 2025 @10:15AM (#43139683)
The only person whining in those threads is the creator sadly. The users are offering an issue they encountered and the author told them off...
Re:Suckless.org: software that sucks less by spit2wind on Friday February 21, 2025 @05:58PM (#43134137)
Has anyone created a walkthrough of the code?

I've looked before and not found anything, but it's a niche thing on an already niche thing.

Re:Suckless.org: software that sucks less by taniks1618 on Friday February 21, 2025 @08:59PM (#43135343)
For DWM there is https://github.com/bakkeby/dwm-commented which I found relatively useful to understanding DWM.