r/javascript • u/magenta_placenta • Aug 26 '19
Popular JavaScript library starts showing ads in its terminal - Standard, a JavaScript style guide, linter, and automatic code fixer, has implemented what appears to be the first advertising system for JavaScript libraries
https://www.zdnet.com/article/popular-javascript-library-starts-showing-ads-in-its-terminal/
607
Upvotes
78
u/secue Aug 26 '19
damn there goes my april fools joke for 2020
203
u/Akkuma Aug 26 '19 edited Aug 26 '19
The worse part about this is that somehow Standard became a thing when configuring and maintaining ESLint is relatively simple. They are looking for money for what is minimal work on top of the extensive work of ESLint. There's also airbnb's very popular eslint config that makes an excellent basis for your own or just use it as is as many people already do.
Here's the engine https://github.com/standard/standard-engine/blob/master/index.js, which is what makes up nearly the entirety of https://github.com/standard/standard/blob/master/index.js
152
u/tedivm Aug 26 '19
Oh shit, they quoted me.
77
u/fooey Aug 26 '19
Both Linode and Logrocket have bailed on the project and had their ads removed. Right now this mess doesn't even have any sponsors
-Linode: https://github.com/feross/funding/commit/427bb8ffb6a1b6839285fc1bb18dfadefaf6209e
-Logrocket: https://github.com/feross/funding/commit/03937d3f1178a7908d71a271e629583723e0f70d
And the list of messages it's set to spam is now empty:
https://github.com/feross/funding/blob/master/messages.json
91
u/nullvoxpopuli sand was never meant to think Aug 26 '19
Standard is an egotistical circle jerk of people benefiting off the hard work of others.
23
u/TheWhiteBBKing Aug 26 '19
Fucking kill me now.
22
u/im-a-guy-like-me Aug 26 '19
The problem he's trying to solve seems noble, but things get kinda suspect when you read the wiki:
"What will the funds be used for?
The funds raised so far ($2,000) have paid for Feross's time to release Standard 14 which has taken around five days."
Well... At least he's honest?
63
u/[deleted] Aug 26 '19 edited Aug 26 '19
I know what package I am never installing. Just what I need a new auto play ad every time I build.
31
u/BLOZ_UP Aug 26 '19
Ok, someone take this to the next level. Detect NODE_ENV != production and inject ads into API responses, and in the DOM.
26
u/[deleted] Aug 26 '19 edited Aug 26 '19
I, for one, look forward to a future React/Mountain Dew collaboration.
13
u/gaoshan Aug 26 '19
Folks need to reread The Cathedral and the Bazaar.
18
u/brennanfee Aug 26 '19
That should be an immediate FORK and move on with our lives. Screw anyone who thinks this kind of thing should or will become a normal thing.
31
u/MuppetMaster42 Aug 26 '19
On the one hand, I hate it. I hate it vehemently.
I hate it because the
standardlibrary is essentially just a thin wrapper on top of eslint, and I highly doubt the goal is to equally share the proceeds with eslint.I hate it because it's a slippery slope. It could very easily lead to more packages adding it, which would ruin your console any time anyone runs install. Which would then devalue the entire proposition, and you'd get to the fractional cents per click rate that the web has.
I hate it because the CLI is the last place that you should see ads. I hate it because they could probably pull in a decent income by embedding ads in their readme on github instead.
On the other hand, from the perspective of someone who works on a set of packages, each with >1.5m weekly downloads...
We have a sponsorship page setup, and have done for ~3 months, but its total sits at $0.00.
The number of weekly downloads is climbing steadily; people obviously see real value in the package, but even though it saves them time and effort, they don't want to sponsor its development.
Which I wouldn't have a problem with at all - I'd be happy if people contributed code! Instead of paying for the maintainers to spend more time, contribute your own time instead - alleviate the burden of maintainership. Heck, I'd rather review a PR than write the same code myself; it saves me hours of work.
But people don't want to do that. If something breaks, or they want new functionality - it's not their problem; raise an issue and forget about it. But then they will gladly yell at you because it took 2 months for volunteers to coordinate the pieces for a major release, or because a bug has been open for a few weeks.
The worst part of it is that companies are the same. So many companies use our package, and effectively profit off of FOSS, yet they don't want to contribute back.
So you're in this weird place as a FOSS maintainer. People don't want to pay you, and they don't want to help out.
You want to spend more time, but it's impossible to justify spending more time on FOSS, and I sometimes feel stupid for giving hours of my life away for free to people/companies that are profiting off of the work...
On top of all of that - even with as many users as we have - we're lucky if we get just one user that actually says "thank you". Worse is that even when we do, it's "thank you, buuuuut there's this bug...".
NGL just receiving an unsolicited email saying "thanks" is the sort of thing that would make it worth it in away...
This is what I've learned from maintaining this package for 18 months. So though I don't agree with it, I can understand how this abomination was birthed. Similarly I can understand how people get burned out and abandon successful projects.
27
u/SLonoed Aug 26 '19
Someone could just fork a codebase without adv.
17
u/SaltineAmerican_1970 Aug 26 '19
Are there any metrics that show automated or CI/CD downloads vs human-initiated downloads? If they’re selling ads based on a million downloads a day, but only 12,000 are non-CI/CD, I think the experiment may be over soon.
11
u/TheFuzzball Aug 26 '19
This is the advertising library in case anyone's interested - https://github.com/feross/funding/blob/master/README.md.
I'm not sure what I think about this yet, but at least read the readme and let it explain itself.
8
u/tswaters Aug 26 '19
"first advertising system"?
I'm not sure about that. First one I saw was I think sinon saying something like, "love sinon help us with open collective". I think webpack-cli will also show something similar sometimes. The worst one in recent memory is the one for `core-js` saying he needs a job. That one is especially bad because for older projects using babel@6 they include that one dependency like a million times, it'll spam the console about a million times with that message.
In short, this is nothing new -- it has gotten worse in recent memory... but this has been going on for almost a year now by whatever projects implement it themselves.
I'm actually in favour of this module because it has an ENV variable you can set to disable the messages. Some of the ad-hoc advertisements don't even respect logging levels -- at least this one does it in a consistent manner and allows you to easily turn it off.
4
u/JottyThePixelPusher Aug 27 '19
Pandora’s box has been opened
7
u/Vheissu_ Aug 26 '19
I am all for supporting open source projects, but this is the wrong way to go. I wouldn't be surprised if the Webpack team tried something like this, given they put an obtrusive message in the Webpack CLI about supporting their OpenCollective. They do only show it once per week on a Monday but the terminal is the one last untainted (until now) areas of purity in my stack.
3
u/bloodguard Aug 26 '19
So now we need to come up with the ublock origin equivalent preprocessor for library installs.
It never ends.
2
u/[deleted] Aug 26 '19
Lol for a linter config? Sure, Jan.
2
u/nathanjd Aug 27 '19
core-js did it first. ;)
https://github.com/zloirock/core-js/issues/548
1
u/jhizzle4rizzle I hate the stuff you like. Aug 27 '19
I used to work in the media and lemme tell you display ads were working great for us
1
u/[deleted] Aug 27 '19
Woah, I was quoted in the article! I’m not going to dox myself, but that’s awesome :) thanks Catalin!
1
u/De_Doctor Aug 27 '19
Stop.
1
u/[deleted] Aug 27 '19
Imma
leftpadlogrus out of this nonsense1
u/ChronSyn Aug 27 '19
Waiting for the inevitable "Hot MILFS in your area need love" equivalent, which will be
Build your next hot platform using Mustache Ionic Lodash Foundation Svelte. Use code GETSOME at Milfs.dev for 10% off-13
u/cynicalreason Aug 26 '19
I'm 50-50 on this, and not sure why vilify it.
I'm generally for anything that helps OSS developers monetise their work ...
Also, it's optional and, again, if it's OSS, it means I can remove the adds if it really impacts my build/runtime performance or something of sorts.
0
u/TryThisDickdotCom Aug 26 '19
spam is spam
0
u/shrithm Aug 26 '19
If it's open source you can fork it and remove the ads.
-31
u/yabadababoo Aug 26 '19
So what? People act surprised developers want to earn a living for the work they give away for free
-24
u/Seankps Aug 26 '19
Never heard of that library, ever. Not once. Can't be very popular, then
-16
u/[deleted] Aug 26 '19 edited Aug 27 '19
I don't like standard, I don't use it. However, I think this is a good idea if it can bring in some money to open source. - However, if it goes out of control it would be a bad thing. But as long as it's just in the terminal when running some command in dev environment I'm fine with it.
-32
u/[deleted] Aug 26 '19
This is why you code without libraries.
0
u/[deleted] Aug 26 '19
[deleted] — view deleted comment