Re: [racket-dev] Should BSL signal an error on (require ...) in an unsaved buffer?

2011-06-27 Thread John Clements
, 2011, at 7:37 PM, John Clements wrote: I'm fixing require in the stepper, and I want to make sure that the existing behavior is desirable before I try to simulate it. In particular, my experiments suggest that require in an unsaved buffer implicitly requires things from (current

Re: [racket-dev] Should BSL signal an error on (require ...) in an unsaved buffer?

2011-06-27 Thread John Clements
On Jun 27, 2011, at 5:47 PM, Robby Findler wrote: On Tue, Jun 28, 2011 at 8:41 AM, John Clements cleme...@brinckerhoff.org wrote: On Jun 27, 2011, at 5:28 PM, Robby Findler wrote: On Tue, Jun 28, 2011 at 8:19 AM, John Clements cleme...@brinckerhoff.org wrote: On Jun 27, 2011, at 5:10

[racket-dev] RacketCon lodging

2011-06-26 Thread John Clements
Are there any group-ish plans for RacketCon lodging? A campsite, say... :) John smime.p7s Description: S/MIME cryptographic signature _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev

Re: [racket-dev] more general typed/scheme bafflement...

2011-06-07 Thread John Clements
On Jun 7, 2011, at 4:26 PM, Carl Eastlund wrote: John, You had an easy time with + because it is monomorphic. You are having trouble applying one polymorphic function (map) to another (list or list2). Instantiate one or both functions explicitly, and Typed Racket won't get confused by

Re: [racket-dev] OSX problems

2011-06-02 Thread John Clements
On Jun 2, 2011, at 8:29 PM, Eli Barzilay wrote: Is there anyone awake now, with a current (git head) OSX build, and that sees the problem of not being able to choose *.rkt files in the open file dialog? More details, please. I'm on Welcome to DrRacket, version

Re: [racket-dev] Racket breaking and exiting

2011-06-01 Thread John Clements
with a REPL. That is, you set current-input-port to pull from the string a, then you drop into the REPL, which reads from stdin, producing the string a, which reads as a reference to the variable a. No? John Clements smime.p7s Description: S/MIME cryptographic signature

[racket-dev] type-case + typed racket yet?

2011-05-25 Thread John Clements
missed? Apologies for a hastily written e-mail. John Clements smime.p7s Description: S/MIME cryptographic signature _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev

[racket-dev] goofy type hack (was: Re: type-case + typed racket yet?)

2011-05-25 Thread John Clements
On May 25, 2011, at 12:53 PM, Sam Tobin-Hochstadt wrote: On Wed, May 25, 2011 at 12:27 PM, John Clements cleme...@brinckerhoff.org wrote: Is there a best-practice model for type-case-like things in typed racket yet? Obvious choices: - tagged-list style, it's all a big cond but I have

[racket-dev] breaking news nearly invisible

2011-05-24 Thread John Clements
I saw a commit go by that seemed to suggest that the racket-lang web page now included some kind of breaking news item regarding RacketCon. So I went to the web site but... nothing. ... Five minutes later I was looking at the browser window again, and... hey! There it is! My point? It's

[racket-dev] docs not showing up on PLaneT for gzip.plt

2011-05-19 Thread John Clements
I just persuaded Jens Axel Soegaard to submit a new gzip library on my behalf; unfortunately, it shows up in PLaneT as having Docs: [none]: http://planet.racket-lang.org/display.ss?package=gzip.pltowner=soegaard ...despite this info.rkt file: #lang setup/infotab (define name gzip) (define

Re: [racket-dev] Fancy application/automatic anonymous functions

2011-05-17 Thread John Clements
On May 17, 2011, at 12:14 PM, Sam Tobin-Hochstadt wrote: Scala has the nice feature that if you write something like this: lst.map(_ - 1) It automatically rewrites to a function like this: lst.map(x = x - 1) This makes writing some higher-order functions much easier. Of course, it's

Re: [racket-dev] Fancy application/automatic anonymous functions

2011-05-17 Thread John Clements
On May 17, 2011, at 12:21 PM, Robby Findler wrote: What is the rule for where the lambda goes? Looks to me like it goes at the outside. So the macro plows through the terms and when it gets to the bottom, it decides either to wrap the whole thing in a lambda or not. John Robby On

Re: [racket-dev] planet-version follies with old planet packages

