Re: [Chicken-users] Conferences in Germany within the next few months

2010-05-14 Thread Moritz Heidkamp
Felix fe...@call-with-current-continuation.org writes: Hey, that's great news! I guess I'll initiate the registration process then unless you or Ivan would like to take charge of it? I'd appreciate if you could take that in your hands. Gladly so! I already registered an account and am now

[Chicken-users] FrOSCon 2010 planning

2010-05-14 Thread Moritz Heidkamp
Dear Chickenauts, I have now applied for a Chicken booth / stand on this year's FrOSCon. If you plan on attending, please register at https://callforprojects.froscon.org/ and join the Chicken Scheme organization so the organizers know how many people they have to expect. I hope we'll amount to

[Chicken-users] Re: couchdb: send-temp-view-request (patch)

2010-05-31 Thread Moritz Heidkamp
Hey Peter, Peter Danenberg p...@roxygen.org writes: It's nice, while debugging, to have access to temporary views; the attached patch makes it possible. very nice, thanks for the patch -- I have applied it to trunk and tagged a new release so it show up in the egg repo shortly! Moritz

[Chicken-users] Re: couchdb: send-temp-view-request (patch)

2010-05-31 Thread Moritz Heidkamp
Peter Danenberg p...@roxygen.org writes: Quoth Moritz Heidkamp on Sweetmorn, the 5th of Confusion: very nice, thanks for the patch -- I have applied it to trunk and tagged a new release so it show up in the egg repo shortly! Great; thanks, Moritz! Have you tried deploying Scheme to your

[Chicken-users] Re: couchdb: send-temp-view-request (patch)

2010-05-31 Thread Moritz Heidkamp
Peter Danenberg p...@roxygen.org writes: Without buying into the whole couchapp framework, it should give you the ability to write Scheme views in paredit; without having to embed scheme into JSON strings. It's purely convenience. Aaaah, now I understand. That sounds pretty handy, indeed!

Re: [Chicken-users] Problem with flatten

2010-06-13 Thread Moritz Heidkamp
Hi Emmanuel, Emmanuel Boudreault emmanuel.boudrea...@polymtl.ca writes: (flatten '(a b c (1 2 3)) works fine under csi but when compiled with csc, it doesn't find the variable flatten. Is this expected behavior? If I am missing an import, why doesn't it warn me under csi? You are missing an

[Chicken-users] Subprocess blocking all threads under certain circumstances

2010-07-14 Thread Moritz Heidkamp
Dear Chickeneers, I am by no means an expert of subprocesses, (non-)blocking I/O and threads (I hope it doesn't show too much), so maybe somebody here can clarify this for me: I'm using posix#process to start a subprocess from a separate thread. Its documentation states: | Blocking reads and

Re: [Chicken-users] Subprocess blocking all threads under certain circumstances

2010-07-14 Thread Moritz Heidkamp
Hi Thomas, Thomas Chust ch...@web.de writes: this is expected behaviour: As soon as you close both ports connecting your own process to the external one, CHICKEN implicitly waits for the external process to terminate. Waiting for termination of a child process suspends the whole operating

Re: [Chicken-users] Happy 10th birthday!

2010-07-20 Thread Moritz Heidkamp
Mario Domenech Goulart mario.goul...@gmail.com writes: July 20th, 2010, marks the 10 year anniversary of the CHICKEN announcement message Felix wrote to c.l.s: http://groups.google.com/group/comp.lang.scheme/msg/edfb2da16fd89fae Awesome! Also, for more nostalgia, see

Re: [Chicken-users] import and srfi-1

2010-07-23 Thread Moritz Heidkamp
Hi, Nicolas Pelletier sxatrxtfxcrwamvjk...@gmail.com writes: nico...@dynamo:~/tmp$ csc -s -j test test.scm nico...@dynamo:~/tmp$ csc toto.scm nico...@dynamo:~/tmp$ ./toto just a little hint: the disadvantage of this is that you either have to delete the test.so or recompile test.scm for every

[Chicken-users] FrOSCon 2010 Attendance

2010-08-19 Thread Moritz Heidkamp
Dear Chickeneers, albeit a bit last-minute, I invite everyone to join us at FrOSCon 2010 in St. Augustin, Germany (near Bonn) this weekend. We will be there to discuss all things Chicken on Saturday and Sunday, our booth number is 48. For further information, see http://www.froscon.de/ I hope

Re: [Chicken-users] Packaging eggs

2010-08-31 Thread Moritz Heidkamp
Hi, first of all: thanks Jim for bringing this up, this will definitely help to clean up our repository a bit :-) Felix fe...@call-with-current-continuation.org writes: The version is either the tag directory or inside the setup file. I wonder how that works when installing directly from a

[Chicken-users] Chicken Gazette - Issue 2

2010-09-03 Thread Moritz Heidkamp
2 ]-- G A Z E T T E brought to you by the Chicken Team 0. Introduction Since the last issue of the Chicken Gazette, Moritz Heidkamp polished the website compiler Hyde to produce the Chicken Gazette on the call-cc.org server

