Re: Guile fibers return values

2020-01-14 Thread Amirouche Boubekki
ltiple cores? > For that last bit, I have done the following in babelia: https://github.com/amirouche/guile-babelia/blob/87ae25b56777ab6072759bbe80bb80851d0d9174/babelia/pool.scm#L89-L108 I am wondering why the existing parallel for do not work for you: https://www.gnu.org/

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: Intel(R)

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 c

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 (http://hyper.dev/nomunofu-v0.2.0.tar.gz)

Re: [ANN] guile-web-driver

2019-12-14 Thread Amirouche Boubekki
r session. > > The implementation is not complete, > but it can alrady be used for automated web server testing. > > The git repo, sources and documentation is at > https://github.com/her01n/guile-web-driver > > Very interesting. The use of macros in the code of the project is inspiring. -- Amirouche ~ https://hyper.dev

Re: [ANN] nomunofu v0.1.0

2019-12-12 Thread Amirouche Boubekki
: wget http://hyper.dev/nomunofu-v0.1.4.tar.bz2 The directory is 11G uncompressed. Grab the source code with the following command: git clone https://github.com/amirouche/nomunofu Here is an example Python query that returns at most 5 adverbs: In [10]: for item in nomunofu.query( ...: (var

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 query

[ANN] nomunofu v0.1.0

2019-12-08 Thread Amirouche Boubekki
wikidata triples. You can get the code with the following command: git clone https://github.com/amirouche/nomunofu After the installation of GNU Guix [0], you can do: make init && gunzip test.nt.gz && make index && make web And in another terminal: make query

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 the r

Re: Nyacc and guile-nearly-3.0

2019-12-04 Thread Amirouche Boubekki
e. Is it a total loss of time -- or worth > a try? > > Thanks for any insight, cheers > -- tomás > IIRC nyacc is part of guix mes bootstrap tooling, so it is a requirement to bootstrap guix with guile 2.9+ -- Amirouche ~ https://hyper.dev

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 lea

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 usin

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
a.html If you want to help or discuss those matters, do not hesitate to reply to this message. Cheers, Amirouche ~ amz3 ~ https://hyper.dev

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

2019-10-24 Thread Amirouche Boubekki
rian (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:34A

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): https://www.gnu.org/software/guile/manual/html_nod

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

2019-10-22 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, i

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 (go

Raising awareness about guile-pfds status

2019-07-15 Thread Amirouche Boubekki
very important package especially for guile that doesn't have a functional hashmaps. Anyone willing to take ownership of the project? ref: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=35518 -- Amirouche ~ amz3 ~ https://hyper.dev

Re: [ANN] guile-wiredtiger 0.8.1

2019-05-17 Thread Amirouche
On 2019-05-17 12:11, Amirouche wrote: The key word is fine-tuning. That is what makes the database works. I made a quick fix that was planned but forgot about and made a new release. Here is the diff: https://framagit.org/a-guile-mind/guile-wiredtiger/commit

Re: [ANN] guile-wiredtiger 0.8.0

2019-05-17 Thread Amirouche
On 2019-05-17 13:24, Nala Ginrut wrote: Congrats! Do you think it could be standalone NOSQL database and integrated to Artanis? Thanks! My plan to work with it embedded in the scheme process. So no, it is not stand-alone for the time being.

Re: [ANN] guile-wiredtiger 0.8.0

2019-05-17 Thread Amirouche
On 2019-05-16 23:05, Amirouche wrote: - my program leaking memory. I am not sure but it is unlikely that guile part of the code leaks memory [...] AND I experimented with both Chez Scheme and Python, they both seems to leak memory. The latter takes more time but in the end the result is

[ANN] guile-wiredtiger 0.8.0

2019-05-16 Thread Amirouche
I am please to announce the release of guile-wiredtiger 0.8.0. You can find it at: https://framagit.org/a-guile-mind/guile-wiredtiger/ Or using my guix channel: $ cat ~/.config/guix/channels.scm (cons (channel (name 'amz3) (url "https://git.sr.ht/~amz3/guix-amz3-chann

Re: Make a library installable?

2019-05-14 Thread Amirouche Boubekki
t; > (substitute* "termbox.scm" > > (("@LIBTERMBOX@") > >(format #f "~a/lib/libtermbox.so" libtermbox))) > > #t)) > > (inputs > > `(("guile" ,guile-2.2) > > ("termbox" ,termbox-truecolor))) > > (propagated-inputs > > `(("guile-bytestructures" ,guile-bytestructures))) > > (synopsis "GNU Guile bindings for termbox") > > (description "GNU Guile bindings for termbox") > > (license license:lgpl3+))) > > > > > https://git.sr.ht/~amz3/guix-amz3-channel/tree/master/amz3/termbox.scm#L40 > > > > Hope This Helps, > > > > > > Amirouche ~ amz3 > > > > > >

FoundationDB bindings

2019-05-13 Thread amirouche
Hello, I started guile bindings for FoundationDB. It is incomplete but enough to tests things. It also has okvs and nstore support. https://git.sr.ht/~amz3/guile-foundationdb Before complaining, please look at: https://apple.github.io/foundationdb/known-limitations.html Happy hacking!

Re: Make a library installable?

2019-05-12 Thread amirouche
uot;) (description "GNU Guile bindings for termbox") (license license:lgpl3+))) https://git.sr.ht/~amz3/guix-amz3-channel/tree/master/amz3/termbox.scm#L40 Hope This Helps, Amirouche ~ amz3

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 Xz-order

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: [ANN] guile-snowball-stemmer 0.1.0

2019-05-07 Thread amirouche
uile -L . gotofish.scm search idf ** tf-idf Also one can use multiple words to do a lookup. This is very primitive but hopefully it will help get going tomorrow to build my great app!;; guile-gotofish ;; ;; Copyright (C) 2019 Amirouche Boubekki ;; ;; This library is free software; you can redi

Re: [ANN] guile-snowball-stemmer 0.1.0

2019-05-07 Thread amirouche
the stemmer. Here is the patch: diff --git a/snowball-stemmer.scm b/snowball-stemmer.scm index b754808..603a97e 100644 --- a/snowball-stemmer.scm +++ b/snowball-stemmer.scm @@ -67,6 +67,7 @@ (let ((out (proc (string->pointer algorithm) NULL))) (when(eq? out NULL) (e

[ANN] guile-snowball-stemmer 0.1.0

2019-05-07 Thread amirouche
5 = "virtual" scheme@(guile-user)> (stem english "environment") $6 = "environ" scheme@(guile-user)> (define french (make-stemmer "french")) scheme@(guile-user)> (stem french "environnement") $7 = "environ" scheme@(guile-user)

Re: prompt and generator

2019-05-05 Thread amirouche
$ guile --version guile (GNU Guile) 2.2.4

prompt and generator

2019-05-05 Thread amirouche
I am trying to replace the use call/cc with prompts. Here is the definition of 'make-coroutine-generator': (define (make-coroutine-generator thunk) (define tag (make-prompt-tag)) (define (run) (thunk (lambda (val) (abort-to-prompt tag val))) (eof-object)) (lambda () (call-with-

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 of

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

2019-05-03 Thread amirouche
Hello! I am working toward releasing guile-r7rs 0.1.0 and guile-wiredtiger 0.8.0. They are both available in the my guix channel. That you can use as follow: $ cat ~/.config/guix/channels.scm (cons (channel (name 'amz3) (url "https://git.sr.ht/~amz3/guix-amz3-channel"

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 pas

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, s

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

Re: R7RS On Guile

2019-04-23 Thread amirouche
On 2019-04-23 21:55, Brett Gilio wrote: amirou...@hyper.dev writes: Hello, If you like R7RS and also like Guile you might join me in getting together R7RS libraries as Guile libraries. I am just getting started not much is done as of yet. The repository is over the rainbow at source hut:

R7RS On Guile

2019-04-23 Thread amirouche
Hello, If you like R7RS and also like Guile you might join me in getting together R7RS libraries as Guile libraries. I am just getting started not much is done as of yet. The repository is over the rainbow at source hut: https://git.sr.ht/~amz3/guile-r7rs There is continuous integration t

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 us

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 shorthand

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
ndering 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

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

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 > o

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 attem

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 repo

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 licensed

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
n, is it possible to declare the interface of the generated module? TIA -- Amirouche ~ amz3 ~ http://www.hyperdev.fr

Re: Tensorflow bindings

2018-12-15 Thread Amirouche Boubekki
! Thanks for sharing :) -- Amirouche ~ amz3 ~ http://www.hyperdev.fr

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 para

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 b

Re: Streaming responses with Guile's web modules

2018-09-18 Thread Amirouche Boubekki
b/helpers.scm#L34 [1] https://git.savannah.gnu.org/cgit/guile.git/tree/module/web/server.scm#n198 Regards -- Amirouche ~ amz3 ~ http://www.hyperdev.fr

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 w

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 t

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

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 how t

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 w

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) http://lists.gnu.org/archive/html/gui

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

Re: How to get started in guile & programming generally

2018-08-25 Thread Amirouche Boubekki
it comes to web stuff. What do you want to make? Thanks, Joshua -- Amirouche ~ amz3 ~ http://www.hyperdev.fr

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 her

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
at 2: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/ &g

2018 Scheme and Functional Programming Workshop CfP

2018-07-05 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 201

Re: [ANN] Guile-Git 0.1.0 released

2018-07-05 Thread Amirouche Boubekki
: [...] [0]: https://libgit2.github.com/ Congrats for the release! Sorry for letting you down on this. What's missing in the bindings as of right now? I read it's now used in guix and cuirass (hydra replacement), great achievement again! -- Amirouche ~ amz3 ~ http://www.hyperdev.fr

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 https://gitlab.com/a-sassmannsh

Re: Lightweight web modules for Guile?

2018-07-01 Thread Amirouche Boubekki
rg/civodul/guile-sqlite3/ (Another possibility I entertained is to use haunt and have the dynamic elements be a separate html page populated by a separate process on the server. The page would then only be linked to from the rest of the pages and would hardcode paths for css and the rest. Not

Re: Lightweight web modules for Guile?

2018-06-30 Thread Amirouche Boubekki
listening on 127.0.0.1:6500 exit with ctrl+c the app is then accessible with the browser at http://127.0.0.1:6500 -- Amirouche ~ amz3 ~ http://www.hyperdev.fr

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, some other build system, or

smarter cooperative scheduler (maybe fiber related)

2018-03-20 Thread amirouche
ority of each thread/fiber might change over time. How can this be achieved in guile? fibers? I understand my explanation is not very good. I will try to improve tomorrow. Thanks in advance! Amirouche ~ amz3 ~ http://hyperdev.fr

Re: Help me setup test coverage

2018-03-12 Thread amirouche
Le lun. 12 mars 2018 à 15:55, Ludovic Courtès a écrit : Hello, amirouche skribis: I've setup a simple example, it requires guile and lcov for genhtml. You can reproduce the issue as follow: $ git clone https://github.com/a-guile-mind/coverage $ cd coverage $ make test

Help me setup test coverage

2018-03-06 Thread amirouche
Hello all! I have some difficulties setting up test coverage. Here the procedure I use that inspired from guile/test-suite/guile-test: (use-modules (system vm coverage) (system vm vm)) (define (run-test-with-coverage test) (call-with-values (lambda () (with

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

2018-03-05 Thread amirouche
t actually. The idea of building a community that builds knowledge bases but I am not sure how to proceed. BTW, forget about the task that I said would be useful in the previous mail. I made a small video: wget http://hyperdev.fr/static/gnu-guile-hacking-15.mp4 The project is still hosted at the following address: https://github.com/amirouche/neon Happy hacking!

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

2018-03-01 Thread Amirouche Boubekki
stream) ;; (let ((groups (make-hash-table))) ;; (let loop ((stream stream)) ;; (match (stream) ;; ('() (sort (hash-map->list cons groups) (lambda (a b) (> (cdr a) (cdr b) ;; ((item . next) ;; (hash-increment groups (car item)) ;; (loop

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

2018-02-25 Thread Amirouche Boubekki
(define (lazyseq-with-stream) (list->stream (iota max))) This is wrong. It must be implemented as: (define-stream (lazyseq-with-stream) (stream-let loop ((v 1)) (stream-cons v (loop (+ 1 v) I get the same segfault with the following error: Too many heap sections: Increa

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 srfi

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

2018-02-25 Thread Amirouche Boubekki
mum-size-of-a-web-browsers-cookies-key : So in your case, at least you won't segfault. : not sure if this is from any spec, or just convention : dsmith-work: in my particular case, for sessions, it's still not :risky because again, someone would need to forge the key... :

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 to p

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

2018-02-25 Thread Amirouche Boubekki
? TIA! -- Amirouche ~ amz3 ~ http://www.hyperdev.fr

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-p

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)) (l

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

2018-02-21 Thread amirouche
Héllo Roel, Le mer. 21 févr. 2018 à 17:02, Roel Janssen a écrit : Dear Amirouche, I'm not exactly sure if this fits in with your plans, but nevertheless I'd like to share this code with you. Thanks for the input. I recently looked into using triple stores (actually quad stores)

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

2018-02-21 Thread Amirouche Boubekki
ommit two triples among where one of them overlaps with master. - I can query both branch - In a merge commit, I fix the conflict between both branch. - I can query the resulting branch and get the expected result. The code might be easier to read [5] [5] https://github.com/amirouche/neon

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 like git. I will continue my work using '

Re: Functional database

2018-02-11 Thread amirouche
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 like git. There is some data [0] about the subject applied to triple stores aka

Re: Functional database

2018-02-10 Thread amirouche
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 like git. There is some data [0] about the subject applied to triple stores aka. subject-predicate-object data store [1]. So now, I understand

Functional database

2018-02-09 Thread amirouche
Héllo all, # Introduction I figured a usecase for an immutable / functional database that works like git. I like the "streamable immutable database" name but not sure it's applicable. This prolly seems ambitious and pretentious, that said, I am certain I can get it done. The only uncertainty

  1   2   3   >