Re: [Chicken-users] new egg: gochan

2014-10-22 Thread Kristian Lein-Mathisen
...@gmail.com wrote: On Wed, 22 Oct 2014 13:22:18 +0200 Kristian Lein-Mathisen kristianl...@gmail.com wrote: Just make sure the latest tag specified in .release-info points to a working state. Fixed! For both nanomsg and gochan. Excellent. Thank you. Forgot the most important part

Re: [Chicken-users] new egg: bindings for nanomsg

2014-10-10 Thread Kristian Lein-Mathisen
Gosh, how silly of me. It was a long day yesterday. Yes, Evan, please use that release-info file! Thanks, K. On Fri, Oct 10, 2014 at 2:09 AM, Mario Domenech Goulart mario.goul...@gmail.com wrote: Hi Kristian, On Fri, 10 Oct 2014 01:29:08 +0200 Kristian Lein-Mathisen kristianl

[Chicken-users] new egg: bindings for nanomsg

2014-10-09 Thread Kristian Lein-Mathisen
Hi folks! I've just played around with nanomsg which I really like. It fits really nice into Chicken's inner workings, with it's new file-descriptors which you can poll(). So I've started creating some bindings, and though it might be enough for an egg. Please look over it and add it to the

Re: [Chicken-users] How to compile with openssl?

2014-10-07 Thread Kristian Lein-Mathisen
Hi Sascha, which CHICKEN version are you using? There is a bug in some older versions where you need to specify (use chicken-syntax) for it work in compiled modules. Does that help? K. On Tue, Oct 7, 2014 at 2:25 PM, Arthur Maciel arthurmac...@gmail.com wrote: Sascha, putting (use openssl)

Re: [Chicken-users] [Chicken-hackers] CHICKEN in production

2014-09-30 Thread Kristian Lein-Mathisen
Cool! We'll be launching a product soon as well, with the heart of the system running Chicken. We'll post it here in case anyone is interested. Thanks for sharing! K. On Sep 30, 2014 12:22 PM, Felix Winkelmann felix.winkelm...@bevuta.com wrote: From: r d...@bk.ru Subject: [Chicken-hackers]

Re: [Chicken-users] Live programming with Chicken

2014-07-03 Thread Kristian Lein-Mathisen
That is strange, I've experienced alex's problem too - having to yield a little to give the REPL some room. Anyhow, for others who might come across this thread: alex's idea works great, but you need to be careful with blocking IO on your REPL. If you don't use parley

Re: [Chicken-users] Live programming with Chicken

2014-07-02 Thread Kristian Lein-Mathisen
Hi Pluizer, I've tried to make a poll-based repl like you're talking about for the same purpose. Have a look here and see if that helps: https://github.com/Adellica/prepl K. On Wed, Jul 2, 2014 at 12:40 PM, Richard plui...@freeshell.de wrote: Hello, I wanted to do some live game programming

Re: [Chicken-users] T-DOSE 2014?

2014-06-20 Thread Kristian Lein-Mathisen
Hello Peter, Great initiative! Me and Peder would like to participate as well. K. On Jun 20, 2014 11:48 AM, Richard plui...@freeshell.de wrote: Hello Peter, I would be interested in volunteering for booth duty. greetings, Pluizer On 06/20/14 10:47, Peter Bex wrote: Hi all, I got an

Re: [Chicken-users] bug update-uri in uri-common

2014-06-16 Thread Kristian Lein-Mathisen
Thank you Peter! With some manual testing, it's working like expected here. K. On Sat, Jun 14, 2014 at 3:11 PM, Peter Bex peter@xs4all.nl wrote: On Sat, Jun 07, 2014 at 02:19:22PM +0200, Peter Bex wrote: So here's a new poll: a) The current behaviour of resetting port to #f if it's

Re: [Chicken-users] bug update-uri in uri-common

2014-06-10 Thread Kristian Lein-Mathisen
If we go for (b), we could also provide a normalize-uri-port which sets it to #f if it's already equal to the default port of its scheme. And perhaps an optional normalize? argument to the uri-string procedure? K. On Sun, Jun 8, 2014 at 8:16 PM, Evan Hanson ev...@foldling.org wrote: On

Re: [Chicken-users] bug update-uri in uri-common

