Re: [dev] Suckless core hacking ideas

2024-12-26 Thread Marc Chantreux
hello, On Thu, Dec 26, 2024 at 11:33:01AM +0100, Marcel Plch wrote: > If you could forward me the thread, it would be much appreciated. one of the beauty of mailing lists are public archives available in mbox format. https://lists.suckless.org/dev/ regards -- Marc Chantreux

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

2024-12-14 Thread Marc Chantreux
's worth mentionning Gabel and Fuchsia in the sbase homepage or in the README? (I can take care of it). regards, -- Marc Chantreux

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

2024-12-14 Thread Marc Chantreux
asis a try again. But yes: Gabel seems interesting too. regards, -- Marc Chantreux

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

2024-12-14 Thread Marc Chantreux
toy musl/Linux distro Galeb[1]. > [1]: https://strahinja.srht.site/galeb/ this was the kind of answer I had in mind: distros, projects, explainations on why people chose sbase instead of coreutils or busybox. regards -- Marc Chantreux

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

2024-12-13 Thread Marc Chantreux
Hi Hiltjo, > Coincidently I recently tested some things on Tiny Core Linux with busybox. you just made me realize there is a linux distribution named Tiny Core so I kept on browsing and realized there was interesting projects around busybox. thanks. -- Marc Chantreux

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

2024-12-13 Thread Marc Chantreux
ay, the tiny core I use is busybox so I don't know how it maters but: - Busybox findutils: https://git.busybox.net/busybox/tree/findutils/xargs.c ( FEATURE_XARGS_SUPPORT_ZERO_TERM FEATURE_XARGS_SUPPORT_PARALLEL ) regards -- Marc Chantreux Pôle CESAR (Calcul et services avancés à la recherche) Université de Strasbourg 14 rue René Descartes, BP 80010, 67084 STRASBOURG CEDEX 03.68.85.60.79

Re: [dev] show line number *and* column number in a search

2022-07-02 Thread Marc Chantreux
T+RLENGTH}' > > [0] https://geoff.greer.fm/ag/ you don't need match twice so awk ' match($0, /er.*/) { print $_"\n"NR":"RSTART"-"RSTART+RLENGTH }' does the trick. regards -- Marc Chantreux Direction du numérique de l'Université de Strasbourg Pôle de Calcul et Services Avancés à la Recherche (CESAR) http://annuaire.unistra.fr/p/20200

Re: [dev] gunther

2020-04-14 Thread Marc Chantreux
hello, On Tue, Apr 14, 2020 at 03:14:53PM +0400, gaspar.vardanyan.mail...@gmail.com wrote: > what is this: https://gunther.suckless.org/ ? :D i wasn't aware of this link before but gunther was (is?) a very talented german singer ;) (https://www.youtube.com/watch?v=z13qnzUQwuI) i don't know exac

Re: [dev] [no js web]

2020-03-06 Thread Marc Chantreux
hello, > (a couple of years) broke the support of no js web browsers. just to be sure you're aware of the digital republic law https://www.legifrance.gouv.fr/affichTexte.do?cidTexte=JORFTEXT33202746&categorieLien=id any source code that runs a public service is a de facto public docume

Re: [dev] [no js web]

2020-03-05 Thread Marc Chantreux
hello, On Wed, Feb 19, 2020 at 09:56:50PM +, sylvain.bertr...@gmail.com wrote: > As some may already know I am sueing the french administration which recently > (a couple of years) broke the support of no js web browsers. i'm a public servant and i support your goals. however, experience gave

Re: [dev] Re: My take at a static site generator

2019-12-12 Thread Marc Chantreux
hello, On Wed, Dec 11, 2019 at 09:02:00PM +0200, Adrian Grigore wrote: > That was my issue, the need to implement things. Along my HTML code, I > also have to implement or include libraries for common functionality. > loop(‘i’,10,‘Counter is i’) > vs > i = 1 > while ... > #! well ... i can't get

Re: [dev] Re: My take at a static site generator

2019-12-11 Thread Marc Chantreux
On Wed, Dec 11, 2019 at 01:39:38PM +0200, Adrian Grigore wrote: > Regarding m4(1) I remember I wasn't a big fan of the dnl macro, no > loops and also other goodies sh(1) has to offer. this paper is worth reading: http://www.cs.stir.ac.uk/~kjt/research/pdf/expl-m4.pdf it demonstrate how to:

