[Chicken-users] [ANN] New egg for SCSH process notation

2012-10-03 Thread Peter Bex
Hi everyone, As most of you know, we had a Chicken meetup in the UK, which was great fun. Thanks to Alaric and Sarah for their hospitality and the great food! During this meetup I wrote a reimplementation of SCSH's UNIX process notation macros for Chicken. This has now been released as an egg.

Re: [Chicken-users] chicken-4.8.0rc3, check : invalid encoded literal format - execution terminated

2012-09-13 Thread Peter Bex
On Wed, Sep 12, 2012 at 09:38:04PM -0400, Claude Marinier wrote: uname -a Linux hibou 2.6.32-5-686 #1 SMP Sun May 6 04:01:19 UTC 2012 i686 GNU/Linux Hi Claude, Did you install Chicken before running make check? Cheers, Peter -- http://sjamaan.ath.cx -- The process of preparing programs for a

Re: [Chicken-users] profile data: calls too high

2012-09-13 Thread Peter Bex
On Wed, Sep 12, 2012 at 09:12:55PM -0400, Claude Marinier wrote: Hi, Hi Claude, I am new to profiling. I am surprized by the high count of the first function in the table: make-date. When I grep for make-date, it confirms that it appears in only one file. I have attached this file. From

Re: [Chicken-users] nested definitions

2012-09-05 Thread Peter Bex
On Wed, Sep 05, 2012 at 02:12:31PM -0700, Andy Coolware wrote: Hi, Hi Andy, (define ((A)) 1) #void A #procedure:A (A) #procedure ((A)) 1 For my taste, a lot of happen here besides defining A. Scheme somehow is able to figure out and destruct A from ((A)) in order to make it

[Chicken-users] [SECURITY] Inconsistent NUL byte handling

2012-09-03 Thread Peter Bex
Hello Chicken users, Recently a vulnerability was found in some of Chicken's string processing code. As you know, NUL bytes are representable by Scheme strings, but not by C strings (where they are treated as terminators). This mismatch is properly handled by the FFI by throwing an exception

Re: [Chicken-users] [ANN] New egg: dummy-user

2012-09-03 Thread Peter Bex
On Mon, Sep 03, 2012 at 11:20:15AM -0600, Matt Gushee wrote: Hello, all-- Hi Matt! Well, here's my first egg. It wasn't going to be: I am developing an egg that provides a framework for interactive command-line programs. But I realized in order to test that egg, I'd need a way to simulate

Re: [Chicken-users] Trouble loading source file in csi

2012-08-26 Thread Peter Bex
On Sat, Aug 25, 2012 at 02:47:33PM -0600, Matt Gushee wrote: I am developing a chicken library, and attempting to perform some rudimentary tests in csi as I go. However, when I try to load the file (load text-menu.scm) I get the following error: : ; loading text-menu.scm ...

Re: [Chicken-users] can't get phoghorn running

2012-08-21 Thread Peter Bex
On Tue, Aug 21, 2012 at 01:47:55PM +0200, Markus Klotzbuecher wrote: Now when browse to localhost:8080/galleries/ I see the contexts of index.ssp (apparently as a result of executing index.sspx) You'll need to wrap that code in whatever you've set ssp-long-open-tag and ssp-close-tag to. By

Re: [Chicken-users] can't get phoghorn running

2012-08-20 Thread Peter Bex
On Mon, Aug 20, 2012 at 10:11:04PM +0200, Markus Klotzbuecher wrote: Hi All, I would like to try the phoghorn image gallery generator, but I just can't get the egg compiled. It fails because it can't find the epeg library and epeg-config. I can't find it either, not as a debian package nor

[Chicken-users] [ANN] Chicken at T-DOSE 2012

2012-08-08 Thread Peter Bex
Hello everyone, I'm pleased to announce that Chicken will be represented once again at T-DOSE (Technical Dutch Open Source Event), the Netherlands. Our booth request was accepted today! This year's event will be held the 27th and 28th of October, at the usual location; the Fontys University of

Re: [Chicken-users] ANN: Lowdown, a pure Chicken Markdown parser

2012-08-06 Thread Peter Bex
On Mon, Aug 06, 2012 at 04:40:44PM -0300, Stephen Eilert wrote: Cool! I must apologize, btw. I was written something that required a Markdown parser and I didn't feel like going on this huge detour to write a Markdown parser in Scheme, so I just used the Discount library and that's it.

Re: [Chicken-users] ANN: Lowdown, a pure Chicken Markdown parser

2012-08-05 Thread Peter Bex
On Sun, Aug 05, 2012 at 07:27:48PM +0200, Moritz Heidkamp wrote: Fellow Chickeneers, yesterday I released the first version of Lowdown, a Markdown parser written in pure Chicken Scheme. The only other Markdown parser egg we had so far, discount, requires the corresponding C library and can

Re: [Chicken-users] Printing procedures returned from call/cc

