Re: [racket-dev] for loops with interleaved escape continuations

2014-06-27 Thread Danny Yoo
Hi Jay, Have not been following Racket development too closely lately, but perhaps you might find this helpful? http://planet.racket-lang.org/display.ss?package=while-loop.pltowner=dyoo _ Racket Developers list: http://lists.racket-lang.org/dev

[racket-dev] seeing compile-time error for Whalesong on HEAD

2013-04-29 Thread Danny Yoo
I'm seeing the following error message on HEAD (08dc0e10d934cb29b9830a94945c2e38c275a9d8): application: procedure does not expect an argument with given keyword procedure: t-c/both given keyword: #:kind given arguments: Boolean #:kind 'impersonator #:seen (list (cons

Re: [racket-dev] seeing compile-time error for Whalesong on HEAD

2013-04-29 Thread Danny Yoo
There's something funky in typed-racket/private/type-contract.rkt, with some non-uniformity in the following lines: https://github.com/plt/racket/blob/master/collects/typed-racket/private/type-contract.rkt#L143-L149 where the keywords are being called #:kind, but the variable binding is called

Re: [racket-dev] seeing compile-time error for Whalesong on HEAD

2013-04-29 Thread Danny Yoo
I believe the right fix for this is: https://github.com/dyoo/racket/commit/24d03f2bf308854deb365fe8bcf6599e8d84fab9 but I do not have enough comfort with TR to know if this will break anything. Can someone review this? Thanks! _ Racket Developers list:

Re: [racket-dev] seeing compile-time error for Whalesong on HEAD

2013-04-29 Thread Danny Yoo
Ah, ok, I've reduced the test case to something more managable: two files, promise.rkt and test-promise.rkt, with the following content: ;; promise.rkt #lang typed/racket/base (require (for-syntax racket/base)) (provide MyPromise) (define-struct: (a) MyPromise ([thunk : (- a)]) #:mutable) ;;

Re: [racket-dev] processing the internal-context of a mod?

2013-04-25 Thread Danny Yoo
I'm trying to understand the case analysis so that I can properly generate the code to construct the namespace. The documentation says I have four things to keep track of for internal-context: case 1: #f: it's empty case 2: #t: it's all the requires case 3: stx: it's the

Re: [racket-dev] Release Announcement for v5.3.4

2013-04-22 Thread Danny Yoo
Is mflatt's fix to NACK events getting in 5.3.4? It's an important enough fix that I need to deploy something like it in the very near future. I really would like to avoid manually patching my production servers if I can avoid it. See:

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

2013-04-17 Thread Danny Yoo
Yes, Whalesong's running ok on it. _ Racket Developers list: http://lists.racket-lang.org/dev

[racket-dev] module path resolver - module name resolver?

2013-04-12 Thread Danny Yoo
I'm reading the documentation for: http://docs.racket-lang.org/reference/Module_Names_and_Loading.html#%28tech._module._path._resolver%29 and it looks to me like the term here should have been 'module name resolver'. I haven't been able to see other uses of 'module path resolver' anywhere else

Re: [racket-dev] how to define a custom null in typed racket

2013-04-11 Thread Danny Yoo
Perhaps something like this? ; #lang typed/racket/base (provide mynull mycar mycdr) (struct: MyNull ()) (define mynull (MyNull)) (define-type MyListof (All (A) (Rec X (U MyNull (Pair A X) (: mycar : (All (A) ((MyListof A) - A))) (define (mycar lst) (if (MyNull? lst)

[racket-dev] Confusion of difference of evaluating syntax vs compiled code?

2013-04-04 Thread Danny Yoo
I'm running into dynamic evaluation behavior that I don't quite understand yet. My example is: https://gist.github.com/dyoo/5314045 It's meant as an experiment to see whether it's possible to avoid 3d syntax in certain places like the gui-debugger. I try to throw in a wrench on lines

Re: [racket-dev] Right-paren behavior on Definitions window still looks funky

2013-04-03 Thread Danny Yoo
On Tuesday, April 2, 2013, Robby Findler wrote: I've just pushed a fix for this, but when you say still, do you mean that you've reported this before? I'm sorry: I should have reported it as a bug much sooner. I noticed it some time after 5.3.3, but thought you were experimenting with

Re: [racket-dev] Fix to module reader?

2013-04-03 Thread Danny Yoo
In general, if you want to add a test to DrDr, all you do is commit the file somewhere. I'd put that file in something like collects/tests/syntax/module-reader-bad-pos.rkt Ok, I've put it into collects/tests/syntax/module-reader-synthetic-pos.rkt. I don't think it's technically bad. I

[racket-dev] Measuring # of waiters on a port?

2013-04-02 Thread Danny Yoo
I'm trying to isolate a 503 error coming from WeScheme occasionally, and I think I've isolated the problem down to the number of allowed waiters on a port. I see that web-server has the default set to 40. Is there a good way to tell whether or not we do reach this limit at runtime, or is that

Re: [racket-dev] Fix to module reader?

2013-04-02 Thread Danny Yoo
Following up: I haven't received any input on this yet. On Fri, Mar 29, 2013 at 1:28 PM, Danny Yoo d...@hashcollision.org wrote: I'm running into an internal error with the syntax/module-reader library with the given test program, and wanted to double check with someone else before committing

[racket-dev] Right-paren behavior on Definitions window still looks funky

2013-04-02 Thread Danny Yoo
In the version of DrRacket in HEAD, when I press the two characters [ ] in sequence in the Definitions pane, I visually see that the paren fixing is happening on the ] in a very distracting way: it visually switches between ], }, and finally ). I don't see this behavior on the Interactions pane.

Re: [racket-dev] The next Racket release is about to begin

2013-04-02 Thread Danny Yoo
Are there high priority bugs that deserve attention? _ Racket Developers list: http://lists.racket-lang.org/dev

[racket-dev] Fix to module reader?

2013-03-29 Thread Danny Yoo
I'm running into an internal error with the syntax/module-reader library with the given test program, and wanted to double check with someone else before committing the fix upstream. The test file is: https://gist.github.com/dyoo/5272982 When I run this under an unpatched module reader, I

[racket-dev] processing the internal-context of a mod?

2013-03-27 Thread Danny Yoo
So I'm revisiting some of the Whalesong code, and finally realized that I'd been missing a crucial detail in the internal-context field of modules. http://docs.racket-lang.org/raco/decompile.html#%28def._%28%28lib._compiler%2Fzo-structs..rkt%29._mod%29%29 I got it wrong because I didn't

Re: [racket-dev] Tweaked doc pages

2013-03-06 Thread Danny Yoo
On Wed, Mar 6, 2013 at 9:59 AM, Eli Barzilay e...@barzilay.org wrote: I have the minimal things that I wanted in a working state now: * Links to the PDF versions next to the version. * A selection box for different versions of documents. * A google custom search. All of this is now

[racket-dev] datalog tests failing on HEAD?

2013-02-26 Thread Danny Yoo
I'm seeing some severe failures of the datalog test suite on HEAD. Is anyone else seeing this? Here's what I'm seeing on my end: 128-110-92-136:datalog dyoo$ pwd /Users/dyoo/local/racket/collects/tests/datalog 128-110-92-136:datalog dyoo$ ~/local/racket/bin/raco test . [lots of output]

Re: [racket-dev] I'd like to add a sidebar link to all documentation versions in docs.racket-lang.org.

2013-02-24 Thread Danny Yoo
On Sun, Feb 24, 2013 at 3:16 PM, Eli Barzilay e...@barzilay.org wrote: Two hours ago, Eli Barzilay wrote: I think that this should be reverted, and instead make the older docs more available: I'll make another column in the all-versions page (main page download all versions). Done, now.

Re: [racket-dev] I'd like to add a sidebar link to all documentation versions in docs.racket-lang.org.

2013-02-24 Thread Danny Yoo
On Sun, Feb 24, 2013 at 3:55 PM, Robby Findler ro...@eecs.northwestern.edu wrote: How about the docs link on the front page go to a page with the versions all listed, and those links go to pages that look like the current docs.racket-lang.org/ ? No, I do like that the default is to show the

[racket-dev] I'd like to add a sidebar link to all documentation versions in docs.racket-lang.org.

