On Thu, Sep 30, 2010 at 03:56:40AM -0400, Felix wrote:
> > You can find the documentation and the version control repository for the
> > sources at http://www.chust.org/fossils/iup.
>
> Very nice. I'll add this to the repo.
How are we going to keep this synched? Is someone going to watch
the Fos
On Thu, Sep 30, 2010 at 03:58:47PM +0200, Thomas Chust wrote:
> Done, https://code.call-cc.org/svn/chicken-eggs/release/4/iup now
> contains the egg.
Cool, thanks!
Cheers,
Peter
--
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
is especially attractive, not o
On Sat, Oct 02, 2010 at 12:28:45AM +0900, Daishi Kato wrote:
> Dear Peter,
>
> Another question regarding with chicken3->chicken4 porting.
> I used the http-server-form-posts egg to handle multipart/form-data,
> but the egg is not available (or not compatible) for chicken4.
>
> How can I deal wit
On Sat, Oct 02, 2010 at 12:22:22AM +0900, Daishi Kato wrote:
> > Yes, this is uglier. There are several different request handling
> > eggs now though! They make it easier to handle incoming requests.
>
> Is it that ugly?
> None of the request handling eggs in the spiffy manual
> was not so low
Hi all,
Is there a proper way to install data files from egg .setup-files?
I couldn't find anything at http://wiki.call-cc.org/manual/Extensions
so I rolled my own for the "slatex" egg:
---
(define style-path
(list (installation-prefix) "share" "chicken" "slatex"))
;;
(copy-file "slatex.sty"
On Sat, Oct 02, 2010 at 06:40:59PM -0400, Jim Pryor wrote:
> Hi Peter,
Hi Jim,
> I'm really not *that* knowledgeable about egg installation. But I have
> been writing packaging scripts for most of the eggs, for the Arch Linux
> user repository. From that experience, I got the following impression
On Mon, Oct 04, 2010 at 08:13:35PM +0900, Daishi Kato wrote:
> > I'm confused; do you think the eggs are lower-level than your code, or
> > do you think the spiffy code itself is low-level, or what?
>
> OK, I meant:
> a) chicken3/http-server was low level so that I can write my handler.
> b) chick
On Mon, Oct 04, 2010 at 07:14:30PM +0900, Daishi Kato wrote:
> At Fri, 1 Oct 2010 20:11:03 +0200,
> Peter Bex wrote:
> >
> > On Sat, Oct 02, 2010 at 12:28:45AM +0900, Daishi Kato wrote:
> > > Dear Peter,
> > >
> > > Another question regarding with
On Mon, Oct 04, 2010 at 11:02:02PM +0900, Daishi Kato wrote:
>
> > Yeah, that'd just be a simple wrapper layer around it.
>
> It's incomplete. I just wanted to ask you if it's
> something valuable to others.
I don't really need this, but Felix has said he liked the old
way, so maybe he likes thi
On Mon, Oct 04, 2010 at 11:02:02PM +0900, Daishi Kato wrote:
> I tell you why, and maybe you have an idea for workaround.
> I've started my project with http-server (or spiffy) as a standalone
> http server, however I now have to run on a server that runs Apache
> and only port 80 is available. Hen
On Mon, Oct 04, 2010 at 04:38:32PM +0200, Peter Bex wrote:
> hm, perhaps this is a silly question (I don't know much about Apache),
> but have you considered enabling ProxyPreserveHost?
> http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypreservehost
Since the docs say this
On Tue, Oct 05, 2010 at 06:45:05PM -0500, Peter Danenberg wrote:
> Quoth Peter Danenberg on Pungenday, the 59th of Bureaucracy:
> > [C]an we revert to the old behaviour, or can I revert locally by
> > using `set-read-syntax!'?
>
> I didn't see any mention of this change to the reader in NEWS; was
On Wed, Oct 06, 2010 at 09:35:33AM +0200, Peter Bex wrote:
> I think the backslash shouldn't have any special meaning except in
> quoted symbols. AFAIK there's nothing in R5RS to support this, but then
> there's nothing in R5RS to support a backslash in symbols at all..
O
On Wed, Oct 06, 2010 at 09:35:19AM -0400, John Cowan wrote:
> I understand the merits of reducing core dependencies, but have
> performance comparisons been made? The last I heard, irregex was
> *much* slower than regex.
It used to be, but the upcoming 0.8.2 release has been improved a *lot*,
and
Hello!
Since there are a few pitfalls to updating eggs to work with the new
Chicken 4.6.2, I've decided to draw up a quick list of pitfalls I noticed.
If you're just using the regex API or the regex API with a few irregex
things, usually all you need is to add (needs regex) to your egg's meta
fil
On Thu, Oct 07, 2010 at 08:37:59PM -0500, Jim Ursetto wrote:
> Does this mean for every egg that uses the irregex API directly, I
> need to insert this [cond-expand] blob of code?
You have three options:
- Add a dependency on the regex egg and keep doing
(require-library regex)(import irregex)
On Fri, Oct 08, 2010 at 09:05:10AM +0200, Peter Bex wrote:
> On Thu, Oct 07, 2010 at 08:37:59PM -0500, Jim Ursetto wrote:
> > Does this mean for every egg that uses the irregex API directly, I
> > need to insert this [cond-expand] blob of code?
>
> You have three options:
&g
On Wed, Sep 29, 2010 at 04:25:09PM -0500, Jim Ursetto wrote:
> > wiki-parse was and initial attempt to tweak what was originally a parser
> > by Alex Shinn for mediawiki syntax, so that it could read svnwiki syntax.
> >
> > If Alex still wants to support it (I wouldn't recommend it, we've hacked
>
On Fri, Oct 08, 2010 at 03:39:46PM -0300, Stephen Eilert wrote:
> I get the following compilation warning, which is likely the source of
> the corrupt pointer:
>
> csc -c testcase.scm
> testcase.c: In function 'stub3':
> testcase.c:31: warning: cast to pointer from integer of different size
>
> E
On Wed, Sep 29, 2010 at 12:25:52AM +0900, Daishi Kato wrote:
> Porting my code from chicken3/http-client to chicken4/http-client
> was fairly easy, except that I have to give up the proxy support.
> So, Peter, my huge request is the proxy support.
This has been added to trunk http-client and shoul
On Mon, Oct 11, 2010 at 01:17:49PM +0900, Alex Shinn wrote:
> > The valid-index? predicate does not return a boolean #t value:
> >
> > #;9> (irregex-match-valid-index? m 3)
> > 0
>
> It returns #t for this in the upstream irregex.
I'll look into that. It's probably a bug introduced by a
Chicken-s
port (also Shawn Rutledge?)
multidoc (also Peter Bex, i.e. myself)
interval-digraph
random-test
signal-diagram
input-classes
neuromorpho
miniML
Jim Ursetto:
osxattr
Tony Sidaway:
mw
mw-core
Joerg Wittenberg:
high-load-scheduler (also Felix?)
I'm sure for most eggs it sim
On Mon, Oct 11, 2010 at 09:51:15AM +0200, Peter Bex wrote:
> > > #;9> (irregex-match-valid-index? m 3)
> > > 0
> >
> > It returns #t for this in the upstream irregex.
>
> I'll look into that. It's probably a bug introduced by a
> Chicken-speci
On Thu, Oct 14, 2010 at 01:19:43PM -0400, John Gabriele wrote:
> Hi,
>
> On the wiki's "Edit Help" page https://wiki.call-cc.org/edit-help , it
> doesn't seem to be syntax highlighting the example showing off syntax
> highlighting (the C sample under "Syntax coloring").
There isn't much coloring
On Thu, Oct 14, 2010 at 04:30:47PM -0400, John Gabriele wrote:
> The wiki automatically adds a hyphen to the generated link so it
> points to https://wiki.call-cc.org/eggs-tutorial instead of
> http://wiki.call-cc.org/eggs%20tutorial , which results in a broken
> link.
Hm, this appears to be a bug
On Thu, Oct 14, 2010 at 10:36:46PM +0200, Peter Bex wrote:
> Hm, this appears to be a bug in the wiki code. I'll have to look at
> that next week, I'm away for the weekend.
Never mind my whining, I think I just fixed it. Mario said he's going
to look at updating it this we
On Thu, Oct 14, 2010 at 11:15:34PM +0200, Moritz Heidkamp wrote:
> 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 an
> element. Well, long stor
On Thu, Oct 14, 2010 at 09:15:58PM -0400, John Gabriele wrote:
> Hi,
>
> I just noticed a glitch in the code sample at
> http://wiki.call-cc.org/egg/qwiki under "Create a subversion
> repository". I'm seeing the comment ";; checked out" show up syntax
> highlighted like a comment, but the comment
On Mon, Oct 18, 2010 at 07:37:51PM -0500, Jim Ursetto wrote:
> > So, I think it would be a good idea to add something like this to
> > setup-api:
>
> > (define style-path (data-path-for-extension 'slatex))
> > (install-data 'slatex
> > '("slatex.sty" "slatex-chicken.sty" "cltl.sty")
>
On Sat, Oct 09, 2010 at 01:08:10PM +0900, Alex Shinn wrote:
> If anyone is interested I can revert it to the original syntax used on the
> synthcode.com wiki, otherwise go ahead and delete it.
Nobody has spoken up, so I deleted it. If anyone changes their mind, it
can be retrieved from svn's his
On Tue, Oct 19, 2010 at 01:48:18PM -0700, Imran Rafique wrote:
> Folks,
>
> According to http://wiki.call-cc.org/manual/Using%20the%20interpreter
> , there are more top-level commands documented than seem to be
> available, at least on my install.
>
> For example, I don't seem to have ,h or ,ch .
On Wed, Oct 20, 2010 at 08:23:14AM +0530, Enwin Thun wrote:
> Hello All:
>
> Upon upgrading to Ubuntu 'maverick' the egg repository changes from
> /var/lib/chicken/4/ to
> /var/lib/chicken/5/. Hence, previously installed eggs ( readline,
> numbers ) are not found.
In true Debian fashion, the lat
On Thu, Oct 21, 2010 at 02:11:14AM -0400, Felix wrote:
> IIRC, debian only allows post-installation changes to VARDIR. Does this
> apply to DATADIR as well?
I don't know Debian.
> Where do you (Peter, Jim) see this data files
> to be copied to on egg-installation?
Any place that's set aside for
On Fri, Oct 22, 2010 at 06:20:01AM -0400, Felix wrote:
> I can't think of a way in the moment. Strings require a header-word,
> and the data pointed to by a pointer doesn't have that header, so it
> isn't possible to "sneak in" a pointer as a replacement of a string.
>
> > I'm
> > specifically int
On Fri, Oct 22, 2010 at 05:58:02PM -0600, Alan Post wrote:
> This is excellent, I've learned a lot more about how all of this
> works together now.
>
> What method would I use to convert a pointer and a length to a
> string? Even though I'm copying the memory, how do I do it at
> all?
Something
On Mon, Oct 25, 2010 at 06:07:06AM -0400, Felix wrote:
>
> I added a "wish-list" to the wiki to hold stuff that would be nice to
> have. This is of course not meant as a replacement for the
> bug-tracker, but it may be worthwhile to have a place where to put
> more ambitious ideas.
>
> http://w
On Mon, Oct 25, 2010 at 07:05:36AM -0600, Alan Post wrote:
> The cross product of the operating system and cpu architecture usage
> suggests we don't really test enough combinations of os and cpu.
It's true, for haiku, Windows and solaris, and some architectures.
I myself use it on NetBSD on both
Hello all,
There's a serious bug in Spiffy 4.9 which causes it to exit after
a number of TCP or SSL errors have occurred. This has been fixed in 4.10.
4.9 was released last Sunday (October 24th), so you're probably only
running this if you installed/updated Spiffy this week.
Sorry for any inconve
On Fri, Oct 29, 2010 at 10:57:23PM +0900, Daishi Kato wrote:
> Oh, this sounds something. Yes, I don't need to eliminate ld dependence.
> I'm not sure if I understand the usage of -deploy.
>
> csc:
> -deploydeploy self-contained application bundle
Try http://wiki.call-
On Fri, Oct 29, 2010 at 09:02:05AM -0600, Alan Post wrote:
> Not every egg supports linking to the .o file. For those eggs that
> don't, you'll need to add the support yourself. If you do, I'm sure
> a patch will be accepted making each egg you work with able to
> statically link.
Yes, but it wo
On Fri, Oct 29, 2010 at 11:30:48AM -0600, Alan Post wrote:
> I need this support too, though not for as many eggs as Daishi
> needs.
>
> I was planning on adding support to those eggs I did need, and I
> would hope I'd be able to get the patch applied to the repository.
Oh don't get me wrong, it
On Wed, Nov 03, 2010 at 12:36:18PM +0100, Jörg F. Wittenberger wrote:
> I wonder if it would be feasible to to support 'heavy strings' by a
> compile time option. At worst this could imply that there would be
> 2 .so files per egg, one for cheap strings and one for heavy strings.
That would be ve
On Wed, Nov 03, 2010 at 01:19:17PM +0100, Jörg F. Wittenberger wrote:
> > That would be very annoying.
>
> sure in a way.
>
> mut not much worse that having unsafe libraries for the same purpose
> (speed)
We've done away with libuchicken, and I don't miss it :)
Cheers,
Peter
--
http://sjamaan.
On Wed, Nov 03, 2010 at 10:29:14AM -0300, Hugo Arregui wrote:
> Hi guys,
>
> I'm facing some troubles getting a formatted string from a date.
>
> 1) Using posix:
>
> (use posix)
> (time->string (string->time "2" "%d"))
> "Tue Jan 2 00:00:00 1900"
>
> but, my current locale es:
>
> (use locale
On Wed, Nov 03, 2010 at 11:32:37AM -0300, Hugo Arregui wrote:
> I think that is supported, I already wrote an C code to test it:
>
> "11:30.08, miércoles de noviembre de 2010"
Hm, this could be a bug. Maybe someone who knows how this is
designed to work could weigh in on this?
> (But sorry, I d
On Wed, Nov 10, 2010 at 07:40:48PM -0800, Imran Rafique wrote:
> Error: (irregex-match-start-index) not a valid index
> #
> 8
>
> Is there a 4.6.2 compatible version of chicken-doc-admin that I should
> be using, which chicken-install didn't fetch for me?
This is an API change in irregex which ha
On Fri, Nov 12, 2010 at 07:23:41PM -0500, John Tobey wrote:
> Hi all,
>
> Anyone know of an active project or system other than Chicken that uses the
> machine's stack in a similar way?
At T-DOSE someone mentioned that REBOL uses this technique.
I was able to find this reference http://ll1.ai.mit
On Sat, Nov 13, 2010 at 02:26:42PM +0100, Felix wrote:
> Another language implementation using this method is not known to me,
> which is a pity. That may be caused because doing it this way is so
> unorthodox and because CPS compilers have become unfashionable.
What is used instead of CPS nowaday
bootstrap compiler will eventually be used to compile the
* Peter Bex released a fix for a problem in the postgresql egg with
the builtin "name" datatype, as well as a problem with NUL bytes in
byte-arrays.
On Mon, Nov 22, 2010 at 10:47:51PM +0100, Jörg F. Wittenberger wrote:
> May I ask a simple question: what is the actual rational behind keywords
> (wrt. symbols)?
You may ask any question you wish :)
> Are there any good references?
I'm not sure. It appears to be one of those typical "historica
On Tue, Nov 23, 2010 at 12:32:24AM +0100, Jörg F. Wittenberger wrote:
> > == 2. Core development
> > The scrutinizer was updated to give a warning when a one-armed `if`
> > is used in tail-position, as suggested on chicken-users by Jörg
> > Wittenberg.
>
> sure? or is -- no, wait, no "git" strugg
On Wed, Nov 24, 2010 at 08:37:37AM -0700, Alan Post wrote:
> gentufa'i works by storing the entire input port in a string, and
> ceating position objects to refer to the "rest of the string" as I
> parse.
>
> This means I need to perform the following:
>
> 1) reference a character by index
> 2) c
On Wed, Nov 24, 2010 at 09:33:24AM -0700, Alan Post wrote:
> I'm using irregex for character class matching.
The Irregex in experimental is reasonably fast for charsets, giving
O(log(n)) performance for charsets membership checking. If the charset
is continuous (ie, with no gaps) it's actually O(
On Wed, Nov 24, 2010 at 07:13:10PM +0100, Felix wrote:
> > With cons cells you should be able to implement this efficiently enough.
> > We don't have anything like string-pointers which can store arbitrary
> > indices in a string AFAIK. That would be useful to have, I guess.
>
> How should that l
On Wed, Nov 24, 2010 at 06:15:24PM +0100, Jörg F. Wittenberger wrote:
> > http://wiki.postgresql.org/wiki/Replication%2C_Clustering%2C_and_Connection_Pooling#Comparison_matrix
>
> I did not find anything about details of the master-master replication
> there. Though the usual way is, that all cha
On Wed, Nov 24, 2010 at 08:16:55PM -0700, Alan Post wrote:
> If it isn't, can someone point me to an egg that has
> a library and an executable named after the egg?
awful does this.
Cheers,
Peter
--
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
is especially
On Thu, Nov 25, 2010 at 02:50:23AM +0100, Felix wrote:
> > I'm afraid this is just the "shared substring/blob" structure proposal
> > in another guise. I don't know if locatives are useful; those can't
> > really be kept around for a long time, can they?
>
> Sorry, I don't understand? They are no
On Thu, Nov 25, 2010 at 06:15:50AM -0500, Felix wrote:
> >> Sorry, I don't understand? They are not invalidated by GC (in case
> >> you mean that).
> >
> > So that means the locative will stay around while the string itself
> > might have been collected?
>
> If it's a weak locative, yes. But dere
On Sun, Nov 28, 2010 at 08:18:11AM -0500, David Dreisigmeyer wrote:
> Hi,
>
> I've been unable to get paredit to work in inferior-scheme-mode. It
> works with gambit, which uses a gambit.el file versus quack or cluck.
Works fine here. Are you sure you're running the latest version?
IIRC an olde
On Sun, Nov 28, 2010 at 12:53:53PM -0300, Hugo Arregui wrote:
> Hi guys,
Hi Hugo!
> I wrote a small code to add procedure memoization, most for learning
> purposes (attached).
> I'm glad to ear your suggestions.
It looks good to me. It only works for simple procedures though,
not for procedures
On Sun, Nov 28, 2010 at 05:27:29PM +0100, Peter Bex wrote:
> It looks good to me. It only works for simple procedures though,
> not for procedures with optional arguments or keyword arguments.
And not for procedures returning zero or multiple values.
Cheers,
Peter
--
http://sjamaan.
On Sun, Nov 28, 2010 at 11:42:20PM -0300, Hugo Arregui wrote:
> I didn't know about keyword arguments in scheme. It's SRFI-88 stuff?
Like Alan said it's DSSSL-style. Optional arguments can also be
implemented through let[*]-optionals or manually by using dotted
tail notation and then checking the
On Wed, Dec 01, 2010 at 08:23:40AM -0500, David Dreisigmeyer wrote:
> This may be getting closer. Here's my code again (the names are
> slightly different from above):
Here it complains about punCpp.h not being available.
Simply making a file punCpp.h containing one line:
void punCpp(void);
ca
On Wed, Dec 01, 2010 at 08:50:22AM -0500, David Dreisigmeyer wrote:
> Has anyone been able to get the SWIG example to run?
>
> http://www.swig.org/Doc2.0/Chicken.html#Chicken
I don't know but last I read anything about SWIG was in Chicken 1.
AFAIK it hasn't been kept up-to-date since then. The s
On Tue, Nov 30, 2010 at 09:17:32PM +0100, Karel Miklav wrote:
> I want to slow down a script to a number of cycles per
> second with:
>
> (thread-sleep! (/ 1 12))
>
> That however fails
Fails how?
> so I ended up importing numbers and
> adapting the line to:
>
> (thread-sleep! (exact->inex
On Wed, Dec 01, 2010 at 11:04:17AM -0500, David Dreisigmeyer wrote:
> Would there be any advantages / disadvantages to using llvm-gcc /
> clang versus gcc?
advantage: You'd have a fully BSD-licensed compiler stack.
disadvantage: You'd be pretty much the only user that uses llvm.
Apart from that,
On Thu, Dec 02, 2010 at 04:16:21PM +0100, Thomas Chust wrote:
> what about using
>
> #include
> [...]
> if (isnan(x)) ...
>
> or maybe
>
> [...]
> if (fpclassify(x) == FP_NAN) ...
>
> instead of a comparison? I would expect the compiler to inline these
> calls and produce equally eff
On Fri, Dec 03, 2010 at 03:32:56AM -0500, Felix wrote:
> > This looks nice. I didn't know about those. When I looked it up, it
> > said that both are C99, which leads me to the question: do we have an
> > "official" standpoint about what C level Chicken needs?
>
> It should work with the usual c
On Sun, Dec 05, 2010 at 11:56:23AM +, Peter Lane wrote:
> Hi,
>
> After a number of false starts, I have managed to get images to display in
> the wiki.
> Finally, I managed to work out the following absolute url, which does (seem
> to) work:
> [[image:
> http://code.call-cc.org/svn/chicken-e
On Mon, Dec 06, 2010 at 09:45:50PM -0500, David Dreisigmeyer wrote:
> In case anyones interested here's a working example of some OpenCL
> code. I'm hoping to pursue this line a bit more, but wanted to verify
> it could work easily.
I see a C program which happens to be invoked from Chicken.
That
On Tue, Dec 07, 2010 at 03:15:32PM -0500, David Dreisigmeyer wrote:
> I'm getting the following error for the attached cl.scm file (OpenCL
> 1.0 on OS X 10.6):
>
> $ csc -s -o cl.so cl.scm -framework OpenCL -framework Accelerate
> Warning: (line 205) unterminated here-doc string literal `EOF'
> Er
On Tue, Dec 07, 2010 at 04:18:49PM -0500, David Dreisigmeyer wrote:
> Thank you Alan and Peter - that took care of it.
>
> csc is also complaining about, e.g., int32_t , uint , uint64_t ,
> __attribute__ and
>
> #define CL_API_SUFFIX__VERSION_1_0 AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER
The p
On Sat, Dec 25, 2010 at 08:04:33PM -0300, Hugo Arregui wrote:
> Hi guys,
>
> I localized the problem, the request header contains: (set-cookie
> #(("blogger_TID" . "XXX") ((httponly . #t
> and in http-client.scm:299 (process-set-cookie! proc), (get-param
> 'path c) returns #f
>
> I just chec
On Fri, Jan 14, 2011 at 12:55:41AM +0900, Daishi Kato wrote:
> Hi Peter,
Hello Daishi,
> It gives me:
> Error: bad argument type - not a structure of the required type
> (/ "xxx" "")
> URI-common
>
> It seems like it fails in path-match? in process-set-cookie!.
I think I see what you mean.
On Fri, Jan 14, 2011 at 04:32:07PM -0700, Alan Post wrote:
> I'm suffering from priority inversion on this issue: jbogenturfa'i
> requires the experimental branch to run[1][2], while one of it's
> dependencies, sqlite3, won't run on the experimental branch.[3]
The fact your egg requires experimen
On Sat, Jan 15, 2011 at 10:03:13AM -0500, David Dreisigmeyer wrote:
> Hi everyone:
>
> I can't figure out why I'm getting the following:
>
> $ make clean && make
> rm -rf cython_chicken.o libcython_chicken.so
> gcc-4.2 -fPIC -g -c -m64 -I/usr/local/include cython_chicken.c
> gcc-4.2 -dynamiclib -
On Sat, Jan 15, 2011 at 05:27:59PM +0100, Peter Bex wrote:
> I don't know why you chose to use -dynamiclib (or what it actually *does*),
> but changing -dynamiclib to -shared worked for me:
Ah, dynamiclib is an OS X-specific thing. I didn't initially
see you were on OS X,
On Sun, Jan 16, 2011 at 03:49:41PM +0900, Daishi Kato wrote:
> Hi,
>
> I'm porting one of my projects from chicken-3.2.0 to chicken-4.6.0.
> (And thus found a bug in http-client.)
>
> It seems like the previous sxpath doesn't work on the new one.
> Could anybody help how I can fix this?
>
> The
On Sun, Jan 16, 2011 at 11:29:16AM +0900, Daishi Kato wrote:
> It worked. Thanks so much.
You're welcome, and thanks for reporting this! I've tagged a new
http-client version (0.4) containing several other bugfixes as well.
> So, (get-param 'path c) actually returns a uri-common object. I see.
On Tue, Jan 25, 2011 at 11:58:46PM -0700, Matt Welland wrote:
> My goal is to eventually have a chicken installer for windows that includes
> a good range of eggs so that people can give chicken a go without having to
> wade though the install process. I guess this could be seen as either a good
>
On Wed, Jan 26, 2011 at 06:02:12AM -0500, David Dreisigmeyer wrote:
> Using Macports, I had to do the following in order to get the readline
> egg to install:
>
> $ sudo ln -s /opt/local/lib/libreadline.dylib /usr/local/lib/
> $ sudo ln -s /opt/local/include/readline/ /usr/local/include/readline
>
On Fri, Jan 28, 2011 at 11:27:26PM +0900, Daishi Kato wrote:
> Hi,
>
> I digged into the problem a little more and found something.
>
> In 4.6.0, this is somewhat working:
> #;24> ((sxpath "//table/tr[td[a[contains(href,'&abc=123&')]]]")
> (html->sxml " href=\"/xxx/yyy/?zzz&abc=123&\">yyy"))
> (
On Sat, Jan 29, 2011 at 12:11:26AM +0900, Daishi Kato wrote:
> > It probably is not a chicken-specific problem because the sxpath
> > egg includes an unmodified copy of SSAX.
>
> Looked at:
> diff -rw release/3/sxml-tools/sxml-tools/ release/4/sxpath/trunk/sxml-tools/
>
> but, I'm not sure is the
On Sat, Jan 29, 2011 at 09:32:10PM +0900, Daishi Kato wrote:
> And, found it! Yes, Peter.
>
> In release/3/sxml-tools/extras/string-utils.scm,
> (define (substring? pattern str) (string-contains str pattern))
>
> However, in release/4/sxpath/trunk/chicken/[st]xpath.scm,
> (define substring? strin
On Sat, Jan 29, 2011 at 11:57:27PM +0900, Daishi Kato wrote:
> After a quick look in the code, one suspect is that port-closed?
> can't check a closed port, but not really sure.
If that's the case, it's a bug in Chicken because http-client simply
used the definition from library.scm, and provides
On Sun, Jan 30, 2011 at 09:57:47PM +0900, Daishi Kato wrote:
> > A test case would be welcome.
>
> Here is how to reproduce the problem.
>
> #;2> (string-length (with-input-from-request "http://www.apache.org/"; #f
> read-string))
> 44138
>
> This apache server is probably configured to keep co
On Mon, Jan 31, 2011 at 09:10:14PM +0900, Daishi Kato wrote:
> Hm, it avoids the problem, which is good.
> However, it now doesn't keep connections.
> In the case of www.apache.org, if you call http requests
> twice in 5sec, the connection should be reused.
> This was working with the released egg,
On Mon, Jan 31, 2011 at 09:43:45PM +0900, Daishi Kato wrote:
> > Crap, you're right. I have no idea how to fix this properly right now
> > though. I'll need to think about it some more.
>
> How about raising an i/o exception(condition) when
> it detects #!eof in read-response in intarweb.scm?
> I
On Tue, Feb 01, 2011 at 06:58:23AM +0900, Daishi Kato wrote:
> Tried the trunk, working fine.
> I don't see any problems now.
> Thank you!
Thank you for reporting this and the fine testcase!
I've now tagged a new 0.4.1 release with this bugfix.
Cheers,
Peter
--
http://sjamaan.ath.cx
--
"The pro
On Wed, Feb 09, 2011 at 07:17:23PM -0500, Thomas Hintz wrote:
> Hello,
>
> Has anyone used Amazon S3 with Chicken? I can't seem to find any libs built
> for handling the request authentication, particularly the HMAC-SHA1
> signature... I really don't want to develop something that has been already
On Fri, Feb 11, 2011 at 02:46:58PM -0500, Patrick Li wrote:
>
> The "when" should not be macroexpanded because it is a local binding
> introduced by the let form. In that context, it is actually *not* a macro.
>
> Does anyone know which forms introduce new bindings? How can I check this
> up?
I'
On Fri, Feb 11, 2011 at 03:13:36PM -0500, Patrick Li wrote:
> Hello,
> I'm working with explicit renaming macros, and I'm having a lot of trouble
> using macros within them.
>
> (define-syntax say-hi
> (syntax-rules ()
> ((say-hi) (display "Hello!"
>
> (define-syntax my-renaming-macro
>
On Sat, Feb 12, 2011 at 11:15:31AM -0500, Patrick Li wrote:
> Thanks for the help Felix!
>
> There's one more question I stumbled upon actually. Do you know of some way
> I can tell if a symbol *actually* refers to lambda or let?
>
> eg. after some macro expansions, a form might look like (lambda
On Sat, Feb 12, 2011 at 11:52:40AM -0500, Patrick Li wrote:
> I didn't understand what you mean by this part. How do I perform a "full
> expansion"?
> eg.
> (define-syntax mymacro (syntax-rules () ((mymacro) (lambda () 3
>
> (expand '(mymacro))
> => (lambda1020 () 3)
What version of Chicken a
On Sat, Feb 12, 2011 at 12:18:30PM -0500, Patrick Li wrote:
> Ah I'm using Chicken 4.4.0.
> I'm a beginner to Chicken and just typed "port install chicken" into my
> MacOSX terminal.
> I'll figure out how to upgrade Chicken.
If you have more questions, it may be more efficient to continue the
conv
On Sat, Feb 12, 2011 at 04:35:23PM -0500, Patrick Li wrote:
>
> I have a *very* ugly workaround right now.
> I define the convenience function twice. Once normally. And again within a
> begin-for-syntax form.
You can do the same trick as before:
(module module-a (convenience-function)
(import
On Sun, Feb 13, 2011 at 01:59:47PM +0100, Felix wrote:
> > This imports module-a (which can be internal and nobody has to know it's
> > there) both for syntax and normally, and then re-exports the convenience
> > function.
> >
> > Yes, this is ugly.
>
> Well, is it?
Not having an alternative doe
On Tue, Feb 15, 2011 at 05:28:13PM -0600, Jim Ursetto wrote:
> I looked into it some more and it appears that simple-logging is indeed
> present in the chicken 3 repository, but for some reason, chicken-setup
> claims it cannot be found. I have never seen this before, any ideas anyone?
It was p
On Sun, Feb 20, 2011 at 08:55:24PM -0800, Naitik Shah wrote:
> Hi,
>
> I'm experimenting with Chicken and libevent using the bind extension to
> build a event based webserver. I'm trying to figure out if there's a way to
> have C code hold on to a in a GC safe manner. The implementation
> I have
On Tue, Feb 22, 2011 at 09:00:13AM +0100, Felix wrote:
> > I think you can use object-evict for that. It's from unit lolevel, see
> > http://wiki.call-cc.org/man/4/Unit%20lolevel#object-evict
>
> I'm not sure eviction is the right thing to do here.
Interesting. Care to explain the reason that th
901 - 1000 of 1288 matches
Mail list logo