Ryan Senior | 30 Jul 15:41 2015
Picon

Bug in csc -deploy on OSX

I think I have found a bug in the linkage of OSX standalone binaries. I run a command like:

csc -deploy nodes-script.scm

I get a nodes-script directory with two files like I would expect:

$ ls nodes-script/
libchicken.dylib  nodes-script

But when I run otool -L on the nodes-script binary, it shows that it's linked with the system libchicken, not the one included in the nodes-script directory:

$ otool -L nodes-script/nodes-script
nodes-script/nodes-script:
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1153.18.0)
/usr/local/lib/libchicken.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0)

Is this a bug? I went through the same process on a Debian VM and found the binary was linked correctly (i.e. the nodes-script binary was linked to the local libchicken).

I have installed chicken via 'brew install chicken', with version info below:

$ csc -version
(c) 2008-2014, The Chicken Team
(c) 2000-2007, Felix L. Winkelmann
Version 4.9.0.1 (stability/4.9.0) (rev 8b3189b)
macosx-unix-clang-x86-64 [ 64bit manyargs dload ptables ]
bootstrapped 2014-06-07

Thanks!

Ryan
_______________________________________________
Chicken-users mailing list
Chicken-users <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users
Juergen Lorenz | 29 Jul 12:22 2015
Picon

typed-lists, functors

Hi all,

the new version of typed-lists might not compile on your system, if you
havn't installed the latest release candidate of chicken-4.10.
The reason is, that in chicken-4.9 and lower there is a bug in the
functor implementation, which is fixed in chicken-4.10. So you must
either upgrade to chicken-4.10 or remove the two semicolons before
the patch lines in the setup script. The patches are still supplied.

Sorry for that inconvenience.

Juergen
--

-- 

Dr. Juergen Lorenz
Flensburger Str. 12
10557 Berlin
_______________________________________________
Chicken-users mailing list
Chicken-users <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users
Arthur Maciel | 27 Jul 07:53 2015
Picon

Re: Homepage design proposal


Hi all!

Since Tim's first proposal I've been thinking a lot about CHICKEN's website. Here are my two cents.

Homepage
- https://dl.dropboxusercontent.com/u/621606/chicken-web-page/Homepage.png
- https://dl.dropboxusercontent.com/u/621606/chicken-web-page/Homepage-Mobile.png

Eggs
- https://dl.dropboxusercontent.com/u/621606/chicken-web-page/Eggs.png
- https://dl.dropboxusercontent.com/u/621606/chicken-web-page/Eggs-Mobile.png

Getting Started
- https://dl.dropboxusercontent.com/u/621606/chicken-web-page/Getting%20Started.png

Wiki
- https://dl.dropboxusercontent.com/u/621606/chicken-web-page/Wiki.png

Manual
- https://dl.dropboxusercontent.com/u/621606/chicken-web-page/Manual.png

Download
- https://dl.dropboxusercontent.com/u/621606/chicken-web-page/Download.png

Tests
- https://dl.dropboxusercontent.com/u/621606/chicken-web-page/Tests.png

I've chosen a minimalist approach and the focus was on readability - although the white background doesn't help much, I couldn't find a better solution. The content for the homepage is drawn from users comments on this thread (they are merely illustrative, although make sense to me).

Most modifications were done to chicken.css file, so changes are immediately applicable to probably 90% of CHICKEN site (exceptions are api.call-cc.org and bugs.call-cc.org). To make the page "responsive" to narrow screens (i.e. mobiles) we would need to add one line of HTML into pages. This line is already inserted in the .html files on the https://dl.dropboxusercontent.com/u/621606/chicken-web-page/chicken-web-page.tar.gz bundle. It contains many .html files and I recommend opening "CHICKEN Scheme.html" first. The menu on this page has some directly browsable links ("Get started!" link at the bottom can also be clicked).

Do you find it useful?

Best wishes,
Arthur

PS: Tim, sorry for not continuing on your proposal. As I'm a newbie on web design, I preferred to stick with current code and modify it step by step, so I could understand what I was doing. Thanks for inspiration, especially on the grid section! And sorry for proposing something much simpler than your original design.

_______________________________________________
Chicken-users mailing list
Chicken-users <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users
Matt Welland | 25 Jul 09:46 2015
Picon

Chicken works great on Debian noroot on android - any suggestions for best path for graphics?

For any android users who haven't tried it you might like Debian no root. It seems pretty solid on my note 4. The default chicken on debian, 4.9.0.1 seems to work great. I'm looking at my options for doing some graphical stuff. So far this is what I've seen:

ezxdisp - doesn't work due to missing font. I wasn't able to figure out which package to install.

cairo + sdl - after installing dependencies the eggs install but test-cairo.scm errors out with "Error: unbound variable: foreign-code.

iup - as I recall isn't worth trying due to issues with trampoline code on arm.

Are there any other options worth trying or does anyone know the fixes to the problems I ran into?

Thanks in advance.

Matt
-=-
_______________________________________________
Chicken-users mailing list
Chicken-users <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users
Peter Bex | 24 Jul 13:33 2015
Picon

CHICKEN 4.10.0 release candidate 4 available

Hello everyone,

The fourth release candidate for CHICKEN 4.10.0 is now available for download:
http://code.call-cc.org/dev-snapshots/2015/07/24/chicken-4.10.0rc4.tar.gz

This tarball has the following SHA-2 checksum:
8b20fbe77a47a04417eaada3a8ef2218e51dabf919957f7059f4d60ddb6e2ad5

The list of changes since version 4.9.0 is available here:
http://code.call-cc.org/dev-snapshots/2015/07/24/NEWS
The NEWS file incorrectly mentions rc3 instead of rc4, we apologise for that.

The changes since 4.10.0rc1 are as follows:
- SIGBUS, SIGILL and SIGFPE cause proper exceptions instead of panicking
- string-translate* no longer scans beyond string boundaries (CVE-2015-4556)
- A corner case bug in substring-index and substring-index-ci that was
   introduced as part of the fix for CVE-2014-9651 has been fixed.
- chicken.h has been fixed so it does not cause an error in C++ mode.
- create-directory will not skip creation of topmost parent dir in Windows.
- The types.db entries for {read,write}-string read-u8vector have been improved.
- The types.db entries for several SRFI-4 procedures have been fixed.
- The performance of read-u8vector has been improved.
- The "scheme" module now includes an export for the "angle" procedure.
- normalize-pathname no longer considers ".//foo" as the absolute "/foo".
- A few small improvements have been made in the manual.

If you're wondering what happened to release candidate 2 and 3, the
rc2 was created but never announced, and rc3 was incorrectly versioned,
so it has been skipped.  Sorry for that, as well :)

Please test this new version on as many platforms as you can, and let
us know if there are any problems with it.  If no problems are found
we can make a 4.10.0 release soon.

As usual, you can test as follows:

$ make PLATFORM=<platform> PREFIX=<some dir> install check
$ <some dir>/bin/chicken-install pastiche

If you want to build CHICKEN with a compiler other than the default one,
just use C_COMPILER=<the compiler> (e.g., C_COMPILER=clang) on the make
invocation.  This may be necessary if your default C compiler is a GCC
which is newer than 4.8, because there is a bug in those versions that
causes one of the tests (apply-test.scm) to hang for a very long time.
This is a known problem which we can't do much about.

If you can, please let us know the following information about the
environment you tested the RC tarball on:

Operating system: (e.g., FreeBSD 10.1, Debian 8, Windows 7 mingw-msys)
Hardware platform: (e.g., x86, x86-64, PPC)
C Compiler: (e.g., GCC 4.8.4, clang 3.6)
Installation works?: yes or no
Tests work?: yes or no
Installation of eggs works?: yes or no

Thanks in advance,
The CHICKEN Team
_______________________________________________
Chicken-users mailing list
Chicken-users <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users
Mario Domenech Goulart | 20 Jul 16:39 2015
Picon

15 years ago...


A baby CHICKEN was born:
https://groups.google.com/forum/#!msg/comp.lang.scheme/QOil0WmRtWg/rp_Yb6Et--0J

Congrats. :-)

Best wishes.
Mario
--

-- 
http://parenteses.org/mario
David Van Horn | 18 Jul 18:44 2015

ICFP 2015 Call for Participation

[ Early registration ends 3 August. ]

=====================================================================

Call for Participation

ICFP 2015
20th ACM SIGPLAN International Conference on Functional Programming
and affiliated events

August 30 - September 5, 2015
Vancouver, British Columbia, Canada
http://icfpconference.org/icfp2015/

=====================================================================

ICFP provides a forum for researchers and developers to hear
about the latest work on the design, implementations, principles, and
uses of functional programming. The conference covers the entire
spectrum of work, from practice to theory, including its peripheries.

