Re: London Guix meetup

2023-06-13 Thread James Crake-Merani
7;m normally based in Cardiff so it would only take me a couple of hours by train I think to get to London. Thanks, James Crake-Merani. On 13/06/2023 23:27, Arun Isaac wrote: Hi all, We are organizing a casual Guix meetup in London. There is no specific agenda. The intention is for Guix us

Re: GPT-4 knows Guile! :)

2023-03-18 Thread James Crake-Merani
On 18/03/2023 08:29, to...@tuxteam.de wrote: My take is that such potentially society-shattering technologies don't belong in the hands of corporations which have no choice but to maximize their return on investment. But perhaps that's me. Yes, I find it concerning that this technology is owne

Re: GPT-4 knows Guile! :)

2023-03-18 Thread James Crake-Merani
regard, it is still too erroneous to be used for even that purpose. James Crake-Merani. [1]: https://openai.com/research/gpt-4 (click 'read paper' for the actual paper.) On 17/03/2023 19:28, Damien Mattei wrote: finally i can reconnect to chatGPT server and here is the result: (de

Re: Static site generator

2023-01-13 Thread James Crake-Merani
On 13/01/2023 17:53, Jack Hill wrote: On Fri, 13 Jan 2023, James Crake-Merani wrote: Hi, I was wondering if you guys are aware of any static site generators written in Guile. I'm looking for something that can be extended in Guile so I can write my own code for it in Scheme. I'

Static site generator

2023-01-13 Thread James Crake-Merani
m not mistaken. Thanks, James Crake-Merani

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

2022-10-12 Thread James Crake-Merani
ork. I think Curl must be doing something behind the scenes that satisfies these APIs that the web module's http-request doesn't do. I would much rather use Guile's built-in libraries because they are much more functional whereas Curl uses lots of procedures with side-effects to configure its requests but I just could not get it to work. APIs seem to work in mysterious ways. Hope that was helpful, James Crake-Merani.

What do you use to make HTTP requests?

2022-08-10 Thread James Crake-Merani
Hi, I'm just curious as to which library people prefer. I know Guile comes with its web libraries that let you make HTTP requests, but I'm also aware that libcurl has bindings for Guile. Do you prefer the former, or the latter? Or are there any other libraries that do HTTP requests that I've no

Re: Scripting for installing a module

2022-07-05 Thread James Crake-Merani
On 22/07/05 11:14am, Munyoki Kilyungi wrote: > James Crake-Merani > anaandika: > > [...] > > > Hi, > > > > The reason why I have been a bit reluctant to use GNU Guix for this > > sort of thing is that the distro I use is not Guix but rather Arch > >

Re: Scripting for installing a module

2022-07-03 Thread james
On 22/07/02 02:09pm, Matt Wette wrote: > Another option is some variant of > >     $ sudo cp xyz/file.scm `guile -c '(display > (%global-site-dir))'`/xyz/file.scm > > On 7/1/22 10:15 AM, James Crake-Merani wrote: > > guile -c '(display (%global-site-dir

Re: Scripting for installing a module

2022-07-03 Thread James Crake-Merani
On 22/07/02 07:43pm, Zelphir Kaltstahl wrote: > > On 7/2/22 10:46, James Crake-Merani wrote: > > On 22/07/02 09:11am, adriano wrote: > > > Il giorno ven, 01/07/2022 alle 18.15 +0100, James Crake-Merani ha > > > scritto: > > > > Hello, > > > &

Re: Scripting for installing a module

2022-07-02 Thread James Crake-Merani
On 22/07/02 09:11am, adriano wrote: > Il giorno ven, 01/07/2022 alle 18.15 +0100, James Crake-Merani ha > scritto: > > Hello, > > > > I was just wondering what approach people tend to take when writing a > > script which installs a module onto the load-path. I und

Re: Scripting for installing a module

2022-07-01 Thread James Crake-Merani
On 22/07/01 09:50pm, Jérémy Korwin-Zmijowski wrote: > Yo James, > > I use Guile Hall or Guix to handle the distribution or mysm scripts. > > Jérémy Hi, I wasn't aware of Guile Hall so I'll have to look into that. Thanks for your help.

