Re: Guile fibers return values

2020-01-14 Thread Amirouche Boubekki
Hello Zelphir! Le sam. 4 janv. 2020 à 22:49, Zelphir Kaltstahl a écrit : > > Hello Guile users! > > I have questions regarding the usage of the fibers library. It seems, > that I cannot find any way to get a computation result back from a > fiber. I also cannot find anything about how to get a

Re: [ANN] nomunofu v0.1.0

2019-12-22 Thread Amirouche Boubekki
Hello all ;-) I ported the code to Chez Scheme to do an apple-to-apple comparison between GNU Guile and Chez and took the time to launch a few queries against Virtuoso available in Ubuntu 18.04 (LTS). Spoiler: the new code is always faster. The hard disk is SATA, and the CPU is dubbed:

Re: [ANN] nomunofu v0.1.0

2019-12-16 Thread Amirouche Boubekki
Le jeu. 12 déc. 2019 à 16:58, a écrit : > > On Thu, Dec 12, 2019 at 03:57:18PM +0100, Amirouche Boubekki wrote: > > I am pleased to share with you the v0.1.4 binary release. It contains > > the following improvements: > > This sounds very intriguing. I'm drowned in custom

Re: GNU Guile 2.9.7 Released [beta]

2019-12-15 Thread Amirouche Boubekki
Le sam. 14 déc. 2019 à 19:03, Amirouche Boubekki a écrit : > > Le ven. 13 déc. 2019 à 14:31, Andy Wingo a écrit : > > > > We are pleased to announce GNU Guile release 2.9.7. This is the seventh > > and hopefully next-to-last pre-release of what will eventually become &g

Re: GNU Guile 2.9.7 Released [beta]

2019-12-14 Thread Amirouche Boubekki
Le ven. 13 déc. 2019 à 14:31, Andy Wingo a écrit : > > We are pleased to announce GNU Guile release 2.9.7. This is the seventh > and hopefully next-to-last pre-release of what will eventually become > the 3.0 release series. I tested with nomunofu v0.2.0

Re: [ANN] guile-web-driver

2019-12-14 Thread Amirouche Boubekki
Le ven. 13 déc. 2019 à 15:12, Michal Herko a écrit : > > I am pleased to announce the first relase of guile-web-driver. > > guile-web-driver is a client implementation of WebDriver aka Selenium2 > protocol. > This protocol allows programatic control of a web browser session. > > The

Re: [ANN] nomunofu v0.1.0

2019-12-12 Thread Amirouche Boubekki
I am pleased to share with you the v0.1.4 binary release. It contains the following improvements: - The REST API takes JSON as input, which will make it easier to create clients in other programming languages; - The REST API takes limit and offset as query string. The maximum limit is 1000; -

Re: [ANN] nomunofu v0.1.0

2019-12-10 Thread Amirouche Boubekki
Le dim. 8 déc. 2019 à 18:52, Amirouche Boubekki a écrit : > > I am very pleased to announce the immediate availability of nomunofu. > > nomunofu is database server written in GNU Guile that is powered by > WiredTiger ordered key-value store. > > It allows to store and que

[ANN] nomunofu v0.1.0

2019-12-08 Thread Amirouche Boubekki
I am very pleased to announce the immediate availability of nomunofu. nomunofu is database server written in GNU Guile that is powered by WiredTiger ordered key-value store. It allows to store and query triples. The goal is to make it much easier, definitely faster to query as big as possible

Re: babelia

2019-12-06 Thread Amirouche Boubekki
Hello all! Le sam. 16 nov. 2019 à 11:06, Amirouche Boubekki < amirouche.boube...@gmail.com> a écrit : > I restarted working on my personal search engine. > After two weeks of work, 41 files changed, 1845 insertions(+), 441 deletions(-) and 97 commits, I tagged a v0.2.0 in th

Re: Nyacc and guile-nearly-3.0

2019-12-04 Thread Amirouche Boubekki
Le lun. 2 déc. 2019 à 10:40, a écrit : > Hi, > > to anyone "in the know": is it worth to give nyacc a spin under > Guile nearly-3.0 (i.e. >= 2.9.5)? > > I know the "configure" precludes that, but it's fairly obvious > how to jump that fence. Is it a total loss of time -- or worth > a try? > >

Re: babelia

2019-11-22 Thread Amirouche Boubekki
Le sam. 16 nov. 2019 à 11:06, Amirouche Boubekki a écrit : > > I restarted working on my personal search engine. > I pushed a v0.1.0 tag in the repository. You can find it at: https://git.sr.ht/~amz3/guile-babelia Only the command line interface works. See `make benchmarks` to

Re: babelia

2019-11-18 Thread Amirouche Boubekki
Hello Arne, Le sam. 16 nov. 2019 à 13:08, Arne Babenhauserheide a écrit : > > Hi Amirouche, > > For the firefox driver you might get a good start from skewer-mode: > https://github.com/skeeto/skewer-mode > Thanks for the hint. I am not sure I will get to the point of using headless browser,

Re: babelia

2019-11-16 Thread Amirouche Boubekki
Le sam. 16 nov. 2019 à 11:06, Amirouche Boubekki a écrit : > > I restarted working on my personal search engine. > > It used to be called culturia [0] with too many planned features. At > some point, I called it asylum [1] and focused on personal knowledge > base aspects and

babelia

2019-11-16 Thread Amirouche Boubekki
I restarted working on my personal search engine. It used to be called culturia [0] with too many planned features. At some point, I called it asylum [1] and focused on personal knowledge base aspects and the last iteration was called gotofish [2] [0] https://framagit.org/a-guile-mind/culturia

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

2019-10-24 Thread Amirouche Boubekki
(Florian Pelz) wrote: > > > On Wed, Oct 23, 2019 at 01:25:44PM +0200, pelzflorian (Florian Pelz) > > wrote: > > >> On Wed, 23 Oct 2019 08:48:13 +0200 > > >> "pelzflorian (Florian Pelz)" wrote: > > >>> On Wed, Oct 23, 2019 at 08:16:34AM +02

Re: Interactive Debugging

2019-10-24 Thread Amirouche Boubekki
Le jeu. 24 oct. 2019 à 01:48, Christopher Lam a écrit : [...] > Not sure how much knowledge of debugger is required, all I want to do is to > dump local variables at the breakpoint. For records there is (set-record-type-printer! type proc):

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

2019-10-23 Thread Amirouche Boubekki
Le dim. 20 oct. 2019 à 08:14, John Cowan a écrit : > > On Sun, Oct 20, 2019 at 2:11 AM Todor Kondić wrote: > > > But, I doubt any of them would find it natural to take a step further and > > participate in GNU itself (ugh, now I sound like a preacher of a new age > > religion). To my knowledge,

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

