TP
Torsten Paul
Sat, Sep 17, 2016 7:46 PM
On 09/15/2016 09:32 PM, Ronaldo wrote:
I also agree with Torsten about a code repository. We would need
a voluntary to do or, at least, start the hard job.
I guess it's probably 2 separate things...
However, I think that a chapter in the OpenSCAD Manual could comply
with the demand for Tips and Tricks without much effort. It could
have a basic, medium and advanced sections. The basic section should
be recommended for all beginners in other parts of the Manual. I
would contribute on that if such chapter is created and I believe
many of the advanced users would do the same.
... "Tips and Tricks" page as part of the manual, having snippets that
are maybe a couple of lines long.
Page created now, feel free to add more snippets :-)
=> https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Tips_and_Tricks
Libraries and bigger code collections are likely a different thing,
we could start just pointing to various places with some added info
of how to use it, like Thingiverse, github, blog posts for now. If it
actually gets going, it might be possible to have some additional
technical support using some database backed web site.
But as said before, I think it makes sense getting some base
collection first before starting to create a huge effort for a site
that might never be used. But who knows, that might even be a topic
for a future GSoC project if we get the chance to participate again.
ciao,
Torsten.
On 09/15/2016 09:32 PM, Ronaldo wrote:
> I also agree with Torsten about a code repository. We would need
> a voluntary to do or, at least, start the hard job.
>
I guess it's probably 2 separate things...
> However, I think that a chapter in the OpenSCAD Manual could comply
> with the demand for Tips and Tricks without much effort. It could
> have a basic, medium and advanced sections. The basic section should
> be recommended for all beginners in other parts of the Manual. I
> would contribute on that if such chapter is created and I believe
> many of the advanced users would do the same.
>
... "Tips and Tricks" page as part of the manual, having snippets that
are maybe a couple of lines long.
Page created now, feel free to add more snippets :-)
=> https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Tips_and_Tricks
Libraries and bigger code collections are likely a different thing,
we could start just pointing to various places with some added info
of how to use it, like Thingiverse, github, blog posts for now. If it
actually gets going, it might be possible to have some additional
technical support using some database backed web site.
But as said before, I think it makes sense getting some base
collection first before starting to create a huge effort for a site
that might never be used. But who knows, that might even be a topic
for a future GSoC project if we get the chance to participate again.
ciao,
Torsten.
TP
Torsten Paul
Sat, Sep 17, 2016 8:39 PM
On 09/17/2016 09:46 PM, Torsten Paul wrote:
I guess it's probably 2 separate things...
Ah, there's another topic that probably separates the two...
I think all the small code snippets should be usable without
even thinking about attribution or other responsibilities that
come with various licenses. This is obviously not something
we want to have for bigger contributions or libraries.
It always bothered me that most books with code samples don't
even mention what the license is. So you look at the code and
can't even know if it's ok to use that code in your application.
That is stupid, let's not do that.
We already relicensed all the examples to CC0 to make things
easy. (Thanks again to everybody who made that possible).
I think any "official" standard library (in case that ever
happens... not talking about MCAD) should also come with a
very liberal license like MIT, BSD or CC0.
For other libraries, well, it's totally up to the people writing
those of cause :-).
ciao,
Torsten.
On 09/17/2016 09:46 PM, Torsten Paul wrote:
> I guess it's probably 2 separate things...
>
Ah, there's another topic that probably separates the two...
I think all the small code snippets should be usable without
even thinking about attribution or other responsibilities that
come with various licenses. This is obviously not something
we want to have for bigger contributions or libraries.
It always bothered me that most books with code samples don't
even mention what the license is. So you look at the code and
can't even know if it's ok to use that code in your application.
That is stupid, let's not do that.
We already relicensed all the examples to CC0 to make things
easy. (Thanks again to everybody who made that possible).
I think any "official" standard library (in case that ever
happens... not talking about MCAD) should also come with a
very liberal license like MIT, BSD or CC0.
For other libraries, well, it's totally up to the people writing
those of cause :-).
ciao,
Torsten.
M
MichaelAtOz
Sun, Sep 18, 2016 12:23 AM
On 09/17/2016 09:46 PM, Torsten Paul wrote:
I guess it's probably 2 separate things...
Ah, there's another topic that probably separates the two...
I think all the small code snippets should be usable without
even thinking about attribution or other responsibilities that
come with various licenses. This is obviously not something
we want to have for bigger contributions or libraries.
It always bothered me that most books with code samples don't
even mention what the license is. So you look at the code and
can't even know if it's ok to use that code in your application.
That is stupid, let's not do that.
We already relicensed all the examples to CC0 to make things
easy. (Thanks again to everybody who made that possible).
I think any "official" standard library (in case that ever
happens... not talking about MCAD) should also come with a
very liberal license like MIT, BSD or CC0.
For other libraries, well, it's totally up to the people writing
those of cause :-).
ciao,
Torsten.
OpenSCAD mailing list
I support the direction, but it seems at face value to be incompatible with
wikibooks licence https://en.wikibooks.org/wiki/Wikibooks:Copyrights .
Don't mean to be a PITA.
Admin - PM me if you need anything, or if I've done something stupid...
Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.
The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out!
View this message in context: http://forum.openscad.org/library-and-code-repository-tp18354p18402.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
tp3 wrote
> On 09/17/2016 09:46 PM, Torsten Paul wrote:
>> I guess it's probably 2 separate things...
>>
> Ah, there's another topic that probably separates the two...
>
> I think all the small code snippets should be usable without
> even thinking about attribution or other responsibilities that
> come with various licenses. This is obviously not something
> we want to have for bigger contributions or libraries.
>
> It always bothered me that most books with code samples don't
> even mention what the license is. So you look at the code and
> can't even know if it's ok to use that code in your application.
> That is stupid, let's not do that.
> We already relicensed all the examples to CC0 to make things
> easy. (Thanks again to everybody who made that possible).
>
> I think any "official" standard library (in case that ever
> happens... not talking about MCAD) should also come with a
> very liberal license like MIT, BSD or CC0.
>
> For other libraries, well, it's totally up to the people writing
> those of cause :-).
>
> ciao,
> Torsten.
>
>
> _______________________________________________
> OpenSCAD mailing list
> Discuss@.openscad
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
I support the direction, but it seems at face value to be incompatible with
wikibooks licence <https://en.wikibooks.org/wiki/Wikibooks:Copyrights> .
Don't mean to be a PITA.
-----
Admin - PM me if you need anything, or if I've done something stupid...
Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.
The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out!
--
View this message in context: http://forum.openscad.org/library-and-code-repository-tp18354p18402.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
TP
Torsten Paul
Sun, Sep 18, 2016 12:33 AM
On 09/18/2016 02:23 AM, MichaelAtOz wrote:
Public domain content: Content that is in the public domain
is welcome! It is important however that you confirm the
public domain status of the content under the law of the
United States of America as well as the laws of any other
countries as required by the specific Project edition. When
you contribute content that is in the public domain, you
warrant that the material is actually in the public domain,
and you agree to label it appropriately.
So I hope it's ok. CC0 is just the international version of
public domain as not everybody shares US law.
ciao,
Torsten.
On 09/18/2016 02:23 AM, MichaelAtOz wrote:
> I support the direction, but it seems at face value to be
> incompatible with wikibooks licence
> <https://en.wikibooks.org/wiki/Wikibooks:Copyrights> .
> Don't mean to be a PITA.
>
Yeah, I was looking around trying to find what's possible
and found:
https://wikimediafoundation.org/wiki/Terms_of_Use
> Public domain content: Content that is in the public domain
> is welcome! It is important however that you confirm the
> public domain status of the content under the law of the
> United States of America as well as the laws of any other
> countries as required by the specific Project edition. When
> you contribute content that is in the public domain, you
> warrant that the material is actually in the public domain,
> and you agree to label it appropriately.
So I hope it's ok. CC0 is just the international version of
public domain as not everybody shares US law.
ciao,
Torsten.
M
MichaelAtOz
Sun, Sep 18, 2016 1:05 AM
When you contribute content that is in the public domain,
you warrant that the material is actually in the public domain,
and you agree to* label it appropriately*.
Seems to be the technical issue.
Given ATM a <source>...</source> 'extension' [I think teats what it's
called, eg see https://www.mediawiki.org/wiki/Manual:Extensions , still
looking for 'source'] is used, it may be possible to customise or make a
derivative, which labels each with a footnote or such.
Any wiki guru's out there?
Admin - PM me if you need anything, or if I've done something stupid...
Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.
The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out!
View this message in context: http://forum.openscad.org/library-and-code-repository-tp18354p18404.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
> When you contribute content that is in the public domain,
> *you warrant that* the material is actually in the public domain,
> and you agree to* label it appropriately*.
Seems to be the technical issue.
Given ATM a <source>...</source> 'extension' [I think teats what it's
called, eg see <https://www.mediawiki.org/wiki/Manual:Extensions> , still
looking for 'source'] is used, it may be possible to customise or make a
derivative, which labels each with a footnote or such.
Any wiki guru's out there?
-----
Admin - PM me if you need anything, or if I've done something stupid...
Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.
The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out!
--
View this message in context: http://forum.openscad.org/library-and-code-repository-tp18354p18404.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
M
MichaelAtOz
Sun, Sep 18, 2016 2:01 AM
https://www.mediawiki.org/wiki/Help:Contents seems to do PD.
Admin - PM me if you need anything, or if I've done something stupid...
Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.
The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out!
View this message in context: http://forum.openscad.org/library-and-code-repository-tp18354p18406.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
https://www.mediawiki.org/wiki/Help:Contents seems to do PD.
-----
Admin - PM me if you need anything, or if I've done something stupid...
Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.
The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out!
--
View this message in context: http://forum.openscad.org/library-and-code-repository-tp18354p18406.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
R
Ronaldo
Mon, Sep 19, 2016 3:28 PM
Page created now, feel free to add more snippets :-)
Thank you, Torsten, for the page creation and for adding an image to the
line drawing topic I inserted in it. I tried to insert an image but was not
successful. Would you give me a link to a help on how to do it?
--
View this message in context: http://forum.openscad.org/library-and-code-repository-tp18354p18427.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
tp3 wrote
> Page created now, feel free to add more snippets :-)
Thank you, Torsten, for the page creation and for adding an image to the
line drawing topic I inserted in it. I tried to insert an image but was not
successful. Would you give me a link to a help on how to do it?
--
View this message in context: http://forum.openscad.org/library-and-code-repository-tp18354p18427.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
TP
Torsten Paul
Mon, Sep 19, 2016 3:49 PM
On 09/19/2016 05:28 PM, Ronaldo wrote:
Page created now, feel free to add more snippets :-)
Thank you, Torsten, for the page creation and for adding an
image to the line drawing topic I inserted in it. I tried to
insert an image but was not successful. Would you give me a
link to a help on how to do it?
What I'm doing is:
-
Upload the image to Wikimedia Commons via the "Upload file"
link in the left tools menu (for the tips&tricks page I've
used 1024x1024 exported images)
-
Set the image with CC0 (wasn't very complicated to create :-)
and tag with "OpenSCAD" + "Screenshots"
-
Insert the link (shown right after the upload) into the page
as Thumbnail (with added 200x for preview size) right above
the <source> code section, e.g.
[[File:Openscad-tips-knot.png|thumb|200px|OpenSCAD - Knot]]
ciao,
Torsten.
On 09/19/2016 05:28 PM, Ronaldo wrote:
> tp3 wrote
>> Page created now, feel free to add more snippets :-)
>
> Thank you, Torsten, for the page creation and for adding an
> image to the line drawing topic I inserted in it. I tried to
> insert an image but was not successful. Would you give me a
> link to a help on how to do it?
>
What I'm doing is:
1) Upload the image to Wikimedia Commons via the "Upload file"
link in the left tools menu (for the tips&tricks page I've
used 1024x1024 exported images)
2) Set the image with CC0 (wasn't very complicated to create :-)
and tag with "OpenSCAD" + "Screenshots"
3) Insert the link (shown right after the upload) into the page
as Thumbnail (with added 200x for preview size) right above
the <source> code section, e.g.
[[File:Openscad-tips-knot.png|thumb|200px|OpenSCAD - Knot]]
ciao,
Torsten.
TP
Torsten Paul
Mon, Sep 19, 2016 5:26 PM
Ahh, I love the add2() solution. Very nice...
function add2(v) = [for(p=v) 1]*v;
Ahh, I love the add2() solution. Very nice...
> function add2(v) = [for(p=v) 1]*v;
ciao,
Torsten.
R
Ronaldo
Tue, Sep 20, 2016 11:50 PM
Well, I am tempted to include one more version:
function add4(v) = add(v, i = 0, r = 0*v);
which has the same generality of add3 with a simpler code.
It will be Trick I have used more then once but possibly away of the
intention of that chapter.
In fact, I see this more as a principle (a vector space one) than a trick.
--
View this message in context: http://forum.openscad.org/library-and-code-repository-tp18354p18449.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Well, I am tempted to include one more version:
> function add4(v) = add(v, i = 0, r = 0*v);
which has the same generality of add3 with a simpler code.
It will be Trick I have used more then once but possibly away of the
intention of that chapter.
In fact, I see this more as a principle (a vector space one) than a trick.
--
View this message in context: http://forum.openscad.org/library-and-code-repository-tp18354p18449.html
Sent from the OpenSCAD mailing list archive at Nabble.com.