Re: [plt-dev] svn annoyances

2009-02-12 Thread Dave Herman
Great, thanks for the detective work! Dave Eli Barzilay wrote: So, the summary is that this is a subversion bug, and someone on the subversion side has just started looking into it. If you want to see the bug: http://subversion.tigris.org/issues/show_bug.cgi?id=3242 I've asked about an

[plt-dev] crash and burn

2009-02-18 Thread Dave Herman
;; Definitions window: (module foo scheme/base (define (even? n) (or (zero? n) (odd? (sub1 n (define (odd? n) (and (not (zero? n)) (even? (sub1 n) ;; Interactions window: (namespace-undefine-variable! 'even?) (namespace-variable-value 'even?) namespace-variable-value:

[plt-dev] logging getting disabled in DrScheme

2009-02-19 Thread Dave Herman
I've tried to narrow this down as much as possible. I first witnessed it last night on my Mac and I'm able to reproduce it on my WinXP machine too. Here's how to reproduce: 1. Create a module: #lang scheme/base (log-debug hello, world) 2. Save it in some file. 3. Open the file in DrScheme.

Re: [plt-dev] logging getting disabled in DrScheme

2009-02-19 Thread Dave Herman
Oh! Even simpler: 1. Create the file. 2. View | Show Log 3. Run 4. View | Hide Log 5. View | Show Log 6. Run Dave _ For list-related administrative tasks: http://list.cs.brown.edu/mailman/listinfo/plt-dev

[plt-dev] logging: strings vs. sexps

2009-02-19 Thread Dave Herman
The new logging facility is very cool, but I think it's missing a great opportunity: if ever there was a perfect use case for S-expressions, it's logs. They're extremely human readable (esp. to Schemers), and extremely manipulable programmatically. In my experience, when you add logging to an

Re: [plt-dev] Scribble errors in Dracula distribution

2009-03-09 Thread Dave Herman
But this highlights the fact that building the docs for a new Planet package requires that the package is installed at build time. Otherwise, the `planet create' command seems to be set up to avoid that requirement. Maybe `planet create' should set up a temporary development link while building a

Re: [plt-dev] Re: more requests for typed-scheme

2009-03-17 Thread Dave Herman
Everyone, please find things you find useful in srfi/1 :-) FWIW, my favorites that I think are still absent from scheme/list: count, list-index, take-while, drop-while, span, break Also all the lset stuff, though that might make sense to provide as a different library. Dave

Re: [plt-dev] latest version under Windows

2009-05-08 Thread Dave Herman
I've been noticing occasional hiccups where either GC pauses seem surprisingly large or -- what happened to me just now -- DrScheme just becomes unresponsive and I have to kill it. Sorry I forgot to check if the CPU usage was pegged before I killed it. I will try to pay more attention next

[plt-dev] another freeze in WinXP

2009-05-11 Thread Dave Herman
FWIW, just now got another freeze in Windows: I had Thunderbird active with DrScheme in the background and now can't switch back to DrScheme. CPU usage is very low (just a couple percent), so it's not pegging the processor. I've only had DrScheme running for about an hour, and have not run

Re: [plt-dev] strange printing problems in Windows

2009-05-20 Thread Dave Herman
! At Wed, 20 May 2009 15:35:10 -0400, Dave Herman wrote: When I try to print from Windows, it seems to truncate portions of the document. I tried printing the definitions window earlier today and it only printed the first 6 pages of maybe a 7 or 8 page file. When I print the interactions window

Re: [plt-dev] Pre-Release Checklist for v4.2

2009-05-22 Thread Dave Herman
I would like to know why #undefined isn't utilized more - or, alternatively, why it exists in the first place. Is there a real difference between no value (my mental model for #void) and an undefined/uninitialized value (my mental model for #undefined)? I think your mental model is pretty

Re: [plt-dev] slightly misleading error

2009-05-22 Thread Dave Herman
How about: the dynamic context of this expression expected 1 value, but this expression produced 2 values instead: a b Fine with me, but one question: are there situations where this same message will be produced but the producer expression *won't* be the one highlighted? For example, if the

Re: [plt-dev] lessons learned

2009-05-22 Thread Dave Herman
What is your job? This is off-topic. Please keep the conversation private. Dave _ For list-related administrative tasks: http://list.cs.brown.edu/mailman/listinfo/plt-dev

Re: [plt-dev] Pre-Release Checklist for v4.2.1 -- Pinging Sam

2009-07-30 Thread Dave Herman
[...] This appears to be fixed in the trunk, but I don't see offhand by what revision, so I don't know if it's already in the release code. It is already included and released... Can you push another build of the nightly binary? I had to change my system date, and I'd like to be able to set

[plt-dev] parser macros

2009-09-16 Thread Dave Herman
Floating an idea: I'd love to see an extension to the `parser' form that allows programmers to define grammar macros. Imagine if you could do something like this: (parser (start Expr) (end EOF) (tokens Tokens) (macros (define-macro (List x) [(LPAREN (ListTail x)) $2])

Re: [plt-dev] `unsafe-fl' and unboxing

2009-10-04 Thread Dave Herman
;;; (real-float x) - inexact-real? ;;; x : real? ;;; Returns an inexact real (i.e., a float) given real x. Raises an error if x ;;; is not a real. This can be used to ensure a real value is a float, even in ;;; unsafe code. (define (real-float x) (if (real? x) (exact-inexact x)

Re: [plt-dev] `unsafe-fl' and unboxing

2009-10-04 Thread Dave Herman
No! 'identifier?' does not check whether a syntax object represents a variable reference, given 1) identifier macros and 2) #%top transformers for unbound variables. If you really, really want to check if something is a variable reference, 'local-expand' it and look at the result. Oh,

Re: [plt-dev] component delivery, a social experiment

2009-11-10 Thread Dave Herman
I, for one, am quite happy that we have a nightly build and hope that we continue to have it. I suspect that anyone that uses Windows and wants to keep up from SVN also benefits, since building under Windows is not an easy thing to do (unlike the other platforms we support). I know other people

Re: [plt-dev] anyone know Chronium?

2009-11-11 Thread Dave Herman
It's basically a version of Jay's drdr system: No, Chromium is a web browser. They *use* buildbot, which is a continuous build system: http://buildbot.net/trac Dave _ For list-related administrative tasks:

Re: [plt-dev] `regexp-quote' in JS

2009-11-23 Thread Dave Herman
Does anyone know if there's a JS equivalent for `regexp-quote'? http://simonwillison.net/2006/Jan/20/escape/ Simon's a bright guy. But I haven't tried this out. Just googled. Dave _ For list-related administrative tasks:

[plt-dev] Should Check Syntax work on R6RS library files?

2009-03-01 Thread Dave Herman
You know about `struct-out' as well, right? http://docs.plt-scheme.org/reference/require.html#(form._((lib._scheme/base..ss)._struct-out)) Dave Grant Rettke wrote: How does that help you with the renaming with a syntax? You confuse me. In R6RS constructor and getter/setter methods are

[plt-dev] infix prefab literals

2009-02-06 Thread Dave Herman
Would it cause any problems to extend the reader syntax of prefab literals to allow the double-dotted-infix notation? E.g.: (define-struct : (name binding) #:prefab) #s(foo . : . 42) #s(: foo 42) (equal? #s(foo . : . 42) #s(: foo 42)) #t Dave

[plt-dev] #hash vs. #s

2009-02-06 Thread Dave Herman
Unquote for the value part of a `#hash' could work. I'm less sure that it's a good idea for the key position, since the reader constructs a hash table. Good point. For example: (define table `#hash((,(read) . foo) (,(read) . bar) (,(read) . baz))) The

[plt-dev] #hash vs. #s

2009-02-07 Thread Dave Herman
Type: application/octet-stream Size: 1459 bytes Desc: not available URL: http://lists.racket-lang.org/archive/dev/attachments/20090207/5e25f376/attachment.obj -- next part -- On Feb 6, 2009, at 11:52 PM, Dave Herman wrote: Oops --- I meant to vote for 1, not 2. Doesn't

[plt-dev] #hash vs. #s

2009-02-08 Thread Dave Herman
Patch for collects/tests/mzscheme/syntax.ss attached. Dave Dave Herman wrote: Attached is a patch for collects/scribblings/reference/syntax.scrbl that documents the quasiquote behavior. I'll create some new quasiquote tests and send a patch for that tomorrow. Dave On Feb 6, 2009

[plt-dev] parameterizations rationale

2009-02-08 Thread Dave Herman
I noticed this comment in the '99 Revenge of the Son of Lisp Machine paper: An early version of MrEd supported bundles of parameter values as first-class objects, called parameterizations. ... This generalization turns out to be nearly useless in practice ... Worse, parameterizations

[plt-dev] crash and burn

2009-02-18 Thread Dave Herman
;; Definitions window: (module foo scheme/base (define (even? n) (or (zero? n) (odd? (sub1 n (define (odd? n) (and (not (zero? n)) (even? (sub1 n) ;; Interactions window: (namespace-undefine-variable! 'even?) (namespace-variable-value 'even?)

[plt-dev] crash and burn

2009-02-18 Thread Dave Herman
Matthew Flatt wrote: Fixed in SVN. 12 minutes -- I'm impressed. :) What is the intended behavior? (Tomorrow I can download the nightly binary and try this out myself, but it might help to clarify this in the docs.) I ran into this because I couldn't figure it out from the docs. Some possible

[plt-dev] logging getting disabled in DrScheme

2009-02-19 Thread Dave Herman
I've tried to narrow this down as much as possible. I first witnessed it last night on my Mac and I'm able to reproduce it on my WinXP machine too. Here's how to reproduce: 1. Create a module: #lang scheme/base (log-debug hello, world) 2. Save it in some file. 3. Open the file in DrScheme. 4.

[plt-dev] logging getting disabled in DrScheme

2009-02-19 Thread Dave Herman
Oh! Even simpler: 1. Create the file. 2. View | Show Log 3. Run 4. View | Hide Log 5. View | Show Log 6. Run Dave

[plt-dev] logging: strings vs. sexps

2009-02-19 Thread Dave Herman
The new logging facility is very cool, but I think it's missing a great opportunity: if ever there was a perfect use case for S-expressions, it's logs. They're extremely human readable (esp. to Schemers), and extremely manipulable programmatically. In my experience, when you add logging to an

[plt-dev] logging: strings vs. sexps

2009-02-19 Thread Dave Herman
+1 Matthew Flatt wrote: At Thu, 19 Feb 2009 14:51:47 -0600, Robby Findler wrote: On Thu, Feb 19, 2009 at 2:50 PM, Grant Rettke grettke at acm.org wrote: On Thu, Feb 19, 2009 at 12:12 PM, Eli Barzilay eli at barzilay.org wrote: On Feb 19, Robby Findler wrote: I think Eli's asking 'why not do