r/programming • • Aug 24 '19

A 3mil downloads per month JavaScript library, which is already known for misleading newbies, is now adding paid advertisements to users' terminals

https://github.com/standard/standard/issues/1381
6.7k Upvotes

914 comments sorted by

View all comments

1.9k

u/pubcrawlerdtes Aug 24 '19

If ads started showing up in my build logs, I would be extremely concerned. I can't possibly see how the author expects this to go well.

536

u/AngularBeginner Aug 24 '19 edited Aug 24 '19

Don't you want advertisements in the build logs for your production environment?

657

u/lenswipe Aug 24 '19

You know what I REALLY want? Advertising EVERYWHERE!

Imagine trying to debug a kernel driver issue whilst having to stop every 30 seconds and watch a 10 minute charmin commercial. Wouldn't that be the fucking best?!

227

u/kethinov Aug 24 '19

I built an ad blocker for such ads in the hopes of preventing this dystopia from taking hold.

104

u/lenswipe Aug 24 '19

Eh, I just run pihole. Hopefully that should take care of most of it. Though, ad publishers are salty as fuck about it I'd imagine.

God fucking forbid I don't want to have location tracking ads shoved in my face every second of every day

70

u/sours Aug 24 '19

Please unblock our website! We rely on ad revenue and we promise to be good!

Proceeds to load 3 pop-unders, 2 pop ups, flashing banners, and autoplay videos.

16

u/Dragasss Aug 25 '19

HOT WOMEN IN YOUR AREA

CHEAP VIAGRA PRESCRIPTION

CHRISTIAN SINGLES

BET NOW

FREE LOANS

SUBSCRIBE FOR MORE CONTENT

DOWNLOAD OUR APPLICATION INTO YOUR SMARTFRIDGE

→ More replies (2)

273

u/Firewolf420 Aug 24 '19

Fuck ads. I will not have them in my house. PiHole, custom blacklist... adBlock/uBlock/NoScript/Privacy Badger/Self-Destructing Cookies, etc on all PCs. No cable or broadcast TV.

I could literally not give a single fuck if you can't afford to run your shitass website without me seeing ads. Too damn bad. There's someone out there who will fill the role if you can't hack it.

Fuck. Ads.

105

u/lenswipe Aug 24 '19

What's funny is if you express that viewpoint in certain subs you'll get downvoted to shit by an army of people screaming about "YoURE noT eNtiTled tO fREE conTeNt" and "stOP fReEloADing"

130

u/bighi Aug 24 '19

What’s funny is that I’m a strong anti-ad advocate, and I don’t want free things at all. I would pay, no problem. I pay for stuff. I just don’t want ads or tracking.

→ More replies (21)

119

u/Firewolf420 Aug 24 '19

Yeah. I could give a shit about what they think I'm entitled to, though.

You know what I AM entitled to? What I decide to look at with my own eyeballs, on my own goddamn computer hardware.

If I don't want to contact some shitty adserver to fill my head with useless propaganda I don't have to. And so help me I will do everything in my power to avoid doing so. I'll go midieval on any fucking advertisement that tries to rear it's ugly head in my network.

And I totally hear what you're saying. I've had people ask me "but isn't that illegal??" About some of the blocking I do. But it's my goddamn hardware, I get to decide what pixels show up on the screen, dammit!

→ More replies (27)
→ More replies (19)
→ More replies (28)

13

u/Y_Less Aug 24 '19

That won't help here. The ads are hard coded in to the installer script, not loaded from a third party server.

→ More replies (1)
→ More replies (6)
→ More replies (7)

49

u/droomph Aug 24 '19

Every 100 clock cycles, the CPU switches over to an advertisement for nordvpn

→ More replies (1)
→ More replies (15)

67

u/AngularBeginner Aug 24 '19

Adding to this:

I'm pretty sure I'm not even allowed to provide my customer with build artifacts that advertise other companies, and build logs are part of the build artifacts. That would mean I either couldn't use this package, or I need to add extra tooling to remove the advertisement again, which would be very fragile and error prone.

67

u/Theemuts Aug 24 '19

"This build was sponsored by squarespace, please hit the like button and enter your email address below to continue the process"

0

u/[deleted] Aug 24 '19

[deleted]

42

u/Theemuts Aug 24 '19

"Your build has failed, head over to skillshare to learn how to fix it"

22

u/acwaters Aug 24 '19

Oof, now I'm imagining compilers, linters, and runtimes analyzing your code for patterns and advertising targeted courses for programmer improvement... And I can imagine tens of thousands of people being appreciative of the "service"...

→ More replies (1)
→ More replies (9)

147

u/whitfin Aug 24 '19

The author already claimed to have gained $2,000 for 5 days work because of this model, so that’s pretty much why it went well for them

108

u/AngularBeginner Aug 24 '19

RyanCavanaugh said it nicely:

The first step to the Tragedy of the Commons has thus started. Every other popular package will copy this bright idea; npm and yarn will realize that spamming dozens of pages of sponsorship or donation request banners is a bad user experience, and eventually block all install script output from the CLI.

You at least got in on the ground floor before it was ruined for everyone.

22

u/[deleted] Aug 25 '19

NPM would just display its own ads instead.

→ More replies (2)

122

u/HittingSmoke Aug 24 '19

The first banner ad had a click-through rate of over 44%. That level of success is unsustainable because if it's that effective, everyone is going to do it and every build log is just going to be a fucking unreadable mess of ads and unethical practices to make sure they're seen. Then we end up with ad-blocking scripts to wrap our builds around to clean up the output.

This idea is completely ignorant of history as anything more than a short-term money making scheme.

8

u/Good_Guy_Engineer Aug 25 '19

Willing to bet that a large majority of those clicks were out of utter confusion of why or what is this thing in my logs. Id expect that to drop rapidly in future.

I wonder if (longterm/big picture) this could impact the adoption of open source in corporate entities/ enterprise software, reverting back to big vendors completely to avoid legal/security risks?

37

u/2lazy4forgotpassword Aug 24 '19

Did he donate any of that $2000 to the hundreds of packages his own library uses? It's a rabbit-hole, doesn't make sense.

→ More replies (2)
→ More replies (9)
→ More replies (125)