Re: [freenet-dev] responses to WoT/search questions

2010-03-30 Thread Evan Daniel
On Wed, Mar 31, 2010 at 12:22 AM, Ximin Luo  wrote:
> have you joined the freenet-dev mailing list? in future i'd like to have these
> discussions there so that other people can see it too.
>
> (03:53:26) lusha: hi, can i ask a question about WOT?
> (03:55:33) evanbd: No need to ask permission :)
> (03:56:12) lusha: is there any document for this?
> (03:56:32) lusha: i dont quite understand how they evaluate trust
>
> (i think) WoT uses a flow-based metric similar to advogato (www.advogato.org) 
> -
> see the source code (plugin-WoT-staging), or ask p0s on IRC (xor on the 
> mailing
> list) for specific details. atm the implementation requires retrieving trust
> scores for everyone on the network, which won't scale in the long run.

No.  The current WoT code is neither flow-based nor particularly
related to the Advogato algorithm.  It's purely alchemical, having
neither a proper specification as to the problem being solved nor any
sort of theoretical basis to believe it solves that unspecified
problem.

Retrieving trust lists for large numbers of nodes should scale fairly
well, as long as the updates can be slow.  IMHO the only real problem
presented is startup for a new user (downloading a few tens of MiB of
scores might take a little while).  Specifically, I don't think the
scaling problem is any different or worse than the scaling problem
inherent in trying to retrieve messages from that many users.  And,
whether it's a problem or not, there are *vastly* more important
things to worry about than what to do once we have 1M users -- like
how to get that many users in the first place.  That sort of scaling
problem gets put in the "nice problems to have" category in my book.

Evan Daniel
___
Devl mailing list
Devl@freenetproject.org
http://osprey.vm.bytemark.co.uk/cgi-bin/mailman/listinfo/devl


[freenet-dev] responses to WoT/search questions

2010-03-30 Thread Ximin Luo
have you joined the freenet-dev mailing list? in future i'd like to have these
discussions there so that other people can see it too.

(03:53:26) lusha: hi, can i ask a question about WOT?
(03:55:33) evanbd: No need to ask permission :)
(03:56:12) lusha: is there any document for this?
(03:56:32) lusha: i dont quite understand how they evaluate trust

(i think) WoT uses a flow-based metric similar to advogato (www.advogato.org) -
see the source code (plugin-WoT-staging), or ask p0s on IRC (xor on the mailing
list) for specific details. atm the implementation requires retrieving trust
scores for everyone on the network, which won't scale in the long run.

(03:56:48) lusha: is this for darknet?
(03:56:57) evanbd: No.
(03:57:05) evanbd: WoT is unrelated to core routing, etc.
(03:57:24) evanbd: WoT is purely for evaluating the users of messaging apps for
whether or not they're spammers.

darknet works on connections between *nodes*, ie. running instances of freenet.

WoT works on virtual identities - whenever you make a new SSK (read about this
on the wiki), the priv/pub keypair you generate gives you a cryptographic
identity, which you can use as a pseudonym, or "virtual identity".

these work on independent layers; darknet is on the node layer, WoT is on the
application layer. so, eg. if you have the right keypair, you can update that
virtual identity from any freenet node. every action done using the same
identity can be inferred to be from the same person, but you don't know which
freenet node they're running.

(03:58:00) lusha: it is related to search, indexing, right?
(03:58:15) evanbd: At present, no.  Eventually, yes.
(03:58:36) evanbd: Well, depending...
(03:58:48) lusha: i know...because one of the project is to make search
compatible with wot
(03:58:52) evanbd: It's for messaging apps, filesharing apps, and other things
with users.
(03:59:07) lusha: actually, not search...but the scalable indexing approach
(03:59:18) lusha: i am just not quite understand wot
(03:59:30) evanbd: Well, IMHO that has "make search work" and "make distributed
indexing work" as prerequisites, but others might disagree.
(03:59:39) evanbd: What don't you understand?

at the moment, the keyword search system works on the application layer.
freenet (fred) itself has no conception of content semantics (impossible anyway
since everything is encrypted)

X

___
Devl mailing list
Devl@freenetproject.org
http://osprey.vm.bytemark.co.uk/cgi-bin/mailman/listinfo/devl


Re: [freenet-dev] GSoC 2010 --- developing a firefox plugin

