Hi folks,
Thanks, Felix, for answering this one. Is there a directive we could
add to hart itself, to automate the require-for-syntax?
Basile, I hope you enjoy using Hart!
Best,
Graham
On Mon, Dec 15, 2008 at 2:29 AM, felix winkelmann wrote:
> On Sat, Dec 13, 2008 at 12:05 PM, Basile STARYNKE
Hi folks,
The current "base64" egg for Chicken 3 builds, but gives me incorrect
results. The non-working version is by Bailey, ported by Felix. (I
found an older version in Scheme by Felix that works correctly.)
Sorry for not debugging the problem, but attached is a test program
that runs (base64
On Wed, Aug 27, 2008 at 5:52 PM, Daishi Kato <[EMAIL PROTECTED]> wrote:
> Hi,
>
> This is more like a general scheme or lisp question,
> but does anybody know how I can get a formal rule
> for pretty print?
>
> I want to implement pretty print in non-scheme
> programming language.
Not Scheme at al
On Wed, Aug 27, 2008 at 1:33 PM, Peter Bex <[EMAIL PROTECTED]> wrote:
> On Wed, Aug 27, 2008 at 12:11:02PM -0400, Graham Fawcett wrote:
>> Hi folks, it looks like base64 under chicken-hygienic doesn't import
>> properly -- I get the import.so but not the real one.
>
&
Hi folks, it looks like base64 under chicken-hygienic doesn't import
properly -- I get the import.so but not the real one.
I used the new chicken-install to fetch base64, though I don't think
that's relevant.
Best,
Graham
CHICKEN
(c)2008 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version
On Thu, Aug 21, 2008 at 3:39 AM, felix winkelmann <[EMAIL PROTECTED]> wrote:
> On Wed, Aug 20, 2008 at 10:15 PM, Graham Fawcett
> <[EMAIL PROTECTED]> wrote:
>>
>> I know I'll need to recompile Chicken and any shared libraries. Are
>> there other things I s
Hi folks,
I have some Chicken 2.x and 3.x Web applications in production on a
32-bit Intel Linux server. We may be upgrading to a new 64-bit Intel
machine, and I'm wondering what kind of Chicken-specific road-bumps I
might encounter when I try to migrate the apps.
I know I'll need to recompile Ch
On Tue, Aug 19, 2008 at 10:02 AM, Graham Fawcett
<[EMAIL PROTECTED]> wrote:
> On Tue, Aug 19, 2008 at 9:36 AM, Tobia Conforto <[EMAIL PROTECTED]> wrote:
>> Jörg F. Wittenberger wrote:
>>>
>>> are dynamic-wind pre/post-thunks by chicken executed upon each
On Tue, Aug 19, 2008 at 9:36 AM, Tobia Conforto <[EMAIL PROTECTED]> wrote:
> Jörg F. Wittenberger wrote:
>>
>> are dynamic-wind pre/post-thunks by chicken executed upon each thread
>> switch?
>
> Why would they?
It's not a bad question. When threads are implemented using
continuations, it is reaso
On Sun, Aug 10, 2008 at 9:42 PM, Vincent Manis <[EMAIL PROTECTED]> wrote:
> CPython uses a Global Interpreter Lock (GIL) to implement critical sections
> in the interpreter, thus rendering native
> threads in that system impossible. Some version of the Python interpreter (I
> think it was 1.6) was
On Wed, May 21, 2008 at 9:39 AM, Mark Fredrickson
<[EMAIL PROTECTED]> wrote:
> I do believe that one can start a new Erlang VM and add it to the cloud at
> any time, but I get the impression this is actually rare. With n cores, why
> not just start a VM on each core to begin with?
A year or two a
On Mon, Apr 7, 2008 at 3:24 PM, Alex Rozenshteyn <[EMAIL PROTECTED]> wrote:
> (define a (list 'a))
> (set-cdr! a a)
> ;a is now a cyclic "list"
> (pair? a) ; -> #t
> (list? a) ; -> #f
> (length a)
>
> and now the interpreter gets stuck.
> control-c does not break (this is because I have the readlin
On Mon, Apr 7, 2008 at 10:17 PM, Jim Ursetto <[EMAIL PROTECTED]> wrote:
> Graham,
>
> There is a thread entitled "thread-sleep! for less than a second" from 12 Jan
> 2007 which discusses this issue. Basically it was an either/or thing and the
> current way won. I just was not aware of the prop
On Mon, Apr 7, 2008 at 4:00 PM, Jim Ursetto <[EMAIL PROTECTED]> wrote:
>
> On 4/7/08, Graham Fawcett <[EMAIL PROTECTED]> wrote:
> > On Mon, Apr 7, 2008 at 1:47 PM, Jim Ursetto <[EMAIL PROTECTED]> wrote:
> > > So I need to do this?
> > >
> >
On Mon, Apr 7, 2008 at 1:47 PM, Jim Ursetto <[EMAIL PROTECTED]> wrote:
> So I need to do this?
>
> (thread-sleep!
> (milliseconds->time (+ 500 (time->milliseconds (current-time)
Just this:
(thread-sleep! 0.5)
Graham
___
Chicken-users mailing li
On Mon, Apr 7, 2008 at 9:51 AM, Graham Fawcett <[EMAIL PROTECTED]> wrote:
> Matthew, you just reminded me that I never made a release for the
> Postgres change I made, that allows for (optional) query parameters.
> I'll find a minute today to release it.
Ah, it looks like
On Mon, Apr 7, 2008 at 6:11 AM, felix winkelmann <[EMAIL PROTECTED]> wrote:
> I'm currently working on a hygienic version of chicken (explicit-renaming +
> syntax-rules) which is a first requirement for a full, macro-aware
> module system (which is also being implemented). This will be fully
>
On Sun, Apr 6, 2008 at 1:46 PM, Matthew Welland <[EMAIL PROTECTED]> wrote:
> What is the status of this effort?
>
> I have written a *very* simplistic DBI which supports lowest common
> demoninator access to sqlite3 and postgresql. It is only 90 or so lines of
> code but so far seems enough to l
On Mon, Mar 31, 2008 at 1:40 PM, Tony Sidaway <[EMAIL PROTECTED]> wrote:
> Thanks for a very informative analysis.
>
> Of course this whole problem only cropped up because we Schemers like
> to build up lists by consing new elements to the front. I would
> probably have included a "reverse" in
On Fri, Mar 28, 2008 at 8:31 PM, Drake Wilson <[EMAIL PROTECTED]> wrote:
> [RFC excerpts snipped]
> My interpretation of this is:
>
> - Forwarders are not permitted to rearrange multiple Set-Cookie
> headers. HTTP client and server libraries have the same
> constraint.
>
> - Origin se
On Thu, Mar 27, 2008 at 6:12 PM, Raymond Medeiros
<[EMAIL PROTECTED]> wrote:
>
> can someone give me a reasonable explanation as to why this would not
> work on Win32 but works properly on Linux?
> what am i missing here?
Just curious, in what way doesn't it work?
Graham
>
> (use tcp-server)
On Thu, Mar 27, 2008 at 9:07 PM, Tony Sidaway <[EMAIL PROTECTED]> wrote:
> Using http.egg to write a bot that has to login to a ubb forum, I
> discovered that the cookie processing order of that egg resulted in
> login failure. When I tweaked http:read-request-attributes to
> reverse the order
Hi folks,
Last night I worked on a submission for the 'ring' benchmark in the Shootout:
http://shootout.alioth.debian.org/sandbox/benchmark.php?test=threadring&lang=all
After a couple different approaches, the one that worked best by far
was to use the 'mailbox' egg, which we cannot do in the Sh
On Tue, Mar 18, 2008 at 12:22 PM, John Cowan <[EMAIL PROTECTED]> wrote:
> It wouldn't solve the data-punning problem. As long as the same object
> can be seen one way by one module and another way by another, problems
> will continue to be endemic. To fix that, we need two run-time types,
> w
On Tue, Mar 18, 2008 at 10:01 AM, John Cowan <[EMAIL PROTECTED]> wrote:
> Graham Fawcett scripsit:
>
> > So, a byte string would simply be a string with a null auxilliary vector.
>
> That doesn't work. A byte-string is not a sequence of characters from
> the A
On Tue, Mar 18, 2008 at 7:05 AM, Alex Shinn <[EMAIL PROTECTED]> wrote:
> >>>>> "Tobia" == Tobia Conforto <[EMAIL PROTECTED]> writes:
>
>
> Tobia> Graham Fawcett wrote:
> >> Here's another thought. It seems to me that if
On Mon, Mar 17, 2008 at 10:29 PM, Alex Shinn <[EMAIL PROTECTED]> wrote:
> >>>>> "Graham" == Graham Fawcett <[EMAIL PROTECTED]> writes:
>
> Graham> On Mon, Mar 17, 2008 at 11:22 AM, Kon Lovett <[EMAIL PROTECTED]>
> wrote:
>
>
On Mon, Mar 17, 2008 at 11:22 AM, Kon Lovett <[EMAIL PROTECTED]> wrote:
> Summary: I want a byte-string API. I want string integrations. I want
> global UTF8 strings.
The Factor language borrowed from Larceny a clever mechanism for
representing Unicode strings efficiently. Perhaps such a system i
On Sun, Mar 16, 2008 at 6:06 PM, Peter Bex <[EMAIL PROTECTED]> wrote:
> On Sun, Mar 16, 2008 at 02:56:11PM -0700, Robin Lee Powell wrote:
> > With define-http-resource, *Spiffy* defines the headers, and it
> > never asks the body. In fact, the headers are sent before the body
> > is run.
>
> T
On Sun, Mar 16, 2008 at 4:06 PM, Robin Lee Powell
<[EMAIL PROTECTED]> wrote:
> On Sun, Mar 16, 2008 at 03:20:11PM +0100, Peter Bex wrote:
> >
> > Thanks for the error report! I've fixed the bug and added a
> > testcase for it so it will not happen again. I've also pushed a
> > new release whi
On Sat, Mar 15, 2008 at 8:14 PM, Kon Lovett <[EMAIL PROTECTED]> wrote:
> In release/3 is hart 1.3.0 which supports syntax-case.
Nicely done, Kon. For those who haven't seen Kon's modification yet,
it uses cond-expand to see if syntax-case is installed when hart is
loaded: if so, it provides high-l
On Sat, Mar 15, 2008 at 3:24 PM, Graham Fawcett
<[EMAIL PROTECTED]> wrote:
> The main macro in Hart is ridiculously small. Hart-support (the
> non-macro code) does all the work:
>
> (define-macro (hart . forms)
> `(noop ,(apply hart-parse forms)))
>
> That should b
On Sat, Mar 15, 2008 at 2:49 PM, Robin Lee Powell
<[EMAIL PROTECTED]> wrote:
>
> On Sat, Mar 15, 2008 at 02:48:01PM -0400, Graham Fawcett wrote:
> > On Sat, Mar 15, 2008 at 1:26 PM, Kon Lovett <[EMAIL PROTECTED]>
> > wrote:
> > > hart uses low-level macr
On Sat, Mar 15, 2008 at 2:42 AM, Robin Lee Powell
<[EMAIL PROTECTED]> wrote:
> On Thu, Mar 06, 2008 at 09:37:42AM -0500, Graham Fawcett wrote:
> > Hope this helps. Comments and suggestions are always welcome.
>
> I'd really like a way to call my i18n code with a minim
On Sat, Mar 15, 2008 at 1:26 PM, Kon Lovett <[EMAIL PROTECTED]> wrote:
> hart uses low-level macros only.
Is there a way I can alter hart so that it will play better with code
that uses higher-level macro systems? I'd rather not rewrite it in
syntax-case (though it's really not very much macro cod
(declare (uses ...)) doesn't do what you think it does. :-) It's for
specifying relationships between compilation units, not modules
(eggs).
I usually do csc -X module1 -R module2 myfile.scm (where module1 is
needed at compilation, and module2 is needed at runtime).
Graham
_
On Thu, Mar 13, 2008 at 12:05 PM, John Cowan <[EMAIL PROTECTED]> wrote:
> Proposed course of action: have the interpreter check whether an
> identifier is the name of a macro and signal an error rather than using
> any existing definition.
You mean, upon every expression evaluation, or just whe
On Wed, Mar 12, 2008 at 3:47 PM, Hans Bulfone <[EMAIL PROTECTED]> wrote:
> hi,
> > What's happening is that eof never returns true, even though the
> > port is closed. ready returns #f, and the next operation (either
> > peek-char or read-char, I've tried both) hangs.
>
> eof-object? is imho n
On Wed, Mar 12, 2008 at 11:22 AM, Robin Lee Powell
<[EMAIL PROTECTED]> wrote:
> > Could it be that the body is the string "OK,585562" with no
> > terminating newline, and read-line hangs on it?
>
> Possible.
> > If that's really the issue, you could try using read-lines or
> > read-all.>
> B
Hi Mario,
It looks like the salmonella scheduled task is choking on something.
Recently the eggs are failing to build, showing this error text:
Error: unbound variable: -script
Not the end of the world, but I wasn't sure if you were aware of the problem.
Best,
Graham
_
On Sat, Mar 8, 2008 at 9:02 AM, Ivan Raikov <[EMAIL PROTECTED]> wrote:
>
> Well, the mailbox protocol is rather limited; I think you are much
> better off learning at least some of the group communication semantics
> of MPI, because they make a lot of sense to a practitioner of
> functional pr
On Fri, Mar 7, 2008 at 6:48 PM, Ivan Raikov <[EMAIL PROTECTED]> wrote:
>
> "Graham Fawcett" <[EMAIL PROTECTED]> writes:
>
> > On reflection, I'd much rather see a really efficient IPC system like
> > this, rather than having a native-threa
On Fri, Mar 7, 2008 at 3:56 PM, Lui Fungsin <[EMAIL PROTECTED]> wrote:
> Hi Graham,
>
> Thanks for the reply. But it wouldn't do it for me because I'm trying
> to capture a binding at macro expansion time, not run runtime.
>
> Use case : (to support CL like (return-from) clause with call/cc)
>
>
On Fri, Mar 7, 2008 at 1:11 PM, Lui Fungsin <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is there a macrolet (CL style old school lexically scoped macro) for chicken?
No macrolet, but you can use CL-style macros in Chicken. They just
have to be defined at the toplevel, not in a macrolet. You can do
varia
On Thu, Mar 6, 2008 at 6:27 AM, Alaric Snell-Pym
<[EMAIL PROTECTED]> wrote:
> I wrote an efficient shared-memory lock-free queue system for a
> client once. They own the copyright, but I would happily mentor a
> student to build a somewhat more general and portable (this was
> specific to a fe
On 05 Mar 2008 23:29:19 -0300, Mario Domenech Goulart
<[EMAIL PROTECTED]> wrote:
> On Wed, 5 Mar 2008 17:45:42 -0800 Robin Lee Powell <[EMAIL PROTECTED]> wrote:
>
> > It seems to me that web-scheme and hart do more-or-less the same
> > thing.
> > 2. What's the difference between web-scheme and
On Wed, Mar 5, 2008 at 12:34 PM, Peter Bex <[EMAIL PROTECTED]> wrote:
> On Thu, Mar 06, 2008 at 02:07:43AM +0900, Alex Shinn wrote:
> > > "Felix" == felix winkelmann <[EMAIL PROTECTED]> writes:
> >
> > Felix> If you'd like to help or suggest something,
> > Felix> please provide inpu
On Tue, Mar 4, 2008 at 5:50 PM, Shawn Rutledge
<[EMAIL PROTECTED]> wrote:
> On Tue, Mar 4, 2008 at 3:47 PM, Elf <[EMAIL PROTECTED]> wrote:
> > there is a way to do this. its just very painful. im working on a
> readline-ng
> > egg with the changes, as the existing readline wont work.
>
> OK
On Mon, Mar 3, 2008 at 4:00 PM, Shawn Rutledge
<[EMAIL PROTECTED]> wrote:
> Chicken Literary is all in a panic that the stacks are falling.
lol!
Fortunately, Chicken Literary and his friends visited the fox, Henry
Baker, who reminded them that their stacks are GC'd frequently. All
was well again
On Sun, Mar 2, 2008 at 10:21 PM, Elf <[EMAIL PROTECTED]> wrote:
>
> heh, thats the longest response ive ever gotten to a random selection from
> the tao of programming. cool :)
Yes. Beautiful work there, John.
Graham
Nice, nice, very nice,
Nice, nice, very nice,
Nice, nice, very nice,
So many
On Sun, Mar 2, 2008 at 9:56 PM, Elf <[EMAIL PROTECTED]> wrote:
>
> out of curiousity, how can sql be returning symbols, ever? enums are
> integers,
> yes?
Hi Elf,
My reasoning was that I don't want to needlessly restrict what a
database driver returns. In Postgresql's case, for example, the
d
On Sat, Mar 1, 2008 at 7:40 PM, Elf <[EMAIL PROTECTED]> wrote:
>
> id consider it a bug with the reader fighting with the macroexpander for
> unpredictable dominance of the universe.
Just to be clear, elf -- what specifically is the bug that you see
here? Do you really see unpredictability, or j
On Fri, Feb 29, 2008 at 4:02 PM, Ozzi Lee <[EMAIL PROTECTED]> wrote:
>
> I don't see that anyone's mentioned the existing sql-null egg yet. Is
> there anything wrong with it?
>
> http://chicken.wiki.br/sql-null
I didn't know that existed. Thanks Ozzi. There are just too many damn
eggs these days
Hi Adhi,
On Fri, Feb 29, 2008 at 8:29 PM, Adhi Hargo <[EMAIL PROTECTED]> wrote:
> How can one get the latest html-dump of the doc?
There isn't an official one, AFAIK. The wiki content is stored in the
svn repo, and you can always get the latest version there, but it's in
wiki markup, not HTML.
I
On Fri, Feb 29, 2008 at 2:57 PM, Tobia Conforto <[EMAIL PROTECTED]> wrote:
> So, to recap:
Perfect recap! :-)
> (define-record-type sql-null (sql-null) sql-null?)
>
> Not too bad. Any piece of code could create null values with (sql-
> null), even in different compilation units. Peopl
On Fri, Feb 29, 2008 at 10:41 AM, felix winkelmann <[EMAIL PROTECTED]> wrote:
> On Thu, Feb 28, 2008 at 4:02 PM, Graham Fawcett
>
> <[EMAIL PROTECTED]> wrote:
> >
>
> > It would be a smart idea to change the implementation, then, so that
> > the unsp
On Fri, Feb 29, 2008 at 7:57 AM, felix winkelmann <[EMAIL PROTECTED]> wrote:
> On Fri, Feb 29, 2008 at 1:41 PM, Tobia Conforto <[EMAIL PROTECTED]> wrote:
> > felix winkelmann wrote:
> Would a db interface include symbols as output?
Would it? I honestly don't know. I haven't seen it in practice,
On Thu, Feb 28, 2008 at 7:31 PM, Tobia Conforto <[EMAIL PROTECTED]> wrote:
> Graham Fawcett wrote:
> > There does seem to be a good case for an immediate value that *can*
> > be tested this way, though. John et. al. wouldn't have used (void)
> > in eggs i
On Thu, Feb 28, 2008 at 10:30 AM, Peter Bex <[EMAIL PROTECTED]> wrote:
> On Thu, Feb 28, 2008 at 10:05:58AM -0500, Graham Fawcett wrote:
> > > Why the thunk? (why not directly the port?)
> >
> > Laziness: it avoids the overhead of setting up the input port if it&
On Thu, Feb 28, 2008 at 9:54 AM, Peter Bex <[EMAIL PROTECTED]> wrote:
> On Thu, Feb 28, 2008 at 09:47:08AM -0500, Graham Fawcett wrote:
> > Yes, input port was what I was thinking. Thanks. The input port would
> > return the body of the LOB and return #!eof when it'
On Thu, Feb 28, 2008 at 2:40 AM, felix winkelmann <[EMAIL PROTECTED]> wrote:
> On Wed, Feb 27, 2008 at 10:31 PM, Peter Bex <[EMAIL PROTECTED]> wrote:
> > On Wed, Feb 27, 2008 at 04:23:37PM -0500, Graham Fawcett wrote:
> > > > Can you even check for void?
On Thu, Feb 28, 2008 at 4:11 AM, Peter Bex <[EMAIL PROTECTED]> wrote:
> On Wed, Feb 27, 2008 at 02:27:36PM -0800, Vincent Manis wrote:
> > On 2008 Feb 27, at 13:27, Graham Fawcett wrote:
> > > At the driver level, LOBs are often handled with a stream-based
> >
On Thu, Feb 28, 2008 at 2:43 AM, felix winkelmann <[EMAIL PROTECTED]> wrote:
> On Wed, Feb 27, 2008 at 3:47 AM, Graham Fawcett
>
> <[EMAIL PROTECTED]> wrote:
> > Felix, I believe that Johannes is no longer maintaining the postgresql
> > egg. I would be happy
Hi Daishi,
On Thu, Feb 28, 2008 at 1:28 AM, Daishi Kato <[EMAIL PROTECTED]> wrote:
> Graham Fawcett wrote:
> > Sure. My first version was an SCGI server, but later I switched to
> > HTTP. I usually host behind Apache, and moving from mod_scgi to
> > mod_proxy was
On Wed, Feb 27, 2008 at 10:53 PM, Ozzi <[EMAIL PROTECTED]> wrote:
> > How is (sql-null?) harder or less intuitive?
> It's not harder, but not being able to use null? to test for NULL is
> counterintuitive in my eyes.
I know what you're saying. I guess I just like to keep my different
types of n
On Wed, Feb 27, 2008 at 8:29 PM, Ozzi <[EMAIL PROTECTED]> wrote:
> > Three that I can think of:
> >
> > 1) It would make alist representations ugly:
> > (query "select foo, NULL as bar, baz from stuff") =>
> > ((foo . 1) (bar) (baz . "a string"))
>
> This doesn't bother me.
>
> > 2) It is not
Hi Jim,
On Wed, Feb 27, 2008 at 5:01 PM, Jim Ursetto <[EMAIL PROTECTED]> wrote:
> On 2/27/08, Graham Fawcett <[EMAIL PROTECTED]> wrote:
> > Personally, I don't use Spiffy; I wrote a custom framework instead.
>
> Would you mind expanding a little on your cu
On Wed, Feb 27, 2008 at 6:33 PM, Jeremy Sydik <[EMAIL PROTECTED]> wrote:
> Thinking more about it, I'm leaning MORE toward '() than before. I
> also like relying
> on a representation that's "standard" scheme rather than one that's
> specifically part
> of Chicken if we have the choice (and we
On Wed, Feb 27, 2008 at 6:29 PM, Ozzi <[EMAIL PROTECTED]> wrote:
> > I suggest that a row be an a-list, and that null columns be represented
> > by being non-existent in the a-list. If you end up preferring a plain
> > list or a vector, then use (void) instead -- I am trying to get this
> > sta
On Wed, Feb 27, 2008 at 4:31 PM, Peter Bex <[EMAIL PROTECTED]> wrote:
> On Wed, Feb 27, 2008 at 04:23:37PM -0500, Graham Fawcett wrote:
> > > Can you even check for void? Afaik there's no VOID? procedure.
> >
> > You can; just compare with another (void) v
On Wed, Feb 27, 2008 at 4:04 PM, Peter Bex <[EMAIL PROTECTED]> wrote:
> On Wed, Feb 27, 2008 at 02:47:14PM -0600, Jeremy Sydik wrote:
> > dbi:query-fold, dbi:query-map, query-for-each. I thought about
> > implementing these, but I
> > haven't been able to think of the use case that makes
On Wed, Feb 27, 2008 at 4:04 PM, Peter Bex <[EMAIL PROTECTED]> wrote:
> > I've tended to let null be '(), but that partly comes from liking the
> > look of
> > (null? (alist-ref 'field result)) I'm not entirely comfortable with
> > leaving the
> > value entirely absent simply because the mapp
Hi Robin,
On Wed, Feb 27, 2008 at 12:29 PM, Robin Lee Powell
<[EMAIL PROTECTED]> wrote:
>
> I'm thinking of starting a .com; probably not an especially Web 2.0
> sort of one, but maybe with some Ajax involved. I seem to be more
> comfortable with Lisps than anything else.
>
> Are there any co
On Wed, Feb 27, 2008 at 8:42 AM, Peter Wright <[EMAIL PROTECTED]> wrote:
> #;1> (use syntax-case)
> ; loading /usr/local/lib/chicken/3/syntax-case.so ...
> ; loading /usr/local/lib/chicken/3/syntax-case-chicken-macros.scm ...
> #;2> (define-macro (alpha x y) `(beta ,y ,x))
> #;3> (macroexpand
On Wed, Feb 27, 2008 at 12:24 AM, Matthew Welland <[EMAIL PROTECTED]> wrote:
> On Tuesday 26 February 2008 07:47:27 pm Graham Fawcett wrote:
> > ;; new interface
> > (pg:query-tuples
> > (list "select foo, bar from baz where foo > $1 and baz < $2"
&
On Tue, Feb 26, 2008 at 9:47 PM, Graham Fawcett
<[EMAIL PROTECTED]> wrote:
> Hi folks,
>
> I've just checked in a patch to the trunk of the release/3/postgresql
> egg, providing support for query parameters. If anyone else is using
> this egg, I'd appreciate you
Hi folks,
I've just checked in a patch to the trunk of the release/3/postgresql
egg, providing support for query parameters. If anyone else is using
this egg, I'd appreciate your checking out this version and testing
it.
In all of the querying procedures, the new interface lets you replace
the qu
On Tue, Feb 26, 2008 at 10:18 AM, Alejandro Forero Cuervo
<[EMAIL PROTECTED]> wrote:
> > For tagged eggs, the version number is the name of the most
> > recently-added tag (correct)?
>
> No. The version number is the greatest string sorting them as a human
> would compare version numbers... [sn
On Tue, Feb 26, 2008 at 9:29 AM, felix winkelmann <[EMAIL PROTECTED]> wrote:
> On Tue, Feb 26, 2008 at 3:19 PM, Alejandro Forero Cuervo
>
> <[EMAIL PROTECTED]> wrote:
>
> > > No. Look, I didn't change anything. It has grown that way and
> > > I know it's fscking broken.
> >
> > Ahh, alright, I
On Sun, Feb 24, 2008 at 1:55 PM, Alejandro Forero Cuervo
<[EMAIL PROTECTED]> wrote:
> > I'd like to add a (sort/decorated lst cmp key) proc to your orders
> > egg, that calculates the key values only once; this can be more
> > efficient than (sort ... (cmp-key ...)) for cases where key generatio
On Sun, Feb 24, 2008 at 1:16 PM, Alejandro Forero Cuervo
<[EMAIL PROTECTED]> wrote:
> > If redundancy were a reason for deleting egg functionality, we have
> > about seven object systems to get rid of. ;-)
>
> Ah, but if you pick any two of those, they will have their
> differences!
>
> In this
On Thu, Feb 21, 2008 at 4:40 PM, Alejandro Forero Cuervo
<[EMAIL PROTECTED]> wrote:
> I hereby humbly propose the removal of key-on from the combinators egg
> on the basis that it is entirely redundant with cmp-key in the orders
> egg, except for the fact that the documentation for the orders egg
On Sat, Feb 23, 2008 at 4:52 PM, Peter Bex <[EMAIL PROTECTED]> wrote:
> Today during the hackathon I've created an initial document at
>
> http://chicken.wiki.br/chicken-for-ruby-programmers
I'm not a Ruby user, but this looks pretty good.
I just committed an edit (r8734) to your discussion of t
On Fri, Feb 22, 2008 at 4:19 AM, Vincent Manis <[EMAIL PROTECTED]> wrote:
> Would it be possible to put together a package of GnuWin32 programs so
> as to make Chicken building and egg installation reliable on Windows?
> I guess that would include make, gzip, tar, maybe cp, rm, mv, and I
> don'
On Thu, Feb 21, 2008 at 3:26 PM, Kon Lovett <[EMAIL PROTECTED]> wrote:
> > I find that I use these two procedures frequently, and I'd love to see
> > them in an egg so I don't need to keep including them locally. Perhaps
> > is someone interested in working on a shared misc-combinators egg, to
>
On Thu, Feb 21, 2008 at 3:09 PM, Kon Lovett <[EMAIL PROTECTED]> wrote:
> > Some day, we might want to offer an alternate way of marking which
> > procs should be indexed, or providing a formal exports list, like the
> > (declare ) form but for interpreted files as well. That would cover
> > th
Hi folks,
I find that I use these two procedures frequently, and I'd love to see
them in an egg so I don't need to keep including them locally. Perhaps
is someone interested in working on a shared misc-combinators egg, to
store handy little things like this?
If such an egg exists and I'm not awar
On Thu, Feb 21, 2008 at 2:35 PM, Alejandro Forero Cuervo
<[EMAIL PROTECTED]> wrote:
> > Is that possible, given that reading the Scheme file may require
> > custom syntax?
>
> It may not be possible to do it reliably, but if we get just 50% of
> the cases right, that's an improvement. I suspect
On Thu, Feb 21, 2008 at 2:22 PM, Kon Lovett <[EMAIL PROTECTED]> wrote:
> > could someone create a function that receives (1) a base path
> > containing a checkout of the chicken-eggs svn repository, (2) a path
> > to some file inside the repository and (3) a sqlite3 database with
> > said table
On Thu, Feb 21, 2008 at 1:55 PM, Alejandro Forero Cuervo
<[EMAIL PROTECTED]> wrote:
> Given the following SQL table:
>
> CREATE TABLE symbols (
> symbol varchar,
> file varchar,
> line integer );
>
> could someone create a function that receives (1) a base path
> containing a checko
On Feb 19, 2008 2:10 PM, Jim Ursetto <[EMAIL PROTECTED]> wrote:
> Your topic idea is interesting. My opinion, for what it's worth, is that it
> imposes too much on the user when required for every definition. Instead, if
> any topic indexing is to be done in the future, I think the topics could b
On Feb 19, 2008 12:57 AM, Matthew Welland <[EMAIL PROTECTED]> wrote:
> For us learners the best thing the gurus can do in my opinion is to put a
> hierarchy of snippets doing lots of things from simple (even obvious) to
> complex on the Wiki.
>
> I suggest breaking the snippets into four sections:
On Feb 19, 2008 9:21 AM, Graham Fawcett <[EMAIL PROTECTED]> wrote:
> What I was trying to work out, personally, was a nice way of
> transforming a postfix, fixed-arity language into decent
> lexically-scoped expressions, e.g.:
>
> 20 dup print + 30 *
>
> might translat
Neat!
Mark, you may not believe this, but a few months ago I started writing
a stack-based language in Chicken, and the first name I chose for it
was 'Quacktor'. Great minds think alike, and fools seldom differ...
Also, John Cowan has worked on a Joy egg, if I'm not mistaken; you
might find that
On Feb 16, 2008 9:05 PM, Kon Lovett <[EMAIL PROTECTED]> wrote:
> @ University:
> (Algol W & Snobol 4 & 360 BAL & Fortran 4 - course work, not too
> serious)
>
> [snip]
>
> No Work:
> Python (minor, just to learn)
> Io (minor, just to learn)
> Chicken Scheme & C
>
> Strange road it has been,
> Kon
On Feb 18, 2008 1:45 PM, Peter Bex <[EMAIL PROTECTED]> wrote:
> On Sat, Feb 16, 2008 at 05:03:47PM -0500, Graham Fawcett wrote:
> > The CL community has a "My Road to Lisp" meme, where CL users write up a
> > quick story on how they "arrived". I'd *l
On Feb 16, 2008 8:11 AM, Hans Nowak <[EMAIL PROTECTED]> wrote:
> Mark Fredrickson wrote:
> > I suggest we draft Hans (http://4.flowsnake.org/) for the Python doc.
> :-)
> I was actually going to write such a document last year... the Python
> programmer's guide to Chicken, or something. As it tur
On Feb 16, 2008 3:53 PM, Toby Butzon <[EMAIL PROTECTED]> wrote:
> +1 chickenscheme.org for me too.
+1 from me too.
I like cleverness of call-with-current-continuation.org. But it seems as if
Chicken is growing up, and a boring-but-descriptive domain name is a good
idea to welcome and retain new
Hi folks,
I just started a new egg in the svn repo. It's nothing worth looking at yet,
I just want to make sure I didn't do something stupid that would break
anything. Here's what I did:
cd release/3/
svn mkdir locality
svn mkdir locality/trunk
cp locality/trunk
svn commit locality
This won't r
On Thu, Feb 14, 2008 at 6:07 PM, Daishi Kato <[EMAIL PROTECTED]> wrote:
> Is it true that if you have svn write access,
> you can just edit the wiki/* files and commit them,
> which reflects to the web pages?
> My understanding is that this is a nice feature of svnwiki.
Yes, you're correct on
1 - 100 of 342 matches
Mail list logo