[racket] updated trycode.io

2015-03-02 Thread Floyd Arguello
trycode.io has been updated with the Guess My Number game from Realm of Racket. Please take a look and tell me your thoughts. Cheers, Floyd Racket Users list: http://lists.racket-lang.org/users

Re: [racket] How can I dump (display) the variables defined in current the global environment

2015-03-02 Thread Rufus
Matthias > best advice Yes. Said as much to Jordan but my email client is schizo about replying to the list; fixed now I think. I did start w/the "Beginning Student Language" option in DrRacket and after a little defining things seem to be working. But what do you mean by "... with List Abbrevia

Re: [racket] run big-bang universe server on headless server?

2015-03-02 Thread Jordan Johnson
I'd imagine running it under Xvfb would be worth a try: http://en.wikipedia.org/wiki/Xvfb I know I've used that to be able to run gracket-text stuff on my Linux VPS before. Don't know if there's anything in universe that would pose an obstacle, however. Best, Jordan On Feb 27, 2015, at 4:18 P

Re: [racket] raco exe: unknown module

2015-03-02 Thread Alexander D. Knauth
Could submodules be causing it? try.rkt: #lang typed/racket/base (provide x) (define x : Integer 1) (module* test racket/base (require (submod "..")) x) Gives this error: . . Racket v6.1.1.8/collects/racket/private/reqprov.rkt:79:13: syntax-local-module-exports: unknown module module name: #

Re: [racket] xslt

2015-03-02 Thread John Clements
On Sat, Feb 28, 2015 at 11:23 AM, Neil Van Dyke wrote: > DJ wrote on 02/28/2015 11:49 AM: > >> I have spent a half hour searching for info on how to run xslt transforms >> in racket. All that I can find is a mention that sxml /used to have/ xslt >> but doesn't any more. I would prefer native rack

Re: [racket] How can I dump (display) the variables defined in current the global environment

2015-03-02 Thread Matthias Felleisen
This is about the best advice you can get. I want to add that neither Racket nor the teaching languages for How to Design Programs correspond exactly to the (minimal) language of TLS. These languages are close but they differ from the language of TLS in (1) the names of the functions and (2)

Re: [racket] min and max representable dates

2015-03-02 Thread Hendrik Boom
On Mon, Mar 02, 2015 at 10:41:13AM -0800, Jordan Johnson wrote: > > Yes, so I’d feel a lot more comfortable if I can give a bigger max > than 2^32 (which I expect I can, but want to check). I found that in > Racket v6.1.1 the max is 2^31 - 1. In v6.1.1.8 all I’ve determined is > that the max is

[racket] pre Realm of Racket

2015-03-02 Thread Matthew Butterick
I enjoyed reading Realm of Racket (& not embarrassed to say I even learned a few things, like #; for commenting an S-expression). Nice job, all those involved. I was interested in the note on p.9 that Racket was originally a project that "had middle school students in mind." Suppose I know some m

Re: [racket] min and max representable dates

2015-03-02 Thread Jordan Johnson
On Mar 2, 2015, at 6:59 AM, Hendrik Boom wrote: > On Sun, Mar 01, 2015 at 04:07:57PM -0800, Jordan Johnson wrote: >> >> I expect a pretty conservative estimate is A-OK if it’d be sure of >> not throwing an error on 32+-bit systems; >> I see 2^32 seconds would get us at least to the year 2106...

Re: [racket] min and max representable dates

2015-03-02 Thread Hendrik Boom
On Sun, Mar 01, 2015 at 04:07:57PM -0800, Jordan Johnson wrote: > > I expect a pretty conservative estimate is A-OK if it’d be sure of > not throwing an error on 32+-bit systems; > I see 2^32 seconds would get us at least to the year 2106... Which is why the world is shifting to 64-bit dates. If

Re: [racket] sxpath, txpath and accessors

2015-03-02 Thread Vincent St-Amour
I think this is what you're looking for: ((sxpath '(aaa xxx (sxml:preceding '(www doc) I recommend the short tutorial near the top of this document: http://pkg-build.racket-lang.org/doc/sxml/sxpath.html It doesn't discuss `sxml:preceding` specifically, but it shows similar const

Re: [racket] raco exe: unknown module

2015-03-02 Thread Dmitry Pavlov
Well, in my case the error is gone in the the latest snapshot of Racket. Regards, Dmitry On 03/01/2015 12:46 AM, Alexander D. Knauth wrote: I’m getting a similar error on Travis CI for my measures-with-dimensions package: https://travis-ci.org/AlexKnauth/measures-with-dimensions/jobs/52573