Stas Boukarev | 28 Aug 22:52

Connecting 2 processes by a pipe

How one can connect two processes by a pipe like "cat file | wc -l"?
I read "9.16 gauche.process" section of the manual but still can't get it.

--

-- 
With Best Regards, Stas.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Bill Schottstaedt | 9 Aug 21:50

expt hangs

I think the expression (expt 1/500029 362880/3) causes Gauche to hang.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Leonardo Boiko | 29 Jul 17:32

write-object from write vs. from display

Hi.  According to gauche manual,

     When `write' and `display' encounter an object of a user-defined
     class, they call the generic function `write-object'.

The same generic is called for both methods? How do I make my objects
react differently to 'write' and 'display'?

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Leonardo Boiko | 29 Jul 04:14

c-wrapper doesn't play with the module system?

Hi.  Sorry if this is a frequent question, but I couldn't find info.
I'm using ncursesw with c-wrapper like this:

  (use c-wrapper)
  (c-load-library "libncursesw")
  (c-include "ncursesw/curses.h")
  […]
  (use gauche.collection)

From the way the module system works, I'd expect a symbol exported by
both the C libs and the "collection" module to be bound to the module
in the last "use" clause, but these aren't the results I get:

  gosh> filter
  #<closure (make-c-func loop239)>
  gosh> (with-module gauche.collection filter)
  #<generic filter (2)>
  gosh> (filter (lambda (i) (lisp? i)) '(scheme ruby cl haskell lolcat))))
  *** ERROR: wrong number of arguments: filter requires 0, but got 2
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gauche-devel mailing list
Gauche-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gauche-devel
Bill Schottstaedt | 1 Jul 16:32

big number printout

Not sure this is a bug, but it is confusing:

gosh> (gauche-version)
"0.8.13"
gosh> (+ 40816513889983671.0 3.0)
4.081651388998367e16
gosh> (= (+ 40816513889983671.0 3.0) 4.081651388998367e16)   
#t
gosh> (= (+ 40816513889983671.0 3.0) 40816513889983674.0)
#t
gosh> (= 40816513889983670.0 40816513889983674.0)
#t
gosh> (= 4.0816513889983670 4.0816513889983674) 
#f

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
KOGURO, Naoki | 12 Jul 00:13

ANN: dyncomp 0.1.2

Hi all.

dyncomp 0.1.2 is released.

dycomp is a module that enables to create C function with  
gauche.cgen.cise (C in S expression). This function is compiled to  
native code with Tiny C Compiler (http://bellard.org/tcc/), so you can  
create a fast function.

The change from the previous version is:
    - Added Windows/MinGW support.

See http://homepage.mac.com/naoki.koguro/prog/dyncomp/index.html for
more details.

--
KOGURO, Naoki <naoki <at> koguro.net>

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
Sven.Hartrumpf | 9 Jul 15:41

profiler overflow

Hi all.

The profile option of gauche is really useful.
But for long running processes, the call counters overflow easily.
Is there any fix for this?

Here is an example output with overflowing counters:

Profiler statistics (total 293990 samples, 2939.9 seconds)
                                                    num    time/    total
Name                                                calls  call(ms) samples
---------------------------------------------------+------+-------+-----------
type-path                                 -469184277  0.0-10 49740( 17%)
copy-tree                                 -193550379  0.00-8 16724(  6%)
list-ref                                  -316821302  0.00-4 15393(  5%)
feature-info                              -247474676  0.00-5 13322(  5%)
fs-value-i                                -142526308  0.00-8 11968(  4%)
fs-value                                  366582049  0.0003 11203(  4%)
(type-path #f)                            -247417036  0.00-4 10650(  4%)
type-feature-position                     -247490415  0.00-4  9972(  3%)
map                                       -299505258  0.00-2  8604(  3%)
...

Greetings
Sven
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
(Continue reading)

KOGURO, Naoki | 5 Jul 17:32

ANN: dyncomp 0.1.1

Hi all.

dyncomp 0.1.1 is released.

dycomp is a module that enables to create C function with  
gauche.cgen.cise (C in S expression). This function is compiled to  
native code with Tiny C Compiler (http://bellard.org/tcc/), so you can  
create a fast function.

The change from the previous version is:
    - Added MacOSX and FreeBSD support (only x86).

See http://homepage.mac.com/naoki.koguro/prog/dyncomp/index.html for  
more details.

--
KOGURO, Naoki <naoki <at> koguro.net>

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
JP Theberge | 5 Jul 03:40

a little question about wiliki

I hope it is the right place to ask.

Is there a way to get the name of the current page from within a virtual page?

for example if I call the page wiliki.cgi?p=RSS_myblog

I want to be able to use the string "myblog" from within 

(define-virtual-page (#/^RSS_/ (_))
...

Any help will be greatly appreciated!

--
JP Theberge

      Offrez un compte Flickr Pro à vos amis et à votre famille.
http://www.flickr.com/gift/

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
KOGURO, Naoki | 22 Jun 07:32

ANN: dyncomp 0.1

Hi all.

dyncomp 0.1 is released.

dycomp is a module that enables to create C function in  
gauche.cgen.cise (C in S expression). This function is compiled to  
native code with Tiny C Compiler (http://bellard.org/tcc/), so you can  
create a fast function.

Here is a Mandelbrot set benchmark in linux (PentiumM 2.13GHz).

# Scheme function
% gosh examples/mandelbrot.scm
;(time (fill-image image size))
; real   1.190
; user   1.180
; sys    0.010

# C function (using dyncomp)
% gosh examples/mandelbrot.scm -c
;(time (fill-image-fast image size))
; real   0.025
; user   0.020
; sys    0.000

See http://homepage.mac.com/naoki.koguro/prog/dyncomp/index.html for  
more details.

NOTE: dyncomp works only in Linux x86.

(Continue reading)

Gauhebox-0.8.13-box2.exe released.

hi.

I released Gauchebox-0.8.13-box2.exe.

http://sourceforge.net/project/showfiles.php?group_id=25227

This release includes Gauche-mingw, Meadow(Emacs22), Gauche-gl, slib,  
WiLiKi, etc.
Thank you saito-san, I use youre Gauche-mingw build.

-- yasuyuki

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

Gmane