Re: [CentOS] [OT] stable algorithm with complexity O(n)

2008-12-14 Thread Marko Vojinovic
On Sunday 14 December 2008 03:33, Jerry Franz wrote: > Marko Vojinovic wrote: > [...] > > > Basically, count the number of appearances of every number in your set. > > If you have a set a priori bounded from above and below --- which you do, > > [1, n^2] --- you first allocate an array of integers

[CentOS] regarding vpn server for 1500 clients

2008-12-14 Thread dhaval . thakar
Hi list, I have to build vpn server for 1500 clients. No encryption necessary. can anyone please recommend me vpn server. I do not have experience on vpn. I have tested openvpn on my test setup, & its working fine. I want to check if there any other vpn server available. I have not checked but

Re: [CentOS] [OT] stable algorithm with complexity O(n)

2008-12-14 Thread Nicolas Thierry-Mieg
Jerry Franz wrote: > > Marko Vojinovic wrote: > [...] >> Basically, count the number of appearances of every number in your set. If >> you >> have a set a priori bounded from above and below --- which you do, >> [1, n^2] --- you first allocate an array of integers of length n^2. > > By defin

Re: [CentOS] [OT] stable algorithm with complexity O(n)

2008-12-14 Thread Jerry Franz
Nicolas Thierry-Mieg wrote: > > Jerry Franz wrote: >> Marko Vojinovic wrote: >> [...] >>> Basically, count the number of appearances of every number in your set. If >>> you >>> have a set a priori bounded from above and below --- which you do, >>> [1, n^2] --- you first allocate an array of in

Re: [CentOS] [OT] stable algorithm with complexity O(n)

2008-12-14 Thread Jerry Franz
Marko Vojinovic wrote: > On Sunday 14 December 2008 03:33, Jerry Franz wrote: >> [...] >> By definition, your proposed algorithm is O(n^2), not O(n). >> >> ;) > > Oh, you mean because the upper bound is n^2, right? Sure, of course, this > particular case is O(n^2). Your proposal in your other p

Re: [CentOS] GNOME + Firefox - Mouse froze - what key combination to revive?

2008-12-14 Thread Kai Schaetzl
Lanny Marcus wrote on Sat, 13 Dec 2008 15:56:32 -0500: > I hope > I can remember ALT-SysRq-b to try to reboot the box. try it now. Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS

Re: [CentOS] GNOME + Firefox - Mouse froze - what key combination to revive?

2008-12-14 Thread Lanny Marcus
On Sun, Dec 14, 2008 at 12:31 PM, Kai Schaetzl wrote: > Lanny Marcus wrote on Sat, 13 Dec 2008 15:56:32 -0500: > >> I hope >> I can remember ALT-SysRq-b to try to reboot the box. > > try it now. Kai: Thank you! That was a great idea! It does not work on my box. Possibly it isn't in the Kernel? I

Re: [CentOS] GNOME + Firefox - Mouse froze - what key combination to revive?

2008-12-14 Thread Gordon McLellan
Lanny, Don't forget to enable the featuret... magic sysrq is disabled by default. quoting from http://aplawrence.com/Words2005/2005_04_13.html: "To use it, you need to have it enabled in your kernel (CONFIG_MAGIC_SYSRQ). It usually is; if you have a file called '/proc/sys/kernel/sysrq' you have

Re: [CentOS] [OT] stable algorithm with complexity O(n)

2008-12-14 Thread Nicolas Thierry-Mieg
Jerry Franz wrote: > > Nicolas Thierry-Mieg wrote: >> Jerry Franz wrote: >>> Marko Vojinovic wrote: >>> [...] Basically, count the number of appearances of every number in your set. If you have a set a priori bounded from above and below --- which you do, [1, n^2] --- you f

Re: [CentOS] secure file not updating

2008-12-14 Thread Mike -- EMAIL IGNORED
On Sun, 14 Dec 2008 02:25:17 +, Mike -- EMAIL IGNORED wrote: > Further examination shows numerous log lines that were detected on Dec > 12 by swatch using tail on the secure file but do not presently appear > in the secure file. However, they do appear in the messages file. > > Mike. Here a

[CentOS] CentOS PPC architecture support

2008-12-14 Thread Stewart Williams
I have a system with a PowerPC cpu which I'd like to run CentOS on in a production environment (albeit for a home personal server.) Does anyone know if the CentOS team are actually going to support PPC? I have found a page which states release 4 is in beta[1]. But little else. Is there lack of d

Re: [CentOS] [OT] stable algorithm with complexity O(n)

2008-12-14 Thread David Hláčik
Thank you guys for help and support! My homework is done and waiting for grading. Here it comes - bucket sort with time complexity O(n) == linear complexity #! /usr/bin/python def sort(numbers): "sort n positive integers in O(n) provided that they are all from interval [1, n^2]"

Re: [CentOS] GNOME + Firefox - Mouse froze - what key combination to revive?

2008-12-14 Thread Kai Schaetzl
Lanny Marcus wrote on Sun, 14 Dec 2008 13:44:25 -0500: > It does not work on my box. That's why I suggested it. ;-) > Possibly it isn't in the Kernel? It is, you have to echo "1" > /proc/sys/kernel/sysrq To enable it. Maybe you can put it in one of the sysconfig files, somebody here will k

Re: [CentOS] wine 1.1.10 rpm for centos

2008-12-14 Thread Dag Wieers
On Thu, 11 Dec 2008, Dnk wrote: > Well that is great. On a selfish level, it will make certain things > easier over here! :-) http://packages.sw.be/wine/ or http://apt.sw.be/redhat/el5/en/i386/test/RPMS/ -- -- dag wieers, d...@centos.org, http://dag.wieers.com/ -- [Any errors in spellin

Re: [CentOS] Sync csgfs in centos 4 with current kernel updates

2008-12-14 Thread Aliet Santiesteban Sifontes
Kmods: cman-kernel-2.6.9-55.13.el4_7.5.src.rpm GFS-kernel-2.6.9-80.9.el4_7.5.src.rpm ... http://ftp.redhat.com/pub/redhat/linux/updates/enterprise/4ES/en/RHCS/SRPMS/cman-kernel-2.6.9-55.13.el4_7.5.src.rpm http://ftp.redhat.com/pub/redhat/linux/updates/enterprise/4ES/en/RHGFS/SRPMS/GFS-kernel-2.6.

Re: [CentOS] CentOS PPC architecture support

2008-12-14 Thread Karanbir Singh
Stewart Williams wrote: > I have a system with a PowerPC cpu which I'd like to run CentOS on in a > production environment (albeit for a home personal server.) > > Does anyone know if the CentOS team are actually going to support PPC? yes > I have found a page which states release 4 is in beta[1

Re: [CentOS] CentOS Bug Reporting Policy

2008-12-14 Thread Karanbir Singh
Hywel Richards wrote: > Is there some policy as to what to do and where to report the bug? report it on bugs.centos.org unless you have a RHEL subscription and are able to also reproduce the exact same issue under the exact same conditions, in which case you should report it at bugzilla.redhat.c

Re: [CentOS] wine 1.1.10 rpm for centos

2008-12-14 Thread dnk
On 14-Dec-08, at 4:30 PM, Dag Wieers wrote: > On Thu, 11 Dec 2008, Dnk wrote: > >> Well that is great. On a selfish level, it will make certain things >> easier over here! :-) > > http://packages.sw.be/wine/ > > or > > http://apt.sw.be/redhat/el5/en/i386/test/RPMS/ > > -- > -- dag wieers, d..

Re: [CentOS] secure file not updating

2008-12-14 Thread Filipe Brandenburger
Hi, On Sun, Dec 14, 2008 at 15:26, Mike -- EMAIL IGNORED wrote: > If I do a vi on the secure file and write it from vi, it stops recording. Yes, that's the expected behaviour, because "vi" will actually write a new file and rename it to /var/log/secure, so syslog will no longer be writing to tha

Re: [CentOS] GNOME + Firefox - Mouse froze - what key combination to revive?

2008-12-14 Thread Filipe Brandenburger
Hi, On Sun, Dec 14, 2008 at 16:40, Kai Schaetzl wrote: > echo "1" > /proc/sys/kernel/sysrq > > To enable it. Maybe you can put it in one of the sysconfig files, somebody > here will know :-) To do this on boot, add this line to /etc/sysctl.conf: kernel.sysrq = 1 If you change on the file, you

Re: [CentOS] secure file not updating

2008-12-14 Thread Mike -- EMAIL IGNORED
On Sun, 14 Dec 2008 20:47:36 -0500, Filipe Brandenburger wrote: > Hi, > > On Sun, Dec 14, 2008 at 15:26, Mike -- EMAIL IGNORED > wrote: >> If I do a vi on the secure file and write it from vi, it stops >> recording. > > Yes, that's the expected behaviour, because "vi" will actually write a > ne

Re: [CentOS] GNOME + Firefox - Mouse froze - what key combination to revive?

2008-12-14 Thread Lanny Marcus
On Sun, Dec 14, 2008 at 1:47 PM, Gordon McLellan wrote: > Don't forget to enable the featuret... magic sysrq is disabled by default. > > quoting from http://aplawrence.com/Words2005/2005_04_13.html: > > "To use it, you need to have it enabled in your kernel > (CONFIG_MAGIC_SYSRQ). It usually is;

Re: [CentOS] GNOME + Firefox - Mouse froze - what key combination to revive?

2008-12-14 Thread Lanny Marcus
On Sun, Dec 14, 2008 at 4:40 PM, Kai Schaetzl wrote: > Lanny Marcus wrote on Sun, 14 Dec 2008 13:44:25 -0500: >> It does not work on my box. > That's why I suggested it. ;-) That's why I test my backups, after I make them. I appreciate you suggesting that I test this, so that I knew it wouldn't

Re: [CentOS] GNOME + Firefox - Mouse froze - what key combination to revive?

2008-12-14 Thread Lanny Marcus
On Sun, Dec 14, 2008 at 8:54 PM, Filipe Brandenburger wrote: > On Sun, Dec 14, 2008 at 16:40, Kai Schaetzl wrote: >> echo "1" > /proc/sys/kernel/sysrq >> >> To enable it. Maybe you can put it in one of the sysconfig files, somebody >> here will know :-) > > To do this on boot, add this line to /e

Re: [CentOS] secure file not updating

2008-12-14 Thread Filipe Brandenburger
Hi, On Sun, Dec 14, 2008 at 21:25, Mike -- EMAIL IGNORED wrote: > Very interesting analysis. swatch uses tail -f, or something > that mimics it to watch the file. I would then guess that as > per your explanation, swatch contilues to watch the "old file". Yes, actually using "tail -f" in a ter

Re: [CentOS] Any Alternative for X window System

2008-12-14 Thread karthikeyan subbannan
hi I am using jre 1.6.0_01. Java Application run Using this Jre. bye.. On 12/9/08, Tosh wrote: > > Filipe Brandenburger wrote: > > Hi, > > > > On Mon, Dec 8, 2008 at 00:20, karthikeyan subbannan > > wrote: > >> I have one problem in centos4.4. > > > > You can update to 4.7 and see if that fi