A full week dedicated to functional programming:
1 conference, 1 symposium, 11 workshops, tutorials,
programming contest results, student research competition,
and mentoring workshop

 * Program:
   http://icfpconference.org/icfp2015/program.html

 * Accepted Papers:
   http://icfpconference.org/icfp2015/accepted.html

 * Affiliated Events:
   http://icfpconference.org/icfp2015/affiliated.html

 * Local arrangements (including travel and accommodation):
   http://icfpconference.org/icfp2015/local.html

 * Registration is available via:
   https://regmaster4.com/2015conf/ICFP15/register.php
   Early registration is due 3 August, 2015.

 * Programming contest, 7-10 August, 2015:
   http://icfpcontest.org/

 * Follow  <at> icfp_conference on twitter for the latest news:
   http://twitter.com/icfp_conference

There are several events affiliated with ICFP:

  Sunday, August 30
    Haskell Implementors Workshop
    Workshop on Higher-order Programming with Effects
    Workshop on Generic Programming
    Programming Languages Mentoring Workshop
    Ally Skills Tutorial

  Monday, August 31 – Wednesday, September 2
    ICFP

  Thursday, September 3
    Workshop on Functional High-Performance Computing
    Haskell Symposium – Day 1
    ML Family Workshop
    Commercial Users of Functional Programming – Day 1

  Friday, September 4
    Erlang Workshop
    Haskell Symposium – Day 2
    OCaml Workshop
    Commercial Users of Functional Programming – Day 2
    Scheme and Functional Programming Workshop

  Saturday, September 5
    Functional Art, Music, Modeling and Design
    Commercial Users of Functional Programming – Day 3

Conference Organizers

  General Chair:
    Kathleen Fisher, Tufts University
  Program Chair:
    John Reppy, University of Chicago
  Local Arrangements Chair:
    Ronald Garcia, University of British Columbia
  Industrial Relations Chair:
    Anil Madhavapeddy, University of Cambridge
  Workshop Co-Chairs:
    Tom Schrijvers, KU Leuven
    Nicolas Wu, University of Bristol
  Programming Contest Chair:
    Joe Kiniry, Galois
  Student Research Competition Chair:
    Andrew Kennedy, Microsoft Research
  Mentoring Workshop Co-Chairs:
     Ronald Garcia, University of British Columbia
     Stephanie Weirich, University of Pennsylvania
  Publicity Chair:
    David Van Horn, University of Maryland
  Video Chair:
    Iavor Diatchki, Galois
  Student Volunteer Co-Chairs:
    Felipe Bañados Schwerter, University of British Columbia
    Gabriel Scherer, INRIA
  Mobile App Chair:
    Reid Holmes, University of Waterloo

Industrial partners:

  Platinum partners
    Jane Street Capital

  Gold partners
    Anonymous donor
    Ahrefs
    Google
    Mozilla Research
    Oracle Labs

  Silver partners
    Bloomberg
    Tsuru Capital
    Galois
    The University of Chicago

  Bronze partners
    Erlang Solutions
    FireEye
    IntelliFactory
    PivotCloud
    Systor Vest

=====================================================================

_______________________________________________
Chicken-users mailing list
Chicken-users <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users
David Van Horn | 18 Jul 18:44 2015

ICFP 2015 Call for Participation

[ Early registration ends 3 August. ]

=====================================================================

Call for Participation

ICFP 2015
20th ACM SIGPLAN International Conference on Functional Programming
and affiliated events

August 30 - September 5, 2015
Vancouver, British Columbia, Canada
http://icfpconference.org/icfp2015/

=====================================================================

ICFP provides a forum for researchers and developers to hear
about the latest work on the design, implementations, principles, and
uses of functional programming. The conference covers the entire
spectrum of work, from practice to theory, including its peripheries.

A full week dedicated to functional programming:
1 conference, 1 symposium, 11 workshops, tutorials,
programming contest results, student research competition,
and mentoring workshop

 * Program:
   http://icfpconference.org/icfp2015/program.html

 * Accepted Papers:
   http://icfpconference.org/icfp2015/accepted.html

 * Affiliated Events:
   http://icfpconference.org/icfp2015/affiliated.html

 * Local arrangements (including travel and accommodation):
   http://icfpconference.org/icfp2015/local.html

 * Registration is available via:
   https://regmaster4.com/2015conf/ICFP15/register.php
   Early registration is due 3 August, 2015.

 * Programming contest, 7-10 August, 2015:
   http://icfpcontest.org/

 * Follow  <at> icfp_conference on twitter for the latest news:
   http://twitter.com/icfp_conference

There are several events affiliated with ICFP:

  Sunday, August 30
    Haskell Implementors Workshop
    Workshop on Higher-order Programming with Effects
    Workshop on Generic Programming
    Programming Languages Mentoring Workshop
    Ally Skills Tutorial

  Monday, August 31 – Wednesday, September 2
    ICFP

  Thursday, September 3
    Workshop on Functional High-Performance Computing
    Haskell Symposium – Day 1
    ML Family Workshop
    Commercial Users of Functional Programming – Day 1

  Friday, September 4
    Erlang Workshop
    Haskell Symposium – Day 2
    OCaml Workshop
    Commercial Users of Functional Programming – Day 2
    Scheme and Functional Programming Workshop

  Saturday, September 5
    Functional Art, Music, Modeling and Design
    Commercial Users of Functional Programming – Day 3

Conference Organizers

  General Chair:
    Kathleen Fisher, Tufts University
  Program Chair:
    John Reppy, University of Chicago
  Local Arrangements Chair:
    Ronald Garcia, University of British Columbia
  Industrial Relations Chair:
    Anil Madhavapeddy, University of Cambridge
  Workshop Co-Chairs:
    Tom Schrijvers, KU Leuven
    Nicolas Wu, University of Bristol
  Programming Contest Chair:
    Joe Kiniry, Galois
  Student Research Competition Chair:
    Andrew Kennedy, Microsoft Research
  Mentoring Workshop Co-Chairs:
     Ronald Garcia, University of British Columbia
     Stephanie Weirich, University of Pennsylvania
  Publicity Chair:
    David Van Horn, University of Maryland
  Video Chair:
    Iavor Diatchki, Galois
  Student Volunteer Co-Chairs:
    Felipe Bañados Schwerter, University of British Columbia
    Gabriel Scherer, INRIA
  Mobile App Chair:
    Reid Holmes, University of Waterloo

Industrial partners:

  Platinum partners
    Jane Street Capital

  Gold partners
    Anonymous donor
    Ahrefs
    Google
    Mozilla Research
    Oracle Labs

  Silver partners
    Bloomberg
    Tsuru Capital
    Galois
    The University of Chicago

  Bronze partners
    Erlang Solutions
    FireEye
    IntelliFactory
    PivotCloud
    Systor Vest

=====================================================================

_______________________________________________
Chicken-users mailing list
Chicken-users <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users
Claude Marinier | 15 Jul 19:44 2015
Picon

Re: Chicken-users Digest, Vol 152, Issue 8


On 14 July 2015 at 12:00, Christian Kellermann <ckeen <at> pestilenz.org> wrote:
Claude Marinier <claudem223 <at> gmail.com> writes:
> Hi,
>
> Chicken-install complains about the location.
>
>     chicken-install numbers
>     Error: no default location defined - please use `-location' option
>
> I have been looking for a while (Google) but have not found how to specify
> the location (or rather which location to specify). I tried the following
> but that?s not it.
>
>     chicken-install -location http://code.call-cc.org/svn/chicken-eggs numbers

The location is defined in $PREFIX/share/chicken/setup.defaults, does
that exist for you?

As for call-cc.org it's http://code.call-cc.org/cgi-bin/henrietta.cgi

Did you install the rc candidate to a non standard location? Or did you
omit the make install step?
 
Christian Kellermann <ckeen <at> pestilenz.org> writes:

Also note that for this the "transport" needs to be http...

The file C:/Chicken/share/chicken/setup.defaults exists and contains entirely reasonable definitions of location and transport. I believe that C:/Chicken is the prefered installation location.

. . .
(server
 (location "call-cc")
 (transport http))
. . .
(alias
Armed with this information, installing numbers seems to work.

C:\Users\marinier>chicken-install -location http://code.call-cc.org/cgi-bin/henrietta.cgi numbers
retrieving ...
connecting to host "code.call-cc.org", port 80 ...
requesting "/cgi-bin/henrietta.cgi?name=numbers&mode=default" ...
reading response ...
HTTP/1.1 200 OK
Date: Wed, 15 Jul 2015 17:36:25 GMT
Server: Apache/2.4.10 (Debian)
Connection: close
Vary: Accept-Encoding
Transfer-Encoding: chunked
Content-Type: text/plain
reading chunks .........
reading files ...
  ./numbers.meta
  ./numbers-c.h
  ./benchmarks/
  ./benchmarks/pi-ratios.scm
  ./benchmarks/read-write.scm
  ./benchmarks/frpoly.scm
  ./benchmarks/pidigits.scm
  ./benchmarks/iterrogo-u8vector-benchmark.scm
  ./benchmarks/basics.scm
  ./benchmarks/cl-bench-bignum.scm
  ./benchmarks/chudnovsky-pi.scm
  ./numbers.scm
  ./numbers.setup
  ./toom-cook3.scm
  ./numbers-syntax.scm
  ./TODO
  ./NOTES
  ./numbers-c.c
  ./numbers.types
 numbers located at C:\Users\marinier\AppData\Local\Temp/tempae78.5576/numbers
checking platform for `numbers' ...
checking dependencies for `numbers' ...
install order:
("numbers")
installing numbers:4.3 ...
changing current directory to C:\Users\marinier\AppData\Local\Temp/tempae78.5576/numbers
  "C:\Chicken\bin\csi" -bnq -setup-mode -e "(require-library setup-api)" -e "(import setup-api)" -e
"(setup-error-handling)" -e "(extension-name-and-version '(\"numbers\" \"4.3\"))" "numbers.setup"
Deleted file - C:\Users\marinier\AppData\Local\Temp\temp566a.5608.c
  "C:\Chicken\bin\csc" -feature compiling-extension -setup-mode    -C -fexcess-precision=standard -s
 -O3 numbers.scm -j numbers
  "C:\Chicken\bin\csc" -feature compiling-extension -setup-mode    -s -O3 numbers.import.scm
  copy "numbers.so" "C:\Chicken\lib\chicken\7\numbers.so"
        1 file(s) copied.
  copy "numbers.import.so" "C:\Chicken\lib\chicken\7\numbers.import.so"
        1 file(s) copied.
  copy "numbers-syntax.scm" "C:\Chicken\lib\chicken\7\numbers-syntax.scm"
        1 file(s) copied.

Numbers seem to work but (exit) causes an error.

C:\Users\marinier>csi

CHICKEN
(c) 2008-2015, The CHICKEN Team
(c) 2000-2007, Felix L. Winkelmann
Version 4.10.0rc1 ((detached from 4.10.0rc1)) (rev 671a5eb)
windows-mingw32-x86 [ manyargs dload ptables ]
compiled 2015-06-07 on waldrop (Linux)

#;1> (use numbers)
; loading C:/Chicken/lib/chicken/7/numbers.import.so ...
; loading C:/Chicken/lib/chicken/7/chicken.import.so ...
; loading C:/Chicken/lib/chicken/7/foreign.import.so ...
; loading C:/Chicken/lib/chicken/7/numbers.so ...
#;2> (* 11111111 111111111)
1234567887654321
#;3> (* 11111111 111111111 111111111)
137174209602194790260631
#;4> (exit)

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

--
Claude Marinier
_______________________________________________
Chicken-users mailing list
Chicken-users <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users
Claude Marinier | 14 Jul 22:18 2015

chicken-install on MS Windows 7 with TDM-GCC-32

Hi,

 

Chicken-install complains about the location.

 

    chicken-install numbers

    Error: no default location defined - please use `-location' option

 

I have been looking for a while (Google) but have not found how to specify the location (or rather which location to specify). I tried the following but that’s not it.

 

    chicken-install -location http://code.call-cc.org/svn/chicken-eggs numbers

    retrieving ...

    connecting to host "code.call-cc.org", port 80 ...

    requesting "/svn/chicken-eggs?name=numbers&mode=default" ...

    reading response ...

    HTTP/1.1 401 Unauthorized

    HTTP protocol error

 

    Error: extension or version not found

 

Anyone know the correct URL?

 

On the other hand, there is probably something wrong with the installation. I have wandered off the beaten path.

 

    chicken-4.10.0rc2

 

Yes, I did do the ‘check’ but there was no obvious success or failure message.

 

This is not a pressing question; I am just trying the release candidate. Installing the numbers egg seems like a good test.

 

Thank you.

 

--

Claude Marinier

 

_______________________________________________
Chicken-users mailing list
Chicken-users <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users
Peter Bex | 11 Jul 12:34 2015
Picon

[ANN] Numbers 4.3 released

Hello CHICKEN users,

I would like to announce the release of version 4.3 of the numbers egg.
This release fixes a variety of small but important bugs that could cause
unreliable results to crop up in some calculations and comparisons.  Most
importantly, this release fixes a pathological case in the Burnikel-Ziegler
division algorithm, where certain ratios of divisor and dividend bignum
lengths would cause the algorithm to slow down to a crawl.

These bugfixes have also been ported to the bignum CHICKEN 5 branch.

Many thanks to "balkenbrij" on Reddit for reporting the performance
problem and Christian Kellermann for pointing it out to me.  Furthermore,
many thanks to Juergen Lorenz, Aleksej Saushev, Arthur Maciel and
"Kooda" from the #chicken IRC channel on Freenode for testing and
benchmarking the new release on a variety of platforms.

Cheers,
Peter
_______________________________________________
Chicken-users mailing list
Chicken-users <at> nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users

Gmane