Re: [Chicken-users] spiffy help

2009-08-04 Thread Peter Bex
On Tue, Aug 04, 2009 at 05:01:22PM +0200, Mikael Hall wrote: The command mik...@mikael-desktop:~$ nc -lp 8080 | tee output.txt That's what I assumed you really did. The problem was I thought spiffy was meant to be running on port 808 and I didnt know if your command was somewhat netbsd

Re: [Chicken-users] spiffy help

2009-08-03 Thread Peter Bex
On Fri, Jul 31, 2009 at 06:37:29PM +0200, Mikael Hall wrote: I installed chicken yesterday so I assume its the version is up to date. I can try to find the bug, but I wouldnt count on it too much ... :) thanks for the quick replies , Cheers! I can't reproduce the 400 'Bad request', but I did

Re: [Chicken-users] CHICKEN 4.1.0 released

2009-08-03 Thread Peter Bex
On Mon, Aug 03, 2009 at 09:44:27AM +0200, felix winkelmann wrote: Hello! CHICKEN 4.1.0 has been released. Congrats on the new release! Unfortunately, while creating a pkgsrc package for it, I have found a bug in how the chicken-setup program is built; it needs relinking. I hadn't noticed

Re: [Chicken-users] spiffy help

2009-07-31 Thread Peter Bex
On Fri, Jul 31, 2009 at 05:10:28PM +0200, Mikael Hall wrote: Hi, I'm trying to understand the spiffy server. I have, however, difficulties understanding how it works. Is there some example somewhere? I'm not a proffessional, so any help to get going would be appreciated. best regards Mikael

Re: [Chicken-users] spiffy help

2009-07-31 Thread Peter Bex
On Fri, Jul 31, 2009 at 05:37:12PM +0200, Peter Bex wrote: (use spiffy) (root-path /var/www) (server-port 80) (start-server) [snip] (use spiffy) (parameterize ((root-path /var/www) (server-port 80)) (start-server)) Which settings are available can be seen

Re: [Chicken-users] spiffy help

2009-07-31 Thread Peter Bex
On Fri, Jul 31, 2009 at 05:54:28PM +0200, Mikael Hall wrote: Hi! Thanks for the quick reply! I have a index.html file in /home/mikael/mylispsystem/mychicken/web , e.g (use spiffy) (root-path /home/mikael/mylispsystem/mychicken/web) (server-port 8080) (start-server) but when i visit

Re: [Chicken-users] spiffy help

2009-07-31 Thread Peter Bex
On Fri, Jul 31, 2009 at 06:22:00PM +0200, Mikael Hall wrote: Im using firefox on the latest ubuntu. I'm not sure what version of spiffy and intarweb you're running, so try reinstalling both to see if that helps. If it doesn't help, let me know. It's probably a bug which I will fix on monday.

Re: [Chicken-users] 4.1.0rc1

2009-07-05 Thread Peter Bex
On Thu, Jul 02, 2009 at 03:03:09PM +0200, felix winkelmann wrote: Hi! The release candidate for 4.1.0 is available now at http://www.call-with-current-continuation.org/chicken-4.1.0rc1.tar.gz If you have a few minutes, download it and give it a try. Whew! Found another tricky bug. It

Re: [Chicken-users] 4.1.0rc1

2009-07-04 Thread Peter Bex
On Thu, Jul 02, 2009 at 03:03:09PM +0200, felix winkelmann wrote: Hi! The release candidate for 4.1.0 is available now at http://www.call-with-current-continuation.org/chicken-4.1.0rc1.tar.gz If you have a few minutes, download it and give it a try. I ran the full bootstrap process on a

Re: [Chicken-users] Imlib2 Egg Question

2009-07-03 Thread Peter Bex
On Thu, Jul 02, 2009 at 07:28:48PM -0400, bill wrote: Hi, Quick question - is there any plan to add the imlib-context-set calls to the imlib2 egg? Or in other words, how do you connect the image to a X-window? Currently, I don't have any plans for extending the imlib2 egg. However, I

Re: [Chicken-users] Imlib2 Egg Question

2009-07-03 Thread Peter Bex
On Fri, Jul 03, 2009 at 11:02:42AM +0200, Peter Bex wrote: Currently, I don't have any plans for extending the imlib2 egg. However, I do think exposing the ugly guts of imlib's context stuff is a good idea. D'oh! Of course, that should be I *don't* think exposing the ugly guts... Cheers

Re: [Chicken-users] Clojure

2009-07-02 Thread Peter Bex
On Thu, Jul 02, 2009 at 04:12:17PM -0400, bill wrote: Hi all, It got me thinking, however.Java is a complex abomination, but it does have one thing in it's favor - the JVM and the endless libraries you'll find there.Whenever I tell people how great Chicken Scheme is they always

[Chicken-users] Re: [Chicken-hackers] Chicken 4 development snapshots

