Re: [racket] Is racket-lang.org written in Racket?

2012-07-01 Thread Neil Van Dyke
Ian Tegebo wrote at 07/01/2012 08:27 PM: I'm working through the web app docs and wanted to see how planet had been implemented. As an exercise, I was looking to add features to planet. Starting from the current version seems most appropriate. In particular, I find myself doing in-page searche

Re: [racket] What math do you want to do in Racket?

2012-07-01 Thread jukka . tuominen
Slightly off-topic propably, but to be able to create generic math user interfaces easily (for non-racketeers), infix->prefix and prefix->infix helpers would be great. Infix->prefix should be tolerant to expected human-input variations (e.g. white space usage, math-symbol variants), and the outpu

Re: [racket] arrangements exercise

2012-07-01 Thread Dave Yrueta
I should have been more explicit: "ensuring the function design conforms to its contract" means testing it in the manner demonstrated by Matthias. "Check-expect" is your friend :). On Jul 1, 2012, at 4:12 PM, Matthias Felleisen wrote: > > On Jul 1, 2012, at 4:17 PM, Sean Kemplay wrote: > >>

Re: [racket] Is racket-lang.org written in Racket?

2012-07-01 Thread Ian Tegebo
On Sun, Jul 1, 2012 at 2:05 PM, Robby Findler wrote: > On Sun, Jul 1, 2012 at 3:50 PM, Jay McCarthy wrote: >> On Sun, Jul 1, 2012 at 1:27 AM, Ian Tegebo wrote: >>> Is racket-lang.org written in Racket? >> >> It is statically generated by this code: >> >> http://git.racket-lang.org/plt/tree/HEAD:

Re: [racket] arrangements exercise

2012-07-01 Thread Matthias Felleisen
On Jul 1, 2012, at 4:17 PM, Sean Kemplay wrote: > Looking back, I am wondering if my solution is a bit of a cheat - > specifically : > > (define (insert-everwhere/in-one-word s word) > (make-words s word word)) It's not a cheat, it's wrong. I did you a favor and worked out a failing test ca

Re: [racket] arrangements exercise

2012-07-01 Thread Dave Yrueta
Hi Sean -- Don't know if it is a "cheat," but I can tell you from experience your solution diverges from the preferred one at the "insert-everywhere/in-one-word" function. Try working through this exercise by systematically applying the design recipe. That is, take the time to make your data

Re: [racket] What math do you want to do in Racket?

2012-07-01 Thread Neil Toronto
Yes! More vacations! Or more PLT days. On a PLT day two years ago, I wrote the beginnings of a multidimensional array library in Typed Racket, with slicing, views, and array-map. Both I and Typed Racket have gotten better at Typed Racket since then. :) To add to my vacations, I'd try impleme

Re: [racket] Is racket-lang.org written in Racket?

2012-07-01 Thread Robby Findler
On Sun, Jul 1, 2012 at 3:50 PM, Jay McCarthy wrote: > On Sun, Jul 1, 2012 at 1:27 AM, Ian Tegebo wrote: >> Is racket-lang.org written in Racket? > > It is statically generated by this code: > > http://git.racket-lang.org/plt/tree/HEAD:/collects/meta/web > >> Also, where is the source for >> plane

Re: [racket] Is racket-lang.org written in Racket?

2012-07-01 Thread Jay McCarthy
On Sun, Jul 1, 2012 at 1:27 AM, Ian Tegebo wrote: > Is racket-lang.org written in Racket? It is statically generated by this code: http://git.racket-lang.org/plt/tree/HEAD:/collects/meta/web > Also, where is the source for > planet.racket-lang.org? It is not publicly available. Jay > > -- >

[racket] arrangements exercise

2012-07-01 Thread Sean Kemplay
Hello, I am working through HTDP and have re-visited the arrangements exercise from chapter 12. Looking back, I am wondering if my solution is a bit of a cheat - specifically : (define (insert-everwhere/in-one-word s word) (make-words s word word)) Here is the entire solution - is there a bet

Re: [racket] What math do you want to do in Racket?

