Re: Using block compilation with compilation units

2021-12-27 Thread Jörg F. Wittenberger
Hello Robert, you are right, you can not directly call procedures from modules/units compiled with -block. A trick I used to "export" procedures was to have two compilation units (I used modules for both). One, the "hook", defining and exporting top level bindings, which is not compiled in

Re: How to share knowledge about known bugs?

2021-12-02 Thread Jörg F. Wittenberger
Jörg and all, > > On Wed, 1 Dec 2021 10:30:44 +0100 "Jörg F. Wittenberger" > wrote: > > > one in a while I wonder how to handle a list of eggs not suitable > > for certain situations due to some undocumented internals. > > I think a first step would be

How to share knowledge about known bugs?

2021-12-01 Thread Jörg F. Wittenberger
Hi Jeff and all of you, one in a while I wonder how to handle a list of eggs not suitable for certain situations due to some undocumented internals. Examples like "egg used global variables" vs. "application uses egg from multiple threads" come to mind. Or the case with the "synch" egg, which,

Re: Performance question concerning chicken flonum vs "foreign flonum"

2021-11-04 Thread Jörg F. Wittenberger
Hi Christian, this might be a case of "never trust a statistics you did not falsify yourself". Not bothering to speculate about explanations, I tend to ask how stable the results are wrt. larger N's, repetition etc. IMHO the results are too close for a call. Roughly this looks like 91% memory

Re: [ANN] CHICKEN 5.3.0 release candidate available

2021-08-13 Thread Jörg F. Wittenberger
Hi Ariela, sorry, my bad. Looks like I got side tracked and never returned to complete the release after merging the patch. Hope it works now. (Can't test myself currently.) /Jörg Am Fri, 13 Aug 2021 07:35:14 +0200 schrieb Mario Domenech Goulart : > Hi Ariela, > > On Thu, 12 Aug 2021

Re: Some questions about concurrency (mostly)

2020-11-08 Thread Jörg F. Wittenberger
Am Sun, 8 Nov 2020 02:17:58 + schrieb Chris Vine : > I wonder therefore why you think that this renders the proposed > with-lock function inappropriate, if that is what you were implying? > Perhaps you weren't and were making some other point. Macros for > handling resources such as mutex

Re: Some questions about concurrency (mostly)

2020-11-06 Thread Jörg F. Wittenberger
Am Fri, 06 Nov 2020 17:48:26 +0100 schrieb felix.winkelm...@bevuta.com: > > I'm not doing any call/cc or non-local exit shenanigans, but the > > code uses srfi-18 threads and does I/O over TCP. As I understand > > it, srfi-18 is implemented using continuations. Will that cause > > problems with

Re: Some questions about concurrency (mostly)

2020-11-06 Thread Jörg F. Wittenberger
Am Thu, 05 Nov 2020 23:22:09 +0100 schrieb Fredrik Appelberg : > 3. I'm new to dynamic-wind. If I wanted to create a general form for >executing a thunk protected by a mutex, would this be a good idea? > > (define (with-lock mutex thunk) >(dynamic-wind >(lambda ()

Re: Multi-platform app development options for chicken?

2020-01-20 Thread Jörg F. Wittenberger
Hi Matt, this is what I currently do to this end: Since a while I'm using lambdanative. It makes it easy for me to build APKs. Supports iOS too, though I never tried. I make a Chicken build for it (not avail upstream but I'll make it avail if anyone would like it). Chicken running in a

Re: [Chicken-users] memory monitoring and leak debugging? (should the advice be in a web page?)

2019-08-06 Thread Jörg F. Wittenberger
Hello Daniel, welcome here. Since CHICKEN compiles into C, all the tools you are used with C to use are still there. Personally I'm not a fan of fancy debuggers, since most of the things I write tend to depend on external (network) events. I'd welcome tips how to automate those jobs using

[Chicken-users] Build issue: is there a shortcut?

2019-07-12 Thread Jörg F. Wittenberger
Hi all, while cross compiling I wonder: this builds (in my case) a lot of binaries which have a path compiled in into the development environment. These are essentially useless. They just take my time to compile and waste space on the SSD. Probably there is a target for `make` to use instead

[Chicken-users] csc -embedded seems to be broken