2009-06-26 Thread Peter Bex
On Fri, Jun 26, 2009 at 10:30:36AM +0900, Ivan Raikov wrote: The Chicken development snapshot script has been adapted to Chicken 4. From now on, Chicken 4 snapshots will be built and linked to on the development snapshots page: http://chicken.wiki.br/dev-snapshots/ hurray! Thanks,

Re: [Chicken-users] Re: Trouble with easyffi

2009-06-26 Thread Peter Bex
On Fri, Jun 26, 2009 at 03:28:45PM -0400, bill wrote: Hi, If this does not help, I can put together a small app that I can send you. Well, it's all rather fragmentary and hard to tell what's wrong. Did you try trunk chicken, BTW? One of the failing programs is my own editor and a bit too

[Chicken-users] Re: Trouble with easyffi

2009-06-25 Thread Peter Bex
On Thu, Jun 25, 2009 at 03:44:51PM -0400, bill wrote: Hi again, I removed easyffi and started over. These are the warning I get when I compile: I'm not sure, did I miss something? Where is the code you're trying to compile? Cheers, Peter -- http://sjamaan.ath.cx -- The process of

Re: [Chicken-users] Native Threads and Concurrent Processing

2009-06-21 Thread Peter Bex
On Sun, Jun 21, 2009 at 11:51:14AM -0400, Glen Foy wrote: Ten years from now we are going to have multicore machines with a dazzling number of processors. Native threads and concurrent processing support will be increasingly important. I sure would like to see Chicken support native

Re: [Chicken-users] where can I find mysql egg?

2009-06-20 Thread Peter Bex
On Fri, Jun 19, 2009 at 09:56:08AM +0800, Changying Li wrote: Hi. I'm a newbie of chicken and using chicken 4.0.0. I got mysql eggs from: http://www.call-with-current-continuation.org/eggs/mysql.egg but failed to install it: chicken-install -t local -l file:///tmp/mysql.egg

Re: [Chicken-users] Wiki Syntax and Chicken for Python Programmers

2009-06-18 Thread Peter Bex
On Thu, Jun 18, 2009 at 05:23:29PM -0400, Jack Trades wrote: On Thu, Jun 18, 2009 at 5:05 PM, Jim Ursetto zbignie...@gmail.com wrote: Why do you need parameters? Unless I'm misunderstanding; to colorize cells and align text. It might seem trivial but the document is basically

Re: [Chicken-users] chicken-install ssax

2009-06-12 Thread Peter Bex
On Fri, Jun 12, 2009 at 04:15:42PM +0200, Wietse Jacobs wrote: Hello, When I try to 'chicken-install ssax' I get the following error: [snip] Warning: reference to possibly unbound identifier: RES-NAME-SXML4022 Warning: reference to possibly unbound identifier: namespaces4021 Error:

Re: [Chicken-users] Explicit Renaming Macros Help/Tutorial?

2009-06-08 Thread Peter Bex
On Sun, Jun 07, 2009 at 07:35:22PM -0400, Will M Farr wrote: Good luck with your search for an ER-macro tutorial. I'm a little surprised nobody mentioned Foof's long post about macro systems, yet: http://lists.gnu.org/archive/html/chicken-users/2008-04/msg00013.html Hope this helps! Cheers,

Re: [Chicken-users] Re: Scope problem?

2009-06-02 Thread Peter Bex
On Tue, Jun 02, 2009 at 08:38:18AM +, felix wrote: IIRC all of this is documented, but not in an easy to comprehend manner and all over the place in the manual. We will have to improve this. I have a question about that; I noticed there's a 'manual' directory in the Chicken tree also. I am

Re: [Chicken-users] Scope problem?

2009-05-31 Thread Peter Bex
On Sun, May 31, 2009 at 04:11:27PM -0600, Matt Gushee wrote: So, do I need further education, or should I report a bug? I think we need to see the actual code to your fastcgi port to know more. By the way, string-length is a R5RS procedure, so you shouldn't need srfi-13. (which makes it

Re: [Chicken-users] Scope problem?

2009-05-31 Thread Peter Bex
On Sun, May 31, 2009 at 05:06:37PM -0600, Matt Gushee wrote: Sorry, it wasn't string-length, it was string-index. OK, that clarifies it a bit ;) -- BEGIN fastcgi.scm [ copyright notice omitted ] ( import scheme chicken

Re: [Chicken-users] Chicken-setup

2009-05-30 Thread Peter Bex
On Sat, May 30, 2009 at 06:36:51PM -0400, bill wrote: Hi all, I've just moved my system to Xubuntu. The Ubuntu repository is running 3.2.7!!! I downloaded chicken-4.0.0, which I've been running for some time, but it does not seem to build chicken-setup. How do I get a new clean copy

Re: [Chicken-users] scrutiny

2009-05-29 Thread Peter Bex
On Fri, May 29, 2009 at 04:18:55PM +0200, felix winkelmann wrote: Hello! I have merged the recent work on the scrutiny branch into trunk (r14828). Scrutiny is a lightweight local conservative (read: simple) flow analysis pass over the internal representation of the code and performs a check

