Re: [freenet-dev] coding in Freenet

2012-12-28 Thread Juiceman
On Nov 23, 2012 4:09 PM, "Matthew Toseland" 
wrote:
>
> On Friday 23 Nov 2012 20:47:24 Simon Vocella wrote:
> > Hi all,
> >
> > i have more questions after one my little refactoring:
> >
> > - Why you don't user a log4j or similar project to log?
>
> There's a lot we could move to third party code, it's an ongoing process,
e.g. we've started work on crypto recently.
>
> Re logging, we have fairly specialised requirements - even if we use a
standard logging API, we'd probably need our own rotation/compression code,
and we'd likely need other things too. E.g. we use logging quite a lot and
have it all in if(class specific boolean) { ... }. The reason for this is
generating the strings (and GCing them) can use a lot of CPU: it's vital
that if logging is turned off for that class then it not do *anything*.
There have been proposals to solve this in various less-ugly ways. Have a
look at the devl archives if interested. I'd be interested to know if any
of the standard logging solutions have an answer for this... Also, have a
look at the config in advanced mode for logging to get an idea of why we'd
need a custom logfile writer thread.

I just read about Blitz4j Netflix optimized version of log4j.  Supposedly
little to no performance impact under heavy logging due to asynchronous
code.

http://techblog.netflix.com/2012/11/announcing-bitz4j-scalable-logging.html

Hosted on github here
http://www.github.com/Netflix/blitz4j

> >
> > - The idea to use Apache Maven is worth with the guideline of Freenet?
>
> Security issues. Maven doesn't verify checksums/signatures when
downloading dependencies. And also we have quite a few anonymous
contributors, so downloading files during the build process is bad.
> >
> > - How can I test? There is a test suite?
>
> There is some junit coverage, the tests run during a normal build
("ant"). However, most high-level classes don't have unit tests. There are
also some useful tools in freenet/node/simulator/ which run several nodes
inside one JVM and have them test various functions. We need more tests.
Most changes are tested by running a node ...
> >
> > Simon
> >
> > On Thu, Nov 22, 2012 at 9:46 AM, Simon Vocella  wrote:
> >
> > > Hi Matthew! Thanks for the answer!
> > >
> > > I already builded Freenet! Now I'm going to help in some way :)
> > >
> > > Simon
> > >
> > >
> > > On Thu, Nov 22, 2012 at 12:46 AM, Matthew Toseland <
> > > t...@amphibian.dyndns.org> wrote:
> > >
> > >> On Monday 19 Nov 2012 07:55:22 Simon Vocella wrote:
> > >> > Hi Steve,
> > >> >
> > >> > I compiled all from the source, but why bcprov.jar and
freenet-ext.jar
> > >> is
> > >> > not in lib dir? license problem?
> > >> >
> > >> > And why junit.jar is not in lib dir too?
> > >>
> > >> It's bad form to put jars in git repositories, since it keeps a full
> > >> history. So you have to download it by hand. The ant script will
fetch it
> > >> for you but that's off by default for security reasons, we have a few
> > >> anonymous developers.
> > >>
> > >> Welcome aboard! Please ask any questions you need answering. You
should
> > >> be able to find bcprov and freenet-ext.jar, if only from an existing
> > >> Freenet install, but otherwise download bcprov from bouncycastle.org(the
1.5 provider) and freenet-ext.jar from
> > >> downloads.freenetproject.org/alpha/
> > >>
> > >
> > >
> >
>
> ___
> Devl mailing list
> Devl@freenetproject.org
> https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
___
Devl mailing list
Devl@freenetproject.org
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Re: [freenet-dev] coding in Freenet

2012-12-08 Thread Matthew Toseland
On Friday 23 Nov 2012 21:43:35 Robert Hailey wrote:
> 
> On 2012/11/23 (Nov), at 3:09 PM, Matthew Toseland wrote:
> 
> > The reason for this is generating the strings (and GCing them) can use a 
> > lot of CPU: it's vital that if logging is turned off for that class then it 
> > not do *anything*. [...] I'd be interested to know if any of the standard 
> > logging solutions have an answer for this...
> 
> slf4j includes a special marker where it injects logging arguments, so that:
> (1) Object.toString() is not called unless the log line is actually being 
> appended, and
> (2) The string building (as you mentioned) is not performed unless the log 
> line is actually appended.
> 
> The usage is similar to log4j, like this:
> 
> log.info("received '{}' from {}", packet, peer);
> 
> The cost/benefit trade off is approximately one function call versus cleaner 
> code; since it's a facade, you're not pinned to one log facility, and I know 
> for a fact that log4j (which is compatible with slf4j) has per-class log 
> levels (which you also mentioned).

What is the cost of mangling the bytecode? Only at startup (or even at compile 
time?) and when you change the logging settings?


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] coding in Freenet

