[racket-dev] RacketCon: Final Call for Presentations

2011-06-16 Thread Sam Tobin-Hochstadt
Calling All Racketeers! This is the third announcement of RacketCon: 23 24 July 2011 http://con.racket-lang.org/ We will continue accepting presentation proposals for RacketCon through *this weekend*. We hope to have a preliminary schedule out soon thereafter. To

Re: [racket-dev] Strange problem with `check-docs' and `#:use-sources'

2011-06-23 Thread Sam Tobin-Hochstadt
, and I'm therefore confused about how to try to fix it. Of course, it might be something totally different, also -- the vagaries of Scribble linking are still opaque to me. Robby On Thu, Jun 23, 2011 at 3:16 AM, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote: Currently, the documentation

Re: [racket-dev] Strange problem with `check-docs' and `#:use-sources'

2011-06-23 Thread Sam Tobin-Hochstadt
annotations to help the type checker. Robby On Fri, Jun 24, 2011 at 2:46 AM, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote: On Wed, Jun 22, 2011 at 6:53 PM, Robby Findler ro...@eecs.northwestern.edu wrote: To really know what is going on, one has to trace thru the re-provides for each

Re: [racket-dev] Strange problem with `check-docs' and `#:use-sources'

2011-06-23 Thread Sam Tobin-Hochstadt
On Jun 23, 2011 6:39 PM, Robby Findler ro...@eecs.northwestern.edu wrote: I think I'd need to actually look at the code next. I didn't seem to find it, tho; can you give me a pointer? It should be in 'collects/typed-scheme/scribblings/ts-reference.scrbl' for typed/racket and

Re: [racket-dev] Strange problem with `check-docs' and `#:use-sources'

2011-06-23 Thread Sam Tobin-Hochstadt
On Thu, Jun 23, 2011 at 9:19 PM, Robby Findler ro...@eecs.northwestern.edu wrote: On Fri, Jun 24, 2011 at 8:58 AM, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote: On Jun 23, 2011 6:39 PM, Robby Findler ro...@eecs.northwestern.edu wrote: I think I'd need to actually look at the code next. I

Re: [racket-dev] Strange problem with `check-docs' and `#:use-sources'

