From MAILER-DAEMON Fri Feb 01 07:34:53 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gpY21-000512-9W for mharc-guile-user@gnu.org; Fri, 01 Feb 2019 07:34:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33012) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gpY1z-0004zR-5U for guile-user@gnu.org; Fri, 01 Feb 2019 07:34:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gpY1y-0005zw-Gs for guile-user@gnu.org; Fri, 01 Feb 2019 07:34:51 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:34183) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gpY1u-0005rO-Ci; Fri, 01 Feb 2019 07:34:46 -0500 Received: from webmail.gandi.net (webmail1.sd4.0x35.net [10.200.201.1]) (Authenticated sender: amirouche@hypermove.net) by relay1-d.mail.gandi.net (Postfix) with ESMTPA id 4E3DC240009; Fri, 1 Feb 2019 12:34:37 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Fri, 01 Feb 2019 13:34:37 +0100 From: Amirouche Boubekki To: sirgazil Cc: Mike Gran , Amirouche Boubekki , Guile User , guile-user Subject: Re: [ANN] guile-gi v0.0.1 released In-Reply-To: <6bdc3591-d4ab-873a-0a8b-a15691dcb189@zoho.com> References: <20181115144125.GA23468@joshua.dnsalias.com> <20190131224607.GA24825@joshua.dnsalias.com> <6bdc3591-d4ab-873a-0a8b-a15691dcb189@zoho.com> Message-ID: X-Sender: amirouche@hypermove.net User-Agent: Roundcube Webmail/1.1.2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.70.183.193 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2019 12:34:51 -0000 On 2019-01-31 23:55, sirgazil wrote: > El 31/01/19 a las 5:46 p. m., Mike Gran escribiĆ³: >> On Thu, Jan 31, 2019 at 07:51:24PM +0100, Amirouche Boubekki wrote: >>> Greetings, >>> >>> Anyone try guile-gi for something even tiny? >> I'm getting pretty close to putting out a new revision. Things are >> getting close to functional. >> >> But, you should probably not use it for anything until then. >> >> Regards, >> >> Mike Gran >> > Yay! Thanks for the feedback. From MAILER-DAEMON Fri Feb 01 09:08:56 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gpZV2-00041o-Id for mharc-guile-user@gnu.org; Fri, 01 Feb 2019 09:08:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gpZV1-00041W-HN for guile-user@gnu.org; Fri, 01 Feb 2019 09:08:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gpZUq-0000Kg-7Y for guile-user@gnu.org; Fri, 01 Feb 2019 09:08:50 -0500 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]:39764) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gpZUm-0000EM-SD for guile-user@gnu.org; Fri, 01 Feb 2019 09:08:41 -0500 Received: by mail-pl1-x629.google.com with SMTP id 101so3274497pld.6 for ; Fri, 01 Feb 2019 06:08:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=d/YAVc+6+jbwN7WVOKEsQpcxW/yHpOf5Ux2fW3EnZlE=; b=Ids+vgp4sgUBX6+TBuSL00I+bxHNRbK5jnRt9/B+SSkYouBRAZ7hNEY01wslBH4ozH 9wMdtitLydKn5sXr/ylShaCBT8J6HLmO+5RzhBRIcXKVKppoqJ0EANdr4tm84mIEFpsV czc191qHLUkokCsvl+w1Jb9Z1mkKPtdCJ0OFz+HBE8XP0DMt7pR+x1ysYir2e+Jlz5Ly E1kFPDGZV+/NpHr8OWPHq3xOJKaXFv1eIKF+vGs+rXAuOMvB+h0TPiueOpok6gnGBQOg 5/Ij1RzEpjJLbEhsfg3/yDSEJCp8rIgzt0WUodUvDpvtfnRWcNtPUrT3eoz3iirVzwOI J3og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=d/YAVc+6+jbwN7WVOKEsQpcxW/yHpOf5Ux2fW3EnZlE=; b=rEjeOvZc7zCb6BSRJ+HLGewUCkNXEiGP9djusfz9GPg5w2KOTBMfKdrkECuG0/UaaZ oa5S9LLMRn7xzTvgumP65j+5wo5pPS8cYiaApoGM+R1aIHUlOFD2qg46+q0kMPAjqOHA cgxFhvU1QBdt+nurMaV2wyfNDAgLot6U7h0DQgBLaCznwwPGtLjfhypUdQ7VLreX8chq TCwDjXdD6JIzs+Zusw+qx6eoG56AwoQa2PeRaDxSPWIrPbAY93QXeXkvtIqcsbS3YDyP CMr1EaU/whDZNnM2BL2ByYNb1eTpzaYfiIKdk7mRdSYvvwwuczDxxlz+sSe9LDq+Z9V6 I5Jg== X-Gm-Message-State: AJcUukewNPW4S0OUcs0y+hQDDesghv+DmfZHJGspPWYSYIPScbyA5oyo m0rvRw2T3ze4VNltsF5BTRZ0KnNb X-Google-Smtp-Source: ALg8bN5b8MW2EH6ui+tHLhzf5qBvS+1Lido9X62G5PZuYC3SbglxM0E15vDzUPJnW04LI6X5BdMKuw== X-Received: by 2002:a17:902:7b91:: with SMTP id w17mr39659783pll.111.1549030111843; Fri, 01 Feb 2019 06:08:31 -0800 (PST) Received: from [192.168.2.183] (216-165-228-38.championbroadband.com. [216.165.228.38]) by smtp.gmail.com with ESMTPSA id h19sm9839862pfn.114.2019.02.01.06.08.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Feb 2019 06:08:31 -0800 (PST) Subject: Re: Tensorflow audio recognition To: guile-user@gnu.org References: From: Matt Wette Message-ID: Date: Fri, 1 Feb 2019 06:08:30 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::629 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2019 14:08:56 -0000 On 1/31/19 2:48 PM, Aleix Conchillo FlaquĆ© wrote: > On Thu, Jan 31, 2019 at 2:37 PM Jan Wedekind wrote: >> Hi, >> I got a Tensorflow neural network for audio recognition of 4 >> different words working. >> There are three Scheme programs: >> * software for recording audio training data >> * software for performing the training >> * software for testing using live audio input >> >> I used the software to remote control a Raspberry Pi Zumo robot. >> >> [1]: http://www.wedesoft.de/ai/2019/01/27/speech-recognition/ >> > This is great! Thanks for sharing. > > Aleix > > Ditto. Matt From MAILER-DAEMON Sat Feb 02 15:05:57 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gq1Y5-00037M-M9 for mharc-guile-user@gnu.org; Sat, 02 Feb 2019 15:05:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60999) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gq1Y2-00036n-4t for guile-user@gnu.org; Sat, 02 Feb 2019 15:05:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gq1Y0-00016R-BZ for guile-user@gnu.org; Sat, 02 Feb 2019 15:05:54 -0500 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:36962) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gq1Xz-000144-V8 for guile-user@gnu.org; Sat, 02 Feb 2019 15:05:52 -0500 Received: by mail-wr1-x443.google.com with SMTP id s12so10572882wrt.4 for ; Sat, 02 Feb 2019 12:05:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ccil-org.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=t0W/SxI5lQLOruq+WWB2ffS+e1VXT6QL7HJ/q+BylXc=; b=sznmuhfx1M06uWjmGA2aYZJ2rFfQ3NuL1pAPmGnr+iJ5SCloWEeWgQPHivHA3PVGAU 4f4FBUq4sMFNEDt4dFyFEw76uH8WO2JJkIrz5sDyzMNP26382TgW3YfOuAI+RWrL5Lki +mDQ5USiHvs7NKIkw3xfvWiQ8QE4rnYxf+bze/vniz9DIFhgCABgcKEQxDVh9XctsSX3 JdbkXzPodaAwzlbvrJ/+n7JNr9Db9o8E3vs6pReqCQywQDz8rqAV7F4h5ULtIN/UB4Hc tydZUKMhKg4V2DI/YfjEX2RhMuoF3/c583xQKG9JFuSGSTVWLA+9323VI9Se4fAh7uSc pNzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=t0W/SxI5lQLOruq+WWB2ffS+e1VXT6QL7HJ/q+BylXc=; b=W2vrpkQXrDi0yJ3mINEDJp626DgT+Y26mx6Sek8hKCO0lzyPwg2X7x6cOEE9FaeDPc 4zWsCAzg6cuol1MhfgMmaf821Jys6QxBWLLCJX7shUqXN+div93RFIV7GDxeMntEdNyC +yGaKtrrE+qih/e5k17CZ0tZrVC97uaA/phoEeBV2poGHhwxbQovipisabW8FyNVGzF/ JpVZ/4m+B4wuRFx4VPrcsJasZ2MmXvbTAV6+63umRa+51siDf2r9FiozMu0wZko3w6RU sGPPo2mKAgvmHN6EhgxUU7wonfVevAcwGCggUwBy/diKUqyk077K1deUip2BIISfTefh 85IA== X-Gm-Message-State: AJcUuke9v/rogSDqYCmDHdzjGqqjFVGhCUi0Eq/COB+5YLMBg7mu1dy3 LgARDbZy6YEXFi3EFB32VeEnzAI/XMR4C4emz4JGyQ== X-Google-Smtp-Source: ALg8bN5GaaZP8bLxWL/yFr2jq16ma/yhxRtT473wZ9WvRpAus/Fdw3pTS9pwXAfQi1yeeLmhiT5ToRnHxLZAnEyj6qY= X-Received: by 2002:a5d:40c1:: with SMTP id b1mr45493985wrq.133.1549137949833; Sat, 02 Feb 2019 12:05:49 -0800 (PST) MIME-Version: 1.0 From: John Cowan Date: Sat, 2 Feb 2019 15:05:36 -0500 Message-ID: Subject: Tangerine Edition final results available To: scheme-reports-wg1@googlegroups.com, scheme-reports-wg2@googlegroups.com, chicken chicken , chibi-scheme@googlegroups.com, gambit-list@iro.umontreal.ca, guile-user X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::443 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Feb 2019 20:05:55 -0000 Voting is now closed on the Tangerine Edition ballot and the accompanying Orange Edition straw poll. My thanks to the 29 Schemers who weighed in on what will be part of the Tangerine Edition, as well as the 17 Schemers who provided feedback on what should and should not appear on the Orange Edition ballot. Note that proposals passed by a majority of the votes cast: "no vote" did not count one way or another. The raw votes are available as Google spreadsheets at < http://tinyurl.com/tangerine-results> and < http://tinyurl.com/orange-straw-results). The Chair edited Vincent Manis's vote from "no vote" to "SRFI 152" at his own request. The following nine SRFIs passed with resounding majorities: SRFI 115 (combinator-based regular expressions) SRFI 141 (comprehensive integer division operators) SRFI 143 (fixnum operators) SRFI 144 (flonum operators, R6RS plus ) SRFI 146 (persistent tree and hash mappings) SRFI 151 (comprehensive bitwise operations on integers) SRFI 158 (backward-compatible additions to SRFI 127 on generators) SRFI 159 (combinator formatting) SRFI 160 (comprehensive homogeneous vector library, including inexact-complex vectors) The sample implementation of SRFI 160 is not yet written: however, the API has mostly stabilized, excluding u1vectors (bitvectors) from consideration and adding a (srfi 160 base) library that provides SRFI 4 support for all SRFI 4 vector types plus the complex types. The R6RS library (rnrs bytevectors) was adopted into Tangerine, also by a large majority. Implementors should note that "must" when applied to a procedure or macro argument means only "it is an error unless"; actually signaling an error is not required. In addition, there are corrections at < http://www.r6rs.org/r6rs-errata.html>, including substantive changes to the `utf16->string` and `utf32->string` procedures. A portable R7RS-small implementation of this library written by Will Clinger can be found at snow-fort.org and in the contrib/cowan subdirectory of the SRFI 4 repository. Required support for the full numeric tower, including bignums up to an implementation-defined limit, ratios (exact non-integers), inexact numbers, and complex (non-real) numbers both exact and inexact, is also part of Tangerine. There are no such requirements in R7RS-small. Note that while most numeric types were uncontroversial, exact complex numbers passed by just one vote. (See < http://mentalfloss.com/article/59873/10-elections-decided-one-vote-or-less> for other elections decided by a single vote.) Finally, the vote on the string library was problematic. Out of 26 votes cast, a one-vote majority of 14 voted for SRFI 152, a simple index-based string library. However, rather than accepting the Will of the People in this particular case, your Chair has decided to disregard this vote and postpone the choice of a string library to the Green Edition. Anyone who wishes to appeal against this decision should post to < scheme-reports-wg2@googlegroups.com>, and if anyone does, a vote will be taken on that list whether to sustain the Chair's decision (no string library yet) or override it (SRFI 152 becomes the string library). Why am I doing this? There were 6 votes for the original SRFI 13, of which SRFI 152 is a subset. There were 3 votes for the cursor-based SRFI 130, which its author has offered to rewrite (as a new SRFI) to remove some substantive objections to it. SRFI 140, which splits Scheme strings into mutable and immutable subtypes, also received 3 write-in votes: I had excluded it from the ballot because it cannot be portably implemented on top of R7RS-small, and non-portable SRFIs are collected in the Green Edition. For that reason, string libraries will be revoted then. (In the Red Edition, no proposal obtained a majority.) As is traditional, the Chair is giving the new libraries their official names. The names corresponding to the SRFIs in the order listed above are: (scheme regex), (scheme division), (scheme fixnum), (scheme flonum), (scheme mapping) and (scheme mapping hash), (scheme bitwise), (scheme generator), (scheme format), and (scheme vector @), where @ is a metasyntactic variable for any of {base, u8, s8, u16, s16, u32, s32, u64, s64, f32, f64, c64, c128}. The (rnrs bytevectors) library will be known within R7RS-large as (scheme bytevector): note the change from plural to singular to conform with other R7RS library names. The (scheme mapping hash) library has fewer operations than the (scheme mapping) library, but is usable with unordered data types provided a good hash function can be written for them. This decision supersedes within R7RS-large the Red Edition's definition of (scheme generator) as SRFI 158. This should affect nobody except people who have used one of the 19 new identifiers for some other purpose, in which case import exclusion is at their service. Of the nine libraries asked about on the Orange Edition straw poll, all were well-supported (with volunteers to implement some of them) except the prime number library at < https://bitbucket.org/cowan/r7rs-wg1-infra/src/default/PrimesGauche.md>. There was also a one-vote majority against the TalliesCowan (descriptive statistics) library, but as there is a volunteer to implement it, I'll leave it on the docket for now. -- John Cowan http://vrici.lojban.org/~cowan cowan@ccil.org weirdo: When is R7RS coming out? Riastradh: As soon as the top is a beautiful golden brown and if you stick a toothpick in it, the toothpick comes out dry. From MAILER-DAEMON Sun Feb 03 08:07:14 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gqHUQ-0001Fr-IM for mharc-guile-user@gnu.org; Sun, 03 Feb 2019 08:07:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47834) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqHUL-0001Fd-Gb for guile-user@gnu.org; Sun, 03 Feb 2019 08:07:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gqHUJ-0002wT-Ki for guile-user@gnu.org; Sun, 03 Feb 2019 08:07:09 -0500 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:49049) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gqHUH-0002tc-Nx for guile-user@gnu.org; Sun, 03 Feb 2019 08:07:07 -0500 Received: from webmail.gandi.net (webmail1.sd4.0x35.net [10.200.201.1]) (Authenticated sender: amirouche@hypermove.net) by relay7-d.mail.gandi.net (Postfix) with ESMTPA id B3F0320002 for ; Sun, 3 Feb 2019 13:07:00 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 03 Feb 2019 14:07:00 +0100 From: Amirouche Boubekki To: Guile User Subject: Help me find the bug in my terminal-based editor Message-ID: <173992bb26533b5987a380257ea5f19d@hypermove.net> X-Sender: amirouche@hypermove.net User-Agent: Roundcube Webmail/1.1.2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.70.183.200 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Feb 2019 13:07:10 -0000 Hello, I have a strange bug in my terminal-based editor. The code can be found at https://framagit.org/a-guile-mind/zk To install you will need guile-bytestructures and guile-pfds. Then: git clone https://framagit.org/a-guile-mind/zk cd zk make dev You will also need to change the following line: https://framagit.org/a-guile-mind/zk/blob/master/zk/termbox.scm#L174 Then you can type: make run This will clear the terminal and display the content of 'zk.scm'. If you type 'enter' key, it should add a newline at the start of the buffer. It does, but rendering has glitches. If you resize the window it will remove the glitches. FWIW, here is the previous iteration that works but doesn't support multiple buffers and frames: https://github.com/a-guile-mind/azul.scm Can someone help? -- Amirouche ~ amz3 ~ http://www.hyperdev.fr From MAILER-DAEMON Sun Feb 03 16:22:42 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gqPDu-0004Cq-Qc for mharc-guile-user@gnu.org; Sun, 03 Feb 2019 16:22:42 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqPDs-0004CU-Nk for guile-user@gnu.org; Sun, 03 Feb 2019 16:22:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gqPDq-0002hg-Dd for guile-user@gnu.org; Sun, 03 Feb 2019 16:22:40 -0500 Received: from sonic311-22.consmr.mail.ne1.yahoo.com ([66.163.188.203]:42710) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gqPDo-0002Tf-Ey for guile-user@gnu.org; Sun, 03 Feb 2019 16:22:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1549228946; bh=qUkyv4D4r1E+Lp+72583flhHM4WPtP4ayTWOjoGyWI0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=t0JzAocqZg/iqC1BX9iifxZ3HNdggW5kC6NvybinwpYFXrhAMVBHjDixinftUbkGu8l9ItOPkaeMyGkFTrQRsYrrII5nat8tcsISw3Wrt75cok1DFXzW3ulbrXuDugU/4SikEBJpu/Ju+A0kjcZ3HwUVqhZlsDG3lMPht22Vei0mwXsaPtrhxpvicxnPxxyCmAqtj5iDn/xuAoBS0m1F4UG7S6DLsaJdtyZaxLCafcWVtbgT5ryL9Op/G7ANfN7wXhhhMApQc8VyyM8p5X3N69Nr4yNkyYNd/GI0FZz9H1HJOe0olQDOFGqNwl4RqKzENQXHwG7FHGSbGqc7iapGRg== X-YMail-OSG: zwzyodEVM1ny_niPanec7XUxuZuCuU8XGwwy7pnieF1dfla1YV9em3V46S12JRY KqsYSXlDnIpcxi_DkFOLOTytL0gkF_JfH4uPRvUPE1d1.nn6ot5bAG0l1AVkS3AqZQg51uOCK6fC 0FaquZXyTdA8oY8euGxsbK2vHHCVMuJMZFPCLb9zREicBBNQb82_Y81vIf7.JbCibga0n6.Mui9D _WZF0BIzOTihuwWZGQtdzOQrvkQo6MxyXmh7xajHBJ2kAFYIK19F8imF_U.q9WgSvXGDCy79bAAb 4_v3y923sklWQjMT0ZTxEPWnhOajPJiAlbUCZsnEz2NFWFkTwQEjXdyHMEg52.Oaz3xK0eIBN_rf l3l0dPY3TycZ.uF5O52gtqnWwuhisPXG3M937kjxwgWlA8OgjHj.T5WnDox9Sf0Qyz5UKtsPPKfl vcTaVwUr32r9thRVYpOPbTP.mVjpoy58lcRgSujEky7BdHvFLW0Tbpr4pGCtGtefWUs.5OVDX0ad Ry7VnjXfy3UnScaNQWndahRUPVmH51RGtK6S0ByTG4GL0_mBZNOo92BmnO0qmNmB8q5WUpRiznx0 siU5YkBUkHazLOQy72XRHI6FBGlNtfvKhPjyUnfRjUvkBsJ3M9263R2tHSmK7fv1i6kC8FO5gHoU rdx7rKFZ.rfjJC6tx_aBOIUrgtlRCdOUrpz96ixRBfjHfTuM6EiwI6aYTC8_rTydlEJa3aeC5C7n BRcQq2ZOqObZaJ7nk3JLuFP6qg4kX5kj0eoQksC5qmgKfftCPLrRTVFYPHGQcY.PJG99bBzME9HQ HDahLykwg6M32m9DMIMT2h.pkLa2By6oIT0O84GTTYGdJZTpq_3UseIRMQk2KeaXPXXX.hnU5z7F C3IXGwGhA6KBvSZlTFp4potj0PsRqQbQSdfWOfea1ORkcN3dmo64Mwesqaeit9SR2.HurIBOqjHq 27uF_eKRP5iJJv__H.l1mdzkrToHINVv3EDXU.mfhRL2rdMKXQDOHeXE_xzv_iMkU17SxSbfPU8S _cwG2rWPVXMxltPOkMSxHyaupb9ste4rQAW6ThMkemGjkRlKWge8VAwRCf7u4r3wtZAo5 Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ne1.yahoo.com with HTTP; Sun, 3 Feb 2019 21:22:26 +0000 Received: from 162-197-224-133.lightspeed.irvnca.sbcglobal.net (EHLO joshua.dnsalias.com) ([162.197.224.133]) by smtp421.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID a6b8f56da5b68d0d3c16c8c45352ba89; Sun, 03 Feb 2019 21:22:24 +0000 (UTC) Date: Sun, 3 Feb 2019 13:22:15 -0800 From: Mike Gran To: Amirouche Boubekki Cc: Guile User Subject: Re: Help me find the bug in my terminal-based editor Message-ID: <20190203212215.GA903@joshua.dnsalias.com> References: <173992bb26533b5987a380257ea5f19d@hypermove.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <173992bb26533b5987a380257ea5f19d@hypermove.net> User-Agent: Mutt/1.10.1 (2018-07-13) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 66.163.188.203 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Feb 2019 21:22:41 -0000 On Sun, Feb 03, 2019 at 02:07:00PM +0100, Amirouche Boubekki wrote: > Hello, > > > I have a strange bug in my terminal-based editor. > The code can be found at https://framagit.org/a-guile-mind/zk > > To install you will need guile-bytestructures and guile-pfds. > > Then: > > git clone https://framagit.org/a-guile-mind/zk > cd zk > make dev > > You will also need to change the following line: > > https://framagit.org/a-guile-mind/zk/blob/master/zk/termbox.scm#L174 > > Then you can type: > > make run > > This will clear the terminal and display the content of 'zk.scm'. > > If you type 'enter' key, it should add a newline at the start > of the buffer. It does, but rendering has glitches. If you resize > the window it will remove the glitches. I did build and run your program, passing the output through teseq to see which control codes it was writing out. As far as I can tell, the glitch you are seeing is in your code, and it not a mysterious console bug. Teseq tells me that after I hit carriage return, your program moves to the top-left corner, does a line-feed (pushing everything down and putting the cursor in line 2, column 1) prints some spaces over all the characters in line 2, jumps to column 16, and then writes "ice-9 match)))" It works after resizing because after resizing, you move to 1,1 and then emit an "erase in page". To use teseq, I typed "script" which starts a console session that gets saved in the "typescript" file, and then I called "teseq typescript" on the output. Regards, Mike Gran From MAILER-DAEMON Mon Feb 04 01:22:19 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gqXe7-0006aB-74 for mharc-guile-user@gnu.org; Mon, 04 Feb 2019 01:22:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqXe3-0006Yt-Oi for guile-user@gnu.org; Mon, 04 Feb 2019 01:22:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gqXe3-0004PK-1O for guile-user@gnu.org; Mon, 04 Feb 2019 01:22:15 -0500 Received: from mail.thebird.nl ([94.142.245.5]:44390) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqXe2-0004Nn-Qf; Mon, 04 Feb 2019 01:22:14 -0500 Received: by mail.thebird.nl (Postfix, from userid 1000) id 848F4D700; Mon, 4 Feb 2019 07:13:47 +0100 (CET) Date: Mon, 4 Feb 2019 07:13:47 +0100 From: Pjotr Prins To: guix-devel@gnu.org, Guile User Subject: FOSDEM 2019: Thank you! Message-ID: <20190204061347.42vvgaa4fuv2dy6c@thebird.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: NeoMutt/20170113 (1.7.2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 94.142.245.5 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2019 06:22:18 -0000 Thank you everyone for this great FOSDEM with the GNU Guix days: it was just great to see everyone and all the interactions! I feel much inspired to try GNU Hurd, new Guix features, the new Guile build system and even Racket (oops). A special thank you to the speakers and everyone who helped out! People came from really far, e.g., Argentina, USA (4x!), Canada, Israel. Wonderful to have you with us! Thanks you so much for making the effort! Especially I wish to thank Manolis Ragkousis for doing so many of the preparations and dealing with the ungrateful job of organizing the programme and chasing speakers. I wish to thanks Andreas Enge, Efraim Flashner and Chris Marusich: thank you so much for helping out with the minimalistic languages devroom! We have run one of the most intense devrooms with so many back-to-back talks and no pauses. And finally I wish to thank all the people working on GNU Guix and GNU Mes. You make it all so interesting :). I feel 2019 is going to be an exceptional year. The videos should be coming online in the coming days (see the schedule https://fosdem.org/2019/schedule/track/minimalistic_languages/ If you were a speaker, please click the link that was sent to you to release the video. Slides can still be uploaded through pentabarf. For those still heading back: safe travels! And hope to see everyone next year in health and great spirits! Pj. From MAILER-DAEMON Mon Feb 04 07:49:03 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gqdgM-0001GL-TV for mharc-guile-user@gnu.org; Mon, 04 Feb 2019 07:49:02 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43384) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqdgK-0001G5-FZ for guile-user@gnu.org; Mon, 04 Feb 2019 07:49:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gqdgJ-0001V5-5m for guile-user@gnu.org; Mon, 04 Feb 2019 07:49:00 -0500 Received: from mail-vs1-xe31.google.com ([2607:f8b0:4864:20::e31]:46471) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gqdgI-0001TV-Rj for guile-user@gnu.org; Mon, 04 Feb 2019 07:48:59 -0500 Received: by mail-vs1-xe31.google.com with SMTP id n10so8332793vso.13 for ; Mon, 04 Feb 2019 04:48:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=n5QLbRSkY6nKigTxY9qSwnygglEuWJBF/6zBKBkdg5c=; b=dVQf0LGSYuALWC94MC5f1w14ORIwY1lAr0bcnKSpgTVQWSkc8+1NtDAhPLh+l8QUmQ 7SlS+mSWcmuJ/1MZIoSQ3SYIT/6Wq1BReirXwrUZFPFVckJH5wKcBqX84Lc4RkQlxosC 0pJkZltKPD4TBvH+q8qJXnPJpbgGcJplmVfYeqGsiGvZ12Y7jlkTjYDrEt40CLqElymt 6thYq5cytVF49Dfc/vf9XfpYpGTN0RDGWGWzYYCJ3A+go/PD1td/liijIP1bDP66p8NS mvuqUR3HFulgGUjHfkwMYizkN3iVyP+DxT+Le2u+ZY5IxDKt1dJYa7wje0m3BV1QpLM1 djZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=n5QLbRSkY6nKigTxY9qSwnygglEuWJBF/6zBKBkdg5c=; b=RxQRdCGTdHjA8LBNPtxum7bTRnvYSDdiP1kxK1hlpGlwwn8N/s9Eb5h9q6ACvWFSFP /5tV3CnFB8UM0i3aKCt6t8PkUZBtGKxNjSyhpQOyRGLxQArd3aZxADLEACmekDz190Bz JIr6RwVFuaOJg103zElHy0VhFF69nCz/eaqgC19pVu0ghop/YIRCiW0JYNBXPLcp402S vryTqcCHCVf6M2Gid65BVc5RiQbTHyHD60zs3Yb3sZZLyx6cZSHxAUCXmch2+CaS6CFg 6MXhmYmSAIeN2nlWVrvSdf5A8LRJhVd7kajpVmSUW+3k0Rjbb+EBamjNoahRm/kj1uE+ oZSA== X-Gm-Message-State: AJcUukex63L9mC4eUU/F2i2OTTFhCXOIPccNQgNqbks7ZoctNhw7t59X CpGCWuyuWSABkes8AjzS8uWz3zzJCGlQoPNQ57c= X-Google-Smtp-Source: ALg8bN6sF+k9d0ZuXW9+QRDlmPV1lAhAREiVbacMSyzUTxCUoECful98VW+3CDNUjXOobeb3C/9TopcwdEkMi/OaLjM= X-Received: by 2002:a67:2045:: with SMTP id g66mr21837021vsg.180.1549284537341; Mon, 04 Feb 2019 04:48:57 -0800 (PST) MIME-Version: 1.0 References: <173992bb26533b5987a380257ea5f19d@hypermove.net> <20190203212215.GA903@joshua.dnsalias.com> In-Reply-To: <20190203212215.GA903@joshua.dnsalias.com> From: Amirouche Boubekki Date: Mon, 4 Feb 2019 13:48:45 +0100 Message-ID: Subject: Re: Help me find the bug in my terminal-based editor To: Mike Gran Cc: Amirouche Boubekki , Guile User X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::e31 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2019 12:49:01 -0000 Le dim. 3 f=C3=A9vr. 2019 =C3=A0 22:22, Mike Gran a =C3= =A9crit : > On Sun, Feb 03, 2019 at 02:07:00PM +0100, Amirouche Boubekki wrote: > > Hello, > > > > > > I have a strange bug in my terminal-based editor. > > The code can be found at https://framagit.org/a-guile-mind/zk > > > > To install you will need guile-bytestructures and guile-pfds. > > > > Then: > > > > git clone https://framagit.org/a-guile-mind/zk > > cd zk > > make dev > > > > You will also need to change the following line: > > > > https://framagit.org/a-guile-mind/zk/blob/master/zk/termbox.scm#L174 > > > > Then you can type: > > > > make run > > > > This will clear the terminal and display the content of 'zk.scm'. > > > > If you type 'enter' key, it should add a newline at the start > > of the buffer. It does, but rendering has glitches. If you resize > > the window it will remove the glitches. > > I did build and run your program, passing the output through teseq to > see which control codes it was writing out. As far as I can tell, the > glitch you are seeing is in your code, and it not a mysterious > console bug. > > Teseq tells me that after I hit carriage return, your program moves to > the top-left corner, does a line-feed (pushing everything down and > putting the cursor in line 2, column 1) prints some spaces over all > the characters in line 2, jumps to column 16, and then writes "ice-9 > match)))" > > It works after resizing because after resizing, you move to 1,1 and then > emit an "erase in page". > > To use teseq, I typed "script" which starts a console session that gets > saved in the "typescript" file, and then I called "teseq typescript" on > the output. > > Regards, > Mike Gran > > Thanks a lot. I was looking for something like teseq. I found the bug, here is the diff: diff --git a/zk.scm b/zk.scm index 76ae863..ad8aa5c 100644 --- a/zk.scm +++ b/zk.scm @@ -334,7 +334,8 @@ main loop." (define (%%container-render-char x0 y0 view-x max-x) (lambda (x y char) - (tb-change-cell (+ x0 x) (+ y0 y) char TB-WHITE TB-DEFAULT))) + (unless (equal? char (char->integer #\newline)) + (tb-change-cell (+ x0 x) (+ y0 y) char TB-WHITE TB-DEFAULT)))) (define (%%container-render buffer x0 y0 view-x view-y width height) (let* ((head (buffer-take-lines buffer (+ view-y height))) I was sending #\newline char as integer to tb-change-cell which was not expected, and create some kind of panic in the escape sequences sent to terminal. Indeed the newline end up in teseq as a line feed (LF). I endup finding the bug by comparing line by line the teseq output of azul.scm and zk.scm. Thanks again! From MAILER-DAEMON Mon Feb 04 08:23:45 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gqeDw-0002Yz-Lp for mharc-guile-user@gnu.org; Mon, 04 Feb 2019 08:23:44 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqeDt-0002W2-Hr for guile-user@gnu.org; Mon, 04 Feb 2019 08:23:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gqeDs-0008OO-2m for guile-user@gnu.org; Mon, 04 Feb 2019 08:23:41 -0500 Received: from dustycloud.org ([2600:3c02::f03c:91ff:feae:cb51]:60964) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gqeDr-0008IK-OX; Mon, 04 Feb 2019 08:23:39 -0500 Received: from jasmine (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id 35FDB266FF; Mon, 4 Feb 2019 08:23:28 -0500 (EST) References: <20190204061347.42vvgaa4fuv2dy6c@thebird.nl> User-agent: mu4e 1.0; emacs 26.1 From: Christopher Lemmer Webber To: Pjotr Prins Cc: guix-devel@gnu.org, Guile User Subject: Re: FOSDEM 2019: Thank you! In-reply-to: <20190204061347.42vvgaa4fuv2dy6c@thebird.nl> Date: Mon, 04 Feb 2019 08:23:27 -0500 Message-ID: <87imxzd6wg.fsf@dustycloud.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2600:3c02::f03c:91ff:feae:cb51 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2019 13:23:43 -0000 I'm sorry I missed the Guix days, it seems like it was quite an event! But all the Guile stuff in the minimalist languages room was great. Clearly 2018 was a great year for Guile and Guix... I'll place a bet that 2019 will be just as great or better :) Pjotr Prins writes: > Thank you everyone for this great FOSDEM with the GNU Guix days: it > was just great to see everyone and all the interactions! I feel much > inspired to try GNU Hurd, new Guix features, the new Guile build > system and even Racket (oops). > > A special thank you to the speakers and everyone who helped out! > > People came from really far, e.g., Argentina, USA (4x!), Canada, > Israel. Wonderful to have you with us! Thanks you so much for making > the effort! > > Especially I wish to thank Manolis Ragkousis for doing so many of the > preparations and dealing with the ungrateful job of organizing the > programme and chasing speakers. > > I wish to thanks Andreas Enge, Efraim Flashner and Chris Marusich: > thank you so much for helping out with the minimalistic languages > devroom! We have run one of the most intense devrooms with so many > back-to-back talks and no pauses. > > And finally I wish to thank all the people working on GNU Guix and GNU > Mes. You make it all so interesting :). I feel 2019 is going to be an > exceptional year. > > The videos should be coming online in the coming days (see the > schedule > > https://fosdem.org/2019/schedule/track/minimalistic_languages/ > > If you were a speaker, please click the link that was sent to you to > release the video. Slides can still be uploaded through pentabarf. > > For those still heading back: safe travels! And hope to see everyone > next year in health and great spirits! > > Pj. From MAILER-DAEMON Mon Feb 04 16:18:17 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gqldA-0000lu-Vp for mharc-guile-user@gnu.org; Mon, 04 Feb 2019 16:18:17 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44729) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqlVN-0002c0-2C for guile-user@gnu.org; Mon, 04 Feb 2019 16:10:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gqlS1-0005fS-2z for guile-user@gnu.org; Mon, 04 Feb 2019 16:06:46 -0500 Received: from mail-pg1-x536.google.com ([2607:f8b0:4864:20::536]:33102) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gqlRr-0005Yb-Kg; Mon, 04 Feb 2019 16:06:37 -0500 Received: by mail-pg1-x536.google.com with SMTP id z11so484067pgu.0; Mon, 04 Feb 2019 13:06:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ljW+XYuXVxKXS4uUif5eavvdi9KZjXiefc1f71Jgps4=; b=oRY0DIr3sfBKESy6EDHxE7OmObBwY7OO7TChPla4J9IOtVtqmk6BrlcmyT9Eq5hsO8 UTXjP3WMEiVZc/7fGuYjLFPmysaQbvPC8FVdqkzUnQ/DH8vW2EPWXXIIn0el96xGBssh McAZDuNK9cw0pItb0576yKcDteTibMoHVjwGmFFtagKoZoxEqt1x3eVpSwmsmWcw/kg3 CNiIor/5/J4T2DumAqxsm7H6+PS72mDaQRJJovOotnfPxVeyxUyqQmf8HkaTz2K4G3U0 kQhgmD7UuWvuiwUw4OoZVS3GHs5Z9mELY0ORcMRph2BwyTzhHww7o3Xq5/Xvk4eYlLU1 KCcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ljW+XYuXVxKXS4uUif5eavvdi9KZjXiefc1f71Jgps4=; b=evvZ9okFpTQI8ozaar0Vs2+CAZAwS1NZauZgCdIaWUDotBBnxMlG+HI2o7cpWDMi8m AHnxfo+Puy8ALghVtZXxdd8cjeTrBWQEpK97OljPO95nJLC08Kh+ykO2SxMogDGhqRfC 8HJqXK9IkN+4yYs/cTqBd67Lwty+jFjAAnkZNBgYq1MZU3SU49V3hiQ0SLFRhTnP5cNf rgVMNwNyvICUQm9GceP07EeERvBXu4p1NMysi8CnsyWpCQnpgW/4IPiWV/gxLp/PnXOQ aOpVfBbz6YtoYPkwU+RJ0uVURcHcu15LZ/wdzfcncjZhmgR0+OOfbYMTxnopbHgYfOk7 hpIQ== X-Gm-Message-State: AHQUAuaoX0IYE/fIzdtHk9PI8eFSwZVJjXTTzzmsrSBSEHjW/KevESNb TBHfVYl4+TZJ+T6Dk71BWMdY66iyMw4XaTyeYM4bZg== X-Google-Smtp-Source: AHgI3IakMfYZLFHH6sm7Tk9gy7dMW9fyWkZbmA1H8yw22DyhQfUmznPqWM/isdYUzy6xQxKVH6iCRg9plzLOYXNp8gk= X-Received: by 2002:a62:a510:: with SMTP id v16mr1377233pfm.18.1549314392615; Mon, 04 Feb 2019 13:06:32 -0800 (PST) MIME-Version: 1.0 References: <20190204061347.42vvgaa4fuv2dy6c@thebird.nl> In-Reply-To: <20190204061347.42vvgaa4fuv2dy6c@thebird.nl> From: Laura Lazzati Date: Mon, 4 Feb 2019 22:05:55 +0100 Message-ID: Subject: Re: FOSDEM 2019: Thank you! To: Pjotr Prins Cc: Guix-devel , Guile User Content-Type: text/plain; charset="UTF-8" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::536 X-Mailman-Approved-At: Mon, 04 Feb 2019 16:18:16 -0500 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2019 21:10:13 -0000 Hi! It was a pleasure for me being invited to Guix Days and FOSDEM :) Hope I can join again next year :) Wish me luck on my plain back home! Regards! Laura From MAILER-DAEMON Mon Feb 04 17:55:51 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gqn9b-0005qM-7L for mharc-guile-user@gnu.org; Mon, 04 Feb 2019 17:55:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqn9X-0005Zw-Dw for guile-user@gnu.org; Mon, 04 Feb 2019 17:55:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gqn2I-0006c6-1T for guile-user@gnu.org; Mon, 04 Feb 2019 17:48:18 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:44846) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gqn2H-0006bj-QN; Mon, 04 Feb 2019 17:48:17 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id BA098BAA9; Mon, 4 Feb 2019 23:48:16 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id em_5RT2Vqsk4; Mon, 4 Feb 2019 23:48:15 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 0E972B9B1; Mon, 4 Feb 2019 23:48:14 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Pjotr Prins Cc: guix-devel@gnu.org, Guile User Subject: Re: FOSDEM 2019: Thank you! References: <20190204061347.42vvgaa4fuv2dy6c@thebird.nl> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 16 =?utf-8?Q?Pluvi=C3=B4se?= an 227 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 04 Feb 2019 23:48:14 +0100 In-Reply-To: <20190204061347.42vvgaa4fuv2dy6c@thebird.nl> (Pjotr Prins's message of "Mon, 4 Feb 2019 07:13:47 +0100") Message-ID: <87va1zkw5t.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 185.233.100.1 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2019 22:55:50 -0000 Hello! Pjotr Prins skribis: > Thank you everyone for this great FOSDEM with the GNU Guix days: it > was just great to see everyone and all the interactions! I feel much > inspired to try GNU Hurd, new Guix features, the new Guile build > system and even Racket (oops). > > A special thank you to the speakers and everyone who helped out! A big thanks to you Pjotr, to everyone who helped out with the organization, and to everyone who made it at the event! It was sooo refreshing and so energizing to spend 4 days all together, I wish we didn=E2=80=99t leave that far from one another. ;-) Interestingly we didn=E2=80=99t have a formal closing of the Guix Days on F= riday evening, but the next two days felt very Guiley and Guixy to me. See you next year and maybe earlier? Let=E2=80=99s have more meetups! Ludo=E2=80=99. From MAILER-DAEMON Tue Feb 05 08:53:45 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gr1AW-0005fr-Vo for mharc-guile-user@gnu.org; Tue, 05 Feb 2019 08:53:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33000) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqxyI-0001F7-Dz for guile-user@gnu.org; Tue, 05 Feb 2019 05:28:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gqxyH-00011Q-Mn for guile-user@gnu.org; Tue, 05 Feb 2019 05:28:54 -0500 Received: from m4s11.vlinux.de ([83.151.27.109]:60014 helo=bjoernhoefling.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqxyH-0000yM-FE; Tue, 05 Feb 2019 05:28:53 -0500 Received: from alma-ubu (pD951F5A8.dip0.t-ipconnect.de [217.81.245.168]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bjoernhoefling.de (Postfix) with ESMTPSA id 371C73F8CD; Tue, 5 Feb 2019 11:28:52 +0100 (CET) Date: Tue, 5 Feb 2019 11:28:51 +0100 From: =?UTF-8?B?QmrDtnJuIEjDtmZsaW5n?= To: Pjotr Prins Cc: guix-devel@gnu.org, Guile User Subject: Re: FOSDEM 2019: Thank you! Message-ID: <20190205112851.203a3246@alma-ubu> In-Reply-To: <20190204061347.42vvgaa4fuv2dy6c@thebird.nl> References: <20190204061347.42vvgaa4fuv2dy6c@thebird.nl> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/.8STYA3_LZwcTjIOw8YBUPl"; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 83.151.27.109 X-Mailman-Approved-At: Tue, 05 Feb 2019 08:53:43 -0500 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Feb 2019 10:28:55 -0000 --Sig_/.8STYA3_LZwcTjIOw8YBUPl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, 4 Feb 2019 07:13:47 +0100 Pjotr Prins wrote: > Thank you everyone for this great FOSDEM with the GNU Guix days: it > was just great to see everyone and all the interactions! I feel much > inspired to try GNU Hurd, new Guix features, the new Guile build > system and even Racket (oops). It was nice to see you and rich of ideas to go on with. Thanks for organizing, Bj=C3=B6rn --Sig_/.8STYA3_LZwcTjIOw8YBUPl Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQQiGUP0np8nb5SZM4K/KGy2WT5f/QUCXFllYwAKCRC/KGy2WT5f /SIsAJ9WZxVA4LKBzkbfQOGznR9aePhA7wCgjZNSzPTuV23voftXo1Kds7/GvDY= =l3o4 -----END PGP SIGNATURE----- --Sig_/.8STYA3_LZwcTjIOw8YBUPl-- From MAILER-DAEMON Tue Feb 05 19:55:21 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1grBUn-0001dM-1k for mharc-guile-user@gnu.org; Tue, 05 Feb 2019 19:55:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59461) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grBUl-0001cB-Dg for guile-user@gnu.org; Tue, 05 Feb 2019 19:55:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1grBS2-0003Kp-PA for guile-user@gnu.org; Tue, 05 Feb 2019 19:52:37 -0500 Received: from sonic301-20.consmr.mail.gq1.yahoo.com ([98.137.64.146]:42617) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1grBRt-0003AE-Po for guile-user@gnu.org; Tue, 05 Feb 2019 19:52:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1549414336; bh=hVXyfEzdYQI1whxsELjOsr7kzldNocJa5+SmhIyyZ90=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=PzTBH8ttrXsYgT2NCaY+a5l5d2wj4tg4Js8OjFSjyQ/57D1el/uzuLYlHj9cGzxY07wbsX9vPiwmoEmdOyoLaF015qNMfO4KVXuFqg5AUN5qTdmjgQvuiUhloFMSznCZZtKmHby8gJJzZ8NpJ/FkJXKkIV8maOsOUha9Ob+8EVOmfJJKAX+aNCQbP4XUB6BVzzkPEM6nkuraoCMIVMPX7PrQac/exwaQPj/BnVolhkoXN6CtI5Kvz1cMSOP/PByS+UbRirp57Ra99aF6VgG8Kf4/gOGqoZniPuWwcxrJNKS3McCFETzUAq4ebZAp9K2FZTeM5WUygU/YuZARRyytuQ== X-YMail-OSG: 73eK2ScVM1nuYmzuzvWwj2WuUU46GH5NJ8TDOJPFQr.eyLaSyKDwq0RkBOpln1R GUWEFYPA6DgYpVn1xcy.zJVn6bm6HIir6qI9q.yjxcqsihtO9TVMlmPMFd0SbhcWecqbNBaMA3C5 UJ53G6y6Ggi1kJZ7XEXL8sM4TFRh3tKGNFs_NbPxO.W9iV3m1h7n2Q_1dZqQbDoAic55lOP0Wve6 A.gIjkfkl7xgDg5xh48K5M85tUA1lBivB4MmNY7TB.qQdGOpF.UD4aEim3Dmv1cWvFt39l5rPhLI 8UhkLwqWMgXt_e1OjHWHcf7nqY9xOWsC_zZ7eQvLvGc5wi18IQDcJHM8GeVfXR_R.WNvg.kcJAzL G4sKRguVzFJuB.HImZa4FYooMMgAuyErK9rhMaLnYISj3I8xZtAE14RMuJozcEo.rO9DYSniYEwk TKrF3AvWn2Kil00OkIfqp197J_MTzo5z.QIfcWsMyGwDWV5oCTh24QKLOxASQqx4D_QRjQgsxpUy NlbD4w5wF6BRRcSZ0IUb.f16uMprTXgySQ6_dZ3HJnnCo5Sc3Mk47grsMXTQxVPlgSaTUCTKe7_0 xJtndTbfp0YE57B9.DgRYBx7X6DrAJAHDVKkR0l1baiZjZA7O1HVkJCCfu4RtqABomL4FGtaPjUp 7wSdjpPFuq9Zj_WHBCd1sXW8_c28hBOx_1XCtGOu46HzoKI8tyj3OKDPVy2TwuRGe3KKUWs40lhr aQ3oGHFyY6dWlvYv61NC5_Y9Fse4tdZS.VzNjADBntjGxoVSuv.RMe.uivTiQL4XnxNveWljiVzo vBzmVj0QOpQrjGWyix7nRh7kWwCJJwAt8v6CdfozdODeb82cFvEyObW_DYmyOF65jLAL96GVJFhD 0Djjb2KcFHgZtUs5008LdJ.gAIrF8B2F8eVZvOBl55t75idIhER330jfzNWZiMWSKWQkdH9KYS1J pAzYt3DPDcfoFA1JFT7waGyYcis9ywsl242z3Co1abQhXjzXlENFmis3p1S_Gr2GWuo8uttQaFVM h95iW2VB2aa._PcltCyYdvyT1hS8.Oug- Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.gq1.yahoo.com with HTTP; Wed, 6 Feb 2019 00:52:16 +0000 Received: from 162-197-224-133.lightspeed.irvnca.sbcglobal.net (EHLO joshua.dnsalias.com) ([162.197.224.133]) by smtp430.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID d51a4d23ea070b815127b0a34a5d7574; Wed, 06 Feb 2019 00:52:12 +0000 (UTC) Date: Tue, 5 Feb 2019 16:52:05 -0800 From: Mike Gran To: Pjotr Prins Cc: guix-devel@gnu.org, Guile User Subject: Re: FOSDEM 2019: Thank you! Message-ID: <20190206005205.GA13754@joshua.dnsalias.com> References: <20190204061347.42vvgaa4fuv2dy6c@thebird.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190204061347.42vvgaa4fuv2dy6c@thebird.nl> User-Agent: Mutt/1.10.1 (2018-07-13) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 98.137.64.146 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Feb 2019 00:55:20 -0000 On Mon, Feb 04, 2019 at 07:13:47AM +0100, Pjotr Prins wrote: > Thank you everyone for this great FOSDEM with the GNU Guix days: it > was just great to see everyone and all the interactions! I feel much > inspired to try GNU Hurd, new Guix features, the new Guile build > system and even Racket (oops). I also wanted to say thanks to all concerned, and also thanks to the Guix people for letting me crash their event. Regards, Mike Gran From MAILER-DAEMON Thu Feb 07 04:37:09 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1grg7J-000083-BS for mharc-guile-user@gnu.org; Thu, 07 Feb 2019 04:37:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grg7H-00007i-Dv for guile-user@gnu.org; Thu, 07 Feb 2019 04:37:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1grg7G-0001RY-EW for guile-user@gnu.org; Thu, 07 Feb 2019 04:37:07 -0500 Received: from mail-yb1-xb2b.google.com ([2607:f8b0:4864:20::b2b]:37123) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1grg7G-0001Qr-1e for guile-user@gnu.org; Thu, 07 Feb 2019 04:37:06 -0500 Received: by mail-yb1-xb2b.google.com with SMTP id 2so3708669ybw.4 for ; Thu, 07 Feb 2019 01:37:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=JUQKE3tAFTJgcxBFdDYiCgjERKuagLjlrCbdN0AAosI=; b=uIBYcSHIvz18Z7lFUTMPXGqZDXUaJbgabnghKTBZDMnD27JmmfwYUTKQIDaY8I7ZxX Yg969JG+2VLdp4qatXU2D5XllCWPJSFj8596GU/9hp6R15szlcuF0aH5LwUMMhIl0y81 JgJoAPVOou9LJDx3wJWoA5bvHV70/lVn4zRdB8WeWhP7trfWy3d5/YOMQPql6sakim8G iEbpD0iWmg6mnTgwxJs9FP8NvPOHzVYdn87lY+GN6DNRDmhFKl3/19EospyKGspUtLv6 6rKZ5YuBG52H5ieixgrz/Kh6jC0A9D4TRIyPmIlkDH8SKdGmzpCSLWtVR0yLlkAyb+Kk B0Tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=JUQKE3tAFTJgcxBFdDYiCgjERKuagLjlrCbdN0AAosI=; b=dSx9ieM5r9v87P0MomFM3jEbHGAe8cVaod6mth5zPUnEOUcMTTsUbGs3eNz/vT5EOi S3iRjVFSJqQJUKGXDc03bw9v2CiCOkviU7nji5R1rLoErwC91U1G0XMbXcXoADVzWiCP +rFScAOTNq3haUgw1EzIp5tx8pHu354nVnHIo2/KNHdhUMS2J6m3/IPGqwvsMLKDOsAN +YKEExJmhBXN624xk+sMvloWYO6l0u/M1x4L6K5c/kl60VwKV5OvuBPYn3JwjRW+6n/o rOQfvzvUsLqrpaXvGXzLgv9VlzgbnEJj/+EdyzXNaiJ6SY2XhrZ+6oVQx2OulZe/pIH0 +xtw== X-Gm-Message-State: AHQUAuaqCGitfOTV38AwJDp4eTiQTnAIRyM5r58oXr4cUXCzBwhKdSjp gu1xrGOIgrxvta7IkFQcS0mQrTEIuDm5u0SAbqAMV20= X-Google-Smtp-Source: AHgI3IaG8ktm9ojX+vb0LXAXzw6530UzmP45dOuNwvZMDCwlfqnEw130Zpm8U3o9B9djssSCjFcb6EkOB696eO6z1HE= X-Received: by 2002:a25:483:: with SMTP id 125mr12371967ybe.9.1549532224811; Thu, 07 Feb 2019 01:37:04 -0800 (PST) MIME-Version: 1.0 From: Catonano Date: Thu, 7 Feb 2019 10:36:51 +0100 Message-ID: Subject: socketpairs To: Guile User X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::b2b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Feb 2019 09:37:08 -0000 I don't understand what socketpairs are for The manual states: -- Scheme Procedure: socketpair family style proto -- C Function: scm_socketpair (family, style, proto) Return a pair, the =E2=80=98car=E2=80=99 and =E2=80=98cdr=E2=80=99 of = which are two unnamed socket ports connected to each other. The connection is full-duplex, so data can be transferred in either direction between the two. and what's the point of having 2 ports connected to each other ? what's the use case meant to be covered by this ? What's the scenario ? FAMILY, STYLE and PROTO are as per =E2=80=98socket=E2=80=99 above. Bu= t many systems only support socket pairs in the =E2=80=98PF_UNIX=E2=80=99 fam= ily. Zero is likely to be the only meaningful value for PROTO. Ah so many systems only support socket pairs in the PF_UNIX family So the use case is supposedly meant to be on a single machine, not through the network Again, what are we talking about here ? Thanks From MAILER-DAEMON Thu Feb 07 06:33:01 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1grhvR-0001fu-NA for mharc-guile-user@gnu.org; Thu, 07 Feb 2019 06:33:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grhvO-0001fP-KF for guile-user@gnu.org; Thu, 07 Feb 2019 06:33:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1grhvH-0004Ko-89 for guile-user@gnu.org; Thu, 07 Feb 2019 06:32:58 -0500 Received: from sonic308-10.consmr.mail.ne1.yahoo.com ([66.163.187.33]:43993) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1grhv7-0004CJ-Ps for guile-user@gnu.org; Thu, 07 Feb 2019 06:32:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1549539143; bh=83zsaX2P60tWOW6/1spf6plw1Ko/La1Xg8EnocrF480=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From:Subject; b=FcB2HjPoZmxUg7zh/g1MrDKUYdCv8qu3qUcG5Za10o0G3dIfez9ZgLAVGQdbcLqSLrXoZdQg8MIwB2RLDnexYtLYy9Uo6uCOpoDxSoNjtYpWqPSg3br3/rTFfANrxJ1hJZ63jynk9dYgF+GprfSOeSF7TNoNOlq9PW0ioM4sNkuqLU7AVlI+K3mrTUeCYt+TSMSLVEgeW3m88Ds5CPKbgI0jqNo6l1n7Es4Dh/jdNotaE631Taa6FiZ9tKkbg74KxGArIyVA2ffg0nCfp9GNNI2QqVQXCuJUjs6cpQruzsdSBBTdidmJCwjUyeeH9oaqVXX6lwif4kdkqL+n5cOFww== X-YMail-OSG: KozovwkVM1lxow8o2Vni3HnYvEk3q7K.TO0ItueO7LQwd4NbOsQ3GkaMcMS0KRx 8Zvay3Wi5dmrDq7s.w3yPxR81Nhf43c53otQpcEKOchXjtKxF95eqRbLuu1TZI6vn4Rsufzd9bv3 F7oA0nJKoaYu98.JhilLA7rUm4xuhqAYU3q79jRm44Sj5hANoAUmpeXznTvcqxMJo60o0rVEaann 0V70V72_EudXngNWKHvNGVyX8OLAizyaHZ22Rm0AjWMziKLp4KOhGOKT9dG.ps0eLCITN4dHhZsh u7RqLTO6yJiqu55uCzLrQYeofR6PlkCfp.UBNK2k9XdfNxvuPOecoulhA37NJ3Jl8lSPPfHGnTi7 jN4TCXM1k2XCNUyXEvnT4Bkclh1x8DvfnkXEDW.9nrspmbIhScW0WPZ5g3Xuq5SnMcg9pOLA3_Z7 remjmfK4_nsMYN9M2LEoIzAOKsHGIAjfQUT2shSNuZZeEKcumXooT4hrTkWrh.msPUvPdTLEX287 YFXwmMB.6Y_Shy5S0qqjSOX1AiS66dGfS5BRrKH1.aCVSy_hTOpmtzDc6yTBpO9tJn8cloBHEtXE xGLSuj8L0hCNEpdwpxt1RoDrBC3.RCh2j.AqdtctHvgXhuPKtqYxjwjxgjSKifH0D0CBMSU01ZOk I1MEGocm6mpK4hNcOXFlugXn81MLuD114lKhyqjwCPhXnwvKJVyjlEuqM3yDS8sETXa3wu6FV4dQ wRZ4kuVZagWzZLhqbgwFGXS8MlXXBtH757St3nHM3oABJEIenps3s9Fj9w2iE9XNvEPSGD7tRHXx X6XuVcogxiqroIvSQR6jXMlMi9KOix9K9EaGMpfDr_VboKR37Gwwk.pFJilWc3pt2.OoK7OoMR2o 1lyXcyrvIiWczTwjEfkTnxd5_WxgHeRbtojvQppTafnNamDf2WhjJtnxl38Ju2Ab_S0XIjmJwL8V 9H9QP67Lsadw53azVv8XLZH3brlu7XLD4.k7Yzy5cBRphXKpv3GCeDLtcVM2tJkpqPgLqGLROOqM Bp8MYLyzoJx79lGD3usOcS3prlheeDginB1jmJg-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.ne1.yahoo.com with HTTP; Thu, 7 Feb 2019 11:32:23 +0000 Date: Thu, 7 Feb 2019 11:31:41 +0000 (UTC) From: Mike Gran To: Catonano Cc: Guile User Message-ID: <1259855762.4528027.1549539101668@mail.yahoo.com> In-Reply-To: References: Subject: Re: socketpairs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Mailer: WebService/1.1.13027 YMailNorrin Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0 Content-Length: 1875 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 66.163.187.33 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Feb 2019 11:33:01 -0000 Unix sockets are often used to communicate between processes on the same ma= chine. Normally one process opens the socket and the other connects to it. Both processes need to know the unix path to the socket=20 for this to work and they got to open and connect in the right order. With socketpair, a master process can make the connection and then spawn th= e child processes, passing them the file descriptors of the sockets, so the=20 child processes don't have to have any networking code. Commonly, one of the child processes will be spawned such=20 that this file descriptor is its stdout standard output port, so=20 then the child just writes to standard output, and that gets sent over the = socket.=20 On Thursday, February 7, 2019, 1:37:32 AM PST, Catonano wrote:=20 I don't understand what socketpairs are for The manual states: -- Scheme Procedure: socketpair family style proto -- C Function: scm_socketpair (family, style, proto) =C2=A0 =C2=A0 Return a pair, the =E2=80=98car=E2=80=99 and =E2=80=98cdr=E2= =80=99 of which are two unnamed socket =C2=A0 =C2=A0 ports connected to each other.=C2=A0 The connection is full-d= uplex, so =C2=A0 =C2=A0 data can be transferred in either direction between the two. and what's the point of having 2 ports connected to each other ? what's the use case meant to be covered by this ? What's the scenario ? =C2=A0 =C2=A0 FAMILY, STYLE and PROTO are as per =E2=80=98socket=E2=80=99 a= bove.=C2=A0 But many =C2=A0 =C2=A0 systems only support socket pairs in the =E2=80=98PF_UNIX=E2= =80=99 family.=C2=A0 Zero is =C2=A0 =C2=A0 likely to be the only meaningful value for PROTO. Ah so many systems only support socket pairs in the PF_UNIX family So the use case is supposedly meant to be on a single machine, not through the network Again, what are we talking about here ? Thanks From MAILER-DAEMON Thu Feb 07 06:59:02 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1griKc-0003CR-C9 for mharc-guile-user@gnu.org; Thu, 07 Feb 2019 06:59:02 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59446) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1griKa-0003Ab-DB for guile-user@gnu.org; Thu, 07 Feb 2019 06:59:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1griKY-0004gr-DW for guile-user@gnu.org; Thu, 07 Feb 2019 06:59:00 -0500 Received: from mail-yw1-xc35.google.com ([2607:f8b0:4864:20::c35]:45312) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1griKW-0004br-KH for guile-user@gnu.org; Thu, 07 Feb 2019 06:58:58 -0500 Received: by mail-yw1-xc35.google.com with SMTP id d190so4446748ywd.12 for ; Thu, 07 Feb 2019 03:58:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=g6hmxl4Oy2GMQdDtuwVITDx8UmRtU4S1oeemfDXEEe4=; b=jlMaLUI79SJah7X3wHAGLh631UMUF/DKi7R+U4yZdi0o3QT1jwPFREY5v79qtclGjj qDOV29rIn3M2Ffdt2xr++C7VD1bYrDef/ZZQEYlrprNyEtXzGM82+O6amLwORbKJr/oh mZTWbo/bG3H2pDxiKALWatRbpkB4GfqBx8Z0SG5AqPaJK6Z11EXrzAwgZH9vHnhEG30q UMMQ1saNFtDT/A7jTwHUwcairZ4sKJvBNdnUIvpMEJw7SwePM1gyJSRuoEFd+vAlTWbm Oeud6WZ4mnPhOTR4SgqptYs6HRNegj3TqGl5+wbqU5ES2zrZcwyUowNe/Kb30mWuIQed NJmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=g6hmxl4Oy2GMQdDtuwVITDx8UmRtU4S1oeemfDXEEe4=; b=Ai+NPSZnENyPxK7n6f9jz+0UJAD2N3HGxeEcd+zOer3W2x/bWb4wuiQYqil0K4ArkY n/UbkemfQubNqeGnyvbVl2chA1oJ72cu15DybNpQz7BbqHYP7XqcxoATBvioKCAk6hEL SkE0b6UBKipdyR7O7NURaWXzQpN28RwJ3yndYYz2SaYMmG1od2e8auYE95SYZlRckQV5 DfgwQg0NtfE8NxCOYobeuB9QXHbJ1QJM1h1vnC1Y850c4s8sWUfnkJ0r3nWqlxQtgFVd v5qbAqZRgnTMXHIumgJOx7fyer2cLZ0aNLRCijvoxIjCpb9SZHjYX27YRkacagRrjb8v ZmGA== X-Gm-Message-State: AHQUAua4EjTEwrtt6nji+29MwyQnVn/Im2mE8SNBuBFgMthiZ16PGuCV wObkzby86pbtfkP5SoBBmmL48o77Jd9QoQJ5ng== X-Google-Smtp-Source: AHgI3IZs2UzxN1wv2lfPunokQJyz5jvgiOSbZirRoUlyAqzv9b0IC89uYk/zp7MipG6IXwkWQflxxzBORL+Rlzen1bY= X-Received: by 2002:a81:5782:: with SMTP id l124mr5687236ywb.202.1549540727447; Thu, 07 Feb 2019 03:58:47 -0800 (PST) MIME-Version: 1.0 References: <1259855762.4528027.1549539101668@mail.yahoo.com> In-Reply-To: <1259855762.4528027.1549539101668@mail.yahoo.com> From: Catonano Date: Thu, 7 Feb 2019 12:58:32 +0100 Message-ID: Subject: Re: socketpairs To: Mike Gran Cc: Guile User X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::c35 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Feb 2019 11:59:01 -0000 Il giorno gio 7 feb 2019 alle ore 12:32 Mike Gran ha scritto: > > Unix sockets are often used to communicate between processes on the same > machine. > > Normally one process opens the socket and the other connects to it. > > Both processes need to know the unix path to the socket > for this to work and they got to open and connect in the right order. > > With socketpair, a master process can make the connection and then spawn > the child processes, > passing them the file descriptors of the sockets, so the > child processes don't have to have any networking code. > > Commonly, one of the child processes will be spawned such > that this file descriptor is its stdout standard output port, so > then the child just writes to standard output, and that gets sent over th= e > socket. > Ah so in this scenario I would control all the processes using such sockets Than you ! =F0=9F=99=8F From MAILER-DAEMON Fri Feb 08 10:20:57 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gs7xZ-00037p-DR for mharc-guile-user@gnu.org; Fri, 08 Feb 2019 10:20:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gs7xW-00032Z-DF for guile-user@gnu.org; Fri, 08 Feb 2019 10:20:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gs7xV-00062O-B0 for guile-user@gnu.org; Fri, 08 Feb 2019 10:20:54 -0500 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]:33918) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gs7xU-0005tG-ST for guile-user@gnu.org; Fri, 08 Feb 2019 10:20:53 -0500 Received: by mail-pl1-x62b.google.com with SMTP id w4so1846754plz.1 for ; Fri, 08 Feb 2019 07:20:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=fyVHavq8E4yEBjjLqxkZBzPqrAxUOX2Tv34oAXRnnn0=; b=QYZH0tkyPBSDOadVCjqaqAD46jrBlnqq/JbPSBAb+YqvrFtJwOBO7QyQLGVEoKa/Lc F6CxIZAGorQYEVngjwFuhv/+r1rYiyxUaz9Y6YUp9Oqe14gtPwT34tDNWaUNVFRtZptU SPVJJb85mtKgVyeuMXeFZb0xPg0DG83WAMvgEbeevp+wFFBG2e1zkPUU/NA3qWzQuxIQ FE/dBK52ZleoB2X/5jhJuS53rAZC/vG5/9GvtJtmboEN4h5ohp3Jvuq+v1yU532EdMfE X//RcVU4hyxIMi3F3M3ckyydSEbi/OJkaCTSyKjmd2e1as4018ju8UDdOJpfHbNECWFy Jvug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=fyVHavq8E4yEBjjLqxkZBzPqrAxUOX2Tv34oAXRnnn0=; b=eaacY/QMPpxXRk+1IvyyG+nPep5gNIfx20i3rtZoQ1NIzldknV9hhUz8JhLACaY72g 0gukBROgoMA8wMSd4fbPVXsA0m0I2bK6/KbqeHNges47eiPgBlqFtoW81oGKEfIGIeKs o41cbrCV88G68cLOGy8EKHxlIrgF3p7WVy8qm1o/IgcYn/eLD46nu3od5xhDUrCS5bxD CenmmIGK9oFMAVnlpqDgpUncJnlrSrnaZiER2Tva6hr62CeH+N8labQBpr6Nc3ytEQog lWOi0nxrv25uJXpV9CWexqMBB+lAYWV0i725Af99KUz45noeKTaOlFd4sP8YuAp6nIXt QXJw== X-Gm-Message-State: AHQUAuZy7rgrpivoG5jC/viU/QHdpnnKsVkxUdc8aDpV+hXqnjQyJd4e 87sXusRnqjGSWXdgsNvVLlYxeG0I X-Google-Smtp-Source: AHgI3IYhevPg2bNR2yDEWeC9W9nZKobcq8lTdPADd34ciwvz3Zvi4YzXqj8u7/57BAJMalNzJKftrw== X-Received: by 2002:a17:902:f81:: with SMTP id 1mr22728445plz.174.1549639235279; Fri, 08 Feb 2019 07:20:35 -0800 (PST) Received: from debian (n058152177156.netvigator.com. [58.152.177.156]) by smtp.gmail.com with ESMTPSA id y12sm6239010pfk.70.2019.02.08.07.20.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Feb 2019 07:20:34 -0800 (PST) From: Alex Vong To: Catonano Cc: Guile User Cc: alexvong1995@gmail.com Subject: Re: socketpairs References: Date: Fri, 08 Feb 2019 23:20:27 +0800 In-Reply-To: (Catonano's message of "Thu, 7 Feb 2019 10:36:51 +0100") Message-ID: <877eeafgsk.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::62b X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Feb 2019 15:20:55 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, Catonano writes: > I don't understand what socketpairs are for > > The manual states: > > -- Scheme Procedure: socketpair family style proto > -- C Function: scm_socketpair (family, style, proto) > Return a pair, the =E2=80=98car=E2=80=99 and =E2=80=98cdr=E2=80=99 o= f which are two unnamed socket > ports connected to each other. The connection is full-duplex, so > data can be transferred in either direction between the two. > > > and what's the point of having 2 ports connected to each other ? > > what's the use case meant to be covered by this ? > What's the scenario ? > Usually, to answer this kind of questions, you can read the man page for the original syscall. So running 'man socketpair(2)' should give you more details. In this case, Mike has already given an overview. I'll also try to give another explanation: A socketpair is similar to a pipe. When you call pipe(2), the syscall returns both the reading and writing end of the pipe. Then you fork(2) and exec(3). Next, you can close the reading end on the parent process and close the writing end of child process. This way the parent process can "pipe" data to the child process. Of course, the opposite works as well: you can choose to close the writing end on the parent process and close the reading end of child process. Then the child process can "pipe" data to the parent process. The point is that this is uni-directional only: data can only go in one direction. What if you want a bi-directional pipe? Well, this is the case that you want a socketpair[0]. > > FAMILY, STYLE and PROTO are as per =E2=80=98socket=E2=80=99 above. = But many > systems only support socket pairs in the =E2=80=98PF_UNIX=E2=80=99 f= amily. Zero is > likely to be the only meaningful value for PROTO. > > Ah so many systems only support socket pairs in the PF_UNIX family > > So the use case is supposedly meant to be on a single machine, not through > the network > > Again, what are we talking about here ? > As I've mentioned above, a socketpair can be used as a bi-directional pipe a single machine. You can read more about the socket system by running 'man socket(2)', 'man socket(7)' and 'man unix(7)'. Especially those man pages in section 7, they usually give a good overview. > Thanks Cheers, Alex [0]: https://stackoverflow.com/questions/1583005/is-there-any-difference-be= tween-socketpair-and-pair-of-unnamed-pipes --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQQwb8uPLAHCXSnTBVZh71Au9gJS8gUCXF2ePAAKCRBh71Au9gJS 8gi/AP9Xef5v9iR3OKsjcJuoYzwrXhxOyovONf0QN2x4PZlzAAD/YDNRIBW1mvxq cRAygykCjvWnjYLcnRmoZzkM9LE1Sgk= =r876 -----END PGP SIGNATURE----- --=-=-=-- From MAILER-DAEMON Fri Feb 08 19:17:47 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gsGL5-0006gD-P4 for mharc-guile-user@gnu.org; Fri, 08 Feb 2019 19:17:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsGL3-0006fL-ED for guile-user@gnu.org; Fri, 08 Feb 2019 19:17:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsGL1-0005uW-FO for guile-user@gnu.org; Fri, 08 Feb 2019 19:17:45 -0500 Received: from mout.web.de ([212.227.15.4]:54669) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gsGKz-0005rj-B2 for guile-user@gnu.org; Fri, 08 Feb 2019 19:17:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1549671454; bh=fmrb66WSGAuxVNvJ00Qk+HDeQ6zRu1qnMtW9S2ceY5c=; h=X-UI-Sender-Class:From:To:Subject:Date; b=MCrEnZhNQ1MrUXsMhbGG/0gBirqxF/gvR7cOSZD51qTavvuOMyHO980PmxYaDzCLp vj7ffOAh5Xz+nOa29oq95/+oAbvORS3xlkAhe2T7JOeiD64DsvCwM+KDUUpFznAG4z JOsSHpl6Sq1ErOU7kG3v533KFRVbrdCsdY9qLg9E= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from fluss ([80.136.18.3]) by smtp.web.de (mrweb001 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MBTTa-1gzRc02TiQ-00Aa3a; Sat, 09 Feb 2019 01:17:34 +0100 User-agent: mu4e 1.0; emacs 26.1 From: Arne Babenhauserheide To: guile-user@gnu.org Subject: Wisp 1.0 released Date: Sat, 09 Feb 2019 01:17:32 +0100 Message-ID: <871s4herxf.fsf@web.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Provags-ID: V03:K1:U3Db7asJMJwJgmQxrjiFxcz1h7K+UU9BZhtj+G+ci/G5vZhWVNd kRNEy7NaGPfkthL+b5BC06n9lnNi6uuRBsOO0FniFtYmkLN/UTy/bMrTLUTbZPWBUKaSBzQ BC6xMLE8reeu1VkAiR5thOT4V71ACJt5EJyJbChDuQ22+aFWxY/qPz9/y0XtQSwJ90G5r3A lQUXqoZ2XeSpPpc7JThXw== X-UI-Out-Filterresults: notjunk:1;V03:K0:CnA0pdaU8+g=:+fhOJAoKCPVU3zdssUJks8 qy4u7NulNRqJafSGb9FCkBaTjeeYZCCxWMTbf8ixBSX4eDXUb8OKMBLdJcrpBaNt5NOwpq+c8 DwGE3jAzvWsoNUQcdkmoNk63UZSx82GhmxOqsTfao3BIQR+ZdxaCiTWKZmfibfSik13KJR4bV RsuIja2b3URKHeLL6QBJLMmb70IQIFFpbeTjbTeAfIQNH2BBK6v47/BA/7STijJTWTXgB4rE3 Y6EvQCjWx42M3DIpnTkQ2ppGYvi0qQbz9UPupUYpvDo6UVQ4wt4Iqzsu2UZc8dfFRMCepPiwM IHAqdvsoJn02xLRxvz2CR3N9Wf6upT2vo4yjQHMweCq+IDp5UhUMXLEsUsh3XAYPbznnBLWQu tAtbVq8TtOO0TVr1SGPVdJHuRGe6NggXw0J2ZEYp9FlL3GU3987Us6m3oG8pQLi5U2CmXe8lA u7xHNaynRpCi3EvjYVTollciYqlDM+o3zvjHLaqtEPjxkGkNjlg6whBcR+NJfuqWR6FeZR0S8 eqeH/i6Rr9HDJ/p0tAbbK7bcze0NLvKxRR0LIk+SOam6IAg3pi0sFDGLliIbfduoHt0BaE9Gh u8pAICdR/gVyBshXq2uOSjwNYrpc2hCV4x8y1N+rYmssahdzDqj/+pSLWbXO8/MZGDbx8FoMi hn8BgtqKbco6ipogANpvffWkMxq42/g5B9cf736mLPhbnTdEcFzcKbY3/VpRtEherhLjABteK HZgjUTX5naO1EmJ6gg0qfhTA7Pfzm3Z0HTrmr5OZP+xjNHIsVlxvUENvKdtZUkG+QqW8xN3MH v4r7YyhtzTY5TAor83FBDAMb+8QWIDoW7fhYo7SZchgsia0igN3lBnl2qEDKTEV2PhQwdKSGJ I5/PefkoimuZTJl0xVJsRpi0m52ZAlwa67+AWye/sDGnQpsMz03hmEJ2D7HOTG X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.4 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2019 00:17:46 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, As announced at FOSDEM,[1] I now released Wisp 1.0: https://www.draketo.de/english/wisp#v1.0 At this point wisp the language is complete. And from what Ricardo said at FOSDEM, I think it achieves its goal: =E2=80=9CWisp allows people to see code how Lispers perceive it. Its structure becomes apparent.=E2=80=9D =E2=80=94 Ricardo Wurmus[2] Therefore I=E2=80=99d like to repeat what I asked for at FOSDEM: The next t= ime you write pseudocode, please try making it executable with Wisp. That gives you all the capabilities of Guile Scheme, but easier to grasp for non-lispers. I do not see changes coming to wisp syntax at the moment, so the 1.0 is a good time to give it a try. Should you find out that it does not fit, wisp provides wisp2lisp as plan B: wisp2lisp converts any wisp file to a Scheme file by adding parentheses, preserving comments. But maybe you will find out that you like using wisp for some usecases. Whatever you find, please tell me about your experience! Best wishes and happy hacking! =2D Arne [1]: https://fosdem.org/2019/schedule/event/experiencewithwisp/ [2]: https://www.draketo.de/english/wisp#perceive =2D- Unpolitisch sein hei=C3=9Ft politisch sein ohne es zu merken --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE801qEjXQSQPNItXAE++NRSQDw+sFAlxeHBwACgkQE++NRSQD w+uASg//epjH/YGt1PQJlg3PYnTLDLL9d4SWPye0BFoegeqhDxBSc8/DkFYCPIQu ERe56D1Ur6Gt0vuyE+fOYjZ6KcaMtE+lno8EH3R2wQgrfmKjsCOZHJEu+k8T3vQE pvPYpTJuMD1Gw+7ofBrSa8YP3vp/PoMy5vo2bY0txy8lRHUBrwaJuryDgY3szSNR v03BgFJPbNKs7X2GZ1aO6RZooNrlvyIB4oaDQgNb312gHvQgB4HPo6chYTd6trzJ vu2Wn6Q4dS2MKllc4SQ0XlgRVrD/Q6qrd7YRgbtGZp75G9bCoLOt5fXqVR8exrcg u4B+AJPcKOMjAXlHHYAAWe61j0RbN+zhPLaJ33gaLCKEHZegO/OqAjGWqSwv9/XS B6x/Rw3HCzFO9D7OfnvSMg1LNWUp3QrJBbSLsHvU7yKmfC4rb3GvKYwO6+RwO9Jy lqUnueVP8wBgC0rmqcQ81G5IcdQoUzFqg76gG113qnurWOIRDA4wZ5TbZQAoHboc k/6YCGIHLSSVbOkxcAd3AWDgH1qK9Fg5kl6UaN3r5MkokQn+DUTXym+wiRP02f+l syjF1O3n6Sb/jL1gqGs6ZTlq/Jv2+M8FPW2UN/KNdCkrho0IRV2F3+a1RiGFGMT3 k4WUFBGxRxldfz/TKqYg+pgDN9XUXUVzVffOPUV+KyREHaGQbTSIswQBAQgAHRYh BN0ovebZh1yrzkqLHdzPDbMLwQVIBQJcXhwcAAoJENzPDbMLwQVIOrMD/iXRled5 EKdKWOA+9HyDB3cnTnj1fDYv+5YeIlMsnvE6l7dtJAMzjWRTd2Pb3Xodz5zuJkii mYWjkhR2QICahDDJw6wCIWzuU8JC9hRwFH+e0g6niFh8P5RpcTAE75/umpatihEi i04WfFf2dgNZ5Sqa89eYK3Heph+tO5NcgAL0 =utxE -----END PGP SIGNATURE----- --=-=-=-- From MAILER-DAEMON Sat Feb 09 10:57:16 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gsV0G-00073b-FL for mharc-guile-user@gnu.org; Sat, 09 Feb 2019 10:57:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37323) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsV0E-00072T-NQ for guile-user@gnu.org; Sat, 09 Feb 2019 10:57:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsV0D-000850-O8 for guile-user@gnu.org; Sat, 09 Feb 2019 10:57:14 -0500 Received: from dustycloud.org ([50.116.34.160]:33256) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gsV0D-00084C-K3 for guile-user@gnu.org; Sat, 09 Feb 2019 10:57:13 -0500 Received: from jasmine (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id 5E9822666A; Sat, 9 Feb 2019 10:57:11 -0500 (EST) References: <871s4herxf.fsf@web.de> User-agent: mu4e 1.0; emacs 26.1 From: Christopher Lemmer Webber To: Arne Babenhauserheide Cc: guile-user@gnu.org Subject: Re: Wisp 1.0 released In-reply-to: <871s4herxf.fsf@web.de> Date: Sat, 09 Feb 2019 10:57:10 -0500 Message-ID: <87o97l550p.fsf@dustycloud.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 50.116.34.160 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2019 15:57:15 -0000 Congrats! :) Arne Babenhauserheide writes: > Hi, > > As announced at FOSDEM,[1] I now released Wisp 1.0: > > https://www.draketo.de/english/wisp#v1.0 > > At this point wisp the language is complete. And from what Ricardo said > at FOSDEM, I think it achieves its goal: > > =E2=80=9CWisp allows people to see code how Lispers perceive it. > Its structure becomes apparent.=E2=80=9D > =E2=80=94 Ricardo Wurmus[2] > > Therefore I=E2=80=99d like to repeat what I asked for at FOSDEM: The next= time > you write pseudocode, please try making it executable with Wisp. That > gives you all the capabilities of Guile Scheme, but easier to grasp for > non-lispers. > > I do not see changes coming to wisp syntax at the moment, so the 1.0 is > a good time to give it a try. Should you find out that it does not fit, > wisp provides wisp2lisp as plan B: wisp2lisp converts any wisp file to a > Scheme file by adding parentheses, preserving comments. > > But maybe you will find out that you like using wisp for some usecases. > Whatever you find, please tell me about your experience! > > Best wishes and happy hacking! > - Arne > > [1]: https://fosdem.org/2019/schedule/event/experiencewithwisp/ > [2]: https://www.draketo.de/english/wisp#perceive From MAILER-DAEMON Sat Feb 09 12:59:54 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gsWuw-0006Wv-2h for mharc-guile-user@gnu.org; Sat, 09 Feb 2019 12:59:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsWus-0006WL-D1 for guile-user@gnu.org; Sat, 09 Feb 2019 12:59:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsWuo-0008HV-6s for guile-user@gnu.org; Sat, 09 Feb 2019 12:59:48 -0500 Received: from mail-it1-x12a.google.com ([2607:f8b0:4864:20::12a]:52113) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gsWuj-00086i-8o for guile-user@gnu.org; Sat, 09 Feb 2019 12:59:43 -0500 Received: by mail-it1-x12a.google.com with SMTP id y184so10579008itc.1 for ; Sat, 09 Feb 2019 09:59:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cjsAEY3bP/IEg80PQBi8QN2G5A8jOcwTwjtyizSsPSw=; b=Zrky6zTds4irv0bT8q9n6Wa2ItLKotPeqaPCmtNbiTqUE85Ps8nRBBqwtaQA+JrjIX SUqfzzf9Ti7lmfOgdBB+5B9CViIQDxR3HKrbcZRQH+aYzIZrChuxUUA9hu+aKmsyEOTb SsG4onxkSwTBkb7ayumCMXQNGjuu2WWkmR4OEMkbu02Z+xpDprCYB6bzNYJQIxpFVUnv b8fuhZJTK4s2fLEERw+FP+4zsdMvjW5qW3r0rfxJUSqdEet+QZ/BPGfDrWmSfYzfamr6 CctMIFu7Vxu0AJqG0FuJPbFQNcOt8AnEaiMH47q91n4Rybw6y6kGpy6wWOpk9DboW+xa a1OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cjsAEY3bP/IEg80PQBi8QN2G5A8jOcwTwjtyizSsPSw=; b=pkPsGc0Hzzs0fakNdgc4MQJhjXC6YjxbEe2MwF1Js+NopD700Ov4UgF0BEIT53+dZv orvuTySOYVhvXqVDIOQdCMU8dfgwIB/gjKVtRqqYwExUza5dxk86Q4v5fu9XpXbFu2md E4gA/OtUi/UF3BT1hDpkwKWVAaIyFgMtAMfX8YWao6O8UZEnuzaCylWfInxe/8dk+k1Q gFthbIh9uaq0WVPAYLHBC2vCNJ8ARPS5P60rdpSFWT8ycQ6f6CpZOiIYqoHYn3/Wk0qY YPgyEIwZZ6BMa/cmgUgNHgwPmzwTgKg0GreJegDGLYkNuk1j3IAxjiT5cMBFhnTneFy/ p7Iw== X-Gm-Message-State: AHQUAuZ3z58otf4MGAE7hrrQpf4dQ/+hGY+F8ySNWe68DyCbGq8n3Sq7 VZE4sgrzCzs1Ltl1Uo5gIyaibDPTENMLWkp7wUw= X-Google-Smtp-Source: AHgI3IZEm28kBejCZ+plMr+SihCWbK+9uGhDD2v5hUIqvEuh45VqsHSIMBDK/BHXa01dc2kyVBS+vXNh7Xyeop54/HQ= X-Received: by 2002:a5e:8811:: with SMTP id l17mr9700620ioj.42.1549735167554; Sat, 09 Feb 2019 09:59:27 -0800 (PST) MIME-Version: 1.0 References: <36DB9AAC-0B1F-4E3F-9FEC-B25A180F07CE@bluewin.ch> <66F77153-4A14-470C-BEEA-F5D0A27CE4F9@bluewin.ch> <0BE53CE6-E3F3-4D2B-AB56-DAEE9A87F114@bluewin.ch> In-Reply-To: From: =?UTF-8?Q?Luis_Souto_Gra=C3=B1a?= Date: Sat, 9 Feb 2019 19:59:15 +0100 Message-ID: Subject: Re: Function set-gl-vertex-array in Guile-opengl To: Daniel Llorens Cc: guile-user X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::12a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2019 17:59:52 -0000 I found the mistake. I only had to add two lines. It works. (use-modules (gl) (glut)) (use-modules (gl contrib packed-struct)) (define-packed-struct vertices (x float) (y float) (z float) (r float) (g float) (b float)) (define vertices-square (make-packed-array vertices 4)) (pack vertices-square 0 vertices 20.0 20.0 0.0 0.0 0.0 0.0) (pack vertices-square 1 vertices 80.0 20.0 0.0 0.0 0.0 0.0) (pack vertices-square 2 vertices 80.0 80.0 0.0 0.0 0.0 0.0) (pack vertices-square 3 vertices 20.0 80.0 0.0 0.0 0.0 0.0) ;;vertices-square ;;#vu8(0 0 160 65 0 0 160 65 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ;; 0 0 160 66 0 0 160 65 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ;; 0 0 160 66 0 0 160 66 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ;; 0 0 160 65 0 0 160 66 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) (define (init) (gl-ortho 0.0 100.0 0.0 100.0 -1.0 1.0) (set-gl-clear-color 1.0 1.0 1.0 0.0)) (define (draw-scene) (gl-clear (clear-buffer-mask color-buffer)) (gl-enable-client-state (enable-cap vertex-array)) (gl-enable-client-state (enable-cap color-array)) (set-gl-vertex-array (vertex-pointer-type float) vertices-square #:stride (packed-struct-size vertices) ;; 24 #:offset (packed-struct-offset vertices x)) ;; 0 (set-gl-color-array (color-pointer-type float) vertices-square #:stride (packed-struct-size vertices) ;; 24 #:offset (packed-struct-offset vertices r)) ;; 12 (gl-draw-arrays (begin-mode quads) 0 (packed-array-length vertices-square vertices))) ;; 4 (define (on-display) (init) (draw-scene) (swap-buffers)) (initialize-glut #:window-size '(800 . 800)) (make-window "hallelujah") (set-display-callback (lambda() (on-display))) (glut-main-loop) El jue., 31 ene. 2019 a las 12:14, Luis Souto Gra=C3=B1a (< luissoutobueu@gmail.com>) escribi=C3=B3: > I think I almost have it. I made a minimal example with a square. It > starts but the square doesn't appear. If anyone finds where the fault is, > please let me know. > > (use-modules (gl) (glut)) > (use-modules (gl contrib packed-struct)) > > (define-packed-struct vertices > (x float) > (y float) > (z float) > (r float) > (g float) > (b float)) > > (define vertices-square (make-packed-array vertices 4)) > (pack vertices-square 0 vertices 20.0 20.0 0.0 0.0 0.0 0.0) > (pack vertices-square 1 vertices 80.0 20.0 0.0 0.0 0.0 0.0) > (pack vertices-square 2 vertices 80.0 80.0 0.0 0.0 0.0 0.0) > (pack vertices-square 3 vertices 20.0 80.0 0.0 0.0 0.0 0.0) > > ;;vertices-square > ;;#vu8(0 0 160 65 0 0 160 65 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > ;; 0 0 160 66 0 0 160 65 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > ;; 0 0 160 66 0 0 160 66 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > ;; 0 0 160 65 0 0 160 66 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) > > > (define (init) > (gl-ortho 0.0 100.0 0.0 100.0 -1.0 1.0) > (set-gl-clear-color 1.0 1.0 1.0 0.0)) > > (define (draw-scene) > (gl-clear (clear-buffer-mask color-buffer)) > (gl-color 0 0 0) > ;;(gl-begin (begin-mode polygon) > ;; (gl-vertex 20.0 20.0 0.0) > ;; (gl-vertex 80.0 20.0 0.0) > ;; (gl-vertex 80.0 80.0 0.0) > ;; (gl-vertex 20.0 80.0 0.0))) > (set-gl-vertex-array (vertex-pointer-type float) > vertices-square > #:stride (packed-struct-size vertices) ;; 24 > #:offset (packed-struct-offset vertices x)) ;; = 0 > (set-gl-color-array (color-pointer-type float) > vertices-square > #:stride (packed-struct-size vertices) ;; 24 > #:offset (packed-struct-offset vertices r)) ;; = 12 > > (gl-draw-arrays (begin-mode polygon) 0 (packed-array-length vertices-= square vertices))) ;; 4 > > (define (on-display) > (init) > (draw-scene) > (swap-buffers)) > > (initialize-glut #:window-size '(800 . 800)) > (make-window "page 24") > (set-display-callback (lambda() (on-display))) > (glut-main-loop) > > > El lun., 28 ene. 2019 a las 14:30, Luis Souto Gra=C3=B1a (< > luissoutobueu@gmail.com>) escribi=C3=B3: > >> Andy Wingo doesn't use f32vectors, he uses packed-struct.scm https:// >> github.com/guildhall/guile-ope >> ngl/blob/master/gl/contrib/packed-struct.scm . There are >> bytevector-ieee-single-native-set in it. >> >> It works because I wrote: >> >> $ cd /home/spectrumgomas/guile-opengl-01.0/examples/particle-system >> $ guile client-arrays.scm >> >> And I see the particle system. >> >> Now I just need to understand it. :) >> >> El s=C3=A1b., 26 ene. 2019 a las 16:39, Daniel Llorens (< >> daniel.llorens@bluewin.ch>) escribi=C3=B3: >> >>> >>> >>> > On 26 Jan 2019, at 17:05, Luis Souto Gra=C3=B1a >>> wrote: >>> > >>> > The structure of my byvector is: >>> > >>> > 30.0(float) --- IEE754 converter --> 0x41F00000 (hexadecimal) --- >>> little endian ---> 0000F041 --- hexadecimal to decimal converter ---> 0= 0 00 >>> 240 65 >>> > >>> > But I didn't notice and there's a lot of zeros before the next 00 00 >>> 240 65. >>> > >>> > I have to study what is the structure of a f32vector in Guile. I don'= t >>> know it. >>> >>> The storage of an f32vector is exactly the same as if you declared floa= t >>> a[n] in C, one float after another, each taking 4 bytes. Endianness doe= sn't >>> matter if you are producing and consuming the floats on the same machin= e. >>> >>> The source data is floats, OpenGL takes floats, you don't need to deal >>> with bytes. >>> >>> From MAILER-DAEMON Sat Feb 09 14:42:55 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gsYWd-0005OQ-2J for mharc-guile-user@gnu.org; Sat, 09 Feb 2019 14:42:55 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsYWa-0005Nj-Dg for guile-user@gnu.org; Sat, 09 Feb 2019 14:42:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsYWZ-0007ZM-DA for guile-user@gnu.org; Sat, 09 Feb 2019 14:42:52 -0500 Received: from mout.web.de ([217.72.192.78]:33985) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gsYWZ-0007Xa-2R for guile-user@gnu.org; Sat, 09 Feb 2019 14:42:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1549741365; bh=nMX8AGLZJXY95ogRVpGQMcSfsiAM6poiB9Zy++EouRE=; h=X-UI-Sender-Class:References:From:To:Cc:Subject:In-reply-to:Date; b=TuvdFWDv1ynoN+Zv7iiqIU9M+9JGdI4yqSkHoY31vGeMwdkwpnfNAer0bxXKYAIy+ YEXZ36JYr2e0U0dqiocCJTW4c4dCNtKtPUSE1jHkguLj1FN91LLPoQ40E+Nyba5ur8 0KAUACavLSSwSjZwSRc2gUlYA19GFhb2kvjuGVLQ= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from fluss ([80.136.18.3]) by smtp.web.de (mrweb102 [213.165.67.124]) with ESMTPSA (Nemesis) id 0Lpw6t-1hLa4o2wFT-00fgoN; Sat, 09 Feb 2019 20:42:45 +0100 References: <871s4herxf.fsf@web.de> <87o97l550p.fsf@dustycloud.org> User-agent: mu4e 1.0; emacs 26.1 From: Arne Babenhauserheide To: Christopher Lemmer Webber Cc: guile-user@gnu.org Subject: Re: Wisp 1.0 released In-reply-to: <87o97l550p.fsf@dustycloud.org> Date: Sat, 09 Feb 2019 20:42:42 +0100 Message-ID: <87r2cg3g0d.fsf@web.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Provags-ID: V03:K1:/+jQNd60iVJlBuNQ4uRlZ6QrApTA3+t/D5Fu4RdGUqb825QsHdy pFJyg0kRB41Fnr2L0nukihDMZSjeejusIJ2xT61q1M6psbnzmtQEXU9ALjBpa3NoLhHnEx6 xqwJW7Bgst4siUkujignZWWqDR0chQRIWoHJJAuBqEbkKdrGm1soAm2CavS4nfpzK+iyRGr 4FxRuH1uHl+YimMeFZDmQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:uTXTD1HtajU=:Uk5Nlqktl5+JNnxEJmMgtz c5mzj8jp6U8pV36EYYbKa0jnnysYVNGWMKSQthkhKLmSupVj3SGGYpJeejpIjDprfHvkIvrEo oiRKt6RwZ0ReLUpnCZkvTyHt1Iiui2tXC/QO5xXU1Cxik7Meb3ciCHjoJFCn8jfgpwPDNBYF6 ZjzGwNJ4VvKZJENOxLRnt2iQzc1pVrLwkAXtUKhKKxBj/7fOl1xoMo0Ur3xFpRvMENOPK+Jez DJtoKIkebEzmSs4Cn3XRcd0zy7COq+QllOzyABftdC3db9/ua3mZCSaZHVwGxAx18DBR3LDoo vYZ4PcjCZeFE9kw5zXZ6WDoUOWSh0LZ4z44EVFTmvvMLc7jylIH9dnsIKhCXrli0iUtB5p0cQ /0exRd/QpFEsUe1QamLdZG/fAHv3Ah/cdO3kLDXr+y1UPw99NEdTUe4q9apcHZh1FjN+EFWq8 wVAd5Tz2uExnaS6tCfIzsYUoq4q7zFtN/HrlBa75zVCU+q8ifufgZ6/H0Ns49h6z2HAmeBJjX s+HTS7vPvOtB+O5RAtE4tfNDUHqroYcZjvmr11Zqc2nshw35lqJCFcGl7uA9gEYIzVhX4cXcI grFyMQZONPFwLNpuEwzBIJu5RMldOQgCca51X+15bhdv9LY8HfWs2HVvqf9KFNdCHhnvKTFg7 xTjnWuDRbzp0sKI7l5dxEJ6GjONoUbs3fNwrWTMyvv0wXYNiXWWztTgL7xwL/bXiS8eZa0YFi w1kakCl9Tf8TsZutPPOnCMjKbOyx0FgbEImKt0/bS3Qsje17BKaeISRphGQfnW4ofDcNVn6Fz 1wazlFnbCHqg2JUj6ttUorb78R9ExE3pKOAXOa16KJ+p4Qd6ScfGg0lRl+Vr4CrB5gc3Tb1Ng I3gzWj90N/C2l8LVCW9CPv9QLSt/VwIzj+NhxaAjxWOMBNMJxhm167zIa1mJsh X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.72.192.78 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2019 19:42:53 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Christopher Lemmer Webber writes: > Congrats! :) Thank you :-) Here=E2=80=99s the partial downloadmesh implementation in Scheme I still wa= nted to send you, by the way: https://bitbucket.org/ArneBab/wisp/src/cca15c7abc86a500a313315344f9f46bc90e= 9ce8/examples/downloadmesh.w (still need to convert it with wisp2lisp downloadmesh.w > downloadmesh.scm) Best wishes, Arne =2D- Unpolitisch sein hei=C3=9Ft politisch sein ohne es zu merken --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE801qEjXQSQPNItXAE++NRSQDw+sFAlxfLTMACgkQE++NRSQD w+tJHw//Qx9WBIGqU11yit3wfoxrzBmvgUJlpkMkDQxAaVQk5EF3k1lzu7yN15oR HgmFkGNWjWkmeGTMohaaU8UQb8xAKiP3dyYU/x9OoZg3s9j/Du1py/bpGjMMWDOt ekSaXxTcAKeeviBwOqarAp4W1fE/nCRV0EyCev8K9FLDgKblBdwIIRCy1q7zxW+e 4ks5S+8F7G6qUvgiLBJuBYvN6yaxPbNIi1zbcna41cKJ21IQn/RQiq00DAiDR4// WmOWsaHg7ZvFM10oj0C8tE1QfHCE/+V+uqZKEp7dlLML2t60ir2NnPVfR+Vl4qhy 3Pk1e9oDDzuQtUQKpB6G38sSAjyUdLVycQ8pKk5CpKSwsKUNwwSPpkFMOp5vixZO MVPGEBoCr9Uro+Aa4WX3qsKgzAjZDmgsSik7CNMtvIy040b1TmO6Ot5dMlwScjDa r7eOjpsd5pQbaYmQhY4guaBvB1A+RlJuHk65SaNTJeOnaDLWk02++IXweqvVns+I eqfxbzi/OCn1RNrnFIH9h775/2xpebYGEn44x/XKbb6dtYTB5cb1nFmKlJ22383F zg5OxCtPD2VWLp5IQoYe1ifh4xTrK8alCLzqasrSP5wq5yJN7WK0dvYTud9+RYVS HW6QET4rhmCjgwiYaOSvlG76dvWQ6osWHuhOwoV0O6s8lzkcPEmIswQBAQgAHRYh BN0ovebZh1yrzkqLHdzPDbMLwQVIBQJcXy0zAAoJENzPDbMLwQVIuL0D/jDgCFLQ x6DkSDH+PL/8+30kcjVm63uEfCluEhBM/KJp0qtkRpYFsgnLrFQhKs1acOfXbpRu uC9jvNxofbfBhTcRpTEgUcb4m35RJVAPdjp11xuR77LngS9MQJGJ+bmUo905eoEk Qq54wU+pepbFVQ7IH9rGogDrn4r3wO8IZn8h =+zdk -----END PGP SIGNATURE----- --=-=-=-- From MAILER-DAEMON Sat Feb 09 15:24:49 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gsZBB-0003Nk-9X for mharc-guile-user@gnu.org; Sat, 09 Feb 2019 15:24:49 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsZB8-0003NJ-UP for guile-user@gnu.org; Sat, 09 Feb 2019 15:24:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsZB5-0005MY-N9 for guile-user@gnu.org; Sat, 09 Feb 2019 15:24:45 -0500 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]:43595) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gsZB2-0005GS-Eu for guile-user@gnu.org; Sat, 09 Feb 2019 15:24:42 -0500 Received: by mail-ed1-x529.google.com with SMTP id f9so5584322eds.10 for ; Sat, 09 Feb 2019 12:24:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9uOAv3i3AH8pt+yxmm0bZYtX9iNmNZkTgGgFWrvGdnE=; b=AwodVZyEbgepiPaX2ejos77NB/xl2NopSZUCKCGBAlsj8ujs9AqjCmUtoFSPU87+pS rTAuJbrZRrQd/s2Gh97ORu017kDWNIvg6Ji6/HfU9w5KazuMWIBVuZDCxsoSMQei43R3 CZx64yGVMVFIBzPIpMIHlzGcXe5LytD35z49tHLChbYvCJpWTKLHlmzkB2jXt3KQfg1n NDZvoE4V3r9KV25WHeNviAY4+HKjqzGUEMjKO/AWmZfjM4MUevTWcxmSZDctcdgqbxD+ lyV2u7bDrCUfYmRCWhQBoJgkRWb4/Bs0V9jEqHDj10xK5t8f5wTCVs2xh0S8pdVmNIHG mfzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9uOAv3i3AH8pt+yxmm0bZYtX9iNmNZkTgGgFWrvGdnE=; b=X7YGVcXaOmslojl+7wzb6a7Vu8BVlnTGROf0f7sT76YCKTWi5t2mQwNn6tgfopY+DK dKjPl+hJ52sOWvUeOP4jJ+b1feFf4zFnwto+6UHosBoSlJLh1eDbeTpjh/ZIlpAyRTsM RepwyyJXuBvb69kgrm5lRGTlmkMtfy/sscAlQJHL9isRxaPvKRIzuJ8Zclja6yuz+s06 r3E465gQIZruTnRVs4Q0FxI9FynA/gAx0xVYV9N3g32f8axmosK3HK7Nx5I+DPBv+gbT Bk+cvXu1KWjpWh2ZAhl/Dh0XoUJ+J1KQEsqnCko3xDqfjN2de3M6F09YnH/D/2f28kwX sTRg== X-Gm-Message-State: AHQUAuaQx3nVeix6TLwI0A1VpFsunx7QmUZ+K+0OgqdIDtcLHn40O9mH lG4DYn80/Hb9LZTeaUNRzanqnJaZPExHw5vgq8SzsQxkEjQE5w== X-Google-Smtp-Source: AHgI3IbDoO2pX6m9xjqJOoWoF9HclaRIcnPFhSEnynnBwGKgAh3hdbcWNj2fT1yyqiV+KqSKF44C7FVAYo60tnJqkhQ= X-Received: by 2002:aa7:df07:: with SMTP id c7mr22141620edy.85.1549743873063; Sat, 09 Feb 2019 12:24:33 -0800 (PST) MIME-Version: 1.0 References: <871s4herxf.fsf@web.de> <87o97l550p.fsf@dustycloud.org> <87r2cg3g0d.fsf@web.de> In-Reply-To: <87r2cg3g0d.fsf@web.de> From: zx spectrumgomas Date: Sat, 9 Feb 2019 22:24:22 +0100 Message-ID: Subject: Re: Wisp 1.0 released To: Arne Babenhauserheide Cc: Guile Mailing List X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::529 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2019 20:24:47 -0000 I'm sorry if it's a stupid question, but can the opposite process be done? I mean, is there lisp2wisp? On Sat, Feb 9, 2019 at 8:43 PM Arne Babenhauserheide wrote: > > Christopher Lemmer Webber writes: > > Congrats! :) > > Thank you :-) > > Here=E2=80=99s the partial downloadmesh implementation in Scheme I still = wanted > to send you, by the way: > > > https://bitbucket.org/ArneBab/wisp/src/cca15c7abc86a500a313315344f9f46bc9= 0e9ce8/examples/downloadmesh.w > > (still need to convert it with wisp2lisp downloadmesh.w > downloadmesh.sc= m) > > Best wishes, > Arne > -- > Unpolitisch sein > hei=C3=9Ft politisch sein > ohne es zu merken > From MAILER-DAEMON Sat Feb 09 16:19:01 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gsa1d-0004qx-5F for mharc-guile-user@gnu.org; Sat, 09 Feb 2019 16:19:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33026) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsa1b-0004qm-D4 for guile-user@gnu.org; Sat, 09 Feb 2019 16:18:59 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57832) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsa1a-0005PL-9v; Sat, 09 Feb 2019 16:18:59 -0500 Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=57420 helo=dundal.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gsa1Y-0001uq-TP; Sat, 09 Feb 2019 16:18:57 -0500 From: Jan Nieuwenhuizen To: Arne Babenhauserheide Cc: guile-user@gnu.org Subject: Re: Wisp 1.0 released Organization: AvatarAcademy.nl References: <871s4herxf.fsf@web.de> X-Url: http://AvatarAcademy.nl Date: Sat, 09 Feb 2019 22:18:51 +0100 In-Reply-To: <871s4herxf.fsf@web.de> (Arne Babenhauserheide's message of "Sat, 09 Feb 2019 01:17:32 +0100") Message-ID: <87tvhchd8k.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2019 21:19:00 -0000 Arne Babenhauserheide writes: > As announced at FOSDEM,[1] I now released Wisp 1.0: > > https://www.draketo.de/english/wisp#v1.0 > > At this point wisp the language is complete. And from what Ricardo said > at FOSDEM, I think it achieves its goal: > > =E2=80=9CWisp allows people to see code how Lispers perceive it. > Its structure becomes apparent.=E2=80=9D > =E2=80=94 Ricardo Wurmus[2] Wow, congrats! janneke --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com From MAILER-DAEMON Sat Feb 09 17:50:39 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gsbSJ-0003bD-HH for mharc-guile-user@gnu.org; Sat, 09 Feb 2019 17:50:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46848) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsbSG-0003as-Si for guile-user@gnu.org; Sat, 09 Feb 2019 17:50:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsbSF-0000bs-Vq for guile-user@gnu.org; Sat, 09 Feb 2019 17:50:36 -0500 Received: from mout.web.de ([217.72.192.78]:53723) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gsbSF-0000at-Ka for guile-user@gnu.org; Sat, 09 Feb 2019 17:50:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1549752632; bh=zbZWsGNovQ9F1Cf+km41lZbPgcaHK+T5T+sUxYw3ncU=; h=X-UI-Sender-Class:References:From:To:Cc:Subject:In-reply-to:Date; b=XCKd2JH7P3xLYGvmJpxQCu6VEUXorm+vjzLJlQX6bj+Enhyp9ci4jdZX+hX1WJm1n CE6S+mnXe3/kWzUbhaQy3XFD/AylNECv9nPdpay7lfxCXBnxHwGEH3CRbt9zblKwiA fDA0/ztSUIPE3EikomM1342/qmuomxKARkdpOPp4= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from fluss ([80.136.18.3]) by smtp.web.de (mrweb101 [213.165.67.124]) with ESMTPSA (Nemesis) id 0M5wrF-1h3N0D2wvp-00xvsz; Sat, 09 Feb 2019 23:50:32 +0100 References: <871s4herxf.fsf@web.de> <87o97l550p.fsf@dustycloud.org> <87r2cg3g0d.fsf@web.de> User-agent: mu4e 1.0; emacs 26.1 From: Arne Babenhauserheide To: zx spectrumgomas Cc: Guile Mailing List Subject: Re: Wisp 1.0 released In-reply-to: Date: Sat, 09 Feb 2019 23:50:30 +0100 Message-ID: <87pns037bd.fsf@web.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Provags-ID: V03:K1:wJdw2YVHGDSEVxZOrXhJsfWqf0PGtX86cBVplSE+KIfI9h6aK5g Uc0k/vvnW/oZrikmB2gW91FPtfXEwdJ3aay4l5wF0UF4xCGetEW4DXRb6IZnA4NcE1b2pq9 K+/+kgOyL00XVk0XFESZfyDepbVoXx4D4R3sY+JwS79ckK0w0euls1lBVET1tgDHC/C76t2 tqmCvkZDGuZf8qMkI6aTw== X-UI-Out-Filterresults: notjunk:1;V03:K0:q1KbxOe1o98=:83b7jX3wq5cT1Fkm5pqRpR hh+870gn8yNQfJuXdlE6hceRq5OvdL25s14NvChUC4kPFyNn5Od3XVB+OVazDhX1jI+0gHBQz Wi+n5ITQYFwPcbSJNeVhYSSxr4dBf3ONIvUBJA22S3ZcGXeJXjuvBMN7qXkn4TLq7BCMs2y7t QgQER2wwftZiTSCeUnx6FShJz0dI/zGCGo+j6oHFa66YYU9vs/idPeiJLNhLcGdm//rpIjS7h YT4vqFXjGPx37JkgwN/l2rSkIEt7FFgGS3TwBgijpp5meMw+ORX8MYWzSfO5fwWxQPUfTdiAZ Hu0q+PA5Pp3C9G6V9UxfxYhj5+e47tuJb0OWZT7y9N98qq6WQrN38hjMXmAOLxgRsiOaqt+c+ snfoiP9/GU2e+kYfv3qLwxo2rWkMJ7nRPJBBR6PXNT41pvV1I9tAqsLZthybKdlYWniXMAwd4 l5ozWNEXiqlS5BYlRUjeKlawwTkFAnDlwlKWa1ar7FA4i4dezmF4k4gtfVBXagZbTHi3i5v0+ d5FHpEjW5vgnSUmyj2eRpNSgi+gJLVfFcKE3HG2gaYBogReF/Kx6Lbctxu2DHKNTqk51dwNMU LLb+FEg4asT8jynZ07v1I6KIAqAluGbM+jPUO25I4tnTtoz6kA+XFWOFK+BF6QKk+R3cEIwT2 zMN7wBXjGHzGgYOpVVcuV31Zx4yh6U4gDIKr68BrOMwgCfILouv+eFhmnLINvgRyF2R/T6Sxr hiPrJM3QDZsC5c0OJJre+HOFV/IV2dG++dkNN7C4Bfp6poYNWIv1U7Ug4jKRwLqEvNdkTOz3y 6Me/OaTm1uNtzBucAWop0y/QFVS4E3O4czSurRRj2zxJumeS2WueLt3I9/9kxcf5N4RGdHjMB ju8wxxk7GsimMAC09g/RQ9SaqhgO+79/13AR04k+2hCq6NRuVo6S6XPc22KDKx X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.72.192.78 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2019 22:50:37 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable zx spectrumgomas writes: > I'm sorry if it's a stupid question, but can the opposite process be done? > I mean, is there lisp2wisp? That is no stupid question at all. The opposite process is possible =E2=80=94 the readable project has a sweet= en[1] script which does just that for readable syntax =E2=80=94 but it is hard to= get right. While going from wisp to Scheme just requires adding parens, going from Scheme to wisp sometimes requires human judgement whether to keep inline-parens, use an inline colon or use a new line, because the inline colon is intentionally restricted to opening parentheses which end at the end of the line (to avoid transporting state into the next line which the programmer or tooling would have to track). As far as I know, the sweeten script avoids some of this complexity by working on the syntax tree and generating indentation-sensitive code from that, but my last information is that by doing so it loses the comments. Since wisp can interact fully well with other code in Scheme files, I=E2=80= =99d just keep existing code in Scheme, except if you do large-scale refactoring on the code anyway. That said, the sweeten script might get you 95% of the way towards turning a file into wisp. Sweet expressions and wisp mostly differ in details (wisp intentionally keeps its syntax to a minimum, while sweet expressions provide a lot more syntactic sugar for specific cases). [1]: https://sourceforge.net/p/readable/code/ci/develop/tree/src/sweeten.ss= cm Best wishes, Arne =2D- Unpolitisch sein hei=C3=9Ft politisch sein ohne es zu merken --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE801qEjXQSQPNItXAE++NRSQDw+sFAlxfWTcACgkQE++NRSQD w+tshhAAhpe215S4lA3Mb5XoNK6gi171myhaTffgjiC144WSYXk8EW+sAziuz9Oa ppCNC6k8ULQf2dLHvDKrfHs2N5J6fQdLPV7DTCHSKmJPqJb0zI2hxI96DJFGs6jS 1OZbjNZoVrCXDsCrCm3S0CUf4avi/ZJpzahkoiPR4s8uXund0dd1oS77WzF5JblD 8FkTMRe7FAqm2NJrOZm6hh9Ap9q/8znC1rFKQMRg+WpxPhw0yO71wjjfU5/pwbD+ 7LdC2nN7AWfC4v4g7DmiH1E37TXHLqlpyywebjupEflD0IxA4WMwZmp8b6rGBJIV l84oS9hB51vdBp32fVpWoQHTqrC65ZvJBGF/r4PBHxGquXI46v6oBVzIx/9IXHG6 dYCsI+QAGpm8dTbbKUz+7zW9cLOzp+1yVN0xk1+auFZ121JGBqJf+uNRq1TIpjHs wrw/ACAWJ5gREcanLq3THjMSuGEmLyKtPwOGQTcW6hY+3AuNpiebhfLxkrHKvQyq p+0cYNcSzyKcTbsOChADfw4oYnkW23WwjwPlhECdTyJ53DdmDT2ePRXzbUAgjQfS AeQhAPnOTfQERxWtfNUuR/3z/XKAx/12hdlUelBjdzVHtxcWtEr2hTqJK6h/ncnB dFHb0hPLPGAv1oyMqRYqPwAX9peM0TsVFsycE3i/2RHLudxF9CWIswQBAQgAHRYh BN0ovebZh1yrzkqLHdzPDbMLwQVIBQJcX1k3AAoJENzPDbMLwQVIhmUD/3k3/cNz oFTLPV4z7/XhL8ed8KPbut7ZTPNTajkNlyXoHk6OtghEYoE9QRjaAJDt2SsfgH/9 O2O0ADJ+n/z9e5STMqU2hZifJSeHjF+pPNmUMltZX2JgE2T8Laa9e08L+6Gdk43x LlIjdsXmsgh+fukpTZYRXnanL9G9pQGjyeNM =rGLG -----END PGP SIGNATURE----- --=-=-=-- From MAILER-DAEMON Sat Feb 09 17:51:35 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gsbTD-0003tv-5h for mharc-guile-user@gnu.org; Sat, 09 Feb 2019 17:51:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47023) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsbTA-0003tR-MH for guile-user@gnu.org; Sat, 09 Feb 2019 17:51:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsbT9-0000w2-UX for guile-user@gnu.org; Sat, 09 Feb 2019 17:51:32 -0500 Received: from mout.web.de ([212.227.17.12]:54089) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gsbT6-0000ry-HC; Sat, 09 Feb 2019 17:51:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1549752680; bh=yfnY2P+sDJeIDBq2YJ4NR1rpKDUgqaDlZ8Os2B4QVhs=; h=X-UI-Sender-Class:References:From:To:Cc:Subject:In-reply-to:Date; b=YXI0Zbx3k+TNAuiv+EEE9B5Mf3+ZCvkR6RlV18o2pRmPdoid5iKBolOh1pgwgyFbY ekZv9lyvS9Ltr5MEsHD0fMwYsaH2butNieyqTfdriRwDSl18b0kYN78tNhCk6ox+Gt dbxF8uM7KSVF+ZF0lXiDLEzIdsU69lEeox96jLVo= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from fluss ([80.136.18.3]) by smtp.web.de (mrweb102 [213.165.67.124]) with ESMTPSA (Nemesis) id 0MWj6V-1gcJtk3ym3-00XwYH; Sat, 09 Feb 2019 23:51:20 +0100 References: <871s4herxf.fsf@web.de> <87tvhchd8k.fsf@gnu.org> User-agent: mu4e 1.0; emacs 26.1 From: Arne Babenhauserheide To: Jan Nieuwenhuizen Cc: guile-user@gnu.org Subject: Re: Wisp 1.0 released In-reply-to: <87tvhchd8k.fsf@gnu.org> Date: Sat, 09 Feb 2019 23:51:18 +0100 Message-ID: <87o97k37a1.fsf@web.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Provags-ID: V03:K1:hVcGa+GRGEcOqaieoHPV24nUPgJGrNJSGZ38WNLTSLppgdEyDE6 TfeQIIawpKPq0fdardLOWHbRuORJI01qsJVYFQOGStk98kqRDwRFl5v/f/xgndv2iAW/P3L mk9Wk1FMAiPTubfiTieRt7tmdLt7AqBJuVWSHd1ju/AmmI5CMSN6xQlVSuNLuxQW782jeNH g0N4oYNnDTPewny4E/0SA== X-UI-Out-Filterresults: notjunk:1;V03:K0:xJ+Z224mer0=:ADmLxrUelO9KVq1AIMdlHm +srINBsN3BcLiuoSIIncbbsNdsY3f5sYgsHbRWzwsW537uwy0g2vqumiohCkyY8PSsrBEiXMj wPolUO1UP4MEj2UltoYxW30fAdEY4hqi9u0XVfJ8Ga5wW8hItiuCu30WsI8IkifxA8AhfakTN +UvPfu51SRDt5FmlFZm75o0o3kw4o4JvTvHEMF8YmAXygvPx0nHiKCGGtLNVckjCJHu771ef7 y/rt/Ck+Zr/EHwmJlD1r6M8pcqGQee8VqSclGNKkdrMZSeWj9zYZ5o98JYHqISW306MZ0eIF+ q0txdA0l2Ykol/jZpckd3ZDrjMsml6/nO7IThuFJxduAz1KUOLCbZViCn5Jvevkxc5DrhsOqx /CZ1lrTHtlKcKumBpks6/FcdQbeS/D6PJ+RfLYvp1ipp4x1k39SoGP9Pb2U+CQodOlCdWkse+ +Ex6HtsMnTMfptWJPWSyfozCgQE2xje0cl4FxzoHnTIs5dTYGVFf666PuQYuRHr44LL1uEuiK 6EcXyCVy9sve9bd3lbb914njdJM8AR2kjSMhdxb+dvZF/0M6Kxqz/6M8wEW6NHQdJw2iY6ZPG 1Mu6L/DraroDISysU9VyEFTLljYdpS3yvE7dbAhB/Y0OfUX4BMA2TzuUNsC6Q4XiTy4aR4cVL nPjTuEE4N9r+k/1pYDvT7RtGZ2jgJqwLcdR/VcpdKaymdujV3vJPspu8qJlmhONSTrzeHeJUY gad+9DVgOtUX94tf/Kovzi6oTrdURnLQXxyOFSZnExbsYbRvOaMOl9IK8gqEoIs3SPMJBmbVZ d17q4FU5TPh4qV9rI7JdJfU/ezNmVcjUlfdOWtjpUJnjJ/g18yVdNYI8sqcADS+AwdsB6S3D8 AkQzYEPUjip+VtRB6Li9FUF3r0K7fdxcGx35y5nZQMJOo8GoCq+i/phmMPPN5C X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.12 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2019 22:51:33 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Jan Nieuwenhuizen writes: > Arne Babenhauserheide writes: > >> As announced at FOSDEM,[1] I now released Wisp 1.0: >> >> https://www.draketo.de/english/wisp#v1.0 >> >> At this point wisp the language is complete. And from what Ricardo said >> at FOSDEM, I think it achieves its goal: >> >> =E2=80=9CWisp allows people to see code how Lispers perceive it. >> Its structure becomes apparent.=E2=80=9D >> =E2=80=94 Ricardo Wurmus[2] > > Wow, congrats! Thank you! ^_^ Best wishes, Arne =2D-=20 Unpolitisch sein hei=C3=9Ft politisch sein ohne es zu merken --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE801qEjXQSQPNItXAE++NRSQDw+sFAlxfWWYACgkQE++NRSQD w+s8VhAApkyG42Kw9CvpLYmD6TLWXdYVTDbrCnGbsjkLY8TzXIb270iIsom3fQ2X XkcMp+YOCe4S0oyOtQVhyg+ijBVHKBk0V1ILckbgOVlhozFy5Zy5pbaG7ZQmJ1YO TewXxewDMBgC/sRDcIu5oUe6KbyMvkySAcgkkoAWuFScbJYXEyuKMqUbDm4iaE5B hrHGr6AiB2oS6OKd/7kwC6CuY7UaRv+gyAAuCcN6Ko5RqcSF+HDj6ceuWvgvxzck 2eR3VTFnf+yUgZxY612p7NYcsGKrbyjP/TPp4u56TgEyO0CyNT5UvZsglS5HlLnd KJiO5ivhW4pnhpeDWq1N6oI0UPkGVOPGYksbm9F5HeiKFkihV05UkrlQiuj/2VYA WY6Iq46f1OuUJwUNo6ldzvUkTbMO1kJc5FxycMI6Zz/m+Yuedx59jfZJ0R7i7LIz 0b+NUOT3StNasMMB+qS+xu7mhkNboRbhYidw/1Yc8dyoIlemeTxc7YDYqYK9AHyS icbd36OOQcFT3GnPU0QpoLebma/9L8742sLbpIccgqCEFtItEd8RUlCeuUVI4Kvh ZEoPsrbQRzoDtbmHF3CaZ9OKPlWJ4letHZCtGITTdBY2sh74RZENofjkOpYLAcgn TcTcHMUSTR9KQ6ikl2CgMTLyZQ+n2TBDCKL/+bPb7YCeQ42yoPqIswQBAQgAHRYh BN0ovebZh1yrzkqLHdzPDbMLwQVIBQJcX1lmAAoJENzPDbMLwQVIwAUD/3fRWMl7 StNghWCq+DxpdpLiQSrjWnD/750icXYZUJxcEtYIkr9ckTHAi94NyJfFX3xT/7Ec oqYDQ6+ysRYlLhylK3oKQJhmvNtWpjdhR78Gau6jIk/UcrrT1kVraRffIcmCunzq DJ26YVAFUV2l/lpgueyFJR8Qo1Q9obq95pC3 =ymxe -----END PGP SIGNATURE----- --=-=-=-- From MAILER-DAEMON Sun Feb 10 03:56:03 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gskuB-0003R7-Q4 for mharc-guile-user@gnu.org; Sun, 10 Feb 2019 03:56:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsku9-0003R1-A9 for guile-user@gnu.org; Sun, 10 Feb 2019 03:56:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsku8-0000I7-Ai for guile-user@gnu.org; Sun, 10 Feb 2019 03:56:01 -0500 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]:33754) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gsku8-0000HK-4O for guile-user@gnu.org; Sun, 10 Feb 2019 03:56:00 -0500 Received: by mail-ed1-x52d.google.com with SMTP id a2so6284427edi.0 for ; Sun, 10 Feb 2019 00:56:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/Drc/JXLTEZPoz8rj2lsFSJP2eMJKskQ+D58Ic21n+A=; b=tZv8+0u0sxgyB8ngGpRFsZfgCWe64qCZLIo6KJtTwvlj7UxxUtbWQ0gY92xtQK3GhJ ySz2hFGih9UuW497np/c6cT9fuJFT9BsVRfxT9tBiMBDhWzd5L53ymglD7MXwF1fNSNk VIXPCuMIcLRm9xYeyKiu2xSQHUMd72lS33/6wCAol+22EUr0j6vT14+yMqr4tIVWuVxr Hm/zjWOpJK0HdUKHt4CZ5ICmBiH9a5JL2knIyKM7wLmc9ehKREgvwgdumZtqfDhaI/Vw KtAu1Muk4ggTsZp7+OLppMxEysutA0lM3NIVhfTRV99CLWrkcQqBBogLX0R2iuPltY9t 5GgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/Drc/JXLTEZPoz8rj2lsFSJP2eMJKskQ+D58Ic21n+A=; b=VCmk4R7SH0OcteFye6ben/CJPvJWeBUDGZ6PuOWrcoxiVzNEpuS8vOshkzJ2OASI7U 3HMaShxD1DBm+Y8EcpWxl6bg7hzZEns4n5N4qjWBJfSQEsT0ww3B1lUM0xjuyiwqGFTz 1mrHedYMiRxbEh14qweRLBg5I36WpHWNlLEqLK8JE++skbmquk1y8913ADgkV2rTxkJL b2sxFmSybO7yTtWhOmNBG2uyfbV0w2WZgPFBBVCba7XtTkEaNmAGhO5o2ySW34Etv4q0 X8xNUk5o09+UCfKOgBbFiqkjHE2NveKCHXXD2XaBdIC11JpL8nimN49sjo2xCaKqGbVp porA== X-Gm-Message-State: AHQUAub+LbDi7NaVXn31GXFHyU/u5hxDArXzT3RnKQKahTdTOAL0PRXF R64LeqJzKGFd2aP/iA6aDsICN/eWZdMculpxYHo= X-Google-Smtp-Source: AHgI3IYh6jQFxfVBgBzMi8VW2EeMMs/9Sk+AkNu0y5+1PblSaZyDNeYt7z57VYBfemcUGIw4edRj2emu/V6ZoRZBHjQ= X-Received: by 2002:aa7:df07:: with SMTP id c7mr24057193edy.85.1549788957172; Sun, 10 Feb 2019 00:55:57 -0800 (PST) MIME-Version: 1.0 References: <871s4herxf.fsf@web.de> <87o97l550p.fsf@dustycloud.org> <87r2cg3g0d.fsf@web.de> <87pns037bd.fsf@web.de> In-Reply-To: <87pns037bd.fsf@web.de> From: zx spectrumgomas Date: Sun, 10 Feb 2019 10:55:45 +0100 Message-ID: Subject: Re: Wisp 1.0 released To: Arne Babenhauserheide Cc: Guile Mailing List X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::52d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2019 08:56:02 -0000 Thanks. Very interesting! On Sat, Feb 9, 2019 at 11:50 PM Arne Babenhauserheide wrote: > > zx spectrumgomas writes: > > > I'm sorry if it's a stupid question, but can the opposite process be > done? > > I mean, is there lisp2wisp? > > That is no stupid question at all. > > The opposite process is possible =E2=80=94 the readable project has a swe= eten[1] > script which does just that for readable syntax =E2=80=94 but it is hard = to get > right. While going from wisp to Scheme just requires adding parens, > going from Scheme to wisp sometimes requires human judgement whether to > keep inline-parens, use an inline colon or use a new line, because the > inline colon is intentionally restricted to opening parentheses which > end at the end of the line (to avoid transporting state into the next > line which the programmer or tooling would have to track). > > As far as I know, the sweeten script avoids some of this complexity by > working on the syntax tree and generating indentation-sensitive code > from that, but my last information is that by doing so it loses the > comments. > > Since wisp can interact fully well with other code in Scheme files, I=E2= =80=99d > just keep existing code in Scheme, except if you do large-scale > refactoring on the code anyway. > > That said, the sweeten script might get you 95% of the way towards > turning a file into wisp. Sweet expressions and wisp mostly differ in > details (wisp intentionally keeps its syntax to a minimum, while sweet > expressions provide a lot more syntactic sugar for specific cases). > > [1]: > https://sourceforge.net/p/readable/code/ci/develop/tree/src/sweeten.sscm > > Best wishes, > Arne > -- > Unpolitisch sein > hei=C3=9Ft politisch sein > ohne es zu merken > From MAILER-DAEMON Sun Feb 10 17:10:59 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gsxJT-00050k-7X for mharc-guile-user@gnu.org; Sun, 10 Feb 2019 17:10:59 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gswTy-0000sQ-73 for guile-user@gnu.org; Sun, 10 Feb 2019 16:17:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gswIu-0007eN-TT for guile-user@gnu.org; Sun, 10 Feb 2019 16:06:23 -0500 Received: from mout.gmx.net ([212.227.15.19]:55781) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gswIu-0007bn-KH for guile-user@gnu.org; Sun, 10 Feb 2019 16:06:20 -0500 Received: from [76.169.116.244] ([76.169.116.244]) by web-mail.gmx.net (3c-app-mailcom-bs07.server.lan [172.19.170.175]) (via HTTP); Sun, 10 Feb 2019 22:06:12 +0100 Message-ID: From: "Noneayour Business" To: guile-user@gnu.org Subject: sandboxing Guile extensions Date: Sun, 10 Feb 2019 22:06:12 +0100 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:m0hvHyKh4Lzw3nl7Av5APAudaiGL5+dJWTNj3sK6sqejIQsxz+T+91xDC9ipC6/a2afmv bnx1xvN+Ha8Yh6v4ZbhAYS6XAWT85PhP2hy1ES5N1is9YDYAld174q83KI0du5jmFjLsV/LQ2exv GxRKLFWqWUNVSkzN2v1AZL2djF04J95iVTxXnZlgMqpC+nP838Mdyg0S9CGi547jeKbT4n0F5LmX c9MQXj2jrI0iJrDMbpKgkMJU2Qz5YFXktd6syF5i7fA8ubyaa5XVTZM38Se1EzyZHcpFAf/5B+yX qw= X-UI-Out-Filterresults: notjunk:1;V03:K0:WQvJaJdDSxY=:nmpPUal9IM9PJW0LD7AHKz jdCW1qbRxdi8gAN+dS29jt6/LyrehMy1KZtriKjR+a0m9O6C3OaZ7d7mT/kdoo4Njb/IlrvNL ZlN+IiHRmbVYiKbhokyaAxkDTC2T5fgZ3SsoRFS3LwSmZC/i9onHRa9FRvFB4xsp/YmZ/2rZM r+4k31NWOxwlZA9K6lzg5u631Xe8mvAUfwiTNPSA32gGjGoQgSAaa/FleiqlPsJ3DGyd4TlpS V8T9Z1vOm2EuAZAn7T/V5kRYaWBklpATSdVynh5ucBCCtdY0QAHTxQdg/Pw0f35oYl1qWucQ8 RnnjwOBGuuRvCxhz9WQQkAFZda3iEDl7UA+9bIdX7Zo7dJdVFvedabOshgViNKfwGLhO9rWSF QEzhPSZBpJZKYslGRqU0fcqDOKG138GBYLNoMVhEydcjmhxkD25yQ4TE341XtthutOruWNuzZ c8zGu2QDpMadGKWFIYlv/TK7qIUageUjlSl/s3GM6HZ8vyUyEdcQAWHf3m4XU58U+vQv+X+XF /DKLxACNwcPmTcdWykbt/3Qs87CRz2f3Gfta3MSVZpVyIPxxgboPUSZdX6XQ9yyZjitpatihK mLHUxJ+32Prj0= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.19 X-Mailman-Approved-At: Sun, 10 Feb 2019 17:10:58 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2019 21:17:47 -0000 I have a GUI app http://www.lightandmatter.com/ogr/ogr.html in which I've just implemented a very rudimentary extension mechanism using Guile. I'm not an experienced lisp programmer at all. This has been my first use of lisp beyond "hello, world." The purpose of my extension is to let users run their own arbitrary code in certain situations. However, this means that someone could in principle create a Trojan horse attack in which they embed some malicious Guile code in a document and send it to someone else and try to get them to open the document. I see that Guile 2.2.1 has a sandboxing mechanism: https://www.gnu.org/software/guile/manual/html_node/Sandboxed-Evaluatio n.html However, this seems entirely focused on preventing excessive use of resources. Is there any way to have Guile run in a sandbox similar to the javascript or java applet sandbox, where it doesn't have access to the file system and so on? E.g., could I delete certain parts of the libraries before handing control over to the user-supplied code, or can the interpreter be started up without some of the standard libraries? I'm currently running Guile by starting up an interpreter through a shell for each evaluation of the user's function: https://github.com/bcrowell/opengrade/blob/master/Extension.pm Thanks in advance for any suggestions! Ben Crowell From MAILER-DAEMON Mon Feb 11 14:18:14 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gtH5p-0004ro-QQ for mharc-guile-user@gnu.org; Mon, 11 Feb 2019 14:18:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34336) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtH5n-0004re-2M for guile-user@gnu.org; Mon, 11 Feb 2019 14:18:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtH5l-0007ms-VL for guile-user@gnu.org; Mon, 11 Feb 2019 14:18:11 -0500 Received: from sender-pp-091.zoho.com ([135.84.80.236]:25054) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gtH5l-0007l8-Ju for guile-user@gnu.org; Mon, 11 Feb 2019 14:18:09 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1549911766; cv=none; d=zoho.com; s=zohoarc; b=fXSOXcaV624s+7RpvY5iX3w9cK3pa+AcJsG1ag2bJnsH5wjpoTYprHZUgDu9nUe6qpXZ0FsYwnGUpThYVW5/1geZLRvU/LNGI2NDhS2b8tXBXdtlimqv/H9k3Tt+Yu1jLEwr02LM0uqEuneDAIOyc9Z4G7GOa5Z0DU+7x8o0jOU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1549911766; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To:ARC-Authentication-Results; bh=KCD0mNGhAfugf0KAqurtAq3VoyalZQjM4KpAKmNWB6g=; b=Q/o20Sd/H+JwodVrqXUwrVxZ/HwtklCLVSbH1v8XIskpfA2HBuXat4vMZ4Nxgfn4OiuMiBsEnU0bOeMzydmFYiiZHKCTw4UdjN/qvxUwkObCqrkU2dp6L/cW6jIZElsjJ+RakQdKrX9KF8ktEMhy48wYKT07Nt+jN4Ms8ohm9oI= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=sirgazil@zoho.com; dmarc=pass header.from= header.from= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=to:from:message-id:subject:date:user-agent:mime-version:content-type; b=PfEpRsB4boTO164c7yq0wpi8zyJEC0sjvJ025neKoLrmBViQ4DPe7gt2XH9+o/6yzeMeH2hjiIr9 UNrtsFgKxkvrlU635PnmSc8WwApaCMV0eq3xSlLtEdySHr/QFdXc DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1549911766; s=default; d=zoho.com; i=sirgazil@zoho.com; h=To:From:Message-ID:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding; l=698; bh=KCD0mNGhAfugf0KAqurtAq3VoyalZQjM4KpAKmNWB6g=; b=P+57xO8uCEFluyRN3TvZoTB+nziaCy8Zu97XBxk4opcrnK5U+di0BvxQXKAy8IYE VTbThRisi2qjPkENaMerx0kxaxQ3RDVEUqWuaQbSVET47NvHDTdnyKLM4Qdaxs43g6A yAtAioXc9tTUC0ZCVzZCoRTymHGeoiWx33tFwsuc= Received: from [192.168.1.57] (181.130.25.222 [181.130.25.222]) by mx.zohomail.com with SMTPS id 1549911764305222.9560889654456; Mon, 11 Feb 2019 11:02:44 -0800 (PST) To: Guile User From: sirgazil Message-ID: <1177d8cd-e03c-a7f7-7a32-a5e27004acad@zoho.com> Subject: How do you format date-times in RFC 3339 style? Date: Mon, 11 Feb 2019 14:02:42 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 135.84.80.236 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2019 19:18:11 -0000 Hi, I'm generating atom feeds from SXML that don't validate because of the=20 date-time format I'm using: > (use-modules (srfi srfi-19)) > (date->string (current-date) "~Y-~m-~dT~H:~M.~S~z") $1 =3D "2019-02-11T13:42.57-0500" String $1 is close to the RFC 3339 style,=C2=B9 which is the required forma= t=20 for atom feeds, but the time zone offset should be -05:00, and Guile's=20 SRFI-19 ~z time zone escape is RFC 822 style, which formats the time=20 zone offset as -0500. What should I do to get the offset in the required format? Thanks, _____ 1. http://www.faqs.org/rfcs/rfc3339.html --=20 Luis Felipe L=C3=B3pez Acevedo http://sirgazil.bitbucket.io/ From MAILER-DAEMON Mon Feb 11 16:40:08 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gtJJA-0004HZ-Tb for mharc-guile-user@gnu.org; Mon, 11 Feb 2019 16:40:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37647) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtJJ7-0004H9-2J for guile-user@gnu.org; Mon, 11 Feb 2019 16:40:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtJJ5-0007VM-On for guile-user@gnu.org; Mon, 11 Feb 2019 16:40:05 -0500 Received: from mail-yb1-xb33.google.com ([2607:f8b0:4864:20::b33]:43163) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gtJJ3-0007TL-9K for guile-user@gnu.org; Mon, 11 Feb 2019 16:40:02 -0500 Received: by mail-yb1-xb33.google.com with SMTP id s76so176994ybs.10 for ; Mon, 11 Feb 2019 13:39:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+eUsIboagfbt5X7TXnxMNmBwgN6pjDPHsgh0WWkZfjw=; b=Kiu8tFIUCcUFKl4bovsQrJpQDdAqg2BKhwrSCEtlatRxDKVhbyxyAIObWksgjeqzxk Hr4cSXJj4ENw2Dj3cnWa/uwm04FL1QmRNB3JcC3Ay32IF0w2IpdYhbbg5rUm6tv4jV3o mB3tn5+O/fzyvGf9QXKlhdmtsxf6NgD1X0NHuCxyu3TLehuQm/ZgmU7qeiheoABE99fc jPqowcYvG5TDXfxOkeIwiZuXv/OimtPglqIYF5vz+57RmdaeG+W1rB2QgvH0qInRYYIw 8ipNxBjhp8CqIUhAk8PzCdqK3BMSCDjbe1qaGPgDg9ybLwTwqx9hMuqZSx3KO/Z03453 PDeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+eUsIboagfbt5X7TXnxMNmBwgN6pjDPHsgh0WWkZfjw=; b=TVVfuZHL4+7G+RKlDDyZvmV6Yp+rHjESG1U0ZsOebVPIjl/i9VLc16JC5TwYihRlE4 pOanQxEDpMapnTa5L8ibctXRurcYwO1pCIoWZaM7enoGZLA/SvWM5gFLHX0/ZEY3COaf HyG9CId5/OrdDocEuJcXJCpFCzMIj4rtk/HvOmMLuXymXH5p5lGhUSiE7VRNalAyEDOJ KdVhtuJppsl7XVKQvLMPGw0jD+uTZ6bVWCjX5MLcgVeiJ+TBYHxX8YWDFnkHqhKWeI2h cX48vc6iEsnDUu6ey2JOzVTrzuowWeZ8/uZdWzrXdg9zVZCbqx89kR/kQn2u9El/b3+a xofQ== X-Gm-Message-State: AHQUAubmRUFT13EYwvwOKIWhX2djyClIaI23pBi3smOiRRZ7PzKGi3Cm I94sDP3UuZ7fxP7aOJYDP6/7oNfdbbZIZYgxsr8= X-Google-Smtp-Source: AHgI3Ia2ebjbuaSOlEKiJAUEYIQxZA0dmm6Q2ieVDSCJ7q4CgXsuoEgbz24ZRPcLLZBe7YC5kXpBN+hNA7cHA7pwWGA= X-Received: by 2002:a5b:383:: with SMTP id k3mr262893ybp.438.1549921198139; Mon, 11 Feb 2019 13:39:58 -0800 (PST) MIME-Version: 1.0 References: <1177d8cd-e03c-a7f7-7a32-a5e27004acad@zoho.com> In-Reply-To: <1177d8cd-e03c-a7f7-7a32-a5e27004acad@zoho.com> From: Nala Ginrut Date: Tue, 12 Feb 2019 05:39:44 +0800 Message-ID: Subject: Re: How do you format date-times in RFC 3339 style? To: sirgazil Cc: Guile User X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::b33 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2019 21:40:07 -0000 Hi there! Guile web module has provided an unexpected API for that: (define write-date (@@ (web http) write-date)) sirgazil =E4=BA=8E 2019=E5=B9=B42=E6=9C=8812=E6=97=A5= =E5=91=A8=E4=BA=8C 03:18=E5=86=99=E9=81=93=EF=BC=9A > Hi, > > I'm generating atom feeds from SXML that don't validate because of the > date-time format I'm using: > > > (use-modules (srfi srfi-19)) > > (date->string (current-date) "~Y-~m-~dT~H:~M.~S~z") > $1 =3D "2019-02-11T13:42.57-0500" > > String $1 is close to the RFC 3339 style,=C2=B9 which is the required for= mat > for atom feeds, but the time zone offset should be -05:00, and Guile's > SRFI-19 ~z time zone escape is RFC 822 style, which formats the time > zone offset as -0500. > > What should I do to get the offset in the required format? > > > Thanks, > > > _____ > > 1. http://www.faqs.org/rfcs/rfc3339.html > > > -- > Luis Felipe L=C3=B3pez Acevedo > http://sirgazil.bitbucket.io/ > > > > From MAILER-DAEMON Mon Feb 11 16:41:06 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gtJK6-0004ac-3e for mharc-guile-user@gnu.org; Mon, 11 Feb 2019 16:41:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtJK3-0004aV-TZ for guile-user@gnu.org; Mon, 11 Feb 2019 16:41:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtJK2-0008CH-Rt for guile-user@gnu.org; Mon, 11 Feb 2019 16:41:03 -0500 Received: from mail-yb1-xb2f.google.com ([2607:f8b0:4864:20::b2f]:43161) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gtJK2-0008BT-MY for guile-user@gnu.org; Mon, 11 Feb 2019 16:41:02 -0500 Received: by mail-yb1-xb2f.google.com with SMTP id s76so178388ybs.10 for ; Mon, 11 Feb 2019 13:41:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=n16JvAogge0eu7psN3XA3VMBcyGInclvD69TqA3oahA=; b=V+ZvVxPst9DtPmqZvTKWojS4+x1CNmFCIDVoS0eh6kpFjIshcV8WTFI/oWbnH06oum RHrcBPSLyHfxX4Olt9YXMA/Im24exD5NlJXrjVazRgPXZNTS9Ko9DwxPbWhxqG4qcZH7 tFknC6b11CZE9+bUEoi/cGsDra/+g/IH2JyYZC0Plx2ZfP5XtR28fg1zr94PKvZRL9BQ SiOrk7lagvMWF0t5ux4OybCcEvy8urggEUMXinXMu/mB4DDDNFKU0NMSXMbscEYf+vJe j4+nnBw8tOOBvfoJeizOQrhfYp3a+LpAXvsiydJAZj8YR4fSidm3e7qcG08fWCTGrMGS sDDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=n16JvAogge0eu7psN3XA3VMBcyGInclvD69TqA3oahA=; b=O7maAmCrsE7r33OBs70NwLTA7tsgvV1bfmfUgpGNBHKBUAIFxPaYx7RQVwsKWO4jLw EtfsgS/kV3cN9aZs3niWd69J2pe/1H2mq65s8BdjJ8jwiD8VroLYja4KEzr/ft7sYGR9 ZaUlQNj8/s3dqFIg7gOeB08NXGH/U9lOSo/64y8qDVBUyO185rBFCZP351K95pG/XHAp MInfal0RYrTfkH1ST54Hf2j3GAPAf4Nh5OmLGSWKiMjaKFS2PldQDmAcdHstKhwLSCyd vDnStQzeMuqwuwvK7bDv2z0BzX8lQDUvSozKQkaPxEo762opqvUBP0Oey2U7LBU3yXWU tw8w== X-Gm-Message-State: AHQUAualghVfVA7feVAELao54ERJanKlbsllzfdi8awOfXDf+TY+9egC mfkp0TeSLydkfoH9K+9voIQeTn/LpinkD0ZC6ptkPg== X-Google-Smtp-Source: AHgI3Ia2JTUCABlUCYX+VBRY7RYlb+iYj+Z32C9JJioQOGfLZvEE4xnlifIx/21oAnqlInVQd6Y3V49FIkmWvFWzTkI= X-Received: by 2002:a25:d788:: with SMTP id o130mr255400ybg.323.1549921261201; Mon, 11 Feb 2019 13:41:01 -0800 (PST) MIME-Version: 1.0 References: <1177d8cd-e03c-a7f7-7a32-a5e27004acad@zoho.com> In-Reply-To: From: Nala Ginrut Date: Tue, 12 Feb 2019 05:40:48 +0800 Message-ID: Subject: Re: How do you format date-times in RFC 3339 style? To: sirgazil Cc: Guile User X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::b2f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2019 21:41:04 -0000 Sorry for typo from input corrector: s/unexpected/unexport Nala Ginrut =E4=BA=8E 2019=E5=B9=B42=E6=9C=8812=E6= =97=A5=E5=91=A8=E4=BA=8C 05:39=E5=86=99=E9=81=93=EF=BC=9A > Hi there! > Guile web module has provided an unexpected API for that: > > (define write-date (@@ (web http) write-date)) > > sirgazil =E4=BA=8E 2019=E5=B9=B42=E6=9C=8812=E6=97=A5= =E5=91=A8=E4=BA=8C 03:18=E5=86=99=E9=81=93=EF=BC=9A > >> Hi, >> >> I'm generating atom feeds from SXML that don't validate because of the >> date-time format I'm using: >> >> > (use-modules (srfi srfi-19)) >> > (date->string (current-date) "~Y-~m-~dT~H:~M.~S~z") >> $1 =3D "2019-02-11T13:42.57-0500" >> >> String $1 is close to the RFC 3339 style,=C2=B9 which is the required fo= rmat >> for atom feeds, but the time zone offset should be -05:00, and Guile's >> SRFI-19 ~z time zone escape is RFC 822 style, which formats the time >> zone offset as -0500. >> >> What should I do to get the offset in the required format? >> >> >> Thanks, >> >> >> _____ >> >> 1. http://www.faqs.org/rfcs/rfc3339.html >> >> >> -- >> Luis Felipe L=C3=B3pez Acevedo >> http://sirgazil.bitbucket.io/ >> >> >> >> From MAILER-DAEMON Tue Feb 12 09:49:03 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gtZMt-00078J-Nf for mharc-guile-user@gnu.org; Tue, 12 Feb 2019 09:49:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36805) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtZMq-00075f-QA for guile-user@gnu.org; Tue, 12 Feb 2019 09:49:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtZMp-0003ES-JG for guile-user@gnu.org; Tue, 12 Feb 2019 09:49:00 -0500 Received: from sender-pp-091.zoho.com ([135.84.80.236]:25118) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gtZMp-0003A2-9X for guile-user@gnu.org; Tue, 12 Feb 2019 09:48:59 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1549982011; cv=none; d=zoho.com; s=zohoarc; b=c0inn7emzR+fAPjS2OgkL0MDw/rl3/0rYfEq3LYNpfxqHN1H35LHYLaZXIjM4FNe+inybZ/vcDgniIh7sKLkaTzVVm2v4g2A01l07UeO4as17lhVNH1TjNOd6YP0pltUvlOo99pMxmBaRba/cup/cE15Ogc2eBB1nFxuJj+w9hk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1549982011; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=RDREKvtxDSiq8ZUWs+RHTgIffWB8tivdkPvFN4ccJj8=; b=knD3p1mvP6BD6+Y0/Es4fC7pvj3/Jbxe1pwUnJ6BGE8wOW44y+cSKyCvk37TF7h56GW3EjDak+P5QTvx/ok8EAcOG5V1Vjg7SUAFEV0GLcaLljV7J8y1jVIMqtfOslCctpVSi5SyLZrN0WlbyXktectWL0vFwo6g8q2yqg46fJU= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=sirgazil@zoho.com; dmarc=pass header.from= header.from= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=subject:to:cc:references:from:message-id:date:user-agent:mime-version:in-reply-to:content-type; b=ln8OdM1wzqzn3gR1veGQrZvIRMf/XJbbraWc6TfRNHYXrexhG6jmd7oQ4RPuJqg0gR3o2riZif+x 7+pA/+kAN3h45q7TVwC0h1A2PaOvzJpkr+p/ehZQgfbxfGE7kuqL DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1549982011; s=default; d=zoho.com; i=sirgazil@zoho.com; h=Subject:To:Cc:References:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding; l=1760; bh=RDREKvtxDSiq8ZUWs+RHTgIffWB8tivdkPvFN4ccJj8=; b=ab8KFLbbHnxBRhp1NGQMaPaLDPwepqx6JItcOoz/0cDVUg8CHaW/kBubL5Y3yNeL mWZgBTafQ6S5+aozyT9cbpNG72H3BSJksClh1aeFpOF+g7qn5KMQHBNeJKQ4b95/JLj TValJUNoLl38Pb/kR2RgPA5wpYZ8gUZTibbTDris= Received: from [192.168.1.57] (181.130.25.222 [181.130.25.222]) by mx.zohomail.com with SMTPS id 1549982009812494.28517079246444; Tue, 12 Feb 2019 06:33:29 -0800 (PST) Subject: Re: How do you format date-times in RFC 3339 style? To: Nala Ginrut Cc: Guile User References: <1177d8cd-e03c-a7f7-7a32-a5e27004acad@zoho.com> From: sirgazil Message-ID: <5cafe77b-4e86-7790-68b7-7279a8c45852@zoho.com> Date: Tue, 12 Feb 2019 09:33:27 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 135.84.80.236 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2019 14:49:02 -0000 Hi, Nala :) El 11/02/19 a las 4:39 p. m., Nala Ginrut escribi=C3=B3: > Hi there! > Guile web module has provided an unexpected API for that: >=20 > (define write-date (@@ (web http) write-date)) I think I prefer using public procedures, so I'll leave the error there=20 for now. But I'm curious, how do you get the time zone offset using `write-date`? > (use-modules (srfi srfi-19)) > > (define write-date (@@ (web http) write-date)) > (call-with-output-string (lambda (port) (write-date (current-date)=20 port))) $1 =3D "Tue, 12 Feb 2019 14:23:52 GMT" I was hoping `write-date` would write the date/time in RFC 3339 format=20 (https://tools.ietf.org/html/rfc3339#section-5.8). > sirgazil > =E4=BA=8E 2019=E5= =B9=B42=E6=9C=8812=E6=97=A5=20 > =E5=91=A8=E4=BA=8C 03:18=E5=86=99=E9=81=93=EF=BC=9A >=20 > Hi, >=20 > I'm generating atom feeds from SXML that don't validate because of th= e > date-time format I'm using: >=20 > =C2=A0> (use-modules (srfi srfi-19)) > =C2=A0> (date->string (current-date) "~Y-~m-~dT~H:~M.~S~z") > $1 =3D "2019-02-11T13:42.57-0500" >=20 > String $1 is close to the RFC 3339 style,=C2=B9 which is the required= format > for atom feeds, but the time zone offset should be -05:00, and Guile'= s > SRFI-19 ~z time zone escape is RFC 822 style, which formats the time > zone offset as -0500. >=20 > What should I do to get the offset in the required format? >=20 >=20 > Thanks, >=20 >=20 > _____ >=20 > 1. http://www.faqs.org/rfcs/rfc3339.html >=20 >=20 > --=20 > Luis Felipe L=C3=B3pez Acevedo > http://sirgazil.bitbucket.io/ >=20 >=20 >=20 --=20 Luis Felipe L=C3=B3pez Acevedo http://sirgazil.bitbucket.io/ From MAILER-DAEMON Tue Feb 12 11:19:15 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gtamB-00088U-85 for mharc-guile-user@gnu.org; Tue, 12 Feb 2019 11:19:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60430) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtam8-00085v-3U for guile-user@gnu.org; Tue, 12 Feb 2019 11:19:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtam6-00081a-4I for guile-user@gnu.org; Tue, 12 Feb 2019 11:19:12 -0500 Received: from mail-yw1-xc29.google.com ([2607:f8b0:4864:20::c29]:35383) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gtam5-0007yP-Ub for guile-user@gnu.org; Tue, 12 Feb 2019 11:19:10 -0500 Received: by mail-yw1-xc29.google.com with SMTP id s204so1226006ywg.2 for ; Tue, 12 Feb 2019 08:19:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KloeUEwxssFaGrRTc7+L4oS4ucpt0AOJKJiDoXi+pRk=; b=CAe3VsP99jxOqPv8vK6pGUVJOog2rj+zPnatvo9TAYmO9Gas0qoAEdNS536YtUjPLP lutCU9OKFFvJ43bYAa9W3+QADVn5Lses0PLRPphcN6OgiOwmBKBcVgGnMj2BF//SYw62 IjH4oe8PT7VVQvYK3iKFCSxfe7tkwhs+TitwaF6Ci8YINcxbQatKLM+KG/myotBl/JDY qPXJF+TaUCcfxxcXRAgut3dgj5Tm7to7hKVCBR/wjrl3Ts6rEVxX/re5Q+8pfqOJCT5M so1nZiB2vYJh7lEe6+82aDcA7hQoxIdMLmleMPkgKyDNNUHOA+plyXHJMl9ROobB76Kq mK/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KloeUEwxssFaGrRTc7+L4oS4ucpt0AOJKJiDoXi+pRk=; b=SBE6iKS6dfbU20vSpovKsRCIhw8ygDmtCgAvmmcd/6lVLwJ9UgDhXKmUJWgz7q/Trw KBPyy6ioaznXHAs4nURQzwRBN1FntV0QXRKbbAYt4LyaBaVesuqPPSUgl4oxIvP947Ci a9YIi2+kvhIcqzKwjZyE/3SMywAMhe3qikogeB1rYEwd7j8tqMEEcq0e/bmzSTyK1oLR j4gqKmylpDEv7AP5yzN13Ff4/pCb+lanT0XCxW7OLXzw8EsjYapAq3dp2pK781s7cvxN 7hHs+4OzFFvysdZH1Ey1C6YMA3G1g0f32jxb9fVbQre6LpY0WCNWzwmrVz8rxKORlGsF q7wA== X-Gm-Message-State: AHQUAuYCHz8Cv4R/Udyzv+yKf0kgBvRJibBMFVg3qf6xads3QXZBT+oP vRXFMqJsZ8dFMcM6CPaUio7Fj1cYl1a5M6kVUUA= X-Google-Smtp-Source: AHgI3IaXyeoBmxJxUZzfNE0D98cbUnR7oxvomoxZs35bpQKlLF8Pc201wXlUGFvD6eGDz3valKLOyvjZfmwPWRfAJi0= X-Received: by 2002:a0d:c5c2:: with SMTP id h185mr740676ywd.26.1549988346893; Tue, 12 Feb 2019 08:19:06 -0800 (PST) MIME-Version: 1.0 References: <1177d8cd-e03c-a7f7-7a32-a5e27004acad@zoho.com> <5cafe77b-4e86-7790-68b7-7279a8c45852@zoho.com> In-Reply-To: <5cafe77b-4e86-7790-68b7-7279a8c45852@zoho.com> From: Nala Ginrut Date: Wed, 13 Feb 2019 00:18:53 +0800 Message-ID: Subject: Re: How do you format date-times in RFC 3339 style? To: sirgazil Cc: Guile User X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::c29 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2019 16:19:13 -0000 Sorry for the misleading, what I thought is RFC1123. Please ingnore my answer. :-( From MAILER-DAEMON Tue Feb 12 13:16:17 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gtcbR-0002cn-9V for mharc-guile-user@gnu.org; Tue, 12 Feb 2019 13:16:17 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtcbN-0002ZT-UN for guile-user@gnu.org; Tue, 12 Feb 2019 13:16:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtcbM-000088-NF for guile-user@gnu.org; Tue, 12 Feb 2019 13:16:13 -0500 Received: from sender-pp-091.zoho.com ([135.84.80.236]:25032) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gtcbH-00088z-9O for guile-user@gnu.org; Tue, 12 Feb 2019 13:16:08 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1549995344; cv=none; d=zoho.com; s=zohoarc; b=nUcoCChRZha4K0jum1PEmto/S2s9T1xTy4CBuRlEeAuUwb/TfiChPZbw3UKR7KSqP37Bvj98gD5cUMC5Exlv/SXFwurgFGlINxiY2uKvVNjjfZYPpPoW7ANdkWqRe8NErYiZGF6JIp72mawSyp/bO5Mlnh5qJ0ADUAVXj6i0dPU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1549995344; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=1W+FAf7nkPdErTJSnf5nkqvrIz7T25xEcL/bYtZqqk4=; b=OqYtPisl/el7z0Aj+HhsLLXNzX4SGdfi3NQXAWdNtQDRWmni/CMmxsV43i+Gs0bcAx42qH7i4XsoCKHVmZOia3jD+l8POtEuIFBFrZmc/H0qSEC+BsBc7EwJZIL589ost0va0OouvqCC4VS3RGwOuj9jnwurSOKoTjAcqUQfxCM= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=sirgazil@zoho.com; dmarc=pass header.from= header.from= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=subject:to:cc:references:from:message-id:date:user-agent:mime-version:in-reply-to:content-type; b=bDSFG3LCWkar2Bty1/7hd04/3NZdLnY/K3O7YYQtL6LCSWsQOx5C8+icZNAYvN7Spxh9/CuDTIyK sbBwWltk2PzwbvgaVW7WJQOrWtTfGEccdDTYtx0cbDkM36s7md2x DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1549995344; s=default; d=zoho.com; i=sirgazil@zoho.com; h=Subject:To:Cc:References:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding; l=912; bh=1W+FAf7nkPdErTJSnf5nkqvrIz7T25xEcL/bYtZqqk4=; b=PrHlKunhRP+4CZOtTdeo0OV1+d6pKwZKLEfA9yulIYppbhOTKf1hUa1jx6QUSLiG 23N1gUM2uPdz/p04cPLoPSt+PnERq8rjeLAQkaZOLob/RTSbn79pKLWkCYi/F4c0SWG d6y0JLt9DTjWkROMKTyQtFdvpjqe2GsrPnUvLh4g= Received: from [192.168.1.57] (181.130.25.222 [181.130.25.222]) by mx.zohomail.com with SMTPS id 1549995343361293.73377827632805; Tue, 12 Feb 2019 10:15:43 -0800 (PST) Subject: Re: How do you format date-times in RFC 3339 style? To: Ricardo Wurmus Cc: Nala Ginrut , Guile User References: <1177d8cd-e03c-a7f7-7a32-a5e27004acad@zoho.com> <5cafe77b-4e86-7790-68b7-7279a8c45852@zoho.com> <875ztpj6if.fsf@elephly.net> From: sirgazil Message-ID: Date: Tue, 12 Feb 2019 13:15:41 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <875ztpj6if.fsf@elephly.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 135.84.80.236 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2019 18:16:16 -0000 El 12/02/19 a las 11:50 a. m., Ricardo Wurmus escribi=C3=B3: >=20 > sirgazil writes: >=20 >> El 11/02/19 a las 4:39 p. m., Nala Ginrut escribi=C3=B3: >>> 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. >=20 > I suppose you could hack your way around this: >=20 > (use-modules (srfi srfi-19)) > (let* ((now (current-date)) > (tz (date->string now "~z"))) > (string-append (date->string now "~Y-~m-~dT~H:~M.~S") > (string-drop-right tz 2) ":" (string-take-right tz 2))) >=20 > What do you think? Well, I was trying to avoid that hoping to find an obscure RFC 3339=20 module or something first... But thanks, Ricardo :) --=20 Luis Felipe L=C3=B3pez Acevedo http://sirgazil.bitbucket.io/ From MAILER-DAEMON Tue Feb 12 13:19:57 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gtcez-0005cJ-CG for mharc-guile-user@gnu.org; Tue, 12 Feb 2019 13:19:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36652) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtcew-0005aB-UF for guile-user@gnu.org; Tue, 12 Feb 2019 13:19:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtceg-00051T-S1 for guile-user@gnu.org; Tue, 12 Feb 2019 13:19:43 -0500 Received: from sender-pp-091.zoho.com ([135.84.80.236]:25074) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gtcef-0003vB-Pk for guile-user@gnu.org; Tue, 12 Feb 2019 13:19:38 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1549992797; cv=none; d=zoho.com; s=zohoarc; b=PAx1uopL9jPEIu+X7z3l7TDZaHQdkkhzDoDXlc8n80hrNN18fP+vKpTrNhAR+Xm1b/K1eiPS97Sp8G87j/weEoxdlpxGmKtOlJRkbiKf12EkW873/8+vhWCxi5QdnEpj4p/eIWqroZU2UMMFJX1v+LUvE4ky0gN2Un7+jF3jVd8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1549992797; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=MukxHX3fc1KkqjOCmX5FeqYI69youOLh0A4Vo/DDdwI=; b=mQwWFycg02+TfZPxHgcGEWeQagw881yUdFHqE8lZnvOLepRJxbQeWe7fwMor4ntCZX3pQLg4woRikDXF8s7/24IybVQpU/fZpw30TI4XXeSC6zCoDwXcyoI1KB076HMjRkKgj61VdHmCebuxyonmc/U1PuK1HO4Lw5CfbzI8q5Y= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=sirgazil@zoho.com; dmarc=pass header.from= header.from= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=subject:to:cc:references:from:message-id:date:user-agent:mime-version:in-reply-to:content-type; b=QE3BeCrTeSu7Otnr7K9PtIQI2gFTAKr7PRrrhw5elH4maQQ9CgxIV5RMGCPHl/0NbZRE2Dkvt3H3 W0mDKsTNpmgysu0xiBdoRlMQH/+5l+C9AwZ98ta41dsLwe7d6qhq DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1549992797; s=default; d=zoho.com; i=sirgazil@zoho.com; h=Subject:To:Cc:References:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding; l=253; bh=MukxHX3fc1KkqjOCmX5FeqYI69youOLh0A4Vo/DDdwI=; b=CM2Xg5kCRfeEieqdf4WbIettTcvcc30hzLJF6pfya6bUyQ/0hE4YnOc1rFXcRPop biax4gPEDTij0r5/iDUJPC5nLwhO/O0KeEUN+DVFaRB3YH8sEhi6GB1/JDwHp/vdBzH GmvmGOe8DI23IDMvIuYoE0UqMHCanB2y1nGyxM1w= Received: from [192.168.1.57] (181.130.25.222 [181.130.25.222]) by mx.zohomail.com with SMTPS id 1549992795842555.0737418045212; Tue, 12 Feb 2019 09:33:15 -0800 (PST) Subject: Re: How do you format date-times in RFC 3339 style? To: Nala Ginrut Cc: Guile User References: <1177d8cd-e03c-a7f7-7a32-a5e27004acad@zoho.com> <5cafe77b-4e86-7790-68b7-7279a8c45852@zoho.com> From: sirgazil Message-ID: Date: Tue, 12 Feb 2019 12:33:13 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 135.84.80.236 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2019 18:19:55 -0000 El 12/02/19 a las 11:18 a. m., Nala Ginrut escribi=C3=B3: > Sorry for the misleading, what I thought is RFC1123. Please ingnore my=20 > answer. :-( Ha ha, no problem, Nala :) --=20 Luis Felipe L=C3=B3pez Acevedo http://sirgazil.bitbucket.io/ From MAILER-DAEMON Tue Feb 12 13:29:41 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gtcoP-0005Ui-Ij for mharc-guile-user@gnu.org; Tue, 12 Feb 2019 13:29:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40411) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtcoN-0005S4-1O for guile-user@gnu.org; Tue, 12 Feb 2019 13:29:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtcoL-0001ZN-EM for guile-user@gnu.org; Tue, 12 Feb 2019 13:29:38 -0500 Received: from mout02.posteo.de ([185.67.36.66]:44509) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gtcoI-00018q-Eu for guile-user@gnu.org; Tue, 12 Feb 2019 13:29:36 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 7F0F02400FC for ; Tue, 12 Feb 2019 19:29:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.eu; s=2017; t=1549996151; bh=6JYR8YwANrz+wrrRy0ppJ8MIPdSoGsbAZ/RB4KJBktA=; h=To:Subject:Cc:From:Date:From; b=Rm2zTCBcJdn3hLoBVfIomuEnyOPgICUKpFedFhYH8Qco3+u5waHksMtUcdKQvvr/6 TvB+9ZZy3Z9f75jIqi6nm1bfH6dB1ARbsPLIZuP3QFdqq1QxzYzAnJC8UK8fa09e8g 0AbBybHR9qOqEsHsP3++p8zkTZ0Y5qM3iOLrSRxFfA3qrPqVctSpWtFroxBRKcLiro XdKipgT48cNEl944LjR6q04ahNW6VY5voG2WS7eXF4ZLgWyDlu9PhfLKK8QluG9AkO TzbycqMcNhviF6Pv30IlKZ0x2dM2fPO1gIHlZU2EVKXzbWues3xj5FhLNNPcgVYdfO TNcV5LMat8y3A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 43zWQG661Pz9rxK; Tue, 12 Feb 2019 19:29:10 +0100 (CET) To: sirgazil@zoho.com References: Subject: How do you format date-times in RFC 3339 style? Cc: guile-user@gnu.org From: tantalum Message-ID: Date: Tue, 12 Feb 2019 18:29:02 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-AT Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 185.67.36.66 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2019 18:29:40 -0000 i once wrote a rfc3339 reader/writer and worked through some gotchas, maybe the code contains hints that are helpful. for example, here is a function that converts from a timestamp to a rfc3339 date string: (define* (utc->rfc3339 a #:optional (offset 0) (seconds-fraction 0)) "integer:posix-time -> string" (let ( (date-time (let (t (gmtime (+ a offset))) (apply (l (y m d h mi s) (string-append y "-" m "-" d "T" h ":" mi ":" s (if (zero? seconds-fraction) "" (string-append "." (number->string seconds-fraction))))) (map number->padded-string (list (+ 1900 (tm:year t)) (+ 1 (tm:mon t)) (tm:mday t) (tm:hour t) (tm:min t) (tm:sec t)))))) (offset (if (zero? offset) "Z" (apply (l (sign numbers) (string-append sign (string-join (map number->padded-string numbers) ":"))) (let* ((hms (drop-right (utc-duration->hms offset) 1)) (hours (first hms))) (if (any negative? hms) (list "-" (map (l (a) (* -1 a)) hms)) (list "+" hms))))))) (string-append date-time offset))) l: lambda, first: car the code passes these tests (examples of valid strings): https://github.com/sph-mn/sph-lib/blob/master/modules/test/module/sph/time/rfc3339.scm for reference, the complete code: https://github.com/sph-mn/sph-lib/blob/master/modules/sph/time/rfc3339.scm From MAILER-DAEMON Tue Feb 12 13:33:39 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gtcsF-0000Fu-Hu for mharc-guile-user@gnu.org; Tue, 12 Feb 2019 13:33:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41577) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtcsC-0000D4-FG for guile-user@gnu.org; Tue, 12 Feb 2019 13:33:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtcs7-0004Ye-Ls for guile-user@gnu.org; Tue, 12 Feb 2019 13:33:34 -0500 Received: from mout01.posteo.de ([185.67.36.65]:48747) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gtcs2-0003kL-KM for guile-user@gnu.org; Tue, 12 Feb 2019 13:33:28 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 1E786160073 for ; Tue, 12 Feb 2019 19:33:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.eu; s=2017; t=1549996396; bh=Bwz+IM4LnAgljBZ7dEmb33gm2IhUWNpeXjHBbng4/qg=; h=Date:From:To:Cc:Subject:From; b=Suyx7rYt2jaxbRkxwizuZsxdGHMozjPGKT58Lif4UdcQB5NpiZi9/qTxxWNxoHAW8 5T/o3SWeFl0SOK9ctvvKh2zEdlFXRMnoii+xXt7yXP0veUgFEEXhW3MphCFrgHWsL/ jWjinJcH6sWh73phSK+Fxhg5dZ7FES74FEl1FB/9oJi1HbYR006SVUgSe+uhmtibu4 K9KoeZrrOjE9sLW8KcF6dBIQ+uP539GB/6o1qM27cB85+7Dzin5PJ08v168gzQSrS8 Nuhhv7gHaLlwBcI5zXoqz4uN40D1gXRPop9W/jspVy7/PbE+tWj5QqbNFa/rCprKaN xIcFyLjTHSuZQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 43zWVy3HGZz6tmQ; Tue, 12 Feb 2019 19:33:14 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 12 Feb 2019 18:33:14 +0000 From: tantalum To: sirgazil@zoho.com Cc: Guile user Subject: Re: How do you format date-times in RFC 3339 =?UTF-8?Q?style=3F?= Reply-To: sph@posteo.eu Mail-Reply-To: sph@posteo.eu Message-ID: <17d5e70bc030f2d4577d9a81e6b0e45b@posteo.de> X-Sender: sph@posteo.eu User-Agent: Posteo Webmail X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 185.67.36.65 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2019 18:33:37 -0000 i once wrote a rfc3339 reader/writer and worked through some gotchas, maybe the code contains hints that are helpful. for example, here is a function that converts from a timestamp to a rfc3339 date string: (define* (utc->rfc3339 a #:optional (offset 0) (seconds-fraction 0)) "integer:posix-time -> string" (let ( (date-time (let (t (gmtime (+ a offset))) (apply (l (y m d h mi s) (string-append y "-" m "-" d "T" h ":" mi ":" s (if (zero? seconds-fraction) "" (string-append "." (number->string seconds-fraction))))) (map number->padded-string (list (+ 1900 (tm:year t)) (+ 1 (tm:mon t)) (tm:mday t) (tm:hour t) (tm:min t) (tm:sec t)))))) (offset (if (zero? offset) "Z" (apply (l (sign numbers) (string-append sign (string-join (map number->padded-string numbers) ":"))) (let* ((hms (drop-right (utc-duration->hms offset) 1)) (hours (first hms))) (if (any negative? hms) (list "-" (map (l (a) (* -1 a)) hms)) (list "+" hms))))))) (string-append date-time offset))) l: lambda, first: car the code passes these tests (examples of valid strings): https://github.com/sph-mn/sph-lib/blob/master/modules/test/module/sph/time/rfc3339.scm for reference, the complete code: https://github.com/sph-mn/sph-lib/blob/master/modules/sph/time/rfc3339.scm From MAILER-DAEMON Tue Feb 12 13:37:05 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gtcvZ-0002mN-MB for mharc-guile-user@gnu.org; Tue, 12 Feb 2019 13:37:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtcvU-0002kX-Ua for guile-user@gnu.org; Tue, 12 Feb 2019 13:37:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtcvT-0006Bb-W3 for guile-user@gnu.org; Tue, 12 Feb 2019 13:37:00 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21044) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gtcvS-0004rI-IN for guile-user@gnu.org; Tue, 12 Feb 2019 13:36:59 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1549990221; cv=none; d=zoho.com; s=zohoarc; b=caVWX40NDb0kdl90siVpm32bbO/3Bb+dEwj+Ui0SnYQSR/lNmYYJHclHruM48Oq3Uay4wRf0Nt7sftJDIKazRA4C5zF1iCmQqTshqzWX1bnDck8J+zsYmmbs4aL7gI6zuC52+DpE8o/m5vZIlQQcssNYR1cNfSYcYVyn1k86zTE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1549990221; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=/lOcFAjs/66+YX+h/WOnCsLIReQ7Dq8rrLb/D3UH4Rc=; b=g2D8/8N+r4Z4NoxnUsPJ+92WYKSXLoG+9uIoolG3fz8Ytm4Zu/BSQk+ABZqBPhjax31+5hgMdOOHO7E68PDwM+kby/zVQ97hN3AE4avUdSq4nQpXked6Eu/D1BI8I53CMra8X/Gl4PUjdsOiR2Nww4NniLRu93XPJc9h1SpTMJA= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1549990221; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=623; bh=/lOcFAjs/66+YX+h/WOnCsLIReQ7Dq8rrLb/D3UH4Rc=; b=FPei0+FLXZMQBg7XWo6KUPJA0eomV8umnvhGYuP9nUTAsgLqs1+z+wfK7H6Q6RBQ q1YUa9N7nWzAjA8RY0WOnb24VqILBmjXtCW7K779sfohlqLTh66mSetK90FjvFuhExx b9JDA5Go5+KOHM6qcGB1cvMnxsuebD7rdyV9ZOwY= Received: from localhost (141.80.247.226 [141.80.247.226]) by mx.zohomail.com with SMTPS id 1549990220046644.1053872498973; Tue, 12 Feb 2019 08:50:20 -0800 (PST) References: <1177d8cd-e03c-a7f7-7a32-a5e27004acad@zoho.com> <5cafe77b-4e86-7790-68b7-7279a8c45852@zoho.com> User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus To: sirgazil Cc: Nala Ginrut , Guile User Subject: Re: How do you format date-times in RFC 3339 style? In-reply-to: <5cafe77b-4e86-7790-68b7-7279a8c45852@zoho.com> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Tue, 12 Feb 2019 17:50:16 +0100 Message-ID: <875ztpj6if.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 135.84.80.216 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2019 18:37:04 -0000 sirgazil writes: > El 11/02/19 a las 4:39 p. m., Nala Ginrut escribi=C3=B3: >> 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 suppose you could hack your way around this: (use-modules (srfi srfi-19)) (let* ((now (current-date)) (tz (date->string now "~z"))) (string-append (date->string now "~Y-~m-~dT~H:~M.~S") (string-drop-right tz 2) ":" (string-take-right tz 2))) What do you think? --=20 Ricardo From MAILER-DAEMON Wed Feb 13 09:52:13 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gtvtU-0003q4-Sp for mharc-guile-user@gnu.org; Wed, 13 Feb 2019 09:52:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtvtN-0003LB-9P for guile-user@gnu.org; Wed, 13 Feb 2019 09:52:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtvex-0005Er-1r for guile-user@gnu.org; Wed, 13 Feb 2019 09:37:12 -0500 Received: from sender-pp-091.zoho.com ([135.84.80.236]:25133) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gtvew-000590-Qm for guile-user@gnu.org; Wed, 13 Feb 2019 09:37:10 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1550067707; cv=none; d=zoho.com; s=zohoarc; b=ZLCZsBVWf4h8Ka4f6WYw5lniZvV1U9dCVH4VtXuzwMGthYsgN+yuPHNuisWWIGyn5FrxmCKMP4HkX6NyDiD0AV40JFJx2IUTupO9Wp7RktIxYZVGZf8gTuZ0gQRKSnwBiGLEkjZtFp64ASSPNs2aJMDt8Pa2KuuDamZRujuHt2g= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1550067707; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=lk8HbsZjAhHQXeSVJxZrizor4d7mJ3mKrnDuPEwyW0g=; b=m3BjBf3wlpEWaTHrLksLMu/9AY4JF7Qf8FlqFfcT8RsLXggRrZApaREaRifqnymAj+sgYTy+fiaU9GkRatqEmGU0okMWSQmv89lY5BfXfpx090OCM4mEPNvg42xbQMwl2/ChmLUN+e1SoB33IE2t/MP20fIB1vkzjIkmoDuJCvg= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=sirgazil@zoho.com; dmarc=pass header.from= header.from= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=subject:to:cc:references:from:message-id:date:user-agent:mime-version:in-reply-to:content-type; b=oCbkQFL0LVeBZl1MooMX8RUL2zW2rqJDv9zrx7y3Zh2P3PWsCTymVDLrqSV8Ipquc97sBd2HMxsT ERC29qxigVhK2FHst5OZtGSSJTFR7TUpce4RWhtJwbnE61Y5gOVw DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1550067707; s=default; d=zoho.com; i=sirgazil@zoho.com; h=Subject:To:Cc:References:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding; l=3796; bh=lk8HbsZjAhHQXeSVJxZrizor4d7mJ3mKrnDuPEwyW0g=; b=mlPl97a1ryT7+H5MfN85LWDolA0a/NdaXRmfiDl67HvONV4HGqpU9yPqkwPD6zI1 /jSaaF+CphDiC3ZEHs6fo1BC77Tgs4mfriMhhHOABcYoZRmHRbM20DmOl2GXXS1D3NX nPcwY8sYVvS+meOFsi4vxAncUzu8Jc+mGW3AHc5k= Received: from [192.168.1.57] (181.130.25.222 [181.130.25.222]) by mx.zohomail.com with SMTPS id 1550067705522730.2607585327311; Wed, 13 Feb 2019 06:21:45 -0800 (PST) Subject: Re: How do you format date-times in RFC 3339 style? To: sph@posteo.eu Cc: Guile user References: <17d5e70bc030f2d4577d9a81e6b0e45b@posteo.de> From: sirgazil Message-ID: Date: Wed, 13 Feb 2019 09:21:43 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <17d5e70bc030f2d4577d9a81e6b0e45b@posteo.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 135.84.80.236 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2019 14:52:11 -0000 Hi, tantalum. El 12/02/19 a las 1:33 p. m., tantalum escribi=C3=B3: > i once wrote a rfc3339 reader/writer and worked through some gotchas,=20 > maybe the code contains hints that are helpful. > for example, here is a function that converts from a timestamp to a=20 > rfc3339 date string: >=20 > =C2=A0 (define* (utc->rfc3339 a #:optional (offset 0) (seconds-fraction = 0)) > =C2=A0=C2=A0=C2=A0 "integer:posix-time -> string" > =C2=A0=C2=A0=C2=A0 (let > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ( (date-time > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (let (t (gmtime (= + a offset))) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (appl= y > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 (l (y m d h mi s) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 (string-append y "-" > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 m "-" > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 d "T" > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 h ":" > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 mi ":" > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 s > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (if (zero? seconds-fraction) "" > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (string-append "." (number->stri= ng=20 > seconds-fraction))))) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 (map number->padded-string > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 (list (+ 1900 (tm:year t)) (+ 1 (tm:mon t)) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (tm:mday t) (tm:hour t) (tm:min t) (tm:sec t= )))))) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (offset > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (if (zero? offset= ) "Z" > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (appl= y > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 (l (sign numbers) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 (string-append sign (string-join (map=20 > number->padded-string numbers) ":"))) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 (let* ((hms (drop-right (utc-duration->hms offset) 1))=20 > (hours (first hms))) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 (if (any negative? hms) (list "-" (map (l (a) (* -1 a))= =20 > hms)) (list "+" hms))))))) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (string-append date-time offset))) >=20 > l: lambda, first: car >=20 > the code passes these tests (examples of valid strings): > https://github.com/sph-mn/sph-lib/blob/master/modules/test/module/sph/tim= e/rfc3339.scm=20 From these tests, I think this could work for me, thanks. > for reference, the complete code:=20 > https://github.com/sph-mn/sph-lib/blob/master/modules/sph/time/rfc3339.sc= m You know what would be great? If you packaged "sph-lib" for GNU Guix :)=20 That way I could easily install it and your library would be visible in=20 the list of packages in Guile website. --=20 Luis Felipe L=C3=B3pez Acevedo http://sirgazil.bitbucket.io/ From MAILER-DAEMON Thu Feb 14 14:27:08 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1guMf6-0007JJ-Kb for mharc-guile-user@gnu.org; Thu, 14 Feb 2019 14:27:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59120) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guMf4-0007Hq-99 for guile-user@gnu.org; Thu, 14 Feb 2019 14:27:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1guMf2-0003jj-9l for guile-user@gnu.org; Thu, 14 Feb 2019 14:27:06 -0500 Received: from mout01.posteo.de ([185.67.36.65]:57859) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1guMf1-0003iU-ID for guile-user@gnu.org; Thu, 14 Feb 2019 14:27:04 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 52B6A16005E for ; Thu, 14 Feb 2019 20:27:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.eu; s=2017; t=1550172420; bh=4SfnNRV9TtK7VTrvi43nU9fh+L6c+QTOA1rF1vZVmCM=; h=Date:From:To:Cc:Subject:From; b=lrkWUrUkFwh4ZXkA7YBHgye/QbMvJT58MMkvl29jdCuOezXCyoNNJycptv7RjiYNx aWI79DMcgJ7KN08CKUaptFsglAVKS1HLcDmYcTZmtT+t9Ix8n4htrslz+QbbdCnqkF Bt440OzSd4jP6ZoKMfXibOVjFi5Wqex9eGPZmEhkwTMh9XeqPZV6K9m7+ouQ/oC6cx 9iuO/KtB9Xz5VvexetQUN2lIds4S4auisXjIvoklRGlwncpG4tbu+8W3xfejLd2oAa s0uMumR+ufV4rw63cgdmxdEU0pjn2QkPUmvtgP7KkJjBmDkScE3M+53y7ziY73CPMC vbib330LDmHiQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 440mc36DKPz6tmB; Thu, 14 Feb 2019 20:26:59 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 14 Feb 2019 19:26:59 +0000 From: tantalum To: sirgazil Cc: Guile user Subject: Re: How do you format date-times in RFC 3339 =?UTF-8?Q?style=3F?= Reply-To: sph@posteo.eu Mail-Reply-To: sph@posteo.eu In-Reply-To: References: <17d5e70bc030f2d4577d9a81e6b0e45b@posteo.de> Message-ID: <91d78f1cceba92491f721937389affca@posteo.de> X-Sender: sph@posteo.eu User-Agent: Posteo Webmail X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 185.67.36.65 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Feb 2019 19:27:07 -0000 > 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. From MAILER-DAEMON Thu Feb 14 16:25:58 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1guOW6-0003ob-Gj for mharc-guile-user@gnu.org; Thu, 14 Feb 2019 16:25:58 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57203) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guOW2-00034z-BV for guile-user@gnu.org; Thu, 14 Feb 2019 16:25:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1guOKb-0002Q2-NM for guile-user@gnu.org; Thu, 14 Feb 2019 16:14:06 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21091) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1guOKb-0002PD-8m for guile-user@gnu.org; Thu, 14 Feb 2019 16:14:05 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1550178828; cv=none; d=zoho.com; s=zohoarc; b=idbjPdfCqe9DWhVWaVF7480BTz4kAVmIraOGfKIq1NpL7TrvzxeSeP9jdcy1j1wsHqSAxCXdhp+VVZrkKcfET6UdFWfaCaR7xDkzr1izGSVcCgPjWVh9VqSMwDiEdQ+ipiquLrgFegHe1qqiE2uVJ6mRaB9hvd5YSI001r+nXrk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1550178828; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=omFgvLt2Ch1/QZIAgNWGc1DMJOVvexWhXSWSNR/4Sn0=; b=hhc4fq59FHmODYgvYK7DS0wp5GfqUvA16fTD30hW1Tpuwc2rZSlVqkPNdKg78hxodba++ntJcxw7NzY0yB7J5MCR9L9LyyFyikSZifsYp6NqgiZtEnhqCq3i3+myZGY+vCg9CdwXVElOnv6//MOK+3KClzLmRAPDc8U/JyjhoBY= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1550178828; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type; l=470; bh=omFgvLt2Ch1/QZIAgNWGc1DMJOVvexWhXSWSNR/4Sn0=; b=IDBYHUiXWeBnRFd776IrRYiu8D5RRkD5iEv7f9ooHlg+eBYYq3E+NFuzUyJDxf7e K87LGNktSReN37udCOM3wbPJ95Q1x3JOmyPUM9USAFtVHFDKEVOMIScY462HG3kPMVk tdUdr1ZfukCd6Cw2xdlLQmhmai2F851ZenB9oHq0= Received: from localhost (p3E9E9FA4.dip0.t-ipconnect.de [62.158.159.164]) by mx.zohomail.com with SMTPS id 1550178827773884.5708864964341; Thu, 14 Feb 2019 13:13:47 -0800 (PST) References: <17d5e70bc030f2d4577d9a81e6b0e45b@posteo.de> <91d78f1cceba92491f721937389affca@posteo.de> User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus To: sph@posteo.eu Cc: sirgazil , Guile user Subject: Re: How do you format date-times in RFC 3339 style? In-reply-to: <91d78f1cceba92491f721937389affca@posteo.de> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Thu, 14 Feb 2019 22:13:43 +0100 Message-ID: <8736oqhy48.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 135.84.80.216 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Feb 2019 21:25:57 -0000 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 the guile-build-system. You can look at guile-picture-language in gnu/packages/guile-xyz.scm in the Guix sources for an example. -- Ricardo From MAILER-DAEMON Fri Feb 15 11:18:10 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gugBm-0003lF-0j for mharc-guile-user@gnu.org; Fri, 15 Feb 2019 11:18:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52489) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gugBj-0003ir-Av for guile-user@gnu.org; Fri, 15 Feb 2019 11:18:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gugBi-0006p5-94 for guile-user@gnu.org; Fri, 15 Feb 2019 11:18:07 -0500 Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]:39492) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gugBi-0006nA-21 for guile-user@gnu.org; Fri, 15 Feb 2019 11:18:06 -0500 Received: by mail-ed1-x52e.google.com with SMTP id p27so861114edc.6 for ; Fri, 15 Feb 2019 08:18:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:reply-to:date:message-id:mime-version; bh=6vR64pcT5HGYE2yZ3i6p2tTYLxQoKLwAfpTgFDDOoAU=; b=rHheHsljq9FvzZSCmdyhUx7VYFNjJVGWOqHj0HVMfIXcW7iR0KK3DX6edxbN/OpOCW RwWoEomN5AW74jUOLcre3+rzAwDQrGZng7KNJfkZq5limA/ylsziR/9bURYe1+JlhPly Cvbiiu8CcrLYWRLH0Mu9oxoaHkWnVo7llf9FBE0B7gZLDuaCcHvDEfj/lIs4p6ENQCs0 rlx5pNGewDb+4J47l/TI3LQ9EmvqTzFr8xmDFfCROsnVTf6oEsqfJbhKQkYBuvbK6gSI 3NFnegTqH1T8FfjLmZtXC4bQJOjJm2NT6PTTlkuM0nY0+nIV7cC24t7hplUpS51GVtJM f3BA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:reply-to:date :message-id:mime-version; bh=6vR64pcT5HGYE2yZ3i6p2tTYLxQoKLwAfpTgFDDOoAU=; b=pFYQzc50MpKXGa8vTFkXiJ3jaubhlOp2XZA/B0amyevGZnKHdHATj0sOA017yDRWji gXDRFgrI3KNqBdujxrgurwfRc5IKv7bo/nvA4IuCzDS12JP6ADm2//d4wRkz1aPA/fda AGEbnwYShXErf3hWZDelgSCLaYFaHtsjO3oJpT83pO1L6d1dqlJQ4sQwME6YxtVuhenH XYT9WZQzpsn8/IqGbpoiXrQfO9m2ln/1nuWfjIWvDaE/J9ahEadAlYsYF6+SjqB8QJ+W XFEYapR/uhj7MCXlX79nut4/4C2vKP95VakhKZrRYN1FXAaUCrivIQFLHxPyheuoL2Tl YYww== X-Gm-Message-State: AHQUAuaMu8sSOjbU7eKI9QQZ2tiaPFSZpxFYB5Zi3HoR0NPydKpnHPcn r9FizY1eUmIxAvkUcnTjCNRjoOCn5ts= X-Google-Smtp-Source: AHgI3IamoiJOFdor1XgW7VnW14ptiOnTokOZVVDp1JxYgiz3VrGfQAq80s4hrp9/jF9G0+HPGeFxfA== X-Received: by 2002:a50:cf41:: with SMTP id d1mr8309952edk.242.1550247483928; Fri, 15 Feb 2019 08:18:03 -0800 (PST) Received: from watership ([2a02:a03f:53d3:1900:4110:deae:ac19:3ca7]) by smtp.gmail.com with ESMTPSA id f7sm1326992ejk.28.2019.02.15.08.18.03 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Feb 2019 08:18:03 -0800 (PST) User-agent: mu4e 1.0; emacs 26.1 From: Alex Sassmannshausen To: guile-user@gnu.org Subject: [ANN] Guile Hall Release (v0.2) Reply-To: alex.sassmannshausen@gmail.com Date: Fri, 15 Feb 2019 17:18:02 +0100 Message-ID: <87d0ntxbyd.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::52e X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Feb 2019 16:18:08 -0000 Hello, I've just released Guile Hall 0.2. It includes a number of fixes and improvements: - We now correctly wrap all guile module dependencies in generated Guix recipes - We have an optional syntax for specifying configure time guile-module checks. - `hall scan` and `hall clean` have become more convenient by virtue of the --skip parameter accepting directories - We now use a fully-fledged test-runner to run unit tests - Generated code is prettier to look at I'd like to thank Catonano and Ricardo for either contributing directly or providing code that resulted in above improvements. On the roadmap we now have: - support for the Guile Build System, which would be a first step towards having simple Guile projects that do not rely on autotools - support for hall publish, which is meant as a tool to make contributing guile hall based projects to guix significantly easier by running automated sanity checks & generating complete guix recipes for addition to the guix repo. You can get it with Guix after pulling the latest version with $ guix package -i guile-hall Otherwise you can get the code from https://gitlab.com/a-sassmannshausen/guile-hall/, and build (hopefully) using the traditional $ autoreconf -vif && ./configure && make dance. What is Guile Hall? >From the README: Hall is a command-line application and a set of Guile libraries that allow you to quickly create and publish Guile projects. It allows you to transparently support the GNU build system, manage a project hierarchy & provides tight coupling to Guix. It's fundamental aim is to provide a black box that just works (tm) for you so you distribute, manage & create guile projects. This project is part of my overall goal of creating user-friendly basic tooling & libraries for Guile to encourage newbies to start building with Guile. Best wishes, Alex From MAILER-DAEMON Fri Feb 15 15:34:23 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gukBj-00081J-I6 for mharc-guile-user@gnu.org; Fri, 15 Feb 2019 15:34:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gukBh-0007zt-7T for guile-user@gnu.org; Fri, 15 Feb 2019 15:34:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gukBf-0002ss-0T for guile-user@gnu.org; Fri, 15 Feb 2019 15:34:19 -0500 Received: from mout01.posteo.de ([185.67.36.65]:50391) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gukBb-0002oh-Nk for guile-user@gnu.org; Fri, 15 Feb 2019 15:34:17 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 2F9DE1600D2 for ; Fri, 15 Feb 2019 21:33:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.eu; s=2017; t=1550262822; bh=+xpkEVxdCOWZ/k/hui2kWuOvWhM93VfGZu6b6G+HUt0=; h=Date:From:To:Cc:Subject:From; b=Y9XnhduSzJVGfFCMOcL3oCV1D61OlRDLq0bLZ6FHyrTl9160kamMiOQa3QMOF0nCX yfDICPxasNd4nOqaGzb5PBFmP7igNJvxdIuTWCaev82Wr134PX0tWuD8musqcyhmnr Z79N4ldgVzGW9ZkocD7J6ruL3iC4Gl+U3Cfm8o3CVSFJ7gKv+ERC7dawOjuHbwhbj5 DVQWR+2WqWe7EOAkSHZjr31ldYwmv0iGHNtI2GGztRAi4ToiwSxMzvYj3hJsVcJ+0S PHhDEaDKbhz93RjH09RDKg7vMuUvdiUKD4VZoQHqGDr226/NWIssn5KzvKp/5XuOWb QnpyiX1IQVcQQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 441Q0V5blPz6tmF; Fri, 15 Feb 2019 21:31:54 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 15 Feb 2019 20:31:54 +0000 From: tantalum To: Guile user Subject: Re: sandboxing Guile extensions Reply-To: sph@posteo.eu Mail-Reply-To: sph@posteo.eu Message-ID: <52269e4a33f7a4941286ac5d02ba0095@posteo.de> X-Sender: sph@posteo.eu User-Agent: Posteo Webmail X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 185.67.36.65 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Feb 2019 20:34:22 -0000 i think it is possible to restrict the bindings available for code that is evaluated with eval-in-sandbox. eval-in-sandbox accepts a keyword argument named #:module for supplying a module object which gives all bindings that will be available to the evaluated code. a module with the allowed bindings can be created with make-sandbox-module. here is an example: ``` (import (ice-9 sandbox)) (define env (make-sandbox-module (list (quote ((guile) display string-append))))) (define result (eval-in-sandbox (quote (display string-append)) #:time-limit 2 #:module env)) ``` when i remove string-append from the list, the code evaluation fails with an unbound variable exception. the argument to make-sandbox-module is a list of lists, where for each the first element is a module name and the rest are binding names to include from that module. there are a few default sets, for example the variables string-bindings, list-bindings, number-bindings, etc. the preset sets are also just lists and can be appended ``` (make-sandbox-module (append core-bindings string-bindings symbol-bindings list-bindings number-bindings (quote ( ((my example module) link-files include-files))))) ``` if eval-in-sandbox would not exist, one would perhaps use eval from (rnrs eval), which can also take a module that restricts available features. From MAILER-DAEMON Fri Feb 15 16:30:09 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gul3g-0008MP-VH for mharc-guile-user@gnu.org; Fri, 15 Feb 2019 16:30:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gul3e-0008L3-Sz for guile-user@gnu.org; Fri, 15 Feb 2019 16:30:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gul3e-0007dj-4D for guile-user@gnu.org; Fri, 15 Feb 2019 16:30:06 -0500 Received: from mout.web.de ([212.227.17.11]:58741) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gul3b-0007RQ-Vd for guile-user@gnu.org; Fri, 15 Feb 2019 16:30:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1550266183; bh=i9YaSXD6FISXapZpVcXouQ3usEwjGUiJllQDO90qPlk=; h=X-UI-Sender-Class:References:From:To:Cc:Subject:In-reply-to:Date; b=Dl/Ng5gGqbWG0atgs/UXGbP3kNQyCy3HwIPaGPrHr5N4yqdJ9zbxLs//4gGr2O65y Mw8QMBgG9zyHXrA7weR0ej9FXYw9Tv9gOE8gVVVj2E83vDRcZP+PUCd3dRXT2FKs0F rrjnyqkvpQs6/qHSAZYxoSp1mDhYH2+R/DjnC1ug= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from fluss ([80.136.18.3]) by smtp.web.de (mrweb101 [213.165.67.124]) with ESMTPSA (Nemesis) id 0LlFLm-1hSRAv1te2-00azyD; Fri, 15 Feb 2019 22:29:43 +0100 References: <87d0ntxbyd.fsf@gmail.com> User-agent: mu4e 1.0; emacs 26.1 From: Arne Babenhauserheide To: alex.sassmannshausen@gmail.com Cc: guile-user@gnu.org Subject: Re: [ANN] Guile Hall Release (v0.2) In-reply-to: <87d0ntxbyd.fsf@gmail.com> Date: Fri, 15 Feb 2019 22:29:41 +0100 Message-ID: <87sgwon3ju.fsf@web.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Provags-ID: V03:K1:a/YEW7h2qCoYYRcJRwqKRgYHI4hwbOXwOQatKHa4ZJYAWkrnFM9 IcWa5IW0Lb0jR25HblptfFj5NAlNOllwuHcGVRCdMS2GXO5Z3pATx3xtTTJIT6eQ+0Tjkay CQppdHjVoq9wxqqUlPh35Vvq1yYvM5BAeN5/OyhfKK2Xykk1ihOgwyoiwfnZlwjrZNZpkRP 6UXg/m2X8FG598XOVdMfw== X-UI-Out-Filterresults: notjunk:1;V03:K0:JGUcYKZ5Zm4=:kVU3evKwrQfUEfDH2/wPmI wLS5Zebvkqh053LP6yLqzUYfVJ4AzlVHEu0FF7xDEK6BCOxW/4IG2OtvMVKQUGZXLlTmTTrFO eVAobDvThZCmOeX57jSHA8hzShmV7Ixml0cl8Q2FBH2VgbbR7B7tLT9y47TnFDciUixin0x/e ep9Ql2yb+NFJcCsf++ZjDn7S0jypGjCDe3XP3ItvbvPbipDeWBoLGeIKe8FsHz+SCokth8okw mSPRH40LSd4vKg2S32atu3jcK8s1iq3/lzJlQ7668BsyuZGJPuFyIfjUr6iMLErQLXBH0CGs9 MYVB0dBNZlSK+X8cLuokby/8Tdcv99i/nN7ArhAFs82WVelFjYEbm4vP/p6Mxd/lgzde93OBs 3U/2VlwAJHtU7UwnRxVvr+o84vNvoHlyRIuDvAGJpTapnF//J/cQRtd6Bo+xdCi7bP3OxHJSB oR//QkW4qZ8i1vjokVTtbE3C59SPVOQ5zA/XWwd2jj35ZaUdsChpCaEJrbF1jMSWg14EPvoUL gQLyM9rRkOzxIvuz61K5g6D89IFyHR8lKCUhGZX17UK6MUdtaTrb1vbKf2Ofq4KYYVt6V0XeW KODv69hNJrTFZ5ChfnU3ArdEdbPqXDEDTYRn8YWvRZSEDW25pszNirM5y6wsyISvY8Fk3Lx4c Mt4ZDU2knWvSiu8LQIn/f3fRf3UmkBXxWsbcZ697Mnmm5vKLcbUzRzBXQwKZPsgx7CedU+B1r BsQ18Z1Jx5PYc5wosrMpHdsShUyS/Cw8aWNxqbMm5+DzY8d58z2cnc0A6vAwzK2g4WAL/zsn7 rai9PCSsVxiQGVlFuGxUkEK0USCItXOfLSQG4JF3TtFD5IsoPQIUl0ozMuR33z51UqvEEG1CY pGiGXho0EsqfE25dMVEOLEcKxx5OguYiCbNXIyUPxQKaP+C/SvDsEqvMpoAR0d X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.11 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Feb 2019 21:30:08 -0000 --=-=-= Content-Type: text/plain Alex Sassmannshausen writes: > This project is part of my overall goal of creating user-friendly basic > tooling & libraries for Guile to encourage newbies to start building > with Guile. Very cool! Thank you! Best wishes, Arne --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE801qEjXQSQPNItXAE++NRSQDw+sFAlxnL0YACgkQE++NRSQD w+vwAQ/+PYFmkoHac5P6vtyyjM4AM2liuC2rhmfbu+mcqFvTSrSQNmChanggEtqW qW6BpLtxeyssPevjWGL1uMtjYSpT3QRN9d7Yw1FfpuG7X8fbRfeLJ54lsw12O9EE uy+xGQI9W8ZGvaJmQjqIpiNAkXPY46dIYOALBNK2CHFKEaMzQk8gFlsY4pvvQQa9 xGDn0lUUOOkvdXiZqN5p681rwsgZitcvUtMkJQeXti/Z6gxDubkb7JLDohAiItkz JTbbMUJGBvn1U54oc4Y1dViqD9PZwFhBbQVR9yc9uxuUE47wKGBWqf/Ab9c2Uzzd g+WxHIwTmNvJdAhITWLbY8Abt9Oo2S6HyopvyF3MwsCpRDYC8OcqH4s+BLLktzSh MTchAX53gXf7Bi3sEJlFFDAz2cLgJ5Q+pdIfAyKwLBWRQbLr9mD8voBpFrOG8oiW q3bLYNF1j004Kcz5IS0/5nGLr15TRAFYHLlj5C8odXEXEOYY2zBTI5CcsYunh9Bg aBxopfGgEjMEoY46IyoKDQHHbbYT3eC2EeflVkaXcTfjzbKqtjWCSIppqDCfgTnU EztWo8NwS83bMZR0t5TebUte0grvuPUWXl/KeW00AIyPXl36h7p/UNaMrG1vgr6j j18xc/KtpSzPafcMWw4E+29AEZJ6chi99MxzrQ6JrQ01QyU0GWKIsgQBAQgAHRYh BN0ovebZh1yrzkqLHdzPDbMLwQVIBQJcZy9GAAoJENzPDbMLwQVIhT4D933336Zc Sgw/Tt9Uc9hmUeHU7DgsNEsx77n3o5tjDiyrjvveGRqMtPcHNzgAbD3gABabDgY7 LoLLzWFZzUqK5YkaSDBgngejyv6KkdStwSNsmweAzhdRLSXOnVJ6uon2CPOPchBE A4I8rN4mGOq2SSrAoB2pJ33WJeU0OTYRnr4= =2fuJ -----END PGP SIGNATURE----- --=-=-=-- From MAILER-DAEMON Sat Feb 16 07:36:50 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1guzD8-0002DT-DK for mharc-guile-user@gnu.org; Sat, 16 Feb 2019 07:36:50 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guzD6-0002DK-Mz for guile-user@gnu.org; Sat, 16 Feb 2019 07:36:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1guzD3-0007AE-PO for guile-user@gnu.org; Sat, 16 Feb 2019 07:36:47 -0500 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]:47101) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1guzD2-000777-UC for guile-user@gnu.org; Sat, 16 Feb 2019 07:36:45 -0500 Received: by mail-lf1-x131.google.com with SMTP id f5so9108556lfc.13 for ; Sat, 16 Feb 2019 04:36:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mlH/UvQ1sNXxvfyj7dIDqF8LfKsJfNoFkaXfwoQE0lE=; b=qmjdcoax2/i968N8+y+/+n9nJ8oSnsXL1T0yNJtk8eJ+TLfwlB4qTMIKZvkxET8Eiu 1JmBru6WrTiFAKm+s8vz5JEWAIN9Ifwh2BIvN+2cZJKjAgzujE+O32veaQ3cywZyTVJA SLA4fiCo6kNNxj/Ft9nvC+oOS5AGVi1x9VGL9kBihpCLP9vYl/3tNG9Nloe0ESe3W0/b x0mDLKXTHwNx9+eiiG4z3xYxDzbzTcFl0JrDCYsEhYgwA9TjISzrtNLfHuWjZxqendtL SJHd5cMlgyRr9Iu6oCRslStSIFFMzrAAyXQOV6WCvTbMahYDYvm9PAu8m+My0IfxoQEh 4Pxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mlH/UvQ1sNXxvfyj7dIDqF8LfKsJfNoFkaXfwoQE0lE=; b=lHUYlATP9ShMGPLkQ6tB0hPucsG3gU6U/k3XdqPG11QmS2tDriUYb2IiKIa2w+aLA0 d/2XHg9ZJ114o2RiU7ToTexdjNnPSv/1v/vGVosLOD6mH0KMDPOFd9KJIWywm/PGIsgQ nB40y3bv5DLEmSaCpp6jQ55i5PrK4OKp8/bkb4wkre3e+2+uB/fayMs7Eu4+Y3ssO9Mi R57QvCPrvZiGhCimdNKfsKEX9u+QbWcDW01WVTbzvKRpLdoh2fUBHi6tItc2QBCcnMaU MY2M03cKn83ncK9XbkZz88WF97fFNgq6UwlEgBRmKR0O3oSgy/zHiIhLBOQMyoLHfIE8 k7HA== X-Gm-Message-State: AHQUAubsQarMgs9OJw+UGTOdX9SOqOEIK42oOx8VOec5wUJ/IFW5XQnF H8xBra+bee3OukRKpABm7tAj0X+qdS+cHgahqNA= X-Google-Smtp-Source: AHgI3IZSSygnOcpSOMNjlECzs1ve1gTywm7a91XsVKW5zktFZMHPAvIlcr6jvmkJ43nYDs3YYnKDfvIUSS8twVRDp74= X-Received: by 2002:ac2:559b:: with SMTP id v27mr793874lfg.164.1550320600093; Sat, 16 Feb 2019 04:36:40 -0800 (PST) MIME-Version: 1.0 References: <87d0ntxbyd.fsf@gmail.com> In-Reply-To: <87d0ntxbyd.fsf@gmail.com> From: Neil Jerram Date: Sat, 16 Feb 2019 12:36:28 +0000 Message-ID: Subject: Re: [ANN] Guile Hall Release (v0.2) To: alex.sassmannshausen@gmail.com Cc: guile-user@gnu.org Content-Type: text/plain; charset="UTF-8" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::131 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Feb 2019 12:36:49 -0000 On Fri, 15 Feb 2019 at 16:33, Alex Sassmannshausen wrote: > [...] > Otherwise you can get the code from > https://gitlab.com/a-sassmannshausen/guile-hall/, and build (hopefully) Hi Alex, It's a bit of a side point, but I noticed that your org-mode README is not properly formatted on the Gitlab site, and it looks like it would be if you named it README.org. Is that something you're already aware of? Thanks, Neil From MAILER-DAEMON Sat Feb 16 08:04:36 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1guze0-00052i-BL for mharc-guile-user@gnu.org; Sat, 16 Feb 2019 08:04:36 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guzdy-00052c-At for guile-user@gnu.org; Sat, 16 Feb 2019 08:04:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1guzdx-00067P-4v for guile-user@gnu.org; Sat, 16 Feb 2019 08:04:34 -0500 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]:43140) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1guzdw-00066t-4c for guile-user@gnu.org; Sat, 16 Feb 2019 08:04:32 -0500 Received: by mail-ed1-x52d.google.com with SMTP id m35so6131473ede.10 for ; Sat, 16 Feb 2019 05:04:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:reply-to:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=aAjipeCafhUj9gKkFrzorq7TgaqkHmrS4S/mjDpXxb8=; b=PqOjxqXgAZBUrLCBAC6BuDF3vfSHWQSvwighu4BpzfLKgumriaBH6boCIOKSTeo1Ej /002eoW1G9oMBP1W2lCcjKoV8vqabMhTMf689KUlwPTIHCmjyocUrELPSHI/ke/3BUqU Xta7vKQLQESDEkVZaTtVKJV7sdioiSSh/yhbAowjNDqIElewmrzJRpQhmRYXTU2gLjGH gvA/0r4jmADNvS6dNIx1h4WnVpuvDjYP1PTBk/vvaG+/1tt+XqNr0aVaROH2txghG3ux 3H0ucYfnL2/l5tllHs7T83+lbVsf8HL3wczF7yjMpy18HAxP9VV2mH5uYQ9bsgXDZ+Tz xRTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :reply-to:in-reply-to:date:message-id:mime-version :content-transfer-encoding; bh=aAjipeCafhUj9gKkFrzorq7TgaqkHmrS4S/mjDpXxb8=; b=jJE/b3lraMGqzoHAa/g4yO5XXPWHan2R2eXzn0IFMgM8LwXrUoWfV6aEoOXzppf6dC 9Zlp7doepBzNlHT5uE17kuednR7Jgxwf3nxy8My7NZDfTOLfCozzbYsjtjt2r30xWArX OIjVyejt2MVmGkgLwMhX0vTzun/8PurRFBLtWM3oaDWtbOZaNHUckBlzhqavw7vbSPYE FXbSVXsE6IPvOKfWhbl1KWGJ972bTBke3/GGdT/XqC+tIncUNFckGMLdLQ70sk9c1wrT iDtQlGFusL1ya8HjKAKczCiG0F6RYacf67EjyWrbfbw/S9G9EF9CI0cdvJJBlAQE1h9i Wb5w== X-Gm-Message-State: AHQUAuYzAKMq70NNbtJQYeiJLI7fcHiS08l1NlRUVWdabgGGJGPBf/jj cI/8WCEnAkDscZCVm7MxoVBFD/DA X-Google-Smtp-Source: AHgI3IY4DhED8ddjf3WxoiAIEcH5YZmR4aJvt0ENqavilxiu8TTcop5nQmZgG0LA4gFMulybxXPkfw== X-Received: by 2002:a17:906:b209:: with SMTP id p9mr10196395ejz.39.1550322269778; Sat, 16 Feb 2019 05:04:29 -0800 (PST) Received: from watership ([2a02:a03f:3f40:4700:190:c284:a005:767f]) by smtp.gmail.com with ESMTPSA id g18sm2356597edh.39.2019.02.16.05.04.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 16 Feb 2019 05:04:28 -0800 (PST) References: <87d0ntxbyd.fsf@gmail.com> User-agent: mu4e 1.0; emacs 26.1 From: Alex Sassmannshausen To: Neil Jerram Cc: guile-user@gnu.org Subject: Re: [ANN] Guile Hall Release (v0.2) Reply-To: alex.sassmannshausen@gmail.com In-reply-to: Date: Sat, 16 Feb 2019 14:04:27 +0100 Message-ID: <878syfyjdw.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::52d X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Feb 2019 13:04:35 -0000 Hi Neil, Neil Jerram writes: > On Fri, 15 Feb 2019 at 16:33, Alex Sassmannshausen > wrote: >> [...] >> Otherwise you can get the code from >> https://gitlab.com/a-sassmannshausen/guile-hall/, and build (hopefully) > > Hi Alex, > > It's a bit of a side point, but I noticed that your org-mode README is > not properly formatted on the Gitlab site, and it looks like it would > be if you named it README.org. Is that something you're already aware > of? Indeed =E2=80=94 the project generates itself, and thus far hall defaulted = to generating README files in org-mode. I've just pushed a new set of commits that make hall default to generating a REDAME.org file, and a symlink to from README to the former. So now this issue should be resolved for Hall itself too :-) Thanks for the note! Alex From MAILER-DAEMON Sat Feb 16 08:10:44 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1guzjw-0005mJ-9E for mharc-guile-user@gnu.org; Sat, 16 Feb 2019 08:10:44 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35948) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guzjt-0005ld-Gj for guile-user@gnu.org; Sat, 16 Feb 2019 08:10:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1guzjp-00024d-0e for guile-user@gnu.org; Sat, 16 Feb 2019 08:10:40 -0500 Received: from mail-yb1-xb33.google.com ([2607:f8b0:4864:20::b33]:46425) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1guzjj-00021m-FG for guile-user@gnu.org; Sat, 16 Feb 2019 08:10:32 -0500 Received: by mail-yb1-xb33.google.com with SMTP id 7so4964502ybp.13 for ; Sat, 16 Feb 2019 05:10:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WmXeiL1Ii4h4HKons3KS3tdSC+BnCHoLPY85arWTmGQ=; b=sVz6xBaOeSXNF2ii6b9rKM0FHyW7PLYT6g3I41KjzAr2Q5pHC0LD1A6nFddUpUA5dn jVvffiQ2nD6Ej8RX1D8majhWLhQHF9qsJbMDVUftgZQ3kORhnzoA6XF1++xsYok/C3KB 2f1edY7nx0GavuFcEUjgPr4a7D+gFMo8GcQ68SE9z9xZToxRakC95hCRgycW7xDYPwtm 1SIxnMWiAX9xt728fIj7Vsa8nw6qxmpb0mw2Ja018sgj71GJelNAra+8Z5MEGZ4o+Ngr WVVY9o4yMAK+eowYQY+N0JjzX6k4uyj6wWoz/BMhCG9Rv7249JTGzPFxgDl/3RkliP8x YFJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WmXeiL1Ii4h4HKons3KS3tdSC+BnCHoLPY85arWTmGQ=; b=T9WOgViqK0NYBzKMVDrMyAvhsH6JWfpacWCRiLEvt8oOxXCJ3yUXYLkAGVi7fcGBNS 3DlXuE/02Wupq4ffbFQsiwVNpmQsBI9CCAbuhGfr1BcGa3HXeisQ6GGoCl3pigs9aEOo AHuRBgLm+mWSRpMcQJ9nMpESyONQ5204QLoi84AMO4Z5aeaua8+KjOuHUWYBLFafx298 mqvYeWqkXrEchxGisB2Aw+0efm+P1uMWJEy327TFPsEDaqUXTMwBYyZnP9LJhIBj2+LG xh97Te+ZE6UiLfxkXGMz35mmhE/AvD4vGul0p1vIAZZ48OtUdO6L8P8FbY2680ZpoKRe CjkQ== X-Gm-Message-State: AHQUAubSMzqV1XKkP1JkoieUA/hnMnVFkBsq/l0CrzvSjfB5GacZwgZA FwiJWHEWFpWpPFcMGGS3gyPn3mNMaIaxdjGqzDQ= X-Google-Smtp-Source: AHgI3IZrSx/cNWlTDCpdzsDwuA+TgiHh/UEZFb0OpkgH38TGrwD0/CLtsU8qt1JMEUYicS5TylS+9HZ/IWXrQqNbolc= X-Received: by 2002:a25:4682:: with SMTP id t124mr12082177yba.249.1550322627859; Sat, 16 Feb 2019 05:10:27 -0800 (PST) MIME-Version: 1.0 References: <87d0ntxbyd.fsf@gmail.com> <878syfyjdw.fsf@gmail.com> In-Reply-To: <878syfyjdw.fsf@gmail.com> From: Nala Ginrut Date: Sat, 16 Feb 2019 21:10:15 +0800 Message-ID: Subject: Re: [ANN] Guile Hall Release (v0.2) To: alex.sassmannshausen@gmail.com Cc: Neil Jerram , guile-user@gnu.org X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::b33 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Feb 2019 13:10:42 -0000 Nice work! We are moving forward to a bigger community for more contributions now! Alex Sassmannshausen =E4=BA=8E 2019=E5=B9= =B42=E6=9C=8816=E6=97=A5=E5=91=A8=E5=85=AD 21:05=E5=86=99=E9=81=93=EF=BC=9A > Hi Neil, > > Neil Jerram writes: > > > On Fri, 15 Feb 2019 at 16:33, Alex Sassmannshausen > > wrote: > >> [...] > >> Otherwise you can get the code from > >> https://gitlab.com/a-sassmannshausen/guile-hall/, and build (hopefully= ) > > > > Hi Alex, > > > > It's a bit of a side point, but I noticed that your org-mode README is > > not properly formatted on the Gitlab site, and it looks like it would > > be if you named it README.org. Is that something you're already aware > > of? > > Indeed =E2=80=94 the project generates itself, and thus far hall defaulte= d to > generating README files in org-mode. > > I've just pushed a new set of commits that make hall default to > generating a REDAME.org file, and a symlink to from README to the > former. > > So now this issue should be resolved for Hall itself too :-) > > Thanks for the note! > > Alex > > From MAILER-DAEMON Sat Feb 16 17:31:07 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gv8UE-0004Hw-VW for mharc-guile-user@gnu.org; Sat, 16 Feb 2019 17:31:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gv8UC-0004DD-Er for guile-user@gnu.org; Sat, 16 Feb 2019 17:31:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gv8UB-0001R4-Ii for guile-user@gnu.org; Sat, 16 Feb 2019 17:31:04 -0500 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]:36680) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gv8UB-0001QI-Ar for guile-user@gnu.org; Sat, 16 Feb 2019 17:31:03 -0500 Received: by mail-ed1-x533.google.com with SMTP id g9so232976eds.3 for ; Sat, 16 Feb 2019 14:31:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=GlCo1vuOQT0SE/rlVy1flnStVUzIDvL96GjdqTuvNXk=; b=hym0aySJyeZzMkESZfs9LcVqj1kEMl+MNrTAsH7kuRlwG7q6vVTppKoN75FSfF/nsX E9dIvuez6CgIYZNwLcombfHLheK7PtD+p6y1Icbr3uyhyXUFkLu35lSy8Pn/b8px8TLo Ury4cmWqKYNKWX8xmAZMufRx2iy60Jd2nnSZqLamzsBkpmvBYvw3Ni9o5TybzJPA1CdS V+SlvfN9Jh1ryAK8ZKiRNv1Kr03QRuMTXQBwJk49wFzQ/TTH5YNPO15wtXcoY6nWeFv5 hwL/KBELnKSwyolCh5gflhlh2B6xZoVBlAW/VXzNv+ptbHPje/BLCoKpxlM/EcgJ25WA z4cQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=GlCo1vuOQT0SE/rlVy1flnStVUzIDvL96GjdqTuvNXk=; b=GcuklYOtfR73YipjZz8whD1iQXjit2PUKEwUNX4LFQEioBRtUOdEuvceCQtUxfJTcL UCFDyk+bWvz/qCWih+sJwFP7fYWwja6rXtIq64OeTNfwbdQN4GhQ83gtiuJIAYgmmkb4 M33pRqzR3xNrszh7mUK1aOMAlBZ6pxWYkgZ9YzNVGXfIIAnVzIpimE3VKkyyF3CsveFn BjYqKgEA7FsHPuoUbJHbu+snEB24ickjj/KtiU35LVUakzZbxpFUsMq4f/uMhUAXbly5 Ptj24bsOY5XNfv0SyTmWsfT3dHM/iTgcf/7Bpu7m5YyWrkxMBvNMbfdJopvFClE/HZbt jjJg== X-Gm-Message-State: AHQUAuZOUTM8QMZE5V+mQOk3g8jdk+2xt+ZAKdrfDcTwtlOwJJ/9aq66 OQ0ZeIyugVcm0u09JMucbndNzaAZD8OuqQ== X-Google-Smtp-Source: AHgI3Ib4knqh1g76m8V/qCpMW/nFPrcpvUPDwz0VAN+XcO/KRwoDxtFpiNMcOIqRrbcsp+zXYXDt3Q== X-Received: by 2002:a17:906:a296:: with SMTP id i22mr11429677ejz.62.1550356261407; Sat, 16 Feb 2019 14:31:01 -0800 (PST) Received: from [10.9.0.8] ([185.65.134.163]) by smtp.googlemail.com with ESMTPSA id k20sm2060249eja.33.2019.02.16.14.31.00 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 16 Feb 2019 14:31:00 -0800 (PST) Subject: Re: Re: sandboxing Guile extensions To: guile-user@gnu.org References: From: Zelphir Kaltstahl Message-ID: <147829cb-b6ea-3b42-1170-7aa45a1e9144@gmail.com> Date: Sat, 16 Feb 2019 23:30:59 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::533 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Feb 2019 22:31:05 -0000 > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 15 Feb 2019 20:31:54 +0000 > From: tantalum > To: Guile user > Subject: Re: sandboxing Guile extensions > Message-ID: <52269e4a33f7a4941286ac5d02ba0095@posteo.de> > Content-Type: text/plain; charset=US-ASCII; format=flowed > > i think it is possible to restrict the bindings available for code that > is evaluated with eval-in-sandbox. eval-in-sandbox accepts a keyword > argument named #:module for supplying a module object which gives all > bindings that will be available to the evaluated code. a module with the > allowed bindings can be created with make-sandbox-module. > > here is an example: > > ``` > (import (ice-9 sandbox)) > > (define env (make-sandbox-module (list (quote ((guile) display > string-append))))) > > (define result > (eval-in-sandbox (quote (display string-append)) #:time-limit 2 > #:module env)) > ``` > > when i remove string-append from the list, the code evaluation fails > with an unbound variable exception. the argument to make-sandbox-module > is a list of lists, where for each the first element is a module name > and the rest are binding names to include from that module. there are a > few default sets, for example the variables string-bindings, > list-bindings, number-bindings, etc. > > the preset sets are also just lists and can be appended > ``` > (make-sandbox-module > (append > core-bindings string-bindings symbol-bindings list-bindings > number-bindings > (quote ( > ((my example module) link-files include-files))))) > ``` > > if eval-in-sandbox would not exist, one would perhaps use eval from > (rnrs eval), which can also take a module that restricts available > features. This is quite interesting, as I have a situation at work, where I would like to evaluate foreign code on a server. Unfortunately, at work I will not be allowed developing it using Guile and the incoming code would also not be Guile or even Scheme in general. Still, it is great to know such utilities exist in Guile, without some resorting to some "might-work-but-might-not-be-secure" hacks. From MAILER-DAEMON Sat Feb 16 18:44:11 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gv9cx-0004Yc-4E for mharc-guile-user@gnu.org; Sat, 16 Feb 2019 18:44:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49743) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gv9cv-0004Vo-73 for guile-user@gnu.org; Sat, 16 Feb 2019 18:44:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gv9cu-0004xR-Cr for guile-user@gnu.org; Sat, 16 Feb 2019 18:44:09 -0500 Received: from sonic304-22.consmr.mail.ne1.yahoo.com ([66.163.191.148]:45248) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gv9ct-0004wu-W1 for guile-user@gnu.org; Sat, 16 Feb 2019 18:44:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1550360646; bh=dHuvujZwU0Csg6NJqgC26wGxS+6Vzk8el3BfXUOrXvU=; h=Date:From:To:Subject:From:Subject; b=V1/wLH6jhi2RGF1Eso2FE1dVbPwVCIcBCjn+Xj3wm+JX6a37Yj1YsXYNneLJM6VX1MeuVsAyzjKqICtAwsdLBOQuNrPikjuk8StHK3NzegAZk1ValGdgViZDCmilYSu2He7k0YYgft3ggm03Fh2sJj3it9VYWmffYG9msGW3Zg83pzHHhelUNhlk590iFxITHkGwdu9/DaMA0HX7Z3KaziJSRjJBDXtgWxYWEOpOz7cJnStCZQndy0zwKM/cIJ7vRYKFa+klF2/BWelmNnKm4ssc3Osst6v3rcEpe8nL/wqfBetcueqAyr1AQX52lPx4uYfJaV2abO+wAF1TTIuutw== X-YMail-OSG: IgsqDaEVM1nSs4qcQgaohmIGI4WoTCO8HrFUZPlR61OsOoxU4MLV6tpelEQJCa4 aLD4vjdjpSVJ2dGi1.Cu5wth95zedLWwGayVYGdp0XJeYN6HDHwdgHOuJbn8BaNongbQxwl5d3QE RhTXvoKYqMxzgJz7N3egyn6KLgJcEBrymV3wPeE6FodotXT1uChg8e2O0OBpoWCNx1BW8chO1VYk XWNH80NxZ2_O1iLOZkLmBRNEMJ.dixaRbJkNUAUckxaBPQY1l0r2CKQTHLJfa9HjRVK3WTBwRIi6 .b1bl6KAQ3R81TuCVVoJOD3w6Un3KCQragbzR1lHyZ8alGm8EQ1x4M.KWwTcP_OilyhWgSBPBcWE cvkF9jx3HrflOEumUB455zOtnL3XwitPSFFO_YcKMVo6bnJaZcch_7Ewdv3_iS9hNEinrv9tZRw1 brn6I1ax2sGW4fB8.E.JM9CMdJwM060qmbRvV4ilLs08j1Tr5lLOZomQHzHIQ2D74SYRlYyXnm2y NFo40ezDE20quo_8lE.oLIopdJmJd9rmwsEqdDfl.M_Y2N.n_pttvm_5Dvf7dG2P2E9jkbi7hx0I h1n1m7_5cC.QynT8.S4cYOkBagRvREJ_PJxw8OJKx_uJRfPCbgbiIUxdd55Vv71i2yhHZSW4QdzZ V7JFV6ri72W8.9TskkWtAwIPIiosdMmE.xZ6ZFgNXOlY6OnlwpwwWgCa4XC75tzYrd6nXY1VBdGY 5QQjIv9G4rlmCpTLb4zlN5E3zU.07DR1L9Xh_h9TVJaEaY8lqX.XbzwkiYnt_xe8Ipg7.xE3QUYH cjipnftyFtaTPvdlc4ng.sVsob3PtYq7fhYhSDNP5x50oQ2SgYbTlVYSh4sQ4eicso3PIWwntona ap817kBPfbGPYflYW9xTXWqGBTf.oZiY8EYBLdPA6dbhqwXmYNcwa0h0OvtEHz.cGW3xSxR3qrW. 598TD7W4UIr56fmt4l_uJnLRL8pDovdfLR94anZzpSS2NgD19.GyvPnfGA6bmNXcKoXYeD5HwRZo DZSZxW.uaIu3cK176WN5VioZGE3KsyR3assqD5TNuYVrIALg- Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ne1.yahoo.com with HTTP; Sat, 16 Feb 2019 23:44:06 +0000 Received: from 75-54-112-187.lightspeed.irvnca.sbcglobal.net (EHLO joshua.dnsalias.com) ([75.54.112.187]) by smtp401.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 185626e840c5c762963b07e36033a875 for ; Sat, 16 Feb 2019 23:44:04 +0000 (UTC) Date: Sat, 16 Feb 2019 15:43:59 -0800 From: Mike Gran To: guile-user@gnu.org Subject: [ANN] guile-curl v0.6 Message-ID: <20190216234359.GA3153@joshua.dnsalias.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 66.163.191.148 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Feb 2019 23:44:10 -0000 I am pleased to announce the release of guile-curl 0.6. This is a library for fetching files by URL from the internet in the GNU Guile dialect of the Scheme programming language. It wraps functionality provided by the libcurl library. It supports many protocols, such as https, ftp, tftp, gopher, and smtp, and it has many options for proxies. The webpage for the library is at http://lonelycactus.com/guile-curl.html The development tree is at https://github.com/spk121/guile-curl The latest source archive is at http://lonelycactus.com/tarball/guile_curl-0.6.tar.gz For Release 0.6 - Feb 15, 2019 - Eliminate Guile 1.8 support - Update to libcurl 7.61.x constants - guilesitedir become guilemoduledir - follow guile-hall's guidance of how guile directories are formed - use unversioned libguile-curl library in curl.scm There is no mailing list for this project. Feel free to contact me directly if you have any questions. According to rhash, the CRC32 for this tarball is DD6FC8F8 Thanks, Mike Gran From MAILER-DAEMON Sun Feb 17 04:07:18 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gvIPu-0007Dk-1N for mharc-guile-user@gnu.org; Sun, 17 Feb 2019 04:07:18 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvIPs-0007Dd-KA for guile-user@gnu.org; Sun, 17 Feb 2019 04:07:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvIPs-0007lX-21 for guile-user@gnu.org; Sun, 17 Feb 2019 04:07:16 -0500 Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]:36009) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvIPr-0007lB-RG for guile-user@gnu.org; Sun, 17 Feb 2019 04:07:16 -0500 Received: by mail-lf1-x136.google.com with SMTP id q11so10123185lfd.3 for ; Sun, 17 Feb 2019 01:07:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mail-followup-to:mime-version :content-disposition:user-agent; bh=kdg3JPZ5zrQ7W8hr9qFazHB2ZOVLSE1x8G17oEPKr+g=; b=P7vKPS0f1dpNkbY33T73BCikP7CCvTt9MjXEkIJ1ksik/687M+JkRLuZqg6HYkmHqw 2iwh+RJWaLzE7ttVUSjn5xFRf+k5xmPHMXVchesan3t03ta4tnm/H7+TvO5NbSE1T1nL KeVcLiDlOsFa0J6kR5MVP3BBpRmT9KGWYDbzGQiPuIcTMeFgtzkCQIvi1bf0syUbhJG5 4HsRRU01Ic3f1FzamXzGn7B7lfuwUILw2pmYRnYh+ozFN03ShfVhEWw/oCq/FIfDuMrS jXWJ578CIGJg1oy4lh8KPSAZC4+QYa28+L2aZovYniIymZ1m4f4Owz9a8dUnvd7hk1Aj I42w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mail-followup-to :mime-version:content-disposition:user-agent; bh=kdg3JPZ5zrQ7W8hr9qFazHB2ZOVLSE1x8G17oEPKr+g=; b=nJgbWLhdP952Qvf9eNSqz80MvBHzoaCiYmhwASb3o+8kaKIGtvcTqAVes1jZx+DNHd XxZt9nFLhnSIZhOHrLizByUgdKCDrfTWZsAVlzdFRwf+0bVZ7QfdRZbzz1T/KLy8Z3b8 peCrr9ZSuENQDssK/6TpzMy0QXW3rXcn2dzyW/hiHnhsvlOHTBwga/5RUzwp8w2fnjIY q8wHL9qd63zoIwPwTAG9n/++lIVzjgh79HMESU5Z61GVb1XRVdttlCjUQOJ9lmHU7LIG bJQ8q7VeZQNrkz9tgd1wLO33p/4sTVrrHJW84uDLWgRzDxEJdRfbCW1k5+8yMPr3xjPx 4Q9Q== X-Gm-Message-State: AHQUAuYkT9Om7KTylho1Ae8bzAS3zLDhp3R+DgqGatfaq71VGw2lVJrv luEDSBcdrVtZnQ+AkiMQIszTIUaP X-Google-Smtp-Source: AHgI3IbfMbV4Sa5VZ2rXuOmmPmA8FRZrpDtZBNHziWQjQdG68jyJ28mEd7jk01+VCBFVGCAQYhF5Yw== X-Received: by 2002:a19:9c81:: with SMTP id f123mr10328870lfe.96.1550394433790; Sun, 17 Feb 2019 01:07:13 -0800 (PST) Received: from newvzh.lokolhoz ([95.179.127.75]) by smtp.gmail.com with ESMTPSA id h5sm2700244lfm.29.2019.02.17.01.07.12 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 17 Feb 2019 01:07:13 -0800 (PST) Received: from vovka by newvzh.lokolhoz with local (Exim 4.89) (envelope-from ) id 1gvIPl-0005ey-77 for guile-user@gnu.org; Sun, 17 Feb 2019 12:07:09 +0300 Date: Sun, 17 Feb 2019 12:07:08 +0300 From: Vladimir Zhbanov To: guile-user@gnu.org Subject: display-backtrace Message-ID: <20190217090708.et4zwsvcjnis7s5c@newvzh.lokolhoz> Mail-Followup-To: guile-user@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: NeoMutt/20170113 (1.7.2) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::136 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Feb 2019 09:07:17 -0000 Hi, Is there a way to not limit backtrace output with current terminal width setting? When I compile my project which uses autotools and srfi-64 testing suite, it fails on `make distcheck' stage so I cannot use REPL for debugging (well, I don't know if it's possible in such a case). When looking at backtrace, it shows me lots of parens and lots of ellipses so I don't see real (long) filenames and procedure names and can only guess what's happening. I use Emacs `compile' command to run `make'. Showing backtrace lines without such limitations would be much more helpful. TIA -- Vladimir From MAILER-DAEMON Sun Feb 17 10:32:48 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gvOQy-0004nc-6i for mharc-guile-user@gnu.org; Sun, 17 Feb 2019 10:32:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59284) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvOQw-0004n2-Cj for guile-user@gnu.org; Sun, 17 Feb 2019 10:32:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvOQv-0007EI-Op for guile-user@gnu.org; Sun, 17 Feb 2019 10:32:46 -0500 Received: from sonic314-20.consmr.mail.ne1.yahoo.com ([66.163.189.146]:35875) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvOQv-0007Dx-IZ for guile-user@gnu.org; Sun, 17 Feb 2019 10:32:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1550417564; bh=+FgWceGIPA3/WtcI4lCV04Q05rVMPnPloMLcFjVLIG4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=SkB8Q06j8RNKIbXTiEjpRQmImwU9XfLfLh7nLI32r+llCmuR4E4OA6VsSuEN8uUA7btPPzfXbyUHJNqKS2MdPf9GF8lr5gqrydtNcnYcHspuOAgdybaitB6rP1S4f5PFmZumcGT0bj6kRVNqLGSkiKA3zNv5kOo/ejeZFZyzwvplTy2ZjHBiNOvhc8MaexELxT8B48kZBQwF11OJZCKFRjhSa9uCayeu9DMdxTUMKjhUJLiPXFJQ9iGZoBSQ5OU5xHcs1RmUPPa8bRM2ohNMWuxcceSKPQgyHo/NBLLo0nsHVGXq6l1DEQ6B8U2jlp6zUcoUSN+zsuTtVacjSEuZjA== X-YMail-OSG: 06c3C3gVM1maONMwTYJwVuOu7NtKZlyJGkSbcgWuRV4e6Ulq7PTbyZt1kb8spTM 8rpL2BGe8_h2C2wWts7MsB23Pbg7SkkttLoKpIatlZ973khzR6NWZQIp..2xzKnA9sj1sBUvJvYT 5JRVBWm44AJWXuzquKHxonVPccWcJ1t5exBHgUFk6LK50omt5WdkYVvjwYf5vP1sz3v8oqjxpEqZ Fg2WbmH_B6iVRT_elBKuTfD2yJ22XVXDk6y1gbzrldBOgFW1MoYkupV4ju3DIcy0LX6I1tBkNM3i fnROTgYn4tG50oTIMRt7CnTqVSKgJrrZOQ.2iwgY0lKwqrr.uZLnVbcg.qnmGsEHPOl4nAj15je7 ThGf39LYp8GB82pdQubqHmXLJ5fYaE5fjDM_mei9_kvCUlKw4imtUNo6bROeYxxvSBulTLTWwoJV gN5tq86IEs09rncfhovOSet04qIZwzsSF1fK6uFcff14_TPpc_eLhfaHvLUcTNbdH_Pel8C6LdiE ZJSFFisQCE395q1wlD9SQBu9gEWKJctK8B6gbC9eGZX5Y_L3yOogWuWnSn0n8IXPA1bxVC8a_ZHw ZFNN9xI3F8eMzuRE1AkoM8rV8HrMSBdR.t6HaDYphUQx5dFD.ZVWZhSU8xsq26rQEhXSqQGJu6o_ Il6cYT6.hAb0XFG4f.1bYFSWY_bO3M.G9zQxJnGrC9EqRs83q3lAZG6esolOtGS.g5vUr4oNw_a0 RQeRZFv4HrkL.iAEQgPdw2usMef9GmAF6BCCj3bOWdGQWF9utjIpTthha.cNKzydys5M2GEPFcJg YxHFrsmHO0Dy5NXYbZqec.i4ZvYwlPFw9PiCBQFklSHn4XwksiyuH1kdP3PLJ_KA1Xa.8CtuBdE7 gWHK3.F3LXnypiNRwsJ0J6RDxML8xtpFuq02ht1gnvtWQQJKNs4qqyEf2MWd72H7wz8di1rnSnlH emEpTE8wMKZW9Ms1b7NiAtP4dtwPNdEZ6TxkWPuPKE2miRAVxHXPfxkGWzAkXyx9oIxTcaqiyrxG svM9YCieWYcIzoOkjyZHajw-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.ne1.yahoo.com with HTTP; Sun, 17 Feb 2019 15:32:44 +0000 Received: from 75-54-112-187.lightspeed.irvnca.sbcglobal.net (EHLO joshua.dnsalias.com) ([75.54.112.187]) by smtp425.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 73b168c7ddefe4cf4232b29e0de5f66f; Sun, 17 Feb 2019 15:32:43 +0000 (UTC) Date: Sun, 17 Feb 2019 07:32:37 -0800 From: Mike Gran To: Alex Sassmannshausen Cc: guile-user@gnu.org Subject: Re: [ANN] Guile Hall Release (v0.2) Message-ID: <20190217153237.GA7344@joshua.dnsalias.com> References: <87d0ntxbyd.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87d0ntxbyd.fsf@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 66.163.189.146 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Feb 2019 15:32:47 -0000 On Fri, Feb 15, 2019 at 05:18:02PM +0100, Alex Sassmannshausen wrote: > Hello, > > I've just released Guile Hall 0.2. It includes a number of fixes and > improvements: > - We now correctly wrap all guile module dependencies in generated Guix > recipes > - We have an optional syntax for specifying configure time guile-module > checks. > - `hall scan` and `hall clean` have become more convenient by virtue of > the --skip parameter accepting directories > - We now use a fully-fledged test-runner to run unit tests > - Generated code is prettier to look at Hi- configure tells me that this depends on a (config) library. Where do I get that? Thanks Mike Gran From MAILER-DAEMON Sun Feb 17 11:40:50 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gvPUo-0007Fs-AY for mharc-guile-user@gnu.org; Sun, 17 Feb 2019 11:40:50 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40730) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvPUm-0007Fk-UF for guile-user@gnu.org; Sun, 17 Feb 2019 11:40:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvPUm-0007Cd-4k for guile-user@gnu.org; Sun, 17 Feb 2019 11:40:48 -0500 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]:45270) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvPUl-0007B1-TL for guile-user@gnu.org; Sun, 17 Feb 2019 11:40:48 -0500 Received: by mail-ed1-x529.google.com with SMTP id d9so11783409edh.12 for ; Sun, 17 Feb 2019 08:40:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:reply-to:in-reply-to:date :message-id:mime-version; bh=wZ5xuDyPrGubnFzlChsEHxbGW5iK3VWeZEjiycGqQ6k=; b=J1Xn7s/XR8ktFZgTeLv5N/kF0Zb0hWN4j44tm8hUNP0tOs96EkpufO1NCcnLml8Xwg Hh4f+/e7FbWhGKiK3Hyrnzat4RhDMfA0Usd5dTo3pqO1OR9nbPqhsM+WuFMYumbtVki4 PBog8rKkfK6mb1KCPbLUj3i8/13odeyziVIuTA1e5UB78t8xvdyUvqIlcV1jUT6yXrh5 SuzdGS377HcAoo045RPqRjO00XnRIR/QJx3Pd9y6ikc4m9C2lVzma0eq6GNUHjh+E3/o FbjphL+7rY6gVwNacIgUIW4e3pqNd+P2ulylOZbkJVDDjwHRusbGUwVh6iuOdnCih21r SNFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :reply-to:in-reply-to:date:message-id:mime-version; bh=wZ5xuDyPrGubnFzlChsEHxbGW5iK3VWeZEjiycGqQ6k=; b=aqrvybolwMouMCtEtnFTHf0/R0HCqXr+rpmUP/FZpGF0n2bD85kOFzI9sD0apVs9Z8 A+V9pBU0Te3NSWTUT3m/grPen3IJFM8Xnz5n0oL1k4eVJA1+nc+yNLLeO6O2i+nXynH2 x9cXBDOIa6dW8pepXFnQ+ih94um1hempC9RttpFtGNuTYqg5Zxe38x1d5HLVbImh246Y Sc162rLbA+3mN6eiDsTL815yst8yokCcVNifz7MESs4y/bdAcI5ungA3Ce5qd7HQZt4S RZGj5HQQ0rRq1jNevv07V9s0TjMjlnQ5kLAUglUU94ydQbL3CO3VbDwm6vEXcHpdtzak l/5Q== X-Gm-Message-State: AHQUAubqi9m73nmc9UkwvSWaLuamreBHxRwv3SdJxnzVOsv/lY+2S1Lg AxQOMInWoDt+8H3qLqn2CyGtueWv X-Google-Smtp-Source: AHgI3IYdhkn+TaXJxnYxqlGjUnrfLHTVsv3/jGbTljEnDEEmi/OkyGf9i40TaRZIhTJdq1i7+PzlnQ== X-Received: by 2002:a17:906:bb16:: with SMTP id jz22mr13597498ejb.106.1550421645430; Sun, 17 Feb 2019 08:40:45 -0800 (PST) Received: from watership ([2a02:a03f:3f40:4700:190:c284:a005:767f]) by smtp.gmail.com with ESMTPSA id k26sm2537789ejv.63.2019.02.17.08.40.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 17 Feb 2019 08:40:44 -0800 (PST) References: <87d0ntxbyd.fsf@gmail.com> <20190217153237.GA7344@joshua.dnsalias.com> User-agent: mu4e 1.0; emacs 26.1 From: Alex Sassmannshausen To: Mike Gran Cc: guile-user@gnu.org Subject: Re: [ANN] Guile Hall Release (v0.2) Reply-To: alex.sassmannshausen@gmail.com In-reply-to: <20190217153237.GA7344@joshua.dnsalias.com> Date: Sun, 17 Feb 2019 17:40:43 +0100 Message-ID: <875ztixt9w.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::529 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Feb 2019 16:40:49 -0000 Hey Mike, Mike Gran writes: > On Fri, Feb 15, 2019 at 05:18:02PM +0100, Alex Sassmannshausen wrote: >> Hello, >> >> I've just released Guile Hall 0.2. It includes a number of fixes and >> improvements: >> - We now correctly wrap all guile module dependencies in generated Guix >> recipes >> - We have an optional syntax for specifying configure time guile-module >> checks. >> - `hall scan` and `hall clean` have become more convenient by virtue of >> the --skip parameter accepting directories >> - We now use a fully-fledged test-runner to run unit tests >> - Generated code is prettier to look at > > Hi- > > configure tells me that this depends on a (config) library. > Where do I get that? If you use Guix, it should work automatically. In the absence of it you can install guile-config from https://gitlab.com/a-sassmannshausen/guile-config Let me know if you run into problems! Alex From MAILER-DAEMON Mon Feb 18 04:01:09 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gvenU-0002d3-VK for mharc-guile-user@gnu.org; Mon, 18 Feb 2019 04:01:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53859) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvenR-0002cp-Oy for guile-user@gnu.org; Mon, 18 Feb 2019 04:01:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvenN-0005va-Ic for guile-user@gnu.org; Mon, 18 Feb 2019 04:01:05 -0500 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]:45543) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvenN-0005sK-AR for guile-user@gnu.org; Mon, 18 Feb 2019 04:01:01 -0500 Received: by mail-ed1-x532.google.com with SMTP id d9so13114679edh.12 for ; Mon, 18 Feb 2019 01:00:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:reply-to:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=4XsKpl/MAmFKwkBmOT6aKJsO9yOOqRQsLUIIainkB1k=; b=ThYg/HvqoJBkNUh6ZbEV1Z2bDmVxMhL/NmJ4nlCpj7kIrHwJRN3OuZSkTcUqxstbCQ jkxY6RQciynhJ6MMvPMOmLA0dG6lbMGKIBZ4tONLYSkgR0rxSPnCSFasb5WTBgZGCUa4 yslFXX+meCX2lum1O09eRqhKZr1WcIaRHzE8mcf4irXsvu4+1lxz2QKTyBhsXZlprSX9 u/aomuBwOlKVejbRdb4nVH8N/aaSh+SNr1d7NciIjOa9Yw39/KfKr+Bhqenh5CVb+Fhc BtwF8xMsdxK13Pws1aSf7Y9x4PhfS7eu1dI79JKIs+X4MZi+4GsTD1Pfzwz3sDLj79rw XODA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :reply-to:in-reply-to:date:message-id:mime-version :content-transfer-encoding; bh=4XsKpl/MAmFKwkBmOT6aKJsO9yOOqRQsLUIIainkB1k=; b=FQhbODsjC32WOIsv3BwxQiefgnvZ96XnVECfC9IfEzJe/JdRROZ3d17S/v0ngjHcyo pB0x2zhO44f6VCvLO3Ib+wT+DLj4Z6qSz74wltgPQkU+wYFUaMVXgMDBIZsjHkLc7s37 MC/uTc2yO3PZ5j6wQAk0yhLXylm3vwunodE0t6fiDTsRoEXSuR+ITJg8A5cpM4tvzOwj ZwVPJsfALSf6w9mp2WJGdT4egyv6RTL4Nfn6x7tX0us6CN/eoEyxlAeBM57Xryak0s81 qoQyt8W3lvSXLN2ph4bchjeHNzb8nTeqRTcmbvV+oXuZhV1lfYKfoaL99xVpnaCiytLf Lu0w== X-Gm-Message-State: AHQUAuZLdZi7ZYLs06+gV1uOqxVkC8cIU1P+QzZ60H3Mdjn3sAQ/K/zY ejCMJmWkJ4NLXubzIFMVeEQ1mHEU X-Google-Smtp-Source: AHgI3IaIc1keRUzENPGsujTpihukUhaHPEj+JkXOpyMb+qLtv45VPAJjQIJuLpWnKXWzZd+wQW5Iuw== X-Received: by 2002:a50:d70b:: with SMTP id t11mr18413703edi.142.1550480452490; Mon, 18 Feb 2019 01:00:52 -0800 (PST) Received: from watership ([2a02:a03f:53d3:1900:4110:deae:ac19:3ca7]) by smtp.gmail.com with ESMTPSA id n60sm3702205edc.90.2019.02.18.01.00.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Feb 2019 01:00:51 -0800 (PST) References: <20190216234359.GA3153@joshua.dnsalias.com> User-agent: mu4e 1.0; emacs 26.1 From: Alex Sassmannshausen To: Mike Gran Cc: guile-user@gnu.org Subject: Re: [ANN] guile-curl v0.6 Reply-To: alex.sassmannshausen@gmail.com In-reply-to: <20190216234359.GA3153@joshua.dnsalias.com> Date: Mon, 18 Feb 2019 10:00:50 +0100 Message-ID: <871s45xygt.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::532 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Feb 2019 09:01:07 -0000 Hi Mike, Mike Gran writes: > I am pleased to announce the release of guile-curl 0.6. > This is a library for fetching files by URL from the internet > in the GNU Guile dialect of the Scheme programming language. > It wraps functionality provided by the libcurl library. > It supports many protocols, such as https, ftp, tftp, gopher, > and smtp, and it has many options for proxies. This is cool =E2=80=94 I can also see that it is already packaged for Guix = :D It's really nice to have multiple Guile based approaches to fetching stuff from the web to be able to track bugs in my applications ;-) Alex From MAILER-DAEMON Tue Feb 19 02:27:05 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gvzo1-0006JE-4r for mharc-guile-user@gnu.org; Tue, 19 Feb 2019 02:27:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35380) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvzny-0006Iw-L7 for guile-user@gnu.org; Tue, 19 Feb 2019 02:27:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvznw-00066q-CY for guile-user@gnu.org; Tue, 19 Feb 2019 02:27:02 -0500 Received: from mail-yw1-xc2a.google.com ([2607:f8b0:4864:20::c2a]:44454) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvznc-0005yN-5x; Tue, 19 Feb 2019 02:26:40 -0500 Received: by mail-yw1-xc2a.google.com with SMTP id x21so7386739ywx.11; Mon, 18 Feb 2019 23:26:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LhwrqStYgerLQwkKlLNHvZ6EWQKSY1Jwvmiv8pTDmIA=; b=lf+Sy8fnIVFhZ2nbsMdW2Ixf1HhoVUNsHJhkGUY4ML2RCNb2omTtYbpSXoeT/f3IiY 9CLa62zCzT8rXRTPsBIMnTPUbKl7zQMc95poJLt55IPbk2AB8F0Vp8XD75ywaf8MVg0n swAmQMY/o7EDrs5BMcjbIZlTd1rosi0UDJA+dwNv9pCp8uOUeG9lNSIvNJaCDiYaT6BI vzd88T0jLJdebGufYnF08JhD/CatyybKBpmD+MAzvEwHzjarNqs6QlqjArAiq+D6bTJE sN3ZvBrBhHkbWKeiwNINaVCcOOapUPmxm46XQTIt10e1FCw/Gvqqsftz+53XHzLumVcs VLfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LhwrqStYgerLQwkKlLNHvZ6EWQKSY1Jwvmiv8pTDmIA=; b=RoyKih2b1WoNLyNyjo5nIDkf1Gp80IgvOVA+WCUS4O+apkknCy3tC/W9iwhE+lwLuV vhaZrBHkOtuSvSHnUEl/z2W742fy2F6xw6gTukbWnvFldCWOtKMlIsOq2lYA6nszGJ/t Us9kxE2o5tYVwCvp0UbrnBSUyuMbnv7QliIAB4G1x2wwcBwoqAAivz4kpqlMRFJxMvaT Rul0cLZzvq0VgeiESE0qR8wvxYRXbMik0HqSIhXX1sU/SERvWHgr6toCLT6CaXwrsGoy JyMBSmHqW6r2j39uhqBbJSfqaY8I8Bm+nrwJA6/hX74qPjtJDMKobRWwNtLpCnHd8QGE EnmQ== X-Gm-Message-State: AHQUAuao3ePOfb+nkCUxq2YyxW7Eu6U04iZQEPQey3CjbSWAQEotOSj0 PtOh4eyn76Vk+OhmRv8n07XJ9nMR2CpudEkuZjRE X-Google-Smtp-Source: AHgI3IaOKoJaHnujCAmDnG7NyFjo7qtsQZo8vTJZqJvsTP4sPsdzz1p3LMqk10X+QaDC3tzENyqMev1pRC1GGD2kqaE= X-Received: by 2002:a81:52d3:: with SMTP id g202mr21825281ywb.244.1550561197793; Mon, 18 Feb 2019 23:26:37 -0800 (PST) MIME-Version: 1.0 References: <8736x3upkx.fsf@gmail.com> <877emepudc.fsf@gnu.org> In-Reply-To: <877emepudc.fsf@gnu.org> From: Catonano Date: Tue, 19 Feb 2019 08:26:21 +0100 Message-ID: Subject: Re: [ANN] Guile Hall Release (v0.1.1) To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Cc: Guile User X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::c2a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Feb 2019 07:27:03 -0000 Il giorno dom 1 lug 2018 alle ore 22:36 Ludovic Court=C3=A8s = ha scritto: > Hello Alex, > > Alex Sassmannshausen skribis: > > > Otherwise you can get the code from > > https://gitlab.com/a-sassmannshausen/guile-hall/, and build (hopefully) > > using the traditional > > $ autoreconf -vif && ./configure && make > > dance. > > > > What is Guile Hall? > > > > From the README: > > > > Hall is a command-line application and a set of Guile libraries that > > allow you to quickly create and publish Guile projects. It allows you > > to transparently support the GNU build system, manage a project > > hierarchy & provides tight coupling to Guix. > > This looks really great! There=E2=80=99s this longstanding issue with > distributing Guile code, and this seems to be a good approach. > > In particular, that it=E2=80=99s not a Guix-only solution, while at the s= ame > time offering Guix support is really a wise choice. > > I think we should advertise it widely, it=E2=80=99ll be immensely helpful= to > newcomers. When the manual is more complete ;-), we could refer to it > from guile.texi, too. > That'd be great I have a hard time in trying to fill the manual though The blank page block ! It doesn't help that I don't fully understand the README file I could use some help Alex, Maybe you could edit a skeleton of how you see the manual with paragraph titles titles only ? That would allow me to try to fill it, to some extent. From MAILER-DAEMON Tue Feb 19 14:05:23 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gwAhn-0004s8-Rd for mharc-guile-user@gnu.org; Tue, 19 Feb 2019 14:05:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60313) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwAhl-0004rh-E5 for guile-user@gnu.org; Tue, 19 Feb 2019 14:05:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gwAhk-0003w8-9Y for guile-user@gnu.org; Tue, 19 Feb 2019 14:05:21 -0500 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:37866) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gwAhj-0003pL-U1; Tue, 19 Feb 2019 14:05:20 -0500 Received: by mail-wm1-x32e.google.com with SMTP id x10so3886753wmg.2; Tue, 19 Feb 2019 11:05:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:reply-to:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=e1FhuKygMMz8rb312xsdaNsZxC2NLrC+Ew2YqIN6ql0=; b=LZJPlrnKEhrMi++VX13kt812uO8KK/Q8tWf0FnmChItviACuO3jMae4XYsknGKjn4N ZiKV3qxY0nNl0lbRRwKtz0Q9D72JRv+OM3nFrPxNjh32nz8HBGdU/QRA5LFKvRmwuoyD DYj5tjtdbmVt02SL4nmoGeMENYj5MIZW69eat3YrCSHtb0ZsundenQTeuoxRS//YKH+O ySzGKYbkc+pmqObQYYCnJgp0yVTxILQw1YUc4zAlt2w0iLQbuWNS2Hm8c3Yhuwc44iwd KOIVwKJ8seuvI1UG7Ui6JjMHK78eAbYOIK3nhfFlQgZ9Xh89p27qOp3Qv7aY61AXZxGg V55A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :reply-to:in-reply-to:date:message-id:mime-version :content-transfer-encoding; bh=e1FhuKygMMz8rb312xsdaNsZxC2NLrC+Ew2YqIN6ql0=; b=A7fdNMpS46gdHASeIkZc+7kvwre412x+4dtrmtoPHs+fBi/QNpLrf+GxW6qAIYQjgQ 1Ky84pKHUjiLUVDk4rz+PPFy5NIUO+rOSwB5+5PJCVKs1DqRMJdr9bkP7Sp/aTn2tMVp mlB9RqzilU2S0Q34Uug3NPtaTnABhRk1izxIjaexmbT/Ku4aIAHCKt3YB7nzQdETNvmg jI1iJhuhulrmweVnp1vVZSaTs/dAPZCH6KJT8YnDg5Ef5GI1xETURLyFiVOc0wdiKGaG xlREqqGZEEgUcEJYyZ0c8cwfA47p1oBUqPEYleuWpCJvSYXbbVZC1Kx8O83I83hhsxHH 7XIg== X-Gm-Message-State: AHQUAubH4j7goXpRJCbjt7C28KIcdMo/Darx3r1CJxsM2vho7QRLC+s+ ks0qMTpiX3as0q/m+ho9fMJPFypEPrk= X-Google-Smtp-Source: AHgI3IaUjauoKTJMIUYMMde+i82u6oRrqVMQhGVBGYQ8nYoDQfFuveVKlM9eMME1uN2oBumFOtjM4w== X-Received: by 2002:a1c:ed17:: with SMTP id l23mr3943565wmh.51.1550603113718; Tue, 19 Feb 2019 11:05:13 -0800 (PST) Received: from watership ([87.236.135.19]) by smtp.gmail.com with ESMTPSA id c10sm14553897wrr.69.2019.02.19.11.05.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Feb 2019 11:05:12 -0800 (PST) References: <8736x3upkx.fsf@gmail.com> <877emepudc.fsf@gnu.org> User-agent: mu4e 1.0; emacs 26.1 From: Alex Sassmannshausen To: Catonano Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , Guile User Subject: Re: [ANN] Guile Hall Release (v0.1.1) Reply-To: alex.sassmannshausen@gmail.com In-reply-to: Date: Tue, 19 Feb 2019 19:05:11 +0000 Message-ID: <87wolvwqe0.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::32e X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Feb 2019 19:05:22 -0000 Hi Cato, Catonano writes: > Il giorno dom 1 lug 2018 alle ore 22:36 Ludovic Court=C3=A8s ha > scritto: > >> Hello Alex, >> >> Alex Sassmannshausen skribis: >> >> > Otherwise you can get the code from >> > https://gitlab.com/a-sassmannshausen/guile-hall/, and build (hopefully) >> > using the traditional >> > $ autoreconf -vif && ./configure && make >> > dance. >> > >> > What is Guile Hall? >> > >> > From the README: >> > >> > Hall is a command-line application and a set of Guile libraries that >> > allow you to quickly create and publish Guile projects. It allows you >> > to transparently support the GNU build system, manage a project >> > hierarchy & provides tight coupling to Guix. >> >> This looks really great! There=E2=80=99s this longstanding issue with >> distributing Guile code, and this seems to be a good approach. >> >> In particular, that it=E2=80=99s not a Guix-only solution, while at the = same >> time offering Guix support is really a wise choice. >> >> I think we should advertise it widely, it=E2=80=99ll be immensely helpfu= l to >> newcomers. When the manual is more complete ;-), we could refer to it >> from guile.texi, too. >> > > > That'd be great > > I have a hard time in trying to fill the manual though > > The blank page block ! > > It doesn't help that I don't fully understand the README file > > I could use some help > > Alex, Maybe you could edit a skeleton of how you see the manual with > paragraph titles titles only ? You're quite right to point this out =E2=80=94 I should get at least a draft manual together now. I will see if I can get this done this week. Best wishes, Alex > > That would allow me to try to fill it, to some extent. From MAILER-DAEMON Tue Feb 19 14:44:12 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gwBJM-00024w-2v for mharc-guile-user@gnu.org; Tue, 19 Feb 2019 14:44:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43166) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwBJJ-00021s-E1 for guile-user@gnu.org; Tue, 19 Feb 2019 14:44:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gwBJI-0000RO-7N for guile-user@gnu.org; Tue, 19 Feb 2019 14:44:09 -0500 Received: from relay12.mail.gandi.net ([217.70.178.232]:42597) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gwBJH-0000Ov-TQ; Tue, 19 Feb 2019 14:44:08 -0500 Received: from [10.134.235.240] (unknown [37.164.230.24]) (Authenticated sender: jeremy@korwin-zmijowski.fr) by relay12.mail.gandi.net (Postfix) with ESMTPSA id D25E1200002; Tue, 19 Feb 2019 19:44:03 +0000 (UTC) Date: Tue, 19 Feb 2019 20:44:01 +0100 User-Agent: K-9 Mail for Android In-Reply-To: <87wolvwqe0.fsf@gmail.com> References: <8736x3upkx.fsf@gmail.com> <877emepudc.fsf@gnu.org> <87wolvwqe0.fsf@gmail.com> MIME-Version: 1.0 Subject: Re: [ANN] Guile Hall Release (v0.1.1) To: alex.sassmannshausen@gmail.com, Alex Sassmannshausen , Catonano CC: =?ISO-8859-1?Q?Ludovic_Court=E8s?= , Guile User From: =?ISO-8859-1?Q?J=E9r=E9my_Korwin-Zmijowski?= Message-ID: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.70.178.232 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Feb 2019 19:44:10 -0000 Cool work ! Congratulations all of you=2E I will try to use it for my personal projects! Already waiting for the manual haha Cheers Jeko Le 19 f=C3=A9vrier 2019 20:05:11 GMT+01:00, Alex Sassmannshausen a =C3=A9crit : >Hi Cato, > >Catonano writes: > >> Il giorno dom 1 lug 2018 alle ore 22:36 Ludovic Court=C3=A8s > ha >> scritto: >> >>> Hello Alex, >>> >>> Alex Sassmannshausen skribis: >>> >>> > Otherwise you can get the code from >>> > https://gitlab=2Ecom/a-sassmannshausen/guile-hall/, and build >(hopefully) >>> > using the traditional >>> > $ autoreconf -vif && =2E/configure && make >>> > dance=2E >>> > >>> > What is Guile Hall? >>> > >>> > From the README: >>> > >>> > Hall is a command-line application and a set of Guile libraries >that >>> > allow you to quickly create and publish Guile projects=2E It allows >you >>> > to transparently support the GNU build system, manage a project >>> > hierarchy & provides tight coupling to Guix=2E >>> >>> This looks really great! There=E2=80=99s this longstanding issue with >>> distributing Guile code, and this seems to be a good approach=2E >>> >>> In particular, that it=E2=80=99s not a Guix-only solution, while at th= e same >>> time offering Guix support is really a wise choice=2E >>> >>> I think we should advertise it widely, it=E2=80=99ll be immensely help= ful to >>> newcomers=2E When the manual is more complete ;-), we could refer to >it >>> from guile=2Etexi, too=2E >>> >> >> >> That'd be great >> >> I have a hard time in trying to fill the manual though >> >> The blank page block ! >> >> It doesn't help that I don't fully understand the README file >> >> I could use some help >> >> Alex, Maybe you could edit a skeleton of how you see the manual with >> paragraph titles titles only ? > >You're quite right to point this out =E2=80=94 I should get at least a dr= aft >manual together now=2E > >I will see if I can get this done this week=2E > >Best wishes, > >Alex > >> >> That would allow me to try to fill it, to some extent=2E --=20 Envoy=C3=A9 de mon appareil Android avec Courriel K-9 Mail=2E Veuillez exc= user ma bri=C3=A8vet=C3=A9=2E From MAILER-DAEMON Fri Feb 22 16:46:09 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gxIe0-0000ya-W5 for mharc-guile-user@gnu.org; Fri, 22 Feb 2019 16:46:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59943) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxIdz-0000yM-DF for guile-user@gnu.org; Fri, 22 Feb 2019 16:46:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gxIdy-00017I-5H for guile-user@gnu.org; Fri, 22 Feb 2019 16:46:07 -0500 Received: from mout-xforward.gmx.net ([82.165.159.42]:56165) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gxIdx-00010t-PH for guile-user@gnu.org; Fri, 22 Feb 2019 16:46:06 -0500 Received: from [76.169.116.244] ([76.169.116.244]) by web-mail.gmx.net (3c-app-mailcom-bs04.server.lan [172.19.170.170]) (via HTTP); Fri, 22 Feb 2019 22:46:01 +0100 Message-ID: From: "Noneayour Business" To: guile-user@gnu.org Subject: Re: sandboxing Guile extensions Date: Fri, 22 Feb 2019 22:46:01 +0100 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:nbw6fxgP8tidI+B7JxMnp5VbYhP/66uC7eIPxO27Z6TGW02YWnCx++4cK6p4VR1ft4+HQ 7iO1ekr3uFhjoPYSj+uFsWm8WfruLcg3qeoA0Z1aHVD9i7eNmzYBNNmRFGPH4K9FDnVrQU7jatV5 neym32JVDqONQLrcACrySVWnsV+XXf6HUUrC/Sq/dPz6Ksq3lhxJAd7tVbJ7GkATi4f5s2cz7xw0 H4UjgKAeaBVuK9OPmERBMeKJvkVmXSaB45cj/M8w06ojy205NZO9lZk8DoIapl0TFGTfKWXZKo2y WI= X-UI-Out-Filterresults: junk:10;V03:K0:pfYr1FxlbU4=:SumefF2n144JyL5YUQ9+Oa8N 4KAjePrpz/3Ccp78teIvZVvgXXBZVjtDxFAgkgsjU6pVhYYUd64f+l5N0exRM5XEWdXjR9vl2 hqZ4e0ZALwy6Y2xxEAq1lj8AEb7wNXgZ858K9D8iOxuyzSTv6NBQeiq+RQsbko59BupAY3Fwq mxUjMZTobCE8Gk9wJmk5mSdL5/5o9fG3oEWi9gbhLkRZZFvviVzwXgd5Y7q5tjqA2DYrMKrGE aIHBHJGYQkm5fGh03SgQ6GdemVpXbG8OvzmTSS0R+IhGfFRTNwMDKIB2FNbx7xJS5PqSpQ/le OCAAcrvJErY9iYTOyfwAqohHgliY1yZdrnNZonTKn7C4ei11XLYCDmUg0Ljp+gafGwb2u1qMH ydde8X0XAgLIybo9HwCKRXH5siE0YFy6W+K8DXALkfDqjnGljoJRJOZWzDXmESI/BRtKuCeUJ vIiRKiqdC6PdikgjGAcMMtGzqODWfS8eBqLot1l5wV4w7PDDOn+zJgmQp/PTVh3UVujgI6/pn QjxZSTtDKqpQb2LbfRcoY/nqrQHIVyaQTwmunI1u4OYFBcNUVdL3zP18ZNz/CU5LglXbJQkve 8Z/8mrRwuZVHgPn5SbnBrmNnW9bKqI+bvH5CafX5OMgzN4XP/3r3ODC9bk5q4Ai84+s6QYD1e OKR+0iJjITFOjJrOvTGNcqO9Cg8i3ynQLwYCo846+uHY+Ey9cnwCBH5LJY5xniHHS5nL03CWV A22W0yw7VtpP9ibm7oRn6FRv6jhTQuzSUYOyQcB7NyY9Zb62Djs8WwL3Y= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 82.165.159.42 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2019 21:46:08 -0000 Thanks for the help with this! I hadn't understood the docs well enough to understand that the sandbox module did allow restrictions on what library functions were available. Unfortunately the sandbox module is only available with guile 2.2+, which makes it impractical for my application, since I can't expect users to compile the latest version from source. From MAILER-DAEMON Sun Feb 24 11:10:38 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gxwMQ-0008Op-Bs for mharc-guile-user@gnu.org; Sun, 24 Feb 2019 11:10:38 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxwMO-0008Oj-OA for guile-user@gnu.org; Sun, 24 Feb 2019 11:10:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gxwML-0001Nq-2a for guile-user@gnu.org; Sun, 24 Feb 2019 11:10:34 -0500 Received: from mail-lj1-x22a.google.com ([2a00:1450:4864:20::22a]:43365) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gxwMJ-0001El-Vz; Sun, 24 Feb 2019 11:10:32 -0500 Received: by mail-lj1-x22a.google.com with SMTP id z20so5321579ljj.10; Sun, 24 Feb 2019 08:10:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:reply-to:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=YZfQGrYzKNgowpQ7IEfizjYUr2XVNqDcgOyEkHWPiSg=; b=A/1pyY3SQivQB6a9N/5C/6S9tOikF3hPOoiDKan8qotlP1iwPj39iv5ld9Wr3jzwoj RrH1kAkizgItX1btFJTP0rplLbgrtH6fQTgubuLr4buMieNRXMTC1XrlNZxH5iYdwtkL RAbjzZDNDAk86s1gVhzkzUJ2HLnuqNJuB7omDPu9odcVX/63WKoY0prB/iJBe4vJOy1F BHeJOjNx8lR3aoKn2HRIXgkgzq08BnPqGLqTW3BPA+ahb3XByF/uQJn3UrE7SNPZDhIE WRaOVTchMC179f1Rj/CBQ2r43UZXG/P5lJIzBh0B2DGcqVcmSmze6jr6iDIyvppbLaSE UAGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :reply-to:in-reply-to:date:message-id:mime-version :content-transfer-encoding; bh=YZfQGrYzKNgowpQ7IEfizjYUr2XVNqDcgOyEkHWPiSg=; b=eVcLnNYaAL2sUpVlamWhdApncGOuYDMxMkRSaku1yBFQFNF9NNN/UwBqkOvuDmdf90 hrPe0uEsA4OTtTUJIv2+eS+LFSiYJ4m4VMwZkxs4sSQ+uRDUyIYkv06anHkSqyyf7ucY kph8Fgz03b5HEWsyk53OhPAN6cAkQDz+DnhJa/As45rBNA77mMZ2JwfMb1jF4nd+9mqB M8JgRrRtZBP3OCv8TyGx94yZ8qVJWApDUdgE6hr5zE1ttA8SpgACCpDltnQ1pBtTjmb+ z7NFtuZxRmGyCkgzzrY8TsX3barbcQfdpCMFtwW51FzqkC8cWifnowfLJE0HZ46GQlTb TuMg== X-Gm-Message-State: AHQUAuZLZrHVW9GH/8FPT+sl9i+p8BgWBaFLLLz5sJzQOACCZa5OBb21 pBRZvipWBL1sfSWMZGR8qFz0iu9zj+4= X-Google-Smtp-Source: AHgI3IYDLZIEox0LYxqkGjId8EhAw84j2GVZnMInEm3eKY7HBbU88pgI9gWAQuv4hyB3cq5l2RaEDA== X-Received: by 2002:a2e:9001:: with SMTP id h1mr7770166ljg.5.1551024625458; Sun, 24 Feb 2019 08:10:25 -0800 (PST) Received: from watership ([62.73.210.2]) by smtp.gmail.com with ESMTPSA id b15sm1921722ljj.70.2019.02.24.08.10.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 24 Feb 2019 08:10:24 -0800 (PST) References: <8736x3upkx.fsf@gmail.com> <877emepudc.fsf@gnu.org> User-agent: mu4e 1.0; emacs 26.1 From: Alex Sassmannshausen To: Catonano Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , Guile User Subject: Re: [ANN] Guile Hall Release (v0.1.1) Reply-To: alex.sassmannshausen@gmail.com In-reply-to: Date: Sun, 24 Feb 2019 17:10:14 +0100 Message-ID: <877edptbfd.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::22a X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Feb 2019 16:10:37 -0000 Hi Cato, Catonano writes: > Il giorno dom 1 lug 2018 alle ore 22:36 Ludovic Court=C3=A8s ha > scritto: > >> Hello Alex, >> >> Alex Sassmannshausen skribis: >> >> > Otherwise you can get the code from >> > https://gitlab.com/a-sassmannshausen/guile-hall/, and build (hopefully) >> > using the traditional >> > $ autoreconf -vif && ./configure && make >> > dance. >> > >> > What is Guile Hall? >> > >> > From the README: >> > >> > Hall is a command-line application and a set of Guile libraries that >> > allow you to quickly create and publish Guile projects. It allows you >> > to transparently support the GNU build system, manage a project >> > hierarchy & provides tight coupling to Guix. >> >> This looks really great! There=E2=80=99s this longstanding issue with >> distributing Guile code, and this seems to be a good approach. >> >> In particular, that it=E2=80=99s not a Guix-only solution, while at the = same >> time offering Guix support is really a wise choice. >> >> I think we should advertise it widely, it=E2=80=99ll be immensely helpfu= l to >> newcomers. When the manual is more complete ;-), we could refer to it >> from guile.texi, too. >> > > > That'd be great > > I have a hard time in trying to fill the manual though > > The blank page block ! > > It doesn't help that I don't fully understand the README file > > I could use some help > > Alex, Maybe you could edit a skeleton of how you see the manual with > paragraph titles titles only ? > > That would allow me to try to fill it, to some extent. I've now gotten around to writing a first draft of the manual. It's pretty complete. To get access to it, pull the latest revision, do the autotools dance & run make info. You should then be able to read the info manual in all it's glory. Obviously it will be part of the next release in Guix =E2=80=94 but until t= hen, patches & feedback welcome! Alex From MAILER-DAEMON Mon Feb 25 03:31:08 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gyBfI-0005BJ-KM for mharc-guile-user@gnu.org; Mon, 25 Feb 2019 03:31:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gyBfG-0005B4-Ey for guile-user@gnu.org; Mon, 25 Feb 2019 03:31:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gyBfC-0001t8-Hh for guile-user@gnu.org; Mon, 25 Feb 2019 03:31:06 -0500 Received: from mail-yw1-xc31.google.com ([2607:f8b0:4864:20::c31]:46571) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gyBfB-0001nv-G5 for guile-user@gnu.org; Mon, 25 Feb 2019 03:31:02 -0500 Received: by mail-yw1-xc31.google.com with SMTP id n12so3316732ywn.13 for ; Mon, 25 Feb 2019 00:31:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=VW45IO2A0aWpyD3uscTgb02/1itBOxbpXNcX7H73R8g=; b=d8iR8qw08kP/TlQxNjppc2s0JlTqBK3TZZW+pekoAT/Pm/bAZUSYzRYlLE09JXPYRi tvHLbS36wMY8PzH1m+HmgUudSbgo7VkhR42pw66JMme78xgN3Z8SLGbwGq5VGj7ORKTO NFLUU5BemiKa5fG5EP7NtyoTHpwzuH49I5llmZXCyvBMC0EfxUTZWgcLt51PTT6KeTG6 gOhp2gVSUUvYvCHWBYgAej9K7otwK3iHtPUbnAzQNaOI/dTDk3b5vnz+KGwaR1XJ/Jds xUUdOZPnsICj+SR8O+b1SEz5rqlIvqK9djrRXg34eKZWhjDtatehpHuTV25BJvK0mUZd RMfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=VW45IO2A0aWpyD3uscTgb02/1itBOxbpXNcX7H73R8g=; b=fa0vHPxY5SEx1RDImCvkS7dP4yU0ep1TqzW1IjRJ5fPYWnQEq0ddwI0N7ZMv+WjHSc OoJ/GqrPU+6JPm4CxqCIPswWMeSQ9KPSFjVEs5hEvFzzDTpNeoVnPX70q8wD9kO2nkyj fafrSjq2Mk+gXs7TZ9VYR5ckpCpXQ/CJflZggO9dlalzoETSz7cG2dduA9+A0QbU6tk7 DD95irr/hYhQ/vI1fvPIwSlT4s0nwIt7Wt5B6Udz1MOdfuuJXriz+cQs36CJ1wBdW7lR Epr/lQat6tY5kQOFVTkxYVXOUo46VzYiNuWMM352x7XJ0VTHBwqPqGx3peCK+Ut9evaN zPyg== X-Gm-Message-State: AHQUAuZ1F3MFBKq31hQ9vTOu12CRdMwLhifhkMNEN1M12zlTc5uDYhMG O2FqRbYftl5A6KcWj4ouXWB4eBYEh37OY0IRld2E0r0= X-Google-Smtp-Source: AHgI3IbXpglrXqExnQb+gqOUABdGPk8RKl+QexfxuuxYmHzbHcq7e/bWpXP8CsDL5+9IWeyZerWyrlZzhB09nnBxg8k= X-Received: by 2002:a0d:ec42:: with SMTP id v63mr13264500ywe.387.1551083459417; Mon, 25 Feb 2019 00:30:59 -0800 (PST) MIME-Version: 1.0 From: Catonano Date: Mon, 25 Feb 2019 09:30:46 +0100 Message-ID: Subject: make check To: Guile User X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::c31 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Feb 2019 08:31:07 -0000 I added a test to the test-suite/tests/texinfo.serialize.test file, like this (assert-serialize '(defcodeindex (% (entry "op"))) "@defcodeindex opi ") please note that the texinfo string is wrong I run make check expecting to see a failed test but they all pass Is my new test being run ? It seems it isn't Also, how do I run the texinfo tests only (rather than all of them) ? I tried ../meta/guile -L ./ guile-test tests/texinfo*.test this line returns the prompt but no output and I can't find any log file Thanks From MAILER-DAEMON Tue Feb 26 09:29:45 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gydjt-00026e-Dw for mharc-guile-user@gnu.org; Tue, 26 Feb 2019 09:29:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gydjq-000269-Ld for guile-user@gnu.org; Tue, 26 Feb 2019 09:29:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gydjo-0008Ih-Uq for guile-user@gnu.org; Tue, 26 Feb 2019 09:29:42 -0500 Received: from mail-qt1-x82c.google.com ([2607:f8b0:4864:20::82c]:38262) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gydjo-0008Go-P5 for guile-user@gnu.org; Tue, 26 Feb 2019 09:29:40 -0500 Received: by mail-qt1-x82c.google.com with SMTP id s1so15049200qte.5 for ; Tue, 26 Feb 2019 06:29:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=iBIxuolIi3U9KxFU85TviNPliq6rqGAvh/QZqqecEDw=; b=RvWzxMmJoEEG0jv13s3P0h4cxzsFwK0Y/+QikS0XOHPYPolk+pmb9sysRsC9sr/KG9 mdxoq2+u+R3f1pBe5K2oh6nRYsRtpcPgeg1jfM2glhvrldrEqycD36sLSPrUCL7B0e+U wX5y3PZzzeyepWE4QplPqZfpSedguJQzTsEsGOP+x/QL9QxQPhSIt2BupRUDvl67t7iZ DTruRurqQIUCA7z5ZZxRAmndg4GgNQdkkU0wWxz9YZ2dXsTQ0/iGpihEJ8Tbdj00cFOI B0/fqoDHNPSQCkrQl1nuYizU7maUsOTosWqBoLJCJyYdOGQAumAb4PhE987rrnb+LaBj poww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=iBIxuolIi3U9KxFU85TviNPliq6rqGAvh/QZqqecEDw=; b=OFRN/A5DPZ7fX8QAhYPp6iRVcJaYeLJl6n7MSQTGEZe7BEiaW7+MQIW3yyl76V7oWa LV6thAVUuH3rsvt2QbKI0y02LMYf6PGJeBH7bRtVMdFinucswWf5PpUSznpnJDYUe8yc i3GnZPC8l8QTkREOrntdPoAubm1Wpiu3B9VD2h/XZcruwA7IZPo7b0HKUitAunfh0mw1 kchTezmIYepGYr4TF0vWKU+sZecsZOX8SA7a8E36z16Xz1lcR9vZJsr+J39dFW7jGVv9 Z64VDBh1RFlb3eChhwPD0QxcNV6nRCWZuJjTRhO9AJstjv8oLlE3KaFxp8o9MgGyrJ8C kL/Q== X-Gm-Message-State: AHQUAubq+UqpcbL1RI9prIKNyqlekE2N3hOnNnFdcJuqcs2GDCSdChFM /046fiUnIZECit8kcQ1cF/Z8KTzGXgQRIdH0PyFsbq3a X-Google-Smtp-Source: AHgI3IYsCDHtdJtw5gnekMKSEO+ZXfUEJiDhpB55naXurPVJtyepqDzUSB8Z5DhfCHVkeYCt75+8hpvzCplEftrf9kE= X-Received: by 2002:ac8:2bd4:: with SMTP id n20mr18157751qtn.172.1551191375625; Tue, 26 Feb 2019 06:29:35 -0800 (PST) MIME-Version: 1.0 From: zimoun Date: Tue, 26 Feb 2019 15:29:24 +0100 Message-ID: Subject: Wisp error location? To: guile-user@gnu.org Content-Type: text/plain; charset="UTF-8" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::82c X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2019 14:29:43 -0000 Dear, As you maybe know, the Guix Workflow Language [1] now support the Wisp notation [2]. And it improves the readibility, IMHO. Nice! [1] https://archive.fosdem.org/2017/schedule/event/guixworkflowmanagement/ [2] https://git.savannah.gnu.org/cgit/gwl.git/tree/gwl/utils.scm#n34 However, Wisp v0.9 does not support (yet?) the location when it fails to compile. I have not tried the v1.0 because it is not packaged in Guix, yet. :-) Just to fix the idea: define : sqr x * x x define add1 x 1+ x then `guild compile -f wisp ~/tmp/test.w` fails with: ice-9/boot-9.scm:752:25: In procedure dispatch-exception: Syntax error: unknown location: source expression failed to match any pattern in form (define add1 x (#{1+}# x)) and it is not always to find where the location is. Compared to the Lisp notation, the line is pointed: ice-9/boot-9.scm:752:25: In procedure dispatch-exception: Syntax error: /home/simon/tmp/test.scm:5:0: source expression failed to match any pattern in form (define add1 x (#{1+}# x)) Does it seem fixable ? Thank you in advance for any comments. All the best, simon ps: I do not if there is a dedicated mailing list about Wisp or a bug tracker. Sorry if it is incorrectly addressed and let me know where to post. From MAILER-DAEMON Tue Feb 26 13:22:08 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gyhMm-0003Ah-9v for mharc-guile-user@gnu.org; Tue, 26 Feb 2019 13:22:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gyhMg-0002V3-0F for guile-user@gnu.org; Tue, 26 Feb 2019 13:22:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gyh84-0000XD-Vi for guile-user@gnu.org; Tue, 26 Feb 2019 13:07:00 -0500 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]:46305) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gyh7v-0000LQ-Ic; Tue, 26 Feb 2019 13:06:49 -0500 Received: by mail-pl1-x62a.google.com with SMTP id c17so3429682plz.13; Tue, 26 Feb 2019 10:06:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=dYNFVb3KaxwHUnzqquZEptIIaIuc3u9Wo2Hz1XS/Gh4=; b=eYjOWl9QsE29fKwHyEshxVRFdU4XoFDG8yplgO3qdpvUmZw3vLFNs+0YeP1fIwbkTy 5AamYk4VoinKTZhF9nGcd4+Tk82O0XxDNKbb6FzBHtJf5+djPB8H2OAjXDN8vJeYP97g lYWhnDsBn9MdTISftJNyBeGZTknykKPwWSEQxC4PAWzmVDB6JAjRw+Wx7pea2O0Xh/Oh POpUXwNAtf1L/43H4CBTGz4eu77bSPJAYRGYB9q+tj+2fj3/HL/m0dN+Sq+Km8PK0Qh8 nKc03lFuEdlDlwwe42GaZk67MLKTN6lBFsIT0YxMhw38Rw/82DZx3E4pqTMbz1N0ebrt WbVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=dYNFVb3KaxwHUnzqquZEptIIaIuc3u9Wo2Hz1XS/Gh4=; b=FIYCoQO5h0n7wSXuL+Ox4kRw18m2rB5zPg0l7sctKxwi5j2TclA6o0VEY5ujlBMC7o K/msT+i8QMaNr/wQc///0Xl/viwnz8LyK+/DS/KARwNf+fzFGA91YxcWOAUQ5TH0uMUK MNsb9wSRp58ZjWRtEUKDHfzyW2NNR5IVgDUcnbwLwtLm2jq5O/1atowfYaNXW0/PUEcE E74wJUIOmG7WceWR4z/Y6ylEmnrfOesECCezJ/LIvnsdKkIw+z9naYcFSk2i0KAfc/h7 615dclVhRNNErJOuQzfV7O72Qk5qrTSxMSGpVH03jZOVzpmKosWl9kwbh7MOFqLkGK/w BB4A== X-Gm-Message-State: AHQUAuYED92/60Yzwb7h0A+gw2el/i59AhwVijHTpMRczgwnOz/V0qfE To5oFIufhG84Nn7VbGwxDfk= X-Google-Smtp-Source: AHgI3IaRv25p40+97Gj1B+9VHy0SemxmjULQYQk4j4/AbaWueTCxBvV8b3UXAyzrWXYeDt4ZifIqMg== X-Received: by 2002:a17:902:4081:: with SMTP id c1mr17908281pld.297.1551204403847; Tue, 26 Feb 2019 10:06:43 -0800 (PST) Received: from debian (42-98-181-024.static.netvigator.com. [42.98.181.24]) by smtp.gmail.com with ESMTPSA id r28sm35954040pgl.72.2019.02.26.10.06.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Feb 2019 10:06:42 -0800 (PST) From: Alex Vong To: Vladimir Sedach Cc: help-guix@gnu.org, guile-user@gnu.org Cc: alexvong1995@gmail.com Subject: Re: Which package is your goto package for pretty-printing javascript? References: <87r2bwpd2h.fsf@gmail.com> <5c74ec11.1c69fb81.2956f.ea6eSMTPIN_ADDED_BROKEN@mx.google.com> Date: Wed, 27 Feb 2019 02:06:28 +0800 In-Reply-To: <5c74ec11.1c69fb81.2956f.ea6eSMTPIN_ADDED_BROKEN@mx.google.com> (Vladimir Sedach's message of "Mon, 25 Feb 2019 23:34:11 -0800") Message-ID: <87pnrefmqj.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::62a X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2019 18:22:03 -0000 --=-=-= Content-Type: text/plain [I'm CC'ing guile-user because what I'm about to say might be more relevant there...] Vladimir Sedach writes: > I use json-reformat.el in Emacs, and the jq program (which does > pretty-printing, among many other things) when I have to shell > script. > Isn't both programs work with json instead of javascript? Anyway, after thinking more careful, it seems I need something more powerful than a pretty-printer. I'll ask in guix-devel about this later. However, thanks for letting me know about jq! In the homepage, it is mentioned that "jq is like sed for JSON data". This sounds very interesting: *nix filters typically work with string line by line. Data-structure-wise, we are working with list. More precisely, it's stream (aka lazy list) because we may not get the whole thing during piping and redirection. On the other hand, in lisp, we work with s-expression (tree). I've been wondering if it's possible to create *nix filters that work with tree. It seems it's exactly what jq is doing! One application I've long dreamt about: create a variant of grep which works with context free grammar instead of regular expression. I've even decided to name it cfgrep... > Vladimir --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQQwb8uPLAHCXSnTBVZh71Au9gJS8gUCXHWAJAAKCRBh71Au9gJS 8u/XAPsHsQVfjMiZVK5JhTSyyyit+XiAb0XpkjaiRJhIyJnrJAEA6j+nm4v/IDje QRQnmF51gKEvJ/m8tTdVCOs3n829yQ0= =Flnr -----END PGP SIGNATURE----- --=-=-=-- From MAILER-DAEMON Tue Feb 26 17:15:13 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gyl0L-0000Ex-9R for mharc-guile-user@gnu.org; Tue, 26 Feb 2019 17:15:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gyl0I-0000Ek-Uw for guile-user@gnu.org; Tue, 26 Feb 2019 17:15:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gyl0F-0005xd-K9 for guile-user@gnu.org; Tue, 26 Feb 2019 17:15:10 -0500 Received: from mout.web.de ([212.227.15.14]:56795) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gyl0E-0005uy-Vr for guile-user@gnu.org; Tue, 26 Feb 2019 17:15:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1551219300; bh=Fgng8iQG90m5kG8MkY/BF2/T7c02u/j8WZCfglADlVs=; h=X-UI-Sender-Class:References:From:To:Cc:Subject:In-reply-to:Date; b=MTWvqWELZzScUeD+YMTpKWyqroFdUlhrKJijNhSvREx6YFIdjAqfS7UqZIYUDxgUa 8EWIisGHzpbwEWHqp7ygmm703ny7OjRLmezWblGO+G+tI7s8ccfCAoJ4HN353BR+5N kXsf24QyOhMeOH1KV/DrkzEGq+ReMY9LZNzc6BCE= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from fluss ([84.165.27.69]) by smtp.web.de (mrweb004 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MfCyA-1gfY6A221a-00OrU9; Tue, 26 Feb 2019 23:15:00 +0100 References: User-agent: mu4e 1.0; emacs 26.1 From: Arne Babenhauserheide To: zimoun Cc: guile-user@gnu.org Subject: Re: Wisp error location? In-reply-to: Date: Tue, 26 Feb 2019 23:14:56 +0100 Message-ID: <8736oaxkm7.fsf@web.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Provags-ID: V03:K1:gYrzgHKJgmAkysdTpp+MOWSfLVJKfOLBgy1JZTNQpn0FxwtwjMQ Lm7eb0/TFC0N4PRsrXrl+OieUT9E1mrg7fDgMlUnqOarCb3gHwJ/R4KqY760agfoFRP+EtE mpv/mA8hVJSAQof6peWPWw0rQkytbneIu+XWTA7r6+Lyr4s/J3z0mMHYCGHWG3qGoRUERvb jpBWLQ//nOBcLU/knPtdw== X-UI-Out-Filterresults: notjunk:1;V03:K0:gY/2HNTmf8k=:BllWXVWCedXdsDKRtbkUBp uJaOYCo3qNIbgUVw/CbrZI3grcxgEo/EuIlUVPe9Dngl17yhJ+t/73i5Qgkin7KfD2y7Vlvop kOSeNMTkyJ1OSukThIRFY0uHOKoVNvMJ4vIq0gfvBc+j8N3MQAoHzycikGbOTmfEpnQfbvQ+m yCeGMTHLgf+PV3791JafF2uTsKmjiwYOPQyrwBKwBPTDpA49OBki6GpNjVPHWEBQx3647BUJD fDqfsqs6OZTcGtLtcHmNP5jE4WzNmf8PBRZM7s4uM9D9cX3vzFrY5vPM5N4EOUBAUNrCO9OYI 9itg/HPpehakrnNvkeVKhq+k6+TGdiFPNRtMpbDFUDCD3PUxi1cDoRogJq0NPH+yyok73FyuK AjLHFEpJ1Gy8s+9y7lcB3GYeywmUd175l4dCuMrsqmUsSnZKkuQ3B8oU+4ZafoNBU29EXdRep bDAIGONLDdbmxhxZjF2hUjdgYZzHv9OnDjNncD2zDMBMnrqRd/jbxyWeykXXhHU9VCcZgisq7 jLcuxSU9t85Rgb/wPdPQFElP/sNsZmM2dJfr6hgq8OBBexc0jFtX87DCECaTHpSZSdjYi2gLI fYMgl5Crij6ALZtd7f1SXrUS4A+XTmltaKsRaY6EaRb26i8Lt14KP3yI7uPbL+rrzOu/HyhzW XRGoaAwH7W6atJNghYbykLOFhyuT7fcPbHwJ+rbJR+N0BGu4ak682aazw0CEYruFtcYxQTD75 LVh1vs7w/1SJgCa0GpGOkaRuyHvEGN3ijCoElvcsHC7DnzbPRaWWbT/9cnRxjkiytzbfmwrAq douKc7acjVXOmL8mOZ8ew7ImQzGRo+wdhUrlyyi9KRAWN85Dlo315eOlGAXYI25J5+kKPwhZ7 MoYsNYh6VwXqNn5m5EuT9D0U8ufdJibygHiiqsNlxhDhqgiVz+1KQToFGDTNhQ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.14 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2019 22:15:12 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Dear simon, Thank you for writing! The error-reporting in wisp is currently not at the level of regular Scheme. For some errors you already get the line numbers, but others still lack them. The happy case: If you run the following via guile --language=3Dwisp /tmp/test.w, for example, you get the correct line number of the error: define : sqr x * x x define : add1 x error "foo ~a" 'foo 1+ x add1 2 Adding line number information for compile errors will still take some time =E2=80=94 it should be fixable, but I will have to do more reading up = on Guile compiler internals for that, so I cannot promise a fix within the next months. However you can use a workaround: in case of an error automatically transform the file to regular scheme and run the compiler on that again. The line numbers should then match exactly. I know that that=E2=80=99s only a workaround, but it should already ease debugging a lot. I hope it helps you! guild compile -f wisp /tmp/test.w || (wisp2lisp /tmp/test.w > /tmp/test.scm= && guild compile /tmp/test.scm) Best wishes, Arne zimoun writes: > Dear, > > As you maybe know, the Guix Workflow Language [1] now support the Wisp > notation [2]. > And it improves the readibility, IMHO. > Nice! > > > [1] https://archive.fosdem.org/2017/schedule/event/guixworkflowmanagement/ > [2] https://git.savannah.gnu.org/cgit/gwl.git/tree/gwl/utils.scm#n34 > > > > However, Wisp v0.9 does not support (yet?) the location when it fails > to compile. > I have not tried the v1.0 because it is not packaged in Guix, yet. :-) > > Just to fix the idea: > > define : sqr x > * x x > > define add1 x > 1+ x > > > then `guild compile -f wisp ~/tmp/test.w` fails with: > > ice-9/boot-9.scm:752:25: In procedure dispatch-exception: > Syntax error: > unknown location: source expression failed to match any pattern in > form (define add1 x (#{1+}# x)) > > and it is not always to find where the location is. Compared to the > Lisp notation, the line is pointed: > > ice-9/boot-9.scm:752:25: In procedure dispatch-exception: > Syntax error: > /home/simon/tmp/test.scm:5:0: source expression failed to match any > pattern in form (define add1 x (#{1+}# x)) > > > Does it seem fixable ? > > > Thank you in advance for any comments. > > All the best, > simon > > ps: > I do not if there is a dedicated mailing list about Wisp or a bug tracker. > Sorry if it is incorrectly addressed and let me know where to post. =2D- Unpolitisch sein hei=C3=9Ft politisch sein ohne es zu merken --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE801qEjXQSQPNItXAE++NRSQDw+sFAlx1umEACgkQE++NRSQD w+sXBQ/+JoD+ZzbH+WI9WPwIYvkg39OM4zlKU9ouPLz1oM6W+mgXuNdTiWTv/uVV RJ5hnsFwPqjTLhOlYj9L2nC+5c01aUQiLj+NwtxeGCxUfWRFXUHnj4EZp1s1h+NO eCRn2yMzgeE3GbxxW3hTQ6pKUYb+ydkWD6dA3ghTB0mwdGoDCLGR3Otoj5SGzNI2 i1t1h5n1vRzL5ugxFphmkexhf8xxcABaTis9rZkk5bkqHm9b7dd4nzlYqiIaynjd 3FaoMamyHxIhJEOHbAz2mwSJ471Bb5SKQxv+lMXddgfhRFmQONGWpk36V0oqtsfS RyXmb2y/3J3EsWWgRziHK0alW2XHnc5R45tHZLkdB69y2Wj+zFwvXnF+ItWA5QlY ymXKWoa2TKkjvQXPQuFmlSK4anebPUUTf0wsx5Lsbg7mwI566xXCiXy1CmJKT0Db pTV7Rjd3JapotTtVjRygNPytXu+kyeTGJX+SpHrJlY/GfDYyH1XATL8dY1Mb/pyG RWsET+52i/MP88uBhNOG+nzygaLoedwHGbacSpbKvCUpGp9LPgRFc/7GByrPQbKZ CkDl18OV8Z15hNjWnTVpaVv53uzN0iwHgFiurITP1nGKiHFMgXLS81EuIpQfib32 1jmMMCEvHZ0OarZJhs75hQ+E/uGWnT0H8+Krl5z1F4DkOtwXszCIswQBAQgAHRYh BN0ovebZh1yrzkqLHdzPDbMLwQVIBQJcdbpjAAoJENzPDbMLwQVI26MEAJvlAgHo x5CiP4ib+KeeeXYDWq/a4KD8tiVEE01N/ook5y4pTXGblJBfI5nK4Wp3SmWaJ6o8 ZJFVtB/PGd8cdm1TgBC7Y8rNNndZ9IfM1c3++JdX/9dzFJWp5f+OdySdFYQ6lBqU t4rJh0x/be+QbabPJc/UasYbOzXFyrARS+h2 =9Z2v -----END PGP SIGNATURE----- --=-=-=-- From MAILER-DAEMON Thu Feb 28 18:04:14 2019 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gzUis-000765-OA for mharc-guile-user@gnu.org; Thu, 28 Feb 2019 18:04:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59018) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzUiq-00073V-D0 for guile-user@gnu.org; Thu, 28 Feb 2019 18:04:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gzUio-0004Ud-49 for guile-user@gnu.org; Thu, 28 Feb 2019 18:04:11 -0500 Received: from mail-io1-xd34.google.com ([2607:f8b0:4864:20::d34]:43006) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gzUil-0004Sk-QJ for guile-user@gnu.org; Thu, 28 Feb 2019 18:04:08 -0500 Received: by mail-io1-xd34.google.com with SMTP id p196so18016683iod.9 for ; Thu, 28 Feb 2019 15:04:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=N8r8gg81J9n+rrk5X5wEs8tR93dPkeZsAsvQOT5+A78=; b=fPHXGbfwpcesMlBkRwsCYa2935jYHb6i5SGhYVseJQYszfDsSqXBw928QhLAXZtDZW GoOSVRThbT3Zb0x9V1UUbNwQWR8Hs/v87O30iHcFQOv45dier8M4v1eeXt+IaJYmQxgp pefDWTG+n92dDDJWOFAr2HYPsVEJlWUCmpTNqUq+3ZmKoC0YfgldQbPSy1uxapeFZNf5 MZVy1j4Ou68HJ6DILqJKjufuvb9yFGIawpBuJ0Gu/Iv7U+773hOFLXUtQyuXs27n7YVF tAIHDNhunH1d04CHec0KPlXh6UmisGwiKtS5YBddiO+8Lzc60IFh0ydsKn37D0MYkXwL 3/Ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=N8r8gg81J9n+rrk5X5wEs8tR93dPkeZsAsvQOT5+A78=; b=XJbtAHEt0y2zjtDYrnMQQTrqthrXK2MfR4hEFldU/aXsHwFyI1q3p14QRJKEe9SmLm eiDfQnf2IqyZy6W9JPurkCkSfdHDJZjp+aooWCNsQRoqf5UV5ZUMlLybKzVcEXjVU7ky uTYL0/aFrP2W83IUd7DYUZwB9UxWvZcgqDssuq/2imWUA8AY82f82REQJ17FOjoi8fc4 o5SrVof5klTPO/GSs7oxpfcNE1lAq8/+wAJiG2sND7tS17aLY9QdOSFIyzhf25DyFl24 yV85g+NB42geJsDMCegM0DHgbUxu1Kk1Jbc8sH2qx0px7ImnY7TYDVnyy41n90HLLUUH RwSQ== X-Gm-Message-State: APjAAAWbF3JjKyWPfs3Q94on/sbIN6WSzegToZJxAmiDvXTSfQ0fD5ed SBPj37PkYUiQGB0qcPAx4OvS2GdN5iKVr80iw14BF990 X-Google-Smtp-Source: APXvYqwHIZ/O1l4yay+Llb0z1dej+9paNiCH6Lsasb6Pb/R6jDyEjFtXH8UNSatIv7luvY/o2ArRWi3PvxUYwoHgqI8= X-Received: by 2002:a5e:8d0e:: with SMTP id m14mr1184628ioj.30.1551395043506; Thu, 28 Feb 2019 15:04:03 -0800 (PST) MIME-Version: 1.0 From: Marc Dunivan Date: Thu, 28 Feb 2019 15:03:52 -0800 Message-ID: Subject: Web Browser Plugin/Extension : HTML ? To: guile-user@gnu.org X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::d34 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Feb 2019 23:04:14 -0000 Is there a project dedicated to creating web browser plugins/extensions that allow GNU Guile to run client side in the browser? If so, do they have a website? Basically an Internet media type in the HTML script tag: or . e.g.: I didn't see the Internet media type listed here: https://www.iana.org/assignments/media-types/media-types.xhtml I understand that GNU Guile can act as a web server and a web client. (and GNU Artanis web framework) However, I thought it would be interesting to have it run client side in a web browser, and forget about writing ECMA script. Respectfully,