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
;; 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:
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.
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
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
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
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
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
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
!
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
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
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
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
[...] 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
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])
;;; (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)
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,
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
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:
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:
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
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
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
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
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
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
;; 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?)
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
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.
Oh! Even simpler:
1. Create the file.
2. View | Show Log
3. Run
4. View | Hide Log
5. View | Show Log
6. Run
Dave
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
+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
32 matches
Mail list logo