social network algorithms in java
hi all,
can anybody help me, i want to develop an application like that of amyspace wherein it shows your friends and friends of your friends, in short social networking. I don't know how to implement this one. Or can somebody give me a simple example for this?!
thanks in advance. Your help would be greatly appreciated. I just don't have any idea on how to start this.
Sure
package com.james_newbie.myspace.ripoff;
public class MySpaceRipoff {
// rest of code goes here
}
Do you seriously expect someone to post anything close to a complete social-networking website? Have you any idea how large a project that is? There's nothing that could be posted here that would be of any worth at all
"I'm thinking of porting XFree86 to Java, could anyone give me an example of how to do this?". Argh, when will the outrageously-scoped demands for code end?
I didn't understand, do you to create a service like myspace,
or simply an application that show to you the relations of friendship
between a group of users?
In the second case just model it as a graph where nodes are the users and an edge between two nodes occurs if the nodes/users know each other
(I do the same for protein networks)
Jocoa at 2007-7-12 22:20:20 >

Why would you want to create a myspace style application? Surely theres already one out there...... Myspace perhaps?
> Why would you want to create a myspace style> application? Surely theres already one out> there...... Myspace perhaps?Don't you recognize a bandwagon when you see one?
Ah ****... well I know what my next project should be :-)
> Ah ****... well I know what my next project should be> :-)Social networking website or a bandwagon-matching application?
thanks!!! you are of great help.
A bandwagon-matching appliation which dynamically creates the aforementioned wagon cargo ;-)
Pay me and I will give you a working code. Come on a FAQ forum and ask for code for an app as big as this expect the witty repartee :-)
> Sure
>
> > package com.james_newbie.myspace.ripoff;
>
> public class MySpaceRipoff {
>
>// rest of code goes here
> }
>
>
> Do you seriously expect someone to post anything
> close to a complete social-networking website? Have
> you any idea how large a project that is? There's
> nothing that could be posted here that would be of
> any worth at all
>
> "I'm thinking of porting XFree86 to Java, could
> anyone give me an example of how to do this?". Argh,
> when will the outrageously-scoped demands for code
> end?
thanks!!! you are of great help. all im asking is a little idea from you guys
Ok try looking up JSP for your web view and servlets for the processing of background info on a server.....
> > Sure
> >
> > > > package com.james_newbie.myspace.ripoff;
> >
> > public class MySpaceRipoff {
> >
> >// rest of code goes here
> > }
> >
> >
> > Do you seriously expect someone to post anything
> > close to a complete social-networking website?
> Have
> > you any idea how large a project that is? There's
> > nothing that could be posted here that would be of
> > any worth at all
> >
> > "I'm thinking of porting XFree86 to Java, could
> > anyone give me an example of how to do this?".
> Argh,
> > when will the outrageously-scoped demands for code
> > end?
>
> thanks!!! you are of great help. all im asking is a
> little idea from you guys
I am of great help. I'm helping you understand the futility of your question. There is no "little idea" to be had here, the project is too large in scope for us to give you anything of worth. You've not even bothered to come up with any requirements, all you've done is said "I want to rip off myspace. How do I do it?". How are we expected to answer that? Think about it, what is it you're actually asking? If you're just asking for "a little idea" that really means you don't know what you want to do, and need someone else to tell you exactly how to build a fairly large, complex website from scratch. Is that really something that can be answered in a forum?
Don't fall into the typical newbie trap here, and get into a flame war because I didnt' fall over and give you exactly what you expected to hear. We see this happen every single day now, and it always ends the same way - you get no help, and ensure you probably never will because you were rude. Distinguish yourself from those other losers and realise you've asked a duff question
> Don't fall into the typical newbie trap here, and get
> into a flame war because I didnt' fall over and give
> you exactly what you expected to hear. We see this
> happen every single day now, and it always ends the
> same way - you get no help, and ensure you probably
> never will because you were rude. Distinguish
> yourself from those other losers and realise you've
> asked a duff question
Alternatively if your too stubborn too follow this advice do what the other numptys do and create a different account and ask the exact same question in a couple of days ;-)
> > Don't fall into the typical newbie trap here, and
> get
> > into a flame war because I didnt' fall over and
> give
> > you exactly what you expected to hear. We see this
> > happen every single day now, and it always ends
> the
> > same way - you get no help, and ensure you
> probably
> > never will because you were rude. Distinguish
> > yourself from those other losers and realise
> you've
> > asked a duff question
>
> Alternatively if your too stubborn too follow this
> advice do what the other numptys do and create a
> different account and ask the exact same question in
> a couple of days ;-)
Which I guarantee you will not work. Never does
Indeed yet for some reason they still try.....
> > > Sure
> > >
> > > > > > package com.james_newbie.myspace.ripoff;
> > >
> > > public class MySpaceRipoff {
> > >
> > >// rest of code goes here
> > > }
> > >
> > >
> > > Do you seriously expect someone to post anything
> > > close to a complete social-networking website?
> > Have
> > > you any idea how large a project that is?
> There's
> > > nothing that could be posted here that would be
> of
> > > any worth at all
> > >
> > > "I'm thinking of porting XFree86 to Java, could
> > > anyone give me an example of how to do this?".
> > Argh,
> > > when will the outrageously-scoped demands for
> code
> > > end?
> >
> > thanks!!! you are of great help. all im asking is
> a
> > little idea from you guys
>
> I am of great help. I'm helping you understand the
> futility of your question. There is no "little idea"
> to be had here, the project is too large in scope for
> us to give you anything of worth. You've not even
> bothered to come up with any requirements, all you've
> done is said "I want to rip off myspace. How do I do
> it?". How are we expected to answer that? Think about
> it, what is it you're actually asking? If you're just
> asking for "a little idea" that really means you
> don't know what you want to do, and need someone else
> to tell you exactly how to build a fairly large,
> complex website from scratch. Is that really
> something that can be answered in a forum?
>
> Don't fall into the typical newbie trap here, and get
> into a flame war because I didnt' fall over and give
> you exactly what you expected to hear. We see this
> happen every single day now, and it always ends the
> same way - you get no help, and ensure you probably
> never will because you were rude. Distinguish
> yourself from those other losers and realise you've
> asked a duff question
i am sorry , i know its my fault. thanks anyways. You just made me realize that i should not give up then. Actually, i have already started this one and just wanted to improve this by getting ideas. thanks and godbless you!
Have you got a name for this wonder app in case we use it in the future?
> > > > Sure
> > > >
> > > > > > > > package com.james_newbie.myspace.ripoff;
> > > >
> > > > public class MySpaceRipoff {
> > > >
> > > >// rest of code goes here
> > > > }
> > > >
> > > >
> > > > Do you seriously expect someone to post
> anything
> > > > close to a complete social-networking website?
> > > Have
> > > > you any idea how large a project that is?
> > There's
> > > > nothing that could be posted here that would
> be
> > of
> > > > any worth at all
> > > >
> > > > "I'm thinking of porting XFree86 to Java,
> could
> > > > anyone give me an example of how to do this?".
> > > Argh,
> > > > when will the outrageously-scoped demands for
> > code
> > > > end?
> > >
> > > thanks!!! you are of great help. all im asking
> is
> > a
> > > little idea from you guys
> >
> > I am of great help. I'm helping you understand the
> > futility of your question. There is no "little
> idea"
> > to be had here, the project is too large in scope
> for
> > us to give you anything of worth. You've not even
> > bothered to come up with any requirements, all
> you've
> > done is said "I want to rip off myspace. How do I
> do
> > it?". How are we expected to answer that? Think
> about
> > it, what is it you're actually asking? If you're
> just
> > asking for "a little idea" that really means you
> > don't know what you want to do, and need someone
> else
> > to tell you exactly how to build a fairly large,
> > complex website from scratch. Is that really
> > something that can be answered in a forum?
> >
> > Don't fall into the typical newbie trap here, and
> get
> > into a flame war because I didnt' fall over and
> give
> > you exactly what you expected to hear. We see this
> > happen every single day now, and it always ends
> the
> > same way - you get no help, and ensure you
> probably
> > never will because you were rude. Distinguish
> > yourself from those other losers and realise
> you've
> > asked a duff question
>
> i am sorry , i know its my fault. thanks anyways. You
> just made me realize that i should not give up then.
> Actually, i have already started this one and just
> wanted to improve this by getting ideas. thanks and
> godbless you!
No, don't give up. Just don't expect someone to be able to sum up this rather large project in a couple of sentences, or a few lines of code. Do some planning, work out what you think you need for this, come to us with specific problems. Simply asking for "ideas" is meaningless, we have no idea what you plan to do, what you've already got and what you're capable of. Think about it: what sort of answer did you expect? I'm not being an @sshole, just think about it