2013-02-19 Thread Danny Yoo
I always have a difficult time looking for the documentation for previous versions of Racket. For example, I wanted to compare API documentation for 5.2.1 vs. the latest. I visited: http://docs.racket-lang.org/ and immediately got stuck. I had no idea what to do next here. It turns out

Re: [racket-dev] Fix for PR13305 displays oddly in Opera

2013-02-18 Thread Danny Yoo
Ok, I'm reverting most of what I did here for PR 13305, but I do introduce a change in the sequence: span class=mywbr nbsp;/span where the discretionary word breaks are supposed to happen: the nbsp; is what I've adding. The extra nbsp; entity is bizarre, but I've seen it recommended

Re: [racket-dev] Fix for PR13305 displays oddly in Opera

2013-02-15 Thread Danny Yoo
On Fri, Feb 15, 2013 at 2:37 PM, Asumu Takikawa as...@ccs.neu.edu wrote: Hi all, A few days ago, PR 13305 was fixed in commit 29031f0972ead0d3cd26d61f163b5e5b59e9ffce. Unfortunately, the fix makes some identifiers in the docs display oddly in Opera. I've attached some screenshots that

Re: [racket-dev] need help with pr-13350: readline busy polling vs callback fix?

2013-02-09 Thread Danny Yoo
On Sat, Feb 9, 2013 at 6:12 AM, Robby Findler ro...@eecs.northwestern.edu wrote: I can't really help with the other questions, but yes, I expect it is the newline after the require. Read doesn't read past that matching paren: I'm observing that if I try to set the file-stream-buffer-mode

Re: [racket-dev] need help with pr-13350: readline busy polling vs callback fix?

