[freenet-dev] GSoC 2012 Greetings

2012-04-25 Thread Steve Dougherty
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I've been accepted to work on a network probing and statistics project.
We know very little about Freenet's network health and how to improve
it, and I hope to fill those gaps in knowledge with both simulation and
measurement. Specifically, I plan to:

* Build simulators to establish good parameters for network probing,
  reproduce the current network state after figuring out what that is,
  then make changes to improve that behavior in simulation.
* Depreciate the current probe requests in favor of those in bug #3568.
  [1] These report more useful information in a more privacy-conscious
  way, and will be exposed over FCP.
* Write a tool to run networks probes and present plots of the results.

evanbd is mentoring me on this project. On Fridays I will give updates
to the development mailing list, FMS, and Sone.

Thanks,
operhiem1

[1] https://bugs.freenetproject.org/view.php?id=3568
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJPmC2rAAoJECLJP19KqmFubyEQAK6a0xbKt3wIFuv5mEg0pDiJ
FTqN9FoT450Wzw245Yn7ESt+hjno1MQXURjgoyzXWcDAD4isq9vSBwvTiDzDAB+9
HtFI0xocLyNr0Dj61rQh2vUbbHUC6lzw7PIi7vN6M/WJopKyWxScv2V/6PxINl2x
UN5tno/2idrVZ0drISk/FH7QoXMBBnMDTmJUrm83ws5ObOh5gZVIfisjsYs+PSxm
LSZehZDlqDwUFP8fQ9Nb0WnC63JaISQWUDIC22JZwoYZxddLnJRqSsEL87mjHgp5
C4l/DghijWkUiIHbLmknzGcwISG9wZWVknNRqR1rhs3YHB29r7DgYlbiuE0l58xd
4JW0UApNCuovgd6vZ7EfWXebk2tKLH5yBR0ReB+nJ0ETYDBF2hL5MxnXt9pKHGsG
0TV6PDv4vmMUamhnrRX2oGZH23CnlE8X+4/yUn+p+z2ViYViEztoSCJtECn15AFS
FV+ywQA3eq/Irs5qKtBeoRyvqeXQnTMZ7pYLzUynanQn4YCLa2vFor71/PHKU8e5
Q5zzKCHRXtXtSrJM0c06DNxoyC0lTqxQNnkhhPeZR26jGOL+rqdykwVXbVQ4Eugk
P3VNyQBPNyhuiATe7I5qg3pp6nd4LLdnRVIgnPgG4iKbSa+3mTKkqhAcYzG7daox
6Ks7bDcoOMIgCDye0uhJ
=c5cX
-END PGP SIGNATURE-



[freenet-dev] GSoC 2012 Greetings

2012-04-25 Thread Steve Dougherty
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I've been accepted to work on a network probing and statistics project.
We know very little about Freenet's network health and how to improve
it, and I hope to fill those gaps in knowledge with both simulation and
measurement. Specifically, I plan to:

* Build simulators to establish good parameters for network probing,
  reproduce the current network state after figuring out what that is,
  then make changes to improve that behavior in simulation.
* Depreciate the current probe requests in favor of those in bug #3568.
  [1] These report more useful information in a more privacy-conscious
  way, and will be exposed over FCP.
* Write a tool to run networks probes and present plots of the results.

evanbd is mentoring me on this project. On Fridays I will give updates
to the development mailing list, FMS, and Sone.

Thanks,
operhiem1

[1] https://bugs.freenetproject.org/view.php?id=3568
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJPmC2rAAoJECLJP19KqmFubyEQAK6a0xbKt3wIFuv5mEg0pDiJ
FTqN9FoT450Wzw245Yn7ESt+hjno1MQXURjgoyzXWcDAD4isq9vSBwvTiDzDAB+9
HtFI0xocLyNr0Dj61rQh2vUbbHUC6lzw7PIi7vN6M/WJopKyWxScv2V/6PxINl2x
UN5tno/2idrVZ0drISk/FH7QoXMBBnMDTmJUrm83ws5ObOh5gZVIfisjsYs+PSxm
LSZehZDlqDwUFP8fQ9Nb0WnC63JaISQWUDIC22JZwoYZxddLnJRqSsEL87mjHgp5
C4l/DghijWkUiIHbLmknzGcwISG9wZWVknNRqR1rhs3YHB29r7DgYlbiuE0l58xd
4JW0UApNCuovgd6vZ7EfWXebk2tKLH5yBR0ReB+nJ0ETYDBF2hL5MxnXt9pKHGsG
0TV6PDv4vmMUamhnrRX2oGZH23CnlE8X+4/yUn+p+z2ViYViEztoSCJtECn15AFS
FV+ywQA3eq/Irs5qKtBeoRyvqeXQnTMZ7pYLzUynanQn4YCLa2vFor71/PHKU8e5
Q5zzKCHRXtXtSrJM0c06DNxoyC0lTqxQNnkhhPeZR26jGOL+rqdykwVXbVQ4Eugk
P3VNyQBPNyhuiATe7I5qg3pp6nd4LLdnRVIgnPgG4iKbSa+3mTKkqhAcYzG7daox
6Ks7bDcoOMIgCDye0uhJ
=c5cX
-END PGP SIGNATURE-
___
Devl mailing list
Devl@freenetproject.org
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl


[freenet-dev] GSoC 2012 Transport Plugin

2012-04-05 Thread Chetan Hosmani
Thank you so much toad. Its very detailed and I ll need to go through
it thoroughly.

Also I am not sure this is relevant, but I did get a mail from a
"stranger" who happened to be going through the archives and decided
to send me an opinion. I thought it's best if we discussed here. I
requested the person to participate here, and will hopefully do so.

On Wed, Apr 4, 2012 at 1:16 PM, cagsm  wrote:
Hello GSOC participant,

I am not on the Freenet mailing list, but I read the archvies and I
have seen an interesting discussion on Freenet (insinde Freenet,
within the FMS communications tool, in the Freenet forum there). Some
fellow FMS/Freenet user proposed to look at the open source project
"udt" (Sourceforge), that is essentially an intelligent and very
robust and proven way to do udp communications.

If you are already re-implementing the old raw udp way of Freenet
transport layers and modularizing it, which is needed due to
compatibility reasons as another fellow FMS/Freenet participant (bombe
I think) pointed out, then it would be probably better to migrate away
from the raw udp way to the udt way in the long run, before attempting
the next real transport plugin (tcp).

Please consider into looking at the udt project and making use of it.
Would be very glad if you could include it in Freenet.
http://udt.sourceforge.net/

On Thu, Apr 5, 2012 at 6:21 PM, Matthew Toseland
 wrote:
> On Wednesday 04 Apr 2012 07:15:26 Chetan Hosmani wrote:
>> Hello,
>>
>> With only three days left for the deadline of submission of proposals
>> I was hoping I could get some suggestions on my proposal.
>> This is my only proposal. I am also working on another proposal to
>> Freenet itself (implementing JCA).
>> Any suggestions will be really helpful.
>>
>> The proposal can viewed publicly here-
>> http://www.google-melange.com/gsoc/proposal/review/google/gsoc2012/chetanhosmani/1
>>
>> Apart from adding references and links, this is the final version.
>> Please leave comments.
>
> The introduction is good.
>
> IMHO it's not grouped *that* tightly: exactly what does NodeCrypto do that is 
> low level? The key classes afaics are NewPacketFormat, UdpSocketHandler, 
> FNPPacketMangler. IMHO UdpSocketHandler and SocketHandler in general already 
> effectively separate the actual socket implementation. Of course pretty much 
> all of it assumes a packet transport, e.g. PacketSender constantly loops over 
> peers to send packets to them.
>
> We have a structure for messages that are ready to send, PeerMessageQueue on 
> PeerNode.
>
> However I agree that the messages-in-flight structure is too tightly 
> integrated with NewPacketFormat, in NewPacketFormat itself and 
> NewPacketFormatKeyContext. I don't know whether this structure will be 
> adequate for *all* transports; it's likely to be overkill for TCP-based 
> transports, but for some packet based formats with bigger packets and longer 
> latencies it might be too limited? A single messages in flight queue makes 
> sense though for robustness, in fact given we assume reliable delivery (or 
> throw an exception), it's essential. But I'm not sure how you would manage 
> resends for multiple transports... Wouldn't they have separate timers etc? 
> Clearly we would want to send a message over another transport if one dies, 
> or persistently can't send it ...
>
> NewPacketFormat contains the queue of messages in flight. 
> NewPacketFormatKeyContext contains the data on *packets* in flight. TCP 
> presumably won't have packets, but will need to group messages and HMAC them, 
> and the two streams aren't necessarily perfectly synchronised so we'd 
> probably want some sort of sequence number acknowledgements ...
>
> The OldPacketFormat/PacketTracker code can probably be got rid of now, people 
> have had plenty of time to upgrade.
>
> If it's acceptable for TCP, then I'm quite happy for you to factor it out 
> into another class. Rewriting it yet again would be a lot of work for no 
> obvious advantage, but if you have a clear set of reasons for doing so that 
> would be interesting.
>
> Re multiple connections to a single peer, this is all in PeerNode. It can 
> receive messages from any transport (handle*), it has a queue which is read 
> e.g. when PacketSender asks it to prepare a packet, but a significant part of 
> the complexity of the UDP transport results from hacks related to various 
> failure modes in session setup (I believe we spoof a restart in some cases). 
> As does code elsewhere, e.g. there is a single throttle used by PacketSender 
> for a PeerNode.
>
> To implement UDP as a transport plugin, you will need to implement the 
> transport plugin API *first*, because it is an unreliable packet transport. 
> You will need to refactor crypto support for the plugin to be where it needs 
> to be. But it's the same crypto; the main difference is we can handle 
> multiple connections to the same peer over different IP addresses more 
> cleanly.
>
> Then you will need to 

[freenet-dev] GSoC 2012 Transport Plugin

2012-04-05 Thread Matthew Toseland
On Thursday 05 Apr 2012 14:29:12 Chetan Hosmani wrote:
> Thank you so much toad. Its very detailed and I ll need to go through
> it thoroughly.
> 
> Also I am not sure this is relevant, but I did get a mail from a
> "stranger" who happened to be going through the archives and decided
> to send me an opinion. I thought it's best if we discussed here. I
> requested the person to participate here, and will hopefully do so.
> 
> On Wed, Apr 4, 2012 at 1:16 PM, cagsm  wrote:
> Hello GSOC participant,
> 
> I am not on the Freenet mailing list, but I read the archvies and I
> have seen an interesting discussion on Freenet (insinde Freenet,
> within the FMS communications tool, in the Freenet forum there). Some
> fellow FMS/Freenet user proposed to look at the open source project
> "udt" (Sourceforge), that is essentially an intelligent and very
> robust and proven way to do udp communications.
> 
> If you are already re-implementing the old raw udp way of Freenet
> transport layers and modularizing it, which is needed due to
> compatibility reasons as another fellow FMS/Freenet participant (bombe
> I think) pointed out, then it would be probably better to migrate away
> from the raw udp way to the udt way in the long run, before attempting
> the next real transport plugin (tcp).
> 
> Please consider into looking at the udt project and making use of it.
> Would be very glad if you could include it in Freenet.
> http://udt.sourceforge.net/

I don't think the transport layer is a big performance issue for Freenet, which 
is the real reason why people want utp. Maybe it's a minor one.

In any case, we can't use utp directly. Whatever we use, the basic UDP-based 
FNP must be hard to identify. Using utp, or any other off the shelf transport, 
without wrapping it in an outer layer of obfuscation-encryption, would violate 
this goal, as all such protocols are easily identified. An obscure one like utp 
that nobody else uses would be particularly easily identified. A big part of 
the purpose of transport plugins is so Freenet can send traffic that looks like 
other, common, things, such as VoIP traffic - this is not possible if we use 
utp.
> 
> On Thu, Apr 5, 2012 at 6:21 PM, Matthew Toseland
>  wrote:
> > On Wednesday 04 Apr 2012 07:15:26 Chetan Hosmani wrote:
> >> Hello,
> >>
> >> With only three days left for the deadline of submission of proposals
> >> I was hoping I could get some suggestions on my proposal.
> >> This is my only proposal. I am also working on another proposal to
> >> Freenet itself (implementing JCA).
> >> Any suggestions will be really helpful.
> >>
> >> The proposal can viewed publicly here-
> >> http://www.google-melange.com/gsoc/proposal/review/google/gsoc2012/chetanhosmani/1
> >>
> >> Apart from adding references and links, this is the final version.
> >> Please leave comments.
> >
> > The introduction is good.
> >
> > IMHO it's not grouped *that* tightly: exactly what does NodeCrypto do that 
> > is low level? The key classes afaics are NewPacketFormat, UdpSocketHandler, 
> > FNPPacketMangler. IMHO UdpSocketHandler and SocketHandler in general 
> > already effectively separate the actual socket implementation. Of course 
> > pretty much all of it assumes a packet transport, e.g. PacketSender 
> > constantly loops over peers to send packets to them.
> >
> > We have a structure for messages that are ready to send, PeerMessageQueue 
> > on PeerNode.
> >
> > However I agree that the messages-in-flight structure is too tightly 
> > integrated with NewPacketFormat, in NewPacketFormat itself and 
> > NewPacketFormatKeyContext. I don't know whether this structure will be 
> > adequate for *all* transports; it's likely to be overkill for TCP-based 
> > transports, but for some packet based formats with bigger packets and 
> > longer latencies it might be too limited? A single messages in flight queue 
> > makes sense though for robustness, in fact given we assume reliable 
> > delivery (or throw an exception), it's essential. But I'm not sure how you 
> > would manage resends for multiple transports... Wouldn't they have separate 
> > timers etc? Clearly we would want to send a message over another transport 
> > if one dies, or persistently can't send it ...
> >
> > NewPacketFormat contains the queue of messages in flight. 
> > NewPacketFormatKeyContext contains the data on *packets* in flight. TCP 
> > presumably won't have packets, but will need to group messages and HMAC 
> > them, and the two streams aren't necessarily perfectly synchronised so we'd 
> > probably want some sort of sequence number acknowledgements ...
> >
> > The OldPacketFormat/PacketTracker code can probably be got rid of now, 
> > people have had plenty of time to upgrade.
> >
> > If it's acceptable for TCP, then I'm quite happy for you to factor it out 
> > into another class. Rewriting it yet again would be a lot of work for no 
> > obvious advantage, but if you have a clear set of reasons for doing so that 
> > would be 

[freenet-dev] GSoC 2012 Transport Plugin

2012-04-05 Thread Matthew Toseland
On Wednesday 04 Apr 2012 07:15:26 Chetan Hosmani wrote:
> Hello,
> 
> With only three days left for the deadline of submission of proposals
> I was hoping I could get some suggestions on my proposal.
> This is my only proposal. I am also working on another proposal to
> Freenet itself (implementing JCA).
> Any suggestions will be really helpful.
> 
> The proposal can viewed publicly here-
> http://www.google-melange.com/gsoc/proposal/review/google/gsoc2012/chetanhosmani/1
> 
> Apart from adding references and links, this is the final version.
> Please leave comments.

The introduction is good.

IMHO it's not grouped *that* tightly: exactly what does NodeCrypto do that is 
low level? The key classes afaics are NewPacketFormat, UdpSocketHandler, 
FNPPacketMangler. IMHO UdpSocketHandler and SocketHandler in general already 
effectively separate the actual socket implementation. Of course pretty much 
all of it assumes a packet transport, e.g. PacketSender constantly loops over 
peers to send packets to them.

We have a structure for messages that are ready to send, PeerMessageQueue on 
PeerNode.

However I agree that the messages-in-flight structure is too tightly integrated 
with NewPacketFormat, in NewPacketFormat itself and NewPacketFormatKeyContext. 
I don't know whether this structure will be adequate for *all* transports; it's 
likely to be overkill for TCP-based transports, but for some packet based 
formats with bigger packets and longer latencies it might be too limited? A 
single messages in flight queue makes sense though for robustness, in fact 
given we assume reliable delivery (or throw an exception), it's essential. But 
I'm not sure how you would manage resends for multiple transports... Wouldn't 
they have separate timers etc? Clearly we would want to send a message over 
another transport if one dies, or persistently can't send it ...

NewPacketFormat contains the queue of messages in flight. 
NewPacketFormatKeyContext contains the data on *packets* in flight. TCP 
presumably won't have packets, but will need to group messages and HMAC them, 
and the two streams aren't necessarily perfectly synchronised so we'd probably 
want some sort of sequence number acknowledgements ...

The OldPacketFormat/PacketTracker code can probably be got rid of now, people 
have had plenty of time to upgrade.

If it's acceptable for TCP, then I'm quite happy for you to factor it out into 
another class. Rewriting it yet again would be a lot of work for no obvious 
advantage, but if you have a clear set of reasons for doing so that would be 
interesting.

Re multiple connections to a single peer, this is all in PeerNode. It can 
receive messages from any transport (handle*), it has a queue which is read 
e.g. when PacketSender asks it to prepare a packet, but a significant part of 
the complexity of the UDP transport results from hacks related to various 
failure modes in session setup (I believe we spoof a restart in some cases). As 
does code elsewhere, e.g. there is a single throttle used by PacketSender for a 
PeerNode.

To implement UDP as a transport plugin, you will need to implement the 
transport plugin API *first*, because it is an unreliable packet transport. You 
will need to refactor crypto support for the plugin to be where it needs to be. 
But it's the same crypto; the main difference is we can handle multiple 
connections to the same peer over different IP addresses more cleanly.

Then you will need to implement connection setup for stream-based transports, 
as well as the basic plugin API, and the driver code (I assume a stream-based 
transport will present a pair of InputStream/OutputStream?). Connection setup 
should be fairly similar to the existing code. Whether you want to support 
sending parts of messages like we do with UDP is unclear; see above.

IMHO multiple connections between the same two nodes are an essential part of 
the GSoC, if only because we will want nodes to expose more than one transport, 
so that they can connect to the maximum possible range of other nodes. So it 
will be possible that two connection setups complete simultaneously. "Just 
close one" is not anywhere near as simple as you might think, from my 
experience with UDP ...

I agree that HTTP etc is optional though.

Obviously NodeCrypto should have a set of transport addresses, not just the one 
port number for UDP.

I agree that you will need a different SocketHandler base class for 
stream-based transports.

Ideas on where the boundaries lie:
- Clearly the packet format is specific to a particular transport type. It will 
be different for packets vs streams.
- Crypto setup for streams could be the same algorithm, but even if it is, it 
may not share the same code. The current code is designed for lossy packets, 
whereas a much simpler control flow is possible for a stream. Authentication is 
obviously different: A packet has an HMAC, whereas for a stream you can use a 
self-authenticating cipher or you can 

Re: [freenet-dev] GSoC 2012 Transport Plugin

2012-04-05 Thread Matthew Toseland
On Wednesday 04 Apr 2012 07:15:26 Chetan Hosmani wrote:
 Hello,
 
 With only three days left for the deadline of submission of proposals
 I was hoping I could get some suggestions on my proposal.
 This is my only proposal. I am also working on another proposal to
 Freenet itself (implementing JCA).
 Any suggestions will be really helpful.
 
 The proposal can viewed publicly here-
 http://www.google-melange.com/gsoc/proposal/review/google/gsoc2012/chetanhosmani/1
 
 Apart from adding references and links, this is the final version.
 Please leave comments.

The introduction is good.

IMHO it's not grouped *that* tightly: exactly what does NodeCrypto do that is 
low level? The key classes afaics are NewPacketFormat, UdpSocketHandler, 
FNPPacketMangler. IMHO UdpSocketHandler and SocketHandler in general already 
effectively separate the actual socket implementation. Of course pretty much 
all of it assumes a packet transport, e.g. PacketSender constantly loops over 
peers to send packets to them.

We have a structure for messages that are ready to send, PeerMessageQueue on 
PeerNode.

However I agree that the messages-in-flight structure is too tightly integrated 
with NewPacketFormat, in NewPacketFormat itself and NewPacketFormatKeyContext. 
I don't know whether this structure will be adequate for *all* transports; it's 
likely to be overkill for TCP-based transports, but for some packet based 
formats with bigger packets and longer latencies it might be too limited? A 
single messages in flight queue makes sense though for robustness, in fact 
given we assume reliable delivery (or throw an exception), it's essential. But 
I'm not sure how you would manage resends for multiple transports... Wouldn't 
they have separate timers etc? Clearly we would want to send a message over 
another transport if one dies, or persistently can't send it ...

NewPacketFormat contains the queue of messages in flight. 
NewPacketFormatKeyContext contains the data on *packets* in flight. TCP 
presumably won't have packets, but will need to group messages and HMAC them, 
and the two streams aren't necessarily perfectly synchronised so we'd probably 
want some sort of sequence number acknowledgements ...

The OldPacketFormat/PacketTracker code can probably be got rid of now, people 
have had plenty of time to upgrade.

If it's acceptable for TCP, then I'm quite happy for you to factor it out into 
another class. Rewriting it yet again would be a lot of work for no obvious 
advantage, but if you have a clear set of reasons for doing so that would be 
interesting.

Re multiple connections to a single peer, this is all in PeerNode. It can 
receive messages from any transport (handle*), it has a queue which is read 
e.g. when PacketSender asks it to prepare a packet, but a significant part of 
the complexity of the UDP transport results from hacks related to various 
failure modes in session setup (I believe we spoof a restart in some cases). As 
does code elsewhere, e.g. there is a single throttle used by PacketSender for a 
PeerNode.

To implement UDP as a transport plugin, you will need to implement the 
transport plugin API *first*, because it is an unreliable packet transport. You 
will need to refactor crypto support for the plugin to be where it needs to be. 
But it's the same crypto; the main difference is we can handle multiple 
connections to the same peer over different IP addresses more cleanly.

Then you will need to implement connection setup for stream-based transports, 
as well as the basic plugin API, and the driver code (I assume a stream-based 
transport will present a pair of InputStream/OutputStream?). Connection setup 
should be fairly similar to the existing code. Whether you want to support 
sending parts of messages like we do with UDP is unclear; see above.

IMHO multiple connections between the same two nodes are an essential part of 
the GSoC, if only because we will want nodes to expose more than one transport, 
so that they can connect to the maximum possible range of other nodes. So it 
will be possible that two connection setups complete simultaneously. Just 
close one is not anywhere near as simple as you might think, from my 
experience with UDP ...

I agree that HTTP etc is optional though.

Obviously NodeCrypto should have a set of transport addresses, not just the one 
port number for UDP.

I agree that you will need a different SocketHandler base class for 
stream-based transports.

Ideas on where the boundaries lie:
- Clearly the packet format is specific to a particular transport type. It will 
be different for packets vs streams.
- Crypto setup for streams could be the same algorithm, but even if it is, it 
may not share the same code. The current code is designed for lossy packets, 
whereas a much simpler control flow is possible for a stream. Authentication is 
obviously different: A packet has an HMAC, whereas for a stream you can use a 
self-authenticating cipher or you can group messages in 

Re: [freenet-dev] GSoC 2012 Transport Plugin

2012-04-05 Thread Chetan Hosmani
Thank you so much toad. Its very detailed and I ll need to go through
it thoroughly.

Also I am not sure this is relevant, but I did get a mail from a
stranger who happened to be going through the archives and decided
to send me an opinion. I thought it's best if we discussed here. I
requested the person to participate here, and will hopefully do so.

On Wed, Apr 4, 2012 at 1:16 PM, cagsm cumandgets0mem...@gmail.com wrote:
Hello GSOC participant,

I am not on the Freenet mailing list, but I read the archvies and I
have seen an interesting discussion on Freenet (insinde Freenet,
within the FMS communications tool, in the Freenet forum there). Some
fellow FMS/Freenet user proposed to look at the open source project
udt (Sourceforge), that is essentially an intelligent and very
robust and proven way to do udp communications.

If you are already re-implementing the old raw udp way of Freenet
transport layers and modularizing it, which is needed due to
compatibility reasons as another fellow FMS/Freenet participant (bombe
I think) pointed out, then it would be probably better to migrate away
from the raw udp way to the udt way in the long run, before attempting
the next real transport plugin (tcp).

Please consider into looking at the udt project and making use of it.
Would be very glad if you could include it in Freenet.
http://udt.sourceforge.net/

