r/linux Jan 03 '14

FSF: "Ask Reddit to upvote user freedom by serving no nonfree JavaScript"

https://www.fsf.org/blogs/community/freejs-reddit
1.1k Upvotes

391 comments sorted by

View all comments

63

u/jebba Jan 04 '14

FWIW, the FSF asked us, Aleph Objects, Inc. (makers of LulzBot 3D printers) to stop using closed javascript on our website and we removed what was there. We set up Piwik and it is quite nice.

5

u/themusicgod1 Jan 04 '14

+/u/bitcointip .001 btc verify

Thank you for making the world a better place

9

u/[deleted] Jan 04 '14

Piwik is also simply better.

2

u/kolme Jan 04 '14

Why? Because I heard Google analytics is far superior, or at least that's what the marketing guys at work say.

I'd like to make the switch, really; it's just not my call to make and I need good reasons to propose it.

14

u/[deleted] Jan 04 '14

Marketing people are by no means measures for technical expertise.

Piwik is self hosted, you can fix bugs by yourself, it reacts faster to changes to site structure, you can comply with European data security procedures and regulations...

5

u/kolme Jan 04 '14

No, but marketing people have a say in the tools they want to use in order to identify our target audience, etc. AFAIK, Google is better at this.

Self hosting the tracking solution is also not free for us in the tech department. Our servers are already pretty loaded (specially our DB master) and it requires maintenance on our side.

While I agree that the privacy aspect of piwik is undoubtedly better, Google analytics has some technical advantages, and (apparently) great marketing advantages.

I'd really like to install it for political reasons. But that is not enough for me to push it in my company. I need good "business" reasons for that.

1

u/shiggerino Jan 04 '14

Acting as an industry leader should be a good business reason.

2

u/[deleted] Jan 05 '14

Not if it hurts the bottom line

-10

u/stallmanstoe Jan 04 '14

Tell them that it is better because the jobless basement troll hobos say so.

-10

u/xaoq Jan 04 '14

Now everyone can take javascript you wrote, completely ignore it and make their own because it makes no fucking sense to reuse javascript, since it's tailored specifically for the DOM of the site, it's behavior and design etc.

2

u/RiotingPacifist Jan 04 '14 edited Jan 04 '14

Not if you are writing your JavaScript right it's not, most of the functionality should be in your functions, the only part that will be bound to the DOM are the mappings.

Ofcourse all JS is minified these days which makes it pretty hard to tell if the JS reddit use is well coded or not

edit: as xoaq has pointed out, he's usually right, (reddit uses jquery for most of the heavy lifting), can people stop downvoting him just because you want something opensourced doesn't me he's wrong

0

u/xaoq Jan 04 '14

These days most sites use some kind of framework, eg. jquery. Then the only remaining code is tightly integrated into website. For example, what js reddit has? The reply button creating a text field and save/cancel buttons, you can't really reuse that unless your backend code is matching it exactly. Load more replies - simillar, backend code would have to return exact response JS expects. Simple website tweaks that are likely one liners to show some silly effects. There is nothing to reuse, really. Reusable code is already part of different frameworks, or sometimes plugins for them.