Re: [racket-users] Racket performance tips

2016-01-18 Thread Gustavo Massaccesi
I have a few minor stile comments: *** I'd replace (define backslash 92) with (define backslash (char->integer #\\)) to improve legibility. And do the same replacement for other magic numbers. After optimization, both versions are identical. [The only site where this would cause a

Re: [racket-users] Web server: can't get radio-group formlet to process

2016-01-18 Thread Jay McCarthy
Great Marc. If you want, you could submit a pull-request and we could add the wrap thing to the main library. Jay On Wed, Jan 13, 2016 at 5:00 PM, Marc Kaufmann wrote: > So, turns out I can answer my own question, if ugly hacks count. > > I copy-pasted (yep, DRY is

Re: [racket-users] Racket performance tips

2016-01-18 Thread Brian Adkins
On Monday, January 18, 2016 at 10:23:56 AM UTC-5, gustavo wrote: > I have a few minor stile comments: > > *** I'd replace >(define backslash 92) > with >(define backslash (char->integer #\\)) > to improve legibility. > And do the same replacement for other magic numbers. After >

[racket-users] on solving linear systems by way of determinants

2016-01-18 Thread Daniel Bastos
Dear Rackteers, I appreciate getting feedback on this small victory. I know so many come here asking for such things. So let me try to offer you something too. How about fun with history? Did you know that you could solve linear systems with mere determinant computation? I didn't! After

Re: [racket-users] Racket performance tips

2016-01-18 Thread Brian Adkins
On Monday, January 18, 2016 at 11:23:37 AM UTC-5, Brian Adkins wrote: > [...] > Thanks. Yes, I have a lot of cleanup to do - I basically hacked this together > as fast as I could to experiment. > > I had wondered about caching the soundex values in the past, so I just coded > up a version and

[racket-users] opinion on sxml test case?

2016-01-18 Thread 'John Clements' via Racket Users
I’m patching up old test cases for sxml that haven’t been run recently. Here’s one: (check-equal? (sxml->html '(p (@ (align "center") (atr "")) "bad chars:" (em "<>&\""))) "bad chars: ”) This test case suggests that attributes like “”

[racket-users] Re: High level design for an app using places?

2016-01-18 Thread Brian Adkins
On Tuesday, January 19, 2016 at 1:13:44 AM UTC-5, Brian Adkins wrote: > I've finalized the sequential version of my program to convert a large > fixed-length field file into two distinct output files (one per table) > suitable for bulk import into postgres. > >