[Chicken-users] awful as cgi or fcgi?

2011-02-19 Thread matt welland
I read though the docs but didn't see mention of cgi, is it supported?


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] Chicken for Blub Programmers

2011-02-19 Thread Jack Trades
A while back I did a Chicken for Python programmers doc that I posted here.
For those of you that are interested I've done some more work on it
recently.

It's now called the Pointless Programming Language
Referenceand features 1,875 solutions to
400 common programming tasks in 7
languages*.  It is editable by anyone in a sort of wiki format and all
changes are saved to git version control (through this
hack
).

I'm working on an API to allow the PLR to be embedded in other
projects/sites, so getting it integrated with the wiki should be trivial
when that is complete.

If anyone has the time to check it out and make some edits, I would
appreciate it very much.  I'm sure there are still some bugs that my own use
cases don't catch.  If the current implementation is relatively stable I
will be able to implement the remaining parts of the API pretty quickly, as
most of it is already done.

View/Edit the Pointless Programming Language
Reference
Style Guide and
Notes
Implementation 
Details

Thanks for your time,
Jack Trades

* If you want to do a lot of editing I recommend spacing it out over the
next week or two.  To this point the system and I have been exclusive, I'm
not sure what she'll do when she starts seeing other people.
___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] Chicken segfaults with large-ish inputs

2011-02-19 Thread Sam Hardwick
Hello everyone - I have a bug report. I'm sending it here because 
someone on #chicken told me it's ok if I'm too lazy to register to the 
bug tracker. This is my solution to exercise 1.29 in SICP:


***

(define (sum term a next b)
  (if (> a b)
  0
  (+ (term a)
 (sum term (next a) next b

(define (adder n) (lambda (x) (+ x n)))

(define (integral f a b n)
  (let ((h (/ (- b a) n)))
(define (y k) (f (+ a (* k h
(*
 (/ h 3)
 (+ a b
(* 4 (sum y 1 (adder 2) (- n 1)))
(* 2 (sum y 2 (adder 2) (- n 2)))

***

When I exercise it with intervals divided into up to 10 it works 
fine, but with eg.


***

(define (cube x) (* x x x))
(integral cube 0 1 100)

***

I get a segfault. This is (reportedly) remedied by compiling or using 
numbers (the module or whatever it's called).


I'm using the Chicken in Debian 6.0:

Version 4.5.0
linux-unix-gnu-x86 [ manyargs dload ptables ]
compiled 2010-06-17 on biber (Linux)

Although other people had the same problem on very recent versions as 
well (many other Scheme implementations also barf, some more elegantly, 
some less).


I'm not subscribed, so if you want to ask me anything, please reply to 
me directly.


Thanks,
Sam Hardwick

___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users