Re: [racket-dev] [racket] racket doesn't work with Mac OSX 10.7 (Lion)?

2011-08-02 Thread Sam Tobin-Hochstadt
On Mon, Aug 1, 2011 at 12:43 PM, Joseph Maline joe.mal...@me.com wrote:
 I've downloaded Racket, copied the directory into applications, and try and 
 run and get the following crash report …
 Any users having similar problem? Anyone from dev have any thoughts (note, 
 I've tried this 4 times …)

Please try the pre-release version (for the soon-to-be-released next
version), which works on Lion:

 http://pre.plt-scheme.org/release/installers/

-- 
sam th
sa...@ccs.neu.edu

_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


[racket-dev] Release Announcement for v5.1.2

2011-08-02 Thread Eli Barzilay
The hopefully-final release announcement sketch is below.

--
* The download page includes 64-bit installers for Mac OS X,
  Windows, and two Debian flavors.

* Racket now includes a new `racket/place' library to support
  parallelism, complementing `racket/future'.  Racket's parallel
  build process is now based on places instead of multiple OS
  processes.

  Places support share-nothing parallelism and message-passing
  communication.  Compared to futures, places are heavyweight, but
  they have a simpler performance model.

* The syntax-certificate system has been replaced by a syntax-taint
  system.  Both certificates and taints were designed to protect
  otherwise inaccessible bindings from abuse when they appear in
  macro expansions.  Taints are simpler and lighter, and the switch
  closes known holes in the certificate system.  Macros that are not
  implemented with `syntax-rules' or `define-syntax-rule', however,
  must explicitly use `syntax-protect' to protect their expansions
  from abuse.

* The `net/url' library supports HTTPS connections, but beware that
  by default all sites are accepted (equivalent to ignoring a
  browser's warnings about untrusted certificates).

* The `for' forms now support an `#:unless' clause, and a
  nonnegative integer can be used as a sequence.  The new `compose1'
  function creates single-valued composition functions.  The
  `racket/function' library now provides `identity', `thunk', and
  `thunk*'.

* Error messages in the student languages use a simplified
  vocabulary and consistent phrasings.  If you maintain curriculum
  material or teachpacks then please consider updating.  See the
  Error Message Composition Guidelines section in the
  documentation for details.

* Typed Racket: almost all core Racket data structures and
  operations are now accessible in Typed Racket (most of this work
  is due to prolific contributor Eric Dobson).  The performance of
  the typechecker has been significantly improved.

* The `scriblib/bibtex' library supports BibTeX-formatted citation
  databases in Scribble documents.  BibTeX can be tricky to parse,
  so please report failed entries as bug reports.

* The license has been clarified: we now use LGPLv2.1 uniformly.
  (The license file used to specify LGPLv2, contrary to the download
  pages.)
--
-- 
  ((lambda (x) (x x)) (lambda (x) (x x)))  Eli Barzilay:
http://barzilay.org/   Maze is Life!
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


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

2011-08-02 Thread Sam Tobin-Hochstadt
On Tue, Aug 2, 2011 at 6:14 AM, Eli Barzilay e...@barzilay.org wrote:

 --
 * The download page includes 64-bit installers for Mac OS X,
  Windows, and two Debian flavors.

We should emphasize OS X Lion support here.

-- 
sam th
sa...@ccs.neu.edu

_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


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

2011-08-02 Thread Robby Findler
Yes I agree.

On Tuesday, August 2, 2011, Sam Tobin-Hochstadt sa...@ccs.neu.edu wrote:
 On Tue, Aug 2, 2011 at 6:14 AM, Eli Barzilay e...@barzilay.org wrote:

 --
 * The download page includes 64-bit installers for Mac OS X,
  Windows, and two Debian flavors.

 We should emphasize OS X Lion support here.

 --
 sam th
 sa...@ccs.neu.edu

 _
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev

_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev

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

2011-08-02 Thread Eli Barzilay
An hour ago, Sam Tobin-Hochstadt wrote:
 On Tue, Aug 2, 2011 at 6:14 AM, Eli Barzilay e...@barzilay.org wrote:
 
  --
  * The download page includes 64-bit installers for Mac OS X,
Windows, and two Debian flavors.
 
 We should emphasize OS X Lion support here.

I'm not sure that it makes any difference that the *installer* was
built on Lion.  How does this look (added Win7 for the same reason):

  * The download page includes 64-bit installers for Mac OS X (built
on Lion), Windows (built on Windows7), and two Debian flavors.

-- 
  ((lambda (x) (x x)) (lambda (x) (x x)))  Eli Barzilay:
http://barzilay.org/   Maze is Life!
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


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

2011-08-02 Thread Sam Tobin-Hochstadt
No, the issue is that 5.1.1 doesn't work at all on Lion, and we should
emphasize that the new release does work.
On Aug 2, 2011 10:01 AM, Eli Barzilay e...@barzilay.org wrote:
 An hour ago, Sam Tobin-Hochstadt wrote:
 On Tue, Aug 2, 2011 at 6:14 AM, Eli Barzilay e...@barzilay.org wrote:
 
  --
  * The download page includes 64-bit installers for Mac OS X,
  Windows, and two Debian flavors.

 We should emphasize OS X Lion support here.

 I'm not sure that it makes any difference that the *installer* was
 built on Lion. How does this look (added Win7 for the same reason):

 * The download page includes 64-bit installers for Mac OS X (built
 on Lion), Windows (built on Windows7), and two Debian flavors.

 --
 ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
 http://barzilay.org/ Maze is Life!
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev

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

2011-08-02 Thread Eli Barzilay
6 minutes ago, Sam Tobin-Hochstadt wrote:
 No, the issue is that 5.1.1 doesn't work at all on Lion, and we
 should emphasize that the new release does work.

Suggestions?

-- 
  ((lambda (x) (x x)) (lambda (x) (x x)))  Eli Barzilay:
http://barzilay.org/   Maze is Life!
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


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

2011-08-02 Thread Vincent St-Amour
At Tue, 2 Aug 2011 11:11:55 -0400,
Eli Barzilay wrote:
 
 6 minutes ago, Sam Tobin-Hochstadt wrote:
  No, the issue is that 5.1.1 doesn't work at all on Lion, and we
  should emphasize that the new release does work.
 
 Suggestions?

- Racket now supports Mac OS X Lion.

I don't think there's much more to say than that.

Vincent
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


[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 to libplplot
 2. Can automatically place plot area on functions and points
 3. Uses parameters for keyword argument default values
 4. Uses only dc% primitives / Is very pretty
 5. Is more flexible (when using the new plot2d and plot3d modules)

Linux screenshots:

http://students.cs.byu.edu/~ntoronto/plot2d.png
http://students.cs.byu.edu/~ntoronto/plot3d.png

The first shows off the almost-finished plot2d. It's as fast as the 
original `plot', and `shade' is twice as fast. Props to Matthew and 
Linux's foreign drawing libs for making it look so nice.


The second shows off 3d-plot-area%, which wraps a dc% with 3d drawing 
primitives. The new plot3d will be 1.5x-2x slower, but the new features 
(e.g. compositing 3d plots, contours) should be worth it.


I'll push code to github soon, and ask for volunteers to verify that it 
looks good on Mac and Windows.


Specific questions
--

Matthew: It should look good on Mac and Windows if their drawing libs do 
subpixel-accurate, high-quality antialiasing. Do they?


Doug and other heavy `plot' users: What can I add to plot2d and plot3d 
to make your life easier?


Noel: Do you happen to have a kernel density estimator implementation 
that uses FFT or is otherwise more efficient than O(n^2)? Currently, 
(plot2d (density samples)) works, but is slow on large samples.


Anyone: Are there any original `plot' features that should *not* be 
emulated in the new `plot' wrapper module?


Anyone: Is it easy/possible to manipulate snip%s with, say, a 
click-and-drag? How about placing edit boxes on them? If it's not hard, 
I would like to make the 3d plots manipulatable after rendering.


Neil T

On 07/30/2011 02:01 PM, Jay McCarthy wrote:

Yup, so that old programs will keep working.

Will you support the line fitting?

Jay

On Sat, Jul 30, 2011 at 1:56 PM, Neil Torontoneil.toro...@gmail.com  wrote:

Sure can! Does compatible source library mean a bunch of wrappers for the
functions plot currently exports?

Neil

On 07/30/2011 05:49 AM, Jay McCarthy wrote:


Awesome. We've been wanting to throw it out for a long time. Can you
make a compatible source library too... so we can replace it in the
core?

Jay

On Fri, Jul 29, 2011 at 10:35 PM, Neil Torontoneil.toro...@gmail.com
  wrote:


I've attached a screenshot of what I'm working on.

It's a replacement for Racket's plot module. The plot module has these
drawbacks:

1. It's not smart enough to automatically size plots to the things -
renderers - you're plotting. A renderer is only a function that accepts
an
image snip, so the plotter can't compute a rectangle that contains it.

2. It depends on an external library, plplot.

3. It draws ugly curves because plplot can't draw lines with
subpixel-accurate endpoints. Also, plplot messes up antialiasing when the
curves are made of too many lines. Whatever Racket uses doesn't have this
problem, at least on Linux.

4. It doesn't use parameters for things for which parameters make sense,
like the size of the plots.

I could probably alter the plot module for any one or two of these and
submit patches. For all four, writing a replacement makes more sense.

FWIW, this is related to my research. I've been using R to generate
plots,
but it's getting annoying to serialize samples in Racket and then
unserialize them in R.

Also, Bayesians make a LOT of plots. It's *really* nice to display them
using image snips. That's very, very cool.

This project feels vacation-y and relaxing. I figure it's because it
doesn't
require any more math than linear algebra. :D

Neil

_
 For list-related administrative tasks:
 http://lists.racket-lang.org/listinfo/dev


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

2011-08-02 Thread Matthias Felleisen

Will it be backward compatible with plot? -- Matthias



On Aug 2, 2011, at 1:33 PM, 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 depend on an FFI to libplplot
 2. Can automatically place plot area on functions and points
 3. Uses parameters for keyword argument default values
 4. Uses only dc% primitives / Is very pretty
 5. Is more flexible (when using the new plot2d and plot3d modules)
 
 Linux screenshots:
 
http://students.cs.byu.edu/~ntoronto/plot2d.png
http://students.cs.byu.edu/~ntoronto/plot3d.png
 
 The first shows off the almost-finished plot2d. It's as fast as the original 
 `plot', and `shade' is twice as fast. Props to Matthew and Linux's foreign 
 drawing libs for making it look so nice.
 
 The second shows off 3d-plot-area%, which wraps a dc% with 3d drawing 
 primitives. The new plot3d will be 1.5x-2x slower, but the new features (e.g. 
 compositing 3d plots, contours) should be worth it.
 
 I'll push code to github soon, and ask for volunteers to verify that it looks 
 good on Mac and Windows.
 
 Specific questions
 --
 
 Matthew: It should look good on Mac and Windows if their drawing libs do 
 subpixel-accurate, high-quality antialiasing. Do they?
 
 Doug and other heavy `plot' users: What can I add to plot2d and plot3d to 
 make your life easier?
 
 Noel: Do you happen to have a kernel density estimator implementation that 
 uses FFT or is otherwise more efficient than O(n^2)? Currently, (plot2d 
 (density samples)) works, but is slow on large samples.
 
 Anyone: Are there any original `plot' features that should *not* be emulated 
 in the new `plot' wrapper module?
 
 Anyone: Is it easy/possible to manipulate snip%s with, say, a click-and-drag? 
 How about placing edit boxes on them? If it's not hard, I would like to make 
 the 3d plots manipulatable after rendering.
 
 Neil T
 
 On 07/30/2011 02:01 PM, Jay McCarthy wrote:
 Yup, so that old programs will keep working.
 
 Will you support the line fitting?
 
 Jay
 
 On Sat, Jul 30, 2011 at 1:56 PM, Neil Torontoneil.toro...@gmail.com  wrote:
 Sure can! Does compatible source library mean a bunch of wrappers for the
 functions plot currently exports?
 
 Neil
 
 On 07/30/2011 05:49 AM, Jay McCarthy wrote:
 
 Awesome. We've been wanting to throw it out for a long time. Can you
 make a compatible source library too... so we can replace it in the
 core?
 
 Jay
 
 On Fri, Jul 29, 2011 at 10:35 PM, Neil Torontoneil.toro...@gmail.com
  wrote:
 
 I've attached a screenshot of what I'm working on.
 
 It's a replacement for Racket's plot module. The plot module has these
 drawbacks:
 
 1. It's not smart enough to automatically size plots to the things -
 renderers - you're plotting. A renderer is only a function that accepts
 an
 image snip, so the plotter can't compute a rectangle that contains it.
 
 2. It depends on an external library, plplot.
 
 3. It draws ugly curves because plplot can't draw lines with
 subpixel-accurate endpoints. Also, plplot messes up antialiasing when the
 curves are made of too many lines. Whatever Racket uses doesn't have this
 problem, at least on Linux.
 
 4. It doesn't use parameters for things for which parameters make sense,
 like the size of the plots.
 
 I could probably alter the plot module for any one or two of these and
 submit patches. For all four, writing a replacement makes more sense.
 
 FWIW, this is related to my research. I've been using R to generate
 plots,
 but it's getting annoying to serialize samples in Racket and then
 unserialize them in R.
 
 Also, Bayesians make a LOT of plots. It's *really* nice to display them
 using image snips. That's very, very cool.
 
 This project feels vacation-y and relaxing. I figure it's because it
 doesn't
 require any more math than linear algebra. :D
 
 Neil
 _
 For list-related administrative tasks:
 http://lists.racket-lang.org/listinfo/dev


_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


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

2011-08-02 Thread Neil Toronto
I'll write a backward-compatible wrapper for plot, so yes. Mostly. I'll 
try to emulate it as closely as possible, but any code that depends on 
the specific pixels or snip% class `plot' generates will probably break.


I want plot2d and plot3d to be a little saner than plot. For example, 
currently, plot2d automatically shows the entirety of a parabolic curve; 
in contrast, plot only shows it in the area [-5,5] x [-5,5] unless you 
override it.


Neil T

On 08/02/2011 11:38 AM, Matthias Felleisen wrote:

Will it be backward compatible with plot? -- Matthias



On Aug 2, 2011, at 1:33 PM, 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 depend on an FFI to libplplot
2. Can automatically place plot area on functions and points
3. Uses parameters for keyword argument default values
4. Uses only dc%  primitives / Is very pretty
5. Is more flexible (when using the new plot2d and plot3d modules)

Linux screenshots:

http://students.cs.byu.edu/~ntoronto/plot2d.png
http://students.cs.byu.edu/~ntoronto/plot3d.png

The first shows off the almost-finished plot2d. It's as fast as the original 
`plot', and `shade' is twice as fast. Props to Matthew and Linux's foreign 
drawing libs for making it look so nice.

The second shows off 3d-plot-area%, which wraps a dc%  with 3d drawing 
primitives. The new plot3d will be 1.5x-2x slower, but the new features (e.g. 
compositing 3d plots, contours) should be worth it.

I'll push code to github soon, and ask for volunteers to verify that it looks 
good on Mac and Windows.

Specific questions
--

Matthew: It should look good on Mac and Windows if their drawing libs do 
subpixel-accurate, high-quality antialiasing. Do they?

Doug and other heavy `plot' users: What can I add to plot2d and plot3d to make 
your life easier?

Noel: Do you happen to have a kernel density estimator implementation that uses 
FFT or is otherwise more efficient than O(n^2)? Currently, (plot2d (density 
samples)) works, but is slow on large samples.

Anyone: Are there any original `plot' features that should *not* be emulated in 
the new `plot' wrapper module?

Anyone: Is it easy/possible to manipulate snip%s with, say, a click-and-drag? 
How about placing edit boxes on them? If it's not hard, I would like to make 
the 3d plots manipulatable after rendering.

Neil T

On 07/30/2011 02:01 PM, Jay McCarthy wrote:

Yup, so that old programs will keep working.

Will you support the line fitting?

Jay

On Sat, Jul 30, 2011 at 1:56 PM, Neil Torontoneil.toro...@gmail.com   wrote:

Sure can! Does compatible source library mean a bunch of wrappers for the
functions plot currently exports?

Neil

On 07/30/2011 05:49 AM, Jay McCarthy wrote:

Awesome. We've been wanting to throw it out for a long time. Can you
make a compatible source library too... so we can replace it in the
core?

Jay

On Fri, Jul 29, 2011 at 10:35 PM, Neil Torontoneil.toro...@gmail.com
  wrote:

I've attached a screenshot of what I'm working on.

It's a replacement for Racket's plot module. The plot module has these
drawbacks:

1. It's not smart enough to automatically size plots to the things -
renderers - you're plotting. A renderer is only a function that accepts
an
image snip, so the plotter can't compute a rectangle that contains it.

2. It depends on an external library, plplot.

3. It draws ugly curves because plplot can't draw lines with
subpixel-accurate endpoints. Also, plplot messes up antialiasing when the
curves are made of too many lines. Whatever Racket uses doesn't have this
problem, at least on Linux.

4. It doesn't use parameters for things for which parameters make sense,
like the size of the plots.

I could probably alter the plot module for any one or two of these and
submit patches. For all four, writing a replacement makes more sense.

FWIW, this is related to my research. I've been using R to generate
plots,
but it's getting annoying to serialize samples in Racket and then
unserialize them in R.

Also, Bayesians make a LOT of plots. It's *really* nice to display them
using image snips. That's very, very cool.

This project feels vacation-y and relaxing. I figure it's because it
doesn't
require any more math than linear algebra. :D

Neil

_
For list-related administrative tasks:
http://lists.racket-lang.org/listinfo/dev


_
 For list-related administrative tasks:
 http://lists.racket-lang.org/listinfo/dev


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

2011-08-02 Thread Eli Barzilay
An hour ago, Neil Toronto wrote:
 I'll write a backward-compatible wrapper for plot, so yes.
 Mostly. I'll try to emulate it as closely as possible, but any code
 that depends on the specific pixels or snip% class `plot' generates
 will probably break.
 
 I want plot2d and plot3d to be a little saner than plot. For
 example, currently, plot2d automatically shows the entirety of a
 parabolic curve; in contrast, plot only shows it in the area [-5,5]
 x [-5,5] unless you override it.

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 into a temporary file which is then loaded back in
Racket.  If you have something that is close enough it should be
fine.  Doug Wiliams is probably the heaviest user of plot, so making
his code run is probably a good estimate for close enough.  There
are also some tests in tests/plot that you can look into (they're
being compared directly to the png files in there, so they'd obviously
break, but should look similar).

Two more notes:

* IIRC, the only code that was considered as worth keeping is the
  curve fitting (and some other things around error estimations?) --
  it sounds like you have that part done better anyway.

* When you look at the current interface, bear in mind that it started
  with classes, but that was mostly an abuse to get something like
  keyword arguments.  Having just the plain keyworded interface should
  be fine now too, IMO.

-- 
  ((lambda (x) (x x)) (lambda (x) (x x)))  Eli Barzilay:
http://barzilay.org/   Maze is Life!
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


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

2011-08-02 Thread Matthew Flatt
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 into a temporary file which is then loaded back in
 Racket.

No, the current plot draws via dc% to a bitmap. I threw out the old
back end and installed callbacks that use `racket/draw' as of v5.1.

The pixels changed a lot with that switch, of course, so I don't think
anyone cares about changes at that level.

_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


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

2011-08-02 Thread Eli Barzilay
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 into a temporary file which is then
  loaded back in Racket.
 
 No, the current plot draws via dc% to a bitmap. I threw out the
 old back end and installed callbacks that use `racket/draw' as of
 v5.1.

Ah, so that probably makes things even easier for Neil.


 The pixels changed a lot with that switch, of course, so I don't
 think anyone cares about changes at that level.

Yeah.

-- 
  ((lambda (x) (x x)) (lambda (x) (x x)))  Eli Barzilay:
http://barzilay.org/   Maze is Life!
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


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 into a temporary file which is then
loaded back in Racket.

No, the current plot draws via dc%  to a bitmap. I threw out the
old back end and installed callbacks that use `racket/draw' as of
v5.1.

Ah, so that probably makes things even easier for Neil.


I wish it did! But the current stuff still uses libplplot via FFI. 
Matthew's overhaul makes libplplot render to a dc% instead of saving 
to a file. The rendering pipeline looks like


plot - FFI interface - libplplot frontend - dc backend - dc

Also, computing *what* to send to the dc is written in C. That's why the 
plots are still 1998-ugly, and why it's easier to code plot - dc from 
scratch.



The pixels changed a lot with that switch, of course, so I don't
think anyone cares about changes at that level.




That's good to know. Thanks!

Neil T

_
 For list-related administrative tasks:
 http://lists.racket-lang.org/listinfo/dev


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

2011-08-02 Thread Eli Barzilay
5 hours ago, Neil Toronto wrote:
 On 08/02/2011 01:28 PM, Eli Barzilay wrote:
  Ah, so that probably makes things even easier for Neil.
 
 I wish it did! But the current stuff still uses libplplot via FFI.
 Matthew's overhaul makes libplplot render to a dc% instead of
 saving to a file. The rendering pipeline looks like
 
  plot - FFI interface - libplplot frontend - dc backend - dc
 
 Also, computing *what* to send to the dc is written in C.

Well, easier in the sense that you're left with implementing just
the what part.


 That's why the plots are still 1998-ugly, and why it's easier to
 code plot - dc from scratch.

[I smell themes...]

-- 
  ((lambda (x) (x x)) (lambda (x) (x x)))  Eli Barzilay:
http://barzilay.org/   Maze is Life!
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


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

2011-08-02 Thread Guillaume Marceau
 Doug and other heavy `plot' users: What can I add to plot2d and plot3d to
 make your life easier?

Do you know about ggplot? It's a plotting library based on a grammar
of graphic elements, rather than a bucket of pre-set charts, which is
what most plotting libraries offer. The design principles behind
ggplot are very Scheme-like: a small base of powerful orthogonal
features with as few restriction on composition as possible.

   http://had.co.nz/ggplot2/resources/2007-past-present-future.pdf

It would be great to have something like it in ggplot. I do a lot of
charting, but I hardly ever use the plot module since the charts I do
are more 'information design'-style charts that can't be made with
pre-set charts. If DrRacket had a plotting library like ggplot, I
would be able to stop building everything by hand from pict's.
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


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

2011-08-02 Thread Eli Barzilay
15 minutes ago, Guillaume Marceau wrote:
 [...]
http://had.co.nz/ggplot2/resources/2007-past-present-future.pdf
 [...]

  colour - paste(
ifelse(, cond_string, , ', brush, ', ', background, '), sep=
  )

-- 
  ((lambda (x) (x x)) (lambda (x) (x x)))  Eli Barzilay:
http://barzilay.org/   Maze is Life!
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev