Re: [gentoo-user] HandBrakeCLI undvd. was: Cloning movie DVDs with dd

2009-08-14 Thread Stroller


On 12 Aug 2009, at 21:43, Neil Bothwick wrote:

...
If you just want the movies to play back on a Linux laptop whilst  
on a

holiday trip then this probably won't bother you at all, but if you
want an archive of your movie collection which you'll keep for
playback into the future then undvd isn't the best ripper. It seems  
to

me that HandBrakeCLI takes that prize, in the command-line category,
at least.


At the moment that's all I want, but that may not always be true, so  
I'd

rather find one program that addresses my current and possible future
needs, instead of having to learn a second later on. Undvd is very  
simple

to use, but after some playing it turns out to be too simple, I'm a
Gentoo user and therefore a control freak.


What don't you like about undvd, please?

What settings do you want to change, that it prevents you?


The reason I'm asking is that HandBrakeCLI has a bug WRT cropping   
PS3 playback, see:

http://forum.handbrake.fr/viewtopic.php?f=23t=8032start=0#p45390

I would prefer to be able to crop, because ISTM that the uncropped  
setting means I encode big black borders around the sides, resulting  
in larger files.


I don't believe that undvd (relying upon mplayer) has this problem, so  
I am tempted to have another crack at hacking on undvd's source   
porting its call upon mpeg4ip (which has been depreciated from the  
tree) to instead work with MP4Box (part of media-video/gpac).


I already had a little go at this, but I'm not an expert coder -  
certainly not in perl - and got a little stuck. I think I can probably  
manage to overcome the difficulty I encountered, but I'd be grateful  
to hear of any other shortcomings of undvd that I may not have  
considered, before I invest any more time in it.


Thanks in advance for your thoughts,

Stroller.




Re: [gentoo-user] [OT] fast recursive local copy

2009-08-14 Thread Mike Kazantsev
On Fri, 14 Aug 2009 04:47:24 +0200
meino.cra...@gmx.de wrote:

  I am looking for a faster way to do a
 
 cp -a r thisdir thatdir
 
  locally on one machine with one harddisk inside.

rsync can parallel some of the tasks, like creating paths while files
are being copied, so I guess it wouldn't hurt to test it against cp:

  rsync -HaAX thisdir thatdir

Flags are:

 -H - hardlinks
 -a - ids, modes, timestamps
 -A - ACLs
 -X - extended attributes

You might want to throw in '-x' for 'one-file-system', but that
contradicts with behavior of given cp example.

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


Re: [gentoo-user] Knock on wood

2009-08-14 Thread Neil Bothwick
On Fri, 14 Aug 2009 10:41:55 +0600, Mike Kazantsev wrote:

  I did, it is passed the install directory as an argument, so I looked
  at the kernel makefile and found it uses INSTALL_PATH to determine
  this. I originally thought about modifying installkernel, but it's
  good that that isn't needed because an update to debianutils, like we
  had this week, would undo your changes.  
 
 AFAIR, there's etc-update for that, but I might've added it to
 config-protect by hand.

I imagine you did, /sbin is not config-protected by default.


-- 
Neil Bothwick

If I save time, when do I get it back?


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: [OT] fast recursive local copy

2009-08-14 Thread Volker Armin Hemmann
On Freitag 14 August 2009, Nikos Chantziaras wrote:
 On 08/14/2009 05:47 AM, meino.cra...@gmx.de wrote:
  Hi,
 
I am looking for a faster way to do a
 
   cp -a rthisdir  thatdir
 
locally on one machine with one harddisk inside.
 
Is there a neat trick to accomplish this faster than
good old cp?

 Nope.  Some people like to use pipes in hope to speed it up, something
 like:

tar -c thisdir | tar -xC thatdir

 but this isn't really faster and fscks up sparse files.

 But if thatdir already contains some files from thisdir, then rsync
 would be faster than cp.  If not, stick with cp.

use cp with -u and files already existing are skipped.



Re: [gentoo-user] Re: [OT] fast recursive local copy

2009-08-14 Thread Joerg Schilling
Nikos Chantziaras rea...@arcor.de wrote:

 On 08/14/2009 05:47 AM, meino.cra...@gmx.de wrote:
  Hi,
 
I am looking for a faster way to do a
 
   cp -a rthisdir  thatdir
 
locally on one machine with one harddisk inside.
 
Is there a neat trick to accomplish this faster than
good old cp?

 Nope.  Some people like to use pipes in hope to speed it up, something like:

tar -c thisdir | tar -xC thatdir

 but this isn't really faster and fscks up sparse files.

Pipes definitely do not speed up things, they slow things down as pipes 
introduce a significant system overhead.

The fastest method for copying directory trees (typicalls 30% faster than any 
other known method) is to use star:

star -copy -p -xdot -acl -sparse -C fromdir . todir

Do not forget the '.' !

Note that on Linux you may _need_ to add -no-fsync because file I/O is slow 
on Linux. On Solaris, not using -no-fsync slows things down by aprox. 10% but 
allows star to grant that everything was really copied to stable storage.
On Linux, ot using -no-fsync slows things down by aprox. 400%, this is why
I recommend to add -no-fsync. BTW: other programs behave like star 
-no-fsync by default.

It may help to speed up things (in case you have enough RAM) to add: fs=128M
Use no more than 1/2 of the physical RAM as FIFO size.

Star implements the most effective way since more than 20 years. The idea is
to use a FIFO made of shared memory and to let star fork by default into two 
processes that work independently. 


Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] gentoo sites go down too much!

2009-08-14 Thread Alan McKinnon
On Thursday 13 August 2009 21:55:44 Paul Hartman wrote:
 I believe gentoo.org uses Neustar UltraDNS, whose business exists for
 the purpose of providing high-availability DNS

Well I certainly hope that their actual technical infrastructure is better 
than their marketing FUD.

I'm being directly targeted by Neustar's marketing machine but they are clever 
and not actually mentioning the company by name. I have customer's complaining 
that the Neustar sales rep tells them privately that @ALANS_EMPLOYER has crap 
DNS, and now the customer wants reassurance. Which is a conversation I should 
never be having.

Facts say otherwise though. 3 distributed auth servers across the planet, one 
hidden primary pushing updates out, 12 caches distributed across the planet, 
all in anycast so the customer automatically finds the closest one. Not just 
customer records either - that system runs a TLD and two 2TLDs. Uptime is 
1000+ days, and we have never had a DNS outage (and not from lack of trying by 
the bad guys).

Inadequate DNS infrastructure? No, Neustar, I don't think so. In my country, 
you can't even come close to what I have.

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] reiserfsck failing.

2009-08-14 Thread William Kenworthy
I am trying increase a large reiserfs partition - from ~680GB to ~1.6TB
- the lvm part has worked as has resize_reiserfs, when trying to do  a
final reiserfsck it hangs - always on a different file but in a simlar
directory.  The kernel doesnt have large file support, but I thinks
thats for over 2TB so whats the problem?

Using reiserfsprogs 3.6.19-r2 with 2.6.28 gentoo-sources.

BillK


-- 
William Kenworthy bi...@iinet.net.au
Home in Perth!




Re: [gentoo-user] gentoo sites go down too much!

2009-08-14 Thread Alan McKinnon
On Thursday 13 August 2009 22:29:52 Joseph wrote:

 Having Gentoo.org forum or wiki down when most of us rely heavily on them
 is not acceptable. If the current sever is not reliable (and it is NOT;
 regardless if it is free or not) move it somewhere else.

You are completely missing the point about the wiki.

