Yes, I think so. collects/mred/private/mrcanvas.rkt:205 defines
the on-paint method in canvas% as:
(lambda ()
(if (eq? paint-cb default-paint-cb)
(super-on-paint)
(paint-cb this (get-dc
where paint-cb is a field that takes paint-callback.
2 hours ago, Justin Zamora wrote:
so fast! I love it. happy new year. (maybe I'm drunk)
sent by phone. please forgive terseness and typos
On Dec 31, 2011 10:37 PM, "Eli Barzilay" wrote:
> Three hours ago, ozzloy-racket-users wrote:
> > thanks for the repair. that was fast!
> >
> > btw, i tried first to submit through drrack
Three hours ago, ozzloy-racket-users wrote:
> thanks for the repair. that was fast!
>
> btw, i tried first to submit through drracket's bug submitter, then
> through bugs.racket-lang.org and i got:
>
> Forbidden
>
> You don't have permission to access /bug-report.cgi on this server.
This is f
Is the dc% that is passed to the paint-callback for a canvas always
the same dc% returned by (send canvas get-dc)? In other words, are
the following equivalent?
[paint-callback (lambda (canvas dc) (send dc clear))]
[paint-callback (lambda (canvas dc) (send (send canvas get-dc) clear))]
Justin
__
Nice!
(as you can tell, I didn't see that when I wrote my first reply to you)
Robby
On Sat, Dec 31, 2011 at 9:22 PM, Galler wrote:
> Section five
>
> "Although the continuation-marks procedure has been a part of PLT Scheme for
> years, we have not yet found a use for it"
>
> I think we've f
Section five
"Although the continuation-marks procedure has been a part of PLT Scheme
for years, we have not yet found a use for it"
I think we've found a use for it.
Robby,
Section 5 of your paper notes the function (continuation-marks cont)
provides the continuation marks of an arbit
Robby,
Section 5 of your paper notes the function (continuation-marks cont)
provides the continuation marks of an arbitrary continuation at time of
reification.
Illustrative code snippet below
That certainly takes care of a lot of the problems associated with
implementing a solution to chai
FWIW, this is essentially re-implementing dynamic-wind (but it is not
too difficult if you are familiar with continuations). One thing to
watch out for: the lists of continuation marks will, in some cases,
share a tail. In that case you'll want to avoid exiting and
re-entering the same things. Also
Robby,
Thanks
Not at all opaque. I was experimenting with that earlier this afternoon,
as below.
Actuallly, the way you phrased it helps clarify something I was struggle
with.
A very useful and valuable suggestion. I think that may very well be
plan B.
R./
Zack
(define (nextproc)
;n
I'm not sure if the web-server supports continuation marks or not, but
if it does, you could use continuation marks to note what the exit and
entry operations are, and then when you would do a continuation jump,
first grab the continuation marks from one side, do the jump, grab the
continuation mar
Sorry, should have included a brief example.
Here's an example of what I've implemented, which is just Harel's
hierarchical state machines
You can create a Hierarchical State Machine by defining individual nodes
in a flat file, as below.
each node has 6 keyword parameters , state, parent, e
Shiri,
While AJAX and client-side continuations enable significant client-side
computational complexity, I think they complement vs. eliminate the need
for server-side complexity.
I'm in pursuit of both (1) server complexity and (2) server-side
statelessness
I could achieve (1) by giving
Dear Racketeers,
Wishing you a very happy and prosperous new year!
Let the new year bring us much more good documentation for web development in
Racket. And much less artificial academic articles, far away from practice.
Cheers!
Ra
thanks for the repair. that was fast!
btw, i tried first to submit through drracket's bug submitter,
then through bugs.racket-lang.org
and i got:
Forbidden
You don't have permission to access /bug-report.cgi on this server.
--
Apache/2.2.15 (Fedora) Server at bugs.r
I've pushed a repair. Thanks for the report!
At Sat, 31 Dec 2011 18:43:11 -0500, ozzloy-racket-users wrote:
> collects/scribblings/guide/symbols.scrbl:31
>
> (eval:alts @#,elem{@racketfont{#ci}}@racketvalfont{'A} #ci'A)
>
> scribble transforms this line into html output in the guide as:
> #ci’A
collects/scribblings/guide/symbols.scrbl:31
(eval:alts @#,elem{@racketfont{#ci}}@racketvalfont{'A} #ci'A)
scribble transforms this line into html output in the guide as:
#ci’A
instead of:
#ci'A
note the quote mark is different.
when paste into drracket repl i get:
reference to an identifier bef
Shriram Krishnamurthi wrote at 12/31/2011 05:33 PM:
That's a fine position in theory, but I doubt it works well in
practice even today. When Jay talks about 3-4 GB, he doesn't mean
over the course of a conference -- that could sometimes add up in just
a few hours. No amount of cheap RAM is goin
That's a fine position in theory, but I doubt it works well in
practice even today. When Jay talks about 3-4 GB, he doesn't mean
over the course of a conference -- that could sometimes add up in just
a few hours. No amount of cheap RAM is going to combat that.
But, as I said, in an Ajax world th
Regarding paging... The only three situations in which I consider paging
acceptable nowadays on workstations and servers, when a handful of
dollars buys you a few GB RAM:
1. For resilience in exceptional/emergency situations, when the
alternative would be an OOM kill or a crash.
2. When an a
On Fri, Dec 30, 2011 at 2:54 PM, Noel Welsh wrote:
> On Tue, Dec 27, 2011 at 9:26 PM, Galler wrote:
>> I note that no one has discussed throwing a significant amount of physical
>> memory at the problem.
>>
>> Empirically, is that because garbage-collection of a large heap creates its
>> own perf
Thanks, Eli. I completely misread the documentation and incorrectly
assumed that Windows converted LF to CRLF when writing to the port (turns
out this is not the case for 'binary mode).
I've incorporated the flush-output expression and made a note to get heavy
on format string syntax.
-Gil
On F
Do you want to be happy every day?..
http://camille.ngothe.perso.sfr.fr/new.year.php?vupgoogleId=31w2
Racket Users list:
http://lists.racket-lang.org/users
22 matches
Mail list logo