2011-06-24 Thread Sam Tobin-Hochstadt
On Thu, Jun 23, 2011 at 9:51 PM, Robby Findler ro...@eecs.northwestern.edu wrote: So I think the fix is to do the renaming for with-handlers before it gets exported from typed-scheme/base-env/prims (or introduce another module and put that one in the #:use-sources and use it as the one where

Re: [racket-dev] Strange problem with `check-docs' and `#:use-sources'

2011-06-24 Thread Sam Tobin-Hochstadt
Findler ro...@eecs.northwestern.edu wrote: I'm not seeing something wrong. Maybe it would help if you could make a smaller example. Robby On Sat, Jun 25, 2011 at 8:15 AM, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote: On Thu, Jun 23, 2011 at 9:51 PM, Robby Findler ro...@eecs.northwestern.edu

Re: [racket-dev] Strange problem with `check-docs' and `#:use-sources'

2011-06-24 Thread Sam Tobin-Hochstadt
, 2011 at 9:14 AM, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote: What's wrong is that for typed/scheme check-docs thinks that - is undocumented, even though it's able to find the docs for the same identifier  provided from typed/racket. It's the same problem as with with-handlers, but if appears

Re: [racket-dev] Strange problem with `check-docs' and `#:use-sources'

2011-06-26 Thread Sam Tobin-Hochstadt
if the problem is there? -- sam th sa...@ccs.neu.edu From 81b873954b0529decdddb23eb54ec2098d2a7f74 Mon Sep 17 00:00:00 2001 From: Sam Tobin-Hochstadt sa...@racket-lang.org Date: Sun, 26 Jun 2011 10:01:39 -0400 Subject: [PATCH] demo bug --- collects/ts/b.rkt |5

Re: [racket-dev] Getting github to recognize .scrbl files

2011-06-27 Thread Sam Tobin-Hochstadt
On Mon, Jun 27, 2011 at 4:45 PM, Matthias Felleisen matth...@ccs.neu.edu wrote: On Jun 27, 2011, at 4:42 PM, Eli Barzilay wrote: []s hightlighted in red...  But that's a general scheme issue now too. No [] in Scheme proper :-) Not true, see:

Re: [racket-dev] [racket] getting symbol documentation URL quickly within Emacs

2011-06-28 Thread Sam Tobin-Hochstadt
On Tue, Jun 28, 2011 at 9:58 AM, Matthias Felleisen matth...@ccs.neu.edu wrote: On Jun 28, 2011, at 9:55 AM, Eli Barzilay wrote: (2) things from libraries can be excluded from specific languages     because we know they won't run That won't work right too...  Should I list a whole bunch of

Re: [racket-dev] okay to require rackunit in modules required at startup?

2011-06-29 Thread Sam Tobin-Hochstadt
On Wed, Jun 29, 2011 at 8:10 AM, Robby Findler ro...@eecs.northwestern.edu wrote: On Wed, Jun 29, 2011 at 7:40 PM, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote: On Wed, Jun 29, 2011 at 2:52 AM, Eli Barzilay e...@barzilay.org wrote: [*] As an example, rackunit might become dependent on drr

Re: [racket-dev] syntax taints instead of syntax certificates

2011-06-29 Thread Sam Tobin-Hochstadt
On Wed, Jun 29, 2011 at 9:19 PM, Matthew Flatt mfl...@cs.utah.edu wrote:  * If you write program-processing tools or languages that use   `syntax-recertify', you'll need to change them to use   `syntax-disarm' and possibly `syntax-rearm'. Does this change (more generally than the part I've

Re: [racket-dev] documentation reorganization

2011-07-01 Thread Sam Tobin-Hochstadt
On Fri, Jul 1, 2011 at 9:41 PM, Ryan Culpepper r...@cs.utah.edu wrote: re misc: Do you mean Other? Would you prefer Other Languages and Libraries or Other Manuals? I think those should just go under Experimental Languages, since they're both languages, and at least one is experimental. -- sam

Re: [racket-dev] OK, how do I fix this DrDr complaint?

2011-07-04 Thread Sam Tobin-Hochstadt
On Mon, Jul 4, 2011 at 8:36 PM, Stephen Bloch sbl...@adelphi.edu wrote: As of this evening's DrDr build, test-docs-complete is complaining of a gazillion undocumented exports from picturing-programs.  In fact, these identifiers are all required from 2htdp/image and re-exported from

[racket-dev] RacketCon -- July 23 24 -- Second Call for Participation

2011-07-06 Thread Sam Tobin-Hochstadt
and affiliation to racket...@racket-lang.org . Additional information, including registration, transportation and hotel information, can be found on the web page: http://con.racket-lang.org Sam Tobin-Hochstadt _ For list-related administrative tasks

Re: [racket-dev] interactive hack

2011-07-10 Thread Sam Tobin-Hochstadt
Why not `interactive'? And this is for the name of the module, right? On Sun, Jul 10, 2011 at 6:55 AM, Eli Barzilay e...@barzilay.org wrote: I'm close to adding my interactive hack to the tree (in a much improved form).  Does anyone have a good idea for a name? (I started with `repl', looked

Re: [racket-dev] interactive hack

2011-07-10 Thread Sam Tobin-Hochstadt
ago, Sam Tobin-Hochstadt wrote: Why not `interactive'? Interactive what?  -- It's way too generic. And this is for the name of the module, right? A new toplevel collection.  Used similarly to readline.  (And supersedes it, hopefully, for casual users.) --          ((lambda (x) (x x

Re: [racket-dev] interactive hack

2011-07-12 Thread Sam Tobin-Hochstadt
On Tue, Jul 12, 2011 at 9:00 AM, Matthias Felleisen matth...@ccs.neu.edu wrote: On Jul 12, 2011, at 3:15 AM, Neil Van Dyke wrote: Yes!  Name your favorite brand and I'll bring it... I don't know a good beer to name, but I'm sure that the Bukowski Tavern near us has some sufficiently pricey

Re: [racket-dev] [plt] Push #23009: master branch updated

2011-07-13 Thread Sam Tobin-Hochstadt
On Wed, Jul 13, 2011 at 12:08 PM, stamo...@racket-lang.org wrote:  ;; we assume indexes are 2 bits shorter than fixnums  ;; We're generating a reference to fixnum? rather than calling it, so  ;; we're safe from fixnum size issues on different platforms. -(define (index? x) (and (fixnum? x)

Re: [racket-dev] for/vector much slower than vector-set! ?

2011-07-18 Thread Sam Tobin-Hochstadt
On Mon, Jul 18, 2011 at 6:01 PM, John Clements cleme...@brinckerhoff.org wrote: Does the first one somehow have to check some things that the second one doesn't? Yes, how long the vector is going to be. Try: (for/vector #:length (* 100 sr) ([i (in-range (* 100 sr))]) 0.243) which is just

[racket-dev] RacketCon -- July 23 24 -- Room Change Final Call for Participation

2011-07-20 Thread Sam Tobin-Hochstadt
: http://con.racket-lang.org Sam Tobin-Hochstadt _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev

Re: [racket-dev] Racket on Rockets

2011-07-27 Thread Sam Tobin-Hochstadt
On Wed, Jul 27, 2011 at 12:21 PM, Tony Garnock-Jones to...@ccs.neu.edu wrote: On 2011-07-26 1:20 PM, Jay McCarthy wrote: I don't have a lot of expertise on the ORM side, but I think Snooze would probably be awesome and my MongoDB-backed structs may be helpful too. Is there a way of

Re: [racket-dev] Racket on Rockets

2011-07-27 Thread Sam Tobin-Hochstadt
On Wed, Jul 27, 2011 at 1:20 PM, Tony Garnock-Jones to...@ccs.neu.edu wrote: On 2011-07-27 4:17 PM, Sam Tobin-Hochstadt wrote: No such alchemy exists, it's just intended as part of the conceptual framework. Would it be fair to say that were such a thing to come into existence, the VM would

Re: [racket-dev] Racket on Rockets

2011-07-28 Thread Sam Tobin-Hochstadt
On Jul 28, 2011 7:26 AM, Noel Welsh noelwe...@gmail.com wrote: On Wed, Jul 27, 2011 at 9:20 PM, Tony Garnock-Jones to...@ccs.neu.edu wrote: Would it be fair to say that were such a thing to come into existence, the VM would need to be changed as part of that work? There is nothing you

Re: [racket-dev] [plt] Push #23142: master branch updated

2011-07-29 Thread Sam Tobin-Hochstadt
On Fri, Jul 29, 2011 at 6:59 PM, rafk...@racket-lang.org wrote: +(define-lex-abbrev block-comment (:: /* +                                     (complement (:: any-string */ any-string)) +                                     */)) Can we please not make the same mistake that C made of having

Re: [racket-dev] Release Announcement for v5.1.2

2011-08-01 Thread Sam Tobin-Hochstadt
On Mon, Aug 1, 2011 at 11:48 AM, Eli Barzilay e...@barzilay.org wrote: * Simplified error messages in student languages, and use colors to  add visual information (see the teachpack manual for guidelines on  writing teachpacks).  (Is this the right place?  IIRC it moved.) I don't believe the

Re: [racket-dev] Release Announcement for v5.1.2

2011-08-01 Thread Sam Tobin-Hochstadt
On Mon, Aug 1, 2011 at 1:10 PM, Eli Barzilay e...@barzilay.org wrote: About a minute ago, Vincent St-Amour wrote: - Typed Racket now optimizes at the REPL and inside typed regions. This sounds too uninteresting for most users. Have we run out of space for release notes? This certainly isn't

Re: [racket-dev] Release Announcement for v5.1.2

2011-08-01 Thread Sam Tobin-Hochstadt
On Mon, Aug 1, 2011 at 1:52 PM, Robby Findler ro...@eecs.northwestern.edu wrote: On Monday, August 1, 2011, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote: On Mon, Aug 1, 2011 at 1:10 PM, Eli Barzilay e...@barzilay.org wrote: About a minute ago, Vincent St-Amour wrote: - Typed Racket now

Re: [racket-dev] Release Announcement for v5.1.2

2011-08-01 Thread Sam Tobin-Hochstadt
On Mon, Aug 1, 2011 at 2:50 PM, Eli Barzilay e...@barzilay.org wrote: `with-type' sounds too specific to be broadly applicable. `with-type' allows embedding typed regions inside arbitrary other blocks of untyped code -- it's certainly generally applicable. (And BTW, there *is* limited space

Re: [racket-dev] [racket] racket doesn't work with Mac OSX 10.7 (Lion)?

2011-08-02 Thread Sam Tobin-Hochstadt
On Mon, Aug 1, 2011 at 12:43 PM, Joseph Maline joe.mal...@me.com wrote: I've downloaded Racket, copied the directory into applications, and try and run and get the following crash report … Any users having similar problem? Anyone from dev have any thoughts (note, I've tried this 4 times …)

Re: [racket-dev] Release Announcement for v5.1.2

2011-08-02 Thread Sam Tobin-Hochstadt
On Tue, Aug 2, 2011 at 6:14 AM, Eli Barzilay e...@barzilay.org wrote: -- * The download page includes 64-bit installers for Mac OS X,  Windows, and two Debian flavors. We should emphasize OS X Lion support here. -- sam th

Re: [racket-dev] Release Announcement for v5.1.2

2011-08-02 Thread Sam Tobin-Hochstadt
No, the issue is that 5.1.1 doesn't work at all on Lion, and we should emphasize that the new release does work. On Aug 2, 2011 10:01 AM, Eli Barzilay e...@barzilay.org wrote: An hour ago, Sam Tobin-Hochstadt wrote: On Tue, Aug 2, 2011 at 6:14 AM, Eli Barzilay e...@barzilay.org wrote

Re: [racket-dev] [racket] pretty-big-#lang (was: External connection toFinndesign Liitin)

2011-08-11 Thread Sam Tobin-Hochstadt
[switch to dev] On Thu, Aug 11, 2011 at 12:11 AM, Matthew Flatt mfl...@cs.utah.edu wrote: DrRacket's interactions window has to use `eval' in the sense that it reads an expression to evaluate and then passes it on to the program for an answer. When you run a module in DrRacket, the

Re: [racket-dev] [racket] pretty-big-#lang (was: External connection toFinndesign Liitin)

2011-08-11 Thread Sam Tobin-Hochstadt
On Thu, Aug 11, 2011 at 9:20 AM, Robby Findler ro...@eecs.northwestern.edu wrote: How problematic would it be if the DrRacket interactions window didn't make the namespace it uses for evaluation available to the expressions being evaluated? How would that work? Could drracket compile the

Re: [racket-dev] [racket] pretty-big-#lang (was: External connection toFinndesign Liitin)

2011-08-11 Thread Sam Tobin-Hochstadt
On Thu, Aug 11, 2011 at 9:38 AM, Robby Findler ro...@eecs.northwestern.edu wrote: On Thu, Aug 11, 2011 at 8:25 AM, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote: On Thu, Aug 11, 2011 at 9:20 AM, Robby Findler ro...@eecs.northwestern.edu wrote: How problematic would it be if the DrRacket

Re: [racket-dev] syntax-property guards? (was: Re: The Stepper strikes again)

2011-08-13 Thread Sam Tobin-Hochstadt
On Sat, Aug 13, 2011 at 12:51 PM, Eli Barzilay e...@barzilay.org wrote: 10 minutes ago, Sam Tobin-Hochstadt wrote: `match' also currently adds a syntax property to help the Typed Racket type checker understand the expansion.  Like 'disappeared-use for Check Syntax, this property is in theory

Re: [racket-dev] syntax-property guards? (was: Re: The Stepper strikes again)

2011-08-13 Thread Sam Tobin-Hochstadt
On Aug 13, 2011 1:35 PM, Carl Eastlund c...@ccs.neu.edu wrote: On Sat, Aug 13, 2011 at 1:26 PM, Matthias Felleisen matth...@ccs.neu.edu wrote: On Aug 13, 2011, at 12:58 PM, Sam Tobin-Hochstadt wrote: On Sat, Aug 13, 2011 at 12:51 PM, Eli Barzilay e...@barzilay.org wrote: 10 minutes

Re: [racket-dev] syntax-property guards? (was: Re: The Stepper strikes again)

2011-08-13 Thread Sam Tobin-Hochstadt
On Aug 13, 2011 2:13 PM, Eli Barzilay e...@barzilay.org wrote: Two minutes ago, Sam Tobin-Hochstadt wrote: On Aug 13, 2011 1:35 PM, Carl Eastlund c...@ccs.neu.edu wrote: On Sat, Aug 13, 2011 at 1:26 PM, Matthias Felleisen matth...@ccs.neu.edu wrote: On Aug 13, 2011, at 12:58

Re: [racket-dev] spam bug reports

2011-08-13 Thread Sam Tobin-Hochstadt
On Sat, Aug 13, 2011 at 4:26 PM, Robby Findler ro...@eecs.northwestern.edu wrote: Well, someone has figured out how to defeat the recaptcha thingy and I'm now getting about (on average, ish) two spam bug reports per hour for the last several days (and a slower, but still annoying rate for

Re: [racket-dev] syntax-property guards? (was: Re: The Stepper strikes again)

2011-08-16 Thread Sam Tobin-Hochstadt
On Tue, Aug 16, 2011 at 5:31 PM, Matthias Felleisen matth...@ccs.neu.edu wrote: Eli is right in principle. I sense that we are facing the same kind of problems we faced when we created mixins and then again when we created continuation marks.  We need annotations time and again and they

[racket-dev] syntax property duplication

2011-08-17 Thread Sam Tobin-Hochstadt
The following idiom duplicates the syntax properties on `stx': (define-syntax (m stx) (datum-syntax #'here 'id stx stx)) This is a problem for me because I use syntax properties to indicate polymorphic type instantiation. If an expression that's actually a macro using this idiom is

Re: [racket-dev] syntax property duplication

2011-08-18 Thread Sam Tobin-Hochstadt
On Thu, Aug 18, 2011 at 8:14 AM, Carl Eastlund c...@ccs.neu.edu wrote: On Wed, Aug 17, 2011 at 6:25 PM, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote: The following idiom duplicates the syntax properties on `stx':  (define-syntax (m stx) (datum-syntax #'here 'id stx stx)) This is a problem

Re: [racket-dev] [plt] Push #23306: master branch updated

2011-08-19 Thread Sam Tobin-Hochstadt
On Fri, Aug 19, 2011 at 9:55 PM, mfl...@racket-lang.org wrote: | Is there a better name than `path-piece?'? `path-component?' -- sam th sa...@ccs.neu.edu _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev

[racket-dev] Bite-Size Racket Projects

2011-08-25 Thread Sam Tobin-Hochstadt
It's clear that there are lots of people who are interested in hacking with Racket, or improving Racket, but don't know where to start. In response, some of us have put together a list of bite-size Racket projects, which are good places for learning Racket, contributing, and just having fun

Re: [racket-dev] Warnings in source code

2011-08-26 Thread Sam Tobin-Hochstadt
On Fri, Aug 26, 2011 at 12:21 PM, Paulo J. Matos pa...@matos-sorge.com wrote: Hi, I was just looking at the warnings in racket source code after Sam posted the bite size projects threads with the link to the wiki. I can't access http://drdr.racket-lang.org/ (the page just doesn't load) So,