2014-05-28 Thread Kristian Lein-Mathisen
I realize I already put down my vote, but I'd like to promote my case after some thought. I guess what we're trying to find out is what's more troublesome and/or surprising: 1. having to set the port explicitly (to #f?) when you want to change the scheme and its port 2. having to set the port

Re: [Chicken-users] new egg: nrepl

2014-05-22 Thread Kristian Lein-Mathisen
Thanks, Mario! I've added documentation on the wikihttps://wiki.call-cc.org/eggref/4/nrepl . K. On Wed, May 21, 2014 at 2:39 PM, Mario Domenech Goulart mario.goul...@gmail.com wrote: Hi Kristian, On Wed, 21 May 2014 14:26:37 +0200 Kristian Lein-Mathisen krist...@adellica.com wrote

Re: [Chicken-users] new egg: nrepl

2014-05-22 Thread Kristian Lein-Mathisen
/05/14 13:26, Kristian Lein-Mathisen wrote: Hi! I've created a very simple egg that exposes a simple REPL over TCP connections. I've called it nrepl. Naming conflicts with Clojure's deprecated nrepl hopefully won't be a problem. I'm thinking this may be handy enough for debugging

Re: [Chicken-users] new egg: nrepl

2014-05-22 Thread Kristian Lein-Mathisen
Oh, of course, Cider is just for Emacs, thanks for the clarification! K. On Thu, May 22, 2014 at 4:57 PM, Stephen Gilardi scgila...@gmail.comwrote: On May 21, 2014, at 8:26 AM, Kristian Lein-Mathisen krist...@adellica.com wrote: I've created a very simple egg that exposes a simple REPL

[Chicken-users] new egg: nrepl

2014-05-21 Thread Kristian Lein-Mathisen
Hi! I've created a very simple egg that exposes a simple REPL over TCP connections. I've called it nrepl. Naming conflicts with Clojure's deprecated nrepl hopefully won't be a problem. I'm thinking this may be handy enough for debugging that it might be part of the official egg index. Have a

Re: [Chicken-users] New egg: physics

2014-05-16 Thread Kristian Lein-Mathisen
Welcome to the coop, Richard! And what an extensive first-egg, nice work! I started the acorn https://github.com/kristianlm/acorn egg a while back, but I just hammered on chipmunk.h until it worked. Then I added some convenience functions (like nodeshttps://github.com/kristianlm/acorn#nodes), but

Re: [Chicken-users] [ANN] New egg: glls

2014-05-15 Thread Kristian Lein-Mathisen
Great work, Alex! You beat me to it ;) Really looking forward to play around with this! It will be really interesting to see what dynamic shaders can do for games or other visually intensive application. K. On May 15, 2014 1:48 PM, Andy Bennett andy...@ashurst.eu.org wrote: Hi, I'm pleased

[Chicken-users] bug update-uri in uri-common

2014-05-13 Thread Kristian Lein-Mathisen
Hi guys, I have come across som a bug or unintuitive behaviour in uri-common. The port parameter is reset on update-uri. uri-generic works like expected: csi -R uri-generic #;1 (update-uri (make-uri port: 100) scheme: 'http) #(URI scheme=http authority=#(URIAuth host=#f port=100) path=()

Re: [Chicken-users] bug update-uri in uri-common

2014-05-13 Thread Kristian Lein-Mathisen
, 2014 at 01:38:16PM +0200, Kristian Lein-Mathisen wrote: Hi guys, I have come across som a bug or unintuitive behaviour in uri-common. The port parameter is reset on update-uri. uri-generic works like expected: csi -R uri-generic #;1 (update-uri (make-uri port: 100) scheme: 'http

Re: [Chicken-users] bug update-uri in uri-common

2014-05-13 Thread Kristian Lein-Mathisen
at 11:25:23PM +0200, Kristian Lein-Mathisen wrote: Hmmm ... The scheme is changed, like you say, but the port is too, from 100 to #f, which is what I find surprising. I cannot seem to find a way to update the uri without loosing the port. What am doing wrong here? Try updating

Re: [Chicken-users] [ANN] opengl-glew version 0.4.0

2014-05-12 Thread Kristian Lein-Mathisen
Exciting work, Alex! I'm really looking forward to look into this. Hoping I'll have time to do so now. And I'm glad the glm egg was useful, even with the documentation lacking as it is. gl-math looks nice and lightweight, did you write hypermath.c yourself? Do you have some insight on how much

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