(sl templates?) [dev] My take at a static site generator

2019-12-10 Thread Marc Chantreux
hello people, we probably should have a wiki or something to share those ideas. the template systems i use for the moment * m4: very lightweight and powerful but fragile and hell to debug. * zpp [1]: no dependency, easy to extend but i didn't benchmarked and suppose that isn't really fast. also

Re: Tom Duff about parameter expansion (Re: [dev] switching to rc: filename expansion ?)

2019-11-26 Thread Marc Chantreux
hello Tom and many thanks for replying, > I haven't worked on this in 25 years. I do not remember what I was > thinking. If it doesn't work for you, I recommend not using it. sure i was more interested by a designer perspective but yes ... 25 years: i wasn't even working in IT when you wrote rc.

Tom Duff about parameter expansion (Re: [dev] switching to rc: filename expansion ?)

2019-11-26 Thread Marc Chantreux
> I forgot, then remembered this old trick from the Rc paper, by Tom Duff [1]: > [1]: http://doc.cat-v.org/plan_9/4th_edition/papers/rc Thanks to this doc, i know who/why i have to blame for my love/hate relationship with rc: i read the code of werc something like a decade ago and really love most

Re: [dev] switching to rc: filename expansion ?

2019-11-26 Thread Marc Chantreux
On Mon, Nov 25, 2019 at 10:04:11PM +, Teodoro Santoni wrote: > Hi marc! hi Teodoro! thanks for replying. > I forgot, then remembered this old trick from the Rc paper, by Tom Duff [1]: > [1]: http://doc.cat-v.org/plan_9/4th_edition/papers/rc shame on me: this page is actually open in my b

[dev] switching to rc: filename expansion ?

2019-11-25 Thread Marc Chantreux
hello people, some of the things i really enjoy in zsh comes from rc (setopt rcquotes, the ^ expansion, the alternative syntax for constrol structures that are close to rc, ...) but both the codebase and the binary are very large. i'm experimenting replacing zsh by rc when the rc counterpart is g

Re: [dev] Re: 9base mk doesn't work with subscripts?

2019-11-24 Thread Marc Chantreux
> recipes. The actual recipe executes how you would > expect it to. To see this, add an echo $prereq(1) > to your recipe and check the output. good to know :) > The relevant code is in mk/shprint.c. It only > handles simple variables. I thought I fixed this > years ago but I can't seem to find th

Re: [dev] 9base mk doesn't work with subscripts?

2019-11-24 Thread Marc Chantreux
hello, On Sun, Nov 24, 2019 at 07:42:56PM -0500, Greg Reagle wrote: > On Sun, Nov 24, 2019, at 18:13, Marc Chantreux wrote: > > but when building index.html from index.md, i got > > mkpage index.md template(1) > $target > > instead of > > mkpage index.md te

[dev] 9base mk doesn't work with subscripts?

2019-11-24 Thread Marc Chantreux
hello suckless people, i try to remove my current tools by simpler ones when it's confortable enough. here is my make for a simple website: MKSHELL = rc sources = `{ echo *.md } pages = ${sources:%.md=pub/%.html} $pages: pub/%.html: %.md template mkpage $prereq(1) > $target but when build

[dev] [ii] introduction of a config.h

2019-11-14 Thread Marc Chantreux
i don't really know if it's a good idea. the idea is: i want ii to behave the way i want by default. as dwm can be configured with a config.h, i feel ii should get the same feature. regards. marc * SET_PREFIX() macro --- config.h.sample | 1 + ii.c| 3 ++- 2 files changed, 3 insertio

Re: [dev] Re: Worse is better: Plan9 and Linux?

2019-11-01 Thread Marc Chantreux
Hi Laslo, > one big point for me is wine, actually. Not for gaming, but I often > stumble across Windows-only tools (often open source, but Windows only) > that I'd like to use. arghhh ... i'm so happy i don't have those kind of issues. thanks for sharing. > restrictions and possible address-spa

Re: [dev] Re: Worse is better: Plan9 and Linux?

2019-10-31 Thread Marc Chantreux
hello, (i really thing this shouldn't happen in a dev list) > > So my question to you is: > > how do you put Linux and Plan9 into this scala? > > (I get the feeling you deliberately don't want to understand my > > question.) you are (deliberately?) elusive with your question so Laslo was (delibe