Re: [racket-dev] drRacket Close/Close tab

2011-08-31 Thread Sam Tobin-Hochstadt
On Wed, Aug 31, 2011 at 8:13 AM, Robby Findler ro...@eecs.northwestern.edu wrote: On Linux, in my File menu the Ctrl-w shortcut is always listed as shortcut for Close, while Close Tab has no shortcut, but I see now that Ctrl-w's behavior is actually to close the current tab. So in this case my

Re: [racket-dev] [plt] Push #23408: master branch updated

2011-09-01 Thread Sam Tobin-Hochstadt
On Thu, Sep 1, 2011 at 3:13 AM, Eli Barzilay e...@barzilay.org wrote: 8 hours ago, Sam Tobin-Hochstadt wrote: On Wed, Aug 31, 2011 at 1:51 PM, Eli Barzilay e...@barzilay.org wrote: An hour ago, sa...@racket-lang.org wrote: +Modified to use `syntax-parse' and multiple macros by Sam +Tobin

Re: [racket-dev] [plt] Push #23424: master branch updated

2011-09-03 Thread Sam Tobin-Hochstadt
On Sat, Sep 3, 2011 at 5:37 PM, Matthew Flatt mfl...@cs.utah.edu wrote: At Sat, 3 Sep 2011 17:25:58 -0400, Sam Tobin-Hochstadt wrote: On Thu, Sep 1, 2011 at 5:20 PM,  t...@racket-lang.org wrote: src/racket/src/place.c ~~ + REGISTER_SO(quote_symbol); + quote_symbol

[racket-dev] New runtime charting for DrDr

2011-09-06 Thread Sam Tobin-Hochstadt
DrDr now has colorful, up-to-date, interactive charts for runtime on every file. For example, check out: http://drdr.racket-lang.org/23468/collects/tests/racket/benchmarks/common/ray.rkt The quick explanation: the solid yellow line shows the overall runtime of the file. The circles show the

Re: [racket-dev] syntax property duplication

2011-09-06 Thread Sam Tobin-Hochstadt
On Tue, Sep 6, 2011 at 8:05 PM, John Clements cleme...@brinckerhoff.org wrote: On Aug 18, 2011, at 5:32 AM, Sam Tobin-Hochstadt wrote: Yes, I understand why this happens.  As I see it, there are a few possibilities: 1. The expander should check for duplicates, in some fashion. 2

Re: [racket-dev] New runtime charting for DrDr

2011-09-07 Thread Sam Tobin-Hochstadt
On Wed, Sep 7, 2011 at 2:52 PM, Robby Findler ro...@eecs.northwestern.edu wrote: On Wed, Sep 7, 2011 at 9:24 AM, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote: Now, when you click on a point, the tooltip stays in place (until you click again).  This makes it easy to click on the link now

Re: [racket-dev] New runtime charting for DrDr

2011-09-07 Thread Sam Tobin-Hochstadt
On Wed, Sep 7, 2011 at 3:40 PM, Robby Findler ro...@eecs.northwestern.edu wrote: Also, a less important one, but since you're taking feature requests :), would it be possible to have a mode where you can see the separate lines individually, so that wildly different values that are in two

Re: [racket-dev] New runtime charting for DrDr

2011-09-07 Thread Sam Tobin-Hochstadt
how yet. The library gives me a lot of control over the labels, but not over the boxes. On Wed, Sep 7, 2011 at 5:39 PM, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote: On Wed, Sep 7, 2011 at 3:40 PM, Robby Findler ro...@eecs.northwestern.edu wrote: Also, a less important one, but since you're

Re: [racket-dev] New runtime charting for DrDr

2011-09-08 Thread Sam Tobin-Hochstadt
On Wed, Sep 7, 2011 at 8:59 PM, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote: n Wed, Sep 7, 2011 at 8:46 PM, Robby Findler ro...@eecs.northwestern.edu wrote: Thanks. Is it possible to make it remember the setting? Specifically, when go from this page: http://drdr.racket-lang.org/23400

Re: [racket-dev] New runtime charting for DrDr

2011-09-08 Thread Sam Tobin-Hochstadt
This should be up soon. On Thu, Sep 8, 2011 at 12:43 PM, Robby Findler ro...@eecs.northwestern.edu wrote: The hidden series thing was the one I was asking for. Sorry for the lack of clarity. Robby On Thu, Sep 8, 2011 at 11:34 AM, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote: On Wed, Sep 7

Re: [racket-dev] build error with gcc 4.5.2

2011-09-12 Thread Sam Tobin-Hochstadt
/racket/gc2/xsrc should avoid the problem. [I planned to push a change that adjusts the version number, but I  haven't gotten to it.] At Mon, 12 Sep 2011 11:38:37 -0400, Sam Tobin-Hochstadt wrote: I'm currently getting the following compilation error from HEAD: make[4]: Entering directory `/home