2010-03-30 Thread Ximin Luo
On 03/30/2010 07:35 PM, Kyle Messner wrote:
> My first question is what kind of languages and APIs I would need to work
> with to improve the web interface. Also, I noticed a link to a wiki article
> on an "fproxy" mockup. Is this actually finished and implemented? If so, I
> assume most of my work would be in improving this interface? If not, should
> one of my goals be implementing this interface?

i don't know detail about this area myself, but there was a big discussion
about it 2 months ago on this mailing list. you might want to have a look
through the archives; the first message was

From: Ian Clarke 
Date: Fri, 5 Feb 2010 22:10:53 -0600
Subject: [freenet-dev] Some (very) preliminary mock-ups of new UI

and there are about 80 messages in the entire thread (with different subjects,
but all with proper References: headers).

Also, someone else will email soon to give more detailed information, I expect.

X
___
Devl mailing list
Devl@freenetproject.org
http://osprey.vm.bytemark.co.uk/cgi-bin/mailman/listinfo/devl


[freenet-dev] [GSoC 2010] - Transport plug-ins

2010-03-30 Thread Pratibha Sundar
Hi,

I'm interested in the Transport plug-ins project. Please tell me whom to
contact for further information.

Regards,
S Pratibha Sundar
-- next part --
An HTML attachment was scrubbed...
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20100330/6bba1488/attachment.html>


Re: [freenet-dev] git tree weirdness in WoT\

2010-03-30 Thread David ‘Bombe’ Roden
On Tuesday 30 March 2010 12:35:00 Ximin Luo wrote:

> > No, it will not. If work on the branch continues (which is unlikely
> > because it has been merged so further work would happen on the master
> > branch) I would just merge master again. Simple and beautiful.
> 
> What I meant by weird was it'll look like this:
> 
> -o---o   o---o <- master
>   \ /
>\   /
> \ /
> -o---o---o---o---o <- identicon
> 
> which looks like master was pulled into identicon then branched off again.
> Which is basically what has happened here without --no-ff.

No, it doesn’t. The situation looked kind of like this:

-o-o-o---o <- master
  \   \
   o-o-o---o <- bombe/identicon

After merging the identicon branch into master it looks like:

-o-o-o---o
  \   \
   o-o-o---o <- master / bombe/identicon

With --no-ff you would get:

-o-o-o---o---o <- master
  \   \ /
   o-o-o---o <- bombe/identicon

This looks more confusing IMHO.


> But it should really look like this:
> 
> -o---o---o---o---o  <- master
> /
>/
>   /
> -o---o---o---o  <- identicon

No, it shouldn’t. There are no commits in the identicon branch that are not 
merged into master.


> If you are going to have a merge-and-push workflow then it makes sense to
> do this consistently, and generate a merge commit whenever you pull from a
> repo that you are not tracking.

We are not aiming for a workflow containing a push. What (I think) we want to 
utilize is the workflow that is used by e.g. the Linux team and the Git team, 
where only a few persons have access to the official repository, pulling 
changes from various other people that are doing the “hard work.” In that 
workflow fast-forward commits are actually preferable because they do not 
cause a merge and are thus less likely to cause conflicts and grieve. :)


> X

Bombe


signature.asc
Description: This is a digitally signed message part.
___
Devl mailing list
Devl@freenetproject.org
http://osprey.vm.bytemark.co.uk/cgi-bin/mailman/listinfo/devl

[freenet-dev] GSoC 2010 --- developing a firefox plugin

2010-03-30 Thread Kyle Messner
No need to apologize, thanks for the feedback! I took a look at the idea
list, and I'm very interested in implementing at least one (if not several,
time permitting) of the client improvement ideas. My top priority would be
improving the web interface generally and helping to improve the content
filters. That is, I'd make improving the web interface my main goal, and if
I have time I'd like to help contribute to at least one or two content
filters. I feel that a clean, streamlined, bug-free interface is one of the
most important things to have when trying to get users interested in a piece
of software and keep them interested. It's also something that I believe
would be well within my ability to help implement while still presenting a
challenge and helping to further my programming abilities. I also feel like
it would be a great way to get my feet wet in the Freenet project, and
perhaps after GSoC it would allow me to move on try to contribute to other
various parts of the Freenet code.

My first question is what kind of languages and APIs I would need to work
with to improve the web interface. Also, I noticed a link to a wiki article
on an "fproxy" mockup. Is this actually finished and implemented? If so, I
assume most of my work would be in improving this interface? If not, should
one of my goals be implementing this interface?