2014-05-07 Thread Kristian Lein-Mathisen
. The CHICKEN community is truly remarkable! To everyone who couldn't attend, I hope you will be able to join us next time! Which, hopefully, won't be in too long. Until then, guys! K. On Wed, Feb 26, 2014 at 6:39 PM, Kristian Lein-Mathisen krist...@adellica.com wrote: Hi folks! It's exciting

Re: [Chicken-users] LevelDB bindings

2014-04-20 Thread Kristian Lein-Mathisen
Hey Caolan, And welcome to the Chicken community! Your leveldb eggs seems pretty well written, nice work! Not much to comment on, but I'll put down what I noted as I quickly browsed through the code. Have you looked at the bind egg? It may help you out with basic C++ bindings for things like

Re: [Chicken-users] Why is it called Chicken?

2014-03-04 Thread Kristian Lein-Mathisen
Hi Daniel, There's an interview with Felixhttp://spin.atomicobject.com/2013/05/02/chicken-scheme-part-1/that might answer your question: *One last question: What inspired the names CHICKEN and SPOCK? Do they mean anything, aside from the bird and the well-known Star Trek character?* That

[Chicken-users] channel egg: hang on closed channel?

2014-02-26 Thread Kristian Lein-Mathisen
Hi folks! I'm just starting to look at the channel egg and its nifty API. I've encoutered some behaviour that I think is a little odd: (let ((c (make-channel))) (close-channel c) (channel-receive c)) The code snippet above hangs forever. I would expect channel-receive to return immediately

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

2014-02-26 Thread Kristian Lein-Mathisen
mario.goul...@gmail.com wrote: On Thu, 30 Jan 2014 17:05:25 +0100 Kristian Lein-Mathisen krist...@adellica.com wrote: It's my pleasure to announce that we've decided to host a Chicken gathering in Norway for this coming spring. Hopefully we can find suitable dates so that lots of people can

[Chicken-users] Chicken Spring Gathering in Norway

2014-01-30 Thread Kristian Lein-Mathisen
Hey folks! It's my pleasure to announce that we've decided to host a Chicken gathering in Norway for this coming spring. Hopefully we can find suitable dates so that lots of people can come! Let's give doodle a spin around the month of May: http://doodle.com/34fh8n88hr4i7edn Please add

Re: [Chicken-users] cross-compiling eggs using feature-test

2014-01-15 Thread Kristian Lein-Mathisen
Hi Mario, crypt.setuphttp://bugs.call-cc.org/browser/release/4/crypt/trunk/crypt.setuphas some good ideas, thanks! K. On Tue, Jan 14, 2014 at 5:44 PM, Mario Domenech Goulart mario.goul...@gmail.com wrote: Hi Kristian, On Tue, 14 Jan 2014 17:30:04 +0100 Kristian Lein-Mathisen krist

Re: [Chicken-users] Playing with build utilities for Android

2014-01-03 Thread Kristian Lein-Mathisen
Thanks for your feedback, Peter. On Fri, Jan 3, 2014 at 8:30 AM, Peter Bex peter@xs4all.nl wrote: On Fri, Jan 03, 2014 at 01:44:41AM +0100, Kristian Lein-Mathisen wrote: Hi folks, and happy new year to all! I have been playing around with some simple build utilities to get Chicken

[Chicken-users] Playing with build utilities for Android

2014-01-02 Thread Kristian Lein-Mathisen
Hi folks, and happy new year to all! I have been playing around with some simple build utilities to get Chicken onto my Android phone (again!). The fine work https://github.com/chicken-mobile/android-chicken by Bevuta allows us to build a cross-chicken which can cross-compile eggs and the

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

2013-11-25 Thread Kristian Lein-Mathisen
Hi Matt, 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 think it should be fairy stable, however. You can find it here: https://bitbucket.org/DerGuteMoritz/zmq/commits/branch/3.2 K. On Sun, Nov 24, 2013 at 1:34 AM,

Re: [Chicken-users] Unix Scripting in Chicken

2013-10-12 Thread Kristian Lein-Mathisen
The wiki has a section on scripts at http://wiki.call-cc.org/writing%20portable%20scripts which may come in handy. You could also have a look under writing scheme scripts on http://wiki.call-cc.org/man/4/Using%20the%20interpreter . However, I could not get the arguments to CSI on the shebang-line

Re: [Chicken-users] We are looking for projects