The Gentoo Foundation does not own gentoo-wiki. It is privately run. It cannot 
move it, rehost it, improve it or have any appreciable effect on it in any way 
(other than mailing the real owner and asking nicely).

The Gentoo Foundation can no more influence the wiki than it can influence 
DistroWatch, Ubuntu or Microsoft's web site.

So can we all please stop being confused and assuming something different, and 
wondering why Gentoo does not guarantee the wiki? 

IT DOES NOT BECAUSE IT CANNOT. TO EVERYONE WHO DOES NOT LIKE IT, THAT'S TOUGH.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] reiserfsck failing.

2009-08-14 Thread Alan McKinnon
On Friday 14 August 2009 13:36:31 William Kenworthy wrote:
 I am trying increase a large reiserfs partition - from ~680GB to ~1.6TB
 - the lvm part has worked as has resize_reiserfs, when trying to do  a
 final reiserfsck it hangs - always on a different file but in a simlar
 directory.  The kernel doesnt have large file support, but I thinks
 thats for over 2TB so whats the problem?

 Using reiserfsprogs 3.6.19-r2 with 2.6.28 gentoo-sources.


ls -al /the/faulty/directory

if you see lots of ???'s, the file system is toast and I hope you have 
backups.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] reiserfsck failing.

2009-08-14 Thread William Kenworthy
On Fri, 2009-08-14 at 13:38 +0200, Alan McKinnon wrote:
 On Friday 14 August 2009 13:36:31 William Kenworthy wrote:
  I am trying increase a large reiserfs partition - from ~680GB to ~1.6TB
  - the lvm part has worked as has resize_reiserfs, when trying to do  a
  final reiserfsck it hangs - always on a different file but in a simlar
  directory.  The kernel doesnt have large file support, but I thinks
  thats for over 2TB so whats the problem?
 
  Using reiserfsprogs 3.6.19-r2 with 2.6.28 gentoo-sources.
 
 
 ls -al /the/faulty/directory
 
 if you see lots of ???'s, the file system is toast and I hope you have 
 backups.
 

Nothing obvious with a with a quick look - I am running another check
and will look closer where it stops.

Nothing critical stored there - mythtv recordings, duplicate backups
(dirvish) of other systems and the like.  I have separate backups of
some myth config files so I can lose it.  Probably will have to
eventually but Ive tried ext2 and ext3 but they cant take the thrashing
dirvish gives a file system (or anything else it seems - dont know why
they have a good reputation because my usage doesnt show it ...)

BillK





Re: [gentoo-user] gentoo sites go down too much!

2009-08-14 Thread Neil Bothwick
On Thu, 13 Aug 2009 14:29:52 -0600, Joseph wrote:

 Having Gentoo.org forum or wiki down when most of us rely heavily on
 them is not acceptable.

If something so important to you fails to provide the service you need,
you should demand your money back!


-- 
Neil Bothwick

c:Press Enter to Exit


signature.asc
Description: PGP signature


[gentoo-user] What Gives - Anyone know?

2009-08-14 Thread CJoeB
Hi,

For the last little while (not sure when it started), Firefox will not
load .pdf files (also files with a .aspx extention) - it downloads them
and won't even display them if I try  opening the pdf after download.  I
have nppdf.so as a plugin.  Opera displays these files just fine - I
have Opera installed as a backup when Firefox is giving me grief, but I
don't really like the browser interface.  Guess I'm old school and stick
with what I am used to - I've always used Netscape, then Mozilla and
now, Firefox.  Anyone else have the same issue and know what's going on
and if there is a solution?

Regards,

Colleen

-- 

Registered Linux User #411143 with the Linux Counter, http://counter.li.org




Re: [gentoo-user] reiserfsck failing.

2009-08-14 Thread Neil Bothwick
On Fri, 14 Aug 2009 20:02:53 +0800, William Kenworthy wrote:

 Nothing critical stored there - mythtv recordings,

Don't the MythTV folks advise against using ReiserFS for recordings? They
recommend XFS. 


-- 
Neil Bothwick

Several errant electrons jumped when they shouldn't have at a place they
shouldn't have, resulting in what shouldn't have. In short, a short.


signature.asc
Description: PGP signature


Re: [gentoo-user] reiserfsck failing.

2009-08-14 Thread William Kenworthy
On Fri, 2009-08-14 at 13:10 +0100, Neil Bothwick wrote:
 On Fri, 14 Aug 2009 20:02:53 +0800, William Kenworthy wrote:
 
  Nothing critical stored there - mythtv recordings,
 
 Don't the MythTV folks advise against using ReiserFS for recordings? They
 recommend XFS. 
 
They do - as I discovered when researching this problem.  Though they
also say the problem may have been fixed as it was awhile ago - and this
system has been fine except for occasional minor problems from power
failures (such as burning power supplies :) since 2004-5 when it was
first built.

That being said, it would be nice to separate the recordings and backups
though one large partition makes for easier management.  And there is
the fact that some maintenance patches to reiserfs mean I cant use
kernels 2.6.29-30 (oops's) - though a trial of a vanilla .31-rc worked
fine so I am waiting until thats out.

Anyhow, I am rambling - thanks for the pointers.

BillK






Re: [gentoo-user] gentoo sites go down too much!

2009-08-14 Thread Albert Hopkins
On Fri, 2009-08-14 at 13:09 +0100, Neil Bothwick wrote:
 On Thu, 13 Aug 2009 14:29:52 -0600, Joseph wrote:
 
  Having Gentoo.org forum or wiki down when most of us rely heavily on
  them is not acceptable.
 
 If something so important to you fails to provide the service you need,
 you should demand your money back!
 

And if you want something done right, do it yourself!




Re: [gentoo-user] What Gives - Anyone know?

2009-08-14 Thread Alan McKinnon
On Friday 14 August 2009 14:09:51 CJoeB wrote:
 Hi,

 For the last little while (not sure when it started), Firefox will not
 load .pdf files (also files with a .aspx extention) - it downloads them
 and won't even display them if I try  opening the pdf after download.  I
 have nppdf.so as a plugin.  Opera displays these files just fine - I
 have Opera installed as a backup when Firefox is giving me grief, but I
 don't really like the browser interface.  Guess I'm old school and stick
 with what I am used to - I've always used Netscape, then Mozilla and
 now, Firefox.  Anyone else have the same issue and know what's going on
 and if there is a solution?

Did you install a pdf or download plugin? These often come with default 
settings to save the file to disk instead of view it in the browser.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] gentoo sites go down too much!

2009-08-14 Thread Volker Armin Hemmann
On Freitag 14 August 2009, Neil Bothwick wrote:
 On Thu, 13 Aug 2009 14:29:52 -0600, Joseph wrote:
  Having Gentoo.org forum or wiki down when most of us rely heavily on
  them is not acceptable.

 If something so important to you fails to provide the service you need,
 you should demand your money back!

I have to add that the gentoo foundation acts quickly and refunds all the 
money you paid for their services without any fuss.

;)



Re: [gentoo-user] reiserfsck failing.

2009-08-14 Thread Alan McKinnon
On Friday 14 August 2009 14:27:09 William Kenworthy wrote:
 That being said, it would be nice to separate the recordings and backups
 though one large partition makes for easier management.  And there is
 the fact that some maintenance patches to reiserfs mean I cant use
 kernels 2.6.29-30 (oops's) - though a trial of a vanilla .31-rc worked
 fine so I am waiting until thats out.

Hmm, do I need to be worried? 

I use reiser almost everywhere and keep the kernel current, so I'm on .30

I haven't heard of such a bug as you describe though, just one that affects 
IDE chipsets on 32 bit 2.6.30

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] reiserfsck failing.

