Re: [racket-users] Re: Parallel merge-sort leveraging futures

2019-10-07 Thread Sam Tobin-Hochstadt
I've submitted a pull request fixing those errors and supporting running in serial mode. One thing I notice is that it's substantially faster than `vector-sort!` even when run in serial mode on traditional Racket (but not on Racket CS), so perhaps this should be integrated (or there are improvemen

[racket-users] Re: Rhombus project plan

2019-10-07 Thread Chris Nelson
One part of me thinks of glorious success of Perl 6 and the rapid conversion to Python 3.x from Python 2.x ... ... the other part says, "Racket is your research project, you do what you want to do." Good Luck and have Fun! Chris > > -- You received this message because you are subscribed to

[racket-users] Re: Parallel merge-sort leveraging futures

2019-10-07 Thread Alex Harsanyi
Hi Dominik, I tried to use your package and you are missing a dependency for the `scribble-math` package in your info.rkt file, this has to be installed separately otherwise your package won't install. However, I tried to use the `vector-futures-sort!` function and got an error: > (vector-fut

[racket-users] Re: Racket News - Issue 17

2019-10-07 Thread Alex Harsanyi
Hi Paulo, I would be interested to know what your plans are for your Darwin package (which is a fork of the Frog blog generator, for those who didn't read the newsletter :-) ). Over the years several people have updated their copy of Frog with new features, you can see this on the Network ta

Re: [racket-users] Some guidance in setting up Racket as a game scripting language.

2019-10-07 Thread George Neuner
On 10/7/2019 4:30 PM, George Neuner wrote: Visual Studio's compile and link options are output in log files in the *.tlog*  sub-directory under the build (debug or release) directory.  See *CL.command.?.log* and *link.command.?.log*  where '?' is some number.   [I don't know what that number

Re: [racket-users] Some guidance in setting up Racket as a game scripting language.

2019-10-07 Thread George Neuner
On 10/7/2019 3:47 PM, Jens Axel Søgaard wrote: Den man. 7. okt. 2019 kl. 20.15 skrev Hans Sjunnesson mailto:hans.sjunnes...@gmail.com>>: I'm sorry Jens - I'm using Visual Studio on Windows to compile this project. I've initially built libracket, and SDL, which I'm linking against.

Re: [racket-users] Structured Concurrency in Racket

2019-10-07 Thread George Neuner
On 10/7/2019 1:46 PM, jab wrote: Coming across https://trio.discourse.group/t/structured-concurrency-and-delimited-continuations/ just provoked me to search for discussion of structured concurrency in Racket. I didn’t immediately find much.* I hope that doesn’t mean that the interesting wor

Re: [racket-users] Some guidance in setting up Racket as a game scripting language.

2019-10-07 Thread Jens Axel Søgaard
Den man. 7. okt. 2019 kl. 20.15 skrev Hans Sjunnesson < hans.sjunnes...@gmail.com>: > I'm sorry Jens - I'm using Visual Studio on Windows to compile this > project. > I've initially built libracket, and SDL, which I'm linking against. > I can zip the entire solution and upload it somewhere for you

Re: [racket-users] Structured Concurrency in Racket

2019-10-07 Thread Arie Schlesinger
Can somebody specify how to use racket in jupyter notebook ? Thanks On Mon, Oct 7, 2019 at 21:59 jab wrote: > Yeah, I’d say give a closer read to > https://vorpus.org/blog/notes-on-structured-concurrency-or-go-statement-considered-harmful/ > > Excerpting a footnote: > > > For those who can't pos

Re: [racket-users] Structured Concurrency in Racket

2019-10-07 Thread jab
Yeah, I’d say give a closer read to https://vorpus.org/blog/notes-on-structured-concurrency-or-go-statement-considered-harmful/ Excerpting a footnote: > For those who can't possibly pay attention to the text without first knowing > whether I'm aware of their favorite paper, my current list of t

Re: [racket-users] Structured Concurrency in Racket

2019-10-07 Thread Matt Jadud
Hi Josh, Racket has a number of powerful concurrency libraries/extensions that handle both concurrent execution of code in a single process as well as parallel execution across multiple processes/hosts. There is the "futures" library, which might be the most similar to Trio. https://docs.racket-l

Re: [racket-users] Some guidance in setting up Racket as a game scripting language.

2019-10-07 Thread Hans Sjunnesson
I'm sorry Jens - I'm using Visual Studio on Windows to compile this project. I've initially built libracket, and SDL, which I'm linking against. I can zip the entire solution and upload it somewhere for you to have a look, but you'll need Visual Studio on Windows for that to work. On Saturday, Oc

[racket-users] Structured Concurrency in Racket

2019-10-07 Thread jab
Coming across https://trio.discourse.group/t/structured-concurrency-and-delimited-continuations/ just provoked me to search for discussion of structured concurrency in Racket. I didn’t immediately find much.* I hope that doesn’t mean that the interesting work that’s being discussed over in htt

Re: [racket-users] Mysterious issue with pict/code

2019-10-07 Thread Matthew Flatt
Yes, that one (combined with the previous commit). At Mon, 7 Oct 2019 09:23:49 -0700, Stephen Foster wrote: > Awesome! Thanks. :) > > Just for my own curiosity, is it this commit or a different one? > > https://github.com/racket/racket/commit/9bb5bc935251e25490dec82f824e1d8e9cd202c > 9 > > >

Re: [racket-users] Mysterious issue with pict/code

2019-10-07 Thread Stephen Foster
Awesome! Thanks. :) Just for my own curiosity, is it this commit or a different one? https://github.com/racket/racket/commit/9bb5bc935251e25490dec82f824e1d8e9cd202c9 On Sat, Oct 5, 2019 at 6:42 PM Matthew Flatt wrote: > Thanks for the report and simplification! I've pushed a repair. > > At

Re: [racket-users] Re: My macro works in the global namespace, but fails inside of a let

2019-10-07 Thread Eric Griffis
Hi Cistian, Both of your examples are hygienic, in the sense that neither actually do anything that violates macro hygiene. When `a_definition` is defined in the module context (i.e., the "global namespace"), it has the same scope as the `a_definition` used inside `my-macro`. (There's more to it,

[racket-users] Racket News - Issue 17

2019-10-07 Thread Paulo Matos
Hi, RN Issue 17 is finally here. https://racket-news.com/2019/10/racket-news-issue-17.html Enjoy, Paulo -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket

[racket-users] Re: My macro works in the global namespace, but fails inside of a let

2019-10-07 Thread Cistian Alejandro Alvarado Vázquez
Okay, that I am aware of, but why is it hygienic inside of let but *not* in the global namespace? Also, you should (from my limited understanding!) still be able to access bindings from inside of a macro, no? For example, I can call functions inside of a macro and those identifiers are available

[racket-users] Re: My macro works in the global namespace, but fails inside of a let

2019-10-07 Thread Simon Schlee
I meant to write (less confusing): "You say you want to use some definitions in your macro, why not just pass the relevant ones as arguments to your macro?" -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and sto

[racket-users] Re: My macro works in the global namespace, but fails inside of a let

2019-10-07 Thread Simon Schlee
Your second macro does not work as you expect, because by default macros in racket are hygienic, described roughly that means that a macro only "manipulates" the syntax it is given as arguments, not with the syntax around its invocation. As gfb has mentioned one way to do this is to use paramet

[racket-users] Parallel merge-sort leveraging futures

2019-10-07 Thread Dominik Pantůček
Hello, over the course of past few months I have been tasked with solving a (real-world) problem of sorting the sums of all possible combinations of numbers. Some boring accounting stuff revolving around invoices. As the total number of combinations is 2^N where N is the number of source numbers,

[racket-users] Best path to a typed/racket compilation target?

2019-10-07 Thread Raoul Schorer
Hi, There are multiple potential ways to compile to typed/racket from a custom language. A few I am aware of: - roll-your-own macros compiling to typed code (my current solution) - typed-expander - turnstile package Maybe there are others that I don't know of, but how you would do it as an exp