[freenet-dev] Freenet has been accepted in Google Summer of Code 2012!

2012-03-19 Thread Ximin Luo
ps://bitbucket.org/infinity0 https://launchpad.net/~infinity0 -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 900 bytes Desc: OpenPGP digital signature URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20120319/75bd590f/attachment.pgp>

[freenet-dev] Website Redesign?

2012-03-19 Thread Matthew Toseland
t. URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20120319/f141c441/attachment.pgp>

[freenet-dev] Coding standards

2012-03-19 Thread Matthew Toseland
t attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20120319/62d67e7f/attachment.pgp>

[freenet-dev] Logging in Fred

2012-03-19 Thread Marco Schulze
How often does what happen? On 19-03-2012 20:21, Martin Nyhus wrote: > On Monday 19. March 2012 22:56:42 Marco Schulze wrote: >> Synchronization is the reason every thread should wait. If the log is >> always flushed and fred crashes, you know exactly where the last good >> checkpoint was before t

[freenet-dev] Logging in Fred

2012-03-19 Thread Marco Schulze
g list > Devl at freenetproject.org <mailto:Devl at freenetproject.org> > https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl > > > > > ___ > Devl mailing list > Devl at freenetproject.org > https://emu.freenetproject.org/

[freenet-dev] Logging in Fred

2012-03-19 Thread Matthew Toseland
lots of threads and stuff happening over seconds. > > >> Currently, the log format is '\t'. > > We need the timestamp, in a great many cases. > In my todo list. Which object keeps track of uptime? You can get it from Node IIRC? Not sure offhand. But have a look at the current code, in FileLoggerHook.java. No doubt it can be tidied up but it does at least meet all our requirements. -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20120319/fdbe4962/attachment.pgp>

[freenet-dev] Logging in Fred

2012-03-19 Thread Marco Schulze
On 19-03-2012 18:56, Marco Schulze wrote: > On 19-03-2012 16:42, Matthew Toseland wrote: >> PrintWriter (System.err) busy-loops. :( It is probably possible to >> get the underlying OutputStream though. > Will take a look at it. From what I found after a quick googling, full disk errors do throw a

[freenet-dev] Coding standards

2012-03-19 Thread Evan Daniel
Exactly. We already had this discussion and came to an agreement. New code should follow it. Patches to fix old code would be welcome :) Evan On Mon, Mar 19, 2012 at 7:12 PM, Steve Dougherty wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I'm all for it. The coding standard is rathe

[freenet-dev] Coding standards

2012-03-19 Thread Marco Schulze
ject.org/cgi-bin/mailman/listinfo/devl -- next part -- An HTML attachment was scrubbed... URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20120319/1a9b87ab/attachment.html>

[freenet-dev] Coding standards

2012-03-19 Thread Steve Dougherty
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm all for it. The coding standard is rather clear on indenting with tabs, so I guess all that would be required is a run with a re-indenting/code style conformance tool. That's something for a janitor tree, and would ideally be timed between releases

[freenet-dev] Logging in Fred

2012-03-19 Thread Marco Schulze
On 19-03-2012 16:42, Matthew Toseland wrote: > No it doesn't. We need to be able to filter *by class name*, not just > globally. I agree that in theory the if(logMINOR) is optional if the message > is static though; I guess the JVM is fast enough that this won't cost us any > cycles? > > However

[freenet-dev] Website Redesign?

2012-03-19 Thread Leah Hicks
ent was scrubbed... URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20120319/a4d7e3a7/attachment.html>

Re: [freenet-dev] Freenet has been accepted in Google Summer of Code 2012!

2012-03-19 Thread Ximin Luo
Hi guys, I've added some of my ideas to the GSoC page. I think someone should take some time to add more information to the other ideas. ATM they are walls of text that don't have much structure, which new students will probably have trouble parsing into a project plan. I suggest each "project id

Re: [freenet-dev] Logging in Fred

2012-03-19 Thread Marco Schulze
How often does what happen? On 19-03-2012 20:21, Martin Nyhus wrote: On Monday 19. March 2012 22:56:42 Marco Schulze wrote: Synchronization is the reason every thread should wait. If the log is always flushed and fred crashes, you know exactly where the last good checkpoint was before the crash

Re: [freenet-dev] Logging in Fred

2012-03-19 Thread Martin Nyhus
On Monday 19. March 2012 22:56:42 Marco Schulze wrote: > Synchronization is the reason every thread should wait. If the log is > always flushed and fred crashes, you know exactly where the last good > checkpoint was before the crash. If the log is buffered (or > asynchronous), the thread may be mil