Re: [Chicken-users] wiki not colorizing colorize sample

2010-10-14 Thread Moritz Heidkamp
Hey guys, Peter Bex peter@xs4all.nl writes: Maybe Moritz can add some more nifty styling :) I did! Actually, there was some styling in place already but it seems the HTML generated by colorize has changed, is that possible? The selector I used assumed that symbols are always nested within

[Chicken-users] Chicken Gazette - Issue 8

2010-10-18 Thread Moritz Heidkamp
pointed out a few problems with the code colorization on the wiki which have been addressed and fixed by Peter Bex and Moritz Heidkamp. Thanks John! Christian Kellermann suggested to try the relatively new DVCS fossil by giving a quick introduction, a few useful links as well as providing a fossil clone

Re: [Chicken-users] Chicken Gazette - Issue 10

2010-11-02 Thread Moritz Heidkamp
Hi Jörg, Jörg F. Wittenberger joerg.wittenber...@softeyes.net writes: Though one thing I haven't been able to figure out: is there a way encrypt and sign zmg messages? Or would I have to add that on top? funny you ask, this has also come up on the ZMQ mailing list recently. ZMQ is just a

Re: [Chicken-users] Check SRFI 19 localized strings

2010-11-04 Thread Moritz Heidkamp
Hi Kon, while we're at it, I figured I could contribute a German locale file. Note that there is no AM/PM in Germany (don't know about other Germanophone countries but I think they don't have it either). I just left them in so I don't break anything but feel free to correct it, of course :-) I

Re: [Chicken-users] Check SRFI 19 localized strings

2010-11-04 Thread Moritz Heidkamp
Kon Lovett klov...@mac.com writes: `may-long' is the key for the long month name. There is only a single bundle so the keys must be unique ... and they were not. So I just added `-long' to distinguish long from the abbreviated month `may' key. Now I understand the reasoning. I somehow failed

[Chicken-users] Chicken Gazette - Issue 15

2010-12-07 Thread Moritz Heidkamp
_/_/_/ _/_/_/ _/_/_/_/ _/_/_/ _/ _/ _/_/_/_/_/ _/_/_/ _/ _/_/_/ _/_/_/_/ _/_/ _/_/_/ _/ _/_/ _/_/_/_/ _/_/_/ _/_/ _/_/_/_/ _/_/_/_/_/ _/_/ --[

Re: [Chicken-users] Re: Problems Installing the lookup-table Egg

2010-12-10 Thread Moritz Heidkamp
Ehsanul Hoque m...@njit.edu writes: Looks like it's a more general issue since I'm getting the same problem when I try to install the zmq egg. Same error messages, just substitute the zmq equivalents. However, other eggs, like pty, installed just fine. Could you paste the error you get for

Re: [Chicken-users] Re: Problems Installing the lookup-table Egg

2010-12-11 Thread Moritz Heidkamp
Hi Ehsanul, Ehsanul Hoque m...@njit.edu writes: Thanks for the tip, I just installed ZeroMQ 2.1.0 (I'm afraid I may not even had 2.0 installed earlier, as I was possibly confusing which machine I had installed it on earlier). However, I'm still getting a similar error message, though a bit

Re: [Chicken-users] Amazon S3

2011-02-10 Thread Moritz Heidkamp
Hi Jörg, Jörg F. Wittenberger joerg.wittenber...@softeyes.net writes: find attached some code of mine using openssl for that hashes and hmacs pretty cool, although the openssl dependency might be a bit heavy just for calculating HMACs. Have you considered contributing that code to the existing

Re: [Chicken-users] Strange segfaults when linking with pthreads

2011-03-03 Thread Moritz Heidkamp
Hi Peter, Peter Bex peter@xs4all.nl writes: This appears to happen *only* on 64-bit platforms, I don't see it on my 32-bit powerpc mac. FWIW I don't get the segfault on 32-bit Linux 2.6.37 either (only when loading the library twice but that's more or less expected). Other than that I am

[Chicken-users] German Lisp Workshop at the CCC in Cologne

2011-03-05 Thread Moritz Heidkamp
Fellow Chickenauts, I would like to point the attention of our German readers to the Chaos Computer Club Cologne Café taking place next Saturday in (you guessed it) Cologne, Germany. Yours truly will talk a bit about the history and merits of Lisp in general and then dive into a Chicken powered

Re: [Chicken-users] German Lisp Workshop at the CCC in Cologne

2011-03-13 Thread Moritz Heidkamp
Dear Chickeneers, with the workshop having been yesterday I thought I'd report back on how it went. First of all I'd like to thank the CCC Cologne for providing the space and equipment for the workshop, it's always nice to be a guest in your rooms. Also thanks to all participants for attending

[Chicken-users] Chicken Gazette - Issue 19

2011-03-24 Thread Moritz Heidkamp
(http://cr.yp.to/proto/netstrings.txt) (Moritz Heidkamp) * mongrel2: experimental Mongrel2 (http://mongrel2.org/) handler library (Moritz Heidkamp) * socket: an interface for the BSD socket API (Jim Ursetto) * udp6: UDP for IPv6 (Jim Ursetto

Re: [Chicken-users] weird FFI callbacks

2011-03-31 Thread Moritz Heidkamp
Hi, Thomas Chust ch...@web.de writes: Your only option in the out of luck situation is not to use regular callbacks at all but to implement a sort of in-process remote procedure call system where a C stub registered as a callback transfers call information to a Scheme thread, waits for a

Re: [Chicken-users] FW: Scheme on Android

2011-04-29 Thread Moritz Heidkamp
Hi Steve, Steve Graham jsgraha...@yahoo.com writes: I wonder why Moritz hasn't answered this via the ML cause he did something like that in the past. Guess he is busy. it's true, I did! Sorry for not replying yet, I marked your message actually but didn't get around to typing up a reply until

Re: [Chicken-users] Taking the distributed egg repository into production

2011-06-27 Thread Moritz Heidkamp
Peter Bex peter@xs4all.nl writes: This has now been done. All distributed eggs are now available to all users of Chicken. Thanks a lot, Peter! ___ Chicken-users mailing list Chicken-users@nongnu.org

[Chicken-users] Chicken at FrOSCon 2011

2011-06-30 Thread Moritz Heidkamp
Fellow Chickeneros, I would like to direct your attention towards this year's FrOSCon (http://froscon.org/) which will be taking place from August 20th to 21st in St. Augustin, Germany (near Bonn). As some of you may remember, Chicken had its first conference appearance of all time at this very

Re: [Chicken-users] configuring readline support; cannot import from undefined module: regex

2011-08-16 Thread Moritz Heidkamp
Hi John, John Gabriele jmg3...@gmail.com writes: Hi, Following the instructions at http://wiki.call-cc.org/man/3/Using%20the%20interpreter#auto-completion-and-edition note that you are looking at Chicken _3_ documentation there. The current version is located at

Re: [Chicken-users] 4.7.3 development snapshot

2011-08-18 Thread Moritz Heidkamp
Felix fe...@call-with-current-continuation.org writes: A new development snapshot is available: Hooray! Thanks a lot, will try it out as soon as possible :-) Moritz ___ Chicken-users mailing list Chicken-users@nongnu.org

Re: [Chicken-users] FrOSCon 2011 Talks

2011-08-22 Thread Moritz Heidkamp
Andy Bennett andy...@ashurst.eu.org writes: Congratulations to Moritz and Christian for giving the talks. They were really good! Thanks Andy, glad you liked them. I for one also had a good time giving my talk and am looking forward to the next opportunity. Also, thank you for travelling all

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

2011-09-06 Thread Moritz Heidkamp
Hi Matt, Matt Welland estifo...@gmail.com writes: After a long day of work and being very much in the mode of just getting the job done I ran into the need to parse csv. Cool. I know that there is an egg for that. After installing the csv egg I looked at the documentation and my heart sunk.

Re: [Chicken-users] Code for parsing multipart/form-data

2011-09-21 Thread Moritz Heidkamp
Hi Jules, Jules Altfas chi...@bmedctr.com writes: A tarball of the code is available at: http://webserv.bmedctr.com. There's not a whole lot of documentation, though the code is pretty straightforward and commented. The site has more info. interesting! It would be nice to have an egg for at

Re: [Chicken-users] some wiki css

2011-09-21 Thread Moritz Heidkamp
Hi John, thanks for your suggestions regarding the wiki's CSS. We have discussed the matter in #chicken and came to the conclusion that something has to be changed about it, as well. I have now changed it to be generally a bit less heavy on the eyes but hopefully procedures stand out more now.

Re: [Chicken-users] Code for parsing multipart/form-data

2011-09-22 Thread Moritz Heidkamp
Hi Jörg, Jörg F. Wittenberger joerg.wittenber...@softeyes.net writes: There is also at http://ball.askemos.org/InstallResources the Code for Askemos. It's maintained. (Runs at all the servers of askemos.org at this moment 3 hosts with Chicken and 3 with RScheme.) You will need both (still

Re: [Chicken-users] A proposal for egg category reassignment

2011-10-12 Thread Moritz Heidkamp
Hi Ivan, first of all, thanks for your effort! Ivan Raikov ivan.g.rai...@gmail.com writes: * kalaha - Miscellaneous * ssql - Databases * ssql-postgresql - Databases I have changed or added those eggs' categories accordingly and tagged new releases for each so they should show up correctly

Re: [Chicken-users] Why does the JSON egg map JSON structs to Scheme vectors instead of alists?

2011-11-27 Thread Moritz Heidkamp
Hi Vok, Vok Vojwo cev...@gmail.com writes: I am a bit confused by the way the JSON egg maps JSON structures to Scheme values. The JSON egg maps a structure to a vector: (use json) (with-input-from-string {\pi\:3.14,\e\:2.71} json-read) ;; = #((pi . 3.14) (e . 2.71)) I agree, this is indeed

Re: [Chicken-users] Why does the JSON egg map JSON structs to Scheme vectors instead of alists?

2011-11-27 Thread Moritz Heidkamp
John Cowan co...@mercury.ccil.org writes: They differ in their representation of JSON null, however: json-abnf uses 'null, whereas medea's default is () the other way around, actually :-) Moritz ___ Chicken-users mailing list

Re: [Chicken-users] Why does the JSON egg map JSON structs to Scheme vectors instead of alists?

2011-11-27 Thread Moritz Heidkamp
Vok Vojwo cev...@gmail.com writes: I think the Medea egg intends to do it the right way. But it seems to be buggy. And it has a voracious appetite It does indeed :-) Medea fails to parse the data: (use medea) (read-json json) ;; = #f Thanks for the hint. I managed to bisect it down to

Re: [Chicken-users] Why does the JSON egg map JSON structs to Scheme vectors instead of alists?

2011-11-27 Thread Moritz Heidkamp
Moritz Heidkamp mor...@twoticketsplease.de writes: Thanks for the hint. I managed to bisect it down to a Unicode character in one of the strings (’). Looking at medea's test suite I found this: ;; (test-read '#(Дҫ) [\Дҫ\]) ; FIXME genturfahi needs utf8 support for that to work So thanks

Re: [Chicken-users] Thank you gentlemen...

2011-12-12 Thread Moritz Heidkamp
Christian Kellermann ck...@pestilenz.org writes: I would like to say a big THANKS to all the people that have been working in different areas on the CHICKEN system during the last couple of days, be it remote or in person in Nuremberg. I can say that for me it has been a blast to work, chat,

Re: [Chicken-users] happy christmas!

2011-12-23 Thread Moritz Heidkamp
Felix fe...@call-with-current-continuation.org writes: I wish everybody a very happy christmas and a joyful new year. Thanks and the same to you and all other Chickeneers! It's been a great year of clucking :-) Moritz ___ Chicken-users mailing list

Re: [Chicken-users] System Egg and recompilation

2012-01-25 Thread Moritz Heidkamp
Hi Stephen, Stephen Eilert spedr...@gmail.com writes: It compiles to the tmp directory, every time. Ideally, I'd like the shared objects to stick around and only be recompiled if the files are changed. build-system works, but then the files are ignored by load-system (as per documentation).

Re: [Chicken-users] System Egg and recompilation

2012-01-31 Thread Moritz Heidkamp
Felix fe...@call-with-current-continuation.org writes: the problem is that load-system is meant for interactive development. Since reloading already loaded extensions is not possible on some platforms, the temporary files approach is taken. I agree that it would make sense to be able to use

Re: [Chicken-users] ssax troubles

2012-02-19 Thread Moritz Heidkamp
Peter Bex peter@xs4all.nl writes: Unless otherwise stated on the egg's wiki page, most eggs are kept in the eggs repository in subversion. You can check this out via https://code.call-cc.org/svn/chicken-eggs/release/4/ssax/trunk If you have no account, you can use the anonymous username

Re: [Chicken-users] foreign: Why is passing structs as arguments and return-types not supported?

2012-02-29 Thread Moritz Heidkamp
Kristian Lein-Mathisen kristianl...@gmail.com writes: Any thoughts on how to pursue this? Another option would be to create a module which re-exports all `foreign' syntax wrapped with support for structs-by-value. Then just import your wrapper module instead of `foreign' in the code generated

Re: [Chicken-users] quoted vectors in syntax rules

2012-03-02 Thread Moritz Heidkamp
Hi Sandra, Sandra Snan sandra.s...@handgranat.org writes: What is the explanation for this puzzle? what are the results for you? Here with Chicken 4.7.0.3-st I get #t in both cases. Maye you are on an old version and this issue has been fixed in the meantime? Moritz

Re: [Chicken-users] [ANN] Numbers 2.8 released

2012-05-05 Thread Moritz Heidkamp
Peter Bex peter@xs4all.nl writes: I just tagged release 2.8 of the numbers egg. Congratulations! This was some epic hacking effort on your part, thanks a lot for that Peter! I'm looking forward to using it next time I'm in need of some SERIOUSLY BIG NUMBERS :-) Moritz