On Thu, Mar 25, 2010 at 8:07 PM,  wrote:

> Currently, freenet runs as a background service, with a local web interface
> to
> be accessed through your browser - if I understood you right, you want to
> move
> the service into a browser plugin? Sorry, but this is definitely not
> feasible -
> there is far too much to implement. Even if it was, I'm not sure if it's
> such a
> good idea - firefox isn't exactly the lightest of browsers, freenet isn't
> light
> either; a plugin would slow the performance of both considerably.
>
> That said, you seem to be very enthusiastic about the project and its
> ideals -
> maybe you'd be interested in a different proposal idea? We do have an ideas
> page; feel free to just lift stuff straight off it:
>
> http://new-wiki.freenetproject.org/Google_Summer_of_Code/2010
>
> Again, sorry if this email seems abrupt, I definitely don't intend for you
> to
> feel discouraged - there is plenty of stuff for you to pick and do - I just
> thought I'd give a quick reply so that you don't waste your time chasing
> the
> path you suggested.
>
> X
>
> > So there it is, there's my idea. I'd like to implement as much of the
> > freenet features as possible as a browser plug-in to firefox. The most
> > important features I'd like to implement are viewing freenet sites, using
> > the email client, and using the message service, although I'd like to get
> to
> > as many as I can. I'd like to know what Freenet thinks of this idea, and
> if
> > they think it would be a feasible GSoC project to propose.
> >
> > A little more about me. I'm currently finishing up my sophomore year in
> > pursuit of a bachelor's degree in Computer Science (hopefully move on to
> my
> > master's after). I'm very passionate about software design, especially in
> > the world of open-source (although I believe proprietary software has its
> > place, too). I have some experience with C++ and JavaScript, most of my
> > experience lies with Java, Visual C#, and Visual Basic (I also had 5
> > semesters of Pascal in high school which helped teach me many fundamental
> > concepts about programming). I'm a quick learner, and self-teacher.
> > Developing software for an open-source project sounds like an ideal
> summer
> > job to me :)
> >
> > Look forward to hearing back,
> > Kyle
>
-- next part --
An HTML attachment was scrubbed...
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20100330/2f34c3b8/attachment.html>


[freenet-dev] [GSoC 2010] - Transport plug-ins

2010-03-30 Thread xor
On Tuesday 30 March 2010 01:07:21 pm Pratibha Sundar wrote:
> I'm interested in the Transport plug-ins project. Please tell me whom to
> contact for further information.

Just ask here and people will answer.
-- next part --
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20100330/0773939d/attachment.pgp>


[freenet-dev] [GSoC 2010] - Transport plug-ins

2010-03-30 Thread Ximin Luo
On 03/30/2010 12:07 PM, Pratibha Sundar wrote:
> I'm interested in the Transport plug-ins project. Please tell me whom to
> contact for further information.

Hi Pratibha. As xor said, if you have any questions about the details of a
transport plugins project, just ask here, or on #freenet on freenode.

There is no point in asking for "further information" without telling us what
you already know; otherwise we would waste our time by telling you things you
know already, and/or things you can't yet understand.

If you are starting completely from scratch, have a read of the GSoC ideas page
on the new wiki. Learn the basics of how freenet works, and the subtopics
needed to implement a transport plugin. Also, build and install freenet and
have a quick browse through the source code.

Additionally, on top of the project proposal, we recommend that applicants
contribute a bugfix or a minor feature, to demonstrate a good coding ability.

X



Re: [freenet-dev] GSoC 2010 --- developing a firefox plugin

2010-03-30 Thread Kyle Messner
No need to apologize, thanks for the feedback! I took a look at the idea
list, and I'm very interested in implementing at least one (if not several,
time permitting) of the client improvement ideas. My top priority would be
improving the web interface generally and helping to improve the content
filters. That is, I'd make improving the web interface my main goal, and if
I have time I'd like to help contribute to at least one or two content
filters. I feel that a clean, streamlined, bug-free interface is one of the
most important things to have when trying to get users interested in a piece
of software and keep them interested. It's also something that I believe
would be well within my ability to help implement while still presenting a
challenge and helping to further my programming abilities. I also feel like
it would be a great way to get my feet wet in the Freenet project, and
perhaps after GSoC it would allow me to move on try to contribute to other
various parts of the Freenet code.

My first question is what kind of languages and APIs I would need to work
with to improve the web interface. Also, I noticed a link to a wiki article
on an "fproxy" mockup. Is this actually finished and implemented? If so, I
assume most of my work would be in improving this interface? If not, should
one of my goals be implementing this interface?