Re: [freenet-dev] Logging in Fred

2012-03-19 Thread Marco Schulze
Never worked with aspects. Could you provide some snippets? On 19-03-2012 09:52, Nicolas Hernandez wrote: Hello, It is really difficult to have a complete log system working. One solution is to use aspects. Is this a good idea ? - Nicolas Hernandez a-n - aleph-networks /associé/ http://www.

Re: [freenet-dev] Coding standards

2012-03-19 Thread Evan Daniel
Exactly. We already had this discussion and came to an agreement. New code should follow it. Patches to fix old code would be welcome :) Evan On Mon, Mar 19, 2012 at 7:12 PM, Steve Dougherty wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I'm all for it. The coding standard is rathe

Re: [freenet-dev] Coding standards

2012-03-19 Thread Steve Dougherty
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm all for it. The coding standard is rather clear on indenting with tabs, so I guess all that would be required is a run with a re-indenting/code style conformance tool. That's something for a janitor tree, and would ideally be timed between releases

Re: [freenet-dev] Logging in Fred

2012-03-19 Thread Marco Schulze
On 19-03-2012 18:56, Marco Schulze wrote: On 19-03-2012 16:42, Matthew Toseland wrote: PrintWriter (System.err) busy-loops. :( It is probably possible to get the underlying OutputStream though. Will take a look at it. From what I found after a quick googling, full disk errors do throw an IOExc

Re: [freenet-dev] Website Redesign?

2012-03-19 Thread Leah Hicks
For Windows XP IE 8 is the latest version. Windows 2000 can go up to IE 7. On Mon, Mar 19, 2012 at 5:12 PM, Matthew Toseland wrote: > On Monday 19 Mar 2012 09:20:06 Nicolas Hernandez wrote: > > Sometimes, the 2.7% of users could represents 80% of Freenet users :-) > > > > Imagine that in some co

Re: [freenet-dev] Coding standards

2012-03-19 Thread Marco Schulze
May I add a vote to standardise indentation? This mess of spaces with tabs really bugs me. On 19-03-2012 19:06, Matthew Toseland wrote: On Monday 19 Mar 2012 07:42:00 David 'Bombe' Roden wrote: On 18.03.2012, at 19:37, Steve Dougherty wrote: Is this what you're looking for? http://new-wiki.

Re: [freenet-dev] Website Redesign?

2012-03-19 Thread Matthew Toseland
On Monday 19 Mar 2012 09:20:06 Nicolas Hernandez wrote: > Sometimes, the 2.7% of users could represents 80% of Freenet users :-) > > Imagine that in some countries (*stan and lots of arabish/farsi langages > countries) they are using the defaut OS and Browser (XP+IE7). This is not > lots of people

Re: [freenet-dev] Coding standards

2012-03-19 Thread Matthew Toseland
On Monday 19 Mar 2012 07:42:00 David ‘Bombe’ Roden wrote: > On 18.03.2012, at 19:37, Steve Dougherty wrote: > > > Is this what you're looking for? > > > > http://new-wiki.freenetproject.org/Coding_standards > > In light of 3ef15c7701d666f7661cd9b58b41ae525ef32569, does toad know about > these?

Re: [freenet-dev] Logging in Fred

2012-03-19 Thread Marco Schulze
On 19-03-2012 16:42, Matthew Toseland wrote: No it doesn't. We need to be able to filter *by class name*, not just globally. I agree that in theory the if(logMINOR) is optional if the message is static though; I guess the JVM is fast enough that this won't cost us any cycles? However, the mini

[freenet-dev] Logging in Fred

2012-03-19 Thread Nicolas Hernandez
tproject.org > https://emu.freenetproject.**org/cgi-bin/mailman/listinfo/**devl<https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl> > -- next part -- An HTML attachment was scrubbed... URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20120319/d4c3be46/attachment.html>

Re: [freenet-dev] Logging in Fred

2012-03-19 Thread Matthew Toseland
On Monday 19 Mar 2012 12:17:51 Marco Schulze wrote: > On 18-03-2012 21:50, Matthew Toseland wrote: > > On Sunday 18 Mar 2012 23:40:44 Marco Schulze wrote: > >> One thing has been bothering me: those 'if (logMINOR) Logger.minor(...', > >> and the mess that logging is inside fred. I've written a very

[freenet-dev] (no subject)

2012-03-19 Thread Florent Daigniere
It can be done differently but not using cookies :) Anyways, that's only required if you want to change from the language you configured your browser to use... not a big deal imo. Florent On Mon, Mar 19, 2012 at 02:33:02AM +, Ximin Luo wrote: > Oh, right. Well if all it does is set cookies