Re: [Chicken-users] tinyclos

2009-05-26 Thread Peter Bex
On Tue, May 26, 2009 at 01:04:58PM +0200, felix winkelmann wrote: Hello! I have imported an initial try at porting tinyclos to chicken 4 in release/3/tinyclos/trunk. Running tinyclos-examples.scm gives me an error though, so I think something is not working correctly. Is anybody

Re: [Chicken-users] ncurses egg build failure

2009-05-24 Thread Peter Bex
On Sun, May 24, 2009 at 12:38:35PM -0600, Matt Gushee wrote: Hi, all-- I am trying to install the current (4.0) ncurses egg on Linux (2 different Linux boxes, one running Arch Linux, the other Slackware 12, both reasonably up-to-date systems), and I get the following on both systems:

Re: [Chicken-users] ncurses egg build failure

2009-05-24 Thread Peter Bex
On Sun, May 24, 2009 at 09:47:50PM +0300, Andri Möll wrote: Hello, I encountered the same issue a few days ago. Sjamaan from #chicken recommended upgrading to the SVN version. If after upgrading the compilation stumbles upon a missing binding of 'err', replace (define ERR err) with (define

Re: [Chicken-users] ncurses egg build failure

2009-05-24 Thread Peter Bex
On Sun, May 24, 2009 at 01:11:12PM -0600, Matt Gushee wrote: It's a bug in Chicken 4.0.0. Try updating your Chicken to trunk, the bug was fixed a while ago. Thanks, I'm trying that. One question, though: when performing a minor upgrade like this, is it necessary (or a good idea) to

Re: [Chicken-users] Embedding spiffy

2009-05-14 Thread Peter Bex
On Thu, May 14, 2009 at 11:16:00AM +0200, Petter Egesund wrote: Hi, I would like to embed spiffy on client-side. Is there a way to compile the ssp-files, so I don't have to enclose the chicken environment? I'm not sure what you mean by enclose the chicken environment, but I just tried and

[Chicken-users] Re: Could we keep old URLs in the wiki working?

2009-05-06 Thread Peter Bex
feel so strongly about this, why not implement my suggestion to redirect egg pages automatically? This will give us the best of both worlds; it keeps maintenance low and the URIs unchanged. Cheers, Peter Bex -- http://sjamaan.ath.cx -- The process of preparing programs for a digital computer

Re: [Chicken-users] Re: Could we keep old URLs in the wiki working?

2009-05-06 Thread Peter Bex
On Wed, May 06, 2009 at 11:06:35AM +0200, Alejandro Forero Cuervo wrote: When I moved all users in the wiki from /foo to /users/foo, I took the time to create symlinks from the old locations to the new, so that people using the old URLs would be automatically redirected to the right

Re: [Chicken-users] utf8/url interaction: SEGV