2013-09-17 Thread Kristian Lein-Mathisen
I think that should be https://github.com/chicken-mobile K. On Tue, Sep 17, 2013 at 1:54 PM, John Cowan co...@mercury.ccil.org wrote: Felix Winkelmann scripsit: https://github.com/organizations/chicken-mobile This just redirects to https://github.com. -- John Cowan

[Chicken-users] Compiling with --std=c99 supported?

2013-09-08 Thread Kristian Lein-Mathisen
Hi there, I came across something I think might be a bug. While I don't have a deep understanding of what c99 and gnu99 really mean, I noted that this happens on my 64bit system: $ chicken -version (c) 2008-2013, The Chicken Team (c) 2000-2007, Felix L. Winkelmann Version 4.8.0.4

Re: [Chicken-users] Basic FFI Principle in Chicken

2013-09-08 Thread Kristian Lein-Mathisen
in theory return a ;; 3-element s32vector with your hue, ;; sat and lum. Note the cast from s32vector (int*) to struct color*. Cheers, K. On Sat, Sep 7, 2013 at 4:33 PM, John Cowan co...@mercury.ccil.org wrote: Kristian Lein-Mathisen

Re: [Chicken-users] Compiling with --std=c99 supported?

2013-09-08 Thread Kristian Lein-Mathisen
Ok, I will rewrite my C-code so I don't have to use either of those flags. Thanks Peter! K. On Sun, Sep 8, 2013 at 11:59 PM, Peter Bex peter@xs4all.nl wrote: On Sun, Sep 08, 2013 at 11:52:01PM +0200, Kristian Lein-Mathisen wrote: Hi there, I came across something I think might

Re: [Chicken-users] Basic FFI Principle in Chicken

2013-09-07 Thread Kristian Lein-Mathisen
Hey Chris, I though I'd mention the srfi-4 unit and it's u32vector. This may come in handy for your particular struct. While make-blobs are great for allocating managed memory for arbitrary structs, you can sometimes use make-s32vector, for example, where the struct is basically an array like

Re: [Chicken-users] (seemingly) random disconnects of zmq sockets

2013-08-25 Thread Kristian Lein-Mathisen
Hi Karsten, It's a little hard to figure out why that socket all of a sudden just dies. Perhaps you could make a smaller example where this bug is reproducable? There is a branch where we're trying to update the bindings to work against zmq version 3.2:

Re: [Chicken-users] parley improvements

2013-08-08 Thread Kristian Lein-Mathisen
Hello Christian, Thanks for that, parley is really useful! I'm using parley for my everyday Chickening. I just have a small comment regarding regarding the prompt. When I do this: [klm@kth ~]$ csi -q #;1 (begin ;; each line produce ;; a '' mark (void)) #;2 #;2 ^D Those '' prompts are

Re: [Chicken-users] parley improvements

2013-08-08 Thread Kristian Lein-Mathisen
)-- #;1 ^D K. On Thu, Aug 8, 2013 at 8:55 PM, Christian Kellermann ck...@pestilenz.orgwrote: * Kristian Lein-Mathisen kristianl...@gmail.com [130808 18:23]: Hello Christian, Thanks for that, parley is really useful! I'm using parley for my everyday Chickening. I just have a small

Re: [Chicken-users] parley improvements

2013-08-08 Thread Kristian Lein-Mathisen
2 ) 12 Now I'm getting 12, which should have been 2. It seems newlines are missing as a separator somehow. Cheers, K. On Thu, Aug 8, 2013 at 9:06 PM, Kristian Lein-Mathisen kristianl...@gmail.com wrote: Dumb terminal, that's a much better idea! It's working too, thanks a lot Christian

Re: [Chicken-users] parley improvements

2013-08-08 Thread Kristian Lein-Mathisen
Sounds good to me, looking forward to the new parley-release! Good job! K. On Thu, Aug 8, 2013 at 9:16 PM, Christian Kellermann ck...@pestilenz.orgwrote: * Kristian Lein-Mathisen kristianl...@gmail.com [130808 21:10]: Sorry, that email went off a little too quick. In the example I sent, I

Re: [Chicken-users] socket egg: socket-receive blocks?

2013-06-15 Thread Kristian Lein-Mathisen
assumes nonblocking sockets. We could expose the set-nonblocking operation to the user, but since TCP is always nonblocking, doing this only for UDP would be strange. Thoughts? Jim On Jun 14, 2013, at 11:01 AM, Kristian Lein-Mathisen kristianl...@gmail.com wrote: Hi Chickeners! I