2019-10-21 Thread Amirouche Boubekki
Le lun. 21 oct. 2019 à 08:35, Arne Babenhauserheide a écrit : > > > John Cowan writes: > > > On Sun, Oct 20, 2019 at 2:11 AM Todor Kondić wrote: > > > >> But, I doubt any of them would find it natural to take a step further and > >> participate in GNU itself (ugh, now I sound like a preacher of

Re: Scheme Coding Competition

2019-08-07 Thread Amirouche Boubekki
sponsor with the next hint. Good luck! Le jeu. 18 juil. 2019 à 15:48, Amirouche Boubekki a écrit : > > I am organizing a Scheme coding competition where you have > to build a static blog generator with a mystery feature (that will > be revealed little by little in the next few mon

Scheme Coding Competition

2019-07-18 Thread Amirouche Boubekki
I am organizing a Scheme coding competition where you have to build a static blog generator with a mystery feature (that will be revealed little by little in the next few months). We already have sourcehut.org as a sponsor and I am actively looking for other sponsors to reward the participants

Raising awareness about guile-pfds status

2019-07-15 Thread Amirouche Boubekki
The original maintainer of guile-pfds is sadly not responding to my mails. Right now, guile-pfds is the goto solution for functional data structures in Guile, and prolly other Scheme implementations. At least the hamt has a bug, see https://github.com/ijp/pfds/pull/6/files I think this is a

Re: Make a library installable?

2019-05-14 Thread Amirouche Boubekki
Le mar. 14 mai 2019 à 06:42, HiPhish a écrit : > Oh cool, I did not know about guile-build-system, that one must be new? Yes, it somewhat new. Here is the code of it http://git.savannah.gnu.org/cgit/guix.git/tree/guix/build-system/guile.scm > I am not seeing anything about it also compiling

Re: Pre-release guile-r7rs 0.1.0 and guile-wiredtiger 0.8.0

2019-05-09 Thread Amirouche Boubekki
Le ven. 3 mai 2019 à 16:30, a écrit : > guile-wiredtiger is gearing toward 0.8.0: > I have a bug related to wiredtiger I can not fix. I am left without clues how to solve the issue. Do not use that library until 0.8.0 is released. > I already envision extensions to srfi-168 to support

Re: prompt and generator

2019-05-08 Thread Amirouche Boubekki
FWIW, I reproduce the issue with guile 2.9.1 installed from guix guile-next Le dim. 5 mai 2019 à 18:54, a écrit : > $ guile --version > > guile (GNU Guile) 2.2.4 > >

Re: GNU Guix 1.0.0 released

2019-05-03 Thread Amirouche Boubekki
Le jeu. 2 mai 2019 à 14:12, Ludovic Courtès a écrit : > We are thrilled to announce the release of GNU Guix 1.0.0! > > This 1.0 release is a major milestone for Guix. It represents 7 years > of hard work with more than 40,000 commits by 260 people, 19 releases, > and an equally amazing amount

Re: SRFI-151 (bitfiddling) for guile

2019-04-26 Thread Amirouche Boubekki
Le sam. 6 avr. 2019 à 22:23, Linus Björnstam a écrit : > Hi there! > > I have "ported" all of srfi-151 to guile. There wasn't that much porting > involved, since most of the functionality is provided by guile as srfi-60 > and the basic bitwise arithmetic in guiles standard environment. > > It

Re: SRFI-128 for guile

2019-04-25 Thread Amirouche Boubekki
Le mar. 9 avr. 2019 à 22:11, Linus Björnstam a écrit : > Hi everyone! > > I just ported the reference implementation of srfi-128 (comparators) to > guile: > > https://bitbucket.org/bjoli/guile-srfi-128/ > > All of it except for the library definition and one function is written by > John Cowan,

Re: R7RS On Guile

2019-04-24 Thread Amirouche Boubekki
Le mer. 24 avr. 2019 à 21:57, Zelphir Kaltstahl a écrit : > Hi Amirouche! > Thanks for you interest. > I just looked at the source hut thingy. I do not really understand where > to go from there. > > I see the to-do list: https://todo.sr.ht/~amz3/guile-r7rs > > On each item there is already a

Re: Code coverage

2019-04-13 Thread Amirouche Boubekki
Le sam. 13 avr. 2019 à 16:52, Jeremy Korwin-Zmijowski < jer...@korwin-zmijowski.fr> a écrit : > Le vendredi 12 avril 2019 à 12:35 +0200, jer...@korwin-zmijowski.fr a > écrit : > > Hello dear guilers ! > > > > I have implemented a code coverage test with a piece of code I > > modified > > for my

Re: Megacut - a clojure-like lambda shorthand

2019-03-26 Thread Amirouche Boubekki
Thanks for sharing! Le mar. 26 mars 2019 à 21:28, Linus Björnstam a écrit : > Hello everybody! > > I have written a bunch of small libraries to scratch some itches, and I > thought now might be a good time to actually release them here. > > Megacut is the first of a few. It is a lambda

Re: Help me find the bug in my terminal-based editor

2019-02-04 Thread Amirouche Boubekki
Le dim. 3 févr. 2019 à 22:22, Mike Gran a écrit : > 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

Help me find the bug in my terminal-based editor

2019-02-03 Thread Amirouche Boubekki
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

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

2019-02-01 Thread Amirouche Boubekki
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

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

2019-01-31 Thread Amirouche Boubekki
Greetings, Anyone try guile-gi for something even tiny? Le jeu. 15 nov. 2018 à 15:44, Mike Gran a écrit : > Hello. I am announcing guile-gi v0.0.1. > > guile-gi is a library that autogenerates Guile bindings for GObject > libraries that provide typelib files. GNU Guile is an implementation >

Re: [scheme-reports-wg2] Re: Tangerine Edition penultimate report: how I voted, how you're voting

2019-01-20 Thread Amirouche Boubekki
I am satisfied with the approach taken by R7RS of being both small and large. Le sam. 19 janv. 2019 à 22:39, John Cowan a écrit : > > > On Fri, Jan 18, 2019 at 3:20 PM Ivan Raikov > wrote: > > >> Isn't the difference with R6RS that R7RS-large draws extensively on >> SRFIs which are indeed

Re: unit tests best practice

2019-01-06 Thread Amirouche Boubekki
Le sam. 5 janv. 2019 à 18:12, Catonano a écrit : > > > Il giorno sab 5 gen 2019 alle ore 17:49 Amirouche Boubekki < > amirouche.boube...@gmail.com> ha scritto: > >> Insightful post for those interested in autotool-fu. >> >> By the way, I have a demo

Re: [ANN] Guile-Git version 0.2.0 released

2019-01-05 Thread Amirouche Boubekki
Thanks! Le mer. 2 janv. 2019 05:39, Erik Edrosa a écrit : > > Hello everyone, > > Guile-Git version 0.2.0 has been released. > > Guile-Git[0] is a GNU Guile library providing an API to create and > interact with git repositories by using libgit2[1]. > > Guile-Git is free software and is

Re: unit tests best practice

2019-01-05 Thread Amirouche Boubekki
Insightful post for those interested in autotool-fu. By the way, I have a demo repo with how to setup coverage, if you are interested ? Le jeu. 3 janv. 2019 17:54, Catonano a écrit : > Wat's the best practice to instrument a Guile based project for running > unit tests ? > > guile-git has this

Re: Long command line arguments using SRFI 37

2019-01-04 Thread Amirouche Boubekki
Le 2019-01-04 19:55, Zelphir Kaltstahl a écrit : Hi Guile Users, I have a question regarding the usage of SRFI 37. Is it possible to have long arguments, which one can use as follows: guile main.scm --argument value This is what I am used to with other command line programs. It seems to me,

Re: how to use ffi-help

2018-12-30 Thread Amirouche Boubekki
Le 2018-12-22 19:46, Matt Wette a écrit : Hi All, I have created a helper for generating FFI code for Guile.   The current use case is to create file called a "ffi module" that specifies includes and libraries that will be used to create a loadable Guile module. In the process, the FFI

Re: Tensorflow bindings

2018-12-15 Thread Amirouche Boubekki
On 2018-12-10 22:27, Jan Wedekind wrote: Hi, The current AIscm source now include Tensorflow bindings [1]. This means that one can now develop machine learning software using Guile and Tensorflow. More examples to follow ... Jan [1] http://wedesoft.github.io/aiscm/tensorflow.html Great!

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

2018-11-15 Thread Amirouche Boubekki
Time to dance! \o/ Le jeu. 15 nov. 2018 17:13, Vladimir Zhbanov a écrit : > On Thu, Nov 15, 2018 at 06:41:25AM -0800, Mike Gran wrote: > > Hello. I am announcing guile-gi v0.0.1. > > Very promising. Thank you! > > -- > Vladimir > >

[ANN] guile-wiredtiger 0.7.0

2018-10-21 Thread Amirouche Boubekki
Hello, I please to announce the immediate availability of guile-wiredtiger 0.7.0 that is guile bindings of wiredtiger database library. The changes are the following: - Move to wiredtiger 3.1.0 - Remove helpers and higher abstractions - Use guile-bytestructures - Procedures have no default

Re: here is one way to implement file globbing

2018-10-16 Thread Amirouche Boubekki
On 2018-10-16 01:12, tantalum wrote: im sure it is not the optimal way to do it, and currently it fails on file access errors and there might be bugs, but it has cool features and i just wanted to share. [...] here is the code with reduced dependencies so that anybody with only guile should

Re: Streaming responses with Guile's web modules

2018-09-18 Thread Amirouche Boubekki
On 2018-09-18 21:42, Roel Janssen wrote: Dear Guilers, I'd like to implement a web server using the (web server) module, but allow for “streaming” results. The way I imagine this would look like, is something like this: (define (request-handler request body) (values '((content-type .

Re: GNU Mes 0.17 released [alpha]

2018-09-02 Thread Amirouche Boubekki
Le mar. 21 août 2018 à 23:43, Arne Babenhauserheide a écrit : > > > Jan Nieuwenhuizen writes: > > > We are delighted to announce the release of GNU Mes 0.17, representing > > 64 commits over 6 weeks. > > > > Mes is now an official GNU package and we have bootstrapped gcc-4.7.4 > > for x86-linux

Mentoring who's who?

2018-08-31 Thread Amirouche Boubekki
Please reply to this email with details such: - mentor / mentoree - GMT+n - programming experience - interests

Re: How to get started in guile & programming generally

2018-08-31 Thread Amirouche Boubekki
Le ven. 31 août 2018 à 13:33, Jan Nieuwenhuizen a écrit : > > Pierre Neidhardt writes: > > > And by the way, chickadee is an awesome piece of software: it is such a > > refreshing video game programming experience. > > I've been looking at chickadee and wondering if how to use that for a > learn

Re: How to get started in guile & programming generally

2018-08-30 Thread Amirouche Boubekki
On 2018-08-30 15:11, Joshua Branson wrote: Amirouche Boubekki writes: Using guix on my Ubuntu I successfully installed chickadee master. Try to install guix again and report the error you have please :] Le mer. 29 août 2018 à 23:09, Joshua Branson a écrit : I will eventually. Today I

Re: How to get started in guile & programming generally

2018-08-29 Thread Amirouche Boubekki
Using guix on my Ubuntu I successfully installed chickadee master. Try to install guix again and report the error you have please :] Le mer. 29 août 2018 à 23:09, Joshua Branson a écrit : > > Pierre Neidhardt writes: > > >> I've heard about chickadee! I've tried to install it before, but I >

Re: Checkpoint

2018-08-29 Thread Amirouche Boubekki
On 2018-08-28 19:06, Amirouche Boubekki wrote: Hello schemers, My last project, neon is also known as zeheyu93600 was a moon shot. Me, Myself and I took upon the task of building versioned in a Direct-Acyclic-Graph quad store! WAT! This was for me like an ``Eureka!'' kind of moment

Technical problems [was: Re: My view on bootstrappable effort (Re: Checkpoint)]

2018-08-29 Thread Amirouche Boubekki
On 2018-08-29 10:26, Arne Babenhauserheide wrote: Amirouche Boubekki writes: On 2018-08-28 19:06, Amirouche Boubekki wrote: a) ordered key-value stores are such a primitive why ordered? Sometime people call them "sorted". Ordered is required to have more assumptions about ho

My view on bootstrappable effort (Re: Checkpoint)

2018-08-28 Thread Amirouche Boubekki
On 2018-08-28 19:06, Amirouche Boubekki wrote: Hello schemers, tl;dr. Finally I accept that I am a megalomaniac aka. I want to change the world for less evil and more good :) The name of the project is 'Earth Software System'. And its contrived civilization bootstrap kit is what I call

Checkpoint

2018-08-28 Thread Amirouche Boubekki
Hello schemers, tl;dr. Finally I accept that I am a megalomaniac It's been a long time since I did not start a topic about the status of my projects and plans. Here is the two last topic I've started: - Smarter cooperative scheduler (maybe fiber related)

Re: How to get started in guile & programming generally

2018-08-27 Thread Amirouche Boubekki
On 2018-08-26 20:16, Joshua Branson wrote: Amirouche Boubekki writes: On 2018-08-25 19:16, Joshua Branson wrote: You can play with Guile without much C knowledge and I dare to say that you need little of C with things like guile-bytestructures or nyacc's ffi-helper to use the full

Re: How to get started in guile & programming generally

2018-08-25 Thread Amirouche Boubekki
On 2018-08-25 19:16, Joshua Branson wrote: Hello, Hello and welcome Joshua I'm a recent college grad, and I'm trying to get into programming. I figured I'd learn a little bit of C, so that I can play with guile and C. You can play with Guile without much C knowledge and I dare to say

Scheme @ FOSDEM 2019

2018-08-24 Thread Amirouche Boubekki
Hello all, I would like to get the ball rolling about a SCHEME event in Europe at FOSDEM in 2019 Please add your talk ideas in that page http://community.schemewiki.org/?FOSDEM2019 Best regards, Amirouche

