[racket-users] Bug in table-panel% class, or in superclass?

2018-09-18 Thread David Storrs
The following is the example taken from the table-panel docs. ( https://docs.racket-lang.org/table-panel/index.html) It displays a frame with four sets of numeric keypads laid out in quadrants. If you expand the window, the expectation, based on the docs, is that spacing between buttons will

[racket-users] How can I make GUI elements abut?

2018-09-18 Thread David Storrs
Given the following code, how can I (a) make the buttons actually touch one another when the panel comes up and (b) stretch horizontally and vertically when the window does? I thought that having (spacing 0) on the panel and (vert-margin 0) + (horiz-margin 0) on the buttons would do it, but nope.

Re: [racket-users] Fun with Physics: Racket FFI Question (Bug?)

2018-09-18 Thread Stephen Foster
Thanks, this is super helpful. :) On Monday, September 17, 2018 at 9:58:06 AM UTC-7, Matthew Flatt wrote: > > At Mon, 17 Sep 2018 09:34:46 -0700 (PDT), Stephen Foster wrote: > > But when I have two bodies that share the same velocity_func, I get a > > segfault: > > The problem is that a

Re: [racket-users] Assumptions of raco distribute on target system

2018-09-18 Thread Matthew Flatt
At Tue, 18 Sep 2018 14:42:56 +0200, Paulo Matos wrote: > Just out of curiosity, why are natipkg > binaries built and distributed? Is there any use case you are > specifically targetting? The pkg-build service: http://pkg-build.racket-lang.org/about.html#foreign -- You received this message

Re: [racket-users] Assumptions of raco distribute on target system

2018-09-18 Thread 'Paulo Matos' via Racket Users
On 18/09/2018 14:23, Matthew Flatt wrote: > > The right solution is probably to use the "natipkg" build of Racket for > Linux, which minimizes the libraries that are required from the OS. For > example, the natipkg variant uses its own build of libcrypto. You can > find natipkg builds from a

Re: [racket-users] Assumptions of raco distribute on target system

2018-09-18 Thread Matthew Flatt
At Tue, 18 Sep 2018 13:09:22 +0200, "'Paulo Matos' via Racket Users" wrote: > That looks ok to me, so why didn't raco distribute copy the library into > the distribution? `raco distribute` only incorporates libraries that are from Racket's own "lib" directory. On Windows and Mac OS, that includes

[racket-users] Assumptions of raco distribute on target system

2018-09-18 Thread 'Paulo Matos' via Racket Users
I have been playing with a CI pipeline of my software that does: test -> build -> containerize The idea is that build creates an OS independent distribution using raco distribute and then containerize creates a docker image of the distribution using a well-known linux distro. In my case, I chose