On Thu, Apr 5, 2012 at 6:21 PM, Matthew Toseland
t...@amphibian.dyndns.org wrote:
 On Wednesday 04 Apr 2012 07:15:26 Chetan Hosmani wrote:
 Hello,

 With only three days left for the deadline of submission of proposals
 I was hoping I could get some suggestions on my proposal.
 This is my only proposal. I am also working on another proposal to
 Freenet itself (implementing JCA).
 Any suggestions will be really helpful.

 The proposal can viewed publicly here-
 http://www.google-melange.com/gsoc/proposal/review/google/gsoc2012/chetanhosmani/1

 Apart from adding references and links, this is the final version.
 Please leave comments.

 The introduction is good.

 IMHO it's not grouped *that* tightly: exactly what does NodeCrypto do that is 
 low level? The key classes afaics are NewPacketFormat, UdpSocketHandler, 
 FNPPacketMangler. IMHO UdpSocketHandler and SocketHandler in general already 
 effectively separate the actual socket implementation. Of course pretty much 
 all of it assumes a packet transport, e.g. PacketSender constantly loops over 
 peers to send packets to them.

 We have a structure for messages that are ready to send, PeerMessageQueue on 
 PeerNode.

 However I agree that the messages-in-flight structure is too tightly 
 integrated with NewPacketFormat, in NewPacketFormat itself and 
 NewPacketFormatKeyContext. I don't know whether this structure will be 
 adequate for *all* transports; it's likely to be overkill for TCP-based 
 transports, but for some packet based formats with bigger packets and longer 
 latencies it might be too limited? A single messages in flight queue makes 
 sense though for robustness, in fact given we assume reliable delivery (or 
 throw an exception), it's essential. But I'm not sure how you would manage 
 resends for multiple transports... Wouldn't they have separate timers etc? 
 Clearly we would want to send a message over another transport if one dies, 
 or persistently can't send it ...

 NewPacketFormat contains the queue of messages in flight. 
 NewPacketFormatKeyContext contains the data on *packets* in flight. TCP 
 presumably won't have packets, but will need to group messages and HMAC them, 
 and the two streams aren't necessarily perfectly synchronised so we'd 
 probably want some sort of sequence number acknowledgements ...

 The OldPacketFormat/PacketTracker code can probably be got rid of now, people 
 have had plenty of time to upgrade.

 If it's acceptable for TCP, then I'm quite happy for you to factor it out 
 into another class. Rewriting it yet again would be a lot of work for no 
 obvious advantage, but if you have a clear set of reasons for doing so that 
 would be interesting.

 Re multiple connections to a single peer, this is all in PeerNode. It can 
 receive messages from any transport (handle*), it has a queue which is read 
 e.g. when PacketSender asks it to prepare a packet, but a significant part of 
 the complexity of the UDP transport results from hacks related to various 
 failure modes in session setup (I believe we spoof a restart in some cases). 
 As does code elsewhere, e.g. there is a single throttle used by PacketSender 
 for a PeerNode.

 To implement UDP as a transport plugin, you will need to implement the 
 transport plugin API *first*, because it is an unreliable packet transport. 
 You will need to refactor crypto support for the plugin to be where it needs 
 to be. But it's the same crypto; the main difference is we can handle 
 multiple connections to the same peer over different IP addresses more 
 cleanly.

 Then you will need to implement connection setup for 

Re: [freenet-dev] GSoC 2012 Transport Plugin

2012-04-05 Thread Matthew Toseland
On Thursday 05 Apr 2012 14:29:12 Chetan Hosmani wrote:
 Thank you so much toad. Its very detailed and I ll need to go through
 it thoroughly.
 
 Also I am not sure this is relevant, but I did get a mail from a
 stranger who happened to be going through the archives and decided
 to send me an opinion. I thought it's best if we discussed here. I
 requested the person to participate here, and will hopefully do so.
 
 On Wed, Apr 4, 2012 at 1:16 PM, cagsm cumandgets0mem...@gmail.com wrote:
 Hello GSOC participant,
 
 I am not on the Freenet mailing list, but I read the archvies and I
 have seen an interesting discussion on Freenet (insinde Freenet,
 within the FMS communications tool, in the Freenet forum there). Some
 fellow FMS/Freenet user proposed to look at the open source project
 udt (Sourceforge), that is essentially an intelligent and very
 robust and proven way to do udp communications.
 
 If you are already re-implementing the old raw udp way of Freenet
 transport layers and modularizing it, which is needed due to
 compatibility reasons as another fellow FMS/Freenet participant (bombe
 I think) pointed out, then it would be probably better to migrate away
 from the raw udp way to the udt way in the long run, before attempting
 the next real transport plugin (tcp).
 
 Please consider into looking at the udt project and making use of it.
 Would be very glad if you could include it in Freenet.
 http://udt.sourceforge.net/

I don't think the transport layer is a big performance issue for Freenet, which 
is the real reason why people want utp. Maybe it's a minor one.

In any case, we can't use utp directly. Whatever we use, the basic UDP-based 
FNP must be hard to identify. Using utp, or any other off the shelf transport, 
without wrapping it in an outer layer of obfuscation-encryption, would violate 
this goal, as all such protocols are easily identified. An obscure one like utp 
that nobody else uses would be particularly easily identified. A big part of 
the purpose of transport plugins is so Freenet can send traffic that looks like 
other, common, things, such as VoIP traffic - this is not possible if we use 
utp.
 
 On Thu, Apr 5, 2012 at 6:21 PM, Matthew Toseland
 t...@amphibian.dyndns.org wrote:
  On Wednesday 04 Apr 2012 07:15:26 Chetan Hosmani wrote:
  Hello,
 
  With only three days left for the deadline of submission of proposals
  I was hoping I could get some suggestions on my proposal.
  This is my only proposal. I am also working on another proposal to
  Freenet itself (implementing JCA).
  Any suggestions will be really helpful.
 
  The proposal can viewed publicly here-
  http://www.google-melange.com/gsoc/proposal/review/google/gsoc2012/chetanhosmani/1
 
  Apart from adding references and links, this is the final version.
  Please leave comments.
 
  The introduction is good.
 
  IMHO it's not grouped *that* tightly: exactly what does NodeCrypto do that 
  is low level? The key classes afaics are NewPacketFormat, UdpSocketHandler, 
  FNPPacketMangler. IMHO UdpSocketHandler and SocketHandler in general 
  already effectively separate the actual socket implementation. Of course 
  pretty much all of it assumes a packet transport, e.g. PacketSender 
  constantly loops over peers to send packets to them.
 
  We have a structure for messages that are ready to send, PeerMessageQueue 
  on PeerNode.
 
  However I agree that the messages-in-flight structure is too tightly 
  integrated with NewPacketFormat, in NewPacketFormat itself and 
  NewPacketFormatKeyContext. I don't know whether this structure will be 
  adequate for *all* transports; it's likely to be overkill for TCP-based 
  transports, but for some packet based formats with bigger packets and 
  longer latencies it might be too limited? A single messages in flight queue 
  makes sense though for robustness, in fact given we assume reliable 
  delivery (or throw an exception), it's essential. But I'm not sure how you 
  would manage resends for multiple transports... Wouldn't they have separate 
  timers etc? Clearly we would want to send a message over another transport 
  if one dies, or persistently can't send it ...
 
  NewPacketFormat contains the queue of messages in flight. 
  NewPacketFormatKeyContext contains the data on *packets* in flight. TCP 
  presumably won't have packets, but will need to group messages and HMAC 
  them, and the two streams aren't necessarily perfectly synchronised so we'd 
  probably want some sort of sequence number acknowledgements ...
 
  The OldPacketFormat/PacketTracker code can probably be got rid of now, 
  people have had plenty of time to upgrade.
 
  If it's acceptable for TCP, then I'm quite happy for you to factor it out 
  into another class. Rewriting it yet again would be a lot of work for no 
  obvious advantage, but if you have a clear set of reasons for doing so that 
  would be interesting.
 
  Re multiple connections to a single peer, this is all in PeerNode. It can 
  receive 

[freenet-dev] GSoC 2012 Transport Plugin

2012-04-04 Thread Chetan Hosmani
Hello,

With only three days left for the deadline of submission of proposals
I was hoping I could get some suggestions on my proposal.
This is my only proposal. I am also working on another proposal to
Freenet itself (implementing JCA).
Any suggestions will be really helpful.

The proposal can viewed publicly here-
http://www.google-melange.com/gsoc/proposal/review/google/gsoc2012/chetanhosmani/1

Apart from adding references and links, this is the final version.
Please leave comments.

Thank you
Chetan



[freenet-dev] GSoC 2012 Transport Plugin

2012-04-04 Thread Chetan Hosmani
Hello,

With only three days left for the deadline of submission of proposals
I was hoping I could get some suggestions on my proposal.
This is my only proposal. I am also working on another proposal to
Freenet itself (implementing JCA).
Any suggestions will be really helpful.

The proposal can viewed publicly here-
http://www.google-melange.com/gsoc/proposal/review/google/gsoc2012/chetanhosmani/1

Apart from adding references and links, this is the final version.
Please leave comments.

Thank you
Chetan
___
Devl mailing list
Devl@freenetproject.org
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl


[freenet-dev] GSOC 2012 Transport Plugin (Task on JCA)

2012-04-03 Thread Chetan Hosmani
Okay I ll read about what JCA uses. JCA actually supports several
variations and algorithms.

Yes I have a node running that connects to similar new nodes using
negtype = 8 (which is JCA)
and it also connects to old nodes using the previous negotiation types.
On the surface it runs exactly the way it used to. Atleast I have not
seen any difference.

On Tue, Apr 3, 2012 at 3:33 AM, Matthew Toseland
 wrote:
> On Sunday 01 Apr 2012 19:48:43 Chetan Hosmani wrote:
>> Hello,
>>
>> As an expected task for GSOC (discussed on IRC) I worked on the JCA
>> implementation for encryption.
>> Here is what I have done-
>>
>> 1. Created JCACipher implements Block Cipher.
>> 2. Added negtype = 8
>> 3. For negtype = 8 use new JCACipher object instead of new Rijndael object
>> 4. Changed other methods in FNPPacketMangler to accept the new new link type
>>
>> I needed to go through this paper to understand what JFK was all about
>> http://www.wisdom.weizmann.ac.il/~reingold/publications/jfk-tissec.pdf
>>
>> What I am not sure of is that the method computeJFKsharedKey is used
>> by my cipher class too to generate the SecretKey required, but should
>> I use the JCA key generator to do so? That should not be a problem.
>
> Don't know, I presume JCA uses some sort of Diffie-Hellman key generator? JFK 
> is a variant on DH.
>>
>> I am not sure if this is what nextgens had in mind.
>> But currently I have tested two nodes running in darknet mode, and
>> they were able to connect to each other and send messages. Also I used
>> the debugger to see if negtype = 8 was present.
>>
>> I also ran another old node for which negtype=7 worked normally
>> (backward compatible). I hope this is what you were expecting. Here is
>> the patch, but I suppose you want me to send a pull request? I ll do
>> that too.
>
> So you have a node running connecting to at least one node via the new 
> protocol, and to others via the old protocol?
>>
>> Thank you,
>> Chetan



[freenet-dev] GSOC 2012 Transport Plugin (Task on JCA)

2012-04-03 Thread Matthew Toseland
On Sunday 01 Apr 2012 19:48:43 Chetan Hosmani wrote:
> Hello,
> 
> As an expected task for GSOC (discussed on IRC) I worked on the JCA
> implementation for encryption.
> Here is what I have done-
> 
> 1. Created JCACipher implements Block Cipher.
> 2. Added negtype = 8
> 3. For negtype = 8 use new JCACipher object instead of new Rijndael object
> 4. Changed other methods in FNPPacketMangler to accept the new new link type
> 
> I needed to go through this paper to understand what JFK was all about
> http://www.wisdom.weizmann.ac.il/~reingold/publications/jfk-tissec.pdf
> 
> What I am not sure of is that the method computeJFKsharedKey is used
> by my cipher class too to generate the SecretKey required, but should
> I use the JCA key generator to do so? That should not be a problem.

Don't know, I presume JCA uses some sort of Diffie-Hellman key generator? JFK 
is a variant on DH.
> 
> I am not sure if this is what nextgens had in mind.
> But currently I have tested two nodes running in darknet mode, and
> they were able to connect to each other and send messages. Also I used
> the debugger to see if negtype = 8 was present.
> 
> I also ran another old node for which negtype=7 worked normally
> (backward compatible). I hope this is what you were expecting. Here is
> the patch, but I suppose you want me to send a pull request? I ll do
> that too.

So you have a node running connecting to at least one node via the new 
protocol, and to others via the old protocol?
> 
> Thank you,
> Chetan
-- 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: 



[freenet-dev] GSOC 2012 Transport Plugin (Task on JCA)

2012-04-02 Thread Chetan Hosmani
Hello,

As an expected task for GSOC (discussed on IRC) I worked on the JCA
implementation for encryption.
Here is what I have done-

1. Created JCACipher implements Block Cipher.
2. Added negtype = 8
3. For negtype = 8 use new JCACipher object instead of new Rijndael object
4. Changed other methods in FNPPacketMangler to accept the new new link type

I needed to go through this paper to understand what JFK was all about
http://www.wisdom.weizmann.ac.il/~reingold/publications/jfk-tissec.pdf

What I am not sure of is that the method computeJFKsharedKey is used
by my cipher class too to generate the SecretKey required, but should
I use the JCA key generator to do so? That should not be a problem.

I am not sure if this is what nextgens had in mind.
But currently I have tested two nodes running in darknet mode, and
they were able to connect to each other and send messages. Also I used
the debugger to see if negtype = 8 was present.

I also ran another old node for which negtype=7 worked normally
(backward compatible). I hope this is what you were expecting. Here is
the patch, but I suppose you want me to send a pull request? I ll do
that too.

Thank you,
Chetan
-- next part --
A non-text attachment was scrubbed...
Name: jca.patch
Type: application/octet-stream
Size: 7702 bytes
Desc: not available
URL: 



Re: [freenet-dev] GSOC 2012 Transport Plugin (Task on JCA)

2012-04-02 Thread Matthew Toseland
On Sunday 01 Apr 2012 19:48:43 Chetan Hosmani wrote:
 Hello,
 
 As an expected task for GSOC (discussed on IRC) I worked on the JCA
 implementation for encryption.
 Here is what I have done-
 
 1. Created JCACipher implements Block Cipher.
 2. Added negtype = 8
 3. For negtype = 8 use new JCACipher object instead of new Rijndael object
 4. Changed other methods in FNPPacketMangler to accept the new new link type
 
 I needed to go through this paper to understand what JFK was all about
 http://www.wisdom.weizmann.ac.il/~reingold/publications/jfk-tissec.pdf
 
 What I am not sure of is that the method computeJFKsharedKey is used
 by my cipher class too to generate the SecretKey required, but should
 I use the JCA key generator to do so? That should not be a problem.

Don't know, I presume JCA uses some sort of Diffie-Hellman key generator? JFK 
is a variant on DH.
 
 I am not sure if this is what nextgens had in mind.
 But currently I have tested two nodes running in darknet mode, and
 they were able to connect to each other and send messages. Also I used
 the debugger to see if negtype = 8 was present.
 
 I also ran another old node for which negtype=7 worked normally
 (backward compatible). I hope this is what you were expecting. Here is
 the patch, but I suppose you want me to send a pull request? I ll do
 that too.

So you have a node running connecting to at least one node via the new 
protocol, and to others via the old protocol?
 
 Thank you,
 Chetan


signature.asc
Description: This is a digitally signed message part.
___
Devl mailing list
Devl@freenetproject.org
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Re: [freenet-dev] GSOC 2012 Transport Plugin (Task on JCA)

2012-04-02 Thread Chetan Hosmani
Okay I ll read about what JCA uses. JCA actually supports several
variations and algorithms.

Yes I have a node running that connects to similar new nodes using
negtype = 8 (which is JCA)
and it also connects to old nodes using the previous negotiation types.
On the surface it runs exactly the way it used to. Atleast I have not
seen any difference.

On Tue, Apr 3, 2012 at 3:33 AM, Matthew Toseland
t...@amphibian.dyndns.org wrote:
 On Sunday 01 Apr 2012 19:48:43 Chetan Hosmani wrote:
 Hello,

 As an expected task for GSOC (discussed on IRC) I worked on the JCA
 implementation for encryption.
 Here is what I have done-

 1. Created JCACipher implements Block Cipher.
 2. Added negtype = 8
 3. For negtype = 8 use new JCACipher object instead of new Rijndael object
 4. Changed other methods in FNPPacketMangler to accept the new new link type

 I needed to go through this paper to understand what JFK was all about
 http://www.wisdom.weizmann.ac.il/~reingold/publications/jfk-tissec.pdf

 What I am not sure of is that the method computeJFKsharedKey is used
 by my cipher class too to generate the SecretKey required, but should
 I use the JCA key generator to do so? That should not be a problem.

 Don't know, I presume JCA uses some sort of Diffie-Hellman key generator? JFK 
 is a variant on DH.

 I am not sure if this is what nextgens had in mind.
 But currently I have tested two nodes running in darknet mode, and
 they were able to connect to each other and send messages. Also I used
 the debugger to see if negtype = 8 was present.

 I also ran another old node for which negtype=7 worked normally
 (backward compatible). I hope this is what you were expecting. Here is
 the patch, but I suppose you want me to send a pull request? I ll do
 that too.

 So you have a node running connecting to at least one node via the new 
 protocol, and to others via the old protocol?

 Thank you,
 Chetan
___
Devl mailing list
Devl@freenetproject.org
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl


[freenet-dev] GSOC 2012 Transport Plugin (Task on JCA)

2012-04-01 Thread Chetan Hosmani
Hello,

As an expected task for GSOC (discussed on IRC) I worked on the JCA
implementation for encryption.
Here is what I have done-

1. Created JCACipher implements Block Cipher.
2. Added negtype = 8
3. For negtype = 8 use new JCACipher object instead of new Rijndael object
4. Changed other methods in FNPPacketMangler to accept the new new link type

I needed to go through this paper to understand what JFK was all about
http://www.wisdom.weizmann.ac.il/~reingold/publications/jfk-tissec.pdf

What I am not sure of is that the method computeJFKsharedKey is used
by my cipher class too to generate the SecretKey required, but should
I use the JCA key generator to do so? That should not be a problem.

I am not sure if this is what nextgens had in mind.
But currently I have tested two nodes running in darknet mode, and
they were able to connect to each other and send messages. Also I used
the debugger to see if negtype = 8 was present.

I also ran another old node for which negtype=7 worked normally
(backward compatible). I hope this is what you were expecting. Here is
the patch, but I suppose you want me to send a pull request? I ll do
that too.

Thank you,
Chetan


jca.patch
Description: Binary data
___
Devl mailing list
Devl@freenetproject.org
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

[freenet-dev] GSOC 2012 Tansport Plugin

2012-03-30 Thread Matthew Toseland
On Tuesday 27 Mar 2012 10:21:58 Chetan Hosmani wrote:
> Hello,
> 
> I have been idling  on the IRC channel for quite some time now. The
> response from freenet is really good.
> 
> For my GSoC application I have been working on a proposal for the
> transport plugin. Although the response from freenet is "this is a
> very hard project", I have tried my best to understand the codebase of
> freenet and the exact purpose of this project. In particular I have
> spoken to Arnebab, toad_ and nextgens regarding this assignment and
> from them have gained a good insight on what needs to be done.
> 
> Based on their information and some research on the project this is my
> present standing. Some of it might still be incorrect.
> 
> Firstly Freenet presently runs extensively on UDP based sockets. The
> communication happens at several layers and with different mechanisms
> i.e sockets, streams, reliable packets, UDP, so on... The major
> problem is that the code has been integrated very tightly. For e.g.
> NodeCrypto class uses only UDPSocketHandler for communication. So this
> means that the data cryptography and communication at the transport
> layer (using UDP in this case) are grouped very tightly.
> 
> This means that a major refactoring of the code is needed. This task
> is supposed to be the hard part (where prior freenet experience is
> needed).
> Changes will definitely encompass refactoring - Node, NodeCrpyto,
> UdpSocketHandler and other related dependencies.
> For this I plan to do a very thorough research and practice on the
> core functionality of freenet way before the coding period begins, so
> I know the exact task at hand.
> I ll obviously be at the mercy of the community.
> 
> On the other hand a lot of work has been completed. For eg.
> implementations of OutgoingPacketMangler and IncomingPacketFIlter
> allow packets defined for any transport protocol. This is also
> mentioned here - "Last year's work on new packet format should really
> help although some transports (really small packets e.g. pretending to
> be Skype) will still need to do their own splitting/reassembly (this
> should probably happen within the node too, although it should be
> possible to turn it off). "
> Streams have better support: https://bugs.freenetproject.org/view.php?id=2214
> 
> Secondly once this is achieved, UDP will become an individual
> transport plugin and similarly the framework will support users to
> write their own transport plugin. Now this means the cryptography and
> packet modifications are done in a different level, and hence the
> developer need not bother about them. As part of the GSoC project I
> will be required to make this change and also in the process develop
> TCP transport plugin.
> Here I think I am more comfortable, and I think my existing knowledge
> of sockets should get me through.
> 
> Thirdly, some other objectives as toad_ mentioned as important,
> include ways to deal with having multiple connections open to the same
> peer at the same time. Presently haven't thought about this, and don't
> know that much about freenet for the exact need for this.
> 
> And apart from this (some confusion regarding this) is implementation
> of other application level protocols like HTTP, VoIP and so on. Now
> this can "become" easy if protocols like TCP are enabled. Also as
> mentioned in the project page is the ability for communications to
> pretend to be of other protocols. Again I believe it means that an
> example plugin needs to be developed.
> This part of the project would spill outside the deadline but it can
> get direct contribution from the community.
> 
> The application period has now started, so I ll be turning in mine.
> But I was hoping I could clarify a few things.
> 
> I know this is beyond what can be finished in three months. *Please
> give me your opinion on this proposal and what I should do. *
> 
> Also as nextgens mentioned, this project would be very hard for me, I
> would like to know if I should continue researching more or probably
> give something else a shot. I still have a week to go either way. But
> I am aware this requires a lot of effort and knowledge and I am ready
> for that. For now I will try and fix a bug.
> 
> Thank you
> 
> PS: Comments, including "you don't know shit" or "go watch TV" are welcome :)

Okay, major issues:

Re crypto, we need two (or more) separate APIs that a transport plugin can 
register itself with, the obvious ones at this point being:
- Streams.
- Unreliable packets.

Each of these transport types will need:
- Crypto - both setting up the connection and once it is connected.
- Authentication.
- Bottom part of the retransmission logic. (Probably not needed for streams).
- Code to actually drive the transports. (For a packet-based transport, we 
probably expect the plugin to provide its own send/receive loops; for a 
stream-based transport we'd probably want it to give us an 
InputStream/OutputStream pair for each connection)

Some of this 

Re: [freenet-dev] GSOC 2012 Tansport Plugin

2012-03-30 Thread Matthew Toseland
On Tuesday 27 Mar 2012 10:21:58 Chetan Hosmani wrote:
 Hello,
 
 I have been idling  on the IRC channel for quite some time now. The
 response from freenet is really good.
 
 For my GSoC application I have been working on a proposal for the
 transport plugin. Although the response from freenet is this is a
 very hard project, I have tried my best to understand the codebase of
 freenet and the exact purpose of this project. In particular I have
 spoken to Arnebab, toad_ and nextgens regarding this assignment and
 from them have gained a good insight on what needs to be done.
 
 Based on their information and some research on the project this is my
 present standing. Some of it might still be incorrect.
 
 Firstly Freenet presently runs extensively on UDP based sockets. The
 communication happens at several layers and with different mechanisms
 i.e sockets, streams, reliable packets, UDP, so on... The major
 problem is that the code has been integrated very tightly. For e.g.
 NodeCrypto class uses only UDPSocketHandler for communication. So this
 means that the data cryptography and communication at the transport
 layer (using UDP in this case) are grouped very tightly.
 
 This means that a major refactoring of the code is needed. This task
 is supposed to be the hard part (where prior freenet experience is
 needed).
 Changes will definitely encompass refactoring - Node, NodeCrpyto,
 UdpSocketHandler and other related dependencies.
 For this I plan to do a very thorough research and practice on the
 core functionality of freenet way before the coding period begins, so
 I know the exact task at hand.
 I ll obviously be at the mercy of the community.
 
 On the other hand a lot of work has been completed. For eg.
 implementations of OutgoingPacketMangler and IncomingPacketFIlter
 allow packets defined for any transport protocol. This is also
 mentioned here - Last year's work on new packet format should really
 help although some transports (really small packets e.g. pretending to
 be Skype) will still need to do their own splitting/reassembly (this
 should probably happen within the node too, although it should be
 possible to turn it off). 
 Streams have better support: https://bugs.freenetproject.org/view.php?id=2214
 
 Secondly once this is achieved, UDP will become an individual
 transport plugin and similarly the framework will support users to
 write their own transport plugin. Now this means the cryptography and
 packet modifications are done in a different level, and hence the
 developer need not bother about them. As part of the GSoC project I
 will be required to make this change and also in the process develop
 TCP transport plugin.
 Here I think I am more comfortable, and I think my existing knowledge
 of sockets should get me through.
 
 Thirdly, some other objectives as toad_ mentioned as important,
 include ways to deal with having multiple connections open to the same
 peer at the same time. Presently haven't thought about this, and don't
 know that much about freenet for the exact need for this.
 
 And apart from this (some confusion regarding this) is implementation
 of other application level protocols like HTTP, VoIP and so on. Now
 this can become easy if protocols like TCP are enabled. Also as
 mentioned in the project page is the ability for communications to
 pretend to be of other protocols. Again I believe it means that an
 example plugin needs to be developed.
 This part of the project would spill outside the deadline but it can
 get direct contribution from the community.
 
 The application period has now started, so I ll be turning in mine.
 But I was hoping I could clarify a few things.
 
 I know this is beyond what can be finished in three months. *Please
 give me your opinion on this proposal and what I should do. *
 
 Also as nextgens mentioned, this project would be very hard for me, I
 would like to know if I should continue researching more or probably
 give something else a shot. I still have a week to go either way. But
 I am aware this requires a lot of effort and knowledge and I am ready
 for that. For now I will try and fix a bug.
 
 Thank you
 
 PS: Comments, including you don't know shit or go watch TV are welcome :)

Okay, major issues:

Re crypto, we need two (or more) separate APIs that a transport plugin can 
register itself with, the obvious ones at this point being:
- Streams.
- Unreliable packets.

Each of these transport types will need:
- Crypto - both setting up the connection and once it is connected.
- Authentication.
- Bottom part of the retransmission logic. (Probably not needed for streams).
- Code to actually drive the transports. (For a packet-based transport, we 
probably expect the plugin to provide its own send/receive loops; for a 
stream-based transport we'd probably want it to give us an 
InputStream/OutputStream pair for each connection)

Some of this code can be shared. For example, the actual maths/crypto in 
connection setup would probably 

[freenet-dev] GSoC 2012: Network Probes, Statistics, and Analysis

2012-03-29 Thread Steve Dougherty
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

I was hoping to get some feedback on my Google Summer of Code
application. I've noticed that the lack of detailed information
available on network topology, link distribution, and overall makeup
and health makes it difficult to make decisions on how to improve
network performance. To that end, I'd like to:

- -Clean up the existing probe code: document, improve readability, and
 correct errors and annoyances. To name some examples:
-Peer locations are reported as doubles with known/unknown, backed
 off/not backed off encoded into the value, and there are some
 ambiguities in these values. I'd like to make a Location class
 instead with separate reported fields.
-Probe traces can still be returned after a completion message;
 waiting a while for more traces could be nice.
- -Make probes available over FCP:
-Document along with other FCP messages. [0]
-I've already started initial implementations of these changes in
 Fred [1] and lib-pyFreenet. [2]
- -Plot network attributes revealed through probe requests:
-Node churn
-Network size
-Link length distribution
-Graphs of topology: Gephi [3] could be useful here.
-I've already started an initial implementation of such a tool. [4]
- -Implement the probes and traces described in bugs #3568 [5] and #3550
 [6]. I don't have experience adding new message types to Fred - I've
 only registered a message type from a plugin [7], so I'm not sure what
 it involves or if it's within the scope of a summer. I'd appreciate
 anyone's thoughts on this.

Is anyone willing to mentor me on this project?

Thanks,
Steve Dougherty

[0] http://new-wiki.freenetproject.org/FCPv2#Messages
[1] https://github.com/Thynix/fred-staging/tree/FCPProbes
[2] https://github.com/Thynix/lib-pyFreenet-staging/tree/FCPProbe
[3] http://gephi.org
[4] https://github.com/Thynix/pyProbe
[5] https://bugs.freenetproject.org/view.php?id=3568
[6] https://bugs.freenetproject.org/view.php?id=3550
[7] https://github.com/thynix/n2nchat
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJPc+bUAAoJECLJP19KqmFufdgP/3nq2E4YPHNYDUQNTxupZdl9
9p2lpk7379z1nvdUzNsebiSqA6bIL0vE8hgJ/7bnw37qHkjbbshOvejChoaF0jqY
aYEZmVYqbqP4RPrxGV+hxndGSBDadn4iCdoMeABFsGfa1BqFEgLaOAkuXT0zFF5D
SWGZZzCRx7h+JIA2Iv5/oKgoeSgb+Be6UaoJv3niheh9iZv6Qo3LQU9ZfQNG/Dx1
SZEdl0NePNQUGLEztpFZGs9wwdXSPisVIVckRtELB5B5zc5m4qb26u9zGDqBiVCs
JCnf9GfYDlX6BH90bCT1qujroIh1l/Frx06akbMQw8YLOCxkO5mJlnehxxELf5le
cdh+z2lsLKyouRROtHVcIMhhkAjTiu2cZhHvM5KmbfRVbPDwsqdIuEQPO87AGwoa
uIS/3So/s8EycA0nwv+TErfQfEcRguTVvE5w5L9hN6vmznt2J0LeKy55ZzpJItTU
EHudI4qXDxr4SwOJAPH2rfOUWF4935rLchHlI/IGQagqDqPnWznsTaKNmdz1XBdF
UftRo75Z1qgoINyLTFpZ2H2LFJ2wnvPHnbhLynQslbskjZzeVnRTP/6Td0sE94Dw
qqMvPWbNzbEkX6FObSM7ogXaPOKfkpjm5xW4zuj2GR8F5xR343HyPAQ1xZPkJ7bp
WNeVIlfmO1OKHNMBbnlx
=VcWw
-END PGP SIGNATURE-



[freenet-dev] GSoC 2012: Network Probes, Statistics, and Analysis

2012-03-28 Thread Steve Dougherty
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

I was hoping to get some feedback on my Google Summer of Code
application. I've noticed that the lack of detailed information
available on network topology, link distribution, and overall makeup
and health makes it difficult to make decisions on how to improve
network performance. To that end, I'd like to:

- -Clean up the existing probe code: document, improve readability, and
 correct errors and annoyances. To name some examples:
-Peer locations are reported as doubles with known/unknown, backed
 off/not backed off encoded into the value, and there are some
 ambiguities in these values. I'd like to make a Location class
 instead with separate reported fields.
-Probe traces can still be returned after a completion message;
 waiting a while for more traces could be nice.
- -Make probes available over FCP:
-Document along with other FCP messages. [0]
-I've already started initial implementations of these changes in
 Fred [1] and lib-pyFreenet. [2]
- -Plot network attributes revealed through probe requests:
-Node churn
-Network size
-Link length distribution
-Graphs of topology: Gephi [3] could be useful here.
-I've already started an initial implementation of such a tool. [4]
- -Implement the probes and traces described in bugs #3568 [5] and #3550
 [6]. I don't have experience adding new message types to Fred - I've
 only registered a message type from a plugin [7], so I'm not sure what
 it involves or if it's within the scope of a summer. I'd appreciate
 anyone's thoughts on this.

Is anyone willing to mentor me on this project?

Thanks,
Steve Dougherty

[0] http://new-wiki.freenetproject.org/FCPv2#Messages
[1] https://github.com/Thynix/fred-staging/tree/FCPProbes
[2] https://github.com/Thynix/lib-pyFreenet-staging/tree/FCPProbe
[3] http://gephi.org
[4] https://github.com/Thynix/pyProbe
[5] https://bugs.freenetproject.org/view.php?id=3568
[6] https://bugs.freenetproject.org/view.php?id=3550
[7] https://github.com/thynix/n2nchat
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJPc+bUAAoJECLJP19KqmFufdgP/3nq2E4YPHNYDUQNTxupZdl9
9p2lpk7379z1nvdUzNsebiSqA6bIL0vE8hgJ/7bnw37qHkjbbshOvejChoaF0jqY
aYEZmVYqbqP4RPrxGV+hxndGSBDadn4iCdoMeABFsGfa1BqFEgLaOAkuXT0zFF5D
SWGZZzCRx7h+JIA2Iv5/oKgoeSgb+Be6UaoJv3niheh9iZv6Qo3LQU9ZfQNG/Dx1
SZEdl0NePNQUGLEztpFZGs9wwdXSPisVIVckRtELB5B5zc5m4qb26u9zGDqBiVCs
JCnf9GfYDlX6BH90bCT1qujroIh1l/Frx06akbMQw8YLOCxkO5mJlnehxxELf5le
cdh+z2lsLKyouRROtHVcIMhhkAjTiu2cZhHvM5KmbfRVbPDwsqdIuEQPO87AGwoa
uIS/3So/s8EycA0nwv+TErfQfEcRguTVvE5w5L9hN6vmznt2J0LeKy55ZzpJItTU
EHudI4qXDxr4SwOJAPH2rfOUWF4935rLchHlI/IGQagqDqPnWznsTaKNmdz1XBdF
UftRo75Z1qgoINyLTFpZ2H2LFJ2wnvPHnbhLynQslbskjZzeVnRTP/6Td0sE94Dw
qqMvPWbNzbEkX6FObSM7ogXaPOKfkpjm5xW4zuj2GR8F5xR343HyPAQ1xZPkJ7bp
WNeVIlfmO1OKHNMBbnlx
=VcWw
-END PGP SIGNATURE-
___
Devl mailing list
Devl@freenetproject.org
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl


[freenet-dev] GSOC 2012 Tansport Plugin

2012-03-27 Thread Chetan Hosmani
Also I don't think anyone has agreed to mentor this project. Can
somebody let me know if there is a mentor?

Thanks

On Tue, Mar 27, 2012 at 4:46 PM, Chetan Hosmani
 wrote:
> Thanks for the advice, I think I will find this very necessary if I
> get to work on it. It will speed up the process too.
>
> On Tue, Mar 27, 2012 at 3:10 PM, Ximin Luo  wrote:
>> One word of advice: if you find the code hard to understand, it is not
>> necessarily your fault. IMO the codebase is messy atm. If you have trouble 
>> with
>> any file, use "git log " to find the previous people that 
>> worked
>> on it and go bug them to explain it to you in more human terms. They deserve 
>> it :p
>>
>> X
>>
>> On 27/03/12 10:21, Chetan Hosmani wrote:
>>> Hello,
>>>
>>> I have been idling ?on the IRC channel for quite some time now. The
>>> response from freenet is really good.
>>>
>>> For my GSoC application I have been working on a proposal for the
>>> transport plugin. Although the response from freenet is "this is a
>>> very hard project", I have tried my best to understand the codebase of
>>> freenet and the exact purpose of this project. In particular I have
>>> spoken to Arnebab, toad_ and nextgens regarding this assignment and
>>> from them have gained a good insight on what needs to be done.
>>>
>>> Based on their information and some research on the project this is my
>>> present standing. Some of it might still be incorrect.
>>>
>>> Firstly Freenet presently runs extensively on UDP based sockets. The
>>> communication happens at several layers and with different mechanisms
>>> i.e sockets, streams, reliable packets, UDP, so on... The major
>>> problem is that the code has been integrated very tightly. For e.g.
>>> NodeCrypto class uses only UDPSocketHandler for communication. So this
>>> means that the data cryptography and communication at the transport
>>> layer (using UDP in this case) are grouped very tightly.
>>>
>>> This means that a major refactoring of the code is needed. This task
>>> is supposed to be the hard part (where prior freenet experience is
>>> needed).
>>> Changes will definitely encompass refactoring - Node, NodeCrpyto,
>>> UdpSocketHandler and other related dependencies.
>>> For this I plan to do a very thorough research and practice on the
>>> core functionality of freenet way before the coding period begins, so
>>> I know the exact task at hand.
>>> I ll obviously be at the mercy of the community.
>>>
>>> On the other hand a lot of work has been completed. For eg.
>>> implementations of OutgoingPacketMangler and IncomingPacketFIlter
>>> allow packets defined for any transport protocol. This is also
>>> mentioned here - "Last year's work on new packet format should really
>>> help although some transports (really small packets e.g. pretending to
>>> be Skype) will still need to do their own splitting/reassembly (this
>>> should probably happen within the node too, although it should be
>>> possible to turn it off). "
>>> Streams have better support: 
>>> https://bugs.freenetproject.org/view.php?id=2214
>>>
>>> Secondly once this is achieved, UDP will become an individual
>>> transport plugin and similarly the framework will support users to
>>> write their own transport plugin. Now this means the cryptography and
>>> packet modifications are done in a different level, and hence the
>>> developer need not bother about them. As part of the GSoC project I
>>> will be required to make this change and also in the process develop
>>> TCP transport plugin.
>>> Here I think I am more comfortable, and I think my existing knowledge
>>> of sockets should get me through.
>>>
>>> Thirdly, some other objectives as toad_ mentioned as important,
>>> include ways to deal with having multiple connections open to the same
>>> peer at the same time. Presently haven't thought about this, and don't
>>> know that much about freenet for the exact need for this.
>>>
>>> And apart from this (some confusion regarding this) is implementation
>>> of other application level protocols like HTTP, VoIP and so on. Now
>>> this can "become" easy if protocols like TCP are enabled. Also as
>>> mentioned in the project page is the ability for communications to
>>> pretend to be of other protocols. Again I believe it means that an
>>> example plugin needs to be developed.
>>> This part of the project would spill outside the deadline but it can
>>> get direct contribution from the community.
>>>
>>> The application period has now started, so I ll be turning in mine.
>>> But I was hoping I could clarify a few things.
>>>
>>> I know this is beyond what can be finished in three months. *Please
>>> give me your opinion on this proposal and what I should do. *
>>>
>>> Also as nextgens mentioned, this project would be very hard for me, I
>>> would like to know if I should continue researching more or probably
>>> give something else a shot. I still have a week to go either way. But
>>> I am aware this requires a lot of effort and knowledge and I 

[freenet-dev] GSOC 2012 Tansport Plugin

2012-03-27 Thread Chetan Hosmani
Thanks for the advice, I think I will find this very necessary if I
get to work on it. It will speed up the process too.

On Tue, Mar 27, 2012 at 3:10 PM, Ximin Luo  wrote:
> One word of advice: if you find the code hard to understand, it is not
> necessarily your fault. IMO the codebase is messy atm. If you have trouble 
> with
> any file, use "git log " to find the previous people that worked
> on it and go bug them to explain it to you in more human terms. They deserve 
> it :p
>
> X
>
> On 27/03/12 10:21, Chetan Hosmani wrote:
>> Hello,
>>
>> I have been idling ?on the IRC channel for quite some time now. The
>> response from freenet is really good.
>>
>> For my GSoC application I have been working on a proposal for the
>> transport plugin. Although the response from freenet is "this is a
>> very hard project", I have tried my best to understand the codebase of
>> freenet and the exact purpose of this project. In particular I have
>> spoken to Arnebab, toad_ and nextgens regarding this assignment and
>> from them have gained a good insight on what needs to be done.
>>
>> Based on their information and some research on the project this is my
>> present standing. Some of it might still be incorrect.
>>
>> Firstly Freenet presently runs extensively on UDP based sockets. The
>> communication happens at several layers and with different mechanisms
>> i.e sockets, streams, reliable packets, UDP, so on... The major
>> problem is that the code has been integrated very tightly. For e.g.
>> NodeCrypto class uses only UDPSocketHandler for communication. So this
>> means that the data cryptography and communication at the transport
>> layer (using UDP in this case) are grouped very tightly.
>>
>> This means that a major refactoring of the code is needed. This task
>> is supposed to be the hard part (where prior freenet experience is
>> needed).
>> Changes will definitely encompass refactoring - Node, NodeCrpyto,
>> UdpSocketHandler and other related dependencies.
>> For this I plan to do a very thorough research and practice on the
>> core functionality of freenet way before the coding period begins, so
>> I know the exact task at hand.
>> I ll obviously be at the mercy of the community.
>>
>> On the other hand a lot of work has been completed. For eg.
>> implementations of OutgoingPacketMangler and IncomingPacketFIlter
>> allow packets defined for any transport protocol. This is also
>> mentioned here - "Last year's work on new packet format should really
>> help although some transports (really small packets e.g. pretending to
>> be Skype) will still need to do their own splitting/reassembly (this
>> should probably happen within the node too, although it should be
>> possible to turn it off). "
>> Streams have better support: https://bugs.freenetproject.org/view.php?id=2214
>>
>> Secondly once this is achieved, UDP will become an individual
>> transport plugin and similarly the framework will support users to
>> write their own transport plugin. Now this means the cryptography and
>> packet modifications are done in a different level, and hence the
>> developer need not bother about them. As part of the GSoC project I
>> will be required to make this change and also in the process develop
>> TCP transport plugin.
>> Here I think I am more comfortable, and I think my existing knowledge
>> of sockets should get me through.
>>
>> Thirdly, some other objectives as toad_ mentioned as important,
>> include ways to deal with having multiple connections open to the same
>> peer at the same time. Presently haven't thought about this, and don't
>> know that much about freenet for the exact need for this.
>>
>> And apart from this (some confusion regarding this) is implementation
>> of other application level protocols like HTTP, VoIP and so on. Now
>> this can "become" easy if protocols like TCP are enabled. Also as
>> mentioned in the project page is the ability for communications to
>> pretend to be of other protocols. Again I believe it means that an
>> example plugin needs to be developed.
>> This part of the project would spill outside the deadline but it can
>> get direct contribution from the community.
>>
>> The application period has now started, so I ll be turning in mine.
>> But I was hoping I could clarify a few things.
>>
>> I know this is beyond what can be finished in three months. *Please
>> give me your opinion on this proposal and what I should do. *
>>
>> Also as nextgens mentioned, this project would be very hard for me, I
>> would like to know if I should continue researching more or probably
>> give something else a shot. I still have a week to go either way. But
>> I am aware this requires a lot of effort and knowledge and I am ready
>> for that. For now I will try and fix a bug.
>>
>> Thank you
>>
>> PS: Comments, including "you don't know shit" or "go watch TV" are welcome :)
>> ___
>> Devl mailing list
>> Devl at freenetproject.org
>> 

[freenet-dev] GSOC 2012 Tansport Plugin

2012-03-27 Thread Chetan Hosmani
Hello,

I have been idling  on the IRC channel for quite some time now. The
response from freenet is really good.

For my GSoC application I have been working on a proposal for the
transport plugin. Although the response from freenet is "this is a
very hard project", I have tried my best to understand the codebase of
freenet and the exact purpose of this project. In particular I have
spoken to Arnebab, toad_ and nextgens regarding this assignment and
from them have gained a good insight on what needs to be done.

Based on their information and some research on the project this is my
present standing. Some of it might still be incorrect.

Firstly Freenet presently runs extensively on UDP based sockets. The
communication happens at several layers and with different mechanisms
i.e sockets, streams, reliable packets, UDP, so on... The major
problem is that the code has been integrated very tightly. For e.g.
NodeCrypto class uses only UDPSocketHandler for communication. So this
means that the data cryptography and communication at the transport
layer (using UDP in this case) are grouped very tightly.

This means that a major refactoring of the code is needed. This task
is supposed to be the hard part (where prior freenet experience is
needed).
Changes will definitely encompass refactoring - Node, NodeCrpyto,
UdpSocketHandler and other related dependencies.
For this I plan to do a very thorough research and practice on the
core functionality of freenet way before the coding period begins, so
I know the exact task at hand.
I ll obviously be at the mercy of the community.

On the other hand a lot of work has been completed. For eg.
implementations of OutgoingPacketMangler and IncomingPacketFIlter
allow packets defined for any transport protocol. This is also
mentioned here - "Last year's work on new packet format should really
help although some transports (really small packets e.g. pretending to
be Skype) will still need to do their own splitting/reassembly (this
should probably happen within the node too, although it should be
possible to turn it off). "
Streams have better support: https://bugs.freenetproject.org/view.php?id=2214

Secondly once this is achieved, UDP will become an individual
transport plugin and similarly the framework will support users to
write their own transport plugin. Now this means the cryptography and
packet modifications are done in a different level, and hence the
developer need not bother about them. As part of the GSoC project I
will be required to make this change and also in the process develop
TCP transport plugin.
Here I think I am more comfortable, and I think my existing knowledge
of sockets should get me through.

Thirdly, some other objectives as toad_ mentioned as important,
include ways to deal with having multiple connections open to the same
peer at the same time. Presently haven't thought about this, and don't
know that much about freenet for the exact need for this.

And apart from this (some confusion regarding this) is implementation
of other application level protocols like HTTP, VoIP and so on. Now
this can "become" easy if protocols like TCP are enabled. Also as
mentioned in the project page is the ability for communications to
pretend to be of other protocols. Again I believe it means that an
example plugin needs to be developed.
This part of the project would spill outside the deadline but it can
get direct contribution from the community.

The application period has now started, so I ll be turning in mine.
But I was hoping I could clarify a few things.

I know this is beyond what can be finished in three months. *Please
give me your opinion on this proposal and what I should do. *

Also as nextgens mentioned, this project would be very hard for me, I
would like to know if I should continue researching more or probably
give something else a shot. I still have a week to go either way. But
I am aware this requires a lot of effort and knowledge and I am ready
for that. For now I will try and fix a bug.

Thank you

PS: Comments, including "you don't know shit" or "go watch TV" are welcome :)



[freenet-dev] GSOC 2012 Tansport Plugin

2012-03-27 Thread Ximin Luo
One word of advice: if you find the code hard to understand, it is not
necessarily your fault. IMO the codebase is messy atm. If you have trouble with
any file, use "git log " to find the previous people that worked
on it and go bug them to explain it to you in more human terms. They deserve it 
:p

X