2019-06-22 Thread Jörg F . Wittenberger
Hi, I tried to use the -embedded switch with csc as per manual "Embedding.html". This fails with "multiple definition of `main'". Compiling with csc -t and manually deleting `C_main_entry_point` seems to fix the issue. Is there any better way? Best Regards /Jörg (Using CHICKEN 4 in this

Re: [Chicken-users] [ANN] CHICKEN 5.1.0 has been released

2019-06-20 Thread Jörg F . Wittenberger
Dear CHICKENers, On Jun 18 2019, Peter Bex wrote: The other important new features are the new cond-expand, c-object and object forms in .egg files. The last two forms did not make it into the documentation yet, did they? Congratulations and thanks for all the work which went into it. Best

Re: [Chicken-users] Issue when linking statically

2019-01-29 Thread Jörg F . Wittenberger
.egg file for the resulting program. /Jörg Evan On 2019-01-28 14:07, Jörg F. Wittenberger wrote: Hi all, trying link a CHICKEN 5 program against the openssl egg fails badly for me. In the egg file I have openssl among the dependencies and (component-options (csc-options -static -v ) (li

[Chicken-users] Issue when linking statically

2019-01-28 Thread Jörg F . Wittenberger
Hi all, trying link a CHICKEN 5 program against the openssl egg fails badly for me. In the egg file I have openssl among the dependencies and (component-options (csc-options -static -v ) (link-options -L "-pthread -l:libssl.a -l:libcrypto.a" )) This links successfully, but when the

Re: [Chicken-users] Fwd: Peeking N characters in string ports

2019-01-11 Thread Jörg F . Wittenberger
Hi David, On Jan 11 2019, David Ireland wrote: Hi there, I'm reading from a (string) port and have a need to peek 2 characters inside without actually reading off the port (read-char). I believe procedures such as unread-char seen in other Schemes would solve my problem however, this isn't

[Chicken-users] two more eggs ported

2018-12-04 Thread Jörg F . Wittenberger
Hi all, Moritz especially attached two eggs spiffy-uri-match and uri-match which I just ported over to C5. Best Regards /Jörg chicken-egg-uri-match.tar.gz Description: chicken-egg-uri-match.tar.gz chicken-egg-spiffy-uri-match.tar.gz Description: chicken-egg-spiffy-uri-match.tar.gz

Re: [Chicken-users] new egg: simple-timer

2018-11-25 Thread Jörg F . Wittenberger
Thanks Mario, I tagged a better version. Best /Jörg On Nov 24 2018, Mario Domenech Goulart wrote: Hi Jörg, On 24 Nov 2018 21:59:08 +0100 Jörg F. Wittenberger wrote: I packages a new new: simple-timer https://raw.githubusercontent.com/0-8-15/simple-timer/master/simple

[Chicken-users] new egg: simple-timer

2018-11-24 Thread Jörg F . Wittenberger
Hi all, I packages a new new: simple-timer https://raw.githubusercontent.com/0-8-15/simple-timer/master/simple-timer.release-info This is intended as the one-stop shopping for low level plumping of the background threads every other egg needs to put at the core's timeout queue. (Either

Re: [Chicken-users] CHICKEN 5.0.0 release candidate 4 available

2018-10-29 Thread Jörg F . Wittenberger
Operating system: Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.51-3 (2017-12-13) x86_64 GNU/Linux Hardware platform: x86-64 C Compiler: gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516 Installation works: yes Tests work: yes Installation of eggs works: yes /Jörg

Re: [Chicken-users] http-client: distinguishing between responses 301 and 302

2018-10-19 Thread Jörg F . Wittenberger
On Oct 18 2018, John Cowan wrote: The difference between 301 and 302 is primarily relevant to crawlers and caches. I agree that it needs to exist, but not clear that a general-purpose client needs to expose it. Can you explain your use case more clearly? Thanks. John, to me this does not

Re: [Chicken-users] [Q] Are there any performance-wise differences between Chicken 5 and Chicken 4?

2018-10-11 Thread Jörg F . Wittenberger
On Oct 11 2018, Sungjin Chun wrote: Hi, it seems that Chicken 5 will be released soon or else :-) I'd like to know whether there's any performance enhancement in Chicken 5 compared to Chicken 4. Thanks in advance. So far I measured only very specific workloads. Unfortunately those did not

Re: [Chicken-users] Chicken on Windows 10 - Was: [ANN] CHICKEN 5.0.0 release candidate 2 available

2018-09-17 Thread Jörg F . Wittenberger
e generated absolute pathnames be wrong due to the same issue? K. On Sat, Sep 15, 2018, 15:26 Jörg F. Wittenberger < joerg.wittenber...@softeyes.net> wrote: Hi Kristian, I don't have the Windows machine close. I'm not perfectly sure, but I should not have specify a PREFIX at all. My inte

Re: [Chicken-users] Chicken on Windows 10 - Was: [ANN] CHICKEN 5.0.0 release candidate 2 available

2018-09-15 Thread Jörg F . Wittenberger
I tried to copy the invocation line with only the path leading to chicken-do removed. This leads to: /usr/local/bin/csc -host -D compiling-extension -J -s -setup-mode -I C:\msys64\home\... ... so creating subprocess failed Best /Jörg On Sep 12 2018, Jörg F. Wittenberger wrote:

[Chicken-users] Understanding Chicken 5 build scripts.

2018-09-12 Thread Jörg F . Wittenberger
Hi, since I learned how CHICKEN 5's chicken-install creates platform specific build scripts, I wonder: why? This looks to me like asking for trouble. (Incompatible interpreters, quotation issues etc.) Intuitively I'd rather chosen build upon the PLT make macro and scsh-process and avoid

[Chicken-users] Chicken on Windows 10 - Was: [ANN] CHICKEN 5.0.0 release candidate 2 available

2018-09-12 Thread Jörg F . Wittenberger
o removed. This leads to: /usr/local/bin/csc -host -D compiling-extension -J -s -setup-mode -I C:\msys64\home\... ... so creating subprocess failed Best /Jörg On Sep 12 2018, Jörg F. Wittenberger wrote: On Sun, Sep 09, 2018 at 02:30:12PM +0200, Peter Bex wrote: If you can, ple

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

2018-09-12 Thread Jörg F . Wittenberger
On Sun, Sep 09, 2018 at 02:30:12PM +0200, Peter Bex wrote: If you can, please let us know the following information about the environment on which you test the RC: Operating system: MINGW64_NT-10.0 Hardware platform: x86-64 C Compiler: gcc.exe (Rev1, Built by MSYS2 project) 8.2.0 Installation

[Chicken-users] functor support (C5)

2018-08-25 Thread Jörg F . Wittenberger
Hi all, I tried to package an egg exporting a functor. for reference here: https://github.com/0-8-15/ldif-sexpr `include` is literally copied to the .import.scm file The actual code of the functor is in its own file, which is included here

Re: [Chicken-users] porting eggs experiences and questions

2018-08-25 Thread Jörg F . Wittenberger
to the dependencies it need to install. Those are then not installed, which makes chicken-install barf at the depending eggs. Maybe it makes more sense to have the -n switch only in effect for the egg in the current directory while still installing dependencies. Best /Jörg On Aug 17 2018, Jörg F

Re: [Chicken-users] srfi-34 egg

2018-08-21 Thread Jörg F . Wittenberger
Thank you Mario, Should be fixed now. Best /Jörg On Aug 20 2018, Mario Domenech Goulart wrote: Hi Jörg, On Sun, 19 Aug 2018 09:21:42 +0200 Mario Domenech Goulart wrote: On 17 Aug 2018 20:40:02 +0200 Jörg F. Wittenberger wrote: there is an srfi-34 egg here https

Re: [Chicken-users] http-client help needed with basic authorization

2018-08-20 Thread Jörg F . Wittenberger
On Aug 20 2018, Peter Bex wrote: On Mon, Aug 20, 2018 at 02:47:25PM +0200, Jörg F. Wittenberger wrote: I'm trying to use the http-client to talk to a Jira installation. Without much success. Jira is documented to support Basic authentication. However it defaults to and advertices OAuth

Re: [Chicken-users] srfi-128 - almost

2018-08-20 Thread Jörg F . Wittenberger
8 15:57:52 +0300 megane wrote: Hi Jörg, Jörg F. Wittenberger writes: [...] Brings back the question: how would I tell chicken to temporarily consult other locations for egg distributions? E.g. I'd like to use chicken-install in a fresh location outside the source directory of the eg

Re: [Chicken-users] srfi-128 - almost

2018-08-20 Thread Jörg F . Wittenberger
, Jeremy Steward wrote: On 08/18/2018 06:12 AM, Jörg F. Wittenberger wrote: On Aug 18 2018, Jeremy Steward wrote: Hey Joerg, I'm the maintainer for that egg. I know; we talked about that before as I had packaged the same srfi under the name of "comparators" before. Ah, ri

Re: [Chicken-users] New C5 eggs: llrb-syntax

2018-08-20 Thread Jörg F . Wittenberger
Done. Reference removed. On Aug 19 2018, Mario Domenech Goulart wrote: On Sun, 19 Aug 2018 09:23:19 +0200 Mario Domenech Goulart wrote: On 18 Aug 2018 20:17:00 +0200 Jörg F. Wittenberger wrote: nothing changed, just ported https://raw.githubusercontent.com/0-8-15/llrb-syntax

[Chicken-users] http-client help needed with basic authorization

2018-08-20 Thread Jörg F . Wittenberger
I'm trying to use the http-client to talk to a Jira installation. Without much success. Jira is documented to support Basic authentication. However it defaults to and advertices OAuth. For the case at hand, a script reading some data, it OAuth looks like wasteful overhead. The idea is to

[Chicken-users] New C5 egg: sqlite3pth

2018-08-18 Thread Jörg F . Wittenberger
I'm amazed that this was actually portable to chicken 5 with so little effort. https://raw.githubusercontent.com/0-8-15/sqlite3pth/master/sqlite3pth.release-info Caveat: this depends on 1. llrb-tree, which waits for srfi-128 2. srfi-34 which I'm afraid may not really be maintained. For the

[Chicken-users] New C5 egg: llrb-tree

2018-08-18 Thread Jörg F . Wittenberger
llrb-tree is also supposed to be ready to go. But this one depends on srfi-128 which in in the queue. https://raw.githubusercontent.com/0-8-15/llrb-tree/master/llrb-tree.release-info Best /Jörg ___ Chicken-users mailing list

[Chicken-users] New C5 eggs: llrb-syntax

2018-08-18 Thread Jörg F . Wittenberger
nothing changed, just ported https://raw.githubusercontent.com/0-8-15/llrb-syntax/master/llrb-syntax.release-info Best /Jörg ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

[Chicken-users] New C5 egg: pthreads

2018-08-18 Thread Jörg F . Wittenberger
pthreads appears to work too https://raw.githubusercontent.com/0-8-15/pthreads/master/pthreads.release-info ... ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

[Chicken-users] New C5 egg: pigeon-hole

2018-08-18 Thread Jörg F . Wittenberger
This could go to the C5-coop https://raw.githubusercontent.com/0-8-15/pigeon-hole/master/pigeon-hole.release-info ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] srfi-128 - almost

2018-08-18 Thread Jörg F . Wittenberger
, I'd want it to go through the complete download process, just using the location from the other release-info. Great if a hand full of overwrites could sit in a single file like setup.defaults. On Aug 18 2018, megane wrote: Hi Jörg, Jörg F. Wittenberger writes: [...] Brings back

Re: [Chicken-users] srfi-128 - almost

2018-08-18 Thread Jörg F . Wittenberger
:17 AM MDT, "Jörg F. Wittenberger" wrote: Let's try an example. I forked the srfi-128 repo here and ported it to chicken 5 https://github.com/0-8-15/srfi-128 The .release-info still points upstream where the pull request went. This appears to install and work. Brings back the questi

[Chicken-users] srfi-34 egg

2018-08-17 Thread Jörg F . Wittenberger
there is an srfi-34 egg here https://raw.githubusercontent.com/0-8-15/srfi-34/master/srfi-34.release-info https://github.com/0-8-15/srfi-34 which compiles for me with both chicken 4 and chicken 5. Could go to the coop if it is done well. Best /Jörg

[Chicken-users] C5 Type declaration issue

2018-08-17 Thread Jörg F . Wittenberger
This is an instance of an error I'm getting frequently: /home/u/c5/bin/csc -setup-mode -static -I /home/u/traces/srfi-128 -emit-link-file /home/u/traces/srfi-128/srfi-128.link -host -D compiling-extension -c -unit srfi-128 -D compiling-static-extension -C -I/home/u/traces/srfi-128 -O3 -d2

[Chicken-users] srfi-128 - almost

2018-08-17 Thread Jörg F . Wittenberger
Let's try an example. I forked the srfi-128 repo here and ported it to chicken 5 https://github.com/0-8-15/srfi-128 The .release-info still points upstream where the pull request went. This appears to install and work. Brings back the question: how would I tell chicken to temporarily consult

Re: [Chicken-users] porting eggs experiences and questions

2018-08-17 Thread Jörg F . Wittenberger
Thanks Mario and Kristian for your responses. On Aug 17 2018, Mario Domenech Goulart wrote: I'm maintaining all my eggs in the same repo, same branch, same .release-info file and same versioning scheme for both CHICKEN 4 and 5. That's what I'd want. In my experience, that's not difficult.

[Chicken-users] porting eggs experiences and questions

2018-08-17 Thread Jörg F . Wittenberger
Hi, I just ported a first egg. (Pigeon-hole, "simple" mailbox with capacity constraint flow control and no timeouts.) * Question: what's about the .release-info This https://wiki.call-cc.org/porting-c4-to-c5 was helpful, but does not mention the release process. How would I mark a release

Re: [Chicken-users] chicken-5

2018-08-17 Thread Jörg F . Wittenberger
On Aug 17 2018, Juergen Lorenz wrote: Hi all, I've just begun to port my eggs to chicken-5. It's much simpler than I thought. The reorganisation of the libraries and egg installation system is great. I wish to thank the members of the chicken-team for their excellent job. Well done, guys!

Re: [Chicken-users] odd compiler messages on program structure errors

2017-10-08 Thread Jörg F . Wittenberger
Hello Claude, On Oct 7 2017, Claude Marinier wrote: Good afternoon, Things are good. Great to hear. ... I either get "unterminated list" or "unexpected list terminator: #\)". I realize too late that I should have made a copy of the failing code. Sorry. So, should we be concerned about

Re: [Chicken-users] Passing in a scheme function into C to be called later

2017-07-19 Thread Jörg F . Wittenberger
On Jul 18 2017, David Astels wrote: I'm integrating the Paho C MQTT client code with chicken. The publish stuff works fine; it's just straight-up calling C functions. Subscribing is puzzling me and I assume someone has encountered a similar situation at some point. I need to be able to pass

[Chicken-users] srfi-34 egg

2017-05-30 Thread Jörg F . Wittenberger
Hi Ben et al, I found it not paying nice (possibly not playing nice _anymore_) with the native exceptions chicken provides. The fix is simple, add these two lines to srfi-34 module: (use (prefix srfi-34 s34:)) (mutate-procedure! with-exception-handler (lambda (forget-it)

Re: [Chicken-users] New egg LDIF

2017-04-19 Thread Jörg F . Wittenberger
Thank you Caolan. Well spotted. Should be fixed now. On Apr 19 2017, Caolan McMahon wrote: Jörg, I think you have a typo in the first line: (repo git "git://github.com/0-0-15/{egg-name}.git") Should that be 0-8-15 to match your username (instead of 0-0-15)? Caola

[Chicken-users] New egg LDIF

2017-04-19 Thread Jörg F . Wittenberger
Hi, there's a new egg: Read/write LDIF, LDAP search strings and related data formats. (RFCs 2849, 4514, 2254) https://raw.githubusercontent.com/0-8-15/ldif-sexpr/master/ldif-sexpr.release-info Best /Jörg ___ Chicken-users mailing list

[Chicken-users] Using numbers correctly. How?

2016-12-08 Thread Jörg F . Wittenberger
Hi all, I'm trying to use scsh-process pass bignums arguments. Unfortunately scsh-process's maybe->string does not recognize them as number?s and bails out. I can work around this easily, just use ->string at the invocation point. I'd rather like to fix the root cause and not work around.

Re: [Chicken-users] Missing functions in Chicken IUP?

2016-04-21 Thread Jörg F . Wittenberger
Am 21.04.2016 um 01:53 schrieb 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? Those are subsumed into "show" (in file iup-base.scm). If the

Re: [Chicken-users] [Chicken-hackers] on ticket 1231

2016-01-26 Thread Jörg F . Wittenberger
for the reviewers to grok the code, I'll put more comments into the test case. For the curious attached my current version of the test. Best /Jörg Am 23.01.2016 um 13:19 schrieb Peter Bex: > On Fri, Jan 22, 2016 at 07:42:09PM +0100, Jörg F. Wittenberger wrote: >> Hi all, >> >> ther

[Chicken-users] problem compiling master

2016-01-26 Thread Jörg F . Wittenberger
Hi, I just recompiled "master" on the raspberrypi. Took forever as expected. But does not work. chicken-install complains about setup-download not avail. How would I figure out what went wrong? Thanks so much /Jörg ___ Chicken-users mailing list

[Chicken-users] PS: problem compiling master

2016-01-26 Thread Jörg F . Wittenberger
Maybe I should add that the installation updated setup-download.{import.so, so} in /usr/local/lib/chcken/8 as expected. Am 26.01.2016 um 17:59 schrieb Jörg F. Wittenberger: > Hi, > > I just recompiled "master" on the raspberrypi. Took forever as > expected. But does

Re: [Chicken-users] PS: problem compiling master

2016-01-26 Thread Jörg F . Wittenberger
Am 26.01.2016 um 19:24 schrieb Peter Bex: > On Tue, Jan 26, 2016 at 06:10:18PM +0100, Jörg F. Wittenberger wrote: >> Maybe I should add that the installation updated >> setup-download.{import.so, so} >> in /usr/local/lib/chcken/8 as expected. > > Did you

Re: [Chicken-users] PS: problem compiling master

2016-01-26 Thread Jörg F . Wittenberger
Am 26.01.2016 um 19:37 schrieb Peter Bex: > On Tue, Jan 26, 2016 at 07:28:42PM +0100, Jörg F. Wittenberger wrote: >> Am 26.01.2016 um 19:24 schrieb Peter Bex: >>> On Tue, Jan 26, 2016 at 06:10:18PM +0100, Jörg F. Wittenberger wrote: >>>> Maybe I should add that the in

Re: [Chicken-users] PS: problem compiling master

2016-01-26 Thread Jörg F . Wittenberger
Am 26.01.2016 um 20:12 schrieb Peter Bex: > On Tue, Jan 26, 2016 at 07:51:49PM +0100, Jörg F. Wittenberger wrote: >>> Can you tell us exactly what you did with chicken-install? Any >>> particular flags or environment variables? >> >> I did nothing at all. &

Re: [Chicken-users] PS: problem compiling master

2016-01-26 Thread Jörg F . Wittenberger
26, 2016 at 06:10:18PM +0100, Jörg F. Wittenberger wrote: >> Maybe I should add that the installation updated >> setup-download.{import.so, so} >> in /usr/local/lib/chcken/8 as expected. > > Did you fetch master which includes ad5f74dce9e9b5? > > This fixed a b

[Chicken-users] on ticket 1231

2016-01-22 Thread Jörg F . Wittenberger
Hi all, there is a problem I have with ticket 1231. http://bugs.call-cc.org/ticket/1231 In short: I'd love to see the patch applied. (Or learn about issues it causes.) Long story: The pigeon-hole egg I recently published looks internally somewhat like the "rewrite it using condition-variables"

Re: [Chicken-users] Documentation for pthreads egg

2016-01-21 Thread Jörg F . Wittenberger
Am 20.01.2016 um 22:38 schrieb Joe Python: > Where can i get the html docs for the pthreads egg? http://wiki.call-cc.org/eggref/4/pthreads > A link to it would be appreciated. Guess you knew the link before. ;-) I just added some content. > Thank you, > - Jo

Re: [Chicken-users] A question regarding "hidden" eggs

2016-01-20 Thread Jörg F . Wittenberger
The other one is that in those eggs included in the official coop, I sometimes need temporary work around missing code sequences. I could always literally include them, but that makes a bad source code. I'd rather like to use a "glue-egg". > > K. > > On Mon, Jan 18,

Re: [Chicken-users] ANN: new eggs, pthreads and sqlite3pth

2016-01-20 Thread Jörg F . Wittenberger
n, 18 Jan 2016 18:20:50 +0100 Jörg F. Wittenberger > <joerg.wittenber...@softeyes.net> wrote: > >> Done. >> >> sqlite3pth now includes a slightly old version of sqlite3 (3.9.2). >> Should compile with chicken-install. Bonus: basic tests added. > > Nice

[Chicken-users] ANN: new egg pigeon-hole

2016-01-19 Thread Jörg F . Wittenberger
Hi, another egg for the coop: pigeon-hole a pigeon-hole is like a mailbox constrained by capacity. https://raw.githubusercontent.com/0-8-15/pigeon-hole /master/pthreads.release-info Documentation currently only github: https://github.com/0-8-15/pigeon-hole Cheers /Jörg

Re: [Chicken-users] ANN: new eggs, pthreads and sqlite3pth

2016-01-18 Thread Jörg F . Wittenberger
örg F. Wittenberger <joerg.wittenber...@softeyes.net> [160118 13:41]: >> OK, if that's the way to go, I'll mimic the pattern from sql-de-lite. >> I just though this would be too much overhead. I was concerned to put >> useless load on the test infrastructure. > > We

Re: [Chicken-users] A question regarding "hidden" eggs

2016-01-18 Thread Jörg F . Wittenberger
Am 18.01.2016 um 14:13 schrieb Christian Kellermann: > * Jörg F. Wittenberger <joerg.wittenber...@softeyes.net> [160116 19:35]: >> Hi, >> >> I feel the need to have some space to stash away temporary glue code. >> > > Is this about code you want to be a

Re: [Chicken-users] ANN: new eggs, pthreads and sqlite3pth

2016-01-18 Thread Jörg F . Wittenberger
Done. sqlite3pth now includes a slightly old version of sqlite3 (3.9.2). Should compile with chicken-install. Bonus: basic tests added. Am 18.01.2016 um 13:36 schrieb Christian Kellermann: > * Jörg F. Wittenberger <joerg.wittenber...@softeyes.net> [160118 13:31]: ... > If you rely o

Re: [Chicken-users] ANN: new eggs, pthreads and sqlite3pth

2016-01-18 Thread Jörg F . Wittenberger
OK, if that's the way to go, I'll mimic the pattern from sql-de-lite. I just though this would be too much overhead. I was concerned to put useless load on the test infrastructure. Am 18.01.2016 um 13:36 schrieb Christian Kellermann: > * Jörg F. Wittenberger <joerg.wittenber...@softey

Re: [Chicken-users] ANN: new eggs, pthreads and sqlite3pth

2016-01-18 Thread Jörg F . Wittenberger
Am 17.01.2016 um 17:06 schrieb Mario Domenech Goulart: > Hello Jörg, > sqlite3pth's installation fails, so I haven't added it yet: Yeah. That's a known documented limitation. https://github.com/0-8-15/sqlite3pth """(Sorry for this. For this. I can not rely on system installed sqlite but must

Re: [Chicken-users] ANN: new eggs, pthreads and sqlite3pth

2016-01-17 Thread Jörg F . Wittenberger
Thanks! Yes. Done. Am 17.01.2016 um 15:17 schrieb Mario Domenech Goulart: > Hi Jörg, ... >> Release-infos: >> >> https://raw.githubusercontent.com/0-8-15/pthreads/master/pthreads.release-info >> >> https://raw.githubusercontent.com/0-8-15/sqlite3pth/master/sqlite3pth.release-info > > The

[Chicken-users] ANN: new eggs, pthreads and sqlite3pth

2016-01-16 Thread Jörg F . Wittenberger
Hi all, two new eggs for the coop. Beware: requires recent chicken from git master to run reliably. pthreads: maintains a pool of pthreads sqlite3pth: yet another sqlite3 driver. Offloads sqlite queries to pthreads. Supports sqlite3 VFS to call back to chicken for blocks. Documentation is

[Chicken-users] A question regarding "hidden" eggs

2016-01-16 Thread Jörg F . Wittenberger
Hi, I feel the need to have some space to stash away temporary glue code. Ideally the current version of it is always empty and not of interest to anyone. As documentation always lags behind, it is empty with high probability. However development is not ideal. Not listing as in being marked

[Chicken-users] SRFI-1 egg

2016-01-14 Thread Jörg F . Wittenberger
I always was sooo keen to write something nobody needs. ;-) And as if the uselessness wasn't enough, I'm even cross-posting this message to chicken-hackers! Here another egg for the coop: http://askemos.org/chicken-eggs/srfi-1.release-info tarball:

Re: [Chicken-users] Need help to figure out where this strange performance impact is coming from

2016-01-14 Thread Jörg F . Wittenberger
Am 13.01.2016 um 21:46 schrieb Christian Kellermann: > * Christian Kellermann <ck...@pestilenz.org> [160113 21:44]: >> * Jörg F. Wittenberger <joerg.wittenber...@softeyes.net> [160113 12:38]: >>> yesterday I found that simply having a (use mailbox) in some code ha

Re: [Chicken-users] Need help to figure out where this strange performance impact is coming from

2016-01-14 Thread Jörg F . Wittenberger
Tried that too: on AMD64 (Debian) chicken 4.10.1 from tarball does NOT give any difference. But even if it may be an ARM related problem: how is it even possible??! Am 14.01.2016 um 11:10 schrieb Jörg F. Wittenberger: > Am 13.01.2016 um 21:46 schrieb Christian Kellermann: >> *

Re: [Chicken-users] Need help to figure out where this strange performance impact is coming from

2016-01-14 Thread Jörg F . Wittenberger
which 17 bindings. Rewrote the test to not import "extras" -> still fast. Removed the "(use extras)" -> slow down. Use random egg exporting many bindings instead -> fast again. Weird. Am 14.01.2016 um 12:12 schrieb Christian Kellermann: > * Jörg F. Wittenberger

[Chicken-users] need suggestion when eggifying srfi-1

2016-01-14 Thread Jörg F . Wittenberger
Hi all, as I accidentally had a reason to touch srfi-1 and make a module out of it, I went on to complete it's eggification. Mostly that is. Two questions: a) the category should probably be "lang-exts", correct? b) I'm pretty sure salmonella will complain and the rest being confused if I

Re: [Chicken-users] SRFI-1 egg

2016-01-14 Thread Jörg F . Wittenberger
d out? Am 14.01.2016 um 19:13 schrieb Mario Domenech Goulart: > Hi Jörg, > > On Thu, 14 Jan 2016 19:01:33 +0100 Jörg F. Wittenberger > <joerg.wittenber...@softeyes.net> wrote: > >> I always was sooo keen to write something nobody needs. ;-) >> >> And as if the

[Chicken-users] Need help to figure out where this strange performance impact is coming from

2016-01-13 Thread Jörg F . Wittenberger
Hi Chickeneers, yesterday I found that simply having a (use mailbox) in some code had a huge impact (more than a factor of 3) at the performance of the resulting executable. Without using the mailbox stuff at all. Meanwhile I figured out that this has nothing at all to do with the mailbox egg.

Re: [Chicken-users] Need help to figure out where this strange performance impact is coming from

2016-01-13 Thread Jörg F . Wittenberger
use srfi-1) is close to the end of the file. (Even though I'm not completely sure that's enough.) > Perhaps you should consider asking Chicken Hackers? > > -Dan > > Original Message > From: Jörg F. Wittenberger > Sent: Wednesday, January 13, 2016 3:38 AM > To: chicken-users &g

[Chicken-users] ANN: new egg "forcible"

2016-01-11 Thread Jörg F . Wittenberger
Hi all, there is a new egg "forcible" to be added to the coop: http://askemos.org/chicken-eggs/forcible.release-info documentation at http://wiki.call-cc.org/eggref/4/forcible It was born out of frustration that `delay` (and srfi-45 `lazy`) will actually evaluate the expression multiple times

[Chicken-users] Eggs metafile needs another property - doesn't it?

2016-01-05 Thread Jörg F . Wittenberger
Hi all, I need to specify a certain - not yet available - version of chicken itself as the minimum requirement for an egg to work for real. (((Backgground: Hacking away on this RPi gpio egg I created a version which exacerbates an issue I fixed the other day - see ticket 1232. To improve at the

Re: [Chicken-users] another egg

2016-01-05 Thread Jörg F . Wittenberger
Hi all, for the time being (as we shall not have yet another gpio egg). There is a 1.1.0 version of the raspberry-pi-gpio-small egg now here: http://askemos.org/chicken-eggs/raspberry-pi-gpio-small.release-info latest source here:

Re: [Chicken-users] Eggs metafile needs another property - doesn't it?

2016-01-05 Thread Jörg F . Wittenberger
Argh, wait... Am 05.01.2016 um 21:09 schrieb Jörg F. Wittenberger: > Hi all, > > I need to specify a certain - not yet available - version of chicken > itself as the minimum requirement for an egg to work for real. as I sent the message I re-read http://wiki.call-cc.org/Metafile

Re: [Chicken-users] another egg

2016-01-04 Thread Jörg F . Wittenberger
changes related. @-users: After all: Scheme as a tradition of being a GIGO-language. (Garbage-In-Garbage-Out) Thus "broken code" often has undefined results. It MAY be working anyway. /Jörg > Caolan > > On 4 January 2016 at 13:27, Jörg F. Wittenberger > <joerg.wittenber

[Chicken-users] another egg

2016-01-04 Thread Jörg F . Wittenberger
Hi all, yet another egg I put together, which may be interesting to you (and may go the coop): http://askemos.org/chicken-eggs/raspberry-pi-gpio-small.release-info This is a (supposed to be) API compatible version of the raspberry-pi-gpio egg. Maybe these modifications should simply be

Re: [Chicken-users] Any decent web development framework

2015-12-28 Thread Jörg F . Wittenberger
There are many, each having it's own strength. It really depends on what you are looking for. I'm using ball.askemos.org . (Actually much of it I wrote.) Now this was originally done in rscheme about 15yrs ago. It's not monolithic, but consists of communicating actors/agents (which may be

[Chicken-users] Dectecting disable-interrupts at compile time

2015-12-21 Thread Jörg F . Wittenberger
Hi, I'd like to cond-expand code depending on whether or not the code is compiled with interrupts disabled. Is there a feature I can test? (Can't find any. Did I miss it?) Thanks /Jörg PS: Currently I use my own feature to cond-expand into a declaration to disable interrupts. But the

Re: [Chicken-users] New egg: hopefully

2015-12-20 Thread Jörg F . Wittenberger
Am 19.12.2015 um 23:31 schrieb Sudarshan S Chawathe: > Thanks for the update. I see the same behavior with tests/run.scm as > before: Compilation with csc is fine, but executing the resulting file > 'run' gives exactly the same error as before: > > Error: assertion failed: (= (obox-v b1) 455) >

Re: [Chicken-users] New egg: hopefully

2015-12-20 Thread Jörg F . Wittenberger
Am 20.12.2015 um 15:50 schrieb Sudarshan S Chawathe: > > Thanks for following up. I hope the cause isn't something silly in my > setup. > > I ran tested with a run.scm modified as you indicated, except that I'm > guessing you meant line 127, not 217. (I couldn't find any obvious Yes, 127 is

Re: [Chicken-users] New egg: hopefully

2015-12-19 Thread Jörg F . Wittenberger
Am 18.12.2015 um 23:37 schrieb Sudarshan S Chawathe: > Thanks for the updated pointer to the source. > > I installed the egg in the usual way ('chicken-install' in the directory > with the source files) but could not run the included test > (test/run.scm) successfully, although csc compiles it

Re: [Chicken-users] New egg: hopefully

2015-12-18 Thread Jörg F . Wittenberger
gt; > -chaw > >> To: chicken-users <chicken-users@nongnu.org> >> From: Jörg F. Wittenberger <joerg.wittenber...@softeyes.net> >> Date: Thu, 17 Dec 2015 22:38:54 +0100 >> Subject: [Chicken-users] New egg: hopefully >> >> Hi, >> >> I just

Re: [Chicken-users] This may be a bug in chickens hash tables - or my bad

2015-12-18 Thread Jörg F . Wittenberger
Am 18.12.2015 um 18:35 schrieb John Cowan: > Ivan Shmakov scripsit: > >> Given that the basic idea of hashing is to produce a key out of >> the object’s /value/, the change of the value – and mutation >> does just that – changes the hash. > > Well, yes and no. SRFI 69 and other

Re: [Chicken-users] This may be a bug in chickens hash tables - or my bad

2015-12-17 Thread Jörg F . Wittenberger
latter is not defined to be so by Scheme, but it's what chicken does (if I remember the manual correctly)). > > K. > > On Wed, Dec 16, 2015 at 10:09 PM, Jörg F. Wittenberger < > joerg.wittenber...@softeyes.net> wrote: > >> Ah, great to learn. >> >> a) You are r

[Chicken-users] New egg: hopefully

2015-12-17 Thread Jörg F . Wittenberger
Hi, I just released the "hopefully" egg: Composable transactional memory. API inspired by Clojure's ref's and STMX. Currently only some record types may be used with hopefully. Further versions should add other mutable types. I'd love to get feedback on the API.

[Chicken-users] This may be a bug in chickens hash tables - or my bad

2015-12-16 Thread Jörg F . Wittenberger
Hi, I always assumed that (make-hash-table eq?) would create a hash table usable with arbitrary chicken objects as keys. That is especially structures like objects created via define-record should be valid as keys. That is: referencing the table using the very same object (comparing eq? to the

Re: [Chicken-users] This may be a bug in chickens hash tables - or my bad

2015-12-16 Thread Jörg F . Wittenberger
reading the srfi-69.scm source) that the eq?-hash procedure produces a different hash value for the lookup before and after the mutation. Hence the lookup fails while walking the tree succeeds. /Jörg Am 16.12.2015 um 21:55 schrieb Peter Bex: > On Wed, Dec 16, 2015 at 09:47:31PM +0100, Jör

  1   2   3   4   5   6   >