Re: [racket] Poll: Does anybody besides Doug use 'plot'?

2011-09-30 Thread keyd...@gmx.de
Hi Neil, may I ask when you plan to officially release it? (Looking forward to "having all in one place" instead of updating from github :-;) Thanks, Sigrid _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] Concurrent execution

2011-09-30 Thread Robby Findler
Futures will let you share data, but you'd have to try to avoid allocation in the futures (not completely, just mostly) for good performance (so you'd probably want to build vectors to save the results into). For places, you cannot share the database, you'd have to send if over a place channel to b

[racket] Concurrent execution

2011-09-30 Thread Ivanyi Peter
Hi All, I would like to ask for some advice.I have a problem in which I have several lists containing some data. These lists are created by one"process" and this part should be sequential. Then these lists should be checked against somelarge "database", list or hash table, and as a result some n

[racket] CRLF vs LF & windows

2011-09-30 Thread Robby Findler
I've pushed a change today in the way that DrRacket handles line endings under windows. If you are a regular windows user who has the energy to give the pre-release a try for your usual DrRacketeering for a week or month or so to share you feedback on this change, that'd be great. In old versions,

Re: [racket] Poll: Does anybody besides Doug use 'plot'?

2011-09-30 Thread Neil Van Dyke
If someone wouldn't mind a recap... are the questions the following? 1. When to retire the old implementation (not necessarily the interface) of old library called "plot". 2. Whether to call the new library "plot" (rather than, say, "plot2" or "newimprovedsuperplot2000"). 3. Whether the new

Re: [racket] Poll: Does anybody besides Doug use 'plot'?

2011-09-30 Thread Robby Findler
On Friday, September 30, 2011, Neil Toronto wrote: > On 09/30/2011 02:57 PM, Robby Findler wrote: >> >> Neil, >> >> I don't think that this is the right call, if I understand you >> correctly. So, to double check that I understand correctly, are you >> planning to provide a compatibility layer fo

Re: [racket] Poll: Does anybody besides Doug use 'plot'?

2011-09-30 Thread Neil Toronto
On 09/30/2011 02:57 PM, Robby Findler wrote: Neil, I don't think that this is the right call, if I understand you correctly. So, to double check that I understand correctly, are you planning to provide a compatibility layer for plot with some other name? If so, did you consider leaving that as

Re: [racket] Question about round

2011-09-30 Thread Doug Williams
I was only advocating it in the case of infinities. The R(5,6)RS documentation for min/max says: "If any argument is inexact, then the result is also inexact (unless the procedure can prove that the inaccuracy is not large enough to affect the result, which is possible only in unusual implementatio

Re: [racket] list in Beginning Student

2011-09-30 Thread Stephen Chang
Yah but when did the "beginner-abbr" language come into existence? I didnt see it in any previous versions: http://download.plt-scheme.org/doc/103p1/html/ On Fri, Sep 30, 2011 at 6:00 PM, Robby Findler wrote: > That's 200 versions in! :) > > Robby > > On Fri, Sep 30, 2011 at 4:58 PM, Stephen

Re: [racket] list in Beginning Student

2011-09-30 Thread Robby Findler
That's 200 versions in! :) Robby On Fri, Sep 30, 2011 at 4:58 PM, Stephen Chang wrote: > Seems like it's been there since the beginning: > > http://download.plt-scheme.org/doc/200/html/beginning/list.html > > > > On Fri, Sep 30, 2011 at 5:47 PM, Prabhakar Ragde wrote: >> When did `list' sneak i

Re: [racket] list in Beginning Student

2011-09-30 Thread Matthias Felleisen
It has been there for a long time. Think of it as a tease and of 'abbreviation' as quote, and friends. On Sep 30, 2011, at 5:47 PM, Prabhakar Ragde wrote: > When did `list' sneak its way into Beginning Student (without List > Abbreviations)? Or has it always been there, and I have always bee

Re: [racket] list in Beginning Student

2011-09-30 Thread Stephen Chang
Seems like it's been there since the beginning: http://download.plt-scheme.org/doc/200/html/beginning/list.html On Fri, Sep 30, 2011 at 5:47 PM, Prabhakar Ragde wrote: > When did `list' sneak its way into Beginning Student (without List > Abbreviations)? Or has it always been there, and I have

[racket] list in Beginning Student

