Re: ?-suffix for booleans... good-idea? or bad-idea?

2017-04-26 Thread Alex Kost
Paul (2017-04-25 12:21 -0400) wrote: > On 04/25/2017 11:50 AM, Jan Wedekind wrote: > >> What do people think? I'm struggling with deciding what's the right >> thing for my own code, but leaning towards "we shouldn't use the ? >> suffix for just boolean values". > > I like using the '?' suffix onl

Re: Yet another GNU Guile package manager (Fwd: Re: How to make GNU Guile more successful)

2017-03-16 Thread Alex Kost
Matt Wette (2017-03-16 05:07 -0700) wrote: >> On Mar 16, 2017, at 2:03 AM, carl hansen wrote: >> ​" >> guile-lib >> >> guile-lib is intended as an accumulation place for pure-scheme Guile >> modules, allowing for people to cooperate integrating their generic Guile >> modules into a coherent libra

Re: Guile security vulnerability w/ listening on localhost + port (with fix)

2016-10-15 Thread Alex Kost
Lizzie Dixon (2016-10-14 14:55 -0700) wrote: > Hi, > > On 10/11, Christopher Allan Webber wrote: >> The default in Guile has been to expose a port over localhost to which >> code may be passed. The assumption for this is that only a local user >> may write to localhost, so it should be safe. Unf

Re: Guile-Lib 0.2.3 released

2016-09-19 Thread Alex Kost
David Pirotte (2016-09-18 23:03 -0300) wrote: > Hello, Hello! > Guile-Lib is intended as an accumulation place for pure-scheme Guile modules, > allowing for people to cooperate integrating their generic Guile modules into > a > coherent library. Think "a down-scaled, limited-scope CPAN for Guil

Re: A request to take charge of guile-zmq

2016-09-13 Thread Alex Kost
Nala Ginrut (2016-09-12 23:02 +0800) wrote: > I plan to use guile-zmq in my work. Also, guile-zmq may play an important role > in Artanis.  > > Thanks Wingo for all previous work. If you don't mind, I would like to take > charge of guile-zmq for improving and maintaining. > > Here's the new repo:

Re: Solid modeling in Guile

2016-08-19 Thread Alex Kost
Matthew Keeter (2016-08-19 00:44 +0300) wrote: > Hi Guile-folks, > > I wrote a computer-aided design (CAD) tool that you may find interesting. > > It’s a solid modeling tool that uses Guile scripts to define objects (and > constructive solid geometry + functional representations under the hood). >

[ANN] Guile-XOSD 0.2

2016-07-22 Thread Alex Kost
Guile-XOSD provides Guile bindings for 'libxosd' library: The main change since v0.1 is: original procedures (with "xosd-" prefix) moved to (xosd bindings) module. Now (xosd) module contains more "Schemey" procedures (for example 'make-osd' with keyword arg

[ANN] Guile-Daemon 0.1

2016-07-22 Thread Alex Kost
Guile-Daemon is a small Guile program that loads your initial configuration file, and then reads and evaluates Guile expressions that you send to a FIFO file: Git repo: git://github.com/alezo

Re: command-line options v2

2016-07-13 Thread Alex Kost
Tobin Harding (2016-07-13 01:30 +0300) wrote: > On Thu, Jun 30, 2016 at 08:44:11PM +1000, Tobin Harding wrote: >> Still unable to pass Guile command line options when invoked by Geiser. > > Problem solved (with input from Andy in guile-devel list thread). > > Submitting this solution in the name o

Re: [ANN] Guile-XOSD 0.1

2016-07-06 Thread Alex Kost
Yann Hodique (2016-07-05 18:00 +0300) wrote: > Oh wow, I had no idea somebody would revive that piece of code. Hehe, I just like OSD very much. Previously I used a couple of my C programs, and suddenly I thought it would be good to use Guile instead. Happily, I found "someone" already made the G

[ANN] Guile-XOSD 0.1

2016-07-05 Thread Alex Kost
Hello Guilers! This is the announcement on the initial release of Guile-XOSD, the bindings for 'libxosd' library¹. Guile-XOSD is based on the old 'lisposd' project² (the author is Cc-ed): lisposd already had a .c file (which is the main part, of course). I just made several additions to "finish"

Re: How to do "ls /tmp > /dev/null" in Guile?

2016-03-21 Thread Alex Kost
Marko Rauhamaa (2016-03-20 12:23 +0300) wrote: > Alex Kost : > >> Ah, thanks! I get it. But I also want to check an exit status of the >> running command (sorry, that I didn't mention it). So I would like to >> have the following procedure: >> >> (def

Re: How to do "ls /tmp > /dev/null" in Guile?

2016-03-20 Thread Alex Kost
Marko Rauhamaa (2016-03-19 14:02 +0300) wrote: > Alex Kost : > >> Hello, in the guile REPL I evaluated the following: >> >> (with-output-to-port (%make-void-port "w") >> (lambda () (display "foo") (newline))) >> >> and I got no

How to do "ls /tmp > /dev/null" in Guile?

2016-03-19 Thread Alex Kost
Hello, in the guile REPL I evaluated the following: (with-output-to-port (%make-void-port "w") (lambda () (display "foo") (newline))) and I got no output as expected. Then I tried the following: (with-output-to-port (%make-void-port "w") (lambda () (system* "ls" "/tmp"))) but there

Re: help needed with (test-suite lib)

2016-03-13 Thread Alex Kost
Matt Wette (2016-03-10 05:08 +0300) wrote: > I am using test-suite/lib.scm from guile-2.0.11. > > > Can anyone explain why I am getting “UNRESOLVED” below? I am > expecting “PASS”. What am I missing? It shouldn't be a lambda (see below). > mwette$ guile > > GNU Guile 2.0.11 > > Copyright (C)

Re: Very Small Atom Feed Reader

2016-03-13 Thread Alex Kost
Amirouche Boubekki (2016-03-06 17:12 +0300) wrote: > Héllo, Hi there! > I share with you this small *atom* feed reader which works from command > line. Create a ~/.prime.txt file with the address of atom files you want > to follow and then run the script. > > The problem I have is that it fails