Re: [PATCH] Re: Eggs not installing on msys-mingw32

2023-11-05 Thread Matt Welland
to offer in terms of a problem statement other than ... "Windows sucks". On Tue, Oct 31, 2023 at 3:25 AM Peter Bex wrote: > On Mon, Oct 30, 2023 at 05:45:28PM -0400, Matt Welland wrote: > > Well, maybe there is a silver lining here, I can currently reliably > > reproduc

Re: [PATCH] Re: Eggs not installing on msys-mingw32

2023-10-30 Thread Matt Welland
On Mon, Oct 30, 2023, 4:04 PM Mario Domenech Goulart wrote: > Hi Matt, > > On Mon, 30 Oct 2023 09:43:00 -0400 Matt Welland > wrote: > > > On Mon, Oct 30, 2023 at 9:37 AM wrote: > > > > > How about > > > "empty egg-info file, possibly due to

Re: [PATCH] Re: Eggs not installing on msys-mingw32

2023-10-30 Thread Matt Welland
On Mon, Oct 30, 2023 at 9:37 AM wrote: > > How about > > "empty egg-info file, possibly due to an aborted egg-install - please > remove the file and reinstall the corresponding egg"? > > > > Rationale: Matt's case. check-errors.egg-info was empty, but the > > installation of base64 was failing.

Re: [PATCH] Re: Eggs not installing on msys-mingw32

2023-10-30 Thread Matt Welland
about has a mix of forward and backward slashes. Installing sql-de-lite worked fine so the sqlite3 problem is unrelated I think. On Mon, Oct 30, 2023 at 9:21 AM Matt Welland wrote: > I think I was premature in concluding that removing the empty files was > sufficient to fix this. I can remov

Re: [PATCH] Re: Eggs not installing on msys-mingw32

2023-10-30 Thread Matt Welland
I think I was premature in concluding that removing the empty files was sufficient to fix this. I can remove the empty file but the moment I hit an egg that depends on check-errors it seems to get stuck. I turned off the continuous virus feature and I tried using CHICKEN_EGG_CACHE to put the

Re: Eggs not installing on msys-mingw32

2023-10-30 Thread Matt Welland
ma...@parenteses.org> wrote: > On Mon, 30 Oct 2023 06:53:05 +0100 Mario Domenech Goulart < > ma...@parenteses.org> wrote: > > > On Sun, 29 Oct 2023 20:22:53 -0700 Matt Welland > wrote: > > > >> I'm guessing I've done something wrong in my setup but some eggs did &g

Eggs not installing on msys-mingw32

2023-10-29 Thread Matt Welland
I'm guessing I've done something wrong in my setup but some eggs did install and some do not and I'm not sure what I'm missing. MINGW32 ~ $ chicken-install base64 fetching base64 C:\msys64\tmp\tempa4ea.8676\base64.egg C:\msys64\tmp\tempa4ea.8676\base64.scm

Hypergiant ckui - first few widgets and a calculator ui example.

2023-05-08 Thread Matt Welland
Buttons, labels, vbox and hbox work. click on a button and it changes shade briefly and the associated proc is called. So far it wasn't too hard and I think it is promising but text boxes, tree widgets, etc, scroll bars and more are needed. Some questions below. [image: image.png] Request for

Request change to hypergiant

2023-05-08 Thread Matt Welland
I want to get mouse clicks from the ui scene but I cannot access the ui camera. In hypergiant/window.scm the ui camera is found in *ui-camera* but this is not exported. When I added it to the exports I was able to see the mouse clicks with this: (get-cursor-world-position *ui-camera*) Is there a

hypergiant line-mesh - what are POINTS?

2023-05-02 Thread Matt Welland
It looks like I should be able to do line drawings with line-mesh. The spec in the docs is: [procedure] (line-mesh POINTS [mode: MODE]) Create a non-indexed mesh of POINTS. MODE should be a valid argument to mode->gl, defaulting to #:line-strip. But I can't figure out what POINTS are supposed

Re: Static compile using csm question; how to add linked extension?

2023-04-25 Thread Matt Welland
Yes, that worked and hyperscene.a was created, very cool! I then discovered that neither libepoxy nor mesa have static libs installed on Ubuntu. After getting the source, installing over 20 additional libraries and figuring out how to turn on static compile it failed after an hour of compiling

Static compile using csm question; how to add linked extension?

2023-04-25 Thread Matt Welland
I'm trying to compile the simple.scm example from hypergiant statically using csm. Is this possible? all.options: -program simple -C -I/usr/include simple.options: -L -L/usr/lib/x86_64-linux-gnu -L -lepoxy -L -lGL -static -L -static -L -lm -L -ldl -link hyperscene I've tried -R hyperscene and

