[Chicken-users] Any way to draw lines with bb *without* using GL?

2007-09-04 Thread Matt Welland
I'd like to draw simple polygons etc. in bb but I can't figure out how. Here is some example code from the web that does the kind of thing I want to do. Can it be done using bb? Thanks, Matt -- // DEMONSTRATE HOW TO DRAW AN 'X' IN FLTK #include FL/Fl.H #include FL/fl_draw.H #include

[Chicken-users] Good way to code the equivalent to this?

2008-08-23 Thread Matt Welland
My attempts all use gigs of memory and run 10x as long. #!/usr/bin/perl -w print Filling the array with 25 entries.\n; foreach $n (0 .. 25) { $x = int(rand(50)); $y = int(rand(50)); $a{$x}{$y}=1; } print Reading from the arrary 1 times\n; $hits=0; foreach $n (0 ..

Re: [Chicken-users] Good way to code the equivalent to this?

2008-08-23 Thread Matt Welland
) #f))) (define maxval 50) (let loop ((x (random maxval)) (y (random maxval)) (n 0)) (sparse-array-set! vv x y #t) (if ( n 25) (loop (random maxval)(random maxval)(+ n 1 On Sat, Aug 23, 2008 at 2:35 PM, John Cowan [EMAIL PROTECTED] wrote: Matt

Re: [Chicken-users] Good way to code the equivalent to this?

