Re: [Chicken-users] Threads, and async

2016-07-22 Thread Vasilij Schneidermann
Hello, > About libuv, Chicken not very well suited for callback-based ffi, so there > is no official available extensions, but integration is possible and working > reasonable. Do you have any material on doing FFI with callbacks? I've had to solve this problem before for GUI toolkits and

Re: [Chicken-users] SQL in practice with CHICKEN

2016-07-14 Thread Vasilij Schneidermann
Hello, I'm using sql-de-lite in a few demos on . The code can be found on and isn't doing anything special, asides from initializing the database if it hasn't been set up before. Cheers Vasilij

Re: [Chicken-users] CHICKEN meetup reminder

2016-07-12 Thread Vasilij Schneidermann
Hello, I'll be in Nuremberg from Friday noon to Sunday noon. I'm fine with the cheapest accomodation which would be the A Hostel at the central station. Their best offers are for a room of four (49,40€) or six (45,60€) beds respectively. Please contact me if you're interested in sharing one

Re: [Chicken-users] CHICKEN meetup reminder

2016-07-13 Thread Vasilij Schneidermann
Follow-up information: The listed price is for one person and two nights, so you end up paying 20-25€ per night. ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] Installing chicken on windows

2016-07-08 Thread Vasilij Schneidermann
Hello folks, I haven't posted to this list before as I'm more of an IRC person, but have been notified that I might want to engage this time ;) > Oh, as an aside, it would be fantastic to have IUP be just as easy to > install on Linux/Unix. Sadly this is not the case. I have not surveyed > the

Re: [Chicken-users] Trying to understand srfi-41 (streams)

2017-01-28 Thread Vasilij Schneidermann
Hello Bahman, > And of course, upon further investigation, the head hadn't moved an inch > after `take` or `car`. What am I missing? looks to me as if the interface is purely functional. (stream-car (stream-drop 2 my-stream)) evaluates to 2. The original SRFI page shows a few examples with

Re: [Chicken-users] chicken-install AD

2016-08-04 Thread Vasilij Schneidermann
Hello, > I guess it was working on 4.9 and before, any ideas of how to solve this? Peter Bex submitted a pull request at upstream [1], but it hasn't been accepted yet. You could therefore clone its sources, apply the changes and install the egg by running `chicken-install` in its directory.

Re: [Chicken-users] Bug with #:optional in args egg?

2017-06-19 Thread Vasilij Schneidermann
Hello Diego, I'm not sure whether this is a bug and fixing it is desired. If changed, it would affect existing programs using the args egg that would no longer work in the old way. Also, there are programs that do argument parsing this way, albeit not many and typically only for a few select

Re: [Chicken-users] Bug with #:optional in args egg?

2017-06-20 Thread Vasilij Schneidermann
Hello Diego, > While I find it a bit odd that someone might want the args behavior > the way it is (I guess it seems less versatile to me) I intended it more as "it would be a bug to change the behavior at this point". I've looked into this a bit more and discovered that the args egg is pretty

Re: [Chicken-users] context sensitive auto-completion for symbols in SciTE

2018-06-15 Thread Vasilij Schneidermann
Hello Martin, > The problem with this imlementation is: the symbols of "used" modules > are missing. I've written a replacement for the readline egg [1] for a few reasons, one of them being its completion suffering from the same issue you describe. Perhaps you'll find its completion code [2]

Re: [Chicken-users] context sensitive auto-completion for symbols in SciTE

