Send Devl mailing list submissions to
devl at freenetproject.org
To subscribe or unsubscribe via the World Wide Web, visit
http://www.uprizer.com/mailman/listinfo/devl
or, via email, send a message with subject or body 'help' to
devl-request at freenetproject.org
You can reach the person managing the list at
devl-admin at freenetproject.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Devl digest..."
Today's Topics:
1. Re: 0.3.7 (Tavin Cole)
2. Freenet Python Lives (Adam Langley)
3. Messages from the Forums (Adam Langley)
4. Re: 0.3.7 - generating .fproxyrc? (Sven Neuhaus)
5. Re: Killing Freenet (Re: [freenet-devl] Aardvark) (Ian Clarke)
6. Re: Please Examine 0.3.7 (Ian Clarke)
7. RE: Please Examine 0.3.7 (Fred Salzer)
8. Re: 0.3.7 (Sebastian Spaeth)
9. Metadata change for 0.4 (Adam Langley)
10. Re: 0.3.7 (Tavin Cole)
11. Re: 0.3.7 (Ruediger Kapitza)
12. Re: libfreenet -- happy my birthday! (Steven Hazel)
13. Re: Metadata change for 0.4 (Tavin Cole)
14. Re: 0.3.7 (Sebastian Spaeth)
--__--__--
Message: 1
Date: Sun, 4 Feb 2001 08:59:05 -0500
From: Tavin Cole <[email protected]>
To: devl at freenetproject.org
Subject: Re: [freenet-devl] 0.3.7
Reply-To: devl at freenetproject.org
On Sun, Feb 04, 2001 at 09:48:53AM +0100, Sebastian Spaeth wrote:
> "Mr.Bad" wrote:
> > One that I can't figure out is how not to clobber existing config
> > files. The .deb doesn't do it, but I don't think we can make a .rpm
> > not do it. One option is to have an install script in the tar file
> > that wouldn't clobber, but I don't think we want to wait on that for
> > 0.3.7.
>
> I could imagine one way without having to use install scripts. We can
> include code in the node, that when loading the params, detects if no
> config file could be found. In case it doesn't it will just call
> "Setup.java .freenetrc silent" and create a default config file on its
> first run. Problem solved, in all environments and all distributions...
>
> We might want to check if the environment is a Windows environment and
> use freenet.ini in this case, but that should be possible in Java (I
> guess).
I think this is a good solution, although the node doesn't really need
to write the config file if all the parameters are defaults.
What was the problem with .rpms? You can't run post-install scripts like
you can with .debs?
As far as the tarball, can't we just have an INSTALL file saying "run
freenet_config before you run freenet_server the first time."
<gripe>
Why does it have to be .freenetrc and .fproxyrc instead of freenet.conf
and fproxy.conf? And what was the point of putting the data in .freenet
instead of store/ or freenet/ or data/ or whatever? I personally find
the dotfiles quite irritating.
</gripe>
--
// Tavin Cole
--__--__--
Message: 2
Date: Sun, 4 Feb 2001 14:25:59 +0000
From: Adam Langley <[email protected]>
To: devl at freenetproject.org
Subject: [freenet-devl] Freenet Python Lives
Reply-To: devl at freenetproject.org
Freenet-Python lives. Well, sort of. I don't know about the old
freenet-python package, but the python interface to wrose is working
at least. It's still (very) early stages, but it's getting gj_jump0 ok
at least.
This is, of course, a balent attempt to get someone interresting in
codeing wrose, other than myself. I think it's History saying "Fat
Chance" in the background ;)
AGL
--
I never let my schooling get in the way of my education.
--__--__--
Message: 3
Date: Sun, 4 Feb 2001 14:43:44 +0000
From: Adam Langley <[email protected]>
To: devl at freenetproject.org
Subject: [freenet-devl] Messages from the Forums
Reply-To: devl at freenetproject.org
--xXmbgvnjoT4axfJE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
I very much doubt that anyone here checks the forums on the SF page,
so here's a round up of messages. If you want to contact the people,
try username at users.sourceforge.net I guess:
--- By: freenet874
=3D=3D=3D Someone (Mr Bad?) needs to contact this person
I've created Freenet native/Java installers for Windows, Linux, and
Solaris, both with and without JVMs included. Plus there's a pure Java
cross platform version that should run just about anyplace that
already has Java. These are Swing based wizards that handle
installation of files, menus, and some basic configuration. They set
up a system to run the server and to use Fproxy as the client
interface.
The 7 installers need a total of 35 Mb, mostly because of the 3 with
JVMs included. Where can I upload them?
--- By: spirokillglance ( Barry Adams )
=3D=3D=3D Asked the author to reformat as text and post to list
AGL
--=20
I never let my schooling get in the way of my education.
--xXmbgvnjoT4axfJE
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAjp9aqAACgkQzaVS3yy2PWASFQCfQrNSC+70GVtdgIMjxl2Gdmof
kVsAniNkoaZZ3oxVWZbrD9Q1N66sZKhi
=giZN
-----END PGP SIGNATURE-----
--xXmbgvnjoT4axfJE--
--__--__--
Message: 4
Date: Sun, 4 Feb 2001 15:46:46 +0100
From: Sven Neuhaus <[email protected]>
To: devl at freenetproject.org
Subject: Re: [freenet-devl] 0.3.7 - generating .fproxyrc?
Organization: Neopoly AG
Reply-To: devl at freenetproject.org
--opJtzjQTFsWo+cga
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hi,
testing 0.3.7 I noticed this missing functionality:=20
After running "java -cp freenet.jar Freenet.scripts.Setup .freenetrc"
the .fproxyrc isn't updated with the freenet server port.
Could this be added to the Setup program?
-Sven
--=20
Real programmers don't bring brown-bag lunches. If the vending machine
doesn't sell it, they don't eat it. Vending machines don't sell quiche.
--opJtzjQTFsWo+cga
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE6fWtW0dX6HkyVvfcRAjYVAJ99Kle1JeiU3n6ydzggwnkV7HIktQCeOeGq
+VimDLRw6x5WGAWWun+VNqM=
=1boe
-----END PGP SIGNATURE-----
--opJtzjQTFsWo+cga--
--__--__--
Message: 5
Date: Sun, 4 Feb 2001 09:50:20 -0800
From: Ian Clarke <[email protected]>
To: devl at freenetproject.org
Subject: Re: Killing Freenet (Re: [freenet-devl] Aardvark)
Reply-To: devl at freenetproject.org
--mxv5cy4qt+RJ9ypb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sun, Feb 04, 2001 at 10:50:37AM +0000, Theodore Hong wrote:
> Ian Clarke <ian at octayne.com> wrote:
> > On Sat, Feb 03, 2001 at 03:15:43AM +0100, Oskar Sandberg wrote:
> > > I'm quite aware of the fact that the network is not working very well=
, and
> > > I'm quite pesimistic about whether it ever will, but there is really =
no
> > > point in being here at all if not operating under the assumption that=
we
> > > will get it to work some time...
> >=20
> > It is annoying, simulations indicate that a network should have about
> > 98% reliability and search-times of under 10 hops.
>=20
> well, but what size network? that makes a big difference. A sweeping
> statement like "98% reliability" doesn't mean much unless you say under
> what conditions.
Perfect network, 30,000 nodes.
Ian.
--mxv5cy4qt+RJ9ypb
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE6fZZcQtgxRWSmsqwRAtgXAJ9MhVNqNxROJkbF0DraD/neo9zBcwCfRHyl
KjGoWViEinwmo9QlNE6+QtQ=
=u2F7
-----END PGP SIGNATURE-----
--mxv5cy4qt+RJ9ypb--
--__--__--
Message: 6
Date: Sun, 4 Feb 2001 09:54:45 -0800
From: Ian Clarke <[email protected]>
To: devl at freenetproject.org
Subject: Re: [freenet-devl] Please Examine 0.3.7
Reply-To: devl at freenetproject.org
--+xNpyl7Qekk2NvDX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sat, Feb 03, 2001 at 06:29:02PM -0800, Mr.Bad wrote:
> >>>>> "SH" =3D=3D Steven Hazel <sah at thalassocracy.org> writes:
>=20
> SH> .jar files are .zips -- you can use PKZIP to unpack them (or
> SH> to create them).
>=20
> Could the default compression be different? I dunno.
I always thought that .jar files were uncompressed .zips.
Ian.
--+xNpyl7Qekk2NvDX
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE6fZdlQtgxRWSmsqwRAohOAJ0ZX4sA9MYFqlp5v3fuFdE52QLAaACfRw1l
fXSbWqXx+c+mVp/m3JLHid4=
=et7/
-----END PGP SIGNATURE-----
--+xNpyl7Qekk2NvDX--
--__--__--
Message: 7
From: "Fred Salzer" <[email protected]>
To: <devl at freenetproject.org>
Subject: RE: [freenet-devl] Please Examine 0.3.7
Date: Sun, 4 Feb 2001 10:02:03 -0800
Reply-To: devl at freenetproject.org
PKzip 4.0 shows the 0.3.7 freenet.jar at 49% compression (over 700K
uncompressed)
Fred
-----Original Message-----
On February 04, 2001 09:55 Ian Clarke wrote:
> SH> .jar files are .zips -- you can use PKZIP to unpack them (or
> SH> to create them).
>
> Could the default compression be different? I dunno.
I always thought that .jar files were uncompressed .zips.
Ian.
--__--__--
Message: 8
Date: Sun, 04 Feb 2001 19:02:59 +0100
From: Sebastian Spaeth <[email protected]>
Organization: University of =?iso-8859-1?Q?Link=F6ping?=
To: devl at freenetproject.org
Subject: Re: [freenet-devl] 0.3.7
Reply-To: devl at freenetproject.org
Tavin Cole wrote:
>
> On Sun, Feb 04, 2001 at 09:48:53AM +0100, Sebastian Spaeth wrote:
> > "Mr.Bad" wrote:
> > > One that I can't figure out is how not to clobber existing config
> > > files. The .deb doesn't do it, but I don't think we can make a .rpm
> > > not do it. One option is to have an install script in the tar file
> > > that wouldn't clobber, but I don't think we want to wait on that for
> > > 0.3.7.
> >
> > I could imagine one way without having to use install scripts. We can
> > include code in the node, that when loading the params, detects if no
> > config file could be found. In case it doesn't it will just call
> > "Setup.java .freenetrc silent" and create a default config file on its
> > first run. Problem solved, in all environments and all distributions...
>
> I think this is a good solution, although the node doesn't really need
> to write the config file if all the parameters are defaults.
I'd prefer this solution as Setup.Java chooses a random port on its
first run and saves it.
So you have to have a config file anyway if you want to run it. The port
is the only reason why we can't ommit the config file when wanting to
use the default values only.
The other reason is that creating a sample config file, even if it only
contains default values is a great help for users wanting to change the
prefs. It is much easier to modify an existing entry DiskCache= than to
look in some documentation (which would be hopelessly outdated in our
case anyway) which pref possibillities exist in the first place.
Sebastian
--__--__--
Message: 9
Date: Sun, 4 Feb 2001 18:19:05 +0000
From: Adam Langley <[email protected]>
To: devl at freenetproject.org
Subject: [freenet-devl] Metadata change for 0.4
Reply-To: devl at freenetproject.org
--CE+1k2dSO48ffgeK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
At the moment some documents have metadata like:
Content-Type=3Dtext/html
End
Whoever coded this should make it so that there is always a command -
following the FNP format:
Metadata
Content-Type=3Dtext/html
End
AGL
--=20
I never let my schooling get in the way of my education.
--CE+1k2dSO48ffgeK
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAjp9nRkACgkQzaVS3yy2PWDC6QCglZWXZpjVWcgWfI0nA0xNRj5e
7+EAn2jlYsLc2LZHhavRPGibgpjWdS8i
=kKy8
-----END PGP SIGNATURE-----
--CE+1k2dSO48ffgeK--
--__--__--
Message: 10
Date: Sun, 4 Feb 2001 13:11:39 -0500
From: Tavin Cole <[email protected]>
To: devl at freenetproject.org
Subject: Re: [freenet-devl] 0.3.7
Reply-To: devl at freenetproject.org
On Sun, Feb 04, 2001 at 07:02:59PM +0100, Sebastian Spaeth wrote:
> > > I could imagine one way without having to use install scripts. We can
> > > include code in the node, that when loading the params, detects if no
> > > config file could be found. In case it doesn't it will just call
> > > "Setup.java .freenetrc silent" and create a default config file on its
> > > first run. Problem solved, in all environments and all distributions...
> >
> > I think this is a good solution, although the node doesn't really need
> > to write the config file if all the parameters are defaults.
>
> I'd prefer this solution as Setup.Java chooses a random port on its
> first run and saves it.
> So you have to have a config file anyway if you want to run it. The port
> is the only reason why we can't ommit the config file when wanting to
> use the default values only.
Ok, this is definitely the way to go then, since randomizing the port
number is important.
On IRC today we've also talked about having Fred write the port number
to $FREENET_DIR/rtv/tcp4_port just like wrose does, so there will be
a standard way for clients to find the listenport regardless of which
node implementation is being used.
These changes might be good for a 0.3.7.1 release.
> The other reason is that creating a sample config file, even if it only
> contains default values is a great help for users wanting to change the
> prefs. It is much easier to modify an existing entry DiskCache= than to
> look in some documentation (which would be hopelessly outdated in our
> case anyway) which pref possibillities exist in the first place.
Agreed.
--
// Tavin Cole
--__--__--
Message: 11
Date: Sun, 4 Feb 2001 11:25:47 +0100 (CET)
From: Ruediger Kapitza <[email protected]>
To: devl at freenetproject.org
Subject: Re: [freenet-devl] 0.3.7
Reply-To: devl at freenetproject.org
On 3 Feb 2001, Mr.Bad wrote:
> >>>>> "MJR" == Mark J Roberts <mjr at statesmean.com> writes:
>
> MJR> I don't see this.
>
> OK, I've got these problems fixed:
>
> - gateway.html not added to the .jar
> - freenet_config not added to tarfile
>
> ...and these should be up shortly.
>
> One that I can't figure out is how not to clobber existing config
> files. The .deb doesn't do it, but I don't think we can make a .rpm
> not do it. One option is to have an install script in the tar file
> that wouldn't clobber, but I don't think we want to wait on that for
> 0.3.7.
I'm not really sure what you mean but it is possible to run the
Setup.class on install of an rpm and generate the configfiles automatic.
If it should be an interactive process I'm not so sure if it makes sense
because for example yast (install tool from SuSe) can't handle such
things.
Ruediger
--__--__--
Message: 12
To: devl at freenetproject.org
Subject: Re: [freenet-devl] libfreenet -- happy my birthday!
From: Steven Hazel <[email protected]>
Date: 04 Feb 2001 12:18:15 -0600
Reply-To: devl at freenetproject.org
Travis Bemann <bemann at bemann.uprizer.com> writes:
> I'll consider it. I haven't done work on nfreenetd in a while (I
> haven't done work on anything in a while - I've been busy and for
> whatever reason I haven't been in the mood to code). However,
> libfreenet might not really work with the internal nfreenetd
> architecture, which is based on one process per connection for both
> incoming and outgoing connections and a messaging architecture where
> the master process which actually controls everything sends commands
> through shared memory based pseudopipes to the other processes and
> the other processes send events and other messages to the master
> process through the same shared memory pseudopipes.
I think libfreenet should be able to work within an architecture like
that. If it can't it's likely something I should change in
libfreenet. And if it's not something I should change in libfreenet,
it's something you shouldn't be doing. :)
-S
--__--__--
Message: 13
Date: Sun, 4 Feb 2001 13:16:00 -0500
From: Tavin Cole <[email protected]>
To: devl at freenetproject.org
Subject: Re: [freenet-devl] Metadata change for 0.4
Reply-To: devl at freenetproject.org
On Sun, Feb 04, 2001 at 06:19:05PM +0000, Adam Langley wrote:
> At the moment some documents have metadata like:
> Content-Type=text/html
> End
>
> Whoever coded this should make it so that there is always a command -
> following the FNP format:
>
> Metadata
> Content-Type=text/html
> End
We should also consider that in the future we may need to put several
independent things in the metadata section, so perhaps the standard
should be:
Header1
Key1.1=Value1.1
Key1.2=Value1.2
...
Header2
Key2.1=Value2.1
Key2.2=Value2.2
...
.
.
HeaderN
KeyN.1=ValueN.1
KeyN.2=ValueN.2
...
End
(or, perhaps with an End after each section).
--
// Tavin Cole
--__--__--
Message: 14
Date: Sun, 04 Feb 2001 19:23:28 +0100
From: Sebastian Spaeth <[email protected]>
Organization: University of =?iso-8859-1?Q?Link=F6ping?=
To: devl at freenetproject.org
Subject: Re: [freenet-devl] 0.3.7
Reply-To: devl at freenetproject.org
Tavin Cole wrote:
> On IRC today we've also talked about having Fred write the port number
> to $FREENET_DIR/rtv/tcp4_port just like wrose does, so there will be
> a standard way for clients to find the listenport regardless of which
> node implementation is being used.
Mmmh, sure if you want to. I personally don't see a need for that.
Can't we just declare "listenPort=" in
$FREENET_DIR/<.freenetrc|freenet.ini> as standard?
But I won't cry if you implement it. (BTW, what does rtv stand for?)
Sebastian
--__--__--
_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://www.uprizer.com/mailman/listinfo/devl
End of Devl Digest