[racket-users] documentation discovery and navigability (Was: Python's append vs Racket's append and helping novices understand the implications)

2019-02-03 Thread Neil Van Dyke
Recent Python experience that might inform Racket docs... I'm recently dusting off my Python skills[1], while switching to Python 3, so I'm checking documentation for every little thing. It was a little surprising to me, that the current official Language and Standard Library references did

[racket-users] modules as a data format

2019-02-03 Thread Jack Rosenthal
Hi Racketeers, I've got what seems like a common way to use a #lang, make the #%module-begin provide a certain name and use a local-require to get the contents. I'm using Jens Axel's urlang and including the compiled JavaScript in some Xexpressions later on. Here's how I've set up my

Re: [racket-users] Python's append vs Racket's append and helping novices understand the implications

2019-02-03 Thread Matthias Felleisen
Agreed! > On Feb 3, 2019, at 4:43 PM, Robby Findler wrote: > > It seems like a great addition to the performance section of the guide. > > Robby > > On Sun, Feb 3, 2019 at 3:35 PM Matthias Felleisen > wrote: > > 1. I think this is a great start for a

Re: [racket-users] Python's append vs Racket's append and helping novices understand the implications

2019-02-03 Thread Robby Findler
It seems like a great addition to the performance section of the guide. Robby On Sun, Feb 3, 2019 at 3:35 PM Matthias Felleisen wrote: > > 1. I think this is a great start for a generic introduction to data > structures. Someone should integrate Jens’s short table: > > >

Re: [racket-users] Python's append vs Racket's append and helping novices understand the implications

2019-02-03 Thread Matthias Felleisen
1. I think this is a great start for a generic introduction to data structures. Someone should integrate Jens’s short table: https://stackoverflow.com/questions/27584416/in-racket-what-is-the-advantage-of-lists-over-vectors/27589146#27589146

Re: [racket-users] Quickscript error on first startup of Racket 7.2

2019-02-03 Thread Robby Findler
On Sun, Feb 3, 2019 at 11:50 AM Laurent wrote: > I've pushed a repair. It should be integrated with the next racket nightly > release I suppose. > > The fix is to check the compiled version of all scripts in the library, > and if it differs from the current racket version it gets recompiled. The

Re: [racket-users] Quickscript error on first startup of Racket 7.2

2019-02-03 Thread Laurent
I've pushed a repair. It should be integrated with the next racket nightly release I suppose. The fix is to check the compiled version of all scripts in the library, and if it differs from the current racket version it gets recompiled. The bonus is that scripts that have not been compiled yet

[racket-users] Re: From Guido to Matthias (was: Python's append vs Racket's append and helping novices understand the implications)

2019-02-03 Thread Laurent
Ouch!! :-D On Sun, Feb 3, 2019 at 3:40 PM Matthias Felleisen wrote: > > > On Feb 3, 2019, at 10:12 AM, Laurent wrote: > > When was that and what was the outcome of this meeting? > > > > Nothing. It was a waste of my time. — Matthias > > -- You received this message because you are subscribed

[racket-users] Re: "raco test" causes my reader to fail on carriage return (but newline works)

2019-02-03 Thread Ryan Kramer
Progress! Either rebooting, upgrading to 7.2, or something else caused DrRacket to start failing in the same way that raco does*. Now it feels like a normal problem I can solve using my normal techniques (of scattering printlns everywhere). (* I was wrong when I said that "raco setup" was

[racket-users] Re: From Guido to Matthias (was: Python's append vs Racket's append and helping novices understand the implications)

2019-02-03 Thread Matthias Felleisen
> On Feb 3, 2019, at 10:12 AM, Laurent wrote: > > When was that and what was the outcome of this meeting? Nothing. It was a waste of my time. — Matthias -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and

[racket-users] From Guido to Matthias (was: Python's append vs Racket's append and helping novices understand the implications)

2019-02-03 Thread Laurent
Now you just peaked my curiosity! When was that and what was the outcome of this meeting? On Sat, Feb 2, 2019 at 11:00 PM Matthias Felleisen wrote: > > [[ p.s. For my very first Python program (a couple of days before meeting > with GvR), I used Python’s append and was annoyed beyond belief.

[racket-users] Re: [racket] Typed racket and keywords

2019-02-03 Thread hashim muqtadir
> as what I was trying to do was produce a typed version of Greg Hendershott's "keyword structs" ( https://www.greghendershott.com/2015/07/keyword-structs-revisited.html ) Sorry, I pointed to the wrong thing. The procedure I was re-implementing was hash->struct/kw from

[racket-users] Re: [racket] Typed racket and keywords

2019-02-03 Thread hashim muqtadir
I found this topic when searching around for something about keyword-apply and typed racket, as what I was trying to do was produce a typed version of Greg Hendershott's "keyword structs" (https://www.greghendershott.com/2015/07/keyword-structs-revisited.html ) and I was getting an error

[racket-users] Re: performance: Racket vs Julia

2019-02-03 Thread Gour
On Sat, 2 Feb 2019 18:10:31 -0500 Matthias Felleisen wrote: > It is rare that I have to somewhat-contradict Matthew here, but so it > goes. :-) > Use Racket for what you have in mind. It’s obviously the superior > language :-) That makes the deal. Thank you very much for your input as well

[racket-users] Re: performance: Racket vs Julia

2019-02-03 Thread Gour
On Sat, 2 Feb 2019 18:24:47 -0500 Neil Van Dyke wrote: > Yes, I did another look for Racket last year, and desktop GUI toolkit > options generally seem to have have actually gotten fewer and worse > since the move of most of the money to Web and handheld apps. Yes, very sad. :-( > We need to

Re: [racket-users] Python's append vs Racket's append and helping novices understand the implications

2019-02-03 Thread Robby Findler
This is very nice! Robby On Sat, Feb 2, 2019 at 10:37 PM Alex Harsanyi wrote: > > I put together some notes about available data structures in Racket, with > some performance considerations. It needs more work, but perhaps it can be > used as a starting point and it can be added to the Racket

Re: [racket-users] Re: performance: Racket vs Julia

2019-02-03 Thread Konrad Hinsen
Matthias Felleisen writes: > It is rare that I have to somewhat-contradict Matthew here, but so it goes. > > One of my colleagues, Jan Vitek, has studied Julia with a special > focus on performance. As many have said, Julia is good at numerics > because its compiler can specialize certain cases

Re: [racket-users] Real-world examples of XML usage?

2019-02-03 Thread Konrad Hinsen
David Storrs writes: > What projects have y'all done where XML was the best choice for a > reason other than "because we needed to interoperate with a service > that required XML"? This: https://mosaic-data-model.github.io/ and this: https://github.com/khinsen/leibniz/ In both cases,

[racket-users] Re: Python's append vs Racket's append and helping novices understand the implications

2019-02-03 Thread Zelphir Kaltstahl
I think having such migration pages for people coming from other languages is a good idea. Maybe also should include basic programming knowledge such as "a single linked list is not a vector", but then where to begin? If such page says that some operations are slower on Racket lists (append), then

Re: [racket-users] Python's append vs Racket's append and helping novices understand the implications

2019-02-03 Thread Jens Axel Søgaard
FWIW here is an overview over data structures in Racket: https://stackoverflow.com/questions/27584416/in-racket-what-is-the-advantage-of-lists-over-vectors/27589146#27589146 /Jens Axel Den søn. 3. feb. 2019 kl. 05.37 skrev Alex Harsanyi : > > I put together some notes about available data