Re: [racket-users] Syntax for hash contracts

2016-12-01 Thread David Storrs
On Thu, Dec 1, 2016 at 10:18 PM, Alexis King wrote: > > On Dec 1, 2016, at 21:43, David Storrs wrote: > > > > The difference between a dictionary and a structure being that > dictionaries are easily extensible on the fly and structures are not? I'm > curious -- what are the elements of that des

[racket-users] Re: Methods for least squares

2016-12-01 Thread 'John Clements' via Racket Users
> On Dec 1, 2016, at 12:07, Bradley Lucier wrote: > > On 12/01/2016 02:04 PM, John Clements wrote: >> >> Would it be all right with you if I shared your mail with the mailing list? >> A brief reading of this paper shows me the relationship between solving this >> problem and approximation of

Re: [racket-users] Syntax for hash contracts

2016-12-01 Thread Alexis King
> On Dec 1, 2016, at 21:43, David Storrs wrote: > > The difference between a dictionary and a structure being that dictionaries > are easily extensible on the fly and structures are not? I'm curious -- what > are the elements of that design and what are the reasons? It seems like a > natural

Re: [racket-users] Syntax for hash contracts

2016-12-01 Thread David Storrs
On Thu, Dec 1, 2016 at 8:59 PM, Alexis King wrote: > > On Dec 1, 2016, at 16:29, David Storrs wrote: > > > > - This function returns #t because it is a simple test function intended > to get the hang of hash contracts... > > - This function takes one argument... > > - Which is a hash... > > - Wh

Re: [racket-users] Syntax for hash contracts

2016-12-01 Thread Alexis King
> On Dec 1, 2016, at 16:29, David Storrs wrote: > > - This function returns #t because it is a simple test function intended to > get the hang of hash contracts... > - This function takes one argument... > - Which is a hash... > - Which has keys 'success, 'file-id, 'scratchdir-path, and 'chunk-h

Re: [racket-users] Scribble equivalent of rowspan

2016-12-01 Thread Matthew Flatt
We currently don't have good enough tests for renderers. The tests in scribble-test/tests/scribble/docs use only the text renderer, and they're mostly meant to check renderer-independent formatting details. That could be a starting point and a good way to test the text renderer, though. At Thu,

Re: [racket-users] Scribble equivalent of rowspan

2016-12-01 Thread David Storrs
On Thu, Dec 1, 2016 at 5:00 PM, Philip McGrath wrote: > Thanks for this. I think I see in general where the changes need to be, > and I've taken some first steps toward making them, though it will probably > be a week or so before I have time to totally dive in. > > One additional question: is th

Re: [racket-users] Scribble equivalent of rowspan

2016-12-01 Thread Philip McGrath
Thanks for this. I think I see in general where the changes need to be, and I've taken some first steps toward making them, though it will probably be a week or so before I have time to totally dive in. One additional question: is there a good/light-weight way to test changes to the renderers? Thi

[racket-users] Syntax for hash contracts

2016-12-01 Thread David Storrs
Hi folks, I'm having trouble understanding the docs on hash contracts ( https://docs.racket-lang.org/reference/data-structure-contracts.html#%28def._%28%28lib._racket%2Fcontract%2Fprivate%2Fhash..rkt%29._hash%2Fc%29%29 ) What I'm trying to express is: - This function returns #t because it is a s

Re: [racket-users] running dr racket on chromebook without ubuntu

2016-12-01 Thread Vincent St-Amour
Is your filesystem mounted with "noexec"? Vincent On Mon, 28 Nov 2016 09:14:01 -0600, yehoshua zaman wrote: > > I have asus chromebook c100p. i am in developer mode. I installed dr racket > while in developer mode by entering crosh, then typing shell then finding the > location of downloads a

RE: [racket-users] hyperlink in code:comment

2016-12-01 Thread Jos Koot
Thank you very much. I don't understand why I missed that part of the docs. Jos -Original Message- From: stchang...@gmail.com [mailto:stchang...@gmail.com] On Behalf Of Stephen Chang Sent: miƩrcoles, 30 de noviembre de 2016 19:56 To: Jos Koot Cc: Racket Users Subject: Re: [racket-users]

[racket-users] Re: Confused about bitmaps drawing to canvas

2016-12-01 Thread Hersh Krishna
On Thursday, December 1, 2016 at 6:40:01 AM UTC-6, Alex Harsanyi wrote: > Without seeing the code, this is just a blind guess, but try "(send canvas > refresh)" in the implementation for your "set-bitmap" method. > > Best Regards, > Alex. > > On Thursday, December 1, 2016 at 4:28:02 PM UTC+8, He

[racket-users] Re: Confused about bitmaps drawing to canvas

2016-12-01 Thread Alex Harsanyi
Without seeing the code, this is just a blind guess, but try "(send canvas refresh)" in the implementation for your "set-bitmap" method. Best Regards, Alex. On Thursday, December 1, 2016 at 4:28:02 PM UTC+8, Hersh Krishna wrote: > So I'm making a frame which draws a bitmap that can be replaced a

[racket-users] Confused about bitmaps drawing to canvas

2016-12-01 Thread Hersh Krishna
So I'm making a frame which draws a bitmap that can be replaced at runtime so if you call (send my-frame set-bitmap *bitmap*) it will switch from displaying whatever bitmap you had previously to the bitmap you passed it. (its doing a lot of other stuff and I want the interface to this canvas tha