[Chicken-users] chicken-install from behind a proxy

2010-04-06 Thread Paul Romanchenko
Hi, I have the following problem when trying to install egg being behind proxy:
chicken-install -proxy proxy:2270 base64
mapped (base64) to (base64)
retrieving ...
connecting to host chicken.kitten-technologies.co.uk, port 80 (via
proxy:2270) ...
requesting /henrietta.cgi?name=base64 ...
reading response ...
HTTP/1.1 200 OK
Date: Tue, 06 Apr 2010 10:47:13 GMT
Server: Apache
Content-Type: text/plain
Content-length: 24412
Connection: close
X-WIZOR-Request: p...@30998428
reading files ...
  ./base64-test.scm

Error: invalid file name - possibly corrupt transmission: |\|#|


Seems like I'm not alone:
http://lists.gnu.org/archive/html/chicken-users/2009-11/msg00049.html
Any news?

If answer, please, include me to cc/to, i'm not a subscriber yet. Thanks.
-- 
rmrfchik.



-- 
rmrfchik.


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Is there interest in a new egg (fast-io)?

2010-04-06 Thread Jeronimo Pellegrini
On Mon, Apr 05, 2010 at 09:04:47PM -0700, Shawn Rutledge wrote:
 On Mon, Apr 5, 2010 at 7:18 PM, Jeronimo Pellegrini j...@aleph0.info wrote:
  Implemented and tested:
  - write-fixnum, read-fixnum
  - write-flonum, read-flonum
 
 For those I have been making good use of the endian-port egg (not
 released for chicken 4 yet though); I wonder how the benchmarks would
 turn out, but the implementation seems like it should be fast.  Sounds
 like you have some unique ideas for strings though.

I'll work on the string stuff soon.  I won't write full lexers, but
those functions should at least help a bit when parsing simple files.
:-)

I don't have Chicken 3 installed, so I can't compare performance.

Anyway, I've uploaded it here if you'd like to give it a try:

http://aleph0.info/fast-io.tar.gz

J.


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Is there interest in a new egg (fast-io)?

2010-04-06 Thread Jeronimo Pellegrini
On Tue, Apr 06, 2010 at 11:24:20AM -0300, Jeronimo Pellegrini wrote:
 Anyway, I've uploaded it here if you'd like to give it a try:
 
 http://aleph0.info/fast-io.tar.gz

I forgot -- whatch out for the file size and time to be spent in
benchmarks! You may want to change the value of +max+ in
benchmarks/run.scm to a smaller value and increase it gradually.

BTW, I've benchmarked complex reading ad writing too. I suppose 
the difference is huge for reading complexes because the read
procedure doesn't know that it's a complex number.

One caveat: fast-io reads and writes exactly as printf/scanf do,
so the external representation may not be the one used by your
other Scheme programs!

J.


schemefast-io   speedup
---
write fixnum14.602  5.3032.7535
read  fixnum58.208 11.7064.9725

write flonum37.003 21.6471.7094
read  flonum   100.367 15.6266.4231

write complex   89.361 56.0201.5952
read  complex 3076.952 59.47651.734
---




___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Documentation problem (eggs tutorial and Extensions section from the manual)

2010-04-06 Thread Jeronimo Pellegrini
On Mon, Apr 05, 2010 at 02:16:24PM +0200, Peter Bex wrote:
 It might have not been updated properly.  It's a good idea to add some
 instructions on providing a module to the tutorial.  Feel free to add it.

OK, I added instructions on how to create modules exporting syntax
(for lack of a nicer example I used a prog1 macro plus a silly
procedure). I also changed the basic hello.scm example to
REQUIRE-LIBRARY instead of REQUIRE-EXTENSION.

I don't know if my explanation is OK; it would be nice if someone could
review it.

J.



___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Is there interest in a new egg (fast-io)?

2010-04-06 Thread Mario Domenech Goulart
Hi Jeronimo

On Mon, 5 Apr 2010 23:18:57 -0300 Jeronimo Pellegrini j...@aleph0.info wrote:

 I've been working on some unsafe fast I/O procedures for my own use,
 and I thought I'd make them an extension, if more people would
 like to use them.

 These are for reading and writing values from/to large files.
 I'll include the benchmarking code with the egg, as well as
 tests.

Would you like an SVN account, so you can check in your code and manage
it?  If so, just send me a private message indicating a username and a
hash of your password, which can be generated with:

  $ openssl passwd -apr1

I'd suggest naming the egg in a way it doesn't sound as general as
faster I/O primitives.  Maybe it's just me, but when I read fast-io,
I instinctively think that Chicken's I/O primitives are slow and by
using fast-io I'll get faster I/O for any case.  Again, it's only a
suggestion, maybe it's just me.

Best wishes.
Mario


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Is there interest in a new egg (fast-io)?

2010-04-06 Thread Jeronimo Pellegrini
On Tue, Apr 06, 2010 at 03:41:36PM -0400, Mario Domenech Goulart wrote:
 Hi Jeronimo
 
 Hi Mario!

 I'd suggest naming the egg in a way it doesn't sound as general as
 faster I/O primitives.  Maybe it's just me, but when I read fast-io,
 I instinctively think that Chicken's I/O primitives are slow and by
 using fast-io I'll get faster I/O for any case.  Again, it's only a
 suggestion, maybe it's just me.

Right!

What would be more appropriate?

unsafe-io
fast-unsafe-io
unsafe-io-procedures
nonstandard-fst-io

J.



___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Is there interest in a new egg (fast-io)?

2010-04-06 Thread Mario Domenech Goulart
On Tue, 6 Apr 2010 17:11:25 -0300 Jeronimo Pellegrini j...@aleph0.info wrote:

 I'd suggest naming the egg in a way it doesn't sound as general as
 faster I/O primitives.  Maybe it's just me, but when I read fast-io,
 I instinctively think that Chicken's I/O primitives are slow and by
 using fast-io I'll get faster I/O for any case.  Again, it's only a
 suggestion, maybe it's just me.

 Right!

 What would be more appropriate?

 unsafe-io
 fast-unsafe-io
 unsafe-io-procedures
 nonstandard-fst-io

How about type-specific-io?

Best wishes.
Mario


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users