Re: [racket-dev] Adding the new plot library [was: Re: Plot?]

2011-09-29 Thread Neil Toronto
On 09/29/2011 05:51 AM, Sam Tobin-Hochstadt wrote: On Thu, Sep 29, 2011 at 7:47 AM, Robby Findler ro...@eecs.northwestern.edu wrote: On Thu, Sep 29, 2011 at 3:33 AM, Eli Barzilaye...@barzilay.org wrote: Yesterday, Neil Toronto wrote: 1. Obviously, Module 2's path should be 'plot'. Right

Re: [racket-dev] Adding the new plot library [was: Re: Plot?]

2011-09-29 Thread Neil Toronto
On 09/29/2011 12:27 PM, Sam Tobin-Hochstadt wrote: You're referring to the code that implements `fit', right? Shouldn't we just keep that until someone does the same thing that Neil has done for that code too? Yes. I'll likely convert that one as well, but not right now. I've got quite a bit

[racket-dev] Adding the new plot library [was: Re: Plot?]

2011-09-28 Thread Neil Toronto
Eli, I'm moving part of our discussion to the dev list for others' input. On 09/25/2011 04:39 PM, Eli Barzilay wrote: Three hours ago, Neil Toronto wrote: It's going well. We could put it in the repo later today if you want. I just have to consolidate a bunch of parameters first, and move bits

Re: [racket-dev] New plot library [Was: (to Jay) Re: What I'm working on]

2011-08-27 Thread Neil Toronto
On 08/27/2011 11:26 AM, Aaron Turon wrote: Hi Neil, I've been using the new plot library for visualizing some benchmark results in three dimensions (# threads, amount of work, throughput). It's very easy to use, and the interactive 3d plots are great. I also plan to use the PDF export for my

Re: [racket-dev] Plot testing and feedback

2011-08-13 Thread Neil Toronto
On 08/13/2011 05:58 AM, Matthew Flatt wrote: The Mac's drawing layer equates drawing units and font point sizes, while the drawing layers for Windows and Unix try to adapt the to the screen resolution for the conversion of point-sizes to drawing-unit. For drawing pictures, it usually works

[racket-dev] Plot testing and feedback

2011-08-12 Thread Neil Toronto
I've pushed the latest plot2d and plot3d to my github account. I want to know whether there are any critical differences in output or execution time among platforms. There shouldn't be any, but it's possible. Can I get a few volunteers, at least one on Windows and one on Mac, to clone it and

Re: [racket-dev] Plot testing and feedback

2011-08-12 Thread Neil Toronto
Can I get a racket/gui expert's help on Jay's machine's output? There are two issues: 1. I have it render text with an 8 point font. On Jay's Mac, it's too small to be 8 point. Either there's some font scaling or it's erroneously choosing an 8 *pixel* font. How can we tell? 2. The Mac's

Re: [racket-dev] Plot testing and feedback

2011-08-12 Thread Neil Toronto
On 08/12/2011 07:04 PM, Shriram Krishnamurthi wrote: Windows done; specs below in case someone w/ a significantly different machine wants to try it out too: Windows 7 Home Premium 1.2 GHz ULV Intel Core i5-430UM 4 GB DDR3 RAM SATA hard drive (5400 RPM) Output is here:

Re: [racket-dev] New plot library [Was: (to Jay) Re: What I'm working on]

2011-08-05 Thread Neil Toronto
need to generate and would like to give your 2d plot a try. Kevin On 08/02/2011 11:33 AM, Neil Toronto wrote: Re-routing this email exchange to [racket-dev] for comments. Long story short: Jay roped me into replacing the current `plot' module by wrapping a plot library I was working on for my

[racket-dev] New plot library [Was: (to Jay) Re: What I'm working on]

2011-08-02 Thread Neil Toronto
Re-routing this email exchange to [racket-dev] for comments. Long story short: Jay roped me into replacing the current `plot' module by wrapping a plot library I was working on for my own use. (FWIW, I'm happy to finally contribute something!) Intended features: 1. Doesn't depend on an FFI

Re: [racket-dev] New plot library [Was: (to Jay) Re: What I'm working on]

2011-08-02 Thread Neil Toronto
, Neil Toronto wrote: Re-routing this email exchange to [racket-dev] for comments. Long story short: Jay roped me into replacing the current `plot' module by wrapping a plot library I was working on for my own use. (FWIW, I'm happy to finally contribute something!) Intended features: 1. Doesn't

Re: [racket-dev] New plot library [Was: (to Jay) Re: What I'm working on]

2011-08-02 Thread Neil Toronto
On 08/02/2011 01:28 PM, Eli Barzilay wrote: About a minute ago, Matthew Flatt wrote: At Tue, 2 Aug 2011 16:20:43 -0400, Eli Barzilay wrote: This replacement would be great -- it's pretty bad now that it goes out to a(n outdated) C library with inferior graphic capabilities, draws the graph

Re: [racket-dev] How about adding this simple list-shuffling procedure to racket?

2010-11-11 Thread Neil Toronto
Eric Hanchrow wrote: I find myself using this all the time; it seems it'd be handy to have built in. (define (shuffled list) (sort list #:key (lambda (_) (random)) #:cache-keys? #t)) Is the distribution of shuffled lists uniform? That'd be hard to analyze, since it would depend on the

Re: [racket-dev] set operations

2010-11-11 Thread Neil Toronto
I've written a version of `set-choose', and also `set-first' and `set-rest' (with the obvious meanings) a few times. They can be useful. (I always waffled about whether to use just `set-choose', or `set-first' along with `set-rest'. Mathematically, `set-first' and `set-rest' don't make sense,

Re: [racket-dev] flonum vs. inexact-real

2010-10-02 Thread Neil Toronto
Robby Findler wrote: Is there any value to, on a 64 bit machine, having 32 bit floats be immediate values to avoid boxing? It would certainly be faster than 64-bit boxed floats. You could get better precision with 62-bit unboxed floats, stealing a couple of bits from the exponent, doing

[racket-dev] Getting git instructions

2010-10-01 Thread Neil Toronto
The Ubuntu instructions should have a sudo apt-get update after adding the ppa repository. Neil T _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev

Re: [racket-dev] Getting git instructions

2010-10-01 Thread Neil Toronto
Eli Barzilay wrote: 20 minutes ago, Neil Toronto wrote: The Ubuntu instructions should have a sudo apt-get update after adding the ppa repository. Is this about the git instructions at git.racket-lang.org, and if so, do you mean that it should be: sudo add-apt-repository ppa:git

Re: [racket-dev] Racket documentation

2010-09-21 Thread Neil Toronto
Jay McCarthy wrote: What do you think is missing from these tutorials: http://docs.racket-lang.org/quick/index.html http://docs.racket-lang.org/continue/index.html http://docs.racket-lang.org/more/index.html In particular, Quick tries to present the essence of the languages. Maybe the

Re: [racket-dev] gc vs assignment

2010-08-25 Thread Neil Toronto
Matthias Felleisen wrote: Catching up with some mail. Neil wrote: Avoiding allocation reduces GC collects, which reduces stutters and hitches. My (possibly old) understanding of GC and mutation tell me that this is one of those prejudices that programmers should get rid of. Every mutation

<    1   2   3   4