Re: [Chicken-users] zmq egg needs updating

2012-05-15 Thread Moritz Heidkamp
Hi Shaun, Shaun Bruner bruner.shaun...@gmail.com writes: I was just noticing that the zmq egg still uses xreq and xrep socket types. The zeromq api has changed these to 'dealer' and 'router', respectively in the latest releases. interesting, somebody else asked about the exact same thing the

Re: [Chicken-users] zmq egg needs updating

2012-05-16 Thread Moritz Heidkamp
Hi guys, David Krentzlin da...@lisp-unleashed.de writes: I'd really appreciate the move to Bitbucket. This would speed up the process of integrating patches and you wouldn't have to be bugged about them all the time. As far as i remember Jim has pending patches to be reviewed by you. He could

[Chicken-users] [ANN] chicken-belt 0.0.6: Introducing chicken-hatch

2012-05-20 Thread Moritz Heidkamp
Fellow Chickeneers, I would like to announce version 0.0.6 of the chicken-belt egg. The main novelty is the chicken-hatch program which should come in handy when creating new eggs. It interactively asks for a few things such as egg category (by presenting a list to choose from - this should

Re: [Chicken-users] [ANN] chicken-belt 0.0.6: Introducing chicken-hatch

2012-05-21 Thread Moritz Heidkamp
Hi Stephen, Stephen Eilert spedr...@gmail.com writes: Fantastic :)I've had this idea before, but ideas are worth nothing unless implemented. yeah, same here. But when I started my last egg I finally sat down and just got the basic version done :-) Can we run it under an existing directory?

