Bill Schottstaedt | 1 Jul 16:32
Picon

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
Picon
Favicon

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
Picon

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
KOGURO, Naoki | 6 Jun 18:04

ANN: Gauche-rfb 0.1.3

Hi all.

Gauche-rfb 0.1.3 is released.

Gauche-rfb is a cross-platform simple graphics library using VNC  
protocol. You can connect to it using VNC client or Web browser.

The changes from the previous version are:
    - Added the support of Flash's policy file request. If you use  
Flash Player 9,0,115,0 or later, you must upgrade Gauche-rfb.

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

There are some videos to introduce Gauche-rfb (these videos are for  
Japanese speaker, but you can get what Gauche-rfb can do if you know  
Scheme).
- Lightning Talk in gauche.night 2007
http://video.google.com/videoplay?docid=4894372035050844386
- LiveCoding of making Conway's Game of Life (using Gauche-rfb to  
display)
http://d.hatena.ne.jp/koguro/20080126

Enjoy.

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

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
(Continue reading)

Shiro Kawai | 6 Jun 12:27

Migrating to Subversion

Hi Gauche developers,

I've been procrastinating this, but SourceForge.net's CVS
is getting so slow enough to convince me to finally
start migrating Gauche repository to Subversion.

Since Gauche repository have several packages and we have
several committers, I gradually move one package at a time
whenever I find time to do so.   I just migrated Gauche-gl
for the starter.  I'm going to move small packages first,
then Gauche itself.

When you browse the source at the sourceforge.net webpage,
check out the subversion repository first:
http://gauche.svn.sourceforge.net/viewvc/gauche/
Once a package is migrated, the CVS repository will no longer
be updated.  I'll try to remove files from CVS repository
to avoid confusions, but there may be some delay.

Here's a short summary of how to access the new repository,
for your convenience:

THOSE WHO WANT TO GET CUTTING EDGE SOURCE
-----------------------------------------

This command works in general:

$ svn co https://gauche.svn.sourceforge.net/svnroot/gauche/Gauche-gl/trunk Gauche-gl

This extracts the 'trunk', the main development line,
(Continue reading)

Masatake YAMATO | 28 May 11:29
Picon
Favicon

typo in doc of permute

Hi,

I found a typo in modgauche.texi. If it is not fixed yet, please
install following patch.

Masatake YAMATO

Index: modgauche.texi
===================================================================
RCS file: /cvsroot/gauche/Gauche/doc/modgauche.texi,v
retrieving revision 1.112
diff -c -r1.112 modgauche.texi
*** modgauche.texi	18 Apr 2008 11:06:02 -0000	1.112
--- modgauche.texi	28 May 2008 09:24:01 -0000
***************
*** 8079,8085 ****

  @example
  (permute '(a b c d) '(3 2 0 1))     @result{} (d c a b)
! (permute '(a b c d) '(0 2))         @result{} (a b)
  (permute '(a b c d) '(0 0 1 1 2 2)) @result{} (a a b b c c)
  @end example

--- 8079,8085 ----

  @example
  (permute '(a b c d) '(3 2 0 1))     @result{} (d c a b)
! (permute '(a b c d) '(0 2))         @result{} (a c)
  (permute '(a b c d) '(0 0 1 1 2 2)) @result{} (a a b b c c)
  @end example
(Continue reading)

KOGURO, Naoki | 11 May 05:29

ANN: c-wrapper 0.5.4

Hi all.

c-wrapper 0.5.4 is released.

c-wrapper is a foreign function interface for Gauche, and you can use
C libraries easily.

The changes from the previous version are:
    - Added partial support of Objective-C 2.0.
    - Modified ptr->string and x->string to copy an original string.

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

Enjoy.

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

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

Gmane