On Thu, Mar 25, 2010 at 8:07 PM,  wrote:

> Currently, freenet runs as a background service, with a local web interface
> to
> be accessed through your browser - if I understood you right, you want to
> move
> the service into a browser plugin? Sorry, but this is definitely not
> feasible -
> there is far too much to implement. Even if it was, I'm not sure if it's
> such a
> good idea - firefox isn't exactly the lightest of browsers, freenet isn't
> light
> either; a plugin would slow the performance of both considerably.
>
> That said, you seem to be very enthusiastic about the project and its
> ideals -
> maybe you'd be interested in a different proposal idea? We do have an ideas
> page; feel free to just lift stuff straight off it:
>
> http://new-wiki.freenetproject.org/Google_Summer_of_Code/2010
>
> Again, sorry if this email seems abrupt, I definitely don't intend for you
> to
> feel discouraged - there is plenty of stuff for you to pick and do - I just
> thought I'd give a quick reply so that you don't waste your time chasing
> the
> path you suggested.
>
> X
>
> > So there it is, there's my idea. I'd like to implement as much of the
> > freenet features as possible as a browser plug-in to firefox. The most
> > important features I'd like to implement are viewing freenet sites, using
> > the email client, and using the message service, although I'd like to get
> to
> > as many as I can. I'd like to know what Freenet thinks of this idea, and
> if
> > they think it would be a feasible GSoC project to propose.
> >
> > A little more about me. I'm currently finishing up my sophomore year in
> > pursuit of a bachelor's degree in Computer Science (hopefully move on to
> my
> > master's after). I'm very passionate about software design, especially in
> > the world of open-source (although I believe proprietary software has its
> > place, too). I have some experience with C++ and JavaScript, most of my
> > experience lies with Java, Visual C#, and Visual Basic (I also had 5
> > semesters of Pascal in high school which helped teach me many fundamental
> > concepts about programming). I'm a quick learner, and self-teacher.
> > Developing software for an open-source project sounds like an ideal
> summer
> > job to me :)
> >
> > Look forward to hearing back,
> > Kyle
>
___
Devl mailing list
Devl@freenetproject.org
http://osprey.vm.bytemark.co.uk/cgi-bin/mailman/listinfo/devl

[freenet-dev] git tree weirdness in WoT

2010-03-30 Thread Ximin Luo
On 03/30/2010 07:23 AM, David ?Bombe? Roden wrote:
> No, it will not. If work on the branch continues (which is unlikely because 
> it 
> has been merged so further work would happen on the master branch) I would 
> just merge master again. Simple and beautiful.

What I meant by weird was it'll look like this:

-o---o   o---o <- master
  \ /
   \   /
\ /
-o---o---o---o---o <- identicon

which looks like master was pulled into identicon then branched off again.
Which is basically what has happened here without --no-ff. But it should really
look like this:

-o---o---o---o---o  <- master
/
   /
  /
-o---o---o---o  <- identicon

If you are going to have a merge-and-push workflow then it makes sense to do
this consistently, and generate a merge commit whenever you pull from a repo
that you are not tracking.

X



[freenet-dev] A microblogging and/or real-time chat system of GSOC

2010-03-30 Thread Evan Daniel
I suggest you think of it more like Twitter than IRC.  I believe that
Twitter is a more natural match to the sort of protocol you need to
use over Freenet.  So, when you say something, anyone who is following
you can see it.  So can anyone who searches for any hashtags you used.

You seem to have some misconceptions about how Freenet works.  Have
you installed Freenet and started using it yet?  I also highly
recommend you read some of the papers about Freenet and look around
the wiki a bit.  And ask questions if it's not clear!  In short, there
are two operations that the network supports: insert and fetch.
Insert takes some data, and a key that will refer to it, and sends the
data out onto the network.  It is passed from node to node, and routed
toward nodes with a location dependent on the key.  Nodes along the
route keep a copy of it.  Fetching is similar: the fetch request takes
a key, and the request is routed toward nodes with nearby locations,
until a node is found that has a copy of the data (because it was also
part of the insert path, or part of a previous successful fetch path).
 The data is then sent back to the requester, and nodes along the path
keep a copy.  The data isn't stored on the inserter's computer; it's
stored on other computers on the network.

