On 11/29/2012 01:20 AM, Anthony Carrico wrote:
> (module+ test
> (check = 4 (scheme_eval '(+ 2 2) (make-base-namespace
>
Hmm, a clue, this doesn't fail:
(module+ test
(check-false (scheme_eval '#f (make-base-namespace
--
Anthony Carrico
signature.asc
Description: OpenPGP digital
I have a test case that works at the command line:
$ racket
Welcome to Racket v5.3.1.
> (require "simple.rkt")
> (scheme_eval '(+ 2 2) (make-base-namespace))
4
>
But fails with raco test:
$ raco test "simple.rkt"
link: module mismatch;
possibly, bytecode file needs re-compile because dependenci
Hi,
With online compilation enabled and "highlight errors in yellow"
enabled the highlighting of s-expressions in the yellow area is
disabled.
This makes it difficult to see where we might want to make changes.
How may I get the desired behavior?
Grant
--
Grant Rettke | ACM, AMA, COG, IEEE
gr
8 hours ago, Harry Spier wrote:
> My last two posts to the users list have shown up on the gmane
> mirror and the google groups mirror but not on the mail archive. My
> original posts didn't show up on the mail archive but my subsequent
> reply did. I think this has happened to me once or twice in
On Nov 28, 2012, at 5:40 PM, Robby Findler wrote:
> I think the first step to understanding this is to operate at the dc% level.
> That is, make a little program that draws (simpler) shapes, cropped and
> uncropped, via calls directly to the dc object and see if you can find a
> minimalist pro
Right --- you don't want `#lang scratchy'. The `scratchy/runtime'
library might be useful.
At Wed, 28 Nov 2012 21:01:32 -0500, Yaron Minsky wrote:
> Ah, looking at scratchy more closely, I now think I understand it.
> It's neat, but it's not quite what I'm looking for. In particular, I
> was look
Ah, looking at scratchy more closely, I now think I understand it.
It's neat, but it's not quite what I'm looking for. In particular, I
was looking for a set of libraries that made the kinds of things one
can do in scratch easy to do. But scratchy is its own little
language, and doesn't give you
I think the first step to understanding this is to operate at the dc%
level. That is, make a little program that draws (simpler) shapes, cropped
and uncropped, via calls directly to the dc object and see if you can find
a minimalist program. Well, that's how I tackle these problems, generally.
Rob
I'm seeing strange behavior in bitmap rendering... or maybe the problem is in get-argb-pixels; I don't seem to have the tools to observe the difference.I'm hesitant to file a bug report, because this may simply be a consequence of built-in mac drawing routines. At a minimum, though, there's a doc
On Wed, Nov 28, 2012 at 5:42 PM, Clement Erik Ferguson
wrote:
> Using that dll fixed the problem on Windows XP 32bit!
>
> Using the 64-bit one on Windows 7 64-bit didn't work, though.
>
> Also, I was able to test out text/font with a symbol font on OS X 10.8.2,
> and it also would not render the s
This sounds great. I'm curious how it compared to snap, which is scratch
like, but with more abstraction capabilities and more FP mixed in.
One key thing to aim for I believe is the online component. This is where
scratch really shines. They manage to male coding a highly social activity,
which m
This sounds ideal. I'll check it out.
On Nov 28, 2012 8:00 AM, "Matthew Flatt" wrote:
> For what it's worth
>
> https://github.com/mflatt/scratchy
>
> is an implementation of the Scratch sprite and evaluation model plus a
> textual language. It has all of the drawbacks of Scratch --- mutation,
Shriram wrote:
Yaron, this summer my students, Kathi Fisler, and I built a block-based,
functional language with types (expressed as colors) and testing. It runs
in the browser, uses the WeScheme runtime and can express most Bootstrap
programs.
It needs more polish before we can release it to t
embed/url uses the current URL as the base, because a continuation
represents a step in the large computation that that URL represents.
On a technical level, it needs to do this to correctly handle servers
that serve many servlets each with different URLs. It uses the base
url to get to the continu
Using that dll fixed the problem on Windows XP 32bit!
Using the 64-bit one on Windows 7 64-bit didn't work, though.
Also, I was able to test out text/font with a symbol font on OS X 10.8.2,
and it also would not render the symbol font.
I found somebody who had made TeX fonts for byzantine neumes
Hey,
I have a problem with the behaviour of embed/url in combination of using
pretty urls:
when the current page is http://localhost:8080, and I generate a URL with
embed/url, the result is something like "/;((...)). That's fine.
If I have pretty url with dispatch, like
http://localhost:8080/sear
Yaron, this summer my students, Kathi Fisler, and I built a block-based,
functional language with types (expressed as colors) and testing. It runs
in the browser, uses the WeScheme runtime and can express most Bootstrap
programs.
It needs more polish before we can release it to the world. We would
My last two posts to the users list have shown up on the gmane mirror
and the google groups mirror but not on the mail archive. My original
posts didn't show up on the mail archive but my subsequent reply did.
I think this has happened to me once or twice in the past also.
Harry Spier
Here is John's gist extended with
the method based on integer masks per scanline.
https://gist.github.com/4163396
Stephan
On 11/28/2012 2:26 PM, Stephan Houben wrote:
Apart from introducing a bounding box check, I would
suggest converting each scanline into a single exact integer
with 1 bits c
On 11/28/12 12:08 PM, Matthias Felleisen wrote:
I think David is interested in an extension of the check-syntax mode.
CS should report when test cases fail. I am willing to help it along
by writing all test cases within (module+ test ...) for that.
Yes exactly. I'd be happy to write (module+
I know that will error, but I thought the point was for online check syntax to
error.
-Ian
- Original Message -
From: "Matthias Felleisen"
To: "J. Ian Johnson"
Cc: "Asumu Takikawa" , "Racket Users"
Sent: Wednesday, November 28, 2012 12:13:44 PM GMT -05:00 US/Canada Eastern
Subject: Re:
You need to click check syntax.
On Nov 28, 2012, at 12:08 PM, J. Ian Johnson wrote:
> This doesn't give me a syntax error.
> -Ian
> - Original Message -
> From: "Asumu Takikawa"
> To: "David Van Horn"
> Cc: "Racket Users"
> Sent: Wednesday, November 28, 2012 12:06:25 PM GMT -05:00 U
This doesn't give me a syntax error.
-Ian
- Original Message -
From: "Asumu Takikawa"
To: "David Van Horn"
Cc: "Racket Users"
Sent: Wednesday, November 28, 2012 12:06:25 PM GMT -05:00 US/Canada Eastern
Subject: Re: [racket] Online testing
On 2012-11-28 12:04:16 -0500, Asumu Takikawa wro
I think David is interested in an extension of the check-syntax mode.
CS should report when test cases fail. I am willing to help it along
by writing all test cases within (module+ test ...) for that.
-- Matthias
smime.p7s
Description: S/MIME cryptographic signature
R
On 2012-11-28 12:04:16 -0500, Asumu Takikawa wrote:
> Also, this doesn't work if you use a `module*` or `module+`. Is that a bug?
Oops, this obviously doesn't work since you can't import a `module*`
submodule from its parent. D'oh.
Cheers,
Asumu
Racket Users list:
http://
On 2012-11-28 11:48:45 -0500, David Van Horn wrote:
> I'm sure this possible and probably not difficult, but I thought I'd
> throw it out there for feedback.
If you do something like this:
#lang racket
(module test racket
(require rackunit)
(check-equal? 5 2))
(begin-for-syntax
Something that would be useful to me is a #lang racket/test that is just
like #lang racket but runs the entire module at compile time and
collects test failures, reporting them as syntax errors. Then I could
develop code with online compilation to give me online feedback about
test cases. Onc
On Nov 28, 2012, at 7:37 AM, Yaron Minsky wrote:
> I do think that a good design goal for Racket's kid-oriented libraries
> would be to be feature compatible with Scratch. It would be great if
> there were good ways of doing everything that Scratch can do, from
> playing sounds to detecting coll
2012/11/28 Hendrik Boom :
> There are two arts to collision detection: figuring out whether two
> images collide (which gets trickier when they're in motion) and
> organising all your objects so you don't have to test very many
> combinations of them.
Back in the summer holiday I played with 2d-r
Is this oriented towards educational use, or is it a more
general-purpose library?
y
On Tue, Nov 27, 2012 at 10:51 PM, Jay McCarthy wrote:
> And if you don't want to write your own...
>
> I have a Planet package or github repo for almost everything...
>
> (old) slow functional physics in Racket
Apart from introducing a bounding box check, I would
suggest converting each scanline into a single exact integer
with 1 bits corresponding to alpha unequal 0. Then for each scanline,
you can use arithmetic-shift and bitwise-and, and then check the result for
being non-zero.
Stephan
2012/11/28 S
General purpose use.
On Wed, Nov 28, 2012 at 5:38 AM, Yaron Minsky wrote:
> Is this oriented towards educational use, or is it a more
> general-purpose library?
>
> y
>
> On Tue, Nov 27, 2012 at 10:51 PM, Jay McCarthy wrote:
>> And if you don't want to write your own...
>>
>> I have a Planet pac
For what it's worth
https://github.com/mflatt/scratchy
is an implementation of the Scratch sprite and evaluation model plus a
textual language. It has all of the drawbacks of Scratch --- mutation,
race conditions, and busy waiting --- without the nice graphical
syntax! It has a collision detecto
It should be sending you email already, assuming that you told the bug
report system what your email address is. The emails come from
t...@racket-lang.org. I just created a bug report and assigned it to
me and I got the email (twice, actually, because I already get all of
the bug report emails).
R
To be clear, I'm firmly interested in tinkering, which is why I'm
using universe.ss and image.ss.
I do think that a good design goal for Racket's kid-oriented libraries
would be to be feature compatible with Scratch. It would be great if
there were good ways of doing everything that Scratch can d
On Tue, Nov 27, 2012 at 08:56:13PM -0500, Yaron Minsky wrote:
> I've been weaning my son off of Scratch in favor of Racket, and trying
> to get him to write interactive games using universe.ss and image.ss.
> I'm wondering if anyone has suggestions for how to do things like
> collision detection.
On Nov 28, 2012, at 3:10 AM, John Clements wrote:
> Okay, the totally-dumb collision detection implementation was shorter than
> expected; only 73 lines, including (light) testing. Here's a link to that
> code:
>
> https://gist.github.com/4159778
Simple, straightforward. I notice that your
On Nov 27, 2012, at 11:21 PM, John Clements wrote:
>
> On Nov 27, 2012, at 11:04 PM, John Clements wrote:
>
>>
>> On Nov 27, 2012, at 5:56 PM, Yaron Minsky wrote:
>>
>>> I've been weaning my son off of Scratch in favor of Racket, and trying
>>> to get him to write interactive games using univ
38 matches
Mail list logo