Re: [racket-users] Racket Solution of String Recursive Replace

2015-09-20 Thread sagyo12341234
2015年9月17日木曜日 2時26分58秒 UTC+9 Jens Axel Søgaard: > > (regexp-replace "B" "BBB" "A") > "ABB" > > (regexp-replace* "B" "BBB" "A") > "AAA" > > > Notice the star. > > > > > 2015-09-16 19:21 GMT+02:00 : > Hi, > > > > I aim to write a racket script like a bash. > > > > $

Re: [racket-users] Racket poster

2015-09-20 Thread Neil Van Dyke
Matthias Felleisen wrote on 09/20/2015 05:46 PM: Can we please stay away from politics and leaning on politics? I am sure everyone has different connotations with these kinds of symbols. I have a similar aversion to the Grateful Dead iconography: connotations of substance abuse, intellectual

Re: [racket-users] Racket poster

2015-09-20 Thread Robby Findler
On Sun, Sep 20, 2015 at 5:52 PM, Neil Van Dyke wrote: > Matthias Felleisen wrote on 09/20/2015 05:46 PM: >> >> Can we please stay away from politics and leaning on politics? >> I am sure everyone has different connotations with these kinds >> of symbols. >> > > I have a

Re: [racket-users] crash in nightly build

2015-09-20 Thread Matthew Flatt
To try without the recent GC changes, you could build the "rewind-gc" branch of https://github.com/mflatt/racket At Mon, 21 Sep 2015 00:08:43 +0300, Dmitry Pavlov wrote: > Hello, > > I was just able to discover that my program crashes on the > nightly build 6.2.900.17, on Linux. The program

Re: [racket-users] Racket poster

2015-09-20 Thread Neil Van Dyke
Robby Findler wrote on 09/20/2015 07:21 PM: I have a similar aversion to the Grateful Dead iconography: connotations of substance abuse, intellectual impairment, countercultural friction, societal detachment... :) Good thing we look like Pepsi now, eh? Much improved. Logo is looking good

Re: [racket-users] Racket poster

2015-09-20 Thread Matthias Felleisen
Well, the Grateful are water under the bridge. But this poster is up for discussion. -- 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

Re: [racket-users] embedded Racket + runtime paths = ?

2015-09-20 Thread Matthew Flatt
At Sun, 20 Sep 2015 16:08:48 -0600, Matthew Flatt wrote: > > I just tried the 32-bit Utah snapshot and 32-bit C app -- build OK, > > but the app crashed right on scheme_main_setup with zero pointer > > access. It did not even enter my "run" function. > > My initial guess is that it's related to

Re: [racket-users] module->namespace doesn't work for module+ ?

2015-09-20 Thread Greg Hendershott
To wrap this up: - The racket-run Emacs command now supports submodules. It runs whatever (sub)module point is within. - The ,run REPL command now supports "file.rkt" or ("file.rkt" submod ...). - If Racket is new enough (or, not module+ and errortrace), you can see/use the definitions within

Re: [racket-users] Racket poster

2015-09-20 Thread Sam Tobin-Hochstadt
Very cool. I think the github wiki for the racket repository is the best place to keep it. Sam On Sun, Sep 20, 2015, 8:22 AM Jussi Rasku wrote: > I'm organizing a Racket training event, that will be hosted by the local > game development club here at Seinäjoki, Finland.

Re: [racket-users] memq vs member [was: typed/racket + rackunit = trouble]

2015-09-20 Thread Gustavo Massaccesi
I've done a few experiments with a easy version of , that never has a third argument. (It's wrong, but it's useful to estimate how much better the final version could be.) https://github.com/gus-massa/racket/commit/cd35e0dc3db474f8dc31fea170d1bc2900f2e338 I simplified the use of the macros, but

[racket-users] Racket poster

2015-09-20 Thread Jussi Rasku
I'm organizing a Racket training event, that will be hosted by the local game development club here at Seinäjoki, Finland. For marketing the event I designed a poster: https://dl.dropboxusercontent.com/u/51709232/sepeli/poster_racket_tight.png As they say, imitation is the sincerest form of

Re: [racket-users] embedded Racket + runtime paths = ?

2015-09-20 Thread Dmitry Pavlov
I just tried the 32-bit Utah snapshot and 32-bit C app -- build OK, but the app crashed right on scheme_main_setup with zero pointer access. It did not even enter my "run" function. My initial guess is that it's related to thread-local storage and missing instructions in "Inside". I'll look

[racket-users] Re: Racket poster

2015-09-20 Thread George Neuner
>> http://www.eecs.northwestern.edu/~robby/logos/ On Sun, 20 Sep 2015 18:52:25 -0400, Neil Van Dyke wrote: > >I have a similar aversion to the Grateful Dead iconography: connotations >of substance abuse, intellectual impairment, countercultural friction, >societal

Re: [racket-users] embedded Racket + runtime paths = ?

2015-09-20 Thread Dmitry Pavlov
Matthew, I've added a `--runtime ` argument to `raco ctool --cmods`, which gathers runtime files into and makes the embedded modules refer to them in (which is expected to be relative to the executable, but see also the `--runtime-access` option). The embedding executable must call

Re: [racket-users] Why not ship pre-built Racket libraries in the distribution?

2015-09-20 Thread Matthew Flatt
Yes, it seems that "libracket3m.a" is stripped too much. (The intent was to use `strip -S`.) I'll fix that. At Sun, 20 Sep 2015 23:57:20 +0300, Dmitry Pavlov wrote: > Matthew, > > > I see the libracket3m.a file in the nightly distribution of Racket. > It seems, however, that the file is of no

Re: [racket-users] Racket poster

2015-09-20 Thread Matthias Felleisen
Can we please stay away from politics and leaning on politics? I am sure everyone has different connotations with these kinds of symbols. Thanks — Matthias > On Sep 20, 2015, at 5:45 PM, Vincent St-Amour > wrote: > > It would also be a good fit for

Re: [racket-users] embedded Racket + runtime paths = ?

2015-09-20 Thread Matthew Flatt
At Mon, 21 Sep 2015 01:04:15 +0300, Dmitry Pavlov wrote: > Matthew, > > On 09/21/2015 12:38 AM, Matthew Flatt wrote: > > At Sun, 20 Sep 2015 23:53:42 +0300, Dmitry Pavlov wrote: > >> On Windows, though, I ran into a problem when linking my app > >> with pre-built libracket3m_9yy8mp.lib : > >> >

Re: [racket-users] Why not ship pre-built Racket libraries in the distribution?

2015-09-20 Thread Dmitry Pavlov
Matthew, I see the libracket3m.a file in the nightly distribution of Racket. It seems, however, that the file is of no much use: it has the size of 3.4M (the one that I built myself is 23M), it exports no symbols (none that the nm utility can see), and it expectedly fails linking. Regards,

[racket-users] crash in nightly build

2015-09-20 Thread Dmitry Pavlov
Hello, I was just able to discover that my program crashes on the nightly build 6.2.900.17, on Linux. The program has a heavy portion of math, double and extended unsafe ops, and accesses multiple low-level libraries. It has crashed after 4 hours of running, while doing just the same that it had

Re: [racket-users] embedded Racket + runtime paths = ?

2015-09-20 Thread Matthew Flatt
At Sun, 20 Sep 2015 23:53:42 +0300, Dmitry Pavlov wrote: > On Windows, though, I ran into a problem when linking my app > with pre-built libracket3m_9yy8mp.lib : > > error LNK2001: unresolved external symbol __imp_scheme_get_mz_setjmp > > That is the only unresolved symbol. All the others were

Re: [racket-users] Racket poster

2015-09-20 Thread Vincent St-Amour
It would also be a good fit for Robby's logo gallery: http://www.eecs.northwestern.edu/~robby/logos/ Vincent On Sun, 20 Sep 2015 07:31:43 -0500, Sam Tobin-Hochstadt wrote: > > Very cool. I think the github wiki for the racket repository is the best > place to keep it. > > Sam > > On Sun,

Re: [racket-users] embedded Racket + runtime paths = ?

2015-09-20 Thread Dmitry Pavlov
Matthew, On 09/21/2015 12:38 AM, Matthew Flatt wrote: At Sun, 20 Sep 2015 23:53:42 +0300, Dmitry Pavlov wrote: On Windows, though, I ran into a problem when linking my app with pre-built libracket3m_9yy8mp.lib : error LNK2001: unresolved external symbol __imp_scheme_get_mz_setjmp That is the