Re: [racket-users] Time for draw-bitmap

2015-05-10 Thread Jens Axel Søgaard
2015-05-11 0:56 GMT+02:00 Matthew Flatt mfl...@cs.utah.edu: At Mon, 11 May 2015 00:30:05 +0200, Jens Axel Søgaard wrote: 2015-05-11 0:07 GMT+02:00 Matthew Flatt mfl...@cs.utah.edu: If you're on OS X, try creating the bitmap with (send canvas make-bitmap screen-width screen-height)

Re: [racket-users] Time for draw-bitmap

2015-05-10 Thread Jens Axel Søgaard
2015-05-11 2:24 GMT+02:00 Robby Findler ro...@eecs.northwestern.edu: But if you have a specific destination in mind you can make the bitmap first and then draw the 2htdp/image into it (or anything into it!) When I use my own game-loop it is easy enough to use the make-bitmap method of the

Re: [racket-users] Time for draw-bitmap

2015-05-10 Thread Robby Findler
But if you have a specific destination in mind you can make the bitmap first and then draw the 2htdp/image into it (or anything into it!) Robby On Sunday, May 10, 2015, Matthew Flatt mfl...@cs.utah.edu wrote: At Mon, 11 May 2015 00:30:05 +0200, Jens Axel Søgaard wrote: 2015-05-11 0:07

Re: [racket-users] Environment Shuffling and 3D Syntax

2015-05-10 Thread Matthew Flatt
I've fought my way a little up the hill, and enclosed is an implementation that I think works the way you want within a module. See the enclosed in-package.rkt. As you suspected, `make-syntax-introducer` is the piece that you need. In the terminology of the current macro expander, the function

Re: [racket-users] [racket][off-topic] what's the official meaning of *.rktl and *.rktd?

2015-05-10 Thread Sam Tobin-Hochstadt
.rktl is for files intended to be used with 'load', which is what the l stands for. .rktd is for files used with 'read', and the d stands for data. Sam On Sun, May 10, 2015, 9:40 PM WarGrey Gyoudmon Ju juzhenli...@gmail.com wrote: Sorry it's hard to find the official definition of **.rktl*

Re: [racket-users] [racket][off-topic] what's the official meaning of *.rktl and *.rktd?

2015-05-10 Thread WarGrey Gyoudmon Ju
Get it! Thank you Sam. On Mon, May 11, 2015 at 9:53 AM, Sam Tobin-Hochstadt sa...@cs.indiana.edu wrote: .rktl is for files intended to be used with 'load', which is what the l stands for. .rktd is for files used with 'read', and the d stands for data. Sam On Sun, May 10, 2015, 9:40 PM

[racket-users] racket on openwrt

2015-05-10 Thread Neil Van Dyke
Has anyone already made an OpenWRT `.ipk` package of Racket? 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+unsubscr...@googlegroups.com.

Re: [racket-users] scribble namespace landgrab embedded package documentation

2015-05-10 Thread Neil Van Dyke
Matthew Flatt wrote on 05/07/2015 02:44 PM: I have no problem with these names --- the `scribble` exports are unlikely to ever collide, since we rarely resort to capital letters --- but I can't help thinking that the language of the metadata should specified explicitly. Regarding `#lang

Re: [racket-users] Time for draw-bitmap

2015-05-10 Thread Matthew Flatt
If you're on OS X, try creating the bitmap with (send canvas make-bitmap screen-width screen-height) instead of (make-object bitmap% screen-width screen-height) Roughly, using the `make-bitmap` method creates a bitmap that's on the graphics card instead of main memory. At Sun, 10 May 2015

Re: [racket-users] Time for draw-bitmap

2015-05-10 Thread Jens Axel Søgaard
Worked like a charm. Thanks! 2015-05-11 0:07 GMT+02:00 Matthew Flatt mfl...@cs.utah.edu: If you're on OS X, try creating the bitmap with (send canvas make-bitmap screen-width screen-height) instead of (make-object bitmap% screen-width screen-height) Roughly, using the `make-bitmap`

[racket-users] Time for draw-bitmap

2015-05-10 Thread Jens Axel Søgaard
Hi All, The attached files are a work-in-progress. Eventually it will become a remake of Cees Kramer's Snoopy for C64. Anyways, the game represents an unmoveable object as a block structure. Today I decided to stop rendering the blocks for every frame. Instead they are rendered once to a

Re: [racket-users] Time for draw-bitmap

2015-05-10 Thread Jens Axel Søgaard
2015-05-11 0:07 GMT+02:00 Matthew Flatt mfl...@cs.utah.edu: If you're on OS X, try creating the bitmap with (send canvas make-bitmap screen-width screen-height) instead of (make-object bitmap% screen-width screen-height) Roughly, using the `make-bitmap` method creates a bitmap that's

Re: [racket-users] Time for draw-bitmap

2015-05-10 Thread Matthew Flatt
At Mon, 11 May 2015 00:30:05 +0200, Jens Axel Søgaard wrote: 2015-05-11 0:07 GMT+02:00 Matthew Flatt mfl...@cs.utah.edu: If you're on OS X, try creating the bitmap with (send canvas make-bitmap screen-width screen-height) instead of (make-object bitmap% screen-width

[racket-users] [racket][off-topic] what's the official meaning of *.rktl and *.rktd?

2015-05-10 Thread WarGrey Gyoudmon Ju
Sorry it's hard to find the official definition of **.rktl* and **.rktd* except both of them are racket source file extensions as well as **.rkt*. My dim memory shows that *l* means *load* or *link*? *d* means *D**rRacket*? and these two ones are used for configuration. In my web htdocs, there

Re: [racket-users] Environment Shuffling and 3D Syntax

2015-05-10 Thread Matthias Felleisen
Probably off-topic: you might be interested in http://repository.readscheme.org/ftp/papers/sw2003/Scmxlate.pdf Start with the title and then the summary at the end. Dorai has used this package to make his programs available in Schemes and Common Lisps. -- Matthias On May 8, 2015, at

[racket-users] testing with scope-set expander on Travis CI?

2015-05-10 Thread Alexander D. Knauth
I want to test some of my packages on travis with the Matthew Flatt's scope-set expander. Right now I’m using Greg Hendershott’s way of setting up the .travis.yml, described here: http://www.greghendershott.com/2013/07/using-travis-ci-for-racket-projects.html I tried modifying that to support