Re: [Chicken-users] How to turn off exception handlers in my code?

2017-03-15 Thread Matt Welland
work. I guess a placeholder is needed for the first statement captured by the ellipsis. On Wed, Mar 15, 2017 at 1:05 PM, Matt Welland wrote: I have many exception handlers, mostly handle-exceptions but some condition-case, and I'd like to run some tests and turn OFF the exception handli

[Chicken-users] How to turn off exception handlers in my code?

2017-03-15 Thread Matt Welland
I have many exception handlers, mostly handle-exceptions but some condition-case, and I'd like to run some tests and turn OFF the exception handling. I tried using a proc but that does not work: (define (mt-faux-handle-exceptions exn alt . cmds) (let ((alt-proc (lambda () (

Re: [Chicken-users] Parallel procedures in CHICKEN

2016-12-28 Thread Matt Welland
Hi Arthur, You might find this bit of exploratory code useful: http://www.kiatoa.com/cgi-bin/fossils/megatest/artifact/50100144d4ed2b54. It is an example of spawning off dozens of sub-processes and using nanomsg to communicate the data back. We needed to find changed files in gigs of data where th

[Chicken-users] srfi-18 and reading/writing variables, how to simulate a collision?

2016-11-29 Thread Matt Welland
My question: Do green threads naturally do atomic reads/writes to variables such that mutexes are pragmatically not needed in most situations in Chicken? I have seen corrupted values which I assumed were due to reading/writing to variables from multiple threads without mutex protection. However wh

[Chicken-users] Curious about limitations of fuse egg, can't open a fossil on the hashfs example fuse fs.

2016-09-19 Thread Matt Welland
I recently upgraded my moosefs install and now have issues compiling my Chicken based project "Megatest" on moosefs. I've asked for help on the moosefs email list but this got me thinking, what could my compilation of Megatest possibly be doing that pushes the filesystem? So I thought I'd try on so

[Chicken-users] [ANN] dbi, database abstraction egg, now available.

2016-07-31 Thread Matt Welland
A database abstraction layer to provide a common interface across multiple databases. NOTE: The intention with dbi is a gasket that allows for switching backends easily while in development, with the expectation that eventually you would factor out dbi for the native db interface. You will get bet

Re: [Chicken-users] I'm looking for suggestions regarding vectors vs. records vs. coops (again).

2016-07-27 Thread Matt Welland
Top posting just to say thanks to Peter, typed-records are a huge benefit for me. I much appreciate the detailed response. On Mon, Jul 25, 2016 at 11:49 PM, Peter Bex wrote: > On Sun, Jul 24, 2016 at 11:06:32AM -0700, Matt Welland wrote: > > For years now I've been using inlined v

[Chicken-users] I'm looking for suggestions regarding vectors vs. records vs. coops (again).

2016-07-24 Thread Matt Welland
For years now I've been using inlined vectors instead of records or coops for data structures due to performance concerns. Recently I was training someone on how to maintain my code and I felt quite lame explaining the vector records. So I started switching to defstruct records. However I've starte

Re: [Chicken-users] canvas-draw and colors

2016-07-16 Thread Matt Welland
On Sat, Jul 16, 2016 at 1:04 PM, Thomas Chust wrote: > On 2016-07-16 21:31, Matt Welland wrote: > > [...] > > (define (vg:rgb->number r g b #!key (a 0)) (u32vector-ref > > (blob->u32vector (u8vector->blob (list->u8vector (list a r g b 0)) > > [...] >

[Chicken-users] canvas-draw and colors

2016-07-16 Thread Matt Welland
I have the feeling I've already asked this but cannot find the email thread. For canvas-draw colors are longints. There are convenience functions provided by canvas-draw according to the docs at http://webserver2.tecgraf.puc-rio.br/cd/ but they seem not to be accessible from the egg. This snippet

Re: [Chicken-users] Installing chicken on windows

2016-07-08 Thread Matt Welland
On Fri, Jul 8, 2016 at 9:52 AM, John Cowan wrote: > Dan Leslie scripsit: > > > It reads to me like Chicken needs an automated builder for the Windows > > package. > > It's not very clear how beneficial this is, since in order to use the > compiler, you'll need gcc and gmake anyway. (If you just

Re: [Chicken-users] Installing chicken on windows

2016-07-08 Thread Matt Welland
nd scripts/Makefile etc. at https://www.kiatoa.com/fossils/chicken-iup > > On Fri, Jul 8, 2016 at 9:16 AM, Matt Welland > wrote: > >> I'd love to bring the chicken-iup installer up to date but I don't have >> the time to do it on my own. If anyone has the bandwidt

Re: [Chicken-users] Installing chicken on windows

2016-07-08 Thread Matt Welland
I'd love to bring the chicken-iup installer up to date but I don't have the time to do it on my own. If anyone has the bandwidth and interest to help please let me know. I think the installer is far and above the easiest way to get going on Windows. On Thu, Jul 7, 2016 at 11:06 PM, Oleg Kolosov w

[Chicken-users] Second request for tweak to trace egg - attn: Felix?

2016-07-02 Thread Matt Welland
With current trace: [0] (my-length #) [0] my-length -> (escaping) With patch applied trace gives: [0] (my-length #)", Called from: ""#(dashboard.scm:1099: my-length #f #f)" [0] my-length -> (escaping) I then know exactly where my bug lies. The patch: diff -Naur trace/trace.scm trace-tweaked/t

Re: [Chicken-users] Asynchronous I/O Egg Release

2016-07-01 Thread Matt Welland
On Fri, Jul 1, 2016 at 3:11 AM, Andy Bennett wrote: > Hi, > > > And of course, reads of files on the file > > system never block at all > > A read from a file can block when the operating system needs to go to > disk for the data. This happens when the buffer empties and it cannot be > refilled b

[Chicken-users] How to debug stack limit problem?

2016-06-21 Thread Matt Welland
Using: Version 4.11.0rc2 ((detached from 4.11.0rc2)) (rev e910197) linux-unix-gnu-x86-64 [ 64bit manyargs dload ptables ] compiled 2016-04-28 on waldrop (Linux) I am seeing: dboard: runtime.c:2797: C_save_and_reclaim: Assertion `av > C_temporary_stack_bottom || av < C_temporary_stack_limit' fai

Re: [Chicken-users] [ANN] CHICKEN 4.11.0 release candidate 2 available

2016-05-14 Thread Matt Welland
Operating system: Ubuntu 14.04 Hardware platform: x86-64 C Compiler: GCC 4.8.4 Installation works?: yes Tests work?: Did not run tests Installation of eggs works?: yes The testsuite for my pet project, Megatest, passes with Chicken 4.11rc2. I did see the IUP based dashboard die with an assertion b

[Chicken-users] Is there a replacement for expand-home-path in 4.11rc2?

2016-05-14 Thread Matt Welland
I used resolve-pathname from posix-extras and expand-home-path is no longer available. Is this intended to be fixed? If it is not to be fixed what is the suggested way to expand a path, use readlink -f? Warning (#): in thread: unbound variable: ##sys#expand-home-path Call history: db.scm

[Chicken-users] Missing functions in Chicken IUP?

2016-04-20 Thread Matt Welland
We are trying to create a popup menu for a matrix in IUP and the documentation mentions IupPopup and IupShowXY but I don't see associated functions under IUP. Am I missing something? Thanks. ___ Chicken-users mailing list Chicken-users@nongnu.org https:/

Re: [Chicken-users] Add support for sudo alternatives

2016-03-25 Thread Matt Welland
On Fri, Mar 25, 2016 at 7:11 AM, Timo Myyrä wrote: > Hi, > > Here is an simple patch to add support for alternative commands than sudo. > OpenBSD doesn't have sudo in base install so this allows chicken-install > to work > with OpenBSD doas (and others like it). > The idea is that if user provide

[Chicken-users] Job for someone with Scheme knowledge.

2016-02-25 Thread Matt Welland
I've got an opening for an engineering or computer science grad. We are using Chicken scheme heavily in my group so I'm posting to chicken-users. It would be great to find someone who has a passion for Scheme. BS+experienced or MS in computer or electrical engineering. Industry experience in elect

Re: [Chicken-users] How to build from git? Errors on Ubuntu 15.10

2016-02-11 Thread Matt Welland
Yay! I was able to build a past version of chicken-core and see feathers for the first time. I documented it here: http://www.kiatoa.com/cgi-bin/fossils/chicken-core/wiki?name=Feathers On Thu, Feb 11, 2016 at 8:54 PM, Matt Welland wrote: > On Wed, Feb 10, 2016 at 6:11 AM, Christ

Re: [Chicken-users] How to build from git? Errors on Ubuntu 15.10

2016-02-11 Thread Matt Welland
On Wed, Feb 10, 2016 at 6:11 AM, Christian Kellermann wrote: > * Matt Welland [160210 14:06]: > > I have chicken 4.9.0.1 installed, is that recent enough for > bootstrapping? > > I'm interested in trying feathers and the new profiling. Are there any > > plans to ba

[Chicken-users] How to build from git? Errors on Ubuntu 15.10

2016-02-10 Thread Matt Welland
I have chicken 4.9.0.1 installed, is that recent enough for bootstrapping? I'm interested in trying feathers and the new profiling. Are there any plans to back port those features to the 4 series? Here are the first few errors: gcc -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_P

Re: [Chicken-users] Scraping the REPL?

2016-01-23 Thread Matt Welland
Unless you need it's ability to capture all input you might be able to get away without using script and just use simple scripting: matt@xena:/mfs/matt/nodemcu/esptool$ (csi -q<< EOF (define (f x)(+ x 123)) (f 8) EOF ) > example1.txt matt@xena:/mfs/matt/nodemcu/esptool$ cat example1.txt csi> (de

Re: [Chicken-users] Scraping the REPL?

2016-01-23 Thread Matt Welland
On Jan 23, 2016 4:50 AM, "Matt Gushee" wrote: > > What OS are you using? If you are on Linux, you can use the 'script' command. You will have to edit the output a bit, but it does the job. +1 on using script. A good alternative if you are an (x)emacs user is to use a shell inside emacs: M-x shel

Re: [Chicken-users] example from rpc egg crashes at around 2k calls for me ....

2015-12-08 Thread Matt Welland
On Tue, Dec 8, 2015 at 12:44 AM, Peter Bex wrote: > On Mon, Dec 07, 2015 at 10:38:33PM -0700, Matt Welland wrote: > > I don't understand why this is crashing. I'm guessing I'm failing to > close > > a connection or finalize something. I also saw the same problem

[Chicken-users] example from rpc egg crashes at around 2k calls for me ....

2015-12-07 Thread Matt Welland
I don't understand why this is crashing. I'm guessing I'm failing to close a connection or finalize something. I also saw the same problem when I used sqlite3 instead of sql-de-lite. Any help or suggestions of where to look would be appreciated. The code (based on the sqlite3 example from the rpc

Re: [Chicken-users] strange IUP canvas behavior - mouse clicks returning bad value

2015-10-29 Thread Matt Welland
share your recipe for success? I'd like to avoid losing several evenings trying every permutation and combination of install strategies. Thanks. On Sat, Oct 17, 2015 at 7:45 AM, Thomas Chust wrote: > On 2015-10-16 11:40, Matt Welland wrote: > > [...] > > this is failing on

[Chicken-users] Regex fail?

2015-10-29 Thread Matt Welland
(string-match "^([^\n]*)(\n.*|).*$" "This\nis \n") => #f Using Ruby as comparison: irb(main):001:0> "This\nis \n".match(/^([^\n]*)(\n.*|)$/) => # ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-u

[Chicken-users] strange IUP canvas behavior - mouse clicks returning bad value

2015-10-16 Thread Matt Welland
obj: #, pressed 0, status 1 canvas-origin: 0 0 click at -1987635704 48 The -1987635704 is the x value returned by this callback: #:button-cb (lambda (obj btn pressed x y status) ... this is failing on Ubuntu 15.04 but working ok on sles11. so far as I can tell this is not due to any changes i

Re: [Chicken-users] Help with usage of process ...

2015-10-10 Thread Matt Welland
On Fri, Oct 9, 2015 at 7:25 PM, Evan Hanson wrote: > Hi Matt, > > My guess is that because you don't close the output port before waiting > for results, dot(1) sits there waiting for more input and your procedure > appears to hang. > Ah, yes, dot is not processing the input until it is read in i

[Chicken-users] Help with usage of process ...

2015-10-09 Thread Matt Welland
I'm trying to use the posix process call to run the graphviz dot program, hand it some input data and collect the output. I'm not able to figure out how to correctly use process to do this. My code is below. Any hints would be much appreciated. (define (tests:run-dot indat outtype) ;; outtype is p

Re: [Chicken-users] utf8 failing to "deploy" and request for suggestions on how to install multiple versions of an egg.

2015-10-05 Thread Matt Welland
On Mon, Oct 5, 2015 at 7:52 PM, Alex Shinn wrote: > On Mon, Oct 5, 2015 at 11:42 PM, Matt Welland > wrote: > >> I need to install multiple versions of my refdb and logpro eggs. My first >> thought was to take advantage of deploy but I get the error below. Other >>

[Chicken-users] utf8 failing to "deploy" and request for suggestions on how to install multiple versions of an egg.

2015-10-05 Thread Matt Welland
I need to install multiple versions of my refdb and logpro eggs. My first thought was to take advantage of deploy but I get the error below. Other than hacking them to make a local install I'm out of ideas, any suggestions? chicken-install -deploy -p $PWD/refdb refdb that is failing here: changi

Re: [Chicken-users] Windows deployment - Numbers egg

2015-10-03 Thread Matt Welland
An alternative to statically compiling is to use the deploy feature of csc to make a directory with all the items you need. When you start working with IUP I think it will be your only choice. Here is a snippet of a Makefile that I used to deploy a project to a directory on windows. You can then us

[Chicken-users] regex to be actively deprecated some day?

2015-09-07 Thread Matt Welland
Ok, I sort of panicked when I saw what looked like regex being deprecated (read my original message below if you wish). After re-reading the irregex egg wiki page a few times it looks like all is well assuming these two things: 1. irregex unit will continue to support reading the pcre syntax 2. th

Re: [Chicken-users] Doodle on debian noroot on galaxy note.

2015-09-05 Thread Matt Welland
On Sep 5, 2015 2:00 AM, "Christian Kellermann" wrote: > > * Matt Welland [150905 06:16]: > > Works great, very responsive, no lag. Set color depth to 24 bit, use native > > resolution and it just works. > > Just out of curiousity does the fullscreen option work

Re: [Chicken-users] ezxdisp, g2 both work great on Android noroot debian .... but iup, doodle, allegro, cairo all do not ...

2015-09-04 Thread Matt Welland
thanks for doodle! On Fri, Sep 4, 2015 at 2:16 AM, Christian Kellermann wrote: > * Matt Welland [150904 08:12]: > > Given it's impressive performance and ease of setup noroot debian seems > > like a great way to enable writing chicken scheme apps that target > > Android(i)

[Chicken-users] ezxdisp, g2 both work great on Android noroot debian .... but iup, doodle, allegro, cairo all do not ...

2015-09-03 Thread Matt Welland
Given it's impressive performance and ease of setup noroot debian seems like a great way to enable writing chicken scheme apps that target Android(i) (in addition to Linux and Windows). ezxdisp is a bit primitive and g2 doesn't seem designed for dynamic graphics but if it is all we've got it will d

Re: [Chicken-users] is posix-extras#resolve-pathname calling non-existant ##sys#expand-home-path?

2015-08-09 Thread Matt Welland
On Sun, Aug 9, 2015 at 10:37 PM, Matt Welland wrote: > I'm testing Chicken 4.10.0, so far it is fine but the calls to > resolve-pathname give the kind of error shown below which implies to me > that the expand-home-path is still being called. I'm fixing by wrapping > w

[Chicken-users] is posix-extras#resolve-pathname calling non-existant ##sys#expand-home-path?

2015-08-09 Thread Matt Welland
I'm testing Chicken 4.10.0, so far it is fine but the calls to resolve-pathname give the kind of error shown below which implies to me that the expand-home-path is still being called. I'm fixing by wrapping with a call to pathname-expand but I must say this looks rather silly: (resolve-pathname (p

[Chicken-users] Can AFL be meaningfully run against chicken generated binaries?

2015-07-30 Thread Matt Welland
This tool was mentioned on the fossil mailing list: http://lcamtuf.coredump.cx/afl/ I'm curious, can it be meaningfully be run against a binary generated by chicken? Or would a native scheme variant be needed? ___ Chicken-users mailing list Chicken-user

Re: [Chicken-users] Chicken works great on Debian noroot on android - any suggestions for best path for graphics?

2015-07-25 Thread Matt Welland
On Sat, Jul 25, 2015 at 2:28 AM, "Jörg F. Wittenberger" < joerg.wittenber...@softeyes.net> wrote: > > This assessment is surprising to me. Maybe I did not yet run into the > issues? > > For a couple of days I've been trying this out. On debian/ARM. > > Just yesterday I discovered a severe bug in

[Chicken-users] Chicken works great on Debian noroot on android - any suggestions for best path for graphics?

2015-07-25 Thread Matt Welland
For any android users who haven't tried it you might like Debian no root. It seems pretty solid on my note 4. The default chicken on debian, 4.9.0.1 seems to work great. I'm looking at my options for doing some graphical stuff. So far this is what I've seen: ezxdisp - doesn't work due to missing f

Re: [Chicken-users] callbacks returning twice

2015-06-25 Thread Matt Welland
Hi Jörg, I've been using IUP for quite a while and I don't recall seeing the message "callback returned twice". Perhaps it is something with the newer version of IUP you appear to be using. I would be interested to know if it works with chicken-iup? My virtualbox install seems to have broken in so

Re: [Chicken-users] ANN: new chicken-iup Windows installer with IUP gui, canvas-draw, scintilla etc. released.

2015-05-18 Thread Matt Welland
Oops! Thanks Mario. WHERE: http://www.kiatoa.com/fossils/chicken-iup On May 18, 2015 4:45 AM, "Mario Domenech Goulart" wrote: > > Hi, > > On Sun, 17 May 2015 23:03:12 -0700 Matt Welland wrote: > > > WHAT: > > > > The chicken-iup installer has been

[Chicken-users] ANN: new chicken-iup Windows installer with IUP gui, canvas-draw, scintilla etc. released.

2015-05-17 Thread Matt Welland
WHAT: The chicken-iup installer has been updated with Chicken 4.9.01, and recent versions of many eggs, the IUP gui including canvas-draw, and the iup scintilla editor support. STATUS: chicken-iup appears to work just fine on WinXP and Windows 8. To install eggs not bundled with the installer yo

[Chicken-users] egg names

2015-05-03 Thread Matt Welland
I accidentally replied direct to Peter in my reply to the call-with-environment-variables thread. Here is my original comment regarding the "cock" utility: > I've done some work recently but haven't updated its dependents to > specify the latest version. > > > Really hate that name btw, very emba

[Chicken-users] Problems installing call-with-environment-variables

2015-05-01 Thread Matt Welland
Dependencies on cock (really hate that name btw, very embarrassing to be working with a young female co-worker and have to maneuver around saying the name out loud, reflects very poorly on Chicken Scheme IMHO) made installing a hassle. To solve it I had to comment out the @(... lines and the compil

[Chicken-users] Bounty: update chicken-iup to all latest versions US$200

2015-04-19 Thread Matt Welland
I need chicken-iup brought up to date and in the process canvas-draw fixed. I'm advertising this on Craigslist in case there is a starving student looking to make a buck by playing around on a computer: http://phoenix.craigslist.org/evl/cpg/4986007420.html The offer is of course open to anyone s

[Chicken-users] how to use readline with (repl) to add repl to my programs?

2015-04-11 Thread Matt Welland
With 3.0 this fails due to toplevel-command not found: (use readline apropos) (import readline) (import apropos) (current-input-port (make-readline-port)) (install-history-file #f "/.csi.history") (repl) With 1.993 this worked: (use readline apropos) (import readline) (import apropos) (gnu-histo

Re: [Chicken-users] readline egg v2.0 feedback

2015-01-25 Thread Matt Welland
ave been avoiding, is that > the documentation, is lacking, and, I think, this may contribute to the > number/degree of users unaware or unsure of how to achieve a desired effect > using Readline. > > On 01/25/2015 02:29 PM, Matt Welland wrote: #1 - yes, appreciated #2 - nice, csi com

Re: [Chicken-users] readline egg v2.0 feedback

2015-01-25 Thread Matt Welland
I'm not sure I understand the concern. The user had to take explicit action to enable command logging in their .csirc, something like the following: (gnu-history-install-file-manager (string-append (or (getenv "HOME") ".") "/.csi.history" Presumably if they did the research to find this an

Re: [Chicken-users] Chicken Scheme's license

2015-01-05 Thread Matt Welland
On Jan 5, 2015 10:08 PM, "Alexej Magura" wrote: > > What's Chicken Scheme licensed with? I did a brief search of the website, but I > didn't see anything about licensing; sspecifically, is Chicken Scheme open source? It is bsd licensed (with modifications?) I think. Odd, it is quite hard to find

[Chicken-users] Enhancement request for the trace egg

2014-11-23 Thread Matt Welland
I have two enhancement/suggestions for the trace egg: 1. Adding the line highlighted below to trace.scm gives me information on were the call was made, something I find very useful. 2. With huge or hierarchal data structures trace output gets annoyingly long. A mechanism for triming the output wou

[Chicken-users] How to catch an error when http-client can't connect?

2014-07-23 Thread Matt Welland
I'd like to handle the case where http-client gets denied a connection. I wrapped the call to with-input-from-request with a handle-exceptions but that doesn't catch the error. Thanks in advance for a pointer in the right direction. Warning (#): in thread: (tcp-connect) cannot create socket - Con

[Chicken-users] Can chicken itself be "deployed"?

2014-06-16 Thread Matt Welland
I have some tough install situations and having a "deployed" version of chicken itself would be great. Specifically I need to install to an area from a vm via sshfs but cannot write directly as the user that the files ultimately need to be owned by. Don't ask. It is stupid and it sucks. Anyhow, I

[Chicken-users] Ann: refdb egg now available

2014-05-28 Thread Matt Welland
Refdb allows you to store values in a three level hash-table like structure of flat files. The resulting data is friendly to branching and merging which can allow parallel editing of the spreadsheet. Only gnumeric is supported right now and the sheets must have unique row and column labels. Docum

Re: [Chicken-users] Some eggs I'd like to add to svn

2014-05-21 Thread Matt Welland
41:49 -0700 Matt Welland wrote: > Hi, > > I have a few small apps which I'd like to add to svn if there are no > objections. Note: I've no idea what to call these things so suggestions for > better names are welcome. > > 1. refdb. Keep a spreadsheet in a se

[Chicken-users] Some eggs I'd like to add to svn

2014-05-21 Thread Matt Welland
fossil route can I keep multiple eggs in a single fossil? Lastly, these projects are all a little rough, (I'm an analog design engineer, not a programmer!) but comments and feedback are greatly appreciated. -- Matt Welland ___ Chicken-users mailing

Re: [Chicken-users] CHICKEN 4.9.0rc1 is available

2014-04-20 Thread Matt Welland
(thread-start! th1) (thread-start! th2) (thread-join! th1)) Thanks for 4.9.0! I'll be making it my default henceforth. On Sun, 20 Apr 2014 12:39:16 -0700 Matt Welland wrote: > Sorry, two things: > > 1. This was 4.9.1 - running again with 4.9.0rc1 now > 2. This is on Ubuntu 12.04.4

Re: [Chicken-users] CHICKEN 4.9.0rc1 is available

2014-04-20 Thread Matt Welland
Sorry, two things: 1. This was 4.9.1 - running again with 4.9.0rc1 now 2. This is on Ubuntu 12.04.4 LTS On Sun, 20 Apr 2014 12:32:49 -0700 Matt Welland wrote: > I built latest chicken with many eggs including iup and ran my Megatest tests > and it passes. I did see that resizing a te

Re: [Chicken-users] CHICKEN 4.9.0rc1 is available

2014-04-20 Thread Matt Welland
Installation works?: yes or no > Tests work?: yes or no > Installation of eggs works?: yes or no > > Thanks in advance. > > The CHICKEN Team > -- > http://www.call-cc.org > > _______ > Chicken-users mailing list > Chicken-us

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

2014-04-02 Thread Matt Welland
x27;d like to know it. Matt On Tue, Apr 1, 2014 at 1:19 AM, Christian Kellermann wrote: > * Christian Kellermann [140401 10:16]: > > * Matt Welland [140401 08:17]: > > > I have made a deployable exe (chicken 4.8.0.5, Ubuntu 32bit) but get > the > > > following when

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

2014-03-31 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 ../marg

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

2014-02-20 Thread Matt Welland
is to be able to filter functions for the display. On Wed, Feb 19, 2014 at 4:18 AM, Geoffrey wrote: > 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

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

2014-02-10 Thread Matt Welland
I made a hack to try this out and although very interesting the output (i) is crude. The script itself (ii) is an awful mess. Somehow though it seems to me there could be some useful insight to be gained from something visual like this and I imagine it has been done before. Any pointers to nice wa

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 Date: 02/10/2014 3:09 PM (GMT-07:00) To: Matt Welland ,chicken-users Subject: Re: [Chicken-users] CMake build support On 02/11/14 01:07, Matt Welland wrote: Hi

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 platf

[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 www.kiatoa.com

[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 gettin

[Chicken-users] $$ offer for Chicken + IUP on Windows :)

2014-02-01 Thread Matt Welland
Ok, so maybe it should be a single "$" sign ... I find myself regularly needing to make simple tools that run on both Linux and Windows and I'd dearly love to use Chicken for this purpose. I don't have time right now to resurrect my chicken-iup project ( http://www.kiatoa.com/fossils/chicken-iup)

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

2014-01-22 Thread Matt Welland
and or image skills. On Tue, Jan 21, 2014 at 11:25 PM, Matt Welland 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 tha

[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 contrast

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" wrote: > Hi Matt and Kristian, > > Kristian Lein-Mathisen writes: > > Moritz and I had some fun with zmq 3.2 in July. We didn't release our > work, > > with the reason slipping my mind right now. > > I don't remember ei

[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 Ch

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 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 in

[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 s

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 wrote: > On Sat, Nov 02, 2013 at 11:35:22PM -0700, Matt Welland wrote: > > I'm curious to hear opinions on conditional complication and > config

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

2013-11-02 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 there

[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] 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

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

2013-10-26 Thread Matt Welland
On Sat, Oct 26, 2013 at 11:38 AM, Peter Bex 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): > > > > (strin

[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 a

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 Date: 10/05/2013 1:10 PM (GMT-07:00) To: Loïc Faure-Lacroix ,chicken-users Subject

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 net

[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 automation.

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

2013-03-27 Thread Matt Welland
. HTH. On Tue, Mar 26, 2013 at 11:38 PM, Matt Welland wrote: > 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 u

[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 load

[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 te

[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 one

[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 be

[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 -opti

[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 seein

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 writes: > > However I need to ping server

[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] 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 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 > http://wiki.call-cc.org/chicken-for-python-p

[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 e

[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

<    1   2   3   >