6 ms·
Releasing my tools under the MIT License was probably a mistake (2023)
- dflock 3y agoScammers gonna scam, whatever license you use - but, that said, this is the exact use case that the AGPL license is made for.
- deleted 3y ago[deleted]
- rad_gruchalski 3y agoI can relate. After some years I first switched to the Apache 2 license, later for some code AGPLv3. My stuff is mostly garbage and some software debt but who knows ;) Now I start leaning towards: if one doesn’t want others to use it, don’t release it.
- LadyCailin 3y ago> they don't credit me as the author or provide any sort of link back But this is simply not true. MIT requires keeping the copyright notice intact, which would be a credit. People that aren’t going to follow this requirement weren’t going to follow the GPL or whatever alternative you pick either, so either sue them or don’t worry about which one you picked exactly.
- jonathankoren 3y agoAgreed. His problem isn't the license. His problem is thinking a text file is going to stop a bad actor.
- jdiff 3y agoThe text file isn't to stop the bad actor, it's to let you send DMCA requests to their host/search engines.
- jonathankoren 3y agoBut he's not doing that. He's changing his text file.
- jdiff 3y agoHe is doing that. Or to be pedantic, he has, and would if he relicensed. > It's pretty easy to figure out someone's hosting service and put in a DMCA request. I've had to do it in the past for some stolen data that was posted online, and it's fast and effective. I'd of course try to contact them first as well, but when that failed I'd have quick recourse. The same question was posed in the comments on his article.
- billti 3y agoHe covers this in a couple places in the post. There is no requirement under MIT to redistribute the source for any changes you make or anything you build with it. If they redistribute the source then yes, but that’s not the concern in the post.
- deleted 3y ago[deleted]
- csande17 3y agoIncluding a comment in the JavaScript file is broadly considered good enough to satisfy this requirement of the MIT license, even though most people won't ever see it. GPLv3, on the other hand, is much more explicit about saying that the copyright notice must appear in the actual user interface of the application.
- tomcam 3y agotldr; OP felt that releasing libraries under MIT License benefited the community, but releasing apps was a mistake because other sites bested them in the SEO game. That probably caused a Bing blackout, and certainly meant losing in SEO to crapware-filled sites. I'm thinking the optimal course would be a GPL release + trademarking the software name so that there could be more control about attribution and what sites get to use the name?
- justinjlynn 3y agoYes. The (A)GPL is there for a good reason (in part, this one - ensuring one's work and other's work on it remains free and open source and commercial freeloaders can't get a free ride), and trademark law ensures you retain control of your software's brand. MIT and BSD... well, look where they come from - they're not designed with those purposes in mind. If you care about an aspect of a licensing solution, use a license designed and fit for purpose - just as you'd use a library designed and fit for purpose.
- p_l 3y agoAGPL does not stop that kind of use at all, though. As long as you stick to making the application have a quine functionality on all channels, it doesn't matter if the link is 0.01% of text on page compared to SEO spam.
- tomcam 3y agoBut owning the trademark gives you some control over how the mark is used.
- justinjlynn 3y agoThe statement "(A)GPL" probably should've been written "GPL/AGPL"... apologies for the miscommunication.
- AshamedCaptain 3y ago> Most irksome of all, in a fair number of cases they sit centrally on pages covered in ads and SEO keywords. My tools are being associated with a genuinely bad user experience. For the record, any license that does not allow users to do that would NOT be a free software license.
- deleted 3y ago[deleted]
- downWidOutaFite 3y agoI hate that people think they can control the definitions of "free" and "open" . I don't care about these biased propaganda definitions. If you want to promote your definition use a branded trademarkable name, don't try to steal our shared use of common words.
- yjftsjthsd-h 3y agoIt's useful when words mean things. That goes double when the words are used for marketing. Like, yeah in theory it's odd for the OSI to define "Open Source", but in practice it turns out the only people who seem to object to this are people who really want the social capital from calling their stuff open source while actually screwing over the users.
- spencerflem 3y agoI think there are plenty of arguments for non-OSI approved licences and I don't think "screwing over their users" is even remotely close to why people choose them.
- djao 3y agoIt's perfectly acceptable to use whatever license you want, but then don't call it "open source."
- 3y ago
- pcthrowaway 3y ago> Many of them have made minor or major modifications to the tools, and next to none provide the source to those modifications. > I am considering relicensing my tools under some sort of Attribution-ShareAlike license similar to the BY-SA the content on this site is licensed under. Wouldn't the LGPL be well-suited to this?
- eastbound 3y agoI think you mean the Affero license: https://en.m.wikipedia.org/wiki/Affero_General_Public_License https://en.m.wikipedia.org/wiki/Affero_General_Public_Licens...
- heavyset_go 3y agoYes, and in some cases the GPL and AGPL.
- freedomben 3y ago> I want you to use things I've written. On top of that I don't believe it's my place to force you to then open source things you have written that expand upon my source code. I'm a big proponent of the GPL and the AGPL, but no they don't sound like good solutions to the author's problems. It might solve the attribution issue but it's going to go counter to the author's other goals.
- pcthrowaway 3y agoThat's why I suggested LGPL, which allows the software to be used by closed-source or proprietary software, but any changes to the LGPL-ed library must be made available under the same license.
- LamaOfRuin 3y agoExcept that the author then goes on to say how much they would prefer the derivative works to be open source, so it seems like they do want it but have been convinced they shouldn't. AGPL and an offer that other licenses would be available on request seems perfectly suitable.
- OJFord 3y agoI'm not going to go looking for them, but the impression I get of the sort of copycatters described is that they really won't care what the licence is, if the source is available they'll be there anyway - the blog post will just be complaining that it's against the terms of the licence (and probably not pursuing legal action) instead. I don't think it really matters. These things will exist, anyone who matters will realise they're not legit. They won't make significant sales (without significant added value) it won't detract from your reputation; etc.
- csande17 3y agoIf they were actually violating the license, it'd be pretty easy and cheap to send DMCA takedowns to search engines, wouldn't it? (And possibly also whoever's hosting the copycat pages.)
- gtirloni 3y agoIt looks they are not violating anything though.
- jdbernard 3y agoThat's why he is regretting the use of the MIT license. He wonders, now, if having chosen a less permissive license would have given him grounds to shut them down, because they would be in violation.
- yjftsjthsd-h 3y agoHang on - permissive licenses still require attribution. If they're not doing that, then he can absolutely DCMA them. (I think; IANAL)
- spencerflem 3y agoNot on the rendered web site, only in source code
- deleted 3y ago[deleted]
- dang 3y agoDiscussed (a bit) at the time: Releasing my tools under the MIT License was probably a mistake - https://news.ycombinator.com/item?id=37111145 https://news.ycombinator.com/item?id=37111145 - Aug 2023 (7 comments)
- albertzeyer 3y agoSo, what does the author actually wants from the licence? Is it ok that other people take the code, modify it but don't open the modifications? If not, then GPL or AGPL. If you want that they can still build sth around it, but otherwise not modifying your library, then LGPL. Or is this ok, but the main issue is no attribution to the original source? BSD licence maybe? Or Apache? Or what else?
- pcthrowaway 3y ago> If you want that they can still build sth around it, but otherwise not modifying your library, then LGPL. They can modify the library under LGPL, they just have to redistribute the source for those modifications under LGPL also
- hiAndrewQuinn 3y agoI basically have two modes for releasing code: All rights reserved, or public domain / CC0. My reasons are pragmatic. The latter improves the former by letting future me shamelessly plagiarize past me with zero responsibilities to point it out to anyone.
- Scubabear68 3y agoThe specific problem the author mentions likely would not be solved by a more restrictive license. SEO squatters take whatever they want, and I doubt it would be worth it to sue them for breaking license terms.
- goku12 3y agoWhile I agree that this isn't a licensing issue, it presents a malware threat for regular users - especially of the more popular software. If you care about the safety of the users, it may be well worth knocking the squatters off search results using DMCA. (In this particular case, I believe that attribution is required by the license). In the long term, we need ways to make genuine sources more discoverable and verifiable.
- reactordev 3y agoFirst, you wanted people to use your tools and you gave them away for free under the MIT license. Now you’re complaining that people are using your tools. You can’t have your cake and eat it too.
- donatj 3y agoAuthor here, and I agree. In the post I'm just lamenting my past choices. I gave people leeway and they used it. That is my failing, not theirs.
- iamcreasy 3y agoGenuine question: Relicensing to a more restrictive one would not stop them from copying it, right? And even if they do - would you considering pursuing legal actions against them?
- donatj 3y agoIt’s actually relatively easy as an individual to submit a DMCA to their hosting service. That’s a pretty quick and effective route, and one I have done once before to get some non-public personal data that got leaked in a service hack removed from a blog.
- RobotToaster 3y ago>I am considering relicensing my tools under some sort of Attribution-ShareAlike license similar to the BY-SA the content on this site is licensed under. Please don't use CC licenses for code, it's not what they are designed for and the CC actively discourages it[0]. Consider using the AGPL[1] or similar instead. [0] https://creativecommons.org/faq/#can-i-apply-a-creative-commons-license-to-software https://creativecommons.org/faq/#can-i-apply-a-creative-comm... [1] https://www.gnu.org/licenses/why-affero-gpl.html https://www.gnu.org/licenses/why-affero-gpl.html
- p_l 3y agoAGPL wouldn't prevent any of the abuses he describes, though.
- rmbyrro 3y agoIt's not an abuse. This is by design. It's one thing many don't get about Open Source. The goal is to not discriminate against any kind of use. If you want to discriminate users by how they use it, then you don't want open source.
- spencerflem 3y agoIts not illegal, but it is abuse
- rmbyrro 3y agoIf you consider this an abuse, you're not in favor of the spirit of open source to avoid discrimination. You think uses should be discriminated between acceptable and abusive. It's OK to think that way, but it's not an open source way of thinking.
- spencerflem 3y agoThe original goal of Free Software, and the part I vibe with, is that you should have full freedom and control of the software you run. The people taking someone else's tool and rehosting it with better SEO and more ads steals revenue from the original author and makes them less likely to make more open source stuff. It's greedy and hurts the community. I get why people would want non-OSI licences that allow everything but that. As for whether its Abuse, idk, I don't want to lay out a precise definition and have a semantics argument. But its definitely not a cool thing to do
- znpy 3y agoNot sure they can change the license at all? The author doesn’t own copyright for the code changes they accepted over the years. But kudos to the author for acknowledging they picked up a dumb license. Sad not to see the GPL or AGPL considered though.
- spencerflem 3y agoYou can take MIT software and add additional restrictions to it, which is the main difference between MIT and GPL in the first place
- an1sotropy 3y agoThe author is sharing second thoughts about using the MIT license and yes, bad actors are going to break bad, but the point of licensing is to control re-use within the (enforceable) legal framework of copyright. Reciprocal licenses (thanks Lawrence Rosen[1] for that term less charged than copyleft or viral) cede less control, and provide more footholds for enforcement. Remember that GPL has (sometimes) worked as intended in adversarial commericial settings [2,3]. [1] https://www.oreilly.com/library/view/open-source-licensing/0131487876/ https://www.oreilly.com/library/view/open-source-licensing/0... [2] https://www.tp-link.com/us/support/gpl-code/ https://www.tp-link.com/us/support/gpl-code/ [3] https://www.zdnet.com/article/software-freedom-conservancy-wins-big-step-forward-for-open-source-rights/ https://www.zdnet.com/article/software-freedom-conservancy-w...
- xyzzy_plugh 3y agoTo be honest I prefer copyleft or viral over reciprocal. Reciprocal licensing is traditionally an arrangement where a given license is interchangeable with another license. For example, drivers licenses are often reciprocal between states. I've worked for firms which has reciprocal licensing agreements with some of their manufacturers. Copyleft is neither.
- o11c 3y agoThe big place that permissive licenses are promoted is in the giant tech companies. This is not a coincidence; it benefits them. That does not mean it benefits us. With smaller companies we see a lot of *GPL with additional commercial licensing options ... which (assuming the main product is not a library with a non-LGPL license) often is actually still easy to comply with (especially if you only use somebody's prebuilt binaries) if you actually bother, no matter how much the hate train complains. For individuals it varies a lot by ideology rather than deep thought, but permissive-license-regret is common.
- xyzzy_plugh 3y agoI think regret is common. I don't think it's particularly novel to permissive licensing. Besides, most projects never reach any sort of popularity to draw a contributor count greater than 1, and relicensing at that scale is tremendously easy -- you just do it. I'm also not sure what your on about with regards to big companies vs small companies. Do you mean companies which produce open source software? Or companies consuming it? Generally, most software companies open source exactly nothing. Many companies open source software which they have found useful but is not designed to be used for a profit center. In my experience, only companies trying to directly license software adopt GPL or AGPL. Almost all companies which produce software under GPL or AGPL dual license with a commercial paid option that comes with no strings attached. Personally I find this disingenuous. The reason giant tech companies promote permissive licenses is because they don't care about those things -- they're already giant and have secured whatever edge they need -- and because they can be a useful recruiting tool. Plus sometimes you need to ship SDKs and integrations and permissive is the only real way to go generally. Anyways I've licensed and contributed to permissive licenses software. I could not care less what happens to it. That's the point. I understood the consequences of my actions as I made them. Software that I want to make money with? I don't open source that at all, at least not until I've abandoned it.
- donatj 3y agoAuthor here. This was a frustrated rant after discovering these people serving my circle generator and frankly moreso my .htaccess rewrite generator on sites plastered with ads get more traffic than I do. It's honestly a little childish. I'd take the whole post with a grain of salt. I used to to have a little cottage industry that helped me pay the bills of people finding my rewrite generator, not knowing what they're doing, and reaching out for help with their htaccess files. It's been a couple years now since anyone has reached out. On realizing that, I started looking into it. Part of that decline is clearly Apache becoming less relevant, but the other part (I think anyway) is that I've fallen way down the SEO ranks, frustratingly behind people hosting my own tools. Like I said, it's a rant. Think of it as such. Everything is still MIT and by all likelihood going to stay that way.
- binkHN 3y agoThanks for chiming in. Before I delved into Linux, I spent a lot of time with the BSDs. Because of the more permissive license used by the BSDs, I learned that the work put into these projects is for the benefit of mankind. Whether that's an individual, small project, or a greedy corporation, everyone and all get to benefit and, yes, you've seen the negative side of that.
- frognumber 3y ago@author You should consider your (likely) emotional and (definitely) ideological reaction to AGPL / GPL-style licensing and be pragmatic about which license you use for what. I always work from first principals, and have written code which includes proprietary, public domain, and various forms of copyleft. They all have their place. The licensing discussions become... religious in nature. It should really a pragmatic question of what kinds of ecosystem and behaviors you want. The choice is and isn't about freedom. Most people are constrained by capitalist free markets (or other organizational mechanisms). If I'm competing and I keep your code open and a competitor makes theirs proprietary, they have an advantage. Ergo, in many domains, you see people forced to engage in obnoxious behavior as you're seeing to be competitive. Everyone can WANT to keep things open (or any other good behavior) but NOT be able to do it. Something like the GPL can force everyone to do what they wanted to do, if their freedom wasn't taken away by the invisible hand of the market. Ditto for many regulations. Things which seem constraining can be liberating once you put a market system around it.
- adrr 3y agoIf they are modifying the frontend so it’s their own code, no copy left license would work because no copyright would be triggered. Output of the tool wouldn’t be covered.
- calzone5116 3y ago> In some cases, they are even beating me in search results for my own tools. Correct me if im wrong but the license does not give them the right to name. Author should still be able to request them to change the name?
- mindcrime 3y agoIt's interesting: generally speaking OSS licenses concern copyright for the code, but not trademarks for the name of the project. Licensing Project Foobar under an OSS license should not really be seen as granting permission to use the name "Project Foobar". But I just realized that the MIT license is worded in such a way that one could draw that inference, and it might stand up in court. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. One could probably make a compelling argument that "you have the right to deal in this Software without restriction" and "you have the right to sell this software" as including the right to sell it under the same name. If one is going to use the MIT license (or anything else that doesn't call out the copyright/trademark distinction) it would probably be good to include a supplemental notice that reads something like "The MIT license here does not confer any rights to use the name 'Project Foobar'. You must distribute any copies or derivative works under a different name or we will sue you into oblivion for trademark infringement" (or something roughly along those lines).
- wmf 3y agoOr use Fooweasel in the source code and Foobar™ in the binaries.
- LeFantome 3y agoI do not think so. First of all, the license is clear that it is a “copyright license”. In my view, that calls out the distinction from trademark by exclusion. It would not be a reasonable interpretation to assume a trademark license unless trademark is explicitly mentioned and even less so when the license is explicitly described as a “copyright” license. The license defines “The Software” and, again, I see no reason to infer trademark as being part of that definition. The license also requires you to include attribution and to declare the copyright of the licensor. So, while you have access to the software, ownership has clearly not transferred. You have a copyright license ( that has to be declared ). Nothing more.
- wtracy 3y agoI thought the MIT license required attribution, but on rereading the requirement is pretty weak: You're only required to keep the original copyright notice.
- sowbug 3y agoAbout 15 years ago I sold a car I owned. Its fair market value was $5,000, but to get that I'd have to wash it, put an ad on Craigslist, deal with the scammers who want to pay with fake money orders, meet with potential buyers, let them test-drive it, etc., and I didn't have the time or patience to do all that. So instead I sold it to a coworker at a low price, maybe $4,000. I sent an email to the company's water-cooler list and included a photo of the car. Within probably 15 minutes someone replied saying the car would be perfect for his mom. By the end of the day, I had received a personal check, signed over the title, etc., and I thought that was the end of it. A few days later another coworker emailed me with a screenshot of a Craigslist ad for a car like mine. In fact, it actually was for my car! The first coworker listed it for something like $5,250, and by the time Coworker #2 pinged him, he'd already sold it for that price. Coworker #1 didn't even take a new picture -- he just reposted the one I'd taken! At first I felt exploited. Here I was, being nice to my coworkers and offering a discounted car. And I later confirmed that the guy who bought it actually did lie about intending it for his mom, which made the whole thing seem even more unsavory. But I calmed down after a few minutes. I remembered that my plan was to sell it to a coworker rather than deal with the scumbags on Craigslist, and I was willing to take a big discount for that. "Being nice to my coworkers" was just the story that I told myself to justify my priorities. I got exactly what I wanted out of the original deal: an easy way to get rid of a car I didn't need anymore. And unlike me, someone else was willing to put in the effort to flip the car and extract that last $1,000 or so of value. My instant emotional reaction was to feel vaguely cheated, or that the guy I sold it to was a sleaze. But he didn't actually hurt me. I got what I wanted, and so did he. In the case of this software tool, I'd ask the article author whether, in retrospect, he wishes that he'd kept the tool rights and gone down the SEO rabbit hole to monetize it for himself. Let's say further than he was successful, obtaining $X/month in ad revenue. Would he feel better in that case? I'd guess not; for most values of $X, he'd conclude it wasn't worth his time. But what happens once he concedes that he's not going to put in the effort? Does he still not open-source it solely to prevent anyone from monetizing it? That's the key question. Would he feel better knowing that he prevented someone else from benefiting? When we give gifts, we hope the recipient will use it in the way we would have. Use the tool to create awesome ovals. Drive your family around in the car. It's hard when the recipient instead uses it "the wrong way." SEO the tool. Flip the car. But that's always a risk when truly giving a gift with no strings attached.
- Freedomboy 3y ago[dead]
- svilen_dobrev 3y agoi've been in similar situation.. just keep going. ignore them. They will disappear sooner or later.. while you will keep showing up. That IS what matters. IMO
- mattdesl 3y agoMy advice: split your work into two camps, the types of projects you would be happy if everybody used and benefited from (even without crediting you), and the types of projects that you would not be happy seeing others republish without your name. Choose a permissive license like MIT for the former, and keep the latter closed source. In my case[1], although I have several hundred MIT repos, I have many others that I feel an emotional connection to and do not share publicly. [1] https://github.com/mattdesl https://github.com/mattdesl
- QuantumG 3y agoAs someone who prefers the MIT license, I honestly couldn't give a shit if you're using it to make billions by kicking children.
- seba_dos1 3y agoSimply don't shy away from copyleft licenses. MIT has its uses, but GPL is there for you too.
- shipscode 3y agoBetter than the GPL poison pill
- aaron695 3y agoClosed source would fix this. GPL would not (CC licenses is not appropriate to code) Please ~ MIT or Close Source projects. Don't GPL, GPL is for assholes and the antithesis of free code. They could try creating a strong brand and using copyright and trademarks. But the author says the post was just a needed rant - https://news.ycombinator.com/item?id=39414296 https://news.ycombinator.com/item?id=39414296
- apapapa 3y agoChange the license?
- zingelshuher 3y agoWell, with any license releasing code for useful tools will result in unlimited 'borrowings'. In most cases enforcement against small player is difficult. And impossible if it becomes popular in darknet/underground. My recommendation to the author: forget about it. You can add more watermarks in the code, or stop coding at all blaming a.. bad people, someone specifically, the laws, etc. if it make you feel better. As for me if I give something away I don't expect my axx to be kissed. Still can add it to my resume.
- ellis0n 3y agoYou are not alone here. For the past 15 years, I've been trying to figure out how this works and what license to apply to the new programming language. It seems like a strange waste of time, as with AI coming, it will be easy to bypass licenses and clone your code legally, and managers are already discussing this. I think this is the reason for the decline in the software startup market.
- anon-sre-srm 3y agoEither give code away or don't. Don't demand contributions or be a control freak about their use because it's wasted energy and uncool.
- TrianguloY 3y agoIs there a license that only requires mentioning? Like exactly CC-BY but for code? I'm in a similar position as the post. I make scripts and tools that I want to share online for anyone to use. I would like to allow everyone unrestricted access to it, but only if there is a mention and a link to the original page in a user-visible place. You want to use the tool? Go on, but mention me as the author. You want to modify the tool privately for your own purposes and use it on your company? Go on, but mention me as the original author. You want to take the tool, include ads, and sell it? Go on, but mention me as the author. This is due to past experiences with people taking my scripts and just reuploading saying they made it. I only want to be credited as the original author, that's it (and for the third example, the ad-filled copy, my idea is that if you get money from my work that's...ok, but only if you let people know where you got it to (so they can decide if they prefer the free original or yours). MIT only requires to keep the license file, but from my understanding it's just a file that users may not even see. GPL (and AGPL) requires you to share your modifications, which is a restriction I don't really care. CC-BY is the closest to it (in fact I think is exactly what I'm asking for) but for some reason it is not advised to be used on code...
- sharts 3y agoJust use BSD license then? Isn’t that the most permissive of all?
- y2- 3y agoSo is this the new way to hack personal cellphones? I have nothing at all to do with technology but The Open Source Software License has been on my personal cellphones for about 5 years. It started with a person I knew cyber stalking me by controlling my phone. Settings of that phone showed there was another device with more access to my account than I did my phone was used once in awhile. Google maps showed his contact name and that he knew my beginning specific location ETA to my next specific location etc. he blocked important contacts and emails. It just got worse as he got better at it by using the MIT Open Source Software. He got into my MGH Patient Gateway and changed my medical records and not to make me look good he did it to hurt me and make me look legitimately paranoid/ crazy/ drug addict etc. I thought he was a friend and had no idea until about a year ago what was actually happening and because it was during Pandemic my Doctors/ Surgeons don't realize my records were changed . How can I stop this?