To clarify one point:
Is a monochrome bitmap a greyscale bitmap or a black and white bitmap?
I see from the documentation that the form (make-object bitmap% bits
width height) produces a black and white bitmap but for the form I
asked about (shown again below) subject to the restriction Matthew
des
I've pushed a fix to this. Thanks to Matthew for looking into it and
sorting it out and sorry for the delay.
Robby
On Thu, Nov 1, 2012 at 3:32 PM, Ray Racine wrote:
> When editing racket code in DR the right-click menu is very fragile on Linux
> (Ubuntu 12.10). Upon right-clicking the menu pops
On Sat, Oct 27, 2012 at 11:19 AM, Matthias Felleisen
wrote:
>
> On Oct 26, 2012, at 10:38 PM, Patrick King wrote:
>
> I was way too optimistic, and way too ashamed to bother the community
> again.
>
>
>
> This should never be the case.
>
I disagree. The reason my problem wasn't solved the first t
hi all,
i read several examples showing how to deploy a servlet in a racket web
server, but none mentions how to run multiple ones at a time. so, racket's
web application model appeals single-servlet services?
``
(serve/servlet start #:listen-ip #f #:port 8080)
''
-
kejia
☵☯☲
__
Update: I've looked at the ODBC docs again, and apparently I'm there's a
whole convoluted process for retrieving numeric values that I'm not
doing. Some of the drivers I tested with don't follow the convoluted
process either, which is why I missed it. I'll try to commit a fix soon.
Ryan
On 1
It works for Scriblogify as well as Scribble. Thanks, Matthew.
On Sat, Oct 27, 2012 at 11:15 PM, Matthew Flatt wrote:
> You're running into sandbox filesystem-protection rules.
>
> When you include a path in #:requires for `make-evaluator', then read
> access is granted for that file in the sand
Hello Neil, Matthias
Thanks for the feedback and encouragement, adding the UPnP library to
PLaneT was on my TODO list for sure, I figured I should write a bit of
documentation first. I'll be checking out McFly Tools as well.
I've assumed until now that PLaneT to be appropriate mainly for
librarie
Here's a different comparison of let-vs-internal-define, using your code.
Your internal define example (hopefully whitespace doesn't get mangled
by however you're reading this message):
(define (partial-tree elts n)
(cond [(= n 0)
(values EMPTY-TREE elts)]
[else
(de
On Fri, Nov 2, 2012 at 4:33 PM, Sam Tobin-Hochstadt wrote:
> Just a cautionary tale,+++
>
>
Good point. Thanks for sharing.
Racket Users list:
http://lists.racket-lang.org/users
On Fri, Nov 2, 2012 at 5:29 PM, Grant Rettke wrote:
> Internal define is awesome.
I agree in general, but I did recently fix a bug in Typed Racket that
was made possible entirely by use of internal `define`:
https://github.com/plt/racket/commit/0e71f2d5dc#L1R16
The original code had a `let`, whi
Internal define is awesome.
On Fri, Nov 2, 2012 at 4:17 PM, Matthias Felleisen wrote:
>
> I guess we should take this also as a confirmation of the style guide :-)
>
>
> On Nov 2, 2012, at 5:05 PM, Danny Yoo wrote:
>
> > I was just looking at exercise 2.64 of SICP, one that creates a BST out
> o
I guess we should take this also as a confirmation of the style guide :-)
On Nov 2, 2012, at 5:05 PM, Danny Yoo wrote:
> I was just looking at exercise 2.64 of SICP, one that creates a BST out of an
> ordered list of elements:
>
> http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-16.h
I was just looking at exercise 2.64 of SICP, one that creates a BST out of
an ordered list of elements:
http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-16.html#%_thm_2.64
However, because of all the nested lets, I have to admit that I was having
a hard time reading it!
So I rewrote it w
Three hours ago, Ray Racine wrote:
> Basically when you right-click the menu flashes up and then
> disappears. If you are experiencing it, you would know it. The
> reason I mentioned that the right click menu in Chrome was fine was
> to commuicate that it does not appear to be either a Unity/Gnom
Got it. Thanks for taking the time to clarify it for me.
Ray
On Fri, Nov 2, 2012 at 3:05 PM, Sam Tobin-Hochstadt wrote:
> On Fri, Nov 2, 2012 at 2:40 PM, Ray Racine wrote:
> > The immediate below works for me. It nags in the sense that S1 has a
> > irrelevant type parameter.
> > Below I atte
On Fri, Nov 2, 2012 at 2:40 PM, Ray Racine wrote:
> The immediate below works for me. It nags in the sense that S1 has a
> irrelevant type parameter.
> Below I attempt to shift the type parameter inside, which the TR parse
> happily allows. However, later things fall apart.
>
> One interpretatio
You're using just `write', so you need some whitespace between items:
>
> > (with-input-from-string
> (with-output-to-string (λ() (write 'x) (write 'y)))
> read)
> 'xy
>
Wow, thanks a lot, I would have never thought about that. I thought that
'write' was sending data, not mere character
The immediate below works for me. It nags in the sense that S1 has
a irrelevant type parameter.
Below I attempt to shift the type parameter inside, which the TR parse
happily allows. However, later things fall apart.
One interpretation of what I'm tying to do is: S0 encodes a Collection of
T, S1
A few minutes ago, Laurent wrote:
> Hi,
>
> In a small Racket client/server over tcp, the client sends
> expressions that the server evaluates and returns the result to the
> client, in a loop. The tcp ports are flushed after each send, but
> it is still hanging, unless I wrap the sent values in
Hi,
In a small Racket client/server over tcp, the client sends expressions that
the server evaluates and returns the result to the client, in a loop.
The tcp ports are flushed after each send, but it is still hanging, unless
I wrap the sent values in lists, which is a bit surprising.
So it looks l
On 11/1/12 10:11 PM, Matthias Felleisen wrote:
I can't think of another way. But I am also wondering why you'd want to
run a program written in language L in language K. -- Matthias
This is something I want to do on occasion, where K is an abstraction of
L (either a symbolic evaluator or an a
Basically when you right-click the menu flashes up and then disappears. If
you are experiencing it, you would know it. The reason I mentioned that
the right click menu in Chrome was fine was to commuicate that it does not
appear to be either a Unity/Gnome issue in general or a mouse hardware
issu
Shouldn't you click and stay clicked for the menu to remain visible? That's
how it works on my Ubuntu in DrRacket, and I thought it was normal behavior.
Laurent
On Thu, Nov 1, 2012 at 9:44 PM, Vincent St-Amour wrote:
> I'm having similar issues on Debian squeeze and wheezy and Ubuntu
> 12.04.
>
Thank you Eli, that clarifies most of it!
> I think
> that the rule of thumb to avoid such problems (besides the obvious one
> of not using symlinks etc) is to always use string requires for
> linking modules within a single collection/package/whatever, and
> always use symbolic requires to refer
> > But, now I have to had an attribute wich do not have to tested and I can't
> > figure the best way out.
> >
> > Would I investigate with inspector or the equal<%> interface.
> > Both ways, I don't know how to do this. The doc is pretty brief about that.
> Are you saying that there are fiel
Sounds great. Keep working, ask for help, push to Planet -- Matthias
On Nov 1, 2012, at 11:36 PM, Edward Blake wrote:
>
> Hello Racketeers,
>
> I'm just introducing myself to the list. I've written a few projects in
> Racket over the last few years and just lately decided to post them on
30 minutes ago, Laurent wrote:
> [...]
>
> Now if on a login shell you type:
> $ xinit -- :1
> you should get:
> p in a.rkt: a
> p in b.rkt: base
> which does not look fine.
I don't know what exactly would be different when you run things from
xinit, but these problems can happen when a file can
Hi,
I've just been badly bitten by some strange 'require' behavior that took me
several hours to track down. I don't know if it's a feature or a bug, but
just in case let me share it. And if anyone has an explanation, that'd be
informative.
Long story short:
If you 'raco link my-dir' and sometim
28 matches
Mail list logo