Re: clutter, clutter-glx [1.12.2] generating doc, 2 errors

2014-04-13 Thread Amirouche Boubekki
2014-04-13 14:58 GMT+02:00 Chris Vine ch...@cvine.freeserve.co.uk: On Sat, 12 Apr 2014 23:28:18 -0300 David Pirotte da...@altosw.be wrote: Hello, I'm on guile (GNU Guile) 2.0.11.2-0ece4 now Although I did not update the wrapset.api yet, in order to get a general picture of

Re: Reading data from a file descriptor

2015-11-16 Thread Amirouche Boubekki
On 2015-11-13 21:41, Jan Synáček wrote: On Fri, Nov 13, 2015 at 4:51 PM, Mark H Weaver wrote: Jan Synáček writes: > On Sun, Nov 8, 2015 at 12:49 AM, Andreas Rottmann > wrote: > > Also note that if there's no requirement to

Re: Ideas for a Guile tutorial to go with the new site

2015-10-18 Thread Amirouche Boubekki
Le 2015-10-18 20:44, Luis Felipe López Acevedo a écrit : On 2015-10-18 10:41, Christopher Allan Webber wrote: Hello! So I've been thinking a bit about what a friendly "intro" tutorial would look like that could fit with the direction the site is heading. I came up with some ideas I wanted

Re: New logo and website design proposal

2015-10-12 Thread Amirouche Boubekki
Le 2015-10-12 20:15, Luis Felipe López Acevedo a écrit : On 2015-10-12 08:26, l...@gnu.org wrote: Aleix Conchillo Flaqué skribis: I have a suggestion: would it be possible to show only one code sample in the Code examples section? The code sample would periodically

Re: New logo and website design proposal

2015-10-10 Thread Amirouche Boubekki
Le 2015-10-10 00:24, Luis Felipe López Acevedo a écrit : On 2015-09-23 11:18, Luis Felipe López Acevedo wrote: With the feedback so far, I'm planning to make a revision of the mockup this weekend to include the suggested changes. Hi, I just finished an implementation of the new website.

Re: Asynchronous event loop brainstorm at FSF 30

2015-10-04 Thread Amirouche Boubekki
Héllo, Please excuse my layman question in advance. I find the idea awesome to work on asynchronous framework for Guile. Le 2015-10-04 00:29, Christopher Allan Webber a écrit : So David Thompson, Mark Weaver, Andrew Engelbrecht and I sat down to talk over how we might go about an asynchronous

Re: New logo and website design proposal

2015-09-18 Thread Amirouche Boubekki
Le 2015-09-17 16:59, Luis Felipe López Acevedo a écrit : On 2015-09-16 03:19, Alex Sassmannshausen wrote: Beautiful! Like Chris, I love the demographically agnostic, yet incredibly inviting drawings. I also love the overall crisp and modern feel to the whole site including the proposed new

Re: Alternative logo proposal

2015-09-18 Thread Amirouche Boubekki
Le 2015-09-18 00:11, Mathieu Lirzin a écrit : Thorsten Wilms writes: Hi! I wasn't subscribed before, but got aware of Luis's mockups via IRC. While I think there's a lot just done right on the website mockup, I see issues with the logo proposal. The G in parens concept is

Re: Announcing 8sync: an asynchronous programming language for Guile

2015-12-06 Thread Amirouche Boubekki
Le 2015-12-05 15:58, Christopher Allan Webber a écrit : Amirouche Boubekki writes: * Agenda ** The canonical callback based event loop API is not visible enough It should be obvious coming from outside Guile world what/where is the event loop. As such, agenda doesn't seem like a good name

Re: Announcing 8sync: an asynchronous programming language for Guile

2015-12-05 Thread Amirouche Boubekki
Le 2015-12-05 15:58, Christopher Allan Webber a écrit : Amirouche Boubekki writes: *** `tdelta` is not useful. tdelta is used so the the agenda knows to put it a future time from the current execution of the agenda. I wanted to write that it's only a shorcut: ``` (define tdelta make-time

