Andy Keep (akeep | 2 Aug 06:29 2015
Picon

[Call For Participation] Scheme and Functional Programming Workshop 2015

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

Call For Participation:

Scheme and Functional Programming Workshop 2015
Vancouver, British Columbia, Canada
(Co-located with ICFP 2015)

http://andykeep.com/SchemeWorkshop2015/


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

Important Dates:

August 3rd, 2015 - Early Registration Deadline
September 4th, 2015 - Workshop

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

Accepted Papers:

* R7RS Considered Unifier of Previous Standards
  William D Clinger (Northeastern University)

* State Exploration Choices in a Small-Step Abstract Interpreter
  Steven Lyde and Matthew Might (University of Utah)

* Towards a Foundation for Extending microKanren Constraints
  Jason Hemann and Daniel P. Friedman (Indiana University)

(Continue reading)

Lasse Kliemann | 23 May 14:20 2015
Picon

build hangs in util/match.scm

Host Gauche: a6c1e72
Version of Gauche I try to build: 60a1ea2

uname -a:
Linux sunrise 3.13.0-52-generic #86~precise1-Ubuntu SMP Tue May 5 18:08:21 UTC 2015 x86_64 x86_64
x86_64 GNU/Linux

gcc --version:
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3

autoconf --version:
autoconf (GNU Autoconf) 2.69

./DIST gen
./configure
make

[...]

(cd util; make default)
make[2]: Entering directory `/home/snyder/privsep/work/10/gauche.git/ext/util'
../../src/gosh -ftest ../../src/precomp -e -P -o util--match ../../libsrc/util/match.scm

At this point, it hangs and gathers memory seemingly to no end (I killed
it around 11 GB).

If it helps, here is output after hitting C-c:

    While compiling "../../lib/gauche/regexp.scm" at line 131: (define (regexp-unparse ast :key
(on-error :error)) (define (doit) (call-with-output-string (cut rege ...
(Continue reading)

Lasse Kliemann | 22 May 14:14 2015
Picon

file lock released by sort/filter/every-pred

(use gauche.fcntl)
(use file.util)

(let ((port (open-output-file "/tmp/test.lock"))
      (flock (make <sys-flock>)))
  (slot-set! flock 'type F_WRLCK)
  (if (sys-fcntl port F_SETLK flock)
      (print "got lock")
      (print "no luck")))

(sort (filter (every-pred) '()))

(sys-sleep 100)
(sys-exit 0)

This will print "got lock" even if started multiple times in parallel.

Removing the sort/filter/every-pred line makes it print "no luck" on the
second and so on parallel process, which is what I would expect.

Each of the following changes will also lead to the correct locking
behavior:

* Replacing the sort/filter/every-pred line with:
  (filter (every-pred) '())

* Replacing the sort/filter/every-pred line with:
  (sort (filter (^ args #t) '()))

* Making the 'let' block span the whole program.
(Continue reading)

Andy Keep (akeep | 22 May 04:10 2015
Picon

[CFP] *DEADLINE EXTENDED* Scheme and Functional Programming Workshop 2015

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

DEADLINE EXTENDED: Submissions is now May 31st, 2015 

Call For Papers: 

Scheme and Functional Programming Workshop 2015 
Vancouver, British Columbia, Canada
(Co-located with ICFP 2015)

http://andykeep.com/SchemeWorkshop2015/ 

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

Submissions related to Scheme, Racket, Clojure, and functional 
programming are welcome and encouraged. Topics of interest include
but are not limited to:

* Program-development environments, debugging, testing 
* Implementation (interpreters, compilers, tools, benchmarks, etc.)
* Syntax, macros, hygiene
* Distributed computing, concurrency, parallelism
* Interoperability with other languages, FFIs
* Continuations, modules, object systems, types
* Theory, formal semantics, correctness
* History, evolution and standardization of Scheme
* Applications, experience and industrial uses of Scheme
* Education
* Scheme pearls (elegant, instructive uses of Scheme)

(Continue reading)

Lasse Kliemann | 21 May 22:24 2015
Picon

Feature Request: sys-setgroups or similar

Greetings, I understand that sys-setuid and sys-setgid are implemented,
however there is at this time no way to influence supplementary
groups. In my application, I have to drop privileges from a root:root
process. Doing so just with setuid and setgid will leave root in the
list of supplementary groups, which can be a security problem.

It would be sufficient for me to have a function that sets the list of
supplementary groups to exactly one group, given as a parameter. Could
something like that be added please? Thanks a lot.

-- 
Kind Regards / MfG
Dr. Lasse Kliemann
Westring 269, 24116 Kiel, Germany
E-Mail: lasse <at> lassekliemann.de
OpenPGP Key: 0x4296A3E08903D018
Phone: +49 162 66 88 468
Web: http://lassekliemann.de
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Gauche-devel mailing list
Gauche-devel <at> lists.sourceforge.net
(Continue reading)

Andy Keep (akeep | 18 May 06:37 2015
Picon

[CFP] SECOND NOTICE: Scheme and Functional Programming Workshop 2015

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

SECOND NOTICE: DEADLINE THIS FRIDAY!
Call For Papers:

Scheme and Functional Programming Workshop 2015
Vancouver, British Columbia, Canada
(Co-located with ICFP 2015)

http://andykeep.com/SchemeWorkshop2015/

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

Submissions related to Scheme, Racket, Clojure, and functional
programming are welcome and encouraged. Topics of interest include
but are not limited to:

  * Program-development environments, debugging, testing
  * Implementation (interpreters, compilers, tools, benchmarks, etc.)
  * Syntax, macros, hygiene
  * Distributed computing, concurrency, parallelism
  * Interoperability with other languages, FFIs
  * Continuations, modules, object systems, types
  * Theory, formal semantics, correctness
  * History, evolution and standardization of Scheme
  * Applications, experience and industrial uses of Scheme
  * Education
  * Scheme pearls (elegant, instructive uses of Scheme)

We also welcome submissions related to dynamic or multiparadigmatic
languages and programming techniques.

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

Important Dates:

May 22nd, 2015 - Paper deadline
June 26th, 2015 - Author notification
July 19th, 2015 - Camera-ready deadline
September 4th, 2015 - Workshop

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

Submissions must be in ACM proceedings format, no smaller than 9-point
type (10-point type preferred). Microsoft Word and LaTeX templates for
this format are available at:
http://www.acm.org/sigs/sigplan/authorInformation.htm

Submissions should be in PDF and printable on US Letter.

To encourage authors to submit their best work, this year we are
encouraging shorter papers (around 6 pages, excluding references). This
is to allow authors to submit longer, revised versions of their papers
to archival conferences or journals. Longer papers (10--12 pages) are
also acceptable, if the extra space is needed. There is no maximum
length limit on submissions, but good submissions will likely be in the
range of 6 to 12 pages.

More information available at: http://andykeep.com/SchemeWorkshop2015/

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

Organizers:
Andy Keep, Cisco Systems Inc. (General Chair)
Ryan Culpepper, Northeastern University (Program Chair)

(Apologies for duplications from cross-posting.)

========================================================================
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Gauche-devel mailing list
Gauche-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gauche-devel
Jens Thiele | 2 May 14:00 2015
Picon

build failure with read-only source directory

while inspecting the seperate build directory problems, i found that
uvgen.scm writes to the source directory.

I suggest something similar to (didn't look wether the name of the
temporary file matters at all - likely not):

diff --git a/ext/uvector/uvgen.scm b/ext/uvector/uvgen.scm
index 8636004..e8dd5cf 100644
--- a/ext/uvector/uvgen.scm
+++ b/ext/uvector/uvgen.scm
 <at>  <at>  -54,7 +54,7  <at>  <at> 
              (p "\"" (regexp-replace-all #/[\\\"]/ line "\\\\\\0") "\"")
              (loop (read-line))])))

-  (receive (out name) (sys-mkstemp tmpl-file)
+  (receive (out name) (sys-mkstemp (string-append (temporary-directory) "/" (sys-basename tmpl-file)))
     (unwind-protect
      (begin
        (with-output-to-port out

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
Duy Nguyen | 29 Apr 14:11 2015
Picon

macros in cise

I'm building bindings to libgit2, there's some cproc like these

(define-cproc git-repository-head-detached? (gr::<git-repository>) ::<boolean>
  (let* ([repo::GitRepo* (-> (GIT_REPO gr) repo)])
    (when (== repo NULL)
      (Scm_Error "Invalid repository"))
    (return (git_repository_head_detached repo))))

(define-cproc git-repository-head-unborn? (gr::<git-repository>) ::<boolean>
  (let* ([repo::GitRepo* (-> (GIT_REPO gr) repo)])
    (when (== repo NULL)
      (Scm_Error "Invalid repository"))
    (return (git_repository_head_unborn repo))))

(define-cproc git-repository-is-empty? (gr::<git-repository>) ::<boolean>
  (let* ([repo::GitRepo* (-> (GIT_REPO gr) repo)])
    (when (== repo NULL)
      (Scm_Error "Invalid repository"))
    (return (git_repository_is_empty repo))))

As you can see there's a lot of duplicates. Is there any way to define
a macro to shorten them? I'm not so sure how to use define-cise-macro
yet.. Or even better if the the input argument can be unboxed to
GitRepo* instead of just stopping at a ScmObj.

The GitRepo struct is declared as

typedef struct GitRepoRec {
    SCM_HEADER;
    git_repository *repo;
} GitRepo;

#define GIT_REPO(obj)       ((GitRepo*)(obj))
--

-- 
Duy

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
Jens Thiele | 27 Apr 18:09 2015
Picon

debian's gauche 0.9.4 not good enough to build current master? ERROR: unbound variable: LOCAL-ENV-SHIFT

on debian/jessie/armhf using debian's gauche 0.9.4-3 to build current
master i get errors on make check:
...
Testing module ...                                               passed.
Testing macro ...                                                *** ERROR: unbound variable: LOCAL-ENV-SHIFT
    While compiling "../../Gauche/test/macro.scm" at line 574: (test "%do" 1024 (lambda () (%do ((y 1) (x 0 (+
x 1))) ((>= x 10) y) (set! y (* y 2)))))
    While loading "../../Gauche/test/macro.scm" at line 578
Stack Trace:
_______________________________________
Testing numbers ...                                              passed.
Testing characters ...                                           passed.
...
Testing binary ...                                               *** ERROR: unbound variable: LOCAL-ENV-SHIFT
    While compiling "../../lib/binary/pack.scm" at line 541: (define (read-one-packer fixed-len
var-len? vlp slash-count) (let loop ((c (read-char))) (cond ((eof- ...
    While loading "../../lib/binary/pack.scm" at line 922
    While compiling "./../../../Gauche/ext/binary/test.scm" at line 661: (use binary.pack)
    While loading "./../../../Gauche/ext/binary/test.scm" at line 661
Stack Trace:
_______________________________________
../Makefile.ext:88: recipe for target 'check' failed
make[2]: *** [check] Error 70
make[2]: Leaving directory '/home/prisirah/build-gauche/ext/binary'
Makefile:60: recipe for target 'check' failed
make[1]: *** [check] Error 1
make[1]: Leaving directory '/home/prisirah/build-gauche/ext'
Makefile:44: recipe for target 'check' failed
make: *** [check] Error 1

~/build-gauche/ext/binary$ ../../src/gosh -ftest -I. -I../../../Gauche/ext/binary
gosh> (use binary.pack)
*** ERROR: unbound variable: LOCAL-ENV-SHIFT
    While compiling "../../lib/binary/pack.scm" at line 541: (define (read-one-packer fixed-len
var-len? vlp slash-count) (let loop ((c (read-char))) (cond ((eof- ...
    While loading "../../lib/binary/pack.scm" at line 922
    While compiling "(standard input)" at line 1: (use binary.pack)
Stack Trace:
_______________________________________
  0  (eval expr env)
        At line 242 of "../../lib/gauche/interactive.scm"

$ grep LOCAL-ENV-SHIFT -r .
./check.log:Testing macro ...                                                *** ERROR: unbound variable: LOCAL-ENV-SHIFT
./check.log:Testing dynamic-wind and call/cc ...                             *** ERROR: unbound variable: LOCAL-ENV-SHIFT
./check.log:    While compiling "../../Gauche/test/dynwind.scm" at line 92: (test "call/cc and set!
w/LOCAL-ENV-SHIFT" '(((0) ())) (lambda () (let loop ((j 0) (t '()) (r '()) (k ...
./check.log:Testing SRFIs ...                                                *** ERROR: unbound variable: LOCAL-ENV-SHIFT
./check.log:Testing gauche.cgen.* ...                                        *** ERROR: unbound variable: LOCAL-ENV-SHIFT
./check.log:Testing binary ...                                               *** ERROR: unbound variable: LOCAL-ENV-SHIFT
./build.log:Testing macro ...                                                *** ERROR: unbound variable: LOCAL-ENV-SHIFT
./build.log:Testing dynamic-wind and call/cc ...                             *** ERROR: unbound variable: LOCAL-ENV-SHIFT
./build.log:    While compiling "../../Gauche/test/dynwind.scm" at line 92: (test "call/cc and set!
w/LOCAL-ENV-SHIFT" '(((0) ())) (lambda () (let loop ((j 0) (t '()) (r '()) (k ...
./build.log:Testing SRFIs ...                                                *** ERROR: unbound variable: LOCAL-ENV-SHIFT
./build.log:Testing gauche.cgen.* ...                                        *** ERROR: unbound variable: LOCAL-ENV-SHIFT
./build.log:Testing binary ...                                               *** ERROR: unbound variable: LOCAL-ENV-SHIFT
./lib/gauche/vm/insn.scm:;; #x0ec  LOCAL-ENV-SHIFT
./lib/gauche/vm/insn.scm:(make <vm-insn-info> :name 'LOCAL-ENV-SHIFT :code 236
./src/compile.c:      SCM_STRING_CONST_INITIALIZER("LOCAL-ENV-SHIFT", 15, 15),
./src/compile.c:    SCM_WORD(SCM_UNDEFINED) /* #<identifier #f#LOCAL-ENV-SHIFT> */,
./src/compile.c:  scm__rc.d2396[7529] =
Scm_MakeSymbol(SCM_STRING(SCM_OBJ(&scm__sc.d2397[1280])),TRUE); /* LOCAL-ENV-SHIFT */
./src/compile.c:                                  SCM_NIL); /* gauche.internal#LOCAL-ENV-SHIFT */
Übereinstimmungen in Binärdatei ./src/compile.o.
./src/vminsn.c:DEFINSN(SCM_VM_LOCAL_ENV_SHIFT, "LOCAL-ENV-SHIFT", 1, NONE, 0)
Übereinstimmungen in Binärdatei ./src/code.o.
Übereinstimmungen in Binärdatei ./src/libgauche-0.9.so.0.5.

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Gauche-devel mailing list
Gauche-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gauche-devel
Blake McBride | 27 Apr 05:48 2015
Picon

Problem building master

I am on 64 bit Linux.  When I try to build from git master, I get:

./configure
make
...
gcc -std=gnu99 -g -O2 -fPIC     -shared -o text--tr.so text--tr.o -L../../src   -ldl -lcrypt -lutil -lrt -lm  -lpthread
../../src/gosh -ftest ../../src/precomp -e -P -o text--unicode ./unicode.scm
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I../../src -I../../src -I../../gc/include    -g -O2 -fPIC  -fomit-frame-pointer  -o text--unicode.o -c text--unicode.c
gcc -std=gnu99 -g -O2 -fPIC     -shared -o text--unicode.so text--unicode.o -L../../src   -ldl -lcrypt -lutil -lrt -lm  -lpthread
../../src/gosh -ftest ../../ext/xlink -l -g "text" \
 -b ../.. -s . text--gettext.so text--tr.so text--unicode.so gettext.sci tr.sci unicode.sci
make[2]: Leaving directory `/home/blake/Backup/Gauche.git/ext/text'
(cd rfc; make default)
make[2]: Entering directory `/home/blake/Backup/Gauche.git/ext/rfc'
make[2]: *** No rule to make target `default'.  Stop.
make[2]: Leaving directory `/home/blake/Backup/Gauche.git/ext/rfc'
make[1]: *** [rfc] Error 2
make[1]: Leaving directory `/home/blake/Backup/Gauche.git/ext'
make: *** [all] Error 1

Thanks.

Blake McBride

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Gauche-devel mailing list
Gauche-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gauche-devel
Andy Keep (akeep | 19 Apr 19:21 2015
Picon

[CFP] Scheme and Functional Programming Workshop 2015

Call For Papers:

Scheme and Functional Programming Workshop 2015
Vancouver, British Columbia, Canada
(Co-located with ICFP 2015)

http://andykeep.com/SchemeWorkshop2015/

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

Submissions related to Scheme, Racket, Clojure, and functional
programming are welcome and encouraged. Topics of interest include
but are not limited to:

  * Program-development environments, debugging, testing
  * Implementation (interpreters, compilers, tools, benchmarks, etc.)
  * Syntax, macros, hygiene
  * Distributed computing, concurrency, parallelism
  * Interoperability with other languages, FFIs
  * Continuations, modules, object systems, types
  * Theory, formal semantics, correctness
  * History, evolution and standardization of Scheme
  * Applications, experience and industrial uses of Scheme
  * Education
  * Scheme pearls (elegant, instructive uses of Scheme)

We also welcome submissions related to dynamic or multiparadigmatic
languages and programming techniques.

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

Important Dates:

May 22nd, 2015 - Paper deadline
June 26th, 2015 - Author notification
July 19th, 2015 - Camera-ready deadline
September 4th, 2015 - Workshop

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

Submissions must be in ACM proceedings format, no smaller than 9-point
type (10-point type preferred). Microsoft Word and LaTeX templates for
this format are available at:
http://www.acm.org/sigs/sigplan/authorInformation.htm

Submissions should be in PDF and printable on US Letter.

To encourage authors to submit their best work, this year we are
encouraging shorter papers (around 6 pages, excluding references). This
is to allow authors to submit longer, revised versions of their papers
to archival conferences or journals. Longer papers (10--12 pages) are
also acceptable, if the extra space is needed. There is no maximum
length limit on submissions, but good submissions will likely be in the
range of 6 to 12 pages.

More information available at: http://andykeep.com/SchemeWorkshop2015/

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

Organizers:
Andy Keep, Cisco Systems Inc. (General Chair)
Ryan Culpepper, Northeastern University (Program Chair)

(Apologies for duplications from cross-posting.)

Attachment (smime.p7s): application/pkcs7-signature, 4823 bytes
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Gauche-devel mailing list
Gauche-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gauche-devel

Gmane