[freenet-dev] Website Redesign?

2012-03-19 Thread Nicolas Hernandez
roject.org/cgi-bin/mailman/listinfo/devl >> > > > > -- > -- *Leah Hicks* > * > * > http://kori-designs.com > *http://kanjidaisuki.com* > > > ___ > Devl mailing list > Devl at freenetproject.org > https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl > -- next part -- An HTML attachment was scrubbed... URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20120319/10b2b338/attachment.html>

[freenet-dev] Refactoring Freenet and Library was Re: Gun.IO and Freenet

2012-03-19 Thread Marco Schulze
miscellaneous persistent files. >>>>> /var/cache/fred/plugins: plugins directory trees. >>>>> /var/log: logs. >>>>> /var/log/old/fred: compressed old logs (do you really need those?). >>>>> >>>>> Plus, distribution specific scripts to control the daemon (run.sh-ish). >>>>> ___ >>>>> 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 >>> >>> ___ >>> Devl mailing list >>> Devl at freenetproject.org >>> http://freenetproject.org/cgi-bin/mailman/listinfo/devl >> >> >> >> ___ >> Devl mailing list >> Devl at freenetproject.org >> https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl > > > > ___ > Devl mailing list > Devl at freenetproject.org > https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl -- next part -- An HTML attachment was scrubbed... URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20120319/ea15d6b6/attachment.html>

[freenet-dev] Refactoring Freenet and Library was Re: Gun.IO and Freenet

2012-03-19 Thread Marco Schulze
On 18-03-2012 21:57, Matthew Toseland wrote: > On Friday 16 Mar 2012 20:38:46 Marco Schulze wrote: >> On 16-03-2012 15:13, Matthew Toseland wrote: >>> Updating its own binaries is incompatible with the standard unix way >>> of doing things, isn't it? Even if it's not technically a violation of >>>

[freenet-dev] Logging in Fred

2012-03-19 Thread Marco Schulze
; > ___ > Devl mailing list > Devl at freenetproject.org > https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl -- next part -- An HTML attachment was scrubbed... URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20120319/2d9ab660/attachment.html>

[freenet-dev] Coding standards

2012-03-19 Thread David ‘Bombe’ Roden
On 18.03.2012, at 19:37, Steve Dougherty wrote: > Is this what you're looking for? > > http://new-wiki.freenetproject.org/Coding_standards In light of 3ef15c7701d666f7661cd9b58b41ae525ef32569, does toad know about these? Greetings, David

Re: [freenet-dev] Refactoring Freenet and Library was Re: Gun.IO and Freenet

2012-03-19 Thread Marco Schulze
On 18-03-2012 22:11, Ximin Luo wrote: On 19/03/12 01:09, Ximin Luo wrote: On 16/03/12 23:09, Marco Schulze wrote: Well, the obvious question is 'why?'. Using /opt + /usr/bin scripts + service scripts seems to be good enough. Either way, fred .jar paths are configurable, the jars themselves sho

Re: [freenet-dev] Logging in Fred

2012-03-19 Thread Nicolas Hernandez
Hello, It is really difficult to have a complete log system working. One solution is to use aspects. Is this a good idea ? - Nicolas Hernandez a-n - aleph-networks *associé* http://www.aleph-networks.com On Mon, Mar 19, 2012 at 12:40 AM, Marco Schulze wrote: > One thing has been bothering m

Re: [freenet-dev] Refactoring Freenet and Library was Re: Gun.IO and Freenet

2012-03-19 Thread Marco Schulze
On 18-03-2012 21:57, Matthew Toseland wrote: On Friday 16 Mar 2012 20:38:46 Marco Schulze wrote: On 16-03-2012 15:13, Matthew Toseland wrote: Updating its own binaries is incompatible with the standard unix way of doing things, isn't it? Even if it's not technically a violation of FHS? I'd jus

Re: [freenet-dev] Logging in Fred

2012-03-19 Thread Marco Schulze
On 18-03-2012 21:50, Matthew Toseland wrote: On Sunday 18 Mar 2012 23:40:44 Marco Schulze wrote: One thing has been bothering me: those 'if (logMINOR) Logger.minor(...', and the mess that logging is inside fred. I've written a very simple replacement for Logger + associated classes with the foll

Re: [freenet-dev] (no subject)

2012-03-19 Thread Florent Daigniere
It can be done differently but not using cookies :) Anyways, that's only required if you want to change from the language you configured your browser to use... not a big deal imo. Florent On Mon, Mar 19, 2012 at 02:33:02AM +, Ximin Luo wrote: > Oh, right. Well if all it does is set cookies

[freenet-dev] (no subject)

2012-03-19 Thread Ximin Luo
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 Type: application/pgp-signature Size: 900 bytes Desc: OpenPGP digital signature URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20120319/b147626d/attachment.pgp>

Re: [freenet-dev] Website Redesign?

2012-03-19 Thread Nicolas Hernandez
Sometimes, the 2.7% of users could represents 80% of Freenet users :-) Imagine that in some countries (*stan and lots of arabish/farsi langages countries) they are using the defaut OS and Browser (XP+IE7). This is not lots of people, but they needs help. For information Rgds - Nicolas Hernandez

[freenet-dev] (no subject)

2012-03-19 Thread Ximin Luo
ame: signature.asc Type: application/pgp-signature Size: 900 bytes Desc: OpenPGP digital signature URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20120319/8189e481/attachment.pgp>

[freenet-dev] Refactoring Freenet and Library was Re: Gun.IO and Freenet

2012-03-19 Thread Ximin Luo
de whereas .hgrc does.) >> >> Updating its own binaries is not a problem if freenet knows where the >> binaries >> are. The current installer puts them in a rigid place, however this is >> incompatible with FHS. > > A rigid place? I don't follow. If you are doing FHS you are using a package; > the installer is never going to comply with FHS as, apart from anything else, > it shouldn't be run as root! > The updater (UpdateDeployContext) makes some very specific assumptions as to the locations of the jars, and this method doesn't generalise to non-jar files. It also assumes wrapper.conf is in the current directory. > Updating its own binaries is incompatible with the standard unix way of doing > things, isn't it? Even if it's not technically a violation of FHS? > > > > ___ > Devl mailing list > Devl at freenetproject.org > http://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 Type: application/pgp-signature Size: 900 bytes Desc: OpenPGP digital signature URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20120319/2cfc71e5/attachment.pgp>

[freenet-dev] Logging in Fred

2012-03-19 Thread Matthew Toseland
of debugging logging, it is often necessary to include request UID's. -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. URL: <https://emu.freenetproje

[freenet-dev] Spanish Translation Deployment Complete

2012-03-19 Thread Matthew Toseland
nt was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20120319/2a7521c5/attachment.pgp>

[freenet-dev] Refactoring Freenet and Library was Re: Gun.IO and Freenet

2012-03-19 Thread Ximin Luo
__ >>>> 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 >> >> >> ___ >> Devl mailing list >> Devl at freenetproject.org >> http://freenetproject.org/cgi-bin/mailman/listinfo/devl > > > > > ___ > 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 Type: application/pgp-signature Size: 900 bytes Desc: OpenPGP digital signature URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20120319/fc7bd95e/attachment.pgp>

[freenet-dev] Refactoring Freenet and Library was Re: Gun.IO and Freenet

2012-03-19 Thread Ximin Luo
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 > > > ___ > Devl mailing list > Devl at freenetproject.org > http://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 Type: application/pgp-signature Size: 900 bytes Desc: OpenPGP digital signature URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20120319/da883b28/attachment.pgp>

[freenet-dev] Website Redesign?

2012-03-19 Thread Matthew Toseland
URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20120319/a7540ebb/attachment.pgp>

[freenet-dev] (no subject)

2012-03-19 Thread Ximin Luo
gnature Size: 900 bytes Desc: OpenPGP digital signature URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20120319/4b28f683/attachment.pgp>

[freenet-dev] Refactoring Freenet and Library was Re: Gun.IO and Freenet

2012-03-19 Thread Matthew Toseland
xt attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20120319/a9b0d0f2/attachment.pgp>

[freenet-dev] OSGi

2012-03-19 Thread Matthew Toseland
rt -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20120319/d178a716/attachment.pgp>

[freenet-dev] Logging in Fred

2012-03-19 Thread Matthew Toseland
ible to do something radically simpler". > > Currently, the log format is '\t'. We need the timestamp, in a great many cases. -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc:

Re: [freenet-dev] Coding standards

2012-03-19 Thread David ‘Bombe’ Roden
On 18.03.2012, at 19:37, Steve Dougherty wrote: > Is this what you're looking for? > > http://new-wiki.freenetproject.org/Coding_standards In light of 3ef15c7701d666f7661cd9b58b41ae525ef32569, does toad know about these? Greetings, David __

[freenet-dev] (no subject)

2012-03-19 Thread Ximin Luo
- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 900 bytes Desc: OpenPGP digital signature URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20120319/068fc286/attachment.pgp>