Scripting for installing a module

2022-07-01 Thread James Crake-Merani
Hello, I was just wondering what approach people tend to take when writing a script which installs a module onto the load-path. I understand this path might be different on different machines so how do you make sure the module is installed in the right path? Would you use something like a Makef

Re: LSP Server for Scheme (and more ...)

2022-06-11 Thread James Crake-Merani
On 22/06/10 10:05pm, r.he...@posteo.de wrote: > Hi Guilers! > > I want to share a couple of things I have being working on that you may find > useful. > > 1) I developed an LSP Server for Scheme. For those that don't know the > Language Server Protocol (LSP), it is meant for adding programming la

Re: [EXT] Re: guile program distributed as single executable?

2022-06-07 Thread james
On 22/06/07 08:02am, Thompson, David wrote: > It doesn't actually generate standalone binaries. It is very hacky but it > can produce redistributable tarballs for a specific use-case (games using > chickadee) by including shared libraries and other bits from the host > system. Standalone executabl

Re: Installing Guile 3 on ArchLinux

2022-04-01 Thread james
On 22/04/01 11:26am, Jérémy Korwin-Zmijowski wrote: > Dear Guilers, > > I am updating the installation page of https://jeko.frama.io and I am > wondering how one can install Guile 3 on Archlinux. If anyone has a > suggestion, let me know ! > > -- > Jérémy Korwin-Zmijowski > > GPG: 036B 4D54 B7B

Re: Proposal: Deep Dive into the Guile Docs & Makeover Proposal

2022-02-08 Thread james
On 22/02/08 02:36pm, Blake Shaw wrote: > > Dear Guix (and guile users, who I've Cc'd), > > My apologies for turning this in last minute. There had been discussion about > this proposal on the guix mailing list, and I had missed that I need to > submit a formal proposal until roptat mentioned it

Re: Option to create statically linked binaries

2021-12-29 Thread James Crake-Merani
On 21/12/29 10:59pm, Sai Karthik wrote: > Hello everyone! I'm new to guile. I am exploring the language since a couple > of days. It would be nice to have option to produce such binaries for > programs built using guile (like with golang & some more langs). > > Was this topic already discussed here

Re: How best to produce a standalone executable with Guile?

2020-04-07 Thread James Cooper
can specify an executable name for the Guile implementation. Thanks again. Regards, James On Sun, 5 Apr 2020 at 05:28, James Cooper wrote: > Hi Guile folks, > > I am currently experimenting with a handful of languages that include > modern implementations of Concurrent ML, to

How best to produce a standalone executable with Guile?

2020-04-05 Thread James Cooper
p. Thanks in advance. Regards, James

Re: Guile, Emacs, and smartphones

2011-06-18 Thread Joel James Adamson
Mike Gran writes: > Hi- > > So, it is time for me to buy a new phone. >   > Has anyone run Emacs or Guile on their phone? >   > (Somehow I doubt there is a phone keyboard that'll let me type > +). I have not tried any; but the question I ask is "which Emacs features do you want?" One of my main

Re: regex-split for Guile

2011-03-14 Thread William James
Neil Jerram wrote: > Thanks for posting that! For fun/interest, here's an alternative > implementation that occurred to me. > >Neil Thanks for the feedback. > > > (use-modules (ice-9 regex) > (ice-9 string-fun)) > > (define (regex-split regex str . opts) > (let* ((uni

regex-split for Guile

2011-03-07 Thread William James
Tested under Guile 1.8.7. (define (regex-split regexp str . options) (let ((keep #f) (trim #f)) (if (member 'keep options) (begin (set! options (delete 'keep options)) (set! keep #t))) (if (member 'trim options) (begin (set! options (delete 'trim options))

Re: a straight way to testing the own scheme capabilities?

2011-01-21 Thread Joel James Adamson
maledetto writes: > On Fri, 21 Jan 2011 09:07:49 -0500 > Joel James Adamson wrote: > >> Thien-Thi Nguyen writes: >> >> > () maledetto >> > () Thu, 20 Jan 2011 23:12:25 +0100 >> > >> >aren't there some tests out there? >>

Re: a straight way to testing the own scheme capabilities?

2011-01-21 Thread Joel James Adamson
Thien-Thi Nguyen writes: > () maledetto > () Thu, 20 Jan 2011 23:12:25 +0100 > >aren't there some tests out there? > > What would such a test look like? To the OP: Can you be more specific about what you want? I suggest reading The Little Schemer[1] if you want to really understand the con

Re: List functions

2010-12-01 Thread Joel James Adamson
Hans Aberg writes: > It seems natural to translate (f, g) x into ((f g) x), and () x into > (() x), but I'm not sure if the lists (f g) and () can be made acting > as functions this way. (f g) would evaluate as a composition as long as f takes a procedure as an argument and returns a function th

Re: Unbound variable: quote

2010-09-24 Thread Joel James Adamson
Andy Wingo writes: > On Thu 23 Sep 2010 18:19, Joel James Adamson writes: > >> Why would `quote' be redefined? What's going on here and how can I fix it? > > Perhaps the module that you are calling use-modules in has no binding > for `quote'. Is there an

Unbound variable: quote

2010-09-23 Thread Joel James Adamson
Hello, I'm trying to load a file at the REPL that loads some modules from a subdirectory then defines a function. At reading my use-modules statements, I get the following error: guile> %load-path ("/home/joel/Public/src/age_dep/sim/trunk" "/usr/share/guile/site" "/usr/share/guile/1.8" "/usr/sh

Re: Give up Guile

2010-09-06 Thread Joel James Adamson
Marek Kubica writes: > On Thu, 02 Sep 2010 14:14:24 -0400 > Joel James Adamson wrote: > >> > After several day's investigating Guile, I decide to give up and >> > return to PLT-scheme/MIT-scheme. The experience is so frustrating. >> >> And why ar

Re: Give up Guile

2010-09-02 Thread Joel James Adamson
Shenli Zhu writes: > Hi Guile hackers, > > After several day's investigating Guile, I decide to give up and return to > PLT-scheme/MIT-scheme. The experience is so frustrating. And why are you telling us??? Joel -- Joel J. Adamson Servedio Lab University of North Carolina at Chapel Hill FSF M

Re: searching book tips

2010-08-30 Thread Joel James Adamson
anog...@gmx.at writes: > Thank you so much for these nice links. > >> We learn C# at school... and I'd like to write beautiful free software. > > I should have written: "We learn C# at school... but I'd like to write > beautiful free software." Right, well C# may or may not be a good language to

Re: Plotting in Guile

2010-08-18 Thread Joel James Adamson
Andy Wingo writes: > Hi Joel, > > On Wed 28 Jul 2010 08:21, Joel James Adamson writes: > >> I am using Guile to iterate equations and produce trajectories from >> those iterations. My current strategy is to redirect the stdout to a >> file and then use GNUPL

Re: Plotting in Guile

2010-08-04 Thread Joel James Adamson
Mike Gran writes: >> From: Joel James Adamson >>> Mike Gran writes: >> > >> > >> > It is at http://github.com/spk121/guile-plotutils > >> >> Can we set up something on github?  As soon as it's ready for Savannah >> we can

Re: Plotting in Guile

2010-08-04 Thread Joel James Adamson
Mike Gran writes: >>>I'll throw up the code somewhere temporary but hackable, like github, > >>>tomorrow. >> >> Can't wait... >> > > It is at http://github.com/spk121/guile-plotutils > > We're probably boring the guile-users lists at this point, so you could > mail me directly, if you s

Re: Plotting in Guile

2010-07-29 Thread Joel James Adamson
Thien-Thi Nguyen writes: > () Joel James Adamson > () Thu, 29 Jul 2010 10:59:33 -0400 > >A small C program could act as a daemon that feeds instructions to >GNUPLOT through a pipe, but the daemon could be accessed through a >socket. > > This sounds like a go

Re: Plotting in Guile

2010-07-29 Thread Joel James Adamson
Thien-Thi Nguyen writes: > () Joel James Adamson > () Thu, 29 Jul 2010 10:52:25 -0400 > >I would definitely work on that (if you're inviting me). > > If All Goes Well (i.e., Mike Gran makes a repo public under nice > license and you finangle a savannah account i

Re: Plotting in Guile

2010-07-29 Thread Joel James Adamson
Thien-Thi Nguyen writes: > () Joel James Adamson > () Wed, 28 Jul 2010 14:43:49 -0400 > >I just have to figure out how to use pipes... > > Have you looked at the friendly manual? Not YET. I was just reiterating that I'm a newbie to anything involving IPC and t

Re: Plotting in Guile

2010-07-29 Thread Joel James Adamson
Thien-Thi Nguyen writes: > () Mike Gran > () Wed, 28 Jul 2010 09:16:21 -0700 (PDT) > >Guile binding of GNU Plotutils >[...] >planned that someday I'd clean it up and making it available > > I recently (last few months) got some practice adding Guile-foo projects > to Savannah. Altho

Re: Plotting in Guile

2010-07-28 Thread Joel James Adamson
Hans Aberg writes: > Guile has both scm_pipe() to use in a C program, and pipe to use in > Scheme code. So you might try calling it directly. If you turn GNUPLOT > into a library, you can link it directly to Guile. There was such a library a few years back, but it is now out of synch with the ma

Re: Plotting in Guile

2010-07-28 Thread Joel James Adamson
Linas Vepstas writes: > On 28 July 2010 12:54, Joel James Adamson wrote: >> Hans Aberg writes: >>> >>> GNUPLOT seems to require pipes, if not using a file. >> >> The question from the IPC newbie (myself): is there something wrong with >> pipes?  I

Re: Plotting in Guile

2010-07-28 Thread Joel James Adamson
Mike Gran writes: >> > For my own personal use, I have a Guile binding of GNU Plotutils.  I had >> > planned that someday I'd clean it up and making it available.  It has most >> > of the functionality of the GNU Plotutils 'graph' program.  >> >> My questions: >> 1.  What is the status of Plotu

Re: Plotting in Guile

2010-07-28 Thread Joel James Adamson
Hans Aberg writes: > On 28 Jul 2010, at 17:21, Joel James Adamson wrote: > >> I am using Guile to iterate equations and produce trajectories from >> those iterations. My current strategy is to redirect the stdout to a >> file and then use GNUPLOT to plot the trajectorie

Re: Plotting in Guile

2010-07-28 Thread Joel James Adamson
Mike Gran writes: >> Hello, >> >> 1. Is there is a plotting extension for guile, or a library that I could >> use in such a way?  The advantage of GNUPLOT is that it can produce many >> different kinds of output, including SVG and Pstricks code.  If a >> plotting module exists, I haven't found i

Plotting in Guile

2010-07-28 Thread Joel James Adamson
Hello, I am using Guile to iterate equations and produce trajectories from those iterations. My current strategy is to redirect the stdout to a file and then use GNUPLOT to plot the trajectories as parametric plots. However, I would like to contain everything within one program, to keep Makefile

Re: Loading a module from the current-working-directory

2010-07-22 Thread Joel James Adamson
Thien-Thi Nguyen writes: > () Joel James Adamson > () Wed, 21 Jul 2010 16:27:54 -0400 > >(define-module (popgen popgen)) > >[...] > >guile> (set! %load-path (cons (getcwd) %load-path)) >guile> (use-modules (popgen popgen)) > >[...] &

Loading a module from the current-working-directory

2010-07-21 Thread Joel James Adamson
Hello, I've written a simple module: (define-module (popgen popgen)) (export popgen) (use-modules (ice-9 format)) (define *numprec* "~10,8,,,0f ") (define *numformat* (string-append "~{" *numprec* "~}~%")) (define (popgen popfun data) ;; POPFUN is a function that evaluates the vector DATA t

Re: Guile-PG back in the groove

2010-06-24 Thread James Cloos
that the new master branch ref gets pushed. -JimC -- James Cloos OpenPGP: 1024D/ED7DAEA6

any news on 1.8 for debian?

2006-07-26 Thread Nic James Ferrier
I've been waiting for a 1.8 debian package before starting work again on my libxml2/libxslt binding. Anybody know why it's taking so long to get a debian of 1.8 into etch or sid? Is anybody working on it? -- Nic Ferrier http://www.tapsellferrier.co.uk for all your tapsell ferrier needs