Re: [racket-users] Racket and FastCGI

2015-04-02 Thread Neil Van Dyke
If you want to use SCGI instead of FastCGI: http://www.neilvandyke.org/racket-scgi/ Neil V. -- 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-users+unsubs

[racket-users] Racket and FastCGI

2015-04-02 Thread Lux
Hi. First: Thanks for Racket. I really mean it. You are all fantastic. Second: How to make it work with FastCGI (and Lighttpd?)? Doc about net/cgi ( http://docs.racket-lang.org/net/cgi.html ) mention this standard and offer some cryptic indication: """ Users of FastCGI will need to bind REQUEST_

[racket-users] Re: the Racket manifesto

2015-04-02 Thread Eduardo Cavazos
I meant that to only go to Mattias... :-) Ed On Thursday, April 2, 2015 at 5:04:49 PM UTC-5, Eduardo Cavazos wrote: > Matthias, > > From this page: > > http://www.ccs.neu.edu/home/matthias/manifesto/sec_full.html > > "especially when components in these languages end up in an interconnected,

[racket-users] Re: the Racket manifesto

2015-04-02 Thread Eduardo Cavazos
Matthias, >From this page: http://www.ccs.neu.edu/home/matthias/manifesto/sec_full.html "especially when components in these languages end up in an interconnected, multi-lingual contexts." Perhaps that should be: "especially when components in these languages end up in interconnected, multi-

Re: [racket-users] [racket] making libraries work natively with both Racket & Typed Racket

2015-04-02 Thread Alexander D. Knauth
One problem-ish thing I see with that is that if an untyped file a.rkt requires untyped.rkt or the safe submodule, and then a typed file b.rkt requires a.rkt, then b.rkt would have to use required/typed to use the functions from untyped.rkt, whereas if you use require/untyped-contract, b.rkt kno

Re: [racket-users] PLT policy on Travis CI bandwidth costs

2015-04-02 Thread Spencer Florence
Greg's Travis CI repo has a branch for using Travises cache, so that each project would only download Racket once (per release). I don't know what its state is though? It seems like that would be idea if it works. https://github.com/greghendershott/travis-racket/tree/use-cache On Thu, Apr 2, 2015

[racket-users] htdp/2e: exercises 336-338, feedback desired and questions

2015-04-02 Thread Daniel Bastos
​​ Exercise 336. Is (bundle "abc" 0) a proper use of the bundle function? What does it produce? Why? ​Solution. It's not a proper use. It produces nothing. It doesn't terminate. Because (drop ls 0)​ returns a list not smaller than ls, hence the recursion of bundle doesn't reach the base case. I

Re: [racket-users] Re: [racket] making libraries work natively with both Racket & Typed Racket

2015-04-02 Thread Matthew Butterick
Since I favor blunt instruments, and I like having the typed & untyped interfaces in separate files, I adapted Alex’s submodule idea using a new function called `include-without-lang-line` [1] that pulls out the code from a typed file so it can be recompiled in an untyped context. For instance, wi

Re: [racket-users] PLT policy on Travis CI bandwidth costs

2015-04-02 Thread Matthew Butterick
OK, good to know. I will either switch to mirror.racket-lang.org or host the necessary installers on my own server. On Thu, Apr 2, 2015 at 9:38 AM, Sam Tobin-Hochstadt wrote: > Right now, Greg's script uses download.racket-lang.org, which is > hosted on Amazon S3, and thus downloads cost (a smal

[racket-users] PLT policy on Travis CI bandwidth costs

2015-04-02 Thread Matthew Butterick
Should I be concerned about Travis CI's consumption of PLT bandwidth? Assuming the answer is yes, then question #2: what should I do about it? I just set up Travis CI on some of my Github projects (thanks Greg Hendershott for the Racket configuration script). IIUC every Travis build requires d