2009-04-22 Thread Peter Bex
On Tue, Apr 21, 2009 at 06:51:37PM -0500, Peter Danenberg wrote: The following is sufficient to segfault my local chicken (3.4.0): (require-extension utf8 url) (url http://localhost;) Loading url without utf8 works fine; anyone know what sort of interaction might cause that? Are you

Re: [Chicken-users] Which eggs to migrate from Chicken 3 first?

2009-04-22 Thread Peter Bex
On Wed, Apr 22, 2009 at 12:11:12PM -0400, John Cowan wrote: I have excluded all eggs shown in the current Chicken 4 egg list, as well as syntax-case. [..eggs about which I have absolutely no say omitted..] 52 eggdoc I believe this was ported yesterday. 36 uri This could be

Re: [Chicken-users] Spiffy is crashing

2009-04-15 Thread Peter Bex
On Wed, Apr 15, 2009 at 11:10:52AM +0200, Petter Egesund wrote: With the message: Index out of range: (/search.ssp -1) This happends before I even get started. It seems it is the line: (use utf8) that makes the trouble. If I exclude this one (which I unfortunately need) it works fine.

Re: [Chicken-users] SRFI-19

2009-04-14 Thread Peter Bex
On Tue, Apr 14, 2009 at 02:20:37AM -0500, Eduardo Cavazos wrote: Hello, I installed the SRFI-19 egg a little while ago on Chicken 3.4.0. However, it seems that basic procedures like 'current-time' aren't available: ~ # csi CHICKEN (c)2008 The Chicken Team (c)2000-2007 Felix L.

Re: [Chicken-users] SRFI-19

2009-04-14 Thread Peter Bex
On Tue, Apr 14, 2009 at 07:16:37AM -0700, Kon Lovett wrote: The '(use ...' has been inactive for some time. The setup specifies 'require-at-runtime' which is sufficient to load the components. Please tell me more about systems where this is not true. (MacOS 10.5 shouldn't be one of

Re: [Chicken-users] Ann.: CHICKEN 4.0.0 released

2009-04-06 Thread Peter Bex
On Mon, Apr 06, 2009 at 01:26:25AM +0200, felix winkelmann wrote: Yo! Version 4.0.0 of CHICKEN, the portable and practical Scheme system has been released. In addition to many bugfixes and cleaning up, it provides the following significant changes: Congratulations on this fine release!

[Chicken-users] Stale static wiki files?

2009-04-06 Thread Peter Bex
Hi, I got a heads up that there are still some pages on the wiki that seem to be stale or something. For example, http://chicken.wiki.br/The%20User's%20Manual still exists, but there's no corresponding file in the wiki dir. It's also not a redirect or something, since it shows a different date

Re: [Chicken-users] Re: testing release candidate for 4.0.0

2009-03-26 Thread Peter Bex
On Thu, Mar 26, 2009 at 10:19:08AM +0100, felix winkelmann wrote: On Wed, Mar 25, 2009 at 9:08 PM, Aleksej Saushev a...@inbox.ru wrote: Error: (import) during expansion of (import ...) - cannot import from undefined module: scheme Is the build installed in /usr/pkg/lib, or is this

Re: [Chicken-users] Re: Wiki (early) spring cleaning!

2009-03-12 Thread Peter Bex
On Thu, Mar 12, 2009 at 02:58:25PM +0300, Aleksej Saushev wrote: Hello! Hi ASau :) Is Chicken 4 out? I'm writing code, that is to enter production, and I'm using 3.4.0, since there was no newer release announced. It wasn't announced because it's not out yet. It will be released Real

Re: [Chicken-users] Maintaining my eggs in a separate repository

2009-03-12 Thread Peter Bex
On Mon, Mar 09, 2009 at 10:12:56PM +0100, Alejandro Forero Cuervo wrote: I won't be maintaining separate wiki pages for the same egg (in different locations in eggref/); I feel it significantly undermines the point of the wiki. I will be treating the Chicken Eggs repository (both release/*

Re: [Chicken-users] Wiki (early) spring cleaning!

2009-03-11 Thread Peter Bex
On Wed, Mar 11, 2009 at 08:05:28AM +0100, felix winkelmann wrote: On Tue, Mar 10, 2009 at 3:06 PM, Peter Bex peter@xs4all.nl wrote: No problem. ?Can we do the same thing for the manual, soon? I volunteer to do that as well, but would like to know if there are gotchas like the Eggs

Re: [Chicken-users] Wiki (early) spring cleaning!

2009-03-10 Thread Peter Bex
On Sat, Feb 28, 2009 at 08:48:26PM +0100, Peter Bex wrote: Hi all, The cleanup I'm suggesting does not necessarily have to be major, the immediate proposal of this mail is simply to move all the eggdocs to a new subdirectory eggref/3, to match eggref/4 and also to match the egg structure

Re: [Chicken-users] Wiki (early) spring cleaning!

2009-03-10 Thread Peter Bex
On Tue, Mar 10, 2009 at 02:21:51PM +0100, felix winkelmann wrote: On Tue, Mar 10, 2009 at 9:53 AM, Peter Bex peter@xs4all.nl wrote: This has been implemented now. For example, you can visit http://chicken.wiki.br/eggref/3/9p to view the Chicken 3 documentation for the 9p egg

Re: [Chicken-users] Threads and dynamic-wind still problematic

2009-03-10 Thread Peter Bex
On Tue, Mar 10, 2009 at 04:43:00PM -0500, Jim Ursetto wrote: Hi Peter. You might disagree with the rationale, but the behavior is in fact consistent--your example only happens to work at the REPL. Jim, thanks for that explanation. It cleared up a lot! Cheers, Peter -- http://sjamaan.ath.cx

Re: [Chicken-users] Threads and dynamic-wind still problematic

2009-03-08 Thread Peter Bex
On Sun, Mar 08, 2009 at 12:10:39AM +0100, felix winkelmann wrote: Ok, here is what Marc Feeley, the author of SRFI-18 has to say about this: snip Hope that clarifies things. Hope that clarifies things. Yup, thanks for asking him. It still sucks, though ;) Cheers, Peter --

[Chicken-users] Threads and dynamic-wind still problematic

2009-03-02 Thread Peter Bex
Hi, I just got bitten by this problem: http://lists.gnu.org/archive/html/chicken-users/2008-04/msg00023.html I'm increasing and decreasing a mutex value based on how many threads are doing some work. When they stop working, the mutex is decreased and when they start, the mutex is increased. I

[Chicken-users] Wiki (early) spring cleaning!

2009-02-28 Thread Peter Bex
Hi all, Our wiki has grown considerably since it was first set up, and I think it has become a bit unwieldy. Right now the wiki part of our subversion tree contains 493 entries (including directories). The bulk of this is documentation for eggs; a quick grep tells me that 266 of these entries