2008-08-24 Thread Matt Welland
with the perl. Still useful though and I may be able to use that approach with a little foresight next time. On Sun, Aug 24, 2008 at 9:36 PM, Alex Shinn [EMAIL PROTECTED] wrote: Matt == Matt Welland [EMAIL PROTECTED] writes: Matt chicken: ~16 secs (when it didn't crash) Matt stk: ~17 secs Matt

Re: [Chicken-users] Scheme Code beautifier

2010-11-30 Thread matt welland
On xemacs I just do the following: M-x font-lock-mode (assuming you don't already have it on) select the code ctrl-M \ On Mon, 2010-11-29 at 20:45 -0500, Joe Python wrote: Is there a 'Scheme Code beautifier' where I can call within emacs to tidy up existing code with correct indentations?

Re: [Chicken-users] Scheme Code beautifier

2010-11-30 Thread matt welland
On xemacs I just do the following: M-x font-lock-mode (assuming you don't already have it on) select the code ctrl-M \ On Mon, 2010-11-29 at 20:45 -0500, Joe Python wrote: Is there a 'Scheme Code beautifier' where I can call within emacs to tidy up existing code with correct indentations?

[Chicken-users] lowest pain path to very simple 2d game/simulator on windows with Chicken?

2010-12-22 Thread matt welland
I have developed a very simple simulator for studying and solving some agricultural problems using chicken + ezxdisp. The work was received nicely and I'd like to take it to the next level by upping the graphics performance and quality and deploying on windows but I'm dreading the process

[Chicken-users] tinyclos error on chicken 4.6 on windows

2010-12-23 Thread matt welland
If I do (use tinyclos) I get an inexact-exact error. Every time the number reported appears different. This is using an install based on the instructions I found in the wiki for minwg + chicken which was very easy and worked first time. Kudos to the chicken devs on that. FYI I tried porting to

[Chicken-users] tinyclos on windows

2010-12-23 Thread Matt Welland
C:\Users\mattcsi CHICKEN (c)2008-2010 The Chicken Team (c)2000-2007 Felix L. Winkelmann Version 4.6.0 windows-mingw32-x86 [ manyargs dload ptables ] compiled Wed 12/22/2010 on hermes (MinGW) #;1 (use tinyclos) ; loading c:/chicken/lib/chicken/5/tinyclos.import.so ... ; loading

Re: [Chicken-users] tinyclos on windows

2010-12-26 Thread Matt Welland
17:11]: 2010/12/23 Matt Welland estifo...@gmail.com: C:\Users\mattcsi CHICKEN (c)2008-2010 The Chicken Team (c)2000-2007 Felix L. Winkelmann Version 4.6.0 windows-mingw32-x86 [ manyargs dload ptables ] compiled Wed 12/22/2010 on hermes (MinGW) #;1 (use tinyclos

Re: [Chicken-users] tinyclos on windows

2010-12-27 Thread Matt Welland
or objects anymore :) ya just can't trust they will be there and work in the future and you know they won't easily transfer to another implementation ... == On Mon, Dec 27, 2010 at 2:45 AM, Felix fe...@call-with-current-continuation.org wrote: From: Matt Welland estifo

[Chicken-users] 4.6.3 - regex behavior seems wrong

2010-12-27 Thread Matt Welland
I'm using the regex egg in 4.6.3 (use regex) Regexs seem to have implict ^ and $ at the start and end. This differs most most regex implementations I'm familiar with. ^\\s+# should match the line # Hello but does not. ___ Chicken-users mailing list

[Chicken-users] chicken 4.6.3 posix time-string overflows buffer

2010-12-27 Thread Matt Welland
#;7 (use posix) ; loading library posix ... #;8 (time-string (seconds-local-time 1293596970) %D) Error: (time-string) time formatting overflows buffer: #(30 29 21 28 11 110 2 3 61 #f 25200) Call history: syntax (time-string (seconds-local-time 1293596970.) %D)

Re: [Chicken-users] 4.6.3 - regex behavior seems wrong

2010-12-27 Thread Matt Welland
Ah, ok. Different from 3.4. Thanks. On Mon, Dec 27, 2010 at 10:39 PM, Alex Shinn alexsh...@gmail.com wrote: 2010/12/28 Matt Welland estifo...@gmail.com: I'm using the regex egg in 4.6.3 (use regex) Regexs seem to have implict ^ and $ at the start and end. This differs most most regex

Re: [Chicken-users] chicken 4.6.3 posix time-string overflows buffer

2010-12-28 Thread Matt Welland
On Tue, Dec 28, 2010 at 4:38 AM, Felix fe...@call-with-current-continuation.org wrote: From: Matt Welland estifo...@gmail.com Subject: [Chicken-users] chicken 4.6.3 posix time-string overflows buffer Date: Mon, 27 Dec 2010 22:28:17 -0700 #;7 (use posix) ; loading library posix ... #;8

Re: [Chicken-users] chicken 4.6.3 posix time-string overflows buffer

2010-12-29 Thread Matt Welland
I've switched to %x which doesn't crash. (time-string (seconds-local-time 1293596970) %x) 12/28/10 On Tue, Dec 28, 2010 at 8:27 AM, Matt Welland estifo...@gmail.com wrote: On Tue, Dec 28, 2010 at 4:38 AM, Felix fe...@call-with-current-continuation.org wrote: From: Matt Welland estifo

[Chicken-users] Anyone successfully installed iup on Windows?

2011-01-23 Thread Matt Welland
If so do you have a recipe as so far I haven't been able to figure it out. The last email related to this (Nov 10) did not look encouraging. ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

[Chicken-users] chicken+iup+sql-de-lite installer for windows available

2011-01-25 Thread Matt Welland
Thanks to a great deal of help from Thomas Chust I have a mostly working windows chicken installer that includes the iup and sql-de-lite eggs. Tested so far only on Windows 7. http://www.kiatoa.com/setup-chicken-iup.exe You will have to add C:\chicken and C:\chicken\bin to your windows path. You

[Chicken-users] Announce: chicken-iup installer 0.2 available

2011-01-31 Thread matt welland
This version integrates chicken 4.6.3, and the iup and data draw eggs into a single exe installer for windows. I have added a link on the call-cc.org binary downloads page to my fossil page here: http://www.kiatoa.com/cgi-bin/chicken-iup There are a couple of sample scripts in the

Re: [Chicken-users] How can I get an offline version of the manual

2011-02-07 Thread Matt Welland
Anyone wanting a chicken manual in pdf form right now can try the one I generated directly off the call-cc.org wiki: http://www.kiatoa.com/cgi-bin/chicken-iup/wiki?name=docs I made it to use on my kindle but unfortunately it is not optimal for that purpose. On Mon, Feb 7, 2011 at 8:53 AM, Jim

Re: [Chicken-users] Chicken-iup on Windows

2011-02-07 Thread Matt Welland
Hmmm, I'm sorry it didn't work for you out of the box. Of course it works seamlessly for me, murphys law at work :) When you ran the installer what path did you use for the install? It doesn't work in anything other than c:\chicken. Also, if you haven't already try adding C:\chicken\bin to your

[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

Re: [Chicken-users] awful as cgi or fcgi?

2011-02-20 Thread matt welland
On Sun, 2011-02-20 at 06:56 -0500, Mario Domenech Goulart wrote: On Sun, 20 Feb 2011 05:32:23 -0500 Mario Domenech Goulart mario.goul...@gmail.com wrote: On Sat, 19 Feb 2011 21:40:49 -0700 matt welland m...@kiatoa.com wrote: I read though the docs but didn't see mention of cgi

[Chicken-users] Possibly of interest to some, I put a couple of my chicken based projects online ...

2011-03-13 Thread matt welland
I've been waiting for some free time to clean it up before making some of my projects public but obviously that day will never come. So, for better or for worse I've put a few of my little projects at http://www.kiatoa.com/fossils/opensrc just in case they are of use to someone. Cheers, Matt

Re: [Chicken-users] Possibly of interest to some, I put a couple of my chicken based projects online ...

2011-03-16 Thread matt welland
Chicken and are now licensed GPL. Phew. That was fun to write. I wonder how many readers will make it this far? :) On Sun, Mar 13, 2011 at 09:51:51PM -0700, matt welland wrote: I've been waiting for some free time to clean it up before making some of my projects public but obviously that day

[Chicken-users] New version of chicken-iup available

2011-03-26 Thread Matt Welland
Chicken-4.6.5 Iup 3.4, Canvas-draw 5.4.1 Latest iup and canvas-draw eggs including a couple bug fixes (thanks go to Thomas Chust) Also includes a dozen eggs out of the box including sqlite3 and slime (untested on windows, let me know if it works...) http://www.kiatoa.com/cgi-bin/chicken-iup

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

2011-03-31 Thread Matt Welland
On Thu, Mar 31, 2011 at 7:53 AM, Stephen Eilert spedr...@gmail.com wrote: On Thu, Mar 31, 2011 at 11:34 AM, John Cowan co...@mercury.ccil.org wrote: Peter Bex scripsit: We're actually still looking for a good way to handle this.  Currently egg authors must contact one of the usual suspects to

Re: [Chicken-users] Generic RDBMS Interface [Was: Re: Creating Windows GUI App]

2011-03-31 Thread Matt Welland
That is ironic. One of the things I was going to try to make available via the new egg system was my dbi egg (http://www.kiatoa.com/cgi-bin/fossils/opensrc/dir?ci=c7f1edfb8c6e036bname=dbi). However anything Thomas puts together will be much, uh, fresher and faster :) On Thu, Mar 31, 2011 at 4:05

Re: [Chicken-users] Generic RDBMS Interface [Was: Re: Creating Windows GUI App]

2011-04-01 Thread matt welland
On Fri, 2011-04-01 at 14:35 +0200, Thomas Chust wrote: [...] There will be one important architectural difference: I want to make the selection of the backend driver modular and dynamic so that adding a new driver never requires any changes in the DBI egg's code and ideally using the new

Re: [Chicken-users] Generic RDBMS Interface [Was: Re: Creating Windows GUI App]

2011-04-01 Thread Matt Welland
- Original message - 2011/4/1 Jim Ursetto zbignie...@gmail.com: On Apr 1, 2011, at 7:47 AM, Thomas Chust wrote: There is at least one small point that I would want to do differently, though: In my opinion it has some value if the procedure establishing the database

[Chicken-users] Cross platform way to make a notification sound?

2011-04-05 Thread Matt Welland
Is there an existing way to trigger a system bell or otherwise make a (prefereably user selectable) notification sound in chicken scheme on Linux and Windows? Thanks, Matt -=- ___ Chicken-users mailing list Chicken-users@nongnu.org

[Chicken-users] srfi-19 giving error

2011-04-05 Thread Matt Welland
On Linux (Ubuntu 2.6.32-31 32 bit) I get the error seen below. Oddly enough srfi-19 installed fine on chicken-iup using chicken 4.6.5 on Windows 7. I suspect on a fresh install of chicken it will fail. When installed to an existing (as of a few days ago) install of chicken it is fine. Suggestions

[Chicken-users] (use iup)(exit) in csi in windows causes termination error.

2011-04-14 Thread Matt Welland
Note, this is using the chicken-iup install from www.kiatoa.com/cgi-bin/chicken-iup, chicken 4.6.5, iup 3.4. Is there a special shutdown procedure to follow? #;1 (use iup) ; loading C:/chicken/lib/chicken/6/iup.import.so ... ; loading C:/chicken/lib/chicken/6/scheme.import.so ... ; loading

Re: [Chicken-users] Error installing glut egg on Windows 7 64-bit

2011-05-04 Thread Matt Welland
On Wed, May 4, 2011 at 6:42 AM, Steve Graham jsgraha...@yahoo.com wrote: --- On Wed, 5/4/11, Felix fe...@call-with-current-continuation.org wrote: From: Felix fe...@call-with-current-continuation.org Subject: Re: [Chicken-users] Error installing glut egg on Windows 7 64-bit To:

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

2011-05-05 Thread matt welland
On Thu, 2011-05-05 at 16:51 +0200, Peter Bex wrote: On Thu, May 05, 2011 at 11:33:54AM -0300, Stephen Eilert wrote: On Thu, May 5, 2011 at 7:06 AM, Felix That is possible, but would require a regularly updated master document somewhere on our server. Henrietta already provides a

[Chicken-users] Any easy way to use the Boost C++ library from chicken?

2011-05-20 Thread Matt Welland
I'd like to access the Boost computational geometry stuff (http://www.boost.org/doc/libs/1_46_1/libs/polygon/doc/index.htmI) from chicken but don't care too much about performance. I'm thinking of writing a small Boost app that connects to the chicken world via stdin/out. Can anyone suggest an

Re: [Chicken-users] Chicken-IUP installer is down

2011-05-25 Thread Matt Welland
Oops. Fixed. Sorry. On Wed, May 25, 2011 at 10:49 AM, Stephen Eilert spedr...@gmail.com wrote: As the title says, http://www.kiatoa.com/cgi-bin/chicken-iup/home is down. It says The database schema on the server is out-of-date. Please ask the administrator to run fossil rebuild. --Stephen

Re: [Chicken-users] Possible numbers bug

2011-05-27 Thread Matt Welland
Bit easier to compare the md5sum of the result :) Using 4.6.5 on 64bit: chlr11732 csi -b -n -q blah.scm | md5sum e8e0bb7648422c33ce821c53e7af02d0 - chlr11732 ./blah | md5sum e8e0bb7648422c33ce821c53e7af02d0 - stk (not stklos): ./blah2.stk | md5sum 75635ac7a6c8b9c3cc98227f92e272ab - (num is

Re: [Chicken-users] Possible numbers bug

2011-05-28 Thread Matt Welland
What was the final word on this? Is it a real issue on some platforms? Anyhow, I found this whole exercise pretty interesting and played with it a bit more and observed a couple curious things: 1. Performance (see below) of guile was better than the compiled chicken-4.6.5 for my code. It looked

Re: [Chicken-users] Possible numbers bug

2011-05-28 Thread Matt Welland
On Sat, May 28, 2011 at 11:11 AM, Peter Bex peter@xs4all.nl wrote: On Sat, May 28, 2011 at 11:03:41AM -0700, Matt Welland wrote: 2. Taking the inverse exponent (i.e. result^(1/n) ) runs into trouble at n=144. Anyone care to explain why that is and is there a numerical methods trick

Re: [Chicken-users] Help using Chicken in Windows 7

2011-07-07 Thread Matt Welland
Hi William, I have corrected the link on the chicken-iup page to point to http://mingw.org, is this where you downloaded mingw from? At exactly what stage did compilation fail and are you able to run the interpreter? Does (load example.scm) work? Are you able to compile a small C program with

[Chicken-users] Problem installing canvas-draw

2011-07-11 Thread Matt Welland
I've tried with -trunk and without. I'm not sure if I'm missing something obvious but the directory created in /tmp contains no files. matt@tosh:/tmp/tempd3e6/canvas-draw$ chicken-install canvas-draw -n -trunk retrieving ... resolving alias `kitten-technologies' to:

[Chicken-users] (exit) not exiting ...

2011-07-12 Thread Matt Welland
I have some code that was evolved rather than designed and is admittedly a bit of a mess and I needed to add an (exit) deep in a block where running a sub process has failed. However the (exit) never exits. This is true both if I run compiled or interpreted. I have tried to make a small test case

Re: [Chicken-users] (exit) not exiting ...

2011-07-12 Thread Matt Welland
) signal/kill) -Alan On Tue, Jul 12, 2011 at 05:25:24PM -0700, Matt Welland wrote: I have some code that was evolved rather than designed and is admittedly a bit of a mess and I needed to add an (exit) deep in a block where running a sub process has failed. However the (exit

Re: [Chicken-users] (exit) not exiting ...

2011-07-13 Thread Matt Welland
aware of to keep |exit| from terminating a process. It looks like it is something Chicken is doing, however, as your process is able to be terminated. I wonder what it could be? -Alan On Tue, Jul 12, 2011 at 10:23:35PM -0700, Matt Welland wrote: Yep, that works! It looks right at home

Re: [Chicken-users] Recommended ways to keep 32bit and 64bit chickens

2011-07-24 Thread Matt Welland
It probably isn't the answer you are looking for but . On Sun, Jul 24, 2011 at 2:31 AM, Sven Hartrumpf hartru...@gmx.net wrote: Hi all. How do chicken users keep their 32bit chicken and their 64bit chicken on one computer with minimal version confusion? Any recommendations welcome.

Re: [Chicken-users] Can't install eggs, or at least, not http-client

2011-07-24 Thread Matt Welland
On Sun, Jul 24, 2011 at 4:02 AM, Sgeo sgeos...@gmail.com wrote: On Sun, Jul 24, 2011 at 6:59 AM, Sgeo sgeos...@gmail.com wrote: On Sun, Jul 24, 2011 at 6:53 AM, Sgeo sgeos...@gmail.com wrote: The program can't start because libintl-8.dll is missing from your computer. Try reinstalling the

Re: [Chicken-users] ANN: The `str#' macro

2011-08-16 Thread Matt Welland
On Mon, Jun 27, 2011 at 5:36 AM, Stephen Eilert spedr...@gmail.com wrote: On Sat, Jun 25, 2011 at 2:59 PM, Kon Lovett konlov...@gmail.com wrote: Hi, Just added `str#' to the moremacros egg. It behaves like ## but for regular strings. Might be useful. (str# (+ 1 2) = #{(+ 1 2)}) =

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

2011-08-24 Thread matt welland
Thanks for doing this survey Ivan, it is very informative and interesting. From the survey comments: There's usually no Windows version available. :( For anyone who happened to miss one of the announcements on the chicken-users list, please note that I try to keep a

[Chicken-users] Grumpy comments on eggs and an idea.

2011-09-05 Thread Matt Welland
A sordid tale of woe with a happy ending After a long day of work and being very much in the mode of just getting the job done I ran into the need to parse csv. Cool. I know that there is an egg for that. After installing the csv egg I looked at the documentation and my heart sunk. This was

Re: [Chicken-users] Moving an app from chicken-3.4, replacement for cookie egg?

2011-10-01 Thread Matt Welland
Nevermind. chicken-setup -f puts the egg in /tmp, not in the local dir. I have the source and it seems to compile fine in 4.7.0 On Sat, Oct 1, 2011 at 9:23 PM, Matt Welland estifo...@gmail.com wrote: Also, docs seem to be missing from the chicken 3 eggs pages and I could not download

[Chicken-users] eval works different in Chicken 4.7 from 3.4?

2011-10-02 Thread Matt Welland
The below code used to do a fine job of eval'ing a hodge-podge file of lists and strings but in Chicken4.7 the eval doesn't seem to see compiled routines in the parent code. Has eval changed in some incompatible way or do I need to keep digging for some other bug :) ? (let* ((p

[Chicken-users] Fwd: eval works different in Chicken 4.7 from 3.4?

2011-10-03 Thread Matt Welland
Oops, didn't copy chicken-users... -- Forwarded message -- Thanks for taking a look Christian and yes, I did hose the cut 'n paste. I've modified the example to better reflect the usage and here is what I get with compiled code: Chicken 3.3: ./test ((Hello 3rd one)) Chicken 4.7:

Re: [Chicken-users] Fwd: eval works different in Chicken 4.7 from 3.4?

2011-10-03 Thread Matt Welland
but serves me right for being lazy and using include instead of doing it right :) On Mon, Oct 3, 2011 at 8:09 AM, Christian Kellermann ck...@pestilenz.orgwrote: Hi Matt! * Matt Welland estifo...@gmail.com [111003 16:34]: Oops, didn't copy chicken-users... -- Forwarded message

[Chicken-users] OT but of interest I think

2011-10-25 Thread Matt Welland
For those who've not already seen or heard: Father of Lisp John McCarthy has died: http://www.theregister.co.uk/2011/10/24/father_lisp_ai_john_mccarthy_dies ___ Chicken-users mailing list Chicken-users@nongnu.org

[Chicken-users] Ugarit install problems and notes

2011-12-31 Thread Matt Welland
1. To install lzma on Ubuntu 11.04 I had to change lzmalib.h to lzma.h in lzma.scm 2. This storage definition gives error msg Invalid arguments to backend-fs (storage backend-fs splitlog /ugarit/data /ugarit/metadata 9) 3. This storage definition gives the below error (storage backend-fs

Re: [Chicken-users] need to get started

2012-01-15 Thread Matt Welland
On Sat, Jan 14, 2012 at 12:11 PM, kapil khairwall kapil.khairw...@gmail.com wrote: plz guide me i need to get started Hi Kapil, If you are a Microsoft Windows user you may find the chicken-iup installer will save you some time in getting started: http://www.kiatoa.com/cgi-bin/chicken-iup

[Chicken-users] rpc works great in one location but not at all in another

2012-02-24 Thread Matt Welland
I used the rpc egg and it works great on my Ubuntu machine at home. The same code is exceedingly unreliable at work even on localhost. I did find that I needed to specify the ip address where the server can be found to get it work at all (i.e. hostname is not adequate). The symptom is that it

Re: [Chicken-users] rpc works great in one location but not at all in another

2012-02-24 Thread Matt Welland
Please ignore this question. I'm pretty sure this is real contention that only became a problem on NFS (direct disk access is fast enough to avoid the problem). On Fri, Feb 24, 2012 at 2:06 AM, Matt Welland estifo...@gmail.com wrote: I used the rpc egg and it works great on my Ubuntu machine

[Chicken-users] How to add a repl to an application with readline

2012-02-25 Thread Matt Welland
I'd like to optionally run a repl triggered by a switch with readline, apropos and any other goodies I can find already loaded. I've dug though the Unit eval page and the email list and read through csi.scm but didn't see the answer. So how to import the needed things into the repl either from

Re: [Chicken-users] How to add a repl to an application with readline

2012-02-25 Thread Matt Welland
Ignore this email :) I don't understand why all that was needed was an (import readline) before calling (repl) ... On Sat, Feb 25, 2012 at 9:38 PM, Matt Welland estifo...@gmail.com wrote: I'd like to optionally run a repl triggered by a switch with readline, apropos and any other goodies I

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

2012-03-02 Thread Matt Welland
I expected this to work: (define (comp-text comp) (case comp ((=)=) (()) (()) ((=) =) ((=) =) (else unk))) But had to convert to a cond with (eq? comp =) etc... I thought case was supposed to use eq? to do the compare? Thanks, M a t t -=-

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

2012-03-02 Thread Matt Welland
to see what the case expands to. Fake edit: Kon said this more succinctly than I did. Jim On Mar 2, 2012, at 5:52 PM, Matt Welland wrote: I expected this to work: (define (comp-text comp) (case comp ((=)=) (()) (()) ((=) =) ((=) =) (else unk))) But had

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

2012-03-03 Thread Matt Welland
On Sat, Mar 3, 2012 at 6:53 AM, Peter Bex peter@xs4all.nl wrote: On Fri, Mar 02, 2012 at 06:57:56PM -0700, Matt Welland wrote: I'm trying to convert a comparison operator to the equivalent text. These are not symbols. I think case treats the target list as if it was created

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

2012-03-19 Thread Matt Welland
How do I do the equivalent of pg:query-for-each with the new api? It must be simple but I am confused. Any kind soul willing to point me in the right direction? ___ Chicken-users mailing list Chicken-users@nongnu.org

Re: [Chicken-users] amb egg bug/confusion

2012-03-19 Thread Matt Welland
On Mon, Mar 19, 2012 at 5:55 AM, Alan Post alanp...@sunflowerriver.orgwrote: On Thu, Mar 15, 2012 at 01:38:19AM +0100, Thomas Chust wrote: On Wed, 2012-03-14 at 18:23 -0600, Alan Post wrote: [...] (pretty-print (let ((s (amb 0 1 2))) (amb-collect s))) [...] produces: [...]

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

2012-03-19 Thread Matt Welland
On Mon, Mar 19, 2012 at 1:13 AM, Peter Bex peter@xs4all.nl wrote: On Sun, Mar 18, 2012 at 11:42:44PM -0700, Matt Welland wrote: How do I do the equivalent of pg:query-for-each with the new api? It must be simple but I am confused. Any kind soul willing to point me in the right

[Chicken-users] Posix realpath

2012-04-01 Thread Matt Welland
A suggestion ... Please consider adding realpath to posix. If I understand correctly realpath is a specified part of posix and thus would quite naturally fit into the posix unit. I think it is a very handy routine and I use it extensively. Then again, perhaps most sane environments don't have the

[Chicken-users] Unit ports documentation needs an example or two for non-gods

2012-05-23 Thread Matt Welland
(port-map FN THUNK) where does the port go? I was sort of hoping for something like this to work: csi (define inp (open-input-file ~/.bashrc)) csi (define a (port-map inp read-line)) csi (close-input-file inp) but it took guessing to figure out the intended usage. How about some trivial

Re: [Chicken-users] Unit ports documentation needs an example or two for non-gods

2012-05-23 Thread Matt Welland
Thanks Kevin and Daniel, great hints. Much appreciated. On Wed, May 23, 2012 at 7:48 AM, Kevin Wortman kwort...@gmail.com wrote: You can do that with (call-with-input-file PATH read-lines) or (read-lines my-file.txt) The latter comes from this page

[Chicken-users] zmq, problems with using several sockets, closing sockets

2012-11-01 Thread Matt Welland
I have a zmq pub/req client server and everything is working great, nice and fast etc. However I need to ping servers to see if they are alive so I wrote a little code to try and connect to the server and return yay/nay. The problem I have is that if I don't close the socket (I'm pinging a number

Re: [Chicken-users] zmq, problems with using several sockets, closing sockets

2012-11-06 Thread matt welland
On Mon, 2012-11-05 at 20:21 +0100, Moritz Heidkamp wrote: Hi Matt, sorry for responding late, I'm a bit busy these days. However, as the original author of the zmq egg I feel obliged to chime in :-) Matt Welland estifo...@gmail.com writes: However I need to ping servers to see

[Chicken-users] use order matters for zmq egg .... why?

2012-11-06 Thread Matt Welland
I'm trying to make some deployable installs and I'm having trouble with the zmq egg. The systems I'm installing on do not have sqlite3, libuuid or iup. I think I'm close but not quite there yet. The scripts I use to install chicken + eggs and then do the deploy are attached. Below is what I'm

[Chicken-users] Install of 4.8.0 under windows (mingw) fails

2012-11-24 Thread Matt Welland
I'm trying to bring chicken-iup up to date but having problems getting a working base chicken install. Installing under mingw-msys gives me a working csi but chicken-install does not work (it can't find the repository). Installing under mingw gives me this: chicken.exe .\build-version.scm

[Chicken-users] Random crashes with zmq egg: Assertion failed: ok (mailbox.cpp:84)

2013-01-13 Thread Matt Welland
Can anyone provide insight to this problem. I'm getting random crashes with the zmq egg: Assertion failed: ok (mailbox.cpp:84) /home/matt/data/megatest/bin/megatest: line 3: 15962 Aborted (core dumped) /home/matt/data/megatest/bin/mtest $* This thread here describes what might

[Chicken-users] example of minimal dynamic hello world with spiffy?

2013-01-14 Thread matt welland
I've read the docs several times and searched via google for examples. I'm sure the answer to this question is staring right back at me but I'm not seeing it. Using spiffy only, how does one write a super simple dynamic hello world? Say for example I have a function that can read values from a

[Chicken-users] Help request for zmq egg porting from zmq 2.2.0 to 3.2.2

2013-01-20 Thread Matt Welland
I'm trying to port the zmq egg from using zmq 2.2 to 3.2.2 and I'm not making very good progress. I'm hoping someone can provide some insight. Attached is the modified zmq egg code and a test case that exercises zmq in the way I'm using it in my application. the problem I get Resource

[Chicken-users] deployed executable wants type-errors ...

2013-03-26 Thread Matt Welland
I managed to get deploy working for another (much simpler) app yesterday. Now I seem to be stuck on an extension that doesn't exist. Is there some other extension I should load that provides type-errors? I'm using 4.8.0 matt@xena:~/data/megatest$ ./deploytarg/megatest Error: (require) cannot

[Chicken-users] [ANN] Megatest project (written in Chicken Scheme) v1.5508 available.

2013-07-17 Thread Matt Welland
Megatest is 100% written in Chicken scheme and thus I feel justified in mentioning it on this list :) The Megatest project is progressing nicely. It is currently being used to manage 10-20 different regression flows (with 100's-1000's of tests/iterations) and some system administration

