Re: Stepping back up as a co-maintainer

2019-10-17 Thread tomas
On Thu, Oct 17, 2019 at 12:24:03PM +0200, Mikael Djurfeldt wrote: > I think we should trust what Mark says and not second guess him. Definitely. I think this should count for *all*. Second-guessing anyone in this difficult situation can only add more difficulties on top. I think each of us should

Re: Stepping back up as a co-maintainer

2019-10-18 Thread tomas
On Fri, Oct 18, 2019 at 10:36:17AM +0200, zx spectrumgomas wrote: [...] You are not being helpful. Please, stop this. -- tomás signature.asc Description: Digital signature

Re: Stepping back up as a co-maintainer

2019-10-18 Thread tomas
On Fri, Oct 18, 2019 at 11:51:52AM +0200, zx spectrumgomas wrote: > Yes, it clarifies things. I don't agree with you, but you have a noble > heart. I hope you all come to an agreement.Thanks. Thanks :) and... agreed. I've been mostly a bystander here, but have perceived most of you (Andy, Mark, M

Re: Diversification [ branched from Re: conflicts in the gnu project now affect guile]

2019-10-23 Thread tomas
On Wed, Oct 23, 2019 at 11:37:24AM +0100, Chris Vine wrote: > "pelzflorian (Florian Pelz)" wrote: [...] > > I would prefer eventually having a forum/bulletin board-like Web > > interface to mailing lists in Guile and until then stick to pure > > mailing lists. > > That's pretty much what discou

Re: Diversification [ branched from Re: conflicts in the gnu project now affect guile]

2019-10-23 Thread tomas
On Wed, Oct 23, 2019 at 02:33:43PM +0200, pelzflorian (Florian Pelz) wrote: [...] > If there isn’t one already, then I would like to start working on a > written in Guile [...] Hmmm. I might be your first contributor :) Cheers -- t signature.asc Description: Digital signature

Re: Diversification [ branched from Re: conflicts in the gnu project now affect guile]

2019-10-23 Thread tomas
On Wed, Oct 23, 2019 at 08:48:13AM +0200, pelzflorian (Florian Pelz) wrote: > On Wed, Oct 23, 2019 at 08:16:34AM +0200, Amirouche Boubekki wrote: > > Regarding the mailling list, many projects (among GNOME) have or will > > adopt https://www.discourse.org/ [...] > I only know that subscribing to G

Re: mailmam, web bridge, forum, p2p (was: Diversification)

2019-10-24 Thread tomas
On Thu, Oct 24, 2019 at 11:35:52AM +0200, Amirouche Boubekki wrote: > Le jeu. 24 oct. 2019 à 03:01, Nala Ginrut a écrit : [...] > Last time I checked the security requirements for web application that > do not rely on JavaScript was too complicated. I preferred to forget > about it. > > See >

Re: mailmam, web bridge, forum, p2p (was: Diversification)

2019-10-24 Thread tomas
On Thu, Oct 24, 2019 at 11:03:07PM +0800, Nala Ginrut wrote: > I've ever tried to write a site for our local community without any JS > code, all auxiliary features include simple animation are implemented with > CSS. > However, I have to say it's painful to write a more complex site. I don't > kno

Re: mailmam, web bridge, forum, p2p

2019-10-26 Thread tomas
On Thu, Oct 24, 2019 at 09:39:04PM -0400, Mike Gerwitz wrote: thanks for your good overview... a question > Passing session tokens via GET requests is a bad idea, because that > leaks the token. Even in https? Cheers -- t signature.asc Description: Digital signature

Re: mailmam, web bridge, forum, p2p (was: Diversification)

2019-10-26 Thread tomas
On Thu, Oct 24, 2019 at 06:35:50PM +0200, Zelphir Kaltstahl wrote: > Hi Tomas! > > Do you still remember some of the issues you came across when making > such a shop? As I said, it was a pretty simplistic thing: - low volume (both customers and inventory) - no interest whatsoeve

Re: Diversification [ branched from Re: conflicts in the gnu project now affect guile]

2019-10-26 Thread tomas
On Wed, Oct 23, 2019 at 10:02:11PM +0200, pelzflorian (Florian Pelz) wrote: > On Wed, Oct 23, 2019 at 03:43:26PM +0200, to...@tuxteam.de wrote: > > But perhaps we need > > bridges between cultures and not just between tools. And that > > takes deep thinking (and people instead of machines, maybe).

Re: Diversification [ branched from Re: conflicts in the gnu project now affect guile]

2019-10-26 Thread tomas
On Sat, Oct 26, 2019 at 11:03:12AM +0200, pelzflorian (Florian Pelz) wrote: > On Sat, Oct 26, 2019 at 10:14:22AM +0200, to...@tuxteam.de wrote: [...] > > only become aware of that when you try to live at the rift. > > Yes, this is something we should keep in mind. IMHO the medium should > remai

Re: mailmam, web bridge, forum, p2p

2019-10-26 Thread tomas
On Sat, Oct 26, 2019 at 11:35:06AM +0200, pelzflorian (Florian Pelz) wrote: > On Sat, Oct 26, 2019 at 12:31:34AM -0400, Mike Gerwitz wrote: > > On Fri, Oct 25, 2019 at 08:08:45 +0200, pelzflorian (Florian Pelz) wrote: > > > So you would use both a cookie to retain login state and then only for > >

Re: mailmam, web bridge, forum, p2p (was: Diversification)

2019-10-26 Thread tomas
On Sat, Oct 26, 2019 at 11:42:47AM +0200, pelzflorian (Florian Pelz) wrote: > On Sat, Oct 26, 2019 at 10:04:14AM +0200, to...@tuxteam.de wrote: > >I remember chosing an "early" spot at the URL to > >leverage the browser's relative addressing, which > >saves a lot of template substitutio

Re: mailmam, web bridge, forum, p2p

2019-10-26 Thread tomas
On Sat, Oct 26, 2019 at 06:35:18PM +0800, Nala Ginrut wrote: > On Sat, Oct 26, 2019 at 3:49 PM wrote: > > > On Thu, Oct 24, 2019 at 09:39:04PM -0400, Mike Gerwitz wrote: > > > > thanks for your good overview... a question > > > > > Passing session tokens via GET requests is a bad idea, because th

Re: Diversification [ branched from Re: conflicts in the gnu project now affect guile]

2019-10-26 Thread tomas
On Sat, Oct 26, 2019 at 03:02:57PM +0200, Zelphir Kaltstahl wrote: > Hi! Hi :) > Well, I hope that such tolerance does not lead us to accept usage of > mini-uglyfied proprietary JavaScript or other bad things, just to please > people, who in the majority most likely … [...] Lemme digest your lo

Re: mailmam, web bridge, forum, p2p

2019-10-27 Thread tomas
On Sun, Oct 27, 2019 at 12:50:17AM -0400, Mike Gerwitz wrote: > To make sure I see replies, please include me in the recipient list (not > just the mailing list). I missed this at first. > > On Sat, Oct 26, 2019 at 09:48:37 +0200, to...@tuxteam.de wrote: > >> Passing session tokens via GET reques

Re: mailmam, web bridge, forum, p2p

2019-10-27 Thread tomas
On Sun, Oct 27, 2019 at 01:32:54AM -0400, Mike Gerwitz wrote: [...] > > Back in what feels like a previous lifetime by now, I used to do a lot > > of work with phpBB2, which had an option to either store sessions in > > cookies or place PHPSESSID in the URL. It modified every link to > > include

Re: Weird behavior of hash-table

2019-11-24 Thread tomas
On Sun, Nov 24, 2019 at 03:04:36AM -0500, Mark H Weaver wrote: > Hi Zelphir, > > Zelphir Kaltstahl writes: > > > I've noticed a strange behavior of hash tables [...] > > (define SQUARES > > ;; vector, constant time access > > #('A1 'B1 'C1 'D1 'E1 'F1 'G1 'H1 [...] > I guess that you meant

Re: Weird behavior of hash-table

2019-11-24 Thread tomas
On Sun, Nov 24, 2019 at 11:55:40AM +0100, Zelphir Kaltstahl wrote: > Hi Tomas! > > On 11/24/19 9:57 AM, to...@tuxteam.de wrote: > > Yikes. I'd fall into this trap, too [...] > > Is there a corresponding weird relative of `(...)? > > > > Cheers > >

Re: Weird behavior of hash-table

2019-11-24 Thread tomas
On Sun, Nov 24, 2019 at 06:00:43AM -0500, Mark H Weaver wrote: > Hi tomás, > > wrote: > > > So the best thing for one's brain is to train it to read #(...) > > as some weird relative of '(...)? > > Yes. They are both literals, and no part of a literal is evaluated. > #(...) is actually a short

Nyacc and guile-nearly-3.0

2019-12-02 Thread tomas
Hi, to anyone "in the know": is it worth to give nyacc a spin under Guile nearly-3.0 (i.e. >= 2.9.5)? I know the "configure" precludes that, but it's fairly obvious how to jump that fence. Is it a total loss of time -- or worth a try? Thanks for any insight, cheers -- tomás signature.asc Descr

Re: Nyacc and guile-nearly-3.0 (progress report)

2019-12-02 Thread tomas
On Mon, Dec 02, 2019 at 10:40:41AM +0100, to...@tuxteam.de wrote: > Hi, > > to anyone "in the know": is it worth to give nyacc a spin under > Guile nearly-3.0 (i.e. >= 2.9.5)? Well, I tried, this is a small progress report. First munged _guile_versions_to_search in nyacc's configure script to con

Re: Nyacc and guile-nearly-3.0 (progress report)

2019-12-02 Thread tomas
On Mon, Dec 02, 2019 at 06:28:53AM -0800, Matt Wette wrote: > Look at etc/README.  Maybe edit etc/configure.ac and rerun as in the README. > > I'm building 2.9.5 now but running into errors (ubuntu 18.04): > /bin/bash: line 6: 14657 Segmentation fault  (core dumped) Ouch. A segmentation fault

Re: Nyacc and guile-nearly-3.0 (progress report)

2019-12-02 Thread tomas
On Mon, Dec 02, 2019 at 06:28:53AM -0800, Matt Wette wrote: > Look at etc/README.  Maybe edit etc/configure.ac and rerun as in the README. Hm. Same confusion. Adding 3.0 to GUILE_PKG, like so: GUILE_PKG([3.0 2.2 2.0]) yields, at configure time: tomas@trotzki:~/src/guile/nyacc$ ./config

Re: Nyacc and guile-nearly-3.0 (progress report)

2019-12-03 Thread tomas
elds, again at configure time: [...] > configure: error: found development files for Guile 2.9.5, but > /usr/local/bin/guile has effective version 3.0 To complement that, here what "my" Guile says: tomas@trotzki:~$ guile GNU Guile 2.9.5 Copyright (C) 1995-2019 Free

Re: 2.9.5 build segfault on Ubuntu 18.04 [WAS: Nyacc and guile-nearly-3.0 (progress report)]

2019-12-03 Thread tomas
On Mon, Dec 02, 2019 at 05:09:42PM -0800, Matt Wette wrote: > > On 12/2/19 6:28 AM, Matt Wette wrote: > >I'm building 2.9.5 now but running into errors (ubuntu 18.04): > >/bin/bash: line 6: 14657 Segmentation fault  (core dumped) > >GUILE_AUTO_COMPILE=0 ../meta/build-env guild compile > >--tar

Re: Nyacc and guile-nearly-3.0 (progress report)

2019-12-03 Thread tomas
On Tue, Dec 03, 2019 at 05:33:20AM -0800, Matt Wette wrote: > The segfault is not in bash.  I was able to re-create the segfault > from the (bash) command-line. Got it, thanks :-) Cheers -- t signature.asc Description: Digital signature

Re: Nyacc and guile-nearly-3.0

2019-12-04 Thread tomas
On Wed, Dec 04, 2019 at 08:12:44PM +0100, Amirouche Boubekki wrote: > Le lun. 2 déc. 2019 à 10:40, a écrit : > > > Hi, > > > > to anyone "in the know": is it worth to give nyacc a spin under > > Guile nearly-3.0 (i.e. >= 2.9.5)? [...] It's working for me now. It was mostly "driver error", but s

Re: Nyacc and guile-nearly-3.0

2019-12-05 Thread tomas
On Wed, Dec 04, 2019 at 04:48:33PM -0800, Matt Wette wrote: > > > On 12/4/19 1:04 PM, to...@tuxteam.de wrote: > > > >Matt says that he had to remove "-Oresolve-primitives" from the compiler > >options. I hadn't -- but I suspect this option isn't set by default... > > > I apologize if I generated

Re: [ANN] nomunofu v0.1.0

2019-12-12 Thread tomas
On Thu, Dec 12, 2019 at 03:57:18PM +0100, Amirouche Boubekki wrote: > I am pleased to share with you the v0.1.4 binary release. It contains > the following improvements: This sounds very intriguing. I'm drowned in customer stuff at the moment, but perhaps you've made something for my Christmas tre

Re: GNU Guile 2.9.7 Released [beta]

2019-12-13 Thread tomas
(Sorry for the cross-post, see below) On Fri, Dec 13, 2019 at 09:23:46PM -0500, John Cowan wrote: > I am getting the following build error on both Cygwin and Ubuntu Xenial. > All is well until: > > BOOTSTRAP GUILEC system/vm/linker.go > /bin/bash: line 6: 16683 Segmentation fault (core dum

Re: [Wikidata] [ANN] nomunofu v0.1.0

2019-12-23 Thread tomas
On Sun, Dec 22, 2019 at 06:36:06PM -0500, Ted Thibodeau Jr via General Guile related discussions wrote: [...] > Hi, Amirouche -- > > Kingsley's points about tuning Virtuoso to use available > RAM [1] and other system resources are worth looking into, > but a possibly more important first ques

Re: GNU Guile 2.9.8 Released [beta]

2020-01-03 Thread tomas
but 2.9.8 found > > > Here's what I put in configure.ac: > GUILE_PKG(2.2 2.3 2.9 3.0) > > My question is "what's the correct config here"? Hm. I think I had that with nyacc too. This worked for me: GUILE_PKG([3.0]) GUILE_PROGS([2.9.5]) I think this is due to our

Nyacc question: where are the actions bound?

2020-03-08 Thread tomas
Hi, I'm playing around with Nyacc: I found a first little use case to get my feet wet. First of all, than you, Matt, for this impressive package. Shamelessly stolen from the minimal example, playground looks roughly like this: #+begin_source scheme (use-modules (nyacc lalr)) (use-modules (n

Re: Nyacc question: where are the actions bound?

2020-03-09 Thread tomas
On Sun, Mar 08, 2020 at 08:10:50AM -0700, Matt Wette wrote: > > > On 3/8/20 3:14 AM, to...@tuxteam.de wrote: > >Hi, > > > >I'm playing around with Nyacc [...] > >So I defined some function =collect= which will be called from > >actions in the grammar. > > > >My question is: where is the stuff re

Re: [ANN] nyacc 1.01.2 released

2020-03-14 Thread tomas
On Fri, Mar 13, 2020 at 03:29:29PM -0700, Matt Wette wrote: [...] > NEWS for V1.01.2 Thanks! Compiling now... Cheers -- t signature.asc Description: Digital signature

Re: Nyacc question: [found] where are the actions bound?

2020-03-14 Thread tomas
On Sun, Mar 08, 2020 at 08:10:50AM -0700, Matt Wette wrote: > > > On 3/8/20 3:14 AM, to...@tuxteam.de wrote: > >Hi, [...] > >My question is: where is the stuff resolved which is mentioned > >in grammar actions? Hah. Managed to answer my own question by reading the source. For the benefits of

Re: [ANN] nyacc 1.01.2 released

2020-03-14 Thread tomas
On Sat, Mar 14, 2020 at 10:34:28AM +0100, tomas wrote: > On Fri, Mar 13, 2020 at 03:29:29PM -0700, Matt Wette wrote: > > [...] > > > NEWS for V1.01.2 > > Thanks! Compiling now... works, thank you a lot :-) Cheers -- tomás signature.asc Description: Digital signature

Re: Nyacc question: [found] where are the actions bound?

2020-03-14 Thread tomas
On Sat, Mar 14, 2020 at 07:31:10AM -0700, Matt Wette wrote: > On 3/14/20 4:59 AM, to...@tuxteam.de wrote: [...] > >and have make-lalr-parser pick up the bindings in the lexical > >environment. [...] > I get it now.  What you expect makes much sense. >  I will think about that. It might come at

Re: guile-lib handling

2020-03-16 Thread tomas
On Mon, Mar 16, 2020 at 02:40:45PM +0100, Michal Herko wrote: > Dear maintainor of guile-lib. > I believe the special handling of elements in (htmlprag) module > to be a bug. > For example: > > (use-modules (htmlprag)) > (html->shtml "text") > ; expected result (*TOP* (html (body (div (p "text"))

Nyacc: how to lex comments?

2020-03-16 Thread tomas
Hi, in my quest to play parsing, I'm failing when I try to cope with comments. Here's an excerpt from my current file (define my-grammar (lalr-spec (start my-file) (grammar ;; boring grammar details elided ))) (define mach (make-lalr-machine aq

Re: Nyacc: how to lex comments?

2020-03-17 Thread tomas
On Mon, Mar 16, 2020 at 05:11:59PM -0700, Matt Wette wrote: > On 3/16/20 2:39 PM, to...@tuxteam.de wrote: > >Hi, > > > >in my quest to play parsing, I'm failing when I try to cope with > >comments. > > [...] > make-comm-reader will not eat newlines at end of comment by default. > If you want the

Re: Nyacc: how to lex comments?

2020-03-17 Thread tomas
On Tue, Mar 17, 2020 at 05:31:32AM -0700, Matt Wette wrote: > > > On 3/17/20 12:46 AM, to...@tuxteam.de wrote: [...] > >I didn't quite understand the difference between both. Would I have > >to include comments explicitly in the grammar if the lexer uses > >#:comment-reader? > > > >Thanks again

Re: question about values

2020-03-18 Thread tomas
On Wed, Mar 18, 2020 at 03:48:03PM +0100, Massimiliano Gubinelli wrote: > > > On 18. Mar 2020, at 15:40, Massimiliano Gubinelli > > wrote: > > > > Good point with dynamic-wind. Does it pass along also multiple values or > > has the same problem? > > > > Does not work... > > mgubi@Ulrike gui

Re: assign to and read from global variable

2020-03-20 Thread tomas
On Fri, Mar 20, 2020 at 06:20:38PM +0100, Malte Frank Gerdes wrote: > Hi, > > i'm trying to collect every definition of variables with it's according > value in a global variable. How i think it's supposed to work is: > > (define *global* '()) > > (... > (defvar . ,(lambda (_ . args) >

Re: confused about make-module and eval

2020-03-24 Thread tomas
On 24. Mar 2020, at 01:32, Matt Wette wrote: > I expect this to work, but it does not. Any anyone elaborate? > What is the minimum module that can make this work? (make-fresh-use-module)? On Tue, Mar 24, 2020 at 01:35:51AM +0100, Massimiliano Gubinelli wrote: > I think a fresh module do not ha

Re: confused about make-module and eval

2020-03-24 Thread tomas
On Tue, Mar 24, 2020 at 10:27:35AM +0100, Massimiliano Gubinelli wrote: > you can look into ice-9/boot-9.scm to see how modules are populated. I'm not > sure now how to do it right. Thanks, will do. Cheers -- t signature.asc Description: Digital signature

Re: syntax taste: use of unquote in macros

2020-03-30 Thread tomas
On Mon, Mar 30, 2020 at 12:07:07AM +0200, Zelphir Kaltstahl wrote: > > On 3/29/20 5:11 PM, Matt Wette wrote: > > Hi All, > > > > I'm not sure if you know about this, but there is a discrepancy in the > > way some folks define macros to use unquote (aka ,).   For example, [pmatch vs. match] > I'm

Re: syntax taste: use of unquote in macros

2020-03-31 Thread tomas
On Mon, Mar 30, 2020 at 04:43:47PM -0700, Matt Wette wrote: [...] > The other thing about match that is attractive is that use of > quasiquote+unquote is "reflexive" (or maybe self-adjoint?) > in the following sense: > > '(foo "bar") => (match-lambda (`(foo ,val) `(foo ,val))) => '(foo "bar") S

Re: guile-hall error on probably every command

2020-06-11 Thread tomas
On Thu, Jun 11, 2020 at 08:59:35PM +0200, Zelphir Kaltstahl wrote: > Hi Guile users! > > I was about to follow the guile-hall tutorial posted on the list today, > but unfortunately, I get an error the first time I need to input a > guile-hall command: [...] > In unknown file: >0 (mak

NYACC: getting source location info?

2020-07-10 Thread tomas
Hi, I'm having some fun with NYACC (thanks, Matt!). To help debugging things and for errors and warnings, it'd be nice to "know" where the current LHS non-terminal starts in the source. Its endpoint is (is it?) (port-line (current-input-port) [and, of course, (port-column ...)] -- at least some

Re: NYACC: getting source location info?

2020-07-11 Thread tomas
On Fri, Jul 10, 2020 at 08:00:15PM -0700, Matt Wette wrote: Hey, and thanks for your quick response! > On 7/10/20 1:37 PM, to...@tuxteam.de wrote: > >Hi, > > > >I'm having some fun with NYACC (thanks, Matt!). > > > >To help debugging things and for errors and warnings, it'd be nice > >to "know" w

Trying to get friends with SRFI-19

2020-07-20 Thread tomas
Hi, I'm trying to parse some stuff, part of which are date strings of the form "20200106", i.e. "MMDD". Since I don't trust my input too much (or rather, my understanding of it), I'd like to get a slap when my assumptions fail. So I'd like to validate the date string. SRFI-19 seems to be my

[SOLVED] Trying to get friends with SRFI-19

2020-07-22 Thread tomas
On Mon, Jul 20, 2020 at 11:27:03PM +0200, to...@tuxteam.de wrote: > Hi, > > I'm trying to parse some stuff, part of which are date > strings of the form "20200106", i.e. "MMDD" [...] > Is there a canonical way to validate a date string? I ended up rolling my own (and converting to SRFI-19 da

Re: string-replace-substring is missing

2020-07-29 Thread tomas
On Wed, Jul 29, 2020 at 04:41:33PM +0200, Linus Björnstam wrote: > Iirc that was quite recently introduced. Unless you are using a recent guile > (like 3.0.2 or 3.0.4) your guile installation does not have it. Can confirm that: guile 3.0.4 here, string-replace-substring is available from (ice-9 s

Re: Nyacc question: where are the actions bound?

2020-07-30 Thread tomas
On Thu, Jul 30, 2020 at 06:50:08AM -0700, Matt Wette wrote: > On 3/8/20 3:14 AM, to...@tuxteam.de wrote: > >Hi, > > > >I'm playing around with Nyacc: I found a first little use case > >to get my feet wet. [...] > Hi Tomas, (I apologize for the ascii spelling)

Re: About exception handling again ...

2020-08-03 Thread tomas
Hey, thanks to you both for this enjoyable collateral learning :) Cheers -- t signature.asc Description: Digital signature

Re: Nyacc question: where are the actions bound?

2020-08-03 Thread tomas
>actions in the grammar. > > > >My question is: where is the stuff resolved which is mentioned > >in grammar actions? [...] > Hi Tomas, (I apologize for the ascii spelling) > You may be able to do what you want with the following: > > (define (parse) >  (let ((raw-

Re: system command output different in guile than on command line

2020-08-05 Thread tomas
On Tue, Aug 04, 2020 at 09:34:22PM +, vapnik spaknik wrote: > Hi, > I'm trying to write some code to get the size of a diff of two files. > If I run the following pipeline in my zsh shell: > > > diff -ua /tmp/file1 /tmp/file2 | wc -c > > it prints 215 > However when I run the following in

Re: system command output different in guile than on command line

2020-08-05 Thread tomas
On Wed, Aug 05, 2020 at 11:27:30AM +, vapnik spaknik via General Guile related discussions wrote: [...] > OK... I was being stupid. We all are, most of us more often than not ;-) >Another strange thing is that if I use the pipeline procedure to do the same >thing, then I get an exit code

Re: http-client port encoding failed

2020-09-05 Thread tomas
On Fri, Sep 04, 2020 at 02:35:45PM -0500, mbcladw...@stihie.net wrote: > > Hi, > > I am using http-client to submit requests that contain extended > Latin characters e.g. "Marjanović+Ž". I believe I have locales set > up properly as I don't receive the "can't set locales" error. Also > I can re

Re: http-client port encoding failed

2020-09-08 Thread tomas
On Tue, Sep 08, 2020 at 09:26:57AM -0500, mbcladw...@stihie.net wrote: > > Not sure I am doing exactly what you suggest but the following > (based on your suggestion) seems to work: Glad it helped :) Cheers - t signature.asc Description: Digital signature

Re: Guile web server example serving static files

2020-09-20 Thread tomas
On Fri, Sep 18, 2020 at 07:56:04AM +0200, divoplade wrote: > Hello Zelphir, [...] > As for why guile avoid reasoning about "paths", see > https://www.gnu.org/prep/standards/standards.html#GNU-Manuals > https://www.gnu.org/prep/standards/standards.html#GNU-Manuals: > > Please do not use the term

Re: Guile web server example serving static files

2020-09-20 Thread tomas
On Sun, Sep 20, 2020 at 09:52:08AM +0200, divoplade wrote: > Le dimanche 20 septembre 2020 à 09:48 +0200, to...@tuxteam.de a écrit : > > Something to keep in mind when talking to "other cultures" -- > > they are our neighbours, after all :-) > > I did not recommend using this term. There was a que

Re: Guile web server example serving static files

2020-09-20 Thread tomas
On Sun, Sep 20, 2020 at 10:54:50AM +0200, divoplade wrote: [...] > Yes, that's why I try to clarify where the strange "file name" > terminology comes from. We are in violent agreement, it seems :-) thanks - t signature.asc Description: Digital signature

Re: Surprising behavior of eq?

2020-09-20 Thread tomas
On Sun, Sep 20, 2020 at 05:37:45PM +0200, Zelphir Kaltstahl wrote: > Hello John, hello Stefan! [...] > Of course SO is not a standard. Either it is simply wrong, or I > misunderstood "primitive values" in that phrase. I thought: "Ah strings > are a primitive value, so eqv? should work in all case

Source of guile-dbi

2020-10-06 Thread tomas
Hey guilers, 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. Is there any way to avoid github (without making maintainer's life unnecessarily difficult, that is)? Thanks for any insights

Re: Source of guile-dbi

2020-10-06 Thread tomas
On Tue, Oct 06, 2020 at 01:22:09PM +0200, Ricardo Wurmus wrote: > > 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 gith

Re: Source of guile-dbi

2020-10-07 Thread tomas
On Wed, Oct 07, 2020 at 04:14:22PM +0200, Zelphir Kaltstahl wrote: > Hi Ricardo and hi Tomas! > > On 10/6/20 1:22 PM, Ricardo Wurmus wrote: > > Hi tomas, > > > >> what is currently the canonical source of guile DBI? Is it > >> the github opencog one [1]? I

Re: Source of guile-dbi

2020-10-07 Thread tomas
On Wed, Oct 07, 2020 at 04:17:19PM +0200, to...@tuxteam.de wrote: > On Wed, Oct 07, 2020 at 04:14:22PM +0200, Zelphir Kaltstahl wrote: > > Hi Ricardo and hi Tomas! [...] > > > this works: > > > > > > > > > http://web.archive.org/web/2017022515532

Re: Writing a procedure in different style

2020-12-13 Thread tomas
On Sun, Dec 13, 2020 at 01:29:31PM +0100, Zelphir Kaltstahl wrote: > Hello Taylan! > > I tried your procedure and indeed it seems to work : ) > > I think what I had been missing before were 2 things: > > 1. I did not have the (if (null? rest) ...) parts, so I always tried to > directly make a re

Re: Writing a procedure in different style

2020-12-13 Thread tomas
On Sun, Dec 13, 2020 at 04:01:24PM +0100, Zelphir Kaltstahl wrote: > Hi Tomas! > > In some way what you write makes sense. Let me state here, that I did > read that book and worked through it for a year though, even through the > complicated parts like the y-combinator and some

Re: Writing a procedure in different style

2020-12-21 Thread tomas
On Sun, Dec 20, 2020 at 06:57:34PM +0100, Zelphir Kaltstahl wrote: > Hello Tomas! > > I think you are right about it only being down one stack frame down. The > checks are performed on what contains the next thing which is recurred on. Nice explanation :) > For a moment I thought

Re: trace-calls-to-procedure

2020-12-25 Thread tomas
On Fri, Dec 25, 2020 at 06:58:00AM +0100, Zelphir Kaltstahl wrote: > Hi Tim! > > I do not know the answer to your question, but I noticed something else: > trace-calls-to-procedure returns a procedure. That procedure and its > return value can be applied infinitely, it seems: [...] > Not sure if

Re: is there a way to serialize hash tables?

2020-12-26 Thread tomas
On Fri, Dec 25, 2020 at 09:27:49PM -0600, Tim Meehan wrote: > I have a big-ish blob of key-value pairs that I would like to not have to > store as text and then convert to a hashtable when I am filtering my data. > > Right now I am saving it as an alist and then converting back to a > hashtable us

Re: GNU Guile 3.0.5 released

2021-01-07 Thread tomas
On Thu, Jan 07, 2021 at 02:09:08PM +0100, Andy Wingo wrote: > We are delighted to announce GNU Guile release 3.0.5, the latest in the > 3.0 stable release series. Wohoo! Thanks to you all for all this hard work. And a happy 2021! Cheers - t signature.asc Description: Digital signature

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

2021-01-11 Thread tomas
On Mon, Jan 11, 2021 at 05:44:41AM -0800, Matt Wette wrote: > Hi All, > > 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 >

Re: open-pipe* seems to buffer all of my writes when I don't want it.

2021-01-15 Thread tomas
On Thu, Jan 14, 2021 at 10:56:42PM -0600, Tim Meehan wrote: > I was trying to use Matplotlib to plot some data, through a call to > "open-pipe*" ... I'm trying to slowly rewrite some of my tools in Scheme. > > When I run the program from the shell with "python -i plotter.py" I can > send it update

Re: guile-hall issues converting my project to a hall project

2021-02-07 Thread tomas
On Sat, Feb 06, 2021 at 10:49:12PM +0100, Zelphir Kaltstahl wrote: > Hello Guile Users! Hi, Zelphir not that I could help you in any way wrt. your guile-hall quest, but thanks for your long and detailed report. Way better than silently cursing at the screen and drinking too much coffe ;-) An exa

Re: A Web client with cache for guile!

2021-02-22 Thread tomas
On Sun, Feb 21, 2021 at 10:40:42PM +0100, Vivien Kraus via General Guile related discussions wrote: > Dear guilers, > > With the help of promises and futures, I was able to write a small > caching web client for guile. > > https://web-client-with-cache.planete-kraus.eu/ Exciting. OK, my late a

Re: GOOPS question

2021-05-02 Thread tomas
On Sun, May 02, 2021 at 12:14:37PM +0200, Damien Mattei wrote: > i use now the good way to loadmodule: > > scheme@(guile-user)> (set! %load-path (reverse (cons "." (reverse > %load-path Apart from what Mikael says: if you want to modify `%load-path', you typically want to add your "special" d

Re: %load-path

2021-06-12 Thread tomas
On Sat, Jun 12, 2021 at 11:32:52AM +, Zelphir Kaltstahl wrote: > Hello Damien, > > Until today I was not aware, that there is a use-modules with slash notation. > > I have found, that modifying the load-path is usually not, what I want in the > end. I prefer to use the -L argument for telling

Re: re-writing algorithms in Guile

2021-06-29 Thread tomas
On Mon, Jun 28, 2021 at 04:38:50PM -0500, Tim Meehan wrote: > Say for instance, I have found an algorithm for scalar function > minimization on a website, written in C. It is posted with a license for > use. If I write something based on this hypothetical code, is it then > clearly also licensed in

Re: re-writing algorithms in Guile

2021-06-29 Thread tomas
On Tue, Jun 29, 2021 at 01:52:56PM +, Nate Rosenbloom wrote: > > > This reason is not stated in the Stack Exchange post, and I believe > > it’s inaccurate (although, I am not a lawyer either). I think the > > reason is that you are reading the original implementation to write > > your own, so

Re: Applicable structs and vtables

2021-08-13 Thread tomas
On Fri, Aug 13, 2021 at 08:33:33PM +, Zelphir Kaltstahl wrote: > Hi Guile users, > > I have some code, in which I wrap procedures in a record, which contains > members, which express the arity of the procedures. For example one struct be: > > I don't know whether what you're after is about

Re: Applicable structs and vtables

2021-08-14 Thread tomas
On Sat, Aug 14, 2021 at 09:19:49AM +, Zelphir Kaltstahl wrote: > Hi Tomas! > > Ultimately I need the minimum and maximum arity of functions [...] It seems that the second number in `procedure-minimum-arity's result is the number of optional arguments (cf. `define*'

Re: backing out of debugger

2021-09-14 Thread tomas
On Tue, Sep 14, 2021 at 08:50:03AM -0400, Mortimer Cladwell wrote: > Hi, > Let's say I made a lot of mistakes. I look at my repl and see: > scheme@(guile-user) [10]> > > Any way to back out to scheme@(guile-user)> without typing ,q ten times? Guile tells you :) scheme@(guile-user)> foo ;;; :

Re: Double-precision floating point arithmetics behaves differently in Guile and in C

2021-09-26 Thread tomas
On Sun, Sep 26, 2021 at 10:45:51AM +0200, Panicz Maciej Godek wrote: > Hi, > > I recently ran into a very weird problem. I am using code for computing > Singular Value Decomposition that's been ported do Scheme by Gerald Sussman > as a part of the scmutils package (more specifically, I use some bi

Re: source tracking for nyacc parser is coming

2021-10-23 Thread tomas
On Fri, Oct 22, 2021 at 06:00:09AM -0700, Matt Wette wrote: > Hi All, > > I just wanted to give an update on this requested feature for nyacc. > > I've been working on adding source location tracking to nyacc's > parser. I believe I have a working implementation. It should > appear in future re

Re: sxml-match bad pattern syntax

2021-12-27 Thread tomas
On Tue, Dec 28, 2021 at 01:21:31AM -0500, Thien-Thi Nguyen wrote: > > In an effort to join the current millennium, :-) > i have started to > play w/ Guile 2.x's SXML facilities. Good stuff! I've run into > a problem, however, and hope i can get help

Re: sxml-match bad pattern syntax

2021-12-28 Thread tomas
On Tue, Dec 28, 2021 at 02:58:56AM -0500, Thien-Thi Nguyen wrote: > > () > () Tue, 28 Dec 2021 08:19:04 +0100 > >I /think/ the ellipsis is at a wrong place there [...] > Haha, i know exactly how you feel. %-) > Ah, right! The ellipses are a tail that need to follow a head. No, the ellip

Re: sxml-match bad pattern syntax

2021-12-28 Thread tomas
On Tue, Dec 28, 2021 at 04:21:39AM -0500, Thien-Thi Nguyen wrote: > > () > () Tue, 28 Dec 2021 09:28:32 +0100 > >> Ah, right! The ellipses are a tail that need to follow a >> head. > >No, the ellipses tell the matcher that the symbol to its left [...] > I think we're saying the s

Re: [EXT] Option to create statically linked binaries

2021-12-29 Thread tomas
On Wed, Dec 29, 2021 at 02:52:20PM -0500, Thompson, David wrote: > Hi Sai, > > On Wed, Dec 29, 2021 at 1:14 PM Sai Karthik wrote: > > > > Hello everyone! I'm new to guile. I am exploring the language since a > > couple of days. It would be nice to have option to produce such binaries > > for prog

Re: timestamp

2022-02-12 Thread tomas
On Sat, Feb 12, 2022 at 09:37:17AM +0100, adriano wrote: > This > > scheme@(guile-user)> (stat:ctime (stat "cat.jpg")) > $5 = 1607841890 > > How do I get a timedate from that number ($5) ? The traditional POSIX-ish functions are built in: (localtime 1607841890) => #(50 44 7 13 11 120 0 347

Re: timestamp

2022-02-12 Thread tomas
On Sat, Feb 12, 2022 at 12:49:10PM +0100, Ricardo Wurmus wrote: > > 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 1

Re: timestamp

2022-02-12 Thread tomas
On Sat, Feb 12, 2022 at 02:50:34PM +0200, Eli Zaretskii wrote: > > Date: Sat, 12 Feb 2022 10:01:25 +0100 > > From: > > > > (strftime "%Y-%m-%d %H:%m:%s" (localtime 1607841890)) > > => "2020-12-13 07:12:1607845490" > > I guess you m

Re: Shell commands with output to string

2022-02-22 Thread tomas
On Tue, Feb 22, 2022 at 09:38:35AM +, Zelphir Kaltstahl wrote: > Corrections below. > > On 2/22/22 10:29, Zelphir Kaltstahl wrote: > > Hello Guile users! > > > > How would I run a shell command from inside Guile and get its output as > > a string, instead of the output being outputted directl

Re: good papers on graphics in scheme/lisp?

2022-03-02 Thread tomas
On Wed, Mar 02, 2022 at 12:34:32PM -0500, Olivier Dion via General Guile related discussions wrote: > On Wed, 02 Mar 2022, Blake Shaw wrote: [...] > > Also, one last thing, I'm considering attempting to create a DSL that > > compiles to a subset of GLSL like Chicken's GLLS library[4], as I'm >

Re: good papers on graphics in scheme/lisp?

2022-03-03 Thread tomas
On Thu, Mar 03, 2022 at 02:35:09PM -0800, Matt Wette wrote: > On 3/3/22 11:29 AM, Blake Shaw wrote: > > writes: [...] > > > Actually NYACC comes with a pretty complete C99 compiler [1], [...] > Note nyacc comes with a c99 parser, not compiler.  mes has the back end. Oops. I did write `compiler

  1   2   3   >