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.java2009-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<Darknet, CircleKey> {
> +
> + 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?
-- next part --
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
URL:
<https://emu.freenetproject.org/pipermail/devl/attachments/20090410/e431b295/attachment.pgp>
Matthew Toseland skrev:
> On Friday 10 April 2009 14:31:01 Zero3 at freenetproject.org wrote:
>> Author: Zero3
>> Date: 2009-04-10 13:31:01 + (Fri, 10 Apr 2009)
>> New Revision: 26707
>>
>> Modified:
>>trunk/apps/wininstaller/src_translationhelper/Include_Lang_Template.inc
>> Log:
>> Fixed
Matthew Toseland skrev:
> On Friday 10 April 2009 13:05:17 Zero3 at freenetproject.org wrote:
>> -If (!ErrorLevel && _OperaInstallDir <> "")
>> -{
>> -_OperaPath = %_OperaInstallDir%\opera.exe
>> -
>> +If (!ErrorLevel && _OperaPath <> "")
>> +{
>> +StringReplace, _OperaPath, _OperaPath,
achment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
URL:
<https://emu.freenetproject.org/pipermail/devl/attachments/20090410/6907469a/attachment.pgp>
Hi,
I did not really follow the discussion about emu and I just heard that you
guys want to get rid of it because nextgens will not administrate it
anymore. I do not know about all sevices of emu but I especially like the
following ones:
- Automatic builds so that the webserver and mirror
ignature
Size: 835 bytes
Desc: This is a digitally signed message part.
URL:
<https://emu.freenetproject.org/pipermail/devl/attachments/20090410/eb781fd7/attachment.pgp>
e it should
> work.
>
> Are there any weeknesses in this scheme (except the possibility that
> the majority of maintainers overlooks some bad code)?
Dunno...
>
> Best wishes,
> Arne
-- next part --
A non-text attachment was scrubbed...
Name: signature.a
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 during the build process?
(No idea how to do that in Windows, but it probably isn't a reason
net uninstaller", "")
> + Trans_Add("Freenet uninstaller error", "")
>
> ; Uninstaller - General
> Trans_Add("Freenet has been uninstalled!", "")
Is this diff backwards? You are removing strings here apparently!
-- next part --
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
URL:
<https://emu.freenetproject.org/pipermail/devl/attachments/20090410/92c55bab/attachment.pgp>
was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
URL:
<https://emu.freenetproject.org/pipermail/devl/attachments/20090410/b89cb547/attachment.pgp>
ature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
URL:
<https://emu.freenetproject.org/pipermail/devl/attachments/20090410/8eb26bdb/attachment.pgp>
ct.org/pipermail/devl/attachments/20090410/59f4ecf7/attachment.pgp>
-- next part --
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
URL:
<https://emu.freenetproject.org/pipermail/devl/attachments/20090410/d745b1af/attachment.pgp>
Size: 835 bytes
Desc: This is a digitally signed message part.
URL:
<https://emu.freenetproject.org/pipermail/devl/attachments/20090410/5f0398df/attachment.pgp>
On Fri, Apr 10, 2009 at 10:12 AM, Matthew Toseland
wrote:
> This has been suggested as a solution to our file hosting problems. IMHO it
> would be worth paying for, especially at these prices. Our current mirror
> network will be problematic to sustain if we don't have emu, and in any case
> it
On Fri, Apr 10, 2009 at 11:38 AM, Matthew Toseland
wrote:
> We will lose this when moving to git anyway. Building Freenet involves running
> unit tests, and running build.xml. We can protect build.xml but we don't want
> to have to protect the unit tests ... so it's just not sensible
>
Don't forget to set up the .gitignore file.
Ian.
On Fri, Apr 10, 2009 at 8:35 AM, Daniel Cheng
wrote:
> Hi all,
>
> I have prepared a sample freenet git repository at
> ? ?http://github.com/j16sdiz/fred/
> please comment.
>
> Things to notes:
>
> ? * ?I have tried
I have introduced an easily comparable version number for plugins via the
FredPluginRealVersioned. I have added this to all the default plugins, the
few plugins that I missed are IMHO not used much (e.g. Librarian), and may
not be versioned at all (ditto).
We have always assumed that this
On Thu, Apr 9, 2009 at 8:57 PM, Matthew Toseland
wrote:
> On Thursday 09 April 2009 11:27:04 Daniel Cheng wrote:
>> On Thu, Apr 9, 2009 at 6:12 AM, Matthew Toseland
>> wrote:
>> > On Wednesday 08 April 2009 16:11:31 Daniel Cheng wrote:
>> >> On Wed, Apr 8, 2009 at 8:26 PM, Matthew Toseland
>> >>
On Thursday 09 April 2009 23:33:28 Matthew Toseland wrote:
I have introduced an easily comparable version number for plugins via the
FredPluginRealVersioned. I have added this to all the default plugins, the
few plugins that I missed are IMHO not used much (e.g. Librarian), and may
not be
Hi all,
I have prepared a sample freenet git repository at
http://github.com/j16sdiz/fred/
please comment.
Things to notes:
* I have tried my best to restore the branch and merging semantics,
if there are anything missing, please tell me so
* All builds are tagged (using a
Don't forget to set up the .gitignore file.
Ian.
On Fri, Apr 10, 2009 at 8:35 AM, Daniel Cheng j16sdiz+free...@gmail.com wrote:
Hi all,
I have prepared a sample freenet git repository at
http://github.com/j16sdiz/fred/
please comment.
Things to notes:
* I have tried my best to
This has been suggested as a solution to our file hosting problems. IMHO it
would be worth paying for, especially at these prices. Our current mirror
network will be problematic to sustain if we don't have emu, and in any case
it isn't very good, although it would be reasonable if we added
On Thursday 09 April 2009 11:19:19 x...@freenetproject.org wrote:
Author: xor
Date: 2009-04-09 10:19:17 + (Thu, 09 Apr 2009)
New Revision: 26673
Modified:
trunk/freenet/src/freenet/support/DoublyLinkedList.java
trunk/freenet/src/freenet/support/DoublyLinkedListImpl.java
Log:
On Friday 10 April 2009 12:15:35 x...@freenetproject.org wrote:
Author: xor
Date: 2009-04-10 11:15:35 + (Fri, 10 Apr 2009)
New Revision: 26700
Modified:
trunk/freenet/src/freenet/support/io/PersistentBlobTempBucketFactory.java
Log:
Add a FIXME for toad, and organize imports while
On Friday 10 April 2009 13:05:17 ze...@freenetproject.org wrote:
Author: Zero3
Date: 2009-04-10 12:05:17 + (Fri, 10 Apr 2009)
New Revision: 26703
Modified:
trunk/apps/wininstaller/src_freenethelpers/FreenetLauncher.ahk
Log:
Improved Opera detection. Changed Chrome launcher code to
On Friday 10 April 2009 14:31:01 ze...@freenetproject.org wrote:
Author: Zero3
Date: 2009-04-10 13:31:01 + (Fri, 10 Apr 2009)
New Revision: 26707
Modified:
trunk/apps/wininstaller/src_translationhelper/Include_Lang_Template.inc
Log:
Fixed remaining Danish strings in template
Hi,
I did not really follow the discussion about emu and I just heard that you
guys want to get rid of it because nextgens will not administrate it
anymore. I do not know about all sevices of emu but I especially like the
following ones:
- Automatic builds so that the webserver and mirror
On Tuesday 07 April 2009 09:24:10 Arne Babenhauserheide wrote:
Am Samstag 04 April 2009 22:50:11 schrieb Matthew Toseland:
Agreed, however we need to be careful as we can be sued for any
code which is copyrighted by somebody else; if we can provide the
would-be litigant with the identity of
On Friday 10 April 2009 17:25:55 xor wrote:
Hi,
I did not really follow the discussion about emu and I just heard that you
guys want to get rid of it because nextgens will not administrate it
anymore. I do not know about all sevices of emu but I especially like the
following ones:
-
On Fri, Apr 10, 2009 at 11:38 AM, Matthew Toseland
t...@amphibian.dyndns.org wrote:
We will lose this when moving to git anyway. Building Freenet involves running
unit tests, and running build.xml. We can protect build.xml but we don't want
to have to protect the unit tests ... so it's just not
On Fri, Apr 10, 2009 at 10:12 AM, Matthew Toseland
t...@amphibian.dyndns.org wrote:
This has been suggested as a solution to our file hosting problems. IMHO it
would be worth paying for, especially at these prices. Our current mirror
network will be problematic to sustain if we don't have emu,
On Friday 10 April 2009 17:54:41 Ian Clarke wrote:
On Fri, Apr 10, 2009 at 11:38 AM, Matthew Toseland
t...@amphibian.dyndns.org wrote:
We will lose this when moving to git anyway. Building Freenet involves
running
unit tests, and running build.xml. We can protect build.xml but we don't
Matthew Toseland skrev:
On Friday 10 April 2009 13:05:17 ze...@freenetproject.org wrote:
-If (!ErrorLevel _OperaInstallDir )
-{
-_OperaPath = %_OperaInstallDir%\opera.exe
-
+If (!ErrorLevel _OperaPath )
+{
+StringReplace, _OperaPath, _OperaPath, , , All
Ek! What
Matthew Toseland skrev:
On Friday 10 April 2009 14:31:01 ze...@freenetproject.org wrote:
Author: Zero3
Date: 2009-04-10 13:31:01 + (Fri, 10 Apr 2009)
New Revision: 26707
Modified:
trunk/apps/wininstaller/src_translationhelper/Include_Lang_Template.inc
Log:
Fixed remaining Danish
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:
trunk/apps/simsalabim/AggregateCommand.java
trunk/apps/simsalabim/BasicDataSpace.java
Matthew Toseland wrote:
Cost is not the issue, admin is the issue.
does this mean you would prefer to keep emu if an admin could be found for it?
in that case, i'll offer. also, i live in manchester out-of-term, so i'd be
able to physically get to it in the case of problems. (i remember reading
37 matches
Mail list logo