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:

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
eb browser 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 que

[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 th

Re: Nyacc and guile-nearly-3.0

2019-12-04 Thread Amirouche Boubekki
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

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
belia.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
(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
this is a 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

[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

Re: Make a library installable?

2019-05-14 Thread Amirouche Boubekki
* "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
ile 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

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
. 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 redistribute i

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

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

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

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 ea

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

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

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

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

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
: [...] [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

Re: Lightweight web modules for Guile?

2018-07-01 Thread Amirouche Boubekki
om the rest of the pages and would hardcode paths for css and the rest. Not a very good solution, but maybe the simplest right now.) I would not do this, if I were you. [1]: I need to embed messages from a pump.io account on the index page. I would also like to try integrating wit

Re: Lightweight web modules for Guile?

2018-06-30 Thread Amirouche Boubekki
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,

Re: Help me setup test coverage

2018-03-12 Thread amirouche
Le lun. 12 mars 2018 à 15:55, Ludovic Courtès <l...@gnu.org> a écrit : Hello, amirouche <amirou...@hypermove.net> 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-m

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

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

2018-03-05 Thread amirouche
. 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
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))

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 <r...@gnu.org> 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 (actuall

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

2018-02-21 Thread Amirouche Boubekki
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/blob

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 <amirou...@hypermove.net> a écrit : Le sam. 10 févr. 2018 à 8:34, amirouche <amirou...@hypermove.net> a écrit : Héllo all, # Introduction I figured a usecase for an immutable / functional databas

Re: Functional database

2018-02-11 Thread amirouche
Le dim. 11 févr. 2018 à 0:44, amirouche <amirou...@hypermove.net> a écrit : Le sam. 10 févr. 2018 à 8:34, amirouche <amirou...@hypermove.net> a écrit : Héllo all, # Introduction I figured a usecase for an immutable / functional database that works like git. There is

Re: Functional database

2018-02-10 Thread amirouche
Le sam. 10 févr. 2018 à 8:34, amirouche <amirou...@hypermove.net> 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

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

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

  1   2   3   >