[Chicken-users] Spiffy crashes occasionally

2005-06-07 Thread Peter Bex
Hi all, This is the problem: I simply run spiffy, and then someday I find out that it has crashed. Sometimes it takes weeks or even months before it dies, sometimes it takes only days. Unfortunately, I can't really pinpoint the problem anywhere. :( I was wondering if someone else also has

Re: [Chicken-users] Spiffy crashes occasionally

2005-06-09 Thread Peter Bex
On Thu, Jun 09, 2005 at 01:13:45PM +0200, felix winkelmann wrote: Would it be possible to examine a core-dump (with a libchicken version with full debug info)? I'd have to rebuild chicken and wait for it to crash again. I'll do so, but I have no idea when spiffy will crash since I still don't

Re: [Chicken-users] Spiffy crashes occasionally

2005-06-14 Thread Peter Bex
On Tue, Jun 14, 2005 at 09:12:52AM +0200, felix winkelmann wrote: Oh boy. Do you have PCRE or libc regex? Or are you using pregexp? I'm not sure. I think it's using libc regex, since ldd doesn't show any extra libraries (apart from libm) on chicken, libchicken etc. On closer look, the regex

Re: [Chicken-users] 64 bit success stories for Chicken?

2006-03-10 Thread Peter Bex
On Fri, Mar 10, 2006 at 09:35:55AM +0100, [EMAIL PROTECTED] wrote: Hi all. Does anybody have seen a performance increase when running Chicken in 64 bit mode compared to similar (or same) processors running Chicken in 32 bit mode? If so, which modifications were needed and what type of

Re: [Chicken-users] 64 bit success stories for Chicken?

2006-03-10 Thread Peter Bex
On Fri, Mar 10, 2006 at 11:21:43AM +0100, [EMAIL PROTECTED] wrote: but I think this question applies to the C compiler your using, not to Chicken itself. If Chicken produces the same code on both platforms, you are right. Sven That's the point of using C instead of assembly. It means you

Re: Wiki, [was: Re: [Chicken-users] Powered by Spiffy/Scheme logo?]

2006-03-12 Thread Peter Bex
On Sat, Mar 11, 2006 at 10:58:34PM -0700, Shawn Rutledge wrote: Another feature (which might or might not be a good idea) is to have folders, rather than a single namespace. A problem arises when you try to use a conventional wiki for multiple projects - you have to be careful to choose

Re: [Chicken-users] spiffy parameters

2006-03-23 Thread Peter Bex
On Wed, Mar 22, 2006 at 11:32:17PM -0700, Shawn Rutledge wrote: I found that in the latest version I got an error like this: Error: call of non-procedure: ./web Call history: ... eval (load /etc/spiffy-conf.scm) eval (spiffy-root-path

Re: [Chicken-users] spiffy parameters

2006-03-23 Thread Peter Bex
On Thu, Mar 23, 2006 at 11:32:29AM +0100, felix winkelmann wrote: Yes, blame him! ;-) Using parameters for all configuration options wasn't such a great idea from the beginning. It makes sense to use parameters, when you want thread-local options, but the spiffy configuration should be

Re: [Chicken-users] srfi-40 space leak?

2006-04-11 Thread Peter Bex
On Tue, Apr 11, 2006 at 01:46:05PM +0200, felix winkelmann wrote: On 4/10/06, Dan [EMAIL PROTECTED] wrote: Hi all, After reading the SRFI-40 (stream library) egg documentation at http://www.call-with-current-continuation.org/eggs/srfi-40.html I thought that the implementation

Re: [Chicken-users] rails-like framework

2006-04-22 Thread Peter Bex
On Fri, Apr 21, 2006 at 02:05:45PM -0700, Brandon J. Van Every wrote: I'm afraid my own Chicken projects are getting the backburner right now. Technical stuff is just too much work when I'm spending a lot of time signature gathering. The season ends in early July and if I

Re: [Chicken-users] rails-like framework

