Re: [freenet-dev] Fake GPG key attack on a Freenet developer

2016-09-24 Thread Ximin Luo
x...@freenetproject.org: > http://www.draketo.de/english/gnupg-attack > See evil32.com, someone uploaded this to the normal keyservers. Many people are affected. Easy workaround is to add "keyid-format long" to gpg.conf. Longer term workaround is to pressure Werner Koch and the GPG guys to tot

Re: [freenet-dev] Banner must be removed from website NOW

2016-06-25 Thread Ximin Luo
t;> <https://www.irs.gov/charities-non-profits/charitable-organizations/political-and-lobbying-activities>*, >>> i.e.,* it may not attempt to influence legislation as a substantial part >>> of its activities and it may not participate in any campaign activity for >>&g

Re: [freenet-dev] Banner must be removed from website NOW

2016-06-25 Thread Ximin Luo
your website) are perfectly fine. X Michael Grube: > I'm somewhat familiar with 501c3 rules. Ian's correct, it's not legal for > the Freenet project to officially have a political agenda. > > Tor project is probably also in violation. > On Jun 25, 2016 2:57 PM,

Re: [freenet-dev] Banner must be removed from website NOW

2016-06-25 Thread Ximin Luo
Ian Clarke: > Even more seriously, it may put us in violation of US law because we are a > 501c3 > non-profit, which are restricted in the political and lobbying activities they > can participate in while claiming 501c3 status. I don't see the banner now, but I would just like to point out that t

Re: [freenet-dev] Berlin or close resident needed, Fundraising opportunity on May 2-5

2016-05-10 Thread Ximin Luo
x...@freenetproject.org: > I won't make any details public about who is involved, but for now I can say: > - It sounds like the politician does indeed like Freenet and is serious in > thinking about how we could acquire further funds. > - This isn't some random local village politician, we're talk

Re: [freenet-dev] Freenet debian package

2016-01-17 Thread Ximin Luo
On 15/01/16 01:54, x...@freenetproject.org wrote: > Someone mentioned a related tool on IRC: > > This looks usefull for deb packaging and possibly for other > distros as well: > https://www.phoronix.com/scan.php?page=news_item&px=Debian-New-Tool-CME > It's useful in a very minor way that is n

Re: [freenet-dev] Freenet Canary

2015-12-01 Thread Ximin Luo
On 01/12/15 22:59, salutarydiacritica...@ruggedinbox.com wrote: > You picked the one thing agencies have boat loads of and made it a > requirement for operating critical parts of the network and you alienate the > honest users left. [..] Please communicate more clearly. Nobody can understand wha

Re: [freenet-dev] Request for comments: Change list+IRC policy to avoid full rewrite flamewars

2015-11-04 Thread Ximin Luo
On 04/11/15 11:55, Bob Ham wrote: > On Wed, 2015-11-04 at 08:40 +0100, xor wrote: >> we also haven't encountered any unsolvable >> technical goals with how it is. > > Toad says there are fundamental problems with Freenet. Is that not the > case? Please stop posting unconstructive comments like

Re: [freenet-dev] Multiple implementations considered harmful was Re: Project Status

2015-11-03 Thread Ximin Luo
On 03/11/15 15:57, Ian wrote: > It's interesting that you would point to the Hurd as an example of how a > software project should be run, perhaps if they had spent more time on code > and less on documentation, as Linux did, Linux wouldn't have utterly won > that battle. The GNU Hurd is a caution

Re: [freenet-dev] Multiple implementations considered harmful was Re: Project Status

2015-11-02 Thread Ximin Luo
On 02/11/15 23:47, Bob Ham wrote: >> Why do you think TCP still relies on packet loss to signal congestion, >> rather than ECN? Because there are thousands of buggy TCP firewalls >> which drop packets with the ECN bit set, or worse, home routers which >> crash completely when they see it! > > You

Re: [freenet-dev] Freenet debian package

2015-10-31 Thread Ximin Luo
On 29/10/15 09:10, dean wrote: >> I've temporarily disabled the GWT requirement. This is easier to maintain >> than bundling GWT, but in the long run (i.e. to meet Debian policy) we will >> need to: >> >> - package GWT for debian again (very hard), or >> - remove the relevant stuff that requires

Re: [freenet-dev] Freenet debian package