On 27/03/12 10:21, Chetan Hosmani wrote:
> Hello,
> 
> I have been idling  on the IRC channel for quite some time now. The
> response from freenet is really good.
> 
> For my GSoC application I have been working on a proposal for the
> transport plugin. Although the response from freenet is "this is a
> very hard project", I have tried my best to understand the codebase of
> freenet and the exact purpose of this project. In particular I have
> spoken to Arnebab, toad_ and nextgens regarding this assignment and
> from them have gained a good insight on what needs to be done.
> 
> Based on their information and some research on the project this is my
> present standing. Some of it might still be incorrect.
> 
> Firstly Freenet presently runs extensively on UDP based sockets. The
> communication happens at several layers and with different mechanisms
> i.e sockets, streams, reliable packets, UDP, so on... The major
> problem is that the code has been integrated very tightly. For e.g.
> NodeCrypto class uses only UDPSocketHandler for communication. So this
> means that the data cryptography and communication at the transport
> layer (using UDP in this case) are grouped very tightly.
> 
> This means that a major refactoring of the code is needed. This task
> is supposed to be the hard part (where prior freenet experience is
> needed).
> Changes will definitely encompass refactoring - Node, NodeCrpyto,
> UdpSocketHandler and other related dependencies.
> For this I plan to do a very thorough research and practice on the
> core functionality of freenet way before the coding period begins, so
> I know the exact task at hand.
> I ll obviously be at the mercy of the community.
> 
> On the other hand a lot of work has been completed. For eg.
> implementations of OutgoingPacketMangler and IncomingPacketFIlter
> allow packets defined for any transport protocol. This is also
> mentioned here - "Last year's work on new packet format should really
> help although some transports (really small packets e.g. pretending to
> be Skype) will still need to do their own splitting/reassembly (this
> should probably happen within the node too, although it should be
> possible to turn it off). "
> Streams have better support: https://bugs.freenetproject.org/view.php?id=2214
> 
> Secondly once this is achieved, UDP will become an individual
> transport plugin and similarly the framework will support users to
> write their own transport plugin. Now this means the cryptography and
> packet modifications are done in a different level, and hence the
> developer need not bother about them. As part of the GSoC project I
> will be required to make this change and also in the process develop
> TCP transport plugin.
> Here I think I am more comfortable, and I think my existing knowledge
> of sockets should get me through.
> 
> Thirdly, some other objectives as toad_ mentioned as important,
> include ways to deal with having multiple connections open to the same
> peer at the same time. Presently haven't thought about this, and don't
> know that much about freenet for the exact need for this.
> 
> And apart from this (some confusion regarding this) is implementation
> of other application level protocols like HTTP, VoIP and so on. Now
> this can "become" easy if protocols like TCP are enabled. Also as
> mentioned in the project page is the ability for communications to
> pretend to be of other protocols. Again I believe it means that an
> example plugin needs to be developed.
> This part of the project would spill outside the deadline but it can
> get direct contribution from the community.
> 
> The application period has now started, so I ll be turning in mine.
> But I was hoping I could clarify a few things.
> 
> I know this is beyond what can be finished in three months. *Please
> give me your opinion on this proposal and what I should do. *
> 
> Also as nextgens mentioned, this project would be very hard for me, I
> would like to know if I should continue researching more or probably
> give something else a shot. I still have a week to go either way. But
> I am aware this requires a lot of effort and knowledge and I am ready
> for that. For now I will try and fix a bug.
> 
> Thank you
> 
> PS: Comments, including "you don't know shit" or "go watch TV" are welcome :)
> ___
> Devl mailing list
> Devl at freenetproject.org
> https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl


-- 
GPG: 4096R/5FBBDBCE
https://github.com/infinity0
https://bitbucket.org/infinity0
https://launchpad.net/~infinity0

-- next part --
A non-text attachment was scrubbed...
Name: signature.asc

[freenet-dev] GSOC 2012 Tansport Plugin

2012-03-27 Thread Chetan Hosmani
Hello,

I have been idling  on the IRC channel for quite some time now. The
response from freenet is really good.

For my GSoC application I have been working on a proposal for the
transport plugin. Although the response from freenet is this is a
very hard project, I have tried my best to understand the codebase of
freenet and the exact purpose of this project. In particular I have
spoken to Arnebab, toad_ and nextgens regarding this assignment and
from them have gained a good insight on what needs to be done.

Based on their information and some research on the project this is my
present standing. Some of it might still be incorrect.

Firstly Freenet presently runs extensively on UDP based sockets. The
communication happens at several layers and with different mechanisms
i.e sockets, streams, reliable packets, UDP, so on... The major
problem is that the code has been integrated very tightly. For e.g.
NodeCrypto class uses only UDPSocketHandler for communication. So this
means that the data cryptography and communication at the transport
layer (using UDP in this case) are grouped very tightly.

This means that a major refactoring of the code is needed. This task
is supposed to be the hard part (where prior freenet experience is
needed).
Changes will definitely encompass refactoring - Node, NodeCrpyto,
UdpSocketHandler and other related dependencies.
For this I plan to do a very thorough research and practice on the
core functionality of freenet way before the coding period begins, so
I know the exact task at hand.
I ll obviously be at the mercy of the community.

On the other hand a lot of work has been completed. For eg.
implementations of OutgoingPacketMangler and IncomingPacketFIlter
allow packets defined for any transport protocol. This is also
mentioned here - Last year's work on new packet format should really
help although some transports (really small packets e.g. pretending to
be Skype) will still need to do their own splitting/reassembly (this
should probably happen within the node too, although it should be
possible to turn it off). 
Streams have better support: https://bugs.freenetproject.org/view.php?id=2214

Secondly once this is achieved, UDP will become an individual
transport plugin and similarly the framework will support users to
write their own transport plugin. Now this means the cryptography and
packet modifications are done in a different level, and hence the
developer need not bother about them. As part of the GSoC project I
will be required to make this change and also in the process develop
TCP transport plugin.
Here I think I am more comfortable, and I think my existing knowledge
of sockets should get me through.

Thirdly, some other objectives as toad_ mentioned as important,
include ways to deal with having multiple connections open to the same
peer at the same time. Presently haven't thought about this, and don't
know that much about freenet for the exact need for this.

And apart from this (some confusion regarding this) is implementation
of other application level protocols like HTTP, VoIP and so on. Now
this can become easy if protocols like TCP are enabled. Also as
mentioned in the project page is the ability for communications to
pretend to be of other protocols. Again I believe it means that an
example plugin needs to be developed.
This part of the project would spill outside the deadline but it can
get direct contribution from the community.

The application period has now started, so I ll be turning in mine.
But I was hoping I could clarify a few things.

I know this is beyond what can be finished in three months. *Please
give me your opinion on this proposal and what I should do. *

Also as nextgens mentioned, this project would be very hard for me, I
would like to know if I should continue researching more or probably
give something else a shot. I still have a week to go either way. But
I am aware this requires a lot of effort and knowledge and I am ready
for that. For now I will try and fix a bug.

Thank you

PS: Comments, including you don't know shit or go watch TV are welcome :)
___
Devl mailing list
Devl@freenetproject.org
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl


Re: [freenet-dev] GSOC 2012 Tansport Plugin

2012-03-27 Thread Ximin Luo
One word of advice: if you find the code hard to understand, it is not
necessarily your fault. IMO the codebase is messy atm. If you have trouble with
any file, use git log path/to/file to find the previous people that worked
on it and go bug them to explain it to you in more human terms. They deserve it 
:p

X

On 27/03/12 10:21, Chetan Hosmani wrote:
 Hello,
 
 I have been idling  on the IRC channel for quite some time now. The
 response from freenet is really good.
 
 For my GSoC application I have been working on a proposal for the
 transport plugin. Although the response from freenet is this is a
 very hard project, I have tried my best to understand the codebase of
 freenet and the exact purpose of this project. In particular I have
 spoken to Arnebab, toad_ and nextgens regarding this assignment and
 from them have gained a good insight on what needs to be done.
 
 Based on their information and some research on the project this is my
 present standing. Some of it might still be incorrect.
 
 Firstly Freenet presently runs extensively on UDP based sockets. The
 communication happens at several layers and with different mechanisms
 i.e sockets, streams, reliable packets, UDP, so on... The major
 problem is that the code has been integrated very tightly. For e.g.
 NodeCrypto class uses only UDPSocketHandler for communication. So this
 means that the data cryptography and communication at the transport
 layer (using UDP in this case) are grouped very tightly.
 
 This means that a major refactoring of the code is needed. This task
 is supposed to be the hard part (where prior freenet experience is
 needed).
 Changes will definitely encompass refactoring - Node, NodeCrpyto,
 UdpSocketHandler and other related dependencies.
 For this I plan to do a very thorough research and practice on the
 core functionality of freenet way before the coding period begins, so
 I know the exact task at hand.
 I ll obviously be at the mercy of the community.
 
 On the other hand a lot of work has been completed. For eg.
 implementations of OutgoingPacketMangler and IncomingPacketFIlter
 allow packets defined for any transport protocol. This is also
 mentioned here - Last year's work on new packet format should really
 help although some transports (really small packets e.g. pretending to
 be Skype) will still need to do their own splitting/reassembly (this
 should probably happen within the node too, although it should be
 possible to turn it off). 
 Streams have better support: https://bugs.freenetproject.org/view.php?id=2214
 
 Secondly once this is achieved, UDP will become an individual
 transport plugin and similarly the framework will support users to
 write their own transport plugin. Now this means the cryptography and
 packet modifications are done in a different level, and hence the
 developer need not bother about them. As part of the GSoC project I
 will be required to make this change and also in the process develop
 TCP transport plugin.
 Here I think I am more comfortable, and I think my existing knowledge
 of sockets should get me through.
 
 Thirdly, some other objectives as toad_ mentioned as important,
 include ways to deal with having multiple connections open to the same
 peer at the same time. Presently haven't thought about this, and don't
 know that much about freenet for the exact need for this.
 
 And apart from this (some confusion regarding this) is implementation
 of other application level protocols like HTTP, VoIP and so on. Now
 this can become easy if protocols like TCP are enabled. Also as
 mentioned in the project page is the ability for communications to
 pretend to be of other protocols. Again I believe it means that an
 example plugin needs to be developed.
 This part of the project would spill outside the deadline but it can
 get direct contribution from the community.
 
 The application period has now started, so I ll be turning in mine.
 But I was hoping I could clarify a few things.
 
 I know this is beyond what can be finished in three months. *Please
 give me your opinion on this proposal and what I should do. *
 
 Also as nextgens mentioned, this project would be very hard for me, I
 would like to know if I should continue researching more or probably
 give something else a shot. I still have a week to go either way. But
 I am aware this requires a lot of effort and knowledge and I am ready
 for that. For now I will try and fix a bug.
 
 Thank you
 
 PS: Comments, including you don't know shit or go watch TV are welcome :)
 ___
 Devl mailing list
 Devl@freenetproject.org
 https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl


-- 
GPG: 4096R/5FBBDBCE
https://github.com/infinity0
https://bitbucket.org/infinity0
https://launchpad.net/~infinity0



signature.asc
Description: OpenPGP digital signature
___
Devl mailing list
Devl@freenetproject.org

Re: [freenet-dev] GSOC 2012 Tansport Plugin

2012-03-27 Thread Chetan Hosmani
Also I don't think anyone has agreed to mentor this project. Can
somebody let me know if there is a mentor?

Thanks

On Tue, Mar 27, 2012 at 4:46 PM, Chetan Hosmani
chetanhosmanig...@gmail.com wrote:
 Thanks for the advice, I think I will find this very necessary if I
 get to work on it. It will speed up the process too.

 On Tue, Mar 27, 2012 at 3:10 PM, Ximin Luo infini...@gmx.com wrote:
 One word of advice: if you find the code hard to understand, it is not
 necessarily your fault. IMO the codebase is messy atm. If you have trouble 
 with
 any file, use git log path/to/file to find the previous people that 
 worked
 on it and go bug them to explain it to you in more human terms. They deserve 
 it :p

 X

 On 27/03/12 10:21, Chetan Hosmani wrote:
 Hello,

 I have been idling  on the IRC channel for quite some time now. The
 response from freenet is really good.

 For my GSoC application I have been working on a proposal for the
 transport plugin. Although the response from freenet is this is a
 very hard project, I have tried my best to understand the codebase of
 freenet and the exact purpose of this project. In particular I have
 spoken to Arnebab, toad_ and nextgens regarding this assignment and
 from them have gained a good insight on what needs to be done.

 Based on their information and some research on the project this is my
 present standing. Some of it might still be incorrect.

 Firstly Freenet presently runs extensively on UDP based sockets. The
 communication happens at several layers and with different mechanisms
 i.e sockets, streams, reliable packets, UDP, so on... The major
 problem is that the code has been integrated very tightly. For e.g.
 NodeCrypto class uses only UDPSocketHandler for communication. So this
 means that the data cryptography and communication at the transport
 layer (using UDP in this case) are grouped very tightly.

 This means that a major refactoring of the code is needed. This task
 is supposed to be the hard part (where prior freenet experience is
 needed).
 Changes will definitely encompass refactoring - Node, NodeCrpyto,
 UdpSocketHandler and other related dependencies.
 For this I plan to do a very thorough research and practice on the
 core functionality of freenet way before the coding period begins, so
 I know the exact task at hand.
 I ll obviously be at the mercy of the community.

 On the other hand a lot of work has been completed. For eg.
 implementations of OutgoingPacketMangler and IncomingPacketFIlter
 allow packets defined for any transport protocol. This is also
 mentioned here - Last year's work on new packet format should really
 help although some transports (really small packets e.g. pretending to
 be Skype) will still need to do their own splitting/reassembly (this
 should probably happen within the node too, although it should be
 possible to turn it off). 
 Streams have better support: 
 https://bugs.freenetproject.org/view.php?id=2214

 Secondly once this is achieved, UDP will become an individual
 transport plugin and similarly the framework will support users to
 write their own transport plugin. Now this means the cryptography and
 packet modifications are done in a different level, and hence the
 developer need not bother about them. As part of the GSoC project I
 will be required to make this change and also in the process develop
 TCP transport plugin.
 Here I think I am more comfortable, and I think my existing knowledge
 of sockets should get me through.

 Thirdly, some other objectives as toad_ mentioned as important,
 include ways to deal with having multiple connections open to the same
 peer at the same time. Presently haven't thought about this, and don't
 know that much about freenet for the exact need for this.

 And apart from this (some confusion regarding this) is implementation
 of other application level protocols like HTTP, VoIP and so on. Now
 this can become easy if protocols like TCP are enabled. Also as
 mentioned in the project page is the ability for communications to
 pretend to be of other protocols. Again I believe it means that an
 example plugin needs to be developed.
 This part of the project would spill outside the deadline but it can
 get direct contribution from the community.

 The application period has now started, so I ll be turning in mine.
 But I was hoping I could clarify a few things.

 I know this is beyond what can be finished in three months. *Please
 give me your opinion on this proposal and what I should do. *

 Also as nextgens mentioned, this project would be very hard for me, I
 would like to know if I should continue researching more or probably
 give something else a shot. I still have a week to go either way. But
 I am aware this requires a lot of effort and knowledge and I am ready
 for that. For now I will try and fix a bug.

 Thank you

 PS: Comments, including you don't know shit or go watch TV are welcome 
 :)
 ___
 Devl mailing list
 

[freenet-dev] [GSoC 2012]

2012-03-18 Thread Gayan Dhanushka
Hi all,

I am a final year undergraduate at university of Moratuwa, Sri Lanka. I
specialize computer science and engineering. I would like to contribute the
freenet project. If you have any GSoC project ideas please post them here.

Thank You!
Gayan


-- 
*Gayan Dhanushka*
Undergraduate
Computer Science & Engineering
University of Moratuwa
-- next part --
An HTML attachment was scrubbed...
URL: 



[freenet-dev] [GSoC 2012]

2012-03-18 Thread Thomas Markus
Please take a look at the ideas page on the wiki:

http://new-wiki.freenetproject.org/Google_Summer_of_Code/2012


On 03/18/2012 08:49 AM, Gayan Dhanushka wrote:
> Hi all,
>
> I am a final year undergraduate at university of Moratuwa, Sri Lanka. 
> I specialize computer science and engineering. I would like to 
> contribute the freenet project. If you have any GSoC project ideas 
> please post them here.
>
> Thank You!
> Gayan
>
>
> -- 
> *Gayan Dhanushka*
> Undergraduate
> Computer Science & Engineering
> University of Moratuwa
>
>
>
> ___
> Devl mailing list
> Devl at freenetproject.org
> http://freenetproject.org/cgi-bin/mailman/listinfo/devl

-- next part --
An HTML attachment was scrubbed...
URL: 



[freenet-dev] GSOC 2012 Deadline Approaching

2012-03-08 Thread Florent Daigniere

I have submitted the application; it references 
http://new-wiki.freenetproject.org/Google_Summer_of_Code/2012 

Please ensure that 'your pet project' is on there before tomorrow

Florent


On Thu, Mar 08, 2012 at 11:54:58AM +, Florent Daigniere wrote:
> 
> Ok, I'll do the admin then. We have until tomorrow to apply.
> 
> Florent
> 
> 
> On Wed, Mar 07, 2012 at 08:32:39AM -0600, Ian Clarke wrote:
> > I'll be the backup mentor if someone else can be the admin.
> > 
> > Ian.
> > 
> > On Sun, Mar 4, 2012 at 10:52 AM, Evan Daniel  wrote:
> > 
> > > On Sun, Mar 4, 2012 at 11:31 AM, Matthew Toseland
> > >  wrote:
> > > > On Sunday 04 Mar 2012 16:09:41 Evan Daniel wrote:
> > > >> On Sun, Mar 4, 2012 at 11:06 AM, Matthew Toseland
> > > >>  wrote:
> > > >> > On Friday 02 Mar 2012 07:36:22 Steve Dougherty wrote:
> > > >> >> Matthew has said he's unable to be the administrator of the project
> > > for
> > > >> >> this year's Google Summer of Code, and that in order to apply we'd
> > > need a
> > > >> >> volunteer administrator in addition to mentors. Is anyone willing to
> > > >> >> volunteer?
> > > >> >
> > > >> > Well, basically the problem is admin ends up being backup mentor if
> > > the real mentor disappears. If anyone has a solution to this then we could
> > > do it.
> > > >>
> > > >> Well, we could designate a backup mentor, assuming we have a volunteer
> > > >> for that. I'm not sure that makes things any easier though :/
> > > >
> > > > Exactly. What happens is the mentor disappears, the admin panics, and
> > > somebody (likely the admin to avoid further chasing) has to go over the
> > > available evidence (mostly code) in a very short period. I don't have time
> > > for that sort of madness at the moment.
> > >
> > > I mean, designate one in advance, so that the searching can happen in
> > > an orderly manner without need for panic :)
> > >
> > > But, I suspect that's approximately as hard as finding a volunteer for
> > > the admin role :/
> > >
> > > Evan
> > > ___
> > > Devl mailing list
> > > Devl at freenetproject.org
> > > http://freenetproject.org/cgi-bin/mailman/listinfo/devl
> > >
> > 
> > 
> > 
> > -- 
> > Ian Clarke
> > Personal blog: http://blog.locut.us/
> 
> > ___
> > Devl mailing list
> > Devl at freenetproject.org
> > http://freenetproject.org/cgi-bin/mailman/listinfo/devl
> ___
> Devl mailing list
> Devl at freenetproject.org
> http://freenetproject.org/cgi-bin/mailman/listinfo/devl



[freenet-dev] GSOC 2012 Deadline Approaching

2012-03-08 Thread Florent Daigniere

Ok, I'll do the admin then. We have until tomorrow to apply.

Florent


On Wed, Mar 07, 2012 at 08:32:39AM -0600, Ian Clarke wrote:
> I'll be the backup mentor if someone else can be the admin.
> 
> Ian.
> 
> On Sun, Mar 4, 2012 at 10:52 AM, Evan Daniel  wrote:
> 
> > On Sun, Mar 4, 2012 at 11:31 AM, Matthew Toseland
> >  wrote:
> > > On Sunday 04 Mar 2012 16:09:41 Evan Daniel wrote:
> > >> On Sun, Mar 4, 2012 at 11:06 AM, Matthew Toseland
> > >>  wrote:
> > >> > On Friday 02 Mar 2012 07:36:22 Steve Dougherty wrote:
> > >> >> Matthew has said he's unable to be the administrator of the project
> > for
> > >> >> this year's Google Summer of Code, and that in order to apply we'd
> > need a
> > >> >> volunteer administrator in addition to mentors. Is anyone willing to
> > >> >> volunteer?
> > >> >
> > >> > Well, basically the problem is admin ends up being backup mentor if
> > the real mentor disappears. If anyone has a solution to this then we could
> > do it.
> > >>
> > >> Well, we could designate a backup mentor, assuming we have a volunteer
> > >> for that. I'm not sure that makes things any easier though :/
> > >
> > > Exactly. What happens is the mentor disappears, the admin panics, and
> > somebody (likely the admin to avoid further chasing) has to go over the
> > available evidence (mostly code) in a very short period. I don't have time
> > for that sort of madness at the moment.
> >
> > I mean, designate one in advance, so that the searching can happen in
> > an orderly manner without need for panic :)
> >
> > But, I suspect that's approximately as hard as finding a volunteer for
> > the admin role :/
> >
> > Evan
> > ___
> > Devl mailing list
> > Devl at freenetproject.org
> > http://freenetproject.org/cgi-bin/mailman/listinfo/devl
> >
> 
> 
> 
> -- 
> Ian Clarke
> Personal blog: http://blog.locut.us/

> ___
> Devl mailing list
> Devl at freenetproject.org
> http://freenetproject.org/cgi-bin/mailman/listinfo/devl



Re: [freenet-dev] GSOC 2012 Deadline Approaching

2012-03-08 Thread Florent Daigniere

Ok, I'll do the admin then. We have until tomorrow to apply.

Florent


On Wed, Mar 07, 2012 at 08:32:39AM -0600, Ian Clarke wrote:
 I'll be the backup mentor if someone else can be the admin.
 
 Ian.
 
 On Sun, Mar 4, 2012 at 10:52 AM, Evan Daniel eva...@gmail.com wrote:
 
  On Sun, Mar 4, 2012 at 11:31 AM, Matthew Toseland
  t...@amphibian.dyndns.org wrote:
   On Sunday 04 Mar 2012 16:09:41 Evan Daniel wrote:
   On Sun, Mar 4, 2012 at 11:06 AM, Matthew Toseland
   t...@amphibian.dyndns.org wrote:
On Friday 02 Mar 2012 07:36:22 Steve Dougherty wrote:
Matthew has said he's unable to be the administrator of the project
  for
this year's Google Summer of Code, and that in order to apply we'd
  need a
volunteer administrator in addition to mentors. Is anyone willing to
volunteer?
   
Well, basically the problem is admin ends up being backup mentor if
  the real mentor disappears. If anyone has a solution to this then we could
  do it.
  
   Well, we could designate a backup mentor, assuming we have a volunteer
   for that. I'm not sure that makes things any easier though :/
  
   Exactly. What happens is the mentor disappears, the admin panics, and
  somebody (likely the admin to avoid further chasing) has to go over the
  available evidence (mostly code) in a very short period. I don't have time
  for that sort of madness at the moment.
 
  I mean, designate one in advance, so that the searching can happen in
  an orderly manner without need for panic :)
 
  But, I suspect that's approximately as hard as finding a volunteer for
  the admin role :/
 
  Evan
  ___
  Devl mailing list
  Devl@freenetproject.org
  http://freenetproject.org/cgi-bin/mailman/listinfo/devl
 
 
 
 
 -- 
 Ian Clarke
 Personal blog: http://blog.locut.us/

 ___
 Devl mailing list
 Devl@freenetproject.org
 http://freenetproject.org/cgi-bin/mailman/listinfo/devl
___
Devl mailing list
Devl@freenetproject.org
http://freenetproject.org/cgi-bin/mailman/listinfo/devl


Re: [freenet-dev] GSOC 2012 Deadline Approaching

2012-03-08 Thread Florent Daigniere

I have submitted the application; it references 
http://new-wiki.freenetproject.org/Google_Summer_of_Code/2012 

Please ensure that 'your pet project' is on there before tomorrow

Florent


On Thu, Mar 08, 2012 at 11:54:58AM +, Florent Daigniere wrote:
 
 Ok, I'll do the admin then. We have until tomorrow to apply.
 
 Florent
 
 
 On Wed, Mar 07, 2012 at 08:32:39AM -0600, Ian Clarke wrote:
  I'll be the backup mentor if someone else can be the admin.
  
  Ian.
  
  On Sun, Mar 4, 2012 at 10:52 AM, Evan Daniel eva...@gmail.com wrote:
  
   On Sun, Mar 4, 2012 at 11:31 AM, Matthew Toseland
   t...@amphibian.dyndns.org wrote:
On Sunday 04 Mar 2012 16:09:41 Evan Daniel wrote:
On Sun, Mar 4, 2012 at 11:06 AM, Matthew Toseland
t...@amphibian.dyndns.org wrote:
 On Friday 02 Mar 2012 07:36:22 Steve Dougherty wrote:
 Matthew has said he's unable to be the administrator of the project
   for
 this year's Google Summer of Code, and that in order to apply we'd
   need a
 volunteer administrator in addition to mentors. Is anyone willing to
 volunteer?

 Well, basically the problem is admin ends up being backup mentor if
   the real mentor disappears. If anyone has a solution to this then we could
   do it.
   
Well, we could designate a backup mentor, assuming we have a volunteer
for that. I'm not sure that makes things any easier though :/
   