2011-09-30 Thread Prabhakar Ragde
When did `list' sneak its way into Beginning Student (without List Abbreviations)? Or has it always been there, and I have always been just clueless? Thanks. --PR _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/user

Re: [racket] Question about round

2011-09-30 Thread Jos Koot
I already wrote: #lang racket (= (inexact->exact (round (/ 1.0 1.1e-200))) (round (/ #e1.0 #e1.1e-200))) ; -> #f A computation that ends up with an integer may introduce a computational error when during the computation inexact numbers have been used. Inexactness should remain contaguous. I

Re: [racket] Poll: Does anybody besides Doug use 'plot'?

2011-09-30 Thread Robby Findler
Neil, I don't think that this is the right call, if I understand you correctly. So, to double check that I understand correctly, are you planning to provide a compatibility layer for plot with some other name? If so, did you consider leaving that as the plot library for a few releases to give peo

Re: [racket] Poll: Does anybody besides Doug use 'plot'?

2011-09-30 Thread Neil Toronto
These two replies seem to sum up the user population that has actually used the old 'plot'... except for Robby. :D The impression I'm getting is that the old plot library does little enough that users have been unwilling or unable to use it for important things. (Generally, of course. And excep

Re: [racket] Racket Apology

2011-09-30 Thread Neil Van Dyke
John Clements wrote at 09/30/2011 03:07 PM: That's *also* the reason that you'll almost never see Racket used in industry. It's a language that doesn't compromise its ideals, and is constantly innovating, and if you're a business that's looking for a stable language with a broad supply of prog

Re: [racket] Poll: Does anybody besides Doug use 'plot'?

2011-09-30 Thread Eduardo Bellani
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Same here. > I've used it. Nothing I can't live without. I'm happy for it to > break in the name of progress. > - -- Eduardo Bellani omnia mutantur, nihil interit. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAk6GF

Re: [racket] Question about round

2011-09-30 Thread Stephen Bloch
On Sep 30, 2011, at 12:31 PM, Robby Findler wrote: > Just to clear up one more possible point: the rational? predicate > actually recognizes inexact numbers, eg: > > [robby@penghu] ~/git/plt/collects/drracket/private$ racket > Welcome to Racket v5.1.3.9. >> (rational? (sqrt 2)) > #t Interesting

Re: [racket] Poll: Does anybody besides Doug use 'plot'?

2011-09-30 Thread Noel Welsh
On Fri, Sep 30, 2011 at 4:34 PM, Neil Toronto wrote: > At Eli's suggestion, I'm conducting a poll. Does anybody on this list use > the 'plot' module, or know of someone who does? I've used it. Nothing I can't live without. I'm happy for it to break in the name of progress. N. PS: I've also used

[racket] Racket Apology (was: Re: Poll: Does anybody besides Doug use 'plot'?)

2011-09-30 Thread John Clements
On Sep 30, 2011, at 10:05 AM, Robby Findler wrote: > On Fri, Sep 30, 2011 at 12:01 PM, John Clements > wrote: >> In my world, a change will fall into the "yes, racket is a rapidly changing >> language" bin; >> it's not unusual for much of my old code to be broken. > > I realize this is a meta

Re: [racket] Poll: Does anybody besides Doug use 'plot'?

2011-09-30 Thread Neil Toronto
On 09/30/2011 11:49 AM, Mark Carter wrote: At Eli's suggestion, I'm conducting a poll. Does anybody on this list use the 'plot' module, or know of someone who does? Well, I've used it in the past, and I'm thinking about using it in the future. Nice module! Don't worry about breaking compata

Re: [racket] Poll: Does anybody besides Doug use 'plot'?

2011-09-30 Thread Jon Rafkind
> On the other hand, if you want Racket to be an exercise and showcase for > perfect backward compatibility, that might be interesting. Perhaps someone > can find > some novel techniques to help do that, and some way of demonstrating the > contribution (seamless backward compatibility througho

[racket] Poll: Does anybody besides Doug use 'plot'?

2011-09-30 Thread Mark Carter
> At Eli's suggestion, I'm conducting a poll. Does anybody on this list > use the 'plot' module, or know of someone who does? Well, I've used it in the past, and I'm thinking about using it in the future. Nice module! Don't worry about breaking compatability on my account, though. One thing I

Re: [racket] Poll: Does anybody besides Doug use 'plot'?

2011-09-30 Thread Robby Findler
On Fri, Sep 30, 2011 at 12:32 PM, Neil Van Dyke wrote: > Robby Findler wrote at 09/30/2011 01:05 PM: >> >> On Fri, Sep 30, 2011 at 12:01 PM, John Clements >>  wrote: >> >>> >>>  In my world, a change will fall into the "yes, racket is a rapidly >>> changing language" bin; >>> it's not unusual for

Re: [racket] Poll: Does anybody besides Doug use 'plot'?

2011-09-30 Thread Neil Van Dyke
Robby Findler wrote at 09/30/2011 01:05 PM: On Fri, Sep 30, 2011 at 12:01 PM, John Clements wrote: In my world, a change will fall into the "yes, racket is a rapidly changing language" bin; it's not unusual for much of my old code to be broken. I realize this is a meta question,

Re: [racket] Poll: Does anybody besides Doug use 'plot'?

2011-09-30 Thread Robby Findler
On Fri, Sep 30, 2011 at 12:01 PM, John Clements wrote: > In my world, a change will fall into the "yes, racket is a rapidly changing >language" bin; > it's not unusual for much of my old code to be broken. I realize this is a meta question, but is this the world we really want Racket to be in?

Re: [racket] Poll: Does anybody besides Doug use 'plot'?

2011-09-30 Thread John Clements
On Sep 30, 2011, at 8:34 AM, Neil Toronto wrote: > At Eli's suggestion, I'm conducting a poll. Does anybody on this list use the > 'plot' module, or know of someone who does? > > (I'm specifically excluding Doug Williams and his williams/science PLaneT > package because I already know about th

Re: [racket] release date for RacketCon videos?

2011-09-30 Thread Sam Tobin-Hochstadt
The videos are still being processed, and I hope they will be up soon, but I don't have an estimated date. On Fri, Sep 30, 2011 at 12:50 PM, Eric Tanter wrote: > Hi, > > It seems that the videos of RacketCon are not online yet. Is there an > estimated release date? > > Thanks, > > -- Éric > > __

[racket] release date for RacketCon videos?

2011-09-30 Thread Eric Tanter
Hi, It seems that the videos of RacketCon are not online yet. Is there an estimated release date? Thanks, -- Éric _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] Poll: Does anybody besides Doug use 'plot'?

2011-09-30 Thread Robby Findler
Yes, the other alternative being to make no changes and have it work (and thus not need to get annoyed and read docs and something else you weren't planning to do that moment), or to make a change to require rackplot and some adjustments to how you call the code for added functionality. Either way

Re: [racket] Question about round

2011-09-30 Thread Robby Findler
Just to clear up one more possible point: the rational? predicate actually recognizes inexact numbers, eg: [robby@penghu] ~/git/plt/collects/drracket/private$ racket Welcome to Racket v5.1.3.9. > (rational? (sqrt 2)) #t Robby On Fri, Sep 30, 2011 at 11:18 AM, Mark Engelberg wrote: > I'm amazed

Re: [racket] Poll: Does anybody besides Doug use 'plot'?

2011-09-30 Thread Todd O'Bryan
I think he's saying you could change that to (require plot/compat) and it would still work. On Fri, Sep 30, 2011 at 12:06 PM, Robby Findler wrote: > I have some old scripts that I used to build a paper (or maybe just > play with some data related to the paper I'm not sure) that contain > >  (re

Re: [racket] Garbage collection informaton

2011-09-30 Thread Curtis Dutton
Thank you very much guys! -Curtis On Thu, Sep 29, 2011 at 8:40 PM, Vincent St-Amour wrote: > At Thu, 29 Sep 2011 18:12:32 -0600, > Matthew Flatt wrote: > > * If you create a log receiver within Racket, you can look for > >messages that have a `gc-info' prefab struct (10 fields) value, > >