2006-04-22 Thread Peter Bex
On Sat, Apr 22, 2006 at 04:05:22PM +0200, Peter Busser wrote: Hi! Ajax egg. And some session support, but we can do that easily, and even _better_ with continuations. See (http://radio.weblogs.com/0102385/2004/04/03.html#a568) for some tasty stuff. This could ideally be integrated in

Re: OT: Re: [Chicken-users] rails-like framework

2006-04-22 Thread Peter Bex
On Sat, Apr 22, 2006 at 04:21:02PM +0200, J?rg F. Wittenberger wrote: Dear all, who are interested in a decent web programming framework in Scheme. We've been spending quite a while on such a thing and I'm simply not the person to brag about my part of work (which has been too much), maybe

Re: [Chicken-users] suspensions

2006-04-26 Thread Peter Bex
On Wed, Apr 26, 2006 at 09:25:04AM +0200, felix winkelmann wrote: Hello! A new egg is available that provides support for suspensions (serialized partial continuations). It can be used (among other things) for hacking support for continuation-based web-programming into Spiffy. The egg is

Re: [Chicken-users] How to use prelude?

2006-05-28 Thread Peter Bex
On Sun, May 28, 2006 at 12:31:14PM +0200, felix winkelmann wrote: Adding a quote in front of the define doesn't work either as that expands to (quote (define with-x #t)) Try '...' (one pair of double-quotes for scheme, and one pair of single quotes for the shell). It would be nice if you

[Chicken-users] Chicken crashes when updating eggs

2006-06-07 Thread Peter Bex
Hi all, When I update an egg that creates a dynamically linked object (.so), any running chicken instance that already loaded the egg instantly segfaults at the moment it tries to use a function from that egg. This is very inconvenient when running long-lived processes like Spiffy. After having

Re: [Chicken-users] Chicken crashes when updating eggs

2006-06-07 Thread Peter Bex
On Wed, Jun 07, 2006 at 08:25:21PM +0200, Thomas Chust wrote: Hello, it's probably important to know under which operating system this problem occurs. Sorry, should've stated this. I run NetBSD, which is, or at least aims to be, POSIX-compliant. snip Maybe if you try to recompile the

Re: [Chicken-users] Chicken crashes when updating eggs

2006-06-09 Thread Peter Bex
On Fri, Jun 09, 2006 at 10:10:40PM +0200, felix winkelmann wrote: Peter, can you test this? This absolutely works. Peter -- http://sjamaan.ath.cx -- The process of preparing programs for a digital computer is especially attractive, not only because it can be economically and scientifically

Re: [Chicken-users] repl with scgi?

2006-06-28 Thread Peter Bex
On Wed, Jun 28, 2006 at 06:20:34PM -0400, jbarciela jbarciela wrote: Anyway, I tried making the thread myself, but make-thread is unbound. I noticed that srfi-18 is not an egg, and it doesn't show up if I enter ,r in csi. Does that means that I have to compile my own chicken? #;1 make-thread

Re: [Chicken-users] repl with scgi?

2006-06-28 Thread Peter Bex
On Wed, Jun 28, 2006 at 06:46:45PM -0400, jbarciela jbarciela wrote: Hello Peter, Unfortunatelly in my system (PowerBook G4, OSX 10.4.6, Chicken Version 2, Build 3 - macosx-unix-gnu-ppc - [ dload ptables ], installed via Darwin ports) I get this instead: #;1 (use srfi-18) ; loading

Re: [Chicken-users] adding a standard regexp engine?

2006-07-07 Thread Peter Bex
On Fri, Jul 07, 2006 at 12:07:26PM +0200, Michele Simionato wrote: - PCRE - Oniguruma (very powerful, but also very big) I vote for PCRE, which is the one used by Python, IIRC. PCRE has my vote too. I never heard of Oniguruma, what makes it so much more powerful than PCRE? The most common

Re: [Chicken-users] Bizarre chicken build/segfault problem

2006-09-11 Thread Peter Bex
On Mon, Sep 11, 2006 at 11:47:28AM -0700, Kon Lovett wrote: srfi-19 uses srfi-29 uses lookup-table. The srfi-29.meta file does state the need for lookup-table, so I wonder why it is not installed. How old is your copy of srfi-29? The need for lookup-table is from version 1.2, quite

Re: [Chicken-users] Bizarre chicken build/segfault problem

2006-09-12 Thread Peter Bex
On Tue, Sep 12, 2006 at 08:15:22AM +0200, felix winkelmann wrote: Hi, Peter! lookup-table.c is one source file of the lookup-table egg. The .c files are installed together with a compiled extension. The reason for the crash seems to be egg-dependency issues. I could reproduce a crash that

Re: [Chicken-users] epeg .setup file misses closing brackets

2006-10-21 Thread Peter Bex
On Sat, Oct 21, 2006 at 05:16:35PM +0200, Peter Busser wrote: Hi! The epeg.setup file in the epeg egg misses two closing brackets. D'oh! That's what you get when you use vi instead of emacs w/ paredit for those quick editing jobs. :) Fix has been checked in. Felix, can you please update

Re: [Chicken-users] Announcement: http-server-form-posts egg

2006-11-06 Thread Peter Bex
On Sun, Nov 05, 2006 at 11:10:07PM +0200, Moe Aboulkheir wrote: The first release of the http-server-form-posts egg is available! Cool! Peter -- http://sjamaan.ath.cx -- The process of preparing programs for a digital computer is especially attractive, not only because it can be economically

Re: [Chicken-users] Spiffy

2006-12-09 Thread Peter Bex
On Sat, Dec 09, 2006 at 08:22:56PM +0200, Dan Muresan wrote: Hi, I have had, at last, the pleasure to play with spiffy to creaet a simple web front-end. As I said, it has been a pleasure, mostly, but there are some warts: Let me add one observation to that: It probably would be nicer to

Re: [Chicken-users] Integrating unit tests into source code