Exactly. What happens is the mentor disappears, the admin panics, and
   somebody (likely the admin to avoid further chasing) has to go over the
   available evidence (mostly code) in a very short period. I don't have time
   for that sort of madness at the moment.
  
   I mean, designate one in advance, so that the searching can happen in
   an orderly manner without need for panic :)
  
   But, I suspect that's approximately as hard as finding a volunteer for
   the admin role :/
  
   Evan
   ___
   Devl mailing list
   Devl@freenetproject.org
   http://freenetproject.org/cgi-bin/mailman/listinfo/devl
  
  
  
  
  -- 
  Ian Clarke
  Personal blog: http://blog.locut.us/
 
  ___
  Devl mailing list
  Devl@freenetproject.org
  http://freenetproject.org/cgi-bin/mailman/listinfo/devl
 ___
 Devl mailing list
 Devl@freenetproject.org
 http://freenetproject.org/cgi-bin/mailman/listinfo/devl
___
Devl mailing list
Devl@freenetproject.org
http://freenetproject.org/cgi-bin/mailman/listinfo/devl


[freenet-dev] GSOC 2012 Deadline Approaching

2012-03-07 Thread Ian Clarke
I'll be the backup mentor if someone else can be the admin.

Ian.

On Sun, Mar 4, 2012 at 10:52 AM, Evan Daniel  wrote:

> On Sun, Mar 4, 2012 at 11:31 AM, Matthew Toseland
>  wrote:
> > On Sunday 04 Mar 2012 16:09:41 Evan Daniel wrote:
> >> On Sun, Mar 4, 2012 at 11:06 AM, Matthew Toseland
> >>  wrote:
> >> > On Friday 02 Mar 2012 07:36:22 Steve Dougherty wrote:
> >> >> Matthew has said he's unable to be the administrator of the project
> for
> >> >> this year's Google Summer of Code, and that in order to apply we'd
> need a
> >> >> volunteer administrator in addition to mentors. Is anyone willing to
> >> >> volunteer?
> >> >
> >> > Well, basically the problem is admin ends up being backup mentor if
> the real mentor disappears. If anyone has a solution to this then we could
> do it.
> >>
> >> Well, we could designate a backup mentor, assuming we have a volunteer
> >> for that. I'm not sure that makes things any easier though :/
> >
> > Exactly. What happens is the mentor disappears, the admin panics, and
> somebody (likely the admin to avoid further chasing) has to go over the
> available evidence (mostly code) in a very short period. I don't have time
> for that sort of madness at the moment.
>
> I mean, designate one in advance, so that the searching can happen in
> an orderly manner without need for panic :)
>
> But, I suspect that's approximately as hard as finding a volunteer for
> the admin role :/
>
> Evan
> ___
> Devl mailing list
> Devl at freenetproject.org
> http://freenetproject.org/cgi-bin/mailman/listinfo/devl
>



-- 
Ian Clarke
Personal blog: http://blog.locut.us/
-- next part --
An HTML attachment was scrubbed...
URL: 



Re: [freenet-dev] GSOC 2012 Deadline Approaching

2012-03-07 Thread Ian Clarke
I'll be the backup mentor if someone else can be the admin.

Ian.

On Sun, Mar 4, 2012 at 10:52 AM, Evan Daniel eva...@gmail.com wrote:

 On Sun, Mar 4, 2012 at 11:31 AM, Matthew Toseland
 t...@amphibian.dyndns.org wrote:
  On Sunday 04 Mar 2012 16:09:41 Evan Daniel wrote:
  On Sun, Mar 4, 2012 at 11:06 AM, Matthew Toseland
  t...@amphibian.dyndns.org wrote:
   On Friday 02 Mar 2012 07:36:22 Steve Dougherty wrote:
   Matthew has said he's unable to be the administrator of the project
 for
   this year's Google Summer of Code, and that in order to apply we'd
 need a
   volunteer administrator in addition to mentors. Is anyone willing to
   volunteer?
  
   Well, basically the problem is admin ends up being backup mentor if
 the real mentor disappears. If anyone has a solution to this then we could
 do it.
 
  Well, we could designate a backup mentor, assuming we have a volunteer
  for that. I'm not sure that makes things any easier though :/
 
  Exactly. What happens is the mentor disappears, the admin panics, and
 somebody (likely the admin to avoid further chasing) has to go over the
 available evidence (mostly code) in a very short period. I don't have time
 for that sort of madness at the moment.

 I mean, designate one in advance, so that the searching can happen in
 an orderly manner without need for panic :)

 But, I suspect that's approximately as hard as finding a volunteer for
 the admin role :/

 Evan
 ___
 Devl mailing list
 Devl@freenetproject.org
 http://freenetproject.org/cgi-bin/mailman/listinfo/devl




-- 
Ian Clarke
Personal blog: http://blog.locut.us/
___
Devl mailing list
Devl@freenetproject.org
http://freenetproject.org/cgi-bin/mailman/listinfo/devl

[freenet-dev] GSOC 2012 Deadline Approaching

2012-03-04 Thread Matthew Toseland
On Sunday 04 Mar 2012 16:09:41 Evan Daniel wrote:
> On Sun, Mar 4, 2012 at 11:06 AM, Matthew Toseland
>  wrote:
> > On Friday 02 Mar 2012 07:36:22 Steve Dougherty wrote:
> >> Matthew has said he's unable to be the administrator of the project for
> >> this year's Google Summer of Code, and that in order to apply we'd need a
> >> volunteer administrator in addition to mentors. Is anyone willing to
> >> volunteer?
> >
> > Well, basically the problem is admin ends up being backup mentor if the 
> > real mentor disappears. If anyone has a solution to this then we could do 
> > it.
> 
> Well, we could designate a backup mentor, assuming we have a volunteer
> for that. I'm not sure that makes things any easier though :/

Exactly. What happens is the mentor disappears, the admin panics, and somebody 
(likely the admin to avoid further chasing) has to go over the available 
evidence (mostly code) in a very short period. I don't have time for that sort 
of madness at the moment.
-- 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: 



[freenet-dev] GSOC 2012 Deadline Approaching

2012-03-04 Thread Matthew Toseland
On Friday 02 Mar 2012 07:36:22 Steve Dougherty wrote:
> Matthew has said he's unable to be the administrator of the project for
> this year's Google Summer of Code, and that in order to apply we'd need a
> volunteer administrator in addition to mentors. Is anyone willing to
> volunteer?

Well, basically the problem is admin ends up being backup mentor if the real 
mentor disappears. If anyone has a solution to this then we could do it.
> 
> Thanks,
> Steve Dougherty
-- 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: 



[freenet-dev] GSOC 2012 Deadline Approaching

2012-03-04 Thread Evan Daniel
On Sun, Mar 4, 2012 at 11:31 AM, Matthew Toseland
 wrote:
> On Sunday 04 Mar 2012 16:09:41 Evan Daniel wrote:
>> On Sun, Mar 4, 2012 at 11:06 AM, Matthew Toseland
>>  wrote:
>> > On Friday 02 Mar 2012 07:36:22 Steve Dougherty wrote:
>> >> Matthew has said he's unable to be the administrator of the project for
>> >> this year's Google Summer of Code, and that in order to apply we'd need a
>> >> volunteer administrator in addition to mentors. Is anyone willing to
>> >> volunteer?
>> >
>> > Well, basically the problem is admin ends up being backup mentor if the 
>> > real mentor disappears. If anyone has a solution to this then we could do 
>> > it.
>>
>> Well, we could designate a backup mentor, assuming we have a volunteer
>> for that. I'm not sure that makes things any easier though :/
>
> Exactly. What happens is the mentor disappears, the admin panics, and 
> somebody (likely the admin to avoid further chasing) has to go over the 
> available evidence (mostly code) in a very short period. I don't have time 
> for that sort of madness at the moment.

I mean, designate one in advance, so that the searching can happen in
an orderly manner without need for panic :)

But, I suspect that's approximately as hard as finding a volunteer for
the admin role :/

Evan



[freenet-dev] GSOC 2012 Deadline Approaching

2012-03-04 Thread Evan Daniel
On Sun, Mar 4, 2012 at 11:06 AM, Matthew Toseland
 wrote:
> On Friday 02 Mar 2012 07:36:22 Steve Dougherty wrote:
>> Matthew has said he's unable to be the administrator of the project for
>> this year's Google Summer of Code, and that in order to apply we'd need a
>> volunteer administrator in addition to mentors. Is anyone willing to
>> volunteer?
>
> Well, basically the problem is admin ends up being backup mentor if the real 
> mentor disappears. If anyone has a solution to this then we could do it.

Well, we could designate a backup mentor, assuming we have a volunteer
for that. I'm not sure that makes things any easier though :/

Evan Daniel



Re: [freenet-dev] GSOC 2012 Deadline Approaching

2012-03-04 Thread Matthew Toseland
On Friday 02 Mar 2012 07:36:22 Steve Dougherty wrote:
 Matthew has said he's unable to be the administrator of the project for
 this year's Google Summer of Code, and that in order to apply we'd need a
 volunteer administrator in addition to mentors. Is anyone willing to
 volunteer?

Well, basically the problem is admin ends up being backup mentor if the real 
mentor disappears. If anyone has a solution to this then we could do it.
 
 Thanks,
 Steve Dougherty


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

Re: [freenet-dev] GSOC 2012 Deadline Approaching

2012-03-04 Thread Evan Daniel
On Sun, Mar 4, 2012 at 11:06 AM, Matthew Toseland
t...@amphibian.dyndns.org wrote:
 On Friday 02 Mar 2012 07:36:22 Steve Dougherty wrote:
 Matthew has said he's unable to be the administrator of the project for
 this year's Google Summer of Code, and that in order to apply we'd need a
 volunteer administrator in addition to mentors. Is anyone willing to
 volunteer?

 Well, basically the problem is admin ends up being backup mentor if the real 
 mentor disappears. If anyone has a solution to this then we could do it.

Well, we could designate a backup mentor, assuming we have a volunteer
for that. I'm not sure that makes things any easier though :/

Evan Daniel
___
Devl mailing list
Devl@freenetproject.org
http://freenetproject.org/cgi-bin/mailman/listinfo/devl


Re: [freenet-dev] GSOC 2012 Deadline Approaching

2012-03-04 Thread Matthew Toseland
On Sunday 04 Mar 2012 16:09:41 Evan Daniel wrote:
 On Sun, Mar 4, 2012 at 11:06 AM, Matthew Toseland
 t...@amphibian.dyndns.org wrote:
  On Friday 02 Mar 2012 07:36:22 Steve Dougherty wrote:
  Matthew has said he's unable to be the administrator of the project for
  this year's Google Summer of Code, and that in order to apply we'd need a
  volunteer administrator in addition to mentors. Is anyone willing to
  volunteer?
 
  Well, basically the problem is admin ends up being backup mentor if the 
  real mentor disappears. If anyone has a solution to this then we could do 
  it.
 
 Well, we could designate a backup mentor, assuming we have a volunteer
 for that. I'm not sure that makes things any easier though :/

Exactly. What happens is the mentor disappears, the admin panics, and somebody 
(likely the admin to avoid further chasing) has to go over the available 
evidence (mostly code) in a very short period. I don't have time for that sort 
of madness at the moment.


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

Re: [freenet-dev] GSOC 2012 Deadline Approaching

2012-03-04 Thread Evan Daniel
On Sun, Mar 4, 2012 at 11:31 AM, Matthew Toseland
t...@amphibian.dyndns.org wrote:
 On Sunday 04 Mar 2012 16:09:41 Evan Daniel wrote:
 On Sun, Mar 4, 2012 at 11:06 AM, Matthew Toseland
 t...@amphibian.dyndns.org wrote:
  On Friday 02 Mar 2012 07:36:22 Steve Dougherty wrote:
  Matthew has said he's unable to be the administrator of the project for
  this year's Google Summer of Code, and that in order to apply we'd need a
  volunteer administrator in addition to mentors. Is anyone willing to
  volunteer?
 
  Well, basically the problem is admin ends up being backup mentor if the 
  real mentor disappears. If anyone has a solution to this then we could do 
  it.

 Well, we could designate a backup mentor, assuming we have a volunteer
 for that. I'm not sure that makes things any easier though :/

 Exactly. What happens is the mentor disappears, the admin panics, and 
 somebody (likely the admin to avoid further chasing) has to go over the 
 available evidence (mostly code) in a very short period. I don't have time 
 for that sort of madness at the moment.

I mean, designate one in advance, so that the searching can happen in
an orderly manner without need for panic :)

But, I suspect that's approximately as hard as finding a volunteer for
the admin role :/

Evan
___
Devl mailing list
Devl@freenetproject.org
http://freenetproject.org/cgi-bin/mailman/listinfo/devl


[freenet-dev] GSOC 2012 Deadline Approaching

2012-03-02 Thread Steve Dougherty
Matthew has said he's unable to be the administrator of the project for
this year's Google Summer of Code, and that in order to apply we'd need a
volunteer administrator in addition to mentors. Is anyone willing to
volunteer?

Thanks,
Steve Dougherty
-- next part --
An HTML attachment was scrubbed...
URL: 



[freenet-dev] GSOC 2012 Deadline Approaching

2012-03-01 Thread Steve Dougherty
Matthew has said he's unable to be the administrator of the project for
this year's Google Summer of Code, and that in order to apply we'd need a
volunteer administrator in addition to mentors. Is anyone willing to
volunteer?

Thanks,
Steve Dougherty
___
Devl mailing list
Devl@freenetproject.org
http://freenetproject.org/cgi-bin/mailman/listinfo/devl

[freenet-dev] GSoC 2012

2012-02-21 Thread Matthew Toseland
On Monday 20 Feb 2012 14:43:13 Arne Babenhauserheide wrote:
> Am Donnerstag, 16. Februar 2012, 12:32:14 schrieb Ian Clarke:
> > I'm not sure whether people would object to this, but I would quite like to
> > mentor a student to work on Tahrir under the umbrella of the Freenet
> > project.
> > 
> > Thoughts?  Opinions?  Insults?
> 
> I personally think it would only be appropriate if it were code which would 
> get integrated into freenet, too - in the course of the GSoC and not at some 
> later time (=likely never).
> 
> Otherwise this would take up a slot which could be used for improving freenet 
> instead.

Only if there is a mentor available. Ian isn't available for Freenet. And I've 
explained why the two are complementary, and will eventually be mutually 
reinforcing, whatever happens in terms of codebases.
-- 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: 



[freenet-dev] GSoC 2012

2012-02-20 Thread Arne Babenhauserheide
Am Donnerstag, 16. Februar 2012, 12:32:14 schrieb Ian Clarke:
> I'm not sure whether people would object to this, but I would quite like to
> mentor a student to work on Tahrir under the umbrella of the Freenet
> project.
> 
> Thoughts?  Opinions?  Insults?

I personally think it would only be appropriate if it were code which would 
get integrated into freenet, too - in the course of the GSoC and not at some 
later time (=likely never).

Otherwise this would take up a slot which could be used for improving freenet 
instead.

Best wishes,
Arne
--
Konstruktive Kritik: 

- http://draketo.de/licht/krude-ideen/konstruktive-kritik

-- next part --
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 316 bytes
Desc: This is a digitally signed message part.
URL: 



Re: [freenet-dev] GSoC 2012

2012-02-20 Thread Arne Babenhauserheide
Am Donnerstag, 16. Februar 2012, 12:32:14 schrieb Ian Clarke:
 I'm not sure whether people would object to this, but I would quite like to
 mentor a student to work on Tahrir under the umbrella of the Freenet
 project.
 
 Thoughts?  Opinions?  Insults?

I personally think it would only be appropriate if it were code which would 
get integrated into freenet, too - in the course of the GSoC and not at some 
later time (=likely never).

Otherwise this would take up a slot which could be used for improving freenet 
instead.

Best wishes,
Arne
--
Konstruktive Kritik: 

- http://draketo.de/licht/krude-ideen/konstruktive-kritik



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

Re: [freenet-dev] GSoC 2012

2012-02-20 Thread Matthew Toseland
On Monday 20 Feb 2012 14:43:13 Arne Babenhauserheide wrote:
 Am Donnerstag, 16. Februar 2012, 12:32:14 schrieb Ian Clarke:
  I'm not sure whether people would object to this, but I would quite like to
  mentor a student to work on Tahrir under the umbrella of the Freenet
  project.
  
  Thoughts?  Opinions?  Insults?
 
 I personally think it would only be appropriate if it were code which would 
 get integrated into freenet, too - in the course of the GSoC and not at some 
 later time (=likely never).
 
 Otherwise this would take up a slot which could be used for improving freenet 
 instead.

Only if there is a mentor available. Ian isn't available for Freenet. And I've 
explained why the two are complementary, and will eventually be mutually 
reinforcing, whatever happens in terms of codebases.


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

[freenet-dev] GSoC 2012

2012-02-18 Thread Mohammad Hoda
Thanks Michael and Matthew
I ll try doing tha. I ll probably make a new thread and seek help when
ever I am stuck

