Re: [gentoo-user] Re: my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-12 Thread Brandon Vargo
On Mon, 2009-10-12 at 01:18 -0400, Denis wrote:
 libguide.so

I don't have this one, and I don't know what it is.

 libgmp.so.3

This is probably the gmp (GNU Multiple Precision) arithmetic library.

 libvml.so

I don't have this one, but I'm pretty sure it is part of Intel MKL (see
below).

 libmkl.so
 libmkl_def.so
 libmkl_lapack32.so
 libmkl_lapack64.so
 libmkl_p3.so
 libmkl_p4.so
 libmkl_p4p.so
 libmkl_vml_def.so
 libmkl_vml_p3.so
 libmkl_vml_p4.so
 libmkl_vml_p4p.so

These are part of the Intel Math Kernel Library (MKL).

My original Mathematica install had the following Qt libraries, in
addition to a Qt plugins directory:
libQt3Support.so.4  libQtCore.so.4  libQtGui.so.4  libQtNetwork.so.4
libQtSql.so.4  libQtSvg.so.4  libQtXml.so.4

These are all Qt 4 libraries, which did not exist when Mathematica 5
came out. I do not know what toolkit Wolfram used instead, but I was
hoping it would be Qt3, GTK, or some other standard toolkit, as that
would have potentially solved your issue. Are the files you listed all
of the .so files under your Mathematica installation directory? Also,
could you post the output of ldd on your main Mathematica executable?
The main executable for me is
(installdir)/SystemFiles/FrontEnd/Binaries/Linux-x86-64/Mathematica.
This will indicate what libraries Mathematica uses.

Another thing to try is playing with Java. Mathematica also ships its
own bundled version of Java (again, Mathematica 7, I don't know about
version 5). I have never tried to have Mathematica use sun-jdk instead
of the bundled version, but it may be worth a go. As far as I know,
Mathematica only uses Java for J/Link and not for the user interface
(unless using custom interfaces with GUIKit - I've never tried that), so
this probably is not the culprit, but you might try it. I have had
problems with Java and Xlib/XCB in the past, even when there was no GUI.

Another place where you might find more information or issues is
Help-About-System Information-Devices (or similar).

You might also check to see if you have any updates available:
http://www.wolfram.com/products/applications/updates/


If none of the above works, I would suggest reverting the upgraded
packages individually to figure out which package or packages causes the
issue. From there it would be much easier to figure out what is causing
the issue.

If you post the output of the ldd command above, I might be able to find
the source of the issue, or at least narrow down the search for which
package is causing the issue, but other than that there's not much more
I can do. Sorry, I don't have a copy of Mathematica 5 to play with to
see if I can reproduce this; I still used Maple back then, before I made
the switch to Mathematica 6.


Is there a particular function that seems to trigger the crash when
scrolling or does scrolling crash X every time? 


Good luck. I hope any of this helps.


Regards,

Brandon Vargo




Re: [gentoo-user] Re: my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-12 Thread Denis
Brandon,

Thank you for helping me along here!

Here is the output of ldd Mathematica:

linux-gate.so.1 =  (0xb8042000)
libm.so.6 = /lib/libm.so.6 (0xb800c000)
libpthread.so.0 = /lib/libpthread.so.0 (0xb7ff4000)
librt.so.1 = /lib/librt.so.1 (0xb7feb000)
libXt.so.6 = /usr/lib/libXt.so.6 (0xb7f9a000)
libXext.so.6 = /usr/lib/libXext.so.6 (0xb7f8b000)
libXmu.so.6 = /usr/lib/libXmu.so.6 (0xb7f74000)
libSM.so.6 = /usr/lib/libSM.so.6 (0xb7f6a000)
libICE.so.6 = /usr/lib/libICE.so.6 (0xb7f51000)
libX11.so.6 = /usr/lib/libX11.so.6 (0xb7e3a000)
libc.so.6 = /lib/libc.so.6 (0xb7cf7000)
/lib/ld-linux.so.2 (0xb8043000)
libuuid.so.1 = /lib/libuuid.so.1 (0xb7cf2000)
libxcb.so.1 = /usr/lib/libxcb.so.1 (0xb7cd7000)
libXau.so.6 = /usr/lib/libXau.so.6 (0xb7cd3000)
libXdmcp.so.6 = /usr/lib/libXdmcp.so.6 (0xb7ccd000)
libdl.so.2 = /lib/libdl.so.2 (0xb7cc9000)

So far, I see a bunch of references Java directories in the
installation and a few .jar files.  I haven't seen any reference to
Qt.  I did see the GUI-Kit and JLink in the AddOns directory.

Basically, the only thing that triggers the crash is if I hold down
the mouse button and drag the scrollbar UP right after I drag it DOWN.
 Dragging it down doesn't seem to make any difference by itself and
hasn't crashed the program until I reverse and drag UP.  Sometimes
going up slowly will be OK too, but if I drag UP rapidly, it will
crash.  I can use the scroll arrows on top and bottom of the
scrollbar, and it will scroll without incident, albeit slowly.

Can the integrity of the above library links be checked, or would
rebuilding all of them again make any difference?  What is the command
to determine which package the given .so.* file belongs to?

Many thanks,
Denis



Re: [gentoo-user] my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-12 Thread Dale
Denis wrote:
 He may also want to ask the question Do I *really* need acroread? and get
 the full complete answer. In my experience very few people actually need all
 the features in acroread, and okular|evince are quite adequate
 

 I am flexible on acroread, but acroread doesn't crash X - just gets a
 little backed up.  I am OK with that.

 But X crashing from my use of Mathematica is absolutely unacceptable -
 this is what I need for my work.  Before I upgraded to xorg-1.6 and
 libxcb-1.4, this *never* happened, not once, *in several years*, under
 extensive use, and I have been using the same Mathematica version all
 this time, 5.2.  So if downgrading X and libxcb is what I have to do
 to restore reliable operation of my machine with Mathematica, then
 this is what I am doing next.

 Let me ask this next:  is the downgrade of libxcb and xorg-server possible?


   

I have downgraded xorg-server before and it is not to bad.  Just mask
the current version and do a emerge -uvDNa world.  You may have to mask
a couple more packages but the error will tell you which ones they are. 
I was able to just mask the one tho. 

If you are using hal, you may have to reemerge the mouse and keyboard
drivers.  I find them using this:  equery list xf86-input  That should
list the drivers that need to be reemerged.  I have three.

Dale

:-)  :-) 



[gentoo-user] ati-drivers + DRM anybody?

2009-10-12 Thread Helmut Jarausch
Hi,

has anybody had success with ati-drivers + DRM ?

(Without DRM ,i.e. 2.6.31-gentoo-r2 w/o DRM + x11-drivers/ati-drivers-9.9-r2
 works just fine.)

I have the  2.6.31-r2 kernel with 
  devices-drivers/Graphic support/Direct Rendering Manager/ATI Radeon
  (I have an ATI Radeon HD 3300 onboard graphics chip)

x11-drivers/ati-drivers-9.9-r2

but this fails. 

What am I missing, or isn't it assumed to work?

Many thanks for a hint,
Helmut.


From Xorg.0.log
(WW) Warning, couldn't open module dri2
(II) UnloadModule: dri2
(EE) Failed to load module dri2 (module does not exist, 0)
(II) LoadModule: fglrx
(II) Loading /usr/lib64/xorg/modules/drivers//fglrx_drv.so
(II) Module fglrx: vendor=FireGL - ATI Technologies Inc.
compiled for 1.4.99.906, module version = 8.65.4
Module class: X.Org Video Driver

drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)

(EE) fglrx(0): Failed to initialize ASIC in kernel.
(EE) fglrx(0): [pcie] Failed to gather memory of size 0Kb for PCIe. Error (-22)
(II) fglrx(0): [drm] DRM buffer queue setup: nbufs = 100 bufsize = 65536
(II) fglrx(0): RandR 1.2 support is enabled!
(II) fglrx(0): RandR 1.2 rotation support is enabled!
(II) fglrx(0): FBADPhys: 0xc560 FBMappedSize: 0x1000
(II) fglrx(0): Reserved 0xc560 bytes of sideport memory for power saving
(EE) fglrx(0): FB pci_device_map_range error!(EE) fglrx(0): Failed to map FB 
memory

(II) fglrx(0): driver needs X.org 1.4.x.y with x.y = 99.906
(WW) fglrx(0): could not detect X server version (query_status=-1)
(EE) fglrx(0): atiddxDriScreenInit failed, GPS not been initialized. 
(WW) fglrx(0): ***
(WW) fglrx(0): * DRI initialization failed!  *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available*
(WW) fglrx(0): * *

(EE) fglrx(0): PPLIB: PPLIB is not initialized!.
(EE) fglrx(0): PPLIB: swlPPLibNotifyEventToPPLib() failed!
(EE) fglrx(0):ulEventType = 000c, ulEventData = 0001
(EE) fglrx(0): PPLIB: PPLIB is not initialized!.
(EE) fglrx(0): PPLIB: swlPPLibNotifyEventToPPLib() failed!
(EE) fglrx(0):ulEventType = 0002, ulEventData = 
(EE) fglrx(0): Failed to disable interrupts. Errorcode -22
(EE) fglrx(0): firegl_SetSuspendResumeState FAILED -9.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany




Re: [gentoo-user] ati-drivers + DRM anybody?

2009-10-12 Thread Volker Armin Hemmann
On Montag 12 Oktober 2009, Helmut Jarausch wrote:
 Hi,
 
 has anybody had success with ati-drivers + DRM ?
 
 (Without DRM ,i.e. 2.6.31-gentoo-r2 w/o DRM +
  x11-drivers/ati-drivers-9.9-r2 works just fine.)
 
 I have the  2.6.31-r2 kernel with
   devices-drivers/Graphic support/Direct Rendering Manager/ATI Radeon
   (I have an ATI Radeon HD 3300 onboard graphics chip)
 
 x11-drivers/ati-drivers-9.9-r2
 
 but this fails.
 
 What am I missing, or isn't it assumed to work?

it does not work. It never did and it won't work in the near future. You try 
to have two drivers for the same hardware - that naver works.



Re: [gentoo-user] What is a packet? Was: Checksum error

2009-10-12 Thread Dale
Volker Armin Hemmann wrote:
 On Sonntag 11 Oktober 2009, Dale wrote:
   
 Alan McKinnon wrote:
 
 On Sunday 11 October 2009 22:40:31 Peter Ruskin wrote:
   
 On Sunday 11 October 2009, KH wrote:
 
 KH schrieb:
   
 Peter Humphrey schrieb:
 
 The difficulty is in keeping up with the
 idiom. Personally, I prefer to rely on what I've known for the
 last 60 years or so and to hell with the trendies.

 Things like its = belonging to it; it's = it is.
   
 Hi,

 how old are you? How is the oldest person on the list? But this
 is OT, too.

 kh
 
 To correct myself (shame on me). Who is the oldest ...
   
 I'm 71 ... is that old enough?
 
 Oh dear. I used to call myself an old codger. At a mere sprightly 44, do
 I now have to downgrade myself to still wet behind the ears?
   
 I'm 42 so I got your back.  lol
 

 wow, from your posts I had you sorted at '24 - max, probably 21' ...


   

I'm a kid at heart.  LOL  Because of health issues, I feel about 70 or
so.  http://psoriasis.org  I have most of the things that go with it. 
Going to the Dr is a battle.  I have to sign a AMA to go home.  They
usually bring that after the Dr sees me and I am signing out.  I'm like
that little train, 'I think I can, I think I can.'