[Chicken-users] socket egg: socket-receive blocks?

2013-06-14 Thread Kristian Lein-Mathisen
Hi Chickeners! I have come across a problem with multiple srfi-18 threads when tryping to listen to UDP sockets: (use socket) (set! *socket* (socket af/inet sock/dgram )) (set! (so-reuse-address? *socket*) #t) (socket-bind *socket* (inet-address 0.0.0.0 5055)) ;; (socket-receive ..) here blocks

Re: [Chicken-users] Chicken C interface

2013-06-06 Thread Kristian Lein-Mathisen
On Thu, Jun 6, 2013 at 11:34 AM, Thomas Chust ch...@web.de wrote: On 2013-06-05 23:36, Felix wrote: From: Dan Leslie d...@ironoxide.ca [...] Basically, use C_alloc to allocate the memory required to host both the List structure and the data it is to contain, then use the C_list macro

Re: [Chicken-users] Chicken C interface

2013-06-06 Thread Kristian Lein-Mathisen
at 11:59 AM, Thomas Chust ch...@web.de wrote: On 2013-06-06 11:46, Kristian Lein-Mathisen wrote: [...] From what I understand, this is exactly what foreign-primitive does: wraps C_return in a CPS, keeping the stack-allocation alive. [...] Hello, well, kind of. Since compiled CHICKEN

Re: [Chicken-users] [ANN] usb egg v0.1.0 is released

2013-06-06 Thread Kristian Lein-Mathisen
-number? That way, we could quickly test like this: $ csi -R usb -p '(usb-devices (usb-make-context))' (#usb-device #usb-device #usb-device #usb-device) ;; I'd love to get (#usb-device idVendor: 0x1234 idProduct: 0x3214 ...) Cheers, K. On Wed, May 8, 2013 at 11:36 PM, Kristian Lein-Mathisen

Re: [Chicken-users] Chicken C interface

2013-06-05 Thread Kristian Lein-Mathisen
I just though I'd mention srfi-4 http://api.call-cc.org/doc/srfi-4 as well, which are much easier to interface with from C. If all your elements are integers, for example, you might want to check out u32vector. Srfi-4 vectors use plain C float/int arrays and are possible as argument-types from

Re: [Chicken-users] [ANN] usb egg v0.1.0 is released

2013-05-08 Thread Kristian Lein-Mathisen
Hello Aaron, I can't believe nobody has commented on this yet - this is really cool! I have no experience with libusb, but it seems this is how you'd start if you're trying to make your own USB driver or investigating someone else's. I hope I run into a problem where I need lolevel USB access

Re: [Chicken-users] new egg: glm

2013-04-17 Thread Kristian Lein-Mathisen
, On Mon, 15 Apr 2013 23:24:25 +0200 Kristian Lein-Mathisen kristianl...@gmail.com wrote: I'll license it with whatever fits the Chicken model and community. Is that BSD perhaps? Yes. Best wishes. Mario -- http://parenteses.org/mario ___ Chicken

[Chicken-users] new egg: glm

2013-04-15 Thread Kristian Lein-Mathisen
Dear Chickeners! In my OpenGL and physics-simulation adventures I have fequently come across the need for a small math library in Chicken. I spent some time looking at the eggs out there, but some of them seemed a little overkill for my needs, so I decided to roll my own. I was looking for: -

Re: [Chicken-users] new egg: glm

2013-04-15 Thread Kristian Lein-Mathisen
I'm glad to hear, I hope this will come in handy. I'll license it with whatever fits the Chicken model and community. Is that BSD perhaps? It still needs a bit of work though, let me know if there are any feature requests and I'll see what I can do. K. On Apr 15, 2013 7:14 PM, Dan Leslie

Re: [Chicken-users] [Q] Is there any library for machine/statistical learning in Scheme(chicken scheme)?

2013-03-26 Thread Kristian Lein-Mathisen
Hi Sungjin, It seems jeronimo-pellegrinihttp://wiki.call-cc.org/users/jeronimo-pellegrinihas written some eggs with AI in mind. Perhaps some of those might be useful? The octave http://wiki.call-cc.org/eggref/4/octave egg might also be useful when you're analyzing your progress. K. On Tue,

Re: [Chicken-users] some questions about easyffi and foreign code

2013-02-03 Thread Kristian Lein-Mathisen
Hey Hugo, Yeah, that example wasn't working for me either. If you put (use easyffi) at the top of the file though, it should work. Note that easyffi is deprecated, use bind http://api.call-cc.org/doc/bind instead: (use bind) (bind* double modf(double x, ___out double *iptr);) (let-values ([(frac

Re: [Chicken-users] Segfault with large data-structures

2013-02-02 Thread Kristian Lein-Mathisen
I'm getting the same result here, when I run it through csc. When I run it through csi, though, it never seems to finish - is the task that big? I had to kill it after 2-3 hours. [klm@kth ~]$ csi -version CHICKEN (c)2008-2012 The Chicken Team (c)2000-2007 Felix L. Winkelmann Version 4.8.1 (rev

Re: [Chicken-users] Question about embedding Chicken scheme

2013-01-30 Thread Kristian Lein-Mathisen
(tmp_);;\n))) ;;; END OF FILE If you don't have it already, you can do `chicken-install bind` and play around. Note that `make-player` above leaks memory. Best of luck! K. On Thu, Jan 24, 2013 at 1:25 AM, Julian Day jcd...@mail.usask.ca wrote: On 23/01/2013 6:09 PM, Kristian Lein-Mathisen