On 18/02/2012, Ian Clarke  wrote:
> Apparently I should have read the entire thread before replying, as Toad
> had already persuaded Nextgens, doh!
>
> Ian.
>
> On Fri, Feb 17, 2012 at 2:34 PM, Ian Clarke  wrote:
>
>> On Thu, Feb 16, 2012 at 5:26 PM, Florent Daigniere <
>> nextgens at freenetproject.org> wrote:
>>
>>> Different codebase
>>
>>
>> Same language, many architectural similarities (use of small-world
>> routing, UDP messaging, UDP-hole-punching, etc)
>>
>>
>>> arguably no active developpement (7months since last commit? -
>>> https://github.com/sanity/tahrir/commits/master), no release yet, no
>>> userbase, ...
>>
>>
>> Exactly why I want to get someone to work on it!
>>
>>
>>> different goals
>>>
>>
>> Different non-competitive approaches to achieving the same broad goal.
>>
>>
>>> I am not sure it's a good fit for GSoC tbh... but then again, it's up to
>>> Google to judge that.
>>>
>>
>> I don't see why not, with appropriate mentorship, which I'm willing to
>> provide, I think it could be a great way for a student to learn about P2P
>> architectures, and without having to learn a vast codebase.  They'd get
>> involved early enough that they could make a real difference, that is a
>> feature, not a bug.
>>
>>
>>> Why do you think Freenet would be the right umbrella?
>>
>>
>> Because it has a 501c3 and has a good track-record with GSoC.
>>
>>
>>> Is there any integration in between both planned on the roadmap?
>>>
>>
>> None planned, but it's possible.
>>
>>
>>> Why not presenting it as a mentoring organization on its own?
>>
>>
>> Because it would be a lot more work, with no advantage I can think of.
>>
>> What is the disadvantage of doing it under the Freenet umbrella?
>>
>> Ian.
>>
>> --
>> Ian Clarke
>> Personal blog: http://blog.locut.us/
>>
>
>
>
> --
> Ian Clarke
> Personal blog: http://blog.locut.us/
>


-- 
Mohammad Jamilish Shiyamul Hoda
Computer Science Engineer
Mobile:+91 829 624 0102



[freenet-dev] GSoC 2012

2012-02-17 Thread Matthew Toseland
On Friday 17 Feb 2012 04:50:48 Mohammad Hoda wrote:
> Hi Michael
> Thanks for the reply.
> I would indeed be going for GSOC. Could you please tell me a little
> bit more about the coding part. BTW what is Tahrir

Get the source code from git. There is a page on the website.

Have a look at the wiki, new-wiki.freenetproject.org; this has a page about 
what package does what.

And then pick a simple bug from the bug tracker and see if you can figure out 
how to fix it.

Ask questions here, I'm very busy but others may be able to answer. Or log on 
to #freenet on irc.freenode.org with an IRC client, people may be able to help 
there too.
> 
> Thanks
> 
> On 17/02/2012, Michael Grube  wrote:
> > Hi Mohammed,
> >
> > The first thing you can do is educate yourself about exactly how Freenet
> > works in detail if you haven't
> > done so already.
> >
> > Generally speaking, you can help Freenet by:
> > 1. Adding interesting content
> > 2. Running a node, spreading awareness, getting people to use it
> > 3. Making or contributing to useful Freenet applications(Freetalk, WoT, etc)
> > 4. Fixing bugs (http://bugs.freenetproject.org)
> >
> > However, if you're going for GSoC anyway, you may want to make some code
> > contributions to Tahrir.
> > You could end up making a big impact and who knows, it might impress
> > certain people!
> >
> >
> > On Thu, Feb 16, 2012 at 10:52 PM, Mohammad Hoda  > gmail.com>wrote:
> >
> >> Hi
> >> Ild like to start helping freenet, GSoC or no GSoC. Can some one tell
> >> me where to start
> >> Thanks
> >>
> >> On 17/02/2012, Zlatin Balevsky  wrote:
> >> > +1 you might just have a winner
> >> >
> >> > On Thu, Feb 16, 2012 at 1:32 PM, Ian Clarke 
> >> wrote:
> >> >
> >> >> I'm not sure whether people would object to this, but I would quite
> >> >> like
> >> >> to mentor a student to work on Tahrir under the umbrella of the Freenet
> >> >> project.
> >> >>
> >> >> Thoughts?  Opinions?  Insults?
> >> >>
> >> >> Ian.
> >> >>
> >> >>
> >> >> On Thu, Feb 16, 2012 at 12:12 PM, Florent Daigniere <
> >> >> nextgens at freenetproject.org> wrote:
> >> >>
> >> >>> Hi!
> >> >>>
> >> >>> Should Freenet take part to Google Summer of Code 2012?
> >> >>>
> >> >>> Is anyone motivated to mentor candidates?
> >> >>>
> >> >>> I'd like to mentor but probably won't do it if I'm the only one.
> >> >>>
> >> >>> Florent
> >> >>> ___
> >> >>> Devl mailing list
> >> >>> Devl at freenetproject.org
> >> >>> http://freenetproject.org/cgi-bin/mailman/listinfo/devl
> >> >>>
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Ian Clarke
> >> >> Founder, The Freenet Project
> >> >> Email: ian at freenetproject.org
> >> >>
> >> >> ___
> >> >> Devl mailing list
> >> >> Devl at freenetproject.org
> >> >> http://freenetproject.org/cgi-bin/mailman/listinfo/devl
> >> >>
> >> >
> >>
> >>
> >> --
> >> Mohammad Jamilish Shiyamul Hoda
> >> Computer Science Engineer
> >> Mobile:+91 829 624 0102
> >> ___
> >> Devl mailing list
> >> Devl at freenetproject.org
> >> http://freenetproject.org/cgi-bin/mailman/listinfo/devl
> >>
> >
> 
> 
> -- 
> Mohammad Jamilish Shiyamul Hoda
> Computer Science Engineer
> Mobile:+91 829 624 0102
> ___
> Devl mailing list
> Devl at freenetproject.org
> http://freenetproject.org/cgi-bin/mailman/listinfo/devl
> 
> 
-- 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: 



[freenet-dev] GSoC 2012

2012-02-17 Thread Ian Clarke
Apparently I should have read the entire thread before replying, as Toad
had already persuaded Nextgens, doh!

Ian.

On Fri, Feb 17, 2012 at 2:34 PM, Ian Clarke  wrote:

> On Thu, Feb 16, 2012 at 5:26 PM, Florent Daigniere <
> nextgens at freenetproject.org> wrote:
>
>> Different codebase
>
>
> Same language, many architectural similarities (use of small-world
> routing, UDP messaging, UDP-hole-punching, etc)
>
>
>> arguably no active developpement (7months since last commit? -
>> https://github.com/sanity/tahrir/commits/master), no release yet, no
>> userbase, ...
>
>
> Exactly why I want to get someone to work on it!
>
>
>> different goals
>>
>
> Different non-competitive approaches to achieving the same broad goal.
>
>
>> I am not sure it's a good fit for GSoC tbh... but then again, it's up to
>> Google to judge that.
>>
>
> I don't see why not, with appropriate mentorship, which I'm willing to
> provide, I think it could be a great way for a student to learn about P2P
> architectures, and without having to learn a vast codebase.  They'd get
> involved early enough that they could make a real difference, that is a
> feature, not a bug.
>
>
>> Why do you think Freenet would be the right umbrella?
>
>
> Because it has a 501c3 and has a good track-record with GSoC.
>
>
>> Is there any integration in between both planned on the roadmap?
>>
>
> None planned, but it's possible.
>
>
>> Why not presenting it as a mentoring organization on its own?
>
>
> Because it would be a lot more work, with no advantage I can think of.
>
> What is the disadvantage of doing it under the Freenet umbrella?
>
> Ian.
>
> --
> Ian Clarke
> Personal blog: http://blog.locut.us/
>



-- 
Ian Clarke
Personal blog: http://blog.locut.us/
-- next part --
An HTML attachment was scrubbed...
URL: 



[freenet-dev] GSoC 2012

2012-02-17 Thread Ian Clarke
On Thu, Feb 16, 2012 at 5:26 PM, Florent Daigniere <
nextgens at freenetproject.org> wrote:

> Different codebase


Same language, many architectural similarities (use of small-world routing,
UDP messaging, UDP-hole-punching, etc)


> arguably no active developpement (7months since last commit? -
> https://github.com/sanity/tahrir/commits/master), no release yet, no
> userbase, ...


Exactly why I want to get someone to work on it!


> different goals
>

Different non-competitive approaches to achieving the same broad goal.


> I am not sure it's a good fit for GSoC tbh... but then again, it's up to
> Google to judge that.
>

I don't see why not, with appropriate mentorship, which I'm willing to
provide, I think it could be a great way for a student to learn about P2P
architectures, and without having to learn a vast codebase.  They'd get
involved early enough that they could make a real difference, that is a
feature, not a bug.


> Why do you think Freenet would be the right umbrella?


Because it has a 501c3 and has a good track-record with GSoC.


> Is there any integration in between both planned on the roadmap?
>

None planned, but it's possible.


> Why not presenting it as a mentoring organization on its own?


Because it would be a lot more work, with no advantage I can think of.

What is the disadvantage of doing it under the Freenet umbrella?

Ian.

-- 
Ian Clarke
Personal blog: http://blog.locut.us/
-- next part --
An HTML attachment was scrubbed...
URL: 



[freenet-dev] GSoC 2012

2012-02-17 Thread Mohammad Hoda
Hi Michael
Thanks for the reply.
I would indeed be going for GSOC. Could you please tell me a little
bit more about the coding part. BTW what is Tahrir

Thanks

On 17/02/2012, Michael Grube  wrote:
> Hi Mohammed,
>
> The first thing you can do is educate yourself about exactly how Freenet
> works in detail if you haven't
> done so already.
>
> Generally speaking, you can help Freenet by:
> 1. Adding interesting content
> 2. Running a node, spreading awareness, getting people to use it
> 3. Making or contributing to useful Freenet applications(Freetalk, WoT, etc)
> 4. Fixing bugs (http://bugs.freenetproject.org)
>
> However, if you're going for GSoC anyway, you may want to make some code
> contributions to Tahrir.
> You could end up making a big impact and who knows, it might impress
> certain people!
>
>
> On Thu, Feb 16, 2012 at 10:52 PM, Mohammad Hoda  gmail.com>wrote:
>
>> Hi
>> Ild like to start helping freenet, GSoC or no GSoC. Can some one tell
>> me where to start
>> Thanks
>>
>> On 17/02/2012, Zlatin Balevsky  wrote:
>> > +1 you might just have a winner
>> >
>> > On Thu, Feb 16, 2012 at 1:32 PM, Ian Clarke 
>> wrote:
>> >
>> >> I'm not sure whether people would object to this, but I would quite
>> >> like
>> >> to mentor a student to work on Tahrir under the umbrella of the Freenet
>> >> project.
>> >>
>> >> Thoughts?  Opinions?  Insults?
>> >>
>> >> Ian.
>> >>
>> >>
>> >> On Thu, Feb 16, 2012 at 12:12 PM, Florent Daigniere <
>> >> nextgens at freenetproject.org> wrote:
>> >>
>> >>> Hi!
>> >>>
>> >>> Should Freenet take part to Google Summer of Code 2012?
>> >>>
>> >>> Is anyone motivated to mentor candidates?
>> >>>
>> >>> I'd like to mentor but probably won't do it if I'm the only one.
>> >>>
>> >>> Florent
>> >>> ___
>> >>> Devl mailing list
>> >>> Devl at freenetproject.org
>> >>> http://freenetproject.org/cgi-bin/mailman/listinfo/devl
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >> Ian Clarke
>> >> Founder, The Freenet Project
>> >> Email: ian at freenetproject.org
>> >>
>> >> ___
>> >> Devl mailing list
>> >> Devl at freenetproject.org
>> >> http://freenetproject.org/cgi-bin/mailman/listinfo/devl
>> >>
>> >
>>
>>
>> --
>> Mohammad Jamilish Shiyamul Hoda
>> Computer Science Engineer
>> Mobile:+91 829 624 0102
>> ___
>> Devl mailing list
>> Devl at freenetproject.org
>> http://freenetproject.org/cgi-bin/mailman/listinfo/devl
>>
>


-- 
Mohammad Jamilish Shiyamul Hoda
Computer Science Engineer
Mobile:+91 829 624 0102



[freenet-dev] GSoC 2012

2012-02-17 Thread Florent Daigniere
On Thu, Feb 16, 2012 at 11:48:32PM +, Matthew Toseland wrote:
> On Thursday 16 Feb 2012 23:26:03 Florent Daigniere wrote:
> > 
> > Different codebase, arguably no active developpement (7months since last 
> > commit? - https://github.com/sanity/tahrir/commits/master), no release yet, 
> > no userbase, ... different goals
> > 
> > I am not sure it's a good fit for GSoC tbh... but then again, it's up to 
> > Google to judge that.
> > Why do you think Freenet would be the right umbrella? Is there any 
> > integration in between both planned on the roadmap?
> > 
> > Why not presenting it as a mentoring organization on its own?
> 
> Because setting up a nonprofit is a lot of work, and it's political enough 
> that it'd need its own nonprofit, the standard ones might not be appropriate.
> 

That's a valid point I'm happy with :)

> And because its goals are broadly similar ideologically even if its technical 
> goals are, in the short term, somewhat divergent. And a lot of the technology 
> is similar too, although of course he's done everything in New And Wonderful 
> Ways.
> 

Agreed

> Long term, Freenet needs pub/sub (for chat e.g.), and a good microblogging  
> UI (well duh), and Tahrir needs routing and file storage (where are you gonna 
> put your suppressed pictures/phone footage?).
> 

Yeah, I thought about that, hence I was asking about the roadmap.

> Hence bringing it under the FPI organisational umbrella may make sense. 
> Having said that, I don't think it would be appropriate to call Tahrir 
> Freenet 2.0, at least not at present. :)

You have convinced me :)

My grumpy style probably suggested that I am against the idea... whereas I was 
just trying to build my opinion on the matter.

Florent

> > 
> > Florent
> > 
> > On Thu, Feb 16, 2012 at 12:32:14PM -0600, Ian Clarke wrote:
> > > I'm not sure whether people would object to this, but I would quite like 
> > > to
> > > mentor a student to work on Tahrir under the umbrella of the Freenet
> > > project.
> > > 
> > > Thoughts?  Opinions?  Insults?
> > > 
> > > Ian.
> > > 
> > > On Thu, Feb 16, 2012 at 12:12 PM, Florent Daigniere <
> > > nextgens at freenetproject.org> wrote:
> > > 
> > > > Hi!
> > > >
> > > > Should Freenet take part to Google Summer of Code 2012?
> > > >
> > > > Is anyone motivated to mentor candidates?
> > > >
> > > > I'd like to mentor but probably won't do it if I'm the only one.
> > > >
> > > > Florent



[freenet-dev] GSoC 2012

2012-02-17 Thread Mohammad Hoda
Hi
Ild like to start helping freenet, GSoC or no GSoC. Can some one tell
me where to start
Thanks

On 17/02/2012, Zlatin Balevsky  wrote:
> +1 you might just have a winner
>
> On Thu, Feb 16, 2012 at 1:32 PM, Ian Clarke  wrote:
>
>> I'm not sure whether people would object to this, but I would quite like
>> to mentor a student to work on Tahrir under the umbrella of the Freenet
>> project.
>>
>> Thoughts?  Opinions?  Insults?
>>
>> Ian.
>>
>>
>> On Thu, Feb 16, 2012 at 12:12 PM, Florent Daigniere <
>> nextgens at freenetproject.org> wrote:
>>
>>> Hi!
>>>
>>> Should Freenet take part to Google Summer of Code 2012?
>>>
>>> Is anyone motivated to mentor candidates?
>>>
>>> I'd like to mentor but probably won't do it if I'm the only one.
>>>
>>> Florent
>>> ___
>>> Devl mailing list
>>> Devl at freenetproject.org
>>> http://freenetproject.org/cgi-bin/mailman/listinfo/devl
>>>
>>
>>
>>
>> --
>> Ian Clarke
>> Founder, The Freenet Project
>> Email: ian at freenetproject.org
>>
>> ___
>> Devl mailing list
>> Devl at freenetproject.org
>> http://freenetproject.org/cgi-bin/mailman/listinfo/devl
>>
>


-- 
Mohammad Jamilish Shiyamul Hoda
Computer Science Engineer
Mobile:+91 829 624 0102



[freenet-dev] GSoC 2012

2012-02-17 Thread Michael Grube
On Thu, Feb 16, 2012 at 11:50 PM, Mohammad Hoda wrote:

> Hi Michael
> Thanks for the reply.
> I would indeed be going for GSOC. Could you please tell me a little
> bit more about the coding part. BTW what is Tahrir
>

Most of the development for Freenet is done in Java.

Here are instructions for getting the source code for Freenet:
http://freenetproject.org/developer.html

Tahrir is a social media/filesharing application that uses small-world
routing in the same way that Freenet does.
Described here: https://github.com/sanity/tahrir/wiki



> Thanks
>
> On 17/02/2012, Michael Grube  wrote:
> > Hi Mohammed,
> >
> > The first thing you can do is educate yourself about exactly how Freenet
> > works in detail if you haven't
> > done so already.
> >
> > Generally speaking, you can help Freenet by:
> > 1. Adding interesting content
> > 2. Running a node, spreading awareness, getting people to use it
> > 3. Making or contributing to useful Freenet applications(Freetalk, WoT,
> etc)
> > 4. Fixing bugs (http://bugs.freenetproject.org)
> >
> > However, if you're going for GSoC anyway, you may want to make some code
> > contributions to Tahrir.
> > You could end up making a big impact and who knows, it might impress
> > certain people!
> >
> >
> > On Thu, Feb 16, 2012 at 10:52 PM, Mohammad Hoda  >wrote:
> >
> >> Hi
> >> Ild like to start helping freenet, GSoC or no GSoC. Can some one tell
> >> me where to start
> >> Thanks
> >>
> >> On 17/02/2012, Zlatin Balevsky  wrote:
> >> > +1 you might just have a winner
> >> >
> >> > On Thu, Feb 16, 2012 at 1:32 PM, Ian Clarke 
> >> wrote:
> >> >
> >> >> I'm not sure whether people would object to this, but I would quite
> >> >> like
> >> >> to mentor a student to work on Tahrir under the umbrella of the
> Freenet
> >> >> project.
> >> >>
> >> >> Thoughts?  Opinions?  Insults?
> >> >>
> >> >> Ian.
> >> >>
> >> >>
> >> >> On Thu, Feb 16, 2012 at 12:12 PM, Florent Daigniere <
> >> >> nextgens at freenetproject.org> wrote:
> >> >>
> >> >>> Hi!
> >> >>>
> >> >>> Should Freenet take part to Google Summer of Code 2012?
> >> >>>
> >> >>> Is anyone motivated to mentor candidates?
> >> >>>
> >> >>> I'd like to mentor but probably won't do it if I'm the only one.
> >> >>>
> >> >>> Florent
> >> >>> ___
> >> >>> Devl mailing list
> >> >>> Devl at freenetproject.org
> >> >>> http://freenetproject.org/cgi-bin/mailman/listinfo/devl
> >> >>>
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Ian Clarke
> >> >> Founder, The Freenet Project
> >> >> Email: ian at freenetproject.org
> >> >>
> >> >> ___
> >> >> Devl mailing list
> >> >> Devl at freenetproject.org
> >> >> http://freenetproject.org/cgi-bin/mailman/listinfo/devl
> >> >>
> >> >
> >>
> >>
> >> --
> >> Mohammad Jamilish Shiyamul Hoda
> >> Computer Science Engineer
> >> Mobile:+91 829 624 0102
> >> ___
> >> Devl mailing list
> >> Devl at freenetproject.org
> >> http://freenetproject.org/cgi-bin/mailman/listinfo/devl
> >>
> >
>
>
> --
> Mohammad Jamilish Shiyamul Hoda
> Computer Science Engineer
> Mobile:+91 829 624 0102
> ___
> Devl mailing list
> Devl at freenetproject.org
> http://freenetproject.org/cgi-bin/mailman/listinfo/devl
>
-- next part --
An HTML attachment was scrubbed...
URL: 



Re: [freenet-dev] GSoC 2012

2012-02-17 Thread Florent Daigniere
On Thu, Feb 16, 2012 at 11:48:32PM +, Matthew Toseland wrote:
 On Thursday 16 Feb 2012 23:26:03 Florent Daigniere wrote:
  
  Different codebase, arguably no active developpement (7months since last 
  commit? - https://github.com/sanity/tahrir/commits/master), no release yet, 
  no userbase, ... different goals
  
  I am not sure it's a good fit for GSoC tbh... but then again, it's up to 
  Google to judge that.
  Why do you think Freenet would be the right umbrella? Is there any 
  integration in between both planned on the roadmap?
  
  Why not presenting it as a mentoring organization on its own?
 
 Because setting up a nonprofit is a lot of work, and it's political enough 
 that it'd need its own nonprofit, the standard ones might not be appropriate.
 

That's a valid point I'm happy with :)

 And because its goals are broadly similar ideologically even if its technical 
 goals are, in the short term, somewhat divergent. And a lot of the technology 
 is similar too, although of course he's done everything in New And Wonderful 
 Ways.
 

Agreed

 Long term, Freenet needs pub/sub (for chat e.g.), and a good microblogging  
 UI (well duh), and Tahrir needs routing and file storage (where are you gonna 
 put your suppressed pictures/phone footage?).
 

Yeah, I thought about that, hence I was asking about the roadmap.

 Hence bringing it under the FPI organisational umbrella may make sense. 
 Having said that, I don't think it would be appropriate to call Tahrir 
 Freenet 2.0, at least not at present. :)

You have convinced me :)

My grumpy style probably suggested that I am against the idea... whereas I was 
just trying to build my opinion on the matter.

Florent

  
  Florent
  
  On Thu, Feb 16, 2012 at 12:32:14PM -0600, Ian Clarke wrote:
   I'm not sure whether people would object to this, but I would quite like 
   to
   mentor a student to work on Tahrir under the umbrella of the Freenet
   project.
   
   Thoughts?  Opinions?  Insults?
   
   Ian.
   
   On Thu, Feb 16, 2012 at 12:12 PM, Florent Daigniere 
   nextg...@freenetproject.org wrote:
   
Hi!
   
Should Freenet take part to Google Summer of Code 2012?
   
Is anyone motivated to mentor candidates?
   
I'd like to mentor but probably won't do it if I'm the only one.
   
Florent
___
Devl mailing list
Devl@freenetproject.org
http://freenetproject.org/cgi-bin/mailman/listinfo/devl


Re: [freenet-dev] GSoC 2012

2012-02-17 Thread Michael Grube
On Thu, Feb 16, 2012 at 11:50 PM, Mohammad Hoda shiyamh...@gmail.comwrote:

 Hi Michael
 Thanks for the reply.
 I would indeed be going for GSOC. Could you please tell me a little
 bit more about the coding part. BTW what is Tahrir


Most of the development for Freenet is done in Java.

Here are instructions for getting the source code for Freenet:
http://freenetproject.org/developer.html

Tahrir is a social media/filesharing application that uses small-world
routing in the same way that Freenet does.
Described here: https://github.com/sanity/tahrir/wiki



 Thanks

 On 17/02/2012, Michael Grube michael.gr...@gmail.com wrote:
  Hi Mohammed,
 
  The first thing you can do is educate yourself about exactly how Freenet
  works in detail if you haven't
  done so already.
 
  Generally speaking, you can help Freenet by:
  1. Adding interesting content
  2. Running a node, spreading awareness, getting people to use it
  3. Making or contributing to useful Freenet applications(Freetalk, WoT,
 etc)
  4. Fixing bugs (http://bugs.freenetproject.org)
 
  However, if you're going for GSoC anyway, you may want to make some code
  contributions to Tahrir.
  You could end up making a big impact and who knows, it might impress
  certain people!
 
 
  On Thu, Feb 16, 2012 at 10:52 PM, Mohammad Hoda shiyamh...@gmail.com
 wrote:
 
  Hi
  Ild like to start helping freenet, GSoC or no GSoC. Can some one tell
  me where to start
  Thanks
 
  On 17/02/2012, Zlatin Balevsky zlat...@gmail.com wrote:
   +1 you might just have a winner
  
   On Thu, Feb 16, 2012 at 1:32 PM, Ian Clarke i...@freenetproject.org
  wrote:
  
   I'm not sure whether people would object to this, but I would quite
   like
   to mentor a student to work on Tahrir under the umbrella of the
 Freenet
   project.
  
   Thoughts?  Opinions?  Insults?
  
   Ian.
  
  
   On Thu, Feb 16, 2012 at 12:12 PM, Florent Daigniere 
   nextg...@freenetproject.org wrote:
  
   Hi!
  
   Should Freenet take part to Google Summer of Code 2012?
  
   Is anyone motivated to mentor candidates?
  
   I'd like to mentor but probably won't do it if I'm the only one.
  
   Florent
   ___
   Devl mailing list
   Devl@freenetproject.org
   http://freenetproject.org/cgi-bin/mailman/listinfo/devl
  
  
  
  
   --
   Ian Clarke
   Founder, The Freenet Project
   Email: i...@freenetproject.org
  
   ___
   Devl mailing list
   Devl@freenetproject.org
   http://freenetproject.org/cgi-bin/mailman/listinfo/devl
  
  
 
 
  --
  Mohammad Jamilish Shiyamul Hoda
  Computer Science Engineer
  Mobile:+91 829 624 0102
  ___
  Devl mailing list
  Devl@freenetproject.org
  http://freenetproject.org/cgi-bin/mailman/listinfo/devl
 
 


 --
 Mohammad Jamilish Shiyamul Hoda
 Computer Science Engineer
 Mobile:+91 829 624 0102
 ___
 Devl mailing list
 Devl@freenetproject.org
 http://freenetproject.org/cgi-bin/mailman/listinfo/devl

___
Devl mailing list
Devl@freenetproject.org
http://freenetproject.org/cgi-bin/mailman/listinfo/devl

Re: [freenet-dev] GSoC 2012

2012-02-17 Thread Matthew Toseland
On Friday 17 Feb 2012 04:50:48 Mohammad Hoda wrote:
 Hi Michael
 Thanks for the reply.
 I would indeed be going for GSOC. Could you please tell me a little
 bit more about the coding part. BTW what is Tahrir

Get the source code from git. There is a page on the website.

Have a look at the wiki, new-wiki.freenetproject.org; this has a page about 
what package does what.

And then pick a simple bug from the bug tracker and see if you can figure out 
how to fix it.

Ask questions here, I'm very busy but others may be able to answer. Or log on 
to #freenet on irc.freenode.org with an IRC client, people may be able to help 
there too.
 
 Thanks
 
 On 17/02/2012, Michael Grube michael.gr...@gmail.com wrote:
  Hi Mohammed,
 
  The first thing you can do is educate yourself about exactly how Freenet
  works in detail if you haven't
  done so already.
 
  Generally speaking, you can help Freenet by:
  1. Adding interesting content
  2. Running a node, spreading awareness, getting people to use it
  3. Making or contributing to useful Freenet applications(Freetalk, WoT, etc)
  4. Fixing bugs (http://bugs.freenetproject.org)
 
  However, if you're going for GSoC anyway, you may want to make some code
  contributions to Tahrir.
  You could end up making a big impact and who knows, it might impress
  certain people!
 
 
  On Thu, Feb 16, 2012 at 10:52 PM, Mohammad Hoda shiyamh...@gmail.comwrote:
 
  Hi
  Ild like to start helping freenet, GSoC or no GSoC. Can some one tell
  me where to start
  Thanks
 
  On 17/02/2012, Zlatin Balevsky zlat...@gmail.com wrote:
   +1 you might just have a winner
  
   On Thu, Feb 16, 2012 at 1:32 PM, Ian Clarke i...@freenetproject.org
  wrote:
  
   I'm not sure whether people would object to this, but I would quite
   like
   to mentor a student to work on Tahrir under the umbrella of the Freenet
   project.
  
   Thoughts?  Opinions?  Insults?
  
   Ian.
  
  
   On Thu, Feb 16, 2012 at 12:12 PM, Florent Daigniere 
   nextg...@freenetproject.org wrote:
  
   Hi!
  
   Should Freenet take part to Google Summer of Code 2012?
  
   Is anyone motivated to mentor candidates?
  
   I'd like to mentor but probably won't do it if I'm the only one.
  
   Florent
   ___
   Devl mailing list
   Devl@freenetproject.org
   http://freenetproject.org/cgi-bin/mailman/listinfo/devl
  
  
  
  
   --
   Ian Clarke
   Founder, The Freenet Project
   Email: i...@freenetproject.org
  
   ___
   Devl mailing list
   Devl@freenetproject.org
   http://freenetproject.org/cgi-bin/mailman/listinfo/devl
  
  
 
 
  --
  Mohammad Jamilish Shiyamul Hoda
  Computer Science Engineer
  Mobile:+91 829 624 0102
  ___
  Devl mailing list
  Devl@freenetproject.org
  http://freenetproject.org/cgi-bin/mailman/listinfo/devl
 
 
 
 
 -- 
 Mohammad Jamilish Shiyamul Hoda
 Computer Science Engineer
 Mobile:+91 829 624 0102
 ___
 Devl mailing list
 Devl@freenetproject.org
 http://freenetproject.org/cgi-bin/mailman/listinfo/devl
 
 


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

Re: [freenet-dev] GSoC 2012

2012-02-17 Thread Ian Clarke
On Thu, Feb 16, 2012 at 5:26 PM, Florent Daigniere 
nextg...@freenetproject.org wrote:

 Different codebase


Same language, many architectural similarities (use of small-world routing,
UDP messaging, UDP-hole-punching, etc)


 arguably no active developpement (7months since last commit? -
 https://github.com/sanity/tahrir/commits/master), no release yet, no
 userbase, ...


Exactly why I want to get someone to work on it!


 different goals


Different non-competitive approaches to achieving the same broad goal.


 I am not sure it's a good fit for GSoC tbh... but then again, it's up to
 Google to judge that.


I don't see why not, with appropriate mentorship, which I'm willing to
provide, I think it could be a great way for a student to learn about P2P
architectures, and without having to learn a vast codebase.  They'd get
involved early enough that they could make a real difference, that is a
feature, not a bug.


 Why do you think Freenet would be the right umbrella?


Because it has a 501c3 and has a good track-record with GSoC.


 Is there any integration in between both planned on the roadmap?


None planned, but it's possible.


 Why not presenting it as a mentoring organization on its own?


Because it would be a lot more work, with no advantage I can think of.

What is the disadvantage of doing it under the Freenet umbrella?

Ian.

-- 
Ian Clarke
Personal blog: http://blog.locut.us/
___
Devl mailing list
Devl@freenetproject.org
http://freenetproject.org/cgi-bin/mailman/listinfo/devl

Re: [freenet-dev] GSoC 2012

2012-02-17 Thread Ian Clarke
Apparently I should have read the entire thread before replying, as Toad
had already persuaded Nextgens, doh!

Ian.

On Fri, Feb 17, 2012 at 2:34 PM, Ian Clarke i...@locut.us wrote:

 On Thu, Feb 16, 2012 at 5:26 PM, Florent Daigniere 
 nextg...@freenetproject.org wrote:

 Different codebase


 Same language, many architectural similarities (use of small-world
 routing, UDP messaging, UDP-hole-punching, etc)


 arguably no active developpement (7months since last commit? -
 https://github.com/sanity/tahrir/commits/master), no release yet, no
 userbase, ...


 Exactly why I want to get someone to work on it!


 different goals


 Different non-competitive approaches to achieving the same broad goal.


 I am not sure it's a good fit for GSoC tbh... but then again, it's up to
 Google to judge that.


 I don't see why not, with appropriate mentorship, which I'm willing to
 provide, I think it could be a great way for a student to learn about P2P
 architectures, and without having to learn a vast codebase.  They'd get
 involved early enough that they could make a real difference, that is a
 feature, not a bug.


 Why do you think Freenet would be the right umbrella?


 Because it has a 501c3 and has a good track-record with GSoC.


 Is there any integration in between both planned on the roadmap?


 None planned, but it's possible.


 Why not presenting it as a mentoring organization on its own?


 Because it would be a lot more work, with no advantage I can think of.

 What is the disadvantage of doing it under the Freenet umbrella?

 Ian.

 --
 Ian Clarke
 Personal blog: http://blog.locut.us/




-- 
Ian Clarke
Personal blog: http://blog.locut.us/
___
Devl mailing list
Devl@freenetproject.org
http://freenetproject.org/cgi-bin/mailman/listinfo/devl

Re: [freenet-dev] GSoC 2012

2012-02-17 Thread Mohammad Hoda
Thanks Michael and Matthew
I ll try doing tha. I ll probably make a new thread and seek help when
ever I am stuck

On 18/02/2012, Ian Clarke i...@locut.us wrote:
 Apparently I should have read the entire thread before replying, as Toad
 had already persuaded Nextgens, doh!

 Ian.

 On Fri, Feb 17, 2012 at 2:34 PM, Ian Clarke i...@locut.us wrote:

 On Thu, Feb 16, 2012 at 5:26 PM, Florent Daigniere 
 nextg...@freenetproject.org wrote:

 Different codebase


 Same language, many architectural similarities (use of small-world
 routing, UDP messaging, UDP-hole-punching, etc)


 arguably no active developpement (7months since last commit? -
 https://github.com/sanity/tahrir/commits/master), no release yet, no
 userbase, ...


 Exactly why I want to get someone to work on it!


 different goals


 Different non-competitive approaches to achieving the same broad goal.


 I am not sure it's a good fit for GSoC tbh... but then again, it's up to
 Google to judge that.


 I don't see why not, with appropriate mentorship, which I'm willing to
 provide, I think it could be a great way for a student to learn about P2P
 architectures, and without having to learn a vast codebase.  They'd get
 involved early enough that they could make a real difference, that is a
 feature, not a bug.


 Why do you think Freenet would be the right umbrella?


 Because it has a 501c3 and has a good track-record with GSoC.


 Is there any integration in between both planned on the roadmap?


 None planned, but it's possible.


 Why not presenting it as a mentoring organization on its own?


 Because it would be a lot more work, with no advantage I can think of.

 What is the disadvantage of doing it under the Freenet umbrella?

 Ian.

 --
 Ian Clarke
 Personal blog: http://blog.locut.us/




 --
 Ian Clarke
 Personal blog: http://blog.locut.us/



-- 
Mohammad Jamilish Shiyamul Hoda
Computer Science Engineer
Mobile:+91 829 624 0102
___
Devl mailing list
Devl@freenetproject.org
http://freenetproject.org/cgi-bin/mailman/listinfo/devl


[freenet-dev] GSoC 2012

2012-02-16 Thread Matthew Toseland
On Thursday 16 Feb 2012 18:29:16 xor wrote:
> On Thursday 16 February 2012 19:12:52 Florent Daigniere wrote:
> > Hi!
> > 
> > Should Freenet take part to Google Summer of Code 2012?
> 
> Yes.
> 
> > Is anyone motivated to mentor candidates?
> 
> Yes. me.
> 
> Project suggestion:
> Have a student do NOTHING but reviewing FRED code from the entry point on.
> He should JavaDoc everything which he reviews, fix any bugs which he spots 
> while doing it, and refactor unclean code.
> Ideally, toad would mentor this student.
> 
> IMHO this is CRITICAL for the survival of the project as a whole:
> - Most code has only been reviewed by toad as he wrote most of it

True.

> - It has little to no JavaDoc

Stuff I wrote from scratch often has SOME javadoc. Of course it's never 
adequate docs.

> - Its quality is questionable in quite a few places. 

True, both in old and new places.

And where it does wierd things, we need to document exactly WHY it does those 
wierd things. To some degree this does happen e.g. in the client layer, but 
it's far from complete.

> To be fair I should say 
> that I did not read much of FREDs code, but when I read some of it, I almost 
> always encountered functions which fill multiple screens and violate lots of 
> best practices of programming / software engineering.

Sometimes the best practices are wrong. :) E.g. because of persistence issues, 
or because we don't need to worry about scalability in a particular function as 
we can bound the size of the structures. But the reason they are best practices 
is they are right most of the time, sure. And yes, big functions are bad.

> - We see little effort of volunteers writing code for FRED which might be 
> caused by the poor readability / documentation.

True, but chicken/egg problem - it would take an outsider a lot of work/long 
time to figure everything out, and a lot of questions etc, and if they tried to 
clean stuff up they'd need a lot of supervision. An insider probably has more 
important things to do.

So ideally we'd want to quantify this - to what degree is ugly code a barrier 
for core contributions?

> - We might need another / replacement full time programmer as toad is busy 
> with university

Yes, we may.

> - In general, FRED seems rather buggy right now, and reviewing might fix that.

Yes, although fixing the bugs might be a more direct approach for most. :)

> - The probability of toad or a volunteer suddenly doing a full review of fred 
> is very low, so we should try to get someone to do it by rewarding it with 
> money as a GSoC project

No, I don't think this will work. GSoC coders are often not all that great, and 
even a great coder would have difficulty accomplishing a significant proportion 
of the task you are proposing in the limited period available. And they would 
need a lot of competent supervision - and if they're not really great the 
supervision workload is greater than the achieved output; this is the 
fundamental problem with GSoC: 1) it's less work to just write it yourself; 2) 
most people don't stay (but the few who do may make it all worthwhile). One 
other parameter is that we've used it to reward and integrate existing 
peripheral contributors who happen to be students; this is usually fairly 
successful.

Having said that, documenting and unit testing some limited part of fred might 
be workable.

> - I could go on and on about this, but I think I've made my point already.

IF documentation is within the scope of GSoC. This is probably a standard 
question, look it up.

Also, with or without Google, we have a donor who might be willing to fund 
somebody to build unit tests.
-- 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: 



[freenet-dev] GSoC 2012

2012-02-16 Thread Matthew Toseland
On Thursday 16 Feb 2012 22:15:44 Steve Dougherty wrote:
> I'd be interested in doing this! It'd be good to get more people to
> understand more of the codebase and document while we're at it. From my
> experience Freenet does need cleanup for best practices quite badly and
> I've been wanting to do an extensive cleanup run for quite some time.
> I've already done small-scale cleanup in areas of the UI layer.

Cleanup is good yes. If you want to make more patches that'd be awesome. If you 
want to maintain a janitor tree like happens in the kernel that'd be even 
better.
> 
> Getting a spec for the Freenet protocol and routing algorithms would be
> fantastic as well, and allow for other implementations, not to mention
> concept-level review and improvement.

The latter is important. The former is not: Multiple, compatible but slightly 
different implementations, with different levels of maintenance, is going to be 
very bad while we are still evolving the distributed algorithms.

HOWEVER, documenting everything is good. Whether it is within the scope of GSoC 
is another question.
> 
> On 02/16/2012 01:21 PM, Zlatin Balevsky wrote:
> > I'm not up to speed with specifics of the current Freenet codebase but
> > I'd enjoy mentoring for general java/jvm development best practices. 
> > More so, I'd hate to see Freenet miss out on fresh talent.
> > 
> > On Thu, Feb 16, 2012 at 1:12 PM, Florent Daigniere
> > mailto:nextgens at freenetproject.org>> 
> > wrote:
> > 
> > Hi!
> > 
> > Should Freenet take part to Google Summer of Code 2012?
> > 
> > Is anyone motivated to mentor candidates?
> > 
> > I'd like to mentor but probably won't do it if I'm the only one.
> > 
> > Florent

I doubt I have time to admin let alone mentor.
-- 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: 



[freenet-dev] GSoC 2012

2012-02-16 Thread Matthew Toseland
On Thursday 16 Feb 2012 23:26:03 Florent Daigniere wrote:
> 
> Different codebase, arguably no active developpement (7months since last 
> commit? - https://github.com/sanity/tahrir/commits/master), no release yet, 
> no userbase, ... different goals
> 
> I am not sure it's a good fit for GSoC tbh... but then again, it's up to 
> Google to judge that.
> Why do you think Freenet would be the right umbrella? Is there any 
> integration in between both planned on the roadmap?
> 
> Why not presenting it as a mentoring organization on its own?

Because setting up a nonprofit is a lot of work, and it's political enough that 
it'd need its own nonprofit, the standard ones might not be appropriate.

And because its goals are broadly similar ideologically even if its technical 
goals are, in the short term, somewhat divergent. And a lot of the technology 
is similar too, although of course he's done everything in New And Wonderful 
Ways.

Long term, Freenet needs pub/sub (for chat e.g.), and a good microblogging  UI 
(well duh), and Tahrir needs routing and file storage (where are you gonna put 
your suppressed pictures/phone footage?).

Hence bringing it under the FPI organisational umbrella may make sense. Having 
said that, I don't think it would be appropriate to call Tahrir Freenet 2.0, at 
least not at present. :)
> 
> Florent
> 
> On Thu, Feb 16, 2012 at 12:32:14PM -0600, Ian Clarke wrote:
> > I'm not sure whether people would object to this, but I would quite like to
> > mentor a student to work on Tahrir under the umbrella of the Freenet
> > project.
> > 
> > Thoughts?  Opinions?  Insults?
> > 
> > Ian.
> > 
> > On Thu, Feb 16, 2012 at 12:12 PM, Florent Daigniere <
> > nextgens at freenetproject.org> wrote:
> > 
> > > Hi!
> > >
> > > Should Freenet take part to Google Summer of Code 2012?
> > >
> > > Is anyone motivated to mentor candidates?
> > >
> > > I'd like to mentor but probably won't do it if I'm the only one.
> > >
> > > Florent
> ___
> Devl mailing list
> Devl at freenetproject.org
> http://freenetproject.org/cgi-bin/mailman/listinfo/devl
> 
> 
-- 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: 



[freenet-dev] GSoC 2012

2012-02-16 Thread Michael Grube
Hi Mohammed,

The first thing you can do is educate yourself about exactly how Freenet
works in detail if you haven't
done so already.

Generally speaking, you can help Freenet by:
1. Adding interesting content
2. Running a node, spreading awareness, getting people to use it
3. Making or contributing to useful Freenet applications(Freetalk, WoT, etc)
4. Fixing bugs (http://bugs.freenetproject.org)

However, if you're going for GSoC anyway, you may want to make some code
contributions to Tahrir.
You could end up making a big impact and who knows, it might impress
certain people!


On Thu, Feb 16, 2012 at 10:52 PM, Mohammad Hoda wrote:

> Hi
> Ild like to start helping freenet, GSoC or no GSoC. Can some one tell
> me where to start
> Thanks
>
> On 17/02/2012, Zlatin Balevsky  wrote:
> > +1 you might just have a winner
> >
> > On Thu, Feb 16, 2012 at 1:32 PM, Ian Clarke 
> wrote:
> >
> >> I'm not sure whether people would object to this, but I would quite like
> >> to mentor a student to work on Tahrir under the umbrella of the Freenet
> >> project.
> >>
> >> Thoughts?  Opinions?  Insults?
> >>
> >> Ian.
> >>
> >>
> >> On Thu, Feb 16, 2012 at 12:12 PM, Florent Daigniere <
> >> nextgens at freenetproject.org> wrote:
> >>
> >>> Hi!
> >>>
> >>> Should Freenet take part to Google Summer of Code 2012?
> >>>
> >>> Is anyone motivated to mentor candidates?
> >>>
> >>> I'd like to mentor but probably won't do it if I'm the only one.
> >>>
> >>> Florent
> >>> ___
> >>> Devl mailing list
> >>> Devl at freenetproject.org
> >>> http://freenetproject.org/cgi-bin/mailman/listinfo/devl
> >>>
> >>
> >>
> >>
> >> --
> >> Ian Clarke
> >> Founder, The Freenet Project
> >> Email: ian at freenetproject.org
> >>
> >> ___
> >> Devl mailing list
> >> Devl at freenetproject.org
> >> http://freenetproject.org/cgi-bin/mailman/listinfo/devl
> >>
> >
>
>
> --
> Mohammad Jamilish Shiyamul Hoda
> Computer Science Engineer
> Mobile:+91 829 624 0102
> ___
> Devl mailing list
> Devl at freenetproject.org
> http://freenetproject.org/cgi-bin/mailman/listinfo/devl
>
-- next part --
An HTML attachment was scrubbed...
URL: 



[freenet-dev] GSoC 2012

2012-02-16 Thread Florent Daigniere

Different codebase, arguably no active developpement (7months since last 
commit? - https://github.com/sanity/tahrir/commits/master), no release yet, no 
userbase, ... different goals

I am not sure it's a good fit for GSoC tbh... but then again, it's up to Google 
to judge that.
Why do you think Freenet would be the right umbrella? Is there any integration 
in between both planned on the roadmap?

Why not presenting it as a mentoring organization on its own?

Florent

On Thu, Feb 16, 2012 at 12:32:14PM -0600, Ian Clarke wrote:
> I'm not sure whether people would object to this, but I would quite like to
> mentor a student to work on Tahrir under the umbrella of the Freenet
> project.
> 
> Thoughts?  Opinions?  Insults?
> 
> Ian.
> 
> On Thu, Feb 16, 2012 at 12:12 PM, Florent Daigniere <
> nextgens at freenetproject.org> wrote:
> 
> > Hi!
> >
> > Should Freenet take part to Google Summer of Code 2012?
> >
> > Is anyone motivated to mentor candidates?
> >
> > I'd like to mentor but probably won't do it if I'm the only one.
> >
> > Florent



[freenet-dev] GSoC 2012

2012-02-16 Thread Pouyan Zachar
Hey!

documenting pieces of code, which does not belong to you, can be really
really painful (according to my personal experience of course)

I wanted to suggest the renewal of the whole web interface (as I did last
GSoC): The idea is to work with templates instead of generating HTML output
inside Java.

Another issue, which I would consider important is performance. On my
machine at least, freenet requires a relatively high share of resources.

Cheers
Pouyan

On Thu, Feb 16, 2012 at 7:32 PM, Ian Clarke  wrote:

> I'm not sure whether people would object to this, but I would quite like
> to mentor a student to work on Tahrir under the umbrella of the Freenet
> project.
>
> Thoughts?  Opinions?  Insults?
>
> Ian.
>
>
> On Thu, Feb 16, 2012 at 12:12 PM, Florent Daigniere <
> nextgens at freenetproject.org> wrote:
>
>> Hi!
>>
>> Should Freenet take part to Google Summer of Code 2012?
>>
>> Is anyone motivated to mentor candidates?
>>
>> I'd like to mentor but probably won't do it if I'm the only one.
>>
>> Florent
>> ___
>> Devl mailing list
>> Devl at freenetproject.org
>> http://freenetproject.org/cgi-bin/mailman/listinfo/devl
>>
>
>
>
> --
> Ian Clarke
> Founder, The Freenet Project
> Email: ian at freenetproject.org
>
> ___
> Devl mailing list
> Devl at freenetproject.org
> http://freenetproject.org/cgi-bin/mailman/listinfo/devl
>
-- next part --
An HTML attachment was scrubbed...
URL: 



[freenet-dev] GSoC 2012

2012-02-16 Thread Zlatin Balevsky
+1 you might just have a winner

On Thu, Feb 16, 2012 at 1:32 PM, Ian Clarke  wrote:

> I'm not sure whether people would object to this, but I would quite like
> to mentor a student to work on Tahrir under the umbrella of the Freenet
> project.
>
> Thoughts?  Opinions?  Insults?
>
> Ian.
>
>
> On Thu, Feb 16, 2012 at 12:12 PM, Florent Daigniere <
> nextgens at freenetproject.org> wrote:
>
>> Hi!
>>
>> Should Freenet take part to Google Summer of Code 2012?
>>
>> Is anyone motivated to mentor candidates?
>>
>> I'd like to mentor but probably won't do it if I'm the only one.
>>
>> Florent
>> ___
>> Devl mailing list
>> Devl at freenetproject.org
>> http://freenetproject.org/cgi-bin/mailman/listinfo/devl
>>
>
>
>
> --
> Ian Clarke
> Founder, The Freenet Project
> Email: ian at freenetproject.org
>
> ___
> Devl mailing list
> Devl at freenetproject.org
> http://freenetproject.org/cgi-bin/mailman/listinfo/devl
>
-- next part --
An HTML attachment was scrubbed...
URL: 



[freenet-dev] GSoC 2012

2012-02-16 Thread xor
On Thursday 16 February 2012 19:12:52 Florent Daigniere wrote:
> Hi!
> 
> Should Freenet take part to Google Summer of Code 2012?

Yes.

> Is anyone motivated to mentor candidates?

Yes. me.

Project suggestion:
Have a student do NOTHING but reviewing FRED code from the entry point on.
He should JavaDoc everything which he reviews, fix any bugs which he spots 
while doing it, and refactor unclean code.
Ideally, toad would mentor this student.

IMHO this is CRITICAL for the survival of the project as a whole:
- Most code has only been reviewed by toad as he wrote most of it
- It has little to no JavaDoc
- Its quality is questionable in quite a few places. To be fair I should say 
that I did not read much of FREDs code, but when I read some of it, I almost 
always encountered functions which fill multiple screens and violate lots of 
best practices of programming / software engineering.
- We see little effort of volunteers writing code for FRED which might be 
caused by the poor readability / documentation.
- We might need another / replacement full time programmer as toad is busy 
with university
- In general, FRED seems rather buggy right now, and reviewing might fix that.
- The probability of toad or a volunteer suddenly doing a full review of fred 
is very low, so we should try to get someone to do it by rewarding it with 
money as a GSoC project
- I could go on and on about this, but I think I've made my point already.

Greetings, xor



[freenet-dev] GSoC 2012

2012-02-16 Thread Florent Daigniere
Hi!

Should Freenet take part to Google Summer of Code 2012?

Is anyone motivated to mentor candidates?

I'd like to mentor but probably won't do it if I'm the only one.

Florent



[freenet-dev] GSoC 2012

2012-02-16 Thread Steve Dougherty
I'd be interested in doing this! It'd be good to get more people to
understand more of the codebase and document while we're at it. From my
experience Freenet does need cleanup for best practices quite badly and
I've been wanting to do an extensive cleanup run for quite some time.
I've already done small-scale cleanup in areas of the UI layer.

Getting a spec for the Freenet protocol and routing algorithms would be
fantastic as well, and allow for other implementations, not to mention
concept-level review and improvement.

On 02/16/2012 01:21 PM, Zlatin Balevsky wrote:
> I'm not up to speed with specifics of the current Freenet codebase but
> I'd enjoy mentoring for general java/jvm development best practices. 
> More so, I'd hate to see Freenet miss out on fresh talent.
> 
> On Thu, Feb 16, 2012 at 1:12 PM, Florent Daigniere
> mailto:nextgens at freenetproject.org>> 
> wrote:
> 
> Hi!
> 
> Should Freenet take part to Google Summer of Code 2012?
> 
> Is anyone motivated to mentor candidates?
> 
> I'd like to mentor but probably won't do it if I'm the only one.
> 
> Florent
> ___
> Devl mailing list
> Devl at freenetproject.org 
> http://freenetproject.org/cgi-bin/mailman/listinfo/devl
> 
> 
> 
> 
> ___
> Devl mailing list
> Devl at freenetproject.org
> http://freenetproject.org/cgi-bin/mailman/listinfo/devl

-- next part --
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: 



[freenet-dev] GSoC 2012

2012-02-16 Thread Michael Grube
On Thu, Feb 16, 2012 at 1:32 PM, Ian Clarke  wrote:

> I'm not sure whether people would object to this, but I would quite like
> to mentor a student to work on Tahrir under the umbrella of the Freenet
> project.
>
> Thoughts?  Opinions?  Insults?
>

More probably stands to be accomplished this way. Less code to wade
through, a simpler implementation, etc. I suppose the immediate impact
could be higher. *Basic Freenet-like functionality is obviously needed ASAP
in many places.*

It seems like Tahrir is different enough from the Freenet software package(
https://github.com/sanity/tahrir/wiki/Overview) that associating it with
the Freenet Project makes sense anyway.

IMHO, the biggest Freenet problems are theoretical problems as The Seeker,
Evanbd, toad and others have been saying. In the meantime, a lightweight,
specific implementation would be amazing. Just make sure they produce nice
documentation please...



> Ian.
>
>
> On Thu, Feb 16, 2012 at 12:12 PM, Florent Daigniere <
> nextgens at freenetproject.org> wrote:
>
>> Hi!
>>
>> Should Freenet take part to Google Summer of Code 2012?
>>
>> Is anyone motivated to mentor candidates?
>>
>> I'd like to mentor but probably won't do it if I'm the only one.
>>
>> Florent
>> ___
>> Devl mailing list
>> Devl at freenetproject.org
>> http://freenetproject.org/cgi-bin/mailman/listinfo/devl
>>
>
>
>
> --
> Ian Clarke
> Founder, The Freenet Project
> Email: ian at freenetproject.org
>
> ___
> Devl mailing list
> Devl at freenetproject.org
> http://freenetproject.org/cgi-bin/mailman/listinfo/devl
>
-- next part --
An HTML attachment was scrubbed...
URL: 



[freenet-dev] GSoC 2012

2012-02-16 Thread Zlatin Balevsky
I'm not up to speed with specifics of the current Freenet codebase but I'd
enjoy mentoring for general java/jvm development best practices.  More so,
I'd hate to see Freenet miss out on fresh talent.

On Thu, Feb 16, 2012 at 1:12 PM, Florent Daigniere <
nextgens at freenetproject.org> wrote:

> Hi!
>
> Should Freenet take part to Google Summer of Code 2012?
>
> Is anyone motivated to mentor candidates?
>
> I'd like to mentor but probably won't do it if I'm the only one.
>
> Florent
> ___
> Devl mailing list
> Devl at freenetproject.org
> http://freenetproject.org/cgi-bin/mailman/listinfo/devl
>
-- next part --
An HTML attachment was scrubbed...
URL: 



[freenet-dev] GSoC 2012

2012-02-16 Thread Ian Clarke
I'm not sure whether people would object to this, but I would quite like to
mentor a student to work on Tahrir under the umbrella of the Freenet
project.

Thoughts?  Opinions?  Insults?

Ian.

On Thu, Feb 16, 2012 at 12:12 PM, Florent Daigniere <
nextgens at freenetproject.org> wrote:

> Hi!
>
> Should Freenet take part to Google Summer of Code 2012?
>
> Is anyone motivated to mentor candidates?
>
> I'd like to mentor but probably won't do it if I'm the only one.
>
> Florent
> ___
> Devl mailing list
> Devl at freenetproject.org
> http://freenetproject.org/cgi-bin/mailman/listinfo/devl
>



-- 
Ian Clarke
Founder, The Freenet Project
Email: ian at freenetproject.org
-- next part --
An HTML attachment was scrubbed...
URL: 



[freenet-dev] GSoC 2012

2012-02-16 Thread Florent Daigniere
Hi!

Should Freenet take part to Google Summer of Code 2012?

Is anyone motivated to mentor candidates?

I'd like to mentor but probably won't do it if I'm the only one.

Florent
___
Devl mailing list
Devl@freenetproject.org
http://freenetproject.org/cgi-bin/mailman/listinfo/devl


Re: [freenet-dev] GSoC 2012

2012-02-16 Thread Zlatin Balevsky
I'm not up to speed with specifics of the current Freenet codebase but I'd
enjoy mentoring for general java/jvm development best practices.  More so,
I'd hate to see Freenet miss out on fresh talent.

On Thu, Feb 16, 2012 at 1:12 PM, Florent Daigniere 
nextg...@freenetproject.org wrote:

 Hi!

 Should Freenet take part to Google Summer of Code 2012?

 Is anyone motivated to mentor candidates?

 I'd like to mentor but probably won't do it if I'm the only one.

 Florent
 ___
 Devl mailing list
 Devl@freenetproject.org
 http://freenetproject.org/cgi-bin/mailman/listinfo/devl

___
Devl mailing list
Devl@freenetproject.org
http://freenetproject.org/cgi-bin/mailman/listinfo/devl

Re: [freenet-dev] GSoC 2012

2012-02-16 Thread xor
On Thursday 16 February 2012 19:12:52 Florent Daigniere wrote:
 Hi!
 
 Should Freenet take part to Google Summer of Code 2012?

Yes.

 Is anyone motivated to mentor candidates?

Yes. me.

Project suggestion:
Have a student do NOTHING but reviewing FRED code from the entry point on.
He should JavaDoc everything which he reviews, fix any bugs which he spots 
while doing it, and refactor unclean code.
Ideally, toad would mentor this student.

IMHO this is CRITICAL for the survival of the project as a whole:
- Most code has only been reviewed by toad as he wrote most of it
- It has little to no JavaDoc
- Its quality is questionable in quite a few places. To be fair I should say 
that I did not read much of FREDs code, but when I read some of it, I almost 
always encountered functions which fill multiple screens and violate lots of 
best practices of programming / software engineering.
- We see little effort of volunteers writing code for FRED which might be 
caused by the poor readability / documentation.
- We might need another / replacement full time programmer as toad is busy 
with university
- In general, FRED seems rather buggy right now, and reviewing might fix that.
- The probability of toad or a volunteer suddenly doing a full review of fred 
is very low, so we should try to get someone to do it by rewarding it with 
money as a GSoC project
- I could go on and on about this, but I think I've made my point already.

Greetings, xor
___
Devl mailing list
Devl@freenetproject.org
http://freenetproject.org/cgi-bin/mailman/listinfo/devl


Re: [freenet-dev] GSoC 2012

2012-02-16 Thread Ian Clarke
I'm not sure whether people would object to this, but I would quite like to
mentor a student to work on Tahrir under the umbrella of the Freenet
project.

Thoughts?  Opinions?  Insults?

Ian.

On Thu, Feb 16, 2012 at 12:12 PM, Florent Daigniere 
nextg...@freenetproject.org wrote:

 Hi!

 Should Freenet take part to Google Summer of Code 2012?

 Is anyone motivated to mentor candidates?

 I'd like to mentor but probably won't do it if I'm the only one.

 Florent
 ___
 Devl mailing list
 Devl@freenetproject.org
 http://freenetproject.org/cgi-bin/mailman/listinfo/devl




-- 
Ian Clarke
Founder, The Freenet Project
Email: i...@freenetproject.org
___
Devl mailing list
Devl@freenetproject.org
http://freenetproject.org/cgi-bin/mailman/listinfo/devl

Re: [freenet-dev] GSoC 2012

2012-02-16 Thread Pouyan Zachar
Hey!

documenting pieces of code, which does not belong to you, can be really
really painful (according to my personal experience of course)

I wanted to suggest the renewal of the whole web interface (as I did last
GSoC): The idea is to work with templates instead of generating HTML output
inside Java.

Another issue, which I would consider important is performance. On my
machine at least, freenet requires a relatively high share of resources.

Cheers
Pouyan

On Thu, Feb 16, 2012 at 7:32 PM, Ian Clarke i...@freenetproject.org wrote:

 I'm not sure whether people would object to this, but I would quite like
 to mentor a student to work on Tahrir under the umbrella of the Freenet
 project.

 Thoughts?  Opinions?  Insults?

 Ian.


 On Thu, Feb 16, 2012 at 12:12 PM, Florent Daigniere 
 nextg...@freenetproject.org wrote:

 Hi!

 Should Freenet take part to Google Summer of Code 2012?

 Is anyone motivated to mentor candidates?

 I'd like to mentor but probably won't do it if I'm the only one.

 Florent
 ___
 Devl mailing list
 Devl@freenetproject.org
 http://freenetproject.org/cgi-bin/mailman/listinfo/devl




 --
 Ian Clarke
 Founder, The Freenet Project
 Email: i...@freenetproject.org

 ___
 Devl mailing list
 Devl@freenetproject.org
 http://freenetproject.org/cgi-bin/mailman/listinfo/devl

___
Devl mailing list
Devl@freenetproject.org
http://freenetproject.org/cgi-bin/mailman/listinfo/devl

Re: [freenet-dev] GSoC 2012

2012-02-16 Thread Michael Grube
On Thu, Feb 16, 2012 at 1:32 PM, Ian Clarke i...@freenetproject.org wrote:

 I'm not sure whether people would object to this, but I would quite like
 to mentor a student to work on Tahrir under the umbrella of the Freenet
 project.

 Thoughts?  Opinions?  Insults?


More probably stands to be accomplished this way. Less code to wade
through, a simpler implementation, etc. I suppose the immediate impact
could be higher. *Basic Freenet-like functionality is obviously needed ASAP
in many places.*

It seems like Tahrir is different enough from the Freenet software package(
https://github.com/sanity/tahrir/wiki/Overview) that associating it with
the Freenet Project makes sense anyway.

IMHO, the biggest Freenet problems are theoretical problems as The Seeker,
Evanbd, toad and others have been saying. In the meantime, a lightweight,
specific implementation would be amazing. Just make sure they produce nice
documentation please...



 Ian.


 On Thu, Feb 16, 2012 at 12:12 PM, Florent Daigniere 
 nextg...@freenetproject.org wrote:

 Hi!

 Should Freenet take part to Google Summer of Code 2012?

 Is anyone motivated to mentor candidates?

 I'd like to mentor but probably won't do it if I'm the only one.

 Florent
 ___
 Devl mailing list
 Devl@freenetproject.org
 http://freenetproject.org/cgi-bin/mailman/listinfo/devl




 --
 Ian Clarke
 Founder, The Freenet Project
 Email: i...@freenetproject.org

 ___
 Devl mailing list
 Devl@freenetproject.org
 http://freenetproject.org/cgi-bin/mailman/listinfo/devl

___
Devl mailing list
Devl@freenetproject.org
http://freenetproject.org/cgi-bin/mailman/listinfo/devl

Re: [freenet-dev] GSoC 2012

2012-02-16 Thread Steve Dougherty
I'd be interested in doing this! It'd be good to get more people to
understand more of the codebase and document while we're at it. From my
experience Freenet does need cleanup for best practices quite badly and
I've been wanting to do an extensive cleanup run for quite some time.
I've already done small-scale cleanup in areas of the UI layer.

Getting a spec for the Freenet protocol and routing algorithms would be
fantastic as well, and allow for other implementations, not to mention
concept-level review and improvement.

On 02/16/2012 01:21 PM, Zlatin Balevsky wrote:
 I'm not up to speed with specifics of the current Freenet codebase but
 I'd enjoy mentoring for general java/jvm development best practices. 
 More so, I'd hate to see Freenet miss out on fresh talent.
 
 On Thu, Feb 16, 2012 at 1:12 PM, Florent Daigniere
 nextg...@freenetproject.org mailto:nextg...@freenetproject.org wrote:
 
 Hi!
 
 Should Freenet take part to Google Summer of Code 2012?
 
 Is anyone motivated to mentor candidates?
 
 I'd like to mentor but probably won't do it if I'm the only one.
 
 Florent
 ___
 Devl mailing list
 Devl@freenetproject.org mailto:Devl@freenetproject.org
 http://freenetproject.org/cgi-bin/mailman/listinfo/devl
 
 
 
 
 ___
 Devl mailing list
 Devl@freenetproject.org
 http://freenetproject.org/cgi-bin/mailman/listinfo/devl



signature.asc
Description: OpenPGP digital signature
___
Devl mailing list
Devl@freenetproject.org
http://freenetproject.org/cgi-bin/mailman/listinfo/devl

Re: [freenet-dev] GSoC 2012

2012-02-16 Thread Florent Daigniere

Different codebase, arguably no active developpement (7months since last 
commit? - https://github.com/sanity/tahrir/commits/master), no release yet, no 
userbase, ... different goals

I am not sure it's a good fit for GSoC tbh... but then again, it's up to Google 
to judge that.
Why do you think Freenet would be the right umbrella? Is there any integration 
in between both planned on the roadmap?

Why not presenting it as a mentoring organization on its own?

Florent

On Thu, Feb 16, 2012 at 12:32:14PM -0600, Ian Clarke wrote:
 I'm not sure whether people would object to this, but I would quite like to
 mentor a student to work on Tahrir under the umbrella of the Freenet
 project.
 
 Thoughts?  Opinions?  Insults?
 
 Ian.
 
 On Thu, Feb 16, 2012 at 12:12 PM, Florent Daigniere 
 nextg...@freenetproject.org wrote:
 
  Hi!
 
  Should Freenet take part to Google Summer of Code 2012?
 
  Is anyone motivated to mentor candidates?
 
  I'd like to mentor but probably won't do it if I'm the only one.
 
  Florent
___
Devl mailing list
Devl@freenetproject.org
http://freenetproject.org/cgi-bin/mailman/listinfo/devl


Re: [freenet-dev] GSoC 2012

2012-02-16 Thread Matthew Toseland
On Thursday 16 Feb 2012 23:26:03 Florent Daigniere wrote:
 
 Different codebase, arguably no active developpement (7months since last 
 commit? - https://github.com/sanity/tahrir/commits/master), no release yet, 
 no userbase, ... different goals
 
 I am not sure it's a good fit for GSoC tbh... but then again, it's up to 
 Google to judge that.
 Why do you think Freenet would be the right umbrella? Is there any 
 integration in between both planned on the roadmap?
 
 Why not presenting it as a mentoring organization on its own?

Because setting up a nonprofit is a lot of work, and it's political enough that 
it'd need its own nonprofit, the standard ones might not be appropriate.

And because its goals are broadly similar ideologically even if its technical 
goals are, in the short term, somewhat divergent. And a lot of the technology 
is similar too, although of course he's done everything in New And Wonderful 
Ways.

Long term, Freenet needs pub/sub (for chat e.g.), and a good microblogging  UI 
(well duh), and Tahrir needs routing and file storage (where are you gonna put 
your suppressed pictures/phone footage?).

Hence bringing it under the FPI organisational umbrella may make sense. Having 
said that, I don't think it would be appropriate to call Tahrir Freenet 2.0, at 
least not at present. :)
 
 Florent
 
 On Thu, Feb 16, 2012 at 12:32:14PM -0600, Ian Clarke wrote:
  I'm not sure whether people would object to this, but I would quite like to
  mentor a student to work on Tahrir under the umbrella of the Freenet
  project.
  
  Thoughts?  Opinions?  Insults?
  
  Ian.
  
  On Thu, Feb 16, 2012 at 12:12 PM, Florent Daigniere 
  nextg...@freenetproject.org wrote:
  
   Hi!
  
   Should Freenet take part to Google Summer of Code 2012?
  
   Is anyone motivated to mentor candidates?
  
   I'd like to mentor but probably won't do it if I'm the only one.
  
   Florent
 ___
 Devl mailing list
 Devl@freenetproject.org
 http://freenetproject.org/cgi-bin/mailman/listinfo/devl
 
 


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

Re: [freenet-dev] GSoC 2012

2012-02-16 Thread Matthew Toseland
On Thursday 16 Feb 2012 22:15:44 Steve Dougherty wrote:
 I'd be interested in doing this! It'd be good to get more people to
 understand more of the codebase and document while we're at it. From my
 experience Freenet does need cleanup for best practices quite badly and
 I've been wanting to do an extensive cleanup run for quite some time.
 I've already done small-scale cleanup in areas of the UI layer.

Cleanup is good yes. If you want to make more patches that'd be awesome. If you 
want to maintain a janitor tree like happens in the kernel that'd be even 
better.
 
 Getting a spec for the Freenet protocol and routing algorithms would be
 fantastic as well, and allow for other implementations, not to mention
 concept-level review and improvement.

The latter is important. The former is not: Multiple, compatible but slightly 
different implementations, with different levels of maintenance, is going to be 
very bad while we are still evolving the distributed algorithms.

HOWEVER, documenting everything is good. Whether it is within the scope of GSoC 
is another question.
 
 On 02/16/2012 01:21 PM, Zlatin Balevsky wrote:
  I'm not up to speed with specifics of the current Freenet codebase but
  I'd enjoy mentoring for general java/jvm development best practices. 
  More so, I'd hate to see Freenet miss out on fresh talent.
  
  On Thu, Feb 16, 2012 at 1:12 PM, Florent Daigniere
  nextg...@freenetproject.org mailto:nextg...@freenetproject.org wrote:
  
  Hi!
  
  Should Freenet take part to Google Summer of Code 2012?
  
  Is anyone motivated to mentor candidates?
  
  I'd like to mentor but probably won't do it if I'm the only one.
  
  Florent

I doubt I have time to admin let alone mentor.


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

Re: [freenet-dev] GSoC 2012

2012-02-16 Thread Matthew Toseland
On Thursday 16 Feb 2012 18:29:16 xor wrote:
 On Thursday 16 February 2012 19:12:52 Florent Daigniere wrote:
  Hi!
  
  Should Freenet take part to Google Summer of Code 2012?
 
 Yes.
 
  Is anyone motivated to mentor candidates?
 
 Yes. me.
 
 Project suggestion:
 Have a student do NOTHING but reviewing FRED code from the entry point on.
 He should JavaDoc everything which he reviews, fix any bugs which he spots 
 while doing it, and refactor unclean code.
 Ideally, toad would mentor this student.
 
 IMHO this is CRITICAL for the survival of the project as a whole:
 - Most code has only been reviewed by toad as he wrote most of it

True.

 - It has little to no JavaDoc

Stuff I wrote from scratch often has SOME javadoc. Of course it's never 
adequate docs.

 - Its quality is questionable in quite a few places. 

True, both in old and new places.

And where it does wierd things, we need to document exactly WHY it does those 
wierd things. To some degree this does happen e.g. in the client layer, but 
it's far from complete.

 To be fair I should say 
 that I did not read much of FREDs code, but when I read some of it, I almost 
 always encountered functions which fill multiple screens and violate lots of 
 best practices of programming / software engineering.

Sometimes the best practices are wrong. :) E.g. because of persistence issues, 
or because we don't need to worry about scalability in a particular function as 
we can bound the size of the structures. But the reason they are best practices 
is they are right most of the time, sure. And yes, big functions are bad.

 - We see little effort of volunteers writing code for FRED which might be 
 caused by the poor readability / documentation.

True, but chicken/egg problem - it would take an outsider a lot of work/long 
time to figure everything out, and a lot of questions etc, and if they tried to 
clean stuff up they'd need a lot of supervision. An insider probably has more 
important things to do.

So ideally we'd want to quantify this - to what degree is ugly code a barrier 
for core contributions?

 - We might need another / replacement full time programmer as toad is busy 
 with university

Yes, we may.

 - In general, FRED seems rather buggy right now, and reviewing might fix that.

Yes, although fixing the bugs might be a more direct approach for most. :)

 - The probability of toad or a volunteer suddenly doing a full review of fred 
 is very low, so we should try to get someone to do it by rewarding it with 
 money as a GSoC project

No, I don't think this will work. GSoC coders are often not all that great, and 
even a great coder would have difficulty accomplishing a significant proportion 
of the task you are proposing in the limited period available. And they would 
need a lot of competent supervision - and if they're not really great the 
supervision workload is greater than the achieved output; this is the 
fundamental problem with GSoC: 1) it's less work to just write it yourself; 2) 
most people don't stay (but the few who do may make it all worthwhile). One 
other parameter is that we've used it to reward and integrate existing 
peripheral contributors who happen to be students; this is usually fairly 
successful.

Having said that, documenting and unit testing some limited part of fred might 
be workable.

 - I could go on and on about this, but I think I've made my point already.

IF documentation is within the scope of GSoC. This is probably a standard 
question, look it up.

Also, with or without Google, we have a donor who might be willing to fund 
somebody to build unit tests.


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

Re: [freenet-dev] GSoC 2012

2012-02-16 Thread Zlatin Balevsky
+1 you might just have a winner

On Thu, Feb 16, 2012 at 1:32 PM, Ian Clarke i...@freenetproject.org wrote:

 I'm not sure whether people would object to this, but I would quite like
 to mentor a student to work on Tahrir under the umbrella of the Freenet
 project.

 Thoughts?  Opinions?  Insults?

 Ian.


 On Thu, Feb 16, 2012 at 12:12 PM, Florent Daigniere 
 nextg...@freenetproject.org wrote:

 Hi!

 Should Freenet take part to Google Summer of Code 2012?

 Is anyone motivated to mentor candidates?

 I'd like to mentor but probably won't do it if I'm the only one.

 Florent
 ___
 Devl mailing list
 Devl@freenetproject.org
 http://freenetproject.org/cgi-bin/mailman/listinfo/devl




 --
 Ian Clarke
 Founder, The Freenet Project
 Email: i...@freenetproject.org

 ___
 Devl mailing list
 Devl@freenetproject.org
 http://freenetproject.org/cgi-bin/mailman/listinfo/devl

___
Devl mailing list
Devl@freenetproject.org
http://freenetproject.org/cgi-bin/mailman/listinfo/devl

Re: [freenet-dev] GSoC 2012

2012-02-16 Thread Mohammad Hoda
Hi
Ild like to start helping freenet, GSoC or no GSoC. Can some one tell
me where to start
Thanks

On 17/02/2012, Zlatin Balevsky zlat...@gmail.com wrote:
 +1 you might just have a winner

 On Thu, Feb 16, 2012 at 1:32 PM, Ian Clarke i...@freenetproject.org wrote:

 I'm not sure whether people would object to this, but I would quite like
 to mentor a student to work on Tahrir under the umbrella of the Freenet
 project.

 Thoughts?  Opinions?  Insults?

 Ian.


 On Thu, Feb 16, 2012 at 12:12 PM, Florent Daigniere 
 nextg...@freenetproject.org wrote:

 Hi!

 Should Freenet take part to Google Summer of Code 2012?

 Is anyone motivated to mentor candidates?

 I'd like to mentor but probably won't do it if I'm the only one.

 Florent
 ___
 Devl mailing list
 Devl@freenetproject.org
 http://freenetproject.org/cgi-bin/mailman/listinfo/devl




 --
 Ian Clarke
 Founder, The Freenet Project
 Email: i...@freenetproject.org

 ___
 Devl mailing list
 Devl@freenetproject.org
 http://freenetproject.org/cgi-bin/mailman/listinfo/devl




-- 
Mohammad Jamilish Shiyamul Hoda
Computer Science Engineer
Mobile:+91 829 624 0102
___
Devl mailing list
Devl@freenetproject.org
http://freenetproject.org/cgi-bin/mailman/listinfo/devl


Re: [freenet-dev] GSoC 2012

2012-02-16 Thread Michael Grube
Hi Mohammed,

The first thing you can do is educate yourself about exactly how Freenet
works in detail if you haven't
done so already.

Generally speaking, you can help Freenet by:
1. Adding interesting content
2. Running a node, spreading awareness, getting people to use it
3. Making or contributing to useful Freenet applications(Freetalk, WoT, etc)
4. Fixing bugs (http://bugs.freenetproject.org)

However, if you're going for GSoC anyway, you may want to make some code
contributions to Tahrir.
You could end up making a big impact and who knows, it might impress
certain people!


On Thu, Feb 16, 2012 at 10:52 PM, Mohammad Hoda shiyamh...@gmail.comwrote:

 Hi
 Ild like to start helping freenet, GSoC or no GSoC. Can some one tell
 me where to start
 Thanks

 On 17/02/2012, Zlatin Balevsky zlat...@gmail.com wrote:
  +1 you might just have a winner
 
  On Thu, Feb 16, 2012 at 1:32 PM, Ian Clarke i...@freenetproject.org
 wrote:
 
  I'm not sure whether people would object to this, but I would quite like
  to mentor a student to work on Tahrir under the umbrella of the Freenet
  project.
 
  Thoughts?  Opinions?  Insults?
 
  Ian.
 
 
  On Thu, Feb 16, 2012 at 12:12 PM, Florent Daigniere 
  nextg...@freenetproject.org wrote:
 
  Hi!
 
  Should Freenet take part to Google Summer of Code 2012?
 
  Is anyone motivated to mentor candidates?
 
  I'd like to mentor but probably won't do it if I'm the only one.
 
  Florent
  ___
  Devl mailing list
  Devl@freenetproject.org
  http://freenetproject.org/cgi-bin/mailman/listinfo/devl
 
 
 
 
  --
  Ian Clarke
  Founder, The Freenet Project
  Email: i...@freenetproject.org
 
  ___
  Devl mailing list
  Devl@freenetproject.org
  http://freenetproject.org/cgi-bin/mailman/listinfo/devl
 
 


 --
 Mohammad Jamilish Shiyamul Hoda
 Computer Science Engineer
 Mobile:+91 829 624 0102
 ___
 Devl mailing list
 Devl@freenetproject.org
 http://freenetproject.org/cgi-bin/mailman/listinfo/devl

___
Devl mailing list
Devl@freenetproject.org
http://freenetproject.org/cgi-bin/mailman/listinfo/devl

Re: [freenet-dev] GSoC 2012

2012-02-16 Thread Mohammad Hoda
Hi Michael
Thanks for the reply.
I would indeed be going for GSOC. Could you please tell me a little
bit more about the coding part. BTW what is Tahrir

Thanks

On 17/02/2012, Michael Grube michael.gr...@gmail.com wrote:
 Hi Mohammed,

 The first thing you can do is educate yourself about exactly how Freenet
 works in detail if you haven't
 done so already.

 Generally speaking, you can help Freenet by:
 1. Adding interesting content
 2. Running a node, spreading awareness, getting people to use it
 3. Making or contributing to useful Freenet applications(Freetalk, WoT, etc)
 4. Fixing bugs (http://bugs.freenetproject.org)

 However, if you're going for GSoC anyway, you may want to make some code
 contributions to Tahrir.
 You could end up making a big impact and who knows, it might impress
 certain people!


 On Thu, Feb 16, 2012 at 10:52 PM, Mohammad Hoda shiyamh...@gmail.comwrote:

 Hi
 Ild like to start helping freenet, GSoC or no GSoC. Can some one tell
 me where to start
 Thanks

 On 17/02/2012, Zlatin Balevsky zlat...@gmail.com wrote:
  +1 you might just have a winner
 
  On Thu, Feb 16, 2012 at 1:32 PM, Ian Clarke i...@freenetproject.org
 wrote:
 
  I'm not sure whether people would object to this, but I would quite
  like
  to mentor a student to work on Tahrir under the umbrella of the Freenet
  project.
 
  Thoughts?  Opinions?  Insults?
 
  Ian.
 
 
  On Thu, Feb 16, 2012 at 12:12 PM, Florent Daigniere 
  nextg...@freenetproject.org wrote:
 
  Hi!
 
  Should Freenet take part to Google Summer of Code 2012?
 
  Is anyone motivated to mentor candidates?
 
  I'd like to mentor but probably won't do it if I'm the only one.
 
  Florent
  ___
  Devl mailing list
  Devl@freenetproject.org
  http://freenetproject.org/cgi-bin/mailman/listinfo/devl
 
 
 
 
  --
  Ian Clarke
  Founder, The Freenet Project
  Email: i...@freenetproject.org
 
  ___
  Devl mailing list
  Devl@freenetproject.org
  http://freenetproject.org/cgi-bin/mailman/listinfo/devl
 
 


 --
 Mohammad Jamilish Shiyamul Hoda
 Computer Science Engineer
 Mobile:+91 829 624 0102
 ___
 Devl mailing list
 Devl@freenetproject.org
 http://freenetproject.org/cgi-bin/mailman/listinfo/devl




-- 
Mohammad Jamilish Shiyamul Hoda
Computer Science Engineer
Mobile:+91 829 624 0102
___
Devl mailing list
Devl@freenetproject.org
http://freenetproject.org/cgi-bin/mailman/listinfo/devl