[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-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 Please comment. You write As long as your code fulfills its promises and meets

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
variants). I haven't worked out a way to make them faster or a way to provide faster variants, but it's on my list. Okay, thanks. FWIW, my attempt to use the s16vector variants performs similarly; perhaps these primitives call the same code. John Clements smime.p7s Description: S/MIME

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] single-instantiation trick: kludgy workaround for planet packages?

2010-10-05 Thread John Clements
On Oct 5, 2010, at 3:25 PM, Ryan Culpepper wrote: I seem to have mangled my response right before sending it. Here it is again, hopefully straightened out. On 10/05/2010 03:59 PM, John Clements wrote: A couple of weeks ago, you showed me the trick that rackunit uses to allow single

[racket-dev] no symlinks in planet links (was: Re: single-instantiation trick: kludgy workaround for planet packages?)

2010-10-06 Thread John Clements
On Oct 5, 2010, at 7:37 PM, Ryan Culpepper wrote: John Clements wrote: On Oct 5, 2010, at 3:25 PM, Ryan Culpepper wrote: It looks like you're using a PLaneT development link. Perhaps that's the source of the problem? How about dropping the following code into drracket-link.rkt so

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-07 Thread John Clements
On Oct 7, 2010, at 3:25 PM, Kevin Tew wrote: I should have added that the student also needs to type gdb backtrace to get a full backtrace. a full backtrace will be more informative. Duh, yes. Here's the student's backtrace. And yes, I now see that it *does* look like the font issue

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-18 Thread John Clements
: 81357 real time: 82502 gc time: 8337 #t John Clements On Thu, Oct 14, 2010 at 4:34 PM, John Clements cleme...@brinckerhoff.org wrote: On a vector of length 8192 (a power of 2, natch), fft-complex-radix2-forward takes about 1/8 of a second (lost in the noise, essentially), but fft-complex

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 5:33 AM, Michael Sperber wrote: Robby Findler ro...@eecs.northwestern.edu writes: How recently did the change come in that allows internal definitions all over the place? And how broken did this make the stepper? Pretty broken: There are now (let () ...)s all over

Re: [racket-dev] internal definitions stepper

2010-10-19 Thread John Clements
On Oct 19, 2010, at 8:56 AM, John Clements wrote: On Oct 19, 2010, at 5:33 AM, Michael Sperber wrote: Robby Findler ro...@eecs.northwestern.edu writes: How recently did the change come in that allows internal definitions all over the place? And how broken did this make the stepper

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

Re: [racket-dev] highlighting function position with an underline.

2010-10-26 Thread John Clements
On Oct 26, 2010, at 5:07 AM, Shriram Krishnamurthi wrote: I'm in the pit of despair... er, grading first-year exams, and I'm looking at code that has terrible paren-placement issues. I don't take points off for this on exams, but I can only imagine how long it takes these poor kids to get

[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

[racket-dev] corrected sxml.plt 2 1

2010-10-26 Thread John Clements
upload a new version of this package? On a separate note, to dev: is there any way that schemeunit could be made slightly less of a very large install? Especially since rackunit is now part of the collects tree. ... If this opens a terrible can of worms, just forget about it. John Clements

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

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

2010-10-30 Thread John Clements
and complexity.But, I'll redo the graphics to PNG format at that time. Sounds good; let me know if I can help; I'd be glad to crunch those files and spend five minutes changing bmp to png everywhere. John On Fri, Oct 29, 2010 at 6:45 PM, John Clements cleme...@brinckerhoff.org wrote: Your science

[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] getting a language level without starting drracket

2010-12-08 Thread John Clements
Several aspects of the stepper's behavior depend on the language level that the user is in. Historically, the division between graphical and non-graphical apps has meant that it's simpler for the stepper to make up a fake language level, rather than get a real one for testing. However, the

[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

  1   2   3   4   >