2006-12-14 Thread Peter Bex
On Thu, Dec 14, 2006 at 10:51:46AM +0100, felix winkelmann wrote: Hi! While reading a bit about doctest (the Python utility), I thought it would be relatively easy to support embedded documentation in definitions, like: (define (foo ...) '(test (...)) body...) The basic idea is

Re: [Chicken-users] Integrating unit tests into source code

2006-12-14 Thread Peter Bex
On Thu, Dec 14, 2006 at 12:13:19PM +0100, Peter Busser wrote: Hi! I have no ideas for the exact mechanism or the syntax. But I like the idea of having test cases embedded in the code. That makes proper maintenance of the test cases more likely IMHO. You're not worried about the

Re: [Chicken-hackers] Re: [Chicken-users] Integrating unit tests into source code

2006-12-14 Thread Peter Bex
On Thu, Dec 14, 2006 at 03:10:28AM -0800, Brandon J. Van Every wrote: Bear in mind that PLT Scheme is LGPLed, as is the mzlib containing contracts.ss. http://download.plt-scheme.org/doc/mzlib/mzlib-Z-H-54.html#node_chap_Temp_9 That means it could only be snarfed as an egg. True, but that

Re: [Chicken-users] Re: Integrating unit tests into source code

2006-12-14 Thread Peter Bex
mail. The mail you replied to had these headers set: From: Peter Bex [EMAIL PROTECTED] Subject: Re: [Chicken-users] Integrating unit tests into source code To: chicken chicken-users@nongnu.org Date: Thu

Re: [Chicken-users] Re: Integrating unit tests into source code

2006-12-15 Thread Peter Bex
On Thu, Dec 14, 2006 at 03:41:44PM -0800, Brandon J. Van Every wrote: I know and understand why to use tests. I'm not opposed to tests, but I am opposed to lumping the tests in with the main code. I'd much rather just keep the code clean and put the tests in another file. Well, I

Re: [Chicken-users] Spiffy Webserver

2006-12-23 Thread Peter Bex
On Sat, Dec 23, 2006 at 01:52:04AM -0500, Jeremy Cowgar wrote: Anyone have some example sites run w/Spiffy? How robust is Spiffy? I have a site that is currently handling ~ 2.5 million hits/mo, or on average 51 a second. It's currently backed by MySQL and is using almost no cache due to poor

Re: [Chicken-users] Spiffy Webserver

2006-12-23 Thread Peter Bex
On Sat, Dec 23, 2006 at 11:41:41AM -0500, Jeremy Cowgar wrote: Quoting Peter Bex [EMAIL PROTECTED]: So I can't definitely recommend Spiffy based on hard numbers. However, my gut feeling says it's capable of serving up what you describe. It would be interesting to see how well it holds up

Re: [Chicken-users] Spiffy Webserver

2006-12-23 Thread Peter Bex
On Sat, Dec 23, 2006 at 11:41:41AM -0500, Jeremy Cowgar wrote: Quoting Peter Bex [EMAIL PROTECTED]: So I can't definitely recommend Spiffy based on hard numbers. However, my gut feeling says it's capable of serving up what you describe. It would be interesting to see how well it holds up

Re: [Chicken-users] Minor issue with spiffy's sxml-html

2006-12-28 Thread Peter Bex
On Thu, Dec 28, 2006 at 11:45:00PM +0900, Peter Wright wrote: After testing it a bit, it looks like any HTML generated via sxml-html will have all close tag(s) followed by end-of-line character(s). Does anyone know of a way to disable this behaviour? I was about to dive in and investigate

Re: [Chicken-users] Subversion support misguided IMHO

2007-01-05 Thread Peter Bex
On Fri, Jan 05, 2007 at 01:07:31PM -0800, Brandon J. Van Every wrote: If I were making the decisions on such things, I would drop Subversion support and force people to use / learn Darcs. I'd provide a HOWTO, of course. I'm not using Darcs this lifetime, at least as long as it has a ghc

Re: [Chicken-users] Subversion support misguided IMHO

2007-01-09 Thread Peter Bex
On Mon, Jan 08, 2007 at 03:15:00PM -0800, Brandon J. Van Every wrote: The Subversion dump could track change information. But the real issue is whether Peter is sufficiently interested in this to dig into it. I don't know how much work it is for Felix to keep the svn up-to-date. Releasing

Re: [Chicken-users] Subversion support misguided IMHO

2007-01-09 Thread Peter Bex
On Tue, Jan 09, 2007 at 11:17:48AM -0800, Brandon J. Van Every wrote: It doesn't. Darcs is better than Subversion for the active developer. It has patching features that allow open source developers to work in distributed fashion. Mercurial is an alternative that has greater platform

Re: [Chicken-users] Mac OS X: chicken-setup's access to fink-installed libraries

2007-01-11 Thread Peter Bex
On Thu, Jan 11, 2007 at 01:20:50PM -0500, Stephen C. Gilardi wrote: Questions: [1] Is there a way to configure chicken to provide additional library search paths (and include file search paths)? [2] Alternatively, can chicken be made to know that on Mac OS X (Darwin), if /sw exists,

Re: [Chicken-users] Mac OS X: chicken-setup's access to fink-installed libraries

2007-01-11 Thread Peter Bex
On Thu, Jan 11, 2007 at 03:14:08PM -0500, Stephen C. Gilardi wrote: Thanks for the info. It appears that csc offers the options I need -I/sw/include -L/sw/lib, but chicken (according to The User Manual and chicken -help) doesn't. When I include these in CHICKEN_OPTIONS, chicken

Re: [Chicken-users] trac instance running - public rejoices - Arto for president!

2007-01-15 Thread Peter Bex
On Mon, Jan 15, 2007 at 09:41:29PM +0100, felix winkelmann wrote: Hi, folks! Arto has set up the bug tracker now. Everybody with an SVN account can now add and edit tickets at: http://trac.callcc.org Hurray! All hail Arto! :) Regards, Peter -- http://sjamaan.ath.cx -- The process of

Re: [Chicken-users] Anonymous trac access

2007-01-16 Thread Peter Bex
On Mon, Jan 15, 2007 at 10:44:11PM +0100, felix winkelmann wrote: Arto just informed me that anonymous access to trac.callcc.org has now been enabled, so everybody (even without an svn account) can now enter tickets. I'm not sure if this is such a great idea. The Rails trac site originally

Re: [Chicken-users] destructuring-bind?

2007-02-04 Thread Peter Bex
On Sun, Feb 04, 2007 at 04:10:55PM -0500, Elliot Cuzzillo wrote: Coming from CL, I'm used to having macro definitions use destructuring-bind in their argument lists, so that if we have (defmacro blah ((x y) z) ...) then if you call (blah (fee fi) fo) then x = fee, y = fi, and z= fo. Does this

Re: [Chicken-users] SXML tutorial draft

2007-02-05 Thread Peter Bex
On Mon, Feb 05, 2007 at 01:55:46PM +0300, Dmitry Lizorkin wrote: Hello, What a good tutorial! Thank you for taking your time and effort for developing illustrative tutorial examples and for presenting all this. Thank you! I found the existing documentation to be severely lacking. It isn't

Re: [Chicken-users] SXML tutorial draft

2007-02-07 Thread Peter Bex
On Tue, Feb 06, 2007 at 01:37:09PM +0300, Dmitry Lizorkin wrote: I can think of two approaches: 1. Completely removing xmlns='http://www.w3.org/1999/xhtml' from consideration here. However, as this namespace declaration is the essential part of the XHTML recommendation, such an approach

[Chicken-users] Centralized documentation

2007-02-12 Thread Peter Bex
Hi everybody, I was having an e-mail discussion with Mario Domenech Goulart about Spiffy and the conversation turned towards egg documentation. The discussion started because Spiffy's documentation is starting to grow beyond what fits comfortably on one webpage (which is the case at this moment).

Re: [Chicken-users] Centralized documentation

2007-02-14 Thread Peter Bex
On Tue, Feb 13, 2007 at 05:00:27PM -0500, Alejandro Forero Cuervo wrote: * Any improvements to the CSS used by the wiki would be more than welcome. :-) I've spent a couple of hours hacking the CSS. The result can be viewed at http://frohike.homeunix.org/stream-wiki.html Feel free to snarf

