Re: [dev] Suggestion for project idea/christmas hacking: sbase xargs -P and -0 support

2024-12-14 Thread Страхиња Радић
Дана 24/12/13 06:12PM, Marc Chantreux написа: > I have a question here: who uses sbase and why? sbase is used by anyone interested, who values simplicity in software (the main ideal of suckless software). For example, I used it in my toy musl/Linux distro Galeb[1]. [1]: https://strahinja.srht.s

Re: [dev] [st] Strange behaviour of backspace under csh under st

2024-11-07 Thread Страхиња Радић
Дана 24/11/07 09:56PM, Jinsong Zhao написа: > Sorry for the noise. I should check the latest version of st before posting > here. This is why suckless software should not be installed through packages. Suckless programs are intended to be built from source, possibly after applying patches and conf

Re: [dev] Kernel maintainer *CENSORED* on LKML [WAS: linux: Goodbye from a Linux community volunteer]

2024-10-30 Thread Страхиња Радић
Дана 24/10/29 05:51PM, Enrico Weigelt, metux IT consult написа: > Now they're really gone wild: I'm blocked by vger's spam filter. No wonder, seeing the cc: list. What does any of this have with suckless software or the suckless movement?

Re: [dev] [dwm] Discuss my new software

2024-10-27 Thread Страхиња Радић
Дана 24/10/27 09:21AM, Raymond Cole написа: > common among you Among who? As stated, I am just a user and enthusiast of suckless software. > the overall unwelcoming atmosphere that I've perceived here? If so, > may you reconsider your responses after this clarification? Excuse me for being si

Re: [dev] [dwm] New software: swm & infobary

2024-10-27 Thread Страхиња Радић
Дана 24/10/27 03:07AM, Raymond Cole написа: > I see that you linked to Luke Smith's website in another email, so it > looks like you know him. That guy really helped popularize suckless > software, didn't he? In fact, he's the way I knew suckless. Maybe you > have not noticed but the features th

Re: [dev] [dwm] New software: swm & infobary

2024-10-26 Thread Страхиња Радић
Дана 24/10/26 04:07PM, Jeffrey Picard написа: > Fuck GPL That is a political opinion. My own opinion re: GPL vs [insert "lax" license here], while irrelevant to this thread, is that a stricter (in a way) license is better in making sure the freedom is not taken away by malicious proprietary compan

Re: [dev] [dwm] New software: swm & infobary

2024-10-26 Thread Страхиња Радић
Disclaimer: I am just a suckless software user and enthusiast. Дана 24/10/26 05:57AM, Raymond Cole написа: > I suggest considering swm as a new project that borrows code from > dwm. [...] > Finally, has anyone actually looked at things of my projects other than > the license? The main question t

Re: [dev] [dwm] New software: swm & infobary

2024-10-26 Thread Страхиња Радић
Дана 24/10/25 09:39PM, Andrey Dobrovolsky написа: > First of all I need to apologize for mentioning the wrong number > (sorry!), the right is Executive Order 14071 (oops) and describes > sanctions against Russian Federation. The use case was banning of 11 > developers from RF from Linux Kernel main

Re: [dev] [dwm] New software: swm & infobary

2024-10-25 Thread Страхиња Радић
Дана 24/10/25 04:40PM, Andrey Dobrovolsky написа: > Soon 14701 act by US government will be applied to all GPL licensed > software. Any references to whatever that is? Web search doesn't seem to return anything relevant here.

Re: [dev] [dwm] New software: swm & infobar

2024-10-25 Thread Страхиња Радић
Дана 24/10/25 08:11AM, Raymond Cole написа: > By the way, I license swm under GPL, and clarify in source files that > portions of code that come from dwm are still licensed the same as dwm. > I think it would be neater if I could relicense dwm derived code under > GPL, but for that I need permissio

Re: [dev] [slock] Compile-Time Pluggable Authentication Code (passwd, pam, etc.)

2024-10-04 Thread Страхиња Радић
Дана 24/10/04 07:36AM, Sebastian J. Bronner написа: > Fixed. I had never heard of config.mk before this. A also was not > able to find any documentation mentioning it anywhere. But I put it > back the way it seemed to be intended. Can you point me to some > documentation about config.mk files?

Re: [dev] [slock] Compile-Time Pluggable Authentication Code (passwd, pam, etc.)

2024-09-22 Thread Страхиња Радић
Дана 24/09/22 09:30AM, Страхиња Радић написа: > This is perhaps the moment when suckless movement should pick the > recommended version of POSIX standard (1003.1-2017?), similar to how > C99 is recommended as the suckless C standard. About this, on https://suckless.org/coding_style/

Re: [dev] [slock] Compile-Time Pluggable Authentication Code (passwd, pam, etc.)