Dale

:-)  :-) 





Re: [gentoo-user] Migration to baselayout2 / openrc

2009-10-12 Thread Dale
Eray Aslan wrote:
 On 10.10.2009 13:01, meino.cra...@gmx.de wrote:
   
  On gentoo web I found this: 2.  
   Migration to OpenRC 
   Migration to OpenRC is fairly straightforward; it will be pulled in
   as part of your regular upgrade process by your package manager.
 

 PPP startup scripts still do not work with openrc.  Just a heads up in
 case you use them.

   

OK.  This has me wondering something.  I have DSL but I have dial-up for
my back-up.  Does either of these use ppp?  I think my modem uses pppoe
but I think that is between the modem and ATT but nothing to do with
the connection between the puter and the modem.  I do know the dial-up
modem uses ppp tho.  That I am sure of.

Would this affect me at least on the dial-up?  DSL would be OK right?

Dale

:-)  :-) 



Re: [gentoo-user] ati-drivers + DRM anybody?

2009-10-12 Thread Helmut Jarausch
On 12 Oct, Volker Armin Hemmann wrote:
 On Montag 12 Oktober 2009, Helmut Jarausch wrote:
 Hi,
 
 has anybody had success with ati-drivers + DRM ?
 
 (Without DRM ,i.e. 2.6.31-gentoo-r2 w/o DRM +
  x11-drivers/ati-drivers-9.9-r2 works just fine.)
 
 I have the  2.6.31-r2 kernel with
   devices-drivers/Graphic support/Direct Rendering Manager/ATI Radeon
   (I have an ATI Radeon HD 3300 onboard graphics chip)
 
 x11-drivers/ati-drivers-9.9-r2
 
 but this fails.
 
 What am I missing, or isn't it assumed to work?
 
 it does not work. It never did and it won't work in the near future. You try 
 to have two drivers for the same hardware - that naver works.

So, how to get 3D acceleration?
Thanks,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] ati-drivers + DRM anybody?

2009-10-12 Thread Volker Armin Hemmann
On Montag 12 Oktober 2009, Helmut Jarausch wrote:
 On 12 Oct, Volker Armin Hemmann wrote:
  On Montag 12 Oktober 2009, Helmut Jarausch wrote:
  Hi,
 
  has anybody had success with ati-drivers + DRM ?
 
  (Without DRM ,i.e. 2.6.31-gentoo-r2 w/o DRM +
   x11-drivers/ati-drivers-9.9-r2 works just fine.)
 
  I have the  2.6.31-r2 kernel with
devices-drivers/Graphic support/Direct Rendering Manager/ATI Radeon
(I have an ATI Radeon HD 3300 onboard graphics chip)
 
  x11-drivers/ati-drivers-9.9-r2
 
  but this fails.
 
  What am I missing, or isn't it assumed to work?
 
  it does not work. It never did and it won't work in the near future. You
  try to have two drivers for the same hardware - that naver works.
 
 So, how to get 3D acceleration?
 Thanks,
 Helmut.
 

ati-drivers don't need kernel dri for 3d acceleration. Just emerge the 
drivers, set up xorg.conf to load it - or run aticonfig --initial, eselect 
opengl set ati and you are done.

Pretty much as described as in the guide.



Re: [gentoo-user] Re: Syntax for masking kde:4?

2009-10-12 Thread Peter Humphrey
On Sunday 11 October 2009 20:16:24 Nikos Chantziaras wrote:

 Portage unfortunately doesn't allow wildcards in the package name of
 atoms.  But you can install KDE4 on one machine and then use:

qlist -ISLC kde-base/*:4.3

 to generate a list to put in package.mask in the machines you don't want
 KDE4.  On my machine, the above command results in the following (it
 should at least cut down on the rest of the packages you need to mask):

Excellent idea! I'll get started straight away - thanks Nikos.

A third possibility, besides the two I mentioned just now: a good dose of 
lateral thinking.

-- 
Rgds
Peter

PS. Thanks also to Jonathan C who's saved me even that little trouble.



Re: [gentoo-user] Re: commands to show where a package is installed?

2009-10-12 Thread Peter Humphrey
On Sunday 11 October 2009 22:23:11 Alan McKinnon wrote:

  I knew how to do it but I thought it would return a lot of hits from
  anything containing the letter q.  Later on when I had a little bit of
  time to sit here, I tried it.  It only returned the one result.  Still
  sort of surprised about that.  I actually just ran equery b q .  Neato
  !  It has a microscope and read my mind.  o_O

 which doesn't accept regular expressions or wild-cards, it wants a literal
 value. The man page says it will return the path used if the exact argument
 is entered on the command line. So you can only get one answer

Interesting. I tried it just out of interest and I got two:

$ equery b q
[ Searching for file(s) q in *... ]
app-portage/portage-utils-0.1.29 (/usr/bin/q)
sys-libs/ncurses-5.6-r2 (/usr/share/terminfo/q)
$

-- 
Rgds
Peter



Re: [gentoo-user] What is a packet? Was: Checksum error

2009-10-12 Thread Peter Humphrey
On Sunday 11 October 2009 20:21:29 Philip Webb wrote:
 091011 Volker Armin Hemmann wrote:
  Paket = packet ; Paket = package

 Oh dear ! -- English calls such words 'false friends' !
 My German-English dictionary (Langenscheidt) suggests E 'package' = G
 'Pack', while E 'packet' = G 'kleines Pack' or 'Päckchen'.

 In English, a 'packet' calls to mind something in an envelope, eg a letter;
 'package' brings a picture of something tied up with string, ie a parcel.
 In computer English, a 'package' is eg Gentoo's 'app-arch/bzip2-1.0.5-r1';
 a 'packet' is a fragment of a file sent through the Internet,
 different packets possibly taking different routes to their destination,
 where they are reassembled into the complete file.

More generally, I think of a packet as a unit of something - soap powder, 
data, correspondence - while a package is a bundle of things - programs, 
Christmas presents, packets of sweets.

No doubt that doesn't accord with any dictionary, but it seems to work.

-- 
Rgds
Peter



Re: [gentoo-user] Syntax for masking kde:4?

2009-10-12 Thread Peter Humphrey
On Sunday 11 October 2009 22:30:29 Alan McKinnon wrote:

 Have you considered simply not installing them at all? If you don't want
 apache, cups, syslog-ng and bind you don't take any special steps, you
 simply don't emerge them.

No, but those are single packages, more or less. KDE is hundreds of packages - 
not the same scale at all.

 Unless of course you do want kde:3.5 (I don't recall if you mentioned that
 or not).

Yes, where a GUI is installed it's kde:3.5, and I want to keep it, except on a 
test box where it can be kept safely confined.

 OT: I really like kde:4 myself, but it's such a different product to
 kde:3.5 that I honestly feel it's official name should have been kde4. If
 the kde devs had done that, your issue would simply never have happened.
 This versioning is causing problems for many people, you are not the only
 one wanting to avoid kde:4

Oh woe! I've just run a sync and found another 25 of them. The other day I put 
13 entries into package.mask and that held the fort for the time; now I have 
another battle to fight. There will be more, too.

What I need is an automask to complement autounmask, or perhaps a kde4 USE 
flag.

-- 
Rgds
Peter



Re: [gentoo-user] What is a packet? Was: Checksum error

2009-10-12 Thread Peter Humphrey
On Sunday 11 October 2009 21:40:31 Peter Ruskin wrote:

 I'm 71 ... is that old enough?

Too much for me - I'm only 66. Working on it though.

-- 
Rgds
Peter



Re: [gentoo-user] What is a packet? Was: Checksum error

2009-10-12 Thread Alan McKinnon
On Monday 12 October 2009 10:09:52 Dale wrote:
 I'm a kid at heart.  LOL  Because of health issues, I feel about 70 or
 so.  http://psoriasis.org  I have most of the things that go with it. 
 Going to the Dr is a battle.  I have to sign a AMA to go home.  They
 usually bring that after the Dr sees me and I am signing out.  I'm like
 that little train, 'I think I can, I think I can.'
 
 Dale
 
 :-)  :-) 
 

I feel your pain, Dale. My girlfriend has mild eczema and it drives her crazy. 
I can only imagine what dealing with psoriasis must be like.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Syntax for masking kde:4?

2009-10-12 Thread Dale
Peter Humphrey wrote:
 On Sunday 11 October 2009 22:30:29 Alan McKinnon wrote:

   
 Have you considered simply not installing them at all? If you don't want
 apache, cups, syslog-ng and bind you don't take any special steps, you
 simply don't emerge them.
 

 No, but those are single packages, more or less. KDE is hundreds of packages 
 - 
 not the same scale at all.

   
 Unless of course you do want kde:3.5 (I don't recall if you mentioned that
 or not).
 

 Yes, where a GUI is installed it's kde:3.5, and I want to keep it, except on 
 a 
 test box where it can be kept safely confined.

   
 OT: I really like kde:4 myself, but it's such a different product to
 kde:3.5 that I honestly feel it's official name should have been kde4. If
 the kde devs had done that, your issue would simply never have happened.
 This versioning is causing problems for many people, you are not the only
 one wanting to avoid kde:4
 

 Oh woe! I've just run a sync and found another 25 of them. The other day I 
 put 
 13 entries into package.mask and that held the fort for the time; now I have 
 another battle to fight. There will be more, too.

 What I need is an automask to complement autounmask, or perhaps a kde4 USE 
 flag.

   

I would do as someone else suggested, run autounmask for kde 4 and move
the list package.unmask to package.mask.  You would likely have to add
to that over time but it is at least a start.  Keep in mind, once KDE 4
is stable, you can't use autounmask to do this since it is already
unmasked. 

According to -dev, KDE 4 is going stable pretty soon. 
http://bugs.gentoo.org/show_bug.cgi?id=287697  It's already in the works. 

Dale

:-)  :-) 



Re: [gentoo-user] Syntax for masking kde:4?

2009-10-12 Thread Alan McKinnon
On Monday 12 October 2009 11:30:22 Peter Humphrey wrote:
  OT: I really like kde:4 myself, but it's such a different product to
  kde:3.5 that I honestly feel it's official name should have been kde4. If
  the kde devs had done that, your issue would simply never have happened.
  This versioning is causing problems for many people, you are not the only
  one wanting to avoid kde:4
 
 Oh woe! I've just run a sync and found another 25 of them. The other day I
  put  13 entries into package.mask and that held the fort for the time; now
  I have another battle to fight. There will be more, too.

Yes, there will be more. And it's not likely to stop.

It really is a pity that two different products have the same name with 
different slots. Causes no end of trouble, as you are seeing.

But it's too late to change it now

 What I need is an automask to complement autounmask, or perhaps a kde4 USE 
 flag.

autounmask outputs a file, right? Move it from the package.unmask to the 
package.mask area - the format is the same for both.

A USE flag won't help you here. USE s to enable/disable *features* of certain 
packages, not enable/disable  entire packages or prevent them from being 
installed.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] What is a packet? Was: Checksum error

2009-10-12 Thread Dale
Alan McKinnon wrote:
 On Monday 12 October 2009 10:09:52 Dale wrote:
   
 I'm a kid at heart.  LOL  Because of health issues, I feel about 70 or
 so.  http://psoriasis.org  I have most of the things that go with it. 
 Going to the Dr is a battle.  I have to sign a AMA to go home.  They
 usually bring that after the Dr sees me and I am signing out.  I'm like
 that little train, 'I think I can, I think I can.'

 Dale

 :-)  :-) 

 

 I feel your pain, Dale. My girlfriend has mild eczema and it drives her 
 crazy. 
 I can only imagine what dealing with psoriasis must be like.

   

I am disabled from it.  I had a in law relative once that didn't
understand it and made some comments about me being disabled from it.  I
just raised my shirt a little.  No one else in that family has said a
negative thing about it since. 

I think the pecking order for skin is, eczema, dermatitis then
psoriasis.  I sometimes get the first two backwards tho.  One affects
the first layer of skin, the other affects the top two layers and
psoriasis affects all three.  I usually explain it this way, psoriasis
comes from the inside not the outside.

It has cost me a lot tho.  Living on disability sucks, no kids since I
don't want to pass this on to them, and lets not mention dating.  If the
skin doesn't bother them, the income part does. 

Dale

:-)  :-) 



Re: [gentoo-user] Re: commands to show where a package is installed?

2009-10-12 Thread Alan McKinnon
On Monday 12 October 2009 11:11:06 Peter Humphrey wrote:
 On Sunday 11 October 2009 22:23:11 Alan McKinnon wrote:
   I knew how to do it but I thought it would return a lot of hits from
   anything containing the letter q.  Later on when I had a little bit
   of time to sit here, I tried it.  It only returned the one result. 
   Still sort of surprised about that.  I actually just ran equery b q . 
   Neato !  It has a microscope and read my mind.  o_O
 
  which doesn't accept regular expressions or wild-cards, it wants a
  literal value. The man page says it will return the path used if the
  exact argument is entered on the command line. So you can only get one
  answer
 
 Interesting. I tried it just out of interest and I got two:
 
 $ equery b q
 [ Searching for file(s) q in *... ]
 app-portage/portage-utils-0.1.29 (/usr/bin/q)
 sys-libs/ncurses-5.6-r2 (/usr/share/terminfo/q)

There's always someone willing to go look and find the exceptions :-)

So your box just happens to have *two* files named q -)


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: commands to show where a package is installed?

2009-10-12 Thread Dale
Peter Humphrey wrote:
 On Sunday 11 October 2009 22:23:11 Alan McKinnon wrote:

   
 I knew how to do it but I thought it would return a lot of hits from
 anything containing the letter q.  Later on when I had a little bit of
 time to sit here, I tried it.  It only returned the one result.  Still
 sort of surprised about that.  I actually just ran equery b q .  Neato
 !  It has a microscope and read my mind.  o_O
   
 which doesn't accept regular expressions or wild-cards, it wants a literal
 value. The man page says it will return the path used if the exact argument
 is entered on the command line. So you can only get one answer
 

 Interesting. I tried it just out of interest and I got two:

 $ equery b q
 [ Searching for file(s) q in *... ]
 app-portage/portage-utils-0.1.29 (/usr/bin/q)
 sys-libs/ncurses-5.6-r2 (/usr/share/terminfo/q)
 $

   

Hmmm, two apparently different commands with the same name.  I thought
that wasn't supposed to happen?

Dale

:-) :-) 



Re: [gentoo-user] Re: commands to show where a package is installed?

2009-10-12 Thread Frank Steinmetzger
Am Montag, 12. Oktober 2009 schrieb Dale:

  Interesting. I tried it just out of interest and I got two:
 
  $ equery b q
  [ Searching for file(s) q in *... ]
  app-portage/portage-utils-0.1.29 (/usr/bin/q)
  sys-libs/ncurses-5.6-r2 (/usr/share/terminfo/q)
  $

 Hmmm, two apparently different commands with the same name.  I thought
 that wasn't supposed to happen?

 Dale

Relax, it's just a directory.
-- 
Gruß | Greetings | Qapla'
Killing for peace is like fucking for virginity.


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


Re: [gentoo-user] Re: Blank screen after Xorg update

2009-10-12 Thread Alex Schuster
walt writes:

 On 10/11/2009 02:30 PM, Alex Schuster wrote:
  I wrote:

  And then... we will see. Come on, Gentoo, surprise me, and give me a
  running KDE 4.3 desktop with X and OpenGL and mouse and keyboard. That
  would be great.
 
  And what I got may possibly be all of that, but I cannot see it, as the
  display is just blank...
 
 What I do when faced with an X problem is to type X at a console prompt
 and see if the bare X server starts up normally, i.e. with the black-and-
 white background pattern and the x-cursor.  That at least will separate
 the kde bugs from the xorg bugs.

Yeah, that's what I did.

 I use startx, so doing this trick is easy for me.  If you use a display
 manager like xdm,kdm, etc then you'll need to disable that temporarily
 so you can boot to a console prompt.

I am also not using KDM the moment, because after my last attempt with ati-
drivers, KDE4 did not start from KDM. Using startkde worked fine, though. 
Although I think that even with the display manager running, X -- :1 should 
just start a second server.

I am not sure how the KDE upgrade went, all I can say yet is that using 
kontact on that machine right now via vnc works.

 BTW, did you generate a new xorg.conf after the upgrade?

Not really. There's not too much stuff customized there, so I just kept it, 
replacing only the Driver entry with radeonhd, vesa and such. I used to 
create fresh configs with X -configure, but this stopped working long ago, X 
always crashes when I do this:

(==) Log file: /var/log/Xorg.0.log, Time: Mon Oct 12 11:58:17 2009
List of video drivers:
radeonhd
radeon
ati
fglrx
fbdev
vesa
(WW) fglrx: No matching Device section for instance (BusID PCI:0...@0:17:0) 
found
(WW) fglrx: No matching Device section for instance (BusID PCI:0...@0:18:0) 
found
(WW) fglrx: No matching Device section for instance (BusID PCI:0...@0:18:1) 
found
(WW) fglrx: No matching Device section for instance (BusID PCI:0...@0:18:2) 
found
(WW) fglrx: No matching Device section for instance (BusID PCI:0...@0:19:0) 
found
(WW) fglrx: No matching Device section for instance (BusID PCI:0...@0:19:1) 
found
(WW) fglrx: No matching Device section for instance (BusID PCI:0...@0:19:2) 
found
(WW) fglrx: No matching Device section for instance (BusID PCI:0...@0:20:0) 
found
(WW) fglrx: No matching Device section for instance (BusID PCI:0...@0:20:1) 
found
(WW) fglrx: No matching Device section for instance (BusID PCI:0...@0:20:2) 
found
(WW) fglrx: No matching Device section for instance (BusID PCI:0...@0:20:3) 
found
(WW) fglrx: No matching Device section for instance (BusID PCI:0...@0:20:4) 
found
(WW) fglrx: No matching Device section for instance (BusID PCI:0...@0:20:5) 
found
(WW) fglrx: No matching Device section for instance (BusID PCI:0...@1:5:1) 
found

Backtrace:
0: X(xorg_backtrace+0x37) [0x8136a67]
1: X(xf86CallDriverProbe+0xe8) [0x80ada48]

Fatal server error:
Caught signal 11.  Server aborting


I also tried without an xorg.conf, but then X does not start. Turns out I 
had fbdev in my VIDEO_CARDS a while ago, and did not depclean, so xf86-
video-fbdev was still installed. Removing it, X starts, but of course I also 
get the blank screen, and no apparent errors.
http://wonkology.org/~wonko/tmp/Xorg.log.2.6.28-tuxonice-r3


Okay, what next. This is driving me nuts, I never got great performance from 
my Radeon HD 3200, but at least I always got a display finally, not a blank 
screen. And I always had some X errors I could investigate in order to solve 
the problem, but now I do not really know what to do. File a bug? Plug in a 
PCI card and see what happens then? Try a third monitor?

Wonko



Re: [gentoo-user] Gentoo installation problem.

2009-10-12 Thread igwasm
Thanks. My problem seems in sata drive. If i remove it than installation 
runs good.


- Original Message - 
From: Justin jus...@j-schmitz.net

To: gentoo-user@lists.gentoo.org
Sent: Monday, October 12, 2009 12:06 AM
Subject: Re: [gentoo-user] Gentoo installation problem.





Re: [gentoo-user] Re: mplayer configure weirdness

2009-10-12 Thread Dirk Uys
On Wed, Oct 7, 2009 at 9:56 AM, Igor Nemilentsev trez...@gmail.com wrote:

 On 06-10-2009, Dirk Uys dirkc...@gmail.com wrote:
  I was busy doing a system upgrade which failed halfway (due to the libxcb
  upgrade thing). This left my mplayer broken since ffmpeg was upgraded i
  guess. No problem, just emerge mplayer again. Tried it, and the emerge
 got
  stuck at Checking for freetype = 2.0.9  It just hanged there.
 http://bugs.gentoo.org/show_bug.cgi?id=286866
 I had this problem. I then successfully compiled with USE=-openal
 but about couple days ago I tried with USE=openal and
 all went smoothly.
 I use media-video/mplayer-.

 --
 Whatever you do will be insignificant, but it is very important that you do
 it.
-- Gandhi


 Thanks. that solved the problem for me!


Re: [gentoo-user] Migration to baselayout2 / openrc

2009-10-12 Thread Momesso Andrea
On Monday 12 October 2009 07:33:33 Eray Aslan wrote:
 On 10.10.2009 13:01, meino.cra...@gmx.de wrote:
   On gentoo web I found this: 2.
Migration to OpenRC
Migration to OpenRC is fairly straightforward; it will be pulled in
as part of your regular upgrade process by your package manager.
 
 PPP startup scripts still do not work with openrc.  Just a heads up in
 case you use them.
 

No.

The new /etc/init.d/network script doesn't work support ppp yet, but openrc 
still support the old baselayout behavior.

If you emerge openrc without changing any USE flag, it will have the oldnet 
USE enabled by default, and will support your old /etc/conf.d/net file. So 
there is no problem for ppp users.

---
TopperH
http://topperh.blogspot.com



[gentoo-user] Problem with gethostname() returning incorrect value

2009-10-12 Thread Lie Ryan
Hi,

First, sorry if this is not the correct list.

Second, the background story...

I was tracking a problem that I have always ignored when updating python
on my Gentoo laptop. The problem is that emerge-ing python always fail
when FEATURES=test is on. Usually, I would just turn FEATURES=test
off when updating python, but today I set up to search for the source of
the failure.

After downloading the latest svn version from python and a few hours of
debugging python's test suite; I isolated the problem to this:

lier...@lieryan ~/Desktop/pythontrunk/trunk $ ./python
Python 2.7a0 (trunk:75376M, Oct 12 2009, 22:17:57)
[GCC 4.3.2] on linux2
Type help, copyright, credits or license for more information.
 import socket
 socket.gethostname()
'lieryan'
 socket.gethostbyname(socket.gethostname())
Traceback (most recent call last):
  File stdin, line 1, in module
socket.gaierror: [Errno -2] Name or service not known
 socket.gethostbyname('localhost')
'127.0.0.1'

From that, I see that socket.gethostname() returned 'lieryan' which is
my user name; instead of 'localhost' which is the correct local
machine's name.

Tracking the interpreter's source code, it seems that
socket.gethostname() simply returns what the libc's gethostname()
returns; which man gethostname says The GNU C Library ... implements
gethostname() as a library function that calls uname(2)...

So running uname -a:
lier...@lieryan ~/Desktop/pythontrunk/trunk $ uname -a
Linux lieryan 2.6.28-gentoo-r5-LR-15 #14 SMP Tue Oct 6 18:12:23 EST 2009
x86_64 AMD Turion(tm) 64 X2 AuthenticAMD GNU/Linux

So clearly this is an environmental issue.

=


It appears that gethostname() returns 'lieryan'; which is my user name
instead of 'localhost' which, I believe, should be the correct hostname
for the machine I'm currently in.

Now I know where the source of the problem is; but I don't know how to
fix it.

Anyone got any idea what I should do to change the return value of
gethostname()?

Googling gethostname() only returned various versions of gethostname()
man page. The man pages also mentioned about another libc's function
sethostname() but this system call is not available in python and even
if I write a C script to call sethostname() with the correct value; I
doubt this will really fix the real root cause of the problem.

Anyone got any lead?


Extra information:

lier...@lieryan ~/Desktop/pythontrunk/trunk $ /lib/libc.so.6
GNU C Library stable release version 2.9, by Roland McGrath et al.
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.3.2.
Compiled on a Linux 2.6.28-gentoo-r5-LR-12 system on 2009-07-05.
Available extensions:
C stubs add-on version 2.1.2
crypt add-on version 2.1 by Michael Glad and others
Gentoo snapshot 20081201
Gentoo patchset 5
GNU Libidn by Simon Josefsson
Native POSIX Threads Library by Ulrich Drepper et al
Support for some architectures added on, not maintained in glibc core.
BIND-8.2.3-T5B
For bug reporting instructions, please see:
http://www.gnu.org/software/libc/bugs.html.




[gentoo-user] Gnome Edit Menus

2009-10-12 Thread dhk
After the last update when I got Gnome 2.26 Most everything the the main
application menu was gone.  I right clicked on the main app panel and
selected Edit Menus and after making a few changes I pressed Revert
and now Edit Menus doesn't work at all.  The window doesn't even come up.

How can I fix this?  Does anyone know the command line for Edit Menus?

Thanks,

dhk



Re: [gentoo-user] What is a packet? Was: Checksum error

2009-10-12 Thread Alan McKinnon
On Monday 12 October 2009 12:13:19 Dale wrote:
 Alan McKinnon wrote:
  On Monday 12 October 2009 10:09:52 Dale wrote:
  I'm a kid at heart.  LOL  Because of health issues, I feel about 70 or
  so.  http://psoriasis.org  I have most of the things that go with it.
  Going to the Dr is a battle.  I have to sign a AMA to go home.  They
  usually bring that after the Dr sees me and I am signing out.  I'm like
  that little train, 'I think I can, I think I can.'
 
  Dale
 
  :-)  :-)
 
  I feel your pain, Dale. My girlfriend has mild eczema and it drives her
  crazy. I can only imagine what dealing with psoriasis must be like.
 
 I am disabled from it.  I had a in law relative once that didn't
 understand it and made some comments about me being disabled from it.  I
 just raised my shirt a little.  No one else in that family has said a
 negative thing about it since.

All disabled folks have funny stories to relate :-)

I work at an ISP and there's 1 (yes, just one) disabled bay on our entire 
parking level. A disabled colleague uses it but there's a special kind of 
idiot in the building that things his SUV is shaped like a wheelchair (guess 
where he parks).

What he didn't know is that my colleague works in Security. He's the firewall 
admin, the VPN admin, the packeteer admin and all sorts of other admins too. 
It real funny, every day Mr. Special parks in the disabled bay, his internet 
doesn't work.

We're still waiting for the penny to drop. It's hasn't yet :-)

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Gnome Edit Menus

2009-10-12 Thread Anton Bobov
On Mon, Oct 12, 2009 at 10:13:04 -0400, dhk wrote:
 After the last update when I got Gnome 2.26 Most everything the the main
 application menu was gone.  I right clicked on the main app panel and
 selected Edit Menus and after making a few changes I pressed Revert
 and now Edit Menus doesn't work at all.  The window doesn't even come up.
 
 How can I fix this?  Does anyone know the command line for Edit Menus?

To run Gnome menu editor try

$ alacarte

Also see in ~/.config/menus for menu backups. You can replace current
menu (applications.menu) with older file (applications.menu.undo-*).

And read Gnome 2.26 Upgrade Guide section about menu file-collision:

http://gnome.gentoo.org/howtos/gnome-2.26-upgrade.xml

-- 
Anton



Re: [gentoo-user] Problem with gethostname() returning incorrect value

2009-10-12 Thread Xavier Parizet
Lie Ryan a écrit :
 Hi,

 [SNIP]

 Extra information:
 
 lier...@lieryan ~/Desktop/pythontrunk/trunk $ /lib/libc.so.6

Here the output is clear : lieryan is your machine hostname as well as your
username... So check your /etc/hosts and either edit the line containing
127.0.0.1 like this:
127.0.0.1 lieryan.your dns domain name lieryan localhost
or set HOSTNAME variable in /etc/conf.d/hostname to localhost, put the error
returned by python seems to indicate that you forgot to edit /etc/hosts to put
the definition of lieryan hostname ip address.

HTH.

 [SNIP]


-- 
  Xavier Parizet
YaGB :   http://gentooist.com
GPG  :C7DC B10E FC21 63BE
B453 D239 F6E6 DF65 1569 91BF




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Gnome Edit Menus

2009-10-12 Thread dhk
Anton Bobov wrote:
 On Mon, Oct 12, 2009 at 10:13:04 -0400, dhk wrote:
 After the last update when I got Gnome 2.26 Most everything the the main
 application menu was gone.  I right clicked on the main app panel and
 selected Edit Menus and after making a few changes I pressed Revert
 and now Edit Menus doesn't work at all.  The window doesn't even come up.

 How can I fix this?  Does anyone know the command line for Edit Menus?
 
 To run Gnome menu editor try
 
 $ alacarte
 
 Also see in ~/.config/menus for menu backups. You can replace current
 menu (applications.menu) with older file (applications.menu.undo-*).
 
 And read Gnome 2.26 Upgrade Guide section about menu file-collision:
 
 http://gnome.gentoo.org/howtos/gnome-2.26-upgrade.xml
 

Great Thanks



Re: [gentoo-user] Gentoo installation problem.

2009-10-12 Thread igwasm

Repeat.
Hi. I try to install DVD gentoo 10.0 and happens this: scanning for 
ata_piix and installation freeze. Motherboard Asus P4P800SE. 
My problem is sata drive. If i remove it than installation 
runs good. But I want to install on sata drive.




- Original Message - 
From: Justin jus...@j-schmitz.net

To: gentoo-user@lists.gentoo.org
Sent: Monday, October 12, 2009 12:06 AM
Subject: Re: [gentoo-user] Gentoo installation problem.





[gentoo-user] Re: Gentoo installation problem.

2009-10-12 Thread walt
On 10/12/2009 08:43 AM, igwasm wrote:
 Repeat.
 Hi. I try to install DVD gentoo 10.0 and happens this: scanning for
 ata_piix and installation freeze. Motherboard Asus P4P800SE. My problem
 is sata drive. If i remove it than installation runs good. But I want to
 install on sata drive.

gentoo 10.1 may work better than 10.0.  Why not try it?




[gentoo-user] Re: alsa-driver: Unknown symbol in module error

2009-10-12 Thread Grant
 My Dell Vostro 1320 doesn't mute the external speakers when headphones
 are plugged in.  These guys seem to have fixed the problem by
 upgrading to the latest version of alsa-driver, alsa-lib, and
 alsa-utils:

 http://forums.linuxmint.com/viewtopic.php?f=49t=27987p=168950

 I'm on the latest hardened-sources in the tree which is 2.6.29.  I'm
 thinking I need a newer version of the snd-hda-intel driver and I
 don't want to switch kernels.  I tried to switch to the latest
 alsa-driver, alsa-lib, alsa-utils, and alsa-headers, but I ended up
 with a bunch of Unknown symbol in module errors.  The error is
 described here:

 http://www.gentoo.org/doc/en/alsa-guide.xml

 but the 2 solutions (rm -rf /lib/modules/$(uname -r)/alsa-driver and
 some device_mode stuff) don't work for me.  Does anyone know how I can
 fix this?

 - Grant

I can confirm that the problem is fixed in 2.6.31-gentoo-r2, but I'd
really like to keep my hardened kernel.  Any other ideas as far as
getting alsa-driver to work?

- Grant



[gentoo-user] xfce4 tray icon problems

2009-10-12 Thread Grant
I'm having a problem with xfce4 tray icons all of a sudden.  The
wicd-client icon won't show up, even though the binary executes in a
terminal without error.  I've tried restarting wicd and rebooting.
The twinkle icon shows up in the center of the screen instead of the
tray, and it has its own panel button which is separate from the main
app's panel button.  Does anyone know what could be wrong?

- Grant



Re: [gentoo-user] What is a packet? Was: Checksum error

2009-10-12 Thread Dale
Alan McKinnon wrote:
 On Monday 12 October 2009 12:13:19 Dale wrote:
   
 Alan McKinnon wrote:
 
 On Monday 12 October 2009 10:09:52 Dale wrote:
   
 I'm a kid at heart.  LOL  Because of health issues, I feel about 70 or
 so.  http://psoriasis.org  I have most of the things that go with it.
 Going to the Dr is a battle.  I have to sign a AMA to go home.  They
 usually bring that after the Dr sees me and I am signing out.  I'm like
 that little train, 'I think I can, I think I can.'

 Dale

 :-)  :-)
 
 I feel your pain, Dale. My girlfriend has mild eczema and it drives her
 crazy. I can only imagine what dealing with psoriasis must be like.
   
 I am disabled from it.  I had a in law relative once that didn't
 understand it and made some comments about me being disabled from it.  I
 just raised my shirt a little.  No one else in that family has said a
 negative thing about it since.
 

 All disabled folks have funny stories to relate :-)

 I work at an ISP and there's 1 (yes, just one) disabled bay on our entire 
 parking level. A disabled colleague uses it but there's a special kind of 
 idiot in the building that things his SUV is shaped like a wheelchair (guess 
 where he parks).

 What he didn't know is that my colleague works in Security. He's the firewall 
 admin, the VPN admin, the packeteer admin and all sorts of other admins too. 
 It real funny, every day Mr. Special parks in the disabled bay, his internet 
 doesn't work.

 We're still waiting for the penny to drop. It's hasn't yet :-)

   

I don't have the little thing so that I can park in the disabled parking
spot, yet anyway.  I do think it is funny that the guy can make him pay
for parking where he is not supposed to tho.  Down here, they write
tickets and you get to pay a good size fine for that. 

Dale

:-)  :-) 



Re: [gentoo-user] What is a packet? Was: Checksum error

2009-10-12 Thread Alan McKinnon
On Monday 12 October 2009 18:01:49 Dale wrote:
  All disabled folks have funny stories to relate :-)
 
  I work at an ISP and there's 1 (yes, just one) disabled bay on our
  entire  parking level. A disabled colleague uses it but there's a special
  kind of idiot in the building that things his SUV is shaped like a
  wheelchair (guess where he parks).
 
  What he didn't know is that my colleague works in Security. He's the
  firewall  admin, the VPN admin, the packeteer admin and all sorts of
  other admins too. It real funny, every day Mr. Special parks in the
  disabled bay, his internet doesn't work.
 
  We're still waiting for the penny to drop. It's hasn't yet :-)
 

 
 I don't have the little thing so that I can park in the disabled parking
 spot, yet anyway.  I do think it is funny that the guy can make him pay
 for parking where he is not supposed to tho.  Down here, they write
 tickets and you get to pay a good size fine for that. 
 
 Dale

I live in the deep south of darkest Africa and we do things differently here 
:-)

The cops can't be bothered with tickets so it's up to property owners to 
police the bays. A mate used to manage a supermarket, and had the usual big 
sign that non-disabled people parking in the bays would have their wheels 
clamped and would have to pay a donation to the disabled society to have them 
unclamped.

One day an idiot refused to pay. So he tried to drive off anyway. In a brand 
new Mercedes. Caused about ZAR15,000 damage to his wheel arches rather than 
admit he was wrong and cough up ZAR200 :-)

Darwin gets them all in the end :-)

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] Re: alsa-driver: Unknown symbol in module error

2009-10-12 Thread walt
On 10/12/2009 08:54 AM, Grant wrote:
 My Dell Vostro 1320 doesn't mute the external speakers when headphones
 are plugged in.  These guys seem to have fixed the problem by
 upgrading to the latest version of alsa-driver...
 
 I can confirm that the problem is fixed in 2.6.31-gentoo-r2, but I'd
 really like to keep my hardened kernel.  Any other ideas as far as
 getting alsa-driver to work?


Wait a minute, are you installing the alsa-driver package from portage?
Don't do that, use the alsa drivers that come with the kernel sources
instead.





Re: [gentoo-user] Re: Gentoo installation problem.

2009-10-12 Thread igwasm
- Original Message - 
From: walt w41...@gmail.com

To: gentoo-user@lists.gentoo.org
Sent: Monday, October 12, 2009 7:52 PM
Subject: [gentoo-user] Re: Gentoo installation problem.



On 10/12/2009 08:43 AM, igwasm wrote:

Repeat.
Hi. I try to install DVD gentoo 10.0 and happens this: scanning for
ata_piix and installation freeze. Motherboard Asus P4P800SE. My problem
is sata drive. If i remove it than installation runs good. But I want to
install on sata drive.


gentoo 10.1 may work better than 10.0.  Why not try it?




I agree and will try 10.1. But this problem not only with gentoo. For 
example Suse 11.1 does not see the sata disk. The old distributions with the 
old sata drivers worked better. 





Re: [gentoo-user] Re: alsa-driver: Unknown symbol in module error

2009-10-12 Thread Grant
 My Dell Vostro 1320 doesn't mute the external speakers when headphones
 are plugged in.  These guys seem to have fixed the problem by
 upgrading to the latest version of alsa-driver...

 I can confirm that the problem is fixed in 2.6.31-gentoo-r2, but I'd
 really like to keep my hardened kernel.  Any other ideas as far as
 getting alsa-driver to work?


 Wait a minute, are you installing the alsa-driver package from portage?
 Don't do that, use the alsa drivers that come with the kernel sources
 instead.

It turns out there is 2.6.31-hardened-r2 in the hardened-dev overlay.
I installed that and the included alsa drivers are current enough to
solve my problem.

- Grant



Re: [gentoo-user] [OT] mms protocol ???

2009-10-12 Thread Brahim LARCHET
2009/10/10 Albert Hopkins mar...@letterboxes.org

 On Sat, 2009-10-10 at 07:06 +0200, meino.cra...@gmx.de wrote:
  I want to download a file with an url like this:
 
   mms://path/file
 
   Directly cliking the link/url in firefox does not work.
 
   Is there any tool, with which I cann access that file?

 $ gconftool-2 -g /desktop/gnome/url-handlers/mms/command
 totem %s


 mplayer -dumpstream mms:/path/file  -dumpfile  file.out



Re: [gentoo-user] What is a packet? Was: Checksum error

2009-10-12 Thread pk
Alan McKinnon wrote:

 What he didn't know is that my colleague works in Security. He's the firewall 
 admin, the VPN admin, the packeteer admin and all sorts of other admins too. 
 It real funny, every day Mr. Special parks in the disabled bay, his internet 
 doesn't work.

BOFH![1] ;-)

[1] http://www.theregister.co.uk/odds/bofh/

Best regards

Peter K



Re: [gentoo-user] What is a packet? Was: Checksum error

2009-10-12 Thread Neil Walker
Dale wrote:
 Living on disability sucks,
So why do you?

 If the skin doesn't bother them, the income part does.

You really don't have to be living like that if you don't
want to. It's entirely your choice. Drop me an email at
neil-at-neiljw.net if you want to change things. :)


Be lucky,

Neil
http://www.neiljw.com





Re: [gentoo-user] What is a packet? Was: Checksum error

2009-10-12 Thread Alan McKinnon
On Monday 12 October 2009 21:03:48 pk wrote:
 Alan McKinnon wrote:
  What he didn't know is that my colleague works in Security. He's the
  firewall admin, the VPN admin, the packeteer admin and all sorts of other
  admins too. It real funny, every day Mr. Special parks in the disabled
  bay, his internet doesn't work.
 
 BOFH![1] ;-)
 
 [1] http://www.theregister.co.uk/odds/bofh/

Then you should come work where I work. You'll get to read the motds I put on 
the main access server :-)


-- 
alan dot mckinnon at gmail dot com



[gentoo-user] Re: What is a packet? Was: Checksum error

2009-10-12 Thread Grant Edwards
On 2009-10-11, Alan McKinnon alan.mckin...@gmail.com wrote:

 English is a mess. As a language it's worse than a pig's
 breakfast and makes almost no sense whatsoever to non-native
 speakers. Mind you, it makes about as much sense to native
 speakers as well :-) I had to take 5 years of Latin study in
 high school to understand how my own mother tongue works. Sad
 indictment for a language wouldn't you say?

At least we mostly got rid of the whole gender mess and only
have to worry about objective/subjective case for a few cases.
During a mostly futile attempt to learn German, I had occasion
to read Mark Twin's essay on Germain articles.  IIRC, plotting
out all of the combinations for the takes something like a 
3x9 grid 

-- 
Grant Edwards   grante Yow! What I want to find
  at   out is -- do parrots know
   visi.commuch about Astro-Turf?




Re: [gentoo-user] Re: Blank screen after Xorg update

2009-10-12 Thread Alex Schuster
I wrote:

 walt writes:

  What I do when faced with an X problem is to type X at a console
  prompt and see if the bare X server starts up normally, i.e. with the
  black-and- white background pattern and the x-cursor.  That at least
  will separate the kde bugs from the xorg bugs.
 
 Yeah, that's what I did.

And that was the problem. I am pretty sure this just CANNOT be, but X runs 
fine if I start it via startx or KDM. I think even if the checkerboard X 
background I am used is no longer there, I should at least have seen the 
mouse, but, whatever.
Oh, when I start X with fglrx in xorg.conf then, I get a blank screen again, 
but the keyboard hangs, I have to to the Alt-SysRq-R trick to go back to a 
text console. But that is also blank, the 'textmode' does not help, and I 
have to reboot. But vesa or radeonhd seem to work, at least.


 I am not sure how the KDE upgrade went, all I can say yet is that using
 kontact on that machine right now via vnc works.

It did not work well. I cannot start any WM with KDM, after half a second 
KDM just restarts. I had this before already, but I thought it was related 
to the new ati drivers which I do not use now. XSESSION=kde-4.3 startx works 
though.

But my desktop/session is a mess. Windows have no title bar or border, the 
panel is cleared off most things, and such. I renamed ~/.kde4.2 to ~/.kde4 
before that. But then I cannot start kmail, because it wants to write into 
~/.kde4.2/share/appes/kmail/.

Should I start from scratch? Probably yes. I guess this problem comes from 
switching from +kreprefix to -kdeprefix.

Wonko



Re: [gentoo-user] Re: What is a packet? Was: Checksum error

2009-10-12 Thread Volker Armin Hemmann
On Montag 12 Oktober 2009, Grant Edwards wrote:
 On 2009-10-11, Alan McKinnon alan.mckin...@gmail.com wrote:
  English is a mess. As a language it's worse than a pig's
  breakfast and makes almost no sense whatsoever to non-native
  speakers. Mind you, it makes about as much sense to native
  speakers as well :-) I had to take 5 years of Latin study in
  high school to understand how my own mother tongue works. Sad
  indictment for a language wouldn't you say?
 
 At least we mostly got rid of the whole gender mess and only
 have to worry about objective/subjective case for a few cases.

which makes english a horrible, horrible language.

 During a mostly futile attempt to learn German, I had occasion
 to read Mark Twin's essay on Germain articles.  IIRC, plotting
 out all of the combinations for the takes something like a
 3x9 grid

it is always hard to go from chaos to order.



Re: [gentoo-user] Re: What is a packet? Was: Checksum error

2009-10-12 Thread Peter Humphrey
On Monday 12 October 2009 20:37:07 Grant Edwards wrote:

 At least we mostly got rid of the whole gender mess and only
 have to worry about objective/subjective case for a few cases.

I don't understand either of these two statements.

-- 
Rgds
Peter



Re: [gentoo-user] What is a packet? Was: Checksum error

2009-10-12 Thread Peter Humphrey
On Sunday 11 October 2009 22:18:04 Alan McKinnon wrote:

 English is a mess. As a language it's worse than a pig's breakfast and
 makes almost no sense whatsoever to non-native speakers. Mind you, it makes
 about as much sense to native speakers as well :-)

Even allowing for the smiley, this isn't true. English makes perfect sense to 
me.

-- 
Rgds
Peter



Re: [gentoo-user] Re: What is a packet? Was: Checksum error

2009-10-12 Thread Peter Humphrey
On Monday 12 October 2009 20:58:14 Volker Armin Hemmann wrote:

  At least we mostly got rid of the whole gender mess and only
  have to worry about objective/subjective case for a few cases.

 which makes english a horrible, horrible language.

Which does? Getting rid of the mess, or having to worry about case?

-- 
Rgds
Peter



Re: [gentoo-user] Re: What is a packet? Was: Checksum error

2009-10-12 Thread Alan McKinnon
On Monday 12 October 2009 21:58:14 Volker Armin Hemmann wrote:
 On Montag 12 Oktober 2009, Grant Edwards wrote:
  On 2009-10-11, Alan McKinnon alan.mckin...@gmail.com wrote:
   English is a mess. As a language it's worse than a pig's
   breakfast and makes almost no sense whatsoever to non-native
   speakers. Mind you, it makes about as much sense to native
   speakers as well :-) I had to take 5 years of Latin study in
   high school to understand how my own mother tongue works. Sad
   indictment for a language wouldn't you say?
 
  At least we mostly got rid of the whole gender mess and only
  have to worry about objective/subjective case for a few cases.
 
 which makes english a horrible, horrible language.

Spot on fella, spot on.

If anyone disagrees with you, have them write C without parentheses. Yup, 
that's what English tries to do. Then we have our fancy professors who try and 
tell you that will as in will speak is a word. It isn't.

The proof: define will in that sense, and do it in such a way that someone 
unfamilar with verb tenses can get it. It can't be done :-)

What you *can* do is show how will speak and have spoken are different. 
But then you have defined not two words, but one compound verb. Which is how 
Latin and German work after all...

Another idiocy: I will speak, what does that mean? Future tense? Someone 
being emphatic? Something else?

  During a mostly futile attempt to learn German, I had occasion
  to read Mark Twin's essay on Germain articles.  IIRC, plotting
  out all of the combinations for the takes something like a
  3x9 grid
 
 it is always hard to go from chaos to order.
 
I truly pity foreigners trying to learn English. But at least English is 
willing to absorb any idea or word from any other language and just use it 
(unlike say, French). In theory you could pollute English with decent German 
grammar and slowly deprecate the idiocies over time. Might take a few hundred 
years though...
-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: What is a packet? Was: Checksum error

2009-10-12 Thread Alan McKinnon
On Monday 12 October 2009 22:13:53 Peter Humphrey wrote:
 On Monday 12 October 2009 20:37:07 Grant Edwards wrote:
  At least we mostly got rid of the whole gender mess and only
  have to worry about objective/subjective case for a few cases.
 
 I don't understand either of these two statements.
 

Latin, as taught, has the concept of gender attached to nouns, as in:

girlpuella  (feminine)
boy puer(masculine)
war bellum  (neuter)

Well, that's how it is taught. I seriously doubt the Romans had any such 
concept. What it is, is nouns that end in soft, hard and neutral sounds. The 
Romans developed 5 classes of noun, a specific noun fell into one of these 
classes and the word got modified in consistent ways depending on how it was 
used. The format was quite rigid. Feminine concepts usually have soft sounds, 
the first classes of Latin noun was the soft one and hey presto! according 
middle ages to professors, all nouns in that class are therefore feminine in 
gender. So you get mensa (a table) which is somehow supposed to be a female 
object. That's nonsense - it ends in a soft sound, end of story.

English retains only one remnant of this - plurals. We usually just stick an 
s on the end. Sometimes it's an i, an en and sometimes we just leave it 
off altogether. All very random and arbitrary whereas Latin had consistency.

The subjective|objective case means the form of the word changes depending if 
it's the subject or object in the sentence. English does this with word 
position. The boy kicked the ball. The subject is boy and the only way to 
tell is the it's before the verb. Which is a stupid idea actually. You should 
be able to modify ball to show that it's indeed the object. Then you could 
do this: ball the boy kicked which emphasises that it's the ball that was 
kicked. [English has a few cases of this, I learned them 30 years ago and 
completely forget all examples right now].

The only way to do this last in English is to say the ball was kicked by the 
boy which is a completely different sentence altogether (change of voice). Or 
you could use this horrible horrible hack: the boy kicked the ball (and I 
should point out that it is indeed the ball he kicked and not the dog)

Like I said earlier in this thread, if English were a coding language it would 
be BrainFuck or intercal

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: What is a packet? Was: Checksum error

2009-10-12 Thread Alan McKinnon
On Monday 12 October 2009 21:31:35 Grant Edwards wrote:
 On 2009-10-12, Alan McKinnon alan.mckin...@gmail.com wrote:
  One day an idiot refused to pay. So he tried to drive off
  anyway. In a brand new Mercedes. Caused about ZAR15,000 damage
  to his wheel arches rather than admit he was wrong and cough
  up ZAR200 :-)
 
  Darwin gets them all in the end :-)
 
 Unforutunately, they often succeed in reproducing before
 getting, um, shall we say selected against with sufficient
 prejudice.

This has got to be the most rapidly off-topic going thread I've seen this 
whole year :-)

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] What is a packet? Was: Checksum error

2009-10-12 Thread Alan McKinnon
On Monday 12 October 2009 22:13:26 Peter Humphrey wrote:
 On Sunday 11 October 2009 22:18:04 Alan McKinnon wrote:
  English is a mess. As a language it's worse than a pig's breakfast and
  makes almost no sense whatsoever to non-native speakers. Mind you, it
  makes about as much sense to native speakers as well :-)
 
 Even allowing for the smiley, this isn't true. English makes perfect sense
  to me.
 

Come live and work with me for a week. I'll show you the average English 
native speaker that lives outside of the British Isles. You can even listen to 
them.

I dare say you are an exception to the norm, someone who in days gone by would 
have been called an educated man or perhaps a man of letters?

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] how to use RAM

2009-10-12 Thread Stefan G. Weichinger

Greets, gentoo-users,

as I ordered myself an upgrade from 4 to 8 gigs of RAM for my main
workstation, just because it's rather cheap now and I have good use for
the old 4 gigs I wonder what to do with those shiny new additional 4 gigs.

OK, linux uses it for IO-caching, yep ...

I have some ram-disk already for compiling stuff (portage-stuff) and I
can think of increasing app-caches like operas own ram-cache to make use
of the memory.

I will give my virtual machines more RAM to improve their performance,
yes, this is maybe the main reason for me to upgrade RAM.

But are there any other things I might forget?

Are there any creative non-ricer ways to really make use of it?

I would like to hear your opinion on this, I am quite sure the
gentoo-community knows one trick or the other ;-)

Thanks a lot, Stefan



Re: [gentoo-user] Re: What is a packet? Was: Checksum error

2009-10-12 Thread Volker Armin Hemmann
On Montag 12 Oktober 2009, Peter Humphrey wrote:
 On Monday 12 October 2009 20:58:14 Volker Armin Hemmann wrote:
   At least we mostly got rid of the whole gender mess and only
   have to worry about objective/subjective case for a few cases.
 
  which makes english a horrible, horrible language.
 
 Which does? Getting rid of the mess, or having to worry about case?
 

the lack of genders makes english an incomplete mess.



[gentoo-user] Re: What is a packet? Was: Checksum error

2009-10-12 Thread Grant Edwards
On 2009-10-12, Alan McKinnon alan.mckin...@gmail.com wrote:

 The subjective|objective case means the form of the word
 changes depending if it's the subject or object in the
 sentence. English does this with word position.

Pretty much only the personal pronouns have retained different
objective/subjective cases (I/me, he/him, she/her, who/whom,
we/us, they/them).  Thee/thou were only recently been replaced
by you for both singular objective and subjective in very
formal english writing. Since English has evolved to primarily
use position to determine subject/object relationships, having
different noun cases is redundant.  The nominative plural ye
has also gone away and been subsumed by you, however there is
actualy information loss there, since there is no positional
way to distinguish between the singular and plural you.  Of
course in the southern US, the singular is you and plural is
you all or y'll. Except for people who use y'all as
singular and all y'all as plural.

 The boy kicked the ball. The subject is boy and the only way
 to tell is the it's before the verb. Which is a stupid idea
 actually.

It's probably just a result of my having grown up with a
positional verses notational language (is notational the right
word?), but the positional syntax seems a lot simpler to me.

IIRC, many of the changes in English as it evovled from its
Germanic roots have come from it being learned by a succession
of invaders (Vikings, Normans, etc.). That generally results
in the simplification of a language's grammar and syntax but an
odd admixture of actual words.  For a good example of the
latter, the words for an animal and the culinary name for the
flesh don't match up in English.  The animal is referred to by
the older English word (pig, cow, calf, sheep, deer), but what
you eat is referred to by the French words that came in with
the Normans (pork, beef, veal, mutton, venison).  The people
that dealt with the animals were peasants who spoke English.
The people that ate the flesh were Normans who spoke French.

 You should be able to modify ball to show that it's indeed
 the object.

That seems to be an entirely subjective value judgement.  Why
should one be able to do that?  [Good pun, eh?]

 Then you could do this: ball the boy kicked which emphasises
 that it's the ball that was kicked.

I give up, why doesn't the ball the boy kicked work?

 [English has a few cases of this, I learned them 30 years ago
 and completely forget all examples right now].

 The only way to do this last in English is to say the ball
 was kicked by the boy which is a completely different
 sentence altogether (change of voice). Or you could use this
 horrible horrible hack: the boy kicked the ball (and I 
 should point out that it is indeed the ball he kicked and not
 the dog)

 Like I said earlier in this thread, if English were a coding
 language it would be BrainFuck or intercal

Don't pretty much all programming languages use position to
differente the meanings of references to variables?

For example, in an assignment statement, the position of the
two names is significant in all programming languages I can
think of: i := j is never the same as j := i.  You don't modify
the variable names to show whether it's the target of an
assignment or a reference.  Except I guess in shel-like
languages (e.g. Perl), where you have to use a prefix
dereference operator to disambiguate between variable
references and string literals.

Are there any programming languages that use positionally
independent notation?  The only thing I can think of is named
parameters:

 funcname(paramA = 1234.5, paramB = asdf)

Even in that example, the position of the funcname is
significant, as is the position of the parameter names/values
in relation to the = operator).

It's the same in mathematics for many/most operators i - j and
j - i aren't the same thing.  The position of the variable
relative to the operator tells you want's going on.  While a +
b is equal to b + a, that's a property of the particular
operator. 

OK, this is waaay off topic now...

-- 
Grant Edwards   grante Yow! Hello.  I know
  at   the divorce rate among
   visi.comunmarried Catholic Alaskan
   females!!




Re: [gentoo-user] Re: What is a packet? Was: Checksum error

2009-10-12 Thread Arttu V.
On 10/12/09, Alan McKinnon alan.mckin...@gmail.com wrote:
 On Monday 12 October 2009 21:31:35 Grant Edwards wrote:
 On 2009-10-12, Alan McKinnon alan.mckin...@gmail.com wrote:
  One day an idiot refused to pay. So he tried to drive off
  anyway. In a brand new Mercedes. Caused about ZAR15,000 damage
  to his wheel arches rather than admit he was wrong and cough
  up ZAR200 :-)
 
  Darwin gets them all in the end :-)

 Unforutunately, they often succeed in reproducing before
 getting, um, shall we say selected against with sufficient
 prejudice.

 This has got to be the most rapidly off-topic going thread I've seen this
 whole year :-)

Don't worry -- come next year, and we'll top this one! Yarrr! :D

-- 
Arttu V.



[gentoo-user] Re: how to use RAM

2009-10-12 Thread Nikos Chantziaras

On 10/12/2009 11:44 PM, Stefan G. Weichinger wrote:


Greets, gentoo-users,

as I ordered myself an upgrade from 4 to 8 gigs of RAM for my main
workstation, just because it's rather cheap now and I have good use for
the old 4 gigs I wonder what to do with those shiny new additional 4 gigs.

OK, linux uses it for IO-caching, yep ...

I have some ram-disk already for compiling stuff (portage-stuff) and I
can think of increasing app-caches like operas own ram-cache to make use
of the memory.

I will give my virtual machines more RAM to improve their performance,
yes, this is maybe the main reason for me to upgrade RAM.

But are there any other things I might forget?

Are there any creative non-ricer ways to really make use of it?

I would like to hear your opinion on this, I am quite sure the
gentoo-community knows one trick or the other ;-)


One thing I did after my RAM upgrade was to put:

  vm.swappiness = 30

in /etc/sysctl.conf to make the kernel use less swap.  (The default 
swappiness is 60.)  Don't use values lower than 20 though, and better 
don't disable swap completely; it's marginal, but complete absence of 
swap can hurt performance even with plenty of RAM.





[gentoo-user] Re: Problem with gethostname() returning incorrect value

2009-10-12 Thread Lie Ryan
Xavier Parizet wrote:
 Lie Ryan a écrit :
 Hi,

 [SNIP]

 Extra information:

 lier...@lieryan ~/Desktop/pythontrunk/trunk $ /lib/libc.so.6
 
 Here the output is clear : lieryan is your machine hostname as well as your
 username... So check your /etc/hosts and either edit the line containing
 127.0.0.1 like this:
 127.0.0.1 lieryan.your dns domain name lieryan localhost
 or set HOSTNAME variable in /etc/conf.d/hostname to localhost, put the error
 returned by python seems to indicate that you forgot to edit /etc/hosts to put
 the definition of lieryan hostname ip address.
 

Thanks, redirecting 'lieryan' to 127.0.0.1 solves the problem.

Though I'd have preferred not to have my username redirects to the local
machine, changing HOSTNAME in /etc/conf.d/hostname seems to result in
some unwanted side effects[1] to X. I can live with the redirection
though, so problem solved for now.

[1] for some reason, after setting HOSTNAME to localhost I can't start
new GUI program/create new window after NetworkManager/nm-applet is
running. I suspect there is some NetworkManager settings lying around
somewhere that resets the name to lieryan and the change confused X.




Re: [gentoo-user] Re: how to use RAM

2009-10-12 Thread Stefan G. Weichinger
Nikos Chantziaras schrieb:

 One thing I did after my RAM upgrade was to put:
 
   vm.swappiness = 30
 
 in /etc/sysctl.conf to make the kernel use less swap.  (The default
 swappiness is 60.)  Don't use values lower than 20 though, and better
 don't disable swap completely; it's marginal, but complete absence of
 swap can hurt performance even with plenty of RAM.

That was one of my thoughts, yes.
Did that already when I got 4 gigs (and 64bit) ... ;-)

Thanks anyway, Stefan



Re: [gentoo-user] Re: What is a packet? Was: Checksum error

2009-10-12 Thread KH

Grant Edwards schrieb:
[snip]


It's the same in mathematics for many/most operators i - j and
j - i aren't the same thing.  The position of the variable
relative to the operator tells you want's going on.  While a +
b is equal to b + a, that's a property of the particular
operator. 


OK, this is waaay off topic now...



a+b=b+a is a definition which does not have to be this way. It can be 
seen (in reality) but it can not be proofed (in math).




Re: [gentoo-user] Re: my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-12 Thread Brandon Vargo
On Mon, 2009-10-12 at 03:18 -0400, Denis wrote:
 Brandon,
 
 Thank you for helping me along here!
 
 Here is the output of ldd Mathematica:
 
 linux-gate.so.1 =  (0xb8042000)
 libm.so.6 = /lib/libm.so.6 (0xb800c000)
 libpthread.so.0 = /lib/libpthread.so.0 (0xb7ff4000)
 librt.so.1 = /lib/librt.so.1 (0xb7feb000)
 libXt.so.6 = /usr/lib/libXt.so.6 (0xb7f9a000)
 libXext.so.6 = /usr/lib/libXext.so.6 (0xb7f8b000)
 libXmu.so.6 = /usr/lib/libXmu.so.6 (0xb7f74000)
 libSM.so.6 = /usr/lib/libSM.so.6 (0xb7f6a000)
 libICE.so.6 = /usr/lib/libICE.so.6 (0xb7f51000)
 libX11.so.6 = /usr/lib/libX11.so.6 (0xb7e3a000)
 libc.so.6 = /lib/libc.so.6 (0xb7cf7000)
 /lib/ld-linux.so.2 (0xb8043000)
 libuuid.so.1 = /lib/libuuid.so.1 (0xb7cf2000)
 libxcb.so.1 = /usr/lib/libxcb.so.1 (0xb7cd7000)
 libXau.so.6 = /usr/lib/libXau.so.6 (0xb7cd3000)
 libXdmcp.so.6 = /usr/lib/libXdmcp.so.6 (0xb7ccd000)
 libdl.so.2 = /lib/libdl.so.2 (0xb7cc9000)
 
 So far, I see a bunch of references Java directories in the
 installation and a few .jar files.  I haven't seen any reference to
 Qt.  I did see the GUI-Kit and JLink in the AddOns directory.
 
 Basically, the only thing that triggers the crash is if I hold down
 the mouse button and drag the scrollbar UP right after I drag it DOWN.
  Dragging it down doesn't seem to make any difference by itself and
 hasn't crashed the program until I reverse and drag UP.  Sometimes
 going up slowly will be OK too, but if I drag UP rapidly, it will
 crash.  I can use the scroll arrows on top and bottom of the
 scrollbar, and it will scroll without incident, albeit slowly.

That sounds really bizarre. I have no idea what would be causing that.

 Can the integrity of the above library links be checked, or would
 rebuilding all of them again make any difference?  What is the command
 to determine which package the given .so.* file belongs to?

equery (from app-portage/gentoolkit) can tell you which package a
particular file belongs to. `equery belongs /path/to/filename` should do
the trick. You could try downgrading those packages to see if it fixes
your issue. I have not tried downgrading just one or two X libraries,
though I have heard that it can break pretty badly (especially with
respect to libxcb), so I would make a backup first. Another option could
be trying an updated version of X from the x11 overlay. Maybe someone
else on this list has experience with either case and can offer some
pointers; I unfortunately have none.

Packages with the above-listed libraries: x11-libs/libXt,
x11-libs/libXmu x11-libs/libSM, x11-libs/libICE, x11-libs/libX11,
x11-libs/libxcb, x11-libs/libXau.

Good luck; I cannot think of anything else to suggest.

Regards,

Brandon Vargo




Re: [gentoo-user] Re: What is a packet? Was: Checksum error

2009-10-12 Thread Alan McKinnon
On Monday 12 October 2009 23:22:29 Grant Edwards wrote:
 On 2009-10-12, Alan McKinnon alan.mckin...@gmail.com wrote:

[snip]

  The boy kicked the ball. The subject is boy and the only way
  to tell is the it's before the verb. Which is a stupid idea
  actually.
 
 It's probably just a result of my having grown up with a
 positional verses notational language (is notational the right
 word?), but the positional syntax seems a lot simpler to me.

Let's assume notational is a word, I know what you mean. If it's not a word, 
we just made it one :-)

I fully understand where you're coming from, English is my native tongue too, 
and I deal with positionality (is that a word?) fluently. But I also see it's 
flaws, some of them are quite gross. You have no way to denote emphasis other 
than by saying so or using modified font glyphs; in a compound sentence using 
an unqualified pronoun is usually ambiguous. Example:

Joe went to school with Bill and he passed his classes.
Joe went to school with Bill, and he passed his classes.

Who does he refer to in both? I'll bet there's some complex rule that does 
define the convention, and I'll also bet very few people know what it is.

[snip]

  You should be able to modify ball to show that it's indeed
  the object.
 
 That seems to be an entirely subjective value judgement.  Why
 should one be able to do that?  [Good pun, eh?]

Yup, good pun :-) 

Change what I said to I think it would be a good idea to modify ball
 
  Then you could do this: ball the boy kicked which emphasises
  that it's the ball that was kicked.
 
 I give up, why doesn't the ball the boy kicked work?

If I tell you ball is the objective case and the boy is the subjective 
case, can you see where I'm going? It's still the boy that kicked the ball but 
the position denotes emphasis, not case. If English could do this (it can't) I 
would have added information and retained full precision.

As a geek, I can see the attraction of this. But as a user of the language, I 
can see I have zero chance of it ever happening

[snip]

  Like I said earlier in this thread, if English were a coding
  language it would be BrainFuck or intercal
 
 Don't pretty much all programming languages use position to
 differente the meanings of references to variables?

Hmmm, yes they do. But they have no need to change the order - there's no 
extra information you could convey by doing that (with current languages at 
least). Human languages have different needs in this regard.

 OK, this is waaay off topic now...

yes, you are right about that too :-)

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-12 Thread Alan McKinnon
On Tuesday 13 October 2009 00:33:02 Brandon Vargo wrote:
  Basically, the only thing that triggers the crash is if I hold down
  the mouse button and drag the scrollbar UP right after I drag it DOWN.
   Dragging it down doesn't seem to make any difference by itself and
  hasn't crashed the program until I reverse and drag UP.  Sometimes
  going up slowly will be OK too, but if I drag UP rapidly, it will
  crash.  I can use the scroll arrows on top and bottom of the
  scrollbar, and it will scroll without incident, albeit slowly.
 
 That sounds really bizarre. I have no idea what would be causing that.
 

sounds like a segfault

For example, data gets moved around in memory as the display is scrolled and 
somewhere there is a pointer to that memory. It gets updated somehow but when 
the scrolling is rapid the pointer gets used after the data is moved and 
before the pointer is updated.

If it's something along these lines it's a) horrible to find and fix and b) 
horrible code

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] how to use RAM

2009-10-12 Thread Dale
KH wrote:
 Stefan G. Weichinger schrieb:
 Greets, gentoo-users,

 as I ordered myself an upgrade from 4 to 8 gigs of RAM for my main
 workstation, just because it's rather cheap now and I have good use for
 the old 4 gigs I wonder what to do with those shiny new additional
 4 gigs.

 OK, linux uses it for IO-caching, yep ...

 I have some ram-disk already for compiling stuff (portage-stuff) and I
 can think of increasing app-caches like operas own ram-cache to make use
 of the memory.

 I will give my virtual machines more RAM to improve their performance,
 yes, this is maybe the main reason for me to upgrade RAM.

 But are there any other things I might forget?

 Are there any creative non-ricer ways to really make use of it?

 I would like to hear your opinion on this, I am quite sure the
 gentoo-community knows one trick or the other ;-)

 Thanks a lot, Stefan


 Hi,

 you could regularly measure your disk speed by coping huge amounts of
 data to a second ram-disk, and back. Then you have a good knowledge of
 read and write speed of your hdd :-)

 I often use the ram disk for creating iso images before burning them
 to dvd/cd. This is a lot faster than doing this on an hdd.

 kh



Why not use hdparm -Tt to test the speed of the drives?  It works pretty
good here. 

Dale

:-)  :-) 



[gentoo-user] Re: What is a packet? Was: Checksum error

2009-10-12 Thread Grant Edwards
On 2009-10-12, Alan McKinnon alan.mckin...@gmail.com wrote:

 I fully understand where you're coming from, English is my
 native tongue too, and I deal with positionality (is that a
 word?) fluently. But I also see it's flaws, some of them are
 quite gross. You have no way to denote emphasis other than by
 saying so or using modified font glyphs; in a compound
 sentence using an unqualified pronoun is usually ambiguous.
 Example:

 Joe went to school with Bill and he passed his classes. Joe
 went to school with Bill, and he passed his classes.

 Who does he refer to in both? I'll bet there's some complex
 rule that does define the convention, and I'll also bet very
 few people know what it is.

I'm not sure I see how having nominative/subjective cases for
nouns solves the problem in that case.  I guess it would allow
for a rule that the pronoun would always refer to the closest
preceding referrent.

In English, the solution for the situation is to say either

   Joe went to school with Bill and passed his classes.

  or

   Joe went to school with Bill who passed his classes.   

The former uses and without a second subject to indicate the
parallel structure where a single subject performed two actions
(both with an object):

  
  / verb object
 Subject 
  \ verb object

  
The latter solution uses a single subject-verb-object construct
where the object includes a clause who passed his classes to 
modify that object.  The tricky bit in that is that even though
it's part of the main sentence's object, who is the subject
of the modifying clause, so it's the subjective case.

At least that's what I think Mrs. Russell from McDowell high
school would have said 30 years ago...

 I give up, why doesn't the ball the boy kicked work?

 If I tell you ball is the objective case and the boy is
 the subjective case, can you see where I'm going? It's still
 the boy that kicked the ball but the position denotes
 emphasis, not case.

Ah, yes I see.  So you can then use position to imply whether
the statement is attempting to answer the question what was
kicked? or who kicked the ball?

-- 
Grant





Re: [gentoo-user] Re: What is a packet? Was: Checksum error

2009-10-12 Thread Neal Hogan

 If I tell you ball is the objective case and the boy is
 the subjective case, can you see where I'm going? It's still
 the boy that kicked the ball but the position denotes
 emphasis, not case.

 Ah, yes I see.  So you can then use position to imply whether
 the statement is attempting to answer the question what was
 kicked? or who kicked the ball?

I haven't been following, but looked because I was curious what was
going on in this thread that was OT to begin with . . . . ~3 days ago.

Is this a comedy sketch?


 --
 Grant







Re: [gentoo-user] Re: my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-12 Thread Denis
I tried a few things today:

1)  rebuilt all x11-libs, media-libs, and anything I could think of
that would be related to x11-libs (such as gtk+, qt...)

2)  downgraded to xorg-server-1.5

Neither of these things helped.  Alan's hypothesis sounds plausible,
but I don't even know which package to point fingers at!  Probably
it's the Mathematica interface itself, which is horribly old by now,
but I cannot upgrade it at this time.  As I said, dragging the
scrollbar down works fine, but you drag the scroll bar up, and in a
few seconds X gets zapped.  I tried instead clicking above or below
the scroll bar to avoid dragging.  That is a tad better, but after a
few times, it goes down again...

The weird thing is that I never had this problem before doing the
massive lib-xcb upgrade, and obviously the xorg-server doesn't seem to
be helping or hurting anything, so I went back to xorg-server 1.6.

Is there any procedure out there about de-Xifying your system?  I
don't have the time right now to do all this, but I am just wondering
if some people have removed everything X-related from their system and
started anew without completely wrecking the box...



Re: [gentoo-user] Re: What is a packet? Was: Checksum error

2009-10-12 Thread Alan McKinnon
On Tuesday 13 October 2009 01:28:13 Neal Hogan wrote:
  If I tell you ball is the objective case and the boy is
  the subjective case, can you see where I'm going? It's still
  the boy that kicked the ball but the position denotes
  emphasis, not case.
 
  Ah, yes I see.  So you can then use position to imply whether
  the statement is attempting to answer the question what was
  kicked? or who kicked the ball?
 
 I haven't been following, but looked because I was curious what was
 going on in this thread that was OT to begin with . . . . ~3 days ago.
 
 Is this a comedy sketch?

Nope, just a bunch of bored geeks showing off with clever facts and silly (but 
true) observations. We do this about once a month.

Tomorrow morning most of us will go back to trying to figure out how to get 
x.org to work everywhere, either with or without hal. 

As for me it's 2:24 local time, I really tried but made no progress 
architecting my central syslog work project tonight, so I'm going to bed. 

:-)

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] Nvidia GeForce4 MX 440 AGP 8x xorg-1.6?

2009-10-12 Thread Mark Knecht
Hi,
   Will that combination work?

   I'm having trouble finding the right combination of kernel,
nvidia-driver and xorg-server for a remote machine.

   The machine was running xorg-server-1.5 with 2.6.29-gentoo-r4 and
nvidia-drivers-96.43.09. So far when I try to use the newer
xorg-server-1.6 it seems to not like that kernel and when I use a
newer kernel it doesn't like that nvidia-driver. When I try to update
the driver I get messages along the line of this VGA not being
supported by the newer driver.

   Where do I find info on what kernels are required for
xorg-server-1.6 and then what drivers are supporting this device?

Thanks,
Mark



Re: [gentoo-user] Re: my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-12 Thread Dale
Denis wrote:
 I tried a few things today:

 1)  rebuilt all x11-libs, media-libs, and anything I could think of
 that would be related to x11-libs (such as gtk+, qt...)

 2)  downgraded to xorg-server-1.5

 Neither of these things helped.  Alan's hypothesis sounds plausible,
 but I don't even know which package to point fingers at!  Probably
 it's the Mathematica interface itself, which is horribly old by now,
 but I cannot upgrade it at this time.  As I said, dragging the
 scrollbar down works fine, but you drag the scroll bar up, and in a
 few seconds X gets zapped.  I tried instead clicking above or below
 the scroll bar to avoid dragging.  That is a tad better, but after a
 few times, it goes down again...

 The weird thing is that I never had this problem before doing the
 massive lib-xcb upgrade, and obviously the xorg-server doesn't seem to
 be helping or hurting anything, so I went back to xorg-server 1.6.

 Is there any procedure out there about de-Xifying your system?  I
 don't have the time right now to do all this, but I am just wondering
 if some people have removed everything X-related from their system and
 started anew without completely wrecking the box...


   

I would take a look at the world file and remove everything X related. 
A --depclean should then remove everything X related.

Keep in mind, that could be a huge amount of stuff to re-install.  I
would make binaries of *some* things that you know would not affect the
programs you are having issues with.  Say for example OOo or some other
large packages that take a while to compile.  You can then use the -k
option to reinstall them.  Naturally, I wouldn't save anything related
to X itself.  I would recompile them from scratch.

I wish I had better ideas or a quick fix.

Dale

:-)  :-) 



[gentoo-user] Re: What is a packet? Was: Checksum error

2009-10-12 Thread Grant Edwards
On 2009-10-13, Alan McKinnon alan.mckin...@gmail.com wrote:

 Nope, just a bunch of bored geeks showing off with clever
 facts and silly (but true) observations. We do this about once
 a month.

 Tomorrow morning most of us will go back to trying to figure
 out how to get x.org to work everywhere, either with or
 without hal.

Which we also seem to do about once a month. ;)

-- 
Grant





[gentoo-user] Re: Nvidia GeForce4 MX 440 AGP 8x xorg-1.6?

2009-10-12 Thread Mark Knecht
On Mon, Oct 12, 2009 at 6:06 PM, Mark Knecht markkne...@gmail.com wrote:
 Hi,
   Will that combination work?

   I'm having trouble finding the right combination of kernel,
 nvidia-driver and xorg-server for a remote machine.

   The machine was running xorg-server-1.5 with 2.6.29-gentoo-r4 and
 nvidia-drivers-96.43.09. So far when I try to use the newer
 xorg-server-1.6 it seems to not like that kernel and when I use a
 newer kernel it doesn't like that nvidia-driver. When I try to update
 the driver I get messages along the line of this VGA not being
 supported by the newer driver.

   Where do I find info on what kernels are required for
 xorg-server-1.6 and then what drivers are supporting this device?

 Thanks,
 Mark

As a follow-up I found this page at NVidia:

http://www.nvidia.com/object/IO_32667.html

The device is listed in the second group - driver-1.0-96xx driver. Is
that by any chance the same as the nvidia-drivers-96.43.xx package?

If so how do I determine what kernel and xorg-server that will work with?

Thanks,
Mark



Re: [gentoo-user] Re: my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-12 Thread Stroller


On 13 Oct 2009, at 01:25, Denis wrote:


I tried a few things today:
...

Neither of these things helped.  Alan's hypothesis sounds plausible,
but I don't even know which package to point fingers at!


Have you `emerge -e world` yet?

Stroller.




Re: [gentoo-user] Re: my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-12 Thread Denis
 Have you `emerge -e world` yet?

 Stroller.

I have that going now.  I offloaded OpenOffice to shorten the duration
of the rebuild, and I don't have KDE or Gnome - just fluxbox.  So it
should finish by sometime tomorrow, probably.  There are 604 packages
total.  Instead of trying to rebuild X-related stuff in parts, I
should have just done that from the beginning.

Dale - thanks for the advices also.  That's the route I thought about
taking.  Doing 'emerge -e world' first seems like a reasonable thing
to do.  It could be that whatever is causing this cannot be resolved
by a simple rebuild.  Whatever went into the lib-xcb upgrade probably
is either incompatible with the Mathematica frontend or has a bug
that's being exploited in this situation.  Keeping my fingers crossed
for the rebuild for now. :-)

-Denis



[gentoo-user] Re: Nvidia GeForce4 MX 440 AGP 8x xorg-1.6?

2009-10-12 Thread Mark Knecht
Solved/

On Mon, Oct 12, 2009 at 6:55 PM, Mark Knecht markkne...@gmail.com wrote:
 On Mon, Oct 12, 2009 at 6:06 PM, Mark Knecht markkne...@gmail.com wrote:
 Hi,
   Will that combination work?

   I'm having trouble finding the right combination of kernel,
 nvidia-driver and xorg-server for a remote machine.

   The machine was running xorg-server-1.5 with 2.6.29-gentoo-r4 and
 nvidia-drivers-96.43.09. So far when I try to use the newer
 xorg-server-1.6 it seems to not like that kernel and when I use a
 newer kernel it doesn't like that nvidia-driver. When I try to update
 the driver I get messages along the line of this VGA not being
 supported by the newer driver.

   Where do I find info on what kernels are required for
 xorg-server-1.6 and then what drivers are supporting this device?

 Thanks,
 Mark

 As a follow-up I found this page at NVidia:

 http://www.nvidia.com/object/IO_32667.html

 The device is listed in the second group - driver-1.0-96xx driver. Is
 that by any chance the same as the nvidia-drivers-96.43.xx package?

 If so how do I determine what kernel and xorg-server that will work with?

 Thanks,
 Mark




[gentoo-user] How to suppress starting kmail with KDE 4.3.2

2009-10-12 Thread Jim Cunning
I recently upgraded to KDE 4.3.x, now at 4.3.2.  With KDE 3.5.10 I could have 
kontact running on logout and it would be restarted the next time I logged in.  
With KDE 4.3.x, kontact is started, but so is kmail in a separate window.  I 
changed my default mail application to kontact, but I cannot find where 
kmail is mentioned to start on login, so I can remove it.
-- 
Jim


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


Re: [gentoo-user] how to use RAM

2009-10-12 Thread KH

Dale schrieb:

KH wrote:

Stefan G. Weichinger schrieb:

Greets, gentoo-users,

as I ordered myself an upgrade from 4 to 8 gigs of RAM for my main
workstation, just because it's rather cheap now and I have good use for
the old 4 gigs I wonder what to do with those shiny new additional
4 gigs.

OK, linux uses it for IO-caching, yep ...

I have some ram-disk already for compiling stuff (portage-stuff) and I
can think of increasing app-caches like operas own ram-cache to make use
of the memory.

I will give my virtual machines more RAM to improve their performance,
yes, this is maybe the main reason for me to upgrade RAM.

But are there any other things I might forget?

Are there any creative non-ricer ways to really make use of it?

I would like to hear your opinion on this, I am quite sure the
gentoo-community knows one trick or the other ;-)

Thanks a lot, Stefan


Hi,

you could regularly measure your disk speed by coping huge amounts of
data to a second ram-disk, and back. Then you have a good knowledge of
read and write speed of your hdd :-)

I often use the ram disk for creating iso images before burning them
to dvd/cd. This is a lot faster than doing this on an hdd.

kh




Why not use hdparm -Tt to test the speed of the drives?  It works pretty
good here. 


Dale

:-)  :-) 



Hi,
that wouldn't involve the extra ram ;-)
kh