Re: [Chicken-users] Macro expansion help

2013-10-05 Thread Matt Welland
I found that the simple macros in scheme approach found at http:/www.cs.toronto.edu/~gfb/simple-macros.html is adequate for most macros I need to write and far easier than fully fledged macros.  Maybe it will help you get going.  From my Android phone on T-Mobile. The first nationwide 4G

Re: [Chicken-users] Macro expansion help

2013-10-05 Thread Matt Welland
Sorry,  correct URL is: http://www.cs.toronto.edu/~gfb/scheme/simple-macros.html From my Android phone on T-Mobile. The first nationwide 4G network. Original message From: Matt Welland m...@kiatoa.com Date: 10/05/2013 1:10 PM (GMT-07:00) To: Loïc Faure-Lacroix l

[Chicken-users] an oddly slow regex ...

2013-10-26 Thread Matt Welland
This regex is so slow that you don't need a timer to see the impact (at least not on my machine with chicken 4.8.0): (string-match [a-z][a-z0-9\\-_.]{0,20} a012345678901234567890123456789) Changing the {0,20} to + makes it run normally fast so I just replaced the regex with a string-length and

Re: [Chicken-users] an oddly slow regex ...

2013-10-26 Thread Matt Welland
On Sat, Oct 26, 2013 at 11:38 AM, Peter Bex peter@xs4all.nl wrote: On Sat, Oct 26, 2013 at 10:37:36AM -0700, Matt Welland wrote: This regex is so slow that you don't need a timer to see the impact (at least not on my machine with chicken 4.8.0): (string-match [a-z][a-z0-9\\-_.]{0,20

