Author Topic: Could I answer a thread with a code not mine and do not know the auther?  (Read 5350 times)

0 Members and 1 Guest are viewing this topic.

HasanCAD

  • Swamp Rat
  • Posts: 1422
Could I do that?
By the way it is religion purpose.
It is not allowed in my religion to take any work for others and say it is mine.

Lee Mac

  • Seagull
  • Posts: 12926
  • London, England
I would tend to suggest using the following guidlines when considering posting any code that is not your own:
  • Always post a link to the original code instead of posting the code, if you know the source.
  • If a link to the original source is unknown, post the code including all code headers, unless such code headers forbid you to do so.
  • If the code does not include code headers, include a note indicating the original author if known.
  • If the code does not include code headers and you do not know the original author or source, include a note indicating that you are not the author.

HasanCAD

  • Swamp Rat
  • Posts: 1422
I would tend to suggest using the following guidlines when considering posting any code that is not your own:
  • Always post a link to the original code instead of posting the code, if you know the source.
  • If a link to the original source is unknown, post the code including all code headers, unless such code headers forbid you to do so.
  • If the code does not include code headers, include a note indicating the original author if known.
  • If the code does not include code headers and you do not know the original author or source, include a note indicating that you are not the author.

Is it allowed to post a link out of theswamp?

JohnK

  • Administrator
  • Seagull
  • Posts: 10661
Yes. Posting links elsewhere is fine. Normally posting a link to somewhere else other than the place you are at is considered bad netiquette, however, Mark has no problems with it. 
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

rkmcswain

  • Swamp Rat
  • Posts: 978
Quote from: John Kaul
Normally posting a link to somewhere else other than the place you are at is considered bad netiquette...

Why is that? I feel like links to original material are better than copying data to multiple other places.


CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Well said Lee.
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

JohnK

  • Administrator
  • Seagull
  • Posts: 10661
Quote from: John Kaul
Normally posting a link to somewhere else other than the place you are at is considered bad netiquette...

Why is that? I feel like links to original material are better than copying data to multiple other places.

Advertisements. If the site generates money from ads then the site wants to stay on their servers as much as they can (and generate as many screen clicks and refresh as possible--"my site generates 1,000,000 clicks a day; please consider giving me money to place your ad on my site..."). And, yes, links to original material (other servers) do lighten the load on the server but ad based services just take the hit (they don't care if your session slows down; they just want you to click/refresh more). ...this is how/why facebook is free (you are nothing but a set of data points to them--list your likes so we can generate ads based on those-).
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

rkmcswain

  • Swamp Rat
  • Posts: 978
Quote from: John Kaul
Advertisements.

Well, duh.... but there are no ads here. :-)

JohnK

  • Administrator
  • Seagull
  • Posts: 10661
Quote from: John Kaul
Advertisements.

Well, duh.... but there are no ads here. :-)

*lmao* Glad to see you decided to join the conversation.

Yes. ...
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

dgorsman

  • Water Moccasin
  • Posts: 2437
Quote from: John Kaul
Advertisements.

Well, duh.... but there are no ads here. :-)

Not only ads, but the conversation can drift from one site to another making it hard to follow.  Plus the linked site may be blocked for one poster and not another.
If you are going to fly by the seat of your pants, expect friction burns.

try {GreatPower;}
   catch (notResponsible)
      {NextTime(PlanAhead);}
   finally
      {MasterBasics;}

JohnK

  • Administrator
  • Seagull
  • Posts: 10661
Well said Lee.


Agreed, but we also have an official stance as well, written by MP I believe. Please see the following link.
https://www.theswamp.org/index.php?topic=9202.0
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

JohnK

  • Administrator
  • Seagull
  • Posts: 10661
Not only ads, but the conversation can drift from one site to another making it hard to follow.  Plus the linked site may be blocked for one poster and not another.

That would be tough to follow.

The blocked (paywall) point is very annoying when it happens! I guess we should also list the other instances like people in other parts of the world that cannot access the same places as you.
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Could I do that?
By the way it is religion purpose.
It is not allowed in my religion to take any work for others and say it is mine.

Nice display of personal and professional ethics!

Great example you are stting.
Be your Best


Michael Farrell
http://primeservicesglobal.com/

cmwade77

  • Swamp Rat
  • Posts: 1443
Well said Lee.