2009-08-14 Thread William Kenworthy
On Fri, 2009-08-14 at 14:37 +0200, Alan McKinnon wrote:
 On Friday 14 August 2009 14:27:09 William Kenworthy wrote:
  That being said, it would be nice to separate the recordings and backups
  though one large partition makes for easier management.  And there is
  the fact that some maintenance patches to reiserfs mean I cant use
  kernels 2.6.29-30 (oops's) - though a trial of a vanilla .31-rc worked
  fine so I am waiting until thats out.
 
 Hmm, do I need to be worried? 
 
 I use reiser almost everywhere and keep the kernel current, so I'm on .30
 
 I haven't heard of such a bug as you describe though, just one that affects 
 IDE chipsets on 32 bit 2.6.30


Probably not as its rare and I dont know why I (seemingly only me in
fact) have tripped over it:
http://bugs.gentoo.org/show_bug.cgi?id=274883

BillK

-- 
William Kenworthy bi...@iinet.net.au
Home in Perth!




Re: [gentoo-user] reiserfsck failing.

2009-08-14 Thread Alan McKinnon
On Friday 14 August 2009 14:47:26 William Kenworthy wrote:
 On Fri, 2009-08-14 at 14:37 +0200, Alan McKinnon wrote:
  On Friday 14 August 2009 14:27:09 William Kenworthy wrote:
   That being said, it would be nice to separate the recordings and
   backups though one large partition makes for easier management.  And
   there is the fact that some maintenance patches to reiserfs mean I cant
   use kernels 2.6.29-30 (oops's) - though a trial of a vanilla .31-rc
   worked fine so I am waiting until thats out.
 
  Hmm, do I need to be worried?
 
  I use reiser almost everywhere and keep the kernel current, so I'm on .30
 
  I haven't heard of such a bug as you describe though, just one that
  affects IDE chipsets on 32 bit 2.6.30

 Probably not as its rare and I dont know why I (seemingly only me in
 fact) have tripped over it:
 http://bugs.gentoo.org/show_bug.cgi?id=274883

Cool, thanks

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] Firefox PDF problem (was something vague)

2009-08-14 Thread Philip Webb
090814 CJoeB wrote:
 For the last little while (not sure when it started),
 Firefox will not load .pdf files (also files with a .aspx extention) -
 it downloads them and won't even display them
 if I try  opening the pdf after download.  I have nppdf.so as a plugin.

Which version of Firefox ?  Which PDF files (one or more examples) ?

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] gentoo sites go down too much!

2009-08-14 Thread Daniel da Veiga
On Fri, Aug 14, 2009 at 09:38, Volker Armin
Hemmannvolkerar...@googlemail.com wrote:
 On Freitag 14 August 2009, Neil Bothwick wrote:
 On Thu, 13 Aug 2009 14:29:52 -0600, Joseph wrote:
  Having Gentoo.org forum or wiki down when most of us rely heavily on
  them is not acceptable.

 If something so important to you fails to provide the service you need,
 you should demand your money back!

 I have to add that the gentoo foundation acts quickly and refunds all the
 money you paid for their services without any fuss.


And from this whole thread, the conclusion is:

If you can't do it better, don't complain at all. (specially when its for free)


-- 
Daniel da Veiga



[gentoo-user] prelink Gentoo docs confusing

2009-08-14 Thread Nikos Chantziaras

On http://www.gentoo.org/doc/en/prelink-howto.xml is says:

  You do not need to set FEATURES=prelink in your make.conf
  file; Portage will automatically support prelink if it can
  find the prelink binary.

Does that mean there's a way portage will call prelink on its own when 
it finds it?  Well, it doesn't here.  I still have to manually prelink 
or have a cron job.





Re: [gentoo-user] What Gives - Anyone know?

2009-08-14 Thread Hilco Wijbenga
2009/8/14 CJoeB colleen.bea...@gmail.com:
 For the last little while (not sure when it started), Firefox will not
 load .pdf files (also files with a .aspx extension) - it downloads them
 and won't even display them if I try  opening the pdf after download.  I
 have nppdf.so as a plugin.  Opera displays these files just fine - I
 have Opera installed as a backup when Firefox is giving me grief, but I
 don't really like the browser interface.  Guess I'm old school and stick
 with what I am used to - I've always used Netscape, then Mozilla and
 now, Firefox.  Anyone else have the same issue and know what's going on
 and if there is a solution?

I'm experiencing the same thing but I'm afraid I have no solution
other than first saving to file and then manually opening the PDF. :-(
I haven't really looked either, though. :-)



Re: [gentoo-user] gentoo sites go down too much!

2009-08-14 Thread forgottenwizard
On 12:28 Fri 14 Aug, Daniel da Veiga wrote:
 On Fri, Aug 14, 2009 at 09:38, Volker Armin
 Hemmannvolkerar...@googlemail.com wrote:
  On Freitag 14 August 2009, Neil Bothwick wrote:
  On Thu, 13 Aug 2009 14:29:52 -0600, Joseph wrote:
   Having Gentoo.org forum or wiki down when most of us rely heavily on
   them is not acceptable.
 
  If something so important to you fails to provide the service you need,
  you should demand your money back!
 
  I have to add that the gentoo foundation acts quickly and refunds all the
  money you paid for their services without any fuss.
 
 
 And from this whole thread, the conclusion is:
 
 If you can't do it better, don't complain at all. (specially when its for 
 free)
 
 
 -- 
 Daniel da Veiga
 

There is a forum for Gentoo at Linuxquestions.org. If forums.gentoo.org
is down too much, the mailing list and irc can't handle the problem, and
the wiki is unreliable, LQ.org is another possible source, though the
number of people there seems minimal.




Re: [gentoo-user] What Gives - Anyone know?

2009-08-14 Thread Paul Hartman
On Fri, Aug 14, 2009 at 7:09 AM, CJoeBcolleen.bea...@gmail.com wrote:
 Hi,

 For the last little while (not sure when it started), Firefox will not
 load .pdf files (also files with a .aspx extention) - it downloads them
 and won't even display them if I try  opening the pdf after download.  I
 have nppdf.so as a plugin.  Opera displays these files just fine - I
 have Opera installed as a backup when Firefox is giving me grief, but I
 don't really like the browser interface.  Guess I'm old school and stick
 with what I am used to - I've always used Netscape, then Mozilla and
 now, Firefox.  Anyone else have the same issue and know what's going on
 and if there is a solution?

I think you need to give us some details. What architecture?
32-bit/64-bit? What version of Firefox? What package owns nppdf.so and
what version is that package? How are your MIME type handlers set up
in Firefox for PDF files? etc.

I use Okular for viewing PDF on ~amd64 and can view files downloaded
with Firefox just fine.



Re: [gentoo-user] Re: [OT] fast recursive local copy

2009-08-14 Thread Dirk Heinrichs
Am Freitag 14 August 2009 10:50:45 schrieb Joerg Schilling:

 The fastest method for copying directory trees (typicalls 30% faster than
 any other known method) is to use star:

 star -copy -p -xdot -acl -sparse -C fromdir . todir

That's a really nice one. However, does it also handle the update todir 
case mentioned above?

Bye...

Dirk


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: [OT] fast recursive local copy

2009-08-14 Thread Joerg Schilling
Dirk Heinrichs dirk.heinri...@online.de wrote:

 Am Freitag 14 August 2009 10:50:45 schrieb Joerg Schilling:

  The fastest method for copying directory trees (typicalls 30% faster than
  any other known method) is to use star:
 
  star -copy -p -xdot -acl -sparse -C fromdir . todir

 That's a really nice one. However, does it also handle the update todir 
 case mentioned above?

star by default only overwrites a file if it is older than the file that is 
going to be extracted.

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] gentoo sites go down too much!