For a microblogging app, each post will be inserted into the network,
and anyone following you will fetch your posts.  If you go offline, it
doesn't matter: your posts are already inserted into the network, and
therefore available for anyone to fetch.  If your followers go
offline, then they can just fetch your posts when they return.

And you're right that p2p makes messaging somewhat awkward.  But, if
there's a central server, then you're dependent on them.  If they
decide to censor you, there's nothing you can do.  So, I don't see an
alternative that would meet Freenet's goals.  However, I don't think
it's as awkward as seem to think: the insert and fetch operations
provided by Freenet, while somewhat awkward to use, are actually very
powerful.  Having the data persist in the cloud (mostly) independent
of which computers are online is quite powerful.

I'm not terribly familiar with UI technologies, so I can't say what's
a good or bad idea for that, really.  You should plan to have your
program be a plugin for fred; I suggest you take a look at other
plugins to get an idea for what that means.

Evan Daniel

On Tue, Mar 30, 2010 at 10:14 AM, ???  wrote:
> Hi,
>
> Thank you for telling me so many things about the microblogging. I do not
> really sure whether I have understand all the things. I think what you mean
> is that the system is similar as chat room. If I input something, everyone
> who is my friend should see the comment and I can also chat with some one I
> want to. If I understand it correct, I think use JAVA RMI or Web Service may
> be a easy way to complete it. But I have?three questions. First, if I need
> to embedd this system into the Freenet, I think it is very different as web
> application. I should use Swing instead of JSP, JSTL and CSS to complete the
> UI. Second, as it is a whole P2P system, it will work well when everyone is
> on line. But if I am off line, others cannot receive my provious comments.
> Third, if my friend off line, do I need to store my comments in my computer
> and send it when they on line? All the question is around the P2P method
> because I have no server to store the messages. I think P2P is not a good
> way to do message publish and menegement. Can you provide some hint about
> how to deal with these problem.
>
> Thank you for helping me.
>
> Sincerely,
>
> Tianyi Chen
>
>
>
>
>
> On Fri, Mar 26, 2010 at 2:28 PM, ???  wrote:
>> Hi,
>>
>> I am interested in A microblogging and/or real-time chat system of GSOC
>> and
>> the description said that a fair amount of work on how to efficiently
>> implement microblogging over Freenet have been done. I am wordering that
>> if
>> I want to join this project, I should build a independent use any
>> technology
>> and framework I want such as Struts + Spring + Hibernate or I should
>> embedded the microblogging in to the Freenet code as the whole system. And
>> I
>> think Freenet have had strong ability in file distribute so that add
>> real-time chat system is really easy for you because you only need to
>> connect others by knowing their IP address. Could give me a short
>> description about what is the objective of this project and what kind of
>> technology you really want? I am now builiding by own SNS website by using
>> Struts + Spring + Hibernate and Ajax and have some experience about file
>> download software with multithreading control. Could you tell me what is
>> the
>> most different between this project and my provious projects?
>>
>> By the way, do I need to design the entity, relationship and attribute for
>> database by meself? What database you use? (I have MySQL and Oracle 10g
>> experience)?
>
> I'll let someone else speak to the gsoc i

[freenet-dev] A microblogging and/or real-time chat system of GSOC

2010-03-30 Thread 陈天一
ers.

Evan Daniel
-- next part --
An HTML attachment was scrubbed...
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20100330/98607d77/attachment.html>


[freenet-dev] git tree weirdness in WoT

2010-03-30 Thread David ‘Bombe’ Roden
On Tuesday 30 March 2010 00:15:32 Ximin Luo wrote:

> ahhh i see the problem. since Bombe's identicon branch was ahead of master,
> when you did "git merge", git automatically resolved this as a
> fast-forward, and moved the master branch pointer on top of the
> "identicon" branch pointer, instead of doing a merge-by-recursive[1]
> commit.

The way you are saying that implies that Git?s current behaviour is wrong. 
IMHO it?s correct because this is the sensible thing to do but that can be 
argued, of course. :)


> to avoid this in future, use "git merge --no-ff"

I would advise against that. There is no reason to introduce an artificial 
merge commit if it is not necessary.


> just remember to --no-ff, and it'll work properly.

It will work properly without --no-ff, too. :)


> actually, never mind, it's OK. i got confused myself too. the history will
> look even weirder when Bombe starts working on the identicon branch again,
> but that doesn't matter too much i suppose.

No, it will not. If work on the branch continues (which is unlikely because it 
has been merged so further work would happen on the master branch) I would 
just merge master again. Simple and beautiful.