2018-06-15 Thread Vasilij Schneidermann
Hello Martin, > ...now I am a little bit confused. > > I read the parlay egg docu again, remembered that there is no > autocompletion included - your repository looks like an egg > (https://github.com/wasamasa/readline) - but nowhere to be found in >

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

2018-02-14 Thread Vasilij Schneidermann
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 this with the test code being `(group-information "root")`. FWIW, I get a warning

Re: [Chicken-users] [Chicken-hackers] Some questions about CHICKEN 5 eggs and modules

2018-08-30 Thread Vasilij Schneidermann
> So the basic problem is to install multiple sets of files, in separate > steps? I think for "scheme-include" components this should be possible, > but (as far as I can see) this is not currently possible for "c-include" > components (but could be added). It's for more than that. SPOCK for

Re: [Chicken-users] string-ci<=? and string-ci>=?

2018-09-11 Thread Vasilij Schneidermann
Hey Sven, > > (string-ci<=? "test" "tes") > #t > > (string-ci>=? "test" "tes") > #f This is odd. Here's some source code: (set! scheme#string-ci<=? (lambda (s1 s2) (compare s1 s2 'string-ci<=? (lambda

Re: [Chicken-users] egg readline - funny behaviour

2018-07-12 Thread Vasilij Schneidermann
Hello Martin, > if Alexej Magura is around - may be the following is a small bug (could > also be an artifact of GNU readline - I don't know). I doubt he's around here, but I've had luck contacting him on GitHub [1]. > In case you are wondering - the comment of the 4.th line is a "real" >

Re: [Chicken-users] Test-Mail

2018-07-12 Thread Vasilij Schneidermann
Hello Martin, Looks good to me. I've attached a screenshot of the last two threads as viewed in Mutt. Vasilij ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] csc switch for linking foreign libraries?

2019-01-18 Thread Vasilij Schneidermann
Hello Christoph, > Understandably. Since I didn't link libmosquitto.so to it. But *HOW*?! I > tried '-lmosquitto', but that's not passed on to gcc. Which is the correct > way? I'll assume for now that you're using CHICKEN 5 because in CHICKEN 4 it's sufficient to pass `-lmosquitto`. This

Re: [Chicken-users] Geiser now has Chicken 5 Support

2018-11-17 Thread Vasilij Schneidermann
to `equal`, so if you can, use that instead. Vasilij Schneidermann ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users

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

2019-01-11 Thread Vasilij Schneidermann
Hello David, I've run into a similar problem when trying to detect magic bytes for unknown image formats. Most allowed figuring out the format by checking four bytes, one after three bytes. I've solved this problem by rethinking it a bit, first read in three bytes and compare, if it's not the

Re: [Chicken-users] Error installing egg, but only on Raspbian

2019-01-09 Thread Vasilij Schneidermann
Hello Christoph, > I'm a bit lost here as to *where to start* looking to solve this. Any > suggestions / comments? There's a few things you can try: - C5 creates many files during the installation process, perhaps you can find what's going wrong in them. - Try uninstalling the egg including

Re: [Chicken-users] installing breadline Was: is the readline egg dead?

2019-03-24 Thread Vasilij Schneidermann
Hello Erik, > FWIW, breadline builds and loads flawlessly on the in-development > version of Slackware. That's interesting. Could you please post the output of ldd run against its .so file? I did this on both Slackware 14.1 and Arch Linux, on Slackware it wasn't linked against ncurses, on Arch

Re: [Chicken-users] is the readline egg dead?

2019-03-23 Thread Vasilij Schneidermann
Hello Kristian, > I don't know about the status on the C4 readline egg, whether a C5 port is > planned or whether it's considered obsolete. I've contributed to the readline egg before and eventually reached the conclusion that I'm better off developing my own with a different, incompatible API.

Re: [Chicken-users] installing breadline Was: is the readline egg dead?

2019-03-23 Thread Vasilij Schneidermann
Hello Marco, > Thanks! I am trying breadline, but, after a number of other eggs are > installed I get this error, most likely because I still have GNU > Readline 6.3 on my Slackware64 14.2 installation (which is the latest > Slackware, sigh!): Thanks for the bug report. I picked

Re: [Chicken-users] Back from the dead: pstk

2019-02-26 Thread Vasilij Schneidermann
Hello Heinz, > I threw out the SVN backlog when importing to git, so maybe the C4 egg > should continue to use the old SVN repository instead. Otherwise pstk should > replace Chicken/Tk as the "maintained" Tk egg at this point. I do plan on > maintaining both 4 and 5 versions, in any case. This

Re: [Chicken-users] Back from the dead: pstk

2019-02-26 Thread Vasilij Schneidermann
Hey Heinz, > Haven't done any changes to the code for now, other than C5 compatibility > tweaks, and setting default tclsh to tclsh8.6. I'm amazed that this > decade-old code works on C5 pretty much out of the box. Looks good. One thing you might want to fix: C5 uses a R7RS-style organization

Re: [Chicken-users] Chicken/Tk

2019-02-13 Thread Vasilij Schneidermann
Hello Heinz, I've looked into the state of GUI eggs for some time and even contributed a few of my own, way before the release of C5. > I'm planning on using Tk in a project, and was wondering what's the current > status of Tk support in Chicken. So Chicken 4 has two eggs, pstk and tk. Of >

Re: [Chicken-users] error when building freetype egg

2019-04-09 Thread Vasilij Schneidermann
Hey Kristian, > When I chicken-install freetype, I get this: > > /home/klm/.chicken-install/cache/freetype/freetype.c: In function > ‘stub2714’: > /home/klm/.chicken-install/cache/freetype/freetype.c:820:6: error: > ‘FT_GlyphSlotRec’ {aka ‘struct FT_GlyphSlotRec_’} has no member named >

Re: [Chicken-users] hahn: chicken 5 port

2019-04-12 Thread Vasilij Schneidermann
Hey Robert, > I ported hahn to chicken 5. You can find the release here: Just wondering, are you its maintainer now? If yes, then there's no mention of it in the .egg file. Vasilij signature.asc Description: PGP signature ___ Chicken-users mailing

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

2019-06-13 Thread Vasilij Schneidermann
Hello, Operating system: Raspbian Hardware platform: Raspberry Pi 2 (arm32) C Compiler: GCC Installation works?: yes Tests work?: yes Installation of eggs works?: yes Vasilij signature.asc Description: PGP signature ___ Chicken-users mailing list

Re: [Chicken-users] Statically compiling with additional eggs in Chicken 5

2019-05-07 Thread Vasilij Schneidermann
Hey Jeff, > I'm wondering if anybody has gotten static compiles to work with any > of the following eggs: postgresql, sqlite3, or sql-de-lite? The difference between these eggs and everything else are foreign dependencies they link against. Normally you'd link against a shared library provided

Re: [Chicken-users] Debian 9 amd64 chicken-bin 4.11.0-1 cannot import from undefined module process-context

2019-09-17 Thread Vasilij Schneidermann
Hey David, You're using version 4 of the compiler, but version 5 of the documentation. You can tell the latter by looking for the number in the URL. Vasilij___ Chicken-users mailing list Chicken-users@nongnu.org

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

2019-07-22 Thread Vasilij Schneidermann
00:00:00 2001 From: Vasilij Schneidermann Date: Mon, 22 Jul 2019 22:49:30 +0200 Subject: [PATCH] C5 compatibility --- build-hostinfo | 2 ++ build-hostinfo.bat | 2 ++ hostinfo.egg | 7 +++ hostinfo.scm | 22 -- 4 files changed, 27 insertions(+), 6

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

2019-07-22 Thread Vasilij Schneidermann
For some reason putting Jim into Cc didn't work, so I'm trying it the other way. Once again, a patch for porting hostinfo to C5. Vasilij From 8db9d5d79e63e3a552e5ab2a8571d9deeb7fa8f3 Mon Sep 17 00:00:00 2001 From: Vasilij Schneidermann Date: Mon, 22 Jul 2019 22:49:30 +0200 Subject: [PATCH] C5

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

2019-07-22 Thread Vasilij Schneidermann
One more time, with a patch for Jim. From 8db9d5d79e63e3a552e5ab2a8571d9deeb7fa8f3 Mon Sep 17 00:00:00 2001 From: Vasilij Schneidermann Date: Mon, 22 Jul 2019 22:49:30 +0200 Subject: [PATCH] C5 compatibility --- build-hostinfo | 2 ++ build-hostinfo.bat | 2 ++ hostinfo.egg | 7

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

2019-07-20 Thread Vasilij Schneidermann
Hello Matt, > BTW, I don't see a hostinfo egg for Chicken 5. Is porting hostinfo planned > or is the functionality available in a different egg? There is no such thing as a grand plan to port all the eggs, it's been done so far on a case-by-case basis. If someone really needs an egg, they'll

Re: [Chicken-users] Building the openssl egg on MacOS

2019-07-15 Thread Vasilij Schneidermann
Hello Lassi, I maintain the openssl egg these days. > On MacOS Mojave, "chicken-install openssl" fails because the OS doesn't ship > any pkg-config definition file for its version of the openssl library. The > pkg-config definition is supposed to be in a file called 'openssl.pc' but > 'sudo find

Re: Where to report doc errors?

2019-12-22 Thread Vasilij Schneidermann
Hello Iain, If you already know what the correct link target should be, feel free to edit the wiki page by clicking the edit link and changing the relevant markup. Alternatively tell us on Freenode's #chicken channel, there's likely to be someone there who can help.

Re: Error: unbound variable: readline#make-readline-port

2020-03-02 Thread Vasilij Schneidermann
Hello Damien, You'll want to `(use readline)` and `(use linenoise)` with CHICKEN 4. While `(import readline)` can be used, its purpose is different as it only loads bindings and doesn't load the shared library. With CHICKEN 5 this behavior has been consolidated, you'd use `(import readline)` and

Re: CHICKEN 5.2.0 has been released

2020-03-06 Thread Vasilij Schneidermann
Hello Daniel, > The sql-de-lite package has a small glitch. This breaking change required adjustments in several eggs. To our knowledge all of them but sql-de-lite have been fixed by now. Check out for three different ways to fix the issue.

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

2020-01-30 Thread Vasilij Schneidermann
Hello Matt, > I've read the docs on linenoise and breadline but I'm not seeing how to get > a useful editable repl. > > Any pointers or suggestions would be appreciated. I've developed breadline. Its wiki page has an examples section which shows how to create a custom REPL for programs and

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

2020-01-31 Thread Vasilij Schneidermann
Hello Matt, > 4. Code completion works!! Maybe it is a bit much to ask but it'd be useful > if completion rolled over from internal symbols to files. (*) Fun fact: The default readline completer uses file names. If you change it to something else you no longer get file names. Since the example

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

2020-01-31 Thread Vasilij Schneidermann
Hello again, > I'll try to reproduce the issue with Ubuntu 18.04 in a Docker container > or something. Turns out that for some forsaken reason Ubuntu does neither provide a `readline.pc` nor uses a reasonable path for headers and libraries. There are two ways of working around this, one is

Re: [ANN] CHICKEN 5.2.0 release candidate 2 available

2020-02-19 Thread Vasilij Schneidermann
Hello, Operating system: Windows 10 mingw64-msys2 Hardware platform: x86-64 C Compiler: gcc.exe (Rev2, Built by MSYS2 project) 9.2.0 Installation works?: yes Tests work?: yes Installation of eggs works?: yes, tested with breadline Operating system: Debian 10 Hardware platform: x86-64 C Compiler:

Re: [ANN] CHICKEN 5.2.0 release candidate available

2020-02-10 Thread Vasilij Schneidermann
Hello, Operating system: Windows 10 mingw-msys2 under mingw64 Hardware platform: x86-64 C Compiler: gcc version 9.2.0 x86_64-w64-mingw32 (Rev2, Built by MSYS2 project) Installation works?: yes Tests work?: yes Installation of eggs works?: yes, the installation of the sql-de-lite egg fails with

Re: [ANN] CHICKEN 5.2.0 release candidate available

2020-01-14 Thread Vasilij Schneidermann
Hello, Operating system: Windows 10 mingw-msys under mingw32 Hardware platform: x86 C Compiler: MinGW.org GCC-8.2.0-5 Installation works?: yes Tests work?: no Installation of eggs works?: yes I've tried the `chicken-install pastiche` check, it fails as expected on sql-de-lite. `make check`

Re: choco : csc complains about "Error: default type-database `types.db' not found"

2020-04-01 Thread Vasilij Schneidermann
Hello Jo, I can reproduce the issue with a fresh VM. It appears that the chocolatey package is completely broken as I cannot even do something as simple as evaluating `(load (chicken io))` in a `csi` session, let alone compile files (there is no C toolchain included in the dependencies). Now,

Re: openssl static compile issue

2020-05-12 Thread Vasilij Schneidermann
Hello Peter, I've experimented a bit and found it's a matter of shuffling the imports around. Here's an example: (import scheme) (import (chicken base)) (import (chicken io)) (import openssl) ; HACK: this must precede the http-client import (import http-client)

Re: Dead link on matchable documentation

2020-09-28 Thread Vasilij Schneidermann
Hello Matt, > 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. Thankfully it's a wiki anyone can edit, so I've updated the link to a working archive.org version pointing to an old

Re: Source code formatter?

2021-01-11 Thread Vasilij Schneidermann
Hi Paul, Evan Hanson wrote one: https://git.foldling.org/schematic/ I don't use source code formatters though, Emacs does the indentation parts far better than anything else, leaving strategic placement of line breaks to the programmer. Vasilij signature.asc Description: PGP signature

Re: openssl patch

2020-12-01 Thread Vasilij Schneidermann
Hello Harley, > I've attached a small patch for the openssl egg that adds another error > status. This isn't small due to what seems to be loads of whitespace changes. Could you please fix those and resend the patch? Vasilij signature.asc Description: PGP signature

Re: openssl patch

2020-12-02 Thread Vasilij Schneidermann
Hello Harley, > Now the patch is actually small. Thank you very much, I've tested the patch and made a 2.0.7 release. It should appear in your nearest egg mirror soon. Vasilij signature.asc Description: PGP signature

Re: New C5 egg: SRFI-145: Assumptions

2020-11-09 Thread Vasilij Schneidermann
SRFI-146 is ready for inclusion as well: https://depp.brause.cc/srfi-146/srfi-146.release-info Vasilij signature.asc Description: PGP signature

New C5 egg: SRFI-145: Assumptions

2020-11-09 Thread Vasilij Schneidermann
Hello everyone, I've implemented SRFI-145 in terms of the existing assert macro. `salmonella` and `test-new-egg` run fine with . A wiki page is ready to be submitted after inclusion into the coop. This egg is part of an effort to get

Re: New C5 egg: SRFI-145: Assumptions

2020-11-09 Thread Vasilij Schneidermann
Hello again, SRFI-158 (Generators) is ready as well: https://depp.brause.cc/srfi-158/srfi-158.release-info Vasilij signature.asc Description: PGP signature

Re: New C5 egg: SRFI-145: Assumptions

2020-11-09 Thread Vasilij Schneidermann
Hello Jeremy, > If that's the case, should we deprecate / remove SRFI 121 from the coop? SRFI-121 is only in the C4 coop and likewise SRFI-158 only in the C5 one, so I don't see any need for removal. A deprecation notice could be added for SRFI-121 to the C4 wiki page. If you insist you could

Re: Updating yaml egg from Chicken 4 to Chicken 5?

2020-12-30 Thread Vasilij Schneidermann
> I'd like to see this as a Chicken 5 egg. What is the proper way, > considering the social and technical aspects of things, to getting this > submitted as a Chicken 5 egg? I've received two emails about PRs I've handed in for C5 compatibility being merged: -

Re: Request for review

2021-05-14 Thread Vasilij Schneidermann
Hello Arnaud, > I have started a small project whose purpose is to simulate Darwin's > theory and I would really appreciate some code review from more > experienced scheme developers, esp. when it comes to structuring, > idiomatic code patterns, egg definitions... I'd generally recommend

Re: "Live coding" on Mac OS X

2021-05-11 Thread Vasilij Schneidermann
Hello Arnaud, > But it's not working properly: What I observe is that when I change a > procedure that's called from the background thread, the thread becomes > blocked. Is this some new behaviour that's not taken into account in > those posts? It's tricky to reproduce such issues without a

New egg: gtk-server

2021-05-12 Thread Vasilij Schneidermann
Hello everyone, The coding jam inspired me to look into GUI eggs again. I found a GTK-server [1]_ demo by Felix from 2005 [2]_, turned it into a gtk-server egg and ported all bundled examples. It may very well be the most advanced (though not the most pleasant) option to use for building

Re: chicken-install not working on windows

2021-06-02 Thread Vasilij Schneidermann
Hello Jeremy, > Someone on reddit pointed out that I should've used msys to install it > (I got a windows installer for the web which turned out to be an older > version of chicken). Yes, I've commented in that thread. > PS C:\Users\user> chicken-install -s apropos chicken-doc Don't use

Re: Actor model implementation, seeking feedback

2021-06-26 Thread Vasilij Schneidermann
Hello Ariela, > 2. You're right! I actually hadn't thought about that! Guess I had a hard time > not conflating "unique and non-repeatable" with random numbers... would a > timestamp be a better (but probably still not ideal) approach? No, timestamps may repeat if taken quickly enough. Another

Re: Actor model implementation, seeking feedback

2021-06-26 Thread Vasilij Schneidermann
Hello Ariela, > But that's just my opinion, so I'd like to hear some feedback about it before > I > decide if it's worth submitting to the coop now, or ever. > > The project uses nng[1] for communication (I made some rudimentary bindings to > the bare minimum), protobuf for serialization and

Re: Actor model implementation, seeking feedback

2021-06-26 Thread Vasilij Schneidermann
Hello John, > *Any* numeric sequence will repeat eventually unless it grows without > bound, like a TAI timestamp. I take "repeats after exceeding 2^n consecutive numbers" over "repeats with a 1/2^n chance" (which can be generalized to 2^(n/2) thanks to the birthday problem). > But actually

Re: Compiling Chicken app for Windows from linux with Docker

2021-06-27 Thread Vasilij Schneidermann
Hello Théo, > Using the cross development article on the wiki, digging through the build > system a bit and fiddling a lot I created a MinGW-w64 based environment that > let you build standalone apps from your chicken code and your favorite eggs > that can be distributed as a single binary

openssl: 2.2.1 release

2021-07-05 Thread Vasilij Schneidermann
Hello, What started out as a quest to fix compilation warnings in the openssl egg, ended with a few more user-visible changes than that: - The minimum OpenSSL version has been bumped to 1.1.0 to avoid the deprecated server/client version APIs. These have been replaced with a single API call

Re: Egg: ws-client

2021-07-04 Thread Vasilij Schneidermann
Hello Ka-tsùn, > - This implementation passes all of the Autobahn compliance tests. > I've included the client and configuration file in an examples/ > directory, but the repository currently has no tests/ because the > Autobahn tests are usually run from a docker image and take a while to >

Re: Actor model implementation, seeking feedback

2021-07-04 Thread Vasilij Schneidermann
Hello Mario, > Would http://wiki.call-cc.org/eggref/5/uuid be suitable for the casae in > question? That might just work. A UUIDv4 is 128 bits, so it can be plugged in wherever 128 bits of nonce are required. However this isn't always the case, for example AES-GCM is commonly used with 96 bit

Re: Actor model implementation, seeking feedback

2021-07-04 Thread Vasilij Schneidermann
> That might just work. A UUIDv4 is 128 bits, so it can be plugged in > wherever 128 bits of nonce are required. However this isn't always the > case, for example AES-GCM is commonly used with 96 bit nonces. Another > thing to consider is that the egg provides UUID4. UUID1 might be smarter > for a

Re: Chicken GUI options survey and questions.

2021-03-05 Thread Vasilij Schneidermann
Hello Matt, > What is your preferred toolkit for making GUI apps with chicken? I've spent a few months evaluating the existing options for C4 and making a few myself. From the existing options pstk was the only one worth using as it has been around the longest and solves the common GUI problems

Re: Windows vs Linux Performance, windows host 4-6x slower than linux guest vm

2021-09-06 Thread Vasilij Schneidermann
Hello Mark, > You'll have to bear with me here, as I haven't tried adding profiling > before. > > I think I've got it done, but it only outputs at the function level, and > the profile between the two platforms just seems to mirror a general > difference in being slower on one platform. The

Re: Help with egg definitions

2021-12-20 Thread Vasilij Schneidermann
Hello Robert, > I'm trying to figure out how to create the egg definition for a program > with multiple compilation units. Could someone link me to an example of > such a definition, or somehow help me with this? From what I can tell, eggs merely allow you to split a project into several

Re: Synch egg Missing import

2021-11-30 Thread Vasilij Schneidermann
ith chicken 5.2.0 installed from apt, chicken-install sync > fails with the same error. This seems to be something specific to version 3.3.5 of the synch egg. Try the following patch. I've Cc'd the egg author as well. Vasilij From 81071972de872de9de7318b02e47b6033d203d4a Mon Sep 17 00:00:00 200

New eggs: srfi-203 and srfi-216 (SICP)

2021-07-27 Thread Vasilij Schneidermann
Hello, Someone on the IRC channel pointed out that there is no obvious egg to use for solving SICP exercises as the sicp egg is C4-only and no alternatives exist. I chose to port SRFI-203 and SRFI-216 which provide the picture language and other SICP prerequisites. Both eggs have been tested

openssl: 2.2.4 release

2021-07-27 Thread Vasilij Schneidermann
Hello, I've released openssl 2.2.4 to resolve an issue in the `file-cipher` and `file-digest` procedures returning incorrect results for file sizes that are not an exact multiple of 4096. I have to thank elflng for finding the issue and megane with root cause analysis. As a result of this, the

Re: How to do formatting in iup textbox?

2022-02-03 Thread Vasilij Schneidermann
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. > Or more generally, how to apply formatting to text in the textbox widget? Should be a manner of using `attribute-set!` on the widget.

Re: utf8 printing problem

2022-07-23 Thread Vasilij Schneidermann
Hello Mátyás, > Yep, you were right. It indeed had to do with the code page that the > Windows command prompt uses by default which is code page 437. And the > reason why the equivalent C# program worked, is because when it executes it > automatically changes the code page of the terminal to

Re: http-client egg and authentication

2022-09-29 Thread Vasilij Schneidermann
> Instead, you'd have to pass in an intarweb request object instead of an > URI, and construct the Authorization header yourself. Code: (import (chicken base)) (import (chicken io)) (import http-client) (import intarweb) (import uri-common) (define url

Re: http-client egg and authentication

2022-09-25 Thread Vasilij Schneidermann
Hello Christian, I've experimented by setting up a listener with `nc -nlvp 12345` and firing requests against localhost:12345 curl: GET / HTTP/1.1 Host: localhost:12345 Authorization: Basic bXl1c2VyOm15cGFzcw== User-Agent: curl/7.85.0 Accept: */* http-client: GET /

Re: ldap-bind egg

2022-09-30 Thread Vasilij Schneidermann
Hello Sven, > In a Scheme application, I have to authenticate users against an LDAP server > (the server is from Microsoft). > > Is the ldap-bind egg ( https://wiki.call-cc.org/eggref/4/ldap-bind ) > a good match for this task? I'm afraid you'll have to try and see whether it works. My AD

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

2023-03-23 Thread Vasilij Schneidermann
Hello Matt, > 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. The last I've heard on the topic was that the project has support for the latest Ubuntu rather than Debian,

Re: Deprecated current-milliseconds

2023-12-07 Thread Vasilij Schneidermann
Hello, the openssl egg does no longer produce the warning in version 2.2.5 by either importing the new or old identifier, depending on whichever is available. Feel free to use that approach in the other egg and consider that it may skew the grep results. Vasilij On December 7, 2023 12:21:12