[racket-dev] seeing an error when compiling racket 5.1.1.3 (e9dd758)

2011-04-20 Thread Danny Yoo
I'm seeing the following error message at the end of my 'make install': ... raco setup: running: sgl/scribblings/sgl.scrbl raco setup: running: string-constants/string-constants.scrbl raco setup: running:

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

2011-04-29 Thread Danny Yoo
 Scheme is usually a liability when someone used it in school years ago (other than with HtDP). Small anecdote: I had gone a small presentation at WPI about teaching alternative concurrent programming models to undergraduates. The presenter wanted to explore teaching with channels and actors.

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

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

[racket-dev] Fwd: a language example: brainfudge

2011-06-10 Thread Danny Yoo
Just in case this is interesting (or humorous) to the other devs. I'll be writing up tutorial text for it soon. --- I'm starting to work on a small example of a non-lisp-like language that uses the Racket infrastructure.  I've chosen the language Brain@#! since it's obviously not parenthetical.

[racket-dev] Access to the structure internal API within define-struct's body

2011-07-07 Thread Danny Yoo
I'm doing some experiments with structures. I'm trying to write a macro that lets me create structures that support runtime, dictionary lookup. I've started with: #lang racket (require (for-syntax

[racket-dev] language-specific documentation failed on 5.1.1

2011-07-18 Thread Danny Yoo
Currently doing Program-by-Design workshop. One issue so far: Help Desk is not giving language-specific help. One of the users searched for width, and hit basically every width function except the one he was looking for. I can't check at the moment to see if the upcoming DrRacket release fixes

Re: [racket-dev] language-specific documentation failed on 5.1.1

2011-07-18 Thread Danny Yoo
I tried this too and it seems to work for me, even under windows with firefox. Sorry: I should have mentioned. I observed the behavior in IE on the Windows 7 machines in the lab. I believe what's happening is related to the way IE is prohibiting JavaScript from running on for local files.

Re: [racket-dev] language-specific documentation failed on 5.1.1

2011-07-18 Thread Danny Yoo
On Mon, Jul 18, 2011 at 8:03 PM, Danny Yoo d...@cs.wpi.edu wrote: I tried this too and it seems to work for me, even under windows with firefox. Sorry: I should have mentioned.  I observed the behavior in IE on the Windows 7 machines in the lab.  I believe what's happening is related

[racket-dev] racket/draw and whalesong?

2011-07-28 Thread Danny Yoo
On Robby and Matthew's suggestion that I look into implementing the primitives of racket/draw, I took a look at the implementation. If I understand this correctly, it looks like I need to implement the methods of the drawing context interface, right? (If so, there's one obstacle that I'll need

[racket-dev] Running into phase-error issues

2011-08-14 Thread Danny Yoo
I'm running into some problem when using dynamic-require-for-syntax: if the module I'm requiring itself requires another module, I inevitably hit the following error: ;;;

Re: [racket-dev] Running into phase-error issues

2011-08-14 Thread Danny Yoo
I'm running into some problem when using dynamic-require-for-syntax: I imagine the problem is that `dynamic-require-for-syntax' is broken, but I hope to get rid of that function because it implements bad phase-crossing behavior. So, although it doesn't directly address the problem, can you

[racket-dev] getting oops, internal error messages when updating PLaneT packages

2011-08-15 Thread Danny Yoo
I'm updating a few of my PLaneT packages and trying to eliminate compile-time errors that have been bugging the heck out of me. When I update the package, I'm seeing the following error message from PLaneT's web site: --- Oops! An internal error occured. The problem has been logged, but if you

Re: [racket-dev] sporadic failure when building PLaneT docs