David
-- next part --
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20100330/ccef7706/attachment.pgp>


Re: [freenet-dev] A microblogging and/or real-time chat system of GSOC

2010-03-30 Thread Evan Daniel
I suggest you think of it more like Twitter than IRC.  I believe that
Twitter is a more natural match to the sort of protocol you need to
use over Freenet.  So, when you say something, anyone who is following
you can see it.  So can anyone who searches for any hashtags you used.

You seem to have some misconceptions about how Freenet works.  Have
you installed Freenet and started using it yet?  I also highly
recommend you read some of the papers about Freenet and look around
the wiki a bit.  And ask questions if it's not clear!  In short, there
are two operations that the network supports: insert and fetch.
Insert takes some data, and a key that will refer to it, and sends the
data out onto the network.  It is passed from node to node, and routed
toward nodes with a location dependent on the key.  Nodes along the
route keep a copy of it.  Fetching is similar: the fetch request takes
a key, and the request is routed toward nodes with nearby locations,
until a node is found that has a copy of the data (because it was also
part of the insert path, or part of a previous successful fetch path).
 The data is then sent back to the requester, and nodes along the path
keep a copy.  The data isn't stored on the inserter's computer; it's
stored on other computers on the network.

For a microblogging app, each post will be inserted into the network,
and anyone following you will fetch your posts.  If you go offline, it
doesn't matter: your posts are already inserted into the network, and
therefore available for anyone to fetch.  If your followers go
offline, then they can just fetch your posts when they return.

And you're right that p2p makes messaging somewhat awkward.  But, if
there's a central server, then you're dependent on them.  If they
decide to censor you, there's nothing you can do.  So, I don't see an
alternative that would meet Freenet's goals.  However, I don't think
it's as awkward as seem to think: the insert and fetch operations
provided by Freenet, while somewhat awkward to use, are actually very
powerful.  Having the data persist in the cloud (mostly) independent
of which computers are online is quite powerful.

I'm not terribly familiar with UI technologies, so I can't say what's
a good or bad idea for that, really.  You should plan to have your
program be a plugin for fred; I suggest you take a look at other
plugins to get an idea for what that means.

Evan Daniel

On Tue, Mar 30, 2010 at 10:14 AM, 陈天一  wrote:
> Hi,
>
> Thank you for telling me so many things about the microblogging. I do not
> really sure whether I have understand all the things. I think what you mean
> is that the system is similar as chat room. If I input something, everyone
> who is my friend should see the comment and I can also chat with some one I
> want to. If I understand it correct, I think use JAVA RMI or Web Service may
> be a easy way to complete it. But I have three questions. First, if I need
> to embedd this system into the Freenet, I think it is very different as web
> application. I should use Swing instead of JSP, JSTL and CSS to complete the
> UI. Second, as it is a whole P2P system, it will work well when everyone is
> on line. But if I am off line, others cannot receive my provious comments.
> Third, if my friend off line, do I need to store my comments in my computer
> and send it when they on line? All the question is around the P2P method
> because I have no server to store the messages. I think P2P is not a good
> way to do message publish and menegement. Can you provide some hint about
> how to deal with these problem.
>
> Thank you for helping me.
>
> Sincerely,
>
> Tianyi Chen
>
>
>
>
>
> On Fri, Mar 26, 2010 at 2:28 PM, ???  wrote:
>> Hi,
>>
>> I am interested in A microblogging and/or real-time chat system of GSOC
>> and
>> the description said that a fair amount of work on how to efficiently
>> implement microblogging over Freenet have been done. I am wordering that
>> if
>> I want to join this project, I should build a independent use any
>> technology
>> and framework I want such as Struts + Spring + Hibernate or I should
>> embedded the microblogging in to the Freenet code as the whole system. And
>> I
>> think Freenet have had strong ability in file distribute so that add
>> real-time chat system is really easy for you because you only need to
>> connect others by knowing their IP address. Could give me a short
>> description about what is the objective of this project and what kind of
>> technology you really want? I am now builiding by own SNS website by using
>> Struts + Spring + Hibernate and Ajax and have some experience about file
>> download software with multithreading control. Could you tell me what is
>> the
>> most different between this project and my provious projects?
>>
>> By the way, do I need to design the entity, relationship and attribute for
>> database by meself? What database you use? (I have MySQL and Oracle 10g
>> experience)?
>
> I'll let someone else speak to the gsoc i

