Re: Non-blocking web server

2024-03-25 Thread Nala Ginrut
Hi Ryan! For the single-threaded non-blocking server in Guile, you have to make sure at least 3 steps: 1. set socket to non-blocking 2. enable suspended ports to prepare delimited-continuation powered coroutine 3. designed your own scheduler Even in the single thread, you can handle requests

Re: Make the pkgconfig file of Guile relocatable.

2022-02-27 Thread Nala Ginrut
hi Zihao! I think the substitution is OK. But if you want to package for Guix, you need to go Guix way. Guix package has made a similar approach, for example, you may check "guix edit artanis" to see how it substitutes the dir for Artanis. Best regards. On Mon, Feb 28, 2022 at 12:27 AM Zhu

Re: Implementing ES6 on top of Guile

2021-07-06 Thread Nala Ginrut
Sorry, "it's mostly ES6". On Tue, Jul 6, 2021, 15:48 Nala Ginrut wrote: > Hi Ayush! > I have some experiences to write language frontend on Guile. > Here are posts and project you can take a look, they could be helpful to > you. > > > https://nalaginrut.co

Re: Implementing ES6 on top of Guile

2021-07-06 Thread Nala Ginrut
Hi Ayush! I have some experiences to write language frontend on Guile. Here are posts and project you can take a look, they could be helpful to you. https://nalaginrut.com/archives/2016/09/05/a-preview-of-guile-lua-%28rebirth%29%2c-and-some-opinions-

Re: Python-on-guile

2021-04-27 Thread Nala Ginrut
Nice to know it! I still don't have time to polish my guile-lua-rebirth. Anyway, it's really good news to see the transpiler has a good performance on Guile.! Best regards. On Fri, Apr 23, 2021 at 11:01 PM Mikael Djurfeldt wrote: > Hi, > > Yesterday, Andy committed new code to the compiler,

Re: The r6rs record-type in pattern matching of Guile-3.0

2020-09-15 Thread Nala Ginrut
ass) from now on, which would be faster for access, obviously. Best regards. On Tue, Aug 25, 2020 at 4:16 AM Nala Ginrut wrote: > Hi folks! > I found the r6rs record pattern matching has different results compared to > Guile-2. > Here is t

The r6rs record-type in pattern matching of Guile-3.0

