Re: [racket] Crowdsourcing Pict3D's design

2015-03-14 Thread Neil Toronto
On 03/14/2015 10:27 PM, Alexander D. Knauth wrote: On Mar 8, 2015, at 10:53 PM, Neil Toronto wrote: If you've ever had the slightest hankering to do some real 3D but avoided it because of the pain that usually goes with it, try Pict3D. (If it fails to work, please submit a bug report on the

Re: [racket] Crowdsourcing Pict3D's design

2015-03-14 Thread Alexander D. Knauth
On Mar 8, 2015, at 10:53 PM, Neil Toronto wrote: > If you've ever had the slightest hankering to do some real 3D but avoided it > because of the pain that usually goes with it, try Pict3D. (If it fails to > work, please submit a bug report on the GitHub page.) Got a visualization > project? T

[racket] [fm-announcements] Fifth Summer School on Formal Techniques, CA

2015-03-14 Thread Rungta, Neha S. (ARC-TI)[SGT, INC]
Fifth Summer School on Formal Techniques, May 17 - May 22, 2015, Atherton, California http://fm.csl.sri.com/SSFT15 Techniques based on formal logic, such as model checking, satisfiability, static analysis, and automated theorem proving, are finding a broad range of applications in modeling, anal

Re: [racket] Error with pict3d

2015-03-14 Thread Neil Toronto
You're not doing anything wrong. Pict3D requires OpenGL version 3.0 or higher to function, and it looks like your computer doesn't have it. To find out for sure, here's what you can do: * Mac OS X: Check the OS version number. You need 10.7.5 or higher. * Linux: Run glxinfo | grep "ver

[racket] Nearly all of the functionality from the 2htdp teachpacks is now available in 2htdp-typed

2015-03-14 Thread Alexis King
I’ve had the 2htdp-typed package available for a little while now, which is a Typed Racket wrapper for the HtDP/2e teachpacks. It was missing big-bang, since it is implemented as a macro, but I have now added support for big-bang in Typed Rack

Re: [racket] scribble and .gitignore

2015-03-14 Thread Alexander D. Knauth
On Mar 14, 2015, at 2:41 PM, Jon Zeppieri wrote: > While I'm writing documentation, I often use DrRacket to generate > HTML, and -- at least, with my configuration as-is -- it creates files > in the same directory where the .scrbl files are. Is there a way to > change the destination directory u

Re: [racket] Looking for better designs to learn principles.

2015-03-14 Thread Alexis King
There’s also the thrush function from the point-free package, which uses the argument order of the threading macro while providing the functional style of compose. http://pkg-build.racket-lang.org/doc/point-free/index.html?q=thrush#%28def._%28%28lib._point-free%2Fmain..rkt%29._thrush%29%29

Re: [racket] Looking for better designs to learn principles.

2015-03-14 Thread Sean Kanaley
If "thread-through macro" refers to " http://www.greghendershott.com/2013/05/the-threading-macro.html"; then I recommend a functional alternative called "compose": (define print/cdr (match-lambda [(cons x xs) (print x) xs])) (define print-two (compose print/cdr print/cdr)) The result is

Re: [racket] Portability of .zo files

2015-03-14 Thread Matthew Flatt
At Sat, 14 Mar 2015 16:20:09 -0300, Gustavo Massaccesi wrote: > Can I move a .zo file from a machine that has extflonum enabled to a > machine that has extflonum disabled? Yes. > Can I move a .zo file from a machine that has extflonum disabled to a > machine that has extflonum enabled? Yes. > M

Re: [racket] scribble and .gitignore

2015-03-14 Thread Jon Zeppieri
On Sat, Mar 14, 2015 at 3:26 PM, Robby Findler wrote: > Yes you can do that. We are talking about the location where files are put > when you click the button in Drracket, right? Yes (at least, that's what I'm talking about). And I'm in favor of the change you suggested previously. -Jon > > >

Re: [racket] scribble and .gitignore

