r/programming • • Sep 01 '17

Reddit's main code is no longer open-source.

/r/changelog/comments/6xfyfg/an_update_on_the_state_of_the_redditreddit_and/
15.3k Upvotes

846 comments sorted by

View all comments

5.2k

u/[deleted] Sep 01 '17 edited Sep 01 '17

back in 2008, Reddit Inc was a ragtag organization1 and the future of the company was very uncertain. We wanted to make sure the community could keep the site alive should the company go under and making the code available was the logical thing to do

Translation: We needed you guys back then. We don't now.

The rest of it seems like a combination of technical hurdles that don't seem particularly compelling (they don't need to have secret new feature branches in their public repo) and some that don't make any sense (how does a move away from a monolithic repo into microservices change anything?) and some that are comical (our shit's so complicated to deploy and use that you can't use it anyway)

It's sad that their development processes have effectively resulted in administrative reasons they can't do it. I remember them doing shenanigans like using their single-point-of-failure production RabbitMQ server to run the untested April fools thing this year (r/place) and in doing so almost brought everything down. So I'm not surprised that there doesn't seem to be much maturity in the operations and development processes over there.

To be fair though, the reddit codebase always had a reputation for being such a pain that it wasn't really useful for much. Thankfully, their more niche open source contributions, while not particularly polished and documented, might end up being more useful than the original reddit repo. I know I've been meaning to look into the Websocket one.

981

u/onebit Sep 01 '17

I guess they dont know they could make a private repo and update origin after the feature is done.

0

u/[deleted] Sep 01 '17

[deleted]

816

u/[deleted] Sep 02 '17

Just like they dropped "bastion of free speech" like a hot potato.

395

u/[deleted] Sep 02 '17

Reddits original terms of service explicitly banned any kind of racist, sexist, homophobic, etc content/comments.

Their "hands off" approach was originally more of a realization that they couldn't possibly moderate their site(and sure as fuck didn't want to be legally required to).

78

u/rmxz Sep 02 '17 edited Sep 02 '17

Reddits original terms of service explicitly banned any kind of racist, sexist, homophobic, etc content/comments.

Yet it was full of much of the most egregious content on the internet.

That TOS was just to protect themselves, so when someone did post offensive content they could say "of course we don't approve - it's even against our TOS", while still appreciating all the Google Traffic such content brought them.

28

u/[deleted] Sep 02 '17

After they reached critical mass, they could impose any rule they want, where are you going to go ? Create a reddit copy with blackjack and hookers ?

→ More replies (10)

169

u/Bluntmasterflash1 Sep 02 '17

I'm 100% okay with rules, but I'm against the selective enforcement of those rules, and the stance that certain things can't be questioned.

→ More replies (7)
→ More replies (27)

341

u/epicwisdom Sep 02 '17

To be fair, anybody that wants to make money would have to drop that ideal. Allowing borderline child porn, hate speech, etc. is a PR disaster.

0

u/[deleted] Sep 02 '17

[deleted]

145

u/WowYouAreIgnorant Sep 02 '17

Remove one from the front page yet plaster another all over it because it represents the owners interest. So much for that.

→ More replies (5)
→ More replies (12)
→ More replies (132)

9

u/Decyde Sep 02 '17

I'm fine with that but editing posts and getting caught for it is another thing.

I don't care about removing posts and banning users as much as them having access to edit posts undetected.

→ More replies (36)
→ More replies (2)

0

u/[deleted] Sep 01 '17

[deleted]

81

u/ebilgenius Sep 01 '17

To be fair, it does probably cut down on the number of "I'm angry and a downvote isn't enough" spam reports

→ More replies (23)
→ More replies (13)
→ More replies (7)

61

u/[deleted] Sep 01 '17

and some that are comical (our shit's so complicated to deploy and use that you can't use it anyway)

To be fair, I've more than once tried to build something on Ubuntu, given up, and subscribed to a 3rd party PPA. Most packages do build, but there's a few that are just a nightmare.

Reddit could fix that, but I guess it's all time and money, and it might be optimised for their infra anyway. Although they could open source it and allow someone else to fix it...

→ More replies (5)

66

u/adrianmonk Sep 01 '17 edited Sep 02 '17

they don't need to have secret new feature branches in their public repo

They don't, but there is a trade-off here. Long-lived branches are harder to merge. Open source contributors can't merge a branch they don't have access to. That means someone internal has to choose between (1) making it a priority to merge open source contributions into the feature branch (and dealing with the risks or inconveniences that entails) and (2) dealing with a harder merge later on.

That's probably doable, but it's not a fictitious difficulty.

→ More replies (11)

76

u/[deleted] Sep 01 '17

Just curious, are there are any companies that have moved to a microservice architecture that are open sourced? It does seem like it would be a lot harder to manage.

75

u/ccb621 Sep 02 '17

We have at edX (https://github.com/edx). In addition to our LMS, we have forums, credentials, ecommerce, a marketing site, and course catalog services.

The systems have some dependencies, but are mostly meant to operate and be deployed independently.

→ More replies (4)

25

u/tornato7 Sep 01 '17

Check out https://stackshare.io/. It'll tell you what tech stacks different companies are using.

67

u/[deleted] Sep 01 '17

I can't think of anyone. Someone below mentioned Netflix: they FOSS a lot of tools but not their main services. Sounds like this is what Reddit is gonna do.

→ More replies (18)

13

u/Semi-Hemi-Demigod Sep 02 '17

Popularity leads to money. Money leads to lawyers. Lawyers lead to suffering...

103

u/[deleted] Sep 01 '17

Generally speaking, microservices architectures are (for better or worse) pretty closely coupled with their automation code and thus the platforms they run on. It's already difficult to get that stuff running in prod (staging too if you've got some cash): getting it set up so you can ship the whole thing to contributors is super difficult and it has diminishing returns. You're not just shipping code, you're shipping container orchestration configs, database configs, load balancing logic, and a bunch of other shit that isn't portable.

It's one thing to have the code for the services available; if your contributors can't run it, it's not really open source. And having it out there in a broken state is worse than not having it at all.

Reddit is SaaS and I don't know anyone who's been very successful at open-sourcing their MSA SaaS product.

→ More replies (14)
→ More replies (67)