Re: [Chicken-users] Msgpack implementation for scheme (and some questions)

2013-01-30 Thread Kristian Lein-Mathisen
Hi Hugo, Msgpack seems like an interesting project indeed. Thanks for making an egg for it! I'm quite a newbie myself, but I noticed the coops egg includes the module implementation directlyhttp://bugs.call-cc.org/browser/release/4/coops/trunk/coops-module.scm, so you don't have to declare two

Re: [Chicken-users] Chicken Scheme for mobile devices?

2012-11-24 Thread Kristian Lein-Mathisen
Hi Arne, That's a great idea. I'll be there, and I'm looking forward to the discussion! In the mean time, I've played around with a template-based build system for Android: https://github.com/Adellica/chicken-mobile It isn't complete yet, but I though I'd put it out there so you can have a look

Re: [Chicken-users] Much improved customized Emacs

2012-11-23 Thread Kristian Lein-Mathisen
Hi Dan, This is great work! I too work in constrained environments, mostly on mobile phones, so I'm really looking forward to use your package. I had some problems installing it through marmelade so I added a couple github issues. K. On Fri, Nov 23, 2012 at 3:40 AM, Daniel Leslie

Re: [Chicken-users] Chicken Scheme for mobile devices?

2012-11-15 Thread Kristian Lein-Mathisen
Helllo mobile Chickeners! I'm so glad there is interest in running Chicken on mobile platforms. This is what I've been working on for the past few months, starting chicken-android https://github.com/kristianlm/chicken-android and cocoscheme https://github.com/Adellica/cocoscheme. I only have

Re: [Chicken-users] Chicken Scheme for mobile devices?

2012-11-15 Thread Kristian Lein-Mathisen
Hi Shawn, Kristian decided to use Chipmunk, which is a scene graph with an integrated physics engine, right? That's maybe a different optimization than you need for doing basic 2D GUI applications, but I do wonder if it could work for that purpose too. Actually, Chipmunk only provides the

Re: [Chicken-users] struggling with macros

2012-11-11 Thread Kristian Lein-Mathisen
Hi Răzvan, Just as a side-note: It may be a good idea to play around with your implementation as a normal function, and them wrap that in a macro once it's up on its feet. That way you can isolate problems with your implementation and problems with the macros. This approach is taken by the bind

Re: [Chicken-users] Chicken and Cocos2Dx on Google Play!

2012-11-04 Thread Kristian Lein-Mathisen
is jumping around a lot, even when nothing is moving, usually between 50 and 60fps, and sometimes hitting peaks of more than 60 and sometimes really low values. What is the top of those 3 numbers in the lower-left? Mine says 48 and stays the same. On 2 November 2012 15:20, Kristian Lein-Mathisen

Re: [Chicken-users] Chicken and Cocos2Dx on Google Play!

2012-11-02 Thread Kristian Lein-Mathisen
Hi Jason, and thanks for testing this. I'm really glad it seems to be working! I'm happy to see others trying to go in a similar direction. Developing with a REPL on the real hardware is so incredebly rewarding! I've put out the code out on here https://github.com/Adellica/cocoscheme for you

Re: [Chicken-users] Building Chicken Scheme for Android

2012-10-02 Thread Kristian Lein-Mathisen
Lein-Mathisen wrote: Hi guys, I just thought I'd point out I've started a build-system for getting Chicken Scheme runtime running on Android. You can take a peek here:**[1]https://github.com/kristianlm/chicken-android. Note that it only builds the runtime system (you

[Chicken-users] Building Chicken Scheme for Android

2012-10-01 Thread Kristian Lein-Mathisen
Hi guys, I just thought I'd point out I've started a build-system for getting Chicken Scheme runtime running on Android. You can take a peek here: https://github.com/kristianlm/chicken-android. Note that it only builds the runtime system (you generally don't have a C compiler on your Android

Re: [Chicken-users] a new egg: chickmunk

2012-07-26 Thread Kristian Lein-Mathisen
. On Thu, Jul 26, 2012 at 5:41 AM, Shawn Rutledge shawn.t.rutle...@gmail.comwrote: Cool! I haven't done any messing around with physics engines, so don't know much about them but I'm curious if there's a reason you went with Chipmunk instead of Box2D? On 26 July 2012 00:46, Kristian Lein

Re: [Chicken-users] a new egg: chickmunk

2012-07-26 Thread Kristian Lein-Mathisen
Great, I will add some of the tools I've been using to the repo. They're incomplete as well, but they may help getting you started. K. On Thu, Jul 26, 2012 at 12:23 AM, Christian Kellermann ck...@pestilenz.orgwrote: * Kristian Lein-Mathisen kristianl...@gmail.com [120726 01:19]: Hi guys

[Chicken-users] a new egg: chickmunk

2012-07-25 Thread Kristian Lein-Mathisen
Hi guys, I just though I'd let you know I've created an egg that binds Chicken to the Chipmunk 2D physics library. It's almost complete and is available on github https://github.com/kristianlm/chickmunk. Chickmunk https://github.com/kristianlm/chickmunk should provide bindings to all C

Re: [Chicken-users] patch for chicken-bind

2012-06-26 Thread Kristian Lein-Mathisen
25, 2012 at 10:18 PM, Jim Ursetto zbignie...@gmail.com wrote: Tip: if you use scheme-pointer instead of c-pointer, you can omit the locative). E.g. (make-blob size) instead of (location (make-blob size)). This will be faster. On Jun 25, 2012, at 5:27 PM, Kristian Lein-Mathisen wrote: Hi

[Chicken-users] patch for chicken-bind

2012-06-25 Thread Kristian Lein-Mathisen
Hi guys! It's me again, still going on about struct-by-value in chicken-bindhttp://wiki.call-cc.org/eggref/4/bind. This time I think I may have codehttps://github.com/kristianlm/chicken-bind worthy of entering the official repo. The patches add three new features: 1. Struct-by-value in

[Chicken-users] chicken-bind: working with structs

2012-05-24 Thread Kristian Lein-Mathisen
Hi guys! I've been looking at chicken-bind's way of working with C-structs for a while now, and I'm in the works of something I think will be useful. I want to have chicken-bind generate code for struct-by-values. Thanks to all who helped me out in this tricky process! *Allocating memory for new

[Chicken-users] Making stack-allocated Chicken-managed objects from C

2012-03-06 Thread Kristian Lein-Mathisen
Hi guys! I would like to get a deeper understanding of Chicken's GC and its stack-allocation feature. I've numbered by questions, feel free to answer just one or two of them! I have been poking into the chicken-bind egg and I'd like to modify it slightly for my libraries' (Box2D, Chipmunk) heavy

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

2012-03-04 Thread Kristian Lein-Mathisen
Heidkamp mor...@twoticketsplease.de wrote: 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

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

2012-02-29 Thread Kristian Lein-Mathisen
Hi guys! Reading the chicken docs on foreign, you'll find: Structs cannot be directly passed as arguments to foreign functions, nor can they be result values. ( http://api.call-cc.org/doc/foreign/types#def:struct) Pointers to structs are supported, but not structs-by-value. I am wondering if

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

2012-02-29 Thread Kristian Lein-Mathisen
Thanks to both of you for some valuable insight! I didn't realize de-referencing on the c-side would be that simple, nor that structs-by-value would actually be pointers anyway. However, my problem is still not entirely solved. I am trying to interface to the physics engines Box2D and Chipmunk,

<    1   2