[freenet-dev] A microblogging and/or real-time chat system of GSOC

2010-03-30 Thread 陈天一
Hi,

Thank you for telling me so many things about the microblogging. I do not
really sure whether I have understand all the things. I think what you mean
is that the system is similar as chat room. If I input something, everyone
who is my friend should see the comment and I can also chat with some one I
want to. If I understand it correct, I think use JAVA RMI or Web Service may
be a easy way to complete it. But I have three questions. First, if I need
to embedd this system into the Freenet, I think it is very different as web
application. I should use Swing instead of JSP, JSTL and CSS to complete the
UI. Second, as it is a whole P2P system, it will work well when everyone is
on line. But if I am off line, others cannot receive my provious comments.
Third, if my friend off line, do I need to store my comments in my computer
and send it when they on line? All the question is around the P2P method
because I have no server to store the messages. I think P2P is not a good
way to do message publish and menegement. Can you provide some hint about
how to deal with these problem.

Thank you for helping me.

Sincerely,

Tianyi Chen





On Fri, Mar 26, 2010 at 2:28 PM, ???  wrote:
> Hi,
>
> I am interested in A microblogging and/or real-time chat system of GSOC
and
> the description said that a fair amount of work on how to efficiently
> implement microblogging over Freenet have been done. I am wordering that
if
> I want to join this project, I should build a independent use any
technology
> and framework I want such as Struts + Spring + Hibernate or I should
> embedded the microblogging in to the Freenet code as the whole system. And
I
> think Freenet have had strong ability in file distribute so that add
> real-time chat system is really easy for you because you only need to
> connect others by knowing their IP address. Could give me a short
> description about what is the objective of this project and what kind of
> technology you really want? I am now builiding by own SNS website by using
> Struts + Spring + Hibernate and Ajax and have some experience about file
> download software with multithreading control. Could you tell me what is
the
> most different between this project and my provious projects?
>
> By the way, do I need to design the entity, relationship and attribute for
> database by meself? What database you use? (I have MySQL and Oracle 10g
> experience)?

I'll let someone else speak to the gsoc issues; here's a brief summary
of the technical problems.

The first thing to realize about any sort of microblogging or chat
application on Freenet is that it will be *very* different from a
normal web app on the back end.  (The UI end can and should be as
similar as possible, though.)  First, there is no central server to
talk to.  It's *completely* peer to peer.  Second, there's a spam
problem: globally writable namespaces don't work.  And third, the raw
operations Freenet provides (insert and fetch, but not update or
directory listing equivalents) are somewhat awkward to work with.

The combination of these is why I thought microblogging might be a
better model than IRC for real time communication over Freenet.  Each
user publishes messages in an outbox, and polls the outboxes of users
they wish to follow.  That, a UI, and integration into the web of
trust plugin (to provide a list of other non-spammer users) can
provide the very basics of microblogging.  After that, the important
optimizations include ways to discover new messages faster than
polling everything, and ways to search hashtags and usernames and such
efficiently.  That's where things get both interesting and hard.

Freenet latency is high: expect 5-10 seconds one way, with modest
changes to Freenet.  Even though you could build either chat or
microblogging on the same underlying framework, calling it
microblogging does a better job of setting user expectations.

I put some thought into what the protocol should look like with a goal
of optimizing speed and searchability.  I wrote some test code, but
nothing of any significance.  You can find my thoughts on the protocol
on Freenet:
freenet:u...@cf9ctasza8w2jafeqmiln49tfrpdz2q5m68m1m5r9w0
,NQiPGX7tNcaXVRXljGJnFlKhnf0eozNQsb~NwmBAJ4k,AQACAAE/Fritter-site/2/

When writing a gsoc proposal, give some thought to what parts of the
problem you want to tackle.  It sounds like your experience and
interests lie more in the direction of user interfaces.  If that's
correct, my suggestion would be to make that the focus of your
proposal.  For example, you could ignore the problems of protocol
design (by using my proposal, for example -- I'm sure it could be
improved, but it's probably good enough) and searching (by simply not
implementing any).  IMHO a well-written, easy to use interface is more
important than hard features like search.  Search support could be
added later, once it has users.

Evan Daniel
___
Devl mailing list
Devl@freenetproject.org
http://ospr

Re: [freenet-dev] [GSoC 2010] - Transport plug-ins

2010-03-30 Thread Ximin Luo
On 03/30/2010 12:07 PM, Pratibha Sundar wrote:
> I'm interested in the Transport plug-ins project. Please tell me whom to
> contact for further information.