2015-03-14 Thread Robby Findler
Yes you can do that. We are talking about the location where files are put when you click the button in Drracket, right? On Saturday, March 14, 2015, Neil Van Dyke wrote: > Robby Findler wrote on 03/14/2015 03:06 PM: > >> I could certainly change that use a doc subdirectories if people think >>

[racket] Portability of .zo files

2015-03-14 Thread Gustavo Massaccesi
(I'm playing with some optimizations, so this is a theoretical question to understand some parts of the Racket implementation, not a real life problem.) Can I move a .zo file from a machine that has extflonum enabled to a machine that has extflonum disabled? Can I move a .zo file from a machine t

Re: [racket] scribble and .gitignore

2015-03-14 Thread Neil Van Dyke
Robby Findler wrote on 03/14/2015 03:06 PM: I could certainly change that use a doc subdirectories if people think that's the right thing. I don't know, but (especially if the current default changes), we should be able to force the target directory from the command line and the API. (Tools

Re: [racket] scribble and .gitignore

2015-03-14 Thread Robby Findler
I could certainly change that use a doc subdirectories if people think that's the right thing. Robby On Saturday, March 14, 2015, Jon Zeppieri wrote: > While I'm writing documentation, I often use DrRacket to generate > HTML, and -- at least, with my configuration as-is -- it creates files > in

Re: [racket] scribble and .gitignore

2015-03-14 Thread Jon Zeppieri
While I'm writing documentation, I often use DrRacket to generate HTML, and -- at least, with my configuration as-is -- it creates files in the same directory where the .scrbl files are. Is there a way to change the destination directory used by DrRacket's scribble mode? On Sat, Mar 14, 2015 at 2

Re: [racket] scribble and .gitignore

2015-03-14 Thread Matthew Flatt
At Sat, 14 Mar 2015 13:30:26 -0400, Jon Zeppieri wrote: > I've been looking at the .gitignore files in various racket packages, > and the ones I've seen don't ignore files generated by scribble (.html > .css, etc.). So what is the common practice for keeping those files > out of source control? Al

Re: [racket] scribble and .gitignore

2015-03-14 Thread Matthew Flatt
Ignoring "compiled" is right, but documentation goes to "doc". The "compiled" and "doc" directories should cover all files that are generated by Racket tools. At Sun, 15 Mar 2015 02:33:10 +0800, WarGrey Gyoudmon Ju wrote: > I use ./compiled as the dest directory so that all generated files can be

Re: [racket] scribble and .gitignore

2015-03-14 Thread WarGrey Gyoudmon Ju
I use ./compiled as the dest directory so that all generated files can be omitted in .gitignore once and for all. On Sun, Mar 15, 2015 at 1:30 AM, Jon Zeppieri wrote: > I've been looking at the .gitignore files in various racket packages, > and the ones I've seen don't ignore files generated b

[racket] scribble and .gitignore

2015-03-14 Thread Jon Zeppieri
I've been looking at the .gitignore files in various racket packages, and the ones I've seen don't ignore files generated by scribble (.html .css, etc.). So what is the common practice for keeping those files out of source control? Racket Users list: http://lists.racket-lan

Re: [racket] Looking for better designs to learn principles.

2015-03-14 Thread Tony Garnock-Jones
How about (define print-two (match-lambda [(list* a b rest) (print a) (print b) rest])) ? On 03/12/2015 06:25 PM, Don Green wrote: > ;Design A: > ;Rating: 1 out of 10 > ;Poor because it uses set! > (define print-two > (lambda (f) >(print (first f)) >(set! f (rest f

[racket] Error installing metapict

2015-03-14 Thread Dr. C. SHUNMUGA VELAYUTHAM
I was trying to intall metapict through the package installer and was getting the following error message make-script: unexpected value rendered: '((font ((class "badlink")) (span ((class "indexlink")) (span ((class "RktModLink")) (span ((class "RktSym")) "metapict/draw") context...: ...