2013-02-09 Thread Danny Yoo
Ok. I can dodge this problem by re-routing the getc-like function that readline uses with Racket-aware stuff. (set-ffi-obj! rl_getc_function libreadline (_fun _pointer - _int) (lambda (_) (define next-byte (read-byte)) (if (eof-object? next-byte) -1

Re: [racket-dev] need help with pr-13350: readline busy polling vs callback fix?

2013-02-08 Thread Danny Yoo
However, when I try using this in the larger context of xrepl, I've found that I've completely broken it. ### $ ~/local/racket/bin/racket Welcome to Racket v5.3.3.1. (require xrepl) - hello - world - help ### There's something funny with buffered input going on. If I do the

Re: [racket-dev] 5.3.3

2013-02-06 Thread Danny Yoo
On Wed, Feb 6, 2013 at 1:17 PM, Matthias Felleisen matth...@ccs.neu.edu wrote: Dear all DrRacket v5.3.2 has a bug that causes the highlighting to become corrupted when the program contour is visible. We are planning to release 5.3.3 with just a fix for this bug in the next few days. Would

Re: [racket-dev] 5.3.3

2013-02-06 Thread Danny Yoo
On Wed, Feb 6, 2013 at 3:39 PM, Robby Findler ro...@eecs.northwestern.edu wrote: This one seems maybe okay: https://github.com/dyoo/racket/commit/3e3608ccb82de7e14b0b3aed223d95c7d5a500ba but the other one definitely seems like too much. And I'm not sure that that one is a good idea. I think

Re: [racket-dev] 5.3.3

2013-02-06 Thread Danny Yoo
How likely is that authors of planet2 packages use the released version rather than the git head version? Ok, I rescind my point then, since PLaneT2 is in beta. _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] request for code review on fix for pr 13471

2013-02-04 Thread Danny Yoo
I've put this in my branch 'pr13471': https://github.com/dyoo/racket/tree/pr13471 After someone takes a look and says ok, I can push the fix upstream. It looks ok to me. Ok, good. Pushed. I don't think I have privileges to close the bug in the bug tracker. At least, the last time I

Re: [racket-dev] Running in DrRacket changes behavior of the `compiler/cm` library

2013-02-03 Thread Danny Yoo
On Sun, Feb 3, 2013 at 8:23 PM, Robby Findler ro...@eecs.northwestern.edu wrote: Why do you think it should include so much stuff? I would have said it should include only the directories where we know that collections live. Can those other directories are also potential places where

Re: [racket-dev] raco pkg and github

2013-02-02 Thread Danny Yoo
On Sat, Feb 2, 2013 at 9:19 AM, Ray Racine ray.rac...@gmail.com wrote: I saw a blurb this week where Microsoft is using http://libgit2.github.com/ to add git support into their tooling (Visual Studio no less) and their devs have been committing to fill in any MS specific git gaps. It looks

[racket-dev] Why is the Systems Programming guide using console-oriented Racket?

2013-01-31 Thread Danny Yoo
Is there a pedagogic reason why the Systems Programming guide explicitly discourages running through DrRacket? There's a leading paragraph in the intro: To get into the spirit of this tutorial, we suggest that you set DrRacket aside for a moment, and switch to raw racket in a terminal. But

Re: [racket-dev] Why is the Systems Programming guide using console-oriented Racket?

2013-01-31 Thread Danny Yoo
On Thu, Jan 31, 2013 at 4:01 PM, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote: It emphasizes that Racket is broadly applicable, and works both in an IDE environment, and in a text editor/shell environment, each of which is preferred by large groups of developers. Ok, this idea is important.

Re: [racket-dev] Why is the Systems Programming guide using console-oriented Racket?

2013-01-31 Thread Danny Yoo
On Thu, Jan 31, 2013 at 8:23 PM, Eli Barzilay e...@barzilay.org wrote: Also, no matter what you do, there are a certain kind of hackers that will never dump their console for all the gui in the world. (And the size of this crown is not negligible.) Ok. I think Matthew's note is good enough

Re: [racket-dev] Racket learning page videos

2013-01-29 Thread Danny Yoo
On Tue, Jan 29, 2013 at 9:35 AM, Nick Shelley nickmshel...@gmail.com wrote: I recently came across a presentation on the Racket way by Matthew Flatt (http://www.infoq.com/presentations/Racket) and thought that it would be nice to be able to discover this and similar things more easily. I really

[racket-dev] attacks on the plt web server?

2013-01-22 Thread Danny Yoo
I've noticed that one of my plt servers is being hit hard occassionally, with the following output coming out of the Racket web server before it crashes. I'm including a portion of the output. This is on Racket 5.3. Can it be that somehow something is escaping the custodian cleanup? dyoo@web4

Re: [racket-dev] Release Announcement for v5.3.2

2013-01-18 Thread Danny Yoo
information and list your packages on the new index [https://pnr.racket-lang.org/]. We anticipate it will leave beta during the next release. Woohoo! But pnr.racket-lang.org is being flagged as unsafe in Google Chrome and Firefox (and probably the other browsers too). What needs to be done

Re: [racket-dev] request to move cfg-parser from algol60 into parser-tools

2013-01-16 Thread Danny Yoo
Cut-and-paste worries me. Instead of copying the documentation for X to Y, usually it works better to document X as Like Y, except Could that work in this case? Ok, I can change it so it just documents the delta. How does this look?

[racket-dev] more planet2 feedback

2013-01-10 Thread Danny Yoo
Hi Jay, Some more usability feedback: 1. When updating checksums of my existing packages, I can't tell what gets updated, as the page for: https://plt-etc.byu.edu:9004/manage can look the same before and after Update checksums, so I don't know if I actually did anything, or if the server

Re: [racket-dev] Need a good way to fix location on cfg-parser

2013-01-08 Thread Danny Yoo
On Fri, Jan 4, 2013 at 5:46 PM, Danny Yoo d...@hashcollision.org wrote: I've caught a bug with regards to the source locations constructed by cfg-parser, but I don't know quite what the right patch is. I do know what the _wrong_ patch is, so maybe that will help? :) Ok, I needed to do a bit

[racket-dev] Working on Ragg. Suggestions?

2013-01-01 Thread Danny Yoo
Hi everyone, I've been working on a parsing framework with the design goal to be easy to use. I'm calling it ragg: Racket AST Generator Generator. (It used to be called 'autogrammar', but that was too much of a mouthful. Thanks to Joe Politz for the new name!) The current source code uses

Re: [racket-dev] scribble/doclang example?

2012-12-13 Thread Danny Yoo
I suggest that you pick a new name for the language that you'd like to have, and fix the docs to talk about that one. Then, we can leave `scribble/doclang' alone, documenting it as only for backward compatibility. Ok, done. I've pushed up a scribble/doclang2 and documentation that describes

Re: [racket-dev] scribble/doclang example?

2012-12-13 Thread Danny Yoo
Ok, done. I've pushed up a scribble/doclang2 and documentation that describes how to use both scribble/doclang2 and scribble/doclang. Ugh; I feel bad that I forgot to write proper test cases. Where are the existing test cases for doclang? I'll add some for doclang2, but I don't know where to

[racket-dev] scribble/doclang example?

2012-12-12 Thread Danny Yoo
I'm reading the documentation on how scribble/doclang works, http://docs.racket-lang.org/scribble/doclang.html but it doesn't say really what it needs to work. That is, a program written in scribble/doclang must provide a few elements besides the chunks of document: it needs to also

[racket-dev] getting error on syntax-local-module-exports with a planet 2 package

2012-12-04 Thread Danny Yoo
I'm running into the following error when trying to install my red-black tree package from planet2: bash-3.2$ ~/local/racket/bin/raco pkg install data-red-black [some output later] syntax-local-module-exports: unknown module module name: #resolved-module-path:(submod

Re: [racket-dev] getting error on syntax-local-module-exports with a planet 2 package

2012-12-04 Thread Danny Yoo
syntax-local-module-exports: unknown module module name: #resolved-module-path:(submod /Users/dyoo/Library/Racket/ 5.3.1.9/pkgs/installed/data-red-black/data/red-black/red-black.rkt uncontracted) context...: ... never mind. I'm an idiot, as usual. It's a problem in one of my helper

[racket-dev] Other PLaneT 2 questions

2012-12-04 Thread Danny Yoo
* Will there be a procedure for package revocation? For example, if I put something up, I may want to take it down, either because it should be renamed, or it's bitrotted code. * Will there be an easy way to pull a full list of packages programmatically from the central repositories? One of

Re: [racket-dev] Planet 2 package names

2012-12-03 Thread Danny Yoo
Planet 1 packages and Racket collections also don't use A-Z (with one or two exceptions on Planet). In theory, we could disallow those characters and gain compatibility with case-insensitive mediums such as the default Mac OS X filesystem. I'm not particularly attached to this second

Re: [racket-dev] Planet 2 Beta Release

2012-12-02 Thread Danny Yoo
Exactly. That student is going to get an error message when DrRacket starts up saying that the handin tool is broken. They complain to someone, and so on. Or, even worse, the student can get the error message at Check Syntax time, after which because it's an internal error, DrRacket goes

[racket-dev] augmented rb-tree with customizable combinator

2012-11-30 Thread Danny Yoo
Hi Matthew, Ok, I've generalized the code so you can use a custom node combinator to compute the metadata at each node. I've tried to write comprehensive documentation's in collects/syntax-color/augmented-red-black.scrbl. Maybe it's a candidate for the data collection? I don't think the

[racket-dev] String search in mred/private/wxme: knuth-bendix?!

2012-11-29 Thread Danny Yoo
I'm staring at do-find-string-all's implementation, and right before the string-matching logic, there's a mysterious comment Knuth Bendix in there. I'm staring at the code some more, and it looks more like KMP (Knuth-Morris-Pratt) to me. (I have no idea what the Knuth-Bendix algorithm looks

Re: [racket-dev] indentation: the rb tree didn't help, but a hack to stick-to-next-sexp might

2012-11-26 Thread Danny Yoo
On Mon, Nov 26, 2012 at 11:31 AM, Robby Findler ro...@eecs.northwestern.edu wrote: That kind of thing makes a lot of sense to me. I'd probably write the code a little bit differently, having a function that takes a string and sees if the text starting at start-pos matches that string

Re: [racket-dev] indentation: the rb tree didn't help, but a hack to stick-to-next-sexp might

2012-11-26 Thread Danny Yoo
and call it a bunch (inside an 'or', one branch for each of those strings that are currently in the second argument to member; or well, even use a for/or, I guess). Or, if you wanted, you could change your existing code to push the 'or' inside the 'and' and then drop the promise. Ok, I'll

[racket-dev] indentation: the rb tree didn't help, but a hack to stick-to-next-sexp might

2012-11-25 Thread Danny Yoo
At least, as far as I can tell, it does not perform any better than the splay tree. It's actually about a second slower when indenting drracket/private/unit.rkt. Darn it. However, I did find something that's slightly nutty: the following patch appears to greatly improve indentation:

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

2012-11-22 Thread Danny Yoo
On Tue, Nov 20, 2012 at 8:58 AM, Robby Findler ro...@eecs.northwestern.eduwrote: Yes, I think that's the eventual plan. Ok, I've added documentation. Is red-black.rkt something that I should move into the data collection now, or should I wait? I was also going to change the name of the

[racket-dev] Wow; racket master at least 2x faster than 5.3.1 on my rb tree benchmark?

2012-11-18 Thread Danny Yoo
I'm doing some micro-optimizations on my rb-tree implementation. One thing I'm testing is inserting the entire contents of /usr/share/dict/words. It's heavily dominated by structure-mutation code. Under 5.3.1, I see the following times: Timing construction of /usr/share/dict/words:

Re: [racket-dev] Wow; racket master at least 2x faster than 5.3.1 on my rb tree benchmark?

2012-11-18 Thread Danny Yoo
On Sun, Nov 18, 2012 at 4:24 PM, Pierpaolo Bernardi olopie...@gmail.comwrote: How does compare to builtin mutable hashes? The following code represents a rough hashtable equivalent of what my rb code would be enabling (quick search for word by position): ;; We might be curious as to

Re: [racket-dev] Replacing the splay tree token-tree% with an rb-tree?

2012-11-16 Thread Danny Yoo
I wanted to surprise you by getting this all working by mid-week, but it's taking longer than I thought... :) So I might as well run it by you to make sure the idea is sound before I go further on this track. The core rb implementation is almost done. The search-by-position, insert-before,

Re: [racket-dev] Replacing the splay tree token-tree% with an rb-tree?

2012-11-14 Thread Danny Yoo
On Tue, Nov 13, 2012 at 6:15 PM, Robby Findler ro...@eecs.northwestern.eduwrote: That sounds fantastic! Thanks! In your stress test, try doing random insertions/deletions to try to find things that break the red/black invariant. Of course!

[racket-dev] More Scribble optimization; contracts?

2012-11-09 Thread Danny Yoo
I've been hammering on the problem of speeding up scribble. One of the things that's a surprise is that the contract checks on the part/element structure appear to be significant because Scribble documents are so granularly structured. I focus on extract-part-style-files in

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

2012-11-09 Thread Danny Yoo
On Fri, Nov 9, 2012 at 5:40 PM, Robby Findler ro...@eecs.northwestern.eduwrote: Was it actually faster? Unfortunately I couldn't observe the change switching from display to write-string: it was within the margin of noise. _ Racket Developers list:

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

2012-11-08 Thread Danny Yoo
On Wed, Nov 7, 2012 at 10:23 PM, Eli Barzilay e...@barzilay.org wrote: 5 hours ago, Danny Yoo wrote: Somewhat small change. But it was low-hanging fruit, and I needed to make some kind of progress. :) Last time I benchmarked this kind of IO, using `write-string' and/or `write-bytes

Re: [racket-dev] Planet 2 Beta Release

2012-11-08 Thread Danny Yoo
On Thu, Nov 8, 2012 at 10:12 AM, Neil Toronto neil.toro...@gmail.comwrote: On 11/08/2012 06:16 AM, Jay McCarthy wrote: Now that the 5.3.1 release is finished, I've just pushed the beta release of Planet 2 to the Racket core. I just read the docs. This is friggin' awesome. Quick comment:

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

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

2012-11-07 Thread Danny Yoo
Somewhat small change. But it was low-hanging fruit, and I needed to make some kind of progress. :) I'll look into the stress tests and will try to add an appropriate one for the xexpr displaying function. The place where Scribble documentation generation uses a lot of time appears to be the

[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

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

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

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

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

[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

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

[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

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. _

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

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

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

  1   2   >