Re: [racket] Some more questions about using/composing Formlets

2011-12-29 Thread J G Cho
Thank you for the help. Much appreciated. It would've taken me many hours to sort 'em out all. jGc For those reading this thread, mind the , near (text-input #:attributes `((class ,(format "field text ~a" classes On Thu, Dec 29, 2011 at 7:57 PM, Jay McCarthy wrote: > On Thu, Dec 29, 2011

Re: [racket] Some more questions about using/composing Formlets

2011-12-29 Thread Jay McCarthy
On Thu, Dec 29, 2011 at 2:42 PM, J G Cho wrote: > After tinkering with Formlets a bit, I have some questions for the experts. > > 1. I am trying to use Formlet with Template to piggy back > on some given CSS/JSs (from Wufoo in this instance), > which means I have to provide lots of #attributes and

Re: [racket] formlets with radio button & checkbox example?

2011-12-29 Thread Jay McCarthy
The 'n' argument to the lambda is the number of form elements so far, and make-input* allocates another one, so this thing's name should be (format "input_~a" n) or something like that. Jay On Thu, Dec 29, 2011 at 12:59 AM, Shad Gregory wrote: > Sigrid, > > Here's something that worked for me: >

[racket] Some more questions about using/composing Formlets

2011-12-29 Thread J G Cho
After tinkering with Formlets a bit, I have some questions for the experts. 1. I am trying to use Formlet with Template to piggy back on some given CSS/JSs (from Wufoo in this instance), which means I have to provide lots of #attributes and ((class "left right large small")) So, I am forced to do

Re: [racket] formlets with radio button & checkbox example?

2011-12-29 Thread keyd...@gmx.de
Shad, thanks for your code! I'd prefer to have the "name" attribute auto-generated though, as in the other provided formlets, so I'll try taking the multiselect as an example first... But anyway, thanks for sharing! Sigrid Am 29.12.2011 um 08:59 schrieb Shad Gregory: > Sigrid, > > Here's s

Re: [racket] formlets with radio button & checkbox example?

2011-12-29 Thread keyd...@gmx.de
Jay, > > Such radio groups have not yet been implemented, it should be > straight-forward to do so though. You could look at the code in > > https://github.com/plt/racket/blob/master/collects/web-server/formlets/input.rkt > > around multiselect-input for a way to do it. thanks for the pointer

[racket] Handin server?

2011-12-29 Thread Jordan Johnson
Hi all, Where can one find the current version of the handin server (and any docs for it)? (Aside from mailing list messages about solving problems, the most relevant thing I've found via Google search is a directory on pre.plt-scheme.org, which I'm suspecting is out of date since it's on the

Re: [racket] racket w/octave

2011-12-29 Thread Noel Welsh
If your use is a minimal as matrices, linear/logistic regression, and gradient descent, my GSL bindings might do the trick, assuming they still work: https://github.com/noelwelsh/mzgsl In particular, if you're doing the ml-class, you should find everything apart from L-BFGS. HTH, N. On Wed, D

Re: [racket] MysterX poll

2011-12-29 Thread Greg Hendershott
P.S. tl;dr: No one would help her plant the seeds, harvest the wheat, make the flour, bake the bread. Everyone helped her eat the bread. On Thu, Dec 29, 2011 at 2:41 PM, Greg Hendershott wrote: > I have used the basic COM layer (2.1-2.2) to do some one-off > utilities. Such as moving data from M

Re: [racket] MysterX poll

2011-12-29 Thread Greg Hendershott
I have used the basic COM layer (2.1-2.2) to do some one-off utilities. Such as moving data from MS SQL Server using the ADODB COM interface, into an Excel application using its COM interface. Although I'm not actively using those utilities at the moment, it seems a shame to lose that interoperabi

Re: [racket] string-strip

2011-12-29 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28-12-11 19:27, Neil Van Dyke wrote: > Marijn wrote at 12/28/2011 12:00 PM: >> I don't think my use of this code is very performance, but I >> couldn't help myself, so I looked into making it faster > > This is the best spirit. :) > >> What I foun

Re: [racket] formlets with radio button & checkbox example?

2011-12-29 Thread Shad Gregory
Sigrid, Here's something that worked for me: (define (radio-group values name) (make-input* (lambda (n) `(div ,@(for/list ((value values)) (list 'div (list 'input (list (list 'name name)