[Chicken-users] 4.8.0.5 compiled ... on message not quite correct

2013-10-30 Thread Matt Welland
When I compiled 4.8.0.5 from the tar this morning I get a curious message on starting csi: csi CHICKEN (c) 2008-2013, The Chicken Team (c) 2000-2007, Felix L. Winkelmann Version 4.8.0.5 (stability/4.8.0) (rev 5bd53ac) linux-unix-gnu-x86-64 [ 64bit manyargs dload ptables ] compiled 2013-10-03 on

[Chicken-users] Turn on profiling and app panics with out of memory - can profiling work if using iup gui?

2013-11-01 Thread Matt Welland
Before I spend a lot of time debugging this I wanted to ask the list if it should be expected to work. I know the iup egg uses that trampoline stuff, is this likely to be a problem for the profiler? I'm using chicken 4.8.0. [panic] out of memory - heap full while resizing - execution terminated

[Chicken-users] schemish/chickenish way to make configurable executables?

2013-11-03 Thread Matt Welland
I'm curious to hear opinions on conditional complication and configuration using Chicken scheme. Say for example I want to enable or disable the use of a particular library or feature and I want there to be no trace of it in the executable. I can use a preprocessor such as cpp but I imagine

Re: [Chicken-users] schemish/chickenish way to make configurable executables?

2013-11-03 Thread Matt Welland
Hi Peter, It looks like cond-expand does enough to achieve what I want. Thanks! Matt -=- On Sun, Nov 3, 2013 at 2:58 AM, Peter Bex peter@xs4all.nl wrote: On Sat, Nov 02, 2013 at 11:35:22PM -0700, Matt Welland wrote: I'm curious to hear opinions on conditional complication

[Chicken-users] Need to do an install, any changes in the pipe line I should wait for?

2013-11-08 Thread Matt Welland
I'm going to try getting Chicken 4.8.0.? installed in a corporate environment. This is not a nimble situation and if successful in getting the install approved I'll likely be stuck with that version for a long time. I've seen some messages on the chicken lists that look like some good progress on

Re: [Chicken-users] Need to do an install, any changes in the pipe line I should wait for?

2013-11-08 Thread Matt Welland
On Fri, Nov 8, 2013 at 8:53 AM, Peter Bex peter@xs4all.nl wrote: On Fri, Nov 08, 2013 at 08:48:38AM -0700, Matt Welland wrote: I'm going to try getting Chicken 4.8.0.? installed in a corporate environment. This is not a nimble situation and if successful in getting the install approved

[Chicken-users] Any hope for new zmq bindings to version 3.2 or even 4.0?

