[racket-dev] Wikipedia page

2010-06-08 Thread John Clements
I've taken a first crack at creating a Racket (programming language) page in wikipedia, simply by copying the first few chunks of the PLT Scheme page. This is a bit experimental, because it may be that Wikipedia has an existing mechanism for renaming, so I figured I'd just spend five minutes

Re: [racket-dev] [racket] [scribble] rendering syntax

2010-06-09 Thread John Clements
On Jun 9, 2010, at 5:05 AM, Sam Tobin-Hochstadt wrote: On Tue, Jun 8, 2010 at 11:27 PM, Eric Tanter etan...@dcc.uchile.cl wrote: Yes, Carl got my point right. And yes, that's like showing square brackets in the stepper ;) Right now, the two cases are slightly asymmetric, since there's a

[racket-dev] make xml structs transparent?

2010-06-18 Thread John Clements
Is there some good reason why the 'document' and 'prolog' structures in the xml library are not transparent? In the just trying to see what's there stage of programming, it would be a lot simpler not to have to dig through them with explicit accessors. John smime.p7s Description: S/MIME

[racket-dev] Windows test bundle 29M vs. 47M for other platforms?

2010-07-19 Thread John Clements
On this page http://pre.racket-lang.org/release/installers/ the reported size of the Windows installer is 29M, vs. about 47 or 48 M for other platforms. I see that this was true of the 5.0 release as well, so this is probably expected, but I'm curious: why is this? Is it just that the other

Re: [racket-dev] P4P: A Syntax Proposal

2010-07-30 Thread John Clements
On Jul 30, 2010, at 6:47 AM, Robby Findler wrote: On Fri, Jul 30, 2010 at 4:05 AM, Eli Barzilay e...@barzilay.org wrote: IMO, this thing is missing the point (the usual parens, ewww! one), as long as it ignores infix. Seems to me that this point directly contradicts one of Shriram's

[racket-dev] x86_64 libs not available to 32-bit ffi, right?

2010-08-03 Thread John Clements
Reality check: I can't use the Racket ffi libraries to load 64-bit x86_64 shared libs, can I? John smime.p7s Description: S/MIME cryptographic signature _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev

[racket-dev] Added Sierpinski example to wikipedia page

2010-08-16 Thread John Clements
I happened upon the Racket wikipedia page again, and yet again the Hello World section made me want to cry. So I deleted it, and replaced it with the straightforward version of racket's Hello, World! program, viz.: #lang racket Hello, World! ...then I added the sierpinski example from the

Re: [racket-dev] RFC: Coding Guidelines

2010-08-17 Thread John Clements
On Aug 17, 2010, at 3:57 PM, Jay McCarthy wrote: We're attempting to write down coding guidelines for the project. Here is a first attempt: http://faculty.cs.byu.edu/~jay/tmp/201008161509-guidelines.html and that you and your readers will so in the future Will so? Should that have been

Re: [racket-dev] RFC: Coding Guidelines

2010-08-19 Thread John Clements
On Aug 17, 2010, at 4:27 PM, Jay McCarthy wrote: On Tue, Aug 17, 2010 at 2:24 PM, John Clements cleme...@brinckerhoff.org wrote: On Aug 17, 2010, at 3:57 PM, Jay McCarthy wrote: We're attempting to write down coding guidelines for the project. Here is a first attempt: http

Re: [racket-dev] Racket stuffs

2010-08-26 Thread John Clements
On Aug 26, 2010, at 2:51 PM, Eli Barzilay wrote: On Aug 17, Eli Barzilay wrote: So now I have these counts: http://tmp.barzilay.org/r1.png 4 http://tmp.barzilay.org/r3.png 1 http://tmp.barzilay.org/r4.png 2 Update on this: the first version (r1 above) was by far the most

Re: [racket-dev] stepper UI question

2010-08-26 Thread John Clements
On Aug 26, 2010, at 10:59 AM, Shriram Krishnamurthi wrote: Got it. Thanks for all the inputs and for the great suggestion! A couple of comments: 1) I could very well be mis-stating his position, but I think that Guillaume felt quite strongly that the reductions should occur in the

Re: [racket-dev] stepper UI question

2010-08-26 Thread John Clements
On Aug 26, 2010, at 5:23 PM, Shriram Krishnamurthi wrote: I know Guillaume proposed to do it in the context of the editor. I'm unconvinced that that's the right way to go. At any rate, integrating into an existing bit of infrastructure (def'ns or inter's) is going to be much more complex

[racket-dev] drdrdown?

2010-08-28 Thread John Clements
Is DrDr down? The latest build I see on drdr.racket-lang.org is from 2010-08-25. Apologies if I missed an announcement. John smime.p7s Description: S/MIME cryptographic signature _ For list-related administrative tasks:

Re: [racket-dev] parallel raco setup failing on Linux machine?

2010-09-01 Thread John Clements
On Sep 1, 2010, at 1:55 PM, John Clements wrote: I'm trying to run 'make install' on a Linux VPS, and it's halting -- at different points -- with errors that look like this: ... raco setup: made: framework raco setup: made: browser/private raco setup: made: framework/private raco setup

[racket-dev] match/fail*: re-inventing the wheel for better error messages with match?

2010-09-02 Thread John Clements
Match is fantastic, and sometimes you want finer control over the error messages. This morning I whipped up a match/fail* macro, which successively matches against a sequence of patterns, and allows you to specify a separate fail message for each layer. It's a simple macro, and I give a use of

Re: [racket-dev] [racket-bug] all/11166: stepper index off by one

2010-09-07 Thread John Clements
On Sep 7, 2010, at 6:56 AM, mlsm...@cs.vassar.edu wrote: A new problem report is waiting at http://bugs.racket-lang.org/query/?cmd=viewpr=11166 Reported by Marc Smith for release: 5.0.1 *** Description: When stepping through a program in BSL, the stepper shows current progress, e.g.,

[racket-dev] Q. about live snips

2010-09-07 Thread John Clements
I'm writing code for beginners that produces sound values. I'd like to render these values as snips that have a start and a stop button. My first experiment looked like this: #lang racket (require racket/gui) (define f (make-object image-snip%

[racket-dev] Shared-instantiation modules

2010-09-10 Thread John Clements
Seems like a FAQ, but: I want to associate a single sound player with a drscheme process. When student code runs, it needs to send messages to that sound player. I want to make sure there's only one running at a time. The first thing that pops into my head is some kind of shared-require

Re: [racket-dev] Shared-instantiation modules

2010-09-10 Thread John Clements
On Sep 10, 2010, at 8:17 PM, Eli Barzilay wrote: On Sep 10, Robby Findler wrote: FWIW, this is one path that tools can use to circumvent DrRacket's property (well, the property we work towards anyways) that no program can cause DrRacket itself to crash or freeze. So if you do provide things

[racket-dev] rename + changes = bad? (was: Fwd: [plt] Push #21110: master branch updated)

2010-09-17 Thread John Clements
=[ 1 Commits ]== Directory summary: 100.0% collects/test-engine/ ~~ a095ebc John Clements cleme...@racket-lang.org 2010-09-17 10:18 : | added format arg to printf to avoid corner-case printf bugs, rackety changes : M collects

Re: [racket-dev] rename + changes = bad? (was: Fwd: [plt] Push #21110: master branch updated)

2010-09-17 Thread John Clements
On Sep 17, 2010, at 11:03 AM, Sam Tobin-Hochstadt wrote: On Fri, Sep 17, 2010 at 1:36 PM, John Clements cleme...@brinckerhoff.org wrote: Oof... it looks like doing a rename plus a few changes pretty effectively hides those changes, though I can dig them out with 'git annotate'. Do we

[racket-dev] speeding up 16-bit integer adds

2010-09-23 Thread John Clements
I'm trying to add together big buffers. The following code creates two big fat buffers of 16-bit integers, and adds them together destructively. It looks to me like this code *could* run really fast, but it doesn't; this takes about 8.5 seconds. Changing + to unsafe-fx+ has no detectable

Re: [racket-dev] speeding up 16-bit integer adds

2010-09-23 Thread John Clements
On Sep 23, 2010, at 8:16 PM, Matthew Flatt wrote: One more thought: Do you get to pick whether you use 16-bit integers or 64-bit floating-point numbers? The `flvector-' and `f64vector-' operations are inlined by the JIT and recognized for unboxing, so using flonum vectors and operations

Re: [racket-dev] speeding up 16-bit integer adds

2010-09-23 Thread John Clements
On Sep 23, 2010, at 9:46 PM, John Clements wrote: On Sep 23, 2010, at 8:16 PM, Matthew Flatt wrote: One more thought: Do you get to pick whether you use 16-bit integers or 64-bit floating-point numbers? The `flvector-' and `f64vector-' operations are inlined by the JIT and recognized

[racket-dev] File is really large ( 5 MB), really open?

2010-09-26 Thread John Clements
I accidentally opened a sound file in DrRacket today; cue six minutes of thrashing and computer unhappiness. Would it be okay if I added a second-check dialog to DrRacket that checked the size of a file before opening it, and asked for confirmation before opening files larger than, say, 5MB?

[racket-dev] u8vector-cpointer documented but unimplemented

2010-09-26 Thread John Clements
The function u8vector-cpointer is documented, but doesn't exist; this is presumably because the u8vector functions are actually byte-string functions, but it's not clear to me whether the absence of u8vector-cpointer is an oversight or whether it would violate abstractions in bad ways and hence

Re: [racket-dev] File is really large ( 5 MB), really open?

2010-09-26 Thread John Clements
in order to expect reasonable performance. Sounds good to me: go for it! John Clements smime.p7s Description: S/MIME cryptographic signature _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev

[racket-dev] safe version of racket/unsafe/ops?

2010-09-27 Thread John Clements
I'm sure I'm just missing something obvious here, but is there a library that provides things like unsafe-vector-length that are actually references to the safe versions? I have a core dump occurring in (someone else's) unsafe code, and I'd much rather just import a different library than go

Re: [racket-dev] safe version of racket/unsafe/ops?

2010-09-27 Thread John Clements
On Sep 27, 2010, at 3:45 PM, Robby Findler wrote: How about prefix-in with unsafe- as the prefix? You still have to specify the right set of functions, right? But yes, that's all I'm thinking of. John smime.p7s Description: S/MIME cryptographic signature

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

2010-09-28 Thread John Clements
On Sep 28, 2010, at 8:23 AM, Eli Barzilay wrote: Can we please not have this?? The whole point of having uniform names is that you can use require/provide things easily so there's no need for a library. Sure, I don't feel strongly about it. Done. To be clear, my use case is this: I'm

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

2010-09-28 Thread John Clements
On Sep 28, 2010, at 10:09 AM, Eli Barzilay wrote: An hour ago, John Clements wrote: On Sep 28, 2010, at 8:23 AM, Eli Barzilay wrote: Can we please not have this?? The whole point of having uniform names is that you can use require/provide things easily so there's no need for a library

[racket-dev] random-access file reading

2010-09-28 Thread John Clements
I want to read a chunk from the middle of a 50-megabyte file. As far as I can see, there are no random-access file primitives currently in DrRacket. Also, I don't see a skip-bytes, so it looks like I should be allocating a junk buffer and then repeatedly calling read-bytes to read the skipped

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

2010-10-05 Thread John Clements
I have a student who hasn't succeeded in running compiled-from-source DrRacket on 64-bit ubuntu. Specifically, he claims it dumps core with SIGSEGV MAPERR si_code 1 fault on addr 0x4 Aborted on startup. I have *not* tried to verify this myself, so he's almost certainly made a minor

[racket-dev] single-instantiation trick: kludgy workaround for planet packages?

2010-10-05 Thread John Clements
A couple of weeks ago, you showed me the trick that rackunit uses to allow single-instantiation of a modules. I'm now trying to do this for a planet package, and it looks like I have to change the required module from being a relative to being an absolute path. That is: (require (prefix-in

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

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

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

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

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

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

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

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

[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

[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

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

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

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

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

[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

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

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

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

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

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

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

  1   2   3   4   >