2015-10-28 Thread Ximin Luo
On 28/10/15 10:51, Florent Daigniere wrote: > On Tue, 2015-10-27 at 21:47 +0100, Arne Babenhauserheide wrote: >> Am Sonntag, 25. Oktober 2015, 15:13:06 schrieb Matthew Toseland: >>> I disagree. We should take reasonable steps to avoid breaking >>> unofficial >>> plugins, but we shouldn't let it cri

Re: [freenet-dev] Git push access

2015-10-26 Thread Ximin Luo
On 26/10/15 11:19, Florent Daigniere wrote: > On Sun, 2015-10-25 at 16:09 -0500, Ian Clarke wrote: >> On Sun, Oct 25, 2015 at 7:51 AM, Steve Dougherty >> >> wrote: >>> Ian, Toad and NextGens are the only current admins of the GitHub org, but none of them are very active on the projec

Re: [freenet-dev] Freenet debian package

2015-10-25 Thread Ximin Luo
On 24/10/15 23:44, dean wrote: > On 10/24/15 08:09, Ximin Luo wrote: >> On 23/10/15 00:09, dean wrote: >>> Hi all, >>> >>> I have been hacking on the freenet debian package for a little while and >>> I think I have gotten it up to a usable stage. Id li

[freenet-dev] Git push access

2015-10-25 Thread Ximin Luo
Hi, can I get git push access back on debian.git and contrib.git? I have some updates to make. Also note the teams (as in Github Teams) are now useless since they only provide permissions to *-staging, but those repos have all be renamed away. Ian, Toad and NextGens are the only current admins

Re: [freenet-dev] Freenet debian package

2015-10-24 Thread Ximin Luo
On 25/10/15 00:46, dean wrote: > On 10/25/15 04:08, Ximin Luo wrote: >> On 23/10/15 08:54, dean wrote: >>> On 10/23/15 13:50, Steve Dougherty wrote: >>>> On 10/22/2015 06:09 PM, dean wrote: >>>> * I don't think v29 is preferable to contrib master. ma

Re: [freenet-dev] Freenet debian package

2015-10-24 Thread Ximin Luo
On 23/10/15 08:54, dean wrote: > On 10/23/15 13:50, Steve Dougherty wrote: >> On 10/22/2015 06:09 PM, dean wrote: >> * I don't think v29 is preferable to contrib master. master is split >> into multiple jars, which is better and I'm hoping we can move to it. > > My thoughts on this were: The de

Re: [freenet-dev] Freenet debian package

2015-10-23 Thread Ximin Luo
On 23/10/15 00:09, dean wrote: > Hi all, > > I have been hacking on the freenet debian package for a little while and > I think I have gotten it up to a usable stage. Id like some feedback if > someone would like to browse/test it please? > > https://github.com/RdrOfTheSt0rm/debian > > Here is t

Re: [freenet-dev] Thoughts on removing native acceleration? [cross-post FMS]

2015-09-21 Thread Ximin Luo
On 19/09/15 21:25, Steve Dougherty wrote: > Does anyone have benchmarks that demonstrate native acceleration having > significant performance improvements? Keeping it around makes for > maintenance, and anecdotes suggest native Java performance is > sufficient. If it's no longer a clear benefit to

Re: [freenet-dev] TAILS inclusion by creating .deb package

2014-12-17 Thread Ximin Luo
https://github.com/freenet/debian but it hasn't been updated for a few years. Feel free to try to get it to work again. As far as possible, this tries to follow all of Debian policy. Some things still need to be fixed however. I wish to veto any half-assed Debian package that doesn't follow pol

Re: [freenet-dev] Github administration

2014-07-30 Thread Ximin Luo
+devl@ On 29/07/14 23:03, xor wrote: > (re-sent because mail bounced from infinity0's GMX address) > > On Tuesday, October 22, 2013 11:10:17 AM Ximin Luo wrote: >> +nextgens >> >> Re-reading through the IRC logs from last night apparently there's this: >

Re: [freenet-dev] How to build freenet-ext.jar?

2014-06-18 Thread Ximin Luo
Come on man we all have these moments. The codebase is pretty frustrating to work with tbh. X On 18/06/14 14:51, David Roden wrote: > Hello, > > the really depressing thing is that googling the error message has the > solution in the first result. I sure as hell hope you’re not billing FPI for

Re: [freenet-dev] How to build freenet-ext.jar?

2014-06-18 Thread Ximin Luo
On 18/06/14 13:00, xor wrote: > Hi, > > I need to know how to build the latest official version of freenet-ext.jar: > This will allow me to add some debug-code to db4o which will greatly reduce > the effort I need to invest in debugging a WOT issue. > > I suppose the repository is contrib-offici

Re: [freenet-dev] Bring more users to Freenet

2014-01-04 Thread Ximin Luo
On 04/01/14 18:48, Alexandre Minette wrote: > On 4 January 2014 13:53, Ximin Luo wrote: > >> Not to stomp on your ideas, they are nice - but talk is cheap. >> >> No major work like what you described will end well, without first a >> refactor >> of the co

Re: [freenet-dev] Bring more users to Freenet

2014-01-04 Thread Ximin Luo
Not to stomp on your ideas, they are nice - but talk is cheap. No major work like what you described will end well, without first a refactor of the code. (And if you try to force it, the codebase will end up worse than before.) This is dirty business. See the thread "Freenet at the Circumvention

Re: [freenet-dev] Sponsoring development

2013-12-14 Thread Ximin Luo
+devl@ +tom On 14/12/13 22:32, Matthew Toseland wrote: > On 14/12/13 19:20, Chetan Hosmani wrote: >> Hi >> I worked on the transport plugins framework during GSoC 2012 and continued >> till March 2013. >> The changes involved to the core structure of Fred was so much that I never >> managed to get

Re: [freenet-dev] Wiki server errors

2013-10-30 Thread Ximin Luo
On 30/10/13 22:18, xor wrote: > On Wednesday, October 30, 2013 02:25:31 PM Ximin Luo wrote: >> On 26/10/13 04:43, xor wrote: >>> On Friday, October 25, 2013 11:13:22 AM Ximin Luo wrote: >>>> On 25/10/13 00:45, xor wrote: >>>>> I tried to edit the WO

Re: [freenet-dev] Wiki server errors

2013-10-30 Thread Ximin Luo
On 26/10/13 04:43, xor wrote: > On Friday, October 25, 2013 11:13:22 AM Ximin Luo wrote: >> On 25/10/13 00:45, xor wrote: >>> I tried to edit the WOT development section of the wiki. Some edits >>> worked, >>> but then suddenly I started to receive an empty p

Re: [freenet-dev] Wiki server errors

2013-10-25 Thread Ximin Luo
On 25/10/13 00:45, xor wrote: > I tried to edit the WOT development section of the wiki. Some edits worked, > but then suddenly I started to receive an empty page when trying to store an > edit. > Who is responsible for the administration? Can you please check the server's > error logs? > > UTC

Re: [freenet-dev] How the NSA attacks Tor

2013-10-05 Thread Ximin Luo
Likely because other non-Tor-specific attacks (staining, pwning) that are mentioned, are way easier. They are probably working on it, though. Data centre in Utah, anyone? On 05/10/13 07:20, Jack Singleton wrote: > Interesting that there is no mention of timing attacks... > > You would think wit

Re: [freenet-dev] building freenet

2013-07-15 Thread Ximin Luo
On 15/07/13 23:16, leuchtkaefer wrote: > > Hi guys, > Those who are on IRC chat already now that today I had a lot of problems > trying > to compile freenet from fred-staging (Commit > 100a8d9ebc2af7f3918d9e4c5297e0331597b6ae). > I finally found what was the problem: the file build.properties is

Re: [freenet-dev] Organizing next Freenet meetup/mini-conference: Berlin Sept 29-30

2013-07-09 Thread Ximin Luo
Sept 29-30 is good for me, I will make it. Please keep us updated with details! On 07/07/13 23:47, leuchtkaefer wrote: > > Hey, it will be very interesting to meet people from Freenet project. The > proposed date is at the end of my GSoC period so it is also an opportunity to > evaluate the benef

Re: [freenet-dev] Library entry point and tests

2013-05-27 Thread Ximin Luo
On 27/05/13 13:56, leuchtkaefer wrote: > > > Hello, > I want to simulate the Library functionality. > How can I test the SkeletonBTreeMap? > The documentation doesn't explain and I cannot see any test in the source > code. I checked the tests on fred and Library source. > Is there any other pla

Re: [freenet-dev] questions about Library for my GSoC project

2013-05-21 Thread Ximin Luo
SSK - do you know what that is? The same concept is in Tahoe-LAFS as well. > Regarding what I am trying to achieve. I am looking somehow accelerate the > speed of the search, share bookmarks (specialized in some terms) among a > group of people probably by using PSK maybe some fri

Re: [freenet-dev] questions about Library for my GSoC project

2013-05-21 Thread Ximin Luo
On 20/05/13 22:36, leuchtkaefer wrote: > > > Hi infinity0, > > My proposal to GSoC13 is highly related to your code (Library). > > First, do you have any extra documentation on the code that you think it > could be useful for me to understand the most important parts, such the > SkeletonBTre

Re: [freenet-dev] OCB mode crypto is available for open source use

2013-04-20 Thread Ximin Luo
On 18/04/13 13:08, Matthew Toseland wrote: > On Thursday 18 Apr 2013 07:34:28 Florent Daigniere wrote: >> On Wed, Apr 17, 2013 at 11:59:16PM +0100, Ximin Luo wrote: >>> OCB mode[1] is a CCA-secure[2] mode of encryption which means that it's >>> secure against act

[freenet-dev] OCB mode crypto is available for open source use

2013-04-17 Thread Ximin Luo
OCB mode[1] is a CCA-secure[2] mode of encryption which means that it's secure against active attackers, which pretty much applies to anything on the internet. By contrast, non-authenticated encryption (anything without a MAC, e.g. AES-CBC, AES-CTR) is only CPA-secure[3] and breaks under an acti

Re: [freenet-dev] [freenet-support] GSoC 2013 Freenet Security Project

2013-04-16 Thread Ximin Luo
I would also like to quiz any student going for the crypto proposal and veto anyone that doesn't meet the minimum theoretical requirements. On 15/04/13 15:22, Matthew Toseland wrote: > On Monday 15 Apr 2013 06:23:35 Trung Hieu Nguyen wrote: >> Dear FreeNet, >> >> My name is Nguyen Trung Hieu, 3rd

Re: [freenet-dev] Google Summer of Code 2013

2013-03-02 Thread Ximin Luo
Hey, catch me on IRC some time and let's talk about it. I'll be around Wednesday evening UTC time, probably. I haven't looked at freenet code for ages, and my idea for "events framework and API" was written before I found out about Twisted's Deferred[1]. It's simple and powerful and after using it

Re: [freenet-dev] Google Summer of Code 2013

2013-02-28 Thread Ximin Luo
On 14/02/13 12:42, Matthew Toseland wrote: > Organisations can apply from 18-29 of March. > > We have at least one very enthusiastic student (voxsim) who's been working > with us with a view to participating. However he will need a mentor. I don't > have time to be primary mentor to anyone this

Re: [freenet-dev] Sign your git commits :)

2013-02-17 Thread Ximin Luo
On 17/02/13 04:58, xor wrote: > On Friday, February 15, 2013 10:38:43 AM Ximin Luo wrote: >> Neither of these are mentioned in the Debian man page for git 1.7.10 but >> this website describes its usage: >> http://mikegerwitz.com/docs/git-horror-story.html > > Undocument

[freenet-dev] Sign your git commits :)

2013-02-15 Thread Ximin Luo
(bcc all so as to not spam everyone) I missed this when it was first released, but git now supports signed commits: $ git commit -S You need a passphrase to unlock the secret key for user: "Ximin Luo " 4096-bit RSA key, ID 5FBBDBCE, created 2010-08-03 [master cb4164e] Test 1 file

Re: [freenet-dev] Maven revisited

2013-02-01 Thread Ximin Luo
Agreed; maven is better than our current build scripts in every other respect, but we MUST NOT use it until secure downloads are implemented. On 02/02/13 05:12, Travis Wellman wrote: > How is maven different than ruby gems? > > http://venturebeat.com/2013/01/30/rubygems-org-hacked-interrupting-he

Re: [freenet-dev] Packaging Freenet

2012-12-14 Thread Ximin Luo
On 14/12/12 16:29, Matthew Toseland wrote: > On Friday 14 Dec 2012 15:42:16 xor wrote: >> On Friday, December 14, 2012 11:03:45 AM Ximin Luo wrote: >>> We have debian packaging already, have a look to see how it works. >>> debian-staging repo on github. >> >&

Re: [freenet-dev] Packaging Freenet

2012-12-14 Thread Ximin Luo
We have debian packaging already, have a look to see how it works. debian-staging repo on github. On 14/12/12 01:32, xor wrote: > If I'm correct, there are no Linux package-management packages because > 1) freenet-ext.jar is difficult to package > 2) We release too many builds to continously updat

Re: [freenet-dev] "Impossible" TODO list for Freenet? Don't look impossible any more...

2012-10-12 Thread Ximin Luo
IMO the main problem has, for the longest while, been developer time and code quality. It is a bit chicken-and-egg. If the code quality is poor (which it is at the moment) then developers are less incline to work on it (like me). If there are few developers with time to work, then code quality

[freenet-dev] Still Stuck!

2012-07-09 Thread Ximin Luo
+devl at freenetproject.org Thanks for the update. Does this mean you're working on a patch for fred? If you send a pull request to fred-staging, I'll review it, but since I'm not familiar with that part of fred, in order to make the review process easier, you must structure the commits better tha

[freenet-dev] WebSockets for Progress bar

2012-07-09 Thread Ximin Luo
On 05/07/12 22:42, Pouyan Zaxar wrote: > Hi all! > > this week I have been busy digging various possibilities of using > WebSockets + Wicket to render progress bar while fetching Freenet URIs. > > * Why use websockets? > To be able to push messages to the client without refreshing. > Why is pus

Re: [freenet-dev] Still Stuck!

2012-07-09 Thread Ximin Luo
+devl@freenetproject.org Thanks for the update. Does this mean you're working on a patch for fred? If you send a pull request to fred-staging, I'll review it, but since I'm not familiar with that part of fred, in order to make the review process easier, you must structure the commits better than y

Re: [freenet-dev] WebSockets for Progress bar

2012-07-09 Thread Ximin Luo
On 05/07/12 22:42, Pouyan Zaxar wrote: > Hi all! > > this week I have been busy digging various possibilities of using > WebSockets + Wicket to render progress bar while fetching Freenet URIs. > > * Why use websockets? > To be able to push messages to the client without refreshing. > Why is pus

[freenet-dev] new external Java updater

2012-04-09 Thread Ximin Luo
On 09/04/12 17:51, Ximin Luo wrote: > - verify $TMPDIR using signatures and checksums hard-coded into the updater Er, mis-edit here. I meant the certificate / key should be hard-coded into the updater. The signatures and checksums would obviously be part of the distribution, probably with

[freenet-dev] new external Java updater

2012-04-09 Thread Ximin Luo
On 09/04/12 17:51, Ximin Luo wrote: > (Of course, there needs to be complete sentence: of course, there needs to be additional code to ensure robust behaviour in case the process is interrupted and restarted. -- GPG: 4096R/5FBBDBCE https://github.com/infinity0 https://bitbucket.org/infini

[freenet-dev] new external Java updater

2012-04-09 Thread Ximin Luo
This is one way to allow us to deploy the new split freenet-ext.jar. It's not the simplest way, but it has certain other advantages, described below. ## Rationale Unify existing platform-specific and distribution-specific installers and freenet.jar's updater functionality into a single platform-i

Re: [freenet-dev] new external Java updater

2012-04-09 Thread Ximin Luo
On 09/04/12 17:51, Ximin Luo wrote: > - verify $TMPDIR using signatures and checksums hard-coded into the updater Er, mis-edit here. I meant the certificate / key should be hard-coded into the updater. The signatures and checksums would obviously be part of the distribution, probably with

Re: [freenet-dev] new external Java updater

2012-04-09 Thread Ximin Luo
On 09/04/12 17:51, Ximin Luo wrote: > (Of course, there needs to be complete sentence: of course, there needs to be additional code to ensure robust behaviour in case the process is interrupted and restarted. -- GPG: 4096R/5FBBDBCE https://github.com/infinity0 https://bitbucket.org/infini

[freenet-dev] new external Java updater

2012-04-09 Thread Ximin Luo
This is one way to allow us to deploy the new split freenet-ext.jar. It's not the simplest way, but it has certain other advantages, described below. ## Rationale Unify existing platform-specific and distribution-specific installers and freenet.jar's updater functionality into a single platform-i

[freenet-dev] freenet-ext.jar splitting and updater: minimum requirements

2012-04-07 Thread Ximin Luo
OK, but this information should NOT be inside freenet-ext.jar itself, it should be a separate file that gets distributed to the update directory, that the updater code reads first. I can add such code to contrib-staging soon. A new target in build.xml that creates e.g. freenet-default-install.mf wi

[freenet-dev] freenet-ext.jar splitting and updater: minimum requirements

2012-04-07 Thread Ximin Luo
On 07/04/12 13:35, Ximin Luo wrote: > To summarise, the main data we need to store are > > - files currently used by freenet, to be updated > - bin : /proc/pidof(wrapper)/exe and something similar on windows probably > - lib : lib in wrapper.conf > - jars in wrapper.conf &

[freenet-dev] freenet-ext.jar splitting and updater: minimum requirements

2012-04-07 Thread Ximin Luo
To summarise, the main data we need to store are - files currently used by freenet, to be updated - bin : /proc/pidof(wrapper)/exe and something similar on windows probably - lib : lib in wrapper.conf - jars in wrapper.conf - files needed by new-freenet[1], to be downloaded and added to wrap

Re: [freenet-dev] freenet-ext.jar splitting and updater: minimum requirements

2012-04-07 Thread Ximin Luo
OK, but this information should NOT be inside freenet-ext.jar itself, it should be a separate file that gets distributed to the update directory, that the updater code reads first. I can add such code to contrib-staging soon. A new target in build.xml that creates e.g. freenet-default-install.mf wi

Re: [freenet-dev] freenet-ext.jar splitting and updater: minimum requirements

2012-04-07 Thread Ximin Luo
On 07/04/12 13:35, Ximin Luo wrote: > To summarise, the main data we need to store are > > - files currently used by freenet, to be updated > - bin : /proc/pidof(wrapper)/exe and something similar on windows probably > - lib : lib in wrapper.conf > - jars in wrapper.conf &

Re: [freenet-dev] freenet-ext.jar splitting and updater: minimum requirements

2012-04-07 Thread Ximin Luo
To summarise, the main data we need to store are - files currently used by freenet, to be updated - bin : /proc/pidof(wrapper)/exe and something similar on windows probably - lib : lib in wrapper.conf - jars in wrapper.conf - files needed by new-freenet[1], to be downloaded and added to wrap

[freenet-dev] bigint-gnu-gmp and bigint7

2012-04-05 Thread Ximin Luo
On 05/04/12 19:32, Ximin Luo wrote: > I haven't looked at them for a while, but if I remember right: > > bigint7: benchmark the performance of java 7 biginteger > bigint-gnu-gmp: benchmark the performance of gmp-java's biginteger > > gmp-java is my take on

[freenet-dev] bigint-gnu-gmp and bigint7

2012-04-05 Thread Ximin Luo
I haven't looked at them for a while, but if I remember right: bigint7: benchmark the performance of java 7 biginteger bigint-gnu-gmp: benchmark the performance of gmp-java's biginteger gmp-java is my take on NativeBigInteger: https://github.com/infinity0/mozilla-gnome-keyring it performs bette

Re: [freenet-dev] bigint-gnu-gmp and bigint7

2012-04-05 Thread Ximin Luo
On 05/04/12 19:32, Ximin Luo wrote: > I haven't looked at them for a while, but if I remember right: > > bigint7: benchmark the performance of java 7 biginteger > bigint-gnu-gmp: benchmark the performance of gmp-java's biginteger > > gmp-java is my take on

Re: [freenet-dev] bigint-gnu-gmp and bigint7

2012-04-05 Thread Ximin Luo
I haven't looked at them for a while, but if I remember right: bigint7: benchmark the performance of java 7 biginteger bigint-gnu-gmp: benchmark the performance of gmp-java's biginteger gmp-java is my take on NativeBigInteger: https://github.com/infinity0/mozilla-gnome-keyring it performs bette

[freenet-dev] Can we just put the new wrapper jar on the classpath?

2012-04-03 Thread Ximin Luo
On 03/04/12 19:57, Matthew Toseland wrote: > Nextgens is convinced that many of the problems users have installing on > Windows are due to firewalls blocking the localhost connection between the > wrapper binary and the JVM running Freenet. The usual solution proposed is > to split up freenet-ext.j

Re: [freenet-dev] Can we just put the new wrapper jar on the classpath?

2012-04-03 Thread Ximin Luo
On 03/04/12 19:57, Matthew Toseland wrote: > Nextgens is convinced that many of the problems users have installing on > Windows are due to firewalls blocking the localhost connection between the > wrapper binary and the JVM running Freenet. The usual solution proposed is > to split up freenet-ext.j

[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

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 " 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

[freenet-dev] Logging in Fred

2012-03-24 Thread Ximin Luo
therCode(z); > -printSummary("log only", res[0], "log+work", res[1]); > -printSummary("log only", res[2], "log+work", res[3]); > -printSummary("log only", res[4], "log+work", res[5]); > + > +System.out.printl

[freenet-dev] Logging in Fred

2012-03-24 Thread Ximin Luo
On 24/03/12 02:44, Zlatin Balevsky wrote: > Wrong. Extracting the log statement into its own method and calling > that method inside the while loop still creates garbage. Stack frames > are different. > How do you explain the results obtained from running my test code, then? Turn on -verbose:gc

[freenet-dev] Logging in Fred

2012-03-24 Thread Ximin Luo
could agree to restrict logging calls to be of the form | if (log_level) log.level( |args ... ); which would at least force the complex calculations to be factored out into another method. > On Fri, Mar 23, 2012 at 9:33 PM, Ximin Luo wrote: >> That is because in your example you're al

[freenet-dev] Logging in Fred

2012-03-24 Thread Ximin Luo
Sorry, bad typing. "inside its own" not "inside its only". On 24/03/12 01:33, Ximin Luo wrote: > That is because in your example you're allocating all those new Object()s in > the same stack frame, so the allocator runs out of space on the stack. > > If

[freenet-dev] Logging in Fred

2012-03-24 Thread Ximin Luo
} > } > } > == > > As far as garbage collection times go, they are a function of the > count of live objects and on how easy it is to scan them in parallel > and a whole bunch of other factors. Others can answer better what > values are common for Fred. >

Re: [freenet-dev] Logging in Fred

2012-03-23 Thread Ximin Luo
therCode(z); > -printSummary("log only", res[0], "log+work", res[1]); > -printSummary("log only", res[2], "log+work", res[3]); > -printSummary("log only", res[4], "log+work", res[5]); > + > +System.out.printl

Re: [freenet-dev] Logging in Fred

2012-03-23 Thread Ximin Luo
On 24/03/12 02:44, Zlatin Balevsky wrote: > Wrong. Extracting the log statement into its own method and calling > that method inside the while loop still creates garbage. Stack frames > are different. > How do you explain the results obtained from running my test code, then? Turn on -verbose:gc

Re: [freenet-dev] Logging in Fred

2012-03-23 Thread Ximin Luo
could agree to restrict logging calls to be of the form | if (log_level) log.level( |args ... ); which would at least force the complex calculations to be factored out into another method. > On Fri, Mar 23, 2012 at 9:33 PM, Ximin Luo wrote: >> That is because in your example you're al

Re: [freenet-dev] Logging in Fred

2012-03-23 Thread Ximin Luo
Sorry, bad typing. "inside its own" not "inside its only". On 24/03/12 01:33, Ximin Luo wrote: > That is because in your example you're allocating all those new Object()s in > the same stack frame, so the allocator runs out of space on the stack. > > If

Re: [freenet-dev] Logging in Fred

2012-03-23 Thread Ximin Luo
} > } > } > == > > As far as garbage collection times go, they are a function of the > count of live objects and on how easy it is to scan them in parallel > and a whole bunch of other factors. Others can answer better what > values are common for Fred. >

[freenet-dev] Logging in Fred

2012-03-23 Thread Ximin Luo
efactoring work: ignore them. On 23/03/12 07:58, David ?Bombe? Roden wrote: > Yes, kids, both your penisses are incredibly long. Now shut up and let the > grown-ups do some refactoring. > > > Greetings, > > David > > On 23.03.2012, at 04:47, Ximin Luo

Re: [freenet-dev] Logging in Fred

2012-03-23 Thread Ximin Luo
efactoring work: ignore them. On 23/03/12 07:58, David ‘Bombe’ Roden wrote: > Yes, kids, both your penisses are incredibly long. Now shut up and let the > grown-ups do some refactoring. > > > Greetings, > > David > > On 23.03.2012, at 04:47, Ximin Luo

[freenet-dev] Logging in Fred

2012-03-23 Thread Ximin Luo
that, take your attitude elsewhere. > > On Thu, Mar 22, 2012 at 8:49 PM, Ximin Luo <mailto:infinity0 at gmx.com>> wrote: > > The "drastically cleaner syntax" is a red herring. Most of the time when > you > are doing a complex calculation, you are

[freenet-dev] Logging in Fred

2012-03-23 Thread Ximin Luo
lisecond pauses are not nothing. They may be acceptable right > now but unless you can offer a drastically cleaner syntax Fred should stick > with predicates as they are handled much better by the hotspot jit. > > On Mar 22, 2012 5:36 PM, "Ximin Luo" <mailto:infinity0

[freenet-dev] Logging in Fred

2012-03-22 Thread Ximin Luo
Lazy evaluation is trivial. Log.info("{1} did {2}", new Object(){ public String toString() { return ITEM_1; } }, new Object(){ public String toString() { return ITEM_2; } } ); Garbage collection with short-lived objects costs next to nothing. On 22/03/12 21:15, Zlatin Balevsky wrote: > Const

Re: [freenet-dev] Logging in Fred

2012-03-22 Thread Ximin Luo
that, take your attitude elsewhere. > > On Thu, Mar 22, 2012 at 8:49 PM, Ximin Luo <mailto:infini...@gmx.com>> wrote: > > The "drastically cleaner syntax" is a red herring. Most of the time when > you > are doing a complex calculation, you are not going

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

2012-03-22 Thread Ximin Luo
On 22/03/12 12:00, Matthew Toseland wrote: > On Wednesday 21 Mar 2012 00:30:42 Ximin Luo wrote: >> "Implicit dependency" means that changing some code in one area results in a >> logical error in the other, that is not immediately apparent in the >> documentatio

Re: [freenet-dev] Logging in Fred

2012-03-22 Thread Ximin Luo
lisecond pauses are not nothing. They may be acceptable right > now but unless you can offer a drastically cleaner syntax Fred should stick > with predicates as they are handled much better by the hotspot jit. > > On Mar 22, 2012 5:36 PM, "Ximin Luo" <mailto:infini...@gmx.

Re: [freenet-dev] Logging in Fred

2012-03-22 Thread Ximin Luo
Lazy evaluation is trivial. Log.info("{1} did {2}", new Object(){ public String toString() { return ITEM_1; } }, new Object(){ public String toString() { return ITEM_2; } } ); Garbage collection with short-lived objects costs next to nothing. On 22/03/12 21:15, Zlatin Balevsky wrote: > Const

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

2012-03-22 Thread Ximin Luo
On 22/03/12 12:00, Matthew Toseland wrote: > On Wednesday 21 Mar 2012 00:30:42 Ximin Luo wrote: >> "Implicit dependency" means that changing some code in one area results in a >> logical error in the other, that is not immediately apparent in the >> documentatio

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

2012-03-21 Thread Ximin Luo
s a mechanism to read this information, and probably update that as well. X On 20/03/12 23:18, Matthew Toseland wrote: > On Monday 19 Mar 2012 01:52:19 Ximin Luo wrote: >> On 16/03/12 18:13, Matthew Toseland wrote: >>> On Thursday 15 Mar 2012 21:02:26 Ximin Luo wrote: >>>

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

2012-03-20 Thread Ximin Luo
s a mechanism to read this information, and probably update that as well. X On 20/03/12 23:18, Matthew Toseland wrote: > On Monday 19 Mar 2012 01:52:19 Ximin Luo wrote: >> On 16/03/12 18:13, Matthew Toseland wrote: >>> On Thursday 15 Mar 2012 21:02:26 Ximin Luo wrote: >>>

[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] 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

[freenet-dev] (no subject)

2012-03-19 Thread Ximin Luo
d by Apache. > > On 03/18/2012 10:04 PM, Ximin Luo wrote: >> I wasn't aware any previous method used javascript, but we >> implemented a non-javascript method quite recently that checks the >> client browser's Accept-Language HTTP headers. Have a look at >>

[freenet-dev] (no subject)

2012-03-19 Thread Ximin Luo
I wasn't aware any previous method used javascript, but we implemented a non-javascript method quite recently that checks the client browser's Accept-Language HTTP headers. Have a look at Steve's thread (in this same mailing list) titled "Spanish Translation Deployment Complete". There is JS on th

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

2012-03-19 Thread Ximin Luo
On 16/03/12 18:13, Matthew Toseland wrote: > On Thursday 15 Mar 2012 21:02:26 Ximin Luo wrote: >> (Top-posting because previous post is too long to reply to in-line.) >> >> ## refactoring >> >> Refactoring the code helps to make it more understandable for other

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

2012-03-19 Thread Ximin Luo
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 t

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

2012-03-19 Thread Ximin Luo
e locked on specific build numbers. Why? > I haven't had time to update the submodule pointers to the latest commits and verify that the package still works. Does this answer your question? > On 16-03-2012 17:51, Ximin Luo wrote: >> We already have a layout that adheres to the FHS,

[freenet-dev] (no subject)

2012-03-19 Thread Ximin Luo
On 19/03/12 00:41, Leah Hicks wrote: > As far as I'm aware wordpress is the most secure content management system > there is, ie there's no way really for anybody to successfully use an SQL > injection. There are vulnerabilities in certain plugins, but as far as I know > not wordpress itself. I was

  1   2   3   4   5   6   >