Re: [Chicken-users] Amazon S3

2011-02-10 Thread F. Wittenberger
find attached some code of mine using openssl for that hashes and hmacs Am Donnerstag, den 10.02.2011, 09:12 +0100 schrieb Peter Bex: On Wed, Feb 09, 2011 at 07:17:23PM -0500, Thomas Hintz wrote: Hello, Has anyone used Amazon S3 with Chicken? I can't seem to find any libs built for

Re: [Chicken-users] Amazon S3

2011-02-10 Thread F. Wittenberger
find attached some code of mine using openssl for that hashes and hmacs Am Donnerstag, den 10.02.2011, 09:12 +0100 schrieb Peter Bex: On Wed, Feb 09, 2011 at 07:17:23PM -0500, Thomas Hintz wrote: Hello, Has anyone used Amazon S3 with Chicken? I can't seem to find any libs built for

Re: [Chicken-users] Wish: Parallel Map

2010-12-30 Thread F. Wittenberger
Am Mittwoch, den 29.12.2010, 17:57 -0500 schrieb Joe Python: Jorg, When I ran this I got Error: unbound variable: ##process#io-ports Sorry. A weird twist in my compile time environment. Must be process-io-ports. ___ Chicken-users

Re: [Chicken-users] Wish: Parallel Map

2010-12-29 Thread F. Wittenberger
Maybe this is better for you? Use like this: (process-call (lambda () 7)) = 7 /Jörg (declare (disable-interrupts) (foreign-declare #EOF #include errno.h EOF ) ) (define process-io-ports (let ([make-input-port make-input-port] [make-output-port make-output-port]

Re: [Chicken-users] Wish: Parallel Map

2010-12-29 Thread F. Wittenberger
Just got a few minutes off and was thinking: maybe you are a less experienced Schemer asking for a parallel map executed by subprocesses. Am Mittwoch, den 29.12.2010, 11:56 +0100 schrieb Jörg F. Wittenberger: Maybe this is better for you? Use like this: (process-call (lambda () 7)) = 7

Re: [Chicken-users] Wish: Parallel Map

2010-12-28 Thread F. Wittenberger
pthreads ;; (C) 2008, 2010 Jörg F. Wittenberger -*-Scheme-*- (declare (unit sqlite3) (uses srfi-1 srfi-18 srfi-69 atomic pthreads) (fixnum) (usual-integrations) (disable-interrupts) (foreign-declare #EOF typedef C_word obj; #define FALSE_OBJ C_SCHEME_FALSE #include sqlite/sqlite3.h #include

Re: [Chicken-users] jbogenturfa'i: Error: stack overflow

2010-12-06 Thread F. Wittenberger
Am Sonntag, den 05.12.2010, 16:15 -0700 schrieb Alan Post: Should `equal?' descend into procedures, or just do an `eq?' test? R5RS only requires a structural equivalence test for pairs and vectors, but being able to contain (say) records is something that's too handy not to have. Would the

Re: [Chicken-users] jbogenturfa'i: Error: stack overflow

2010-12-06 Thread F. Wittenberger
Am Montag, den 06.12.2010, 08:51 -0700 schrieb Alan Post: R5RS section 6.1 has this example: (equal? (lambda (x) x) (lambda (y) y)) === unspecified Thanks!! Just got a ticket to be fixed here. :-/ ___ Chicken-users mailing

Re: [Chicken-users] jbogenturfa'i: Error: stack overflow

2010-12-06 Thread F. Wittenberger
Am Montag, den 06.12.2010, 08:46 -0700 schrieb Alan Post: I selected equal? in this case because the *lists* aren't going to be pointer-equal, just their contents, and the contents fall into two distinct classes, procedures and strings, and the strings won't be eq? for the same reason the

Re: [Chicken-users] redefining cons,car,cdr in SICP

2010-12-04 Thread F. Wittenberger
Am Freitag, den 03.12.2010, 13:36 -0700 schrieb Alan Post: On Fri, Dec 03, 2010 at 09:03:15PM +0100, Jörg F. Wittenberger wrote: Am Freitag, den 03.12.2010, 12:57 -0500 schrieb Hans Nowak: On Fri, Dec 3, 2010 at 12:33, David Steiner davidsteiner2...@gmail.com wrote: i'm reading SICP

Re: [Chicken-users] redefining cons,car,cdr in SICP

2010-12-04 Thread F. Wittenberger
Am Samstag, den 04.12.2010, 14:56 +0100 schrieb Felix: (define (cons x y) (define (dispatch m) (cond ((= m 0) x) ((= m 1) y) (else (error Argument not 0 or 1 -- CONS m dispatch) ... Error happens here in csi already. ... depending on how `caar' was

Re: [Chicken-users] redefining cons,car,cdr in SICP

2010-12-03 Thread F. Wittenberger
Am Freitag, den 03.12.2010, 12:57 -0500 schrieb Hans Nowak: On Fri, Dec 3, 2010 at 12:33, David Steiner davidsteiner2...@gmail.com wrote: i'm reading SICP and practicing in chicken. in the book they redefine cons, car and cdr using procedures: (define (cons x y) (define (dispatch m)

Re: [Chicken-users] handling the undefined value

2010-12-03 Thread F. Wittenberger
Yes, I'll do that. I could also least remove the warning for the (common) case of a conditional performing a self-tailcall. Do you mean that this pattern (let ((x ...)) (let loop (...) (if ... (loop ... in tail position of a procedure would still return

Re: [Chicken-users] Memoizing a procedure

2010-11-29 Thread F. Wittenberger
Am Montag, den 29.11.2010, 13:53 +0100 schrieb Jörg F. Wittenberger: Hi Hugo, Am Sonntag, den 28.11.2010, 17:27 +0100 schrieb Peter Bex: On Sun, Nov 28, 2010 at 12:53:53PM -0300, Hugo Arregui wrote: Hi guys, (define (make-memoized proc) (let ((memo (make-hash-table)) (missing

Re: [Chicken-users] Memoizing a procedure

2010-11-29 Thread F. Wittenberger
Am Montag, den 29.11.2010, 10:34 -0300 schrieb Stephen Eilert: So it is not only memoization, but a caching system. I was going to write something similar, to cache webservice responses. That it is. I've got several caches working with the attached code. The API is kind of patterned after

Re: [Chicken-users] handling the undefined value

2010-11-26 Thread F. Wittenberger
Am Freitag, den 26.11.2010, 11:03 -0500 schrieb Felix: The style warning I'd like to avoid if all possible. Me too. I'd rather vote for changing the syntax definitions (one-by-one, tell me the git/svn/wtf reference and I'll try my best). Don't bother with it. There are quite a

Re: [Chicken-users] Chicken Gazette - Issue 13

2010-11-25 Thread F. Wittenberger
Am Mittwoch, den 24.11.2010, 19:25 +0100 schrieb Peter Bex: On Wed, Nov 24, 2010 at 06:15:24PM +0100, Jörg F. Wittenberger wrote: I didn't know SQLite had any replication whatsoever at all. Or did you roll your own? Well, I told you with a grin that this is a letters to the editor. So

Re: [Chicken-users] handling the undefined value

2010-11-25 Thread F. Wittenberger
Am Mittwoch, den 24.11.2010, 18:53 +0100 schrieb Felix: From: Jörg F. Wittenberger joerg.wittenber...@softeyes.net Subject: Re: [Chicken-users] handling the undefined value Date: Mon, 22 Nov 2010 15:08:46 +0100 Have a compiler switch (since it may break some code), which changes the code

Re: [Chicken-users] handling the undefined value

2010-11-25 Thread F. Wittenberger
Am Donnerstag, den 25.11.2010, 22:34 +0100 schrieb Felix: From: Jörg F. Wittenberger joerg.wittenber...@softeyes.net Subject: Re: [Chicken-users] handling the undefined value Date: Thu, 25 Nov 2010 16:24:01 +0100 Am Mittwoch, den 24.11.2010, 18:53 +0100 schrieb Felix: From: Jörg F

Re: [Chicken-users] utf8 and string-ref performance

2010-11-24 Thread F. Wittenberger
Am Mittwoch, den 24.11.2010, 08:37 -0700 schrieb Alan Post: Can anyone point me in the right direction? I'll paste an example from my code, because an example is sometime better than a lyrics. If you where to keep the byte offset (called start in the code down there) with your position objects,

Re: [Chicken-users] utf8 and string-ref performance

2010-11-24 Thread F. Wittenberger
Am Mittwoch, den 24.11.2010, 08:37 -0700 schrieb Alan Post: Can anyone point me in the right direction? I'll paste an example from my code, because an example is sometime better than a lyrics. If you where to keep the byte offset (called start in the code down there) with your position

Re: [Chicken-users] Chicken Gazette - Issue 13

2010-11-24 Thread F. Wittenberger
Am Dienstag, den 23.11.2010, 09:19 +0100 schrieb Peter Bex: On Tue, Nov 23, 2010 at 12:32:24AM +0100, Jörg F. Wittenberger wrote: == 2. Core development The scrutinizer was updated to give a warning when a one-armed `if` is used in tail-position, as suggested on chicken-users by Jörg

Re: [Chicken-users] Re: sequences egg

2010-11-22 Thread F. Wittenberger
Am Montag, den 22.11.2010, 03:55 -0500 schrieb Felix: If I had to deal with a name clash, I'd just put a renamer-module in between. This winds up in *much* less mental effort, than memorising new terms or abbreviations for the same argument structure (modulo some type replacements).

Re: [Chicken-users] Re: sequences egg

2010-11-22 Thread F. Wittenberger
Am Montag, den 22.11.2010, 03:11 -0500 schrieb Felix: For a Scheme (who would never ever - promised - participate in a religious war ;-) the file kinda feels like Felix haven read too much CL recently. Yes, that may be, but being able to use a common API over various sequences

Re: [Chicken-users] handling the undefined value

2010-11-22 Thread F. Wittenberger
I got one more idea, which would be great if possible at all: Have a compiler switch (since it may break some code), which changes the code to return zero values instead of the distinguished undefined value. This should turn my problem into an exception as soon as I try to bind the value to a

Re: [Chicken-users] Re: sequences egg

2010-11-22 Thread F. Wittenberger
Am Montag, den 22.11.2010, 15:03 +0100 schrieb Jörg F. Wittenberger: Am Montag, den 22.11.2010, 03:11 -0500 schrieb Felix: For a Scheme (who would never ever - promised - participate in a religious war ;-) the file kinda feels like Felix haven read too much CL recently. Yes

Re: [Chicken-users] Re: sequences egg

2010-11-22 Thread F. Wittenberger
Great, forgot the link How about stealing most from SRFI-1 like this? ... which does not actually work because - an error in srfi-1 reference, which is fixed in chicken - a typo - an logical error when it comes to repeated traversal of a sequence in the weird case. here's a better

[Chicken-users] Re: [Chicken Gazette - Issue 13] - ##sys#:keyword:'s

2010-11-22 Thread F. Wittenberger
Am Montag, den 22.11.2010, 21:22 +0100 schrieb Peter Bex: On Saturday another new thread (!) was started by Alan Post in which he reported a bug in Chicken's keyword argument handling. He created a ticket in Trac to help track this bug, but with the help of Alex and Felix he found out it was

Re: [Chicken-users] Chicken Gazette - Issue 13

2010-11-22 Thread F. Wittenberger
Hi Chickeners! We need a new mailing list. No, wait. I don't want to follow this on any mailing list. Please let's have an RSS feed for those things I will all too often have hit the button with the label mark all as read for live time reasons. So. All following belongs into the section

[Chicken-users] NE [[not exactly]]: handling the undefined value

2010-11-21 Thread F. Wittenberger
Ups, sorry. (interspersed with German -- for [personal] reasons) not, not sorry, tut mir Leid -- was paßt aber genauso irrational ist. There are obvious things, which are easier to convey face by face and in native language. So, spare me, expending my any (especially written AND non-native

Re: [Chicken-users] Problem with threads

2010-11-21 Thread F. Wittenberger
or with print? Am Samstag, den 20.11.2010, 16:12 +0100 schrieb Felix: From: Jeronimo Pellegrini j...@aleph0.info Subject: [Chicken-users] Problem with threads Date: Fri, 19 Nov 2010 15:10:28 -0200 (use srfi-18) (define looping-thread (let ((loop (lambda () (do ((i 0 (add1 i)))

Re: [Chicken-users] Re: sequences egg

2010-11-21 Thread F. Wittenberger
Am Samstag, den 20.11.2010, 15:26 -0500 schrieb Hans Nowak: On 11/18/10 10:03 AM, Felix wrote: I've put together a little library of generic sequence operations, and would like to get some feedback, since I'm not sure about the nomenclature and API. Find it here:

Re: [Chicken-users] Re: sequences egg

2010-11-21 Thread F. Wittenberger
Am Sonntag, den 21.11.2010, 18:08 +0100 schrieb Felix: So, I wonder, why not use the same conventions? Instead, I see names like 'size', 'elt', etc. Wouldn't it be clearer to use names like sequence-length, or, if that is too verbose, seq-length, etc...? I wanted to avoid name-clashes.

Re: [Chicken-users] Problem with threads

2010-11-19 Thread F. Wittenberger
Am Freitag, den 19.11.2010, 15:10 -0200 schrieb Jeronimo Pellegrini: Hello, I'm using Chicken from git/master branch (commit ddaacdfdb11a0a1c0d1e6363b1af3af78746575c). I recently noticed a change in the behavior of Chicken's scheduler. See this program: (use srfi-18) (define

Re: [Chicken-users] handling the undefined value

2010-11-19 Thread F. Wittenberger
Am Freitag, den 19.11.2010, 02:56 -0500 schrieb Felix: From: Jörg F. Wittenberger joerg.wittenber...@softeyes.net Subject: Re: [Chicken-users] handling the undefined value Date: Thu, 18 Nov 2010 22:42:42 +0100 I guess I found the reason: -local. Apparently it changed slightly

Re: [Chicken-users] handling the undefined value

2010-11-18 Thread F. Wittenberger
Am Mittwoch, den 17.11.2010, 23:53 +0100 schrieb Felix: From: Jörg F. Wittenberger joerg.wittenber...@softeyes.net Subject: [Chicken-users] handling the undefined value Date: Wed, 17 Nov 2010 20:56:29 +0100 Hi Chickeners! I ran into a rare call of undefined value -- somewhere

Re: [Chicken-users] handling the undefined value

2010-11-18 Thread F. Wittenberger
Am Mittwoch, den 17.11.2010, 23:59 +0100 schrieb Felix: From: Jörg F. Wittenberger joerg.wittenber...@softeyes.net Subject: [Chicken-users] handling the undefined value Date: Wed, 17 Nov 2010 20:56:29 +0100 * The handling of -extend has changed in a way I do not yet completely understand

[Chicken-users] handling the undefined value

2010-11-17 Thread F. Wittenberger
Hi Chickeners! I ran into a rare call of undefined value -- somewhere in the middle of several KLOC of code. So how to debug that? It turns out not to be an easy operation. Hence my idea here. So far I see two basic approaches to handle the undefined behaviour of standards: a) refuse to

Re: [Chicken-users] using mmap files as strings?

2010-11-03 Thread F. Wittenberger
Am Mittwoch, den 03.11.2010, 12:53 +0100 schrieb Peter Bex: On Wed, Nov 03, 2010 at 12:36:18PM +0100, Jörg F. Wittenberger wrote: I wonder if it would be feasible to to support 'heavy strings' by a compile time option. At worst this could imply that there would be 2 .so files per egg, one

Re: [Chicken-users] Chicken Gazette - Issue 10

2010-11-02 Thread F. Wittenberger
Am Montag, den 01.11.2010, 07:21 -0400 schrieb Mario Domenech Goulart: Moritz Heidkamp (http://wiki.call-cc.org/users/moritz-heidkamp) has created the zmq (http://wiki.call-cc.org/egg/zmq) egg, which contains bindings for the ZeroMQ (http://www.zeromq.org/) library. This is awful. I did

Re: [Chicken-users] Survey results

2010-10-27 Thread F. Wittenberger
Am Montag, den 25.10.2010, 07:05 -0600 schrieb Alan Post: It's too bad there isn't any ARM platform use. Apparently I missed the survey too. Now let's add an ARM installation: http://a6b4d4edd80044de521eaeeb3893bc663.dyndns.softeyes.net/A849640f672ed0df0958abc0712110f3c/ A Sheeva Plug under

Re: [Chicken-users] using mmap files as strings?

2010-10-27 Thread F. Wittenberger
Am Donnerstag, den 21.10.2010, 15:01 -0600 schrieb Alan Post: So far so good, that is what I would expect. I'd like to work with an mmap buffer like a string. Is it possible to create an object that will treat the mmap area as a string that I can run regular string operations on without

Re: [Chicken-users] using mmap files as strings?

2010-10-27 Thread F. Wittenberger
Am Mittwoch, den 27.10.2010, 09:53 -0700 schrieb Kon Lovett: I recently noticed that several of the ##sys# prefixes have been eliminated recently (elsewhere in the code). ?. Sorry, no traces left. Just noticed on my way. At worst it might be a case of making sure the overwrite happens

Re: [Chicken-users] Another DVCS to look at: fossil

2010-10-15 Thread F. Wittenberger
my 0.02$ on this a) this is a chicken mailing list, VCS's are a terrible matter - at least for me - since they are a matter of taste (and I have none); So better we are aware that we are off-topic! b) every vcs I found until now was able to start a religious war even *within* myself c) so far I

Re: [Chicken-users] doto macro

2010-08-05 Thread F. Wittenberger
Am Donnerstag, den 05.08.2010, 04:27 -0400 schrieb Felix: Now, this is nice indeed. Thanks! Agreed. But in a way I feel it would more chickenish if those nice-to-have-things where in an egg, not the core system. /Jerry ___ Chicken-users mailing

Re: [Chicken-users] (apparently) solved; patch attached -- was: clueless about memory consumption.

2010-07-26 Thread F. Wittenberger
Am Montag, den 26.07.2010, 09:14 +0200 schrieb Felix: From: Jörg F. Wittenberger joerg.wittenber...@softeyes.net Subject: [Chicken-users] (apparently) solved; patch attached -- was: clueless about memory consumption. Date: Sat, 24 Jul 2010 14:10:49 +0200 Hi all, The attached diff

Re: [Chicken-users] (apparently) solved; patch attached -- was: clueless about memory consumption.

2010-07-26 Thread F. Wittenberger
Am Montag, den 26.07.2010, 10:12 -0300 schrieb Stephen Eilert: 2010/7/26 Jörg F. Wittenberger joerg.wittenber...@softeyes.net: Struggling with git I apparently and unintentionally committed some changes locally. No idea how to undo that. git reset last 'good' commit --hard should undo

[Chicken-users] (apparently) solved; patch attached -- was: clueless about memory consumption.

2010-07-24 Thread F. Wittenberger
+++ b/debian/changelog @@ -1,3 +1,21 @@ +chicken (4.5.6-0.2) unstable; urgency=low + + * New upstream version + + -- Joerg F. Wittenberger joerg.wittenber...@softeyes.net Thu, 24 Jul 2010 13:41:00 +0200 + +chicken (4.5.6-0.1) unstable; urgency=low + + * New upstream version + + -- Joerg F

Re: [Chicken-users] (apparently) solved; patch attached -- was: clueless about memory consumption.

2010-07-24 Thread F. Wittenberger
Am Samstag, den 24.07.2010, 14:10 +0200 schrieb Jörg F. Wittenberger: Hi all, The attached diff against git head contains these modifications: (define (##sys#make-thread thunk state name q) (##sys#make-structure 'thread thunk; #1 thunk #f

[Chicken-users] Re: clueless about memory consumption

2010-07-22 Thread F. Wittenberger
Hi, while I'm still not sure that I found the issue, at least I on spotted something, which is definitely wrong in chicken: mutex-unlock! Index: srfi-18.scm === --- srfi-18.scm +++ srfi-18.scm @@ -368,11 +368,12 @@ (lambda

Re: [Chicken-users] Subprocess blocking all threads under certain circumstances

2010-07-14 Thread F. Wittenberger
Am Mittwoch, den 14.07.2010, 13:23 +0200 schrieb Moritz Heidkamp: Dear Chickeneers, ... And it works as advertised. However, if I close both the input and the output ports of the process, all other threads seem to be blocked. If I close none of them or only one of them, it works. The

Re: [Chicken-users] clueless about memory consumtion

2010-07-10 Thread F. Wittenberger
Thanks a lot Felix! Am Mittwoch, den 07.07.2010, 14:31 +0200 schrieb Felix: From: Jörg F. Wittenberger joerg.wittenber...@softeyes.net Subject: [Chicken-users] clueless about memory consumtion Date: Mon, 05 Jul 2010 21:09:44 +0200 I have added a procedure for dumping the object-counts

Re: [Chicken-users] clueless about memory consumtion

2010-07-10 Thread F. Wittenberger
Am Mittwoch, den 07.07.2010, 14:31 +0200 schrieb Felix: I have added a procedure for dumping the object-counts in the heap (see experimental branch), called `##sys#dump-heap-state'. Thanks Felix! Now I've got quite some more data - and dunno how to make head or tail of it. Different results

Re: [Chicken-users] clueless about memory consumtion

2010-07-06 Thread F. Wittenberger
Am Dienstag, den 06.07.2010, 00:19 +0200 schrieb Thomas Chust: 2010/7/5 Jörg F. Wittenberger joerg.wittenber...@softeyes.net: [...] I'm surprised about the memory consumption pattern my chicken program exhibits after some hours running. [...] whereby the difference has a change

Re: [Chicken-users] bug in let-optionals in 4.5.0?

2010-07-05 Thread F. Wittenberger
Am Montag, den 05.07.2010, 00:33 +0200 schrieb Alejandro Forero Cuervo: I'm experimenting with my format-compiler extension. I got past the limitation preventing the module system from dealing with recursively dependent modules I would not call this a limitation. IMHO a module system, which

Re: [Chicken-users] static linking - how to?

2010-03-27 Thread F. Wittenberger
Am Donnerstag, den 25.03.2010, 15:03 +0100 schrieb Thomas Chust: 2010/3/25 Jörg F. Wittenberger joerg.wittenber...@softeyes.net: [...] I failed miserably when trying to link a chicken program statically. [...] using -static instead I end up with an executable of roughly 4MB.. which

[Chicken-users] static linking - how to?

2010-03-25 Thread F. Wittenberger
Hi all, I failed miserably when trying to link a chicken program statically. I my case I tried tk, found in the manual/Extensions that I would have to convert the egg first to support static linking. As a temporary workaround I put the required csc call in my Makefile csc -c tk.scm -unit tk

[Chicken-users] segfault in chicken

2010-03-21 Thread F. Wittenberger
Hi, I just made a cutpaste mistake. Now I feel chicken could do better than segfault at this: (define-syntax pass-a-ref (define-syntax with-a-ref (syntax-rules () ((_ ref b) b))) (syntax-rules () ((pass-a-ref ref b name) (let ((t (make-thread (lambda () b) name)))

Re: [Chicken-users] segfault in chicken

2010-03-21 Thread F. Wittenberger
A) and the segfault on reference in file B. I'll be back if I have a reproducible case. Am Sonntag, den 21.03.2010, 13:30 -0400 schrieb Mario Domenech Goulart: On Sat, 20 Mar 2010 12:14:59 +0100 Jörg F. Wittenberger joerg.wittenber...@softeyes.net wrote: I just made a cutpaste mistake. Now

[Chicken-users] condition-variable-name

2010-02-18 Thread F. Wittenberger
a trivial definition appears to be missing from srfi-18: condition-variable-name ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

[Chicken-users] debian package

2010-02-14 Thread F. Wittenberger
+ + * New version + + -- Joerg F. Wittenberger joerg.wittenber...@softeyes.net Thu, 13 Feb 2009 14:08:00 +0200 + chicken (3.2.0-0.2) unstable; urgency=low * Added directory information to texi documentation file. diff --git a/debian/chicken-bin.install b/debian/chicken-bin.install index

[Chicken-users] thread-signal!

2010-02-14 Thread F. Wittenberger
Hi, I found thread-signal not properly working when the target thread is in sleeping state. The attached patch fixes the issue. /Jörg diff --git a/srfi-18.scm b/srfi-18.scm index f7c3324..205820d 100644 --- a/srfi-18.scm +++ b/srfi-18.scm @@ -58,6 +58,9 @@ (syntax-rules () ((_ . _)

Re: [Chicken-users] Re: Memory limits

2009-11-27 Thread F. Wittenberger
Am Donnerstag, den 26.11.2009, 18:01 +0100 schrieb Sven Hartrumpf: Thu, 26 Nov 2009 17:52:37 +0100, Joerg.Wittenberger wrote: be careful about new gcc version! Yes, I can confirm this in some rare cases. Does -optimize-level change Chickens optimization? I hope so :-) I meant to

Re: [Chicken-users] Re: Memory limits

2009-11-26 Thread F. Wittenberger
High 5 be careful about new gcc version! Am Mittwoch, den 25.11.2009, 22:48 +0100 schrieb Sven Hartrumpf: I managed to avoid this segmentation fault by switching from -optimize-level 3 to 2. The gdb backtrace is not really useful, so we better forget this error :-) Does -optimize-level

Re: [Chicken-users] chicken-3.4.0 and locale egg

2009-11-12 Thread F. Wittenberger
Hi, my experience might not be related to your problem here at all. YMMV But the past days I spent much time to track down a - for me new - bug/problem relating to uhm, a special case: I recently upgraded to ubuntu 9.10 on a amd64 plattform. All sudden my program ran into all sorts of

Re: [Chicken-users] Problem with http-client in chicken 4.2.0

2009-11-01 Thread F. Wittenberger
I've got no idea what's going on here at all, but to me the second request looks wrong in any case. Shouldn't those parameter field separators be and never ; ??? Am Sonntag, den 01.11.2009, 12:53 +0100 schrieb Colin Fleming: Using netcat and stunnel to see what's going on, it's very strange, I

Re: [Chicken-users] Multi-file modules

2009-07-27 Thread F. Wittenberger
Am Sonntag, den 26.07.2009, 18:59 -0400 schrieb Michael Maul: Is there a way to define a module composed of multiple source files? I've tried using a load in side the file where the module is defined but that dosen't seem to work? (include yoursouce.scm)

[Chicken-users] string-match-positions

2009-02-01 Thread F. Wittenberger
I'm confused (about chicken/trunk): the current manual contains: [procedure] (string-match REGEXP STRING [START]) [procedure] (string-match-positions REGEXP STRING [START]) my usage (from pcre times): (string-match-positions compiled-match string offset flags) note: a 4th (flags)

[Chicken-users] chicken does not compile anymore

2009-01-31 Thread F. Wittenberger
Hi all, I just did a svn up and got a broken chicken compiler: Error: bad argument count - received 3 but expected 2: #procedure (every pred404 ls405) I guess compiler.scm around line 413 the call to every looks suspicious: (define (walk-generic n class params subs) (let ((subs2 (map

Re: [Chicken-users] Enterprise and scalability

2009-01-26 Thread F. Wittenberger
Am Sonntag, den 25.01.2009, 14:59 + schrieb Alaric Snell-Pym: There are a few more minor issues related to higher load, which I shall post about (the one I currently have in my mind: beware of garbage collection between fork and exec if finalizers might come into play, since those

Re: [Chicken-users] A call to arms

2009-01-22 Thread F. Wittenberger
Am Donnerstag, den 22.01.2009, 20:06 +0100 schrieb Peter Bex: Better still, we could come up with a Scheme equivalent of Apache Cocoon's pipelines, where you define regexp matchers on incoming URLs and assign 'pipelines' to them. A Cocoon pipeline is a chain that starts with one or

Re: [Chicken-users] A call to arms

2009-01-22 Thread F. Wittenberger
Am Donnerstag, den 22.01.2009, 21:27 +0100 schrieb Peter Bex: On Thu, Jan 22, 2009 at 03:01:30PM -0500, Andrew Gwozdziewycz wrote: So, if you have to simulate features of the storage engine to get compatibility, all you have to do is tell users that there are some limitations to it. Give

Re: [Chicken-users] Re: A call to arms

2009-01-22 Thread F. Wittenberger
Am Donnerstag, den 22.01.2009, 09:30 -0600 schrieb Lam Luu: This is why I want to serialize continuations. If we can save it to disk, or pass it between one one sever to another, we can scale it just as we scale any other type of data Hm, did you write this before my last posting regarding

Re: [Chicken-users] A call to arms

2009-01-22 Thread F. Wittenberger
Am Donnerstag, den 22.01.2009, 19:29 +0100 schrieb david krentzlin: The last i want is a framework that breaks or works against me as soon as i need to do things the creators didn't think of. Again from my perspective (i.e., I'm biased): with askemos.org there is IMHO just one design

Re: [Chicken-users] Enterprise and scalability

2009-01-20 Thread F. Wittenberger
I've missed that posting (due to mail host faliure). Am Freitag, den 16.01.2009, 10:18 + schrieb Alaric Snell-Pym: On 12 Jan 2009, at 12:20 pm, Mor Phir wrote: I was wondering if anyone on the ml where using chicken in a enterprise enviroment. *booming silence* I'm sure there was

Re: [Chicken-users] newbie thread questions?

2008-12-11 Thread F. Wittenberger
Am Donnerstag, den 11.12.2008, 09:26 +0100 schrieb Basile STARYNKEVITCH: Hello All (my second mail of questions; I'm very newbie!) Apparently the Chicken thread package is continuation based and does not use pthread hence is not able to take of profit of several cores running several

Re: [Chicken-users] newbie thread questions?

2008-12-11 Thread F. Wittenberger
Am Donnerstag, den 11.12.2008, 13:23 +0100 schrieb Peter Bex: On Thu, Dec 11, 2008 at 01:01:10PM +0100, J?rg F. Wittenberger wrote: Are there any Chicken packages which are blocking? More specifically, can I run, using the http package, both HTTP client HTTP server some other user

Re: [Chicken-users] svn head - buid problem on debian

2008-12-10 Thread F. Wittenberger
Am Mittwoch, den 10.12.2008, 08:58 +0100 schrieb felix winkelmann: DESTDIR is the destination directory for installation. I'm not familiar with the debian builds, but usually, this is set to install into a particular directory for packing a binary distribution (note that this is not the

[Chicken-users] symbol-string

2008-12-10 Thread F. Wittenberger
Hi all, my reading of R5RS allows symbol-string to be implemented more efficiently - though not as safe: procedure: (symbol-string symbol) Returns the name of symbol as a string. ... It is an error to apply mutation procedures like string-set! to strings returned by this procedure. I'm

[Chicken-users] effectful short cut

2008-12-10 Thread F. Wittenberger
Hi all, YMMV about that one. I have several string comparisons, where the compared strings might turn out to be eq? too. Apparently often enough, this patch saves almost 20% runtime for me. /Jörg Index: runtime.c === ---

[Chicken-users] der Scheduler

2008-12-10 Thread F. Wittenberger
Hi Felix, ich mag nicht alle paar Tage 'ne neue Version posten. Will Dich ja nicht drängeln. Aber falls Du mal irgendwann doch noch dazu kommst: im Anhang der Scheduler nochmal aufgeräumt. Funktional keine Änderung, nur ##sys#schedule sieht jetzt wirklich besser aus. Sag, wäre das OK, wenn

Re: [Chicken-users] der Scheduler

2008-12-10 Thread F. Wittenberger
Am Mittwoch, den 10.12.2008, 21:21 +0100 schrieb Jörg F. Wittenberger: Hi Felix, [...] sorry, this was obviously meant to be sent in private mail to Felix. Nevertheless: enjoy the attachment. It should work as a drop in for the old scheduler.scm. (You'll need the llrbtree.scm too.) /Jörg

Re: [Chicken-users] svn head - buid problem on debian

2008-12-09 Thread F. Wittenberger
/chicken or /var/lib/chicken/3 ? Am Dienstag, den 09.12.2008, 13:30 +0100 schrieb felix winkelmann: On Tue, Dec 9, 2008 at 12:54 PM, Jörg F. Wittenberger [EMAIL PROTECTED] wrote: Hi all, my standard debian build method fails like this: /home/jfw/build/Scheme/chicken/debian/tmp/usr/bin

[Chicken-users] more on thread performance

2008-12-02 Thread F. Wittenberger
Hi all, I just tried the code below (compiled with disable-interrupts). Effect on my server httperf --hog --server 127.0.0.1 --port 2009 --num-conn 1000 --ra 100 --max-piped-calls 20 --timeout 1000 from ~8 request/second up to almost 12. What's changed? a) remove a variable of no use b)

Re: [Chicken-users] separate compilation

2008-11-24 Thread F. Wittenberger
Am Montag, den 24.11.2008, 12:46 +0100 schrieb felix winkelmann: On Sun, Nov 23, 2008 at 2:45 AM, Jörg F. Wittenberger [EMAIL PROTECTED] wrote: It would be easy enough to compile the export file into memory or a temp file and overwrite the old file only if there are differences

[Chicken-users] separate compilation

2008-11-22 Thread F. Wittenberger
Hi, I noticed that the .import.scm files are overwritten, whenever the associated .scm file is compiled. This defeats separate compilation of modules. If the (any) file holding the exports where updated only if it's content really changed, it would be useful in Makefiles to suppress superfluous

Re: [Chicken-users] separate compilation

2008-11-22 Thread F. Wittenberger
Am Samstag, den 22.11.2008, 18:38 -0500 schrieb John Cowan: Jörg F. Wittenberger scripsit: I noticed that the .import.scm files are overwritten, whenever the associated .scm file is compiled. That's because they are object files from the point of view of compilation; the fact

[Chicken-users] Re: pet project continued

2008-11-20 Thread F. Wittenberger
Hi all, yesterday I wrote that the scheduler I proposed might have a problem. I can NOT confirm that. Contrary: I'm now rather sure now that is has no problems at all. (Besided me forgetting to put ##sys#timeout-list-head in the hide declaration.) (((I do however have plenty of other

[Chicken-users] chicken-syntax.scm

2008-11-20 Thread F. Wittenberger
Hi all, That is, hi Felix - I guess. :-( I ran into problems while compiling. The old, previously working, version did (include chicken-more-macros.scm) together with a (declare (run-time-macros)) with the intent to make those macros available to eval at runtime. Now I found the file

[Chicken-users] Re: pet project continued

2008-11-19 Thread F. Wittenberger
Am Freitag, den 14.11.2008, 16:21 +0100 schrieb Jörg F. Wittenberger: Hi all, the other day I posted some modifications to the scheduler.scm, which speed it up dramatically it you use a lot of srfi-18 features. [...] Than I updated my chicken to prepare the posting. (See other message

Re: [Chicken-users] compiling with svn revision 12496

2008-11-17 Thread F. Wittenberger
Am Montag, den 17.11.2008, 14:04 +0100 schrieb felix winkelmann: On Sat, Nov 15, 2008 at 3:05 PM, Jörg F. Wittenberger [EMAIL PROTECTED] wrote: There's code, which maps symbol-append+string-append over input forms to ease typing. (The openssl.scm - not even my code.) I have no idea how

Re: [Chicken-users] compiling with svn revision 12496

2008-11-17 Thread F. Wittenberger
Am Montag, den 17.11.2008, 15:04 +0100 schrieb Jörg F. Wittenberger: When removed, compilation continues. And when replaced with the obvious hygienic replacement: (define-syntax end-of-file (syntax-rules () ((end-of-file) #!eof))) I'm dying from the same unreadable object too. So maybe

Re: [Chicken-users] compiling with svn revision 12496

2008-11-15 Thread F. Wittenberger
Am Freitag, den 14.11.2008, 15:50 +0100 schrieb Jörg F. Wittenberger: Hi all, I did not update my chicken for a week or so. Now this pet can't compile my code anymore (which hasn't been touched either since it compiled successfully). Forget about that one for now. I guess I found

Re: [Chicken-users] compiling with svn revision 12496

2008-11-15 Thread F. Wittenberger
Am Samstag, den 15.11.2008, 13:58 +0100 schrieb Jörg F. Wittenberger: Am Freitag, den 14.11.2008, 15:50 +0100 schrieb Jörg F. Wittenberger: Hi all, I did not update my chicken for a week or so. Now this pet can't compile my code anymore (which hasn't been touched either since

Re: [Chicken-users] compiling with svn revision 12496

2008-11-15 Thread F. Wittenberger
Am Samstag, den 15.11.2008, 14:56 +0100 schrieb Jörg F. Wittenberger: Am Samstag, den 15.11.2008, 13:58 +0100 schrieb Jörg F. Wittenberger: Am Freitag, den 14.11.2008, 15:50 +0100 schrieb Jörg F. Wittenberger: Hi all, I did not update my chicken for a week or so. Now this pet can't

[Chicken-users] compiling with svn revision 12496

2008-11-14 Thread F. Wittenberger
Hi all, I did not update my chicken for a week or so. Now this pet can't compile my code anymore (which hasn't been touched either since it compiled successfully). The message: csc -c util-chicken.scm -include-path /home/jfw/build/Scheme/chicken -include-path . -O2 -inline -feature

Re: [Chicken-users] faster threading

2008-11-05 Thread F. Wittenberger
Hello Marc, Tobia, Felix and the chicken mailing list, Am Montag, den 03.11.2008, 11:11 -0500 schrieb Marc Feeley: Concerning the alternative priority queue implementations (wttree.scm, llrbtree.scm and skip lists), you have to be careful because those implementations allocate memory

Re: [Chicken-users] faster threading

2008-11-03 Thread F. Wittenberger
Am Montag, den 03.11.2008, 10:23 +0900 schrieb Alex Shinn: Jörg F. Wittenberger [EMAIL PROTECTED] writes: My conclusion: I begin a Nuke copyright issues in my way!-implementation of llrbtree.scm. Left leaning red-black trees are definitely worth trying, I'm looking forward to seeing

Re: [Chicken-users] faster threading

2008-11-03 Thread F. Wittenberger
Am Montag, den 03.11.2008, 11:11 -0500 schrieb Marc Feeley: So please remove those legal road blocks. In any case, the copyright information must be maintained, simply to indicate who has intellectual property of the code (i.e. an acknowledgement of who designed and wrote the code).

Re: [Chicken-users] faster threading

2008-11-02 Thread F. Wittenberger
Am Samstag, den 01.11.2008, 09:51 -0400 schrieb Marc Feeley: On 31-Oct-08, at 10:11 PM, Jörg F. Wittenberger wrote: Thankful for a suggestion from Marc Feeley I reused rbtree.scm from the snowfort repository. The attached version extends the snow version by optionally generating

<    1   2   3   4   5   6   >