2024-09-22 Thread Страхиња Радић
Дана 24/09/22 12:09AM, Steffen Nurpmeso написа: > Fyi this is no longer true with Issue 8. (They also invented, in > contact and with direct involvement of several make authors, > things not implemented everywhere (yet) while trying to find a way > to standardize "delayed-expansion" and "immediate

Re: [dev] sbase manpages display current date

2024-09-06 Thread Страхиња Радић
Дана 24/09/06 07:33PM, Brandon Pribula написа: > If the change to the man pages is acceptable I'm happy to submit the > changes in whatever fashion. Please read the entire https://suckless.org/hacking

Re: [dev] About xorg and mesa

2024-09-05 Thread Страхиња Радић
Дана 24/09/03 08:40PM, dalmon...@gmail.com написа: > Other issues are going to be handled better @gentoo-users, this list > is mostly exclusive to suckless software (which xorg is not and > gentoo is maybe I guess?) The following (mostly inactive) "distros" would be the closest to the suckless

Re: [dev] Re: [st] [PATCH 0/1] Add font array support

2024-08-30 Thread Страхиња Радић
Дана 24/08/29 02:45PM, Eric Pruitt написа: > Following up hoping someone with st commit privileges will take a look > at this. http://suckless.org/hacking/

Re: [dev] [st] Home key does not work in yash

2024-08-11 Thread Страхиња Радић
Дана 24/08/10 04:16PM, Roberto E. Vargas Caballero написа: > [...] In fact, > the backspace patch modifies the value exported by st because > otherwise it would not work. If you mean the delkey patch[1], it doesn't seem to change the TERM environment variable, nor the termname global variable in

Re: [dev] [st] Home key does not work in yash

2024-08-09 Thread Страхиња Радић
Дана 24/08/09 03:16PM, Roberto E. Vargas Caballero написа: > [...] Seting TERM directly is always 99.99% wrong and you can > get wrong results. So, setting TERM to st or st-256colors while using st is wrong? Why have a terminfo entry then?

Re: [dev] [st] Home key does not work in yash

2024-08-08 Thread Страхиња Радић
Дана 24/08/08 04:52PM, Randy Palamar написа: > How exactly are you invoking yash? On my Gentoo box invoking > `TERM=linux-s yash` from ksh running inside st and pressing HOME > leads to yash echoing back `ESC[H` (here ESC == \x1b). Simply > invoking `yash` causes HOME to behave as expected. I was

Re: [dev] [st] Home key does not work in yash

2024-08-08 Thread Страхиња Радић
Дана 24/08/09 12:33AM, Страхиња Радић написа: > [...] Even with the OP's settings, Backspace in st+yash is > working without issues here. *and Home key, which is the issue here.

Re: [dev] [st] Home key does not work in yash

2024-08-08 Thread Страхиња Радић
Дана 24/08/08 03:24PM, Roberto E. Vargas Caballero написа: > In fact, the correct thing to do is not modifying TERM. > St defines the correct value for the TERM variable, and > you can change that value in the config.h file, based in > your preferences. st sets the default, but setting TERM overr

Re: [dev] [st] Home key does not work in yash

2024-08-02 Thread Страхиња Радић
Дана 24/08/02 08:42PM, Страхиња Радић написа: > Your email client (or email processor) seems to expand shell variables > in email bodies, which is a serious security and privacy risk. I Correction: > /bin /boot /dev /etc /firmware /grub-efi-ia32_2.06-13_amd64.deb [...] (original mail:

Re: [dev] [st] Home key does not work in yash

2024-08-02 Thread Страхиња Радић
Дана 24/08/02 12:12PM, luons...@autistici.org написа: > Apologies for my previous mail which got all cluttered up (Trouble with mbl= > aze). Your email client (or email processor) seems to expand shell variables in email bodies, which is a serious security and privacy risk. I strongly advise eithe

Re: [dev] [st] Home key does not work in yash

2024-08-02 Thread Страхиња Радић
Дана 24/08/01 11:04PM, luons...@autistici.org написа: > When running yash in st, Home key does not work properly. In other > terminal/shell combinations, the key moves the cursor to the beginning > of the line.The End key works as expected. Not reproducible on OpenBSD 7.5, sr@ Дана 24/08/02 12

Re: [dev] Seeking Recommendations for a UNIX-like Operating System

2024-07-28 Thread Страхиња Радић
After years of using various versions of GNU/Linux (and creating my own pet distro based on musl+Linux), I finally settled on OpenBSD. In a nutshell, BigTech working through RedHat destroyed GNU/Linux. * * * On Sat, Jul 27, 2024 at 11:29:49PM +0200, marcel.wirk...@keemail.me wrote: > - (If pos

Re: [dev] [dmenu] What's the expected behavior on invalid utf8?

2024-07-04 Thread Страхиња Радић
Дана 24/07/04 11:32AM, GMD Ephir написа: > I'm pretty sure that this is how it should be done, so I recommend > you to send this patch to "hackers" mailing list. I second this, there certainly is no harm in sending the patch to hackers@.

Re: [dev] [dwm][st] why use ints over bools?

2024-06-21 Thread Страхиња Радић
Дана 24/06/21 09:14PM, Markus Wichmann написа: > Let me offer a counterpoint: Expressiveness. If I make a function return > a bool, then everyone from the world's worst junior dev to Ken Thompson > himself will be able to see at the very first glance that the function > is returning a boolean value

Re: [dev] alternatives to C: Ada, Rust, Pascal

2024-06-21 Thread Страхиња Радић
Дана 24/06/21 10:45AM, Greg Reagle написа: > Rust also has some good safety and ease-of-use features. It is very > big and complex with a lot of features (compared to C). Previous thread, now necroed: https://lists.suckless.org/dev/2104/34265.html * * * Rust sucks. It was made by Big Tech (M

Re: [dev] [dwm][st] why use ints over bools?

2024-06-20 Thread Страхиња Радић
Дана 24/06/20 10:24PM, sewn написа: > Sure, but why? It is part of the suckless coding style. Since st is a suckless project, it follows the suckless coding style. * * * I can't speak for those who wrote the suckless coding standard, but as a bystander, I can give this observation. If the que

Re: [dev] [dwm][st] why use ints over bools?

2024-06-15 Thread Страхиња Радић
Дана 24/06/15 11:54AM, Zac написа: > I'm curious why you use ints though. Because bools are 31 bits smaller than > ints, which is 31 bits of memory saved. Not that 31 bits is very much, but >still... https://suckless.org/coding_style/ > Tests and Boolean Values > > * Do not use C99 bool types (

Re: [dev] piscou?

2024-05-04 Thread Страхиња Радић
Дана 24/05/04 12:48PM, Hiltjo Posthuma написа: > Have you reported this issue to the author of piscou? No. There is actually a number of issues with the program itself (for example: under the #ifdef DEBUG it calls both dunstify and notify-send - it loops over the list). This is more about its p

[dev] piscou?

2024-05-04 Thread Страхиња Радић
While browsing through the commits to /sites, I noticed a program piscou[1]. Just looking at its Makefile, it seems to include dubious code such as: clang: CC=clang clang: CFLAGS += -Weverything -Wno-unsafe-buffer-usage clang: clean release and piscou: $(src) $(headers) Makefile

Re: [dev] [sbase] Defining scope of sbase and ubase

2024-03-09 Thread Страхиња Радић
On 24/03/09 05:28PM, Elie Le Vaillant wrote: > Or is it out-of-scope for us to implement a full-blown shell? I really am > not sure. I think it would be interesting to have "official" suckless versions of all of the mentioned programs, which would at minimum implement their descriptions from POS

Re: [dev] [sbase] Defining scope of sbase and ubase

2024-03-09 Thread Страхиња Радић
On 24/03/09 12:59AM, Mattias Andrée wrote: > I agree, a single repo (or alternatively making libutil it's own repo) is > necessary if we want one binary, and I think we do. Compiling all programs into one binary is currently an option, and IMHO it should remain an option. In my own toy distro[1]

Re: [dev] [sbase] Defining scope of sbase and ubase

2024-03-08 Thread Страхиња Радић
On 24/03/08 06:40AM, Roberto E. Vargas Caballero wrote: > I would like to move the discussion here and see what alternatives > we have and how to proceed in this case. IMHO, if the intention behind sbase was to provide a minimal portable POSIX utilities implementation, anything not fitting that d

Re: [dev] [st] externalpipe on OpenBSD

2024-03-07 Thread Страхиња Радић
Hi, can anyone take a look at this and approve or comment if there is anything to add to or change about the patch? https://lists.suckless.org/wiki/2402/4748.html

Re: [dev] [st] externalpipe on OpenBSD

2024-02-21 Thread Страхиња Радић
On 24/02/21 10:12AM, Страхиња Радић wrote: > [...] (the program specified in openurlcmd doesn't get > executed). I narrowed this down to adding "exec" to the second pledge: +@@ -803,7 +809,7 @@ ttynew(const char *line, char *cmd, const char *out, char **args)

[dev] [st] externalpipe on OpenBSD

2024-02-21 Thread Страхиња Радић
Hello, I recently installed OpenBSD for the first time and I noticed a few issues with externalpipe[1]. It seems this patch clashes with the parameters passed to pledge(2) in ttynew[2] (the program specified in openurlcmd doesn't get executed). I also noticed that when I simply comment out the

Re: [dev] [st][patch] more work on the XEmbed embedder

2024-02-04 Thread Страхиња Радић
On 24/02/04 03:22PM, Robin Haberkorn wrote: > Thirdly, I doubt that the maintainers would want to merge this into mainline. The essence of the suckless philosophy goes hand in hand with the Unix philosophy - programs that do one thing well and cooperate with other programs. st is and should rema

Re: [dev] Presenting some more software

2024-01-15 Thread Страхиња Радић
On 24/01/15 09:58AM, Hiltjo Posthuma wrote: > I would recommend doas and for Linux the fork opendoas. Of course; there are several disadvantages to note about sup: - it doesn't check credentials; it is like permit nopass cmd1 permit nopass cmd2 permit nopass cmd3 in doas

Re: [dev] Presenting some more software

2024-01-14 Thread Страхиња Радић
On 24/01/13 09:19PM, stefan1 wrote: > https://github.com/stefan1/su > https://github.com/stefan1/rootdo > https://github.com/stefan1/rdoedit I find sup[1] (~120-ish LoC) very useful, and in line with suckless philosophy. [1]: https://oldgit.suckless.org/sup/ signature.asc Descri

Re: Re: [dev] what is a suckless way to add a few keyboard shortcuts to Firefox

2024-01-08 Thread Страхиња Радић
On 24/01/07 04:05PM, stefan1 wrote: > However, I also have a question: > Should I run noscript and ublock alongside umatrix in case something slips > through the cracks in my umatrix configuration? There's really no need to use any other ad blocker besides uMatrix. It is enough and better tha

Re: [dev] what is a suckless way to add a few keyboard shortcuts to Firefox

2024-01-05 Thread Страхиња Радић
On 24/01/05 02:08PM, stefan1 wrote: > Aside from ungoogled chromium, which browser would you say it's worth using? > Preferably not chromium based and not tied to google/mozilla/ company>'s whims and shady interests. That's the catch--The Web has grown too complicated over the years for someon

Re: [dev] what is a suckless way to add a few keyboard shortcuts to Firefox

2024-01-04 Thread Страхиња Радић
On 24/01/05 04:14AM, stefan1 wrote: > Maybe even remove my desktop all together at that point. :) Root window + st, with a terminal multiplexer is all that is needed. Desktop icons are just eye candy, and inefficient when moving a mouse to a specific place on the screen and double-clicking

Re: [dev] what is a suckless way to add a few keyboard shortcuts to Firefox

2024-01-04 Thread Страхиња Радић
> what is a suckless way to add a few keyboard shortcuts to Firefox Edit its source code (unironically). Anyone who would laugh at this proposal doesn't actually understand or accept suckless philosophy. * * * BTW, Web sucks => any browser sucks. But besides that, Firefox is worse than Google C

Re: [dev] [Bug][sbase] make install borked since commit ddde8021

2023-10-29 Thread Страхиња Радић
On 23/10/29 08:49PM, Markus Wichmann wrote: > Am Sun, Oct 29, 2023 at 06:00:18PM +0100 schrieb Страхиња Радић: > > mkdir returning EISDIR is definitely not a part of POSIX.[1] > > > > [1]: > > https://pubs.opengroup.org/onlinepubs/9699919799/functions/mkdir.html#tag_

Re: [dev] [Bug][sbase] make install borked since commit ddde8021

2023-10-29 Thread Страхиња Радић
On 23/10/29 07:59AM, Randy Palamar wrote: > > Plus I didn't know mkdir could fail with EISDIR. My manpage is not > > documenting that case. > > It's probably legacy nonsense or from some obscure platform that I > noticed when checking other implementations [0]. mkdir returning EISDIR is definitel

Re: [dev] [edit] Introducing edit, a simple text editor

2023-10-24 Thread Страхиња Радић
On 23/10/24 11:49AM, Kyryl Melekhin wrote: > Besides, I want people to actually use my software and have some kind > of visibility. > > Nobody would know of suckless.org were it not be constantly posted and > talked about > on various social media(s). This touches up one of the fundamental differ

Re: [dev] [edit] Introducing edit, a simple text editor

2023-10-24 Thread Страхиња Радић
On 23/10/23 03:11PM, Kyryl Melekhin wrote: > Since this is my creation I might be biased, but I still think that Nextvi is > the best suckless editor. That should be left for others to decide. > Please give it a revisit, and help me get 100 stars on github! Social networks should die. Github is

Re: [dev] libsecret implementation

2023-10-10 Thread Страхиња Радић
On 23/10/10 01:04PM, Страхиња Радић wrote: > It all depends on the degree of your agency over the choice of software and > over the software itself. If it's a program you wrote, then consider > switching > away from D-Bus to interfacing with a simpler/better/more tradit

Re: [dev] libsecret implementation

2023-10-10 Thread Страхиња Радић
On 23/10/10 10:33AM, Marko Bauhardt wrote: > Hi, > i have to use a program at work which requires libsecret - Secret > Service D-Bus client library. > Right now I'm using the gnome keyring implementation. > I would like to get rid of this implementation and use a more simpler > one, in other words

Re: [dev] [edit] Introducing edit, a simple text editor

2023-09-28 Thread Страхиња Радић
On 23/09/28 09:02AM, David Demelier wrote: > Not sure if that helps but I eventually stopped adding flags at all and > use just the defaults everywhere. Otherwise I'd be glad to understand > if there is a complete and strict conformance explanation on those > combinations. As Adam noted, the macro

Re: [dev] [edit] Introducing edit, a simple text editor

2023-09-27 Thread Страхиња Радић
On closer inspection, termbox2.h does include signal.h itself[1], and additionally defines _XOPEN_SOURCE[2] and _DEFAULT_SOURCE, so the inclusion of signal.h can't be escaped. My testing has shown that when -std=c99 is specified, it is as if that switch explicitly undefines _DEFAULT_SOURCE/_XOP

Re: [dev] [edit] Introducing edit, a simple text editor

2023-09-27 Thread Страхиња Радић
On 23/09/27 03:50PM, Arthur Jacquin wrote: > termbox2.h is not C99 compliant, yet the -std=c99 compilation flag is > set in the default configuration. On the compilers I tried, it has not > been a problem as the non-C99 parts were ignored, but I shouldn't have > assumed it would always be this way.

Re: [dev] Suckless web crawlers

2023-09-26 Thread Страхиња Радић
On 23/09/26 02:13PM, Sagar Acharya wrote: > Which web crawlers and indexing tools does suckless suggest? One can answer this and similar questions about particular niches of software by carefully reading and understanding what suckless is about: https://suckless.org/philosophy/ (emphasis mine) >

Re: [dev] getting rid of cmake builds

2023-09-22 Thread Страхиња Радић
On 23/09/22 04:27PM, Страхиња Радић wrote: > ...according to sloccount[1]... [1]: https://dwheeler.com/sloccount/ signature.asc Description: PGP signature

Re: [dev] getting rid of cmake builds

2023-09-22 Thread Страхиња Радић
On 23/09/22 07:27PM, NRK wrote: > And this is no longer the 50s, we have enough memory to build a couple > thousand line of code without *requiring* splitting things into multiple > intermediate object files to avoid going OOM (even with bloated > compilers like gcc/clang with optimization enabled)

Re: [dev] getting rid of cmake builds

2023-09-22 Thread Страхиња Радић
On 23/09/22 03:09PM, NRK wrote: > Some tend to argue that this "doesn't scale", but as I said, this is for > small projects. And the chances of your small project turning into the > next linux kernel [2] with 30M LoC is probably not high. So don't create > new *actual problems* by trying to solve a

Re: [dev] getting rid of cmake builds

2023-09-22 Thread Страхиња Радић
On 23/09/22 09:50AM, Sagar Acharya wrote: > A better way to build is to write a build.dash script Some elaboration is needed. In what way would this shell script be better than the make systems I listed? How does it decide when rebuilding is needed? Does it track dependencies and how? signatu

Re: [dev] getting rid of cmake builds

2023-09-21 Thread Страхиња Радић
On 23/09/21 09:42AM, LM wrote: > I build a lot of common libraries and programs from source. Many of > them are switching to cmake. I'm not a fan of cmake. For one thing, > it's so complicated to build from source code that I can't bootstrap > the build of cmake itself. I really would prefer to

Re: [dev] C variants, compilers and completeness

2023-08-18 Thread Страхиња Радић
On 23/08/18 02:18, David Demelier wrote: > On Mon, 2023-07-24 at 17:38 +0200, Sagar Acharya wrote: > > I see C compilers recommended by suckless are: > > > > tinycc > > simplecc > > cproc > > qbe > > lacc > > qbe isn't a compiler. however cproc is promising but I had various > issues compiling so

Re: [dev] sbm dmenu bookmarker

2023-08-01 Thread Страхиња Радић
On 23/07/31 08:15AM, Randy Palamar wrote: > `grep -v -e '#' -e '^$' $BOOKMARKS | dmenu -i -l 20 | cut -f 1 -d ' '` > > Then I pipe it to the clipboard or a plumber script depending > on what I want to do with it (bound to a keybind in dwm). > > To add bookmarks I either use a text editor or just

Re: [dev] Problem with windows name

2023-07-10 Thread Страхиња Радић
text, was not shown correctly, so this patch adds an exception for root window instead, skipping conversion in that case. Reported by Dr. André Desgualdo Pereira. Signed-off-by: Страхиња Радић --- dwm.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dwm.c b/dwm.c index

Re: [dev] Problem with windows name

2023-07-09 Thread Страхиња Радић
Adding to gettextprop in dwm.c: // ... if (!XGetTextProperty(dpy, w, &name, atom) || !name.nitems) return 0; FILE* log = fopen("/home/user/dwm.log", "at"); fprintf(log, "---\n"); fprintf(log, "atom = {%lu}\n", atom); f

Re: [dev] Problem with windows name

2023-07-09 Thread Страхиња Радић
I debugged dwm, adding to drw.c: static void log_msg(const char* fmt, ...) { char buf[4096]; va_list args; va_start(args, fmt); vsnprintf(buf, sizeof(buf), fmt, args); va_end(args);

Re: [dev] Problem with windows name

2023-07-09 Thread Страхиња Радић
On 23/07/09 08:43AM, Dr. André Desgualdo Pereira wrote: > # xprop > xprop shows the correct name, but it doesn't has the _NET_WM_NAME defined as > it used to have on Debian 11 and before (I guess it is because missing > library > tkinter for python2.7). > Example: WM_NAME(STRING) = "André Desgua

Re: [dev] Minimalist software. Should I care?

2023-07-06 Thread Страхиња Радић
On 23/07/04 07:06PM, Nikita Krasnov wrote: > If I had used one of the bloated programs I probably could have found a > solution in one of the menus after reading few Stack Overflow answers. But > with Neovim I'd have to first find the program that would be suitable for > what I try to achieve, then

Re: [dev] Minimalist software. Should I care?

2023-07-06 Thread Страхиња Радић
On 23/07/04 07:06PM, Nikita Krasnov wrote: > What would be the point of using minimalist software if bloated and > excessively complex programs completely satisfy all my needs? Doing all that but with much less resources (in the broadest sense) wasted. On 23/07/04 01:16PM, Dave Blanchard wrote:

Re: [dev] Am I doing this right?

2023-07-02 Thread Страхиња Радић
On 23/07/02 06:39PM, Sebastian LaVine wrote: > On Sun Jul 2, 2023 at 6:28 PM EDT, Nikita Krasnov wrote: > > While we're on it. Are there any good Android email clients > > that you can recommend? I've yet to find an app that allows > > you to send emails in plain text, let alone with line > > ha

Re: [dev] [license] gpl issues

2023-06-20 Thread Страхиња Радић
On 23/06/18 09:01, Страхиња Радић wrote: > You can't license the whole of A as GPL, only your modifications. [...] > which explicitely forbids removing the copyright and permission notices on > Expat-licensed code, or replacing them with, say, GPL notices. On second thought, I think

Re: [dev] [license] gpl issues

2023-06-20 Thread Страхиња Радић
On 23/06/20 08:41, Miles Rout wrote: > It requires the notice is included (so people know that that code is > available elsewhere under that licence), not that the notice is included _as > your licence for the overall work_. As someone else said, "words do matter". Copyright notice is not "just

Re: [dev] [license] gpl issues

2023-06-18 Thread Страхиња Радић
On 23/06/18 04:58PM, Miles Rout wrote: > As far as I understand, if you create a work (A) that is a fork of another > work (B), where B is MIT-licensed, nothing stops you from licensing A as GPL. > I > wouldn't call it "relicensing": you're licensing your own work, A, which > happens to be deri

Re: [dev] [quark] a monty-pythonesque journey with SYSTEMd

2023-05-31 Thread Страхиња Радић
On 23/05/29 11:37PM, Spenser Truex wrote: > systemd Just don't use it, it sucks. Use anything else for PID 1 and process supervision. https://suckless.org/sucks/systemd/ signature.asc Description: PGP signature

Re: [dev] running a shortlink provider

2023-05-26 Thread Страхиња Радић
On 23/05/25 07:19PM, Spenser Truex wrote: > I don't support this database heavy database stuff. A key-value pair > dataset would be enough. It's basically a perl one-liner. See (just a quick example): https://stackoverflow.com/a/43050919/184064 This is still not an ideal solution, but it illustr

Re: [dev] running a shortlink provider

2023-05-25 Thread Страхиња Радић
On 23/05/25 10:29AM, Anthony wrote: > What do you mean by, "because of concurrency"? At any given moment, several HTTP clients can request posting data at the same time. They can hang indefinitely in the middle of sending data. If the process involves writing to a file, this can lead to data cor

Re: [dev] running a shortlink provider

2023-05-24 Thread Страхиња Радић
On 23/05/25 07:02AM, Marcel Plch wrote: > 2) Pick favorite Web stack [...] > I personally would go for Python/Django, I'm not sure how suckless that's > considered (probably not at all) [...] > Web is in a sad state so You answered your own question. Web is bloat, in particular HTML itself as som

Re: [dev] organizing programs

2023-05-13 Thread Страхиња Радић
On 23/05/12 02:11PM, LM wrote: > I'd be curious to know what tools other people use on the list to > handle organizational jobs such as time and task scheduling, todo > lists, habit tracking, displaying/printing calendars, etc. Any > recommendations? If you use more than one application, which pr

Re: [dev] Simpler WiFi alternatives

2023-05-12 Thread Страхиња Радић
On 23/05/11 04:03PM, fo...@dnmx.org wrote: This list needs moderation ASAP, otherwise it risks turning into another Reddit (which, for those who might not know, is a veritable cesspool). signature.asc Description: PGP signature

Re: [dev] [license] gpl issues

2023-05-07 Thread Страхиња Радић
On 23/05/06 09:55PM, Laslo Hunhold wrote: > [0]:https://unixsheikh.com/articles/the-problems-with-the-gpl.html Dear Laslo, Thank you for reminding me of Unixsheikh's article on his view of GPL and other licenses. I read it a while ago, but the arguments presented in it leave me unconvinced. I d

Re: [dev] [license] gpl issues

2023-05-06 Thread Страхиња Радић
On 23/05/05 08:07AM, Laslo Hunhold wrote: > I try to take a balanced stance in the GPL vs. MIT discussion, given it > usually derails into tribalist diatribes on both sides. Essays have been written and are available online explaining everything about GPL and related licenses, so there's no need

Re: [dev] Using ii to connect to libera

2023-04-20 Thread Страхиња Радић
On 23/04/20 06:00, Sagar Acharya wrote: > I expected it to be interactive out of the box. A chat client, I cannot > imagine anything except interactive abilities. Consider this a learning opportunity then: it is better to read documentation and/or a website[1] of some program, than create assump

Re: [dev] [dwm] with SIGCHLD commit, dwm cannot launch dmenu_extended.

2023-04-08 Thread Страхиња Радић
On 23/04/08 07:24PM, p...@mailbox.org wrote: > static const char *dmenu_extend[] = { "dmenu_extended_run", NULL }; How about: > > (Try changing your > > dmenu_extended keybind to something else and see if that works or not). 1. What happens if you use: static const char *dmenu_exten

Re: [dev] [DEV][Quark] Big problem

2023-02-25 Thread Страхиња Радић
On 23/02/25 12:59PM, fo...@dnmx.org wrote: > Tried -s 128 -t 8, doesn't seem to do jack shit.. > Got less than 10 connection logs from Quark and then another dropped one.. > Is there any other reason Quark would print-out 'dropped', other than > connection pool at max? > > I restarted the jail, so

Re: [dev] [st] Font problem

2023-02-10 Thread Страхиња Радић
On 23/02/10 03:19PM, Vincent Lefevre wrote: > Actually that's more Cairo vs Xft. Pango may use either: Right. In any case, the most likely place the OP should check is fontconfig configuration and fc-* programs for debugging (fc-match, fc-list and so on). signature.asc Description: PGP signatur

Re: [dev] st: no need for scrollback patch or program by using -o option

2023-01-16 Thread Страхиња Радић
On 23/01/16 12:33, Страхиња Радић wrote: > Most of what's to be said in "defense" of st and other suckless software is > already out there on suckless.org, including the sorry state of XTerm being > the > driving idea behind writing st, which the OP turned upside-dow

Re: [dev] st: no need for scrollback patch or program by using -o option

2023-01-16 Thread Страхиња Радић
On 23/01/14 09:25, Markus Wichmann wrote: > On Fri, Jan 13, 2023 at 07:53:41PM -0600, Dave Blanchard wrote: > > I experimented with st for a week or so, before finally realizing that > > it's poorly-written trash. It has no advantages over XTerm at all. > > > > So where's the patch? > > Given tha

Re: [dev] Commandline Email Advice Request

2022-11-27 Thread Страхиња Радић
On 22/11/25 09:43, Teodoro Santoni wrote: > Gmail doesn't allow to use SMTP in a classic way (normal auth > with/without encryption). You may need to ask your sysadmins for > XOAUTH2 keys and try to pass that git send-email through an SMTP thing > like msmtp. > A faster solution would be to make th

[dev] Broken link in /faq/

2022-08-31 Thread Страхиња Радић
The first link in https://suckless.org/faq/ http://freecode.com/articles/stop-the-autoconf-insanity-why-we-need-a-new-build-system seems to be broken. Just wanted to ask if it is ok for me to replace it with https://web.archive.org/web/20181118080003/http://freshmeat.sourceforge.net/articles/st

Re: [dev] tar filename handling

2022-08-01 Thread Страхиња Радић
On 22/08/01 09:30, Quentin Rameau wrote: > Andrew has posted a patch (on hackers@ on may first) for this > that nobody had time to review yet. :/ > I suggest you try it, that should fix your issue. Ah, I'm not subscribed on that list (yet?). Anyway, I tested my patch on my use case and it behaves

[dev] tar -n (equivalent of --no-recursion)

2022-08-01 Thread Страхиња Радић
=9A=D0=B0=20=D0=A0?= =?UTF-8?q?=D0=B0=D0=B4=D0=B8=D1=9B?= Date: Mon, 1 Aug 2022 09:21:08 +0200 Subject: [PATCH] Add -n (equivalent of --no-recursion) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Страхиња Радић --- tar.1 | 5 ++

Re: [dev] tar filename handling

2022-08-01 Thread Страхиња Радић
=A1=D1=82=D1=80=D0=B0=D1=85=D0=B8=D1=9A=D0=B0=20=D0=A0?= =?UTF-8?q?=D0=B0=D0=B4=D0=B8=D1=9B?= Date: Mon, 1 Aug 2022 09:12:03 +0200 Subject: [PATCH] Split path into prefix + name on -c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Страхиња

[dev] tar filename handling

2022-07-31 Thread Страхиња Радић
I was using suckless tar to create an archive of a Python package, and hit a limit. When checking out the code, I noticed that the name of the file is 100 characters long, however there is also the prefix field which is 155 characters long, and the actual path should be combined from prefix (if

Re: [dev] Replace ranlib(1) calls?

2022-07-24 Thread Страхиња Радић
On 22/07/23 11:06, Tom Schwindl wrote: > Again, you'd have to rely on a tool which isn't defined. > If a system says it's POSIX compliant, we can assume that the `-s' option > exists, but there is no standard which tells us whether ranlib(1) is available > or not. Standards are not the Holy Grail.

Re: [dev] suckless indentation with vim

2022-07-02 Thread Страхиња Радић
On 22/07/02 11:07, NRK wrote: > If someone's using vim and follows this style, what plugin and/or > setting do you use? set tabstop=8 set softtabstop=0 set shiftwidth=0 set noexpandtab Not being lazy to type text, and indenting each line manually. Side note: vim i

Re: [dev] [dwm] Xorg crashed if I ran Pale Moon in dwm

2022-06-22 Thread Страхиња Радић
On 22/06/22 01:04, p...@mailbox.org wrote: > > the discussion https://forum.palemoon.org/viewtopic.php?f=3&t=28505 [ 140.237] Failed to compile FS: 0:1(10): error: GLSL 1.30 is not supported. Supported versions are: 1.10, 1.20, and 1.00 ES ^ This is most probably caused by mismatched/misconfig

Re: [dev][surf] Compatibility: "empty" wep pages

2022-04-29 Thread Страхиња Радић
On 22/04/29 09:48, Robert Winkler wrote: > Hi, surf is up to now the best browser I found for weak machines such as the > Raspberry Pi 0W, with respect to compatibility and customisability (link > hints, full keyboard control). > > The support of Javascript pages is fair. > > However, some Web P

Re: [dev] [st] UTF-8 not working

2022-04-28 Thread Страхиња Радић
On 22/04/28 01:44, Robert Winkler wrote: > > usually, I am using the fish https://www.youtube.com/watch?v=8AQobpqySAU signature.asc Description: PGP signature

Re: [dev] [st] UTF-8 not working

2022-04-28 Thread Страхиња Радић
On 22/04/28 06:48, Страхиња Радић wrote: > May I ask what shell are you using inside st? The only problem I noticed so > far > with my script, which uses xdotool(1) to type characters, is when I am using > it > while st is specifically executing mksh as a shell. With bas

Re: [dev] [st] UTF-8 not working

2022-04-28 Thread Страхиња Радић
On 22/04/15 07:08, Robert Winkler wrote: > Hi, according to the st Status, UTF-8 should be working. Much needed for > multilingual typing with ú, ü, ß, µ, ¿ etc. > However, I only get 00e9 if I type é; anything, I need to specify in > config.h? > Best, Robert Liks I said, I only use: - lo

Re: [dev] Regarding dwm and st logo being removed

2022-04-28 Thread Страхиња Радић
On 22/04/28 12:19, Laslo Hunhold wrote: > What do the others think? I also like them, I think they contribute to overall visual identity of suckless programs and suckless.org and should be reincorporated into the website. signature.asc Description: PGP signature

  1   2   >