Re: [Chicken-users] [ANN] chicken-belt 0.0.6: Introducing chicken-hatch

2012-05-21 Thread Moritz Heidkamp
1126 mailingli...@elfsechsundzwanzig.de writes: thank you for adding chicken-hatch. I'll use it soonish. :) Excellent! But I wonder if either the chicken-belt-documentation is misleading or if chicken-hatch should be an egg on its own. The two other programs of the chicken-belt egg

Re: [Chicken-users] ANN: Binding for libsdl-mixer available

2012-05-28 Thread Moritz Heidkamp
Hey Christian, Christian Kellermann ck...@pestilenz.org writes: I want to direct your attention to a new egg that I have created and found quite entertaining so far: sdl-mixer a binding to libsdl-mixer that allows you to play music and samples in scheme with ease. that sounds very nice,

Re: [Chicken-users] ANN: Binding for libsdl-mixer available

2012-05-28 Thread Moritz Heidkamp
Christian Kellermann ck...@pestilenz.org writes: A question regarding the API: Is the music term inherited from SDL? Yes. OK, best to keep it this way then. And what's the difference to sample? Looks like the music functions play samples asynchronously. If so I'd vote for renaming it (to

[Chicken-users] quasiconf at FrOSCon 2012

2012-05-28 Thread Moritz Heidkamp
Fellow Chickeneers, I'm happy to announce that we'll have a Lisp subconference under the name of quasiconf at this year's FrOSCon (http://www.froscon.de/). I have put up a small announcement page with details on what it's about, how to participate etc. at http://quasiconf.twoticketsplease.de/.

[Chicken-users] ANN: lazy-seq, a port of Clojure's lazy sequence API

2012-06-02 Thread Moritz Heidkamp
Fellow Chickeneers, a few weeks ago I (more or less silently) released the lazy-seq egg which I hereby retroactively announce to the public. For a bit of discussion on why I made it and how it compares to SRFI 41 streams, read my blog article about it here:

Re: [Chicken-users] ANN: lazy-seq, a port of Clojure's lazy sequence API

2012-06-03 Thread Moritz Heidkamp
Alex Shinn alexsh...@gmail.com writes: First, the srfi-41 vs. lazy-seq comparison in the blog post was an apples to oranges comparison of a clumsy letrec vs a compact named let. If we rewrite the srfi-41 version in the same style as the lazy-seq one, then we get: (define multiples-of-three

Re: [Chicken-users] Neophyte in scheme: string-split not quite what I want

2012-07-20 Thread Moritz Heidkamp
Hi Charles, Charles Hixson charleshi...@earthlink.net writes: What I want is something that will split strings at character class boundaries (alpha, numeric, punctuation, white, other), and NOT discard the places where it splits. Is there a better choice than irregex? The pattern for doing

[Chicken-users] ANN: Lowdown, a pure Chicken Markdown parser

2012-08-05 Thread Moritz Heidkamp
Fellow Chickeneers, yesterday I released the first version of Lowdown, a Markdown parser written in pure Chicken Scheme. The only other Markdown parser egg we had so far, discount, requires the corresponding C library and can only read and emit strings. Lowdown doesn't have any foreign

Re: [Chicken-users] ANN: Lowdown, a pure Chicken Markdown parser

2012-08-07 Thread Moritz Heidkamp
Stephen Eilert spedr...@gmail.com writes: I must apologize, btw. I was written something that required a Markdown parser and I didn't feel like going on this huge detour to write a Markdown parser in Scheme, so I just used the Discount library and that's it. No need to apologize, I was using

Re: [Chicken-users] minor lowdown egg oddity

2012-08-15 Thread Moritz Heidkamp
Markus Klotzbuecher m...@marumbi.de writes: I was just reading Moritz' lowdown code trying to understand how the comparse egg works, cool, let me know when questions arise. If you are in the Cologne area tomorrow, you can also join us at http://www.meetup.com/clojure-cologne/events/77163772/

Re: [Chicken-users] POSIX fork srfi-18 interactions

2012-09-13 Thread Moritz Heidkamp
Andy Bennett andy...@ashurst.eu.org writes: Is this interaction between the posix egg and srfi-18 considered a bug? Is there anything that can be done about it? I too am interested in this issue! Moritz ___ Chicken-users mailing list

Re: [Chicken-users] Pipe and thread problem

2012-10-24 Thread Moritz Heidkamp
Hey Chickeneers, out of curiosity I implemented (probably horribly inefficitent) thread-aware replacements for open-input-file* and open-output-file* (see below). While implementing them I came across something that I didn't quite understand: file-read and file-write raise errors whenever the

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

2012-11-05 Thread Moritz Heidkamp
Hi Matt, sorry for responding late, I'm a bit busy these days. However, as the original author of the zmq egg I feel obliged to chime in :-) Matt Welland estifo...@gmail.com writes: However I need to ping servers to see if they are alive so I wrote a little code to try and connect to the

Re: [Chicken-users] The (unemployed) Schemers and Lispers guild @ 29c3

2013-01-02 Thread Moritz Heidkamp
Hi all, as Christian already mentioned I also took part in the assembly and concur with him in that it was a delightful experience. I would definitely like to repeat it next year. Some Haskell people suggested to do a functional programming assembly together at 30c3. That sounds like a great

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

2013-01-14 Thread Moritz Heidkamp
Hi Matt, matt welland m...@kiatoa.com writes: I'm guessing that with-headers and send-response are where I should start but not sure how they are intended to work. A trivial hello world example would be a great help. you can check this Omelette Recipe from Chicken Gazette, issue 8:

[Chicken-users] The odd case of the channel egg's tests failures

2013-01-23 Thread Moritz Heidkamp
Fellow Chickeneers, I'm turning to you because I have no idea how to continue with analyzing a very odd behavior of my channel egg's test cases. Basically, they have been failing on Salmonella from the very beginning with this error: [panic] out of memory - heap full while resizing - execution

Re: [Chicken-users] Egg: redis bindings

2013-01-24 Thread Moritz Heidkamp
Hi, Andrei Barbu and...@0xab.com writes: I put up an egg that has high-performance redis bindings using hiredis. It's much faster (100x) than the current egg and it doesn't suffer from timeout issues. Provides a pretty bare-bones API. cool, I wasn't aware of hiredis! I've put up docs on

Re: [Chicken-users] The odd case of the channel egg's tests failures

2013-01-31 Thread Moritz Heidkamp
Hey Felix, thanks a lot for your ideas! I checked the channel code and found that neither it nor one of its dependencies uses the FFI. The dependencies are data-structures, extras, lolevel, srfi-1, srfi-18, srfi-69, and miscmacros. Maybe some of the core units do use some FFI calls, I have to

[Chicken-users] ANN: persistent-hash-map 0.0.1

2013-02-10 Thread Moritz Heidkamp
Fellow Chickeneers, I have finally gotten around to finishing my long standing plan of porting the useful persistent hash map data structure from Clojure to Chicken. Thankfully, ClojureScript grew its own implementation of it in the meantime which written (mostly) in ClojureScript itself so

Re: [Chicken-users] ANN: persistent-hash-map 0.0.1

2013-02-16 Thread Moritz Heidkamp
Hi Evan, Evan Hanson ev...@foldling.org writes: And also, thanks for the write-up about the library -- it's nice to have an idea of the motivation behind it, and the other tips (Chicken/performance-related) are helpful as well. Taking the time to do that is much appreciated. thanks a lot for

Re: [Chicken-users] ANN: persistent-hash-map 0.0.1

2013-02-16 Thread Moritz Heidkamp
John Cowan co...@mercury.ccil.org writes: This looks brilliant. I have written some sketchy stuff that searches an a-list in the normal way, but if the a-list lookup fails and the tail is not the empty list but a SRFI 69 hash table, then search the hash table, on the assumption that there's a

[Chicken-users] ANN: type-stubs 0.0.1

2013-02-16 Thread Moritz Heidkamp
Fellow Chickeneers, I would like to announce a little new egg I just released called type-stubs (http://wiki.call-cc.org/eggref/4/type-stubs). Its purpose is to provide stubs for Chicken's recently introduced type syntax (http://wiki.call-cc.org/man/4/Types) so that typed code can be used with

Re: [Chicken-users] Passing zero-length (sub-)buffers to C functions

2013-02-18 Thread Moritz Heidkamp
Florian Zumbiehl fl...@florz.de writes: But usually, good APIs would declare buffer sizes as size_t, which there doesn't seem to be any corresponding foreign type specifier for!? Actually, a foreign type specifier for size_t was added in 4.7.0 (called size_t, too). Apparently it wasn't added to

Re: [Chicken-users] More thoughts on Ersatz

2013-03-12 Thread Moritz Heidkamp
Hi Matt, thanks a lot for the detailed writeup of your experiences, that was a very interesting read! Being pretty much oblivious with regards to Jinja I will only comment on one issue: Matt Gushee m...@gushee.net writes: 3) {% if not loop.last %} also raises a parser error. This was a fairly

Re: [Chicken-users] to uses or not to uses

2013-03-24 Thread Moritz Heidkamp
Jörg F. Wittenberger joerg.wittenber...@softeyes.net writes: Now I wanted to kick out need to keep duplicates of the requirements; once in the uses cluse and below in the import list. Can give an example of what you refer to as import list? Moritz

Re: [Chicken-users] to uses or not to uses

2013-03-25 Thread Moritz Heidkamp
Jörg F. Wittenberger joerg.wittenber...@softeyes.net writes: (declare (unit foo) ;; this are my uses declarations (uses bar foobar library) ;; end of uses declarations ) (module foo * ;; this is my import list: (import bar foobar library) ;; end of import list ) Ah, alright, try to

Re: [Chicken-users] to uses or not to uses

2013-03-25 Thread Moritz Heidkamp
Jörg F. Wittenberger joerg.wittenber...@softeyes.net writes: However having the (declare (uses ...)) plus import does do the trick. I don't think there is a shortcut form for that in core. I'm no expert on statically linked modules, though. Moritz

Re: [Chicken-users] can't get 'the' to work

2013-03-25 Thread Moritz Heidkamp
Jörg F. Wittenberger joerg.wittenber...@softeyes.net writes: (let ((foobar (the (or null (list-of number)) '( Warning: in toplevel procedure `foo#bar': expression returns a result of type `null', but is declared to return (list-of number)', which is not a subtype It seems you can trick

Re: [Chicken-users] Medea Egg: nested lists/pairs

2013-03-26 Thread Moritz Heidkamp
Hi Karsten, Karsten Gebbert karsten.gebb...@gmail.com writes: #;2 (write-json '((one . 1) (two . '((three . 3) (four . 4) the problem here is the inner quote. Your expression is read as: (quote ((one . 1) (two . (quote ((three . 3) (four . 4)) Which evaluates to ((one . 1) (two .

Re: [Chicken-users] CHICKEN Spring Thing 2013

2013-04-24 Thread Moritz Heidkamp
Hello everyone, the Chaos Computer Club Cologne will kindly be our host again this time (thanks guys!). The address is Chaos Computer Club Cologne (C4) e.V. Heliosstr. 6a 50825 Cologne, Germany I also added this to the wiki page

[Chicken-users] Chicken Sprint Thing Planning

2013-05-23 Thread Moritz Heidkamp
Hey everyone, as the Chicken Spring Thing [0] is going to start in about 24 hours I guess it is a good idea to coordinate ourselves a bit. I hope you all have your accommodation and travel sorted out by now! I'll be at C4 from about 19:00 o'clock. Should you arrive earlier and would like to meet

Re: [Chicken-users] A Scheme based make - soliciting you comments

2013-06-12 Thread Moritz Heidkamp
Hi Jerry, Jörg F. Wittenberger joerg.wittenber...@softeyes.net writes: these days I ran (again as every once in a while) a case which made me longing for a make(1) in Scheme. Gave the make egg a try and… decided I'd need something else. Something powerful enough to make it easier to maintain

[Chicken-users] quasiconf 2013 at FrOSCon (August 24/25)

2013-07-19 Thread Moritz Heidkamp
Dear Chickeneers, as some of you may have read elsewhere already we are having a quasiconf again at this year's FrOSCon in St. Augustin (Germany) on August 24/25. We'd be very happy to welcome some of you as guests or speakers (slots are still available). For more information, see

Re: [Chicken-users] Lowdown sxml-serializer not working together

2013-08-22 Thread Moritz Heidkamp
Hi Matt, Matt Gushee m...@gushee.net writes: markdown-sxml converts whitespace in the input to character objects, or lists of character objects, e.g.: '(#\space) #\newline ... but serialize-sxml can't handle these: evidently it wants either strings or symbols. I haven't found any

Re: [Chicken-users] [ANN] Zephyros Chicken bindings (attn osx users)

2013-09-12 Thread Moritz Heidkamp
Hey Richo, thanks for your contribution to the Chicken ecosystem! richo ri...@psych0tik.net writes: I'd love a) For people to use it, and b) feedback on the code. As for a), I'm not an OS X user so I can't but as for b) I figured I can give you a small hint: (define (send datum thunk)

Re: [Chicken-users] [Chicken-hackers] [PATCH] Fix -no-parentheses-synonyms and -no-symbol-escapes

2013-09-17 Thread Moritz Heidkamp
Hey there, Peter Bex peter@xs4all.nl writes: Here's a fix for this, with some regression tests to ensure this won't break again. I've hopefully simplified it enough to make it obviously correct. I also noticed that even after correcting the test, pipes occurring inside symbols were

Re: [Chicken-users] Another lowdown-sxml-serializer problem

2013-10-11 Thread Moritz Heidkamp
Hi Matt, Matt Gushee m...@gushee.net writes: I have observed the following undesired behavior: [...] Any solutions for this? I'm sorry that I didn't get around to changing Lowdown so that it produces SXML conformant with the spec, yet. In the meantime you can use this code to clean it up I

Re: [Chicken-users] go routines for chicken

2013-11-27 Thread Moritz Heidkamp
Hi Piotr, m...@freeshell.de writes: Is there anything comparable in Chicken Scheme? If not, how complicated would be to make such an implementation? I am trying to port Clojure's core.async module in my very limited spare hacking time to CHICKEN right now. This should be what you are looking

Re: [Chicken-users] go routines for chicken

2013-11-27 Thread Moritz Heidkamp
John Cowan co...@mercury.ccil.org writes: The mailbox egg provides the equivalent of Go channels. That's not quite right, is it? E.g. it is not possible to multiplex across mailboxes (as with Go's select statement) or limit their size (at least not out of the box). Those are quite essential

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

2013-11-27 Thread Moritz Heidkamp
Hi Matt and Kristian, Kristian Lein-Mathisen kristianl...@gmail.com writes: Moritz and I had some fun with zmq 3.2 in July. We didn't release our work, with the reason slipping my mind right now. I don't remember either :-) Matt, can you try whether it works for you or if you still run into

Re: [Chicken-users] go routines for chicken

2013-11-28 Thread Moritz Heidkamp
John Cowan co...@mercury.ccil.org writes: There is also a Ruby Flavored Erlang called Elixir which has become quite popular: see http://elixir-lang.org. They are all compatible at the Erlang VM level. And don't forget The Concurrent Schemer: http://the-concurrent-schemer.github.io/scm-doc/

Re: [Chicken-users] go routines for chicken

2013-11-28 Thread Moritz Heidkamp
John Cowan co...@mercury.ccil.org writes: Quite right, though I don't consider either point essential. Limited mailboxes are useful to prevent livelock (though at the risk of deadlock), and perhaps they should be retrofitted into the egg. Indeed, having thought about it some more it is

Re: [Chicken-users] Chicken Spring Gathering in Norway

2014-05-11 Thread Moritz Heidkamp
Hey Kristian and Peder, Kristian Lein-Mathisen krist...@adellica.com writes: I would just like to thank everybody who attended the Viking CHICKEN spring event last week for a wonderful time! Thanks to everyone for making the event into what it became. Peder and I really enjoyed having such a

[Chicken-users] [SECURITY] Fix select() buffer overrun on Android platform

2014-08-29 Thread Moritz Heidkamp
Dear CHICKEN users, the Android platform target that was added in the 4.9 release series built CHICKEN with the unsafe POSIX select() syscall, making it vulnerable to a buffer overrun attack[1]. This is fixed in master (bbf5c1d) by switching to POSIX poll() on Android, too. We are also preparing

Re: [Chicken-users] [Q] How can I convert this lisp(SBCL) macro to chicken scheme?

2014-11-07 Thread Moritz Heidkamp
NeXT chu...@gmail.com writes: Thank you, what I miss from clojure is its uniform or homoiconic(?) style of sequence accessing; so one does not have to check current sequence is whether list or vector or others. I'd like to create macro or something for this. :-) This is called a generic

Re: [Chicken-users] How to tell csc to call main?

2014-12-19 Thread Moritz Heidkamp
Hi, Christian Kellermann ck...@pestilenz.org writes: Call (main) at toplevel. If you want to change the behaviour depending on whether the code is compiled or interpreted you can use cond-expand testing for feature 'compiling alternatively pass an option like this to csc: -postlude '(main

  1   2   >