Re: [Chicken-users] http egg and closed persistent connections

2009-02-24 Thread Peter Bex
On Mon, Feb 23, 2009 at 01:26:11PM -0800, Drew Hess wrote: John Cowan co...@ccil.org writes: (It'd be nice if this behavior were documented in the wiki, by the way. The documentation says that the header value returned by http:send-request is always a string.) The reason it's a wiki

Re: [Chicken-users] http egg and Connection: close header

2009-02-24 Thread Peter Bex
On Mon, Feb 23, 2009 at 01:44:10PM -0800, Drew Hess wrote: I think that http-client should look for (Connection . close) in the client's request headers and close the connection explicitly upon finishing the request. It doesn't do that right now. If the server doesn't respond with a close of

Re: [Chicken-users] http egg and the Host request-header field

2009-02-23 Thread Peter Bex
On Sun, Feb 22, 2009 at 02:02:22PM -0800, Drew Hess wrote: Because the http egg always applies the port to the Host header, there's no workaround for these broken web apps. Attached is a patch for http so that it elides the port when it's the default. Thanks a lot for the detailed report and

Re: [Chicken-users] http egg and closed persistent connections

2009-02-23 Thread Peter Bex
On Mon, Feb 23, 2009 at 12:59:58AM -0800, Drew Hess wrote: Hi, As you can see, I'm continuing to hack on the http egg. I've got one more patch coming after this one. Keep 'em coming :) Some HTTP servers will drop a connection even when they've indicated it'll be persistent. For example,

Re: [Chicken-users] http egg and closed persistent connections

2009-02-23 Thread Peter Bex
On Mon, Feb 23, 2009 at 10:54:56AM -0500, John Cowan wrote: Drew Hess scripsit: Some HTTP servers will drop a connection even when they've indicated it'll be persistent. For example, the nytimes.com web servers send a Connection: keep-alive header when the client sends an HTTP/1.0

Re: [Chicken-users] Optimal C

2009-02-23 Thread Peter Bex
On Mon, Feb 23, 2009 at 03:02:01PM -0500, John Cowan wrote: Rick R scripsit: Something like Stalin, which has reduced need for GC is currently my best hope for converting to a ref counting scheme. I'll ask around on comp.lang.functional. There is also Pre-Scheme, which compiles

Re: [Chicken-users] Optimal C

2009-02-23 Thread Peter Bex
On Mon, Feb 23, 2009 at 03:18:14PM -0500, John Cowan wrote: What svn magic is needed to access unreleased eggs? This egg is not mentioned on either the 3.x or the 4.x Eggs Unlimited page. You can simply make a checkout of the interesting part of the egg repository, in this case the following

Re: [Chicken-users] Optimal C

2009-02-23 Thread Peter Bex
On Mon, Feb 23, 2009 at 03:41:26PM -0500, John Cowan wrote: Peter Bex scripsit: svn co https://galinha.ucpel.tche.br/svn/chicken-eggs/release/3/prescheme-compiler Thanks. Doesn't look like much has happened here, except that it's based on some pre-1.8 release, given the copyright date

Re: [Chicken-users] Spiffy + Windows

2009-02-21 Thread Peter Bex
On Fri, Feb 20, 2009 at 10:52:27PM -0300, Rafael Ibraim wrote: Hello ! Is possible to run spiffy in MS windows ? I've tried the normal setup (using chicken-setup), but apparently there is an error in one file... a missing #define... I tried google and find some patches, but none worked for me.

Re: [Chicken-users] optimizing mutually recursive loops

2009-02-17 Thread Peter Bex
On Tue, Feb 17, 2009 at 04:27:40PM +, Alaric Snell-Pym wrote: 2) Yet it'd also be nice to automate some of this by establishing a group of states as a form of lexical scope, declaring some state variables for that scope, and having the states within that scope, when they call each other,

Re: [Chicken-users] Cryptographic eggs

2009-02-09 Thread Peter Bex
On Sun, Feb 08, 2009 at 08:00:55PM +, Alaric Snell-Pym wrote: For S3, I'll need to implement the S3 protocol, which is mainly HTTP PUTs and GETs with special HTTP request headers for authenticating the requests. For some reason that daunts me (in my experience, it's often a pain getting

Re: [Chicken-users] http egg can't parse valid HTTP headers

2009-02-06 Thread Peter Bex
On Thu, Feb 05, 2009 at 04:28:59PM -0800, Drew Hess wrote: Hi Peter, Yes, that fix works for the particular case I was having a problem with. Thanks for updating the egg. Any idea when it'll be released? I just released it. It should appear in the egg repository shortly. Thanks for

Re: [Chicken-users] http egg can't parse valid HTTP headers