Re: Qt and Guile

2018-08-02 Thread Amirouche Boubekki
Hello and welcome! Le jeu. 12 juil. 2018 à 11:57, Brett Gilio a écrit : > Hello all, > > I have been, for awhile, attempting to port a Qt5/C++ application of > mine to Scheme using Guile. Since I understand the Guile is quite easily > (more or less) to embed within a C++ application, my goal

Please register your handle against freenode service if you want to access irc.freenode.net#guile

2018-08-01 Thread Amirouche Boubekki
There is a spam attack on the channel. The operator has made the channel semi private. Follow those instruction to be able to connect to our channel https://freenode.net/kb/answer/registration

Re: 2018 Scheme and Functional Programming Workshop CfP

2018-08-01 Thread Amirouche Boubekki
:46 PM Amirouche Boubekki > wrote: > > > > I did not see this CfP going through Guile mailling list, > > so here is it. Deadline is monday! > > > > > > DEADLINE: 9 July 2018, (Any time in the world) > > WEBSITE: https://brinckerhoff.org/scheme2018/ >

2018 Scheme and Functional Programming Workshop CfP

2018-07-06 Thread Amirouche Boubekki
I did not see this CfP going through Guile mailling list, so here is it. Deadline is monday! DEADLINE: 9 July 2018, (Any time in the world) WEBSITE: https://brinckerhoff.org/scheme2018/ LOCATION: St. Louis, MO, USA (co-located with ICFP and Strange Loop) DATE: 28 September 2018 (Friday) The

Re: [ANN] Guile-Git 0.1.0 released

2018-07-06 Thread Amirouche Boubekki
On 2018-07-06 03:33, Erik Edrosa wrote: Hello everyone, This is the first release of Guile-Git, GNU Guile bindings to libgit2[0]. Guile-Git provides modules for interacting with git repositories. Here is a small example program which clones guile-git repo and prints some information: [...]

Re: [ANN] Guile Hall Release (v0.1.1)

