News for hackers. Stuff that matters.
Re:Show HN: Video Hub App – like YouTube for videos on your ... by yboris on Sunday July 22, 2018 @02:15PM (#17588008)
I created this software using Angular, Electron, FFmpeg, and angular2-virtual-scroll.

All proceeds go to Against Malaria Foundation (GiveWell's top-rated charity).

Currently not open source, but am trying to figure out how to set a license that encourages people to tinker with the code, but not to clone a copy and sell it.

Re:Show HN: Video Hub App – like YouTube for videos on your ... by kowdermeister on Sunday July 22, 2018 @03:45PM (#17588535)
> encourages people to tinker with the code, but not to clone a copy and sell it.

What I usually see happening is that they release two versions. One under GPLv3, MIT or whatever very permissive licence and a Pro version with many advanced features with a proprietary licence.

If you want to prevent forking and copying then I either suggest to keep it closed source or make sure that you maintain the best version of the app so users will have no motivation to switch to a fork and be loyal to the original creator.

Re:Show HN: Video Hub App – like YouTube for videos on your ... by JoshTriplett on Sunday July 22, 2018 @11:34PM (#17590405)
> Currently not open source, but am trying to figure out how to set a license that encourages people to tinker with the code, but not to clone a copy and sell it.

By definition, any such license wouldn't be open source. However, as others have mentioned, putting it under a copyleft license would make it unlikely that others would do so, since they wouldn't be able to distribute their version without providing source under the same license themselves.

Re:Show HN: Video Hub App – like YouTube for videos on your ... by pinum on Monday July 23, 2018 @12:27AM (#17590582)
Not everyone treats "open source" as a political term. The OSI doesn't have any special right to define it. Many just use it as a catchier alternative to "source available".
Re:Show HN: Video Hub App – like YouTube for videos on your ... by JoshTriplett on Monday July 23, 2018 @01:35AM (#17590777)
(off topic)

People can certainly use a term in a way contrary to the expectations and definitions used by the vast majority of other people, and then they shouldn't act surprised if they're either misunderstood, called incorrect, or perhaps most importantly, called out as being intentionally obtuse and confusing and asked to stop that. Language is descriptive rather than prescriptive, but descriptive language can still call some usages incorrect when they're exceedingly likely to be interpreted differently than the standard meaning and lead to unclear communication.

Several decades ago, before open source was nearly as widespread and before there were any popular definitions, it was understandable when people use the term rather fuzzily; everyone had their own understanding of it. That's not the case anymore.

In any case, the original point would still stand if stated as "that set of goals is incompatible with what the vast majority of people who use the term 'open source' would consider 'open source'", but that would be excessively verbose, would only serve to confuse the point with a needless distraction that wasn't part of the original topic, and would in particular distract from the more important point of "here's a possible way to do what you're trying to do without that problem".

Re:Show HN: Video Hub App – like YouTube for videos on your ... by patates on Monday July 23, 2018 @03:35AM (#17591112)
This has nothing to do with OSI. This is what people understand when you say open source. Why wouldn't one say "shared source" instead of confusing others? We need to have some common understanding to these terms because otherwise everything needs to be written like the "Thing Explainer"[1].

[1]: https://xkcd.com/thing-explainer/

Re:Show HN: Video Hub App – like YouTube for videos on your ... by otterpro on Monday July 23, 2018 @09:44AM (#17592665)
I'd go with GPL as many comments mentioned here. If you are slightly paranoid about someone stealing the code and making a commercialized version (which happens a lot with VLC), then I suggest you separate some of the functionalities into modules, in which parts are GPL'ed, and others are made private. Perhaps the UI and basic functionalities (aka lite version) could be made OSS, but some more advanced features are not included in the source, such as filter or scrub view. It would make it virtually impossible to make a clone, but you also get the benefit of people contributing and learning from the code from the OSS version.
Re:Show HN: Video Hub App – like YouTube for videos on your ... by yboris on Monday July 23, 2018 @11:37AM (#17593452)
Thank you for the advice.

In my case it feels like it would take quite a bit of effort to pull out features from the software and make a stripped-down version available.

My primary reason for wanting to share the code is that perhaps it will be a useful place for others to learn some things (though I don't think my code is stellar / exemplary and I know it has some serious shortcomings).

I guess it isn't a big problem if someone releases a clone of my app for free as long as I somehow can require (request) they always link back to the original on their website and in the app itself. But I'm not eager to chase people around and pester them if they don't comply.

I'm thinking I might wait for a full year since release (until February 2019) and just put out the whole code on GitHub with a 'free to do anything' license and a personal request that people always include a link to the original in the compiled app and on/through whatever websites they share it on.

Re:Show HN: Video Hub App – like YouTube for videos on your ... by eganist on Sunday July 22, 2018 @11:02PM (#17590293)
You're getting a lot of legal advice from non-lawyers.

Reach out to the EFF and see if they can give you some pro Bono consulting on how to license it for your needs. Alternatively, @buu700 and I have worked with and can recommend https://twitter.com/falconred (Jim Rennie). I get no commission for the rec—we last worked with him two years ago.

Re:Show HN: Video Hub App – like YouTube for videos on your ... by peterburkimsher on Sunday July 22, 2018 @10:08PM (#17590075)
It looks nice! I like the browser view.

One feature I need (and would like to tinker with the code to add it) is support for subtitles in multiple languages at the same time. http://voicetube.com does this to help people learn English; I'm trying to learn Chinese.

Re:Show HN: Video Hub App – like YouTube for videos on your ... by yboris on Monday July 23, 2018 @12:18PM (#17593718)
VoiceTube looks cool! But my app doesn't play the videos -- the videos open in your OS's default video player.
Re:Show HN: Video Hub App – like YouTube for videos on your ... by uvu on Sunday July 22, 2018 @10:51PM (#17590254)
Ah, voicetube idea is nice :)
Re:Show HN: Video Hub App – like YouTube for videos on your ... by richardvt on Sunday July 22, 2018 @11:46PM (#17590442)
I'm the maker of VoiceTube. Hope you love it!
Re:Show HN: Video Hub App – like YouTube for videos on your ... by peterburkimsher on Sunday July 22, 2018 @11:49PM (#17590450)
Hi Richard! It's Peter from Pingtype; we chatted on Skype a while ago. Good to see you joining HN. I've posted a couple more videos on my YouTube since then. https://pingtype.github.io

Unfortunately life in Taiwan has been really hard for the last few months though, so I'm preparing to leave. Busy looking for new jobs in other countries now.

Re:Show HN: Video Hub App – like YouTube for videos on your ... by natch on Monday July 23, 2018 @12:05AM (#17590506)
Wow, pingtype is cool!

What kind of job are you looking for?

Re:Show HN: Video Hub App – like YouTube for videos on your ... by peterburkimsher on Monday July 23, 2018 @03:57AM (#17591206)
I studied electronic systems engineering, but most of my work experience has been in software.

I'm most passionate about control systems/automation, network admin, and circuit design. But I've done a wide variety of other projects (big data, web apps, device drivers, tech support and repairs for friends). I'm not good at art or marketing, so front-end design isn't for me. I'll consider pretty much anything else though.

Re:Show HN: Video Hub App – like YouTube for videos on your ... by bond on Monday July 23, 2018 @05:16AM (#17591508)
Good that someone created a tool like this.

Learned english when I was a kid by watching cartoons with subtitles... Good luck.

Re:Show HN: Video Hub App – like YouTube for videos on your ... by giancarlostoro on Sunday July 22, 2018 @06:44PM (#17589298)
I'd just GPL license it and charge for a MIT licensed version for commercial use. Be clear when you relicense it for commercial use though, like if MIT is only for a specific released version or set of versions up to a point or what. Of course technically you can sell GPL software, but they'd have to be willing to provide the code back, which means you benefit off of it to some degree.
Re:Show HN: Video Hub App – like YouTube for videos on your ... by ktta on Sunday July 22, 2018 @05:22PM (#17588997)
You can always reveal the source code, without giving it an open source license. Of course, this will mean some people might not contribute, but you take what you get.

Another way is giving it a 'non-commercial use only' stipulation, which might not be lawyer proof.

Any of this won't prevent people from trying to profit off of it though.

PS: Remember to have an CLA so you won't have any problems with selling it.

Re:Show HN: Video Hub App – like YouTube for videos on your ... by gpm on Sunday July 22, 2018 @03:36PM (#17588466)
> Currently not open source, but am trying to figure out how to set a license that encourages people to tinker with the code, but not to clone a copy and sell it.

Seems like either GPL or the creative commons by-nc-sa (https://creativecommons.org/licenses/by-nc-sa/3.0/) to me.

Probably the latter because the GPL allows commercializing as a website.

(Disclaimer: IANAL)

Re:Show HN: Video Hub App – like YouTube for videos on your ... by nathcd on Sunday July 22, 2018 @04:09PM (#17588675)
> creative commons by-nc-sa

Creative Commons discourages using its' licenses for code: https://creativecommons.org/faq/#can-i-apply-a-creative-comm...

> Probably the latter because the GPL allows commercializing as a website.

If you want your copyleft to apply to over-the-network users, you want AGPL: https://www.gnu.org/licenses/agpl-3.0.en.html

Re:Show HN: Video Hub App – like YouTube for videos on your ... by gpm on Sunday July 22, 2018 @04:51PM (#17588859)
Two problems with the AGPL.

The first is that it doesn't really stop commercialization, it's perfectly possible to make a commercial service using open source components.

The second is that I'm of the opinion that it may fail once tested in court, basically for the reasoning laid out here [0] (not sure if the author of that is a lawyer, I've seen lawyer's express that position before though).

[0] https://www.devever.net/~hl/agplunenforceable

Re:Show HN: Video Hub App – like YouTube for videos on your ... by chii on Sunday July 22, 2018 @08:43PM (#17589704)
> One does not require permission from the copyright holder merely to use software one already possesses

That's patently not true. One does not have "posession" by merely having access to the binary or source. One must first agree (implicitly, or explicitly) before they can acquire the software, such as agreeing to the licence when downloading.

Therefore, as soon as you have the right to use the software, the licence applies (as the licence is what grants you the "possession").

As for the law mentioned (17 USC 117,17 U.S. Code § 117 - Limitations on exclusive rights: Computer programs), that only applies in a very narrow set of circumstances, such as copying for any technical requirements for operation, or backup purposes. The AGPL additional provisions don't overlap with this provision of the copyright law. The author seems to have misinterpreted the law imho.

Re:Show HN: Video Hub App – like YouTube for videos on your ... by gpm on Sunday July 22, 2018 @10:33PM (#17590182)
> That's patently not true. One does not have "posession" by merely having access to the binary or source. One must first agree (implicitly, or explicitly) before they can acquire the software, such as agreeing to the licence when downloading.

Sorry, but you're the mistaken one here. You need a license to make copies of, derivative works, etc. If the copyright holder makes a copy and sends it to me I do not need any license to hold onto it or execute it. We can see this through, for example, Vault Corp. v. Quaid Software [0] (the portion about direct infringement, Wikipedia has a link to the actual ruling as well if you prefer that).

EULA's, unlike the GPL, use contract law to get around this. In order to purchase/download the software I enter into a contract with you giving up some of my rights. The FSFs position as I understand it is that the GPL and AGPL are not contracts though, just licenses, so they don't serve a similar function (assuming the courts agree with the FSF).

[0] https://en.wikipedia.org/wiki/Vault_Corp._v._Quaid_Software_....

(Disclaimer: IANAL)

Re:Show HN: Video Hub App – like YouTube for videos on your ... by chii on Monday July 23, 2018 @05:41AM (#17591592)
> If the copyright holder makes a copy and sends it to me I do not need any license to hold onto it or execute it.

Only for the purposes of execution can this copy be retained (as it's impossible to not make a copy while in memory).

However, I cannot keep the executable in memory, and use it for any other purpose (including letting someone else also execute it) unless authorised by the copyright holder.

In AGPL, the js/css etc are copyrighted. But the transmission isn't from the copyright holder to end user, but from an licensee to an end user. There's no relationship between the end user and the copyright holder. But the licensee is bound (by their very license) to allow the end user access any sources, despite them not having any relationship with the copyright holder. This licence doesn't contain any illegal clauses, and is voluntarily entered into by both parties, with consideration exchanged (it being the promise to make source available). Therefore, it's a legal contract.

Now, as for whether it's enforceable is hard to say, but I do believe it is sound...but IANAL of course.

Re:Show HN: Video Hub App – like YouTube for videos on your ... by gpm on Monday July 23, 2018 @08:49AM (#17592340)
Oh, hold on.

The AGPL probably works for client side js/css. But that's not really a surprise since the GPL probably works for client side js/css. What I am not sure it works for is strictly server side code.

The FSF has argued that the AGPL/GPL is not a contract. Other lawyers have argued it is a contract. I take no position on that argument, which is a good part of why I simply say "may" be found unenforceable.

Re:Show HN: Video Hub App – like YouTube for videos on your ... by Kiro on Monday July 23, 2018 @01:27AM (#17590755)
A bit OT but seeing that it seems hard to find a license that applies to this use case, would it be possible to just define your own custom license?
Re:Show HN: Video Hub App – like YouTube for videos on your ... by thinkingemote on Monday July 23, 2018 @03:56AM (#17591202)
If I remember correctly by default a repository on GitHub with no licence means you have the full copyright. People can clone it and if you have a CLA you could accept changes, but they cannot really do anything with it. So perhaps just showing the code and not putting any open source license could work in this case?
Re:Show HN: Video Hub App – like YouTube for videos on your ... by yboris on Monday July 23, 2018 @12:17PM (#17593709)
This is excellent! I'll look into that -- it would be awesome if the default setting (with no extra work on my part) will suit my needs!
Re:Show HN: Video Hub App – like YouTube for videos on your ... by Trump2020MAGA on Sunday July 22, 2018 @03:17PM (#17588349)
A GPL license might be good
Re:Show HN: Video Hub App – like YouTube for videos on your ... by phoe-krk on Sunday July 22, 2018 @03:29PM (#17588417)
GPL doesn't prevent commercial usage. It requires source code to be released under the same license whenever you release a binary, though, which is what the OP might want.