Re: [racket] Where to start programming for a 10 year old?

2013-08-24 Thread Daniel Prager
Hi Grant You could try him with (my ;-) turtle-graphics package in racket as a precursor to bootstrap: https://github.com/danprager/turtlegraphics Cheers Dan On Sun, Aug 25, 2013 at 9:31 AM, Hugh S. Myers wrote: > Why not try something expressly designed for the task? See > http://en.wikip

Re: [racket] Small Racket-embedded dataflow DSP language

2013-08-24 Thread Tom Schouten
On 07/14/2013 09:20 AM, Tom Schouten wrote: On 06/27/2013 02:15 PM, John Clements wrote: On Jun 12, 2013, at 9:24 AM, Tom Schouten wrote: On 05/30/2013 08:21 PM, Tom Schouten wrote: On 05/30/2013 05:30 PM, John Clements wrote: On May 30, 2013, at 1:21 PM, Tom Schouten wrote: Hi List, Here

Re: [racket] running test-suites in module+ tests

2013-08-24 Thread Matthias Felleisen
Does this help: > #lang racket > > (module+ test > (require rackunit)) > > ;; --- > > (module+ test > (define-test-suite for-f > (check-equal? (f 10) 10) > (check-equal? (f 11) 12))) > > (define (f x) > x) > > > (module+ test > (require rackunit/text-ui) > (run-tests fo

[racket] running test-suites in module+ tests

2013-08-24 Thread Chad Albers
Hi, I'm exploring rolling my tests into the source files they cover using the (module+ test...) form. Can I include (test-suite ...) statements in the module, and if so, how do I get it to work? I've haven't managed to get it to work with raco test. Thanks, -- Chad Racket

Re: [racket] OpenCL module macro errors

2013-08-24 Thread Dane Larsen
Hmm. I think I almost have it, but there's one error I can't seem to track down. Switching from _arg_type to arg_id seems to have almost worked, but now I'm stuck. When I try to run my context sharing test program (https://github.com/larsendt/cl-gl-context-sharing/) I get the following: vect

[racket] Racketeers: a welcoming, friendly, educated, insightful, patient, responsive, and helpful community

2013-08-24 Thread Etan Wexler
Less than forty minutes after I posed my first question to the Racketeers, core Racket author Matthew Flatt offered two solutions to me and to the Racketeers. Make that “the other Racketeers”. Though I’d only lurked around discussions taking place on Racket’s “users” e‐mail forum, I had, within a f

Re: [racket] generating Racket’s logo

2013-08-24 Thread Asumu Takikawa
On 2013-08-24 18:06:02 -0400, Etan Wexler wrote: > How would I generate a Racket logo at some arbitrary size? I prefer to > use Racket to do so, but an SVG file would satisfy me. I searched the > sources and the WWW to some degree but to no avail. Look for v4.3 on this page for SVG files: http:/

Re: [racket] Where to start programming for a 10 year old?

2013-08-24 Thread Matthias Felleisen
With Bootstrap your nephew can at least share his games with friends and family on the web right away. Not a native app. On Aug 24, 2013, at 7:26 PM, Grant Rettke wrote: > On Sun, Aug 25, 2013 at 3:51 AM, Matthias Felleisen > wrote: >> I don't see how either Scratch or Bootstrap can deliver

Re: [racket] Where to start programming for a 10 year old?

2013-08-24 Thread Hugh S. Myers
Why not try something expressly designed for the task? See http://en.wikipedia.org/wiki/Logo_(programming_language) --hsm On Sat, Aug 24, 2013 at 5:26 PM, Grant Rettke wrote: > On Sun, Aug 25, 2013 at 3:51 AM, Matthias Felleisen > wrote: > > I don't see how either Scratch or Bootstrap can del

Re: [racket] Where to start programming for a 10 year old?

2013-08-24 Thread Grant Rettke
On Sun, Aug 25, 2013 at 3:51 AM, Matthias Felleisen wrote: > I don't see how either Scratch or Bootstrap can deliver the promised iOS app. I was thinking more about getting him started programming "the right way", on any platform, with the promise that it will be the path towards releasing iOS ap

Re: [racket] generating Racket’s logo

2013-08-24 Thread Matthew Flatt
At Sat, 24 Aug 2013 18:06:02 -0400, Etan Wexler wrote: > How would I generate a Racket logo at some arbitrary size? I prefer to > use Racket to do so, but an SVG file would satisfy me. I searched the > sources and the WWW to some degree but to no avail. The `images/logos' function provides `plt-lo

[racket] generating Racket’s logo

2013-08-24 Thread Etan Wexler
How would I generate a Racket logo at some arbitrary size? I prefer to use Racket to do so, but an SVG file would satisfy me. I searched the sources and the WWW to some degree but to no avail. Racket Users list: http://lists.racket-lang.org/users

Re: [racket] Where to start programming for a 10 year old?

2013-08-24 Thread Matthias Felleisen
I don't see how either Scratch or Bootstrap can deliver the promised iOS app. But why don't you try Scratch first and report back to us, then try bootstrap-world.org -- Matthias On Aug 24, 2013, at 1:07 PM, Grant Rettke wrote: > Hi, > > My nephew seems pretty interested in programming. When

[racket] Where to start programming for a 10 year old?

2013-08-24 Thread Grant Rettke
Hi, My nephew seems pretty interested in programming. When I told him that he could be creating those "apps" on the iOS device, he got a big, big smile. For fun, we talked about tic-tac-toe, he wrote down what he called the rules, and we tried playing according to the rules, on paper I mean we pl

[racket] Second call for papers for PEPM 2014

2013-08-24 Thread planpublicity
Hello, Please, find below the second call for papers for PEPM 2014. Please forward these to anyone you think may be interested. Apologies for any duplicates you may receive. best regards, Jurriaan Hage Co-chair of PEPM 2014 -

Re: [racket] Report on compiling racket on ARMv5; JIT disabled

2013-08-24 Thread Laurent
It looks better, but it fails on: make[4]: Entering directory `/share/HDA_DATA/build/racket/racket/src/build/racket' gcc -I. -I../../racket/include -g -O2 -Wall -DINITIAL_COLLECTS_DIRECTORY='"'"`cd ../../racket/../../collects; pwd`"'"' -DINITIAL_CONFIG_DIRECTORY='"'"`cd ../../racket/../..; pwd`/e

Re: [racket] Report on compiling racket on ARMv5; JIT disabled

2013-08-24 Thread Matthew Flatt
At Sat, 24 Aug 2013 10:55:56 +0200, Laurent wrote: > I could compile Racket on the QNAP TS 121, thanks to the detailed > instructions in the READMEs, except for the JIT (and gracket disabled), > despite: > http://article.gmane.org/gmane.comp.lang.racket.devel/8703/ > > Here is the how to, since it

Re: [racket] Why not use a typed language for HtDP?

2013-08-24 Thread Carl Eastlund
Ben, In my own experience, novice programmers will often see type enforcement as a barrier to programming, as they do not yet understand what problems the type checker is sparing them. This leads to a lot of frustration, and to resentment of the type system. Using an untyped language to teach pr

Re: [racket] Why not use a typed language for HtDP?

2013-08-24 Thread Matthias Felleisen
The goal of HtDP is to teach design principles in such a way that they apply to programming in a whole range of languages: -- explicitly statically typed -- statically typed with inference -- "dynamically typed" scripting languages -- probably not as much to unsoundly typed languages (C,

Re: [racket] Why not use a typed language for HtDP?

2013-08-24 Thread Lowl3v3l
Am 24.08.2013 10:38, schrieb Ben Duan: Dear All, Here's a beginner's question about How to Design Programs. HtDP puts great emphasizes on data, and it forces the reader to think about data types by writing signatures. Then what not use a typed language so that it is forced by the language its

[racket] Report on compiling racket on ARMv5; JIT disabled

2013-08-24 Thread Laurent
Hi, I could compile Racket on the QNAP TS 121, thanks to the detailed instructions in the READMEs, except for the JIT (and gracket disabled), despite: http://article.gmane.org/gmane.comp.lang.racket.devel/8703/ Here is the how to, since it may interest some people, and the error regarding the JIT

[racket] Why not use a typed language for HtDP?

2013-08-24 Thread Ben Duan
Dear All, Here’s a beginner's question about How to Design Programs. HtDP puts great emphasizes on data, and it forces the reader to think about data types by writing signatures. Then what not use a typed language so that it is forced by the language itself? Or did I misunderstand the purpose of