Re: [racket-dev] Racket docs and data-driven design

2011-09-16 Thread Sam Tobin-Hochstadt
The same is true of HtDP: http://htdp.org/2003-09-26/Book/curriculum-Z-H-13.html#node_chap_9 and HtDP 2e: http://www.ccs.neu.edu/home/matthias/HtDP2e/htdp2e-part2.html . (search for [else in a similar way). On Fri, Sep 16, 2011 at 11:52 AM, Shriram Krishnamurthi s...@cs.brown.edu wrote: I

Re: [racket-dev] heads-up on gcc-clang switch

2011-09-18 Thread Sam Tobin-Hochstadt
Apple has already switched to clang, that happened with XCode 4. Previously, they shipped both and old version of GCC (4.2), and a compiler which used the GCC frontend and an LLVM backend. They made this switch because they didn't like the GPL version 3, which recent versions of GCC (and other

[racket-dev] repeatable segfault in expander

2011-09-20 Thread Sam Tobin-Hochstadt
The below program segfaults the expander, but not the compiler (tested with git HEAD): [samth@punge:~/sw/plt/collects/tests/racket/benchmarks/shootout (master) plt] r Welcome to Racket v5.1.3.9. - (define x '(module m racket (require racket/require) (require (filtered-in (lambda (n)

[racket-dev] error with futures and the compiler

2011-09-20 Thread Sam Tobin-Hochstadt
The attached program works fine, and if compiled, it works fine with small inputs: [samth@punge] r tst.rkt 40 /dev/null [samth@punge] r tst.rkt 4000 /dev/null [samth@punge] raco make tst.rkt [samth@punge] r tst.rkt 40 /dev/null But with big inputs, when compiled, it fails: [samth@punge] r

Re: [racket-dev] error with futures and the compiler

2011-09-20 Thread Sam Tobin-Hochstadt
]) (future (λ () (let loop-x () (fx 0 N) (M 1.1) (loop-x) On Tue, Sep 20, 2011 at 5:36 PM, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote: Removing the unsafe operations doesn't change the error. On Tue, Sep 20, 2011 at 5:29 PM, Robby Findler ro...@eecs.northwestern.edu

Re: [racket-dev] [plt] Push #23578: master branch updated

2011-09-21 Thread Sam Tobin-Hochstadt
On Tue, Sep 20, 2011 at 6:13 PM, mfl...@racket-lang.org wrote: | convert C++-style comments to C-style comments | | As far as I know, // isn't a C comment form, although | MSVC and gcc both accept it. // was made a legal comment syntax by C99. -- sam th sa...@ccs.neu.edu

Re: [racket-dev] contract-out

2011-09-25 Thread Sam Tobin-Hochstadt
abstracted over by the user, this time with one line instead of the sevel it takes to implement provide-cond-contract. This also has the advantage that the user can have access to any subforms someone else adds later. -Ian - Original Message - From: Sam Tobin-Hochstadt sa

Re: [racket-dev] contract-out

2011-09-25 Thread Sam Tobin-Hochstadt
to any subforms someone else adds later. -Ian - Original Message - From: Sam Tobin-Hochstadt sa...@ccs.neu.edu To: J. Ian Johnson i...@ccs.neu.edu Cc: Matthew Flatt mfl...@cs.utah.edu, dev@racket-lang.org Sent: Sun, 25 Sep 2011 11:34:39 -0400 (EDT) Subject: Re: [racket-dev

Re: [racket-dev] contract-out

2011-09-25 Thread Sam Tobin-Hochstadt
On Sun, Sep 25, 2011 at 8:14 PM, Eli Barzilay e...@barzilay.org wrote: IMO, a better approach for disabling contracts is to have the client decide whether it wants the contracted version or the plain one -- which is a rough mirror of how unsafe operations are done (with the choice being made

Re: [racket-dev] weirdness with racket or typed racket module requiring startup time?

2011-09-25 Thread Sam Tobin-Hochstadt
On Sun, Sep 25, 2011 at 9:24 PM, Danny Yoo d...@cs.wpi.edu wrote: [snip TR taking a long time to load] Is that something that's supposed to happen?  I guess I'm just trying to understand the repercussions of requiring a module from Typed Racket into regular Racket. This looks a little worse

Re: [racket-dev] contract-out

2011-09-25 Thread Sam Tobin-Hochstadt
On Sun, Sep 25, 2011 at 9:36 PM, Eli Barzilay e...@barzilay.org wrote: An hour and a half ago, Sam Tobin-Hochstadt wrote: On Sun, Sep 25, 2011 at 8:14 PM, Eli Barzilay e...@barzilay.org wrote: IMO, a better approach for disabling contracts is to have the client decide whether it wants

Re: [racket-dev] Adding the new plot library [was: Re: Plot?]

2011-09-29 Thread Sam Tobin-Hochstadt
On Thu, Sep 29, 2011 at 7:47 AM, Robby Findler ro...@eecs.northwestern.edu wrote: On Thu, Sep 29, 2011 at 3:33 AM, Eli Barzilay e...@barzilay.org wrote: Yesterday, Neil Toronto wrote: 1. Obviously, Module 2's path should be 'plot'. Right? And its documentation needs a note that it's

Re: [racket-dev] Adding the new plot library [was: Re: Plot?]

2011-09-29 Thread Sam Tobin-Hochstadt
On Thu, Sep 29, 2011 at 2:15 PM, Eli Barzilay e...@barzilay.org wrote: If it's just that layer (rather than keeping the C code in), then it's not completely compatible anyway.  (And I don't see a point in keeping a strict backward compatibility if it's not strict anyway.) There's a really

Re: [racket-dev] More places questions

2011-09-30 Thread Sam Tobin-Hochstadt
On Fri, Sep 30, 2011 at 12:26 AM, John Clements cleme...@brinckerhoff.org wrote: I'm guessing that calling place-channel-put with a descriptor pulls out the associated channel... should the docs indicate this? The docs here:

Re: [racket-dev] Gathering GC statistics for Racket programs

2011-10-02 Thread Sam Tobin-Hochstadt
With regard to my GC statistics tool, I said the following: On Sat, Oct 1, 2011 at 6:50 PM, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote: 2. If you have multiple places, it will do totally the wrong thing. Fixing this will require a little more information from Racket. I implemented

Re: [racket-dev] racket/match is broken

2011-10-05 Thread Sam Tobin-Hochstadt
On Wed, Oct 5, 2011 at 5:13 PM, Jay McCarthy jay.mccar...@gmail.com wrote: Basically, it calls the app function on the second element of the list even though the head of the list has failed to pattern match. This is not a bug. `match' makes no guarantee about the order in which it checks

Re: [racket-dev] racket/match is broken

2011-10-06 Thread Sam Tobin-Hochstadt
In Le Fessant and Maranget, ICFP 2001, they have measurements that show a 30% speedup of whole (toy) programs, with a similar but smaller suite of optimizations. Given the extensibility of `match', the performance difference can be made arbitrarily large. For example, Eli's example doesn't call

Re: [racket-dev] racket/match is broken

2011-10-06 Thread Sam Tobin-Hochstadt
On Thu, Oct 6, 2011 at 6:10 PM, Jay McCarthy jay.mccar...@gmail.com wrote: In Eli's example, only the second pattern could match But if we wrote it this way:  (define (list?? x) (printf list-checking ~s\n x) (list? x))  (define (one?? x) (printf one-checking ~s\n x) (eq? 1 x))  (match '(1

Re: [racket-dev] racket/match is broken

2011-10-06 Thread Sam Tobin-Hochstadt
On Thu, Oct 6, 2011 at 6:23 PM, Jay McCarthy jay.mccar...@gmail.com wrote: On Thu, Oct 6, 2011 at 4:17 PM, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote: On Thu, Oct 6, 2011 at 6:10 PM, Jay McCarthy jay.mccar...@gmail.com wrote: In Eli's example, only the second pattern could match But if we

Re: [racket-dev] struct + match not interacting via a macro

2011-10-09 Thread Sam Tobin-Hochstadt
On Sun, Oct 9, 2011 at 8:31 PM, Shriram Krishnamurthi s...@cs.brown.edu wrote: What exactly does the struct form of match (in the ASL language) use to identify the structure?  The following works fine: I'm not sure if ASL's match is the same as the one in `racket/match', but almost certainly

Re: [racket-dev] struct + match not interacting via a macro

2011-10-10 Thread Sam Tobin-Hochstadt
On Mon, Oct 10, 2011 at 9:42 AM, Shriram Krishnamurthi s...@cs.brown.edu wrote: Wait, now I realize I misunderstood Sam's proposal.  Doesn't this just make all structs into lists?  Like back to the bad old days of 1995? No, that was just an example of how to define the `make-foo', `foo-x', etc

Re: [racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-20 Thread Sam Tobin-Hochstadt
I've certainly wanted this in the past. Ryan came up with some tricks that made it easier, but I think a separate REPL that basically ran (begin-for-syntax (print e)) would be a very nice addition. I'm also with Eli in thinking that this should be separate from online check syntax, unless we

Re: [racket-dev] 5.2.0.1: displayln appears to write to console from where drracket was launched

2011-10-20 Thread Sam Tobin-Hochstadt
On Thu, Oct 20, 2011 at 9:29 AM, Robby Findler ro...@eecs.northwestern.edu wrote: On Thu, Oct 20, 2011 at 8:25 AM, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote: I've certainly wanted this in the past.  Ryan came up with some tricks that made it easier, but I think a separate REPL

Re: [racket-dev] for/match construct?

2011-10-25 Thread Sam Tobin-Hochstadt
Matthew and I talked about this today, and we decided that we should create a parallel set of matchized versions of the `for' macros, rather than my previous experiment which added an `in-match' form that changed the semantics of `for' clause bindings. I've started implementing this; fortunately

Re: [racket-dev] [racket] match in Advanced Student?

2011-11-01 Thread Sam Tobin-Hochstadt
[switching to dev@] Probably the right way to do this is for me to add a `prop:match-expander' which can be added to arbitrary structure, and then to use that in lang/private/firstorder on the `fo' struct. On Mon, Oct 31, 2011 at 11:41 PM, Jay McCarthy jay.mccar...@gmail.com wrote: I think

Re: [racket-dev] Release Announcement for v5.2

2011-11-02 Thread Sam Tobin-Hochstadt
On Wed, Nov 2, 2011 at 11:06 AM, Eli Barzilay e...@barzilay.org wrote: * The new db library offers a high-level, functional interface to  popular relational database systems, including PostgreSQL, MySQL,  and SQLite, as well as other systems via ODBC. I think this should go first, ahead of

Re: [racket-dev] Release Announcement for v5.2, second call

2011-11-02 Thread Sam Tobin-Hochstadt
On Wed, Nov 2, 2011 at 5:31 PM, Eli Barzilay e...@barzilay.org wrote:  - Typed Racket now supports defining function with optional    arguments using the same syntax as Racket. * Fixed several GUI problems, including problems on Ubuntu 11.10  (GTK+ 3) and 64-bit Mac OS X. This should

[racket-dev] read-line performance problem

2011-11-02 Thread Sam Tobin-Hochstadt
On StackOverflow [1], someone reported that Racket's I/O performance on large files was substantially worse than other languages for a simple task. I haven't yet tried it on a similarly large volume of data, but I did see a performance difference relative to Chicken for large but not huge files,

Re: [racket-dev] REPL broken for #lang racket language?

2011-11-04 Thread Sam Tobin-Hochstadt
This just started happening to me as well. On Fri, Nov 4, 2011 at 5:25 PM, John Clements cleme...@brinckerhoff.org wrote: It looks to me like my drracket REPL is unusable. To wit: 1) unset PLTCOLLECTS. 2) move ~/Library/Racket 3) move ~/Library/Preferences/*racket* 4) start drracket 5)

[racket-dev] DrRacket autocompletion change

2011-11-13 Thread Sam Tobin-Hochstadt
I've just pushed a change that will hopefully make DrRacket's autocompletion more helpful. It now will suggest results based on the same fuzzy search that the documentation search uses. So, if you enter: #lang racket cur-dir and hit Ctrl-/ You'll get a menu with the following choices:

[racket-dev] struct type properties and field accesses

2011-11-13 Thread Sam Tobin-Hochstadt
Many built-in structure type properties (such as `prop:procedure' and `prop:set!-transformer') support providing an integer index into the structure to reference a particular field that should supply the value. This is a very useful pattern, but unfortunately, it's not one that any Racket

Re: [racket-dev] struct type properties and field accesses

2011-11-14 Thread Sam Tobin-Hochstadt
On Sun, Nov 13, 2011 at 11:29 PM, Ryan Culpepper r...@cs.utah.edu wrote: On 11/13/2011 09:21 PM, Sam Tobin-Hochstadt wrote: Many built-in structure type properties (such as `prop:procedure' and `prop:set!-transformer') support providing an integer index into the structure to reference

Re: [racket-dev] [plt] Push #23903: master branch updated

2011-11-23 Thread Sam Tobin-Hochstadt
On Wed, Nov 23, 2011 at 1:12 PM, Jay McCarthy j...@racket-lang.org wrote: I'll revert the commit and put a new HTTP library on my list to code and discuss with Eli. I feel like we want to fix the bug that `string-url' and `url-string' don't round-trip properly. Could you store some data in a

Re: [racket-dev] [plt] Push #23903: master branch updated

2011-11-23 Thread Sam Tobin-Hochstadt
, 2011 at 12:30 PM, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote: On Wed, Nov 23, 2011 at 1:12 PM, Jay McCarthy j...@racket-lang.org wrote: I'll revert the commit and put a new HTTP library on my list to code and discuss with Eli. I feel like we want to fix the bug that `string-url' and `url

Re: [racket-dev] regexp-split produces immutable cons when rnrs/base-6 is required

2011-11-25 Thread Sam Tobin-Hochstadt
On Fri, Nov 25, 2011 at 8:15 AM, Marijn hk...@gentoo.org wrote: regexp-split produces an immutable cons when rnrs/base-6 is required: `regexp-split' is still being obtained from `racket/base' in this example: $ echo m | racket -e '(require rnrs/base-6) (car (regexp-split + (read-line

[racket-dev] generating tex with a different component order from Scribble

2011-11-25 Thread Sam Tobin-Hochstadt
I'd like to create a language in Scribble from writing papers according to the `acmsmall' documentclass. Unfortunately, the guide for this documentclass says, right at the beginning: Following order is mandatory to generate a correct title page: \documentclass{acmsmall} %\acmVolume{V}

Re: [racket-dev] generating tex with a different component order from Scribble

2011-11-25 Thread Sam Tobin-Hochstadt
a new renderer. Robby On Fri, Nov 25, 2011 at 4:49 PM, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote: I'd like to create a language in Scribble from writing papers according to the `acmsmall' documentclass.  Unfortunately, the guide for this documentclass says, right at the beginning

Re: [racket-dev] [racket] Disable/Enable Tests

2011-11-27 Thread Sam Tobin-Hochstadt
On Sun, Nov 27, 2011 at 11:22 PM, Robby Findler ro...@eecs.northwestern.edu wrote: Does anyone know how to grep backwards through the history of a file, using git? I'd do this: % cd collects/test-engine % git log -p -Senable . where 'enable' might be something else. However, that exact

Re: [racket-dev] [plt] Push #23941: master branch updated

2011-11-29 Thread Sam Tobin-Hochstadt
You need to set the 'responsible' property using the 'git props' command that Eli has added for your new collection, probably to 'ntoronto'. On Tue, Nov 29, 2011 at 1:22 AM, ntoro...@racket-lang.org wrote: 4012373 Neil Toronto ntoro...@racket-lang.org 2011-11-28 23:01 : | Started icon

Re: [racket-dev] Responding to old bug reports

2011-12-02 Thread Sam Tobin-Hochstadt
On Fri, Dec 2, 2011 at 4:39 AM, Eli Barzilay e...@barzilay.org wrote: Yesterday, Sam Tobin-Hochstadt wrote: In my role as bug czar, I've been trying to work through the backlog of old unexamined bugs.  Unfortunately, many of them (a) have very little information and (b) are from a long time

Re: [racket-dev] error using local-expand

2011-12-09 Thread Sam Tobin-Hochstadt
On Fri, Dec 9, 2011 at 4:53 PM, Stephen Chang stch...@ccs.neu.edu wrote: Say I have the following program: #lang racket (define-for-syntax (loc-expand stx) (local-expand stx 'expression '())) (define-syntax (my-begin stx)  (syntax-case stx ()    [(_ e ...)     (with-syntax ([(x ...)

Re: [racket-dev] Racket home page proposal

2011-12-20 Thread Sam Tobin-Hochstadt
I like the idea too, but I think we should bring more content from other parts of the site to the front page. The Ruby home page [http://www.ruby-lang.org/en/] has most of our participate section on the front page, for example. The Clojure home page [http://clojure.org/] does a nice job with

Re: [racket-dev] Racket home page proposal

2011-12-20 Thread Sam Tobin-Hochstadt
On Tue, Dec 20, 2011 at 8:02 AM, Matthias Felleisen matth...@ccs.neu.edu wrote: I do NOT like pages that have text below my laptop screen 'fold'. My eyes do glaze over. And I am off the page quickly. The important questions about this are: 1. Does it affect your attention to the

<    1   2   3   4   5   6   7   >