2011-05-16 Thread John Clements
On May 15, 2011, at 6:24 AM, Robby Findler wrote: On Sun, May 15, 2011 at 7:50 AM, Matthew Flatt mfl...@cs.utah.edu wrote: At Sat, 14 May 2011 20:58:53 -0700, John Clements wrote: I've been having trouble with an older PLaneT package, and I've finally narrowed it down to a problem

Re: [racket-dev] planet-version follies with old planet packages

2011-05-16 Thread John Clements
On May 16, 2011, at 4:21 PM, Robby Findler wrote: It would be helpful if you supplied a little more information on how you're seeing the problem, at least. I guess there is a second package involved? No, it's entirely self-contained. One library, no references to other PLaneT packages.

[racket-dev] planet-version follies with old planet packages

2011-05-14 Thread John Clements
I've been having trouble with an older PLaneT package, and I've finally narrowed it down to a problem with the change in version-numberings. Specifically, I install Jens Soegaard's gzip.plt package (which installs all right), and then I can't use it. The problem turns out to be that planet

Re: [racket-dev] added function to srfi-19....

2011-05-03 Thread John Clements
On May 3, 2011, at 2:55 PM, Matthew Flatt wrote: I think it's a bad idea to extend the SRFI modules with new functions. Would it make sense to move functionality from SRFI-19 into `racket/date' and then add the new functions there (and maybe change the SRFI-19 implementation to re-export

[racket-dev] racket vs. scheme vs. clojure (as it appears to others)

2011-04-29 Thread John Clements
that Racket isn't Scheme. – John Clements 20 hours ago I don't know if I'd like to turn to some fringe language. Also seems odd to me to call it a Scheme implementation if it's not meant to be Scheme at all. I really like standards and Scheme seems to suffer greatly in that area. I think I may

[racket-dev] thanks, drdr!

2011-04-28 Thread John Clements
DrDr is awesome. Many thanks. John smime.p7s Description: S/MIME cryptographic signature _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev

[racket-dev] An occasional newline in the PLaneT install Log?

2011-04-27 Thread John Clements
I'm paging through the PLaneT install log on my machine, and this would be simpler and easier to read and more friendly to various logging tools if different installs were on different lines. Would it be all right to add a newline before each new package entry? So, for instance, =

Re: [racket-dev] release blurb for 5.1.1

2011-04-26 Thread John Clements
On Apr 26, 2011, at 2:33 PM, Eli Barzilay wrote: More things: Casey: - Redex version of Jay's continuation mark transformation (3250ff84) - Other redex news? Vincent: - TR's numeric tower is now built from unions of non-overlapping base types. (d4c93cc1) Vincent/Sam: other

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

2011-04-22 Thread John Clements
On Apr 20, 2011, at 8:41 PM, Ryan Culpepper wrote: * John Clements cleme...@brinckerhoff.org - Stepper Tests Done. Updates: - Stepper Updates: update HISTORY (updates should show v5.1.1 as the most current version; email me to pick the changes when they're done, or tell me

Re: [racket-dev] Places -- on by default in v5.1.1.2. (git master)

2011-04-19 Thread John Clements
On Apr 19, 2011, at 8:27 AM, Kevin Tew wrote: The configure script has been changed to enable places by default. Note: places are NOT enabled by default for the upcoming V5.1.1 release. This means that parallel zo and doc builds will use places instead of processes. Should I expect to

[racket-dev] Top ICFP authors

2011-04-12 Thread John Clements
I recently saw microsoft's academic brag site, and I was pleased to see that Matthew is near the top of the list of most frequent ICFP publications. Look, it even has a picture of him... oh... uh... oops. http://academic.research.microsoft.com/Detail?entitytype=3searchtype=1id=28 ... wait...

[racket-dev] Totally loving new warnings, how to make them more obvious in DrRacket?

2011-04-11 Thread John Clements
I've recently been running programs from the command-line with -W info, and I *totally love* the warnings I'm getting from the optimizer about arity errors etc. I know, I know, this is the same reason that you crank the optimization level up in gcc: to get errors about uninitialized variables.

[racket-dev] handin-server web interface... non-functional? and docs don't appear?

2011-03-27 Thread John Clements
It looks to me like the handin server's web interface isn't currently working. I enabled the handin server with the https-server-port set to 7980, and got no response on that port. Perhaps the larger mystery here is why it is that I just can't find the documentation for the handin server...

Re: [racket-dev] change default binding of c:x; c:w to save definitions as... ?

2011-03-22 Thread John Clements
other than the control key, so again, both sets of bindings work. John Clements smime.p7s Description: S/MIME cryptographic signature _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev

Re: [racket-dev] change default binding of c:x; c:w to save definitions as... ?

2011-03-22 Thread John Clements
On Mar 21, 2011, at 2:33 PM, Robby Findler wrote: Not from me. I just spent a few minutes fussing with my own private keymap, and I've hit a (minor?) roadblock. This code: (when (eq? (system-type) 'macosx) ;; first, let's try the one we think is there... (kb d:s:s Save

Re: [racket-dev] change default binding of c:x; c:w to save definitions as... ?

2011-03-21 Thread John Clements
parameterize the keybindings by platform in a way that would make a platform-specific mapping straightforward. John Clements On Mar 21, 2011, at 12:10 PM, Robby Findler wrote: It looks like c:x;c:s is also doing the wrong thing by that measure. It feels a little bit strange to change

Re: [racket-dev] change default binding of c:x; c:w to save definitions as... ?

2011-03-21 Thread John Clements
On Mar 21, 2011, at 1:29 PM, Robby Findler wrote: We can do whatever is standard on whatever platform nowadays thanks to gr2. Well, that simplifies things; any objection to just adding shift-command-S for Save Definitions As... to the Mac platform? John smime.p7s Description: S/MIME

Re: [racket-dev] nice way to show a bitmap in a frame?

2011-03-19 Thread John Clements
On Mar 19, 2011, at 8:05 AM, Matthew Flatt wrote: You could use `message%' with the bitmap as its label: #lang racket/gui (define bitmap (read-bitmap /tmp/red-arrow.bmp)) (define f (new frame% [label Bitmap])) (new message% [parent f] [label bitmap]) (send f show #t) That's a lot

[racket-dev] randomly needing to re-run raco setup lazy?

2011-03-15 Thread John Clements
I find that frequently installing a planet package or recompiling some collection that contains a tool causes this startup message[*]: pcp070579pcs:/tmp clements$ link: reference (phase 0) to a variable in module /Users/clements/plt/collects/string-constants/string-constant.rkt that is

Re: [racket-dev] Wikipedia on macros... sigh

2011-03-11 Thread John Clements
energy, though, I'd clean up the citation. John -Original Message- From: dev-boun...@racket-lang.org [mailto:dev-boun...@racket-lang.org] On Behalf Of John Clements Sent: 11 March 2011 08:24 To: Eli Barzilay Cc: PLT Developers Subject: [racket-dev] Wikipedia on macros... sigh

Re: [racket-dev] location of foldts?

2011-03-07 Thread John Clements
On Mar 7, 2011, at 12:24 PM, Noel Welsh wrote: Yes, something like that seems the right solution. N. Mind if I go ahead and do that? John On Mon, Mar 7, 2011 at 1:22 PM, Robby Findler ro...@eecs.northwestern.edu wrote: The rackunit foldts seems test-suite specific so perhaps it

[racket-dev] location of foldts?

2011-03-06 Thread John Clements
Currently, 'foldts' is provided by rackunit. Not surprisingly, the sxml stuff also provides foldts. I'd rather just have one copy--especially because 'except-in' requires seem to sometimes incur large performance penalties--but I'm not really sure where that right place is. Honestly, I don't

[racket-dev] form:binding / request utilities

2011-03-04 Thread John Clements
I'm doing a web-server/insta example in class, and one of my students (Arlo White, cc:'ed) pointed out that the existing framework for extracting bindings seems to be missing a bunch of useful functions. In particular, he volunteered to implement a few of the functions from the Spring

Re: [racket-dev] overwrite

2011-02-27 Thread John Clements
On Feb 27, 2011, at 11:42 AM, Robby Findler wrote: Yes, that's it. Also, put something into the after-save-file-method: diff --git a/collects/framework/private/editor.rkt b/collects/framework/private/editor.rkt index 0c8981b..cb5504a 100644 --- a/collects/framework/private/editor.rkt +++

[racket-dev] massive penalty for (except-in (planet ...) ...) require ?

2011-02-17 Thread John Clements
Running a particular file has been crushingly slow for me, and I finally traced it down (apparently) to the addition of an except-in wrapper around a planet require. Adding the wrapper changes a consistently sub-1-second compile-and run into a big thrashing memory-fest. Is there some kind of

Re: [racket-dev] massive penalty for (except-in (planet ...) ...) require ?

2011-02-17 Thread John Clements
as a separate #%require. So it seems plausible that except-in, rename-in, etc. might seriously impact compile time. Also, FWIW: this is a hard-link planet package, not a normally installed one. John Carl Eastlund On Thu, Feb 17, 2011 at 5:04 PM, John Clements cleme...@brinckerhoff.org

Re: [racket-dev] massive penalty for (except-in (planet ...) ...) require ?

2011-02-17 Thread John Clements
, especially since I have every reason to believe that sxml provides a *lot* more names. Thanks! John Carl Eastlund On Thu, Feb 17, 2011 at 5:18 PM, John Clements cleme...@brinckerhoff.org wrote: On Feb 17, 2011, at 2:12 PM, Carl Eastlund wrote: I don't know precisely what is going

[racket-dev] sxml package takeover/updates?

2011-02-15 Thread John Clements
Dimitry (cc:ed) seems to be unresponsive. Currently, the sxml package has a tiny little problem in its info.rkt file which results in a grotesquely inflated compile time; ryan reported this quite some time ago. Based on the license notices in some of the source files, it appears that this

[racket-dev] okay to add planet error check?

2011-02-15 Thread John Clements
Currently, raco planet does not signal an error on the removal of a nonexistent link: pcp070580pcs:~/sxml clements$ raco planet unlink frooty bogus.plt 3 4 pcp070580pcs:~/sxml clements$ Anyone mind if I change the code to signal an error in this case? John Clements smime.p7s Description: S

Re: [racket-dev] okay to add planet error check?

2011-02-15 Thread John Clements
On Feb 15, 2011, at 12:55 PM, Carl Eastlund wrote: I have a make unlink target in my Planet-development Makefile that removes all the development links I commonly use. I use it to start fresh, when some or all of the links are installed. I would rather keep the ability to use it regardless

[racket-dev] tool transition leads to fragile middle-ground

2011-02-10 Thread John Clements
Updating tools from drscheme-drrracket involves two steps: 1) changing the tool to refer to drracket, and 2) changing the info.rkt file to refer to drracket-tools rather than tools. Unfortunately, if you do #2 before #1, you get a real head-scratcher of an error message: define-unit-binding:

Re: [racket-dev] mac builds with 64-bit kernel

2011-02-08 Thread John Clements
On Feb 8, 2011, at 12:15 AM, Matthew Blakley wrote: I've been trying to duplicate the macintel builds from the meta/build system on mac 10.6 system with 64-bit kernel (uname -m = x86_64). So in a git plt tree... ../src/configure --enable-sdk=/Developer/SDKs/MacOSX10.4u.sdk make

[racket-dev] response/sxml ?

2011-02-08 Thread John Clements
I'm scrumbling through the web server source, and it looks to me like there's a response/xexpr but no response/sxml ... yet. Right? I'm guessing I could do a half-assed job of building it, but I want to make sure it doesn't already exist. John smime.p7s Description: S/MIME cryptographic

[racket-dev] tool-names - drracket-tool-names ?

2011-02-04 Thread John Clements
It looks like the infotab/setup field named tool-names has been renamed drracket-tool-names. Is this correct? Should I make this change in all my PLaneT packages? John smime.p7s Description: S/MIME cryptographic signature _ For list-related

Re: [racket-dev] DrRacket's indentation of curly braces

2011-01-27 Thread John Clements
On Jan 27, 2011, at 8:49 AM, Casey Klein wrote: DrRacket indents this program (a ) differently than this program {a } Is this intentional? I can imagine the behavior being useful for Scribble, but it's annoying in a PLAI context where you're using curly braces for object

[racket-dev] Please fix typo in sxml.plt package on PLaneT?

2011-01-27 Thread John Clements
, and I'll supply the .plt file, if you like. Would you consider making this change? Many thanks, John Clements smime.p7s Description: S/MIME cryptographic signature _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev

Re: [racket-dev] Building without docs

2011-01-21 Thread John Clements
On Jan 18, 2011, at 8:07 AM, Eli Barzilay wrote: Two minutes ago, Noel Welsh wrote: For posterity, this works: On Mon, Jan 17, 2011 at 3:12 PM, Robby Findler ro...@eecs.northwestern.edu wrote: You can also set PLT_SETUP_OPTIONS to -D and then make install will avoid building the docs.

Re: [racket-dev] changing #lang plai to depend on racket rather than scheme?

2011-01-20 Thread John Clements
On Jan 19, 2011, at 1:13 PM, Jay McCarthy wrote: 2011/1/19 John Clements cleme...@brinckerhoff.org: I went looking for the immutable hash table functions in plai today, and I discovered that since plai is based on #lang scheme rather than #lang racket, you need to use old names in a bunch

[racket-dev] changing #lang plai to depend on racket rather than scheme?

2011-01-19 Thread John Clements
I went looking for the immutable hash table functions in plai today, and I discovered that since plai is based on #lang scheme rather than #lang racket, you need to use old names in a bunch of places. Just for the heck of it, I went ahead and changed scheme - racket in two places in

[racket-dev] cgywin build working? Which line endings?

2011-01-18 Thread John Clements
I have a student who's trying to compile DrRacket for Windows using cygwin, and I have two questions: 1) Is using cygwin to build from source expected to work? 2) It looks like the cygwin build expects UNIX-style line endings, is that correct? Many thanks, John smime.p7s Description:

[racket-dev] Gr2 on debian system: vastly better than 5.0.2!

2011-01-14 Thread John Clements
It probably won't come as a surprise to hear that the newer gr2 flavor of DrRacket resolves all of the bizarre (and unfixed) font problems I had with older versions of DrRacket on bare-bones debian systems. Thanks! John smime.p7s Description: S/MIME cryptographic signature

[racket-dev] JFYI: Apple's Mac App store now online

2011-01-11 Thread John Clements
This article from TidBITS http://db.tidbits.com/article/11864 describes the launch of the new Mac App Store. It's clearly Apple's intention to make this the primary way of distributing software on the Mac, and it wouldn't surprise me to see not-so-subtle barriers to non-app-store app

Re: [racket-dev] Fwd: Re: [racket] Couldn't find a step matching that criterion

2011-01-10 Thread John Clements
, something along the lines of There are no further steps to take and There are no previous steps to take would be better, IMO. Okay, I've made these messages more specific, by parameterizing over the fail-message associated with each operation. Let me know if you have other suggestions. John

Re: [racket-dev] Git

2011-01-07 Thread John Clements
On Jan 7, 2011, at 7:42 AM, Robby Findler wrote: Another question: what if I commit something just for the purpose of moving to another machine and I don't want that commit to show up in the main repository? Is that possible? (My tree is currently in that state; it is one commit ahead of

[racket-dev] Can't use (current-output-port) with subprocess in DrRacket: does it matter?

2011-01-07 Thread John Clements
Currently, you can't run the mongodb tests in DrRacket, because they use subprocess with (current-output-port), which (in DrRacket) is not a file-stream port. In DrRacket's interactions window: (file-stream-port? (current-output-port)) #f Is this expected, or should DrRacket's

[racket-dev] replacement for #:namespace arg in dispatch/servlet

2011-01-02 Thread John Clements
: is there a simple mechanism that replaces this optional argument? John Clements smime.p7s Description: S/MIME cryptographic signature _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev

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

2011-01-02 Thread John Clements
/mred/private/ ~~ 47e3db0 John Clements cleme...@racket-lang.org 2011-01-02 14:45 : | change pref name to match docs Hope this isn't too forward of me; I figured that since the docs had already changed, it wouldn't be too presumptuous to change the implementation. Apologies

[racket-dev] JFYI: stderr noise while running drracket on Fedora Core 9

2011-01-02 Thread John Clements
While running drracket on Fedora Core 9, I got a bunch of stderr messages from Gdk: cleme...@vogon:~/.racket/5.0.99.6 $ Gdk: gdk_window_thaw_updates: assertion `private-update_freeze_count 0' faile Gdk: gdk_window_thaw_updates: assertion `private-update_freeze_count 0' faile Gdk:

[racket-dev] up-to-date libgtk for drracket on debian stable?

2010-12-31 Thread John Clements
Debian is a slow-moving distribution, and it looks to me like the version of libgtk in the stable version of Debian Lenny isn't new enough for DrRacket. Here's what I get on startup: ffi-obj: couldn't get gtk_combo_box_set_button_sensitivity from libgtk-x11-2.0.so.0

[racket-dev] TR for PL class

2010-12-26 Thread John Clements
Eli: You use a variant of TR for your PL class, right? Is your stuff fairly straightforward, or would it be a mistake for me to try to adopt it? I just tried installing your .plt package, and got a few install errors (below, if you care), so it's hard for me to evaluate this myself. I took a

[racket-dev] DrDr 'shmget' errors

2010-12-08 Thread John Clements
I'm seeing this result from DrDr on one of my files: (gracket:19767): Gdk-WARNING **: shmget failed: error 28 (No space left on device) ... and I'm assuming that it's a drdr issue related to running files that involve graphical display, and that I don't need to worry about it. Is this

Re: [racket-dev] tags on github

2010-12-07 Thread John Clements
On Dec 7, 2010, at 5:52 PM, Eli Barzilay wrote: 6 minutes ago, Robby Findler wrote: It is a kind out of the way place but it would be a shame if someone went there, esp. since the latest stuff is in the middle of the list. OK, so I'll take it as a yes vote. Any suggestion for new names?

[racket-dev] Fwd: [plt-edu] Internal defines in learning languages?

2010-12-02 Thread John Clements
Begin forwarded message: Shriram wrote: And the syntax of local IS a problem. (dev-only) +1 John smime.p7s Description: S/MIME cryptographic signature _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev

[racket-dev] OpenMath / SCSCP?

2010-12-02 Thread John Clements
I just heard about OpenMath SCSCP, open standards (XML-based) for representing algebraic entities and allowing remote procedure calls to a variety of existing commercial and free algebraic solvers, and my first thought was: yikes! Do we have bindings for this? It looks like we don't. Given the

Re: [racket-dev] [racket] Exploratory programming?

2010-12-01 Thread John Clements
, and has collected about 3900 errors. It's not yet ready for download, but I'd be interested in hearing whether something like this could be useful for you. John Clements smime.p7s Description: S/MIME cryptographic signature _ For list-related

[racket-dev] planet package dependencies (was: Re: code base metrics)

2010-11-30 Thread John Clements
While you're in meta-programmer mode, any interest in automatically computing planet dependencies? I'd *love* to know what packages a planet package depends on. I understand that in the presence of dynamic-require, you can only do so well, but even a first approximation could be incredibly

Re: [racket-dev] [racket] Plea for neologism (was: Re: letoverlambda)

2010-11-24 Thread John Clements
(followups trimmed to dev; is that an acceptable strategy?) On Nov 24, 2010, at 12:44 PM, Robby Findler wrote: On Wed, Nov 24, 2010 at 1:49 PM, John Clements cleme...@brinckerhoff.org wrote: On Wed, Nov 24, 2010 at 11:05 AM, Robby Findler ro...@eecs.northwestern.edu wrote: On Wed, Nov 24

[racket-dev] Racking your brain

2010-11-23 Thread John Clements
... p.s.: anyone who uses the terrible pun Racking Your Brain in a paper title must now treat me to a rack of lamb. Unless that paper's already written. John smime.p7s Description: S/MIME cryptographic signature _ For list-related

[racket-dev] TR - no source locations?

2010-11-20 Thread John Clements
It appears to me that TR does not preserve source locations, which makes testing extremely painful (which test failed? Who knows.) I'm hoping that I'm just missing something obvious, here. I'm also in the market for obvious workarounds. Apologies if this is a FAQ; I did actually google for the

Re: [racket-dev] Tab switching keyboard shortcuts on Mac

2010-11-17 Thread John Clements
On Nov 14, 2010, at 1:35 PM, Dmitry Chestnykh wrote: On Sun, 14 Nov 2010, Robby Findler wrote: Currently, DrRacket uses cmd-[ and cmd-] and it seems unfortunate to have to change that by adding another modifier. I see that terminal uses that for cycling windows, and safari and firefox use

Re: [racket-dev] enum returns #f on c-racket no match?

2010-11-16 Thread John Clements
On Nov 15, 2010, at 3:02 PM, John Clements wrote: The documentation for '_enum says this: 3.8 Enumerations and Masks Although the constructors below are describes as procedures, they are implemented as syntax, so that error messages can report a type name where the syntactic

Re: [racket-dev] OT: stump misunderstands Scheme?

2010-11-16 Thread John Clements
On Nov 16, 2010, at 2:13 PM, Robby Findler wrote: That expression at the end is somehow turning a procedure back into its quoted form. I have no idea if a Scheme that did that would be R5 or not, but Racket definitely does not allow that (and neither did any other programming language that

[racket-dev] Fwd: Q. about Directly Reflective paper

2010-11-16 Thread John Clements
Well, he's generous about it; here's what he had to say. John Begin forwarded message: From: Aaron Stump aaron-st...@uiowa.edu Date: November 16, 2010 5:58:42 PM PST To: John Clements cleme...@brinckerhoff.org Subject: Re: Q. about Directly Reflective paper Reply-To: ast...@cs.uiowa.edu

[racket-dev] enum returns #f on c-racket no match?

2010-11-15 Thread John Clements
The documentation for '_enum says this: 3.8 Enumerations and Masks Although the constructors below are describes as procedures, they are implemented as syntax, so that error messages can report a type name where the syntactic context implies one. (_enum symbols [basetype]) → ctype? symbols

[racket-dev] Simple loop checking in beginner?

2010-11-09 Thread John Clements
frustration, and would not prevent students from writing the programs that they wanted to. No? John Clements #lang racket (require rackunit) (define-syntax (define/noloop stx) (syntax-case stx () [(_ (funname arg ...) body ...) #`(define funname (let () (define

[racket-dev] plot's fit functionality

2010-11-05 Thread John Clements
I've just been cleaning up plot's fit functionality, and I'm starting to wonder... did it *ever* work? John smime.p7s Description: S/MIME cryptographic signature _ For list-related administrative tasks:

[racket-dev] FFI question; using _or-null around output ptr gives binding error.

2010-11-05 Thread John Clements
Here's an ffi object I'd like to construct: (define do-fit-int (get-ffi-obj do_fit libfit (_fun (func : (_fun _int _pointer - _double)) (val-num : _int = (length x-values)) (x-values : (_list i _double*)) (y-values : (_list i _double*))

[racket-dev] saving .scrbl file OS X message box

2010-11-03 Thread John Clements
Dear Heavens, this is the most unpleasant message box I've seen in a while, when trying to save a file with the extension scrbl in OS X 10.6.4: boldYou cannot save this document with extension .scrbl at the end of the name. The required extension is ../bold You can choose to use both, so that

[racket-dev] OS X: new GC icon... gets left behind?

2010-11-03 Thread John Clements
I like the new gc cursor. I see something interesting though, when DrRacket starts spinning hard, which is that the recycle cursor gets left wherever it was, and the traditional pizza returns. This is more in the realm of curiosity than bug, though. John smime.p7s Description: S/MIME

[racket-dev] non-reproducible gr2 bug heads-up

2010-10-29 Thread John Clements
I had a not-easily-reproducible problem today where the tab-change keybinding (shift-cmd-right) was not working as expected. In particular, hitting with two tabs open and the first one shown would switch briefly to the second, then pop back to the first. As I've said, I don't know how to

[racket-dev] Yikes! Images in science collection could be much smaller

2010-10-29 Thread John Clements
Your science collection stores images as bitmaps. Storing them as png's instead reduces their size by about 99%. This is lossless, so there's no reduction in quality. If I'm doing the math correctly, this could reduce the size of the installed science collection from about 78 megabytes to

[racket-dev] Text spacing different in gr2

2010-10-28 Thread John Clements
I don't know whether this is better or worse, but it's different; in gracket2, the intro lines of text in the interactions pane are closer together. I measured the distance between the first and second line baselines to be two pixels larger (18 vs. 16) in the old version, gracket. This is

[racket-dev] relative lines of C in gracket vs. gracket2

2010-10-28 Thread John Clements
I took a look at the size of our C code base (all files ending in .c, .h, .cpp, and .cxx, not including those with 'xsrc' in the path) to see how much smaller gracket2 is, and (assuming I didn't miss something major) the difference is truly impressive. The below is ... | wc | sort -n | tail,

[racket-dev] sharing cpointers between namespaces

2010-10-28 Thread John Clements
I've put together a fix for the inability to share FFI objects between user namespaces... but it has a catch. Specifically, I moved the define-struct of cpointer into a module by itself, called ffi/unsafe/cvector-def; that way, my tool.rkt file can require this one-line module and attach it to

[racket-dev] gr2 language menu appears to be drunk

2010-10-28 Thread John Clements
This reminds me of those medication ads that have wavy text to prevent detection. Look at the text line at the start of a program to see what I mean. Eli, sorry for the 50K attachment. John inline: wavy-letters.png smime.p7s Description: S/MIME cryptographic signature

Re: [racket-dev] FFI problem, possibly related to chaperones

2010-10-27 Thread John Clements
On Oct 27, 2010, at 9:54 AM, Matthew Flatt wrote: I think Robby recently changed DrRacket so that user programs don't share `ffi/unsafe' with DrRacket. That would lead to multiple `s16vector' structure types (which didn't occur to me when Robby asked if it would be ok to not share), and that

[racket-dev] planet remove triggers re-installation?

2010-10-26 Thread John Clements
Let me preface this by saying that I'm sure this is somehow my fault. Nevertheless, it seems broken. Trying to *remove* a planet package triggers its re-download and installation. See the transcript below. I'm guessing this has something to do with my use of development links, though I don't

Re: [racket-dev] 5.0.2 changelog

2010-10-26 Thread John Clements
On Oct 26, 2010, at 12:28 PM, Matthias Felleisen wrote: 1. BSL, BSL+, ISL, and ISL+ (HtDP teaching languages) no longer support checked signatures. 2. The stepper should kind of mostly work for universe programs. John? Precisely. That is: there's more junk that could be hidden, but

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

2010-10-23 Thread John Clements
On Oct 21, 2010, at 4:07 PM, Ryan Culpepper wrote: Checklist items for the v5.0.2 release (using the v5.0.1.900 release candidate build) * John Clements cleme...@brinckerhoff.org - Stepper Tests Updates: - Stepper Updates: update HISTORY (updates should show v5.0.2 as the most

Re: [racket-dev] Release for v5.0.2 has begun

2010-10-20 Thread John Clements
On Oct 20, 2010, at 7:39 AM, Doug Williams wrote: I downloaded the pre-release version this morning - 10/20 (I believe it was a build from 10/16). The plot package and plot extensions in the science collection all work as expected. But, I am getting different numeric answers for some of

Re: [racket-dev] expected timing difference between fft-complex-forward and fft-complex-radix2-forward?

2010-10-19 Thread John Clements
On Oct 19, 2010, at 5:17 AM, Doug Williams wrote: On my laptop: #lang racket (require fft.rkt) (define v (build-vector 16384 (lambda (i) (random (define v1 (vector-copy v)) (collect-garbage) (collect-garbage) (collect-garbage) (time (fft-complex-radix2-forward v1))

Re: [racket-dev] internal definitions stepper

2010-10-19 Thread John Clements
On Oct 19, 2010, at 10:02 AM, John Clements wrote: 2) The interactive tests fail like this: given: #(struct:error-result namespace-variable-value: test~object is not defined) I haven't worked on this one yet... but it looks like this is also something that was added this month

[racket-dev] Grr... why can't I pull?

2010-10-19 Thread John Clements
Okay, this just sounds stupid: my 'git fetch' is failing on the PLT tree. I can ssh to the pltgit machine just fine: john-clementss-macbook-pro:~/git-clements clements$ ssh git PTY allocation request failed on channel 0 hello clements, the gitolite version here is v1.4-14-g36317c4 the gitolite

Re: [racket-dev] internal definitions stepper

2010-10-19 Thread John Clements
Okay, here's what seems to be broken: 1) cond, as Mike observed. This is related to the different expansion of cond. 2) make-foo, where foo is a user-defined structure. There's a mysterious extra false that's showing up. 3) reduction of (cons 1 (cons 2 empty)) in beginner only. 4) local

[racket-dev] question about your change to run-teaching-languages.rkt

2010-10-14 Thread John Clements
Back on October 11, you made a change to run-teaching-languages.rkt that works absolutely fine with the stepper. ...but it breaks the stepper's testing harness. Ugh. The problem, IIUC, is that the expansion of the teaching-language programs refer to a module, test-engine/racket-tests, that

[racket-dev] expected timing difference between fft-complex-forward and fft-complex-radix2-forward?

2010-10-14 Thread John Clements
in the magnitude (didn't check the phase). 1) Is this expected? I thought the non-radix2 one was still fairly clever about subdividing when the number of points is divisible by 2. 2) If so, would it make sense to test for powers of 2? John Clements smime.p7s Description: S/MIME cryptographic signature

Re: [racket-dev] Racket runs on 64-bit ubuntu, right?

2010-10-13 Thread John Clements
On Oct 7, 2010, at 4:45 PM, Matthew Flatt wrote: At Thu, 7 Oct 2010 16:23:33 -0700, John Clements wrote: Here's the student's backtrace. And yes, I now see that it *does* look like the font issue that Matthew mentioned. Actually, this looks more like an OpenGL issue. I don't have any

Re: [racket-dev] Racket runs on 64-bit ubuntu, right?

2010-10-07 Thread John Clements
On Oct 5, 2010, at 10:37 AM, Kevin Tew wrote: I build on 64bit ubuntu every day. a gdb backtrace would be helpful. gdb handle SIGSEGV nostop noprint gdb run Kevin I finally got a reply from the student. Here's what he said: Ok, sorry this took so long, but I had to do the ritual

<    1   2   3   4   >