Re: [gentoo-user] new machine : Python calculator

2012-09-20 Thread Philip Webb
120919 Marc Joliet wrote: > 120918 Philip Webb wrote: >> With Python running as interpreter, I would get much more capability, >> but I would need to enter the special line to load the math functions : >> is it possible to do it with some capitalised variable in .bashrc , >> which might list para

Re: [gentoo-user] new machine : suddenly Python 3 appears

2012-09-20 Thread Willie WY Wong
On Wed, Sep 19, 2012 at 09:08:52AM +0200, Penguin Lover Marc Joliet squawked: > 2.) The full blown interactive solution: IPython. You can create a session and > configure which modules you want preloaded via startup scripts. This is > overkill for what you want, I think, but IPython is a much nicer

[gentoo-user] Recreating a directory structure and indicating a files presence

2012-09-20 Thread Andrew Lowe
Hi all, I have the situation where I have a large amount of data, many TB's, made up of many, many files. This information has now been archived but I've got people who want to be able to see what data does/does not exist, filling in gaps where they may exist. As this data used to be availa

Re: [gentoo-user] Recreating a directory structure and indicating a files presence

2012-09-20 Thread Alan McKinnon
On Thu, 20 Sep 2012 20:33:39 +0800 Andrew Lowe wrote: > Hi all, > I have the situation where I have a large amount of data, > many TB's, made up of many, many files. This information has now been > archived but I've got people who want to be able to see what data > does/does not exist, fill

Re: [gentoo-user] Recreating a directory structure and indicating a files presence

2012-09-20 Thread Neil Bothwick
On Thu, 20 Sep 2012 16:13:08 +0200, Alan McKinnon wrote: > On the archive: > > find /root/of/dir/structure -type d > dirs.txt > find /root/of/dir/structure -type f > files.txt This will add '/root/of/dir/structure' to the start of each path. would it be better to do? cd /root/of/dir/structure f

Re: [gentoo-user] Recreating a directory structure and indicating a files presence

2012-09-20 Thread Michael Mol
On Thu, Sep 20, 2012 at 10:48 AM, Neil Bothwick wrote: > On Thu, 20 Sep 2012 16:13:08 +0200, Alan McKinnon wrote: > >> On the archive: >> >> find /root/of/dir/structure -type d > dirs.txt >> find /root/of/dir/structure -type f > files.txt > > This will add '/root/of/dir/structure' to the start of

Re: [gentoo-user] Re: Reinstall + switch to KDE

2012-09-20 Thread Daniel Wagener
On Mon, 10 Sep 2012 14:44:33 -0500 Canek Peláez Valdés wrote: > On Mon, Sep 10, 2012 at 2:36 PM, Alan McKinnon > wrote: > > On Mon, 10 Sep 2012 12:53:41 -0400 > > Andrey Moshbear wrote: > > > >> On Mon, Sep 10, 2012 at 12:43 PM, Nikos Chantziaras > >> wrote: > >> > On 10/09/12 19:12, Samuraii

Re: [gentoo-user] Gentoo is the best linux distro

2012-09-20 Thread Daniel Wagener
On Wed, 12 Sep 2012 16:55:37 +0200 Alan McKinnon wrote: > > lafilefixer --justfixit". > The last one, "lafilefixer --justfixit" is especially valuable as it > gets right of a huge gigantic steaming pile of crap that a) should > never have been there at all in the first place and b) if it's causi

Re: [gentoo-user] Recreating a directory structure and indicating a files presence

2012-09-20 Thread Pandu Poluan
On Sep 20, 2012 10:04 PM, "Michael Mol" wrote: > > On Thu, Sep 20, 2012 at 10:48 AM, Neil Bothwick wrote: > > On Thu, 20 Sep 2012 16:13:08 +0200, Alan McKinnon wrote: > > > >> On the archive: > >> > >> find /root/of/dir/structure -type d > dirs.txt > >> find /root/of/dir/structure -type f > files

Re: [gentoo-user] Recreating a directory structure and indicating a files presence

2012-09-20 Thread Michael Mol
On Thu, Sep 20, 2012 at 11:54 AM, Pandu Poluan wrote: > > On Sep 20, 2012 10:04 PM, "Michael Mol" wrote: >> >> On Thu, Sep 20, 2012 at 10:48 AM, Neil Bothwick >> wrote: >> > On Thu, 20 Sep 2012 16:13:08 +0200, Alan McKinnon wrote: >> > >> >> On the archive: >> >> >> >> find /root/of/dir/structur

Re: [gentoo-user] Recreating a directory structure and indicating a files presence

2012-09-20 Thread Michael Mol
On Thu, Sep 20, 2012 at 12:04 PM, Michael Mol wrote: > On Thu, Sep 20, 2012 at 11:54 AM, Pandu Poluan wrote: >> >> On Sep 20, 2012 10:04 PM, "Michael Mol" wrote: >>> >>> On Thu, Sep 20, 2012 at 10:48 AM, Neil Bothwick >>> wrote: >>> > On Thu, 20 Sep 2012 16:13:08 +0200, Alan McKinnon wrote: >>>

Re: [gentoo-user] Gentoo is the best linux distro

2012-09-20 Thread Dale
Daniel Wagener wrote: > On Wed, 12 Sep 2012 16:55:37 +0200 > Alan McKinnon wrote: > >>> lafilefixer --justfixit". >> The last one, "lafilefixer --justfixit" is especially valuable as it >> gets right of a huge gigantic steaming pile of crap that a) should >> never have been there at all in the fir

Re: [gentoo-user] Re: Reinstall + switch to KDE

2012-09-20 Thread Alan McKinnon
On Thu, 20 Sep 2012 07:44:13 +0200 Daniel Wagener wrote: > On Mon, 10 Sep 2012 14:44:33 -0500 > Canek Peláez Valdés wrote: > > > On Mon, Sep 10, 2012 at 2:36 PM, Alan McKinnon > > wrote: > > > On Mon, 10 Sep 2012 12:53:41 -0400 > > > Andrey Moshbear wrote: > > > > > >> On Mon, Sep 10, 2012 at

Re: [gentoo-user] new machine : Python calculator

2012-09-20 Thread Marc Joliet
Am Thu, 20 Sep 2012 05:05:11 -0400 schrieb Philip Webb : > 120919 Marc Joliet wrote: > > 120918 Philip Webb wrote: > >> With Python running as interpreter, I would get much more capability, > >> but I would need to enter the special line to load the math functions : > >> is it possible to do it w

Re: [gentoo-user] new machine : suddenly Python 3 appears

2012-09-20 Thread Marc Joliet
Am Thu, 20 Sep 2012 13:38:45 +0200 schrieb Willie WY Wong : > On Wed, Sep 19, 2012 at 09:08:52AM +0200, Penguin Lover Marc Joliet squawked: > > 2.) The full blown interactive solution: IPython. You can create a session > > and > > configure which modules you want preloaded via startup scripts. Th

Re: [gentoo-user] new machine : Python calculator

2012-09-20 Thread Marc Joliet
[...] > > def myprint(num, places=4, *args, **kargs): > fmt_str = "{:." + str(places) + "f}" > print(fmt_str.format(num), *args, **kargs) OK, quick update because I just realised how weird it is to have positional arguments after a (potential) keyword argument (I really should go to

Re: [gentoo-user] Re: Reinstall + switch to KDE

2012-09-20 Thread William Kenworthy
On Thu, 2012-09-20 at 18:20 +0200, Alan McKinnon wrote: > On Thu, 20 Sep 2012 07:44:13 +0200 > Daniel Wagener wrote: > > > On Mon, 10 Sep 2012 14:44:33 -0500 > > Canek Peláez Valdés wrote: > > > > > On Mon, Sep 10, 2012 at 2:36 PM, Alan McKinnon > > > wrote: > > > > On Mon, 10 Sep 2012 12:53:4

Re: [gentoo-user] Libpng warning

2012-09-20 Thread Fernando Antunes
On Thu, Sep 20, 2012 at 3:42 AM, Dale wrote: > Fernando Antunes wrote: > > Hi. I've been receiving a linpng warnong on my console saying that > > something like "Application build with libpng.1.2.8 running with > > libpng.1.5.4." > > > > Somebody knows how to identify which application is that ?

[gentoo-user] Comparing kernel configurations...

2012-09-20 Thread meino . cramer
Hi, are there any tools beside diff, vimdiff, kdiff3 and such which supports one in comparing two differen .config from the linux kernel? Thank your very much for any help in advance! Have a nice weekend! Best regards, mcc

Re: [gentoo-user] Comparing kernel configurations...

2012-09-20 Thread wenpin cui
meino.cra...@gmx.de writes: > Hi, > > are there any tools beside diff, vimdiff, kdiff3 and such which > supports one in comparing two differen .config from the linux kernel? > Just copy your .config to new kernel directory and "make oldconfig". The newly added and changed option will prompt, verif

Re: [gentoo-user] Re: virtualbox - serial port

2012-09-20 Thread Mick
On Tuesday 18 Sep 2012 18:49:33 Joseph wrote: > On 09/18/12 15:59, Grant Edwards wrote: > > [snip] > > >> I'm in group "tty", so I can not figure it out why virtualbox is > >> complaining. > > > >What happens when you do "cat /dev/ttyS0"? > > It is working know. It was my error :-/ > I had it se

[gentoo-user] Re: Python precision

2012-09-20 Thread Philip Webb
120920 Willie WY Wong wrote: > Unless you want to load the math module every time you start Python, > it is perhaps better to create an alias in Bash > using the `-i' option of Python: > alias python-calc='python -i loadmath.py' > or if you only need one single command > alias python-calc='pyt