Thien-Thi Nguyen:
Will you be bringing your website back on-line, with the www library?
--
Alan Grover
[EMAIL PROTECTED]
+1.734.476.0969
(The "email signature" and/or digital-signature
are only for informational and integrity purposes
and do not constitute a legal signature)
sig
Run guile with --debug to give stack-dumps, then peruse for the actual
location.
However, if the error is during "read", the stack is less useful. It
might tell you what module was being loaded (look for "load" or
"primitive-load", etc.)
The reader should tell use something about the problem. But
Ludovic Courtès wrote:
> Hi,
>
> Neil Jerram <[EMAIL PROTECTED]> writes:
>
>
>>[EMAIL PROTECTED] (Ludovic Courtès) writes:
>>
>>
>>>Code confinement is indeed an interesting feature. Fortunately, Guile
>>>offers various ways to do it (AFAIK, there's no standard way to do this
>>>in R5RS Scheme)
As part of the install process, he purposefully rips all the whitespace
out of his files. Presumably to make them load faster. The match.ss
module is like this too (in ice-9).
He also drops the extensions, which guile allows/tolerates.
And, he tweaks some of the files so they work in 1.4 and 1.6.
I had previously asked about delegation in goops, and had proposed an
ugly solution.
I think I see another solution, since the effect I think I'm looking for
is effectively subclassing but using an already allocated object. 1) If
I create a subclass of the delegatee, I get the proper GF dispatch.
Neil Jerram wrote:
> Alan Grover <[EMAIL PROTECTED]> writes:
>
>
>>Does anybody have a solution to implement delegation in goops?
>>
>>I have an object that implements the full behavior of interest. Say it's
>>an employee object.
>>
>
Does anybody have a solution to implement delegation in goops?
I have an object that implements the full behavior of interest. Say it's
an employee object.
For whatever perverse reason, which I assure you is reasonable, I want
to wrap the employee in another object. And, for the most part, it wil
Yes, lovely section in the NEWS outlining the exact problem, and the
behavior I expect. Though I think that merge-generics should be the
default behavior.
I suppose I'll have to to try to upgrade.
Marius Vollmer wrote:
> Alan Grover <[EMAIL PROTECTED]> writes:
>
>
>>
I have 2 goops classes, each in their own module, which happen to have a
slot called 'request (with an accessor). Unfortunately, "use-modules"
ends up importing the generic-method from only one of the modules (the
last, lexically). Thus, I can't call (request first-class).
Thus:
(use-modules
Neil Jerram wrote:
> Alan Grover <[EMAIL PROTECTED]> writes:
>>The lazy-ness is really in taking advantage of patterns for list
>>processing. Perhaps I didn't give an example like:
>> (define list-of-http-transactions (mod_lisp some-port-listener))
>>
azy-list implementation, I was blocked by the
fact that I can't do the example I just gave. The standard (and library)
functions aren't generic for delay'd values. Thus, if I created a
lazy-list, I couldn't use it with libraries (even the basic for-each/map
functions)
I have the same problem with 1.6.4 (no surprise) and slib3a2.
First, Kevin Ryde once wrote me:
> Incidentally, the (ice-9 slib) module which comes with guile probably
> doesn't work with the latest slib, running up guile.init as described
> in the slib docs is the way to go.
I found that ice-9/sl
I had some difficulty getting SLIB to work in Guile 1.6.4. The Guile
documentation is out of date for newer SLIBs.
Unpack/Install SLIB (version 3a1 or later). It seems most convenient to
move it to a spot in your %load-path.
guile> %load-path
("/usr/share/guile/site" "/usr/share/guile/1.6" "/usr/
R. Mattes wrote:
> On Tue, 2005-09-20 at 08:06 -0400, Alan Grover wrote:
>>By "fails", I assume you mean because of the awg-debug module.
>
>
> No - since your '(or (and' construct always evaluates to "once"
> the server only answers _one_ reque
Version 0.3 of awg-mod_lisp, an R5RS implementation of the Scheme side
of mod_lisp. Includes a Guile test daemon.
Available at
https://sourceforge.net/project/showfiles.php?group_id=141512&package_id=163742
Fix ARGV handling in the Guile test daemon. Include my debug module for
same.
--
e" the default.
> Kind of frustrating since the daemon only handles one request
> and your suggested test
>
> ( sleep 1 ; wget -q -t 1 --post-data "post-data&foryou" ...
>
> fails.
By "fails",
Tomas Zerolo wrote:
> On Mon, Sep 19, 2005 at 11:24:34PM -0400, Alan Grover wrote:
>>Though I read something recently that claimed some thread
>>(mis-)implementations are more costly than a fork, and often more costly
>>than you'd hope. Apparently, the Linux 2.6 thread i
b-applications. E.g. a
web-application skeleton (get request, decode request, change state,
decide on html, construct html), and layers of policy to fill it with
(e.g. a particular html-template system).
Though I've heard about continuation-passing web-frameworks, I'm not
currently working on them. Also, since I use Guile, there is the problem
that you can't use a continuation in a different thread.
> I hope
> it's of some interest though.
I have been interested. And, I thank you for taking the time.
-- Alan Grover
___
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
Announcing the release of awg-mod_lisp-0.2 (recently
awg-mod_lisp-for-guile).
Implements the elements of the scheme side of the mod_lisp2 protocol.
Institutes as little policy as possible.
Factored the protocol into a R5RS file.
Also a test-daemon and higher-level daemon interface (in Guile).
A
Neil Jerram wrote:
> Alan Grover <[EMAIL PROTECTED]> writes:
>>* Should I remove the thread-creation stuff and stick simply to mod_lisp
>>protocol?
>
>
> I don't understand what the mod_lisp protocol is, so can't really
> comment. I'm interest
Inspired by Guillaume Germain on the comp.lang.scheme group, I wrote a
mod_lisp implementation for Guile. Find it at:
https://sourceforge.net/project/showfiles.php?group_id=141512&package_id=163742
I only implemented the mod_lisp protocol, leaving query-string/POST and
HTML utilities for an exter
, just call `accept'; if
you don't, call `select' first."
And some sample code from Christopher Cramer to avoid the block:
(define (accept/no-block s)
"use me in place of accept"
(let ((fd (list (port->fdes s))))
(if (null? (car (select fd '()
Christian Mauduit wrote:
> ...
> Well, using lazy-catch and a handler with the line:
>
> (display-backtrace (make-stack #t) some-user-string-output-port)
>
> actually got me very close from solving my problem completely. The only
> point is that the stack I obtain contains many useless things (
My comments are for Guile version 1.6.4.
To get a backtrace, you want something that does the same thing as the
--debug option. However:
"Using the debugging evaluator will give you better error messages but
it will slow down execution."
So, you don't want it in production-code.
I believe this wi
call...
> before: filename=/tmp/HGLPtZ
> ERROR: In procedure mkstemp!:
> ERROR: Invalid argument
>
> I can not figure out why the string is not set to /tmp/XX in the second
> call...
>
> Some help!?
>
> Regards
> Betoes
>
>
> ___
> Guile-user mailing list
&
entry)))
... (eq? (car key) (car entry))
I re-wrote enough of poe.scm to get some things working.
--
Alan Grover
[EMAIL PROTECTED]
+1.734.476.0969
signature.asc
Description: OpenPGP digital signature
___
Guile-user mailing list
Guile-user@g
_
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
--
Alan Grover
[EMAIL PROTECTED]
+1.734.476.0969
___
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
it, I just haven't researched/looked for it. Tell us what you find.
I haven't noticed anything about scheme on parrot either.
Best regards
Roland
And, free advice: MVC. Use a templating system (cf. Smarty). Then tell
use what you used.
--
Alan Grover
[EMAIL PROTEC
28 matches
Mail list logo