2018-07-01 Thread Amirouche Boubekki
On 2018-07-01 14:07, Alex Sassmannshausen wrote: Hello, It is with great trepidation and joy that I finally release Hall to the world. You can get it with Guix after pulling the latest version with $ guix package -i guile-hall Otherwise you can get the code from

Re: Lightweight web modules for Guile?

2018-07-01 Thread Amirouche Boubekki
On 2018-06-29 03:29, Tonton wrote: Hey, I'm wanting to write a web page using guile, I'll need a module that can help me with the web part. I like haunt, but I'll need a few dynamic elements[1]. So I've been looking at and trying artanis. It is potentially awesome and does a lot of things I'm

Re: Lightweight web modules for Guile?

2018-06-30 Thread Amirouche Boubekki
On 2018-06-29 23:21, Tonton wrote: Hey.pp project looks more like what I'd like. I'll probably packa Thank you both tantalum and Zelphir! I'm not entirely sure what I need myself to be honest, this is very much a learning exercise; even though I have a goal to use it. That said, the web-app

Re: What tools do you use with Guile?

2018-04-03 Thread Amirouche Boubekki
Le mar. 3 avr. 2018 04:05, Erik Edrosa a écrit : > Hello everyone, > > Something I have been wondering is what tools does the community use to > work on their GNU Guile projects? > > What do you use to build your projects? Do you use autotools, > handwritten Makefiles,

Re: Is there any security risk related to the use of the reader?

2018-03-01 Thread Amirouche Boubekki
item . next) ;; (hash-increment groups (car item)) ;; (loop next)) (define-public (stream-sort stream less?) (list->stream (sort! (stream->list stream) less?))) ;; TODO: improve preformance with a binary tree ;;; combinatorix ;;; ;;; Copyright © 2018 Amirouche

Re: optimizing lazy sequences: srfi-41 vs delayed continuation with values + promise vs delayed continuation with cons + lambda

2018-02-25 Thread Amirouche Boubekki
I figured how to benchmark this. Here are the timings: promise: 43s lambda: 7s And at the current 'max' value the srfi-41 streams can't complete the benchmark with this error: Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS Here is the benchmark program: (use-modules (srfi

Re: Is there any security risk related to the use of the reader?

2018-02-25 Thread Amirouche Boubekki
till not :risky because again, someone would need to forge the key... : [17:24] : but yeah : I'm still interested in understanding in general how "safe" read :/ write are in various scenarios Amirouche Boubekki writes: I have procedures like that in my

Re: Is there any security risk related to the use of the reader?

2018-02-25 Thread Amirouche Boubekki
On 2018-02-25 18:29, Matt Wette wrote: On 02/25/2018 07:35 AM, Amirouche Boubekki wrote: I have procedures like that in my program: (define-public (scm->string scm)   (call-with-output-string     (lambda (port)   (write scm port (define-public (string->scm string)   (call-with

Re: Is there any security risk related to the use of the reader?

2018-02-25 Thread Amirouche Boubekki
On 2018-02-25 16:35, Amirouche Boubekki wrote: I have procedures like that in my program: (define-public (scm->string scm) (call-with-output-string (lambda (port) (write scm port (define-public (string->scm string) (call-with-input-string string read)) Is it safe t

Re: optimizing lazy sequences: srfi-41 vs delayed continuation with values + promise vs delayed continuation with cons + lambda

2018-02-25 Thread Amirouche Boubekki
On 2018-02-25 15:16, Amirouche Boubekki wrote: Hello all, I know it's not good to optimize first, but I got into it and now I need to know. A few months ago, I created a lazy sequence library that retains history based on delayed continuation, it can be summarized as follow: (define-public

optimizing lazy sequences: srfi-41 vs delayed continuation with values + promise vs delayed continuation with cons + lambda

2018-02-25 Thread Amirouche Boubekki
Hello all, I know it's not good to optimize first, but I got into it and now I need to know. A few months ago, I created a lazy sequence library that retains history based on delayed continuation, it can be summarized as follow: (define-public (list->traversi lst) (let loop ((lst lst))

neon: git for structured data [Was: Functional database]

2018-02-21 Thread Amirouche Boubekki
I tried chez scheme and I think GNU Guile is a better platform for what I am trying to achieve, so I am back. I also know better what I want to achieve. I will create a triple store that comply with semantic web standard that is a RDF triple store. At [0] and [1] you will find a primer on what

Re: Functional database

2018-02-13 Thread Amirouche Boubekki
On 2018-02-12 00:30, amirouche wrote: Le dim. 11 févr. 2018 à 0:44, amirouche a écrit : Le sam. 10 févr. 2018 à 8:34, amirouche a écrit : Héllo all, # Introduction I figured a usecase for an immutable / functional database that works

Re: g-golf

2018-01-14 Thread Amirouche Boubekki
On 2018-01-14 11:03, Catonano wrote: Trying to build G-golf in GuixSD This is how I'm creating an environment guix environment --ad-hoc autoconf automake pkg-config guile and this is the result of configure ./configure: line 2497: PKG_PROG_PKG_CONFIG: command not found How is my

Re: What's next with culturia search engine? (and guile-wiredtiger)

2018-01-14 Thread Amirouche Boubekki
On 2018-01-14 09:12, Catonano wrote: 2017-11-26 23:33 GMT+01:00 Amirouche Boubekki <amirou...@hypermove.net>: The quering engine will first compute the frequency of both keywords and then lookup the inverted index for the least frequent keyword. The least frequent keyword ? Not th

Re: UUID3 implementation for Guile

2018-01-09 Thread Amirouche Boubekki
Le 2018-01-08 15:58, pelzflorian (Florian Pelz) a écrit : Hello, I need to generate a unique deterministic ID for Haunt and other Web stuff. Therefore I implemented UUID version 3 and MD5 by myself. But I wonder: * Why is UUID3 support not in Guile proper? Does it belong there? Should I

Re: Bytestructures 1.0.1

2018-01-07 Thread Amirouche Boubekki
On 2018-01-08 00:45, taylanbayi...@gmail.com wrote: Amazingly, a bug that existed for months has been coincidentally discovered hours after I made the release. :-)) The alignment of vectors and unions within structs was not being calculated correctly. Fortunately, it was a quick fix. So

Re: Wrong guile-bytestructures description for gnunet progress-info struct with unions

2018-01-07 Thread Amirouche Boubekki
Thanks for the reply. On 2018-01-07 19:39, taylanbayi...@gmail.com wrote: Amirouche Boubekki <amirou...@hypermove.net> writes: Here are some possibilities I can think of, wildly speculatively. - %time-relative is defined wrong (I couldn't find the corresponding GNUNET_TIME_Re

Wrong guile-bytestructures description for gnunet progress-info struct with unions

2018-01-07 Thread Amirouche Boubekki
I am trying to rewrite the guile bindings for gnunet to guile-bytestructures and I face an issue for two days regarding `struct GNUNET_FS_ProgressInfo`. I attached to this mail the relevant files. In particular, download.scm try to download a file over gnunet, if the file is in gnunet it

GNU Guix/Guile day just before FOSDEM 2018

2017-12-30 Thread Amirouche Boubekki
Hello, Pjort, Ludo and Manolis are organizing a Guix/Guile day just before FOSDEM 2018 at the very beginning of February the 02/02/2018 just before FOSDEM. They mentioned http://icab.be/b_and_b_programme.php for accommodation which is the place where the Guix event is happening. There is

Yet another command line DSL

2017-12-28 Thread Amirouche Boubekki
Héllo all, I had to scratch an itch about command line interfaces again. In Python, I use http://docopt.org/ but it's pain (even if less painful that argparse and click) because you have to manually dispatch to the correct function based on a single dictionary to the correct function. Long

Re: Introducing GNUPaste (and guile-wiredtiger future)

2017-12-17 Thread Amirouche Boubekki
Héllo, On 2017-12-14 19:37, Kristofer Buffington wrote: Hello! I am excited to share GNUPaste! This is a really simple web app similar to paste.lisp.org built with Guile. I have a linode running it from git on GuixSD. https://paste.freshbakedyams.com (Please use it!) Source:

Re: What's next with culturia search engine? (and guile-wiredtiger)

2017-11-27 Thread Amirouche Boubekki
words: $ git clone https://github.com/a-guile-mind/culturia.one.git [12] Tom Tx Tom! On Sun, Nov 26, 2017 at 2:34 PM Amirouche Boubekki <amirou...@hypermove.net> wrote: Héllo, I made some progress on my culturia project, I wanted to share with you where it's going with a few bits about

Re: Any suggestions for a project?

2017-11-18 Thread Amirouche Boubekki
On Fri, Nov 17, 2017 at 8:17 PM Daniele wrote: > Hello, Welcome! > I need to make my bachelor thesis in CS and was looking for > ideas for a project to do in Scheme. Do you have any suggestions? Is > there something that needs to be done in Guile? I'm actually not very >

Re: Any suggestions for a project?

2017-11-18 Thread Amirouche Boubekki
Héllo all, On Sat, Nov 18, 2017 at 6:06 PM sirgazil wrote: > Hi, Daniele > > On 17/11/17 11:24, Daniele wrote: > > Hello, I need to make my bachelor thesis in CS and was looking for > > ideas for a project to do in Scheme. Do you have any suggestions? Is > > there something

Re: Lessons learned building a small blog engine

2017-10-09 Thread Amirouche Boubekki
On 2017-10-09 21:14, Amirouche Boubekki wrote: On 2017-10-09 13:36, Amirouche Boubekki wrote: Héllo all, Last week end I tried to build a blog engine. git clone https://github.com/a-guile-mind/presence Now, accept to following challenge: Try to add an article on http

Re: Lessons learned building a small blog engine

2017-10-09 Thread Amirouche Boubekki
On 2017-10-09 13:36, Amirouche Boubekki wrote: Héllo all, Last week end I tried to build a blog engine. git clone https://github.com/a-guile-mind/presence Now, accept to following challenge: Try to add an article on http://presence.hyperdev.fr/ Tips: For that you need to read

Lessons learned building a small blog engine

2017-10-09 Thread Amirouche Boubekki
ented that it can be disabled but actually it can not... This work is based on https://github.com/a-guile-mind/guile-web Happy hacking! -- Amirouche ~ amz3 ~ http://www.hyperdev.fr;;; Copyright © 2017 Amirouche Boubekki <amirou...@hypermove.net> ;; ;; This program is free software: you can redist

Re: SRFIs

2017-09-17 Thread Amirouche Boubekki
Le 17 sept. 2017 16:49, "Christopher Howard" a écrit : Hi, I was just wondering if Guile developers are planning to implement all the SRFIs eventually, or if they are just picking and choosing a few here and there? Put another way, is it just a matter of someone

Guile in the browser [Was: Summer of Code Recap]

2017-09-11 Thread Amirouche Boubekki
Héllo all, As you may know ijp was working during GSoC on a JavaScript backend for Guile. What it means is that now, thanks to his brillant work one can translate pure Guile to JavaScript and run it in a browser supporting Tail Call Optimization (TCO). After a looking up the web for ways to run

Re: Summer of Code Recap

2017-09-08 Thread Amirouche Boubekki
Le 2017-09-07 08:32, Amirouche Boubekki a écrit : On 2017-09-06 20:25, Amirouche Boubekki wrote: On 2017-09-02 00:09, Amirouche Boubekki wrote: On 2017-08-28 20:56, Ian Price wrote: 1 Introduction == As many of you are aware, I have been working on compiling Guile Scheme

Re: Summer of Code Recap

2017-09-07 Thread Amirouche Boubekki
On 2017-09-06 20:25, Amirouche Boubekki wrote: On 2017-09-02 00:09, Amirouche Boubekki wrote: On 2017-08-28 20:56, Ian Price wrote: 1 Introduction == As many of you are aware, I have been working on compiling Guile Scheme to JavaScript this summer, as part of the Google

Re: Summer of Code Recap

2017-09-06 Thread Amirouche Boubekki
On 2017-09-02 00:09, Amirouche Boubekki wrote: On 2017-08-28 20:56, Ian Price wrote: 1 Introduction == As many of you are aware, I have been working on compiling Guile Scheme to JavaScript this summer, as part of the Google Summer of Code. This post serves to bookend my work

Re: Summer of Code Recap

2017-09-01 Thread Amirouche Boubekki
On 2017-08-28 20:56, Ian Price wrote: 1 Introduction == As many of you are aware, I have been working on compiling Guile Scheme to JavaScript this summer, as part of the Google Summer of Code. This post serves to bookend my work for the year. Before I go any further, I

Re: ffi-helper: looking for C libraries to try

2017-07-14 Thread Amirouche Boubekki
On 2017-07-15 01:17, Matt Wette wrote: Hi All, I am working on a ffi-helper: a program that will read in a C dot-h file and generate a Guile dot-scm file which defines a module to provide hooks into the associated C library. My goal is to have something to release ~Oct 2017. I am looking for

Re: #define SOMETHING some_value

2017-06-10 Thread Amirouche Boubekki
What I do is that I hardcode the define in scheme using simple define form for instance, the following: #define SOMETHING some_value Becomes: (define SOMETHING some_value) I do that even for enums. But guile-squee has another point of view on this. On Sat, Jun 10, 2017 at 10:31 AM Catonano

Re: segmenation fault

2017-06-09 Thread Amirouche Boubekki
It's something like (bytevector->pointer (make-vector)) there is a make-double-pointer procedure in guile git Le 9 juin 2017 9:47 AM, "Thomas Danckaert" a écrit : > From: Catonano > Subject: segmenation fault > Date: Fri, 9 Jun 2017 09:21:35 +0200

  1   2   >