2009-08-14 Thread kashani

Dan Farrell wrote:

On Thu, 13 Aug 2009 20:05:07 +0200
pk pete...@coolmail.se wrote:
 

gentoo.org works for me (both this afternoon, around 15.00 and right
now, 20.03). f.g.o. also works right now. g-w.com also works.


Your're all right; the gentoo.org thing must have been a transient
hiccough somewhere between me and them.  Forum is working fine too. I
was too quick to criticize.  


Also, gentoo-wiki _just_ came back up, apparently.  Nevertheless I
think anyone who uses it agrees that it goes down _too_much_.  


I know, these aren't the gentoo people on the wiki.  I'm more concerned
with the hole it leaves when it disappears than I am with pointing
fingers.  



	I'd like to see the conversation about Gentoo hosting docs in a wiki 
rather than the XML stuff we've got now picked up again. My time is 
limited and I'm not going to learn a whole doc system when I can just 
fix the docs in a tenth of the time it takes to even figure out where to 
get the Gentoo docs in order to edit them. Hell someone can wiki - xml 
the thing and create official releases every couple of months while the 
wiki docs continue on as unstable releases.


kashani




Re: [gentoo-user] Re: [OT] fast recursive local copy

2009-08-14 Thread Dirk Heinrichs
Am Freitag 14 August 2009 18:11:34 schrieb Joerg Schilling:

 star by default only overwrites a file if it is older than the file that is
 going to be extracted.

Thanks. Will definitely try it out on next occasion.

Bye...

Dirk


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: [OT] fast recursive local copy

2009-08-14 Thread Dirk Heinrichs
Am Freitag 14 August 2009 10:50:45 schrieb Joerg Schilling:

 Note that on Linux you may need to add -no-fsync because file I/O is slow
 on Linux. On Solaris, not using -no-fsync slows things down by aprox. 10%
 but allows star to grant that everything was really copied to stable
 storage. On Linux, ot using -no-fsync slows things down by aprox. 400%,
 this is why I recommend to add -no-fsync.

This is also quite interesting. Do you have some (links to) recent benchmarks 
which would second that? Could this even be depending on the filesystem used on 
Linux?

Bye...

Dirk


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] print side-by-side diff w/ highlighting?

2009-08-14 Thread Grant Edwards
I'm trying to find some sort of side-by-side diff that will
highlight the differences and produce pritable output (e.g.
html or postscript).

I've found tools to colorize diff output, but not for
side-by-side.  I've found tools to display side-by-side
differences with hightlights, but they can't print.

How do I print side-by-side diff with changes hightlighted
(e.g. bold or colored)?

-- 
Grant Edwards   grante Yow! My polyvinyl cowboy
  at   wallet was made in Hong
   visi.comKong by Montgomery Clift!




[gentoo-user] Re: print side-by-side diff w/ highlighting?

2009-08-14 Thread Grant Edwards
On 2009-08-14, Grant Edwards grant.b.edwa...@gmail.com wrote:
 I'm trying to find some sort of side-by-side diff that will
 highlight the differences and produce pritable output (e.g.
 html or postscript).

 I've found tools to colorize diff output, but not for
 side-by-side.

To be a bit more specific, I've found colordiff but it
highlights entire lines rather than just changes, and it
doesn't product printable output.

-- 
Grant Edwards   grante Yow! I brought my BOWLING
  at   BALL -- and some DRUGS!!
   visi.com




Re: [gentoo-user] print side-by-side diff w/ highlighting?

2009-08-14 Thread Paul Hartman
On Fri, Aug 14, 2009 at 12:56 PM, Grant
Edwardsgrant.b.edwa...@gmail.com wrote:
 I'm trying to find some sort of side-by-side diff that will
 highlight the differences and produce pritable output (e.g.
 html or postscript).

 I've found tools to colorize diff output, but not for
 side-by-side.  I've found tools to display side-by-side
 differences with hightlights, but they can't print.

 How do I print side-by-side diff with changes hightlighted
 (e.g. bold or colored)?

redirect diff -y to printer?



[gentoo-user] Re: print side-by-side diff w/ highlighting?

2009-08-14 Thread Nikos Chantziaras

On 08/14/2009 08:58 PM, Grant Edwards wrote:

On 2009-08-14, Grant Edwardsgrant.b.edwa...@gmail.com  wrote:

I'm trying to find some sort of side-by-side diff that will
highlight the differences and produce pritable output (e.g.
html or postscript).

I've found tools to colorize diff output, but not for
side-by-side.


To be a bit more specific, I've found colordiff but it
highlights entire lines rather than just changes


In diffs, changes are always lines.  It's line based, not character based.




[gentoo-user] Re: print side-by-side diff w/ highlighting?

2009-08-14 Thread Grant Edwards
On 2009-08-14, Paul Hartman paul.hartman+gen...@gmail.com wrote:
 On Fri, Aug 14, 2009 at 12:56 PM, Grant Edwardsgrant.b.edwa...@gmail.com 
 wrote:
 I'm trying to find some sort of side-by-side diff that will
 highlight the differences and produce pritable output (e.g.
 html or postscript).

 I've found tools to colorize diff output, but not for
 side-by-side.  I've found tools to display side-by-side
 differences with hightlights, but they can't print.

 How do I print side-by-side diff with changes hightlighted
 (e.g. bold or colored)?

 redirect diff -y to printer?

I want changes highlighted.  All diff -y does is mark which
lines have changed.

-- 
Grant Edwards   grante Yow! Quick, sing me the
  at   BUDAPEST NATIONAL ANTHEM!!
   visi.com




[gentoo-user] Re: print side-by-side diff w/ highlighting?

2009-08-14 Thread Grant Edwards
On 2009-08-14, Nikos Chantziaras rea...@arcor.de wrote:
 On 08/14/2009 08:58 PM, Grant Edwards wrote:
 On 2009-08-14, Grant Edwardsgrant.b.edwa...@gmail.com  wrote:
 I'm trying to find some sort of side-by-side diff that will
 highlight the differences and produce pritable output (e.g.
 html or postscript).

 I've found tools to colorize diff output, but not for
 side-by-side.

 To be a bit more specific, I've found colordiff but it
 highlights entire lines rather than just changes

 In diffs, changes are always lines.  It's line based, not
 character based.

Which is why it does't meet my requirements.  I want the
changes hightlighted.  I've found tons of utilties (like meld)
that do that on-screen, but I haven't found any that print.

-- 
Grant Edwards   grante Yow! I know things about
  at   TROY DONAHUE that can't
   visi.comeven be PRINTED!!




[gentoo-user] Seamonkey and google

2009-08-14 Thread Dale
Hi,

I been looking for a way to disable this so called feature but I
can't find anything to disable this Google thing Seamonkey does.  I
bookmark a lot of websites and use keywords to go to them.  The local
weather forecast for example is fore.  It works but Google gets in the
way.

Now to explain a little.  When I mouse click in the address location and
enter fore, this little thing pops up and wants to do a Google search
for the word fore.  Naturally this does NOT get me to the local
weather forecast since it bypasses looking for the keyword.  I like the
history feature that pops up but I want to get rid of the Google search
part.  If I want to search for something with Google, I type in gg and
then type in what I am searching for.