2012-07-01 Thread Gregory Woodhouse
A good linear algebra package is a foundation for a surprising amount of numerical mathematics. Sent from my iPhone On Jul 1, 2012, at 6:45 AM, Patrick King wrote: > Stats and linear algebra will be welcome, gamma function, too. I also find > myself rolling my own integration functions. > >

Re: [racket] What math do you want to do in Racket?

2012-07-01 Thread Matthias Felleisen
Sounds like Neil would have to have another few vacations to get that one done :-) On Jul 1, 2012, at 12:42 PM, Michael Wilber wrote: > Ripping off NumPy would be a *huge* step forward toward encouraging > scientific research in racket. Racket Users list: http://lis

Re: [racket] why is the comparimng always false

2012-07-01 Thread Matthias Felleisen
Please choose variable names other than Vcat and such. I like a-vcat for example. This name emphasiszes that I get one particular vcat here -- not all of the infinitely many possible ones. explanation: The definition of structures introduces one more thing that is not explained. For example,

Re: [racket] What math do you want to do in Racket?

2012-07-01 Thread Michael Wilber
Just to second the thoughts of others, I will love you forever if you add basic vector / matrix operations. Ripping off NumPy would be a *huge* step forward toward encouraging scientific research in racket. On Sat, 30 Jun 2012 18:31:28 -0600, Neil Toronto wrote: > Being a glutton for punishment,

Re: [racket] What math do you want to do in Racket?

2012-07-01 Thread Richard Wossal
On 01.07.2012 02:31, Neil Toronto wrote: I know what *I* want in a math library: statistics (for my research) and basic linear algebra (for `plot'). What do *you* want? A bit off-topic, but your mentioning of "plot" made me look into its documentation - which is where I found out about plot/util

[racket] Influence of T

2012-07-01 Thread Grant Rettke
Just read about T: http://mumble.net/~jar/tproject/index.html http://www.paulgraham.com/thist.html Did it inspire any particular features of Racket? Just curious sorry if off topic, kill post as you see fit. Racket Users list: http://lists.racket-lang.org/users

Re: [racket] What math do you want to do in Racket?

2012-07-01 Thread Patrick King
Stats and linear algebra will be welcome, gamma function, too. I also find myself rolling my own integration functions. On Sat, Jun 30, 2012 at 8:44 PM, Neil Toronto wrote: > Being a glutton for punishment, I've decided to write a `math' > collection to be shipped with Racket... > > I know what

[racket] hash->immutable-hash

2012-07-01 Thread John Griffin
In the same style of bytes->immutable-bytes, vector->immutable-vector, a conversion hash->immutable-hash would be convenient and I assume just (define (hash->immutable-hash h) (make-immutable-hash (hash->list h))) Thanks, John Griffin Racket Users list: http://lists.r

[racket] a libSDL (1.2) binding for Racket

2012-07-01 Thread Peter Braun
Hello, there does not seem to be a libSDL (1.2) binding for Racket, so i made one. libSDL (simple direct media layer) is a popular C library to interface with video and audio devices and to handle input events. It's mostly used for games. The binding is not complete but a reasonable part of

Re: [racket] Exception Stack Trace Troubles

2012-07-01 Thread Chad Albers
Matthew, I think you have something there with the -g flag. i just compiled racket myself. I can see gcc receiving the -g flag. Running the produced binaries provides the stack trace. I think I need to open a bug report against debian's racket packages. Thanks for you help, -- Chad On Thu,

[racket] [Scheme Steering Committee announcements] Reminder: R7RS public comment period

2012-07-01 Thread William D Clinger
This message is being posted to various lists to inform members of the Scheme community on the development and current status of the next Scheme specification, often referred to as R7RS. In early 2010, two working groups, WG1 and WG2, were convened by the Scheme Language Steering Committee (SLSC)

[racket] Is racket-lang.org written in Racket?

2012-07-01 Thread Ian Tegebo
Is racket-lang.org written in Racket? Also, where is the source for planet.racket-lang.org? -- Ian Tegebo Racket Users list: http://lists.racket-lang.org/users