Re: what are the needed switches to build hypergiant examples?

2023-04-24 Thread Matt Welland
Nevermind, I was missing the (now obvious) -L -lepoxy. On Mon, Apr 24, 2023 at 10:18 PM Matt Welland wrote: > I tried: > > matt@mars:~/.cache/chicken-install/hypergiant/examples$ ck53 csc -L -lGL > models.scm > models.c: In function ‘fastRenderBonePipeline’: > models.c:80:25:

what are the needed switches to build hypergiant examples?

2023-04-24 Thread Matt Welland
I tried: matt@mars:~/.cache/chicken-install/hypergiant/examples$ ck53 csc -L -lGL models.scm models.c: In function ‘fastRenderBonePipeline’: models.c:80:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 80 | glBindTexture(3553, (unsigned

Re: Need GUI (again), gauging interest in an alternative approach.

2023-03-23 Thread Matt Welland
writing new bindings, > so... > > -elf > > > On 23 March 2023 13:43:10 GMT+02:00, Matt Welland > wrote: > >> Tk is great, no doubt about it. I still miss Eric Gallesio's STk. The >> reasons I decided against tk include: >> >>1. Clunky 1980's look and f

Re: Need GUI (again), gauging interest in an alternative approach.

2023-03-23 Thread Matt Welland
in a Chicken program and bolt on Godot for the user interface (via tcp for now). Just my $0.02 On Wed, Mar 22, 2023 at 11:37 PM elf wrote: > Erm, what's wrong with the tk bindings, which should work everywhere > already? > > -elf > > On 23 March 2023 02:36:43 GMT+02:00, Mat

Re: Need GUI (again), gauging interest in an alternative approach.

2023-03-22 Thread Matt Welland
code > into a single loadable module for Godot to use would be most promising 樂 > > I think I've just found a project for the upcoming CHICKEN summer workshop >  > > Ciao, > Thomas C. > > > Am Mi., 22. März 2023 um 15:28 Uhr schrieb Matt Welland < > mattrwell

Need GUI (again), gauging interest in an alternative approach.

2023-03-22 Thread Matt Welland
I've been using IUP with Chicken for years. I really enjoy using it (thanks Thomas!). But, here we are, over 10 years later and IUP is still not available as an official Debian package and it is a burden to deploy. It is also still not supported on Mac. So, I'm scouting around (again) for

New egg: fcp - basic Freenet interface

2022-12-21 Thread Matt Welland
I've released a new egg, fcp. It can be used to insert and retrieve files from the Freenet network. It also comes with a command-line interface. http://wiki.call-cc.org/eggref/5/fcp Thanks to Mario for adding the egg. Matt -- Complexity is your enemy. Any fool can make something complicated. It

Re: generalized-arrays egg, array-read fails on array written with array-write

2022-12-17 Thread Matt Welland
a chance to fix generalized-arrays I'd likely switch back. Thanks again, Matt -=- On Thu, Dec 15, 2022 at 12:28 PM Matt Welland wrote: > This seems like a bug (unless I'm missing something?): > > (module justtesting * > (import scheme chicken.base generalized-arrays storage-classes)

generalized-arrays egg, array-read fails on array written with array-write

2022-12-15 Thread Matt Welland
This seems like a bug (unless I'm missing something?): (module justtesting * (import scheme chicken.base generalized-arrays storage-classes) (define (testit) (let* ((size (vector 100 100)) (ary (make-array vector-storage-class size 0))) (with-output-to-file "testarray.dat"

generalized-arrays broken link to arrays-cowan

2022-12-14 Thread Matt Welland
The link location is now: https://small.r7rs.org/wiki/ArraysCowan/2/ Thanks. -- Complexity is your enemy. Any fool can make something complicated. It is hard to keep things simple. - Richard Branson.

Re: Request for feedback: Chicken as a self-contained AppImage

2022-09-29 Thread Matt Welland
ith the --appimage-extract argument: > chicken5.AppImage --appimage-extract > That way it'll extract the AppDir into a folder called squashfs-root. > > On 29.09.22 14:09, Matt Welland wrote: > > Hi Daniel, > > I'd like to try appImage for some apps written in Chicken. I'm guessi

Re: Request for feedback: Chicken as a self-contained AppImage

2022-09-29 Thread Matt Welland
Hi Daniel, I'd like to try appImage for some apps written in Chicken. I'm guessing that your set up for bundling Chicken itself would be a good starting point. Can you provide a tar of your AppDir or notes on how you created it? Thanks, Matt -=- On Wed, Sep 28, 2022 at 3:37 PM Daniel Ziltener

Minor typo in posixunix.scm

2022-09-14 Thread Matt Welland
posixunix.scm: (posix-error #:file-error 'create-symbol-link "cannot create symbolic link" old new) ) ) ) Should probably be "create-symbolic-link". Thanks, Matt -=- Complexity is your enemy. Any fool can make something complicated. It is hard to keep things simple. - Richard Branson.

Re: csm static build fails on yaml egg

2022-06-11 Thread Matt Welland
Ok. csm is helpful but not a magic bullet. I assumed that because "csm -program yamltest" worked without additional switches etc I could merely add -static to get a static build. Adding all.options and yamltest.options with the needed info works: cat all.options -program yamltest -C

Re: How best to get a default result from sqlite3, or to use or not use first-result?

2022-06-11 Thread Matt Welland
parameters! stmt parameters) > (if (step! stmt) > (column-data stmt 0) > default)) > db sql)) > > [untested, and leaving the usual "overloads" for statement objects vs. SQL > source as an exercise to the reader ] > > Ciao, >

csm static build fails on yaml egg

2022-06-11 Thread Matt Welland
This is on ubuntu, chicken 5.3: Test code: (module yamltest * (import scheme chicken.string yaml) (write (yaml-load "test.yaml"))) > csm -static -program yamltest '/home/ubuntu/data/buildall/w23-0-ck5.3/bin/csc' '-o' 'yamltest' '-I'

How best to get a default result from sqlite3, or to use or not use first-result?

2022-06-08 Thread Matt Welland
The problem: retrieve one value from a query, if there is no matching row return a default. Method 1: use for-each-row, overwrite the default with found values Method 2: use first-result, on exception return the default Method 3: use fold-row (wasn't an option when I first wrote the code) My

Re: What is this message trying to tell me? csc: could not find linked extension: chicken.csi

2022-05-26 Thread Matt Welland
Thanks Felix, that was the hint I needed. I was calling (repl). Once I removed that it compiled static just fine. On Wed, May 25, 2022 at 5:00 PM wrote: > > ck5 csm -program kvpub -static > > '/home/mrwellan/data/buildall/ck5.3/bin/csc' '-c' '-static' '-J' > >

What is this message trying to tell me? csc: could not find linked extension: chicken.csi

2022-05-25 Thread Matt Welland
ck5 csm -program kvpub -static '/home/mrwellan/data/buildall/ck5.3/bin/csc' '-c' '-static' '-J' '/home/mrwellan/data/kvpub/mtargs.scm' '-I' '/home/mrwellan/data/kvpub' '-C' '-I' '-C' '/home/mrwellan/data/kvpub' '-unit' 'mtargs' '-emit-link-file' 'mtargs.link' '-o' 'mtargs.o'

Re: How to do formatting in iup textbox?

2022-02-04 Thread Matt Welland
On Thu, Feb 3, 2022 at 6:29 PM Vasilij Schneidermann wrote: > Hello Matt, > > > What is the equivalent to iup.user in the Chicken iup egg? > > The egg doesn't have a binding for "IupUser", so you'd need to expose > that first. > Ok. That makes sense. > Or more generally, how to apply

How to do formatting in iup textbox?

2022-01-28 Thread Matt Welland
What is the equivalent to iup.user in the Chicken iup egg? local tags = *iup.user* { selectionpos = "7:24", bgcolor = "255 128 64" } text1.addformattag = tags Or more generally, how to apply formatting to text in the textbox widget? Thanks, Matt -- Complexity is your enemy. Any fool can make

Re: Guidance requested for debugging import problem.

2021-11-29 Thread Matt Welland
On Mon, 2021-11-29 at 21:16 +0100, felix.winkelm...@bevuta.com wrote: > > Hi! > > The problem here is that read-syntax extensions are not seen by csm, > which > tries to load and parse all source files. This was a blatant > oversight on my part, > I just committed a few changes to the csm trunk

Re: Guidance requested for debugging import problem.

2021-11-29 Thread Matt Welland
Hi Felix, I did not know about csm (or perhaps forgot it's existence?). Anyhow it seems like a potentially much better solution than a hand-maintained Makefile. I've tried it on a couple code bases and I'm running into a few issues, some are just cruft in the code but two cases I'm running into

Re: Guidance requested for debugging import problem.

2021-11-14 Thread Matt Welland
Wow, that seems to have fixed it. Thanks!! On Sun, Nov 14, 2021 at 3:54 PM wrote: > > I went ahead and completed the minimal example build including the use of > > .import.o files to enable using modules in evals. See attached tar. It > > works fine which implies that, as you suggested, I have

Re: Guidance requested for debugging import problem.

2021-11-14 Thread Matt Welland
for others ramping up on creating a chicken application. I could not find a sample app on the wiki, after getting input on best known methods I can add it. On Sat, Nov 13, 2021 at 11:25 PM Matt Welland wrote: > The .import.o files are there to support access to modules in evals (there > is a past

Re: Guidance requested for debugging import problem.

2021-11-13 Thread Matt Welland
The .import.o files are there to support access to modules in evals (there is a past email thread on this). Those files are compiled like this: csc -unit apimod.import -c apimod.import.scm -o apimod.import.o I've attached a basic testcase that models the build without the import.o stuff. Please

Re: Guidance requested for debugging import problem.

2021-11-12 Thread Matt Welland
Thanks Felix for looking. Both run with -:d and attached. I only see the following loading calls in dashboard.log: ; loading /home/matt/data/buildall/ck5.2/lib/chicken/11/ chicken.time.import.so ... [debug] loading compiled library

Re: Guidance requested for debugging import problem.

2021-11-12 Thread Matt Welland
On Fri, Nov 12, 2021 at 3:47 AM wrote: > > Update. I found that removing the *.import.scm files causes the problem > to > > also occur when running the executable in the directory where compiled. > > However the non-gui executable still works fine. Why would a compiled > > Chicken program be

Re: Guidance requested for debugging import problem.

2021-11-11 Thread Matt Welland
, 2021 at 8:17 PM Matt Welland wrote: > Background: I've converted a flat (compilation units but not modules) > chicken program to modules and from chicken 4.12 to chicken 5.2. There are > two executables, a command-line only and a gui using iup. > > The problem: The command-line program

Guidance requested for debugging import problem.

2021-11-11 Thread Matt Welland
Background: I've converted a flat (compilation units but not modules) chicken program to modules and from chicken 4.12 to chicken 5.2. There are two executables, a command-line only and a gui using iup. The problem: The command-line program runs fine from any directory however the IUP gui program

Re: Seeking feedback for nng egg

2021-10-16 Thread Matt Welland
nng compiled as a shared library? Because it looks like it’s linking > against an archive file. > > On Oct 14, 2021, at 20:49, Matt Welland wrote: > >  > I added "-C" "-fPIC" and get this: > > matt@mars:~/src/chicken-nng$ ck5 chicken-install -s > bu

Re: Seeking feedback for nng egg

2021-10-14 Thread Matt Welland
gain. If the error persist send me the logs and I'll > look > into it. > > Cheers! > > On Wed, 13 Oct 2021 16:00:46 -0400 > Matt Welland wrote: > > > OS is lubuntu 20.04, latest nng from git. > > > > Thanks. > > > -- -- Complexity is your enemy. Any fool can make something complicated. It is hard to keep things simple. - Richard Branson.

Re: Seeking feedback for nng egg

2021-10-13 Thread Matt Welland
g, though. What OS are you using? I'll see if I can replicate that. > > Thanks for giving this a try, cheers! > > El 12 de octubre de 2021 11:28:47 p. m. GMT-03:00, Matt Welland < > m...@kiatoa.com> escribió: > >Hi Ariela, > > > >I'd like to give this a try but I'm

Re: Seeking feedback for nng egg

2021-10-12 Thread Matt Welland
Hi Ariela, I'd like to give this a try but I'm not sure how to build it. 1. it seems to need srfi-69 2. I tried to compile with "make" and "chicken-install" but get a message about needing to use -fPIC. How to do that? I tried with: CSC_OPTIONS='-C "-fPIC"' make Thanks. On Sat,

Re: Hard coded paths in csc and relocatable chicken

2021-05-21 Thread Matt Welland
or an env var to give end users control then I'd be enabled. Thanks, Matt -=- On Fri, May 21, 2021 at 10:58 AM Mario Domenech Goulart < ma...@parenteses.org> wrote: > Hi Matt, > > On Thu, 20 May 2021 15:04:16 -0700 Matt Welland > wrote: > > > As mentioned in the codin

Hard coded paths in csc and relocatable chicken

2021-05-20 Thread Matt Welland
As mentioned in the coding jam I put together a chicken bundle including the iup egg ready to go outside the box. It turns out that my assertion that it worked was wrong. I tested by running csi and was able to load iup and create a button and I assumed that if this worked then so would

Chicken 5, chicken-install goes silent for long time on installing long list of eggs

2021-04-27 Thread Matt Welland
chicken install address-info ansi-escape-sequences apropos base64 crypt csv-abnf directory-utils filepath fmt format http-client intarweb json linenoise matchable md5 message-digest moremacros pathname-expand postgresql queues regex-case rfc3339 s11n sha1 slice sparse-vectors spiffy

Re: Chicken 5 compilation, coerced inexact literal number warning. What am I missing here?

2021-04-08 Thread Matt Welland
it to a compilation unit the fixnum no longer applied. On Wed, Apr 7, 2021 at 10:49 PM Peter Bex wrote: > On Wed, Apr 07, 2021 at 10:42:39PM -0700, Matt Welland wrote: > > There is a .h file in hostinfo and I didn't catch the error message. > > Presumably that somehow put the compiler i

Re: Chicken 5 compilation, coerced inexact literal number warning. What am I missing here?

2021-04-07 Thread Matt Welland
challenge :) On Tue, Apr 6, 2021 at 11:20 PM Peter Bex wrote: > On Tue, Apr 06, 2021 at 09:37:32PM -0700, Matt Welland wrote: > > This one I sort of understand but it does seem annoying: > > > > Warning: coerced inexact literal num

Chicken 5 compilation, coerced inexact literal number warning. What am I missing here?

2021-04-06 Thread Matt Welland
This one I sort of understand but it does seem annoying: Warning: coerced inexact literal number `9e+99' to fixnum 848859130765266355329578537025198862586562510896759102769772101980841694466750283776 but the following I don't understand: This line: (define megatest-version

Chicken GUI options survey and questions.

2021-03-05 Thread Matt Welland
I'm starting (yet another) attempt to move a big project of mine to Chicken 5 and now is a good time to look at other options for the GUI. Before I do some evaluations I'm interested in hearing any thoughts from others. What is your preferred toolkit for making GUI apps with chicken? I've been

Dead link on matchable documentation

2020-09-27 Thread Matt Welland
This link to this paper an-introduction-to-lispy-pattern-matching.html, from http://wiki.call-cc.org/eggref/5/matchable, is dead. I could not find the paper. Thanks. -- -- Complexity is your enemy. Any fool can make something complicated. It is hard to keep things simple. - Richard Branson.

Re: tabular is not handling "" escapes

2020-03-06 Thread Matt Welland
n into any > other issues. Best regards, > > -Ivan > > On Thu, Mar 5, 2020 at 2:14 PM Matt Welland > wrote: > > > > It is common in csv to escape double quotes with double quotes. This > does not work in tabular and I was unable to figure out any other > mechani

tabular is not handling "" escapes

2020-03-05 Thread Matt Welland
It is common in csv to escape double quotes with double quotes. This does not work in tabular and I was unable to figure out any other mechanism. Replacing the first " with \ did not work and neither did using single quotes around the string. Is there a built in mechanism? The csv files in

Re: How to get a useful repl with Chicken 5?

2020-01-31 Thread Matt Welland
" then it could look at the filesystem and list the files that match. On Fri, Jan 31, 2020 at 4:30 AM Matt Welland wrote: > For linenoise I was not able to get saving history to work. > > I'm having trouble getting breadline to install on Ubuntu on this old > laptop. I have libre

Re: How to get a useful repl with Chicken 5?

2020-01-31 Thread Matt Welland
For linenoise I was not able to get saving history to work. I'm having trouble getting breadline to install on Ubuntu on this old laptop. I have libreadline-dev installed but when I do chicken-install breadline I get: matt@matt-HP-EliteBook-6930p:~$ chicken-install breadline building breadline

Re: How to get a useful repl with Chicken 5?

2020-01-30 Thread Matt Welland
e history into ~/.csi_history > > On 1/30/20 12:01 PM, Matt Welland wrote: > > Line editing and saving history make using a repl much more productive for > me. With chicken 4 I was able to get a useful repl with something like this > sequence of calls: > > (import extras)

How to get a useful repl with Chicken 5?

2020-01-30 Thread Matt Welland
Line editing and saving history make using a repl much more productive for me. With chicken 4 I was able to get a useful repl with something like this sequence of calls: (import extras) ;; might not be needed? (import readline) (import apropos) ;; my imports here ... (install-history-file

Re: Multi-platform app development options for chicken?

2020-01-21 Thread Matt Welland
erver in > Chicken on the loopback interface the GUI part (on Android) is the > webkit widget from Android, controled via LNjScheme. (On Linux/Windows > it starts a Webbrowser. iOS I did not tryso far.) > > Best > > /Jörg > > [1]: > > https://github.com/part-cw/lambdanativ

Multi-platform app development options for chicken?

2020-01-19 Thread Matt Welland
Currently I've got windows and Linux covered and I'm very happy with the Chicken+IUP combo (although getting that to work on old platforms with Chicken 5 is a challenge). However I need to try again for Android. The SDL build worked and has great potential for games but not so much for regular

Re: csirc when transitioning from chicken 4 to 5

2020-01-15 Thread Matt Welland
Perfect! I was not aware of cond-expand. Thanks! On Wed, Jan 15, 2020 at 11:28 AM Peter Bex wrote: > On Wed, Jan 15, 2020 at 11:00:02AM -0700, Matt Welland wrote: > > I have not been able to figure out how to make a .csirc that works for > both > > chicken 4 and 5. > &

csirc when transitioning from chicken 4 to 5

2020-01-15 Thread Matt Welland
I have not been able to figure out how to make a .csirc that works for both chicken 4 and 5. (import (chicken platform)) is not legal for chicken 4 but (chicken-version) is not available in chicken 5 until you've done the import. Chicken and egg :) How about having chicken 5 csi load ".csirc5"?

Re: register-compiled-module performance

2020-01-11 Thread Matt Welland
On Sat, Jan 11, 2020 at 8:47 AM megane wrote: > > Matt Welland writes: > > > With Chicken 4 I'm seeing a pretty high impact on startup time from > > (declare (uses foo.import)). I think that will be less of a problem when > I > > switch from using * for my expor

register-compiled-module performance

2020-01-11 Thread Matt Welland
With Chicken 4 I'm seeing a pretty high impact on startup time from (declare (uses foo.import)). I think that will be less of a problem when I switch from using * for my export lists to only the procedures that need to be exported. However I was very surprised to see readline in the top three when

Re: Tidy way to test and set when using test egg?

2020-01-10 Thread Matt Welland
s and expressions in a block isn't actually legal >> Scheme, though it does work in Chicken. All defines are supposed to come >> first and all expressions afterwards. Since the test library is shared >> with Chibi, and since Chibi doesn't allow this extension, I can't see >>

Tidy way to test and set when using test egg?

2020-01-10 Thread Matt Welland
I find myself doing stuff like this very often when writing tests using the test egg: ;; A trivial example where the function under test is "-" (define data #f) (test #f 1 (let ((res (- 2 1)))(set! data res) res)) I'd really prefer to do something like: (test-and-define data #f 1 (- 2 1)) But

Re: It would be nice if glob "/*/*" worked

2019-11-29 Thread Matt Welland
On Fri, Nov 29, 2019 at 2:59 AM Tim via wrote: > Hi Matt, > > Matt Welland writes: > > Supporting glob patterns at any level would be handy. I started to > > implement something which I've included below but before I complete it: > > I like this idea too. Just one

Re: It would be nice if glob "/*/*" worked

2019-11-21 Thread Matt Welland
r part '("." ".." "/")) new) (else '() result) On Thu, Nov 21, 2019 at 3:25 AM Matt Welland wrote: > Supporting glob patterns at any level would be handy. I started to > implement something which I've included below but before I comp

It would be nice if glob "/*/*" worked

2019-11-21 Thread Matt Welland
Supporting glob patterns at any level would be handy. I started to implement something which I've included below but before I complete it: 1. Is there a multi-level glob implementation in some other egg? The glob that comes with posix only handles the pattern in the top level. I didn't find

Re: How to solve this import in an eval problem?

2019-11-12 Thread Matt Welland
That works. Thanks! On Tue, Nov 12, 2019, 1:11 AM Peter Bex wrote: > On Mon, Nov 11, 2019 at 10:43:44PM -0700, Matt Welland wrote: > > I'm working toward porting my various projects to chicken 5 and for one > > project I first want to convert a bunch of compilation u

How to solve this import in an eval problem?

2019-11-11 Thread Matt Welland
I'm working toward porting my various projects to chicken 5 and for one project I first want to convert a bunch of compilation units to modules. This has mostly gone well but I'm stuck on exposing module code in an eval. Without modules this worked great as everything was visible to the eval. It

[Chicken-users] blob-utils egg fails to install on mingw-msys32

2019-09-15 Thread Matt Welland
copy "blob-hexadecimal.types" "c:\chicken-iup\lib\chicken\8\blob-hexadecimal.types" 1 file(s) copied. "c:\chicken-iup\bin\csc" -feature compiling-extension -setup-mode pack-integer.scm -shared -optimize-leaf-routines -inline -output-file pack-integer.so -emit-import-library

Re: [Chicken-users] (hostinfo-addresses (hostname->hostinfo (get-host-name)))))) => returns only one address

2019-07-20 Thread Matt Welland
Hi Vasilij, While it would be great if you decided to port hostinfo, note that unfortunately with the hostinfo-addresses bug it is not much use to me. We have some code that seems to work ok for now: http://www.kiatoa.com/cgi-bin/fossils/ulex/artifact/5fd65e8732654017 so I am not blocked by this.

[Chicken-users] (hostinfo-addresses (hostname->hostinfo (get-host-name)))))) => returns only one address

2019-07-19 Thread Matt Welland
There are three interfaces on the host but hostinfo-addresses returns only one. I think this may be a bug. I'm using chicken 4.13 and see the same behavior on Ubuntu 18.04 and SLES11. csi> (hostinfo-addresses (hostname->hostinfo (get-host-name))) #(#u8(10 27 44 127)) Sometimes I get 127.0.0.1,

Re: [Chicken-users] I'm trying to use the cairo egg with the sdl2 egg but not making much progress. An

2019-01-29 Thread Matt Welland
On Tue, 2019-01-29 at 16:09 +0100, Christian Kellermann wrote: > * Matt Welland [190129 05:44]: > > With this I was able to get a sample page up. Thanks! > > > > If Christian Kellermann, owner of cairo, sees this and would like > > to > > add an sdl2 demo to

Re: [Chicken-users] I'm trying to use the cairo egg with the sdl2 egg but not making much progress. An

2019-01-28 Thread Matt Welland
With this I was able to get a sample page up. Thanks! If Christian Kellermann, owner of cairo, sees this and would like to add an sdl2 demo to the cairo egg please let me know. On Mon, 2019-01-28 at 08:12 +0100, ko...@upyum.com wrote: > Matt Welland wrote: > > Assuming it is possible,

[Chicken-users] I'm trying to use the cairo egg with the sdl2 egg but not making much progress. Any example code out there?

2019-01-27 Thread Matt Welland
Assuming it is possible, I'd like to use cairo to draw on sdl2 surfaces. I've read the demos and other available code but I'm not yet seeing how to bolt them together. Does anyone have some example code they can share to help me get going? ___

Re: [Chicken-users] Has hypergiant been used on Android?

2019-01-20 Thread Matt Welland
On Mon, 2019-01-21 at 01:12 +0100, Kooda wrote: > On 1/21/19 12:15 AM, Matt Welland wrote: > > > > Regarding hypergiant, after many tries it did install in the docker > > but  > > I have not been able to get the demo to work on android. I'll > > report  > >

Re: [Chicken-users] Has hypergiant been used on Android?

2019-01-20 Thread Matt Welland
On Mon, 2019-01-07 at 22:52 -0700, Matt Welland wrote: > Thanks Kristian, I'll give the docker builder a try! > > On Mon, 2019-01-07 at 18:01 +0300, Kristian Lein-Mathisen wrote: > > > > Hi Matt, > > > > I don't know if anyone has tried Hypergiant, but I've

Re: [Chicken-users] Has hypergiant been used on Android?

2019-01-07 Thread Matt Welland
-sdl2-android-builder > > The Android tooling makes most things extremely painful. The > Dockerfile instructions for SDL might be of help to you if you choose > to experiment yourself. > > Best of luck! > K. > > > On Sun, Jan 6, 2019, 02:42 Matt Welland > From the egg

[Chicken-users] Has hypergiant been used on Android?

2019-01-05 Thread Matt Welland
>From the eggs page it looks like hypergiant should work on android. Can anyone report sucessfully doing so? Is the work flow for deploying on android documented or tested? I'm considering using hypergiant instead of godot for a project. Deploying on Android is a primary goal and being able to

Re: [Chicken-users] Is Android not unix?

2018-11-25 Thread Matt Welland
ogin for, it would > > be much appreciated. Im trying to do a chicken wrapper for true randomness > > using sidechannel effects... so something that looks platform independent.) > > > > > > -elf > > > > > > On 26 November 2018 5:15:03 GMT+02:00, Mat

Re: [Chicken-users] Is Android not unix?

2018-11-25 Thread Matt Welland
Isn't Termux similar to UserLand - a compatibility layer of sorts similar to LXC or LXD? If so, I would not be surprised to see incompatibilities. I had to do several hacks to get IUP working on UserLand. On Mon, 2018-11-19 at 13:10 +0100, Thomas Chust wrote: > On Mon, 19 Nov 2018 13:19:10 +0300

Re: [Chicken-users] Chicken + IUP precompiled bundle for Raspbian (ARM) available.

2018-07-09 Thread Matt Welland
:55 PM, Thomas Chust wrote: > On Mon, 9 Jul 2018 10:44:05 -0700 Matt Welland > wrote: > > > [...] > > However the IUP egg uses ffcall which doesn't work on GNURoot, presumably > > because it is a chroot environment. > > [...] > > Hello, > > to me it

[Chicken-users] Chicken + IUP precompiled bundle for Raspbian (ARM) available.

2018-07-09 Thread Matt Welland
If you'd like to try Chicken with the IUP gui on your Raspberry pi you can download a prebuilt binary tar from: http://www.kiatoa.com/cgi-bin/fossils/opensrc/uv/pkgs/chicken-iup-arm-rasbian-06-08-2018.tar.gz and untar it into / I made this with the intention of using it in GNURoot Debian on

[Chicken-users] directory-utils egg has dependency that appears to not exist

2018-04-07 Thread Matt Welland
Directory utils 1.1.0 depends on typed-define which does not appear to exist. If I install 1.0.6 it works. Thanks. ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] bug or usage problem with posix group-information and there is no change-group?

2018-02-14 Thread Matt Welland
On Wed, 2018-02-14 at 13:44 +0100, Vasilij Schneidermann wrote: > Hello Matt, > > > > > In the repl calling group-information with the string name of a > > group > > works fine, in compiled code I get an error, expected fixnum but > > received string. I tested with Chicken 4.13 > I can reproduce

[Chicken-users] bug or usage problem with posix group-information and there is no change-group?

2018-02-12 Thread Matt Welland
In the repl calling group-information with the string name of a group works fine, in compiled code I get an error, expected fixnum but received string. I tested with Chicken 4.13 Also I see a change-file-owner but no change-file-group. A change-file- group would be useful as you can change the

Re: [Chicken-users] Memory allocation and limits in chicken scheme programs

2017-12-13 Thread Matt Welland
On Wed, Dec 13, 2017 at 12:41 PM, Peter Bex <pe...@more-magic.net> wrote: > On Wed, Dec 13, 2017 at 11:13:54AM -0700, Matt Welland wrote: > > I'm using Chicken 4.10.0 and with the below script chicken rapidly > > allocates memory then seems to get stuck: > > Hi Matt, &

[Chicken-users] Memory allocation and limits in chicken scheme programs

2017-12-13 Thread Matt Welland
I'm using Chicken 4.10.0 and with the below script chicken rapidly allocates memory then seems to get stuck: =script= (define start-time (current-milliseconds)) (define max-n 200) (let loop ((n 0) (stuff '())) (let ((bigvec (make-vector 100 0))) (print n "

Re: [Chicken-users] How to use bezier function in 2d-primitives?

2017-10-26 Thread Matt Welland
On Oct 25, 2017 4:32 PM, "Kooda" <ko...@upyum.com> wrote: On Tue, 24 Oct 2017 22:15:47 -0700 Matt Welland <mattrwell...@gmail.com> wrote: > I tried this: > > (use 2d-primitives) > (with-output-to-file "test.csv" > (lambda () > (for-each >

[Chicken-users] How to use bezier function in 2d-primitives?

2017-10-24 Thread Matt Welland
I tried this: (use 2d-primitives) (with-output-to-file "test.csv" (lambda () (for-each (lambda (v) (print (f32vector-ref v 0)","(f32vector-ref v 1))) (bezier->vects (bezier:create (vect:create 0 0)(vect:create 2 5)(vect:create 7 5)(vect:create 10 0) 10 Then load

[Chicken-users] ANN: Chicken + IUP installer for Windows has been updated.

2017-09-21 Thread Matt Welland
The chicken-iup installer for Windows has been updated. URL: http://www.kiatoa.com/fossils/chicken-iup Chicken version: 4.12.0 IUP version: 3.22 Canvas Draw version: 5.9 Lots of pre-installed eggs: abnf version: 7.0 advice

Re: [Chicken-users] chicken-install -keep-installed not working when doing -deploy

2017-05-01 Thread Matt Welland
I'm using 4.10. I had problems with 4.11 but will try again with 4.12. Thanks. On Sun, Apr 30, 2017 at 11:17 PM, Evan Hanson <ev...@foldling.org> wrote: Hi Matt, On 2017-04-30 23:10, Matt Welland wrote: I think -keep-installed is detecting the egg already installed to the

[Chicken-users] chicken-install -keep-installed not working when doing -deploy

2017-05-01 Thread Matt Welland
I think -keep-installed is detecting the egg already installed to the system - but it should be looking at the deploy directory when deploying. I am trying to get the following Makefile to work somewhat efficiently, however as make iterates over each egg some of the same dependencies are

Re: [Chicken-users] How to use units and modules together?

2017-04-30 Thread Matt Welland
That did the trick. Thanks Evan. On Sun, Apr 30, 2017 at 9:32 PM, Evan Hanson wrote: Hi Matt, You're very close. The only step you missed was emitting an import file for your "other" module so that csc knows what to do when you "(import other)" in main.scm. This should

[Chicken-users] How to use units and modules together?

2017-04-30 Thread Matt Welland
Is using units and modules together supported? I'd like to use modules but don't want to have to install them as eggs. I have tried this: =main.scm= (declare (uses other)) (import other) (other-print "Hello") ==end =other.scm= (declare (unit other)) (module other

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

2017-03-15 Thread Matt Welland
NOT 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 <m...@kiatoa.com> wrote: I have many exception handlers, mostly handle-exceptions but some condition-case, and I'd like to run some tests and tu

  1   2   3   >