Re: Let's Talk About Backtraces and Stacks

2013-01-17 Thread Andy Wingo
Hi :) On Wed 25 Apr 2012 16:49, Noah Lavine writes: > It seems to me that it's best for the ribcage to be part of the Scheme > stack. I'm pretty hesitant to do this; it penalizes procedure calls. What first writing a prototype that uses the VM trap interface? You can use `trap-calls-in-dynami

Re: [PATCH] add web/mime support

2013-01-17 Thread Andy Wingo
On Thu 17 Jan 2013 11:37, Nala Ginrut writes: > PS: Do you think it's proper to use the same implementation in my server > project? I'm not sure whether this mime thing would exist in any GNU > system for a server purpose rather than a desktop one. Why would it not exist on a server? My server

Re: thoughts on ports

2013-01-17 Thread Andy Wingo
Hi, Again, picking up old things: On Wed 11 Apr 2012 00:11, l...@gnu.org (Ludovic Courtès) writes: > Andy Wingo skribis: > >> Obviously we need ports implemented in C because of bootstrapping >> concerns. But can we give Scheme access to buffering and the underlying >> fill (read) / drain (wri

Re: wip-threads-and-fork

2013-01-17 Thread Andy Wingo
Hi, On Wed 21 Mar 2012 22:26, l...@gnu.org (Ludovic Courtès) writes: > What about adding a big fat warning in the doc about use of > ‘primitive-fork’ in a multi-threaded program? > Andy Wingo skribis: > >> If other threads are active, I think primitive-fork should raise an >> e

Re: [PATCH] add web/mime support

2013-01-17 Thread Nala Ginrut
On Thu, 2013-01-17 at 11:06 +0100, Andy Wingo wrote: > On Thu 17 Jan 2013 09:17, Nala Ginrut writes: > > > On Wed, 2013-01-16 at 11:46 +0100, Andy Wingo wrote: > >> It would be nice to use > >> http://freedesktop.org/wiki/Specifications/shared-mime-info-spec on free > >> software systems. > > > >

Re: [PATCH] add web/mime support

2013-01-17 Thread Andy Wingo
On Thu 17 Jan 2013 09:17, Nala Ginrut writes: > On Wed, 2013-01-16 at 11:46 +0100, Andy Wingo wrote: >> It would be nice to use >> http://freedesktop.org/wiki/Specifications/shared-mime-info-spec on free >> software systems. > > Are you suggesting use mime-info of freedesktop? I think we can writ

Re: ethreads: event-driven cooperative threads

2013-01-17 Thread Andy Wingo
Hi! Catching up on old things... On Mon 02 Apr 2012 17:25, l...@gnu.org (Ludovic Courtès) writes: > Andy Wingo skribis: > >> I pushed an experimental branch recently, wip-ethreads. It implements >> user-space cooperative threads that yield when they would otherwise >> block or sleep. It seems

Re: [PATCH] add new read-delimited option to return #f while terminating delimiter can't be found.

2013-01-17 Thread Nala Ginrut
On Wed, 2013-01-16 at 18:42 +0100, Andy Wingo wrote: > On Wed 07 Mar 2012 17:32, Nala Ginrut writes: > > > (call-with-input-string "asdf" (lambda (port) (read-delimited "@" port > > 'fail > > LGTM; just missing a test case. I would tighten up the documentation, > too: make sure each sentenc

Re: [PATCH] add web/mime support

2013-01-17 Thread Nala Ginrut
On Wed, 2013-01-16 at 11:46 +0100, Andy Wingo wrote: > Hi, > > On Thu 23 Feb 2012 15:53, Nala Ginrut writes: > > > There's no mime support in Guile module, so I modified the mime code of > > my project Ragnarok and format a patch. > > > > It's easy to use: > > (use-modules (web mime)) > > (defin