Re: [racket] Question about round

2011-09-30 Thread Mark Engelberg
I'm amazed at how long I've gone with the misconception that: Exact Numbers = Integers union Rationals Inexact Numbers = Floating Point numbers (Frankly, I never really thought much about what infinities were. I assumed they were a separate, distinct type). When I saw in the docs for round that i

Re: [racket] Poll: Does anybody besides Doug use 'plot'?

2011-09-30 Thread Shriram Krishnamurthi
If you mean this library -- http://docs.racket-lang.org/plot/ -- I do use it in Scribble documents. (And it's just amazing that with two lines of code I can have graphs in my HTML and PDF -- amazing.) I would be able to easily swap it out for something else, though. Shriram ___

Re: [racket] Poll: Does anybody besides Doug use 'plot'?

2011-09-30 Thread Robby Findler
I have some old scripts that I used to build a paper (or maybe just play with some data related to the paper I'm not sure) that contain (require plot) in them. It would be convenient to me to not break them for when I return to that stuff some day. Robby On Fri, Sep 30, 2011 at 10:34 AM, Neil

Re: [racket] Question about round

2011-09-30 Thread Vincent St-Amour
At Fri, 30 Sep 2011 09:25:50 -0400, Eli Barzilay wrote: > > Could we get an exception to the coercions in the case of +/-inf.0? > > Or an alternative min/max that don't do it? > > My guess is that changes in this area are hopeless, since they'll > break a bunch of code in unexpected ways. (Not to

[racket] Poll: Does anybody besides Doug use 'plot'?

2011-09-30 Thread Neil Toronto
At Eli's suggestion, I'm conducting a poll. Does anybody on this list use the 'plot' module, or know of someone who does? (I'm specifically excluding Doug Williams and his williams/science PLaneT package because I already know about that, and I don't want ten replies pointing it out.) I'm as

Re: [racket] Racket Games

2011-09-30 Thread Matthew Flatt
At Thu, 29 Sep 2011 17:40:29 -0700 (PDT), Richard Ervin wrote: > I have a question. Whenever I try to use certain games in the PLT Games > application, they don't work. It says, "(Game) requires OpenGL, but there was > an error initializing the OpenG context. Maybe OpenGL is not supported by the

Re: [racket] Question about round

2011-09-30 Thread Noel Welsh
Agreed in general, but I think we want an exact positive and negative infinity, not more confusion to the coercion rules. Ironically R6RS includes max and min integers (at least I have a vague memory of such an addition) which will do the job. N. On Fri, Sep 30, 2011 at 2:16 PM, Doug Williams w

Re: [racket] Question about round

2011-09-30 Thread Eli Barzilay
A few minutes ago, Doug Williams wrote: > Another such annoyance is than (min 1 +inf.0) => 1.0 - because if > any argument is inexact, the result is inexact. I don't think this > makes sense in the case of infinities. Infinities are very useful as > initial values for things that are being minimize

Re: [racket] Question about round

2011-09-30 Thread Doug Williams
Another such annoyance is than (min 1 +inf.0) => 1.0 - because if any argument is inexact, the result is inexact. I don't think this makes sense in the case of infinities. Infinities are very useful as initial values for things that are being minimized or maximized, but there is always the need for

Re: [racket] Question about round

2011-09-30 Thread Matthias Felleisen
exact-round is preferred. On Sep 30, 2011, at 8:51 AM, Eli Barzilay wrote: > Yesterday, Ryan Culpepper wrote: >> The pragmatic answer is you generally have to write >> >> (inexact->exact (round x)) >> >> which is annoying, but no one has yet bothered to add a standard >> library function

Re: [racket] Question about round

2011-09-30 Thread Eli Barzilay
Yesterday, Ryan Culpepper wrote: > The pragmatic answer is you generally have to write > >(inexact->exact (round x)) > > which is annoying, but no one has yet bothered to add a standard > library function for this, as far as I know. [From the annoyed side, especially since that thing tends t

Re: [racket] splicing internal define?

2011-09-30 Thread Eli Barzilay
Yesterday, Marijn wrote: > > Incidentally, Marijn, given that that's a module right there, I > > suspect that the main reason you want to hide "value-store" like > > this is if this code was actually the result of a macro expansion. > > This code is the result of macro expansion, local to the code

Re: [racket] Racket Games

2011-09-30 Thread Jay McCarthy
Can you run other OpenGL applications? Can you run PLT_COLLECTS/sgl/examples/gears.rkt ? Jay On Thu, Sep 29, 2011 at 6:40 PM, Richard Ervin wrote: > I have a question. Whenever I try to use certain games in the PLT Games > application, they don't work. It says, "(Game) requires OpenGL, but ther

[racket] Racket Games

2011-09-30 Thread Richard Ervin
I have a question. Whenever I try to use certain games in the PLT Games application, they don't work. It says, "(Game) requires OpenGL, but there was an error initializing the OpenG context. Maybe OpenGL is not supported by the current display." The following games don't work: Jewel, Gobblet, a

Re: [racket] Question about round

2011-09-30 Thread Jos Koot
See section 3.1 and 3.2 of the R6RS (http://www.r6rs.org/ ). Also see section 3.2 of the Racket Reference. An integer result can be inexact. Consider a result whose absolute error is greater than 1. Than rounding it gives an inexact result. For example: #lang racket (= (i