Re: [PATCH v3] rdelim: Add new procedure `for-line-in-file`.

2024-12-16 Thread Ricardo Wurmus
Adam Faiz writes: > +(define* (for-line-in-file file proc > + #:key (encoding #f) (guess-encoding #f)) > + "Call PROC for every line in FILE until the eof-object is reached. > +FILE can either be a filename string or an already opened input port. > +The corresponding po

Re: rdelim: Add new procedure `for-line-in-file`.

2024-12-15 Thread Ricardo Wurmus
Hi Adam, > On 12/16/24 00:57, Ricardo Wurmus wrote: >> Hi Adam, >> >> has this patch been discussed somewhere else? I'm asking because I have >> no context other than this patch. > > No, actually. Was I supposed to discuss it's use in the patch cover

Re: rdelim: Add new procedure `for-line-in-file`.

2024-12-15 Thread Ricardo Wurmus
Hi Adam, has this patch been discussed somewhere else? I'm asking because I have no context other than this patch. > From 18485a2b94595ae2239f5dcdeb06d3a80bb04bf1 Mon Sep 17 00:00:00 2001 > From: AwesomeAdam54321 > Date: Sun, 15 Dec 2024 23:48:30 +0800 > Subject: [PATCH] rdelim: Add new procedu

Re: Error running Guile from Guix (continue)

2024-12-03 Thread Ricardo Wurmus
Hi Zelphir, > ERROR: In procedure dlopen: > In procedure dlopen: file > "/gnu/store/28b41sn2yxb4vfgcwqjpc661kmvhn6da-guile-readline-3.0.9/lib/guile/3.0/extensions/guile-readline.so", > message > "/gnu/store/ln6hxqjvz6m9gdd9s97pivlqck7hzs99-glibc-2.35/lib/libc.so.6: > version `GLIBC_2.38' not f

Re: Name of the standard library

2024-07-21 Thread Ricardo Wurmus
MSavoritias writes: >> I actually liked that name — and still like it. Keep in mind that being >> professional quality doesn’t require being teflon-proof naming. Python >> includes `import this` and `import antigravity`. Because exposing ones >> humanity isn’t a problem. > > Just a note here, I a

Re: [PATCH] add SRFI-119 / language/wisp to Guile? (new patch, squashed)

2024-01-19 Thread Ricardo Wurmus
Christina O'Donnell writes: > Likewise, commenting code in scheme is a pain because code-commenting > is done by > line. R6RS comments (#;) aren't implemented in Guile to my knowledge. So > parenthesis aware commenting is left up to the editor to implement. #; works in Guile. -- Ricardo

Re: GNU Guile 3.0.8 released

2022-02-11 Thread Ricardo Wurmus
Aleix Conchillo Flaqué writes: > On Fri, Feb 11, 2022 at 3:05 AM Maxime Devos wrote: > >> Andy Wingo schreef op vr 11-02-2022 om 08:47 [+0100]: >> > We are delighted to announce GNU Guile release 3.0.8, the latest in the >> [...] >> > The Guile 3.0.8 release mixes maintenance and optimizations

Re: Guile 3 and wip-elisp/Emacs

2021-10-21 Thread Ricardo Wurmus
Hi Gregg, On Thursday, October 14, 2021 13:34 EDT, Ricardo Wurmus wrote: I also had he same experience. Guile Emacs would segfault very quickly. That’s why I started a rebase on top of the nearest Emacs release, which is 25.2. I had to abandon the rebase, because after about 45

Re: Guile 3 and wip-elisp/Emacs

2021-10-14 Thread Ricardo Wurmus
Hi Gregg, "Gregg Sangster" writes: I have wip-elisp rebased all the way up to main as of a few days ago (e60469c8b6936575c079faaffa40a340e1d49f3c) plus two changes from Ricardo. It's available here: https://git.sr.ht/~g20r/guile Excellent! There is one test failure in "make check" on te

Re: Guile 3 and wip-elisp/Emacs

2021-09-13 Thread Ricardo Wurmus
Hi Gregg, I've rebased the wip-elisp branch on top of commit 449f50dd84a081aea16ef678e32bf37abe429ff6 (git describe: v3.0.4-64-g33232cb5c4). It's published here: https://git.sr.ht/~g20r/guile FWIW I had also rebased wip-elisp in 2020: https://git.elephly.net/?p=software/guile.git;a=

rebased wip-elisp

2020-06-16 Thread Ricardo Wurmus
Hi, I rebased the wip-elisp branch on top of upstream/stable-2.2 and published it here: https://git.elephly.net/?p=software/guile.git;a=shortlog;h=refs/heads/wip-elisp I had to resolve a few minor conflicts and added two commits on top to fix things that had broken due to changes in the API.

[PATCH] doc: Use UNLESS instead of single-armed IF.

2020-06-14 Thread Ricardo Wurmus
* doc/ref/posix.texi (Pipes): Use UNLESS in OPEN-OUTPUT-PIPE example. --- doc/ref/posix.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/ref/posix.texi b/doc/ref/posix.texi index b2be9d707..ce753b864 100644 --- a/doc/ref/posix.texi +++ b/doc/ref/posix.texi @@ -2335,

Re: unhandled constant?

2020-01-31 Thread Ricardo Wurmus
Han-Wen Nienhuys writes: > [guile1.8]$ grep -ir define-syntax-rule . > > (empty) > > I need something that works in GUILE 1.8 too. I suppose you could use (cond-expand (guile-2.2 …) …) to only use this with Guile 2 and fall back to the current code with Guile 1.8. > Would there be a way that

Re: unhandled constant?

2020-01-29 Thread Ricardo Wurmus
Han-Wen Nienhuys writes: > Some of the lilypond Scheme files do the following: > > > (define decl '()) > (define (make-var n v) (list "var" n v)) > (defmacro define-session (name value) > (define (inner n v) > (set! decl > (cons > (make-var n v) > decl)) > )

Re: Contributions to “Guile Studio”

2019-10-28 Thread Ricardo Wurmus
Hi Mark, I’m glad you consider this to be useful! >> Guile Studio is not supposed to be yet another pre-configured Emacs; its >> goal is just to provide a comfortable environment that works best for >> playing with Guile. I’d like to have less surprising window management, >> but I don’t know

Contributions to “Guile Studio”

2019-10-21 Thread Ricardo Wurmus
Hello Guilers, some months ago I thought it would be neat if we had a simpler environment for newcomers to play with Guile than to ask them to first learn how to use Emacs. This is what made me play around with Emacs to build something called “Guile Studio”. It aims to hide the weirdest parts of

Re: Distributed verification of release tarballs using Guix? (was Re: Releasing 2.2.5?)

2019-07-25 Thread Ricardo Wurmus
Hi Rob, > Ludovic Courtès writes: > >> One issue is that “make dist” is non-deterministic because the archive >> contains timestamps; I’m sure there of other sources of non-determinism >> though, because “make dist” was not designed with that in mind. >> >> The non-source byproducts in release

Re: Unicode procedure names

2019-07-16 Thread Ricardo Wurmus
Arne Babenhauserheide writes: >>> Now, I don't know if this is something you think would be nice to have >>> baked into Guile, but I really liked the idea, and thought to share it >>> in the case you would, too (and have't thought of it yet). :) >> >> I think this could be implemented as a libr

Re: Unicode procedure names

2019-07-15 Thread Ricardo Wurmus
Tirifto writes: > I was recently looking into Perl 6 and noticed a very neat feature > about it: Unicode operators! That is, it makes use of some Unicode > symbols to offer alternatives to awkward or verbose ASCII notation. > For instance, ‘>=’ and ‘<=’ may just as well be written as ‘≥’ and >

Re: guile-picture-language

2019-02-18 Thread Ricardo Wurmus
> How do you prefer to receive changes? Patch via email would be great. Thanks! -- Ricardo

Re: guile-picture-language

2019-02-12 Thread Ricardo Wurmus
Hi Brett, > I just wanted to publicly say that your picture-language module has > already made for a great teaching tool. For people who have been > otherwise pensive about trying Scheme (and Guile particular), I have > been able to convince people to try the picture language module and they > h

Re: FOSDEM 2019

2019-02-06 Thread Ricardo Wurmus
Alex Sassmannshausen writes: > Hi Amirouche > > Amirouche Boubekki writes: > >> Le mer. 6 févr. 2019 à 14:47, Alex Sassmannshausen >> a écrit : >> >> > - Janneke mentioned the new guile build system in guix for simpler >> >guile packages and I think that's pretty great. Likewise there

Re: Guile logo SVG

2019-02-03 Thread Ricardo Wurmus
Christopher Lemmer Webber writes: > I just realized that for whatever reason, you can't find the full Guile > logo SVG on the website anywhere (which contains the logo in some > convenient other forms), and that for whatever reason I had a copy of it > that I think others didn't. So I'm emaili

Re: FOSDEM 2019 (ACTION: please register or mail)

2018-08-24 Thread Ricardo Wurmus
Pjotr Prins writes: > Who wants to come to a separate 2 day GNU Guix event? > > That is the Thursday Jan 31st and/or Friday Feb 1st right before > FOSDEM. I.e., 4 days of hacker nirvana. I plan to be there for the 2 days of Guix and the 2 FOSDEM days. Please also let us know (privately, if yo

Re: FOSDEM 2019

2018-08-21 Thread Ricardo Wurmus
Hi Manolis, > We also need to write a proposal for our devroom application. The last > year's proposal should be a good start. (attached) Thanks for getting the ball rolling! If we base our application on this proposal I think we should make these changes: - mention the work on adding JIT -

Re: Simple picture language

2018-04-07 Thread Ricardo Wurmus
Thanks for all the nice comments! > I wrote a simple SVG-based picture language. To try it: > > wget https://elephly.net/downies/pict.scm Development continues here (until I find a better home): https://git.elephly.net/software/guile-picture-language.git -- Ricardo

Simple picture language

2018-03-26 Thread Ricardo Wurmus
Hi Guilers, I wrote a simple SVG-based picture language. To try it: wget https://elephly.net/downies/pict.scm Then start geiser in Emacs and load the module: M-x run-guile (add-to-load-path (getcwd)) ,use (pict) Let’s play! (circle 100) (colorize (circle 100) "red")

Re: Website translations with Haunt

2017-12-16 Thread Ricardo Wurmus
ng0 writes: > Christopher Lemmer Webber transcribed 1.4K bytes: >> pelzflorian (Florian Pelz) writes: >> >> > I want to ask for your thoughts on my new solution since translations >> > are probably important to many Haunt users. In particular, I believe >> > there was some discussion on Website

Re: ffi-help: status to 19 Aug 2017

2017-11-14 Thread Ricardo Wurmus
Roel Janssen writes: > I wanted to try ffi-helper on htslib, but I am confused on how to get > started. Where does the "compile-ffi" subcommand for "guild" come from? That sounds exciting! Guile bindings for htslib? That would be great! -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A

Re: Weak tables harmful to GC?

2017-10-30 Thread Ricardo Wurmus
Hi again, previously I wrote: > The “guile-awesome” package finished compiling (after about 46 minutes). > I’m now testing “guix pull” with a version of Guix that uses > “guile-awesome”. I’m sure I’m doing something wrong (see below for guesses). Here’s what I get: --8<---cut here

Re: Weak tables harmful to GC?

2017-10-30 Thread Ricardo Wurmus
Hi Ludo, > I’m attaching updated patches. I’ve let the Guix build run to > completion this time. Let me know if it works for you! The “guile-awesome” package finished compiling (after about 46 minutes). I’m now testing “guix pull” with a version of Guix that uses “guile-awesome”. I’m very hop

Re: Weak tables harmful to GC?

2017-10-28 Thread Ricardo Wurmus
Hi Ludo, the bootstrap phase now succeeds but the build crashes: --8<---cut here---start->8--- … make[2]: Leaving directory '/tmp/guix-build-guile-awesome-2.2.2.drv-0/guile-2.2.2/bootstrap' Making all in module make[2]: Entering directory '/tmp/guix-build-gui

Re: Weak tables harmful to GC?

2017-10-27 Thread Ricardo Wurmus
Hi Ludo, > The attached patch fixes the bug for me. Having spend days on > weak-table stuff, the bug looked (described in the commit log below) > almost obvious to me. That’s excellent! Thank you so much for your efforts! > Of course, even better if people could test the two patches and confi

Re: Weak tables harmful to GC?

2017-10-26 Thread Ricardo Wurmus
Hi again, I tried building this on my workstation with 32GB RAM and the bootstrap compilation got killed after consuming too much memory. --8<---cut here---start->8--- … Making all in bootstrap make[2]: Entering directory '/tmp/guix-build-guile-awesome-2.2.2.d

Re: Weak tables harmful to GC?

2017-10-26 Thread Ricardo Wurmus
Hi Ludo, I tried building Guile with the following Guix package definition: --8<---cut here---start->8--- (define-public guile-2.2-awesome (package (inherit guile-2.2) (name "guile-awesome") (source (origin (inherit (package-source guile-2.2))

Re: Weak tables harmful to GC?

2017-10-25 Thread Ricardo Wurmus
Hi Ludo, does this apply to the latest release of Guile 2.2.2? I’ve created this package definition: --8<---cut here---start->8--- (define-public guile-2.2-awesome (package (inherit guile-2.2) (name "guile-awesome") (source (origin (inherit (package

Re: Weak tables harmful to GC?

2017-10-24 Thread Ricardo Wurmus
[resending this because it may not have arrived] Ricardo Wurmus writes: > Hi Ludo, > > does this apply to the latest release of Guile 2.2.2? I’ve created this > package definition: > > --8<---cut here---start->8--- > (defi

Re: FOSDEM 2018 Guile devroom

2017-10-06 Thread Ricardo Wurmus
Hi Manolis, > Unfortunately I have bad news. Our proposal for a devroom at FOSDEM 2018 > has not been accepted. That’s too bad! Thank you (and others who worked on the proposal) for your initiative, though! > We also have the option of organizing a fringe event or a hackathon in > the Friday b

Recovering from a bad installation

2017-08-05 Thread Ricardo Wurmus
Hi Guix, If you forgot to set the file system label for the root file system to the label you specified in the operating system configuration file then you won't be able to boot. Instead you'll end up in a recovery Guile REPL. Here's what I did when I found myself in this very situation: --8<--

Re: FOSDEM 2017 audio/video volunteers needed

2017-01-11 Thread Ricardo Wurmus
Pjotr Prins writes: > On Tue, Jan 10, 2017 at 04:02:32AM +, Pjotr Prins wrote: >> Hi all, >> >> FOSDEM provides live streaming of talks and archiving. We need >> volunteers to man the FOSS setup that handles the camera and mike. >> Ideally two people who expect to be in the room all day :).

Re: FOSDEM social dinner

2017-01-06 Thread Ricardo Wurmus
Hi Alex, > Whilst organising it, we had the idea that it would be fun to have a > Guile/Guix user & dev dinner on the Saturday evening. I'm hereby > officially opening registration for that :-D Neat! > I have not chosen a restaurant yet, but it will be something that > provides a varietary of

[PATCH] doc: Do not gender the programmer.

2016-07-15 Thread Ricardo Wurmus
* doc/ref/api-foreign.texi: Replace "his" with "their". * doc/ref/sxml.texi: Likewise. --- doc/ref/api-foreign.texi | 2 +- doc/ref/sxml.texi| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/ref/api-foreign.texi b/doc/ref/api-foreign.texi index c2c49ec..76614f0 100

Re: sxml simple, sxml->xml and namespaces

2016-06-21 Thread Ricardo Wurmus
Andy Wingo writes: > On Mon 20 Jun 2016 12:52, Ricardo Wurmus writes: > >> Andy Wingo writes: >> >>> Apologies for the long delay here. I'm with you regarding namespaces >>> and sxml->xml. In the past I made sure to always get the namespaces >

Re: sxml simple, sxml->xml and namespaces

2016-06-20 Thread Ricardo Wurmus
ML, in practice, with examples. Here is another proposal, mirroring what is done in “xml->sxml”: >From 845badc7d4b748bc13c532e940b8a18ffb10f426 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 30 Aug 2015 10:57:00 +0200 Subject: [PATCH] sxml: Write XML namespaces when serializi

Re: SXML/xpath documentation

2016-05-03 Thread Ricardo Wurmus
e “stable-2.0” branch. It’s probably this one: ~~ commit fbe95dc6e6a83497b9074bd368b7050f536bc234 Author: Ricardo Wurmus Date: Sun Aug 30 10:58:42 2015 +0200 doc: Add SXPath documentation from sources Fixes <http://bugs.gnu.org/19478>. * doc/ref/sxml.tex

[PATCH] web: Accept dates with space-padded hour field.

2016-05-02 Thread Ricardo Wurmus
Fixes . * module/web/http.scm (parse-rfc-822-date): Accept dates with space-padded hour field. --- module/web/http.scm | 16 1 file changed, 16 insertions(+) diff --git a/module/web/http.scm b/module/web/http.scm index 8a07f6d..5ba2574 100644 --- a/m

Re: Contributions to Guile

2016-02-08 Thread Ricardo Wurmus
Ludovic Courtès writes: > Could you look again at the feedback at > > and put up an example manual somewhere (thus not requiring Stylish)? We > can then lobby for the new CSS again. :-) The full relevant criticism/feedback

Re: Contributions to Guile

2016-02-08 Thread Ricardo Wurmus
Christopher Allan Webber writes: >>> If the html export was nicely themed >> >> It can be nicely themed. FWIW, Gnulib’s gendocs.sh, which is what most >> projects use to export their HTML to gnu.org, now includes a CSS by >> default (see as an example.) We can >

Re: Guix as a Guile package manager

2016-01-09 Thread Ricardo Wurmus
Fabio Pesari writes: > The way I see it: > > * Guile ships with guile-guix (a library that implements much of Guix' > package management capabilities, but not the Guix program) and a > (very small) Guile package manager which depends on guile-guix The package management capabilities provide

Re: Gambda Logo

2015-10-21 Thread Ricardo Wurmus
Thorsten Wilms writes: > As mentioned, the next iteration with custom type. The Gambda lost the > hard bend and varies in line width: > http://i.imgur.com/awkMTzX.png It looks a lot better this way, in my opinion! ~~ Ricardo

Re: Gambda Logo

2015-10-17 Thread Ricardo Wurmus
Hi Thorsten, > I guess the silence (with the one exception, thank you Amirouche!) means > I should stop and go away, but I couldn't help it ... here's a > comparison using Luis's work and a small refinement: > http://i.imgur.com/qM0k0Xq.png I like the idea of bringing lambda into the logo, and

Re: New logo and website design proposal

2015-09-15 Thread Ricardo Wurmus
Hi Luis, > As part of the Guile project I imagine, I'd like to propose these visual > modifications for the logo and the website. this is very beautiful! The drawings are very pretty and friendly. I would suggest not to show too much code (like a full screenshot of an Emacs session), but maybe