[racket-users] where to put this ordinary least squares code?

2016-11-30 Thread 'John Clements' via Racket Users
So: you want to perform ordinary least squares linear regression. I’ve needed this code a bunch of times, and the matrix library actually suggests that something like this might be useful, but I my implementation technique is “transliterate from wikipedia,” and I have a strong suspicion that a

Re: [racket-users] implementing make in racket

2016-11-30 Thread Dan Liebgold
On Wednesday, November 30, 2016 at 1:49:04 PM UTC-8, Jay McCarthy wrote: > I just pushed a fix for this, btw. > > Awesome, thanks! -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from

Re: [racket-users] implementing make in racket

2016-11-30 Thread Jay McCarthy
I just pushed a fix for this, btw. Jay On Wed, Nov 30, 2016 at 2:15 PM, Dan Liebgold wrote: > On Wednesday, November 30, 2016 at 10:38:05 AM UTC-8, Jay McCarthy wrote: > > The typed-racket code returns a value from the job, whereas this code > > assumes the job is

Re: [racket-users] implementing make in racket

2016-11-30 Thread Dan Liebgold
On Wednesday, November 30, 2016 at 10:38:05 AM UTC-8, Jay McCarthy wrote: > The typed-racket code returns a value from the job, whereas this code > assumes the job is fully self-contained. Perhaps job-queue should > protect itself from job exceptions. > Probably a good idea. I got confused

Re: [racket-users] hyperlink in code:comment

2016-11-30 Thread Stephen Chang
Each code formatting form, like `racketblock`, allows specifying an escape identifier for use within that form, though all forms default to `unsyntax` if unspecified, I believe. Some forms, like `codeblock` do not support escapes. The docs here [1] has more details, and specifically the docs for

Re: [racket-users] implementing make in racket

2016-11-30 Thread Jay McCarthy
The typed-racket code returns a value from the job, whereas this code assumes the job is fully self-contained. Perhaps job-queue should protect itself from job exceptions. On Wed, Nov 30, 2016 at 1:30 PM, Dan Liebgold wrote: > On Tuesday, November 29, 2016 at 6:30:08

Re: [racket-users] implementing make in racket

2016-11-30 Thread Dan Liebgold
On Tuesday, November 29, 2016 at 6:30:08 PM UTC-8, David K. Storrs wrote: > > Can you simply catch it and handle it inside the thunk? >   That's probably best. I was looking at the machinery to serialize exceptions in type racket* and thinking I needed that *:

Re: [racket-users] Plot multiple lines from data set

2016-11-30 Thread Vincent St-Amour
Hi Stephen, Renderers are values, so you could simply define each one separately, then build the list, then pass it to plot. No need for macros. (define line1 ) (define line2 ) (define all-lines (list line1 line2 )) (plot all-lines) Vincent On

[racket-users] Plot multiple lines from data set

2016-11-30 Thread Stephen De Gabrielle
Hi, I'm trying to work out how I can include multiple datasets in a single plot. (plot (list (function) ...)) works, Should I write a macro that creates an enormous plot statement? Is there another way to build the list of renderers? I've attached my example Kind regards, Stephen -- Kind

Re: [racket-users] Scribble equivalent of rowspan

2016-11-30 Thread Matthew Flatt
Hi Philip, There's nothing like rowspan currently. If you want to try adding something, I think you'll end up changing the "scribble-lib" package in several places: in "core.rkt" to adjust the contract for tables, in "base.rkt" to adjust the contract for `tabular`, and in "html-render.rkt",