I have looked in preferences, even looked at the USE flags but I can't
figure out how to get rid of this.  It is annoying as heck.  I like
Google but I know how to get there myself, even have a shortcut to get
there.  How do I get rid of this?

Thanks much.

Dale

:-)  :-) 



Re: [gentoo-user] Seamonkey and google

2009-08-14 Thread Paul Hartman
On Fri, Aug 14, 2009 at 2:45 PM, Dalerdalek1...@gmail.com wrote:
 Hi,

 I been looking for a way to disable this so called feature but I
 can't find anything to disable this Google thing Seamonkey does.  I
 bookmark a lot of websites and use keywords to go to them.  The local
 weather forecast for example is fore.  It works but Google gets in the
 way.

 Now to explain a little.  When I mouse click in the address location and
 enter fore, this little thing pops up and wants to do a Google search
 for the word fore.  Naturally this does NOT get me to the local
 weather forecast since it bypasses looking for the keyword.  I like the
 history feature that pops up but I want to get rid of the Google search
 part.  If I want to search for something with Google, I type in gg and
 then type in what I am searching for.

 I have looked in preferences, even looked at the USE flags but I can't
 figure out how to get rid of this.  It is annoying as heck.  I like
 Google but I know how to get there myself, even have a shortcut to get
 there.  How do I get rid of this?

 Thanks much.

 Dale

On my Seamonkey, it only does the Google search if I move down to the
Google search 'fore' and click it/press enter on it. Otherwise it
goes to DNS. (I do not have Internet Keywords enabled in seamonkey)



[gentoo-user] Problem emerging alsa-utils-1.0.20-r4

2009-08-14 Thread Mick
I seem to have the same problem like this bug report:

http://bugs.gentoo.org/show_bug.cgi?id=281434

which I am not sure why it has been marked as resolved/invalid.

This is what happens:

 Emerging (1 of 1) media-sound/alsa-utils-1.0.20-r4
 * alsa-utils-1.0.20.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ 
ok ]
 * checking ebuild checksums ;-) ... [ 
ok ]
 * checking auxfile checksums ;-) ...[ 
ok ]
 * checking miscfile checksums ;-) ...   [ 
ok ]
 * Obsolete config /etc/modules.d/alsa found.
 * 
 * ERROR: media-sound/alsa-utils-1.0.20-r4 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called pkg_setup
 *   alsa-utils-1.0.20-r4.ebuild, line   34:  Called die
 * The specific snippet of code:
 *  die Move /etc/modules.d/alsa to /etc/modprobe.d/alsa.conf.
 *  The die message:
 *   Move /etc/modules.d/alsa to /etc/modprobe.d/alsa.conf.
 * 
 * If you need support, post the topmost build error, and the call stack if 
relevant.
 * A complete build log is located 
at '/var/log/portage/media-sound:alsa-utils-1.0.20-r4:20090814-200133.log'.
 * The ebuild environment file is located 
at '/var/tmp/portage/media-sound/alsa-utils-1.0.20-r4/temp/die.env'.


Have you had such a problem?  What's the fix?

I have both files mentioned:

# ls -la /etc/modules.d/alsa
-rw-r--r-- 1 root root 202 Jan  5  2009 /etc/modules.d/alsa
# ls -la /etc/modprobe.d/alsa.conf
-rw-r--r-- 1 root root 1028 Jul  4 09:27 /etc/modprobe.d/alsa.conf

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Seamonkey and google

2009-08-14 Thread Dale
Paul Hartman wrote:
 On Fri, Aug 14, 2009 at 2:45 PM, Dalerdalek1...@gmail.com wrote:
   
 Hi,

 I been looking for a way to disable this so called feature but I
 can't find anything to disable this Google thing Seamonkey does.  I
 bookmark a lot of websites and use keywords to go to them.  The local
 weather forecast for example is fore.  It works but Google gets in the
 way.

 Now to explain a little.  When I mouse click in the address location and
 enter fore, this little thing pops up and wants to do a Google search
 for the word fore.  Naturally this does NOT get me to the local
 weather forecast since it bypasses looking for the keyword.  I like the
 history feature that pops up but I want to get rid of the Google search
 part.  If I want to search for something with Google, I type in gg and
 then type in what I am searching for.

 I have looked in preferences, even looked at the USE flags but I can't
 figure out how to get rid of this.  It is annoying as heck.  I like
 Google but I know how to get there myself, even have a shortcut to get
 there.  How do I get rid of this?

 Thanks much.

 Dale
 

 On my Seamonkey, it only does the Google search if I move down to the
 Google search 'fore' and click it/press enter on it. Otherwise it
 goes to DNS. (I do not have Internet Keywords enabled in seamonkey)


   

I think what it is is this, I click on the location bar and my mouse
moves down a little when I type something in.  I'm a old fart so I look
down at my keyboard a lot when I type, especially when I am coming back
from the mouse.  I think that when I hit return the mouse is just under
the location bar which when I hit return makes it go to the Google
search thing.

Makes me want to learn source code and get rid of that and a couple
other things too.  I don't like that right click options to much.

Maybe this is one of those times when problem is in the chair?  ;-)

Dale

:-)  :-) 



Re: [gentoo-user] Problem emerging alsa-utils-1.0.20-r4

2009-08-14 Thread DPX-Infinity
2009/8/15 Mick michaelkintz...@gmail.com

 I seem to have the same problem like this bug report:

 http://bugs.gentoo.org/show_bug.cgi?id=281434

 which I am not sure why it has been marked as resolved/invalid.

 This is what happens:
 
  Emerging (1 of 1) media-sound/alsa-utils-1.0.20-r4
  * alsa-utils-1.0.20.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [
 ok ]
  * checking ebuild checksums ;-) ... [
 ok ]
  * checking auxfile checksums ;-) ...[
 ok ]
  * checking miscfile checksums ;-) ...   [
 ok ]
  * Obsolete config /etc/modules.d/alsa found.
  *
  * ERROR: media-sound/alsa-utils-1.0.20-r4 failed.
  * Call stack:
  * ebuild.sh, line   49:  Called pkg_setup
  *   alsa-utils-1.0.20-r4.ebuild, line   34:  Called die
  * The specific snippet of code:
  *  die Move /etc/modules.d/alsa to
 /etc/modprobe.d/alsa.conf.
  *  The die message:
  *   Move /etc/modules.d/alsa to /etc/modprobe.d/alsa.conf.
  *
  * If you need support, post the topmost build error, and the call stack if
 relevant.
  * A complete build log is located
 at '/var/log/portage/media-sound:alsa-utils-1.0.20-r4:20090814-200133.log'.
  * The ebuild environment file is located
 at '/var/tmp/portage/media-sound/alsa-utils-1.0.20-r4/temp/die.env'.
 

 Have you had such a problem?  What's the fix?

 I have both files mentioned:

 # ls -la /etc/modules.d/alsa
 -rw-r--r-- 1 root root 202 Jan  5  2009 /etc/modules.d/alsa
 # ls -la /etc/modprobe.d/alsa.conf
 -rw-r--r-- 1 root root 1028 Jul  4 09:27 /etc/modprobe.d/alsa.conf

 --
 Regards,
 Mick

Obviously, the existence of /etc/modules.d/alsa does not allow emerge to
continue. I think you must merge alsa file to alsa.conf and then delete
alsa.


[gentoo-user] Re: print side-by-side diff w/ highlighting?

2009-08-14 Thread Grant Edwards
On 2009-08-14, Grant Edwards grant.b.edwa...@gmail.com wrote:

 How do I print side-by-side diff with changes hightlighted
 (e.g. bold or colored)?

FWIW, I couldn't find anything, so I wrote my own utility. It's
not very general purpose since it assumes that there've been
only changed lines and no lines inserted/deleted.  But, it
works for my use-case and it generates either HTML or
postscript output. :)

-- 
Grant Edwards   grante Yow! What a COINCIDENCE!
  at   I'm an authorized SNOOTS
   visi.comOF THE STARS dealer!!




Re: [gentoo-user] Problem emerging alsa-utils-1.0.20-r4

2009-08-14 Thread Mick
On Friday 14 August 2009, DPX-Infinity wrote:
 2009/8/15 Mick michaelkintz...@gmail.com

  I seem to have the same problem like this bug report:
 
  http://bugs.gentoo.org/show_bug.cgi?id=281434
 
  which I am not sure why it has been marked as resolved/invalid.
 
  This is what happens:
  
 
   Emerging (1 of 1) media-sound/alsa-utils-1.0.20-r4
 
   * alsa-utils-1.0.20.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...
  [ ok ]
   * checking ebuild checksums ;-) ...
  [ ok ]
   * checking auxfile checksums ;-) ...   
  [ ok ]
   * checking miscfile checksums ;-) ...  
  [ ok ]
   * Obsolete config /etc/modules.d/alsa found.
   *
   * ERROR: media-sound/alsa-utils-1.0.20-r4 failed.
   * Call stack:
   * ebuild.sh, line   49:  Called pkg_setup
   *   alsa-utils-1.0.20-r4.ebuild, line   34:  Called die
   * The specific snippet of code:
   *  die Move /etc/modules.d/alsa to
  /etc/modprobe.d/alsa.conf.
   *  The die message:
   *   Move /etc/modules.d/alsa to /etc/modprobe.d/alsa.conf.
   *
   * If you need support, post the topmost build error, and the call stack
  if relevant.
   * A complete build log is located
  at
  '/var/log/portage/media-sound:alsa-utils-1.0.20-r4:20090814-200133.log'.
  * The ebuild environment file is located
  at '/var/tmp/portage/media-sound/alsa-utils-1.0.20-r4/temp/die.env'.
  
 
  Have you had such a problem?  What's the fix?
 
  I have both files mentioned:
 
  # ls -la /etc/modules.d/alsa
  -rw-r--r-- 1 root root 202 Jan  5  2009 /etc/modules.d/alsa
  # ls -la /etc/modprobe.d/alsa.conf
  -rw-r--r-- 1 root root 1028 Jul  4 09:27 /etc/modprobe.d/alsa.conf
 
  --
  Regards,
  Mick

 Obviously, the existence of /etc/modules.d/alsa does not allow emerge to
 continue. I think you must merge alsa file to alsa.conf and then delete
 alsa.

Perhaps I'm too tired to understand the message ... is it telling to move 
file /etc/modules.d/alsa to /etc/modprobe.d/alsa.conf by hand?

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Problem emerging alsa-utils-1.0.20-r4

2009-08-14 Thread Roy Wright


On Aug 14, 2009, at 3:09 PM, Mick wrote:


* The specific snippet of code:
*  die Move /etc/modules.d/alsa to /etc/modprobe.d/ 
alsa.conf.

*  The die message:
*   Move /etc/modules.d/alsa to /etc/modprobe.d/alsa.conf.

Have you had such a problem?  What's the fix?

I have both files mentioned:

# ls -la /etc/modules.d/alsa
-rw-r--r-- 1 root root 202 Jan  5  2009 /etc/modules.d/alsa
# ls -la /etc/modprobe.d/alsa.conf
-rw-r--r-- 1 root root 1028 Jul  4 09:27 /etc/modprobe.d/alsa.conf


On one system I just had I had to copy the contents of /etc/modules.d/ 
alsa to /etc/modprobe.d/alsa.conf, while on another system to remove / 
etc/modules.d/alsa (it's contents were already in /etc/modprobe.d/ 
alsa.conf).


Hint, keep a backup of /etc/modules.d/alsa until after you have  
verified the upgrade is working.


HTH,
Roy



Re: [gentoo-user] Problem emerging alsa-utils-1.0.20-r4

2009-08-14 Thread DPX-Infinity
2009/8/15 Mick michaelkintz...@gmail.com

 On Friday 14 August 2009, DPX-Infinity wrote:
  2009/8/15 Mick michaelkintz...@gmail.com
 
   I seem to have the same problem like this bug report:
  
   http://bugs.gentoo.org/show_bug.cgi?id=281434
  
   which I am not sure why it has been marked as resolved/invalid.
  
   This is what happens:
   
  
Emerging (1 of 1) media-sound/alsa-utils-1.0.20-r4
  
* alsa-utils-1.0.20.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...
   [ ok ]
* checking ebuild checksums ;-) ...
   [ ok ]
* checking auxfile checksums ;-) ...
   [ ok ]
* checking miscfile checksums ;-) ...
   [ ok ]
* Obsolete config /etc/modules.d/alsa found.
*
* ERROR: media-sound/alsa-utils-1.0.20-r4 failed.
* Call stack:
* ebuild.sh, line   49:  Called pkg_setup
*   alsa-utils-1.0.20-r4.ebuild, line   34:  Called die
* The specific snippet of code:
*  die Move /etc/modules.d/alsa to
   /etc/modprobe.d/alsa.conf.
*  The die message:
*   Move /etc/modules.d/alsa to /etc/modprobe.d/alsa.conf.
*
* If you need support, post the topmost build error, and the call
 stack
   if relevant.
* A complete build log is located
   at
  
 '/var/log/portage/media-sound:alsa-utils-1.0.20-r4:20090814-200133.log'.
   * The ebuild environment file is located
   at '/var/tmp/portage/media-sound/alsa-utils-1.0.20-r4/temp/die.env'.
   
  
   Have you had such a problem?  What's the fix?
  
   I have both files mentioned:
  
   # ls -la /etc/modules.d/alsa
   -rw-r--r-- 1 root root 202 Jan  5  2009 /etc/modules.d/alsa
   # ls -la /etc/modprobe.d/alsa.conf
   -rw-r--r-- 1 root root 1028 Jul  4 09:27 /etc/modprobe.d/alsa.conf
  
   --
   Regards,
   Mick
 
  Obviously, the existence of /etc/modules.d/alsa does not allow emerge to
  continue. I think you must merge alsa file to alsa.conf and then delete
  alsa.

 Perhaps I'm too tired to understand the message ... is it telling to move
 file /etc/modules.d/alsa to /etc/modprobe.d/alsa.conf by hand?

 --
 Regards,
 Mick

Yes. As I can see, these files are identical in sytax. Just add information
from alsa to alsa.conf if any and them rm alsa.


[gentoo-user] Xorg dropping keyboard events

2009-08-14 Thread Moshe Kamensky
There was a thread with this subject a few months ago, which I have 
deleted. The observable situation is that a key is ignored or (more 
annoyingly) repeated indefinitely. This happens in X but not on the 
console. I was wondering if this was resolved.

Thanks,
Moshe



pgpuOAzacSG4A.pgp
Description: PGP signature


Re: [gentoo-user] Seamonkey and google

2009-08-14 Thread Paul Hartman
On Fri, Aug 14, 2009 at 3:14 PM, Dalerdalek1...@gmail.com wrote:
 Paul Hartman wrote:
 On Fri, Aug 14, 2009 at 2:45 PM, Dalerdalek1...@gmail.com wrote:

 Hi,

 I been looking for a way to disable this so called feature but I
 can't find anything to disable this Google thing Seamonkey does.  I
 bookmark a lot of websites and use keywords to go to them.  The local
 weather forecast for example is fore.  It works but Google gets in the
 way.

 Now to explain a little.  When I mouse click in the address location and
 enter fore, this little thing pops up and wants to do a Google search
 for the word fore.  Naturally this does NOT get me to the local
 weather forecast since it bypasses looking for the keyword.  I like the
 history feature that pops up but I want to get rid of the Google search
 part.  If I want to search for something with Google, I type in gg and
 then type in what I am searching for.

 I have looked in preferences, even looked at the USE flags but I can't
 figure out how to get rid of this.  It is annoying as heck.  I like
 Google but I know how to get there myself, even have a shortcut to get
 there.  How do I get rid of this?

 Thanks much.

 Dale


 On my Seamonkey, it only does the Google search if I move down to the
 Google search 'fore' and click it/press enter on it. Otherwise it
 goes to DNS. (I do not have Internet Keywords enabled in seamonkey)




 I think what it is is this, I click on the location bar and my mouse
 moves down a little when I type something in.  I'm a old fart so I look
 down at my keyboard a lot when I type, especially when I am coming back
 from the mouse.  I think that when I hit return the mouse is just under
 the location bar which when I hit return makes it go to the Google
 search thing.

 Makes me want to learn source code and get rid of that and a couple
 other things too.  I don't like that right click options to much.

 Maybe this is one of those times when problem is in the chair?  ;-)

 Dale

Perhaps :) I've definitely done that about a million times by
accident. What happens to me usually is I click in the location bar so
I can type a URL, then I nudge my mouse out of the way so I can see
what I'm typing. As I'm typing, the mouse drifts 1 pixel, causing the
Google search 'blah' bar to become highlighted. When I press enter
to go to my URL, it googles the URL instead, causing me to mutter
workplace-inappropriate things to myself. My cure for this: use
control-L instead of the mouse to put the focus on the location bar...
except for the 50% of the time when I forget to do that and use the
mouse instead.

I use the Google search from the location bar on purpose all the time,
though; it is my primary method of googling. I type something and
press downarrow-enter and off I go. I can't even remember the last
time I went to google.com directly.



Re: [gentoo-user] Problem emerging alsa-utils-1.0.20-r4

2009-08-14 Thread Alan McKinnon
On Friday 14 August 2009 22:23:14 Mick wrote:
  Obviously, the existence of /etc/modules.d/alsa does not allow emerge to
  continue. I think you must merge alsa file to alsa.conf and then delete
  alsa.

 Perhaps I'm too tired to understand the message ... is it telling to move
 file /etc/modules.d/alsa to /etc/modprobe.d/alsa.conf by hand?

Yes.

/etc/modules.d/ is a kernel 2.4 thing. kernel 2.6 uses /etc/modprobe.d/ and 
the modprobe utilities will automatically search it for config files, which 
makes /etc/modprobe.conf and modules-update obsolete.

Someone has obviously taken the brave step and put a stake in the sane with a 
signpost saying 2.4 is not supported.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: [OT] fast recursive local copy

2009-08-14 Thread Joerg Schilling
Dirk Heinrichs dirk.heinri...@online.de wrote:

 Am Freitag 14 August 2009 10:50:45 schrieb Joerg Schilling:

  Note that on Linux you may need to add -no-fsync because file I/O is slow
  on Linux. On Solaris, not using -no-fsync slows things down by aprox. 10%
  but allows star to grant that everything was really copied to stable
  storage. On Linux, ot using -no-fsync slows things down by aprox. 400%,
  this is why I recommend to add -no-fsync.

 This is also quite interesting. Do you have some (links to) recent benchmarks 
 which would second that? Could this even be depending on the filesystem used 
 on 
 Linux?

I did this test aprox. 3-4 years ago. You may try to do an own test and report.

I did just rerun a test on a recent ubuntu in a VirtualBox environment and the 
speedup factor with -no-fsync was 8x.

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] Seamonkey and google

2009-08-14 Thread Dale
Paul Hartman wrote:
 On Fri, Aug 14, 2009 at 3:14 PM, Dalerdalek1...@gmail.com wrote:
   
 Paul Hartman wrote:
 
 On Fri, Aug 14, 2009 at 2:45 PM, Dalerdalek1...@gmail.com wrote:

   
 Hi,

 I been looking for a way to disable this so called feature but I
 can't find anything to disable this Google thing Seamonkey does.  I
 bookmark a lot of websites and use keywords to go to them.  The local
 weather forecast for example is fore.  It works but Google gets in the
 way.

 Now to explain a little.  When I mouse click in the address location and
 enter fore, this little thing pops up and wants to do a Google search
 for the word fore.  Naturally this does NOT get me to the local
 weather forecast since it bypasses looking for the keyword.  I like the
 history feature that pops up but I want to get rid of the Google search
 part.  If I want to search for something with Google, I type in gg and
 then type in what I am searching for.

 I have looked in preferences, even looked at the USE flags but I can't
 figure out how to get rid of this.  It is annoying as heck.  I like
 Google but I know how to get there myself, even have a shortcut to get
 there.  How do I get rid of this?

 Thanks much.

 Dale

 
 On my Seamonkey, it only does the Google search if I move down to the
 Google search 'fore' and click it/press enter on it. Otherwise it
 goes to DNS. (I do not have Internet Keywords enabled in seamonkey)



   
 I think what it is is this, I click on the location bar and my mouse
 moves down a little when I type something in.  I'm a old fart so I look
 down at my keyboard a lot when I type, especially when I am coming back
 from the mouse.  I think that when I hit return the mouse is just under
 the location bar which when I hit return makes it go to the Google
 search thing.

 Makes me want to learn source code and get rid of that and a couple
 other things too.  I don't like that right click options to much.

 Maybe this is one of those times when problem is in the chair?  ;-)

 Dale
 

 Perhaps :) I've definitely done that about a million times by
 accident. What happens to me usually is I click in the location bar so
 I can type a URL, then I nudge my mouse out of the way so I can see
 what I'm typing. As I'm typing, the mouse drifts 1 pixel, causing the
 Google search 'blah' bar to become highlighted. When I press enter
 to go to my URL, it googles the URL instead, causing me to mutter
 workplace-inappropriate things to myself. My cure for this: use
 control-L instead of the mouse to put the focus on the location bar...
 except for the 50% of the time when I forget to do that and use the
 mouse instead.

 I use the Google search from the location bar on purpose all the time,
 though; it is my primary method of googling. I type something and
 press downarrow-enter and off I go. I can't even remember the last
 time I went to google.com directly.


   

What you are describing is what I am talking about.  I just always go to
Google because my bookmark has a lot of preferences set up there, like
display 100 results instead of 10. 

Only thing is, most all the time I am not wanting to search for
anything but just go to a bookmark.  It's annoying as heck.

Dale

:-)  :-)



Re: [gentoo-user] Seamonkey and google

2009-08-14 Thread pk
Dale wrote:
 Now to explain a little.  When I mouse click in the address location and
 enter fore, this little thing pops up and wants to do a Google search
 for the word fore.  Naturally this does NOT get me to the local
 weather forecast since it bypasses looking for the keyword.  I like the
 history feature that pops up but I want to get rid of the Google search
 part.  If I want to search for something with Google, I type in gg and
 then type in what I am searching for.

