[freenet-dev] New Website Layout
Hi folks, I've done a new layout for our website. It isn't just prettier but also cleans up the mess which was done when looking at the old layout with a browser window narrower than 700 pixel. I tested it in Firefox (2 & 3), Opera, IE, Safari and Konqueror, but all of them only in the newest version, it's not seriously broken in any of them. Almost all browsers do have a problem with http://freenetproject.org/documentation.html though, there the menu is quite long and there's not much content, which causes the menu to stick out of the body element (it's just an aesthetical problem, no content is unreadable or inaccessible because of this). As always the IE is the exception, it widens the body element so the menu fits in, but it has other problems: it uses microsofts broken box model therefore the page doesn't look the same way as in the other browsers (but it's not ugly, we could do a CSS hack to fix it, but I don't think we need that) and the picture with the mug (which leads to the freenet shop) isn't centred. Please test the new design in your favourite browsers and let me know if there are some problems. Neo at NHNG -- Follow the blue rabbit - The Freenet Project - http://freenetproject.org/ -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20080502/63e5b2b5/attachment.pgp>
[freenet-dev] New Website Layout
Nice, a few bits of feedback: I'm not sure about the various images in the menu now (the cup, and Hackontext), they look a bit messy with their white backgrounds. I think we may have too much line-spacing between the sub-menu items - the menu can get *very* long sometimes. I'm not sure about the main content wrapping around the menu to the left, I understand this makes better use of available space, but it seems a bit weird - most websites don't make their content wrap around menus. Oh, we need to get rid of the sourceforge logo now that (I believe) we've completely migrated away from sourceforge's hosting. Ian. On Fri, May 2, 2008 at 3:49 PM, Michael T?nzer wrote: > Hi folks, > > I've done a new layout for our website. It isn't just prettier but also > cleans up the mess which was done when looking at the old layout with a > browser window narrower than 700 pixel. > I tested it in Firefox (2 & 3), Opera, IE, Safari and Konqueror, but all > of them only in the newest version, it's not seriously broken in any of > them. Almost all browsers do have a problem with > http://freenetproject.org/documentation.html though, there the menu is > quite long and there's not much content, which causes the menu to stick > out of the body element (it's just an aesthetical problem, no content is > unreadable or inaccessible because of this). As always the IE is the > exception, it widens the body element so the menu fits in, but it has > other problems: it uses microsofts broken box model therefore the page > doesn't look the same way as in the other browsers (but it's not ugly, > we could do a CSS hack to fix it, but I don't think we need that) and > the picture with the mug (which leads to the freenet shop) isn't centred. > > Please test the new design in your favourite browsers and let me know if > there are some problems. > > Neo at NHNG > > -- > Follow the blue rabbit - The Freenet Project - http://freenetproject.org/ > > > ___ > Devl mailing list > Devl at freenetproject.org > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl > -- Email: ian at uprizer.com Cell: +1 512 422 3588 Skype: sanity
[freenet-dev] [freenet-cvs] r19671 - trunk/website
* NEOatNHNG at freenetproject.org [2008-05-01 23:57:31]: > Author: NEOatNHNG > Date: 2008-05-01 23:57:31 + (Thu, 01 May 2008) > New Revision: 19671 > > Modified: >trunk/website/style.css > Log: > Another little adjustment > The website looks broken from here now... The text is broken up and left-aligned right after the menu items. -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20080502/21ac953a/attachment.pgp>
[freenet-dev] r19683 - trunk/freenet/src/freenet/store
On May 2, 2008, at 9:59 AM, j16sdiz at freenetproject.org wrote: > Author: j16sdiz > Date: 2008-05-02 14:59:50 + (Fri, 02 May 2008) > New Revision: 19683 > > Modified: > trunk/freenet/src/freenet/store/BerkeleyDBFreenetStore.java > Log: > oomhook: lower database cache size > > > Modified: trunk/freenet/src/freenet/store/BerkeleyDBFreenetStore.java > === > --- trunk/freenet/src/freenet/store/BerkeleyDBFreenetStore.java > 2008-05-02 14:59:29 UTC (rev 19682) > +++ trunk/freenet/src/freenet/store/BerkeleyDBFreenetStore.java > 2008-05-02 14:59:50 UTC (rev 19683) > @@ -25,6 +25,7 @@ > import com.sleepycat.je.DatabaseNotFoundException; > import com.sleepycat.je.Environment; > import com.sleepycat.je.EnvironmentConfig; > +import com.sleepycat.je.EnvironmentMutableConfig; > import com.sleepycat.je.LockMode; > import com.sleepycat.je.OperationStatus; > import com.sleepycat.je.RunRecoveryException; > @@ -2247,6 +2248,11 @@ > keysFC.force(true); > if (lruFC != null) > lruFC.force(true); > + > + EnvironmentMutableConfig dbmc = environment.getMutableConfig(); > + long cacheSize = (long) (dbmc.getCacheSize() * .9); // we have > 6 > databases, 0.9^6 = 0.53 > + dbmc.setCacheSize(cacheSize); > + Logger.normal(this, "low memory, set db cache = " + cacheSize); > } > What is the significance of 0.9^6=0.53? It seems to me if you are trying to half the memory usage, all the caches would have to be reduced by 0.5; otherwise the comment could be made a bit more clear. -- Robert Hailey -- next part -- An HTML attachment was scrubbed... URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20080502/175c561d/attachment.html>
[freenet-dev] [freenet-cvs] r19643 - in trunk/apps/new_installer: . res/unix/bin
* toad at freenetproject.org [2008-05-01 13:47:49]: > Author: toad > Date: 2008-05-01 13:47:49 + (Thu, 01 May 2008) > New Revision: 19643 > > Added: >trunk/apps/new_installer/res/unix/bin/install_autostart.sh > Modified: >trunk/apps/new_installer/ProcessPanel.Spec.xml >trunk/apps/new_installer/install.xml > Log: > Auto-start on reboot on unix. > Currently we use a cron job. This will work on non-root, and doesn't require > the LSB-utils to be installed (they usually aren't). > However, we should make the script detect if it's run as root and the LSB > utils exist, and if so, use the useradd and install_initd scripts. > Added: trunk/apps/new_installer/res/unix/bin/install_autostart.sh > === > --- trunk/apps/new_installer/res/unix/bin/install_autostart.sh > (rev 0) > +++ trunk/apps/new_installer/res/unix/bin/install_autostart.sh > 2008-05-01 13:47:49 UTC (rev 19643) > @@ -0,0 +1,31 @@ > +#!/bin/sh > + > +. "$HOME/_install_toSource.sh" > +cd "$INSTALL_PATH" > + > +# FIXME if we are running as root, and they are installed use the LSB > utilities, with crontab as a fallback. > +# See here: > +# > http://refspecs.linux-foundation.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/initsrcinstrm.html > +# > http://refspecs.linux-foundation.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/useradd.html > +if test -e autostart.install > +then > + echo "Enabling auto-start." > + if test -x `which crontab` > + then > + echo "Installing cron job to start Freenet on reboot..." > + rm -f crontab.tmp > + crontab -l > crontab.tmp > + echo "@reboot \"$INSTALL_PATH/run.sh\" start" >> crontab.tmp > + if crontab crontab.tmp > + then > + echo Installed cron job. > + else > + echo Could not install cron job, you will have to run > run.sh start manually to start Freenet after a reboot. > + fi > + rm crontab.tmp > + else > + echo Cron appears not to be installed, you will have to run > run.sh start manually to start Freenet after a reboot. > + fi > +else > + echo Auto-start is disabled, you will have to run run.sh start manually > to start Freenet after a reboot. > +fi Three things here: 1) Cron is going to send an mail to the user with the output of the crontab entry... in our case we don't want that to happen. You should either silent the output redirecting stdout and stderr or create a special parameter for handling cron in run.sh 2) You shouldn't use a "static" temporary filename (use $$ or $RANDOM). If you need to you can even use autostart.install itself ;) 3) You don't delete autostart.install, do you ? A side note : what about adding a comment you could grep for in the cron entry? That would be much cleaner than grepping for the whole line and would allow us to change the parameters of run.sh if needed ;) -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20080502/18954287/attachment.pgp>
[freenet-dev] From FMS: Why I2P and Tor suck for anonymous web content
Re: bad PR for freenet on Slashdot From: redbull at efWjUA~iOGl7afilkLeYJvWwGX7~GrDoZQd0qUYSfZ0 Date: Friday 02 May 2008 01:04:54 Groups: freenet Followup-To: freenet References: 1 2 3 frogger at lY4SBJ0hg2L7moUkJq~uXc56BjQD5r6b~~WCHTBC4Wg wrote: > At Sat, 26 Apr 2008 20:51:38 + starobrno wrote: > >> Why is this bad PR? If all pedos suddenly left Freenet i would be very >> worried. I mean, it is supposed to protect people from being executed by >> evil dictators. >> If Freenet couldn't even protect the anonymity of people who like to >> look at naked children it would not be really bad. > > It hurts the spread of Freenet. Many people are not willing to run a node > because of this... content. > > So it's bad for Freenet. > IMHO the reason that content is on Freenet is exactly because Freenet achieves higher degree of publisher anonymity and is easier to use than I2P/Tor, at least for static content. I experimented with servers on i2p (eepsites) and Tor (.onion) in the past. Setting up such a server is far more complex than inserting a freesite and publisher anonymity is far lower. Why ? 1) You need to run a webserver somewhere 24x7 if you want your site to be usable ==> need for a server 2) Extra Software. Only i2p brings a minimalistic built-in web server, for tor you have to run your own web server. 3) Avoiding identity leaks by web server software is complex. apache, php, phpbb developers never considered identity leaks a security problem! in anonymous network it *is*, and a benign error message could easily disclose the web server location. This is a very real problem. Recently, someone started an anonymous I2P site... well, it was supposed to be anonymous but one script on his server could load a file from external URL... I think you guess the rest ;) you could read the story here http://forum.i2p2.de/viewtopic.php?t=2574 The only way I can think of to prevent identity leaks completely is to run a web server box (real or virtualized) in a DMZ with no internet connectivity. Something like this: ---[internet]---[gateway box I2P/Tor]-->[Firewall]-->[Anonymous server] Firewall should allow only connections from I2P box to the Anonymous server, but not vice versa. This way anonymous server itself can't find out where it is, but this takes significant effort. And even _then_, my server was a kind of experimental box and didn't have any real content on it. But if I would be one of those guys with illegal content, I personally would be afraid to serve it via this box, because there is Murphy law and something could go wrong ;) Now, compare all this complexity and risks with Freenet, where someone could just insert files from his laptop, delete the files, and go offline. -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20080502/0570d511/attachment.pgp>
Re: [freenet-dev] r19683 - trunk/freenet/src/freenet/store
On May 2, 2008, at 9:59 AM, [EMAIL PROTECTED] wrote: Author: j16sdiz Date: 2008-05-02 14:59:50 + (Fri, 02 May 2008) New Revision: 19683 Modified: trunk/freenet/src/freenet/store/BerkeleyDBFreenetStore.java Log: oomhook: lower database cache size Modified: trunk/freenet/src/freenet/store/BerkeleyDBFreenetStore.java === --- trunk/freenet/src/freenet/store/BerkeleyDBFreenetStore.java 2008-05-02 14:59:29 UTC (rev 19682) +++ trunk/freenet/src/freenet/store/BerkeleyDBFreenetStore.java 2008-05-02 14:59:50 UTC (rev 19683) @@ -25,6 +25,7 @@ import com.sleepycat.je.DatabaseNotFoundException; import com.sleepycat.je.Environment; import com.sleepycat.je.EnvironmentConfig; +import com.sleepycat.je.EnvironmentMutableConfig; import com.sleepycat.je.LockMode; import com.sleepycat.je.OperationStatus; import com.sleepycat.je.RunRecoveryException; @@ -2247,6 +2248,11 @@ keysFC.force(true); if (lruFC != null) lruFC.force(true); + + EnvironmentMutableConfig dbmc = environment.getMutableConfig(); + long cacheSize = (long) (dbmc.getCacheSize() * .9); // we have 6 databases, 0.9^6 = 0.53 + dbmc.setCacheSize(cacheSize); + Logger.normal(this, low memory, set db cache = + cacheSize); } What is the significance of 0.9^6=0.53? It seems to me if you are trying to half the memory usage, all the caches would have to be reduced by 0.5; otherwise the comment could be made a bit more clear. -- Robert Hailey ___ Devl mailing list Devl@freenetproject.org http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
Re: [freenet-dev] r19683 - trunk/freenet/src/freenet/store
On Fri, May 2, 2008 at 11:24 PM, Robert Hailey [EMAIL PROTECTED] wrote: On May 2, 2008, at 9:59 AM, [EMAIL PROTECTED] wrote: Author: j16sdiz Date: 2008-05-02 14:59:50 + (Fri, 02 May 2008) New Revision: 19683 Modified: trunk/freenet/src/freenet/store/BerkeleyDBFreenetStore.java Log: oomhook: lower database cache size Modified: trunk/freenet/src/freenet/store/BerkeleyDBFreenetStore.java === --- trunk/freenet/src/freenet/store/BerkeleyDBFreenetStore.java 2008-05-02 14:59:29 UTC (rev 19682) +++ trunk/freenet/src/freenet/store/BerkeleyDBFreenetStore.java 2008-05-02 14:59:50 UTC (rev 19683) @@ -25,6 +25,7 @@ import com.sleepycat.je.DatabaseNotFoundException; import com.sleepycat.je.Environment; import com.sleepycat.je.EnvironmentConfig; +import com.sleepycat.je.EnvironmentMutableConfig; import com.sleepycat.je.LockMode; import com.sleepycat.je.OperationStatus; import com.sleepycat.je.RunRecoveryException; @@ -2247,6 +2248,11 @@ keysFC.force(true); if (lruFC != null) lruFC.force(true); + + EnvironmentMutableConfig dbmc = environment.getMutableConfig(); + long cacheSize = (long) (dbmc.getCacheSize() * .9); // we have 6 databases, 0.9^6 = 0.53 + dbmc.setCacheSize(cacheSize); + Logger.normal(this, low memory, set db cache = + cacheSize); } What is the significance of 0.9^6=0.53? It seems to me if you are trying to half the memory usage, all the caches would have to be reduced by 0.5; otherwise the comment could be made a bit more clear. Yes, I am trying to half the memory cache. This cache is global, setting to 90% 6 times give 53% of original size. -- Robert Hailey ___ Devl mailing list Devl@freenetproject.org http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
[freenet-dev] New Website Layout
Hi folks, I've done a new layout for our website. It isn't just prettier but also cleans up the mess which was done when looking at the old layout with a browser window narrower than 700 pixel. I tested it in Firefox (2 3), Opera, IE, Safari and Konqueror, but all of them only in the newest version, it's not seriously broken in any of them. Almost all browsers do have a problem with http://freenetproject.org/documentation.html though, there the menu is quite long and there's not much content, which causes the menu to stick out of the body element (it's just an aesthetical problem, no content is unreadable or inaccessible because of this). As always the IE is the exception, it widens the body element so the menu fits in, but it has other problems: it uses microsofts broken box model therefore the page doesn't look the same way as in the other browsers (but it's not ugly, we could do a CSS hack to fix it, but I don't think we need that) and the picture with the mug (which leads to the freenet shop) isn't centred. Please test the new design in your favourite browsers and let me know if there are some problems. [EMAIL PROTECTED] -- Follow the blue rabbit - The Freenet Project - http://freenetproject.org/ signature.asc Description: OpenPGP digital signature ___ Devl mailing list Devl@freenetproject.org http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
Re: [freenet-dev] New Website Layout
Nice, a few bits of feedback: I'm not sure about the various images in the menu now (the cup, and Hackontext), they look a bit messy with their white backgrounds. I think we may have too much line-spacing between the sub-menu items - the menu can get *very* long sometimes. I'm not sure about the main content wrapping around the menu to the left, I understand this makes better use of available space, but it seems a bit weird - most websites don't make their content wrap around menus. Oh, we need to get rid of the sourceforge logo now that (I believe) we've completely migrated away from sourceforge's hosting. Ian. On Fri, May 2, 2008 at 3:49 PM, Michael Tänzer [EMAIL PROTECTED] wrote: Hi folks, I've done a new layout for our website. It isn't just prettier but also cleans up the mess which was done when looking at the old layout with a browser window narrower than 700 pixel. I tested it in Firefox (2 3), Opera, IE, Safari and Konqueror, but all of them only in the newest version, it's not seriously broken in any of them. Almost all browsers do have a problem with http://freenetproject.org/documentation.html though, there the menu is quite long and there's not much content, which causes the menu to stick out of the body element (it's just an aesthetical problem, no content is unreadable or inaccessible because of this). As always the IE is the exception, it widens the body element so the menu fits in, but it has other problems: it uses microsofts broken box model therefore the page doesn't look the same way as in the other browsers (but it's not ugly, we could do a CSS hack to fix it, but I don't think we need that) and the picture with the mug (which leads to the freenet shop) isn't centred. Please test the new design in your favourite browsers and let me know if there are some problems. [EMAIL PROTECTED] -- Follow the blue rabbit - The Freenet Project - http://freenetproject.org/ ___ Devl mailing list Devl@freenetproject.org http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl -- Email: [EMAIL PROTECTED] Cell: +1 512 422 3588 Skype: sanity ___ Devl mailing list Devl@freenetproject.org http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl