Re: Srfi-159/166 - monadic formatting for guile

2019-06-02 Thread Linus Björnstam
Thanks Ludo! When SRFI-166 stabilizes I will probably make a pull request myself and convert the srfi document to a texi file. I want to package it as (srfi srfi-166) whenever that happens, and maybe try to get it into guile (or at least become the maintainer for the guix package myself). T

[ANN] Guile-SDL2 0.4.0 released

2019-06-02 Thread Thompson, David
I'm happy to announce that Guile-SDL2 0.4.0 has been released! Guile-SDL2 provides bindings for the SDL2 game programming library. The bindings are written in pure Scheme using Guile's foreign function interface. This release features several new bindings: * SDL_BlitScaled * SDL_BlitSurface * SDL

Re: guile-user Digest, Vol 199, Issue 4

2019-06-02 Thread Zelphir Kaltstahl
Hi Ludovic, Thank you! This was the missing piece. Host should apparently be a combination of domain and port, if I understand correctly. I seem to be able to talk to dockerd from Guile now : ) I will add an example of how to connect to UNIX socket in my repos. Regards, Zelphir On 6/2/19 11:4

Re: Using UNIX sockets (Zelphir Kaltstahl) (Ludovic Court?s)

2019-06-02 Thread Zelphir Kaltstahl
(previous e-mail did not have specific subject, corrected in this e-mail, sorry for unspecific subject, simply forgot to change before sending the e-mail) Hi Ludovic, Thank you! This was the missing piece. Host should apparently be a combination of domain and port, if I understand correctly. I s

guile-2.9.2 and threading

2019-06-02 Thread Linas Vepstas
I'm trying to understand how scm_jit_enter_mcode leads to scm_timed_lock_mutex ... I want to know who is attempting to lock, and why ... and how to work around this... Background: par-for-each works poorly for my app, I want to understand why. Specifically, how par-for-each and n-par-for-each work

Re: Matrix or array operations library

2019-06-02 Thread Linas Vepstas
Me too. With one significant difference: I have extremely sparse arrays. Like, only one-in-a-million array entries are non-zero. And my arrays are hug -- say 2M by 2M, for a total of 4 tera-entries, of which only one in a million are non-zero, so in fact, my data might fit in a gigabyte or less.

Re: Srfi-159/166 - monadic formatting for guile

2019-06-02 Thread Arne Babenhauserheide
Linus Björnstam writes: > I just ported the reference implementation of SRFI-159/166 (166 being the > successor of 159) from the reference implementation in chibi scheme. The srfi > document is here: https://srfi.schemers.org/srfi-166/srfi-166.html … > Anyway, the repo is here: https://bitbuc

Re: Srfi-159/166 - monadic formatting for guile

2019-06-02 Thread Ludovic Courtès
Hi Linus, Linus Björnstam skribis: > Anyway, the repo is here: https://bitbucket.org/bjoli/guile-srfi-159 . I > haven't ported the tests, but playing with it in guile and chibi scheme > produces the same result. Tests are up, but I'm travelling without computer > the next week, so there is no

Re: On the Guile-SSH future

2019-06-02 Thread Linas Vepstas
FYI, I've written a guile telnet server; unfortunately it is deeply buried in another project and would be hard to abstract. Why do this? Well, because the default guile-2.2 network REPL server was slow, would crash, deadlock, have terrible response times, etc. making it embarrassingly unusable.

Re: [ANN] guile-gi v0.0.1 released

2019-06-02 Thread Jan Nieuwenhuizen
Ludovic Courtès writes: Hi! >> * gnu/packages/guile-xyz.scm (guile-gi): New variable. > > LGTM! > > Guile-GI has the potential to make a lot of people happy. :-) Yes, even if they're mostly developers atm ;-) Pushed to master as bdf2dd797e1e57dab1d504a6e1af783ec5802afd Teaser added to th

Re: Using UNIX sockets (Zelphir Kaltstahl)

2019-06-02 Thread Ludovic Courtès
Hi Zelphir, Zelphir Kaltstahl skribis: [...] > ;; Apparently the `host` header must be specified. > ;; The `host` header in this case is ???. > #:headers '((host . "localhost")) This should be: #:headers '((host . ("localhost" . #f)))

Re: [ANN] guile-gi v0.0.1 released

2019-06-02 Thread Ludovic Courtès
Hello! Jan Nieuwenhuizen skribis: > Mike Gran writes: > >> Hello. I am announcing guile-gi v0.0.1. > > Wow, congrats! And thanks! Yay, congrats! > From f4602d57f74cb2690b01fb23638ce2037ccd9105 Mon Sep 17 00:00:00 2001 > From: Jan Nieuwenhuizen > Date: Fri, 31 May 2019 19:47:21 +0200 > Subjec

Re: [ANN] Gash 0.1 released

2019-06-02 Thread Ludovic Courtès
Hi Timothy! Timothy Sample skribis: > I am very pleased to announce that Gash version 0.1 has been released. Thumbs up to the fearless hackers who put this together! It’s a great step for bootstrapping, but I’m sure there’s lots of fun to be had in other contexts as well. :-) Ludo’.

Re: [ANN] Gash 0.1 released

2019-06-02 Thread Timothy Sample
Hi Matt, Matt Wette writes: > On 6/1/19 11:53 AM, Timothy Sample wrote: > >> Hi all, >> >> I am very pleased to announce that Gash version 0.1 has been released. > > Impressive. Congrat's. Thanks! >>http://download.savannah.nongnu.org/releases/gash/gash-0.1.tar.gz >> > When I run "make ch

Re: Using UNIX sockets (Zelphir Kaltstahl)

2019-06-02 Thread Zelphir Kaltstahl
Hi Guile Users! I think I've made some progress on how to communicate with dockerd over its UNIX socket. This is what I have now: (use-modules (web client) (ice-9 iconv)) (define* (connect-to-docker-socket #:key (socket-path "/var/run/docker.sock")) (let ([docker-sock-addr (make-s

Re: Using UNIX sockets (Zelphir Kaltstahl)

2019-06-02 Thread Zelphir Kaltstahl
Hi Guile Users! I think I've made some progress on how to communicate with dockerd over its UNIX socket. This is what I have now: (use-modules (web client) (ice-9 iconv)) (define* (connect-to-docker-socket #:key (socket-path "/var/run/docker.sock")) (let ([docker-sock-addr (make-s

Srfi-159/166 - monadic formatting for guile

2019-06-02 Thread Linus Björnstam
Hi there! I just ported the reference implementation of SRFI-159/166 (166 being the successor of 159) from the reference implementation in chibi scheme. The srfi document is here: https://srfi.schemers.org/srfi-166/srfi-166.html SRFI-166 is like (ice-9 format) on steroids, drenched in molasses.

Re: [ANN] Gash 0.1 released

2019-06-02 Thread Matt Wette
On 6/1/19 11:53 AM, Timothy Sample wrote: Hi all, I am very pleased to announce that Gash version 0.1 has been released. Impressive. Congrat's. http://download.savannah.nongnu.org/releases/gash/gash-0.1.tar.gz When I run "make check" there are 8 XFAILs. Are those expected? Matt PA

Re: [ANN] Gash 0.1 released

2019-06-02 Thread ng0
Hi, congrats. Looks like a nice project. And packaging it with no struggle (so far) - I'm about to push a package to pkgsrc-wip. Timothy Sample transcribed 2.5K bytes: > Hi all, > > I am very pleased to announce that Gash version 0.1 has been released. > This is the very first release, but it re