[racket-users] Re: Splitting up a GUI source file?

2018-03-24 Thread Alex Harsanyi
The "traditional" way of doing this in other languages and GUI toolkits is to have a separate class for each of your panes (Books, Users and Rentals). The constructor would receive the parent widget and other initialization parameters (e.g. a database connection). Something like this: ;;

Re: [racket-users] Unexpected error when building standalone Racket executable

2018-03-24 Thread Alex Harsanyi
On Saturday, March 24, 2018 at 9:42:02 PM UTC+8, Matthew Flatt wrote: > > > Can you try a recent snapshot from http://pre.racket-lang.org/ and > check whether it works for you? > Hi Matthew , I installed version 6.90.0.23 and indeed the problem is fixed. I will use this version until the

RE: [racket-users] sharing an awesome plot - warms the cockles of my heart

2018-03-24 Thread Stephen Chang
For those who don't have drracket handy: http://pasterack.org/pastes/59296 On Mar 24, 2018 4:26 PM, "Jos Koot" wrote: > > Very nice, > Jos Koot > > > From: racket-users@googlegroups.com [mailto:racket-users@googlegroups.com] On > Behalf Of

Re: [racket-users] Splitting up a GUI source file?

2018-03-24 Thread HiPhish
Thank you for the paper. I had come across units several times, but I could never figure out *what* their intention was from the documentation. The paper has at least made their motivation clear, I still have to figure out how to actually use this feature now. On Friday, March 23, 2018 at

[racket-users] The Nitty Gritty of Pixels, Pens, and Lines example output

2018-03-24 Thread Stephen Smith
Hi Everyone, When running the following example from the Racket docs section titled 'The Nitty Gritty of Pixels, Pens, and Lines': (define p1 (make-pen "black" 1 "solid" "round" "round")) (rectangle 20 20 "outline" p1) instead of a rectangle with all four sides drawn with equal thickness as

RE: [racket-users] sharing an awesome plot - warms the cockles of my heart

2018-03-24 Thread Jos Koot
Very nice, Jos Koot _ From: racket-users@googlegroups.com [mailto:racket-users@googlegroups.com] On Behalf Of Sanjeev Sharma Sent: 23 March 2018 22:17 To: Racket Users Subject: [racket-users] sharing an awesome plot - warms the cockles of my heart I've done no math in 20 years - used

Re: [racket-users] Unexpected error when building standalone Racket executable

2018-03-24 Thread Matthew Flatt
Hi Alex, I'm able to replicate the problem using Racket v6.12, the latest "plot" package, and your https://github.com/alex-hhh/ActivityLog2 repo. But things seem to work correctly when pairing the latest "plot" with the current development version of Racket, v6.90.x. It's possible that the new