Re: [ANN] Guile Hall 0.3.0 released

2020-05-17 Thread Arne Babenhauserheide
Alex Sassmannshausen writes: >> m4 is just a very simple templating language. Should not be too hard >> to implement it in Guile. > > Again, this has come up in the past. I love the idea of having a Guile > way to do the work that m4, autoreconf and automake do — I think any > piecemeal or

Re: guile-json 4.0.0 released

2020-05-17 Thread Alex Sassmannshausen
Aleix Conchillo Flaqué writes: > That's awesome! Is this for work or side projects? I use it for both — though on a daily basis, I depend on it for work projects. I have client libraries to popular online services (GoCardless and MailChimp) that are close to production level quality which

Re: [ANN] Guile Hall 0.3.0 released

2020-05-17 Thread Alex Sassmannshausen
Hi Arne, Arne Babenhauserheide writes: > Catonano writes: > >> Overall, I'd say this: >> >> […] >> >> There is level 0 of Guile packaging: that's NO packaging. You keep your >> files scattered around and they will be autocompiled >> In the future, there could be a level 2. That is: no m4

Re: [ANN] Guile Hall 0.3.0 released

2020-05-17 Thread Alex Sassmannshausen
Heya, Catonano writes: > Il giorno dom 17 mag 2020 alle ore 17:35 Alex Sassmannshausen > ha scritto: > > Hey Cato, > > Catonano writes: > > > […] > > > > This is an important step in making the Guile user experience less rough > > > > Where, in the manual, should such mention be

Re: [ANN] Guile Hall 0.3.0 released

2020-05-17 Thread Alex Sassmannshausen
Hi Chris, Hark the wanderer from remote lands returns! It's nice to have you back in Guileland :-) In all seriousness thoug, I think it's really valuable to gain experiences in different ecosystems and environments and then seeing how those experiences can grow our community. I like your

Re: [ANN] Guile Hall 0.3.0 released

2020-05-17 Thread Jérémy Korwin-Zmijowski
Hi ! Thank you Alex and all the contributors ! This tool is a must. The Guix feature is awesome. Can't wait to try this release for my projects yeah ! Let's spread some Guile hacks hahaha ! Jérémy

Re: [ANN] Guile Hall 0.3.0 released

2020-05-17 Thread Arne Babenhauserheide
Catonano writes: > Overall, I'd say this: > > There is level 0 of Guile packaging: that's NO packaging. You keep your > files scattered around and they will be autocompiled > > You put your files in a git repo on line, your friends will check them out > and autocompile them too > > Then

Re: guile-json 4.0.0 released

2020-05-17 Thread Aleix Conchillo Flaqué
Thank you! And there are always more things to improve. Aleix On Sun, May 17, 2020, 2:08 AM Zelphir Kaltstahl wrote: > Hi! > > Congrats to the new version! > > Your project has made quite some progress! > > Best regards, > Zelphir > > On 5/17/20 8:42 AM, Aleix Conchillo Flaqué wrote: > > Hi! >

Re: guile-json 4.0.0 released

2020-05-17 Thread Aleix Conchillo Flaqué
That's awesome! Is this for work or side projects? On Sun, May 17, 2020 at 6:01 AM Alex Sassmannshausen < alex.sassmannshau...@gmail.com> wrote: > Excellent — congrats! I use this module on a daily basis! :-) > > Alex > > Aleix Conchillo Flaqué writes: > > > Hi! > > > > I'm super excited to

Re: guile-json 4.0.0 released

2020-05-17 Thread Aleix Conchillo Flaqué
Just released guile-json 4.0.1. This is just a simple fix on the default value for the #:validate keyword argument in (scm->json-string). It should default to true as in (scm->json) and as stated in the documentation. Thanks to Christopher Lam for pointing that out. Same as before but with 4.0.1:

Re: guile-json 4.0.0 released

2020-05-17 Thread Linus Björnstam
Thanks for the mention. I have managed to squeeze another 10% out of my test bed code, but that was at quite some expense of readability (no character peeking, byte-based I/o where it makes sense, some heuristics changes). I will try to prettify it and send you the link later on. We are

Re: [ANN] Guile Hall 0.3.0 released

2020-05-17 Thread Catonano
Il giorno dom 17 mag 2020 alle ore 17:35 Alex Sassmannshausen < alex.sassmannshau...@gmail.com> ha scritto: > Hey Cato, > > Catonano writes: > > > […] > > > > This is an important step in making the Guile user experience less rough > > > > Where, in the manual, should such mention be placed ? >

Re: Running guile single-threaded?

2020-05-17 Thread Caleb Ristvedt
> I don't this is possible without building guile using --without-threads > argument to configure. Otherwise, the mutl-threaded gc is included. Good to know, thanks. I'll have to figure out a way to use clone+exec safely, then (calling process is multi-threaded), probably by writing an extension

Re: [ANN] Guile Hall 0.3.0 released

2020-05-17 Thread Christopher Lemmer Webber
Catonano writes: > Now, I like to remind that Ludo had proposed to _mention_ guile-hall in the > guix.texi manual !! > > Here: > https://lists.gnu.org/archive/html/guile-user/2018-07/msg2.html > > "I think we should advertise it widely" > > I wholeheartedly agree > > This is an important step

Re: haunt