Hi Pratibha. As xor said, if you have any questions about the details of a
transport plugins project, just ask here, or on #freenet on freenode.

There is no point in asking for "further information" without telling us what
you already know; otherwise we would waste our time by telling you things you
know already, and/or things you can't yet understand.

If you are starting completely from scratch, have a read of the GSoC ideas page
on the new wiki. Learn the basics of how freenet works, and the subtopics
needed to implement a transport plugin. Also, build and install freenet and
have a quick browse through the source code.

Additionally, on top of the project proposal, we recommend that applicants
contribute a bugfix or a minor feature, to demonstrate a good coding ability.

X
___
Devl mailing list
Devl@freenetproject.org
http://osprey.vm.bytemark.co.uk/cgi-bin/mailman/listinfo/devl


Re: [freenet-dev] [GSoC 2010] - Transport plug-ins

2010-03-30 Thread xor
On Tuesday 30 March 2010 01:07:21 pm Pratibha Sundar wrote:
> I'm interested in the Transport plug-ins project. Please tell me whom to
> contact for further information.

Just ask here and people will answer.


signature.asc
Description: This is a digitally signed message part.
___
Devl mailing list
Devl@freenetproject.org
http://osprey.vm.bytemark.co.uk/cgi-bin/mailman/listinfo/devl

[freenet-dev] [GSoC 2010] - Transport plug-ins

2010-03-30 Thread Pratibha Sundar
Hi,

I'm interested in the Transport plug-ins project. Please tell me whom to
contact for further information.

Regards,
S Pratibha Sundar
___
Devl mailing list
Devl@freenetproject.org
http://osprey.vm.bytemark.co.uk/cgi-bin/mailman/listinfo/devl

Re: [freenet-dev] git tree weirdness in WoT

2010-03-30 Thread Ximin Luo
On 03/30/2010 07:23 AM, David ‘Bombe’ Roden wrote:
> No, it will not. If work on the branch continues (which is unlikely because 
> it 
> has been merged so further work would happen on the master branch) I would 
> just merge master again. Simple and beautiful.

What I meant by weird was it'll look like this:

-o---o   o---o <- master
  \ /
   \   /
\ /
-o---o---o---o---o <- identicon

which looks like master was pulled into identicon then branched off again.
Which is basically what has happened here without --no-ff. But it should really
look like this:

-o---o---o---o---o  <- master
/
   /
  /
-o---o---o---o  <- identicon

If you are going to have a merge-and-push workflow then it makes sense to do
this consistently, and generate a merge commit whenever you pull from a repo
that you are not tracking.

X
___
Devl mailing list
Devl@freenetproject.org
http://osprey.vm.bytemark.co.uk/cgi-bin/mailman/listinfo/devl

[freenet-dev] git tree weirdness in WoT

2010-03-30 Thread xor
On Monday 29 March 2010 06:46:56 pm Ximin Luo wrote:
> Hi,
> 
> xor, it looks like you cherry-picked saces' commits from his personal
>  branch "saces" on top of Bombe's "identicon" branch, instead of on top of
>  the old "master" branch. and for some reason the new "master" branch now
>  points to this ("identicon" plus some of saces' commits).

I thought I had:
- used "git fetch git://bombe-repository-uri identicon" to get bombe's 
identicon branch
- used "git merge identicon" to merge it to master
- used git fetch to get saces' branch (called saces aswell)
- used git cherrypick to cherrypick commits from saces' branch

My intention was to use the identicon branch directly from bombe instead of 
importing it from saces own branch, for the sake of using it from where it 
came from originally.

Unfortunately, this was my first complex git operation so it may very well be 
screwed up

Can someone help us how to fix this? I don't know :(

And I would like to know how I should have done it because the same operations 
have to be done for Freetalk... there are bombe and saces branches there 
aswell...

> This effectively cancels all the work on the master branch from feb 16 to
>  feb 26. Was this intended? If you can't fix it I can, but I'll need to
>  make some forced pushes.

No :(
Why does it? :(

> see diagram for a better explanation
> 
> http://github.com/freenet/plugin-WoT-staging/network
> 
> X
> ___
> Devl mailing list
> Devl at freenetproject.org
> http://osprey.vm.bytemark.co.uk/cgi-bin/mailman/listinfo/devl
> 
-- next part --
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20100330/c72190f6/attachment.pgp>