Re: Announcing 8sync: an asynchronous programming language for Guile

2015-12-05 Thread Amirouche Boubekki
Le 2015-12-05 15:58, Christopher Allan Webber a écrit : Amirouche Boubekki writes: * %8sync This is the main macro, here is it's definition: ``` (define-syntax-rule (%8sync async-request) (propagate-%async-exceptions (abort-to-prompt (current-agenda-prompt) async-request))) ``` I'm

Re: Announcing 8sync: an asynchronous programming language for Guile

2015-12-05 Thread Amirouche Boubekki
Le 2015-12-04 03:47, Amirouche Boubekki a écrit : Le 2015-12-04 03:15, Amirouche Boubekki a écrit : ``` (define (read/ sock) (abort-to-prompt 'loop (lambda (cc) (loop-add-reader sock (lambda () (cc (read sock

Re: Announcing 8sync: an asynchronous programming language for Guile

2015-12-03 Thread Amirouche Boubekki
Héllo, I've done some exploration regarding this topic; I think it might of interest or it's very naive. It goes like this: ``` scheme (define (loop-run-forever) (while #true (call-with-prompt 'loop loop-run-once (lambda (cc callback) (callback cc) ```

Re: Announcing 8sync: an asynchronous programming language for Guile

2015-12-03 Thread Amirouche Boubekki
Le 2015-12-04 03:15, Amirouche Boubekki a écrit : ``` (define (read/ sock) (abort-to-prompt 'loop (lambda (cc) (loop-add-reader sock (lambda () (cc (read sock))) ``` This is mistake, it should be a macro, so that, I think, even if the callstack displays

Re: Guix as a Guile package manager

2016-01-09 Thread Amirouche Boubekki
On 2016-01-09 15:06, Fabio Pesari wrote: On 01/09/2016 02:05 PM, Amirouche Boubekki wrote: There is a package manager https://github.com/ijp/guildhall with a package repository with automatic package publishing without review. Asking users to install a separate package manager might work

Re: Guix as a Guile package manager

2016-01-09 Thread Amirouche Boubekki
Héllo, On 2016-01-09 11:35, Fabio Pesari wrote: Package managers have been immensely successful in increasing the popularity of programming languages - think about Perl's CPAN or Ruby's Gem. But Guile doesn't a package manager, and that in my opinion slows down its adoption. There is a

Re: Guile-Clutter 1.12.2 released

2015-11-19 Thread Amirouche Boubekki
Le 2015-11-19 05:43, David Pirotte a écrit : Hello, We are pleased to announce Guile-Clutter 1.12.2, the next maintenance release for the Guile-Clutter 1.0 series. Thanks David and the team for making GNOME Clutter available in GNU Guile. I really like Clutter (and clutter but that's a

Re: Guile Module Documentation

2016-01-11 Thread Amirouche Boubekki
Hi Alex! Le 2016-01-10 01:02, Alex Weiss a écrit : I've written a couple of guile modules. What is the best way to generate documentation using the procedures docstrings? I don't know such tool in Guile. The current pratice is to create the documentation from scratch ie. without

Re: [PATCH 18/25] write documentation for (system foreign declarative)

2016-07-18 Thread Amirouche Boubekki
On 2016-07-18 17:17, kact...@gnu.org wrote: From: Dmitry Bogatov Document '' record type and 'define-foreign-type' procedure. Can you compare this 'foreign-type' library with scheme-bytestructures [0]. How can both libraries help each other? Work hand in hand? [0]

Re: [ann] fibers 0.1.0

2016-07-06 Thread Amirouche Boubekki
(Resent the mail to the mailing list) On 2016-07-04 10:34, Andy Wingo wrote: Hi all, I just released Fibers 0.1.0. Fibers is an experimental facility for Erlang-like concurrency in Guile 2.2. As an example, here is a ping server written in Fibers: (define (socket-loop socket store)

Re: Experimental JIT for Guile (???!)

2016-09-28 Thread Amirouche Boubekki
On 2016-09-28 09:45, Christopher Allan Webber wrote: Oh great to hear this extra backstory! Atsuro, welcome to the Guile community... I'd love to see collaboration between you and Guile core! +1 Nala Ginrut writes: Well, there's interesting story behind it. Few days ago this new JIT

Re: FOSDEM 2017 audio/video volunteers needed

2017-01-11 Thread Amirouche Boubekki
On 2017-01-11 09:05, Ricardo Wurmus wrote: Pjotr Prins writes: On Tue, Jan 10, 2017 at 04:02:32AM +, Pjotr Prins wrote: Hi all, FOSDEM provides live streaming of talks and archiving. We need volunteers to man the FOSS setup that handles the camera and mike.

Re: FOSDEM 2017 Schedule is there! Change of schedule!:wq

2017-01-03 Thread Amirouche Boubekki
On 2017-01-03 15:46, Pjotr Prins wrote: In other good news: we have a full day instead of a half day! https://fosdem.org/2017/schedule/track/gnu_guile/ All talks have more time and we can still add a few talks. The final schedule has to be ready by this Saturday. Great news :) So, if

Re: FOSDEM social dinner

2017-01-09 Thread Amirouche Boubekki
On 2017-01-09 14:37, Catonano wrote: 2017-01-06 10:46 GMT+01:00 Alex Sassmannshausen : Hello, Guile has a dev room at FOSDEM this year — for a whole day! The dev room will be on Sunday. Whilst organising it, we had the idea that it would be fun to have a

Re: crashes with Fibers

2018-07-01 Thread Amirouche Boubekki
On 2018-06-29 11:20, Clément Lassieur wrote: Hi, I'm encountering a few crashes with Fibers that happen when I call CALL-WITH-NEW-THREAD in a Fiber. TEST4 crashes every time. TEST5 never outputs, but it doesn't crash every time. TEST1 is exactly like TEST5 except that I replace

Re: crashes with Fibers

2018-07-01 Thread Amirouche Boubekki
On 2018-07-02 00:32, Amirouche Boubekki wrote: On 2018-07-01 15:09, Clément Lassieur wrote: Amirouche Boubekki writes: Sorry, I did not read the code. What are you trying to achieve? Within a fiber, I need to spawn several Guile-Git clones in parallel. Since they block the Fibers scheduler

Re: crashes with Fibers

2018-07-01 Thread Amirouche Boubekki
On 2018-07-01 15:09, Clément Lassieur wrote: Amirouche Boubekki writes: Sorry, I did not read the code. What are you trying to achieve? Within a fiber, I need to spawn several Guile-Git clones in parallel. Since they block the Fibers scheduler, they need to be in separate threads. I tried

Re: crashes with Fibers

2018-07-01 Thread Amirouche Boubekki
On 2018-07-02 00:41, Amirouche Boubekki wrote: On 2018-07-02 00:32, Amirouche Boubekki wrote: On 2018-07-01 15:09, Clément Lassieur wrote: Amirouche Boubekki writes: Sorry, I did not read the code. What are you trying to achieve? Within a fiber, I need to spawn several Guile-Git clones

Re: Thread 1 "guile" received signal SIGPWR, Power fail/restart.

2018-01-20 Thread Amirouche Boubekki
On 2018-01-20 20:48, Amirouche Boubekki wrote: On 2018-01-20 20:32, Amirouche Boubekki wrote: I have a guile crash that I can reproduce all the time so far that says: Thread 1 "guile" received signal SIGPWR, Power fail/restart. [snip] The core is at http://hyperdev.fr/sta

Thread 1 "guile" received signal SIGPWR, Power fail/restart.

2018-01-20 Thread Amirouche Boubekki
I have a guile crash that I can reproduce all the time so far that says: Thread 1 "guile" received signal SIGPWR, Power fail/restart. Before the crash I see things like that when running with guile with gdb: [Thread 0x7fffe3fff700 (LWP 24262) exited] [New Thread 0x7fffea89e700 (LWP

Re: Thread 1 "guile" received signal SIGPWR, Power fail/restart.

2018-01-20 Thread Amirouche Boubekki
On 2018-01-20 20:32, Amirouche Boubekki wrote: I have a guile crash that I can reproduce all the time so far that says: Thread 1 "guile" received signal SIGPWR, Power fail/restart. I can reproduce the bug without guile-wiredtiger, here is the backtrace: [Thread 0x7fffed9f1700

Re: Thread 1 "guile" received signal SIGPWR, Power fail/restart.

2018-01-21 Thread Amirouche Boubekki
On 2018-01-21 05:45, Mark H Weaver wrote: Amirouche Boubekki <amirou...@hypermove.net> writes: I have a guile crash that I can reproduce all the time so far that says: Thread 1 "guile" received signal SIGPWR, Power fail/restart. SIGPWR is used internally by libgc. If I

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

Re: Guile 3 update, August edition

2018-08-24 Thread Amirouche Boubekki
Le ven. 24 août 2018 à 14:19, Christopher Lemmer Webber < cweb...@dustycloud.org> a écrit : > Andy Wingo writes: > > > In this particular example, the JITted code runs about 3x faster than > > the interpreted code. The JIT doesn't do register allocation; not sure > > precisely how to do that. A

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: crashes with Fibers

2018-07-19 Thread Amirouche Boubekki
https://github.com/wingo/fibers/issues/21 Le mar. 17 juil. 2018 à 20:17, Clément Lassieur a écrit : > Clément Lassieur writes: > > > Ludovic Courtès writes: > > > >> Hello Clément, > >> > >> Clément Lassieur skribis: > >> > >>> ;; bad > >>> (define (test4) > >>> (run-fibers >

(n-for-each-par-map 16 store download (reverse (iota (max-id))))) crash

2018-07-05 Thread Amirouche Boubekki
I have a program that try to download hackernews locally. What it does is simple, it fetch the max identifier and http-get each json value starting with the most recent item. I use n-for-each-par-map with 16 threads I have 8 cores. Here is the full program: (define-module (hn)) (use-modules

Re: (n-for-each-par-map 16 store download (reverse (iota (max-id))))) crash

2018-07-05 Thread Amirouche Boubekki
Hi Mark, Thanks for your support and time. On 2018-07-05 20:30, Mark H Weaver wrote: Hi, Amirouche Boubekki writes: I have a program that try to download hackernews locally. What it does is simple, it fetch the max identifier and http-get each json value starting with the most recent item

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

bug#15228: making open-process public [Was: Re: Using open-input-output-pipe]

2018-01-22 Thread Amirouche Boubekki
Moving the conversation to guile-devel. Can I have feedback on the patch I sent for #15228 https://debbugs.gnu.org/cgi/bugreport.cgi?bug=15228 On 2018-01-22 16:40, Edwin Watkeys wrote: Hi all, Thanks for all the input. Here a simple implementation that I've come up with; I'm not sure it's

Re: Proposal of a better hash table implementation based on SRFI 125

2019-01-16 Thread Amirouche Boubekki
e >> specification - so, for instance, HASH-TABLE=? checks if the equivalence >> function of both hash tables are the same and HASH-TABLE returns an >> immutable hash table. >> >> Code is public and suggestions are always welcome :) >> https://github.com/jessymi

Re: Proposal of a better hash table implementation based on SRFI 125

2019-01-20 Thread Amirouche Boubekki
; escreveu: > >> Done. >> >> Not that there are many commits. The first commit only fixes bug 33827 of >> SRFI 69, and SRFI 69 is reimplemented in the third commit, which pretty >> much erases the changes of the first commit. >> >> https://github.com/jessymila

Re: Proposal of a better hash table implementation based on SRFI 125

2019-01-20 Thread Amirouche Boubekki
Thanks for the feedback! Also, if you are interested in r7rs in guile you might be interested in `r7rs-wip` branch of guile Le dim. 20 janv. 2019 à 14:50, Jéssica Milaré a écrit : > > > Em dom, 20 de jan de 2019 às 10:58, Amirouche Boubekki < > amirouche.boube...@gmai

Re: guile 3 update, september edition

2018-09-17 Thread Amirouche Boubekki
Le lun. 17 sept. 2018 à 10:26, Andy Wingo a écrit : > Hi! > > This is an update on progress towards Guile 3. In our last update, we > saw the first bits of generated code: > > https://lists.gnu.org/archive/html/guile-devel/2018-08/msg5.html > > Since then, the JIT is now feature-complete.

Re: make-c-struct and pointer->string

2019-03-28 Thread Amirouche Boubekki
Eventually, I can reproduced the issue with guile-next from guix: scheme@(guile-user) [1]> (make-c-struct (list '* '*) (list (string->pointer "hello ") (string->pointer "there!"))) $5 = # scheme@(guile-user) [1]> (parse-c-struct $5 (list '* '*)) $6 = (# #) scheme@(guile-user) [1]> (map

Re: FOSDEM 2019

2019-02-06 Thread Amirouche Boubekki
Hello all, Le mer. 6 févr. 2019 à 18:47, Ludovic Courtès a écrit : > Nala Ginrut skribis: > > > Does it mean someone is working on writing Racket specific dialect > > front-end on Guile? I appreciate! > > Nope! Actually Chris Webber raised the issue of collaboration between > Racket and Guile

Re: FOSDEM 2019

2019-02-06 Thread Amirouche Boubekki
Le mer. 6 févr. 2019 à 16:22, Amirouche Boubekki < amirouche.boube...@gmail.com> a écrit : > > > Le mer. 6 févr. 2019 à 14:47, Alex Sassmannshausen < > alex.sassmannshau...@gmail.com> a écrit : > >> > - Janneke mentioned the new guile build system in guix for

Re: FOSDEM 2019

2019-02-06 Thread Amirouche Boubekki
Le mer. 6 févr. 2019 à 14:47, Alex Sassmannshausen < alex.sassmannshau...@gmail.com> a écrit : > > - Janneke mentioned the new guile build system in guix for simpler > >guile packages and I think that's pretty great. Likewise there was > >some mention of some sort of

Re: Code coverage is broken

2019-02-08 Thread Amirouche Boubekki
code coverage work with guile-2.2 Here is the test run: amirouche@ubujan19:~/src/scheme/guile/coverage$ guile --version guile (GNU Guile) 2.2.4 Copyright (C) 2018 Free Software Foundation, Inc. License LGPLv3+: GNU LGPL 3 or later . This is free software: you

Re: Code coverage is broken

2019-02-08 Thread Amirouche Boubekki
Sorry! My test is not good. Ignore what I posted previously.

Re: Code coverage is broken

2019-02-09 Thread Amirouche Boubekki
with the attachement this time. Le sam. 9 févr. 2019 à 18:10, Amirouche Boubekki < amirouche.boube...@gmail.com> a écrit : > > > Le sam. 9 févr. 2019 à 14:48, Nala Ginrut a écrit : > >> I wonder if it's a bug that the FN was skipped. >> > > Yes it is expecte

Re: FOSDEM 2019

2019-02-05 Thread Amirouche Boubekki
Hi Le mar. 5 févr. 2019 à 18:17, Ludovic Courtès a écrit : > Hi, > > Amirouche Boubekki skribis: > > > What does it mean in practice? What are the tasks that must dealt with? > > Like I wrote, an immediate task is to write a Racket importer for Guix¹ > and to actual

Re: FOSDEM 2019

2019-02-04 Thread Amirouche Boubekki
Le dim. 3 févr. 2019 à 22:36, Mikael Djurfeldt a écrit : > It was a great experience and joy for me to meet some of you at FOSDEM > 2019. Thank you all! > > Now a piece of advice. > > Everyone who works with Guile knows that it's crap and look with envy at > projects like Chez and Racket, right?

Re: FOSDEM 2019

2019-02-05 Thread Amirouche Boubekki
Le lun. 4 févr. 2019 à 15:52, Ludovic Courtès a écrit : > Hello Mikael! > > Mikael Djurfeldt skribis: > > > It was a great experience and joy for me to meet some of you at FOSDEM > > 2019. Thank you all! > > Seconded, that was awesome! Meeting Guilers, both newcomers and > old-timers :-), was

Bringing back gc-live-object-stats

2019-05-14 Thread Amirouche Boubekki
Hello all, I am stuck with a memory leak. I think *gc-live-object-stats* [0] would help. [0] https://www.gnu.org/software/guile/manual/html_node/Garbage-Collection-Functions.html#index-gc_002dlive_002dobject_002dstats Can some explain to me how to bring it back? Thanks in advance, Amirouche

Re: Bringing back gc-live-object-stats

2019-05-16 Thread Amirouche Boubekki
Thanks for your reply. Le jeu. 16 mai 2019 à 03:41, Mark H Weaver a écrit : > Amirouche Boubekki writes: > > > I am stuck with a memory leak. I think gc-live-object-stats [0] would > help. > > > > [0] > https://www.gnu.org/software/guile/manual/html_node/Garbage-C

Re: landed r7rs support

2019-11-18 Thread Amirouche Boubekki
> On Sun, Nov 17, 2019 at 3:45 PM Andy Wingo wrote: >> >> Hey all :) >> >> Just a little heads-up that I just landed R7RS support. Thanks to Göran >> Weinholt for akku-scm (https://gitlab.com/akkuscm/akku-r7rs/) and >> OKUMURA Yuki for yuni (https://github.com/okuoku/yuni), off of which >> some

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: Mutating public bindings of a declarative module

2019-11-24 Thread Amirouche Boubekki
Le dim. 24 nov. 2019 à 18:54, Ludovic Courtès a écrit : > > Hello! > > It seems that if you ‘set!’ a public variable of a declarative module, > the change is visible to all the module users, but it’s not necessarily > visible to procedures within that module, presumably because they use an >

Re: For a cheaper ‘bytevector->pointer’

2019-11-24 Thread Amirouche Boubekki
Le dim. 24 nov. 2019 à 11:53, Ludovic Courtès a écrit : > > Hello! > > A few days ago David was explaining on #guile how ‘bytevector->pointer’ > was generating too much garbage for his use case. An idea we came up > with was to embed the pointer object in the bytevector. I would be very happy

Re: Better HTTPS support in (web client)

2020-01-18 Thread Amirouche Boubekki
Le ven. 10 janv. 2020 à 16:56, Chris Vine a écrit : > > Is the new implementation usable with suspendable ports? When I last > looked the read-response-body procedure was not, which meant that > http-get and http-put were not, which meant that you could not really > use them with fibers. Is

Re: Logo baseline

2020-01-18 Thread Amirouche Boubekki
Le sam. 18 janv. 2020 à 15:14, Ludovic Courtès a écrit : > > Hello Guilers! > > The Guile logo has this “GNU extension language” baseline. As Guile 3 > came out, this baseline felt odd to me, not quite corresponding to the > way I see Guile. > > Clearly, Guile is still an extension language,

Re: landed r7rs support

2019-12-27 Thread Amirouche Boubekki
Le lun. 18 nov. 2019 à 12:43, Mikael Djurfeldt a écrit : > > On Sun, Nov 17, 2019 at 3:45 PM Andy Wingo wrote: >> >> Hey all :) >> >> The library syntax for R7RS is a subset of R6RS, so to use R7RS you just >> (import (scheme base)) and off you go. As with R6RS also, there are >> some small