Re: [racket-users] Package Catalog License

2017-07-16 Thread Neil Van Dyke

Those questions are legitimate, but I haven't been concerned about them.

There is a related question that I would tackle before those: 
liability/vulnerability wrt expectations of the users of the package 
catalog.


Scenarios that come first to mind involve someone having something bad 
happen (like a system didn't work properly, or there was a security 
intrusion), and they blame a package, and they blame the operators of 
the catalog server (for not vetting the packages, or not safeguarding 
against an attack on the server, etc.).  This doesn't have to make a lot 
of sense -- it can happen when party A is being blamed by party B, A 
panics and looks around desperately for anyone else to blame -- and it 
can be an expensive headache, up until a court rules in your favor.  
Another thing about expensive headaches is that people who feel them 
then behave in reactionary ways, which can increase the harm (e.g., 
political pressure to do stupid things, or stop doing good things).


On a large, very important Racket system on which I consulted, I 
mirrored all third-party Racket packages on which the system depended, 
in an SCM system, tracked versions, inspected the code of each, and 
disabled direct access to the package servers from the development and 
deployment environments.  But not everyone is going to do things like 
this.  And, the more reckless people are in how they set up their 
important systems, I suspect, the more they are likely to be reckless or 
incapable when something goes wrong.


Maybe a proactive CYA notice of some kind would help avert or reduce the 
headache from those hypothetical reckless people.  I don't know; maybe 
that's a question for a lawyer.


I think we generally don't like having to even think about CYA. It's a 
distraction, can be an encumbrance, and we don't want to become people 
who are too focused on CYA.


BTW, if someone who wants to do systems research on trustworthiness of 
third-party software packages like this, I suspect there's an MS or PhD 
in a good solution that doesn't involve huge central human effort or 
perfect sandboxing.  It's not necessarily a PL or OS problem, nor even a 
traditionally CS one, so you might have to go cross-disciplinary.


--
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 it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Package Catalog License

2017-07-16 Thread Leif Andersen
I noticed that there is not TOS or EULA when you sign up for the
package catalog. Is there actually some licensing agreement we have
between the maintainers of the package server and the community
members that put packages there?

If not, we really should have one. Otherwise we are opening ourselves
up to a large amount of legal trouble. Like what do _we_ have the
right to do with packages posted there. (For example, can we make
backup copies, can we make test builds, etc.) What do people
downloading them have the right to do? If the author doesn't put a
license on their package what rights are implicitly granted? What is
our policy in case a user posts copyrighted material. etc. [1]


If we _do_ have a license or TOS users agree to, we should have a link
to it on the front page, or on the sign up page (or both).

~Leif Andersen

[1]: I know the answers to most of these questions are obvious to us.
i.e. Users have the right to look at the packages, and download them
via the `raco` tool. They can also distribute therm under whatever
license the package is released under (if any). If someone posts
material they don't have the right to post we reserve the right to
remove it, etc. etc.

However, it is (sadly) important to have this in writing to protect
ourselves legally.

-- 
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 it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] ?

2017-07-16 Thread Ben Greenman
Maybe related:
https://groups.google.com/forum/#!topic/racket-users/6fKGky4tud8

On Sun, Jul 16, 2017 at 8:26 AM, Philip McGrath 
wrote:

> Could you share the code that is producing the error? The following, for
> example, defines a struct with two fields:
>
> (struct point (x y))
>
> -Philip
>
> On Sun, Jul 16, 2017 at 7:23 AM, Masto Fine 
> wrote:
>
>> i have a problem , i want to define a structure white many fields in the
>> definition screen and the computer say me : "excpected nothing after the
>> field name but found one extra part",cannot i program a function whit more
>> than one part?
>> bonjour , j'ai un probleme avec la creation de definitions , j'essaye de
>> probgramme une strucure a plusieur champs ( une serie de lignes ) et le
>> logiciel me repond toujours expected nothing after the field name but found
>> one extra part , quel est le probleme ?
>>
>> --
>> 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 it, send an
>> email to racket-users+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> 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 it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Adding terms to Scribble table of contents

2017-07-16 Thread Matthew Flatt
You can make a `toc-target-element` instance to add to the "on this
page" content to the left of a documentation page. I think you'll have
to use `scribble/core` for that, since `scribble/base` doesn't provide
a wrapper for it (as far as I can remember).

At Fri, 7 Jul 2017 10:45:38 -0500, Philip McGrath wrote:
> I am trying to use Scribble to document some things that are not Racket
> bindings. I can get the linking and typesetting behavior I want by building
> on top of elemtag and elemref, but I would also like the defining instances
> to be added to the table of contents in the same way as bindings defined
> using defproc and friends. Is there a mechanism to do this?
> 
> Thanks,
> Philip
> 
> -- 
> 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 it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] ?

2017-07-16 Thread Philip McGrath
Could you share the code that is producing the error? The following, for
example, defines a struct with two fields:

(struct point (x y))

-Philip

On Sun, Jul 16, 2017 at 7:23 AM, Masto Fine 
wrote:

> i have a problem , i want to define a structure white many fields in the
> definition screen and the computer say me : "excpected nothing after the
> field name but found one extra part",cannot i program a function whit more
> than one part?
> bonjour , j'ai un probleme avec la creation de definitions , j'essaye de
> probgramme une strucure a plusieur champs ( une serie de lignes ) et le
> logiciel me repond toujours expected nothing after the field name but found
> one extra part , quel est le probleme ?
>
> --
> 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 it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] ?

2017-07-16 Thread Masto Fine
i have a problem , i want to define a structure white many fields in the 
definition screen and the computer say me : "excpected nothing after the field 
name but found one extra part",cannot i program a function whit more than one 
part?
bonjour , j'ai un probleme avec la creation de definitions , j'essaye de 
probgramme une strucure a plusieur champs ( une serie de lignes ) et le 
logiciel me repond toujours expected nothing after the field name but found one 
extra part , quel est le probleme ?

-- 
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 it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.