2011-08-17 Thread Danny Yoo
On Wednesday, August 17, 2011, Robby Findler ro...@eecs.northwestern.edu wrote: Is this the released 5.1.3? (so it doesn't have the recent change I made to the planet module name resolver)? Yes, I'm running on 5.1.3. _ For list-related

[racket-dev] image snips and pretty-print (#lang htdp/bsl and snips)

2011-09-01 Thread Danny Yoo
How are image snips and pretty-print supposed to interact? I've isolated the bug that's been preventing image snips from printing in something like: ;; #lang htdp/bsl (require 2htdp/image) (circle 20 'solid 'green) ;; From what I

Re: [racket-dev] image snips and pretty-print (#lang htdp/bsl and snips)

2011-09-01 Thread Danny Yoo
On Thu, Sep 1, 2011 at 5:13 PM, Robby Findler ro...@eecs.northwestern.edu wrote: Maybe something like this is what you want (but I always get lost in the multitude of handlers so this might not be quite the right place to put this code). [diff cut] Yes, this works for me as well.

[racket-dev] signatures?

2011-09-02 Thread Danny Yoo
I tried the following program in ASL. In Definitions: ; (: g (Number - Number)) (define g (lambda (x) (if (= x 0) x (list three x ;; I ran Definitions, and then in my Interactions window,

Re: [racket-dev] scheme_is_list?

2011-09-07 Thread Danny Yoo
Isn't all the code starting from 'obj2 = obj1' unreachable? No --- the first `if' branch doesn't always return, since its returns are protected by another `if'. Gah. Ok, thanks for the correction. I should stop coding tonight; I'm not reading things clearly. :)

[racket-dev] dynamic require and collapsed snips?

2011-09-11 Thread Danny Yoo
Let's say that I have a graphical file snips.rkt with the following content: ;;; #lang racket/base (define (f x) (...)) ;;; where (...) is an s-expression that's been collapsed by editing the file in DrRacket, right clicking the expression, and

Re: [racket-dev] dynamic require and collapsed snips?

2011-09-11 Thread Danny Yoo
So there must be some context that I'm missing here.  What should I be doing to not get this error at the terminal?  Thanks! Following up: I figured out that I need to use (make-gui-namespace) to create a namespace that knows about the snip classes. e.g.

[racket-dev] weirdness with racket or typed racket module requiring startup time?

2011-09-25 Thread Danny Yoo
In Whalesong, I've been watching where the compile-time is going, because I want to make it more pleasant to use. When I compile hello world, it takes about three seconds to complete the compile on my machine. Out of a lark, I wanted to see what the base-line was for just loading up the modules

Re: [racket-dev] weirdness with racket or typed racket module requiring startup time?

2011-09-28 Thread Danny Yoo
I'm observing about a 100ms cost here for something that I expected to be a no-op, because the module has already been required. You think you could be taking a small GC hit then?  PLTSTDERR=debug environment variable might show GC info.  Or add debugging printfs that dump

[racket-dev] Writing a syntax transformer to replace embedded image snips in programs

2011-11-11 Thread Danny Yoo
I'm having some trouble writing a function that takes a program with image snips, lifting those snips to files, and replacing the snips with name references. I was wondering if someone seeing anything trivially wrong in: https://github.com/dyoo/whalesong/blob/master/expand-out-images.rkt

Re: [racket-dev] pconvert and current-build-share-hook?

2011-11-17 Thread Danny Yoo
On Thu, Nov 17, 2011 at 1:43 PM, Robby Findler ro...@eecs.northwestern.edu wrote: I think you call the first one on the value and the second on each of the components of the value where you want to recur. Ok, then I really don't understand the library. The following appears to be effective:

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

2012-01-09 Thread Danny Yoo
On Mon, Jan 9, 2012 at 1:46 AM, Ryan Culpepper r...@cs.utah.edu wrote: The release process for v5.2.1 has begun: the `release' branch was created for any work that is left and is now bumped to v5.2.0.900.  You can go on using the `master' branch as usual, it is now bumped to v5.2.1.1 (to avoid

[racket-dev] Request for help: PLaneT package removal causes resurrection in 5.2.0.900?

2012-01-10 Thread Danny Yoo
Something strange is happening with 'planet remove' and Whalesong in the upcoming Racket release. The act of trying to uninstall a PLaneT package appears to be triggering the immediate re-installation of the package! I'm including a transcript below. It looks like the act of Scribble's

[racket-dev] how to disable intra-module constant inlining?

2012-01-18 Thread Danny Yoo
Hi everyone, So Whalesong is actually breaking on a few of my test case examples because 5.2.1 does some aggressive inlining. Specifically, it's doing intra-module constant optimizations. Whalesong depends on the late binding of module bindings in some special places (specifically, the FFI), so

Re: [racket-dev] how to disable intra-module constant inlining?

2012-01-18 Thread Danny Yoo
So Whalesong is actually breaking on a few of my test case examples because 5.2.1 does some aggressive inlining.  Specifically, it's doing intra-module constant optimizations.  Whalesong depends on the late binding of module bindings in some special places (specifically, the FFI), so I need a

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

2012-01-18 Thread Danny Yoo
* Danny Yoo d...@cs.wpi.edu  - Whalesong Tests (confirm that Whalesong runs from PLaneT) All passed. _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] how to disable intra-module constant inlining?

2012-01-19 Thread Danny Yoo
If you compile a.rkt normally and set `compile-context-preservation-enabled' to #f forb.rkt, then `f' will not be inlined (because inlining is disabled), but `c' will still be replaced with 10. This is odd then, because I thought I had tried this yesterday and still observed inlining. Let

Re: [racket-dev] Release Announcement for v5.2.1, second draft

2012-01-24 Thread Danny Yoo
* The `2htdp/universe' library's `big-bang' form supports an  experimental game pad key handler. I just want to make sure I know what this is. This is referring to: https://docs.google.com/document/d/1bDcsplgE0jFAavvxYWRISpKb1Z94MRPtQ_EjyB3e7hI/edit right? _

Re: [racket-dev] Is someone doing the redesign for PLaneT? Explicit PLaneT package installs please

2012-02-07 Thread Danny Yoo
One of the peeves of PLaneT is that it makes it too easy to use programs with implicit PLaneT package installation. It will start with simple explicit installation only.  You'd also be able to package .zo files and rendered documentation. Ah, I didn't realize that I sent my happy thoughts

Re: [racket-dev] very unhelpful beginner language error message, possible fix proposed

2012-02-10 Thread Danny Yoo
Ho Ho! thought I. Beginner Student Racket will give a much better error message. Actually, though, the error message was much worse: it highlighted the id list-sum-odd in what should have been the 'else' case, and wrote: list-sum-odd: expected a function call, but there is no open

Re: [racket-dev] very unhelpful beginner language error message, possible fix proposed

2012-02-10 Thread Danny Yoo
This is a variation of one of the cases described in Guillaume's paper on error messages.  Figure 4 of http://gmarceau.qc.ca/papers/Marceau-2010-Measuring-Effectiveness.pdf Yes, I agree. Are you suggesting that there's low-hanging fruit in the form of a more general solution? I'm hoping

Re: [racket-dev] zo-parse and implicit requires from template-phased syntax?

2012-03-13 Thread Danny Yoo
On Tue, Mar 13, 2012 at 2:55 PM, Blake Johnson bjoh...@gmail.com wrote: I think that mod-requires just has the explicitly declared requires for each phase. In the demodularizer, we have to trace through the requires to get all phase 0 code. Ok, good. But the word requires is overloaded by the

Re: [racket-dev] zo-parse and implicit requires from template-phased syntax?

2012-03-13 Thread Danny Yoo
Do you agree that, not only do I have to visit the modules explicitly listed in mod-requires, but also the phase-0 ModuleVariable references in the module variables in the module's prefix-toplevels? Followup: ok, this seems like what you're doing in nodep-module:

Re: [racket-dev] zo-parse and implicit requires from template-phased syntax?

2012-03-13 Thread Danny Yoo
That is, if test.rkt requires helper.rkt with a phase shift of 1, and helper.rkt requires `racket/list' with a phase shift of -1, then test.rkt needs `racket/list' at phase 0. Ah! Thank you! That makes much more sense to me now. So I really must do something like this to get the full set of

Re: [racket-dev] Interactive Tutorial

2012-03-21 Thread Danny Yoo
It seems like it wouldn't be too hard to turn the Quick guide into something similar by using something like WeScheme. I also know of several people who have expressed interest in learning to program but definitely don't have the motivation to go through HtDP. It seems like the codecademy

[racket-dev] paren-shape question

2012-03-25 Thread Danny Yoo
I'm getting confused by some behavior with regards to paren-shape. Here's what I see: #lang racket ;; (define-for-syntax (square-brackets? stx) (eq? (syntax-property stx 'paren-shape) #\[)) (define-syntax

Re: [racket-dev] paren-shape question

2012-03-25 Thread Danny Yoo
On Sun, Mar 25, 2012 at 8:09 PM, Robby Findler ro...@eecs.northwestern.edu wrote: It comes from the way syntax properties are propagated through macro transformers. There is some explanation of this in the docs; search for syntax-property and scroll up. Ok. Yikes, this is more complicated

Re: [racket-dev] today's DrRacket problem

2012-03-26 Thread Danny Yoo
Many of you noticed that DrRacket v5.2.1 refused to launch today, March 26. We sincerely apologize for this inconvenience. Checking: can a reference to this announcement be on the front page of the racket-lang web site? _ Racket Developers list:

Re: [racket-dev] Release for v5.3 is about to begin

2012-04-02 Thread Danny Yoo
On Monday, April 2, 2012, Ryan Culpepper wrote: The release process for v5.3 will begin in about a week. If you have any new features that you want in and are relatively close to being done, now is a good time to do that. Is submodule support going to be a part of 5.3?

[racket-dev] some surprising behavior with syntax-parameterize and lexical info

2012-04-05 Thread Danny Yoo
I'm hitting some behavior I don't understand: here's code to demonstrate: ;; #lang racket (require racket/stxparam racket/splicing) (define-syntax-parameter current-def #f) (define-syntax (def stx) (syntax-case stx

Re: [racket-dev] some surprising behavior with syntax-parameterize and lexical info

2012-04-05 Thread Danny Yoo
If that doesn't seem clear, can you explain more your line of reasoning that they should be the same? I guess I'm having a hard time with this: I want to get the value of a-placeholder into the place marked ??? in the following:

Re: [racket-dev] some surprising behavior with syntax-parameterize and lexical info

2012-04-06 Thread Danny Yoo
I suspect that I should be using quote-syntax at this specific point, but I am not completely sure. Right. Try replacing ??? with (quote-syntax #,a-placeholder). I have to admit that I'm still confused. Here's my example:

Re: [racket-dev] some surprising behavior with syntax-parameterize and lexical info

2012-04-06 Thread Danny Yoo
On Fri, Apr 6, 2012 at 4:13 PM, Michael W mwil...@uccs.edu wrote: This seems to work for me, printing 84, just like you expect: ; (define-syntax (def stx)  (syntax-case stx ()   [(_ (name args ...) body ...)    (with-syntax

Re: [racket-dev] some surprising behavior with syntax-parameterize and lexical info

2012-04-06 Thread Danny Yoo
(define-syntax (def stx)  (syntax-case stx ()   [(_ (name args ...) body ...)    (with-syntax ([function-stx stx])      (syntax/loc stx        (define (name args ...)          (splicing-syntax-parameterize ([current-def                                          (quote-syntax

Re: [racket-dev] some surprising behavior with syntax-parameterize and lexical info

2012-04-09 Thread Danny Yoo
Ah ha!  So that's where my mental model is diverging from reality. Thank you.  For some reason, I had been thinking that the transformer-time expression in the syntax-parameterize was somehow impervious to the lexical enrichment process. Here's the first draft of a small tutorial on the

[racket-dev] pr 12683 and using something like text:nbsp-space?

2012-04-11 Thread Danny Yoo
I'm trying to prepare a patch to fix pr 12683 (zero-width space). Currently, I've got: https://github.com/dyoo/racket/commit/ed6570d482acada2027988903c11e08ffac03e3c However, at this point, I get stuck, because I have no idea where to mix-in this into the DrRacket text% instance. I did

Re: [racket-dev] pr 12683 and using something like text:nbsp-space?

2012-04-12 Thread Danny Yoo
On Wed, Apr 11, 2012 at 8:16 PM, Robby Findler ro...@eecs.northwestern.edu wrote: Thanks for looking into this! How about just changing the way nbsp-space-mixin so that it just does both jobs (perhaps with overridable methods or settable fields that provide finer-grained control)? As for

Re: [racket-dev] pr 12683 and using something like text:nbsp-space?

2012-04-12 Thread Danny Yoo
Traced!  Something happened in 2007, and commit 8bd72e512da3345d1d3514d2bb3f9148c7a93b39 turned it off.  I haven't haven't been able to trace the reason why it needed to be removed though. Just to note: I did the following git command to trace it: $ git log -S'nbsp-space' --all

Re: [racket-dev] pr 12683 and using something like text:nbsp-space?

2012-04-12 Thread Danny Yoo
Just to note: I did the following git command to trace it:     $ git log -S'nbsp-space' --all Ah ha! Here's the thread on plt-internal which motivated the change: http://lists.racket-lang.org/plt-internal/private/2007-March/011601.html As I understand it, the reason for removal was

Re: [racket-dev] pr 12683 and using something like text:nbsp-space?

2012-04-12 Thread Danny Yoo
However, from earlier on the thread, it's clear that zero-width space doesn't play by the same rules, so re-instituting the solution from nbsp-space for DrRacket might be the right thing to do. Followup: here's what I've got:

Re: [racket-dev] pr 12683 and using something like text:nbsp-space?

2012-04-12 Thread Danny Yoo
On Thu, Apr 12, 2012 at 3:26 PM, Eli Barzilay e...@barzilay.org wrote: A few minutes ago, Danny Yoo wrote: I want the behavior of the auto-translator to notify the text has changed, so that if the user opens a file in DrRacket with the zero width space, they can Save the file: So

[racket-dev] Is this legal submodule code?

2012-04-18 Thread Danny Yoo
I'm trying to wrap my head around submodules so I can get it working with Whalesong, but I'm running into an issue: #lang racket (define (print-cake n) #;(show~an #\.) #;(show .-~a-. n #\|) #;(show | ~a | n #\space) (show ---~a--- n #\-)) (define (show fmt n ch) (printf

[racket-dev] More low-level submodule questions, and changelog improvements?

2012-04-18 Thread Danny Yoo
I'm trying to wrap my head around submodules so I can get it working with Whalesong I see that the structure of 'mod' has changed a bit to accommodate submodules; in particular, mod-name can now be a list of symbols vs just a symbol, comparing:

Re: [racket-dev] my bf language no longer works; how to fix?

2012-04-18 Thread Danny Yoo
On Wed, Apr 18, 2012 at 3:09 PM, Danny Yoo d...@cs.wpi.edu wrote: This no longer appears to work in 5.3:    #lang planet dyoo/bf    ,[.,] I'm not sure how to fix this.  Help?  I see the following error message: Ok, bug traced. It looks like module-declared? is being used like

Re: [racket-dev] pr 12683 and using something like text:nbsp-space?

2012-04-19 Thread Danny Yoo
On Thu, Apr 12, 2012 at 5:26 PM, Robby Findler ro...@eecs.northwestern.edu wrote: Yes, normalization doesn't deal with those spaces. It does change the text in ways that are unfriendly and I often tell DrRacket no when it asks about normalization. I just wanted to put that into the mix for

Re: [racket-dev] Is this legal submodule code?

2012-04-19 Thread Danny Yoo
On Thu, Apr 19, 2012 at 2:45 PM, Matthew Flatt mfl...@cs.utah.edu wrote: I've pushed a repair for this bug. Ah, thank you! I will try it out as soon as it hits the 5.3 release branch. _ Racket Developers list: http://lists.racket-lang.org/dev

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

2012-04-23 Thread Danny Yoo
* Danny Yoo d...@cs.wpi.edu  - Whalesong Tests (confirm that Whalesong runs from PLaneT) I'm currently blocked on this. Whalesong depends on #lang planet to work, but due to a bug, I haven't been able to make progress on running the tests. There is a a patch in master (http://git.racket

Re: [racket-dev] skip release

2012-04-24 Thread Danny Yoo
+1 on the delay. _ Racket Developers list: http://lists.racket-lang.org/dev

[racket-dev] conditional scribble documents

2012-04-25 Thread Danny Yoo
I'm working on building a Scribble extension that lets me write conditional bits of Scribble code. Some use cases: 1. writing a document that can be author-anonymized 2. tutorial material, with solutions to be generated in the document targetted for teachers. I do not want to hide or show

Re: [racket-dev] conditional scribble documents

2012-04-25 Thread Danny Yoo
On Wed, Apr 25, 2012 at 6:38 PM, Matthias Felleisen matth...@ccs.neu.edu wrote: For HtDP/2e, I use plain old conditionals and variables. I used to set an environment variable when I ran a shell script. Then I converted everything to Racket and set variables according to shell arguments:  $

Re: [racket-dev] current-*-port

2012-05-03 Thread Danny Yoo
IMO, anyone who is not coming from some kind of Scheme background would view this as ridiculously long.  If they're renamed to the usual names, things look much better:  (parameterize ([stderr (stdout)])    ...) Definitely +1. _ Racket Developers list:

Re: [racket-dev] conditional scribble documents

2012-05-04 Thread Danny Yoo
... for example, why not set up files that set some parameter and then run the program. You said that you want a `++load my-module.rkt' -- why not change my-module.rkt - my-module.scrbl, and just render it? I like this. But I don't want the configuration scribble file to itself generate

[racket-dev] Submodules and internal #langs

2012-05-09 Thread Danny Yoo
With the submodule support, the following is a legal program: #lang racket #lang racket Is this intentional? _ Racket Developers list: http://lists.racket-lang.org/dev

[racket-dev] did something happen to the git web server?

2012-05-14 Thread Danny Yoo
I could have sworn that: https://git.racket-lang.org/ took me to a nice HTML view of the git repository, but at the moment, I see an empty page. _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] scribble/srcdoc

2012-05-14 Thread Danny Yoo
source to find the information. Submodules solve the problem of having extra information in a module that is not loaded with the module's code, so the `expand' approach is not longer necessary. Do the submodules then have a specific name that the external tools know about? Let me look at the

Re: [racket-dev] did something happen to the git web server?

2012-05-15 Thread Danny Yoo
On Tuesday, May 15, 2012, Eli Barzilay wrote: Yesterday, Danny Yoo wrote: I could have sworn that: https://git.racket-lang.org/ took me to a nice HTML view of the git repository, but at the moment, I see an empty page. This never worked -- you should use http://... Thank you

Re: [racket-dev] Feature request: multiple keys in sort

2012-06-10 Thread Danny Yoo
Would it be possible to extend the sort function to allow for multiple keys to facilitate sorting lists of lists or lists of structs. The sort function should accommodate this by providing a custom comparator as the second (optional) argument to it. When building custom comparators, you might

Re: [racket-dev] conditional scribble documents

2012-06-14 Thread Danny Yoo
Just to follow up on this: in my conditional scribble language, I've needed a splicing style for itemlists, because certain items may or may not show depending on context. Just in case this happens to be helpful for anyone else, here's the helper I'm using:

Re: [racket-dev] building WeScheme using Eclipse

2012-06-17 Thread Danny Yoo
On Sat, Jun 16, 2012 at 5:01 PM, John Clements cleme...@brinckerhoff.org wrote: I'm trying to build WeScheme locally, and wrestling with Eclipse. Specifically, I've completed all of the steps given in the README, and I'm now trying to figure out how to deploy it.  It appears to me that I'll

Re: [racket-dev] testing for v5.3

2012-07-23 Thread Danny Yoo
On Fri, Jul 20, 2012 at 2:55 PM, Ryan Culpepper r...@cs.utah.edu wrote: Just a reminder that testing for release v5.3 begins Monday. Ok, understood! Unfortunately, Whalesong won't initially have support for submodules. I'm currently addressing type errors that I'm getting from the new verson

[racket-dev] seeing segfaults on build on 64-bit ubuntu

2012-07-24 Thread Danny Yoo
I'm seeing segfaults when trying to build the release on my uber 64-bit Ubuntu box. (I'm on c9d0319a11cb2aae6d1e81d0c6465b4241a4ecff) raco setup: 2 running: picturing-programs/picturing-programs.scrbl raco setup: 1 running: plai/scribblings/plai.scrbl raco setup: 2 running: planet/planet.scrbl

Re: [racket-dev] seeing segfaults on build on 64-bit ubuntu

2012-07-26 Thread Danny Yoo
On Wed, Jul 25, 2012 at 7:07 AM, Matthew Flatt mfl...@cs.utah.edu wrote: This looks like a crash that I've seen, but only a couple of times over months. For the crash I saw, control was in libpixman via libcairo during the rendering of the Plot manual, but I haven't been able to replicate it

Re: [racket-dev] Pre-Release Checklist for v5.3, second call

2012-07-26 Thread Danny Yoo
* Danny Yoo d...@cs.wpi.edu - Whalesong Tests (confirm that Whalesong runs from PLaneT) Just wanted to confirm that Whalesong in development is running under 5.2.900. _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] seeing segfaults on build on 64-bit ubuntu

2012-07-29 Thread Danny Yoo
I tried building from scratch again from c9d0319a11cb2aae6d1e81d0c6465b4241a4ecff and see the following: raco setup: 1 running: plot/scribblings/plot.scrbl raco setup: 2 running: preprocessor/scribblings/preprocessor.scrbl raco setup: 2 running: scribblings/quick/quick.scrbl raco setup: 2

Re: [racket-dev] seeing segfaults on build on 64-bit ubuntu

2012-08-01 Thread Danny Yoo
I've pushed the change to the git repo's master branch. Please let me know whether a build on your machine works with this change. Sorry for the delay! I confirm that I'm not seeing the crash under master (44161d73c8bdce0374718d1ab0bc20fbebc1fec2) on my system. _

[racket-dev] Fwd: [New comment] Chinese Whispers in Go, Racket and Other Languages

2012-08-15 Thread Danny Yoo
-in-racket-and-go. in response to *Danny Yoo*: Yes, looks like things will be a lot better. See Matthew Flatt’s analysis and results in the thread here: http://lists.racket-lang.org/users/archive/2012-August/053458.html Thanks for the update, and I am now looking forward to v5.3.0.18. One more thing

[racket-dev] Segmentation fault 11?

2012-09-17 Thread Danny Yoo
I'm seeing weirdness when trying to import Dave Herman's memoize package on Racket 5.3: ;;; (require (planet dherman/memoize:3:1)) WARNING: collected information for key multiple times: '(index-entry (mod-path (planet schematics/sake))); values: Segmentation fault: 11 ;;; I'm on

Re: [racket-dev] Segmentation fault 11?

2012-09-18 Thread Danny Yoo
On Tuesday, September 18, 2012, Matthew Flatt wrote: I wasn't able to replicate the crash. Does it happen consistently for you in v5.3? In v5.3.0.24? It's consistent for me in 5.3. I can come in the morning with the laptop to show you. _ Racket Developers list:

[racket-dev] Can get-pure-port's signature be expanded to consume strings too?

2012-10-05 Thread Danny Yoo
I keep finding myself writing: (get-pure-port (string-url ...)) where the call to get-pure-port always has a string-url there. I was wondering if something like the following patch would be acceptable: https://github.com/dyoo/racket/commit/3aa1467a168be758c20e36ee7afad190f3af0ad0

[racket-dev] build problems on plt/release branch?

2012-10-17 Thread Danny Yoo
Does anyone else see severe build problems on the plt/release branch? I'm seeing a lot of compile-time errors during 'raco setup'; it's making it difficult to test things because when a problem occurs, I'm not sure if it's my fault or if the repo is just in a weird state. I made sure to clean my

Re: [racket-dev] Pre-Release Checklist for v5.3.1, Second Call

2012-10-22 Thread Danny Yoo
* Danny Yoo d...@cs.wpi.edu - Whalesong Tests (confirm that Whalesong runs from PLaneT) Does not run, but can you take this out of the checklist anyway? I'll follow up with a request on how to add Whalesong as a DrDr test so that it's continually tested as opposed to tested only at release

[racket-dev] What's the process for adding a project to DrDr

2012-10-22 Thread Danny Yoo
During release testing for 5.3.1, I found that Whalesong broke in a few ways. I'd like to detect the problem in a better way than what I've been doing now. What's involved in getting into the DrDr automatic build bot, and how would I get it to track Whalesong as I continue to develop it?

[racket-dev] Is this a type error?

2012-10-23 Thread Danny Yoo
The following program is generating a type error in 5.3.1, but I don't understand it yet. ;;; #lang typed/racket/base ;; We may have more information about the lambda's name. This will show it. (define-struct: LamPositionalName ([name : Symbol]

Re: [racket-dev] Is this a type error?

2012-10-23 Thread Danny Yoo
On Tue, Oct 23, 2012 at 5:14 PM, Danny Yoo d...@hashcollision.org wrote: The following program is generating a type error in 5.3.1, but I don't understand it yet. ;;; #lang typed/racket/base ;; We may have more information about the lambda's name. This will show

[racket-dev] chaperones in 5.3.1?

2012-10-23 Thread Danny Yoo
I'm seeing the following error deep within Whalesong when I'm running its test suite: . . ../../../Library/Racket/planet/300/5.3.0.900/cache/dyoo/browser-evaluate.plt/1/0/browser-evaluate.rkt:145:0: prop:chaperone-contract: expected a chaperone of

Re: [racket-dev] chaperones in 5.3.1?

2012-10-24 Thread Danny Yoo
On Tue, Oct 23, 2012 at 9:42 PM, Robby Findler ro...@eecs.northwestern.edu wrote: Is it possible that one of those vectors is mutable and the other is immutable? I'm not sure yet. Sorry about not replying immediately; I'm still trying to figure out where the error is occurring. It's at a

Re: [racket-dev] chaperones in 5.3.1?

2012-10-24 Thread Danny Yoo
I'm hacking into Whalesong to see if I can nail this down more precisely. Ok, I've got a better test case for you that boils down what I'm encountering. Here's a set of three files test.rkt, structs.rkt, and builder.rkt: ;; test.rkt #lang typed/racket/base (require structs.rkt)

Re: [racket-dev] chaperones in 5.3.1?

2012-10-25 Thread Danny Yoo
On Wed, Oct 24, 2012 at 8:19 PM, sstri...@ccs.neu.edu wrote: I've pushed a change which fixes this. Ok, thank you. Whalesong is still not working, but it got further this time. I'm hitting the following exception now: ### ensure-const-value:

Re: [racket-dev] chaperones in 5.3.1?

2012-10-25 Thread Danny Yoo
;;; test-const-value.rkt Whoops, I made an incorrect reduced test case. I broke something when trying to make the reduced test case from what I'm seeing in Whalesong. Let me follow up when I produce a correct reduced test case. _ Racket Developers list:

Re: [racket-dev] chaperones in 5.3.1?

2012-10-25 Thread Danny Yoo
On Thu, Oct 25, 2012 at 12:36 PM, Danny Yoo d...@hashcollision.org wrote: ;;; test-const-value.rkt Whoops, I made an incorrect reduced test case. I broke something when trying to make the reduced test case from what I'm seeing in Whalesong. Let me follow up when I produce a correct reduced

Re: [racket-dev] chaperones in 5.3.1?

2012-10-25 Thread Danny Yoo
On Thu, Oct 25, 2012 at 2:55 PM, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote: Hi Danny, I'm looking into your code. Can you provide some instructions for how I can test Whalesong myself, so that I can reduce the cycle time on this issue? Sure, no problem. From scratch: $ git clone

Re: [racket-dev] What's the process for adding a project to DrDr

2012-10-25 Thread Danny Yoo
On Tue, Oct 23, 2012 at 9:56 PM, Jay McCarthy jay.mccar...@gmail.com wrote: DrDr has the capability of doing that [installing packages], but installing Planet packages requires running raco setup which could break the parallelism and cause changes that are unsafe to the other tests. Also, I'd

Re: [racket-dev] What's the process for adding a project to DrDr

2012-10-25 Thread Danny Yoo
On Thu, Oct 25, 2012 at 3:22 PM, Jay McCarthy jay.mccar...@gmail.com wrote: DrDr gives you access to an X11 display, so I suppose you could run Firefox or something else that you could script. I don't really know anything about that and/or getting the results back to the Racket script to

Re: [racket-dev] chaperones in 5.3.1?

2012-10-26 Thread Danny Yoo
I ran the above, and it seemed to work well, until I got to the conform.rkt test, when it spewed a *lot* of output like this: _62969@http://localhost:8371/eval:4681 _63082@http://localhost:8371/eval:2199 _63901@http://localhost:8371/eval:6925 _63932@http://localhost:8371/eval:6052

[racket-dev] [DrDr] R25564 (timeout 1) (unclean 0) (stderr 4) (changes 57)

2012-10-28 Thread Danny Yoo
I received the following report from DrDr: On Sun, Oct 28, 2012 at 5:52 PM, d...@racket-lang.org wrote: DrDr has finished building push #25564 after 1.24h. http://drdr.racket-lang.org/25564/ Push #25564 (which you did) contained a NEW condition that may need inspecting. stderr

[racket-dev] Fwd: [DrDr] R25581 (timeout 2) (unclean 1) (stderr 3) (changes 59)

2012-10-31 Thread Danny Yoo
Does anyone know why one of the tests in DrDr is failing? http://drdr.racket-lang.org/25581/collects/redex/tests/gen-test.rkt -- Forwarded message -- From: d...@racket-lang.org Date: Wed, Oct 31, 2012 at 4:48 PM Subject: [DrDr] R25581 (timeout 2) (unclean 1) (stderr 3) (changes

[racket-dev] bug tracker won't let me query anymore

2012-11-06 Thread Danny Yoo
I logged into the bug tracker at bugs.racket-lang.org. What I see upon login now is the following: default User: dyoo Access: listdb *Racket Bugs*http://bugs.racket-lang.org/query/?database=default LoginYou do not have access to database: default. Please log in to another database I can't

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

2012-11-07 Thread Danny Yoo
I added a (time ...) around the call to write-xexpr, and watched how long it took to render the whole Racket Reference. Before those changes, the write-xexpr call took about 2 seconds on my machine; afterwards, it's now taking about 1 second. Are there other examples of stress tests in the

  1   2   >