Re: [racket-users] Plot Problem: No Line; Bounds not found

2021-06-16 Thread Alex Harsányi
On Wednesday, June 16, 2021 at 3:19:06 AM UTC+8 Ben Greenman wrote: > On 6/15/21, Britt Anderson wrote: > > Thanks for the help to my specific problem. More generally, what should > > have clued me in to a contract or type error when the only message > received > > had to do with y plot

[racket-users] Re: canvas% mouse event handling difference in Racket CS?

2021-05-22 Thread Alex Harsányi
On Saturday, May 22, 2021 at 12:42:30 PM UTC+8 schle...@gmail.com wrote: > Maybe someone has a clever solution to collapse the calls to refresh less > manually. > I experienced a similar problem as you, where I have to refresh a canvas on a mouse event and the paint method is somewhat slow

[racket-users] make-http-connection and connection reuse

2021-05-02 Thread Alex Harsányi
The documentation for make-http-connection indicates that the same connection can be reused repeatedly, unfortunately, this does not seem to work. https://docs.racket-lang.org/net/url.html?q=make-http-connection#%28def._%28%28lib._net%2Furl..rkt%29._make-http-connection%29%29 Here is an

Re: [racket-users] Werid contract violation blame erros

2021-04-07 Thread Alex Harsányi
I think "define/contract" protects a function from other incorrect calls from the same module. So your "define/provide/contract" is not really "define/contract" + "provide". Here is an example illustrating the problem, where the call to "bar" correctly reports the contract violation, but the

Re: [racket-users] Upgrading installer verification

2021-04-02 Thread Alex Harsányi
Hi James, If you are worried about dependency confusion attacks, you can set up your own package catalog on an internal server, delete the default catalogs from racket and add only a reference just your internal catalog. This way, "raco pkg install" will install all packages (and all their

Re: [racket-users] Version metadata on Racket packages

2021-03-17 Thread Alex Harsányi
The "version exceptions" are for Racket versions, for example, the "raco pkg install cover" in a Racket 8.0 installation will query the url: https://pkgs.racket-lang.org/pkg/cover?version=8.0, while the same command in a Racket 6.7 installation will query