[racket-dev] should saving to a new location retrigger automatic compilation?

2015-02-18 Thread 'John Clements' via dev-redirect
A student of mine just had a spurious automatic compilation error that occurred when he a) wrote a program in an unsaved buffer with a relative ‘require’. (automatic compilation shows error) b) saved it to a new location (no keystroke in buffer, so automatic compilation still shows error) c)

[racket-dev] Testing, please ignore

2015-02-04 Thread John Clements
Wait, you didn't ignore it! Okay, this should be the last message that goes through on old dev. We'll see if I'm so cheerful in five minutes. _ Racket Developers list: http://lists.racket-lang.org/dev

[racket-dev] Switching groups tomorrow

2015-02-03 Thread John Clements
over time, but there's a cap on the number of adds per day, so you'll be missing parts of the stream. Cross your fingers, and thanks for your patience! John Clements _ Racket Developers list: http://lists.racket-lang.org/dev

[racket-dev] Switching to Google Groups

2015-01-28 Thread John Clements
. The archive of the existing list will continue to exist, though new messages will not be added to it. Let us know if you run into problems! Many thanks, John Clements PLT _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] The repository is now split

2014-12-05 Thread John Clements
Urg... more interesting problems. I pulled and tried to rebuild, and things went pear-shaped. 1) compilation failed because it couldn't find the 'racket' collection, but I noticed that it was referring to a nonexistent path, presumably because I had moved the root of the installation. Has that

Re: [racket-dev] The repository is now split

2014-12-04 Thread John Clements
Okay, some teething problems. First time around, it finished way too fast. The problem seemed to be that it had an error in compiling a planet package... ah, I see, there was no 'at-exp-lib' installed? Presumably this is because planet packages don't declare pkg dependencies? Anyhow, this

[racket-dev] fix for serve/servlet docs?

2014-11-14 Thread John Clements
The serve/servlet docs state: The server files are rooted at server-root-path (which is the distribution root by default.) File paths, in addition to the htdocs directory under server-root-path may be provided with extra-files-paths. These paths are checked first, in the order they appear in the

[racket-dev] Nervous about all of this merging to 6.1.1 release?

2014-10-22 Thread John Clements
Is anyone else nervous about the number of not-obviously-trivial changes we're merging to the 6.1.1 release after the test bundles are out? I for one wouldn't mind re-running my tests before the release. John _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] Pre-Release Checklist for v6.1.1

2014-10-21 Thread John Clements
On Thu, Oct 16, 2014 at 6:13 AM, Ryan Culpepper ry...@ccs.neu.edu wrote: Checklist items for the v6.1.1 release (using the v6.1.0.900 release candidate build) * John Clements cleme...@brinckerhoff.org - Stepper Tests done. Updates: - Stepper Updates: update HISTORY (updates

Re: [racket-dev] RtMidi library for Racket?

2014-09-25 Thread John Clements
-like API? John Clements On Thu, Sep 25, 2014 at 12:32 PM, Antti Karttunen antti.karttu...@gmail.com wrote: A question: Has there been any attempts or even discussion of including Gary P. Scavone's RtMidi-library ( http://www.music.mcgill.ca/~gary/rtmidi/ ) into the standard distribution

Re: [racket-dev] [racket] Performance. Higher-order function

2014-08-26 Thread John Clements
On Aug 10, 2014, at 10:06 AM, Matthias Felleisen matth...@ccs.neu.edu wrote: [[ Switched mailing list ]] Being in the main repo is different from being in the distribution (and thus automatically installed). I think that OC should be there when you download the full bundle. +1, and

Re: [racket-dev] Pre-Release Checklist for v6.1

2014-07-21 Thread John Clements
On Jul 17, 2014, at 5:03 PM, Ryan Culpepper ry...@ccs.neu.edu wrote: * John Clements cleme...@brinckerhoff.org - Stepper Tests Done. Updates: - Stepper Updates: update HISTORY (updates should show v6.1 as the most current version; email me to pick the changes when they're done

Re: [racket-dev] for loops with interleaved escape continuations

2014-07-01 Thread John Clements
On Jul 1, 2014, at 3:46 PM, Sam Tobin-Hochstadt sa...@cs.indiana.edu wrote: I disagree strongly that this is un-rackety. Consider the following loop: (define v ) (let loop ([i 100]) (define e (vector-ref v i)) (cond [(zero? i) null] [(= 999 e) null] [(even? e)

Re: [racket-dev] Racket 6.0.1 make install-both fails: Racket virtual machine has run out of memory; aborting

2014-05-15 Thread John Clements
to try this again in the next day or two? John Clements _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] Pre-Release Checklist for v6.0.1

2014-04-18 Thread John Clements
-test * John Clements cleme...@brinckerhoff.org - Stepper Tests Updates: - Stepper Updates: update HISTORY (updates should show v6.0.1 as the most current version; email me to pick the changes when they're done, or tell me if there are no such changes.) Both done, history updated

[racket-dev] updating public key on git.racket-lang.org

2014-04-16 Thread John Clements
I hope this isn’t a self-service question too… Who manages the public keys accepted by git.racket-lang.org, now that it’s not Eli’s job? I’m attaching my new public key. Ooh, I guess I should also ask; has that machine been patched? Looks like it has, but I just used some random online tool.

[racket-dev] Thank you DrDr, thank you!

2014-04-15 Thread John Clements
This is a short thank-you note; thanks to DrDr, I caught a bug in the interaction of the test-engine and the stepper two weeks ago, rather than at release time. Thanks! CI is awesome. John _ Racket Developers list: http://lists.racket-lang.org/dev

[racket-dev] new github key

2014-04-10 Thread John Clements
I’m probably being paranoid and/or avoiding real work, but I’ve made up a new ssh key for github. Who’s the boss of our github account, and can they add my new ssh key and revoke my old one? Many thanks, John id_rsa-git.pub Description: Binary data _ Racket

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

2014-04-10 Thread John Clements
On Apr 9, 2014, at 12:41 AM, matth...@racket-lang.org wrote: matthias has updated `master' from 8c1206c063 to fb34d4e76e. http://git.racket-lang.org/plt/8c1206c063..fb34d4e76e =[ 4 Commits ]== Directory summary: 48.5%

Re: [racket-dev] new github key

2014-04-10 Thread John Clements
On Apr 10, 2014, at 2:46 PM, Sam Tobin-Hochstadt sa...@cs.indiana.edu wrote: You do that yourself, in your github settings. The admin for `racket` doesn't know anything about anyones keys. Well, I already did that. I should have realized that the tree links to users, rather than linking

[racket-dev] make clean target for top-level makefile?

2014-03-11 Thread John Clements
I just had a problem compiling Racket which was successfully resolved by axing the racket/build subdirectory. Would in make sense to have a “clean” target for the top-level makefile that does this automatically? John _ Racket Developers list:

[racket-dev] okay to call init-auto-scrollbars multiple times on a canvas%?

2014-01-14 Thread John Clements
I’m implementing (not-horribly-clunky) zooming for sound waves in rsound, and I like the auto-scrollbars mechanism. One question is what should happen when the user zooms in. I’d like to change the virtual-size. The obvious solution is to call “init-auto-scrollbars” again. This seems to work,

Re: [racket-dev] Nope. (was: Re: release blocker?)

2014-01-04 Thread John Clements
, and I didn't manage to narrow it down to the point where I felt comfortable submitting a report. John Robby On Tue, Dec 31, 2013 at 5:39 PM, John Clements cleme...@brinckerhoff.org wrote: disregard; it seems to be the combination of my development branch and asumu’s solarized

[racket-dev] release blocker?

2013-12-31 Thread John Clements
I don’t know how close we are to release… I just saw a big bug and I want to test it against the current release candidate. It has to do with the “Colors” tab of the preferences. John _ Racket Developers list: http://lists.racket-lang.org/dev

[racket-dev] Nope. (was: Re: release blocker?)

2013-12-31 Thread John Clements
disregard; it seems to be the combination of my development branch and asumu’s solarized colors. Can’t make it occur on the release branch. John On Dec 31, 2013, at 2:50 PM, John Clements cleme...@brinckerhoff.org wrote: I don’t know how close we are to release… I just saw a big bug and I

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

2013-12-29 Thread John Clements
On Dec 28, 2013, at 6:50 PM, ro...@racket-lang.org wrote: robby has updated `master' from 92872addf2 to 5059db47d3. http://git.racket-lang.org/plt/92872addf2..5059db47d3 =[ One Commit ]= Directory summary: 88.2%

Re: [racket-dev] Pre-Release Checklist for v6.0, corrected url

2013-12-18 Thread John Clements
On Dec 16, 2013, at 8:38 AM, Ryan Culpepper wrote: (Re-sending with corrected URL for release candidates. Thanks to Sam for the quick catch!) * John Clements cleme...@brinckerhoff.org - Stepper Tests Done. Updates: - Stepper Updates: update HISTORY (updates should show v6.0

[racket-dev] TR performance (was: Re: [plt] Push #27909: master branch updated)

2013-12-11 Thread John Clements
On Dec 11, 2013, at 4:18 PM, Neil Toronto wrote: On 12/11/2013 02:49 PM, Neil Toronto wrote: On 12/11/2013 01:55 PM, Stephen Bloch wrote: On Dec 11, 2013, at 2:36 PM, Neil Toronto wrote: numeric primitives implemented in Typed Racket are faster than the same primitives implemented in C.

[racket-dev] plausible hash function for s16vectors

2013-11-26 Thread John Clements
I want to equip my rsounds with a gen:equal+hash implementation, so that I can compare them using equal? and thereby use them in check-expect test cases. I have to roll this myself, since s16vectors don't do non-eq? equal?. My question: is there an accepted hash function for an s16vector, or

Re: [racket-dev] unable to git fetch, or ssh -v to git.racket-lang.org ?

2013-11-22 Thread John Clements
On Nov 22, 2013, at 5:19 AM, Eli Barzilay wrote: 10 hours ago, John Clements wrote: This... doesn't look like something on my end? [...] Did you check if you were blacklisted? Wow... I see that thread now, from 2011. I'll check it out. Many thanks. For those of you in the future

[racket-dev] unable to git fetch, or ssh -v to git.racket-lang.org ?

2013-11-21 Thread John Clements
This... doesn't look like something on my end? oiseau:~/git-clements clements ssh -v pltgit OpenSSH_5.6p1, OpenSSL 0.9.8y 5 Feb 2013 debug1: Reading configuration data /Users/clements/.ssh/config debug1: Applying options for pltgit debug1: Reading configuration data /etc/ssh_config debug1:

Re: [racket-dev] DrRacket's `Install Package' dies with long names/urls

2013-10-22 Thread John Clements
way to solve this problem is to delete racket-prefs.rktd. It looks like this is fixed now. In particular, pasting a string with a newline signals an error right away. Apologies if you already knew that; I don't see a response to this e-mail in particular. Best, John Clements

Re: [racket-dev] get-x method on key event always returns zero?

2013-10-12 Thread John Clements
be removed from the key event? John On Oct 9, 2013, at 5:17 PM, John Clements wrote: It appears to me that the 'get-x' method on a key event always returns zero, counter to what the docs say. Is this a doc bug, a software bug, or just me being dumb? FWIW, here's a simple program

[racket-dev] get-x method on key event always returns zero?

2013-10-09 Thread John Clements
It appears to me that the 'get-x' method on a key event always returns zero, counter to what the docs say. Is this a doc bug, a software bug, or just me being dumb? FWIW, here's a simple program that illustrates this; press a key while the window has focus, and you will always see 0 in the x

Re: [racket-dev] Racket Guide chapter on concurrency

2013-10-07 Thread John Clements
On Oct 6, 2013, at 1:30 PM, David T. Pierson wrote: Hi all, At the hackathon Asumu helped me work on a Guide chapter on concurrency. Thanks Asumu! Since then I've fleshed it out some more and pushed a commit to github.

[racket-dev] looks like pkg.racket-lang.org is hanging after making the connection again.

2013-09-30 Thread John Clements
I'm once again seeing pkg.racket-lang.org hanging after making the connection. Here's the transcript: curl -v --insecure 'https://pkg.racket-lang.org/' * About to connect() to pkg.racket-lang.org port 443 (#0) * Trying 128.187.105.226... * connected * Connected to pkg.racket-lang.org

[racket-dev] workaround for 5.3.6 require for-label problem?

2013-09-27 Thread John Clements
I'm noticing that with version 5.3.6 of DrRacket, a package install of rsound hangs during the evaluation of rsound.scrbl. My guess is that this could be related to the syntax-check error that I get when opening rsound.scrbl in version 5.3.6. After some work, I discovered that the problem

Re: [racket-dev] Building HEAD today

2013-09-26 Thread John Clements
On Jul 17, 2013, at 2:23 PM, Matthew Flatt wrote: At Wed, 17 Jul 2013 16:48:06 -0400, Greg Hendershott wrote: I did my first fetch and build of HEAD today, using the new layout. A few surprises; I wanted to ask if they're as-expected (at least at this point in the change to the new

[racket-dev] going to Strange Loop?

2013-08-21 Thread John Clements
Anyone going to strange loop? Want to share a hotel room? Best, John _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] Revising Racket's home page

2013-08-20 Thread John Clements
On Aug 19, 2013, at 9:17 PM, Robby Findler wrote: This looks fantastic! Thanks! +1 I really like the programmable programming language slogan. John _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] Pre-Release Checklist for v5.3.6

2013-07-23 Thread John Clements
On Jul 22, 2013, at 3:13 PM, Ryan Culpepper wrote: * John Clements cleme...@brinckerhoff.org - Stepper Tests Done. Updates: - Stepper Updates: update HISTORY (updates should show v5.3.6 as the most current version; email me to pick the changes when they're done, or tell me

Re: [racket-dev] Pre-Release Checklist for v5.3.6

2013-07-23 Thread John Clements
On Jul 23, 2013, at 1:47 PM, Robby Findler wrote: Are you sure you tested the release bundles and not git head? Yep, pretty sure. The only place where I ran into the reorg is when I was *pushing* the updated HISTORY.txt. The bundle I was testing was still in the old shape. John

[racket-dev] white bar in lhs of comment box: bug or feature?

2013-05-30 Thread John Clements
In the attached screenshot (hopefully small enough to get through the size filter), I see that the background of the "comment semicolon" is rendered in white, regardless of the background color. Based on the lack of space between that bar and the enclosed text, I'm imagining this is a bug. On the

Re: [racket-dev] Continuing to work on GitHub bug migration

2013-05-30 Thread John Clements
On May 30, 2013, at 1:47 PM, Sam Tobin-Hochstadt wrote: After a long hiatus, I'm again working on migrating our bug database to GitHub issues. My plan is to convert a large portion of the old bugs (more than 5 years old, up to 9433) in the near future, and in particular all of the bugs filed

Re: [racket-dev] [racket] Parens/string quotes automatic behavior

2013-05-23 Thread John Clements
On May 23, 2013, at 8:13 AM, Robby Findler wrote: On Thursday, May 23, 2013, Nadeem Abdul Hamid wrote: Hello Racket devs, I'm working on tweaking how typing a double quote is handled in strings when DrRacket's auto parens mode is on, per recent post on the users list. If any of you

Re: [racket-dev] Pre-Release Checklist for v5.3.4, Second Call

2013-04-23 Thread John Clements
On Apr 22, 2013, at 8:29 PM, Ryan Culpepper wrote: Checklist items for the v5.3.4 release (using the v5.3.3.900 release candidate build) * John Clements cleme...@brinckerhoff.org - Stepper Tests Done. Updates: - Stepper Updates: update HISTORY (updates should show v5.3.4

[racket-dev] IRC compliment for Eli, after a fashion...

2013-04-03 Thread John Clements
From IRC, hope the copypaste is okay: GoNZooo:I installed 5.3.3 now [11:01am]GoNZooo:From the site instead [11:01am]jbclements:good choice! [11:01am]GoNZooo:With the extremely well-behaved .sh file [11:01am]GoNZooo:God damn, that is user friendly [11:01am] _ Racket

Re: [racket-dev] Pre-Release Checklist for v5.3.2

2013-01-21 Thread John Clements
://git.racket-lang.org/plt.git release \ -- collects/tests | tar x * John Clements cleme...@brinckerhoff.org - Stepper Tests Done. Updates: - Stepper Updates: update HISTORY (updates should show v5.3.2 as the most current version; email me to pick the changes when they're done

Re: [racket-dev] racket/date, SRFI-19, date construction

2013-01-12 Thread John Clements
Thanks for taking this on! Ditto! I'm very happy to have this long, long-term annoyance resolved. Thanks! John smime.p7s Description: S/MIME cryptographic signature _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] racket/date, SRFI-19, date construction

2013-01-11 Thread John Clements
On Jan 11, 2013, at 10:53 AM, Pierpaolo Bernardi wrote: On Fri, Jan 11, 2013 at 7:04 PM, Asumu Takikawa as...@ccs.neu.edu wrote: Note: in the long run, it's probably best to have a comprehensive srfi/19 replacement in racket/date, Agreed. srfi/19 also has some serious flaws, which I

[racket-dev] Attempted clarification for planet2 docs

2013-01-02 Thread John Clements
this, and I think it should be documented. Below is a proposed doc change; I'll commit it if you like it, or abandon it if not. I'm including the (git format-patch) text and also attaching it as a file. John From d3f72c47820effb240532c518378dc9709d69600 Mon Sep 17 00:00:00 2001 From: John

Re: [racket-dev] Attempted clarification for planet2 docs

2013-01-02 Thread John Clements
small changes: 1. The docs don't use the term planet2, so just say the Racket package manager 2. Consider using the same examples from the rest of the docs (such as data/matrix from tic-tac-toe) Jay On Wed, Jan 2, 2013 at 12:30 PM, John Clements cleme...@brinckerhoff.org wrote

Re: [racket-dev] Date Chooser

2012-12-26 Thread John Clements
is the snapshot. add this to the core codebase or planet, which is appropriate? I think that it might be a good fit for planet2, if you don't mind living on the bleeding edge. John Clements smime.p7s Description: S/MIME cryptographic signature _ Racket Developers list

Re: [racket-dev] How to avoid to modify .gitignore when pull request

2012-12-13 Thread John Clements
On Dec 13, 2012, at 6:37 AM, David Van Horn wrote: On 12/13/12 9:22 AM, Chen Xiao wrote: I fork the codebase on my local computer. Then I .configure make make install, as a result, there are many compiled things like bin or *.o files. To avoid add them to my commit, I modify .gitignore

[racket-dev] behavior of check-expect on errors during evaluation of expected values

2012-10-24 Thread John Clements
I think the current behavior of check-expect is unfortunate w.r.t. errors that occur during the evaluation of the expected values. Consider this program: (check-expect (+ 3 4) 7) (check-expect (* 4 5) 20) (check-expect (+ 4 9) (/ 1 0)) (check-expect (+ 2 3) 5) It produces this output in

Re: [racket-dev] Pre-Release Checklist for v5.3.1

2012-10-22 Thread John Clements
On Oct 15, 2012, at 9:58 PM, Ryan Culpepper wrote: * John Clements cleme...@brinckerhoff.org - Stepper Tests Updates: - Stepper Updates: update HISTORY (updates should show v5.3.1 as the most current version; email me to pick the changes when they're done, or tell me

Re: [racket-dev] gc much slower in DrR?

2012-10-16 Thread John Clements
or about 34 pauses per minute, whereas command-line racket has only 23. Either way, I'm a happy camper. Thanks! … will this go into the upcoming release? John At Thu, 11 Oct 2012 15:43:49 -0700, John Clements wrote: I'm trying to run signal-based audio programs, and I'm finding that DrR

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

2012-10-16 Thread John Clements
On Oct 16, 2012, at 12:58 PM, Sam Tobin-Hochstadt wrote: On Tue, Oct 16, 2012 at 3:54 PM, Eli Barzilay e...@barzilay.org wrote: A few minutes ago, Sam Tobin-Hochstadt wrote: On Tue, Oct 16, 2012 at 3:39 PM, Eli Barzilay e...@barzilay.org wrote: A few minutes ago, Sam Tobin-Hochstadt wrote:

Re: [racket-dev] API naming conventions (Push #25466)

2012-10-16 Thread John Clements
On Oct 16, 2012, at 3:34 PM, Matthias Felleisen wrote: Eli, can you explain again -- perhaps in different words -- why define/match is a bad name? I understand that we have match-define and define/match now. While I agree that having two of these forms with remotely related

Re: [racket-dev] API naming conventions (Push #25466)

2012-10-16 Thread John Clements
On Oct 16, 2012, at 3:41 PM, Eli Barzilay wrote: Just now, John Clements wrote: If this were about changing the name of match-define to define/match, I'd have no objection, but the problem is that we now have two forms with names that are identical, modulo a stylistic choice. It's

[racket-dev] jfyi, seg fault during build

2012-10-12 Thread John Clements
While building, today (definitely not a fresh build): ... ./.. -I../../../racket/gc2/../include -DOS_X -D_DARWIN_UNLIMITED_SELECT -pthread -fno-common --keep-lines -o xsrc/jitinline.c ../../../racket/gc2/../src/jitinline.c gcc -I./.. -I../../../racket/gc2/../include -g -O2 -DOS_X

[racket-dev] gc much slower in DrR?

2012-10-11 Thread John Clements
I'm trying to run signal-based audio programs, and I'm finding that DrR is using well over 10x the time to perform the same GC's as command-line racket. Let me be more specific: I'm running a program that does a little filtering to combine a couple of oscillators, using big-bang. Running this

[racket-dev] Hi to Matthias and the rest of the team.

2012-10-10 Thread John Clements
I've just had a very brief round of e-mail with M. Fatih Köksal, who sends his best to Matthias and the rest of the team. Cheers, John (Mehmet) smime.p7s Description: S/MIME cryptographic signature _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] syntax parsing: must be a nice pattern-y way to do this

2012-09-17 Thread John Clements
on experimental-mumble… John Ryan On 09/16/2012 08:31 PM, John Clements wrote: I want to apply a transformation to a nested pattern element. To start with, suppose I have a (kind of useless) with-handlers that looks like this: (with-syntax ([((arg

Re: [racket-dev] syntax parsing: must be a nice pattern-y way to do this

2012-09-17 Thread John Clements
On Sep 17, 2012, at 11:27 AM, Ryan Culpepper wrote: On 09/17/2012 02:20 PM, John Clements wrote: On Sep 16, 2012, at 5:48 PM, Ryan Culpepper wrote: See 'define-template-metafunction' in syntax/parse/experimental/template. Remember to change the relevant occurrences of 'syntax

Re: [racket-dev] What are single flonums good for?

2012-09-14 Thread John Clements
On Sep 12, 2012, at 1:03 PM, Jay McCarthy wrote: On Wed, Sep 12, 2012 at 8:31 AM, Neil Toronto neil.toro...@gmail.com wrote: Compatibility with C code? Why not have the FFI convert them? Save space? I can see that. It won't help much if they're sent to math library functions, though. Those

Re: [racket-dev] Short-circuiting comprehensions

2012-09-14 Thread John Clements
On Sep 14, 2012, at 1:14 PM, Robby Findler wrote: My $0.02: I find #:while and #:when to be too close, and #:until and #:unless even closer. More bike-shedding: I agree. In response to eli: I find the difficulty of reading break-when to be an adequate cost to pay to highlight the difference

[racket-dev] Optimization Coach suggestion / question

2012-09-14 Thread John Clements
I used the optimization coach for the first time today. First, a suggestion. I wrestled with it for about five minutes before I realized that it applied only to programs written in TR. An error message here would be *really* useful; I kept mousing over and clicking and unclicking things to get

Re: [racket-dev] Optimization Coach suggestion / question

2012-09-14 Thread John Clements
On Sep 14, 2012, at 4:50 PM, Vincent St-Amour wrote: At Fri, 14 Sep 2012 15:39:22 -0700, John Clements wrote: I used the optimization coach for the first time today. First, a suggestion. I wrestled with it for about five minutes before I realized that it applied only to programs written

[racket-dev] typed racket non-monotonic in scary way?

2012-09-07 Thread John Clements
I was trying to write a function on natural numbers today, and came up with an example that scares me all to bits. This program: #lang typed/racket (: int-nat (Natural - Natural)) (define (int-nat n) (cond [(= n 0) 13] [else (- n 1)])) Does not type-check, because (- n 1) has type

[racket-dev] desired behavior of (in-directory …) when lacking permissions?

2012-08-31 Thread John Clements
Currently, using the (in-directory …) sequence in a directory where there are unreadable directories causes a funny internal contract failure. Suppose I have directory /tmp/f, containing directory sekrit which I cannot read. Then this program: #lang racket (sequence-list (in-directory

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

2012-08-31 Thread John Clements
On Aug 31, 2012, at 3:07 PM, mfl...@racket-lang.org wrote: mflatt has updated `master' from eed93825ab to 7b2e18afc5. http://git.racket-lang.org/plt/eed93825ab..7b2e18afc5 =[ 2 Commits ]== Directory summary: 11.6%

Re: [racket-dev] Racket backend for my Python visualizer

2012-08-28 Thread John Clements
this into account. I sincerely hope that you're able to make progress on this: I've seen that python visualizer output, and I would *love* to have something like that running for Racket programs. All the best, John Clements (cc: racket-dev) See below ... On Sat, Aug 25, 2012 at 4:10

[racket-dev] number-of-bindings tooltip: thanks!

2012-08-27 Thread John Clements
I see that you've added a tooltip on check-syntax hover that shows how many uses a variable has. Thanks! John smime.p7s Description: S/MIME cryptographic signature _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] DrDr - previous/next change buttons

2012-07-31 Thread John Clements
On Jul 31, 2012, at 3:57 PM, Jay McCarthy wrote: Done :) Thanks! John smime.p7s Description: S/MIME cryptographic signature _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] DrDr - previous/next change buttons

2012-07-30 Thread John Clements
On Jul 30, 2012, at 5:42 PM, Jay McCarthy wrote: DrDr now has green buttons to go between times the file's output has changed. Hopefully this will help you find problematic commits easier. Here's what I think is a super-minor request. When I view the diff of two DrDr outputs; say:

[racket-dev] Minor inconsistency in stepper interface: which way would be right?

2012-07-26 Thread John Clements
Right now, the stepper and the ordinary interactions window disagree in one minor detail (well, one that I know about…): In the stepper, test cases (e.g. (check-expect (+ 3 4) 7)) reduce to a boolean, and leave a printed boolean value in the list of results. In the interactions window, though,

Re: [racket-dev] Pre-Release Checklist for v5.3, second call

2012-07-26 Thread John Clements
On Jul 25, 2012, at 4:28 PM, Ryan Culpepper wrote: * John Clements cleme...@brinckerhoff.org - Stepper Tests Done. Updates: - Stepper Updates: update HISTORY (updates should show v5.3 as the most current version; email me to pick the changes when they're done, or tell me

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

2012-07-26 Thread John Clements
On Jul 26, 2012, at 8:09 PM, Robby Findler wrote: How about Misc. minor bug fixes or something like that instead? Sure… done. John smime.p7s Description: S/MIME cryptographic signature _ Racket Developers list: http://lists.racket-lang.org/dev

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

2012-06-26 Thread John Clements
On Jun 25, 2012, at 4:34 PM, Matthias Felleisen wrote: The largest part of my commit today concerns a re-organization of the documentation for lang/htdp* functions. In the past we lived with lists of strings that were eventually turned into a quasi-defproc. I have scribblized the docs

[racket-dev] sequence syntax for (mlist #t #f …) ?

2012-06-21 Thread John Clements
Reality check before I do something dumb and re-invent the wheel: I often want to write a for loop where the first element is treated specially. In such cases, it would be nice to have a sequence that had a #t and then an infinite number of #f's, so I could write (for ([s my-sequence] [first?

Re: [racket-dev] sequence syntax for (mlist #t #f …) ?

2012-06-21 Thread John Clements
On Jun 21, 2012, at 1:24 AM, Eli Barzilay wrote: An hour and a half ago, John Clements wrote: Yes, of course I can do it the ugly way: [...] (define p1 (mcons #f 'bogus)) (set-mcdr! p1 p1) (define true-then-falses (mcons #t p1)) What about (shared ([fs (cons #f fs)]) (cons #t fs

Re: [racket-dev] check-syntax hack: patch to show how many uses an identifier has

2012-06-21 Thread John Clements
this point, or would I need to go to the binding identifier and figure out how many uses the thing has? John On Jun 20, 2012, at 10:48 PM, John Clements wrote: When I'm using online check syntax, I often look at the lines leaving an identifier and wonder: is that just one line

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

2012-06-20 Thread John Clements
On Jun 20, 2012, at 9:10 AM, Eli Barzilay wrote: Just now, Jon Rafkind wrote: This push resulted in the following failure (drdr will tell you the same thing in a few minutes probably). raco setup: error: during making for stepper/private raco setup: expand: unbound identifier in module

[racket-dev] doc fix for with-contract?

2012-06-19 Thread John Clements
It looks to me like the free-var-list is optional in uses of with-contract and define/contract. The documentation, though, suggests that this is not the case. Specifically, free-var-list is defined as: free-var-list = #:freevars ([id

[racket-dev] building WeScheme using Eclipse

2012-06-16 Thread John Clements
I'm trying to build WeScheme locally, and wrestling with Eclipse. Specifically, I've completed all of the steps given in the README, and I'm now trying to figure out how to deploy it. It appears to me that I'll need to use Eclipse, in order to make use of the GWT resources that we installed as

[racket-dev] Fwd: Introducing Developer ID and Gatekeeper.

2012-06-13 Thread John Clements
For what it's worth, I still have the info for our Apple Developer ID (it's 'plt'), and the password. Anyone want this info in order to sign forthcoming releases? John Begin forwarded message: From: Apple Developer develo...@insideapple.apple.com Subject: Introducing Developer ID and

[racket-dev] race setup tests gives wrong error message, best way to fix?

2012-05-10 Thread John Clements
Apologies in advance if this is a known or fixed issue. Running raco setup tests gives the following error message: raco setup: given collection path: tests is not in canonical form (e.g., wrong case on a case-insensitive filesystem) === context ===

[racket-dev] emscripten? (was: Re: Using clang to Build Racket on Mac OS X)

2012-05-09 Thread John Clements
On Sep 10, 2011, at 6:33 PM, Will M. Farr wrote: Thanks, Matthew! It seems to build OK now. I missed the implication of this, the first time around. If I'm reading this correctly, it means that clang can compile racket, which is awfully close to being able to run Racket using an LLVM

Re: [racket-dev] emscripten? (was: Re: Using clang to Build Racket on Mac OS X)

2012-05-09 Thread John Clements
On May 9, 2012, at 2:47 PM, Michael W wrote: That's an interesting thought. Racket currently uses GNU Lightning as its JIT, correct? What if it used LLVM instead? http://en.wikipedia.org/wiki/LLVM#Description Of course this is much more work than just getting racket to build with

[racket-dev] Doc fix for make-argb?

2012-05-04 Thread John Clements
The docs for make-argb read: Constructs a new argb value. The vector has four entries for each pixel, an alpha, red, green, and blue value. The int specifies the width of the image; the height is the size of the vector, divided by 4, divided by the width. This documentation doesn't specify

[racket-dev] change abs to magnitude in rackunit^W everywhere?

2012-04-26 Thread John Clements
I see that rackunit's check-= handles real numbers only, since it uses abs on the difference between the two. I want to use it on complex numbers, and it would seem that changing 'abs' into 'magnitude' would not change the non-error-signalling behavior, and would allow its use on complex

[racket-dev] Thanks for faster builds!

2012-04-25 Thread John Clements
I recently completed a full build from source in 15-20 minutes; I think that's about *half* of what it used to take. Many thanks! John smime.p7s Description: S/MIME cryptographic signature _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] Pre-Release Checklist for v5.3

2012-04-19 Thread John Clements
On Apr 18, 2012, at 8:00 AM, Ryan Culpepper wrote: Checklist items for the v5.3 release (using the v5.2.901.1 release candidate build) I'm confused by the OS X download options on the pre-release download page (http://pre.racket-lang.org/release/installers/). Specifically, one of the

[racket-dev] FYI only: core dump during file open

2012-04-13 Thread John Clements
DrRacket just seg-faulted while trying to open a file after my choice in the dialog box. The stack trace blames an ffi call … objc_send ? Anyhow, JFYI. smime.p7s Description: S/MIME cryptographic signature _ Racket Developers list: http://lists.racket-lang.org/dev

[racket-dev] Oversight in type for path-string?

2012-03-21 Thread John Clements
It looks like 'path-string?' is not labeled as a discriminator type. path-string? - : (Any - Boolean) #procedure:path-string? Is this just an oversight? John smime.p7s Description: S/MIME cryptographic signature _ Racket Developers list:

Re: [racket-dev] Oversight in type for path-string?

2012-03-21 Thread John Clements
On Mar 21, 2012, at 3:20 PM, Sam Tobin-Hochstadt wrote: On Wed, Mar 21, 2012 at 5:36 PM, John Clements cleme...@brinckerhoff.org wrote: It looks like 'path-string?' is not labeled as a discriminator type. path-string? - : (Any - Boolean) #procedure:path-string? Is this just

Re: [racket-dev] Migrating the bug database to GitHub

2012-03-17 Thread John Clements
to be clear ahead of time. Okay, many thanks; this makes sense. John On Friday, March 16, 2012, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote: On Fri, Mar 16, 2012 at 7:19 PM, John Clements cleme...@brinckerhoff.org wrote: On Mar 16, 2012, at 3:56 PM, Sam Tobin-Hochstadt wrote

Re: [racket-dev] Migrating the bug database to GitHub

2012-03-16 Thread John Clements
On Mar 16, 2012, at 3:56 PM, Sam Tobin-Hochstadt wrote: * The bug notification-turned-mailing-list interaction aspect of Gnats is mostly lost. GitHub sends out notifications when a bug is created, but it will *not* send out further comments unless you're participating in the

[racket-dev] style guide on blank lines

2012-03-13 Thread John Clements
The style guide has this to say about blank lines: 5.8 Spaces Don’t pollute your code with spaces at the end of lines and extraneous blank lines. This comes out pretty strongly against extraneous blank lines. In writing the code below, though, it seems to me that the blank lines aid

  1   2   3   4   >