2009-02-05 Thread Peter Bex
On Wed, Feb 04, 2009 at 11:27:24PM -0800, Drew Hess wrote: Hi, The regex used to parse HTTP headers in http:read-request-attributes in the http egg isn't quite right. (let ((rx (if (feature? 'pregexp) ([\\-A-Za-z0-9]+):[ ]*([^ ].*) ([-A-Za-z0-9]+):[ ]*([^

Re: [Chicken-users] chicken does not compile anymore

2009-02-01 Thread Peter Bex
On Sun, Feb 01, 2009 at 06:09:34AM +0100, J?rg F. Wittenberger wrote: 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

Re: [Chicken-users] A call to arms

2009-01-22 Thread Peter Bex
On Thu, Jan 22, 2009 at 12:40:27PM +0100, Tobia Conforto wrote: Ok, since you asked for it... here are some random thoughts on an ideal web application framework Cool, I've been having plans for web application framework development in Chicken for a long time. - No database/SQL (except

Re: [Chicken-users] A call to arms

2009-01-22 Thread Peter Bex
On Thu, Jan 22, 2009 at 07:18:54AM -0500, Andrew Gwozdziewycz wrote: I want to use git as a replacement to the db backend (tracking the xml). I was with you until this. I want a storage backend that just works, be it stored in XML, metakit, Sqlite, MySQL, Postgres, Berkeley DB. But

Re: [Chicken-users] A call to arms

2009-01-22 Thread 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 them the information to choose for themselves. But, on the other

Re: [Chicken-users] A call to arms

2009-01-22 Thread Peter Bex
On Thu, Jan 22, 2009 at 03:38:37PM -0500, Andrew Gwozdziewycz wrote: Certainly true, but let me ask you this. If you were planning to use an ASCII file as a storage engine, what details would you include? Would you not include a way to join other ASCII files, or do some sort of search? Would

Re: [Chicken-users] number-string bug

2009-01-07 Thread Peter Bex
On Tue, Jan 06, 2009 at 09:20:32PM -0600, Kevin Beranek wrote: Below is a test case followed by some sample output. One interesting thing to note about the output is that (number-string 99 2) produced two different values (2 and 75). Also of note is that I've tried various constructions of

Re: [Chicken-users] Chicken for Python Programmers

2008-12-30 Thread Peter Bex
On Tue, Dec 30, 2008 at 02:01:48PM +0100, felix winkelmann wrote: I plan to continue working on the document, but I've been sidetracked developing a DSL for an evolutionary programming language, which I also plan to document in this format. If you'd like to comment or contribute I'd be

Re: [Chicken-users] Egg Installation Problem

2008-12-29 Thread Peter Bex
On Mon, Dec 29, 2008 at 04:14:07PM +0100, felix winkelmann wrote: On Wed, Dec 24, 2008 at 4:20 PM, William Ramsay ramsa...@comcast.net wrote: Well, that at least tells me what's wrong. It turns out that I have two versions of chicken running - 2.6 and 3.4. The newer version is running in

Re: [Chicken-users] handle unbound variable exception for undefined procedures?

2008-12-24 Thread Peter Bex
On Wed, Dec 24, 2008 at 11:53:15AM +0100, Tobia Conforto wrote: Mind you, this is the simplest implementation possible, without inheritance, polymorphism or anything useful. But if you find (or write) a full-fledged object system that works like this (probably based on table lookup

Re: [Chicken-users] How to do CGI stuffs?

2008-12-21 Thread Peter Bex
On Sat, Dec 20, 2008 at 09:10:56PM -0600, Lam Luu wrote: Hello everyone! This is the first time I use mailing list, and I hope I have everything correct! Please pardon any mistake I make. Welcome to the lists :) Anyway, I am trying to do CGI with Chicken Scheme. I have been trying to find

Re: [Chicken-users] SRFI-42 and Importing in Chicken 4

2008-12-16 Thread Peter Bex
On Mon, Dec 15, 2008 at 07:16:11PM -0600, Jack Trades wrote: I think I've got it. So this is the correct way of importing? (require-library srfi-1) (module test (t d) (import scheme) (import (prefix srfi-1 lists.)) (define (t aList) (lists.take aList 3)) (define (d aList)

Re: [Chicken-users] SRFI-42 and Importing in Chicken 4

2008-12-16 Thread Peter Bex
On Tue, Dec 16, 2008 at 09:45:31AM +0100, felix winkelmann wrote: I'm not sure if chicken-setup is still the preferred way to install eggs. I think Felix wrote a new tool, but I haven't tried it out yet because chicken-setup still works fine for me (but I install from the subversion tree,

Re: [Chicken-users] SRFI-42 and Importing in Chicken 4

2008-12-15 Thread Peter Bex
On Mon, Dec 15, 2008 at 04:03:01PM -0600, Jack Trades wrote: I just got Chicken 4 compiled and am having some problems with importing. #;1 (import srfi-1) ; loading /usr/local/lib/chicken/4/srfi-1.import.so ... #;2 (take '(1 2 3) 2) Error: unbound variable: take The docs say Importing a

Re: [Chicken-users] Newbie HTML-form questions

2008-12-11 Thread Peter Bex
On Thu, Dec 11, 2008 at 09:21:31AM +0100, Basile STARYNKEVITCH wrote: Hello All, (I'm sending a couple of questions, each unrelated question in a separate email. I hope it is right). Again some newbie questions regarding Chcken and HTML/HTTP: * using html-form and http-server, how do I

Re: [Chicken-users] newbie thread questions?

2008-12-11 Thread 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 code without being blocked by a slow system call? Don't know.

Re: [Chicken-users] How to compile Chicken 4 from svn?

2008-12-11 Thread Peter Bex
On Tue, Dec 09, 2008 at 11:48:38PM -0600, Jack Trades wrote: Could someone please walk me through compiling the latest version of Chicken on (K)Ubuntu. I've read the readme and I think I'm missing something, I don't have much experience with building from source. $ mkdir ~/chicken $ svn co

Re: [Chicken-users] newbie to chicken - Error: unbound variable: export

2008-12-09 Thread Peter Bex
On Tue, Dec 09, 2008 at 08:32:51AM +0100, Basile STARYNKEVITCH wrote: Hello All, Hi there, So far I just coded lots of code elided (export compile-file) The problem is that export is only recognised inside a (declare) form, which itself only works in compiled code. See

Re: [Chicken-users] do we need a wiki branch?

2008-11-15 Thread Peter Bex
On Thu, Oct 16, 2008 at 09:42:37AM +0900, Ivan Raikov wrote: I have also modified the egg-post-commit script on galinha, so that now only release 3 eggs are updated by this script. This means that the egg index at http://chicken.wiki.br/Eggs Unlimited 4 will not be automatically updated

Re: [Chicken-users] chicken-setup failiing to install egg

2008-11-10 Thread Peter Bex
On Mon, Nov 10, 2008 at 10:53:08AM +0100, Alejandro Forero Cuervo wrote: Good to see you. Thanks. :-) yep, good to see you're back! Cheers, Peter -- http://sjamaan.ath.cx -- The process of preparing programs for a digital computer is especially attractive, not only because it can be

Re: [Chicken-users] faster threading

2008-11-02 Thread Peter Bex
On Sun, Nov 02, 2008 at 01:22:10AM -0500, John Cowan wrote: felix winkelmann scripsit: On Sat, Nov 1, 2008 at 2:51 PM, Marc Feeley [EMAIL PROTECTED] wrote: I'm glad you decided to use the red-black tree implementation from Snow. As you know this code was originally written by the

Re: [Chicken-users] Bug in canonical-path?

2008-10-29 Thread Peter Bex
On Wed, Oct 29, 2008 at 11:03:30AM +0100, felix winkelmann wrote: On Wed, Oct 29, 2008 at 9:04 AM, Ivan Raikov [EMAIL PROTECTED] wrote: Hi all, I have been meaning to port the Haskell FilePath library to Chicken, because I find its API to be quite elegant and better organized than

Re: [Chicken-users] Repository mirror

2008-10-29 Thread Peter Bex
On Wed, Oct 29, 2008 at 03:00:27PM +0100, felix winkelmann wrote: Hello! Thanks to Alaric and Mario, we have a mirror site for SVN access now: http://chicken.kitten-technologies.co.uk/ The repository is updated hourly and allows read-only access, in case there are problems with galinha

Re: [Chicken-users] Bug in canonical-path?

2008-10-26 Thread Peter Bex
On Sun, Oct 26, 2008 at 01:19:42AM -0700, Elf wrote: ~$ touch abc\\298.test csi (find-files . regular-file? (lambda (x y)(print x) (print (file-stat (canonical-path x) ./abc\298.test Error: (file-stat) cannot access file - No such file or directory:

Re: [Chicken-users] basic Scheme question

2008-10-24 Thread Peter Bex
On Thu, Oct 23, 2008 at 10:27:18PM -0700, Shawn Rutledge wrote: #;10 (begin (define update #f) (let ([v 'foo]) (set! update (lambda (d s) (printf ~s was ~s~% d (eval d)) (set! d s) #;11 (update 'v 'bar) Error: unbound variable: v What I'm trying to do is pass the name of a let-bound

Re: [Chicken-users] raw strings

2008-10-10 Thread Peter Bex
On Fri, Oct 10, 2008 at 09:07:59AM +0200, felix winkelmann wrote: Hello! Since escaping backslashes inside string literals can get tedious, I wondered wether a non-escaping string-syntax might be handy. Something like: # ...(doesn't treat backslashes special, with the

Re: [Chicken-users] raw strings

2008-10-10 Thread Peter Bex
On Fri, Oct 10, 2008 at 04:36:02PM +0900, Alex Shinn wrote: Peter Bex [EMAIL PROTECTED] writes: Could you give an example in which you need this? As a wild guess, regular expressions? The syntax of regexps is really horrible for any language which represents them as plain strings

Re: [Chicken-users] command-line-arguments

2008-10-10 Thread Peter Bex
On Fri, Oct 10, 2008 at 04:04:13PM +0200, Wietse Jacobs wrote: Hello, I've put the following in a file and compiled it with chicken: (begin (display (command-line-arguments)) (exit)) when I run this with: test.exe 1 argument I get: (1 argument) But this looks like a list of 2

Re: [Chicken-users] raw strings

2008-10-10 Thread Peter Bex
On Fri, Oct 10, 2008 at 11:29:57PM +0900, Alex Shinn wrote: We do have the regex-literals egg... Do you propose adding that to core Chicken? I wasn't proposing adding anything :) If Chicken switches to irregex, then we can just use SREs and be rid of the ugliness of regex syntax

Re: [Chicken-users] srfi-98?

2008-09-23 Thread Peter Bex
On Tue, Sep 23, 2008 at 10:42:22AM +0200, felix winkelmann wrote: Hi! What do people think of http://srfi.schemers.org/srfi-98/ Even though getenv is more widespread, following the SRFI might be the right way. Agreed. Perhaps now is a good time to start thinking about some kind of

Re: [Chicken-users] srfi-98?

2008-09-23 Thread Peter Bex
On Tue, Sep 23, 2008 at 02:15:58PM +0200, felix winkelmann wrote: On Tue, Sep 23, 2008 at 10:50 AM, Peter Bex [EMAIL PROTECTED] wrote: Even though getenv is more widespread, following the SRFI might be the right way. Agreed. Perhaps now is a good time to start thinking about some kind

Re: [Chicken-users] base64 import problem with chicken-hygienic

2008-08-27 Thread Peter Bex
On Wed, Aug 27, 2008 at 12:11:02PM -0400, Graham Fawcett wrote: Hi folks, it looks like base64 under chicken-hygienic doesn't import properly -- I get the import.so but not the real one. (import) is a statement that imports the module into the current module. For that to work, you must have

Re: [Chicken-users] chicken-setup in the hygienic branch

2008-08-27 Thread Peter Bex
On Wed, Aug 27, 2008 at 07:05:35PM +0200, Tobia Conforto wrote: I cannot get it to work: $ chicken-setup.hy utf8 Error: unbound variable: ##sys#register-macro-2 That's the only line of output. Exit code = 70 What am I missing? You must recompile. First you compile Chicken 4 with your

Re: [Chicken-users] Hygienic Chicken's desftruct issue

2008-08-27 Thread Peter Bex
On Mon, Aug 25, 2008 at 05:49:14PM -0300, Alonso Andres wrote: On Mon, Aug 25, 2008 at 5:14 PM, Peter Bex [EMAIL PROTECTED] wrote: Perhaps you (or someone else on the list?) can think of a better name that can be prefixed, to remove all confusion? Ideally it'd be something which has been

Wiki HTML structure (Was: Re: [Chicken-users] hygienic egg PORT-A-MANIA!)

2008-08-26 Thread Peter Bex
On Mon, Aug 25, 2008 at 10:51:34PM -0700, Elf wrote: i wasnt aware that we weren't supposed to document eggs that way anymore, i thought it was just wiki preferred. all of my eggs are documented via eggdoc, not the wiki. only times i use the wiki for my own egg documentation is to spend

Re: [Chicken-users] hygienic egg PORT-A-MANIA!

2008-08-25 Thread Peter Bex
On Mon, Aug 25, 2008 at 11:38:53AM +0200, felix winkelmann wrote: Please contact me (or this list), if you need help or advice in the porting step. Note that this is also a convenient moment to get rid of obsolete extensions, or stuff that doesn't have a maintainer anymore. I'd like to stress

Re: [Chicken-users] Chicken 4: how to generate toplevel definitions?

2008-08-25 Thread Peter Bex
On Mon, Aug 25, 2008 at 09:47:18AM -0300, Mario Domenech Goulart wrote: Hi folks. Is it possible with chicken 4 to generate toplevel (or module-level) definitions from a macro (explicit renaming)? I mean, I'd like something like: (module gen-things * (define-syntax gen-thing

Re: [Chicken-users] Hygienic Chicken's desftruct issue

2008-08-25 Thread Peter Bex
On Mon, Aug 25, 2008 at 03:29:30PM -0300, Alonso Andres wrote: Hello, it seems that defstruct on a copy or set! operation doesn't let you set the value of a field to an empty list. Probably a fix for this would be iterating through the arguments list to know which keys weren't really

Re: [Chicken-users] Hygienic Chicken's desftruct issue

2008-08-25 Thread Peter Bex
On Mon, Aug 25, 2008 at 05:04:50PM -0300, Alonso Andres wrote: Hi Peter, it works perfectly now, thanks! I'd also like to suggest changing the procedure type-copy to copy-type, since the former seems like we're dealing with a field called copy (because the convention of creating procedures

<    5   6   7   8   9   10   11   12   >