social-networking

What scalability issues are associated with NetworkX?

浪子不回头ぞ 提交于 2019-12-03 01:39:37
问题 I'm interested in network analysis on large networks with millions of nodes and tens of millions of edges. I want to be able to do things like parse networks from many formats, find connected components, detect communities, and run centrality measures like PageRank. I am attracted to NetworkX because it has a nice api, good documentation, and has been under active development for years. Plus because it is in python, it should be quick to develop with. In a recent presentation (the slides are

Google Sign-In with LibGDX

非 Y 不嫁゛ 提交于 2019-12-02 22:49:29
问题 I've a problem. I'm making a game with LibGDX. Now I want to implement Google Sign-In. I searched everywhere, but can't find anything. What I need is a Resolver to abstract code for specific platform, but I don't know how to do it. Can someone help? EDIT Here's the code, this is my Android Resolver: public GoogleResolverAndroid(final Context context) { handler = new Handler(); this.context = context; GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN

Patterns for building social network type applications?

余生颓废 提交于 2019-12-02 21:24:41
I need to design / architect / develop a web based social network type application. Basic functionality: - users create accounts on the system - users agree to "friend" each other - users create content within system - users specifies which friends may view/edit content that they created Surely this core functionality has been created many times before? Are there any best practice patterns out there for how to implement this sort of thing? I'm most interested in how the database for this would look. What would this look like from a SQL perspective (any database)? What would this look like from

Understanding and building a social network algorithm

◇◆丶佛笑我妖孽 提交于 2019-12-02 21:22:13
I am not sure whether this is the right platform to ask this question. But my problem statement is : I have a book shop & x no of clients (x is huge). A client can tell me whether a book is a good or bad (not recommended). I have a internal logic to club books together , so if a client says a book is bad, he is saying that similar books are bad too and don't show him that. I oblige and hide those books. Clients can also interact among themselves, and have a mutual confidence level between them. A case arises when client A says Book X1 is bad. Hence i blacklist X1,X2,X3,X4 etc. But his friend

Social Network in Rails - which framework

元气小坏坏 提交于 2019-12-02 21:21:09
Should I use: Community Engine Insoshi LovdByLess RailsSpace Roll-my-own I am looking to quickly get a social network up with support for mobile browsing. While I'm familiar with Ruby & Rails, I am not an expert (have built some basic Rails apps, have written a bunch of Ruby programs for enterprise integration). Thanks, skybison insoshi is quite ok, i used it in a past project. although i can also recommend rolling your own, which is not such a big problem with all the existing gems out there. i can recommend starting with authlogic (authentication) - then paperclip (attachments). all the

generating a community graph in igraph

一笑奈何 提交于 2019-12-02 21:06:19
I have been searching for an answer to this question but could not find any mention, so I decided to post here. I am trying to see if igraph or any packages provide a simple way to create a "community graph" where each node represents a community in the network and the ties represent ties between the communities. I can get the community detection algorithm to work fine in igraph, but I could not find a way to collapse the results to just show connections between each community. Any assistance would be appreciated. You can simply use the contract.vertices() function. This contracts groups of

How to write Facebook/Twitter to address book in iOS?

时间秒杀一切 提交于 2019-12-02 19:04:43
问题 In my app I export some data to the address book in order to create some new contact entries. I can export everything I want to without problem, except Facebook and Twitter addresses. I'm completely lost on these two. Here's some code I'm using to export non-Facebook/Twitter data that DOES work: ABMutableMultiValueRef multiPhone = ABMultiValueCreateMutable(kABMultiStringPropertyType); ABMultiValueAddValueAndLabel(multiPhone, (__bridge CFTypeRef)(thePhoneMobile), kABPersonPhoneMobileLabel,

Efficient way to implement LinkedIn like “How you are connected to” feature?

≯℡__Kan透↙ 提交于 2019-12-02 17:45:51
LinkedIn has this cool feature in which while visiting some user's profile, LinkedIn prompts how you are connecting to that user through the network. Assuming that the visitor and the profile owner are two nodes of a graph where the nodes represent users and edge represents friendship, a simple solution could be a bfs starting from both the nodes up to certain level and see if there are any intersections. The intersections would be the network link-nodes. Although this sounds neat, the problem is that in order to determine friends of each person, a separate DB query is needed. When the network

Delivering activity feed items in a moderately scalable way

╄→гoц情女王★ 提交于 2019-12-02 17:11:56
The application I'm working on has an activity feed where each user can see their friends' activity (much like Facebook). I'm looking for a moderately scalable way to show a given users' activity stream on the fly. I say 'moderately' because I'm looking to do this with just a database (Postgresql) and maybe memcached. For instance, I want this solution to scale to 200k users each with 100 friends. Currently, there is a master activity table that stores the rendered html for the given activity (Jim added a friend, George installed an application, etc.). This master activity table keeps the

What scalability issues are associated with NetworkX?

被刻印的时光 ゝ 提交于 2019-12-02 15:08:54
I'm interested in network analysis on large networks with millions of nodes and tens of millions of edges. I want to be able to do things like parse networks from many formats, find connected components, detect communities, and run centrality measures like PageRank. I am attracted to NetworkX because it has a nice api, good documentation, and has been under active development for years. Plus because it is in python, it should be quick to develop with. In a recent presentation (the slides are available on github here ), it was claimed that: Unlike many other tools, NX is designed to handle data