2012-11-30 Thread Steve Dougherty
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/24/2012 09:41 PM, Steve Dougherty wrote:
> On 11/23/2012 05:25 PM, Simon Vocella wrote:
>> I confirm what Robert say, in my last works I used slf4j!
> 
>> Btw, now fred-staging pass from 300 warnings to 142 :) Can I pull
>>  request? For pull request I need to implement some features? I 
>> already call ant and all tests are successful, Have i to do other
>>  things?
> 
>> Simon
> 
> I don't have the ability to accept pull requests, but I think
> that's a good place to start! At the very least it's a good place
> for review. The "next" branch is for development, so please make
> any pull requests there.

There's been some reviewing going on, the current status of which is
available here. [0]

If anyone cares to contribute their own thoughts on the code, it'd be
very much appreciated.

Thanks,
Steve

> Steve
> 

[0] https://github.com/freenet/fred-staging/pull/136#issuecomment-10912590
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJQuYAGAAoJECLJP19KqmFu9FEQAK6v+ZnMdsSx/XRH5PgK3sDM
+4kFyd6pOsNr7ksQ37oNsl+59qdYVPXfLuC/oZXTHIupsxXwKzt+1wFHNXgkixzt
C0llq/+YEEgtqgxjD/zm2xDdLv9bR50h1N6OQX7LlH58urAmhAJJ9oj3Bs7w3vhn
9LA25x/B1nS2/69COeE9Ewdru/jf50xoxo8NsF1QuBuBkTXeYHgwcGuNbVZIhU61
3CxJFo5e8b+7Es0mdLE81ZTYLjsz6mT3e6+1o/w3Z1dCz3FP/Z/BBV4hEcGWp09O
vq0Kb4z+O13KNtSvYmRFF5QROMLTaoOq+C9FVUwd0PKFmlnZxKSyvsuQPjFXS2R3
+Rpg50oDRZKOUDrYW/Hm+ODeiKr4mLl+dwrttRlTIg3SShNnjCWxQsBfIAJfhv2K
xfnfLxL1p+vZDNQJW3VKUWW4CeWIRqtqorwEMvouaB12OmMr0wmQAe+UI0pYzJrt
0pjoRC9yb3xB5aDbXGX48b1tI5symVH0Yr4sc7MNXVEuC0QoOAHe+6fHZI9brZq+
JEk+DqKcDCPsUG8T2I2HSdf6LuCFp5LDDIReJtkXO7csOQbbR/Wtegtt+bwRLLnz
iAH3xyTOB4fTFX4kwBQTIiXIUiG6lvfkZy3iUlPb7SAoeU5UCifN3GF300vJjAyf
LcmD9ls2oeb6BQv95R+n
=awti
-END PGP SIGNATURE-
___
Devl mailing list
Devl@freenetproject.org
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl


Re: [freenet-dev] coding in Freenet

2012-11-24 Thread Steve Dougherty
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/23/2012 05:25 PM, Simon Vocella wrote:
> I confirm what Robert say, in my last works I used slf4j!
> 
> Btw, now fred-staging pass from 300 warnings to 142 :) Can I pull 
> request? For pull request I need to implement some features? I 
> already call ant and all tests are successful, Have i to do other 
> things?
> 
> Simon

I don't have the ability to accept pull requests, but I think that's a
good place to start! At the very least it's a good place for review.
The "next" branch is for development, so please make any pull requests
there.

Steve
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJQsYU5AAoJECLJP19KqmFu+C8QAI1D8LlD72fDHOat+2L9mzUl
fIIdeMGZCzQBlWNEKgv3rml2OqBeiXOu4v5pdAnOjko/a4zlxTapQwyGep6s3OpK
qEf3uX6k2bkVUgB1nUvC14+/bOqqO3evo3k0HafU3i+SzfZWfIRh4uV/2iT/zypK
feFXziVpVPqA4B3bmwFkvbHbdr0jo/ZfMIc8Ngv+xLsGsD5GKPxqLKHH0FJZmb7m
+7kH0fyZH1ZqopRNjSRBHxsPqEls30gehA3WEJAwC6RhOuuyKfRbiSFG7gRoZSfs
+vOb9M5mgrpKGx5vG/W/5Wusw3++A/4xzbqlsprEeD8HBmZGUeUAoW6yNyFOa8m6
Jpz1+8QcFZeGfRZC2cDSLT9+rxoBP/QDqytjeJHuO2Qc5rMwYph9MbWi0ZpfYH2H
60iUZuslZ7t9R+y8gvSz//+4PFhOeLzwRrQH+3OZa8gjyIYB0a0E18dZlPZnM5wj
BzNYFs6y4ohB32AaRg0XJgJ9wfBz3RVFkqlwF0fv1ewPw2VoeUbT1uQU7Z1C5o0v
+lNYlbfjYykDlOIjZzHZF0EBctqjdA6tt+Sl5EfxUor5JQXt4U9Q4rwp0AcifJ37
NSUPiZg3noTij9bBG6W/3abUGhQiJ3PhqLfMassileHJUgPYwMQWpo1Yw1Uso4h7
bY+4smttzfLNMb989yPl
=t1qu
-END PGP SIGNATURE-
___
Devl mailing list
Devl@freenetproject.org
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl


Re: [freenet-dev] coding in Freenet

2012-11-23 Thread Simon Vocella
I confirm what Robert say, in my last works I used slf4j!

Btw, now fred-staging pass from 300 warnings to 142 :) Can I pull request?
For pull request I need to implement some features?
I already call ant and all tests are successful, Have i to do other things?

Simon

On Fri, Nov 23, 2012 at 10:43 PM, Robert Hailey
wrote:

>
> On 2012/11/23 (Nov), at 3:09 PM, Matthew Toseland wrote:
>
> The reason for this is generating the strings (and GCing them) can use a
> lot of CPU: it's vital that if logging is turned off for that class then it
> not do *anything*. [...] I'd be interested to know if any of the standard
> logging solutions have an answer for this...
>
>
> slf4j includes a special marker where it injects logging arguments, so
> that:
> (1) Object.toString() is not called unless the log line is actually being
> appended, and
> (2) The string building (as you mentioned) is not performed unless the log
> line is actually appended.
>
> The usage is similar to log4j, like this:
>
> log.info("received '{}' from {}", packet, peer);
>
> The cost/benefit trade off is approximately one function call versus
> cleaner code; since it's a facade, you're not pinned to one log facility,
> and I know for a fact that log4j (which is compatible with slf4j) has
> per-class log levels (which you also mentioned).
>
> --
> Robert Hailey
>
>
> ___
> Devl mailing list
> Devl@freenetproject.org
> https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
>
___
Devl mailing list
Devl@freenetproject.org
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Re: [freenet-dev] coding in Freenet

2012-11-23 Thread Robert Hailey

On 2012/11/23 (Nov), at 3:09 PM, Matthew Toseland wrote:

> The reason for this is generating the strings (and GCing them) can use a lot 
> of CPU: it's vital that if logging is turned off for that class then it not 
> do *anything*. [...] I'd be interested to know if any of the standard logging 
> solutions have an answer for this...

slf4j includes a special marker where it injects logging arguments, so that:
(1) Object.toString() is not called unless the log line is actually being 
appended, and
(2) The string building (as you mentioned) is not performed unless the log line 
is actually appended.

The usage is similar to log4j, like this:

log.info("received '{}' from {}", packet, peer);

The cost/benefit trade off is approximately one function call versus cleaner 
code; since it's a facade, you're not pinned to one log facility, and I know 
for a fact that log4j (which is compatible with slf4j) has per-class log levels 
(which you also mentioned).

--
Robert Hailey

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

Re: [freenet-dev] coding in Freenet

2012-11-23 Thread Simon Vocella
ok thanks Matthew for the answers :) Now I understand!

On Fri, Nov 23, 2012 at 10:09 PM, Matthew Toseland <
t...@amphibian.dyndns.org> wrote:

> On Friday 23 Nov 2012 20:47:24 Simon Vocella wrote:
> > Hi all,
> >
> > i have more questions after one my little refactoring:
> >
> > - Why you don't user a log4j or similar project to log?
>
> There's a lot we could move to third party code, it's an ongoing process,
> e.g. we've started work on crypto recently.
>
> Re logging, we have fairly specialised requirements - even if we use a
> standard logging API, we'd probably need our own rotation/compression code,
> and we'd likely need other things too. E.g. we use logging quite a lot and
> have it all in if(class specific boolean) { ... }. The reason for this is
> generating the strings (and GCing them) can use a lot of CPU: it's vital
> that if logging is turned off for that class then it not do *anything*.
> There have been proposals to solve this in various less-ugly ways. Have a
> look at the devl archives if interested. I'd be interested to know if any
> of the standard logging solutions have an answer for this... Also, have a
> look at the config in advanced mode for logging to get an idea of why we'd
> need a custom logfile writer thread.
> >
> > - The idea to use Apache Maven is worth with the guideline of Freenet?
>
> Security issues. Maven doesn't verify checksums/signatures when
> downloading dependencies. And also we have quite a few anonymous
> contributors, so downloading files during the build process is bad.
> >
> > - How can I test? There is a test suite?
>
> There is some junit coverage, the tests run during a normal build ("ant").
> However, most high-level classes don't have unit tests. There are also some
> useful tools in freenet/node/simulator/ which run several nodes inside one
> JVM and have them test various functions. We need more tests. Most changes
> are tested by running a node ...
> >
> > Simon
> >
> > On Thu, Nov 22, 2012 at 9:46 AM, Simon Vocella  wrote:
> >
> > > Hi Matthew! Thanks for the answer!
> > >
> > > I already builded Freenet! Now I'm going to help in some way :)
> > >
> > > Simon
> > >
> > >
> > > On Thu, Nov 22, 2012 at 12:46 AM, Matthew Toseland <
> > > t...@amphibian.dyndns.org> wrote:
> > >
> > >> On Monday 19 Nov 2012 07:55:22 Simon Vocella wrote:
> > >> > Hi Steve,
> > >> >
> > >> > I compiled all from the source, but why bcprov.jar and
> freenet-ext.jar
> > >> is
> > >> > not in lib dir? license problem?
> > >> >
> > >> > And why junit.jar is not in lib dir too?
> > >>
> > >> It's bad form to put jars in git repositories, since it keeps a full
> > >> history. So you have to download it by hand. The ant script will
> fetch it
> > >> for you but that's off by default for security reasons, we have a few
> > >> anonymous developers.
> > >>
> > >> Welcome aboard! Please ask any questions you need answering. You
> should
> > >> be able to find bcprov and freenet-ext.jar, if only from an existing
> > >> Freenet install, but otherwise download bcprov from bouncycastle.org(the
> 1.5 provider) and freenet-ext.jar from
> > >> downloads.freenetproject.org/alpha/
> > >>
> > >
> > >
> >
>
___
Devl mailing list
Devl@freenetproject.org
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Re: [freenet-dev] coding in Freenet