2020-05-17 Thread Alex Sassmannshausen
Heya, Catonano writes: > Il giorno dom 17 mag 2020 alle ore 14:16 Catonano ha > scritto: > >> >> >> Il giorno dom 17 mag 2020 alle ore 14:08 Ricardo Wurmus < >> rek...@elephly.net> ha scritto: >> >>> >>> Catonano writes: >>> >>> > ;;; WARNING: loading compiled file >>> >

Re: haunt

2020-05-17 Thread Ricardo Wurmus
Catonano writes: > Il giorno dom 17 mag 2020 alle ore 14:08 Ricardo Wurmus > ha scritto: > >> >> Catonano writes: >> >> > ;;; WARNING: loading compiled file >> > /home/adriano/opt/lib/guile/3.0/site-ccache/haunt/serve/web-server.go >> > failed: >> > ;;; In procedure load-thunk-from-memory:

[ANN] Guile Config 0.4.0 released

2020-05-17 Thread Alex Sassmannshausen
Hello, I have just released Guile Config 0.4.0. You can get a tarball (that requires autoreconf) at https://gitlab.com/a-sassmannshausen/guile-config/-/releases. You can also install it with a recent Guix (from 529d1d96ca): $ guix install guile-config You can check the source code, and report

Re: Running guile single-threaded?

2020-05-17 Thread Matt Wette
On 5/17/20 8:27 AM, Caleb Ristvedt wrote: I'm trying to use unshare() with the CLONE_NEWUSER flag, but this requires that the process be single-threaded (otherwise I always get EINVAL). /proc//task has 6 entries when I launch guile, 5 after disabling automatic finalization. I can't seem to find

Re: [ANN] Guile Hall 0.3.0 released

2020-05-17 Thread Alex Sassmannshausen
Hey Cato, Catonano writes: > […] > > This is an important step in making the Guile user experience less rough > > Where, in the manual, should such mention be placed ? I guess section '4.6 Using Guile Tools' might be a good place to put it? 4.5 advetises paredit and geiser — but that is

Running guile single-threaded?

2020-05-17 Thread Caleb Ristvedt
I'm trying to use unshare() with the CLONE_NEWUSER flag, but this requires that the process be single-threaded (otherwise I always get EINVAL). /proc//task has 6 entries when I launch guile, 5 after disabling automatic finalization. I can't seem to find a way to get that down to 1. Is this

Re: guile-json 4.0.0 released

2020-05-17 Thread Alex Sassmannshausen
Excellent — congrats! I use this module on a daily basis! :-) Alex Aleix Conchillo Flaqué writes: > Hi! > > I'm super excited to announce guile-json 4.0.0. This new version comes with > a couple of small breaking changes and huge performance improvements (up to > 6x faster). > > Huge thanks

Re: haunt

2020-05-17 Thread Catonano
Il giorno dom 17 mag 2020 alle ore 14:16 Catonano ha scritto: > > > Il giorno dom 17 mag 2020 alle ore 14:08 Ricardo Wurmus < > rek...@elephly.net> ha scritto: > >> >> Catonano writes: >> >> > ;;; WARNING: loading compiled file >> >

Re: haunt

2020-05-17 Thread Catonano
Il giorno dom 17 mag 2020 alle ore 14:08 Ricardo Wurmus ha scritto: > > Catonano writes: > > > ;;; WARNING: loading compiled file > > /home/adriano/opt/lib/guile/3.0/site-ccache/haunt/serve/web-server.go > > failed: > > ;;; In procedure load-thunk-from-memory: incompatible bytecode kind > > ;;;

Re: haunt

2020-05-17 Thread Ricardo Wurmus
Catonano writes: > ;;; WARNING: loading compiled file > /home/adriano/opt/lib/guile/3.0/site-ccache/haunt/serve/web-server.go > failed: > ;;; In procedure load-thunk-from-memory: incompatible bytecode kind > ;;; WARNING: loading compiled file >

Re: FFI questions

2020-05-17 Thread Jan Synacek
On Fri, May 15, 2020 at 10:09 PM Taylan Kammer wrote: > > On 15.05.2020 15:47, Jan Synacek wrote: > > Hello, > > > > Currently I have something like this: > > > > (define libxcb (dynamic-link "libxcb")) > > > > ... > > > > (define c-change-window-attributes > >(pointer->procedure void > >

Re: guile-json 4.0.0 released

2020-05-17 Thread Zelphir Kaltstahl
Hi! Congrats to the new version! Your project has made quite some progress! Best regards, Zelphir On 5/17/20 8:42 AM, Aleix Conchillo Flaqué wrote: > Hi! > > I'm super excited to announce guile-json 4.0.0. This new version comes with > a couple of small breaking changes and huge performance

haunt

2020-05-17 Thread Catonano
I'm building Haunt on Ubuntu 20.04 and Guile 3.0.1 (comes with Ubuntu) and I'm running into some issues I don't want to ask directly to David Thompson because recently he wrote on the fediverse about some tragic and emotionally draining events that hit him and his family I'd like to work around

Re: Functional hashtables

2020-05-17 Thread Catonano
Il giorno sab 16 mag 2020 alle ore 22:43 Ludovic Courtès ha scritto: > > Would someone be willing to turn it into a proper Guile module with a > section in the manual and some tests? > > I'm ready to help maybe contributing some tests or some manual paragraphs

guile-json 4.0.0 released

2020-05-17 Thread Aleix Conchillo Flaqué
Hi! I'm super excited to announce guile-json 4.0.0. This new version comes with a couple of small breaking changes and huge performance improvements (up to 6x faster). Huge thanks to Linus Björnstam who brought up the performance issues plus a bunch of suggestions of how to improve them and