ten it by the time I needed it.
cdata it is. Thanks to people like you, Racket does what I need, as usual. The
problem is I don’t always know what I need.
> On Sep 19, 2017, at 4:53 PM, Matthew Butterick wrote:
>
>
>> On Sep 19, 2017, at 1:36 PM, Byron Davies > <mailto:
[http://docs.racket-lang.org/xml/index.html?q=xexpr#%28def._%28%28lib._xml%2Fmain..rkt%29._cdata%29%29]
> to prevent the behavior you're seeing. -J
>
>
> On Tue, Sep 19, 2017 at 4:36 PM, Byron Davies
> wrote:
>> In strings, xexpr->xml converts "<>&” in
In strings, xexpr->xml converts "<>&” into <, etc. I’m sure this was
well-intentioned, but in my use of web-server, I use javascript scripts through
the (script “…”) form. In loop tests such as “i < n”, Javascript does not grok
the transformed text “i < n”. I tried workarounds for as long as I
ustodian-shutdown-all top-level-custodian)))
>>
>> may do what you want.
>>
>>
>>
>>
>>> On Feb 21, 2017, at 1:25 PM, Byron Davies wrote:
>>>
>>> I successfully built a Mac app, called BlackSwan, using raco exe and raco
>>
I successfully built a Mac app, called BlackSwan, using raco exe and raco
distribute. I was able to distribute it to beta testers and it worked
perfectly — until the user tries to quit out of it. I haven’t added any menus
to the app, but it comes up with a BlackSwan menu with About, Preference
———
Byron Davies, Ph.D. mailto:by...@blackswanlearning.com
CEO, http://BlackSwanLearning.com
Tempe, Arizona
480-276-4285
--
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
Yes, that does exactly what I needed — a fully scalable svg pict.
Thank you! And the other discussants.
Byron
> On Sep 3, 2016, at 6:29 PM, Asumu Takikawa wrote:
>
> On 2016-09-03 20:53:59 +0200, Jens Axel Søgaard wrote:
>> I took a quick look at the code of rsvg. It seems svg-bytes->pict does
ler wrote:
>
> I think that would be fantastic. The drawing models are compatible,
> iiuc, so I think the main part is dealing with parsing the svg file.
>
> Robby
>
>
> On Sat, Sep 3, 2016 at 2:36 AM, Byron Davies wrote:
>> svg images have a second-class status
svg images have a second-class status in Racket. If you want to use an svg
image in a drawing, it seems that you have to use the RSVG package to load it
from a file, which then renders it to a bitmap, subject to pixelation if
scaled. How hard would it be to create an svg-pict primitive that yo
Thanks for looking into it. No great hurry.
For now, I just tell the kindergartners to click twice the first time around,
but it will be a lot clearer once the fix happens.
> On Mar 28, 2016, at 4:34 PM, Matthew Flatt wrote:
>
> At Mon, 28 Mar 2016 11:53:38 -0700, Byron Davies wr
I have a single interactive pasteboard on a slideshow slide. For a learning
task, the user needs to click on objects on the pasteboard. There’s a little
glitch, however. The user must first click on the pasteboard to make it the
focus, and then click on the objects. Is there a way to make th
Byron
——
Byron Davies, Ph.D.
Chief Learner and Director of K-12 Innovation
StarShine Planet and StarShine Academy
http://starshineplanet.com/
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receivin
devise -- with your help).
Let me know if you might want to get involved.
Byron
—
Byron Davies, Ph.D.
byrondav...@starshine.us <mailto:byrondav...@starshine.us> 480.276.4285
Chief Learner and Director of K-12 Innovation
StarShine Academy International Schools
http://StarSh
m/racket/games/blob/master/cards/classes.rkt>
>
> Matthias's Acquire game:
> https://github.com/mfelleisen/Acquire/blob/master/tree-game.rkt
> <https://github.com/mfelleisen/Acquire/blob/master/tree-game.rkt>
>
> On Tue, Dec 1, 2015 at 10:39 PM, Byron Davies <mailto:
Does anyone have an application using pasteboard%? I want to try one, and I’d
love to see an example.
Byron
Byron Davies, Ph.D.
StarShine Academy International Schools
Revolutionizing children’s learning. Seeking the Global Learning XPRIZE
http://starshineplanet.com
--
You received this
that require
more than a pass through the source code to change the variables screen-w and
screen-h to parameter calls (screen-w) and (screen-h)?
> On Oct 19, 2015, at 1:23 PM, Byron Davies wrote:
>
> Since it hasn’t already been done, I thought it might be more complicated
&g
ig black bars to preserve the
>> aspect ratio).
>>
>> What happens if you just try it out on a big screen?
>>
>> Or are you saying that you want a different ratio?
>>
>> Robby
>>
>>
>> On Mon, Oct 19, 2015 at 1:32 PM, Byron Davies
>
ratio than anything. When you run the slideshow, it
> will scale everything to fit (and use big black bars to preserve the
> aspect ratio).
>
> What happens if you just try it out on a big screen?
>
> Or are you saying that you want a different ratio?
>
> Robby
>
slideshow advertises that it’s configured for a display size of 1024x768. If I
want 1080p (1920x1080), is it as simple as changing 1024/768 in a couple of
files to 1920/1080 and recompiling?
What’s the proper way to do this? Is there a reason screen-w and screen-h are
not parameters?
--
You
Is there an example anywhere of a slideshow presentation that takes non-trivial
input from the viewer? In a tutorial, I’d like to have the viewer answer
questions (e.g,, via menu or checkboxes) as a primitive check on understanding.
--
You received this message because you are subscribed to th
In my state object for 2htdp, I have entries that are normally natural numbers.
When the value of a particular entry is not meaningful during a certain
activity, I could just leave the value as whatever it was before, but I would
prefer to set it to an invalid value (such as -1 or #f) to indica
Is there a reason why above and beside (from 2htdp) don’t “do the right thing”
when supplied with a single argument?
I have multiple workarounds in my code that look like:
(if (empty? (cdr lst))
(car lst)
(apply above lst))
Should I just shadow above and beside with my own versions, or
How can one debug a failure to build a distributable application (from the
Racket menu)? I can build the lesser levels (source launcher and compiled
launder), but building a distributable application just bombs out, with no
trace of information. DrRacket itself is still alive, but the process d
Is there any safe way for big-bang to take over the whole screen of the
computer (Mac for now, but more generally in future)? As part of our Global
Learning XPRIZE work, I’m now actually deploying big-bang mini-apps in the
kindergarten to help kids learn about the sounds that make up words. Th
I don't understand the free-vars function
http://docs.racket-lang.org/syntax/syntax-helpers.html#%28def._%28%28lib._syntax%2Ffree-vars..rkt%29._free-vars%29%29
For example, I would expect (free-vars #'foo) to be (list #'foo), and
(free-vars #'(#%plain-lambda (foo) bar)) to be (list #'bar), but bot
lambdanative (http://lambdanative.org) seems to have solved the
cross-platform GUI problem for Gambit, via OpenGL. Perhaps something can
be learned from this for Racket. See the ln_glcore folder inside of
modules at https://github.com/part-cw/lambdanative. (Thanks to vraid on
irc #racket for the
d effort. We would love to be
your users.
Byron Davies
StarShine Academy
Phoenix, AZ
Racket Users list:
http://lists.racket-lang.org/users
tware
analysis system for a startup I'm involved with ...
I think that Racket could be a very competitive underlying platform for an
entry in the Learning XPRIZE competition. Please let me know if you would
be interested in exploring this possibility.
Byron Davies, Ph.D mailto:byrondav...@st
Is there an easy way to make slideshow fully use an HD-style 16x9 monitor?
Racket Users list:
http://lists.racket-lang.org/users
Racket, perhaps you could create a full-up Logo in Racket. Not
functional, but still cool.
Byron
=
Byron Davies, Ph.D. — 480-276-4285
Chief Learner and Director of K-12 Innovation
bdav...@starshineacademy.org
http://StarShineAcademy.org
> On Nov 16, 2014, at 10:00 AM, users-r
I’m putting large s-expressions as properties on syntax objects. When I
display them in the right pane of the syntax browser, they go way off the side
of the pane. I’d like to be able to pretty-print the values of properties.
I can’t figure out how to insert pretty-print into the property disp
I (require errortrace) in the REPL, but it seems to only apply to the specific
module associated with the REPL window. Is there a way to apply errortrace
across multiple modules?
As an expedient I consolidated two files into one for debugging, but perhaps
there’s a better way.
In general, how
oes not
> have these issues. If that doesn't fix it, let me know.
>
> And thanks for the report!
>
>
> Carl Eastlund
>
> On Fri, Oct 3, 2014 at 3:13 PM, Byron Davies wrote:
> I’m trying to use the mischief #lang. I did raco pkg install mischief, and I
&
I’m trying to use the mischief #lang. I did raco pkg install mischief, and I
see I have mischief installed among my Mac Library files.
I created a file with just:
#lang mischief
(define one 1)
When I click the Run arrow, I get error messages:
.undefined: undefined;
cannot use before initiali
Forty-year Lisper, three-month Racketeer. I’ve been using Racket to prototype
a weakest precondition static analysis tool for my work at
http://ontopilot.com. (You may recall the “Guardians of the Software Universe”
t-shirt at RacketCon.) I’m thinking about ways to use it at a K-12 charter
sch
35 matches
Mail list logo