News for hackers. Stuff that matters.
Re:Write libraries instead of services, where possible by 101008 on Tuesday March 09, 2021 @09:47AM (#26399262)
I like the approach and it seems to be definitely better for everyone, but how you monetize a library?
Re:Write libraries instead of services, where possible by selfhoster11 on Tuesday March 09, 2021 @09:54AM (#26399341)
Does everything have to be about money? This is "Hacker" News, not "Monetize Everything" News.
Re:Write libraries instead of services, where possible by luismedel on Tuesday March 09, 2021 @10:01AM (#26399421)
I think you’re reading too far. The comment doesn’t imply that everything it’s about money. It’s only a question about monetizing a library.
Re:Write libraries instead of services, where possible by ahepp on Tuesday March 09, 2021 @10:47AM (#26399920)
I don't think it's a reply to just that comment. Seems like there are about as many articles on here about mediocre SaaSes as cool technical stuff.

Of course, the site was made by a vc, so maybe it really is Monetize Everything News.

Re:Write libraries instead of services, where possible by selfhoster11 on Tuesday March 09, 2021 @11:17AM (#26400274)
What I was alluding to is that one of the first comments on this thread was "how do I make money out of this?" That indicates the priorities of the commenter, if nothing else.
Re:Write libraries instead of services, where possible by Frost1x on Tuesday March 09, 2021 @12:38PM (#26401240)
All aspects of life in the US seem to be increasingly money focused, driven, or dictated by. It's not just tech but wherever there is more money to be had, there is more focus on money.

At some point, I wonder if our social and economic system becomes a close enough proxy to darwinistic survival of the fittest through capital ownership that a large enough portion of the population realize they would do better outside this construct rather than inside our societies and will begin to reject the system at large.

Right now we are able to provide stable food, housing, and ERs can't refuse people for medical care but stable housing is in the downturn and Healthcare costs that lead to bankruptcy conditions are on the rise. I feel like we're really testing how low many will go before they reject the system at hand and at what point is that number of people large enough to be critical to the existing system's stability.

At some point the effort for comfortable success may become so high people just abandon it entirely.

Re:Write libraries instead of services, where possible by richardwhiuk on Tuesday March 09, 2021 @10:57AM (#26400032)
It's `https://news.ycombinator.com/` which is owned by a tech accelerator, where profit/growth/money is the key driver.
Re:Write libraries instead of services, where possible by davidw on Tuesday March 09, 2021 @10:10AM (#26399490)
Certainly not, but it's worth thinking about how developers will get paid to create and maintain useful systems.
Re:Write libraries instead of services, where possible by RohMin on Tuesday March 09, 2021 @09:57AM (#26399380)
How are we to survive then
Re:Write libraries instead of services, where possible by aloisdg on Tuesday March 09, 2021 @10:01AM (#26399427)
by switching from a competitive money driven world to a cooperative one.
Re:Write libraries instead of services, where possible by Toutouxc on Tuesday March 09, 2021 @10:10AM (#26399489)
Great, when does the spaceship launch?
Re:Write libraries instead of services, where possible by aae42 on Tuesday March 09, 2021 @10:29AM (#26399682)
as if a spaceship launching anywhere would change anything
Re:Write libraries instead of services, where possible by lamp987 on Tuesday March 09, 2021 @10:31AM (#26399722)
Communism doesn't work.
Re:Write libraries instead of services, where possible by smoe on Tuesday March 09, 2021 @11:17AM (#26400270)
Maybe, if we could finally get out of the cold war mindset, we might realize that there are more than two black/white options to run a society.
Re:Write libraries instead of services, where possible by selfhoster11 on Tuesday March 09, 2021 @11:19AM (#26400304)
I agree that communism failed, bo capitalism has failed too where it's not tightly regulated by the government to cull its worst tendencies.
Re:Write libraries instead of services, where possible by mnsc on Tuesday March 09, 2021 @11:04AM (#26400118)
Capitalism doesn't work.
Re:Write libraries instead of services, where possible by 0xbadcafebee on Tuesday March 09, 2021 @11:55AM (#26400697)
Of course it "works", there's been multiple countries run on it and continue to run on it. What you mean to say is you don't like it.
Re:Write libraries instead of services, where possible by lamp987 on Tuesday March 09, 2021 @01:49PM (#26402211)
Such as? In which countries did it work?
Re:Write libraries instead of services, where possible by jyounker on Wednesday March 10, 2021 @01:06PM (#26414118)
The communist party was pretty successful in helping to overthrow the Portugese dicatorship in the early '70s, but they were also democrats. They're still one of the major political parties in Portugal, and you see ads for the communist party everywhere.

The Indian state of Kerala is the most advanced, well run, and successful region of the country. On development indexes it ranks with the poorer regions of the EU. It's also largely a communist state, but once again the communists are democrats.

Re:Write libraries instead of services, where possible by msla on Tuesday March 09, 2021 @12:23PM (#26401064)
Just to head this off: Sweden isn't Communist or Socialist.
Re:Write libraries instead of services, where possible by asdff on Tuesday March 09, 2021 @01:14PM (#26401668)
I forgot all those GNU developers are currently in poverty asking for alms in the street...
Re:Write libraries instead of services, where possible by b3kart on Tuesday March 09, 2021 @02:43PM (#26403103)
Landlords don't accept GitHub stars as rent payment, unfortunately. Unless they do in the Bay Area...?
Re:Write libraries instead of services, where possible by gjvc on Tuesday March 09, 2021 @10:35AM (#26399763)
It most certainly is both.
Re:Write libraries instead of services, where possible by collyw on Tuesday March 09, 2021 @10:53AM (#26399988)
Not when coronavirus is around.

We have voluntarily destroyed lots of economic growth and plunged millions into extreme poverty because of a virus that is not especially bad when compared to historical pandemics.

Re:Write libraries instead of services, where possible by alcover on Tuesday March 09, 2021 @11:32AM (#26400437)

  but how you monetize a library?
Oh that's a burning question for me. I'm finishing a C lib that - if all goes well - will be very useful.

I worked hard on it and now I don't know how to license it.

I'm okay with non-profit OSS projects to use it freely, but I need others to pay for it. How ? How do you express such a dual license ? And how do you ensure for-profit users reward you ?

That's not the part I prefer in this project...

Re:Write libraries instead of services, where possible by mhh__ on Tuesday March 09, 2021 @11:39AM (#26400518)
GPLv3 with a commercial exception. Corporate suits don't like the GPL, so if they buy a commercial licence they support the project without having to redistribute (You can also offer support)
Re:Write libraries instead of services, where possible by sokoloff on Tuesday March 09, 2021 @02:12PM (#26402579)
I think AGPL is the much more effective open source license if your intention is to have corporations too afraid to use it under the open license and to negotiate a commercial exception license.

Plenty of companies will use GPL code, especially for hosted software.

Re:Write libraries instead of services, where possible by alcover on Tuesday March 09, 2021 @11:54AM (#26400695)

  GPLv3 with a commercial exception
Thx. Do you mean GPL + my custom addendum ? How do you write it if you're not versed in `legalese` jargon ?
Re:Write libraries instead of services, where possible by mhh__ on Tuesday March 09, 2021 @11:59AM (#26400765)
https://www.fsf.org/blogs/rms/selling-exceptions for a little philosophy behind it, however it will always be the GPL OR a commercial licence rather than an amalgam of the two
Re:Write libraries instead of services, where possible by ben509 on Tuesday March 09, 2021 @12:20PM (#26401022)
Notably, the FSF recommends against[1] modifying the GPL. And, you'd want to hire a lawyer to go over whatever scheme you're thinking of.

It's easier to draft a separate license agreement if you're the sole copyright holder.

If you're not the sole rights holder, if your project contains other GPL code, you'll need permission from the authors to license under terms other than the GPL. That would include patches from other authors, unless they sign the rights over to you.

[1]: https://www.gnu.org/licenses/gpl-faq.html#ModifyGPL

Re:Write libraries instead of services, where possible by WJW on Tuesday March 09, 2021 @12:06PM (#26400843)
Hire a lawyer to do it for you?
Re:Write libraries instead of services, where possible by p0nce on Tuesday March 09, 2021 @01:24PM (#26401834)
> but how you monetize a library?

It's easier if other people can make money with it.

Re:Write libraries instead of services, where possible by 0xdky on Tuesday March 09, 2021 @10:01AM (#26399420)
Back in the days, RogueWave had a pretty solid customer base selling portable C++ standard libraries.

I worked at 2 different companies and they both quite heavily depended on RogueWave STL.

Re:Write libraries instead of services, where possible by thinkharderdev on Tuesday March 09, 2021 @04:56PM (#26404875)
The way they were monetized before SaaS was a thing. You sell licenses to use them. You can't 100% prevent people from using them without a license but for the most part you don't really have to. A company with real assets is generally not going to use a cracked version of proprietary libraries and expose themselves to litigation.
Re:Write libraries instead of services, where possible by zo1 on Tuesday March 09, 2021 @12:25PM (#26401091)
It's easy, you release it open source... Then make sure you have languages "officially" promote it in their documentation and have people adopt it thinking it's great and an actively developed project that's going to be around forever, etc... And then fork it, stop releasing security updates for the older (open-source) versions, and turn it into a product that you charge people for because corporates are now dependent on it.

For a real-life example of it, see this blatant bait and switch fuckery: https://github.com/dotnet/aspnetcore/issues/26489

Re:Write libraries instead of services, where possible by rikroots on Tuesday March 09, 2021 @01:45PM (#26402138)
Maybe if you code up a library that meets a specific set of requirements, but you do it in a way so that using the library seems simple on the surface but, the deeper the end-user-developer goes, the more illogical stuff becomes. At that point you have a developer too invested in the work they've already done to abandon it: a developer in the market for a "... The Good Parts" or "... Cookbook" book.

I was not thinking of Actionscript when I wrote this comment.

Re:Write libraries instead of services, where possible by folex on Tuesday March 09, 2021 @10:08AM (#26399477)
You may take a look at Fluence's ideas on that https://fluence.network

It basically allows you to share your code to others in exchange for a fee. If someone builds an app or service that uses your library, and it is paid within Fluence, you will receive a fee. This works transitively.

Re:Write libraries instead of services, where possible by 3np on Tuesday March 09, 2021 @10:42AM (#26399842)
There's also https://iex.ec/ - marketplace for applications, TEE-protected (yeah, yeah I know) compute to execute them, and data sources.
Re:Write libraries instead of services, where possible by xmaayy on Tuesday March 09, 2021 @10:43AM (#26399857)
Oh goodie another CryptoCoin.
Re:Write libraries instead of services, where possible by gohbgl on Tuesday March 09, 2021 @10:24AM (#26399623)
In an IP world you can license it. Otherwise you can crowd fund for new versions, ask for donations, offer support, etc.
Re:Write libraries instead of services, where possible by asdff on Tuesday March 09, 2021 @01:12PM (#26401649)
You put it on your resume and make your bread doing other jobs or freelance work, where you are now the top candidate in the pile thanks to the work you've done with your publically available library where anyone can inspect the source and see your handiwork.

Engineers in tech always complain that there is no proof of good work, like someone in biochemistry with a stack of papers on their CV would have. Well, this is how you do it. You spend effort sharing ideas with the community knowing you won't necessarily make a dime off of them, just like the biochem person who doesn't get paid per paper, and not spend 100% of your personal efforts working for someone else in private on a for profit project you aren't at liberty to intimately discuss.

Re:Write libraries instead of services, where possible by Igelau on Tuesday March 09, 2021 @09:56AM (#26399363)
Sell a license. I can't think of a better example off the top of my head, but here's a case study:

CKEditor has multiple commercial licensing plans: https://ckeditor.com/pricing/

Re:Write libraries instead of services, where possible by cjvirtucio on Tuesday March 09, 2021 @12:04PM (#26400824)
unipdf for golang is another example.
Re:Write libraries instead of services, where possible by randlet on Tuesday March 09, 2021 @09:51AM (#26399315)
You can sell a library just as well as any other piece of software I think.
Re:Write libraries instead of services, where possible by freeone3000 on Tuesday March 09, 2021 @09:53AM (#26399330)
Not really. Your market is different. Instead of selling to business managers seeking to solve a problem, you're selling to developers. Developers tend to like solving problems themselves, and you're competing versus free.
Re:Write libraries instead of services, where possible by selfhoster11 on Tuesday March 09, 2021 @09:57AM (#26399371)
There's an ecosystem of paid libraries and tools around Java and C#. While developers might like to solve problems of their own, standards compliance is one place that they likely wouldn't want to tread their own path if they can help it. They've got work to do, and deadlines.
Re:Write libraries instead of services, where possible by pjmlp on Tuesday March 09, 2021 @10:38AM (#26399801)
On the Sony, Nintendo, Microsoft, Apple and Google developer ecosystems there are plenty of shops selling libraries.

Basically where most devs selling commercial software live on.

Re:Write libraries instead of services, where possible by chrisrhoden on Tuesday March 09, 2021 @09:56AM (#26399361)
The definition being used here for libraries and services has both being marketed to developers. We're talking about APIs, not a web product with a UI etc.

Services, in this article, doesn't refer to things that can only be built as services (e.g. because it queries a proprietary dataset) but those that might optionally be built as services (e.g. fetching and processing otherwise accessible data) and could, as easily, be built as a library.

Re:Write libraries instead of services, where possible by 0xbadcafebee on Tuesday March 09, 2021 @11:59AM (#26400762)
You can totally sell libraries to business managers. You can sell sauteed rat's assholes on a stick to business managers, you just need the right sales pitch.
Re:Write libraries instead of services, where possible by vbezhenar on Tuesday March 09, 2021 @09:59AM (#26399390)
Stealing a library is easier than stealing a service.
Re:Write libraries instead of services, where possible by PeterisP on Tuesday March 09, 2021 @11:07AM (#26400150)
Including a stolen library you in commercial software that you distribute is easy to do but also easy to detect, so it only means that you're willing to pay a triple of the price in damages.
Re:Write libraries instead of services, where possible by gtirloni on Tuesday March 09, 2021 @02:13PM (#26402608)
Now you're in the business of policing your users. Not fun if what you like to do is solving problems with code.
Re:Write libraries instead of services, where possible by luismedel on Tuesday March 09, 2021 @10:06AM (#26399460)
Yes. I suppose it’s the same with installable software. But it sells anyway.
Re:Write libraries instead of services, where possible by vbezhenar on Tuesday March 09, 2021 @10:25AM (#26399639)
One example of this is computer games. There are games like StarCraft 2, Diablo 3, where server is required even for solo-playing and it's not possible to play offline. I think that one of the reasons is to make it harder to crack a game (as you would need to re-implement server) and to make a cracked game objectively worse (as your implementation will not be as polished).
Re:Write libraries instead of services, where possible by pjmlp on Tuesday March 09, 2021 @10:51AM (#26399966)
And a crime in both cases.

https://www.bsa.org/

Re:Write libraries instead of services, where possible by M2Ys4U on Tuesday March 09, 2021 @01:26PM (#26401853)
> And a crime in both cases.

Copyright infringement is very rarely a crime.

Re:Write libraries instead of services, where possible by pjmlp on Tuesday March 09, 2021 @03:17PM (#26403594)
Pirating goes beyond copyright infringement in my jurisdiction.
Re:Write libraries instead of services, where possible by malkia on Tuesday March 09, 2021 @10:40AM (#26399823)
For example gamedev middleware is an example of that - be it individual library, for example audio: fmod, criware, wwise, miles, etc., or full blown game enines (unity, unreal, etc.). Just few examples.
Re:Write libraries instead of services, where possible by TeMPOraL on Tuesday March 09, 2021 @11:38AM (#26400501)
B2B, license per-developer-seat-year.
Re:Write libraries instead of services, where possible by 0xbadcafebee on Tuesday March 09, 2021 @11:51AM (#26400657)
Charge money for it? You know, like back in the stone age, when people charged money for software?
Re:Write libraries instead of services, where possible by airstrike on Tuesday March 09, 2021 @11:06AM (#26400134)
Create a service that uses the library and then monetize the service?
Re:Write libraries instead of services, where possible by eska on Tuesday March 09, 2021 @11:13AM (#26400228)
Call it a framework..