Re: [racket-users] Re: Scrolling in racket/gui

2017-03-01 Thread Philip McGrath
I fear you may be right: I see that the Dr. Racket's "Colors">"Color Schemes" preferences tab also does not scroll in response to the mouse/trackpad. -Philip On Wed, Mar 1, 2017 at 10:54 PM, Alex Harsanyi wrote: > On Thursday, March 2, 2017 at 10:56:30 AM UTC+8, Philip McGrath wrote: > > Almost

Re: [racket-users] Re: Scrolling in racket/gui

2017-03-01 Thread Alex Harsanyi
On Thursday, March 2, 2017 at 10:56:30 AM UTC+8, Philip McGrath wrote: > Almost — thanks! (I'm sure I read over that page of the docs, but I somehow > missed 'vscroll.) > > > The one thing that isn't working is scrolling with the mouse/trackpad. It > seems like I might need to override on-subwi

Re: [racket-users] Re: Scrolling in racket/gui

2017-03-01 Thread Philip McGrath
Almost — thanks! (I'm sure I read over that page of the docs, but I somehow missed 'vscroll.) The one thing that isn't working is scrolling with the mouse/trackpad. It seems like I might need to override on-subwindow-char to listen for 'wheel-up and 'wheel-down, which I can do, but I'm not finding

[racket-users] Re: Scrolling in racket/gui

2017-03-01 Thread Alex Harsanyi
On Thursday, March 2, 2017 at 4:16:47 AM UTC+8, Philip McGrath wrote: > This seems like it should be a simple question, but I can't figure out how to > get a scroll bar in a gui application like this one: > > > #lang racket/gui > (define frame >   (new frame% [label "Example"])) > (for ([letter

[racket-users] Scrolling in racket/gui

2017-03-01 Thread Philip McGrath
This seems like it should be a simple question, but I can't figure out how to get a scroll bar in a gui application like this one: #lang racket/gui > (define frame > (new frame% [label "Example"])) > (for ([letter '("A" "B" "C" "D")]) > (define grp > (new group-box-panel% > [paren

Re: [racket-users] Re: racket-mode causes .emacs file to not load

2017-03-01 Thread David Storrs
On Wed, Mar 1, 2017 at 12:00 AM, Greg Hendershott wrote: > Just saw this now. Alex, thanks for helping! > > For Emacs packages that I'm not actively hacking on, I'm a fan of > using Emacs' package manager to install them their dependencies. > Yeah, I tried that. The package system wasn't workin

Re: [racket-users] generate sentences

2017-03-01 Thread Nguyen Linh Chi
Thanks for pointing me to ELIZA. https://en.m.wikipedia.org/wiki/ELIZA It's interesting. ^^ i dont doubt that people would develop sentiments toward a chatbot that just simply speak random. Not to say that, if i'm the one that makes the program, i would have affection toward it also. It's a puzz

generate novels Re: [racket-users] generate sentences

2017-03-01 Thread Hendrik Boom
nanogenmo is the annual challenge of writing a computer program that generates a novel. It's kind of like nanowrimo only instead of writing a novel yourself, you write a computer program that does so. You might find it interesting to google nanogenmo and look through their annual websites. Th

Re: [racket-users] generate sentences

2017-03-01 Thread Nguyen Linh Chi
Sorry but can i just ask this question, because this is out of my thinking capacity (i have very little knowledge of computer stuff) The program of lab 7 is to generate pseudo-natural sentences. It's not interactive in the sense that i cannot talk to it. I can only tell it to say-something and it