
had.co.nz yhat/ggplot Visualizing Facebook Friends With D3.js or “How Wolfram|Alpha Does That Cool Friend Network Graph” | rfw.name A while ago, Wolfram|Alpha got the ability to generate personal analytics based on your Facebook profile. It made some cool numbers and stuff, but the friend network graph was the most impressive: Wolfram|Alpha neatly separates your various social circles into clusters, based on proximity — with freaky accuracy. With the awesome D3.js library, along with some gratuitous abuse of the Facebook API, we can make our own! If you’re impatient, skip through all this text and check out the example or the screenshot! Mining Friend Data You’ll want the Javascript SDK for Facebook and do all the setup stuff for a Facebook application (in their Developers section). First we want to log into Facebook with FB.login, then we want to make requests for two things about the user: The names and IDs of the user’s friends. Getting the names and IDs of friends is simple — make the /me/friends request to the Graph API, and we get the data back in a handy JSON list: Now, for some FQL abuse: Drawing the Graph
An simple R interface to Google Documents An simple R interface to Google Documents This illustrates how to use the code that we put together quite rapidly to communicate with the Google Documents manager. It uses the XML and RCurl packages and illustrates that it is relatively quick and easy to use their primitives to interact with Web services. The first thing to do is login using getGoogleAuth() . auth = getGoogleAuth("dtemplelang@gmail.com", gpasswd) We can put this "permanently" into a Curl handle so that we don't need to specify it in all the calls with con = getGoogleDocsConnection(auth) We now just pass con as the value for the curl parameter in calls to the other functions. and where the con value is implicitly provided. Having logged in, we can find out about the existing documents. This is a list of R descriptions from the XML contents. names(docs) [1] "my foo1" [2] "my foo1" [3] "my foo1" [4] "my foo" [5] "another bob" [6] "\"~/foo.csv\"" [7] "SampleDoc" [8] "Copy of This is a sample document that we are..." [9] "bob" or
Learning R Python programming - creating PyQt4 gui applications, language introduction tutorials Home > Python programming - creating PyQt4 gui applications, language introduction tutorials Interesting Articles IronPython introduction for Python developers - A quick look at IronPython for Python / Linux developersScripting Ximea machine vision cameras in IronPython - Imaging with Ximea cameras using IronPython scriptsWorking with virtualenvs using virtualenvwrapper - How to manage and use multiple virtualenv instances using virtualenvwrapperTokyo Cabinet and Python - Tokyo Cabinet is a scalable key-value database that can be used in high performance applications, including Python.Using MongoDB in Python and PHP - MongoDB is a no-relational document database. Pylons Pylons and nginx - How to run pylons on nginxPylons on cherokee - How to run pylons on cherokee Google Wave RkTaggy - example Google Wave robot - RkTaggy is an example Google Wave robot written in Python. Tests and Benchmarks
mikedewar/d3py API cURL libcurl C Interface Overview There's the tutorial to start with, read the tutorial to get a general in-depth grip of what libcurl programming is all about. There are some example C source codes you can check out. They're not all-covering or even very extensive, but they might serve as a source of inspiration to start hacking. Dig into the Symbols In Versions document to learn in which libcurl releases symbols were added or removed. Windows developers using Microsoft Visual Studio, might enjoy: The easy interface is a synchronous, efficient, quickly used and... yes, easy interface for file transfers. The multi interface is the asynchronous brother in the family and it also offers multiple transfers using a single thread and more. When using libcurl you init your easy-session and get a handle, which you use as input to the following interface functions you use. You continue by setting all the options you want in the upcoming transfer, most important among them is the URL itself.