Agreed, but we also have an official stance as well, written by MP I believe. Please see the following link.
https://www.theswamp.org/index.php?topic=9202.0
I don't see anything in the official stance as to what to do if you don't know who the original author is though. For example, when I started here I inherited a bunch of legacy code and I don't know who the original author was or where the code came from. Now I have rewritten most, if not all of this code from the ground up over the years, but I do wonder if I had wanted to post it, how the proper way to handle it would have been?

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Well said Lee.


Agreed, but we also have an official stance as well, written by MP I believe. Please see the following link.
https://www.theswamp.org/index.php?topic=9202.0
I don't see anything in the official stance as to what to do if you don't know who the original author is though. For example, when I started here I inherited a bunch of legacy code and I don't know who the original author was or where the code came from. Now I have rewritten most, if not all of this code from the ground up over the years, but I do wonder if I had wanted to post it, how the proper way to handle it would have been?

Not that I know anything about coding...

However, one would think that simply stating something like this:


The code below was found to working at my place of employment.
The original author is unknown to me, if you are the author of this routine, or any subroutine included herein
please advise such that proper credit for your effort(s) may be included within the body of the code.


I know this could get a bit tricky as the author of your found code may have plagiarized someone else either whole or in part...
Or possible that it is an entirely new solution that due to functionality, and or nature of LISP appears to be plagiarized

Very interesting discussion
Be your Best


Michael Farrell
http://primeservicesglobal.com/

JohnK

  • Administrator
  • Seagull
  • Posts: 10661
I don't see anything in the official stance as to what to do if you don't know who the original author is though. For example, when I started here I inherited a bunch of legacy code and I don't know who the original author was or where the code came from. Now I have rewritten most, if not all of this code from the ground up over the years, but I do wonder if I had wanted to post it, how the proper way to handle it would have been?

I always try to say, at minimum who I believe the author was or may be even if I don't know where I got that code. Some people, like Tony Tanzillo, Vladimir Nesterovski, MP, ElpanovEvgeniy, Renni have so much code in so many different locations it's hard to pinpoint where you got the code. Often times that was a judgment call on my part based on the style of code I was looking at (some code you can just tell who authored it after you study enough of that person's code).  ...I think there was only one time where I couldn't list at least the author so I noted that in my post and included a header saying that I assumed "temporary ownership" of that code until the actual author was noted.

When I was learning AutoLisp I tried to consume as much code as I could often neglecting where I got the code. Only later did I wise up and start documenting "who, what, where, why and when".
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

danallen

  • Guest
Tip for finding code, look for variable names next to each other, search for them in quotes for example "c_e o_m", then in google > search tools > all results > select verbatim (google will likely change this again in a few years, verbatim used to just work by prefixing with plus sign)

rkmcswain

  • Swamp Rat
  • Posts: 978
Quote from: John Kaul

Agreed, but we also have an official stance as well, written by MP I believe. Please see the following link.
https://www.theswamp.org/index.php?topic=9202.0

Thanks for the link.

There should be a 7a: If you want to post code you didn't author, get your own website and copy to your heart's delight.


HasanCAD

  • Swamp Rat
  • Posts: 1422
This is an example what I am doing
https://www.theswamp.org/index.php?topic=50994.msg561268#msg561268

...
this lisp is not mine and I did not remember either from where I got or the coder.
...

cmwade77

  • Swamp Rat
  • Posts: 1443
Well said Lee.


Agreed, but we also have an official stance as well, written by MP I believe. Please see the following link.
https://www.theswamp.org/index.php?topic=9202.0
I don't see anything in the official stance as to what to do if you don't know who the original author is though. For example, when I started here I inherited a bunch of legacy code and I don't know who the original author was or where the code came from. Now I have rewritten most, if not all of this code from the ground up over the years, but I do wonder if I had wanted to post it, how the proper way to handle it would have been?

Not that I know anything about coding...

However, one would think that simply stating something like this:


The code below was found to working at my place of employment.
The original author is unknown to me, if you are the author of this routine, or any subroutine included herein
please advise such that proper credit for your effort(s) may be included within the body of the code.


I know this could get a bit tricky as the author of your found code may have plagiarized someone else either whole or in part...
Or possible that it is an entirely new solution that due to functionality, and or nature of LISP appears to be plagiarized

Very interesting discussion
If I am even the least bit unsure of if I have found code somewhere else in one of my routines, I usually say something similar to this.

JohnK

  • Administrator
  • Seagull
  • Posts: 10661
Well okay, since the elephant in the room is staring right at us now; how do you people keep your code library(ies) organized? Do you keep a standard header for all functions? Which copyright license do you like better?
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org