2012-11-23 Thread Matthew Toseland
On Friday 23 Nov 2012 20:47:24 Simon Vocella wrote:
> Hi all,
> 
> i have more questions after one my little refactoring:
> 
> - Why you don't user a log4j or similar project to log?

There's a lot we could move to third party code, it's an ongoing process, e.g. 
we've started work on crypto recently. 

Re logging, we have fairly specialised requirements - even if we use a standard 
logging API, we'd probably need our own rotation/compression code, and we'd 
likely need other things too. E.g. we use logging quite a lot and have it all 
in if(class specific boolean) { ... }. The reason for this is generating the 
strings (and GCing them) can use a lot of CPU: it's vital that if logging is 
turned off for that class then it not do *anything*. There have been proposals 
to solve this in various less-ugly ways. Have a look at the devl archives if 
interested. I'd be interested to know if any of the standard logging solutions 
have an answer for this... Also, have a look at the config in advanced mode for 
logging to get an idea of why we'd need a custom logfile writer thread.
> 
> - The idea to use Apache Maven is worth with the guideline of Freenet?

Security issues. Maven doesn't verify checksums/signatures when downloading 
dependencies. And also we have quite a few anonymous contributors, so 
downloading files during the build process is bad.
> 
> - How can I test? There is a test suite?

There is some junit coverage, the tests run during a normal build ("ant"). 
However, most high-level classes don't have unit tests. There are also some 
useful tools in freenet/node/simulator/ which run several nodes inside one JVM 
and have them test various functions. We need more tests. Most changes are 
tested by running a node ...
> 
> Simon
> 
> On Thu, Nov 22, 2012 at 9:46 AM, Simon Vocella  wrote:
> 
> > Hi Matthew! Thanks for the answer!
> >
> > I already builded Freenet! Now I'm going to help in some way :)
> >
> > Simon
> >
> >
> > On Thu, Nov 22, 2012 at 12:46 AM, Matthew Toseland <
> > t...@amphibian.dyndns.org> wrote:
> >
> >> On Monday 19 Nov 2012 07:55:22 Simon Vocella wrote:
> >> > Hi Steve,
> >> >
> >> > I compiled all from the source, but why bcprov.jar and freenet-ext.jar
> >> is
> >> > not in lib dir? license problem?
> >> >
> >> > And why junit.jar is not in lib dir too?
> >>
> >> It's bad form to put jars in git repositories, since it keeps a full
> >> history. So you have to download it by hand. The ant script will fetch it
> >> for you but that's off by default for security reasons, we have a few
> >> anonymous developers.
> >>
> >> Welcome aboard! Please ask any questions you need answering. You should
> >> be able to find bcprov and freenet-ext.jar, if only from an existing
> >> Freenet install, but otherwise download bcprov from bouncycastle.org(the 
> >> 1.5 provider) and freenet-ext.jar from
> >> downloads.freenetproject.org/alpha/
> >>
> >
> >
> 


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] coding in Freenet

2012-11-23 Thread Simon Vocella
Hi all,

i have more questions after one my little refactoring:

- Why you don't user a log4j or similar project to log?

- The idea to use Apache Maven is worth with the guideline of Freenet?

- How can I test? There is a test suite?

Simon

On Thu, Nov 22, 2012 at 9:46 AM, Simon Vocella  wrote:

> Hi Matthew! Thanks for the answer!
>
> I already builded Freenet! Now I'm going to help in some way :)
>
> Simon
>
>
> On Thu, Nov 22, 2012 at 12:46 AM, Matthew Toseland <
> t...@amphibian.dyndns.org> wrote:
>
>> On Monday 19 Nov 2012 07:55:22 Simon Vocella wrote:
>> > Hi Steve,
>> >
>> > I compiled all from the source, but why bcprov.jar and freenet-ext.jar
>> is
>> > not in lib dir? license problem?
>> >
>> > And why junit.jar is not in lib dir too?
>>
>> It's bad form to put jars in git repositories, since it keeps a full
>> history. So you have to download it by hand. The ant script will fetch it
>> for you but that's off by default for security reasons, we have a few
>> anonymous developers.
>>
>> Welcome aboard! Please ask any questions you need answering. You should
>> be able to find bcprov and freenet-ext.jar, if only from an existing
>> Freenet install, but otherwise download bcprov from bouncycastle.org(the 1.5 
>> provider) and freenet-ext.jar from
>> downloads.freenetproject.org/alpha/
>>
>
>
___
Devl mailing list
Devl@freenetproject.org
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Re: [freenet-dev] coding in Freenet

2012-11-22 Thread Simon Vocella
Hi Matthew! Thanks for the answer!

I already builded Freenet! Now I'm going to help in some way :)

Simon

On Thu, Nov 22, 2012 at 12:46 AM, Matthew Toseland <
t...@amphibian.dyndns.org> wrote:

> On Monday 19 Nov 2012 07:55:22 Simon Vocella wrote:
> > Hi Steve,
> >
> > I compiled all from the source, but why bcprov.jar and freenet-ext.jar is
> > not in lib dir? license problem?
> >
> > And why junit.jar is not in lib dir too?
>
> It's bad form to put jars in git repositories, since it keeps a full
> history. So you have to download it by hand. The ant script will fetch it
> for you but that's off by default for security reasons, we have a few
> anonymous developers.
>
> Welcome aboard! Please ask any questions you need answering. You should be
> able to find bcprov and freenet-ext.jar, if only from an existing Freenet
> install, but otherwise download bcprov from bouncycastle.org (the 1.5
> provider) and freenet-ext.jar from downloads.freenetproject.org/alpha/
>
___
Devl mailing list
Devl@freenetproject.org
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Re: [freenet-dev] coding in Freenet

2012-11-21 Thread Matthew Toseland
On Monday 19 Nov 2012 07:55:22 Simon Vocella wrote:
> Hi Steve,
> 
> I compiled all from the source, but why bcprov.jar and freenet-ext.jar is
> not in lib dir? license problem?
> 
> And why junit.jar is not in lib dir too?

It's bad form to put jars in git repositories, since it keeps a full history. 
So you have to download it by hand. The ant script will fetch it for you but 
that's off by default for security reasons, we have a few anonymous developers.

Welcome aboard! Please ask any questions you need answering. You should be able 
to find bcprov and freenet-ext.jar, if only from an existing Freenet install, 
but otherwise download bcprov from bouncycastle.org (the 1.5 provider) and 
freenet-ext.jar from downloads.freenetproject.org/alpha/


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] coding in Freenet

2012-11-18 Thread Simon Vocella
Hi Steve,

I compiled all from the source, but why bcprov.jar and freenet-ext.jar is
not in lib dir? license problem?

And why junit.jar is not in lib dir too?

Simon

On Sun, Nov 18, 2012 at 11:48 PM, Simon Vocella  wrote:

> Hi Steve,
>
> thanks for the answer! I'll try with some suggestions in GSoC page and bug
> tracker :)
>
> Simon
>
>
> On Sun, Nov 18, 2012 at 5:37 PM, Steve Dougherty wrote:
>
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> On 11/18/2012 11:21 AM, Simon Vocella wrote:
>> > Hi Steve,
>> >
>> > thanks for the answer. I already know how to use github (infact i
>> > have an account: https://github.com/voxsim) and I'm good with java
>> > and ant (I'm good in maven too btw).
>> >
>> > Is there any todo list? or some features to add? Just to became
>> > more confident with the code!
>>
>> The first todo list I can recommend is some small problem with Freenet
>> that's bugging you - that's how I got started with the local directory
>> browser. Secondly there is a bug tracker. [0]
>>
>> The wiki has more complete ideas on the GSoC suggestions page. [1]
>>
>> > Simon
>>
>> [0] https://bugs.freenetproject.org/view_all_bug_page.php
>> [1] https://wiki.freenetproject.org/Google_Summer_of_Code/2012
>> -BEGIN PGP SIGNATURE-
>> Version: GnuPG v1.4.11 (GNU/Linux)
>>
>> iQIcBAEBAgAGBQJQqQ7CAAoJECLJP19KqmFukW4P/3BvkFsOjS7HsFeEaw1NBqJw
>> 1UYXtK1HDC6FGUDEuJhCnSc7/A6+LrIq8xepbBeLz31meT2GkWYWkPXgfH7jPWFP
>> /uPE/zsMFZJ0GN8fD4R0ehvPLPzVz14PrIVCYR3mbW1uMR3/qmW8/6zK5X4J9L9K
>> jBuhJDDhmsLuxmbjsPoIPHticpQ/JkTi56KPBGv+NGrDxrzOFJRXgS3jndKyh0ax
>> 1pGlh6cODqw4c6HT1Kv+sGYsHvgt1qsKRmosmAVlEeSheUONoyeleSWo5f7eA66f
>> w5B8JNWN7VBCZL+ePYLzUJCdetwRgvnkaMaHyJtKVRgJyj2qQoBPHc5dNtj8gvwx
>> IdeT+o30iPLtzjVtw8Bc9iWx+k0bwfOOZgQV7110fMGx0SrKqXvMmRKTEgvjPl8g
>> DLcCdNjguDyeC9lyocQCbNy8DHT+7PTGBC03eRggryqY7qoJV0wuSmYPliqj9i/q
>> GSsqHwQOabFblTyxTXMcir14XOqf3ckXsWtv7zIIM+TekuVs3c3L40zco/uV/gsS
>> moEWUZmnZuyx1JcYCOkOuLNxYbpHzs74VhtPcsYMo1k6UfwpZOdTRkcnN5QJhi6C
>> 4+INHes8dscac2+MQ3LqOz9wNZbSuiF+DCVO4mObDNi4r7BaLEi5FfmEYVKjMuKy
>> lQd8xC0QeaH60EJRx/PN
>> =fOkZ
>> -END PGP SIGNATURE-
>> ___
>> Devl mailing list
>> Devl@freenetproject.org
>> https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
>>
>
>
___
Devl mailing list
Devl@freenetproject.org
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Re: [freenet-dev] coding in Freenet

2012-11-18 Thread Simon Vocella
Hi Steve,

thanks for the answer! I'll try with some suggestions in GSoC page and bug
tracker :)

Simon

On Sun, Nov 18, 2012 at 5:37 PM, Steve Dougherty wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 11/18/2012 11:21 AM, Simon Vocella wrote:
> > Hi Steve,
> >
> > thanks for the answer. I already know how to use github (infact i
> > have an account: https://github.com/voxsim) and I'm good with java
> > and ant (I'm good in maven too btw).
> >
> > Is there any todo list? or some features to add? Just to became
> > more confident with the code!
>
> The first todo list I can recommend is some small problem with Freenet
> that's bugging you - that's how I got started with the local directory
> browser. Secondly there is a bug tracker. [0]
>
> The wiki has more complete ideas on the GSoC suggestions page. [1]
>
> > Simon
>
> [0] https://bugs.freenetproject.org/view_all_bug_page.php
> [1] https://wiki.freenetproject.org/Google_Summer_of_Code/2012
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.11 (GNU/Linux)
>
> iQIcBAEBAgAGBQJQqQ7CAAoJECLJP19KqmFukW4P/3BvkFsOjS7HsFeEaw1NBqJw
> 1UYXtK1HDC6FGUDEuJhCnSc7/A6+LrIq8xepbBeLz31meT2GkWYWkPXgfH7jPWFP
> /uPE/zsMFZJ0GN8fD4R0ehvPLPzVz14PrIVCYR3mbW1uMR3/qmW8/6zK5X4J9L9K
> jBuhJDDhmsLuxmbjsPoIPHticpQ/JkTi56KPBGv+NGrDxrzOFJRXgS3jndKyh0ax
> 1pGlh6cODqw4c6HT1Kv+sGYsHvgt1qsKRmosmAVlEeSheUONoyeleSWo5f7eA66f
> w5B8JNWN7VBCZL+ePYLzUJCdetwRgvnkaMaHyJtKVRgJyj2qQoBPHc5dNtj8gvwx
> IdeT+o30iPLtzjVtw8Bc9iWx+k0bwfOOZgQV7110fMGx0SrKqXvMmRKTEgvjPl8g
> DLcCdNjguDyeC9lyocQCbNy8DHT+7PTGBC03eRggryqY7qoJV0wuSmYPliqj9i/q
> GSsqHwQOabFblTyxTXMcir14XOqf3ckXsWtv7zIIM+TekuVs3c3L40zco/uV/gsS
> moEWUZmnZuyx1JcYCOkOuLNxYbpHzs74VhtPcsYMo1k6UfwpZOdTRkcnN5QJhi6C
> 4+INHes8dscac2+MQ3LqOz9wNZbSuiF+DCVO4mObDNi4r7BaLEi5FfmEYVKjMuKy
> lQd8xC0QeaH60EJRx/PN
> =fOkZ
> -END PGP SIGNATURE-
> ___
> Devl mailing list
> Devl@freenetproject.org
> https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
>
___
Devl mailing list
Devl@freenetproject.org
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Re: [freenet-dev] coding in Freenet

2012-11-18 Thread Steve Dougherty
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/18/2012 11:21 AM, Simon Vocella wrote:
> Hi Steve,
> 
> thanks for the answer. I already know how to use github (infact i
> have an account: https://github.com/voxsim) and I'm good with java
> and ant (I'm good in maven too btw).
> 
> Is there any todo list? or some features to add? Just to became
> more confident with the code!

The first todo list I can recommend is some small problem with Freenet
that's bugging you - that's how I got started with the local directory
browser. Secondly there is a bug tracker. [0]

The wiki has more complete ideas on the GSoC suggestions page. [1]

> Simon

[0] https://bugs.freenetproject.org/view_all_bug_page.php
[1] https://wiki.freenetproject.org/Google_Summer_of_Code/2012
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJQqQ7CAAoJECLJP19KqmFukW4P/3BvkFsOjS7HsFeEaw1NBqJw
1UYXtK1HDC6FGUDEuJhCnSc7/A6+LrIq8xepbBeLz31meT2GkWYWkPXgfH7jPWFP
/uPE/zsMFZJ0GN8fD4R0ehvPLPzVz14PrIVCYR3mbW1uMR3/qmW8/6zK5X4J9L9K
jBuhJDDhmsLuxmbjsPoIPHticpQ/JkTi56KPBGv+NGrDxrzOFJRXgS3jndKyh0ax
1pGlh6cODqw4c6HT1Kv+sGYsHvgt1qsKRmosmAVlEeSheUONoyeleSWo5f7eA66f
w5B8JNWN7VBCZL+ePYLzUJCdetwRgvnkaMaHyJtKVRgJyj2qQoBPHc5dNtj8gvwx
IdeT+o30iPLtzjVtw8Bc9iWx+k0bwfOOZgQV7110fMGx0SrKqXvMmRKTEgvjPl8g
DLcCdNjguDyeC9lyocQCbNy8DHT+7PTGBC03eRggryqY7qoJV0wuSmYPliqj9i/q
GSsqHwQOabFblTyxTXMcir14XOqf3ckXsWtv7zIIM+TekuVs3c3L40zco/uV/gsS
moEWUZmnZuyx1JcYCOkOuLNxYbpHzs74VhtPcsYMo1k6UfwpZOdTRkcnN5QJhi6C
4+INHes8dscac2+MQ3LqOz9wNZbSuiF+DCVO4mObDNi4r7BaLEi5FfmEYVKjMuKy
lQd8xC0QeaH60EJRx/PN
=fOkZ
-END PGP SIGNATURE-
___
Devl mailing list
Devl@freenetproject.org
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl


Re: [freenet-dev] coding in Freenet

2012-11-18 Thread Simon Vocella
Hi Steve,

thanks for the answer. I already know how to use github (infact i have an
account: https://github.com/voxsim) and I'm good with java and ant (I'm
good in maven too btw).

Is there any todo list? or some features to add? Just to became more
confident with the code!

Simon

On Sun, Nov 18, 2012 at 4:03 PM, Steve Dougherty wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 11/18/2012 05:24 AM, Simon Vocella wrote:
> > Hi,
> >
> > i want to subscribe as developer, and in my free time i want help
> > in Freenet, is it possible?
>
> Yes! Freenet and its plugins are free and open source. If you'd like
> to work on Freenet itself, you can find the official GitHub repository
> here. [0] All new development is done on the "next" branch.
>
> > Can i have some guide from someone?
>
> Building Freenet requires the JDK [1] and Apache Ant. [2] Git is very
> useful for managing code and patches but it is not absolutely
> necessary. [3]
>
> To build Freenet copy from a Freenet installation:
> * bcprov-jdk15on-147.jar to lib/bcprov.jar in the source directory.
> * freenet-ext.jar to lib/freenet/freenet-ext.jar in the source directory.
>
> Then to build Freenet run ant. To use the version of Freenet you just
> built copy it over the freenet-stable-latest.jar in an installation of
> Freenet and restart the node.
>
> If you have changes you'd like to submit for inclusion in the official
> version of Freenet, the preferred way to do that is to open a pull
> request to the next branch of the official fred-staging repository on
> GitHub. Alternatively you could email patches to another Freenet
> developer.
>
> > Thanks in advance, Simon
>
> I hope that's helpful! Please ask if anything is unclear or I didn't
> mention something you wanted to know.
>
> Feel free to join us in #freenet on Freenode!
>
> Thanks,
> Steve Dougherty
>
> [0] https://github.com/freenet/fred-staging/
> [1] http://www.oracle.com/technetwork/java/index-jsp-138363.html
> [2] https://ant.apache.org/
> [3] http://git-scm.com/
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.11 (GNU/Linux)
>
> iQIcBAEBAgAGBQJQqPi1AAoJECLJP19KqmFulL0P/j5rGikjvhjowL7dcZRonuQ3
> kTnZxsUR4+F4EyzdzCUuznAR5u1ydjkbKz+yzhoslgDmQSoZmK01A9SlAtxXr8kj
> 1O7n5YAyrCrSa9wpjrFyvybkWy+PjP95xAfByfp+AVi5peY6kVhfXqLbgJ3EniWN
> fuKou8oU7UgfenqG+4VLIqUmrAz7OTnPPcxasIiKpZrAbQjLSQXr8eLXE6IXk+wM
> /FiLzlzs9uQDP8MT/AiXOba3wkWN/7MJVm7eTnbHbi8S1Q43plQN+AzIIBk3mo2Q
> 5cH/sRQgsK+N2bZR0s3aXX92CDHBstcgBW0bvV5oOoKLKNIjAZJyNar9NSVd56Le
> hPnU3H42TLS4KRzycrQWxMsGwxd4G9lwE5sgnyzjjjhiZBr0ZjBl5wiycX0IDOjs
> HRL4iJti7sDpktIJ9CJ6W9vPShOvtx2Gj9bdn0PP1qbH9CzSDua7pY1ZEF4Kgdm0
> Nec/RqcZ0S2b5wEKT/8cPOZu0Vq7pYuBT+QCdCler+TyIdFPleqIi7vNYcCR3zMv
> cqZjzcKNALCMxE266aRv8e2xcJDDUCBTQXojs2OQbaDAFv804sVgnH+ea1Hd5CjK
> MvYq5EoNeycDKC+ripR6kteZz1tVbFZ+ul3vTcg7vJmRjvXPQQd6QvkHKmwn/Xbr
> Bqrz0cbdM0Xi3EQTmvbh
> =RcbI
> -END PGP SIGNATURE-
> ___
> Devl mailing list
> Devl@freenetproject.org
> https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
>
___
Devl mailing list
Devl@freenetproject.org
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Re: [freenet-dev] coding in Freenet

2012-11-18 Thread Steve Dougherty
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/18/2012 05:24 AM, Simon Vocella wrote:
> Hi,
> 
> i want to subscribe as developer, and in my free time i want help
> in Freenet, is it possible?

Yes! Freenet and its plugins are free and open source. If you'd like
to work on Freenet itself, you can find the official GitHub repository
here. [0] All new development is done on the "next" branch.

> Can i have some guide from someone?

Building Freenet requires the JDK [1] and Apache Ant. [2] Git is very
useful for managing code and patches but it is not absolutely
necessary. [3]

To build Freenet copy from a Freenet installation:
* bcprov-jdk15on-147.jar to lib/bcprov.jar in the source directory.
* freenet-ext.jar to lib/freenet/freenet-ext.jar in the source directory.

Then to build Freenet run ant. To use the version of Freenet you just
built copy it over the freenet-stable-latest.jar in an installation of
Freenet and restart the node.

If you have changes you'd like to submit for inclusion in the official
version of Freenet, the preferred way to do that is to open a pull
request to the next branch of the official fred-staging repository on
GitHub. Alternatively you could email patches to another Freenet
developer.

> Thanks in advance, Simon

I hope that's helpful! Please ask if anything is unclear or I didn't
mention something you wanted to know.

Feel free to join us in #freenet on Freenode!

Thanks,
Steve Dougherty

[0] https://github.com/freenet/fred-staging/
[1] http://www.oracle.com/technetwork/java/index-jsp-138363.html
[2] https://ant.apache.org/
[3] http://git-scm.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJQqPi1AAoJECLJP19KqmFulL0P/j5rGikjvhjowL7dcZRonuQ3
kTnZxsUR4+F4EyzdzCUuznAR5u1ydjkbKz+yzhoslgDmQSoZmK01A9SlAtxXr8kj
1O7n5YAyrCrSa9wpjrFyvybkWy+PjP95xAfByfp+AVi5peY6kVhfXqLbgJ3EniWN
fuKou8oU7UgfenqG+4VLIqUmrAz7OTnPPcxasIiKpZrAbQjLSQXr8eLXE6IXk+wM
/FiLzlzs9uQDP8MT/AiXOba3wkWN/7MJVm7eTnbHbi8S1Q43plQN+AzIIBk3mo2Q
5cH/sRQgsK+N2bZR0s3aXX92CDHBstcgBW0bvV5oOoKLKNIjAZJyNar9NSVd56Le
hPnU3H42TLS4KRzycrQWxMsGwxd4G9lwE5sgnyzjjjhiZBr0ZjBl5wiycX0IDOjs
HRL4iJti7sDpktIJ9CJ6W9vPShOvtx2Gj9bdn0PP1qbH9CzSDua7pY1ZEF4Kgdm0
Nec/RqcZ0S2b5wEKT/8cPOZu0Vq7pYuBT+QCdCler+TyIdFPleqIi7vNYcCR3zMv
cqZjzcKNALCMxE266aRv8e2xcJDDUCBTQXojs2OQbaDAFv804sVgnH+ea1Hd5CjK
MvYq5EoNeycDKC+ripR6kteZz1tVbFZ+ul3vTcg7vJmRjvXPQQd6QvkHKmwn/Xbr
Bqrz0cbdM0Xi3EQTmvbh
=RcbI
-END PGP SIGNATURE-
___
Devl mailing list
Devl@freenetproject.org
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl