Thread Rating:
  • 9 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Feature] Improved Security Camera Computer/ Old AI camera movement for computer
#5
(01-23-2019, 02:31 AM)Spy_Guy Wrote: This looks pretty cool.

Question: You mention some code is copied from various sources. What licenses apply to those snippets?

Yeah one was a debounce function from somewhere, I think that was ok, but I've removed it because I don't actually need it, I needed to throttle functions. So I"m using another that's a jquery debounce/throttle file under the MIT license.

https://code.google.com/archive/p/jquery-debounce/

The other is a snippet from a that W3 schools site. Technically they say all the code on their website is copyrighted, but they can't try to enforce a copyright of such a small, obvious function that is used as ubiquitously as this is.

It's only several lines long, and probably literally one of the simplest ways to do it in pure js. The notion of a copyright on that is offensive to me. Anyway, in searching for the w3schools license info I found a rather better version of literally the same function on stackoverflow (of which I'm fairly sure all snippets are considered released under MIT), just it leverages jquery.

So I'll just change it to that. Fucking hell, I wonder if there's a search setting or browser app I can use to filter out all w3 Schools results. Those fuckers.

Edit: No, stackoverflow comments are creative commons

Edit 2: I changed my mind about that table filtering. I think I'll just leave it as is, it's such a simple piece of code. You can't copywright iterating through a list and displaying/hiding items. There's nothing unique about it at all. I only picked it because I hate/am bad at javascript and didn't want to have to think to solve a basic solved problem. Having considered this I'm not sure I'll keep the crediting comment. But it's up to you guys if you want to add that.
Reply


Messages In This Thread
RE: [Feature] Improved Security Camera Computer/ Old AI camera movement for computer - by kyle2143 - 01-23-2019, 03:05 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)