[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) rai

[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
e existing list 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: many thanks, keep it coming

2015-01-30 Thread John Clements
nd haven't yet done so, visit this link https://groups.google.com/forum/#!forum/racket-dev/join to sign up for the new group. At the urging of several list participants, I'm going to wait a few more days for people to add themselves. Thanks again! John Clements __

[racket-dev] Switching to Google Groups

2015-01-28 Thread John Clements
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 al

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 aborted

[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 wrote: > Checklist items for the v6.1.1 release > (using the v6.1.0.900 release candidate build) > > * John Clements > - Stepper Tests > done. > Updates: > - Stepper Updates: update HISTORY > (updates sho

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 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 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 . I think putti

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 wrote: > > * John Clements > - 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, or te

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 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) (loop (add1 i))

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
4 You said “stepper.” Are you likely to get 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
an do this: > > cd ...racket-root... > ./bin/raco pkg install -i main-distribution-test > > > * John Clements > - Stepper Tests > Updates: > - Stepper Updates: update HISTORY > (updates should show v6.0.1 as the most current version; email me > to pick the changes

[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. J

[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

Re: [racket-dev] new github key

2014-04-10 Thread John Clements
On Apr 10, 2014, at 2:46 PM, Sam Tobin-Hochstadt 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 directly to ssh keys.

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% pkgs/htd

[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 Develop

[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: http://lists.racket-lan

[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
'm not yet back at school, 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 > wrote: > disregard; it seems to be the combination of my development b

[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 wrote: > I don’t know how close we are to release… I just saw a big bug and I want to > test it a

[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

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% pkgs/gui-pkg-m

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 > - Stepper Tests Done. > Updates: > - Stepper Updates: update HISTORY > (updates should show

[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

[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 mo

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.

[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: Applyi

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

2013-10-22 Thread John Clements
ror. > Appearently, the only 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 part

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

2013-10-12 Thread John Clements
key event. The docs suggest that it should work. Obviously, the workaround is just to capture the x value whenever the mouse moves. Maybe get-x should just be removed from the key event? John > > > > On Oct 9, 2013, at 5:17 PM, John Clements wrote: > >> It appea

[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 va

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. > > https://github.com/davidtpierson/racket/commit/d2fb85

[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 (128.187.1

[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 se

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 app

[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 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

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 > - 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 te

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 fi

[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] [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 >

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 > - Stepper Tests Done. > Updates: > - Stepper Updates: update HISTORY > (updates should show v5

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

2013-04-03 Thread John Clements
>From IRC, hope the copy&paste 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 D

Re: [racket-dev] "Add Teachpack" dialog can be very confusing

2013-04-01 Thread John Clements
On Apr 1, 2013, at 6:45 AM, Sam Tobin-Hochstadt wrote: > I don't see why middle school students would have more trouble with > `require` than with any other aspect of the system. > > Also, WeScheme just provides graphics libraries by default, which is > another option we could consider. Would i

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

2013-01-21 Thread John Clements
ory in such a directory, you can do this: > cd ...racket-root... > git archive --remote=git://git.racket-lang.org/plt.git release \ > -- collects/tests | tar x > > * John Clements > - Stepper Tests Done. > Updates: > - Stepper Updates: update HISTORY > (update

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 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 have no t

[racket-dev] another site that measures programming language popularity

2013-01-04 Thread John Clements
/site/pydatalog/pypl/PyPL-PopularitY-of-Programming-Language John Clements smime.p7s Description: S/MIME cryptographic signature _ Racket Developers list: http://lists.racket-lang.org/dev

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

2013-01-03 Thread John Clements
gt;>>> The documentation already says "A package is a set of modules for some >>>>>> number of collections." And there's no reason to think that these modules >>>>>> are different from other modules, so I don't see why we need to poi

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

2013-01-02 Thread John Clements
#x27;t see why we need to point out that > they are required like all other modules are. > > If you think it's very confusing, then feel free to push the commit with two > small changes: > > 1. The docs don't use the term "planet2", so just say "the Rac

[racket-dev] Attempted clarification for planet2 docs

2013-01-02 Thread John Clements
I doubted 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:0

Re: [racket-dev] Date Chooser

2012-12-26 Thread John Clements
ont. Attachment 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

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

[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 inter

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 > - 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 if th

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 identic

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 > function

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 wrote: >> A few minutes ago, Sam Tobin-Hochstadt wrote: >>> On Tue, Oct 16, 2012 at 3:39 PM, Eli Barzilay wrote: A few minutes ago, Sam Tobin-Hochstadt wrote: >>> >>> Unfortunately, we

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

2012-10-16 Thread John Clements
, I saw 17 pauses in 30 seconds 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

[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 -D_DARWI

[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 pr

[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] Apparently random segfaults in DrDr.

2012-10-09 Thread John Clements
, but instead with the teaching-language evaluation stepper. John > > Neil V. > > John Clements wrote at 10/09/2012 05:00 PM: >> The message below suggests that evaluating "stepper-tool.rkt" caused… a seg >> fault. I'm chalking this up to "oh,

[racket-dev] Apparently random segfaults in DrDr. (was: Fwd: [DrDr] R25433 (timeout 2) (unclean 2) (stderr 6) (changes 67) )

2012-10-09 Thread John Clements
The message below suggests that evaluating "stepper-tool.rkt" caused… a seg fault. I'm chalking this up to "oh, DrRacket sometimes crashes", but I admit that it makes me a bit uncomfortable. Advice or suggestions? John Begin forwarded message: > From: d...@racket-lang.org > Subject: [DrDr]

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. >>&g

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

2012-09-17 Thread John Clements
dn't release planet packages that depend 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) wit

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

2012-09-16 Thread John Clements
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 ...) ...) #`((clause.input ...) ...)]) et-cetera) That is, I've basically just renamed "clause.inpu

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

[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 t

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 differen

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 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 will convert

[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

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% collects/rac

[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 "/t

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

2012-08-27 Thread John Clements
s. It may well be that you're actually interested in student language programs, which would be good in the sense that the stepper's annotation is more robust for these programs, and a bit of extra work in the sense that I'd have to doctor the annotation to take this into account

[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: http://d

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] 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 > - 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 te

[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, n

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

2012-06-27 Thread John Clements
On Jun 21, 2012, at 10:09 AM, Robby Findler wrote: > I'll try to do something along these lines. It shouldn't be hard to > make it a tooltip. Don't spend too much time on it! John > > Robby > > On Thu, Jun 21, 2012 at 11:03 AM, John Clements > wrote

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

2012-06-25 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

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

2012-06-21 Thread John Clements
really--radiate from 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 >

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

2012-06-21 Thread John Clements
> (for/list ([b (in-list (nested-flow-blocks i))] > [pos (in-naturals)]) >(render-block b part ri (and starting-item? (zero? pos) > > Robby > > On Thu, Jun 21, 2012 at 3:24 AM, Eli Barzilay wrote: >> An hour and a half ago, John Clements

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))

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

2012-06-20 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] [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

[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 co

[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 > Subject: Introducing Developer ID and Gatekeeper. > Date: April 30, 201

[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 === /Users/clements/plt/collects/setup/set

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 wit

[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 m

[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 whet

  1   2   3   4   5   >