2020-08-24 Thread Nala Ginrut
Hi folks! I found the r6rs record pattern matching has different results compared to Guile-2. Here is the example code: -code-- ,use (rnrs) ,use (ice-9 match) (define-record-type aaa (fields a)) (define-record-type bbb

Re: GNU Guile 2.9.8 Released [beta]

2020-01-25 Thread Nala Ginrut
Best regards. On Sun, Jan 19, 2020 at 3:43 AM Nala Ginrut wrote: > Just a report, the same compiling error existing in Guile-3.0.0. > > Best regards. > > > On Tue, Jan 14, 2020 at 4:49 PM Nala Ginrut wrote: > >> Hi Wingo! >> Here're update: >> 1. 2.9.9 di

Strange activity in Guile-3.0.0 record-type

2020-01-25 Thread Nala Ginrut
Here's a simple test: ---mm.scm--- (define-module (mm) #:use-module ((rnrs) #:select (define-record-type))) (define-record-type aaa) (define-record-type bbb)

Re: Announcing the first stable release of guile-for-loops

2020-01-24 Thread Nala Ginrut
+1 On Fri, Jan 24, 2020, 20:13 Stefan Israelsson Tampe wrote: > > > -- Forwarded message - > From: Stefan Israelsson Tampe > Date: Fri, Jan 24, 2020 at 12:42 PM > Subject: Re: Announcing the first stable release of guile-for-loops > To: Linus Björnstam > > > Would be cool to

Re: GNU Guile 2.9.8 Released [beta]

2020-01-18 Thread Nala Ginrut
Just a report, the same compiling error existing in Guile-3.0.0. Best regards. On Tue, Jan 14, 2020 at 4:49 PM Nala Ginrut wrote: > Hi Wingo! > Here're update: > 1. 2.9.9 didn't fix this issue > > 2. I imported r6rs record-type in (artanis utils), and this module was >

Re: Logo baseline

2020-01-18 Thread Nala Ginrut
On Sat, Jan 18, 2020 at 10:14 PM Ludovic Courtès wrote: > Hello Guilers! > Clearly, Guile is still an extension language, with many great > applications (Gnucash, Lepton-EDA, OpenCog, GDB, etc.), and I’m sure > libguile is here to stay. Yet, to me, “extension language” does not > accurately

Re: GNU Guile 2.9.8 Released [beta]

2020-01-14 Thread Nala Ginrut
-type in server-context.scm I guess there're some name conflicting. On Sat, Jan 11, 2020 at 6:33 PM Andy Wingo wrote: > On Wed 08 Jan 2020 15:22, Nala Ginrut writes: > > > In unknown file: > >4 (primitive-load-path "artanis/server/server-context"

Re: GNU Guile 2.9.8 Released [beta]

2020-01-08 Thread Nala Ginrut
When I was trying to compile Artanis with Guile-2.9.8, it throw error like this: --- WARNING: (artanis utils): imported module (rnrs) overrides core binding `record-accessor' Backtrace: In ice-9/psyntax.scm:

Re: SHA256 performance with Guile 2.2 vs. Guile 3.0

2020-01-04 Thread Nala Ginrut
Congrats! I just replaced Weinholt's hmac implementation with NSS binding for product consideration, but nice to know this great result! And thanks to Weinholt's work, Artanis had been relying on it for many years. Best regards. On Sat, Jan 4, 2020, 18:36 Göran Weinholt wrote: > Ludovic

Re: GNU Guile 2.9.8 Released [beta]

2020-01-02 Thread Nala Ginrut
When I was trying to compile Artanis, the configure threw an error: checking for Guile version >= 3.0... configure: error: Guile 3.0 required, but 2.9.8 found Here's what I put in configure.ac: GUILE_PKG(2.2 2.3 2.9 3.0) My question is

Re: draft 3.0 release schedule

2019-12-13 Thread Nala Ginrut
Finally! On Thu, Dec 12, 2019, 05:27 Andy Wingo wrote: > Hi, > > I've been trying to put out releases on an every-other-Friday schedule. > Due to holidays I will probably bump this next one (2.9.7) up to this > Friday. Current plan would then be to do 2.9.8 on 3 January 2020, and > then if all

Re: landed r7rs support

2019-11-22 Thread Nala Ginrut
On Tue, Nov 19, 2019, 03:34 Amirouche Boubekki wrote; > > link: > https://www.gnu.org/software/guile/manual/guile.html#Extending-the-Compiler > > In that section, maybe add a note about a web assembly backend? > +1 In the past decade, we've gotten some experiences about compiler frontend around

Re: guile 3 update, halloween edition

2019-10-30 Thread Nala Ginrut
Hi Andy! Thanks for all the work! On Thu, Oct 31, 2019 at 4:55 AM Andy Wingo wrote: > Hey folks! > > I wanted to send out an update on Guile 3. Do take a look at > https://git.savannah.gnu.org/cgit/guile.git/tree/NEWS to see where we've > come; basically the JIT is done, and we're ready to

Re: Contributions to “Guile Studio”

2019-10-29 Thread Nala Ginrut
I just want to say thank you to all the contributors! I'm trying to do some efforts to make Guile more friendly to newbies, guile-studio seems a good thing to help them to get a start. Best regards. On Tue, Oct 29, 2019 at 2:40 AM Ricardo Wurmus wrote: > > Hi Mark, > > I’m glad you consider

Re: conflicts in the gnu project now affect guile

2019-10-19 Thread Nala Ginrut
On Sun, Oct 20, 2019 at 11:10 AM Mark H Weaver wrote: > It might create more divisions between us, at a time when we should be > focused on healing our wounds and coming together as a community. I'd > be glad to discuss it later. > > +1 I agree that let's keep friendly just like before, after

Re: conflicts in the gnu project now affect guile

2019-10-18 Thread Nala Ginrut
hi Andy, I think Mark has explained something, I hope you can rethink about it calmly. It seems a misunderstanding. A decade ago I came to Guile community, and I've learned many things from the people here. Andy, Mark, and Ludo are the people I really respect. However, someday if they start to

Re: Maintainership changes: many thanks to Mark!

2019-09-11 Thread Nala Ginrut
Hi Mark! Many thanks for all your contributions! I'm going to say that I've learned too many things from you, and you helped me to carve my skills. Do you remember once I said I owe you a beer? ;-) Best regards. On Wed, Sep 11, 2019 at 3:57 PM Andy Wingo wrote: > Hi all, > > After many years

Re: Support Websocket status code

2019-08-07 Thread Nala Ginrut
hi Mark! Yes you're right, the status code should be encoded in close-frame, not HTTP response. Sorry for the wrong patch. ;-) Best regards. On Wed, Aug 7, 2019 at 2:52 PM Mark H Weaver wrote: > Hi, > > Nala Ginrut writes: > > > Hi folks! > > The current response bu

Re: Support Websocket status code

2019-07-29 Thread Nala Ginrut
Here is a patch to add necessary status code, and avoid checking failure when building response. Based on branch stable-2.2 Thanks! On Fri, Jul 26, 2019 at 2:06 PM Nala Ginrut wrote: > Hi folks! > The current response builder will reject status code less th

Support Websocket status code

2019-07-26 Thread Nala Ginrut
Hi folks! The current response builder will reject status code less than 600: ---code- ((not (and (non-negative-integer? code) (< code 600))) (bad-response "Bad code: ~a" code)) ---

Re: python-on-guile

2019-06-26 Thread Nala Ginrut
Thanks for the work! I appreciate it! On Sat, Jun 15, 2019 at 3:05 AM Stefan Israelsson Tampe wrote: > > python on guile has reached quite far and now compiles a lot of the standard > python code base. The speed has not been of importance. Rather to get good > coopertion between guile scheme

Re: Releasing 2.2.5?

2019-06-06 Thread Nala Ginrut
I'm looking forward to it! On Thu, Jun 6, 2019 at 4:51 PM Ludovic Courtès wrote: > > Hello comrades! > > What would you think of releasing ‘stable-2.2’ as 2.2.5? > > It’s great if you can do it, Mark, but otherwise I can do it. > > Thanks, > Ludo’. >

Re: compilation pragmas?

2019-05-29 Thread Nala Ginrut
Hi Massimiliano! Could you show some code to elaborate on your idea? It's too vague to understand by a pure text description. Thanks! On Wed, May 29, 2019 at 8:43 PM Massimiliano Gubinelli wrote: > > Hello, > I noticed that the Tree IL compiler uses an ad-hoc code to check if some > symbol is

Re: [PATCH] Add current-suspendable-io-status parameter

2019-05-17 Thread Nala Ginrut
Hi Mark! I need some time to think about all the situations in front of us. And here's a quick reply to one of your questions: On Thu, May 16, 2019 at 8:59 AM Mark H Weaver wrote: > What about when we write something more structured, such as writing a > large S-expression using 'write', or

Re: [PATCH] Add current-suspendable-io-status parameter

2019-05-15 Thread Nala Ginrut
Similar, but in Guile, you don't have to care about if it's blocking and schedule it by yourself, while you have to care about it explicitly in C. 于 2019年5月15日周三 20:10写道: > On Wed, May 15, 2019 at 07:25:37PM +0800, Nala Ginrut wrote: > > hi Tomas! > > For Guile, if you enabled s

Re: [PATCH] Add current-suspendable-io-status parameter

2019-05-15 Thread Nala Ginrut
by I/O multiplexer. That is to say, you can do other works before it mentions you some time. On Wed, May 15, 2019 at 6:09 PM wrote: > > On Mon, May 13, 2019 at 06:54:38PM +0800, Nala Ginrut wrote: > > Hi folks! > > Here's a patch to add current-suspendable-io-status: > &

Re: [PATCH] Add current-suspendable-io-status parameter

2019-05-15 Thread Nala Ginrut
Mark H Weaver wrote: > > Hi Nala, > > Nala Ginrut writes: > > > On Tue, May 14, 2019 at 7:01 AM Mark H Weaver wrote: > >> I guess what you want is the ability to see incremental reports on the > >> progress of your large I/O operations. Is that rig

Re: [PATCH] Add current-suspendable-io-status parameter

2019-05-13 Thread Nala Ginrut
Hi Mark! Thanks for so patient reply! On Tue, May 14, 2019 at 7:01 AM Mark H Weaver wrote: > I guess what you want is the ability to see incremental reports on the > progress of your large I/O operations. Is that right? If we are going > to add an API for this, it needs to be reliable, and

Re: [PATCH] Add current-suspendable-io-status parameter

2019-05-13 Thread Nala Ginrut
BTW, the patch is based on the latest stable-2.2 branch. On Mon, May 13, 2019 at 6:54 PM Nala Ginrut wrote: > > Hi folks! > Here's a patch to add current-suspendable-io-status: > Its result is a pair: (finished-bytes . rest-bytes) > > This is useful for designing a proper s

[PATCH] Add current-suspendable-io-status parameter

2019-05-13 Thread Nala Ginrut
on this status to decide how to schedule the suspended task. Comments are welcome. Best regards. From 59c2584a1eda94c19fbef07bb8bfa36da3c0ce1c Mon Sep 17 00:00:00 2001 From: Nala Ginrut Date: Mon, 13 May 2019 18:45:54 +0800 Subject: [PATCH] Add current-suspendable-io-status When suspendable-port

Re: Code coverage is broken

2019-02-09 Thread Nala Ginrut
I wonder if it's a bug that the FN was skipped. On Sat, Feb 9, 2019 at 10:51 AM Nala Ginrut wrote: > > Never mind, it's better than mine, at least there're lines records, > although functions calling are still missing. > Thanks ;-) > > On Sat, Feb 9, 2019 at 8:27 AM Amirouche

Re: Code coverage is broken

2019-02-08 Thread Nala Ginrut
Never mind, it's better than mine, at least there're lines records, although functions calling are still missing. Thanks ;-) On Sat, Feb 9, 2019 at 8:27 AM Amirouche Boubekki wrote: > > Sorry! My test is not good. Ignore what I posted previously.

Code coverage is broken

2019-02-08 Thread Nala Ginrut
Hi folks! I'm trying to add code coverage for certain program. However, the function callings are always unrecorded. -- (use-modules (system vm coverage) (system vm vm))

Re: FOSDEM 2019

2019-02-05 Thread Nala Ginrut
This patche provide #lang tag like Racket does. If so then it's reasonable and doable. Thanks for that! :-) Matt Wette 于 2019年2月6日周三 08:38写道: > > > On 2/5/19 8:58 AM, Ludovic Courtès wrote: > > Hi, > > > > Amirouche Boubekki skribis: > > > >> What does it mean in practice? What are the tasks

Re: FOSDEM 2019

2019-02-05 Thread Nala Ginrut
Does it mean someone is working on writing Racket specific dialect front-end on Guile? I appreciate! Ludovic Courtès 于 2019年2月6日周三 00:59写道: > 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

Re: FOSDEM 2019

2019-02-03 Thread Nala Ginrut
Thanks for all the words folks! I confess the thoughts about "Guile is crap" is reasonable for some people, especially when you compare Guile to Chez and Racket. We can't ignore the quality of Chez and Racket. People always have choices, some would choose performance, some choose rapid

Re: moving to gitlab?

2019-01-22 Thread Nala Ginrut
First, I hope Guile can use gitlab. However, IIRC, RMS has some comments on this, the hosting service must be free, and it shouldn't allow to fork, but branch-based. This is reasonable to protect project, but RMS speaks as a skilled hacker, I have to say it's very good policy in a professional

Re: GTK3 bindings status

2018-11-11 Thread Nala Ginrut
Hi Mike! I'm just here to say, thanks for the work! Mike Gran 于 2018年11月12日周一 07:52写道: > Hi- > > After a few weeks hacking, I have actually got a library that parses > GObject-Introspection *.typelib files to create Guile bindings, and I > have added just enough machinery to get GTK's famous

Re: 2018 Scheme and Functional Programming Workshop CfP

2018-08-01 Thread Nala Ginrut
I've sent a paper about guile-lua, hope everything is ok ;-P On Fri, Jul 6, 2018 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:

What's the alternative of scm_new_port_table_entry?

2018-04-04 Thread Nala Ginrut
I found there're many issues after scm_new_port_table_entry was removed recently: commit 9417fdb80fb5db4f657c9a329faaa61162ab996b Author: Ludovic Courtès Date: Fri Feb 16 14:26:56 2018 +0100 doc: Fix typo about SRFI-4 syntax.

Re: Question: link to wrong library

2018-01-22 Thread Nala Ginrut
t;> libm.so.6 => /usr/lib/libm.so.6 (0x7f3cf9d3e000) >> /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 >> (0x7f3cfba49000) >> libdl.so.2 => /usr/lib/libdl.so.2 (0x7f3cf9b3a000) >> libatomic_ops.so.1 => /usr/lib/libatomic_ops.s

Re: Question: link to wrong library

2018-01-21 Thread Nala Ginrut
I think you may need LD_LIBRARY_PATH 2018年1月21日 23:46,"陶青云" 写道: > Hi. I'm new to guile. I compiled it from source without `make install`. > > I write a simple C file and use the flowing command to compile it. > `gcc -pthread -I. -L ./libguile/.libs -lguile-2.2 -lgc

Re: Rename GNU fdisk to GUILE diskutils

2017-12-14 Thread Nala Ginrut
Personally, I don't think adding guile prefix to a package name is the way to advocating Guile, unless it's Guile specific program and used by Guile only. GNU Artanis is written in pure Guile scheme, but the name doesn't imply any guile stuff. If people like it, then they will like the power of

Re: Error while detecting Guile-3.0

2017-10-23 Thread Nala Ginrut
I formatted a patch here in case anyone need it before 3.0 release. On Mon, Oct 23, 2017 at 3:42 PM, Nala Ginrut <nalagin...@gmail.com> wrote: > Sorry, this line: > --- > (define guile-mo

Re: Error while detecting Guile-3.0

2017-10-23 Thread Nala Ginrut
Sorry, this line: --- (define guile-module "guile-2.2") --- On Mon, Oct 23, 2017 at 3:40 PM, Nala Ginrut <nalagin...@gmail.com> wrote: > And this line should be changed to "guile-3.0&

Re: Error while detecting Guile-3.0

2017-10-23 Thread Nala Ginrut
And this line should be changed to "guile-3.0" in meta/guile-config.in --- (define guile-module "guile-3.0") --- Best regards. On Mon, Oct 23, 2017 at 3:36 PM, Nala Ginrut <nalagin...@gm

Re: Error while detecting Guile-3.0

2017-10-23 Thread Nala Ginrut
GUILE_MINOR_VERSION=0 GUILE_MICRO_VERSION=0 The problem gone. I think it's better to fix it in master branch, or people may find it's confusing sometimes. Best regards. On Mon, Oct 23, 2017 at 3:19 PM, Nala Ginrut <nalagin...@gmail.com> wrote: >

Error while detecting Guile-3.0

2017-10-23 Thread Nala Ginrut
hi folks! I'm trying to use Guile-3.0 for a project, but it complains when configure: - checking for Guile version >= 3.0... configure: error: Guile 3.0 required, but 2.3.0 found - The related lines in

Re: Wisp as shipped language in Guile?

2017-09-19 Thread Nala Ginrut
Well yes, it looks good if we have it. And I could let users of Artanis write HTML template like Ruby slim. http://slim-lang.com/ 2017年9月19日 下午10:10,"Christopher Allan Webber" 写道: > Matt Wette writes: > > >> On Sep 17, 2017, at 4:22 PM, Arne Babenhauserheide

Re: Wisp as shipped language in Guile?

2017-08-11 Thread Nala Ginrut
Hi Arne! Personally, I'd like to see many languages on Guile. But I prefer maintain mine, guile-lua-rebirth and a new shell language(undone) as an external package. GNU official project reviews contributions too strictly, it's good for the quality and free software ethics, but too difficult for

Re: ffi-help: handling types

2017-06-27 Thread Nala Ginrut
Good job! 2017年6月28日 上午10:26,"Matt Wette" 写道: > 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. A little status on type

Re: [ Porting Guile on Android 4.4 ]

2017-06-17 Thread Nala Ginrut
I'm not familiar with this porting work, so can't help more. But it's great if I could use Guile on my phone! Thanks for the work! 2017年6月16日 下午11:48,"Robert Dazi" 写道: > Hello, > I tried to port Guile 2.2.1 on Android 4.4. As you might know, Android is > not GNU/Linux and

Re: Efficiency of `map`

2017-06-09 Thread Nala Ginrut
Hi Mark! Do you have any advice to optimize it without disable GC temperaly? Or the only way is to change a better GC? 2017年6月10日 12:28,"Mark H Weaver" 写道: > Stefan Monnier writes: > > >> (define (map f l) > >> (if (pair? l) > >> (cons (f

Re: Is the backtrace broken in 2.2.2?

2017-05-12 Thread Nala Ginrut
I'm trying to form a simplified test case, please wait a moment. 2017年5月13日 06:21,"Mark H Weaver" <m...@netris.org>写道: > Nala Ginrut <nalagin...@gmail.com> writes: > > > On Wed, May 3, 2017 at 3:45 AM, Andy Wingo <wi...@pobox.com> wrote: > >&g

Re: Is the backtrace broken in 2.2.2?

2017-05-03 Thread Nala Ginrut
It always appears. Maybe relate to call-with-prompt? On Wed, May 3, 2017 at 3:45 AM, Andy Wingo <wi...@pobox.com> wrote: > On Mon 01 May 2017 06:45, Nala Ginrut <nalagin...@gmail.com> writes: > >> Hi all! >> I'm using the latest Guile from git repo. >> It seems

Is the backtrace broken in 2.2.2?

2017-04-30 Thread Nala Ginrut
Hi all! I'm using the latest Guile from git repo. It seems something is wrong to print message of backtrace. ---cut Exception thrown while printing backtrace: ERROR: In procedure vector-ref: Value out of range: 156

Re: RFC: (ice-9 sandbox)

2017-04-17 Thread Nala Ginrut
writer has to write their own sandbox with (ice-9 sandbox) if any necessary. :-) Best regards. 2017年4月17日 16:07,"Andy Wingo" <wi...@pobox.com>写道: > On Sat 15 Apr 2017 19:23, Nala Ginrut <nalagin...@gmail.com> writes: > > > Could you please add #:from keywo

Re: RFC: (ice-9 sandbox)

2017-04-15 Thread Nala Ginrut
Hi Andy! It's pretty cool! Could you please add #:from keyword to evil-in-sand box to indicate the language front-end? Don't forget there's multi-lang plan. :-) Best regards. Andy Wingo 于2017年3月31日周五 17:28写道: > Hi, > > Attached is a module that can evaluate an expression within

Re: GNU Guile 2.2.0 released

2017-03-16 Thread Nala Ginrut
Congrats! 6 years, well I never realized it. At that time I was a newbie in Scheme land... Best regards. On Thu, Mar 16, 2017 at 6:16 PM, Andy Wingo wrote: > We are delighted to announce GNU Guile release 2.2.0, the first of a > new stable release series. > > More than 6 years

Re: The status of JIT compiler of Guile (was: Guile benchmark)

2017-03-13 Thread Nala Ginrut
This version has fixed file missing during compilation. On Tue, Mar 14, 2017 at 10:35 AM, Nala Ginrut <nalagin...@gmail.com> wrote: > Rebased to the latest, folks may download the tarball directly > https://github.com/NalaGinrut/guile-tjit/releases/tag/tjit-2.1.8.975-1f6fc-rebase

Re: The status of JIT compiler of Guile (was: Guile benchmark)

2017-03-13 Thread Nala Ginrut
Rebased to the latest, folks may download the tarball directly https://github.com/NalaGinrut/guile-tjit/releases/tag/tjit-2.1.8.975-1f6fc-rebase On Mon, Mar 6, 2017 at 7:19 PM, Nala Ginrut <nalagin...@gmail.com> wrote: > I've rebased the latest master (2.1.7.1040-0f7db-dirty) and fixe

Re: The status of JIT compiler of Guile

2017-03-08 Thread Nala Ginrut
Hi Andy! Sorry for late replay, it seems I've filtered your mail to another TAG in my mailbox. On Thu, Mar 2, 2017 at 4:31 PM, Andy Wingo wrote: > Heya Nala :-) > > And hello Atsuro! I don't think I have had the chance of expressing to > you how impressive your work is.

Re: The status of JIT compiler of Guile (was: Guile benchmark)

2017-03-06 Thread Nala Ginrut
I've rebased the latest master (2.1.7.1040-0f7db-dirty) and fixed to work. The result become more interesting with the naive case mentioned in my earlier mail: Chez: 15s Guile-JIT: 12s Alright, we still need to face some problems. In Atsuro's original design, there're two files should be

The status of JIT compiler of Guile (was: Guile benchmark)

2017-03-01 Thread Nala Ginrut
Hi folks! It's been a long time for me to be inactive here. ;-) I saw there's thread to discuss Guile benchmark, I think it's better to mention the JIT compiler of Guile. It exists and real, and of course, very fast. Thanks Atsuro Hoshino, who is the author of Guile JIT compiler. We've met on

Re: Guile security vulnerability w/ listening on localhost + port (with fix)

2016-10-12 Thread Nala Ginrut
On Tue, 2016-10-11 at 09:01 -0500, Christopher Allan Webber wrote: > The Guile team has just pushed out a new commit on the Guile stable-2.0 > branch addressing a security issue for Guile.  There will be a release > shortly as well.  The commit is > 08c021916dbd3a235a9f9cc33df4c418c0724e03, or for

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

2016-09-27 Thread Nala Ginrut
Well, there's interesting story behind it. Few days ago this new JIT backend named Nash was introduced in ICFP2016 (scheme workshop), I and Ludo are lecturers too. When I first saw the topic, I looked back to Ludo and thought "oh you guys are making a new weapon secretly huh?" I thought this work

Re: GNU Guile 2.1.4 released [beta]

2016-09-14 Thread Nala Ginrut
Nice work! Thanks for working on it! I think maybe we can expect 2.2 released end of this year, right? ;-) Best regards. On Wed, 2016-09-14 at 13:41 +0200, Andy Wingo wrote: > We are pleased to announce GNU Guile release 2.1.4. > > Guile 2.1.4 is the fourth pre-release in what will eventually

Re: A request to take charge of guile-zmq

2016-09-12 Thread Nala Ginrut
t; Please don't use github for GNU programs (or parts thereof). For ethical > reasons > github is unacceptable for us. > > See https://www.gnu.org/software/repo-criteria-evaluation.html for a > list of what > we can and cannot use. > > J' > > > On Mon, Sep 12, 2

A request to take charge of guile-zmq

2016-09-12 Thread Nala Ginrut
I plan to use guile-zmq in my work. Also, guile-zmq may play an important role in Artanis.  Thanks Wingo for all previous work. If you don't mind, I would like to take charge of guile-zmq for improving and maintaining. Here's the new repo: https://github.com/NalaGinrut/guile-zmq Contributions

Re: [PATCH 02/25] Define structure

2016-07-18 Thread Nala Ginrut
Hi Dmitry! Thanks for working on it! On Mon, 2016-07-18 at 18:17 +0300, kact...@gnu.org wrote: > From: Dmitry Bogatov >  > +(define-module (system foreign declarative) > +  #:export (make-foreign-type) > +  #:export (define-foreign-type)) > +(use-modules (srfi srfi-9)) You

Re: [PATCH] gnu: Add emacs-clojure-mode

2016-05-18 Thread Nala Ginrut
This patch seems for Guix? On Wed, 2016-05-18 at 15:56 +0200, Catonano wrote: >

Re: anyone define port types?

2016-03-29 Thread Nala Ginrut
On Mon, 2016-03-28 at 21:04 +0200, Andy Wingo wrote: > Hi! > > I am working on improving our port implementation to take advantage of > the opportunity to break ABI in 2.2. I am wondering how much I can > break C API as well -- there are some changes that would allow better > user-space

Re: [FEATURE REQUEST] Add a hook to print warning message prefix string

2016-03-19 Thread Nala Ginrut
On Fri, 2016-03-18 at 13:10 +, Wette, Matthew R (3441) wrote: > What about a command line option to eliminate the message all together. > That means each time the users want to use REPL to test Lua code, they have to add an option to run Guile. IMO it's not the best solution. ;-) But many

[FEATURE REQUEST] Add a hook to print warning message prefix string

2016-03-18 Thread Nala Ginrut
Hi folks! I'm hacking guile-lua-rebirth these days. It's expected to release a workable version this year. Besides, I can use Artanis from guile-lua-rebirth smoothly. So we may never call Artanis a Scheme framework then. ;-) Well, here's my problem. When we call a function in Lua and it's needed

Re: What is needed in guildhall to include it in Guile?

2016-02-22 Thread Nala Ginrut
IMO, at least we need a convenient way to add new packages. Of course we may send mail to an official maintainer, but it's not good experience because folks do the work part time, most of the time they are busy. I may anticipate the packages amount for Guile would be increasing if we done it

Re: I wrote fluid advection code: How to make this more elegant?

2016-01-24 Thread Nala Ginrut
The math formula may take advantage of sweet expression which is contained in the current Guile reader, IIRC. One may give it a try? On Sat, 2016-01-23 at 13:42 +0100, Taylan Ulrich Bayırlı/Kammer wrote: > Arne Babenhauserheide writes: > > > Hi, > > > > I just recreated a fluid

[ANN] GNU Artanis-0.1.1(Beta) released!

2015-12-29 Thread Nala Ginrut
<#secure method=pgpmime mode=sign> I'm pleased to announce GNU Artanis-0.1.1(Beta) NEWS Changes in 0.1.1 * Notable changes Added debug-mode, which can reload modules/specified files on the fly. Added inotify support. Fixed several bugs. Updated manual. Here are the compressed sources:

[ANN] GNU Artanis-0.1.0 released [beta]

2015-11-06 Thread Nala Ginrut
<#secure method=pgpmime mode=sign> I'm pleased to announce artanis-0.1.0 here. GNU Artanis is a monolithic web application framework(WAF) written in Guile Scheme. http://web-artanis.com It is designed to support the development of dynamic websites, web applications, web services and web

Re: [PATCH] Added Artanis info to new main page

2015-11-05 Thread Nala Ginrut
On Wed, 2015-11-04 at 22:27 +0100, Mathieu Lirzin wrote: > Also you have removed “Ragnarok”. if it is related to this change can > you explain it in the commit log otherwise please do a separate patch. > Now that Luis has updated to add Artanis to libraries, I think I don't have to send the

[PATCH] Added Artanis info to new main page

2015-11-04 Thread Nala Ginrut
Hi folks! Our new main site really rock, right? I believe that we may add more to "Applications using Guile". Here's mine, the entry of GNU Artanis. Attached the patch. Happy hacking! >From e6b323352382898b570e81c9f43b970c3facb1a3 Mon Sep 17 00:00:00 2001 From: Nala Gi

Re: New logo and website design proposal

2015-10-12 Thread Nala Ginrut
On Fri, 2015-10-09 at 17:24 -0500, Luis Felipe López Acevedo wrote: > 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

Re: Asynchronous event loop brainstorm at FSF 30

2015-10-04 Thread Nala Ginrut
Hi Christopher! I'm one of guys who's interested in this topic, say, async IO in Guile. On Sat, 2015-10-03 at 17:29 -0500, Christopher Allan Webber wrote: > - This would be like asyncio or node.js, asynchronous but *not* OS >thread based (it's too much work to make much of Guile fit around >

Re: New logo and website design proposal

2015-09-15 Thread Nala Ginrut
Really cool!my two cents On 2015-09-15 16:05, David Pirotte wrote: > Hi Luis, > > Cool work, many thanks! > > I'll read carefully and if I feel like I should, I'll provide some > more [personal] > feedback, but as an overall and quick look, it really is nice. > > Glad you like it, David, thanks

Anyone can explain the fields of vm_cont?

2015-09-14 Thread Nala Ginrut
I found that there's no any comments for the fields of struct vm_cont in vm.h. Is there anyone kind enough to point me out? struct scm_vm_cont { SCM *sp; SCM *fp; scm_t_uint8 *ra, *mvra; scm_t_ptrdiff stack_size; SCM *stack_base; scm_t_ptrdiff reloc; scm_t_uint32 flags; };

Re: Attempt to create an inline assembler for Guile

2015-06-24 Thread Nala Ginrut
nice work! I may take look at it closely. And I would recommend you use FFI if you just want to get pagesize, it's easier than writing bunch of C code: =code (use-modules (system foreign)) (define ffi (dynamic-link)) (define sysconf

Re: Guile Assembler

2015-06-23 Thread Nala Ginrut
On Tue, 2015-06-23 at 11:12 +0200, to...@tuxteam.de wrote: What does number/base do? Does it change the read syntax of numbers? I think it defines a function (number/base base) first, then use it as argument of the outer function... http://docs.racket-lang.org/reference/define.html -- t

Re: Guile Assembler

2015-06-23 Thread Nala Ginrut
On Tue, 2015-06-23 at 11:27 +0200, to...@tuxteam.de wrote: Hm. Where's the difference to Guile's define? And why do you have double parentheses in your example? Still a bit lost. hmm...do you read the pasted code in the repo? ;-) Anyway, it's not standard Scheme grammar, so that's why I

Re: Guile Assembler

2015-06-23 Thread Nala Ginrut
hi Panicz! On Mon, 2015-06-22 at 22:49 +0200, Panicz Maciej Godek wrote: My repo is available here: https://bitbucket.org/panicz/envy/src Thanks for the hint! There's tiny problem IMO, (define ((number/base base) (l ...)) is not supported in Guile, but I do see something similar in Racket,

Re: Handling HTTP Upgrade requests

2015-03-10 Thread Nala Ginrut
On Tue, 2015-03-10 at 21:59 +0100, Andy Wingo wrote: On Thu 26 Feb 2015 08:51, Nala Ginrut nalagin...@gmail.com writes: 3. I have to mention that the current inner server is not non-block and weak for slow-header-DDOS. Indeed. I think the right solution is cothreads. What do you think

Re: Handling HTTP Upgrade requests

2015-02-24 Thread Nala Ginrut
Hi David! IMHO, there's no HTTP header anymore once you've done handshake successfully, but sending frame defined by WebSocket. For this case, once handshake is successful, I think you have to spawn a new server instance (or use callbacks, depends on your server architecture design) rather than

[master branch] Strange problem while fetching symbol from certain module

2015-02-02 Thread Nala Ginrut
Hi folks! I'm using master branch(2.1) for a while, since it's faster than guile-2.0. But I encountered a problem after repo updated. -begin- scheme@(guile-user) (@ (rnrs) bytevector?) ERROR: In procedure #procedure 185b520 ():

Re: [patch] Location header is a URI-reference

2014-10-15 Thread Nala Ginrut
Thanks for working on it! I haven't looked into this patch, but I hope it taking care of empty string properly, since URL reference allows it. Best regards. On Wed, Oct 15, 2014 at 5:54 PM, Andy Wingo wi...@pobox.com wrote: Following RFC 7231, the HTTP Location: header is a URI-reference, not

Re: Verifying Toolchain Semantics

2014-10-06 Thread Nala Ginrut
On Mon, Oct 6, 2014 at 12:24 AM, Ian Grant ian.a.n.gr...@googlemail.com wrote: On Sun, Oct 5, 2014 at 11:15 AM, Nala Ginrut nalagin...@gmail.com wrote: Alright, I changed a system and try it again with evince successfully. Anyway, I did't find any maths or special symbols in it, so

Re: Verifying Toolchain Semantics

2014-10-05 Thread Nala Ginrut
On Sun, Oct 5, 2014 at 10:14 PM, Ian Grant ian.a.n.gr...@googlemail.com wrote: On Sun, Oct 5, 2014 at 1:39 AM, Nala Ginrut nalagin...@gmail.com wrote: The real problem here, is the provided PDF can't be opened normally. That's bad, for your idea. It's your mistake, not others. Then tell

  1   2   3   4   >