Re: Need help with Latex error; Sorry VERY LONG

2011-11-24 Thread John W. Foster
On Thu, 2011-11-24 at 15:26 -0800, Emanoil Kotsev wrote: > > > So you run the command manually from the command line and get this > error correct ? > > Yes > > http://lalashan.mcmaster.ca/theobio/projectsoes - does this has something to > do with you? > > No, this was in the borrowed source

Re: Need help with Latex error; Sorry LONG

2011-11-24 Thread deloptes
John W. Foster wrote: > On Wed, 2011-11-23 at 09:42 -0600, John W. Foster wrote: >> On Wed, 2011-11-23 at 00:21 +0100, deloptes wrote: >> > John W. Foster wrote: >> > >> > > /usr/share/perl5/LaTeXML/texmf >> > >> > you need to setup the environment correctly, so that texmf finds the >> > package

Re: Need help with Latex error; Sorry LONG

2011-11-23 Thread John W. Foster
On Wed, 2011-11-23 at 09:42 -0600, John W. Foster wrote: > On Wed, 2011-11-23 at 00:21 +0100, deloptes wrote: > > John W. Foster wrote: > > > > > /usr/share/perl5/LaTeXML/texmf > > > > you need to setup the environment correctly, so that texmf finds the package > > > > i.e. using the variable

Re: Need help with Latex error; Sorry LONG

2011-11-23 Thread John W. Foster
On Wed, 2011-11-23 at 00:21 +0100, deloptes wrote: > John W. Foster wrote: > > > /usr/share/perl5/LaTeXML/texmf > > you need to setup the environment correctly, so that texmf finds the package > > i.e. using the variable TEXINPUTS or so > > regards > > Yep, I figured that out from reading o

Re: Need help with Latex error; Sorry LONG

2011-11-22 Thread deloptes
John W. Foster wrote: > /usr/share/perl5/LaTeXML/texmf you need to setup the environment correctly, so that texmf finds the package i.e. using the variable TEXINPUTS or so regards -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Cont

Re: Need help with Latex error; Sorry LONG

2011-11-22 Thread John W. Foster
On Tue, 2011-11-22 at 11:28 +, Raf Czlonka wrote: > On Tue, Nov 22, 2011 at 03:29:35AM GMT, John W. Foster wrote: > > > See LaTeXMLFyOem3/ltxmlimg.log > ^^ > > > Since this is a straight forward setup from debian stable, I'm wondering > > why latex can not

Re: Need help with Latex error; Sorry LONG

2011-11-22 Thread Raf Czlonka
On Tue, Nov 22, 2011 at 03:29:35AM GMT, John W. Foster wrote: > > See LaTeXMLFyOem3/ltxmlimg.log ^^ > Since this is a straight forward setup from debian stable, I'm wondering why > latex can not find the file it needs. Is this a bug, maybe? Have you had a look i

Re: need help with Iceweasel.

2011-07-13 Thread Francesco Scaglione
On Wednesday 13 Jul 2011 à 02:17, Juan R. de Silva wrote: > I found on wiki.debian.org reference to Debian Mozilla Team and > installed Iceweasel 5.0 from them. > > I used it until started getting "package not found" errors. On their web > site I found, all packages offered until recently gone.

Re: need help with Iceweasel.

2011-07-13 Thread Scott Ferguson
On 13/07/11 21:01, Dejan Ribič wrote: > Dne 13.7.2011 4:17, piše Juan R. de Silva: >> I found on wiki.debian.org reference to Debian Mozilla Team and >> installed Iceweasel 5.0 from them. >> >> I used it until started getting "package not found" errors. On >> their web site I found, all packages

Re: need help with Iceweasel.

2011-07-13 Thread Dejan Ribič
Dne 13.7.2011 4:17, piše Juan R. de Silva: I found on wiki.debian.org reference to Debian Mozilla Team and installed Iceweasel 5.0 from them. I used it until started getting "package not found" errors. On their web site I found, all packages offered until recently gone. Some packages for lower v

Re: need help with clamav

2011-05-25 Thread Camaleón
On Tue, 24 May 2011 22:42:57 +, Juan R. de Silva wrote: > I installed clamav on Sqeeze 64b bit seemingly without problems but then > every time I run freshclam I have the following: > > username@desktop:~$ sudo freshclam > [sudo] password for username: > ClamAV update process started at Tue M

Re: need help with clamav

2011-05-24 Thread Juan R. de Silva
On Tue, 24 May 2011 22:42:57 +, Juan R. de Silva wrote: > I installed clamav on Sqeeze 64b bit seemingly without problems but then > every time I run freshclam I have the following: > > username@desktop:~$ sudo freshclam > [sudo] password for username: > ClamAV update process started at Tue M

Re: need help with gnome-keyring-manager

2011-05-23 Thread Camaleón
On Mon, 23 May 2011 10:21:46 -0600, Paul E Condon wrote: > On 20110523_103153, Camaleón wrote: (...) >> Better that removing "gnome-keyring" (I dunno if it is even possible >> because I think is a key component of the whole GNOME stack) try to >> configure it first or disable some elements that

Re: need help with gnome-keyring-manager

2011-05-23 Thread Paul E Condon
On 20110523_103153, Camaleón wrote: > On Sun, 22 May 2011 14:04:39 -0600, Paul E Condon wrote: > > > I have installed Squeeze on some different hardware for my desktop > > computer. On previous install attempts (on other hardware) I have had > > problems with gnome-keyring-manager interfering with

Re: need help with gnome-keyring-manager

2011-05-23 Thread Camaleón
On Sun, 22 May 2011 14:04:39 -0600, Paul E Condon wrote: > I have installed Squeeze on some different hardware for my desktop > computer. On previous install attempts (on other hardware) I have had > problems with gnome-keyring-manager interfering with my ability to use > ssh. Those problems seem

Re: Need help with approx configuration changes for squeeze [SOLVED]

2011-05-06 Thread Boyd Stephen Smith Jr.
In <20110506155703.ga2...@big.lan.gnu>, Paul E Condon wrote: >Note that none of these five lines (in two different files on two different >hosts) contain 'volatile'. As expected for squeeze and above. The services previously provided by volatile.debian.org and its completely separate mirror syst

Re: Need help with approx configuration changes for squeeze [SOLVED]

2011-05-06 Thread Paul E Condon
On 20110506_092810, Gilles Mocellin wrote: > Le Friday 06 May 2011 07:15:37 Boyd Stephen Smith Jr., vous avez écrit : > > In <20110505230413.ga4...@big.lan.gnu>, Paul E Condon wrote: > > >On 20110505_164439, Boyd Stephen Smith Jr. wrote: > > >> On 2011-05-05 16:15:31 Paul E Condon wrote: > > >> >#v

Re: Need help with approx configuration changes for squeeze

2011-05-06 Thread Gilles Mocellin
Le Friday 06 May 2011 07:15:37 Boyd Stephen Smith Jr., vous avez écrit : > In <20110505230413.ga4...@big.lan.gnu>, Paul E Condon wrote: > >On 20110505_164439, Boyd Stephen Smith Jr. wrote: > >> On 2011-05-05 16:15:31 Paul E Condon wrote: > >> >#volatile http://volatile.debian.org/debian-volat

Re: Need help with approx configuration changes for squeeze

2011-05-05 Thread Boyd Stephen Smith Jr.
In <20110505230413.ga4...@big.lan.gnu>, Paul E Condon wrote: >On 20110505_164439, Boyd Stephen Smith Jr. wrote: >> On 2011-05-05 16:15:31 Paul E Condon wrote: >> >#volatile http://volatile.debian.org/debian-volatile >> > >> >I thought the word 'volatile' was being >> >eliminated. >> >> volat

Re: Need help with approx configuration changes for squeeze

2011-05-05 Thread Paul E Condon
On 20110505_164439, Boyd Stephen Smith Jr. wrote: > On 2011-05-05 16:15:31 Paul E Condon wrote: > >#volatile http://volatile.debian.org/debian-volatile > > > >I thought the word 'volatile' was being > >eliminated. > > volatile.debian.org is no longer used. Instead use the "stable-updates"

Re: Need help with approx configuration changes for squeeze

2011-05-05 Thread Boyd Stephen Smith Jr.
On 2011-05-05 16:15:31 Paul E Condon wrote: >#volatile http://volatile.debian.org/debian-volatile > >I thought the word 'volatile' was being >eliminated. volatile.debian.org is no longer used. Instead use the "stable-updates" repository on the master archive or one of it's mirrors. -- Boy

Re: Need help setting up a home LAN

2011-05-03 Thread Lisi
Sorry, John. This shoul dhave gone to the lsit and not off-list. On Monday 02 May 2011 16:50:41 John Hasler wrote: > Lisi writes: > > +1. Much easier to remember! It took me several years to be able to > > remember my computers' names without having to look them up. > > I wrote: > > Why didn't y

Re: Need help setting up a home LAN

2011-05-02 Thread Celejar
On Mon, 2 May 2011 14:29:21 +0100 Lisi wrote: > On Monday 02 May 2011 09:05:51 Jochen Schulz wrote: > > I know someone who absolutely despises of the > > idea that the hosts in his local network have hostnames. He likes IP > > addresses better. :) > > +1. Much easier to remember! It took me s

Re: Need help setting up a home LAN

2011-05-02 Thread Paul E Condon
On 20110502_111609, Camaleón wrote: > On Mon, 02 May 2011 02:35:54 -0600, Paul E Condon wrote: > > > The web interface on the router no longer works with iceweasel. It did > > work fine a few hours ago but now I can only get a one line message > > (folded here for email): "Please upgrade to a vers

Re: Need help setting up a home LAN

2011-05-02 Thread John Hasler
Lisi writes: > +1. Much easier to remember! It took me several years to be able to > remember my computers' names without having to look them up. I wrote: > Why didn't you just give them numerical names? Mihira Fernando writes: > Like the IP address ? :D Sure. OneNinetyTwoDotOneSixtyEightDotO

Re: Need help setting up a home LAN

2011-05-02 Thread Mihira Fernando
On 05/02/2011 08:21 PM, John Hasler wrote: Lisi writes: +1. Much easier to remember! It took me several years to be able to remember my computers' names without having to look them up. Why didn't you just give them numerical names? Like the IP address ? :D -- To UNSUBSCRIBE, email to debia

Re: Need help setting up a home LAN

2011-05-02 Thread John Hasler
Lisi writes: > +1. Much easier to remember! It took me several years to be able to > remember my computers' names without having to look them up. Why didn't you just give them numerical names? -- John Hasler -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of

Re: Need help setting up a home LAN

2011-05-02 Thread Lisi
On Monday 02 May 2011 14:51:18 Camaleón wrote: > He likes IP > > >> addresses better. :) > > > > +1.  Much easier to remember!  It took me several years to be able to > > remember my computers' names without having to look them up. > > Let's see if you still think the same when IPv6 comes into play

Re: Need help setting up a home LAN

2011-05-02 Thread Camaleón
On Mon, 02 May 2011 14:29:21 +0100, Lisi wrote: > On Monday 02 May 2011 09:05:51 Jochen Schulz wrote: >> I know someone who absolutely despises of the >> idea that the hosts in his local network have hostnames. He likes IP >> addresses better. :) > > +1. Much easier to remember! It took me sev

Re: Need help setting up a home LAN

2011-05-02 Thread Zoran Kolic
> This is very helpful. But while you were responding, Netgear presented > a new problem. The web interface on the router no longer works with > iceweasel. It did work fine a few hours ago but now I can only get a > one line message (folded here for email): "Please upgrade to a version > 4 or highe

Re: Need help setting up a home LAN

2011-05-02 Thread Lisi
On Monday 02 May 2011 09:05:51 Jochen Schulz wrote: > I know someone who absolutely despises of the > idea that the hosts in his local network have hostnames. He likes IP > addresses better. :) +1. Much easier to remember! It took me several years to be able to remember my computers' names wit

Re: Need help setting up a home LAN

2011-05-02 Thread Camaleón
On Mon, 02 May 2011 02:35:54 -0600, Paul E Condon wrote: > The web interface on the router no longer works with iceweasel. It did > work fine a few hours ago but now I can only get a one line message > (folded here for email): "Please upgrade to a version 4 or higher > browser so that you can use

Re: Need help setting up a home LAN

2011-05-02 Thread Joe
On 02/05/11 09:35, Paul E Condon wrote: Anyway, I can't have a router that can have its administrative interface shutdown without warning in the middle of the night. I'll have to solve that before I can respond to your suggestions. Is this just a matter of JavaScript? I don't think any box of

Re: Need help setting up a home LAN

2011-05-02 Thread Paul E Condon
On 20110502_095924, Andrei Popescu wrote: > On Lu, 02 mai 11, 00:29:24, Paul E Condon wrote: > > A few days ago, my old consumer grade router died, or seemed to die > > such that I decided to purchase a new consumer grade router. What I > > remembered about how the old router was set up was insuffi

Re: Need help setting up a home LAN

2011-05-02 Thread Jochen Schulz
Paul E Condon: > > […] I can see good reasons for DHCP, but I have never > understood how I could get my four Debian hosts to talk to each other > under DHCP. I see some things that can be configured to have DHCP > assign fixed IPs to certain devices based on their MAC address, but is > that what n

Re: Need help setting up a home LAN

2011-05-01 Thread Andrei Popescu
On Lu, 02 mai 11, 00:29:24, Paul E Condon wrote: > A few days ago, my old consumer grade router died, or seemed to die > such that I decided to purchase a new consumer grade router. What I > remembered about how the old router was set up was insufficient to get > me back up and running with the new

Re: Need help with post-squeeze problems

2011-04-29 Thread Brad Alexander
I figured it out. What happened was that there were a few packages that got installed over the years, that were from testing or more likely unstable. So, for instance, one package was dependent on g++-4.4.5-8, but 4.4.5-10 was installed and this is what was gumming up things. Now that that is reso

Re: Need help with post-squeeze problems

2011-04-28 Thread Sven Joachim
On 2011-04-28 18:39 +0200, Brad Alexander wrote: > I got my daughter's netbook upgraded to squeeze, however, there are some > issues that I have encountered. I did it per the squeeze release notes, the > audit, etc, then apt-get update on the new sources.lists, apt-get upgrade, > upgraded kernel a

Re: need help with adzapper

2011-03-27 Thread Paul E Condon
On 20110327_093735, Paul E Condon wrote: > I'm running Squeeze. I've used adzapper in the long ago past, but I can't > get in running with iceweasel now. My problem is really with iceweasel, > I think. I recall that I have to configure my browser to 'point to' adzapper. > This involves giving the I

Re: Re: need help with sed problem

2011-03-19 Thread Clive Standbridge
> i agree with that - the underscore that was used is also valid. you > might look at proper quoting of variables to avoid this. something > like cat text.txt | sed -e 's/bbb.*/:"$PWD"/' > new.txt The output from that, given Joao's original text.txt, is :"$PWD" The reason is t

Re: need help with sed problem

2011-03-18 Thread shawn wilson
On Fri, Mar 18, 2011 at 7:05 PM, Dr. Ed Morbius wrote: > on 19:08 Fri 18 Mar, Joao Ferreira gmail (joao.miguel.c.ferre...@gmail.com) > wrote: > > On Fri, 2011-03-18 at 18:59 +0100, Andrej Kacian wrote: > > > On Fri, 18 Mar 2011 17:46:04 + > > > Joao Ferreira gmail wrote: > > Please note that

Re: need help with sed problem

2011-03-18 Thread Dr. Ed Morbius
on 19:08 Fri 18 Mar, Joao Ferreira gmail (joao.miguel.c.ferre...@gmail.com) wrote: > On Fri, 2011-03-18 at 18:59 +0100, Andrej Kacian wrote: > > On Fri, 18 Mar 2011 17:46:04 + > > Joao Ferreira gmail wrote: > > > > >jmf@squeeje:~$ sed s/.*/:$PWD/ text.txt > > >sed: -e expression #1,

Re: need help with sed problem

2011-03-18 Thread Joao Ferreira gmail
On Fri, 2011-03-18 at 18:59 +0100, Andrej Kacian wrote: > On Fri, 18 Mar 2011 17:46:04 + > Joao Ferreira gmail wrote: > > >jmf@squeeje:~$ sed s/.*/:$PWD/ text.txt > >sed: -e expression #1, char 16: unknown option to `s' > > Hello, > > this is because $PWD gets expanded by shell befo

Re: need help with sed problem

2011-03-18 Thread Boyd Stephen Smith Jr.
On 2011-03-18 12:59:08 Andrej Kacian wrote: >To get result you want, try using different separator character than /, for >example the comma, or underscore: Colon is also a pretty good choice. While it is allowed in pathnames, it already causes problems. Try adding a directory containing colon t

Re: need help with sed problem

2011-03-18 Thread Andrej Kacian
On Fri, 18 Mar 2011 17:46:04 + Joao Ferreira gmail wrote: >jmf@squeeje:~$ sed s/.*/:$PWD/ text.txt >sed: -e expression #1, char 16: unknown option to `s' Hello, this is because $PWD gets expanded by shell before sed gets called, so what actually gets executed is: sed s/bbb.*/:/

Re: need help debugging my email in squeeze and/or testing (both) not merely old squeeze from before the release

2011-02-27 Thread Boyd Stephen Smith Jr.
In <20110227153610.36fdb...@resin17.mta.everyone.net>, pecon...@mesanetworks.net wrote: >2011-02-27 09:04:28 1Ptj6i-0004BD-8e failed to expand "<; ${if >exists{/etc/exim4/passwd.client}{${lookup{$host}nwildlsearch{/e >tc/exim/passwd.client{$host_address}}}{}}"while check >ing a list

Re: need help debugging my email in squeeze and/or testing (both) not merely old squeeze from before the release

2011-02-27 Thread kuLa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27/02/11 18:51, pecon...@mesanetworks.net wrote: > Some background information: > sic > 2011-02-27 09:04:28 1Ptj6i-0004BD-8e failed to expand "<; ${if > exists{/etc/exim4/passwd.client} > {${lookup{$host}nwildlsearch{/etc/exim4/passwd.client}{$ho

Re: need help debugging my email in squeeze and/or testing (both) not merely old squeeze from before the release

2011-02-27 Thread Boyd Stephen Smith Jr.
In <20110227105102.36f21...@resin14.mta.everyone.net>, pecon...@mesanetworks.net wrote: >size="2">Some background [...] >file, http://iguanasuicide.net/\_/ signature.asc Description: This is a digitally signed message part.

Re: need help making shell script use two CPUs/cores

2011-01-25 Thread Stan Hoeppner
Carl Johnson put forth on 1/24/2011 5:07 PM: > Stan Hoeppner writes: > >> Now we have 4 CPUs on two memory channels. If not for caches, you'd >> see >> no speedup past 2 Imagemagick processes. Which is pretty much the behavior >> identified by another OP with an Athlon II x4 system--al

Re: need help making shell script use two CPUs/cores

2011-01-24 Thread Carl Johnson
Stan Hoeppner writes: > Now we have 4 CPUs on two memory channels. If not for caches, you'd > see > no speedup past 2 Imagemagick processes. Which is pretty much the behavior > identified by another OP with an Athlon II x4 system--almost zeo speedup from > 2 > to 4 processes. I think

Re: need help making shell script use two CPUs/cores

2011-01-24 Thread Stan Hoeppner
Bob Proulx put forth on 1/24/2011 12:21 PM: > Stan Hoeppner wrote: >> Why bother going up to 12 processes with a quad core chip? Anything >> over 4 processes/threads won't gain you anything, as your results >> above demonstrate. > > I went to 12 because it would demonstrate the behavior three ti

Re: need help making shell script use two CPUs/cores

2011-01-24 Thread Bob Proulx
Stan Hoeppner wrote: > Bob Proulx put forth: > > Here is some raw data from another test using GraphicsMagic from Debian > > Sid on an Intel Core2 Quad CPU Q9400 @ 2.66GHz. > > > > #CPUs real user sys > > 1 ... 32.17 100.15 2.29 > > 2 ... 28.02 102.09 2.25 > > 3 ... 26.96 101.4

Re: need help making shell script use two CPUs/cores

2011-01-23 Thread Stan Hoeppner
Bob Proulx put forth on 1/23/2011 8:16 PM: Apparently I've missed some of the thread since my earlier participation. > Carl Johnson wrote: >> #CPUs time theoretical time-theoreticalgain/CPU(theoretical) >> 1 66 >> 2 3666/2 = 33 36-33 = 3 (+9%) 1 -1/2 = 1/2 >

Re: need help making shell script use two CPUs/cores

2011-01-23 Thread Bob Proulx
Carl Johnson wrote: > #CPUs time theoretical time-theoreticalgain/CPU(theoretical) > 1 66 > 2 3666/2 = 33 36-33 = 3 (+9%) 1 -1/2 = 1/2 > 3 2566/3 = 22 25-22 = 3 (+14%)1/2-1/3 = 1/6 > 4 2066/4 = 16.5 20-16.5 = 3.5 (+21%)1/3-1

Re: need help making shell script use two CPUs/cores

2011-01-15 Thread Carl Johnson
Stan Hoeppner writes: > Carl Johnson put forth on 1/13/2011 11:34 AM: > >> Processors Time (seconds) >> P1 66 >> P2 36 >> P3 25 >> P4 20 >> P5 20 >> P6 20 >> P7 20 >> P8 20 > > Your number

Re: need help making shell script use two CPUs/cores

2011-01-14 Thread Stan Hoeppner
Carl Johnson put forth on 1/13/2011 11:34 AM: > Processors Time (seconds) > P1 66 > P2 36 > P3 25 > P4 20 > P5 20 > P6 20 > P7 20 > P8 20 > > I am sure the time would have increased if the

Re: need help making shell script use two CPUs/cores

2011-01-14 Thread Osamu Aoki
On Sun, Jan 09, 2011 at 10:05:43AM -0600, Stan Hoeppner wrote: > I'm not very skilled at writing shell scripts. > > #! /bin/sh > for k in $(ls *.JPG); do convert $k -resize 1024 $k; done > > I use the above script to batch re-size digital camera photos after I > dump them to my web server. It ta

Re: need help making shell script use two CPUs/cores

2011-01-13 Thread Carl Johnson
Stan Hoeppner writes: > > Depending on the size of the photos one is converting, if they're relatively > small like my 8.3MP 1.8MB jpegs, I'd think something like a dual core Phenom > II > X2 w/ 6MB L3 cache and 21.4 GB/s memory b/w would likely continue to scale > with > reduced overall script

Re: need help making shell script use two CPUs/cores

2011-01-13 Thread Stan Hoeppner
Bob Proulx put forth on 1/12/2011 2:48 PM: > That makes a lot of sense to me. And also when cpu time divides by > 1/N where N is the number of processes then if you have more convert > processes running then effectively that task will get more total time > than will the other tasks. A little bit

Re: need help making shell script use two CPUs/cores

2011-01-12 Thread Bob Proulx
Stan Hoeppner wrote: > Frankly I'd rather not waste the time on it at this point. You > solved my original problem Bob! Thank again. That was the > important takeaway here. Now we're into minutia (which can be fun > but I'm spending way too much time on debian-user email the last few > days) G

Re: need help making shell script use two CPUs/cores

2011-01-12 Thread Stan Hoeppner
Bob Proulx put forth on 1/12/2011 1:11 PM: > Stan Hoeppner wrote: >> Bob Proulx put forth: >>> when otherwise it would be waiting for the disk. I believe what you >>> are seeing above is the result of being able to compute during that >>> small block on I/O wait for the disk interval. >> >> That's

Re: need help making shell script use two CPUs/cores

2011-01-12 Thread Stan Hoeppner
Camaleón put forth on 1/12/2011 3:56 AM: > On Tue, 11 Jan 2011 15:58:45 -0600, Stan Hoeppner wrote: > >> Camaleón put forth on 1/11/2011 9:38 AM: >> >>> I supposed you wouldn't care much in getting a script to run faster >>> with all the available core "occupied" if you had a modern (<4 years) >>

Re: need help making shell script use two CPUs/cores

2011-01-12 Thread Bob Proulx
Stan Hoeppner wrote: > Bob Proulx put forth: > > when otherwise it would be waiting for the disk. I believe what you > > are seeing above is the result of being able to compute during that > > small block on I/O wait for the disk interval. > > That's gotta be a very small iowait interval. So sma

Re: need help making shell script use two CPUs/cores

2011-01-12 Thread Camaleón
On Tue, 11 Jan 2011 15:58:45 -0600, Stan Hoeppner wrote: > Camaleón put forth on 1/11/2011 9:38 AM: > >> I supposed you wouldn't care much in getting a script to run faster >> with all the available core "occupied" if you had a modern (<4 years) >> cpu and plenty of speedy ram because the routine

Re: need help making shell script use two CPUs/cores

2011-01-11 Thread John Hasler
Bob writes: > They do consume memory and cpu scheduling queue resources. I wrote: > Very little, due to shared memory and copy-on-write. Stan writes: > In this case I don't think all that much memory is shared. Each > process' data portion is different as each processes a different > picture fil

Re: need help making shell script use two CPUs/cores

2011-01-11 Thread Stan Hoeppner
John Hasler put forth on 1/11/2011 4:12 PM: > Bob writes: >> They do consume memory and cpu scheduling queue resources. > > Very little, due to shared memory and copy-on-write. In this case I don't think all that much memory is shared. Each process' data portion is different as each processes a

Re: need help making shell script use two CPUs/cores

2011-01-11 Thread Stan Hoeppner
Bob Proulx put forth on 1/11/2011 3:08 PM: > Stan Hoeppner wrote: >> Camaleón put forth: >>> real1m44.038s >>> user2m5.420s >>> sys 1m17.561s >>> >>> It uses 2 "convert" proccesses so the files are being run on pairs. >>> >>> And you can even get the job done faster if using -P8: >>

Re: [OT]: Re: need help making shell script use two CPUs/cores

2011-01-11 Thread Dan Serban
On Tue, 11 Jan 2011 09:18:48 -0600 Stan Hoeppner wrote: > Dan Serban put forth on 1/10/2011 7:52 PM: > > On Mon, 10 Jan 2011 12:04:19 -0600 > > Stan Hoeppner wrote: > > > > [snip] > >> http://www.hardwarefreak.com/server-pics/ > > > > Which gallery system are you using? I quite like it. > >

Re: need help making shell script use two CPUs/cores

2011-01-11 Thread John Hasler
Bob writes: > Another negative is that other tasks then suffer. That's what group scheduling is for. -- John Hasler -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/8

Re: need help making shell script use two CPUs/cores

2011-01-11 Thread John Hasler
Bob writes: > They do consume memory and cpu scheduling queue resources. Very little, due to shared memory and copy-on-write. -- John Hasler -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive:

Re: need help making shell script use two CPUs/cores

2011-01-11 Thread Stan Hoeppner
Camaleón put forth on 1/11/2011 9:38 AM: > I supposed you wouldn't care much in getting a script to run faster with > all the available core "occupied" if you had a modern (<4 years) cpu and > plenty of speedy ram because the routine you wanted to run it should not > take many time... unless yo

Re: need help making shell script use two CPUs/cores

2011-01-11 Thread Bob Proulx
Camaleón wrote: > No... I guess this is quite similar to the way most of the daemons do > when running in background and launch several instances (like "amavisd- > new" does) That is an optimization to help with the latency overhead associated with forking processes. In order to reduce the respo

Re: need help making shell script use two CPUs/cores

2011-01-11 Thread Bob Proulx
Stan Hoeppner wrote: > Camaleón put forth: > > real1m44.038s > > user2m5.420s > > sys 1m17.561s > > > > It uses 2 "convert" proccesses so the files are being run on pairs. > > > > And you can even get the job done faster if using -P8: > > > > real1m25.255s > > user

Re: need help making shell script use two CPUs/cores

2011-01-11 Thread Camaleón
On Tue, 11 Jan 2011 07:13:47 -0600, Stan Hoeppner wrote: > Camaleón put forth on 1/10/2011 2:11 PM: > >> I used a VM to get the closest environment as you seem to have (a low >> resource machine) and the above command (timed) gives: > > I'm not sure what you mean by resources in this context. M

Re: [OT]: Re: need help making shell script use two CPUs/cores

2011-01-11 Thread Stan Hoeppner
Dan Serban put forth on 1/10/2011 7:52 PM: > On Mon, 10 Jan 2011 12:04:19 -0600 > Stan Hoeppner wrote: > > [snip] >> http://www.hardwarefreak.com/server-pics/ > > Which gallery system are you using? I quite like it. That's the result of Curator: http://furius.ca/curator/ I've been using it fo

Re: need help making shell script use two CPUs/cores

2011-01-11 Thread Stan Hoeppner
Camaleón put forth on 1/10/2011 2:11 PM: > Did'nt you run any test? Okay... (now downloading the sample images) Yes, or course. I just didn't capture results to file. And it's usually better if people see their own results instead of someone else' copy/paste. >> 2. On your dual processor, or

[OT]: Re: need help making shell script use two CPUs/cores

2011-01-10 Thread Dan Serban
On Mon, 10 Jan 2011 12:04:19 -0600 Stan Hoeppner wrote: [snip] > http://www.hardwarefreak.com/server-pics/ Which gallery system are you using? I quite like it. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists

Re: need help making shell script use two CPUs/cores

2011-01-10 Thread Camaleón
On Mon, 10 Jan 2011 12:04:19 -0600, Stan Hoeppner wrote: > Camaleón put forth on 1/10/2011 8:08 AM: >> Good. It would be nice to see the results when you finally go it >> working the way you like ;-) > > Bob's xargs suggestion got it working instantly many hours ago. I'm not > sure of the resul

Re: need help making shell script use two CPUs/cores

2011-01-10 Thread Stan Hoeppner
Camaleón put forth on 1/10/2011 8:08 AM: > On Sun, 09 Jan 2011 14:39:56 -0600, Stan Hoeppner wrote: > >> Camaleón put forth on 1/9/2011 12:12 PM: >> >>> Better if you check it, but I dunno how to get the compile options for >>> the lenny package... where is this defined, in source or diff package

Re: need help making shell script use two CPUs/cores

2011-01-10 Thread Camaleón
On Sun, 09 Jan 2011 14:39:56 -0600, Stan Hoeppner wrote: > Camaleón put forth on 1/9/2011 12:12 PM: > >> Better if you check it, but I dunno how to get the compile options for >> the lenny package... where is this defined, in source or diff packages? > > You're taking this thread down the wrong

Re: need help making shell script use two CPUs/cores

2011-01-10 Thread Stan Hoeppner
Karl Vogel put forth on 1/9/2011 6:04 PM: >>> On Sun, 09 Jan 2011 10:05:43 -0600, >>> Stan Hoeppner said: > > S> #! /bin/sh > S> for k in $(ls *.JPG); do convert $k -resize 1024 $k; done > >Someone was ragging on you to let the shell do the file expansion. I >like your way better becau

Re: need help making shell script use two CPUs/cores

2011-01-09 Thread Boyd Stephen Smith Jr.
In <2011011500.46f09b...@kev.msw.wpafb.af.mil>, Karl Vogel wrote: >>> On Sun, 09 Jan 2011 10:05:43 -0600, >>> Stan Hoeppner said: >S> #! /bin/sh >S> for k in $(ls *.JPG); do convert $k -resize 1024 $k; done > > Someone was ragging on you to let the shell do the file expansion. I > like yo

Re: need help making shell script use two CPUs/cores

2011-01-09 Thread Stefan Monnier
> unfortunately that simple approach is harder to do with my renaming > scheme. So I would probably write a helper script that did the > options to convert and renamed the file and so forth. > for k in *.JPG; do > base=$(basename $k .JPG) > test -f $base.1024.jpg && continue # skip if

Re: need help making shell script use two CPUs/cores

2011-01-09 Thread Stan Hoeppner
Bob Proulx put forth on 1/9/2011 3:12 PM: > GNU xargs has an extension to run jobs in parallel. This is already > installed on your system. (But won't work on other Unix systems.) > > for k in *.JPG; do echo $k; done | xargs -I{} -P4 echo convert {} -resize > 1024 {} > > Verify that does wh

Re: need help making shell script use two CPUs/cores

2011-01-09 Thread shawn wilson
On Jan 9, 2011 3:09 PM, "Stan Hoeppner" wrote: > > shawn wilson put forth on 1/9/2011 11:43 AM: > > On Jan 9, 2011 12:17 PM, "Stan Hoeppner" wrote: > >> > >> Camaleón put forth on 1/9/2011 10:59 AM: > >> > >>> http://www.imagemagick.org/Usage/api/#speed > >>> > >>> The above doc provides hints on

Re: need help making shell script use two CPUs/cores

2011-01-09 Thread Bob Proulx
Karl Vogel wrote: > >> Stan Hoeppner said: > S> for k in $(ls *.JPG); do convert $k -resize 1024 $k; done > >Someone was ragging on you to let the shell do the file expansion. I >like your way better because most scripting shells aren't smart enough >to realize that when there aren't

Re: need help making shell script use two CPUs/cores

2011-01-09 Thread Karl Vogel
>> On Sun, 09 Jan 2011 10:05:43 -0600, >> Stan Hoeppner said: S> #! /bin/sh S> for k in $(ls *.JPG); do convert $k -resize 1024 $k; done Someone was ragging on you to let the shell do the file expansion. I like your way better because most scripting shells aren't smart enough to reali

Re: need help making shell script use two CPUs/cores

2011-01-09 Thread Bob Proulx
Stan Hoeppner wrote: > I'm not very skilled at writing shell scripts. > > #! /bin/sh > for k in $(ls *.JPG); do convert $k -resize 1024 $k; done First off don't use ls to list files matching a pattern. Instead let the shell match the pattern. #! /bin/sh for k in *.JPG; do convert $k -resize

Re: need help making shell script use two CPUs/cores

2011-01-09 Thread Stan Hoeppner
Camaleón put forth on 1/9/2011 12:12 PM: > Better if you check it, but I dunno how to get the compile options for > the lenny package... where is this defined, in source or diff packages? You're taking this thread down the wrong path. I asked for assistance writing a simple script to do what I

Re: need help making shell script use two CPUs/cores

2011-01-09 Thread Camaleón
On Sun, 09 Jan 2011 11:17:04 -0600, Stan Hoeppner wrote: > Camaleón put forth on 1/9/2011 10:59 AM: >> *** >> # IM by default uses multiple threads for image processing operations. >> That means you can have the computer do two or more separate threads of >> image processing, it will be faster th

Re: need help making shell script use two CPUs/cores

2011-01-09 Thread Stan Hoeppner
Camaleón put forth on 1/9/2011 10:59 AM: > http://www.imagemagick.org/Usage/api/#speed > > The above doc provides hints on how to speed-up image magick operations. > > Note that multi-threading should be automatically used whether possible, > as per this paragraph: > > *** > # IM by default u

Re: need help making shell script use two CPUs/cores

2011-01-09 Thread Camaleón
On Sun, 09 Jan 2011 10:05:43 -0600, Stan Hoeppner wrote: > I'm not very skilled at writing shell scripts. > > #! /bin/sh > for k in $(ls *.JPG); do convert $k -resize 1024 $k; done > > I use the above script to batch re-size digital camera photos after I > dump them to my web server. It takes a

Re: need help making shell script use two CPUs/cores

2011-01-09 Thread David Sastre
On Sun, Jan 09, 2011 at 10:05:43AM -0600, Stan Hoeppner wrote: > #! /bin/sh > for k in $(ls *.JPG); do convert $k -resize 1024 $k; done > > I use the above script to batch re-size digital camera photos after I > dump them to my web server. It takes a very long time with lots of new > photos as th

Re: need help on recovering Windows partition

2010-12-03 Thread teddieeb
Finding the data is coincidence because you have created partitions with same sizes, still you have corrupted some entries in the partition table and you need to repair it. partition magick and alike tools do it. -- What I don't get is this, if you are able to access the data, doesn't matte

Re: need help on recovering Windows partition

2010-12-02 Thread deloptes
Long Wind wrote: > Windows XP and etch still can't access them! > I have done no thing wrong you have deleted them - created new partitions and saved the setup. Do you think it's fine? Finding the data is coincidence because you have created partitions with same sizes, still you have corrupted

Re: need help on recovering Windows partition

2010-12-01 Thread Long Wind
After I recreate the old partiton table with etch's fdisk I find that Windows 98 Installation CD can access lost partitions! It allows me to boot into command line and show files in dos 8.3 format Windows XP and etch still can't access them! I have done no thing wrong -- To UNSUBSCRIBE, email t

Re: need help on recovering Windows partition

2010-12-01 Thread deloptes
Long Wind wrote: > On Tue, Nov 30, 2010 at 5:05 PM, deloptes wrote: >> >> I think he has deleted the partitions and recreated them with almost same >> size but he has overwritten the partition table... >> >> He says "I played" ... with fire ;-) >> ... > > by "play" I just mean "use" > I have jus

Re: need help on recovering Windows partition

2010-11-30 Thread Long Wind
On Tue, Nov 30, 2010 at 5:05 PM, deloptes wrote: > > I think he has deleted the partitions and recreated them with almost same > size but he has overwritten the partition table... > > He says "I played" ... with fire ;-) > > regards > > > > -- by "play" I just mean "use" I have just deleted the W

Re: need help on recovering Windows partition

2010-11-30 Thread deloptes
Long Wind wrote: > I have never deleted hd4 > It still works and can boot into etch > but can't mount hda2 or hda3 > even though they start and end at their old places > It complains: > > FAT: bogus number of reserved sectors > VFS: Can't find a valid FAT filesystem on dev hda2. > > I have tri

Re: need help on recovering Windows partition

2010-11-30 Thread Camaleón
On Mon, 29 Nov 2010 16:21:47 -0500, Long Wind wrote: > On Mon, Nov 29, 2010 at 9:38 AM, Camaleón wrote: >> Did you delete the windows partitions or the above information is still >> valid? >> >> Your partitioning scheme looks a bit weird (there are no primary >> partitions but just one extended ho

<    1   2   3   4   5   6   7   8   9   10   >