2012-07-31 Thread Peter Bex
On Tue, Jul 31, 2012 at 03:24:16PM +0200, Thomas Chust wrote: On Tue, 31 Jul 2012, Jeronimo Pellegrini wrote: I was wondering why this happens in Chicken (recent checkout from git): (let ((lst (call/cc (lambda (x) (print 'something) (call/cc (lambda

Re: [Chicken-users] Neophyte in scheme: string-split not quite what I want

2012-07-20 Thread Peter Bex
On Fri, Jul 20, 2012 at 03:05:39PM +0400, Дмитрий wrote: Hello. Does IrRegex support Unicode character classes? Generally, it does and there are at least a few tests for these. However, I've never worked with these kinds of characters myself, so I don't know how well they're supported. The

Re: [Chicken-users] 500 eggs!

2012-06-14 Thread Peter Bex
On Thu, Jun 14, 2012 at 07:49:01PM +0200, Peter Bex wrote: Here are some additional figures for all you number freaks: 430 eggs are hosted at code.call-cc.org (svn) 38 eggs are hosted at github.com (git) 21 eggs are hosted at bitbucket.org (git: 5, hg: 15) Sorry, 16 eggs in hg, not 15

[Chicken-users] [SECURITY] Buffer overrun vulnerability in Chicken's scheduler

2012-06-11 Thread Peter Bex
Hello Chicken users, Recently a buffer overrun error was discovered in Chicken's thread scheduler. This buffer overrun is triggered on UNIX-like OSes when a file descriptor with an integer value higher than FD_SETSIZE gets opened due to the way the POSIX select() function is currently being

Re: [Chicken-users] [SECURITY] Buffer overrun vulnerability in Chicken's scheduler

2012-06-11 Thread Peter Bex
On Mon, Jun 11, 2012 at 12:33:28PM +0200, Peter Bex wrote: Currently a patch is being developed. In the meanwhile an effective workaround is to limit the maximum number of open descriptors using the Unix ulimit -n command. For those feeling adventurous, please test the attached patch. We

Re: [Chicken-users] Wiki search results page is missing next/previous links

2012-06-11 Thread Peter Bex
On Sat, Jun 02, 2012 at 04:36:30PM -0500, John Croisant wrote: When searching the Chicken wiki, a maximum of 10 results are shown. For example, searching for free text symbol: [...] It seems like there were supposed to be links like Next 10 results and Previous 10 results which would

Re: [Chicken-users] mysql-client egg not working

2012-05-19 Thread Peter Bex
On Sat, May 19, 2012 at 04:57:16AM -0700, Albert Hoenigmann wrote: Here is the additional information on my mysql-client egg not working in macosx Lion 10.7.3 after sudo chicken-install mysql-client was successful: Output from: chicken-status mysql-client: chicken-status mysql-client

Re: [Chicken-users] Problems with rationals

2012-04-09 Thread Peter Bex
On Mon, Apr 09, 2012 at 09:00:10PM +0100, Mark Carter wrote: Is this a bug in chicken? (rational? 6/10) = #f Chicken by itself doesn't support ratnums. You'll need the numbers egg to get the full numeric tower (including arbitrarily large numbers and complex numbers). Also (*

Re: [Chicken-users] Problems with rationals

2012-04-09 Thread Peter Bex
On Mon, Apr 09, 2012 at 09:39:06PM +0100, Mark Carter wrote: If I want to reproduce this, do I need to type in anything else? It doesn't happen here. After some experimenting, the statistics eggs seems to introduce some peculiarity. Here's a session:

Re: [Chicken-users] Spiffy - ssp-handler - how to extend ssp-eval-environment

2012-03-27 Thread Peter Bex
On Mon, Mar 26, 2012 at 07:08:38PM -0300, Arthur Maciel wrote: Dear Peter, thanks for the info! What I would like when doing web programming (and specially when using Awful, which should be called Wonderful) is to have a clear separation between data processing and its presentation

Re: [Chicken-users] Spiffy - ssp-handler - how to extend ssp-eval-environment

2012-03-26 Thread Peter Bex
On Mon, Mar 26, 2012 at 12:02:13AM -0300, Arthur Maciel wrote: Hello! Hi! I would like to know how it is possible to extend 'ssp-eval-environment' to add variables that could be accessed when processing .ssp files with 'ssp-stringize' or 'ssp-include'. It's a regular old environment object

Re: [Chicken-users] From inexact to exact using the - procedure?

2012-03-23 Thread Peter Bex
On Fri, Mar 23, 2012 at 04:37:06PM -0300, Jeronimo Pellegrini wrote: Hello, I'm not sure if this is a bug or a feature: #;1 (use numbers) #;2 (define y (* 0.1 1+1i)) #;3 (define a (+ 1 y)) #;4 (define b (+ 2 y)) #;5 (- a b) 1.0 #;6 (exact? (- a b)) #f With numbers trunk: #;1 (use

Re: [Chicken-users] Internal compiler error on use bindings

2012-03-20 Thread Peter Bex
On Tue, Mar 20, 2012 at 01:11:14PM +, Mark Carter wrote: Here's one for your mystery file: foo.scm: (use bindings) (bind (a b c) '(1 2 3) (print a)) (write-line Finished) $ csj -bq foo.scm 1 Finished BUT: $ csc foo.scm Error:

Re: [Chicken-users] Postgresql egg - usage for mortals?

2012-03-19 Thread Peter Bex
On Mon, Mar 19, 2012 at 10:34:14AM -0700, Matt Welland wrote: Yup, I think that is what I want. Once I saw your example it became apparent that (query ...) is similar to prepare in the perl dbi api, however I think I was confused since the paragraph describing query also mentions prepare. As

Re: [Chicken-users] cannot import from undefined module

2012-03-07 Thread Peter Bex
On Wed, Mar 07, 2012 at 01:03:41PM +, Mark Carter wrote: If I try to import srfi-6 in my module, like so: (module mccsl ( define-simple-syntax) (import scheme chicken) (import srfi-6) ... ) I get the compilation error Syntax error (import): cannot import from undefined

Re: [Chicken-users] case vs. eq? - just curious ....

2012-03-03 Thread Peter Bex
On Fri, Mar 02, 2012 at 06:57:56PM -0700, Matt Welland wrote: I'm trying to convert a comparison operator to the equivalent text. These are not symbols. I think case treats the target list as if it was created with a quote: '(). Thus things are all symbols in the list and the eqv? returns

Re: [Chicken-users] case vs. eq? - just curious ....

2012-03-03 Thread Peter Bex
On Sat, Mar 03, 2012 at 11:14:34AM -0700, Matt Welland wrote: It sounds like the answer I was looking for is that there is no scheme introspection that maps a procedure to the bound name. It was part of my point that there is no the bound name, there can be several. What would this return?

Re: [Chicken-users] case vs. eq? - just curious ....

2012-03-03 Thread Peter Bex
On Sat, Mar 03, 2012 at 02:06:56PM -0500, John Cowan wrote: Don't forget Python, where even definitions are executable. Though modern Scheme is not as static as R4RS or ISLisp, where there is not even `eval`. (Of course these languages are not static in the sense of static typing.) I don't

[Chicken-users] Hash table equality pitfall

2012-03-01 Thread Peter Bex
Hi all! I ran into some very tricky behavior with hash tables that I'd like to document for posterity. Turns out that (equal? (make-hash-table) (make-hash-table)) no longer always returns #t in the current master, but it did in Chicken 4.7.0. This is because of obscure internal details: the

Re: [Chicken-users] Hash table equality pitfall

2012-03-01 Thread Peter Bex
On Thu, Mar 01, 2012 at 12:03:25PM -0500, John Cowan wrote: In addition, the following Schemes support SRFI-69 with `equal?` descending into hash tables: Kawa, Chibi. What does this mean in practice? Do they do a dumb comparison like Chicken does (ie, producing different results depending on

Re: [Chicken-users] Hash table equality pitfall

2012-03-01 Thread Peter Bex
On Thu, Mar 01, 2012 at 12:45:57PM -1000, Derrell Piper wrote: Um, your 5th line resets 'a to 2, which is why they're not comparing equal?. Removing that yields the expected results on 4.7.0.5-st: Whoops, thanks for pointing that out, Derrel. I overlooked it (that's what you get while quickly

Re: [Chicken-users] ssax troubles

2012-02-19 Thread Peter Bex
On Sun, Feb 19, 2012 at 10:16:50AM -0600, sramsay@gmail.com wrote: This is basically identical to the issue described here: http://lists.nongnu.org/archive/html/chicken-users/2009-10/msg00070.html In that thread, the maintainer (I assume) of the ssax egg offers a patch to the

Re: [Chicken-users] compiling chicken on (crippled) embedded platforms

2012-02-13 Thread Peter Bex
On Mon, Feb 13, 2012 at 07:09:11PM +0600, Attila Lendvai wrote: dear schemers, so, finally a real question: is it possible to compile chicken with a gcc that doesn't have float.h? or with one that doesn't have any kind of float support? No, not currently and AFAIK there are no plans to add

Re: [Chicken-users] Compilation time

2012-01-21 Thread Peter Bex
On Fri, Jan 20, 2012 at 08:35:30AM +0100, Felix wrote: Hi! Try -debug p - it will show you which compiler pass is currently running. Thanks a bunch! I didn't know about that option, but it really helped me to pinpoint the performance bottleneck. I'll post a patch to chicken-hackers soon.

[Chicken-users] Compilation time

2012-01-17 Thread Peter Bex
Hi all, I'd like to make the tests for numbers compile so that it tests not just the library itself but also the newly added types database (I know, the tests need more work to be able to actually test this properly, but bear with me). However, compilation time goes through the roof! At first,

Re: [Chicken-users] Bug in numbers egg -- log function

2012-01-10 Thread Peter Bex
On Tue, Jan 10, 2012 at 03:36:04AM +0100, Alexander Shendi wrote: Dear Chicken users, I have encounterd what seems to be a bug in the numbers egg. The problem occurs when I evaluate (log 297.0+0.1i). Please try the attached patch (or numbers trunk, as of r25802). #;1 (use numbers) #;2 (log

Re: [Chicken-users] bit-set? seems to be buggy

2012-01-06 Thread Peter Bex
On Fri, Jan 06, 2012 at 11:38:11AM +0100, obscurolocon...@googlemail.com wrote: Gambit: $ gsi -e '(display (bit-set? 1 2))(newline)' #t Chicken: $ csi -e '(display (bit-set? 1 2))(newline)' #f Chicken's bit-set? is not from SRFI-60. It has a swapped argument order. See the manual:

Re: [Chicken-users] bit-set? seems to be buggy

2012-01-06 Thread Peter Bex
On Fri, Jan 06, 2012 at 12:12:57PM +0100, obscurolocon...@googlemail.com wrote: 2012/1/6 Peter Bex peter@xs4all.nl: Chicken's bit-set? is not from SRFI-60.  It has a swapped argument order. See the manual: http://api.call-cc.org/doc/library/bit-set%3F (by the way, it would be nice

Re: [Chicken-users] with-input-from-request does not close SSL socket

2011-12-16 Thread Peter Bex
On Fri, Dec 16, 2011 at 11:39:56AM +0100, obscurolocon...@googlemail.com wrote: 2011/12/15 Peter Bex peter@xs4all.nl: I would say the GC must close the connection. How will you ever be able to close the socket in this case: (use tcp) (let ((p (tcp-connect localhost 25))) (if #f #f

Re: [Chicken-users] srfi-18 documentation for thread-sleep!

2011-12-16 Thread Peter Bex
On Fri, Dec 16, 2011 at 01:43:01PM +0100, Sascha Ziemann wrote: The documentation for the thread-sleep! function in the srfi-18 documentation mentions a function called current-time. But that can not be found: http://wiki.call-cc.org/search?text=ident=current-time What do you mean? I see

Re: [Chicken-users] with-input-from-request does not close SSL socket

2011-12-15 Thread Peter Bex
On Wed, Dec 14, 2011 at 08:15:30PM +0100, obscurolocon...@googlemail.com wrote: 2011/12/14 Peter Bex peter@xs4all.nl: Hm, that ought to work.  Perhaps there's a bug in the openssl egg. Yes it is a openssl problem. I was able to solve the problem by replacing http-client

Re: [Chicken-users] with-input-from-request does not close SSL socket

2011-12-14 Thread Peter Bex
On Wed, Dec 14, 2011 at 03:16:57PM +0100, obscurolocon...@googlemail.com wrote: I use the http-client egg to send queries to a HTTPS server: (with-input-from-request https://server/some/url; search (lambda ()   (ssax:xml-sxml (current-input-port) '() For every connection I get an

Re: [Chicken-users] unbound variable: sxml:sxml-xml

2011-12-07 Thread Peter Bex
On Wed, Dec 07, 2011 at 04:47:03PM +0100, Vok Vojwo wrote: The documentation of the sxpath egg describes the sxml:sxml-xml function. But when I try to call it, I get an error: It's mentioned under the heading sxpath-lolevel. This is a separate module that you need to load. csi -R sxpath -e

Re: [Chicken-users] unbound variable: sxml:sxml-xml

2011-12-07 Thread Peter Bex
On Wed, Dec 07, 2011 at 05:35:37PM +0100, Christian Kellermann wrote: Why is it not included if it is there? Or why is there an sxml-serializer egg if the code is already part of the SSAX libs, which is part of the sxpath egg? As I understood the egg is just a wrapper around the

Re: [Chicken-users] Spiffy SSL Connection handshake error

2011-12-05 Thread Peter Bex
On Mon, Dec 05, 2011 at 11:05:31AM +0100, Christian Kellermann wrote: This message is generated by spiffy's exception handler in spiffy.scm line 562. However I could run your test program below without errors on a 64 bit linux machine running openssl

Re: [Chicken-users] gmake check fails on OpenBSD 5.0

2011-11-06 Thread Peter Bex
On Sat, Nov 05, 2011 at 07:08:20PM -0500, Jim Ursetto wrote: starting with 1232 symbols interning 1 symbols ... Segmentation fault (core dumped) This one I am not sure of, we will have to look into it. I assume this is occurring only on OpenBSD; I don't know if it's been fixed in

Re: [Chicken-users] A proposal for egg category reassignment

2011-10-11 Thread Peter Bex
On Tue, Oct 11, 2011 at 12:51:29PM +0900, Ivan Raikov wrote: Hi all, It seems that the egg categories Uncategorized or invalid and Miscellaneous have swelled quite a bit since the last time there was a major reorganization. So I propose to reassign the categories of the eggs

Re: [Chicken-users] A proposal for egg category reassignment

2011-10-11 Thread Peter Bex
On Tue, Oct 11, 2011 at 12:51:29PM +0900, Ivan Raikov wrote: efax - Networking smsmatrix - Networking I don't really consider sending fax or SMS messages networking. Both happen to use a webservice to do this, but does that make it a networking egg? Of course I can change the category if

Re: [Chicken-users] A proposal for egg category reassignment

2011-10-11 Thread Peter Bex
On Tue, Oct 11, 2011 at 04:44:19PM +0900, Ivan Raikov wrote: Of course, these are just suggestions. Networking was the closest to Communication which would have been a more appropriate category for smsmatrix and efax. It's not that Miscellaneous is not correct, I would just like to

Re: [Chicken-users] another news from the valgrind front

2011-10-11 Thread Peter Bex
On Tue, Oct 11, 2011 at 03:24:45PM +0200, Jörg F. Wittenberger wrote: Peter, I've got one more issue fixed wrt. the fix I posted recently https://lists.nongnu.org/archive/html/chicken-users/2011-10/txtQD3AT30Qxp.txt Since I'm recovering from a big mess I made out of my build envt. Here

[Chicken-users] Reminder: Chicken at T-DOSE 2011

2011-10-06 Thread Peter Bex
Hello everyone, This is just a friendly reminder that Chicken will again be represented at this year's T-DOSE (Technical Dutch Open Source Event) in Eindhoven, the Netherlands. It's in the weekend of 5 and 6 November. The organisation has recently released the schedule of talks at

Re: [Chicken-users] valgrind - more details

2011-10-06 Thread Peter Bex
On Thu, Oct 06, 2011 at 12:47:25PM +0200, Jörg F. Wittenberger wrote: On Oct 5 2011, Christian Kellermann wrote: Today I re-read the R5RS, which left me wondering. Would it be #bi101010.1 or whould it be #b#i101010.1 ? The latter. See the Lexical Syntax section, it has these productions:

Re: [Chicken-users] two minor tweaks to runtime.c

2011-09-27 Thread Peter Bex
On Tue, Sep 27, 2011 at 03:22:06PM +0200, Jörg F. Wittenberger wrote: While I've been looking at the code I wondered if the C compiler will fur sure pull that one test out of the for-loop. Maybe it's better no have it there at the first place. IMHO the code is not more confusing to read this

Re: [Chicken-users] a memory issue; mildly scaring to me

2011-09-26 Thread Peter Bex
On Mon, Sep 26, 2011 at 03:16:07PM +0200, Jörg F. Wittenberger wrote: While it does not fix the problem at hand: There is a suspicious line in regex-core.scm : it reads: (printing or graphic whitespace) IMHO it should read: (printing . (or graphic whitespace)) BTW: I

Re: [Chicken-users] a memory issue; mildly scaring to me

2011-09-25 Thread Peter Bex
On Sun, Sep 25, 2011 at 12:36:23PM +0200, Jörg F. Wittenberger wrote: I'm still kinda lost. Is there any documentation I could read to understand a little more of irregex code? The source says it should run on any Scheme; just not how. ;-) The *portable* and upstream version of irregex is

Re: [Chicken-users] Compiling modules

2011-09-24 Thread Peter Bex
On Fri, Sep 23, 2011 at 10:43:23PM -0400, blakes...@gmail.com wrote: I'm having some trouble compiling modules and one main file into a binary. I'm using 4.7.0. I have 3 modules, a, b and c. Module c depends on b and a while b depends on a. Right now I'm trying: $ csc -c -unit module-a

Re: [Chicken-users] a memory issue; mildly scaring to me

2011-09-24 Thread Peter Bex
On Sat, Sep 24, 2011 at 06:08:13PM +0200, Jörg F. Wittenberger wrote: Hi, I tried to change the procedure and instead of those 3 lines I left a return 1; there. This seems at least to work well for some simple checks in csi. But my app will now: a) run without valgrinds complaint b) into

Re: [Chicken-users] Compiling modules

2011-09-24 Thread Peter Bex
On Sat, Sep 24, 2011 at 05:48:58PM -0400, Blake Sweeney wrote: Thanks for the help but I'm still lost. I tried: $ csc -J module-a.scm I think there's a -s missing (you want to compile to a shared library object). Sorry, I made this mistake in my second example too. I read a little and it

Re: [Chicken-users] git rm write-line?

2011-09-21 Thread Peter Bex
On Wed, Sep 21, 2011 at 10:37:51AM +0200, Christian Kellermann wrote: Well, now the choice is manyfold. One can whine about the slowness or improve the current situation or something completely different like shopping... I prefer improvement. Who doesn't? Either way thanks for the nice

Re: [Chicken-users] Code for parsing multipart/form-data

2011-09-20 Thread Peter Bex
On Tue, Sep 20, 2011 at 08:49:24AM +0530, Santosh Rajan wrote: Hi, I am looking for chicken code for parsing multipart/form-data. Can anyone point me to the code please? Sure it must be there somewhere, at least in the web server code. Unfortunately there isn't any currently because it's

Re: [Chicken-users] Chicken vs Perl

2011-09-20 Thread Peter Bex
On Tue, Sep 20, 2011 at 02:11:41PM +0200, Sascha Ziemann wrote: I tried to use Chicken for a job I would use normally Perl for to find out whether Chicken might be a useful alternative. A great test! And now hold on tight! It takes more than one minute for the same data: real 1m16.540s

Re: [Chicken-users] Chicken vs Perl

2011-09-20 Thread Peter Bex
On Tue, Sep 20, 2011 at 02:11:41PM +0200, Sascha Ziemann wrote: The job is: go through a web site mirror and report a unique list of all domains from all hrefs. Also, you didn't say which site it was. The testset itself may also be an important factor. Cheers, Peter -- http://sjamaan.ath.cx

Re: [Chicken-users] Chicken vs Perl

2011-09-20 Thread Peter Bex
On Tue, Sep 20, 2011 at 10:08:16PM +0900, Daishi Kato wrote: Hi, My situation is pretty similar to yours, meaning I used to use Perl and later started using Chicken for my job. Running your scripts on my machine produced similar result (about 10 times difference). -unsafe option in

Re: [Chicken-users] Chicken vs Perl

2011-09-20 Thread Peter Bex
On Tue, Sep 20, 2011 at 03:54:32PM +0200, Sascha Ziemann wrote: 2011/9/20 Christian Kellermann ck...@pestilenz.org: You can add -profile to csc's options. If you need any eggs and want those profiled too, recompile them also with -profile. How to do that? I have installed them with

Re: [Chicken-users] [ANN] SRFI-99 record types for CHICKEN

2011-09-15 Thread Peter Bex
On Thu, Sep 15, 2011 at 10:46:30AM +0200, Thomas Chust wrote: Hello, my implementation of SRFI-99 is now available as an egg. Congrats on the release. The egg is served directly from its Fossil repository (check the release information file at

Re: [Chicken-users] [ANN] SRFI-99 record types for CHICKEN

2011-09-15 Thread Peter Bex
On Thu, Sep 15, 2011 at 12:36:02PM +0200, Thomas Chust wrote: Hello Peter, in fact, I think it was always the case, but several aspects of it are poorly documented in the Fossil manual. For example, you could always use symbolic tags in any place where a changeset ID was expected, but

Re: [Chicken-users] Porting modules to Chicken from other Schemes?

2011-09-10 Thread Peter Bex
On Sat, Sep 10, 2011 at 02:09:22PM +0900, Ivan Raikov wrote: Hello, It depends on whether the module uses features specific to the other Scheme implementation. I find that the biggest impediments to porting to Chicken are non-hygienic macros, object oriented systems (often implemented

Re: [Chicken-users] wiki pages and h1 title

2011-09-10 Thread Peter Bex
On Sat, Sep 10, 2011 at 12:56:59PM -0400, John Gabriele wrote: Hi all, I've noticed that some of the wiki pages have an h2 title at the top, some don't. For the ones that have have a table of contents, some have an h2 above the toc, some have it below. Yeah, this is up to each individual

Re: [Chicken-users] wiki pages and h1 title

2011-09-10 Thread Peter Bex
On Sat, Sep 10, 2011 at 01:42:51PM -0400, John Gabriele wrote: I don't understand what you mean. I'd expect this wiki markup: = Title Goes Here [[toc:]] == Intro Some content here. to produce something like: html headtitleTitle Goes Here - The Chicken Scheme

Re: [Chicken-users] wiki pages and h1 title

2011-09-10 Thread Peter Bex
On Sat, Sep 10, 2011 at 02:29:13PM -0400, John Gabriele wrote: On Sat, Sep 10, 2011 at 12:56 PM, John Gabriele jmg3...@gmail.com wrote: {...} I think it would make sense for every page to have an h1 (= Page Title) at the top, which would not be part of a toc (if present), which would be

Re: [Chicken-users] New project

2011-09-10 Thread Peter Bex
On Sat, Sep 10, 2011 at 01:02:05PM -0700, Steve Graham wrote: Although I have programmed for decades, I am new to Scheme.  I thought that I would use a project I've been contemplating as a help in learning the language. There is a website of scriptures which I wish to download.  Some of

Re: [Chicken-users] wiki pages and h1 title

2011-09-10 Thread Peter Bex
On Sat, Sep 10, 2011 at 06:46:01PM -0400, John Gabriele wrote: What I want (what I think would benefit the wiki) is this: http://www.unexpected-vortices.com/temp/eggs-tutorial-2.html instead of this: http://www.unexpected-vortices.com/temp/eggs-tutorial.html The stopgap measure

Re: [Chicken-users] git build broken?

2011-09-04 Thread Peter Bex
On Sun, Sep 04, 2011 at 08:57:26PM +0200, Jörg F. Wittenberger wrote: Hi, I just did a git pull and found irregex.scm not compiling. wrong argument (car) passed to not or so. The quick quess: revert to the old types.db to compile this single file seems to work out. Did you build a

Re: [Chicken-users] Results of the Chicken survey

2011-08-25 Thread Peter Bex
On Thu, Aug 25, 2011 at 11:24:59AM +0900, Ivan Raikov wrote: Dear all, Thanks to everybody who responded to the Chicken survey. I have posted the results here: http://wiki.call-cc.org/survey2011 Please let me know if you have any comments or suggestions on how to improve the

Re: [Chicken-users] Egg - Chicken version compatibility

2011-08-19 Thread Peter Bex
On Fri, Aug 19, 2011 at 02:08:01PM +0100, Alaric Snell-Pym wrote: Looks like the message-digest egg passes - -no-procedure-checks-for-toplevel-bindings to csc, which this old version of it doesn't like. Now, there's several easy fixes to that (I'm compiling a more recent chicken from git as

Re: [Chicken-users] wiki 500

2011-07-08 Thread Peter Bex
On Thu, Jul 07, 2011 at 11:49:50PM -0400, David N Murray wrote: Hi, I'm not sure where to direct this to, but entering io:event-dispatch in the Identifier search field generates a 500 error. Normally, bugreports can be filed on bugs.call-cc.org, but if you don't have an account this

Re: [Chicken-users] wiki 500

2011-07-08 Thread Peter Bex
On Fri, Jul 08, 2011 at 10:05:14PM +0200, Peter Bex wrote: I'm not sure where to direct this to, but entering io:event-dispatch in the Identifier search field generates a 500 error. The bug itself was a bug in qwiki and has now been fixed in qwiki trunk. Normally, bugreports can be filed

Re: [Chicken-users] Problem w/ a new egg

2011-07-06 Thread Peter Bex
On Wed, Jul 06, 2011 at 07:53:14AM +0200, Felix wrote: From: Kon Lovett konlov...@gmail.com Subject: [Chicken-users] Problem w/ a new egg Date: Tue, 5 Jul 2011 20:05:24 -0700 Hi Folks, Having a me too stupid problem: I added an egg - csv-xml - to the svn repo Sat. Attempts to

Re: [Chicken-users] reload .so in csi?

2011-07-04 Thread Peter Bex
On Fri, Jul 01, 2011 at 04:21:05PM -0400, David N Murray wrote: That is probably the best solution. The other solution is to use (load foo.so) but it may not work on all platforms. (I sent that last bit in private mail but forgot to copy the list) (load foo.so) appears to do the same

Re: [Chicken-users] where move-file is?

2011-06-30 Thread Peter Bex
On Thu, Jun 30, 2011 at 10:04:39AM -0300, Hugo Arregui wrote: Hi guys, I want to use move-file procedure, ( http://api.call-cc.org/doc/chicken/eggs/move-file ), but i cannot find it as an egg or as an procedure. I mean, seems an egg, but chicken-install cannot find it, and doesn't seems

Re: [Chicken-users] Taking the distributed egg repository into production

2011-06-27 Thread Peter Bex
On Sat, Jun 18, 2011 at 08:52:40PM +0200, Peter Bex wrote: Hello everyone, The distributed egg repository system is now ready for production. We would like to make the switch to this system soon. For users, this should be a completely transparent change. This has now been done. All

Re: [Chicken-users] Should http-client automatically consume unconsumed input? [Was: Re: ssax examples could not run]

2011-06-22 Thread Peter Bex
On Tue, Jun 21, 2011 at 09:53:45PM +0200, Peter Bex wrote: Hi again, Also, about this piece of code: (pp (call-with-input-request http://modis.ispras.ru/Lizorkin/XML/poem.xml; #f (lambda (p) (let ((sxml (ssax:xml-sxml p '( ;; Consume the rest

Re: [Chicken-users] ssax examples could not run

2011-06-21 Thread Peter Bex
On Tue, Jun 21, 2011 at 01:58:08PM -0400, HP wei wrote: I installed chicken.4.7.0 and ssax, sxpath Then I tried to follow the examples pointed to in the ssax homepage in http://modis.ispras.ru/Lizorkin/sxml-tutorial.html Generally, the Chicken documentation takes precedence over the

[Chicken-users] Should http-client automatically consume unconsumed input? [Was: Re: ssax examples could not run]

2011-06-21 Thread Peter Bex
Hi again, Also, about this piece of code: (pp (call-with-input-request http://modis.ispras.ru/Lizorkin/XML/poem.xml; #f (lambda (p) (let ((sxml (ssax:xml-sxml p '( ;; Consume the rest of the stream, ssax does not ;; fully read until the end.

[Chicken-users] Taking the distributed egg repository into production

2011-06-18 Thread Peter Bex
Hello everyone, The distributed egg repository system is now ready for production. We would like to make the switch to this system soon. For users, this should be a completely transparent change. For egg authors, this means more freedom to use whatever code hosting site you'd prefer to use.

Re: [Chicken-users] Chicken segfault

2011-06-16 Thread Peter Bex
On Thu, Jun 16, 2011 at 04:36:16PM +0200, Sven Hartrumpf wrote: Hi all. How should I investigate this problem? Tried gdb? Or is this a known problem? AFAIK no, but just to chime in and let you know, I've also gotten some random segmentation faults in csi which I haven't been able to put a

Re: [Chicken-users] still parameterize bug

2011-06-13 Thread Peter Bex
On Mon, Jun 13, 2011 at 09:25:33PM +0900, Joo ChurlSoo wrote: #;1 (define p (make-parameter 10 number-string)) #;2 (p) 10 #;3 (parameterize ((p 100)) (p)) Error: (number-string) bad argument type: 10 Not surprising. The ticket is still open: http://bugs.call-cc.org/ticket/473 --

Re: [Chicken-users] Chicken logo license

2011-06-06 Thread Peter Bex
On Mon, Jun 06, 2011 at 12:32:44PM -0500, Joshua Griffith wrote: Peter, I used the Creative Commons licensing form that John Cowan suggested and placed the license texts within the image source directory: http://joshuagriffith.com/chicken/logo/license.html

Re: [Chicken-users] Different factorial results

2011-06-03 Thread Peter Bex
On Fri, Jun 03, 2011 at 12:49:26PM -0400, John Cowan wrote: Steve Graham scripsit: Thanks, Mario. Worked like a charm. Why is that not part of the base package? Licensing. The numbers egg has to be GPL, because it depends on the GMP (GNU Multi-precision Library) which is GPL. This

Re: [Chicken-users] ANN: Test version of new egg release system available

2011-06-02 Thread Peter Bex
On Mon, Apr 04, 2011 at 12:05:01AM +0200, Peter Bex wrote: There are still a few rough spots; it would be nice if releasing an egg would be more automated (with a shellscript, for example), so you don't need to manually maintain the meta-file and release-info file. This will be worked

Re: [Chicken-users] Possible numbers bug

2011-06-01 Thread Peter Bex
On Sun, May 29, 2011 at 11:39:31PM +0200, Peter Bex wrote: On Fri, May 27, 2011 at 10:58:04AM +0200, Dominic Pearson wrote: Hello folks, I am trying to compute the sum i = 0 to n where n = 1000 of n^n, but chicken seems to return the incorrect answer. http://paste.call-cc.org/paste

[Chicken-users] Renamed identifier not imported

2011-05-29 Thread Peter Bex
Hi, When importing a renamed identifier in module A and then loading that library from another module B, I get the following with Chicken 4.7.0: Warning: renamed identifier not imported: (define-external old-define-external) This doesn't seem to be right; module B shouldn't need to know that

Re: [Chicken-users] Possible numbers bug

2011-05-29 Thread Peter Bex
On Fri, May 27, 2011 at 10:58:04AM +0200, Dominic Pearson wrote: Hello folks, I am trying to compute the sum i = 0 to n where n = 1000 of n^n, but chicken seems to return the incorrect answer. http://paste.call-cc.org/paste?id=e0884580a684d1220f3dedb819f63201b6f5eb1a Racket and scheme48

Re: [Chicken-users] Possible numbers bug

2011-05-28 Thread Peter Bex
On Sat, May 28, 2011 at 11:03:41AM -0700, Matt Welland wrote: What was the final word on this? Is it a real issue on some platforms? Probably. I will look into it when time allows. Anyhow, I found this whole exercise pretty interesting and played with it a bit more and observed a couple

Re: [Chicken-users] [wish list] chicken-install: show available eggs, upgrade all installed eggs?

2011-05-09 Thread Peter Bex
On Mon, May 09, 2011 at 10:25:27PM +0900, Alex Shinn wrote: On Thu, May 5, 2011 at 7:18 PM, Peter Bex peter@xs4all.nl wrote: With Lisp/Scheme code, the only sensible indentation style really is spaces.  With braces-like languages like C it makes sense to use tabs if used consistently

Re: [Chicken-users] [wish list] chicken-install: show available eggs, upgrade all installed eggs?

2011-05-08 Thread Peter Bex
On Sun, May 08, 2011 at 12:52:36PM +0200, Felix wrote: I'm not crazy at getting bleeding edge eggs.. However, I do like to upgrade `chicken' itself whenever a newer release comes out. Only realize that i have to find out and reinstall all eggs again. (Because at least all the eggs

Re: [Chicken-users] [wish list] chicken-install: show available eggs, upgrade all installed eggs?

2011-05-05 Thread Peter Bex
On Thu, May 05, 2011 at 06:06:16AM -0400, Felix wrote: Hello! It would be good to be able to show available eggs when installing an egg, such that user can grep and find wanted eggs quickly without having to browse at http://wiki.call-cc.org/chicken-projects/egg- index-4.html. Simply

Re: [Chicken-users] [wish list] chicken-install: show available eggs, upgrade all installed eggs?

2011-05-05 Thread Peter Bex
On Thu, May 05, 2011 at 06:52:16AM -0400, Felix wrote: See also http://emacswiki.org/TabsAreEvil It's the default behaviour of my emacs That's *very* easy to fix and I don't understand why emacs has such a silly default for lispy modes: (add-hook 'lisp-mode-hook (lambda () (setq

<    2   3   4   5   6   7   8   9   10   11   >