Re: Announcing Guile Blocks 0.1

2024-08-02 Thread Ricardo Wurmus
Hi Richard, > Over the past few months I've been working on a Guile package I call > Guile Blocks, an Org Mode inspired implementation of source blocks in > Guile Scheme! (My creativity is boundless.) This looks nice! It reminds me a bit of the code snippets in the Guix Workflow Language. Do yo

Re: define-typed: checking values on proc entry and exit

2024-05-13 Thread Ricardo Wurmus
Olivier Dion writes: > On Fri, 10 May 2024, "Dr. Arne Babenhauserheide" wrote: > > This is entirely off topic, sorry, but how do you do the following in Emacs: > >> ┌ >> │ ... >> └ > > I usualy use: > > --8<---cut here---start->8--- > ... > --8<---

Re: guile-xapian 0.4.0 released

2024-05-13 Thread Ricardo Wurmus
Nala Ginrut writes: > I'm not familiar with Xapian, is it possible to do similar things as > VectorDB? Xapian cannot directly be used to build a vector database. (I use the pg_vector extension to postgresql for that purpose.) Xapian creates a more traditional index for finding matching documen

Re: kodi does not install

2024-02-14 Thread Ricardo Wurmus
Hi Marco, > Of course, it would be better if there is a newer Kodi Guix package, > and even better if there's a substitute of it. There are substitutes: https://ci.guix.gnu.org/build/3395475/details Also: perhaps it would be better to ask for help on the Guix mailing lists rather than guile-us

Re: Guile cannot find libcurl

2024-01-31 Thread Ricardo Wurmus
Sascha Ziemann writes: > [info] Downloading > https://archive.akkuscm.org/archive/pkg/c/chez-srfi_0.0.0-akku.181.7879b52_repack.tar.xz > Backtrace: > 12 (primitive-load "/usr/local/bin/akku") > In ice-9/eval.scm: > 619:8 11 (_ #(#(#) () ())) > In ice-9/boot-9.scm: >260:13 10 (

Re: Alexon: the easiest tool for cloud native written in Guile

2023-07-13 Thread Ricardo Wurmus
Hi, > I'm pleased to introduce the tool Alexon. If you ever work with Kubernetes, > then Alexon will be your friend. > > Alexon was written with GNU Guile, which is known for its support of > functional programming concepts. As a result, Alexon is influenced by the > functional programming parad

Re: Fibers web server: use multiple server sockets

2022-11-02 Thread Ricardo Wurmus
to...@tuxteam.de writes: > [[PGP Signed Part:Undecided]] > On Wed, Nov 02, 2022 at 08:35:24PM +0100, Dr. Arne Babenhauserheide wrote: >> >> writes: >> > As far as I understand Vivien, interfaces come and go during the >> > server's lifetime. I.e. it's not just a "boot" thing. This seems >> > l

Re: http-request bearer token syntax for Twitter v2 api

2022-10-13 Thread Ricardo Wurmus
Hi Mortimer, > Has anyone successfully submitted a bearer token to Twitter v2 api using > http-request? What syntax did you use? The validator for the Authorization header does not permit the “bearer” method with a single string. It expects that authentication methods other than Basic always p

Re: Looking for graph library

2022-10-12 Thread Ricardo Wurmus
Hi Dmitry, > Ricardo Wurmus writes: > > Could you provide examples of graph creation? It's not entirely obvious > to me how they need to be created via graph-cons. > > I tried doing something like this: > > (define test ;name

Re: Looking for graph library

2022-10-09 Thread Ricardo Wurmus
David Pirotte writes: >> >https://reposcope.com/man/en/3guile/gv > >> Yes, graphviz comes with Guile bindings. Since they don’t provide a >> Guile module you need to define a module like this: > >> --8<---cut here---start->8--- >> (define-module (libgv

Re: Looking for graph library

2022-10-09 Thread Ricardo Wurmus
David Pirotte writes: >> Can you recommend any library for working with graphs (I did not find >> it in srfi and mailing list). Almost what I need to have in graphviz >> bindings, but there are no predicate functions and the like. > > In addition to the answers from Maxime and Ricardo ... I sea

Re: Looking for graph library

2022-10-08 Thread Ricardo Wurmus
Dmitry Polyakov writes: > Can you recommend any library for working with graphs (I did not find it > in srfi and mailing list). Almost what I need to have in graphviz > bindings, but there are no predicate functions and the like. Here’s an implementation of inductive graphs: https://github.co

Re: Operate upon POST request with Guile webserver

2022-08-21 Thread Ricardo Wurmus
Hi, Gentoo Arch writes: > I'm trying to figure out how Guile webserver works to develop a simple > BBS  and I'm kinda stuck with POST request. > > My Guile script generates a form on any path and the form sends to > "/post" path, where I can easily render content sent by the form. Daniel alread

Re: Curiosity: Microkernel implemented in Guile ?

2022-06-26 Thread Ricardo Wurmus
"Dr. Arne Babenhauserheide" writes: > - The compilation-messages (I hate them; these also hurt when writing > interactive utilities for the command-line, and I have too many > half-working fixes in script files to still be comfortable; I think I > once had a fix in configuration, but I lo

Re: Guile cookbook ?

2022-02-12 Thread Ricardo Wurmus
adriano writes: > Il giorno sab, 12/02/2022 alle 14.55 +0100, adriano ha scritto: >> > >> Hint taken :-) > > Actually, I was thinking about a Guile cookbook, rather than the Guix > cookbook > > Can the Guix cookbook also contain examples of how o do things in Guile > ? > > Even things that are

Re: timestamp

2022-02-12 Thread Ricardo Wurmus
adriano writes: > The argument of lack of examples in the Guile/Guix documentation has > been made several times now, or at least, I've seen it being made > several times The Guix documentation contains examples, but it’s already very long and intimidating, so we started the Cookbook for more

Re: timestamp

2022-02-12 Thread Ricardo Wurmus
Hi adriano, I’ve got no good answers as to “why” things are the way they are, but the manual explains the range of these values: > It seesm to be > > (tm:mon %3) > > This returns > > 11 > > I expected 12 but ok, I recognize this kind of weirdness -- Scheme Procedure: tm:mon tm -- Scheme Proc

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: Ideas for making Guile easier to approach

2022-02-10 Thread Ricardo Wurmus
Timothy Sample writes: > I remembered that the R7RS Large process was giving library names to > SRFIs, but it looks like many of them now have a “library name” field in > their metadata. For instance, see , > which says “library name: and-let*”. Unfortunatel

Re: Newbie thoughts on Guile Hall + Guix

2022-02-06 Thread Ricardo Wurmus
Jose Antonio Ortega Ruiz writes: > But my feeling is that the community > is heavily invested in autotools and Guix as /the/ build system (and > very happily so!) and i don't have the evangelising chops/time :) I don’t think anyone really like to use autotools. When working with just Guile I

Re: Newbie thoughts on Guile Hall + Guix

2022-02-06 Thread Ricardo Wurmus
Mikael Djurfeldt writes: > I also think that there is a need for something light-weight and cross > platform. I think, e.g., that PyPI is one of the main reasons for the > success of Python and that the lack of something in that direction is > holding Guile back. PyPI is a good example for the

Re: OpenSCAD on Lisp?

2021-12-20 Thread Ricardo Wurmus
Jack Hill writes: > On Sun, 19 Dec 2021, Jacob Hrbek wrote: > >> I got a 3D printer and i want to use OpenSCAD to program the objects for >> interpretation for fabrication, but the OpenSCAD (https://openscad.org) >> uses C-style syntax which is for this kind of development really >> annoying to

Re: Guile-GDBM 1.1.1 available

2021-12-19 Thread Ricardo Wurmus
Congrats on the release! Thien-Thi Nguyen writes: > release notes: > > Although the README mentions GNU dbm 1.19, this is really only a > maintenance release, w/o any new features post 1.10. We'll get to > that good stuff sooner or later. > > OTOH, things work fine w/ Guile 2.2.7, as ad

Re: guile style

2021-06-19 Thread Ricardo Wurmus
Hi Jerry, I am fairly new to guile and scheme. People tell me that I should use a functional style. I have 3 solutions for project euler problem #1. The first is functional, the second is imperative and the third is written in "Little Schemer" style. I was hoping other guile users would com

Re: guile studio - question

2021-06-18 Thread Ricardo Wurmus
Adriano Peluso writes: Il giorno gio, 17/06/2021 alle 12.21 +0200, Ricardo Wurmus ha scritto: Adriano Peluso writes: > I press c-x c-e because I know this is just a distribution of > Emacs and > that works > > In DrRacket there's the "run" button >

Re: guile studio - question

2021-06-17 Thread Ricardo Wurmus
Adriano Peluso writes: I press c-x c-e because I know this is just a distribution of Emacs and that works In DrRacket there's the "run" button In Guile Studio I can't find it Is the intended user of guile studio supposed to know about c-x c-e ? No. There is a context menu. The splash

Re: guile studio

2021-06-04 Thread Ricardo Wurmus
Adriano Peluso writes: Can you confirm that the presence of ~/.emacs.d prevents guile-studio from starting correctly? I would then try to reproduce this and figure out how to prevent this problem. Well, I can't confirm In fact, I reinstated my old .emacs.d folder, the one containing

Re: guile studio

2021-06-02 Thread Ricardo Wurmus
Adriano Peluso writes: Il giorno lun, 31/05/2021 alle 11.45 +0200, Ricardo Wurmus ha scritto: Hmm, this is a little confusing. Perhaps something is missing in Guile Studio to prevent accidental loading of existing Emacs packages. The wrapper overrides EMACSLOADPATH and then

Re: guile studio

2021-05-31 Thread Ricardo Wurmus
Adriano Peluso writes: It does work ! Great! It's just that I had forgot a .emacs.d folder in my home (for the Emacs provided by Ubuntu) and it was misdirecting the Emacses provided by Guix Hmm, this is a little confusing. Perhaps something is missing in Guile Studio to prevent accid

Re: guile studio

2021-05-29 Thread Ricardo Wurmus
Ricardo Wurmus writes: Hi Adriano, thank you for the report! In this picture you can see in the minibuffer the writing:"Cannot open load file: File o directory non esistente, Ivy" This must have been caused by another recent change in how Emacs packages work in Guix. I’ll se

Re: guile studio

2021-05-29 Thread Ricardo Wurmus
Hi Adriano, thank you for the report! In this picture you can see in the minibuffer the writing:"Cannot open load file: File o directory non esistente, Ivy" This must have been caused by another recent change in how Emacs packages work in Guix. I’ll see if I can fix it soon. -- Ricard

Re: [ANN] Guile-DRMAA 0.1.0

2021-04-28 Thread Ricardo Wurmus
Matt Wette writes: (You cannot *yet* get it through Guix, because there appears to be a regression in the excellent FFI helper included in nyacc versions later than 1.03.0. A guix.scm file is included in the git repository that builds a slightly older version of nyacc.) Sorry about the i

[ANN] Guile-DRMAA 0.1.0

2021-04-28 Thread Ricardo Wurmus
Hi there, I’m writing this to unceremoniously announce the first release (0.1.0) of Guile DRMAA. Guile DRMAA provides Guile bindings to version 1 of the DRMAA library, a library to interact with different HPC schedulers. It uses Matt Wette’s most excellent FFI helper; thank you! Here’s th

Re: [EXT] Guile AWS

2021-04-12 Thread Ricardo Wurmus
Thompson, David writes: > Years ago I took the same approach to generate a Guile API for > CloudFormation (an unreleased experiment) and was hoping that someone > would do the same for the entire AWS API. Your CloudFormation experiment was indeed the spark that ignited the fire. Guile AWS isn

Guile AWS

2021-04-12 Thread Ricardo Wurmus
Hi Guilers, this is not quite a release announcement, but the code turns out to be usable enough that I thought I’d share what I’ve got at this point. Guile AWS is a library that lets you talk to Amazon Web Services such as S3, the Elastic Compute Cloud (EC2), Elastic File System (EFS), Route53 (

Re: Summon Guile-Studio in a running Emacs

2021-03-31 Thread Ricardo Wurmus
Hi Jérémy, > To provide a "follow my pair's cursor" I use the lockstep.el extension. > It requires each pairs to run emacsclient which load the user's emacs > configuration file by default. > > I was wondering how I could instead launch guile-studio with > emacsclient and try it in this context.

Guile Potluck 2021: Picture Language

2021-02-22 Thread Ricardo Wurmus
Hello there, here’s my dish for the 2021 potluck: https://elephly.net/guile-picture-language/ The recent changes include this web presence and an illustrated manual on the web. Guile Studio, which comes pre-configured with support for the picture language, now also has a web presence: http

Re: Guile Hacker Handbook - Character sets

2021-02-18 Thread Ricardo Wurmus
Jérémy Korwin-Zmijowski writes: > For those who missed it, I am also starting a work towards a guile-ide.el for > Emacs. > > https://framagit.org/Jeko/guile-ide Forgot to include a screenshot of Guile Studio: https://elephly.net/downies/guile-studio.png -- Ricardo

Re: Guile Hacker Handbook - Character sets

2021-02-18 Thread Ricardo Wurmus
Hi Jérémy, > For those who missed it, I am also starting a work towards a guile-ide.el for > Emacs. > > https://framagit.org/Jeko/guile-ide Interesting. Do you think there is some overlap with guile-studio[1]? (It’s available in Guix.) [1]: https://git.elephly.net/software/guile-studio.git

Re: build system for pure Guile library (was Re: Help making a GNU Guix package for pure GNU Guile library)

2021-02-03 Thread Ricardo Wurmus
Zelphir Kaltstahl writes: > Do you have an example for when one would bake in > system-specific data-paths? To satisfy distribution packaging standards your project files may end up in different directories and cannot assume that the relative relationship between files remains unchanged. So i

Re: build system for pure Guile library (was Re: Help making a GNU Guix package for pure GNU Guile library)

2021-01-30 Thread Ricardo Wurmus
pelzflorian (Florian Pelz) writes: > Hi Ricardo, > > On Sat, Jan 30, 2021 at 10:15:20PM +0100, Ricardo Wurmus wrote: >> If all you have are Guile modules and all you want is to package it for >> Guix then you really don’t need to bother with Autotools. Use the >> “g

Re: Help making a GNU Guix package for pure GNU Guile library

2021-01-30 Thread Ricardo Wurmus
Hi Zelphir, > For some time now I wanted to be able to make Guix package of some of my > Guile projects or at least understand and know how to do that, write a > guide for it and so on, to be able to do it whenever I need it and also > to be able to contribute better to the Guile community and e

Re: rfc: next guile 1.8.x release

2021-01-30 Thread Ricardo Wurmus
Dr. Arne Babenhauserheide writes: > Ludovic Courtès writes: > >> Thien-Thi Nguyen skribis: >>> I would like to work (on the weekends, so as not to intefere w/ >>> ) on preparation and release of Guile 1.8.9, targeted >>> for the ides of April (more or less). >>> >>> Guile 1.8.x users: What ch

Re: SXML example showing diff between node-reduce and node-join

2021-01-11 Thread Ricardo Wurmus
Hi Matt, > I'm going through the (sxml xpath) low-level routines to try to get a > solid understanding of what they do. I just can't come up with an example > to show how node-reduce and node-join differ. If someone could provide > such an example I would really appreciate it. Takers? Here’

Re: [ANN] guile-curl 0.7

2021-01-04 Thread Ricardo Wurmus
Hi Mike, > On Mon, Jan 04, 2021 at 10:02:57AM +0100, Ricardo Wurmus wrote: >> >> Aleix Conchillo Flaqu� writes: >> >> > I'm trying to add guile-curl to homebrew-guile but ran into >> > compilation issues in type.c using the tarball from your emai

Re: [ANN] guile-curl 0.7

2021-01-04 Thread Ricardo Wurmus
Aleix Conchillo Flaqué writes: > I'm trying to add guile-curl to homebrew-guile but ran into > compilation issues in type.c using the tarball from your email. I can confirm this. (I just tried to upgrade the guile-curl package in Guix.) I’m getting this error output when building with Guile

Re: RPX 1.3 available

2020-12-28 Thread Ricardo Wurmus
Thien-Thi Nguyen writes: > Despite rpx veneration of ratpoison look, feel, and > internal design, there have been some unavoidable > concessions to some of the more hairy parts of Xlib (the > reimplementation of which is shared somewhat uneasily by > rpx and ttn-do). These are listed

Re: Starting a GNU Guile awesome list

2020-10-12 Thread Ricardo Wurmus
Zelphir Kaltstahl writes: >>> >>> $ make clean >>> /bin/rm --verbose *.html *.md *.texi || true; >>> Symbol’s value as variable is void: /bin/rm >>> make: *** [Makefile:19: clean] Error 255 >>> >> Well, isn’t that expected as you’re using Emacs as a shell? > > Yes : ) But that is the

Re: Starting a GNU Guile awesome list

2020-10-11 Thread Ricardo Wurmus
Zelphir Kaltstahl writes: > Hello Matt, > > On 10/10/20 3:14 PM, Matt Wette wrote: >> >> >> On 10/10/20 5:31 AM, Zelphir Kaltstahl wrote: >>> #!/usr/bin/make -f SHELL := emacs .SHELLFLAGS := --quick --batch --eval >> >> Maybe try this: >> >>

Re: Source of guile-dbi

2020-10-06 Thread Ricardo Wurmus
Hi tomas, > what is currently the canonical source of guile DBI? Is it > the github opencog one [1]? I'm asking because I didn't want > to (unnecessarily) go through github. this works: http://web.archive.org/web/20170225155326/http://download.gna.org/guile-dbi/guile-dbi-2.1.6.tar.gz --

Re: Web server catch keyboard interrupt and release port

2020-09-15 Thread Ricardo Wurmus
Zelphir Kaltstahl writes: > How can I catch the keyboard interrupt? Is there something in the Guile > manual? I could not find it. “sigaction” might be of interest. -- Ricardo

Re: Web development

2020-09-05 Thread Ricardo Wurmus
Zelphir Kaltstahl writes: > On 05.09.20 08:15, Joshua Branson via General Guile related discussions > wrote: >> You will probably want to borrow this code about how to decode byte >> vectors in case you ever need to do any processing of POST requests: >> >> https://notabug.org/jbranso/autoassig

Re: Web development

2020-09-04 Thread Ricardo Wurmus
Zelphir Kaltstahl writes: >>> (2) What do you use to serve static files (securely)? If you use Guile's >>> web server, how exactly do you do it? Do you have the code somewhere? >> I configure an assets directory and define a procedure that sanitizes >> the requested file name to serve it from t

Re: Web development

2020-09-04 Thread Ricardo Wurmus
Zelphir Kaltstahl writes: > So I have a few questions: > > (1) How do you do your Guile web development? What's the setup? I don’t use a framework in my web projects; just the included web modules and sometimes the fibers web server. I keep everything stateless so that I can spin up many work

Re: Fwd: Re: Where can I find the environment files required to work with "Simply Scheme"?

2020-08-07 Thread Ricardo Wurmus
mayur...@kathe.in writes: > Is there anyone on this list with the expertise to adapt the attached > (simply.scm) file to Guile? Is there something specific that isn’t working for you when using this in Guile? -- Ricardo

Re: [ANN] Guile Homebrew Tap

2020-05-29 Thread Ricardo Wurmus
Alex Sassmannshausen writes: > Aside from this do you know if Guix is supported on MacOS? Guix cannot be used on macos (outside of virualization). That’s because we have neither a free toolchain, nor an active port of glibc for their kernel. -- Ricardo

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 >> >

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 > /home/adriano/opt/lib/guile/3.0/site-ccache/haunt/

Re: Guile, Guix, and C extensions

2020-04-03 Thread Ricardo Wurmus
Stephen Scheck writes: >> Could you show us your my-module.scm please? > > The source is not yet ready for public distribution, so I've elided > references: Oh, pity. I can’t help without seeing the code, I’m afraid. -- Ricardo

Re: Guile, Guix, and C extensions

2020-04-03 Thread Ricardo Wurmus
Hi Stephen, > When I try to install the package by invoking `guix package -f > my-module.scm`. Here's the output from the build log: Could you show us your my-module.scm please? > make[2]: Nothing to be done for 'install-exec-am'. > /gnu/store/9kzrrccpzl6i1sfwb0drb00gi2gwk0x0-coreutil

Re: Guile, Guix, and C extensions

2020-04-02 Thread Ricardo Wurmus
Hi Stephen, > 1) If I use the Guile `GUILE_SITE_DIR` Autoconf macro to provide locations > of Guile's site, compiled code, and dynamic library extension directories, > installation of the package fails because it tries to install these into > Guile's own directory in the Guix store, which I beli

Re: Need help starting a project in Guile - distributed DE / GUI toolkit using Wayland

2020-03-25 Thread Ricardo Wurmus
Jan writes: > Oh and one more thing - should I use a build system such as GNU Make > in my project? What are the advantages of using a build system? Packagers will be much happier. Conventional build systems allow users on different systems with different library and tool locations to build y

Re: guile-gi: In procedure dynamic-link: file: "libguile-gi", message: "file not found"

2020-03-15 Thread Ricardo Wurmus
Mike Gran writes: > On Wed, Mar 11, 2020 at 06:15:28PM -0500, sirgazil wrote: >> Hi, >> >> I'm trying out guile-gi 0.2.2 on the Guix System by running the empty window >> example in https://spk121.github.io/guile-gi/Empty-Window.html#Empty-Window, >> but I get the following error: > > There i

Re: emulate "sum type" pattern matching?

2020-03-12 Thread Ricardo Wurmus
Chris Vine writes: > On Wed, 11 Mar 2020 19:58:04 + > Sam Halliday wrote: >> Hi all, >> >> I have read the Guile manual as my introduction to Guile. I am very >> impressed at how mature this project is and was overwhelmed by the >> feature set, which seems to be on-par with heavily invest

guile-debbugs-0.0.3 released [stable]

2020-02-28 Thread Ricardo Wurmus
We are pleased to announce the release of Guile Debbugs 0.0.3. This package provides a Guile library to communicate with a Debbugs bug tracker's SOAP service. Here are the compressed sources and a GPG detached signature[*]: https://ftpmirror.gnu.org/guile-debbugs/guile-debbugs-0.0.3.tar.gz h

Re: Guile Studio's goals (and home)

2020-02-25 Thread Ricardo Wurmus
Eli Zaretskii writes: >> From: Ricardo Wurmus >> Date: Tue, 25 Feb 2020 10:12:31 +0100 >> Cc: guile-user@gnu.org >> >> The pretentiously named “Guile Studio” arose from the observation that >> we often tell new Guile users to learn how to use Emacs first in

Re: Guile Studio's goals (and home)

2020-02-25 Thread Ricardo Wurmus
Hi! > • What are Guile Studio's goals? The pretentiously named “Guile Studio” arose from the observation that we often tell new Guile users to learn how to use Emacs first in order to get a comfortable Guile development experience. Since Emacs has really quirky defaults that don’t mesh with th

Re: Geiser vs. guile-mode?

2020-02-19 Thread Ricardo Wurmus
sirgazil writes: > I also find some fundamental things missing when programming in Guile Scheme > (with Emacs+Geiser): > > 1. On-the-fly syntax checking (see flycheck) This is available by default in “Guile Studio”[1]. It works by compiling the buffer: --8<---cut here---

Re: Happy birthday, Guile!

2020-02-16 Thread Ricardo Wurmus
Ludovic Courtès writes: > Today, it’s been 9 years since Guile 2.0 came out! > > https://lists.gnu.org/archive/html/guile-devel/2011-02/msg00173.html Woo! Happy birthday, Guile! > It’s impressive how much has been accomplished since 2.0, and how what > seemed like a pipe dream back then ca

Re: Happy birthday, Guile!

2020-02-16 Thread Ricardo Wurmus
Hi Roel, > - An LDAP authenticator using the FFI and openldap: > https://github.com/UMCUGenetics/sparqling-genomics/blob/master/web/ldap/authenticate.scm.in > > We use it on a site-local deployment. > > - HTTP digest authentication: > https://github.com/UMCUGenetics/sparqling-genomics/blob/maste

Re: Geiser vs. guile-mode?

2020-02-08 Thread Ricardo Wurmus
Matt Wette writes: > On 2/7/20 9:50 AM, sirgazil wrote: >> On Fri, 07 Feb 2020 11:30:43 -0500 Matt Wette >> wrote >> > Thanks for doing this. I'd like to have #! ... !# handled robustly as >> > comment. >> > It's not working for me and I believe I saw a comment in the code

Re: scheme with vim

2020-02-05 Thread Ricardo Wurmus
Hi Marc, > i don't know what is the good way to get the list of built-in > commands of guile so i ended up with > > aptitude search '~i ~n guile-2' -F%p | > xargs -n1 dpkg -L | > perl -lnE 'print if /[.]scm$/ && -f' | > ctags -L - -f ~/.vim/ctags/guile > > any better way

Re: scheme with vim

2020-02-05 Thread Ricardo Wurmus
Hi Marc, > # please be quiet > > a way to test a code in vim is to use the interpreter as a filter using > the ! action (:h !) or write in a pipe. if you do that with guile, the > repl header is printed: > > GNU Guile 2.2.4 > Copyright (C) 1995-2017 Free Software Foundation, Inc. > >

Re: scheme with vim

2020-01-29 Thread Ricardo Wurmus
Hi Marc, > # completion > > i don't know what is the good way to get the list of built-in > commands of guile so i ended up with > > aptitude search '~i ~n guile-2' -F%p | > xargs -n1 dpkg -L | > perl -lnE 'print if /[.]scm$/ && -f' | > ctags -L - -f ~/.vim/ctags/guile >

Re: Hosting Guile web applications

2020-01-19 Thread Ricardo Wurmus
Jérémy Korwin-Zmijowski writes: > I would like to know where/how do you host your web applications written in > Guile. For all my web applications I have them listen on a port on localhost only. I use nginx to listen for requests from the outside and proxy them to the local application. To

Re: Hosting Guile web applications

2020-01-19 Thread Ricardo Wurmus
Nala Ginrut writes: > And you may install it with Docker that may save your lot of time: > https://nalaginrut.com/archives/2019/09/18/install%20gnu%20artanis%20with%20docker Or with Guix: guix install artanis -- Ricardo

Re: State of lilypond with Guile 2?

2019-11-08 Thread Ricardo Wurmus
Arne Babenhauserheide writes: > Does the lilypond in Guix use Guile 2? No. -- Ricardo

Re: Write a macro which defines a procedure

2019-07-20 Thread Ricardo Wurmus
Hi Zelphir, > This was I found out about an issue, but not sure how to solve it. It > seems like `module-define!` wants to have a symbol as input. But I > could not figure out how to create a symbol from an identifier. > > Here is my updated version of the macro: […] > (define-syntax define-api-

Re: Write a macro which defines a procedure

2019-07-20 Thread Ricardo Wurmus
Hi, > However, when I call this macro as follows: > > > 88 > (define-api-route /container/json 'POST > application/x-www-form-urlencoded) > 88 > > I get the following error: > > 88

Re: [ANN] guile-gi 0.0.2 released

2019-06-17 Thread Ricardo Wurmus
Hi Mike, > Hello. I am announcing guile-gi v0.0.2. Yay! Thank you. I updated the package in Guix and noticed that the test for atomic_int_set is marked as XFAIL, but it now passes. In Guix we now override the list of XFAIL_TESTS to let the tests pass. -- Ricardo

Re: How do you format date-times in RFC 3339 style?

2019-02-14 Thread Ricardo Wurmus
tantalum writes: >> You know what would be great? If you packaged "sph-lib" for GNU Guix > > that is a good point, i plan on trying to do that, again. with the > last two tries i couldnt find a simple example or documentation for > creating a guix package that doesnt use autotools. You can use

Re: How do you format date-times in RFC 3339 style?

2019-02-12 Thread Ricardo Wurmus
sirgazil writes: > El 11/02/19 a las 4:39 p. m., Nala Ginrut escribió: >> Hi there! >> Guile web module has provided an unexpected API for that: >> >> (define write-date (@@ (web http) write-date)) > > > I think I prefer using public procedures, so I'll leave the error > there for now. I suppo

Re: Permissive html parser for guile

2019-01-24 Thread Ricardo Wurmus
Panicz Maciej Godek writes: > I believe that the canonical way of working with XML documents in Guile is > through the (sxml simple) module (and others): > https://www.gnu.org/software/guile/manual/html_node/SXML.html > > It contains xml->sxml function which allows to convert XML strings to a >

Re: [bootstrappable] Re: GNU Mes 0.19 released

2018-12-17 Thread Ricardo Wurmus
Hi Arne, > Do you have a document showing the bootstrap path — ideally in graph > form, i.e. with plantuml activity diagram? > http://plantuml.com/activity-diagram-legacy You can see the current bootstrap path here: https://bootstrappable.org/projects/mes.html This is without the path from

Re: guile-gdbm doesn't work with gdbm-1.14

2018-03-19 Thread Ricardo Wurmus
Mark H Weaver writes: > iyzs...@member.fsf.org (宋文武) writes: > >> Hello, since version 1.14, gdbm doesn't export "gdbm_errno" anymore [1], >> so the guile-gdbm ffi binding code [2] need updates now (I'm not >> confident to do it myself...). >> >> [1] >> http://git.gnu.org.ua/cgit/gdbm.git/commi

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: walking up the filetree (in a Guix related package)

2017-04-17 Thread Ricardo Wurmus
ng0 writes: > This is very similar to what I use in the gnURL release procedure, > but it has one defect: It requires that the file is located in the > top sourcedirectory / root directory of the source. > > I'm trying to change this: > > (define %source-dir (dirname (current-filename))) > > so

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 :).

GNU Guix & GuixSD 0.12.0 released

2016-12-21 Thread Ricardo Wurmus
442 Ludovic Courtès 4 Lukas Gradl 21 Manolis Ragkousis 114 Marius Bakke 128 Mark H Weaver 7 Mathieu Lirzin 2 Maxim Cournoyer 2 Mike Gerwitz 1 Muriithi Frederick Muriuki 12 Nicolas Goaziou 2 Paul Garlick 3 Petter 2 Raoul Bonnal