You can try:

http://maketecheasier.com/28-coolest-firefox-aboutconfig-tricks/2008/08/21
(most entries in about:config is shared between seamonkey/firefox)

http://kb.mozillazine.org/About:config_entries

keyword.URL and/or keyword.enabled may be what you are looking for.

HTH

Best regards

Peter Karlsson



Re: [gentoo-user] print side-by-side diff w/ highlighting?

2009-08-14 Thread felix
On Fri, Aug 14, 2009 at 05:56:03PM +, Grant Edwards wrote:
 I'm trying to find some sort of side-by-side diff that will
 highlight the differences and produce pritable output (e.g.
 html or postscript).
 
 I've found tools to colorize diff output, but not for
 side-by-side.  I've found tools to display side-by-side
 differences with hightlights, but they can't print.
 
 How do I print side-by-side diff with changes hightlighted
 (e.g. bold or colored)?

Emacs has ediff-files and ediff-buffers commands which colorize the
individual changes within each line, altho they seem to be word based
rather than character, such that if only a single character is
different, it will highlight the entire word containing that character.

I do not know how to print from it, however; it is interactive.  There
may be some obscure command, but since I haven't had or used a
functioning printer in years, I don't know.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



[gentoo-user] Gcc 4.3.4 --- 4.4.1

2009-08-14 Thread felix
Are any special steps needed to handle this upgrade, other than using
gcc-config to change the current selection?  Do I need to follow the
upgrade docs, such as  remergeing system and world?

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] Seamonkey and google

2009-08-14 Thread Sebastian Beßler
Dale schrieb:
 Hi,

 I have looked in preferences, even looked at the USE flags but I can't
 figure out how to get rid of this.  It is annoying as heck.  I like
 Google but I know how to get there myself, even have a shortcut to get
 there.  How do I get rid of this?

type about:config as URL
then search for browser.urlbar.showSearch and set it to false.
That should get rid of it.

Greets

Sebastian





[gentoo-user] Re: Gcc 4.3.4 --- 4.4.1

2009-08-14 Thread walt

On 08/14/2009 04:17 PM, fe...@crowfix.com wrote:

Are any special steps needed to handle this upgrade, other than using
gcc-config to change the current selection?  Do I need to follow the
upgrade docs, such as  remergeing system and world?


I'm no expert, but I just did the same upgrade this morning, and all I
did was run fix_libtool_files afterward.  So far, no problems.

The really nasty upgrade is when the version of libstdc++ changes, which
it hasn't lately, and then you need to recompile every app that uses it.




Re: [gentoo-user] print side-by-side diff w/ highlighting?

2009-08-14 Thread Volker Armin Hemmann
On Freitag 14 August 2009, Grant Edwards wrote:
 I'm trying to find some sort of side-by-side diff that will
 highlight the differences and produce pritable output (e.g.
 html or postscript).

 I've found tools to colorize diff output, but not for
 side-by-side.  I've found tools to display side-by-side
 differences with hightlights, but they can't print.

 How do I print side-by-side diff with changes hightlighted
 (e.g. bold or colored)?

kdiff3?
xxdiff?



Re: [gentoo-user] Seamonkey and google

2009-08-14 Thread Sebastian Beßler
Dale schrieb:

 Now that seems to have worked.  Will test this more later tho.  Supper
 time here.
 
 THANKS MUCH !! !! !!
 
 Dale
 
 :-)  :-) 
 

No thx.
Its nice to help a fellow seamonkey-user

Sebastian



Re: [gentoo-user] Re: Gcc 4.3.4 --- 4.4.1

2009-08-14 Thread felix
On Fri, Aug 14, 2009 at 04:29:17PM -0700, walt wrote:
 On 08/14/2009 04:17 PM, fe...@crowfix.com wrote:
  Are any special steps needed to handle this upgrade, other than using
  gcc-config to change the current selection?  Do I need to follow the
  upgrade docs, such as  remergeing system and world?
 
 I'm no expert, but I just did the same upgrade this morning, and all I
 did was run fix_libtool_files afterward.  So far, no problems.
 
 The really nasty upgrade is when the version of libstdc++ changes, which
 it hasn't lately, and then you need to recompile every app that uses it.

Right, but the upgrade guide specifically mentions

  If you install a new major version of GCC (such as 3.3.6 to 3.4.5),
  the system will not switch over to use it automatically.  You'll
  have to explicitly request the change because the migration process
  might require some additional steps.  If you decide not to switch,
  Portage will continue to use older version of your compiler until
  you change your mind, or remove the old compiler from the system.
  Non-major gcc upgrades are switched automatically for you (such as
  3.4.5 to 3.4.6).

This being 4.3.4 to 4.1.1 looks like a major version change according
to the upgrade guide.  It doesn't mention what a switch manual takes,
but it does list a whole series of steps such as remerging system and
world without saying exactly when they or how much are necessary.  I'd
just as soon not do that unless necessary, but I'd much more regret
not doing it if I should have.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



[gentoo-user] Re: Gcc 4.3.4 --- 4.4.1

2009-08-14 Thread Nikos Chantziaras

On 08/15/2009 03:33 AM, fe...@crowfix.com wrote:

[...]
This being 4.3.4 to 4.1.1 looks like a major version change according
to the upgrade guide.  It doesn't mention what a switch manual takes,
but it does list a whole series of steps such as remerging system and
world without saying exactly when they or how much are necessary.  I'd
just as soon not do that unless necessary, but I'd much more regret
not doing it if I should have.


Switching the compiler with gcc-config is enough with this update. 
There are no ABI changes and packages built with GCC 4.3 will happily 
work together with the ones build with 4.4.


I am doing an emerge -e system and emerge -e world anyway though since I 
want to take advantage of the faster code 4.4 produces in general, but 
also more specific whether or not the new graphite optimizer of GCC 
4.4 (needs graphite USE flag enabled for gcc) will give additional 
performance gain.


(If anyone is interested in that, you need to first add:

  -floop-interchange -floop-strip-mine -floop-block

to CFLAGS/CXXFLAGS (the options enabling the Graphite optimizer) and 
then emerge -e system and world.)





Re: [gentoo-user] Xorg dropping keyboard events

2009-08-14 Thread Stroller


On 14 Aug 2009, at 21:26, Moshe Kamensky wrote:


There was a thread with this subject a few months ago, which I have
deleted


LMGTHFY:
http://www.google.com/search?ie=utf8oe=utf8q=Xorg%20dropping%20keyboard%20events

Stroller.




Re: [gentoo-user] Seamonkey and google

2009-08-14 Thread Dale
pk wrote:
 Dale wrote:
   
 Now to explain a little.  When I mouse click in the address location and
 enter fore, this little thing pops up and wants to do a Google search
 for the word fore.  Naturally this does NOT get me to the local
 weather forecast since it bypasses looking for the keyword.  I like the
 history feature that pops up but I want to get rid of the Google search
 part.  If I want to search for something with Google, I type in gg and
 then type in what I am searching for.
 

 You can try:

 http://maketecheasier.com/28-coolest-firefox-aboutconfig-tricks/2008/08/21
 (most entries in about:config is shared between seamonkey/firefox)

 http://kb.mozillazine.org/About:config_entries

 keyword.URL and/or keyword.enabled may be what you are looking for.

 HTH

 Best regards

 Peter Karlsson


   

I'm going to save those links.  I don't understand what 90% of that
config stuff does and I would hate to mess it up.

Thanks for the links.

Dale

:-)  :-)