Re: [racket-dev] Apple today

2014-06-02 Thread Danny Yoo
>From the Ars Technica article, second paragraph: "Swift seems to get rid of Objective C's reliance on defined pointers; instead, the compiler infers the variable type, just as many scripting languages do." Is it just me, or is almost everything about this sentence technically wrong, except the p

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.plt&owner=dyoo _ Racket Developers list: http://lists.racket-lang.org/dev

[racket-dev] continuation weirdness

2010-08-11 Thread Danny Yoo
I came across some oddity under DrRacket involving continuations. If I have the following in my definitions window: ; #lang racket (define (make-gen gen) (let ([cont (box #f)]) (lambda () (call/cc (lambda (caller)

[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: scribblings/slideshow/slideshow.scrb

[racket-dev] arrows missing from check syntax?

2011-04-21 Thread Danny Yoo
The lexical scoping arrows seem to be missing from Check Syntax. Is this deliberate? Currently using 5.1.1.3--2011-04-21. Thanks! _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev

[racket-dev] strange performance on regexp-match: proposed patch

2011-04-27 Thread Danny Yoo
I've isolated a performance issue on form-urlencoded->alist. On strings with very long key/values, the code appears to consume an unusual amount of memory. Does the following look ok? diff --git a/collects/net/uri-codec-unit.rkt b/collects/net/uri-codec-unit.rkt index c992d62..01d4c05 100644 --

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 ac

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 wrote: > On Wed, May 25, 2011 at 12:27 PM, John Clements > 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 cond but I have to use first, se

Re: [racket-dev] Please help me to fix the code

2011-05-31 Thread Danny Yoo
On Tue, May 31, 2011 at 12:04 PM, Matthias Felleisen wrote: > > Yingjian, if you point us to the web page with the problems, we might be > able to help you more effectively. Should this conversation be moved to the main Racket mailing list at http://lists.racket-lang.org/users/? My impression wa

[racket-dev] How can I search the bug list for bugs that I've submitted?

2011-06-02 Thread Danny Yoo
I've been staring at the Advanced Query section of the bug tracker: http://bugs.racket-lang.org/query/?database=default&cmd=advanced%20query and I have no idea how to get it to tell me what bugs I've submitted. I tried putting 'd...@cs.wpi.edu' as submitter id, but nothing's coming up. __

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

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

2011-06-10 Thread Danny Yoo
On Fri, Jun 10, 2011 at 6:43 PM, Robby Findler wrote: > Why did you sanitize the name? Is this language different than brainfuck? No real reason: I just didn't want to swear like a sailor. _ For list-related administrative tasks: http://lists.r

Re: [racket-dev] Fwd: a language example: brainfudge. Documentation done!

2011-06-12 Thread Danny Yoo
I've finished up my first draft of the "how to build brainf*ck" tutorial: http://hashcollision.org/tmp/brainfudge/manual.html It covers building that language from scratch, using PLaneT to do the development, and finally how to deploy it back onto PLaneT. It tries to assume fairly minimal kn

Re: [racket-dev] Fwd: a language example: brainfudge. Documentation done!

2011-06-13 Thread Danny Yoo
On Sun, Jun 12, 2011 at 8:08 PM, Danny Yoo wrote: > I've finished up my first draft of the "how to build brainf*ck" tutorial: > >    http://hashcollision.org/tmp/brainfudge/manual.html Thanks for all the feedback! I've updated some material; I completely reworded t

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

2011-07-01 Thread Danny Yoo
On Fri, Jul 1, 2011 at 6:57 PM, Ryan Culpepper wrote: > The release process for v5.1.2 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. Can I assume that the bytecode structures in compiler/zo-par

[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

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

2011-07-07 Thread Danny Yoo
> I built something like this as a toy for *SL a while back, a throw-away > prototype. I decided to set up a different property, not to use the procedure > property. Any reason for the preference? It's not an important preference. Using a separate structure property would have worked too for th

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

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

[racket-dev] read-marshalled: reader for splice-sequence-type not implemented?

2011-07-22 Thread Danny Yoo
I'm getting an error in the 5.1.1.900 branch when trying to zo-parse a file. Here's the error I'm seeing: -- read-marshalled: reader for splice-sequence-type not implemented ===

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

[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: ;;; dyo

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

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

[racket-dev] sporadic failure when building PLaneT docs

2011-08-17 Thread Danny Yoo
I'm seeing the following error message when I'm compiling Whalesong: require: unknown module: 'program raco setup: error: during Building docs for /home/dyoo/.racket/planet/300/5.1.3/cache/dyoo/closure-compile.plt/1/2/manual.scrbl ;;

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

2011-08-17 Thread Danny Yoo
On Wednesday, August 17, 2011, Robby Findler 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 administrative tasks: http://list

[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 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, ent

[racket-dev] scheme_is_list?

2011-09-07 Thread Danny Yoo
I'm looking at scheme_is_list in src/list.c, and it looks like there's code that's unreachable, unless I'm reading it wrong?! The body is: int scheme_is_list(Scheme_Object *obj1) { Scheme_Object *obj2; int flags; if (SCHEME_PAIRP(obj1)) { flags = SCHEME_PAIR_FLAGS(obj1); if (flags

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 se

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 a

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 > "(curr

[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

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

2011-11-17 Thread Danny Yoo
I'm having a little difficulty understanding the documentation of the mzlib/pconvert library (http://docs.racket-lang.org/mzlib/mzlib_pconvert.html) In particular, I'm trying to understand current-build-share-hook. The description talks about using the basic-share and a sub-share functions, but I

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 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 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 having two d

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

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

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

2012-01-18 Thread Danny Yoo
> * Danny Yoo >  - 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 for"b.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.

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

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

2012-02-06 Thread Danny Yoo
One of the promises of PLaneT is that it makes it easy to use library modules without explicit installation. One of the peeves of PLaneT is that it makes it too easy to use programs with implicit PLaneT package installation. --- Explanation: when I run a program for the first time, and I see a l

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 thou

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 o

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

[racket-dev] Any notion of ".jar" files for Racket?

2012-03-06 Thread Danny Yoo
One of the things I'm encountering on the Brown network file system, is that the number of files loaded by DrRacket causes some strain on their systems. I checked with the admins here, and by their count, opening up DrRacket or doing things with 'raco make' can open about a thousand files at start

Re: [racket-dev] Any notion of ".jar" files for Racket?

2012-03-06 Thread Danny Yoo
On Tue, Mar 6, 2012 at 2:44 PM, Tony Garnock-Jones wrote: > On 03/06/2012 02:14 PM, Danny Yoo wrote: >> >> The Java folks have a notion of ".jar" files that pack a collection of >> class files into a single archive, but also make it possible to load >> cla

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 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 context, so

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: http://pre.racket-lang.

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 f

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

Re: [racket-dev] paren-shape question

2012-03-25 Thread Danny Yoo
On Sun, Mar 25, 2012 at 8:09 PM, Robby Findler 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 than I expected. Thanks.

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: http://lists.racket-

[racket-dev] question on scribble/eval's do-plain-eval on bytes and strings

2012-03-29 Thread Danny Yoo
Hi everyone, I'm running into some unexpected behavior with regards to how scribble/eval drives an evaluator in an @interaction. When I do something like this: @interaction[#:eval my-eval "foobar"] I see that my-eval is being fed an s-expression of the form: `(b

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

Re: [racket-dev] question on scribble/eval's do-plain-eval on bytes and strings

2012-04-02 Thread Danny Yoo
>> Would it be equivalent behavior to turn the datum into a syntax object >> instead?  That is: >> >>              ;; within do-plain-eval: >>              (cond [(syntax? s) >>                     (syntax-case s (module) >>                       [(module . _rest) (syntax->datum s)] >>            

[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 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 ([function-

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 fuunctio

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

2012-04-06 Thread Danny Yoo
> > At the time 'def' is expanded, the lexical context of 'function-stx' does > not include the bindings of 'args'. But then the macro produces an > expression with that term inside a 'quote-syntax' form that is inside the > scope of the 'args'. So by the time the expander gets to the '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 p

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

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 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 where it is wired in,

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 b

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: https://github.com/dyoo/racket/commit/ed6570d482acada202798

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

[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 " ~a " n #\.) #;(show " .-~a-. " n #\|) #;(show " | ~a | " n #\space) (show "---~a---" n #\-)) (define (show fmt n ch) (pr

[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: http://docs.racket-lang.org/raco/decompi

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

2012-04-18 Thread Danny Yoo
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: ### kui ~/tmp $ racket hello.rkt resolved-module-path-name: expects argument of type ; given

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

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 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 this conversation, since

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

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 conten

Re: [racket-dev] conditional scribble documents

2012-04-25 Thread Danny Yoo
On Wed, Apr 25, 2012 at 6:38 PM, Matthias Felleisen 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: > >  $ ./xhtml draft

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

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 ge

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

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

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 mig

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 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 need > to use Eclipse,

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

2012-07-23 Thread Danny Yoo
On Fri, Jul 20, 2012 at 2:55 PM, Ryan Culpepper 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 of Typed Racket.

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

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 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 to investigate f

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

2012-07-26 Thread Danny Yoo
> * Danny Yoo > - 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 runnin

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

  1   2   3   >