Live data from Hacker News

Reddit source code

github.com

11–20 of 58 posts

Re: Reddit source code

#11
post #3

What causes people to need to sprinkle license boilerplate everywhere, including in files which are otherwise completely empty (like r2/r2/config/__init__.py), and then to have to update them every year? See this commit: https://github.com/reddit/reddit/commit/90cfcaaecc56cf35e758... It just seems to defy reason that we must make humans increment a number every year in every file in our projects, nevermind the fact t…

> What causes people to need to sprinkle license boilerplate everywhere, including in files which are otherwise completely empty

The Apache 2 license library has language that indicates the use is to put bits of the license in every file. That's why. It's easy enough to maintain a license at the top of files with an IDE like IntelliJ

Re: Reddit source code

#14
post #2

It's a pain that they are stuck with pylons, an unmaintained framework.

Why would that be a pain? Apparently it works for them, and is stable enough.

Now, if pylons turns out to be a roadblock to an expansion they want to make, that'd be a reason to swap it out for something different.

Re: Reddit source code

#16
post #5
post #4

Earlier quoted context omitted.

empty __init__.py declare a python module. see http://stackoverflow.com/questions/448271/what-is-init-py-fo...

I am well aware of why an empty __init__.py is necessary. It is less clear why one must add license boilerplate to such a file: https://github.com/reddit/reddit/blob/master/r2/r2/config/__... > you may not use this file except in compliance with the License This is patently absurd: the file contains no content other than the license itself, and arguably its name (which is shared by millions of other __init__.py files…

An empty file with no surrounding context is just an empty file, but is an otherwise blank file embedded within proprietary software whose presence is required for the software to function somehow public domain? The contents of the file are trivial, but it's existence may not be.

Re: Reddit source code

#17
I once was an intern in a company that wanted to rewrite the whole Reddit code in .net. The founder was a charming person and managed to raise a huge pile of money. "We can redo this with current technology and elegant design! We will run circles around Reddit!".

We had a great time. Free snacks, lot's of parties, luxurious office furniture, skateboarding in the hall... In the end, the company ran out of money before the product reached a useful state.

Good times. It has been some time since then and I have a "normal" job now. Last thing I heard about the founder is that he started a new vc backed company destined to run circles around something.

Re: Reddit source code

#18
post #17

I once was an intern in a company that wanted to rewrite the whole Reddit code in .net. The founder was a charming person and managed to raise a huge pile of money. "We can redo this with current technology and elegant design! We will run circles around Reddit!". We had a great time. Free snacks, lot's of parties, luxurious office furniture, skateboarding in the hall... In the end, the company ran out of money before…

That’s odd. As if the programming language itself is what makes Reddit what it is :)

Re: Reddit source code

#19
post #13

Wow I am impressed that a commercial social networking software company open sources their entire codebase.

They don't open source 100%; the anti spam and vote obfucation stuff isn't there

Recent changes nearly dropped the obfuscation stuff in its entirety, anyway.
Post reply on HN