Hay i need to hand implemeneting a voting system into a model.
I've had a huge helping hand from Mike DeSimone making this work in the first place, but i need to expand upon his work.
Here is my current code
View
def show_game(request):
game = Game.objects.get(pk=1)
discussions = game.gamediscussion_set.filter(reply_to=None)
...
I'm looking to hire someone to build me a reddit/HN style discussion forum. Anyone worked with Reddit's code base before? What are the downsides? Should I have someone start from scratch?
...
I'm trying to understand reddit's source, and I am looking at the get_comments action method of front.py
This is the action that displays a story:
http://code.reddit.com/browser/r2/r2/controllers/front.py#L139
Specifically, what is the top part of the method doing where there is a @Validate marker?
And on the bottom near the return, ...
Hi everyone.
I'm struggling with this simple idea.
Look at reddit, when you sign up for a new account.. you automatically subscribe to some default channels.
I want to do the same with my website.
I know I could do the simple and stupid user_chan with id, user_id, chan_id
if chan is like this :
ID | NAME
1 | videos
2 | pictures
u...
It is always better to learn from other developers experiences. I would like to clone Reddit at my workplace on an intranet basis. Though the documentation is great at http://code.reddit.com/#GettingStarted , I have not developed or used Linux before, so I am not familiar with using the terminal and Linux commands.
What OS should I inst...
I created a subreddit that I am connecting to a twitter account via twitterfeed.
Currently I have it pointed to this RSS feed.
I would like to filter this RSS feed with posts that have X upvotes such that only the good posts reach the Twitter account. Is there a way to do this? via API or otherwise?
...
Is anyone aware of a reddit / digg clone software available for google app engine?
...
Looking at the official? Reddit API page it seems quite sparse.
In particular I can't like a description of the json files so I don't have to recreate them from scratch (is element x always null and if not what is the type it's supposed to be?).
Or an API for submitting stories on there.
Can anyone find any other sources of document...
I'm building a Reddit client, for the iPad and the iPhone. I know there's some other clients, but I have some really cool ideas for tabbed Reddit browsing :D
Anywho, I'm working on the back-end of the thing first, and was wondering what the best way to deal with my cookie would be. I'm using ASIFormDataRequest and ASIHTTPRequest to get ...