Where is the source code for the reddit message filtering code? - reddit

I am browsing the reddit source code and would like to know specifically where the filter code is. How does reddit's filters learn spam vs no spam etc?

From the open-sourcing announcement post:
There are a few portions of the code that we're keeping to ourselves, mostly related to anti-cheating/spam protection.

Related

JSON Response with API.AI

I've been searching high and low on how to make use of Webhook in API.AI. I'm new to API.AI in general.
My objective is to integrate API.AI into my Swift Application which i have already done. I want to get a JSON Object from a webpage and use those data to manually add them as Entities/Intents/Response/etc by sending back a request to API.AIand then create them.
Tried posting on DialogFlow forums but i guess it's pretty inactive.
The whole workflow is..
Integrating API.AI into my Swift Application for users to use.
I have the base of the AI now.. Intents lead to Entities in a sense whereby users ask for a type of study, and an Entity [Studies] is triggered, so meaning from the Intent 'asking for a type of study' the response would be like Science, or something. This reply i want to get it from the JSON that i mentioned above, from a webpage. Is there any way to actually set these responses? Create entities etc, with my Swift Codes.
I hope it's clear enough.. And hope that anyone can point me in a direction as i can't seem to find any articles or somewhere to follow on it?
May be its late for answering this question, but few days back, I came across a similar situation. I countered it and wrote a tutorial series for the same. Here's the link for tutorial. It might be useful for those who are looking to use API.AI, or want to integrate it in iOS project.
Building a Chat Bot having AI is easy

iOS discussion board / comments board API or sample?

I'm trying to find examples of code libraries or sample code for adding a commenting functionality in my apps. I've successfully implemented the Disquser iOS wrapper (http://bit.ly/iadisquser) in a couple of my apps but find it difficult to manage. I've seen other apps that incorporate a commenting feature that's cool, including theCHIVE Lite app, that looks like its using Facebook maybe?? Any hints or suggestions?
Look at QuickBlox Custom Objects code sample. I think it's what you need.
It represents user's notes, which he can create & comment. So, you can implement this comments logic into your apps and comment any item you want
There's a good tutorial for building a chat app that may help you get started, you can find it here: http://www.ibm.com/developerworks/library/x-ioschat/index.html

iOS / Readability

I'm working on an RSS reader app and I'd like to provide a consistent article experience for my users (i.e. the new Safari Reader). Is there an API that would apply here? I'm aware of Readability but I'm not sure if that is what I need.
just was doing some research for my app, heres what I've found. couldn't post all the links cause I'm new, but easily googleable
Read, Clear Read API: http://readapp.net/pub.html
Instapaper itself. Simple and Full API
Readability
RTCOOL
Feeds api
Boilerpipe
Goose
An overview of text extraction algorithms: http://www.readwriteweb.com/hack/2011/03/text-extraction.php
best of luck!

Incorporating MathML in Google Blogger posts

I'd like to format maths equations using MathML, with LaTeX-like syntax, in my blog posts hosted by Google Blogger; but references, on Google's site and elsewhere, to articles on how to conveniently do this seem non-existent.
The few articles I've found, on MathML generally, presupposes one can control the contents of an entire page, for example putting tokens in the "<html>" tag, which I don't think applies to Google Blogger.
The best site I've found is Ionel Alexandru's code at http://www.fmath.info/ But even there the documentation is very sparse and it isn't obvious how one would use his
scripts/packages for this.
Maybe I'm just being thick. But surely people must be using MathML in Google Blogger, and if so I'd be very interested in references to how it can best be done (preferably via an XML solution rather than dozens of little inline images in the text !)
Failing that, are there standard "register and start blogging" facilities/sites other than Google Blogger that make it easy to use MathML or where it is available as standard?
Cheers
John R Ramsden
I've written a javascript module, jqmath, to do what you want. See http://mathscribe.com/author/jqmath.html.
Instructions on how to use it in Google Blogger are at http://mathscribetheblog.blogspot.com/2011/03/jqmath-in-blogger.html.
By the way, those instructions do have you edit your <html> tag, which Google Blogger happily let me do. (I just did it to add a MathML namespace prefix for the MathPlayer plugin for Internet Explorer, so actually things would work ok, but less well, without it.)
I hope you like this. If you have any problems, post the link to your blog, and I'll take a look at it.
I use Peter Jipsen;s script, modified a bit, to get mathml into blogger
http://dpcarlisle.blogspot.com/2007/04/testing-interface.html
It seems the most wellknown is Math jax? MathJax

Where I can find an engine like OFPS Open Feedback Publishing

I'd like to write a little book on personal topics together with two friends of mine, remotely located. Do you know of any FOSS content publishing system like the one from O'Reilly (OPFS)?
I saw the one that powers the django book but It seems that the code It's not released yet. I accept any kind of backend technology for this project.
I'd like to:
edit the book on the web and let my friend do the same after authentication.
anyone of us could comment other's entries.
You could use Google Wave. You get the benefit of watching where others are editing / you can roll back the whole doc or specific parts / comment on specific parts plus you can use it from any computer so you don't have to be home or carry a laptop to edit your book when inspiration hits you.
OK, I'm going to roll out my own solution following the direction written here. I like a lot thigs like bitesizeedits or leanpub. The base will be a multiuser platform: mu. I'm quite fond with wordpress and as version control I'm happy with GIT. The commenting system will be digress.it.

Resources