Re: [Chicken-users] Centralized documentation

2007-02-21 Thread Peter Bex
On Tue, Feb 20, 2007 at 02:50:44PM -0500, Alejandro Forero Cuervo wrote: Beautiful. Thanks for the improvement. :-) You're very welcome. This CSS was prepared on the basis of the original HTML as it was found on the wiki. I'd give this a huge overhaul, if possible, though. It's very

Re: [Chicken-users] A request

2007-04-04 Thread Peter Bex
On Wed, Apr 04, 2007 at 09:44:02AM -0700, Kon Lovett wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Folks, Please evaluate the following on your available platforms send me the results. csi -n -e '(require-extension posix) (print (build-platform) - (software-type) -

Re: [Chicken-users] Spiffy bug

2007-04-22 Thread Peter Bex
On Sat, Apr 21, 2007 at 07:03:00PM +0800, John Janecek wrote: if spiffy serves a webpage that has a JS redirect in it. It will get an error unable to write to socket. If the page is served repeatedly eventually the server just locks up. If you can produce a testcase, please open a ticket in

[Chicken-users] Shutting up LOAD

2007-05-06 Thread Peter Bex
Hi there, I was wondering if there's a way to shut up LOAD. When it loads a file it always outputs ; loading blah.scm Now, in Spiffy, the handler for web-scheme swallows all output from the application using WITH-OUTPUT-TO-STRING, but this also captures the output from LOAD, but I don't want it

Re: [Chicken-users] a file system using Chicken

2007-06-10 Thread Peter Bex
On Sun, Jun 10, 2007 at 03:30:15PM +0300, Dan Muresan wrote: While I understand the spirit of POSIX advocacy, note that this thread is about a Linux file system. Also, care to share the concrete solution in this case? What's the POSIXly correct way to load a script in the current shell (.

Re: [Chicken-users] Automated builds

2007-06-28 Thread Peter Bex
On Thu, Jun 28, 2007 at 10:54:59AM -0300, Mario Domenech Goulart wrote: The files are organized according to the following format: year/month/day/contents contents are: - chicken-automated-build.log: the global log of the build process. - salmonella.log: the raw log

Re: [Chicken-users] Happy birthday, Chicken!

2007-07-20 Thread Peter Bex
On Fri, Jul 20, 2007 at 12:25:07AM -0300, Mario Domenech Goulart wrote: Hi folks, Today is Chicken's 7th birthday (see http://groups.google.com/group/comp.lang.scheme/msg/edfb2da16fd89fae). Hurray!! *throws confetti* Thanks Felix and all the contributors who help Chicken grow. :-) +1

Re: [Chicken-users] Packaging libraries securely

2007-08-08 Thread Peter Bex
On Wed, Aug 08, 2007 at 05:54:04AM +0100, Tony Sidaway wrote: My current approach is to compile the user script with an included preamble which redefines important stuff. For instance: (define-macro (dummy name) `(define ,name (lambda x (force (delay (begin (display (format ~a is not

Re: [Chicken-users] Fink package for chicken

2007-08-21 Thread Peter Bex
On Tue, Aug 21, 2007 at 08:44:35AM +0200, Sebasti?n Gonz?lez wrote: As a side remark, I would propose to delete all those platforms for which no package is available yet (SUSE, CentOS, Mac Binary, etc.). There is no point in having such void entries. They can all be substituted by a

Re: [Chicken-users] Eggology

2007-08-22 Thread Peter Bex
On Wed, Aug 22, 2007 at 09:16:17AM +0200, Sunnan wrote: Ivan Raikov wrote: Another solution would be to modify salmonella to construct a dependency graph for all eggs and issue a warning for each dependency cycle detected. That would detect the problems, but wouldn't really solve them.

Re: [Chicken-users] Eggology

2007-08-23 Thread Peter Bex
On Thu, Aug 23, 2007 at 12:12:39PM +0700, Ivan Shmakov wrote: SR But it's important for popular eggs to be kept in a working state, SR and not change existing APIs in them when avoidable. Could it be the reason to include version numbers into the .egg names, so that, when

Re: [Chicken-users] synonyms for module sought

2007-09-07 Thread Peter Bex
On Fri, Sep 07, 2007 at 01:03:28PM -0400, Graham Fawcett wrote: On 9/7/07, John Cowan [EMAIL PROTECTED] wrote: I like the chicken-metaphor ones. Me too. Nest, egg-carton, coop, cage, hen-house, yard, barn, Feed-bag, Eggshell, albumen, Wing (Under the wing of the Great Chicken, all may

Re: [Chicken-users] stable version?

2007-09-21 Thread Peter Bex
On Fri, Sep 21, 2007 at 03:46:00PM -0300, Alex Queiroz wrote: Hallo, On 9/21/07, John Cowan [EMAIL PROTECTED] wrote: Shawn Rutledge scripsit: It would be nice if there were auto-generated stable Windows (and Mac) binaries too. It's just make PLATFORM=cross-linux-mingw for

Re: [Chicken-users] Help w/ PCRE 7.4 migration

2007-09-24 Thread Peter Bex
On Mon, Sep 24, 2007 at 07:05:24AM -0700, Kon Lovett wrote: Hi all, I need the config.h files produced by PCRE 7.4 (ftp:// ftp.csx.cam.ac.uk/pub/software/programming/pcre/) 'configure --enable- unicode-properties' from the following OS: NetBDSPowerPC x86-64 Here are

Re: [Chicken-users] Imlib2 question

2007-09-24 Thread Peter Bex
On Mon, Sep 24, 2007 at 04:29:25PM -0400, William Ramsay wrote: That's the problem, I don't know what to use.I've tried call-with-values and receive, but both give me errors, mostly because I have no idea what I'm doing.Receive expects (name1 name2 ...) valexp body, but this produces

Re: [Chicken-users] Imlib2 question

2007-09-24 Thread Peter Bex
On Mon, Sep 24, 2007 at 10:42:22PM +0200, Peter Bex wrote: Yes, this is (afaik) a deviation from the standard. I don't like it one bit, precisely for this reason: it's damned confusing. I want an error if I forgot to receive all values, I don't want the first value, dammit! Sorry

Re: [Chicken-users] Imlib2 question

2007-09-25 Thread Peter Bex
On Tue, Sep 25, 2007 at 09:04:19AM -0400, William Ramsay wrote: Once I spelled receive correctly it works like a champ. Thanks.I cannot get over what a great language Scheme is and what a great system Chicken is. Why would anyone use anything else? Would you mind convincing my boss?

Re: [Chicken-users] Choosing a programming language for a web project

2007-09-29 Thread Peter Bex
On Sat, Sep 29, 2007 at 12:17:14PM -0400, Jean-Philippe Th?berge wrote: I have benchmarked all thoses languages and chicken, even interpreted, is a clear winner. Cool! The ability to compile is a great benefit, too. Also consider the ease with which you can integrate parts in C if necessary.

Re: [Chicken-users] Choosing a programming language for a web project

2007-10-01 Thread Peter Bex
On Sat, Sep 29, 2007 at 06:56:46PM -0700, Matthew Welland wrote: From working with Rails I got used to the MVC and DRY principles and used them in putting together my mini-framework. Did you consider making it into an egg? Peter -- http://sjamaan.ath.cx -- The process of preparing programs

Re: [Chicken-users] Re: chicken w/ web 2.0 flavor

2007-10-03 Thread Peter Bex
On Wed, Oct 03, 2007 at 08:17:45AM +0900, Daishi Kato wrote: BTW, did anybody see the Filer on WaitLess in Japanese? It should show in English by default. I did. It still shows in Japanese, even though there's a cookie with the name 'language' and value 'English'. There's a dropdown that says

Re: [Chicken-users] (use foo) versus (declare (uses foo)), csi versus csc

2007-10-21 Thread Peter Bex
On Fri, Oct 19, 2007 at 06:06:59PM -0500, Zbigniew wrote: OK, try this. bar.scm: (define-extension bar) (define (fac n) (if (zero? n) 1 (* n (fac (- n 1))) ) ) foo.scm: #+compiling (declare (uses bar)) (use bar) (write (fac 10)) (newline) With this

[Chicken-users] RFC: web-unity egg

2007-10-26 Thread Peter Bex
Hi all, I just made a new egg called web-unity. Its purpose is pretty simple: it allows you to create web applications which can run via CGI, SCGI, FCGI or Spiffy without having to change the code. All that's needed is a server-specific dispatcher procedure which hands off the request to a

Re: [Chicken-users] RFC: web-unity egg

2007-10-29 Thread Peter Bex
On Mon, Oct 29, 2007 at 09:04:47AM +0900, Daishi Kato wrote: Soulds really cool! One question is why its backend is spiffy, and not http-server. Is it possible to have an additional backend for http-server? --daishi You could certainly write one, but it would be a bit more work because

Re: [Chicken-users] RFC: web-unity egg

2007-10-29 Thread Peter Bex
On Mon, Oct 29, 2007 at 05:55:39PM +0900, Daishi Kato wrote: I see. I didn't realize that part is used. That said, you are using only a small part of Spiffy, right? Yeah, currently I am. I'm not yet sure on how to proceed from here. The amount of stuff used from Spiffy might grow, or it might

Re: [Chicken-users] daemonize egg: redirect I/O?

2007-10-31 Thread Peter Bex
On Wed, Oct 31, 2007 at 07:44:19AM +0100, felix winkelmann wrote: On 10/31/07, Ozzi [EMAIL PROTECTED] wrote: Ok, I think I understand what you're getting it. Unfortunately I can't get it to work. You'll have to excuse the thrown-together quality of the code below, but it

Re: [Chicken-users] daemonize egg: redirect I/O?

2007-10-31 Thread Peter Bex
On Wed, Oct 31, 2007 at 10:24:44AM +0100, felix winkelmann wrote: On 10/31/07, Peter Bex [EMAIL PROTECTED] wrote: The exit will not invoke any pending dynamic-wind thunks Why not? Shouldn't it? IMHO it violates POLA not to do so. Because it might not be desired. Why wouldn't

Re: [Chicken-users] daemonize egg: redirect I/O?

2007-10-31 Thread Peter Bex
On Wed, Oct 31, 2007 at 11:23:59AM +0100, felix winkelmann wrote: Why wouldn't it if you use dynamic-wind? The thunk is exited by calling (exit), isn't it? So I would *expect* it to call the 'after' part of the dynamic-wind. Just from reading the standard I would never consider the

Re: [Chicken-users] daemonize egg: redirect I/O?

2007-10-31 Thread Peter Bex
On Wed, Oct 31, 2007 at 12:09:27PM +0100, felix winkelmann wrote: On 10/31/07, Peter Bex [EMAIL PROTECTED] wrote: Well, so be it. I'll add a note to 'extensions to the standard' and the documentation of 'exit' because I'm sure there are more people out there who are not aware

Re: [Chicken-users] Re: Style Guide

2007-11-05 Thread Peter Bex
On Mon, Nov 05, 2007 at 12:16:12PM +0100, Tobia Conforto wrote: William Ramsay wrote: Is there such a thing as a Chicken/Scheme style guide? [...] If there is such a thing as teaching an old dog new tricks I'd like to try. Your last sentence makes me think that you're referring to

Re: [Chicken-users] how do I add egg by myself?

2007-11-08 Thread Peter Bex
On Thu, Nov 08, 2007 at 08:31:17AM +, naruto canada wrote: hi felix has assign me an account, can I use that account to add new eggs? how? Just make a checkout of https://galinha.ucpel.tche.br/svn/chicken-eggs and create a new subdirectory. It will be automatically uploaded as an egg, if

Re: [Chicken-users] chicken.wiki.br - an anti-IE site

2007-11-12 Thread Peter Bex
On Mon, Nov 12, 2007 at 09:58:45AM +0100, felix winkelmann wrote: Hi! I guess, that is svnwiki specific. Alejandro? Sounds rather like a CSS issue. I'd take it up, but I'll be away for two days, so if someone can fix it in the meanwhile, it would be great :) If you visit chicken.wiki.br -

[OT] Re: [Chicken-users] Strange observation: Chicken, C, C++: Joe Average does benchmarking

2007-12-19 Thread Peter Bex
On Tue, Dec 18, 2007 at 09:50:35PM +0100, Siegfried Gonzi wrote: hello: He wait before you now start out flaming me please note: I am not in numerical analysis in any way but I wrote my phd in physics more or less with the help of Bigloo and some radiative tranfer codes (my simulations took

Re: [Chicken-users] ssp-handler

2008-01-14 Thread Peter Bex
On Mon, Jan 14, 2008 at 12:49:05PM +0100, minh thu wrote: Hi, It seems http://trac.callcc.org/changeset/7190 hasn't get to the spiffy egg. Should I get spiffy from svn ? Yes, until there's a new release you'd have to use trunk. Sorry for that. Cheers, Peter -- http://sjamaan.ath.cx --

Re: [Chicken-users] Web applications

2008-01-17 Thread Peter Bex
On Thu, Jan 17, 2008 at 12:36:33AM +0100, Hans Bulfone wrote: you may also want to check out the scgi and fastcgi eggs. for generating html i can also recommend the hart egg. Instead of making a choice between scgi, fastcgi, spiffy or plain cgi I recommend having a look at the web-unity egg.

Re: [Chicken-users] repository branching

2008-01-20 Thread Peter Bex
On Sun, Jan 20, 2008 at 03:41:31PM +0900, Ivan Raikov wrote: Am I the only one who finds this scheme (ha!) confusing? I think it's confusing, too. Mostly because it's very counter-intuitive to have both a toplevel dir and a lower 'release' dir. Why not just put the old stuff in

Re: [Chicken-users] Imlib2 egg question

2008-01-30 Thread Peter Bex
On Wed, Jan 30, 2008 at 09:40:06AM -0500, William Ramsay wrote: Hi, I'm using the Imlib2.egg to save icons with a small drawing program I'm writing. If I create an icon that is completely filled with color, everything works fine. But if I only draw pixels in part of the icon, leaving

Re: [Chicken-users] Imlib2 egg question

2008-01-30 Thread Peter Bex
On Wed, Jan 30, 2008 at 09:40:06AM -0500, William Ramsay wrote: Hi, I'm using the Imlib2.egg to save icons with a small drawing program I'm writing. If I create an icon that is completely filled with color, everything works fine. But if I only draw pixels in part of the icon, leaving

[Chicken-users] Hackathon!

2008-02-11 Thread Peter Bex
Hello everyone, In light of the recent announcement by Felix and some people's concerns that the project may get into a bit of a slump with a lack of a single Benevolent Dictator, I decided that it would be a good idea to organize a Hackathon. This will be an excellent opportunity for the

Re: [Chicken-users] Hackathon!

2008-02-11 Thread Peter Bex
On Mon, Feb 11, 2008 at 11:37:00PM +0100, Peter Bex wrote: I propose to hold the hackathon on the weekend of 22-23 February. Suggestions of different dates are welcome. Of course, the weekend is 23-24 February. However, anyone wanting to start on the 22nd is welcome to do so :) Cheers, Peter

Re: [Chicken-users] Hackathon!

2008-02-12 Thread Peter Bex
On Mon, Feb 11, 2008 at 08:50:02PM -0500, Raymond Medeiros wrote: is it possible to get a list of all eggs which do not currently have their documentation in the wiki? then we could start migrating the doc to the wiki. Yeah, it's easy. Just look through the Eggs Unlimited page and see

Re: [Chicken-users] egg documentation

2008-02-12 Thread Peter Bex
On Tue, Feb 12, 2008 at 11:10:28AM -0600, Ozzi wrote: This is perhaps a different concern, but I wonder if there would be value in designating certain eggs as part of Chicken, and holding these eggs to a stricter standard of documentation. Why do you want to make a distinction? The whole

Re: [Chicken-users] egg documentation

2008-02-12 Thread Peter Bex
On Tue, Feb 12, 2008 at 03:16:35PM -0200, Mario Domenech Goulart wrote: Hi Mark, On Tue, 12 Feb 2008 10:52:02 -0600 Mark Fredrickson [EMAIL PROTECTED] wrote: This idea dove tails with discussion last week of providing docstrings for lambdas. Felix pointed out that there is a hook to

Re: [Chicken-users] Comprehensive documentation rewrite

2008-02-13 Thread Peter Bex
On Wed, Feb 13, 2008 at 09:18:20AM +0100, felix winkelmann wrote: I like the idea of being able to put the documentation into the code; something like Doxygen is needed for Scheme. I think it's not the first time such an idea has been proposed, but I don't know much about what has been

Re: [Chicken-users] Compromise Hackathon Doc Proposal

2008-02-14 Thread Peter Bex
On Wed, Feb 13, 2008 at 10:25:35PM -0600, Mark Fredrickson wrote: Hi all, 1. Our primary focus is on updating documentation where it currently resides (wiki, svn, etc) in the format it currently uses. Getting the documentation that exists current is a big task as it is. Let's not

Re: [Chicken-users] documentation issues...

2008-02-14 Thread Peter Bex
On Thu, Feb 14, 2008 at 02:19:46PM -0600, Jim Ursetto wrote: Select all in the preview window, cut and paste to Emacs or Vim, edit, and paste the text back to the wiki. I do it all the time, and it solves every one of these issues. (Modern browsers handle most of them, too.) You can also use

Re: [Chicken-users] Re: YADT: yet another documentation thread

2008-02-18 Thread Peter Bex
On Sat, Feb 16, 2008 at 05:03:47PM -0500, Graham Fawcett wrote: The CL community has a My Road to Lisp meme, where CL users write up a quick story on how they arrived. I'd *love* to hear people's My Road to Chicken stories. A little painful to admit, but I started out with BASIC on the C64,

Re: [Chicken-users] new domains!

2008-02-18 Thread Peter Bex
On Sat, Feb 16, 2008 at 03:03:22PM -0800, Elf wrote: chickenscheme.org chickenscheme.net chicken-scheme.com chicken-scheme.org chicken-scheme.net (someone has already parked on chickenscheme.com, unfortunately. this should prevent people from doing anything nasty to the namespace.)

Re: [Chicken-users] new domains.

2008-02-18 Thread Peter Bex
On Mon, Feb 18, 2008 at 11:49:15AM -0800, Elf wrote: www.newdomain.tld are all now cnames for www.call-with-current-continuation.org ... which isnt working too hot. advice please? Looks like call-cc's vhosting isn't set up to dispatch those domains. Felix: Can you fix this on the webserver

Re: [Chicken-users] egg documentation

2008-02-21 Thread Peter Bex
On Thu, Feb 21, 2008 at 12:42:00AM -0800, Alejandro Forero Cuervo wrote: I think this wouldn't be very hard to do, since they would all behave pretty much in the same way. We can probably just keep a list with them (ie. '(string class method)) that we add to as needed. That is, I think

Re: [Chicken-users] understanding eval

2008-02-22 Thread Peter Bex
On Fri, Feb 22, 2008 at 09:22:36PM +0900, Daishi Kato wrote: Hi, This might be a stupid question, but would someone help me understand the following eval example? I was expecting to get 1. You're evaluating (car (1 2 3)) You want to be evaluating (car (list 1 2 3)) or (car (quote (1 2 3)))

Re: [Chicken-users] understanding eval

2008-02-22 Thread Peter Bex
On Fri, Feb 22, 2008 at 09:57:42PM +0900, Daishi Kato wrote: OK, so that was stupid. How about this? (define a 'values) (define b '((1 2 3) #(4 5 6)) I'd like to evaluate (values '(1 2 3) '#(4 5 6)) using eval, a and b. More of the same: (eval (cons a (map (cut list 'quote ) b)))

Re: [Chicken-users] aliases in the wiki

2008-02-23 Thread Peter Bex
On Sat, Feb 23, 2008 at 12:34:17PM +0100, Felix Winkelmann wrote: From: Alejandro Forero Cuervo [EMAIL PROTECTED] Subject: Re: [Chicken-users] aliases in the wiki Date: Sat, 23 Feb 2008 03:27:11 -0800 $ ln -s 'stream-ext#stream-xcons' stream-xcons $ svn add stream-xcons $ svn

Re: [Chicken-users] Chicken For Ruby Programmers

2008-02-23 Thread Peter Bex
On Tue, Feb 19, 2008 at 09:14:45PM -0600, Mark Fredrickson wrote: BTW, I love the Chicken for X Programmers I think that this is precisely the kind of thing Chicken needs to gain more exposure. I welcome any comments suggestions on this. Neither a comment nor suggestion, but a

[Chicken-users] Hackathon roundup

2008-02-25 Thread Peter Bex
Hello everyone, This weekend's hackathon was a great success. Fun was had by all, and lots of work got done. Most importantly, a number of new people have become more active in the project. Summary --- We have accomplished the following things: - About twenty eggs got their old-style

  1   2   3   4   5   6   7   8   9   10   >