[freenet-dev] [freenet-cvs] r26659 - in trunk/apps/wininstaller: . src_freenethelpers src_freenetinstaller src_translationhelper

2009-04-24 Thread Zero3
Not if you want the installer done this year :P. The translation stuff I added is "bare bone"/quite KISS. None of us have all the time in the world, so it is really the good old time vs. gain weighing for me. Long-term it could indeed be ideal to make a .po import function or something like tha

[freenet-dev] CMKs don't work, but there are other options was Re: Easy top block duplication:Content Multiplication Keys

2009-04-24 Thread guido
Am Freitag 24 April 2009 09:50:15 schrieb xor: > > Multiplication Keys > > > > Long CHK keys are ok for me, most important is that they are > > static and all inserts produces the same key. > > I second that. I want the ability to re-insert already inserted files > without changing the URI. As I a

Re: [freenet-dev] Switching to Git

2009-04-24 Thread Juiceman
On Fri, Apr 24, 2009 at 11:13 PM, Matthew Toseland wrote: > The SVN repository is read-only, and I have taken a dump. It will be posted to > Freenet soon and I will announce the location of the file, the gpg signature > etc. We might also put it on the mirrors network, but it is 281MB, so I dunno

[freenet-dev] [freenet-cvs] r25585 - in trunk/apps/simsalabim: . darknet rembre utils

2009-04-24 Thread vive
while ((scom = sc.nextCommand()) != null) { > > + System.err.println("Executing command: " + > > scom); > > + scom.execute(sim); > > + } > > + > > + System.err.println("Simulation ran in: " > > + + (System.currentTimeMillis() - rtime) > > + " ms."); > > + > > + } catch (IOException e) { > > + System.err.println("IO Error reading script: " + e); > > + System.exit(1); > > + return; // for compiler > > + } catch (ScriptException e) { > > + System.err.println("Error in script: " + > > e.getMessage()); > > + System.exit(1); > > + return; // for compiler > > + } > > + > > + out.println(sim.info()); > > + out.println(ds.info()); > > + > > + out.flush(); > > + out.close(); > > + } > > + > > + private static DataSpace createDataSpace(Settings st) { > > + String name = st.get("dsType", "PopularityDataSpace"); > > + if (name.equals("LimitedDataSpace")) { > > + return new LimitedDataSpace(st.getInt("dsMaxDocs", > > 1), st.getInt( > > + "dsMinSize", 1000), > > st.getInt("dsMaxSize", 2000)); > > + /* /* */ > > + > > + } else if (name.equals("PopularityDataSpace")) { > > + return new PopularityDataSpace(st.getInt("dsMaxDocs", > > 1), st > > + .getDouble("dsPopDecay", 1.0), > > + st.getInt("dsMinSize", 1000), > > st.getInt("dsMaxSize", 2000)); > > + } else { > > + throw new SimulationException("DataSpace type " + name > > + + " unknown."); > > + } > > + } > > + > > +} > > > ... > > > Added: trunk/apps/simsalabim/darknet/DarknetNode.java > > === > > --- trunk/apps/simsalabim/darknet/DarknetNode.java > (rev 0) > > +++ trunk/apps/simsalabim/darknet/DarknetNode.java 2009-02-11 13:53:49 UTC > (rev 25585) > > @@ -0,0 +1,323 @@ > > +package simsalabim.darknet; > > +import simsalabim.*; > > +import java.util.*; > > +import simsalabim.utils.*; > > + > > +public class DarknetNode extends Node { > > + > > + protected LRUHash data; > > + > > + protected Person user; > > + > > + protected CircleKey pos; > > + protected LinkedList neighbors; > > + protected LinkedList openNeighbors; > > + final int nOpen; > > + > > + private boolean inNetwork = false; > > + > > + private int numQueries = 0; > > + > > + public DarknetNode(Darknet god, int num, Person user, CircleKey pos, > > + int nOpen) { > > + super(god, num); > > + this.user = user; > > + > > + this.pos = pos; > > + this.nOpen = nOpen; > > + > > + data = new LRUHash(god.STORE_SIZE); > > + neighbors = new LinkedList(); > > + openNeighbors = new LinkedList(); > > + } > > + > > + > > + > > + public DarknetRoute findRoute(CircleKey k, DarknetRoute dnr, > > + int maxNoImprove) { > > + > > + if (!inNetwork) > > + throw new Error("Node not in Network routed to: " + > > this); > > + if (!isActive()) > > + throw new Error("Node that is active routed to: " + > > this); > > + > > + /* > > +* This deviates in two ways from true Freenet routing. Firstly > > I don't > > +* backtrack, which I should, but which adds complication. > > Secondly > > +* Freenet doesn't have a fixed maxSteps, but stops after > > taking x steps > > +* without coming closer to the target value. > > That hasn't been true for a long time. The simulator in darknet/ is a > separate, older simulator? Yes, this is old stuff. -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20090424/e0af6b5a/attachment.pgp>

[freenet-dev] [freenet-cvs] r27277 - trunk/freenet/src/freenet/support

2009-04-24 Thread Daniel Cheng
Florent Daigniere wrote: > j16sdiz at freenetproject.org wrote: >> Author: j16sdiz >> Date: 2009-04-24 03:40:37 + (Fri, 24 Apr 2009) >> New Revision: 27277 >> >> Modified: >>trunk/freenet/src/freenet/support/Buffer.java >>trunk/freenet/src/freenet/support/ShortBuffer.java >> Log: >> Mor

[freenet-dev] Switching to Git

2009-04-24 Thread Matthew Toseland
The SVN repository is read-only, and I have taken a dump. It will be posted to Freenet soon and I will announce the location of the file, the gpg signature etc. We might also put it on the mirrors network, but it is 281MB, so I dunno if this is a good idea. In the meantime, the SHA256 checksum i

[freenet-dev] Git migration

2009-04-24 Thread Ed Tomlinson
On Friday 24 April 2009 11:09:17 Matthew Toseland wrote: > I am migrating the source to github. Apologies for not providing more notice. > SVN is now READ ONLY. What is the url to use to clone/pull this repository TIA Ed

[freenet-dev] Progress page implemented

2009-04-24 Thread freenetw...@web.de
I propose "node" for sure. The thing you are running is a dot in the network; a knot in the freenet; a small protected, hardened pearl, strung to other alikes; "node" just fits perfectly. Also, this "knot"-idea can be visualized very nicely if you want to visualize the connections to other peers wi

[freenet-dev] Our current web interface and its usability

2009-04-24 Thread Arne Babenhauserheide
f free software - http://infinite-hands.draketo.de -- 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/20090424/55bb60a6/attachment.pgp>

Re: [freenet-dev] CMKs don't work, but there are other options was Re: Easy top block duplication: Content Multiplication Keys

2009-04-24 Thread Matthew Toseland
On Friday 24 April 2009 06:40:16 bbac...@googlemail.com wrote: > Long CHK keys are ok for me, most important is that they are static > and all inserts produces the same key. Well, we will still have content types. Although using ?type= is a plausible option. > Will the CHK keys have a fix length

Re: [freenet-dev] Git migration

2009-04-24 Thread Ed Tomlinson
On Friday 24 April 2009 11:09:17 Matthew Toseland wrote: > I am migrating the source to github. Apologies for not providing more notice. > SVN is now READ ONLY. What is the url to use to clone/pull this repository TIA Ed ___ Devl mailing list Devl@free

[freenet-dev] Git migration

2009-04-24 Thread Matthew Toseland
: <https://emu.freenetproject.org/pipermail/devl/attachments/20090424/69d2f6d1/attachment.pgp>

Re: [freenet-dev] Our current web interface and its usability

2009-04-24 Thread Zero3
Ian Clarke skrev: > On Wed, Apr 22, 2009 at 4:05 AM, xor mailto:x...@gmx.li>> wrote: > > We DO NOT need a new web interface. Our current web interface is easy to > use, works well, is sufficient, and it is also easy to write plugins > which > use it - I've worked with it for WoT an

Re: [freenet-dev] [freenet-cvs] r26659 - in trunk/apps/wininstaller: . src_freenethelpers src_freenetinstaller src_translationhelper

2009-04-24 Thread Zero3
Matthew Toseland skrev: > On Friday 10 April 2009 17:17:45 Matthew Toseland wrote: >> I suppose now is not the right time to be complaining about translations in >> code? I guess we can change the build process later on so that they start as >> something like a SimpleFieldSet and get converted du

[freenet-dev] Our current web interface and its usability

2009-04-24 Thread Caco Patane
> It creates a problem in Germany, since we also have a hosting company named > freenet. I've got Google Alerts running on 'freenet' and 90%+ of each day results are from the german ISP/Hosting company, I think we can't do anything about it. =/ I saw that Freenet's website has the verify code of

Re: [freenet-dev] CMKs don't work, but there are other options was Re: Easy top block duplication:Content Multiplication Keys

2009-04-24 Thread guido
Am Freitag 24 April 2009 09:50:15 schrieb xor: > > Multiplication Keys > > > > Long CHK keys are ok for me, most important is that they are > > static and all inserts produces the same key. > > I second that. I want the ability to re-insert already inserted files > without changing the URI. As I a

Re: [freenet-dev] [freenet-cvs] r25585 - in trunk/apps/simsalabim: . darknet rembre utils

2009-04-24 Thread vive
On Fri, Apr 10, 2009 at 09:03:12PM +0100, Matthew Toseland wrote: > On Wednesday 11 February 2009 13:53:50 v...@freenetproject.org wrote: > > Author: vive > > Date: 2009-02-11 13:53:49 + (Wed, 11 Feb 2009) > > New Revision: 25585 > > Added: > > Log: > > simsalabim: Freenet 0.7 simulator > > >

[freenet-dev] Our current web interface and its usability

2009-04-24 Thread Theodore Hong
Matthew Toseland wrote: > On Thursday 23 April 2009 00:05:40 Ian Clarke wrote: >> On Wed, Apr 22, 2009 at 1:17 PM, xor wrote: >> > ?"Node" should really be replaced with "Client" *everywhere* because >> > client is the common word. >> >> Is it? ?When I talk to non-techies about a "client" they th

[freenet-dev] [freenet-cvs] r27277 - trunk/freenet/src/freenet/support

2009-04-24 Thread Florent Daigniere
j16sdiz at freenetproject.org wrote: > Author: j16sdiz > Date: 2009-04-24 03:40:37 + (Fri, 24 Apr 2009) > New Revision: 27277 > > Modified: >trunk/freenet/src/freenet/support/Buffer.java >trunk/freenet/src/freenet/support/ShortBuffer.java > Log: > More errror checking > That's good b

Re: [freenet-dev] Our current web interface and its usability

2009-04-24 Thread Caco Patane
> It creates a problem in Germany, since we also have a hosting company named > freenet. I've got Google Alerts running on 'freenet' and 90%+ of each day results are from the german ISP/Hosting company, I think we can't do anything about it. =/ I saw that Freenet's website has the verify code of

Re: [freenet-dev] Progress page implemented

2009-04-24 Thread freenetw...@web.de
I propose "node" for sure. The thing you are running is a dot in the network; a knot in the freenet; a small protected, hardened pearl, strung to other alikes; "node" just fits perfectly. Also, this "knot"-idea can be visualized very nicely if you want to visualize the connections to other peers wi

[freenet-dev] CMKs don't work, but there are other options was Re: Easy top block duplication:Content Multiplication Keys

2009-04-24 Thread xor
> -Original Message- > From: devl-bounces at freenetproject.org > [mailto:devl-bounces at freenetproject.org] On Behalf Of > bbackde at googlemail.com > Sent: Friday, April 24, 2009 7:40 AM > To: Discussion of development issues > Subject: Re: [freenet-dev] CMKs don't work,but there are

[freenet-dev] Easy top block duplication: ContentMultiplication Keys

2009-04-24 Thread xor
> However, some alternative names to try on... > Reliable Fetch Key RFK > Reliable Hash Key RHK > Multiple Hash Key MHK > Multi-link Key MLK > Matthew's Multiplier Key MMK I vote for: FHK - File Hash Key ... because it is the easiest to explain to newbies :)

Re: [freenet-dev] Our current web interface and its usability

2009-04-24 Thread Arne Babenhauserheide
Am Donnerstag 23 April 2009 22:05:18 schrieb Robert Hailey: > > "The Freenet software running on your computer" is probably what I > > would use to describe what "node" means to non-techy users. > > Couldn't it just use "Your computer is downloading this page from > > Freenet", that's what people w

[freenet-dev] Git migration

2009-04-24 Thread Matthew Toseland
I am migrating the source to github. Apologies for not providing more notice. SVN is now READ ONLY. signature.asc Description: This is a digitally signed message part. ___ Devl mailing list Devl@freenetproject.org http://emu.freenetproject.org/cgi-bin/

[freenet-dev] [freenet-cvs] r27271 - in trunk/freenet/src/freenet/clients/http: . staticfiles staticfiles/js

2009-04-24 Thread Daniel Cheng
2009/4/24 : > Author: sashee > Date: 2009-04-23 20:06:00 + (Thu, 23 Apr 2009) > New Revision: 27271 > > Added: > ? trunk/freenet/src/freenet/clients/http/staticfiles/js/ > ? trunk/freenet/src/freenet/clients/http/staticfiles/js/progresspage.js > Modified: > ? trunk/freenet/src/freenet/clients/

[freenet-dev] [freenet-cvs] r26829 - trunk/freenet/src/freenet/node/fcp

2009-04-24 Thread Daniel Cheng
2009/4/23 Matthew Toseland : > On Wednesday 15 April 2009 07:43:14 j16sdiz at freenetproject.org wrote: >> Author: j16sdiz >> Date: 2009-04-15 06:43:12 + (Wed, 15 Apr 2009) >> New Revision: 26829 >> >> Modified: >> ? ?trunk/freenet/src/freenet/node/fcp/FCPClient.java >> Log: >> revert r26828: r

[freenet-dev] CMKs don't work, but there are other options was Re: Easy top block duplication: Content Multiplication Keys

2009-04-24 Thread bbac...@googlemail.com
Long CHK keys are ok for me, most important is that they are static and all inserts produces the same key. Will the CHK keys have a fix length? On Fri, Apr 24, 2009 at 03:06, Matthew Toseland wrote: > On Thursday 23 April 2009 21:14:01 guido wrote: >> Am Donnerstag 23 April 2009 14:48:43 schrieb

Re: [freenet-dev] [freenet-cvs] r27277 - trunk/freenet/src/freenet/support

2009-04-24 Thread Daniel Cheng
Florent Daigniere wrote: > j16s...@freenetproject.org wrote: >> Author: j16sdiz >> Date: 2009-04-24 03:40:37 + (Fri, 24 Apr 2009) >> New Revision: 27277 >> >> Modified: >>trunk/freenet/src/freenet/support/Buffer.java >>trunk/freenet/src/freenet/support/ShortBuffer.java >> Log: >> More e

Re: [freenet-dev] Our current web interface and its usability

2009-04-24 Thread Theodore Hong
Matthew Toseland wrote: > On Thursday 23 April 2009 00:05:40 Ian Clarke wrote: >> On Wed, Apr 22, 2009 at 1:17 PM, xor wrote: >> >  "Node" should really be replaced with "Client" *everywhere* because >> > client is the common word. >> >> Is it?  When I talk to non-techies about a "client" they th

Re: [freenet-dev] [freenet-cvs] r27277 - trunk/freenet/src/freenet/support

2009-04-24 Thread Florent Daigniere
j16s...@freenetproject.org wrote: > Author: j16sdiz > Date: 2009-04-24 03:40:37 + (Fri, 24 Apr 2009) > New Revision: 27277 > > Modified: >trunk/freenet/src/freenet/support/Buffer.java >trunk/freenet/src/freenet/support/ShortBuffer.java > Log: > More errror checking > That's good but

[freenet-dev] Our current web interface and its usability

2009-04-24 Thread Matthew Toseland
On Friday 24 April 2009 00:44:59 Ian Clarke wrote: > On Thu, Apr 23, 2009 at 10:28 AM, Matthew Toseland > wrote: > >> Is it? ?When I talk to non-techies about a "client" they think I'm referring > >> to the person that employs a lawyer. ?I think the least confusing term to > >> use in this contex

[freenet-dev] CMKs don't work, but there are other options was Re: Easy top block duplication: Content Multiplication Keys

2009-04-24 Thread Matthew Toseland
On Thursday 23 April 2009 21:14:01 guido wrote: > Am Donnerstag 23 April 2009 14:48:43 schrieb Matthew Toseland: > > I would really appreciate input on option 2 i.e. how much of a problem are > > long CHKs? > > If CHK key lengths as they are now are not bad enough to keep people from > using them

[freenet-dev] CMKs don't work, but there are other options was Re: Easy top block duplication: Content Multiplication Keys

2009-04-24 Thread Matthew Toseland
On Thursday 23 April 2009 20:06:13 VolodyA! V Anarhist wrote: > Matthew Toseland wrote: > > I would really appreciate input on option 2 i.e. how much of a problem are > > long CHKs? > > If Long CHKs will become too much of a problem, and people won't mind their > content being spoofed, then people

Re: [freenet-dev] CMKs don't work, but there are other options was Re: Easy top block duplication:Content Multiplication Keys

2009-04-24 Thread xor
> -Original Message- > From: devl-boun...@freenetproject.org > [mailto:devl-boun...@freenetproject.org] On Behalf Of > bbac...@googlemail.com > Sent: Friday, April 24, 2009 7:40 AM > To: Discussion of development issues > Subject: Re: [freenet-dev] CMKs don't work,but there are > othe

Re: [freenet-dev] Easy top block duplication: ContentMultiplication Keys

2009-04-24 Thread xor
> However, some alternative names to try on... > Reliable Fetch Key RFK > Reliable Hash Key RHK > Multiple Hash Key MHK > Multi-link Key MLK > Matthew's Multiplier Key MMK I vote for: FHK - File Hash Key ... because it is the easiest to explain to newbies :) _