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 

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

[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% >

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

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.

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