2013-11-23 Thread Matt Welland
Hi, Is anyone (Moritz?) working on new bindings or porting the existing bindings for zmq to the newer versions? Thanks! -- Matt -=- 90% of the nations wealth is held by 2% of the people. Bummer to be in the majority... ___ Chicken-users mailing list

Re: [Chicken-users] Any hope for new zmq bindings to version 3.2 or even 4.0?

2013-11-27 Thread Matt Welland
I'll test this out soon. Thanks! On Nov 27, 2013 5:50 AM, Moritz Heidkamp mor...@twoticketsplease.de wrote: Hi Matt and Kristian, Kristian Lein-Mathisen kristianl...@gmail.com writes: Moritz and I had some fun with zmq 3.2 in July. We didn't release our work, with the reason slipping my

[Chicken-users] Help needed on a project intended to promote some important ideas.

2014-01-21 Thread Matt Welland
Hi, This is a long shot and I apologize in advance for any time wasted and for cross-posting to unrelated groups. Please: DO NOT reply to this email. I have been working on a project that I believe will do a good job in raising awareness of alternative voting systems. Initially I want to

Re: [Chicken-users] Help needed on a project intended to promote some important ideas.

2014-01-22 Thread Matt Welland
, Jan 21, 2014 at 11:25 PM, Matt Welland estifo...@gmail.com wrote: Hi, This is a long shot and I apologize in advance for any time wasted and for cross-posting to unrelated groups. Please: DO NOT reply to this email. I have been working on a project that I believe will do a good job

[Chicken-users] chicken-iup - progressing nicely but have problem with canvas-draw

2014-02-01 Thread Matt Welland
Ok, no takers on my lame attempt at a financial bribe for making the next chicken-iup so I took a stab at it myself. I've made pretty good progress, no doubt thanks to all the great work done by the Chicken devs, so far chicken 4.8.0.5 and iup have compiled and seem to run fine. I'm stuck at

[Chicken-users] ANN: chicken-iup 0.3 released, tested briefly on WinXP and Win8

2014-02-02 Thread Matt Welland
Chicken IUP is an easy to install package for Microsoft Windows. Components: Chicken Scheme 4.8.0.5 IUP, CD, IM libraries from www.tecgraf.puc-rio.br/iup Many eggs including sqlite3, sql-de-lite, iup etc. To use: 1. install MinGW from www.mingw.org 2. Install chicken-iup 0.3 from

Re: [Chicken-users] CMake build support

2014-02-10 Thread Matt Welland
Hi Oleg, What is the purpose of switching to cmake? Can the transition be done without adding another dependency to building for mingw-msys? I guess my concern is that even if cmake is an improvement over make that the impact can still be negative on the community. For me the interesting

Re: [Chicken-users] CMake build support

2014-02-10 Thread Matt Welland
From my Android phone on T-Mobile. The first nationwide 4G network. Original message From: Oleg Kolosov bazur...@gmail.com Date: 02/10/2014 3:09 PM (GMT-07:00) To: Matt Welland m...@kiatoa.com,chicken-users chicken-users@nongnu.org Subject: Re: [Chicken-users] CMake

Re: [Chicken-users] Tools to make a graphviz dot map of a scheme program?

2014-02-20 Thread Matt Welland
to filter functions for the display. On Wed, Feb 19, 2014 at 4:18 AM, Geoffrey lordgeoff...@optusnet.com.auwrote: Hi Matt, what are the command line arguments that should be passed? (define files (cr (argv))) ? On 11/02/14 17:15, Matt Welland wrote: I made a hack to try this out

[Chicken-users] Problem with deploy - executable complains it cannot load type-errors

2014-04-01 Thread Matt Welland
I have made a deployable exe (chicken 4.8.0.5, Ubuntu 32bit) but get the following when I try to run it: Error: (require) cannot load extension: type-errors Call history: histstore.scm:5: ##sys#require -- ==The Make Lines=== histstore/histstore : histstore.scm

Re: [Chicken-users] Problem with deploy - executable complains it cannot load type-errors

2014-04-02 Thread Matt Welland
like to know it. Matt On Tue, Apr 1, 2014 at 1:19 AM, Christian Kellermann ck...@pestilenz.orgwrote: * Christian Kellermann ck...@pestilenz.org [140401 10:16]: * Matt Welland estifo...@gmail.com [140401 08:17]: I have made a deployable exe (chicken 4.8.0.5, Ubuntu 32bit) but get

  1   2   3   >