Re: [gentoo-user] How the HAL are you supposed to use these files?

2010-02-11 Thread Alan McKinnon
On Thursday 11 February 2010 09:31:21 Walter Dnes wrote:
 On Wed, Feb 10, 2010 at 02:18:43PM +, Neil Bothwick wrote
 
  On Wed, 10 Feb 2010 07:57:57 -0500, Walter Dnes wrote:
but D-Bus provides a standard way for applications to communicate
with one another and removing it can stop your desktop working as
it should.

 Then how did things manage to work on my systems for the past 9
 years,
   
   pray tell?
  
  Because nine years ago, Linux desktop  software didn't use interprocess
  communication. Of course things will still work, but not necessarily
  everything. For example, Network Manager uses D-Bus to tell programs when
  your Internet connection is available and not, so your mail client goes
  into offline mode rather than pointlessly trying to access your mailbox.
  KDE4 uses it quite extensively, ust as KDE3 used DCOP.
 
   There is too much solution-in-search-of-a-problem here.  XMMS followed
 the original Unix philosophy... it did one thing did it right, namely
 playing audio.  Unfortunately, XMMS was hard-coded to use a now obsolete
 GTK library.

Unfortunately, that's analogous to a business employing 5 people, all of whom 
do their own thing all the time with no inter-person communication and no co-
ordination. Perhaps they might scribble a note on a white board once a day, 
but that's about it.

   The successor to XMMS is Audacious.  It seems to subscribe to the
 Microsoft philosophy, and tries to do everything under the sun, and
 pretends it's a server, which requires dbus.  Is it *REALLY* necessary?
 I used XMMS to play mp3's and Live365.com.  I ended up switching to
 mpg123 for both functions when XMMS was dropped, and then to the Flash
 player for Live365.  I emerged Audacious, but unmerged it when I saw the
 post-install warning that said not to submit any Audacious bug reports
 if I don't have dbus installed.

Modern desktops are integrated, because that's what users want. Any two apps 
should be able to inter-communicate wherever that communication makes sense.

Example: You have any old arbitrary email client. A mail contains a URL. Click 
it. The URL should open in your preferred browser, whatever that should be. 
Please note that any email client should support launching any browser, 
whether the dev built in support for it or not. Yes, I know there are the xdg* 
scripts, but tally up the number of things a user would want to work like 
this, tally up the number of scripts in the infinite number of locations this 
will take, and then ask the user to pick one.

Example: Notifications. I have 3 (yes, three!!) kinds of popups that show up 
here daily. There's KDE's system which is the majority of them, some GTK apps 
throw popups in the top right corner where I don't want them and them then 
there's Skype which does it's own thing. God, you gotta love proprietary 
sekrit apps /sarcasm. The solution is a notification service, apps send 
their notifications to it and the service does whatever the user configured it 
to do with the notification. Note that the user is in control here, the user 
says what happens with popups and does it in one central place and the apps 
does one thing and one thing only with it's notifications: sends them. It's 
like syslogger, letting the app concentrate on it's real purpose (which is not 
logging, and definitely is not making sure it doesn't clobber log files from 
any other apps that might be running).

See where this is going? Do you need a hundred more examples?

When you have arbitrary, unknown (at install time) sources of data that may 
interoperate with other arbitrary, unknown (at install time) sinks of data, 
good data modelling says that a known broker of data should sit in the middle, 
which is generic enough for anything to be able to use it. 

And the transport for that is dbus.

Just to bring this back to your original statement of Unix philosophy. IPC on 
modern desktops conforms exactly to the Unix philosophy. Apps were moving away 
from that and were becoming IM clients cum custom loggers cum notifiers cum 
insert any other crap here.

Standardized IPC is moving back TOWARDS the Unix philosophy, not away from it. 
Apps can now concentrate on their core function, and hand over the integration 
aspects to something else dedicated to IPC and nothing else. The apps now 
merely does the minimum required to hand over data to the service via a 
messaging bus.

Which if you look at it in that light, is EXACTLY the same rationale as a 
syslogger. Do you use a syslogger? Why?

If you don;t like all this integration stuff, and you have every right to not 
like it, then you should uninstall KDE and use Openbox (or similar lightweight 
WM). These WMs exist for users that do not want desktop integration. One thing 
you cannot have is the latest KDE without it's integration features.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] How the HAL are you supposed to use these files?

2010-02-11 Thread Dale

chrome://messenger/locale/messengercompose/composeMsgs.properties:

On Wed, 2010-02-10 at 22:54 -0600, Dale wrote:
   

chrome://messenger/locale/messengercompose/composeMsgs.properties:
 

what _is_ that?! (Don't tell me, if we ignore it maybe it will go away)

   

On Wed, 2010-02-10 at 08:29 -0600, Dale wrote:
   
   

I use Seamonkey 2 right now.  You may be able to tell that by that pesky
line at the top.  It appears Seamonkey has a roach or two rambling
around in there.  Anyway, maybe it is just that the download is making
it slow enough that it just cancels the request when it is busy.  I
dunno.  I have noticed tho that I don't get emails for a while when I am
downloading something large but if I hit the 'get messages' button, then
I get a lot of messages that appear to be time stamped from a good while
ago.

Maybe this is just a coincidence or something.
 

maybe.  It could be that Seamonkey is detecting your network usage
somehow, like azureus can, but I would think that emails are important
and I doubt would be subject to this idea.

Maybe the timestamps are when the message was sent but it took some
time to get to you? (happens sometimes).  Could also be the senders
clock is wrong...

Otherwise I'd get a can of bug-spray, spray your cat5 and phone cables
and see what falls out ;)

   


It was really bad when I was on dial-up.  Of course, you have to keep in 
mind that I was only getting about 3KB/sec so it was so slow that it 
couldn't do two things at once anyway.  Heck, doing one thing was slow 
enough.  lol


I have only noticed it a few times since getting on DSL.  I get 80KB/sec 
now which is still slow by some measuring sticks but it is fast for me.  
The times I did notice it I was downloading a CD, DVD or something like 
that.  It has to be really busy a while to notice it.


Dale

:-)  :-)



[gentoo-user] Adding dependencies in init scripts

2010-02-11 Thread Damian
Hello,

I would like to configure my system so that every time I start mpd
(via /etc/init.d/mpd)  mpdscrible is started as well. What is the best
way to achieve this?

Thanks in advance,
Damian.



Re: [gentoo-user] Adding dependencies in init scripts

2010-02-11 Thread Dale

chrome://messenger/locale/messengercompose/composeMsgs.properties:

Hello,

I would like to configure my system so that every time I start mpd
(via /etc/init.d/mpd)  mpdscrible is started as well. What is the best
way to achieve this?

Thanks in advance,
Damian.


   


I found this by looking in the cups init script.  It should help.

depend() {
use net
need avahi-daemon dbus
before nfs
after logger
}

Dale

:-)  :-)



Re: [gentoo-user] Re: Has semantic-desktop really become compulsatory for kmail?

2010-02-11 Thread Volker Armin Hemmann
On Donnerstag 11 Februar 2010, Stroller wrote:
 On 11 Feb 2010, at 00:01, Jörg Schaible wrote:
  ...
  your understanding is wrong. Completely wrong. Seriously it hurts.
  
  start here:
  
  http://en.wikipedia.org/wiki/NEPOMUK_(framework)
  
  and then proceed with the links.
  
  google-desktop is something completley different (and something
  that can
  be replaced with find, locate and grep).
  
  Well, in 4.3.x I eliminated it after the first try, because it took
  so many
  resources of my machine, that I could not use it for something else.
  So, you
  mean, in 4.4.x it takes only a 10% of the resources it took with
  4.3.x? LOL,
  although I really like the idea of the semantic desktop, I rather
  have a
  usable machine ...
 
 I don't use KDE, but when I freshly install Mac OS (or migrate to a
 new hard-drive) the Spotlight indexing hammers the drive for several
 hours. It is not reasonable to compare performance during this initial
 indexing period.
 
 There is no way the likes of `find`, `grep` and `locate` - useful as
 they are - can operate as efficiently as this kind of indexing (and
 Spotlight is pretty damn poor - your KDE implementation is surely
 loads better). I love `find`, `grep` and `locate` - they're fantastic,
 but my typical usage of them is to perform strict batch operations. If
 I just want to open a document then why would I wait for `find`,
 `grep` - or go hunting around manually in sub-directories of sub-
 directories - when I can just type a keyword into the search box and
 find it immediately?
 
don't forget that updatedb is hammering your harddisk regularly too - and it 
doesn't just index new files. Nope, it goes over the whole disk.




Re: [gentoo-user] Has semantic-desktop really become compulsatory for kmail?

2010-02-11 Thread Volker Armin Hemmann
On Donnerstag 11 Februar 2010, Roy Wright wrote:
 On Feb 10, 2010, at 6:31 PM, Volker Armin Hemmann wrote:
  On Donnerstag 11 Februar 2010, Roy Wright wrote:
  OK, after reading several articles from the given starting point, I now
  understand why semantic-desktop wastes so much cpu, memory, and storage
  (really, if you organize your data properly who cares about a file's
  relationship to an email?).
  
  because to 'organize it properly' you would need a huge directory tree
  plus symlinks plus explaining notes to even simulate a small token of
  the stuff 'semantic desktop' can do for you..
 
 Haven't had a problem organizing my data in 25 years and currently run a 3
 system cluster with ~8TB of data.  The only benefit that the semantic
 desktop seems to deliver is to waste resources.
 
  Also didn't read anything even hinting at
  security awareness of the technology which is really scary (imagine an
  attack that get's access to the RDFs,
  
  those RDFs are in your home directory. If someone can read your home you
  are screwed anyway.
  
  it'd tell the attacker exactly which
  additional files to target).
  
  oh yes, reading stuff about emails tells him to read more emails. That is
  scary.
 
 But tagging files (say stock spreedsheets, bank records, financial
 bookmarks, tax records) with tags (say 'bank, money, finance') all in one
 place would simplify a targeted attack.

and the filenames and the places where you keep them won't tell him the same?
You just claimed you organize things just fine. When you organize things, it 
can be used against you.

 
  And since I don't use/like dolphin, I'll
  stick with my original opinion that the semantic-desktop should be
  totally disabled/uninstalled.
  
  and you can do that. Oh wow. That useflag only turns on soprano. Nothing
  else. Which means nothing. You are not forced to use that stuff.
 
 So just another database server wasting resources. 

if it is running. You are free to not start it at all.

 Not too bad as long as
 nepomuk and strigi are disabled.  Now to find the network ports soprano
 uses to make sure they are blocked from leaving the machine...  Yes, I
 know, one of the really scary goals of the semantic-desktop is to share
 RDFs, definitely don't want that.

good thing you have to enable that explicitly...

 
  IMO, mandatory semantic-desktop is a very good reason to find another
  desktop manager (even after being my primary desktop for 7 years).
  
  yeah good luck with that. Because gnome is moving in that direction too.
  
  Seriously guys, you start sounding like luddites. Is new, must be bad.
 
 This technology does not have a good track record (invasive cpu, memory,
 disk usage) for very dubious benefits.  I have not found any cost vs.
 benefits vs. risks articles.  Just a bunch of we think this will be great
 if you just use it type articles that can't even explain how it would be
 great.

zero cpu, almost zero memory and mayby 0.1% harddisk. Yeah, that is scary.



Re: [gentoo-user] Has semantic-desktop really become compulsatory for kmail?

2010-02-11 Thread Walter Dnes
On Thu, Feb 11, 2010 at 01:31:26AM +0100, Volker Armin Hemmann wrote
 On Donnerstag 11 Februar 2010, Roy Wright wrote:
  IMO, mandatory semantic-desktop is a very good reason to find another
  desktop manager (even after being my primary desktop for 7 years).
 
 yeah good luck with that. Because gnome is moving in that direction too.

  There are other desktops besides GNOME and KDE.  Actually I prefer the
ICEWM window manager.  I was running a 1999 Dell 450mhz PIII with 128
megs of *SYSTEM* ram until the summer of 2007.  Let's just say that
GNOME and KDE were out of the question for me.  On my current desktop,
ICEWM flies.  But I also have a netbook, and again GNOME and KDE are not
usable.

 Seriously guys, you start sounding like luddites. Is new, must be bad.

  Correction, is fat, bloated, and slow, must be bad.  I wonder if
Microsoft's anti-linux strategy is to have its agents infiltrate the
linux developer community, and turn linux into bloatware.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Re: Has semantic-desktop really become compulsatory for kmail?

2010-02-11 Thread Walter Dnes
On Thu, Feb 11, 2010 at 01:17:07AM +, Stroller wrote

 I cannot for a moment believe that you (Roy) can organise your files  
 so that you can find them easier than typing a search term  clicking  
 on the correct result. You just don't want to try it because your  
 current methods are good enough for you, but this isn't good grounds  
 on which to complain about KDE moving on with their development of a  
 state-of-the-art desktop which will actually make life easier for  
 millions of other people (people who aren't afraid to try it).

  Yes, I can organize my files to the point where I rarely ever use
find.  Just because you can't, is not a reason to slow down everybody
else's desktop.  And if I really wanted a glitzy, bloated,
slow-as-molasses, pointy-clicky-touchy-feely-oowee-GUI, I would've
stayed with Windows, thank you.  I started with Blckbox and am now on
ICEWM.

  I have to put up with Windows at work and one of the first things I do
with a new machine is to turn off indexing.  It noticeably, speeds up
the system.  I'll take the rare occasional long search versus continuous
disk-thrashing, thank you.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Re: Has semantic-desktop really become compulsatory for kmail?

2010-02-11 Thread Volker Armin Hemmann
On Donnerstag 11 Februar 2010, Walter Dnes wrote:
 On Thu, Feb 11, 2010 at 01:17:07AM +, Stroller wrote
 
  I cannot for a moment believe that you (Roy) can organise your files
  so that you can find them easier than typing a search term  clicking
  on the correct result. You just don't want to try it because your
  current methods are good enough for you, but this isn't good grounds
  on which to complain about KDE moving on with their development of a
  state-of-the-art desktop which will actually make life easier for
  millions of other people (people who aren't afraid to try it).
 
   Yes, I can organize my files to the point where I rarely ever use
 find.  Just because you can't, is not a reason to slow down everybody
 else's desktop.  And if I really wanted a glitzy, bloated,
 slow-as-molasses, pointy-clicky-touchy-feely-oowee-GUI, I would've
 stayed with Windows, thank you.  I started with Blckbox and am now on
 ICEWM.
 
   I have to put up with Windows at work and one of the first things I do
 with a new machine is to turn off indexing.  It noticeably, speeds up
 the system.  I'll take the rare occasional long search versus continuous
 disk-thrashing, thank you.


again. You are talking about stuff you do know nothing about. Semantic desktop 
is not a MUST. You can turn it off.
Second, even if you use it the impact on performance is negligble. updatedb 
running over your harddisks does a lot more damage than nepomuk - with the 
additional bonus that nepomuk only indexes once.

But again, you can turn it off with a single mouse click. So what again ist 
your problem? Besides that it is new?



Re: [gentoo-user] Adding dependencies in init scripts

2010-02-11 Thread Damian
On Thu, Feb 11, 2010 at 11:21 AM, Dale rdalek1...@gmail.com wrote:
 chrome://messenger/locale/messengercompose/composeMsgs.properties:

 Hello,

 I would like to configure my system so that every time I start mpd
 (via /etc/init.d/mpd)  mpdscrible is started as well. What is the best
 way to achieve this?

 Thanks in advance,
 Damian.




 I found this by looking in the cups init script.  It should help.

 depend() {
    use net
    need avahi-daemon dbus
    before nfs
    after logger
 }
Thanks Dale.

I've tried putting after mpdscribble  without success. Also the
problem with this approach is that if I update mpd, I will have to
modify the init script again.



Re: [gentoo-user] Has semantic-desktop really become compulsatory for kmail?

2010-02-11 Thread Volker Armin Hemmann
On Donnerstag 11 Februar 2010, Walter Dnes wrote:

  Seriously guys, you start sounding like luddites. Is new, must be bad.
 
   Correction, is fat, bloated, and slow, must be bad.  I wonder if
 Microsoft's anti-linux strategy is to have its agents infiltrate the
 linux developer community, and turn linux into bloatware.

it is neither fat nor bloated nor slow. Have you really tried it? Waited until 
the first indexing run was complete? kppp needs more ram than nepomuk. ... and 
produces a higher load. 

'Bloatware' is all you have to say. Yeah. It makes life of people easier and 
uses negligble ressources on hardware that was produced in the last 4 years. 
It really must be bad.



Re: [gentoo-user] Adding dependencies in init scripts

2010-02-11 Thread Dale

chrome://messenger/locale/messengercompose/composeMsgs.properties:

On Thu, Feb 11, 2010 at 11:21 AM, Dalerdalek1...@gmail.com  wrote:
   

chrome://messenger/locale/messengercompose/composeMsgs.properties:
 

Hello,

I would like to configure my system so that every time I start mpd
(via /etc/init.d/mpd)  mpdscrible is started as well. What is the best
way to achieve this?

Thanks in advance,
Damian.



   

I found this by looking in the cups init script.  It should help.

depend() {
use net
need avahi-daemon dbus
before nfs
after logger
}
 

Thanks Dale.

I've tried putting after mpdscribble  without success. Also the
problem with this approach is that if I update mpd, I will have to
modify the init script again.


   


It will likely overwrite your changes but I have no other ideas on how 
to do this.  I would imagine that the script is the only thing that can 
do it since it is what starts/stops the service.


Maybe someone else will have a idea.

Dale

:-)  :-)



Re: [gentoo-user] Has semantic-desktop really become compulsatory for kmail?

2010-02-11 Thread Alan McKinnon
On Thursday 11 February 2010 13:50:54 Walter Dnes wrote:
 On Thu, Feb 11, 2010 at 01:31:26AM +0100, Volker Armin Hemmann wrote
 
  On Donnerstag 11 Februar 2010, Roy Wright wrote:
   IMO, mandatory semantic-desktop is a very good reason to find another
   desktop manager (even after being my primary desktop for 7 years).
  
  yeah good luck with that. Because gnome is moving in that direction too.
 
   There are other desktops besides GNOME and KDE.  Actually I prefer the
 ICEWM window manager.  I was running a 1999 Dell 450mhz PIII with 128
 megs of *SYSTEM* ram until the summer of 2007.  Let's just say that
 GNOME and KDE were out of the question for me.  On my current desktop,
 ICEWM flies.  But I also have a netbook, and again GNOME and KDE are not
 usable.
 
  Seriously guys, you start sounding like luddites. Is new, must be bad.
 
   Correction, is fat, bloated, and slow, must be bad.  I wonder if
 Microsoft's anti-linux strategy is to have its agents infiltrate the
 linux developer community, and turn linux into bloatware.

You have been corrected on this point so many times I now think you are just a 
stupid ass.

It is not slow. 

You are the only one saying that. People who do use Nepomuk say that it is not 
slow and does not hog resources (initial scan excepted). 

Are you seriously just shooting your mouth off about something you know didly-
squat about?



-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Has semantic-desktop really become compulsatory for kmail?

2010-02-11 Thread Volker Armin Hemmann
On Donnerstag 11 Februar 2010, Alan McKinnon wrote:
 On Thursday 11 February 2010 13:50:54 Walter Dnes wrote:
  On Thu, Feb 11, 2010 at 01:31:26AM +0100, Volker Armin Hemmann wrote
  
   On Donnerstag 11 Februar 2010, Roy Wright wrote:
IMO, mandatory semantic-desktop is a very good reason to find another
desktop manager (even after being my primary desktop for 7 years).
   
   yeah good luck with that. Because gnome is moving in that direction
   too.
   
There are other desktops besides GNOME and KDE.  Actually I prefer the
  
  ICEWM window manager.  I was running a 1999 Dell 450mhz PIII with 128
  megs of *SYSTEM* ram until the summer of 2007.  Let's just say that
  GNOME and KDE were out of the question for me.  On my current desktop,
  ICEWM flies.  But I also have a netbook, and again GNOME and KDE are not
  usable.
  
   Seriously guys, you start sounding like luddites. Is new, must be bad.
   
Correction, is fat, bloated, and slow, must be bad.  I wonder if
  
  Microsoft's anti-linux strategy is to have its agents infiltrate the
  linux developer community, and turn linux into bloatware.
 
 You have been corrected on this point so many times I now think you are
 just a stupid ass.
 
 It is not slow.
 
 You are the only one saying that. People who do use Nepomuk say that it is
 not slow and does not hog resources (initial scan excepted).

you can even tell nepomuk how much memory it is allowed to use ... 



[gentoo-user] Cron, bash, and java interacting badly?

2010-02-11 Thread Walt Rarus
I have a java (clojure, actually) program which is invoked via a bash
script. When the script is invoked from the shell, the java program always
runs and succeeds. However, when the script is invoked via a cron job, the
java program always runs and crashes with a null pointer exception.

Any thoughts on how to debug the situation?


[gentoo-user] Keyword for dev-java/sun-j2ee

2010-02-11 Thread dhk
How do I find out the missing keyword for dev-java/sun-j2ee?

I tried dev-java/sun-j2ee ~amd64 java in /etc/portage/package.keywords
and tried adding ACCEPT_LICENSE=sun-bcla-j2ee to /etc/make.conf.

Below is the output to the emerge.

emerge -pv dev-java/sun-j2ee
!!! CONFIG_PROTECT is empty
These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! All ebuilds that could satisfy dev-java/sun-j2ee have been masked.
!!! One of the following masked packages is required to complete your
request:
- dev-java/sun-j2ee-1.3.1-r4 (masked by: missing keyword)


For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

Thanks,

dhk



Re: [gentoo-user] Cron, bash, and java interacting badly?

2010-02-11 Thread Alex Schuster
Walt Rarus writes:

 I have a java (clojure, actually) program which is invoked via a bash
 script. When the script is invoked from the shell, the java program
 always runs and succeeds. However, when the script is invoked via a
 cron job, the java program always runs and crashes with a null pointer
 exception.

Cron jobs have a limited environment. The $PATH is shorter, many 
environment variables are not set. Maybe this is the cause?

 Any thoughts on how to debug the situation?

I would add env  /tmp/myscript.env to the top of the script, this puts 
all environment variables and their values into /tmp/myscript.env. Compare 
the outputs with diff, maybe you spot something which explains the 
behaviour.

Maybe you can replace the call to the script in your crontab with 
something like bash -il /path/to/myscript, forcing it to run in an 
interactive login shell. I have not tried this, though, it's just an idea.

Wonko



Re: [gentoo-user] Has semantic-desktop really become compulsatory for kmail?

2010-02-11 Thread Dale

chrome://messenger/locale/messengercompose/composeMsgs.properties:

On Donnerstag 11 Februar 2010, Alan McKinnon wrote:
   

On Thursday 11 February 2010 13:50:54 Walter Dnes wrote:
 

On Thu, Feb 11, 2010 at 01:31:26AM +0100, Volker Armin Hemmann wrote

   

On Donnerstag 11 Februar 2010, Roy Wright wrote:
 

IMO, mandatory semantic-desktop is a very good reason to find another
desktop manager (even after being my primary desktop for 7 years).
   

yeah good luck with that. Because gnome is moving in that direction
too.

 

   There are other desktops besides GNOME and KDE.  Actually I prefer the

ICEWM window manager.  I was running a 1999 Dell 450mhz PIII with 128
megs of *SYSTEM* ram until the summer of 2007.  Let's just say that
GNOME and KDE were out of the question for me.  On my current desktop,
ICEWM flies.  But I also have a netbook, and again GNOME and KDE are not
usable.

   

Seriously guys, you start sounding like luddites. Is new, must be bad.

 

   Correction, is fat, bloated, and slow, must be bad.  I wonder if

Microsoft's anti-linux strategy is to have its agents infiltrate the
linux developer community, and turn linux into bloatware.
   

You have been corrected on this point so many times I now think you are
just a stupid ass.

It is not slow.

You are the only one saying that. People who do use Nepomuk say that it is
not slow and does not hog resources (initial scan excepted).
 

you can even tell nepomuk how much memory it is allowed to use ...

   


Can you nice the thing too?  That would work.  I set emerge to 5 and I 
can't even tell that emerge is running most of the time.  There may be 
times when I can but it is rare.


I just don't get this thing that indexing is a resource hog.  I notice 
updatedb running at night.  I have 329Gbs of data and updatedb only 
takes a few minutes.  How is that a resource hog?  My machine is not 
as old as some but it is slow going by the new machines that are out 
now.  It's a AMD 2500+ with 2Gbs of ram.  I have had Linux on machines 
as slow as 133MHz but never felt the need to disable indexing.


Dale

:-)  :-)




Re: [gentoo-user] Cron, bash, and java interacting badly?

2010-02-11 Thread Alan McKinnon
On Thursday 11 February 2010 15:40:09 Walt Rarus wrote:
 I have a java (clojure, actually) program which is invoked via a bash
 script. When the script is invoked from the shell, the java program always
 runs and succeeds. However, when the script is invoked via a cron job, the
 java program always runs and crashes with a null pointer exception.
 
 Any thoughts on how to debug the situation?

Same resolution as every other time cron errors come up:

cron does NOT run in a shell with an environment. It does not use 
/etc/profile.

You must set up your own environment in your script run from cron. For 
example, you are likely missing JAVA_HOME and friends.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Keyword for dev-java/sun-j2ee

2010-02-11 Thread Alan McKinnon
On Thursday 11 February 2010 15:19:57 dhk wrote:
 How do I find out the missing keyword for dev-java/sun-j2ee?
 
 I tried dev-java/sun-j2ee ~amd64 java in /etc/portage/package.keywords
 and tried adding ACCEPT_LICENSE=sun-bcla-j2ee to /etc/make.conf.


dev-java/sun-j2ee ~*





 
 Below is the output to the emerge.
 
 emerge -pv dev-java/sun-j2ee
 !!! CONFIG_PROTECT is empty
 These are the packages that would be merged, in order:
 
 Calculating dependencies... done!
 
 !!! All ebuilds that could satisfy dev-java/sun-j2ee have been masked.
 !!! One of the following masked packages is required to complete your
 request:
 - dev-java/sun-j2ee-1.3.1-r4 (masked by: missing keyword)
 
 
 For more information, see the MASKED PACKAGES section in the emerge
 man page or refer to the Gentoo Handbook.
 
 Thanks,
 
 dhk

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Has semantic-desktop really become compulsatory for kmail?

2010-02-11 Thread Alan McKinnon
On Thursday 11 February 2010 16:32:02 Dale wrote:

 Can you nice the thing too?  That would work.  I set emerge to 5 and I
 can't even tell that emerge is running most of the time.  There may be
 times when I can but it is rare.
 
 I just don't get this thing that indexing is a resource hog.  I notice
 updatedb running at night.  I have 329Gbs of data and updatedb only
 takes a few minutes.  How is that a resource hog?  My machine is not
 as old as some but it is slow going by the new machines that are out
 now.  It's a AMD 2500+ with 2Gbs of ram.  I have had Linux on machines
 as slow as 133MHz but never felt the need to disable indexing.


No need for any of that.

Walter is just being a prick, talking out of a hole in his arse with the some 
total of truth = 0

Apologies for the French. I cannot resist. Dimwits annoy me greatly.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Keyword for dev-java/sun-j2ee

2010-02-11 Thread dhk
Alan McKinnon wrote:
 On Thursday 11 February 2010 15:19:57 dhk wrote:
 How do I find out the missing keyword for dev-java/sun-j2ee?

 I tried dev-java/sun-j2ee ~amd64 java in /etc/portage/package.keywords
 and tried adding ACCEPT_LICENSE=sun-bcla-j2ee to /etc/make.conf.
 
 
 dev-java/sun-j2ee ~*
 
 
 
 
 
 Below is the output to the emerge.

 emerge -pv dev-java/sun-j2ee
 !!! CONFIG_PROTECT is empty
 These are the packages that would be merged, in order:

 Calculating dependencies... done!

 !!! All ebuilds that could satisfy dev-java/sun-j2ee have been masked.
 !!! One of the following masked packages is required to complete your
 request:
 - dev-java/sun-j2ee-1.3.1-r4 (masked by: missing keyword)


 For more information, see the MASKED PACKAGES section in the emerge
 man page or refer to the Gentoo Handbook.

 Thanks,

 dhk
 


That seems like it should have worked.  I tried dev-java/sun-j2ee ~* in
/etc/portage/package.keywords but I get the same response.

Any more ideas?

Thanks,

dhk




Re: [gentoo-user] Has semantic-desktop really become compulsatory for kmail?

2010-02-11 Thread Volker Armin Hemmann
On Donnerstag 11 Februar 2010, Dale wrote:
 chrome://messenger/locale/messengercompose/composeMsgs.properties:
  On Donnerstag 11 Februar 2010, Alan McKinnon wrote:
  On Thursday 11 February 2010 13:50:54 Walter Dnes wrote:
  On Thu, Feb 11, 2010 at 01:31:26AM +0100, Volker Armin Hemmann wrote
  
  On Donnerstag 11 Februar 2010, Roy Wright wrote:
  IMO, mandatory semantic-desktop is a very good reason to find another
  desktop manager (even after being my primary desktop for 7 years).
  
  yeah good luck with that. Because gnome is moving in that direction
  too.
  
 There are other desktops besides GNOME and KDE.  Actually I prefer
 the
  
  ICEWM window manager.  I was running a 1999 Dell 450mhz PIII with 128
  megs of *SYSTEM* ram until the summer of 2007.  Let's just say that
  GNOME and KDE were out of the question for me.  On my current desktop,
  ICEWM flies.  But I also have a netbook, and again GNOME and KDE are
  not usable.
  
  Seriously guys, you start sounding like luddites. Is new, must be bad.
  
 Correction, is fat, bloated, and slow, must be bad.  I wonder if
  
  Microsoft's anti-linux strategy is to have its agents infiltrate the
  linux developer community, and turn linux into bloatware.
  
  You have been corrected on this point so many times I now think you are
  just a stupid ass.
  
  It is not slow.
  
  You are the only one saying that. People who do use Nepomuk say that it
  is not slow and does not hog resources (initial scan excepted).
  
  you can even tell nepomuk how much memory it is allowed to use ...
 
 Can you nice the thing too?  That would work.  I set emerge to 5 and I
 can't even tell that emerge is running most of the time.  There may be
 times when I can but it is rare.
 
 I just don't get this thing that indexing is a resource hog.  I notice
 updatedb running at night.  I have 329Gbs of data and updatedb only
 takes a few minutes.  How is that a resource hog?  My machine is not
 as old as some but it is slow going by the new machines that are out
 now.  It's a AMD 2500+ with 2Gbs of ram.  I have had Linux on machines
 as slow as 133MHz but never felt the need to disable indexing.
 

when updatedb runs your cache is shot afterwards. That is a known problems.

Nepomuk is only noticable once: the first indexing run. After that it creates 
zero load.



Re: [gentoo-user] Re: Has semantic-desktop really become compulsatory for kmail?

2010-02-11 Thread Mike Edenfield

On 2/11/2010 7:00 AM, Walter Dnes wrote:


And if I really wanted a glitzy, bloated,
slow-as-molasses, pointy-clicky-touchy-feely-oowee-GUI, I would've
stayed with Windows, thank you.  I started with Blckbox and am now on
ICEWM.


So, to summarize:

* You don't like modern desktop environment design philosophy
* You have no need for all of the convenience and productivity 
enhancements they provide

* You are perfectly happy to use your previous window manager
* Your previous window manager continues to work well for you and do 
everything you require from a window manager,


and,

* You just really like to complain about things.

--Mike



Re: [gentoo-user] Keyword for dev-java/sun-j2ee

2010-02-11 Thread Alan McKinnon
On Thursday 11 February 2010 16:56:51 dhk wrote:
 Alan McKinnon wrote:
  On Thursday 11 February 2010 15:19:57 dhk wrote:
  How do I find out the missing keyword for dev-java/sun-j2ee?
  
  I tried dev-java/sun-j2ee ~amd64 java in /etc/portage/package.keywords
  and tried adding ACCEPT_LICENSE=sun-bcla-j2ee to /etc/make.conf.
  
  dev-java/sun-j2ee ~*
  
  Below is the output to the emerge.
  
  emerge -pv dev-java/sun-j2ee
  !!! CONFIG_PROTECT is empty
  These are the packages that would be merged, in order:
  
  Calculating dependencies... done!
  
  !!! All ebuilds that could satisfy dev-java/sun-j2ee have been masked.
  !!! One of the following masked packages is required to complete your
  request:
  - dev-java/sun-j2ee-1.3.1-r4 (masked by: missing keyword)
  
  
  For more information, see the MASKED PACKAGES section in the emerge
  man page or refer to the Gentoo Handbook.
  
  Thanks,
  
  dhk
 
 That seems like it should have worked.  I tried dev-java/sun-j2ee ~* in
 /etc/portage/package.keywords but I get the same response.
 
 Any more ideas?

From the ebuild:

KEYWORDS=-ppc x86

So for amd64 you would need in packages.keywords:

dev-java/sun-j2ee **

That will likely let it install. It might even run afterwards... :-)


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Keyword for dev-java/sun-j2ee

2010-02-11 Thread Dale

chrome://messenger/locale/messengercompose/composeMsgs.properties:

Alan McKinnon wrote:
   

On Thursday 11 February 2010 15:19:57 dhk wrote:
 

How do I find out the missing keyword for dev-java/sun-j2ee?

I tried dev-java/sun-j2ee ~amd64 java in /etc/portage/package.keywords
and tried adding ACCEPT_LICENSE=sun-bcla-j2ee to /etc/make.conf.
   


dev-java/sun-j2ee ~*





 

Below is the output to the emerge.

emerge -pv dev-java/sun-j2ee
!!! CONFIG_PROTECT is empty
These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! All ebuilds that could satisfy dev-java/sun-j2ee have been masked.
!!! One of the following masked packages is required to complete your
request:
- dev-java/sun-j2ee-1.3.1-r4 (masked by: missing keyword)


For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

Thanks,

dhk
   
 


That seems like it should have worked.  I tried dev-java/sun-j2ee ~* in
/etc/portage/package.keywords but I get the same response.

Any more ideas?

Thanks,

dhk

   


Have you synced lately?  According to mine it is not masked or keyworded 
and should install without changing anything.  I synced last night and I 
get this:


r...@smoker / # equery list -p dev-java/sun-j2ee
[ Searching for package 'sun-j2ee' in 'dev-java' among: ]
 * installed packages
 * Portage tree (/usr/portage)
[-P-] [  ] dev-java/sun-j2ee-1.3.1-r4 (0)
[-P-] [  ] dev-java/sun-j2ee-deployment-bin-1.1-r2 (1.1)
r...@smoker / #


Looks good to go to me.

Dale

:-)  :-)



Re: [gentoo-user] Has semantic-desktop really become compulsatory for kmail?

2010-02-11 Thread Dale

chrome://messenger/locale/messengercompose/composeMsgs.properties:

On Thursday 11 February 2010 16:32:02 Dale wrote:

   

Can you nice the thing too?  That would work.  I set emerge to 5 and I
can't even tell that emerge is running most of the time.  There may be
times when I can but it is rare.

I just don't get this thing that indexing is a resource hog.  I notice
updatedb running at night.  I have 329Gbs of data and updatedb only
takes a few minutes.  How is that a resource hog?  My machine is not
as old as some but it is slow going by the new machines that are out
now.  It's a AMD 2500+ with 2Gbs of ram.  I have had Linux on machines
as slow as 133MHz but never felt the need to disable indexing.
 


No need for any of that.

Walter is just being a prick, talking out of a hole in his arse with the some
total of truth = 0

Apologies for the French. I cannot resist. Dimwits annoy me greatly.

   


Maybe he is trying to run Linux on a Vic-20?  I think it was a blazing 
4MHz or something like that.  Seriously tho, the slowest rig I had Linux 
on was 133MHz.  It had some really old slow drives in it, something like 
15MBs/sec, and I never saw the need to disable updatedb or other 
indexing software.  It just doesn't use that much.


Anything made in the last few years should be able to handle that with 
no problems.  Heck, my 6 year old rig does fine.


Dale

:-)  :-)



Re: [gentoo-user] New application: app-portage/kportagetray

2010-02-11 Thread Ronan Arraes Jardim Chagas
Hello fellow,

Finally KPortageTray was ported to KDE 4.4.

You can install it from kde-orverlay (app-portage/kportagetray).

Regards,
-- 
Ronan Arraes Jardim Chagas
Control and Automation Engineer
Gentoo Foundation Member
Em Qui 07 Jan 2010, às 22:11:10, Neil Bothwick escreveu:
 On Thu, 7 Jan 2010 18:05:14 -0200, Ronan Arraes Jardim Chagas wrote:
  And I'm attaching tarball and ebuild (80KiB ~) and I would appreciate
  if someone test it and give me a feedback :)
 
 % kportagetray
 Traceback (most recent call last):
   File /usr/bin/kportagetray, line 68, in module
 KPortageTray_MainWindow = KPT_MainWindow()
   File /usr/share/apps/KPortageTray/KPT_MainWindow.py, line 69, in
 __init__ self._dbus = KPT_dbus()
   File /usr/share/apps/KPortageTray/KPT_dbus.py, line 38, in __init__
 self._notify =
 dbus.SessionBus().get_object('org.kde.VisualNotifications',
 '/VisualNotifications') File
 /usr/lib64/python2.6/site-packages/dbus/bus.py, line 244, in get_object
 follow_name_owner_changes=follow_name_owner_changes) File
 /usr/lib64/python2.6/site-packages/dbus/proxies.py, line 241, in
 __init__ self._named_service = conn.activate_name_owner(bus_name) File
 /usr/lib64/python2.6/site-packages/dbus/bus.py, line 183, in
 activate_name_owner self.start_service_by_name(bus_name) File
 /usr/lib64/python2.6/site-packages/dbus/bus.py, line 281, in
 start_service_by_name 'su', (bus_name, flags))) File
 /usr/lib64/python2.6/site-packages/dbus/connection.py, line 622, in
 call_blocking message, timeout) dbus.exceptions.DBusException:
 org.freedesktop.DBus.Error.ServiceUnknown: The name
 org.kde.VisualNotifications was not provided by any .service files
 
 Sorry :(


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


Re: [gentoo-user] Keyword for dev-java/sun-j2ee

2010-02-11 Thread Alex Schuster
Dale writes:

 chrome://messenger/locale/messengercompose/composeMsgs.properties:

Whoops?

 Have you synced lately?  According to mine it is not masked or
 keyworded and should install without changing anything.  I synced last
 night and I get this:

You're probably running an x86 system, while dhk probably is at amd64. But 
this is not part of the KEYWORDS line in the ebuild:

wo...@weird ~ $ grep KEYWORDS /usr/portage/tree/dev-java/sun-j2ee/sun-
j2ee-1.3.1-r4.ebuild 
KEYWORDS=-ppc x86

Wonko



Re: [gentoo-user] Re: Has semantic-desktop really become compulsatory for kmail?

2010-02-11 Thread Paul Hartman
On Wed, Feb 10, 2010 at 6:01 PM, Jörg Schaible joerg.schai...@gmx.de wrote:
 Well, in 4.3.x I eliminated it after the first try, because it took so many
 resources of my machine, that I could not use it for something else. So, you
 mean, in 4.4.x it takes only a 10% of the resources it took with 4.3.x? LOL,
 although I really like the idea of the semantic desktop, I rather have a
 usable machine ...

I tried it again in KDE 4.4, and other than virtuoso taking 100% with
a bug (I killed it and it behaved normally after that) I didn't
experience any extreme load even during the initial indexing. However,
I disabled it after a couple hours of indexing because it was already
using a few gigabytes of disk and I simply don't find it useful.



Re: [gentoo-user] Keyword for dev-java/sun-j2ee

2010-02-11 Thread dhk
Dale wrote:
 chrome://messenger/locale/messengercompose/composeMsgs.properties:
 Alan McKinnon wrote:
   
 On Thursday 11 February 2010 15:19:57 dhk wrote:
 
 How do I find out the missing keyword for dev-java/sun-j2ee?

 I tried dev-java/sun-j2ee ~amd64 java in /etc/portage/package.keywords
 and tried adding ACCEPT_LICENSE=sun-bcla-j2ee to /etc/make.conf.


 dev-java/sun-j2ee ~*





 
 Below is the output to the emerge.

 emerge -pv dev-java/sun-j2ee
 !!! CONFIG_PROTECT is empty
 These are the packages that would be merged, in order:

 Calculating dependencies... done!

 !!! All ebuilds that could satisfy dev-java/sun-j2ee have been
 masked.
 !!! One of the following masked packages is required to complete your
 request:
 - dev-java/sun-j2ee-1.3.1-r4 (masked by: missing keyword)


 For more information, see the MASKED PACKAGES section in the emerge
 man page or refer to the Gentoo Handbook.

 Thanks,

 dhk

  

 That seems like it should have worked.  I tried dev-java/sun-j2ee ~* in
 /etc/portage/package.keywords but I get the same response.

 Any more ideas?

 Thanks,

 dhk


 
 Have you synced lately?  According to mine it is not masked or keyworded
 and should install without changing anything.  I synced last night and I
 get this:
 
 r...@smoker / # equery list -p dev-java/sun-j2ee
 [ Searching for package 'sun-j2ee' in 'dev-java' among: ]
  * installed packages
  * Portage tree (/usr/portage)
 [-P-] [  ] dev-java/sun-j2ee-1.3.1-r4 (0)
 [-P-] [  ] dev-java/sun-j2ee-deployment-bin-1.1-r2 (1.1)
 r...@smoker / #
 
 
 Looks good to go to me.
 
 Dale
 
 :-)  :-)
 
 

I did a sync, but no difference.  However, the dev-java/sun-j2ee **
worked after I downloaded j2sdkee-1_3_1-linux.tar.gz .

Thanks,

dhk



Re: [gentoo-user] Broadcom firmware doesn't work with 2.6.32-r4

2010-02-11 Thread Kaddeh
Check out http://bugs.gentoo.org/show_bug.cgi?id=304265 and then update to
2.6.32-r5

Cheers

Kad

On Wed, Feb 10, 2010 at 11:24 PM, Iain Buchanan iai...@netspace.net.auwrote:

 Hi collective,

 I just upgraded from linux-2.6.32-tuxonice-r1 to r4 and my network card
 no longer works.  It is Broadcom Corporation NetXtreme BCM5756ME
 Gigabit Ethernet PCI Express and previously I've downloaded firmware
 from

 http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware-from-kernel.git;a=tree;f=tigon
 and put it in /lib/firmware/tigon

 The config option is tg3, built into the kernel.

 dmesg shows:
 $ dmesg | grep -i tg3
 tg3.c:v3.102 (September 1, 2009)
 tg3 :09:00.0: PCI INT A - GSI 17 (level, low) - IRQ 17
 tg3 :09:00.0: setting latency timer to 64
 tg3 :09:00.0: firmware: requesting tigon/tg3_tso.bin
 tg3: tg3_load_firmware_cpu: Trying to load TX cpu firmware on eth0 which is
 5705.
 tg3: tg3_load_firmware_cpu: Trying to load TX cpu firmware on eth0 which is
 5705.

 I don't know if the last two lines are normally there or not.  The
 firmware at the above link hasn't changed (according to cksum).

 Google searches only produce the source code, which is pretty but
 doesn't help.  The error detection around the print message hasn't
 changed since -r1.

 Any ideas?  I'm stuck using wireless, but that's dropping in and out all
 the time!

 thanks,
 --
 Iain Buchanan iaindb at netspace dot net dot au

 Experience is that marvelous thing that enables you recognize a mistake
 when you make it again.
-- Franklin P. Jones






Re: [gentoo-user] How the HAL are you supposed to use these files?

2010-02-11 Thread Neil Bothwick
On Thu, 11 Feb 2010 02:31:21 -0500, Walter Dnes wrote:

  Because nine years ago, Linux desktop  software didn't use
  interprocess communication. Of course things will still work, but not
  necessarily everything. For example, Network Manager uses D-Bus to
  tell programs when your Internet connection is available and not, so
  your mail client goes into offline mode rather than pointlessly
  trying to access your mailbox. KDE4 uses it quite extensively, ust as
  KDE3 used DCOP.  
 
   There is too much solution-in-search-of-a-problem here.

Hardly, IPC is harrdly new, the amiga was doing ti 25 years ago and
shortly after that it became available to user scripts.

 XMMS followed
 the original Unix philosophy... it did one thing did it right, namely
 playing audio.

Yes, and if you have a number of programs, each doing one job only, they
need to be able to communicate in order to do the larger job. Imagine a
building site where the bricklayers, plasterers, electricians an
plumbers didn't talk to each other or the project manager.

In a shall, pipes can be used for IPC, but that doesn't work on a desktop
so something else was needed. This has always been true, all that is
new(ish) is that D-Bus is now the something else, and it is a global
standard. DCOP was good, but it only worked with KDE programs, D-Bus
means that your system is just that and not a bunch of programs each
going their own way, ignoring each other and duplicating effort. If you
want an OS like that, I hear they produce one in Redmond.


-- 
Neil Bothwick

If it isn't broken, I can fix it.


signature.asc
Description: PGP signature


Re: [gentoo-user] Adding dependencies in init scripts

2010-02-11 Thread Neil Bothwick
On Thu, 11 Feb 2010 13:15:04 +0100, Damian wrote:

  I found this by looking in the cups init script.  It should help.
 
  depend() {
     use net
     need avahi-daemon dbus
     before nfs
     after logger
  }  

 I've tried putting after mpdscribble  without success. Also the
 problem with this approach is that if I update mpd, I will have to
 modify the init script again.

That only means that is mdscribble is in the runlevel, start mpd after
it. Try need mpdscribble. The handbook and one of the man pages explain
these options.

You can add /etc/init.d to CONFIG_PROTECT and remove it from
CONFIG_PROTECT_MASK in make.conf.

Or you could remove mpd from the default runlevel and call both the init
scripts from /etc/conf.d/local.


-- 
Neil Bothwick

You are a completely unique individual, just like everybody else.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Has semantic-desktop really become compulsatory for kmail?

2010-02-11 Thread Neil Bothwick
On Thu, 11 Feb 2010 07:00:27 -0500, Walter Dnes wrote:

   Yes, I can organize my files to the point where I rarely ever use
 find.  Just because you can't, is not a reason to slow down everybody
 else's desktop. 

Is this ignorance or FUD?

It must be FUD because it has already been stated countless times in this
thread that this service can be switched off.


-- 
Neil Bothwick

I typed Format SER: and accidentally killed a telephone operator!


signature.asc
Description: PGP signature


Re: [gentoo-user] Cron, bash, and java interacting badly?

2010-02-11 Thread Neil Bothwick
On Thu, 11 Feb 2010 16:35:03 +0200, Alan McKinnon wrote:

 You must set up your own environment in your script run from cron. For 
 example, you are likely missing JAVA_HOME and friends.

source /etc/profile at the top of the script often works.


-- 
Neil Bothwick

If at first you don't succeed, skydiving is not for you.


signature.asc
Description: PGP signature


[gentoo-user] in-memory database

2010-02-11 Thread Hung Dang
Hi all,

I am looking for an open source in-memory database for data mining purpose.
I have tried to look into /usr/portage/dev-db/ and have not found any
in-memory package. Any suggestion?

Thanks in advance
Hung


Re: [gentoo-user] in-memory database

2010-02-11 Thread Alexander
On Thursday 11 February 2010 20:27:15 Hung Dang wrote:
 Hi all,
 
 I am looking for an open source in-memory database for data mining purpose.
 I have tried to look into /usr/portage/dev-db/ and have not found any
 in-memory package. Any suggestion?
 
 Thanks in advance
 Hung
 

What kind of database are you looking for? There is several ways of in-memory 
db: Berkley DB, native languages hash tables  and etc



[gentoo-user] Uh Oh!! Made the contents of my directory unreadable

2010-02-11 Thread ubiquitous1980
With this command or similar, I made my directory and one file in /
unreadable:

for entry in $(find $HOME); do $entry  found; done

the same of output for ls is similar:

-k?x?B?{U?I?3s??
???N???Q
?ܝw?Ϭw??9c̃}}WzǸ??t
Ƿ~???
?^8?O?
?^???­?cB?f???vV?!?@
???8%??{??8?y??R??g??
??=c
?$??̝~Ќ?t?)i}ˌW?6?
??:G?x??g*D???S(?I%?=?m?ۼVݶT??ն)u??K[([??4?u???g?_??1M???QL?8*9?P
㓋?8M??4=?έ?w3?m?'?Dv??u? ?s?ƬA?q??a]??~:??.Kd??뗕oi?y6:˿???
N}Y?Cậ?WŠ?W???K0???vY? Z?1??
?U0?T*?A??̻?ɸ?ȶ?IJ???

Any ideas on how to fix this?



Re: [gentoo-user] Uh Oh!! Made the contents of my directory unreadable

2010-02-11 Thread Alan McKinnon
On Thursday 11 February 2010 19:58:25 ubiquitous1980 wrote:
 With this command or similar, I made my directory and one file in /
 unreadable:
 
 for entry in $(find $HOME); do $entry  found; done
 
 the same of output for ls is similar:
 
 -k?x?B?{U?I?3s??
 ???N???Q
 ?ܝw?Ϭw??9c̃}}WzǸ??t
 Ƿ~???
 ?^8?O?
 ?^???­?cB?f???vV?!?@
 ???8%??{??8?y??R??g??
 ??=c
 ?$??̝~Ќ?t?)i}ˌW?6?
 ??:G?x??g*D???S(?I%?=?m?ۼVݶT??ն)u??K[([??4?u???g?_??1M???QL?8*9?P
 㓋?8M??4=?έ?w3?m?'?Dv??u? ?s?ƬA?q??a]??~:??.Kd??뗕oi?y6:˿???
 N}Y?Cậ?WŠ?W???K0???vY? Z?1??
 ?U0?T*?A??̻?ɸ?ȶ?IJ???
 
 Any ideas on how to fix this?


Is the output given from the same shell session in which you ran the command?

Switch to a text console (Ctrl-Alt-Fx) and ls things there, perhaps the 
garbage dumped to the screen in your for simply upset the terminal emulation.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] in-memory database

2010-02-11 Thread Hung Dang
Hi Alexander,

Thanks a lot for your quick reply. I just start my project then I might have
to try some in-memory dbs and see which one is suitable for my application.

Thanks
Hung


On Thu, Feb 11, 2010 at 10:50 AM, Alexander b3n...@yandex.ru wrote:

 On Thursday 11 February 2010 20:27:15 Hung Dang wrote:
  Hi all,
 
  I am looking for an open source in-memory database for data mining
 purpose.
  I have tried to look into /usr/portage/dev-db/ and have not found any
  in-memory package. Any suggestion?
 
  Thanks in advance
  Hung
 

 What kind of database are you looking for? There is several ways of
 in-memory
 db: Berkley DB, native languages hash tables  and etc




-- 
Hung Dang
New Mexico State University


Re: [gentoo-user] Keyword for dev-java/sun-j2ee

2010-02-11 Thread Alan McKinnon
On Thursday 11 February 2010 18:09:33 Alex Schuster wrote:
 Dale writes:
  chrome://messenger/locale/messengercompose/composeMsgs.properties:
 Whoops?

SeaMonkey.

Dale has his eyes set on holding the world record to be the last KDE-3.5 user 
left standing with the longest continual uptime for any app from the Mozilla 
stable.

This is a worthy goal. He deserves our support. Without us, the title will 
likely go to some SuSE user.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] in-memory database

2010-02-11 Thread Helmut Jarausch
On 11 Feb, Hung Dang wrote:
 Hi all,
 
 I am looking for an open source in-memory database for data mining purpose.
 I have tried to look into /usr/portage/dev-db/ and have not found any
 in-memory package. Any suggestion?
 

You might use dev-db/sqlite and put its files on a tmpfs directory.
Helmut.

-- 
Helmut Jarausch

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



Re: [gentoo-user] Uh Oh!! Made the contents of my directory unreadable

2010-02-11 Thread Neil Bothwick
On Thu, 11 Feb 2010 20:18:29 +0200, Alan McKinnon wrote:

 Switch to a text console (Ctrl-Alt-Fx) and ls things there, perhaps the 
 garbage dumped to the screen in your for simply upset the terminal
 emulation.

In which case, running reset in the affected terminal should clear it.


-- 
Neil Bothwick

Bookmark - A means of returning to where you got lost last time.


signature.asc
Description: PGP signature


Re: [gentoo-user] Keyword for dev-java/sun-j2ee

2010-02-11 Thread Neil Bothwick
On Thu, 11 Feb 2010 20:28:55 +0200, Alan McKinnon wrote:

 Dale has his eyes set on holding the world record to be the last
 KDE-3.5 user left standing with the longest continual uptime for any
 app from the Mozilla stable.
 
 This is a worthy goal. He deserves our support. Without us, the title
 will likely go to some SuSE user.

I was going to suggest that would be a Debian stable user, but they're
probably still on KDE 2.


-- 
Neil Bothwick

The best things in life are free, but the
expensive ones are still worth a look.


signature.asc
Description: PGP signature


Re: [gentoo-user] in-memory database

2010-02-11 Thread Joshua Murphy
On Thu, Feb 11, 2010 at 1:45 PM, Helmut Jarausch
jarau...@igpm.rwth-aachen.de wrote:
 On 11 Feb, Hung Dang wrote:
 Hi all,

 I am looking for an open source in-memory database for data mining purpose.
 I have tried to look into /usr/portage/dev-db/ and have not found any
 in-memory package. Any suggestion?


 You might use dev-db/sqlite and put its files on a tmpfs directory.
 Helmut.

 --
 Helmut Jarausch

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

Or, even, just use SQLite's support for in-memory databases... a
little about that's here:
http://www.sqlite.org/cvstrac/wiki?p=InMemoryDatabase

-- 
Poison [BLX]
Joshua M. Murphy



Re: [gentoo-user] in-memory database

2010-02-11 Thread Ognjen Bezanov

Helmut Jarausch wrote:

On 11 Feb, Hung Dang wrote:

Hi all,

I am looking for an open source in-memory database for data mining purpose.
I have tried to look into /usr/portage/dev-db/ and have not found any
in-memory package. Any suggestion?



You might use dev-db/sqlite and put its files on a tmpfs directory.
Helmut.



SQLITE supports holding a database in memory. I never did it in python, 
but in PHP if you put memory in the connect string rather than a 
filename, the database will reside solely in RAM.


As this is a sqlite feature rather than a PHP feature, it should work 
under python as well (but I've never done it, so I don't know the syntax).


Ognjen.




Re: [gentoo-user] Keyword for dev-java/sun-j2ee

2010-02-11 Thread dhk
dhk wrote:
 Dale wrote:
 chrome://messenger/locale/messengercompose/composeMsgs.properties:
 Alan McKinnon wrote:
   
 On Thursday 11 February 2010 15:19:57 dhk wrote:
 
 How do I find out the missing keyword for dev-java/sun-j2ee?

 I tried dev-java/sun-j2ee ~amd64 java in /etc/portage/package.keywords
 and tried adding ACCEPT_LICENSE=sun-bcla-j2ee to /etc/make.conf.

 dev-java/sun-j2ee ~*





 
 Below is the output to the emerge.

 emerge -pv dev-java/sun-j2ee
 !!! CONFIG_PROTECT is empty
 These are the packages that would be merged, in order:

 Calculating dependencies... done!

 !!! All ebuilds that could satisfy dev-java/sun-j2ee have been
 masked.
 !!! One of the following masked packages is required to complete your
 request:
 - dev-java/sun-j2ee-1.3.1-r4 (masked by: missing keyword)


 For more information, see the MASKED PACKAGES section in the emerge
 man page or refer to the Gentoo Handbook.

 Thanks,

 dhk

  
 That seems like it should have worked.  I tried dev-java/sun-j2ee ~* in
 /etc/portage/package.keywords but I get the same response.

 Any more ideas?

 Thanks,

 dhk


 Have you synced lately?  According to mine it is not masked or keyworded
 and should install without changing anything.  I synced last night and I
 get this:

 r...@smoker / # equery list -p dev-java/sun-j2ee
 [ Searching for package 'sun-j2ee' in 'dev-java' among: ]
  * installed packages
  * Portage tree (/usr/portage)
 [-P-] [  ] dev-java/sun-j2ee-1.3.1-r4 (0)
 [-P-] [  ] dev-java/sun-j2ee-deployment-bin-1.1-r2 (1.1)
 r...@smoker / #


 Looks good to go to me.

 Dale

 :-)  :-)


 
 I did a sync, but no difference.  However, the dev-java/sun-j2ee **
 worked after I downloaded j2sdkee-1_3_1-linux.tar.gz .
 
 Thanks,
 
 dhk
 
 


Another question about this.

Where's a good place to set J2EE_HOME (/opt/sun-j2ee-1.3.1/) and
JAVA_HOME?  Should it be in each user's profile?  If I wanted to set
them globally for all users should they go in /etc/profile ?

Also when starting j2ee I get the following error.
# /opt/sun-j2ee-1.3.1/bin/j2ee -verbose
/opt/sun-j2ee-1.3.1/bin/j2ee: line 14: /opt/sun-j2ee-1.3.1//bin/java: No
such file or directory

Is there another java package I need to install?  /bin/java doesn't exist.

Thanks,
dhk




Re: [gentoo-user] Uh Oh!! Made the contents of my directory unreadable

2010-02-11 Thread Peter Humphrey
On Thursday 11 February 2010 18:18:29 Alan McKinnon wrote:

 perhaps the garbage dumped to the screen in your for simply upset the
 terminal emulation.

...in which case, perhaps typing RESET in the terminal will help.

-- 
Rgds
Peter.



[gentoo-user] Upside/downside to including config files in quickpkg?

2010-02-11 Thread Mark Knecht
Can someone comment on why I do or do not want to include config files
when making quickpkg files?

Seems like there is the issue of hand edits being saved which would be
a good reason to keep them. I'm not overly worried about someone
stealing them and getting access to settings, but I can see that might
be a good reason not to.

If I don't save them and then after a crash want to use binary
packages to get a machine running quickly it seems like I'd want to
include everything I could.

What would the more experienced user do for the single-user desktop type user?

Thanks,
Mark



Re: [gentoo-user] Upside/downside to including config files in quickpkg?

2010-02-11 Thread Alan McKinnon
On Thursday 11 February 2010 22:09:28 Mark Knecht wrote:
 Can someone comment on why I do or do not want to include config files
 when making quickpkg files?
 
 Seems like there is the issue of hand edits being saved which would be
 a good reason to keep them. I'm not overly worried about someone
 stealing them and getting access to settings, but I can see that might
 be a good reason not to.
 
 If I don't save them and then after a crash want to use binary
 packages to get a machine running quickly it seems like I'd want to
 include everything I could.
 
 What would the more experienced user do for the single-user desktop type
 user?


The config of the package you quickpkg'ed likely works. 
emerge -k is most often used to revert your own mistakes, so you want the 
thing to work. Your latest configs are suspect, why insist they take priority? 
You can always rename them to name.bak if you think they might get nuked.

Why do you care if someone steals your quickpkgs? Put them in a directory 
owned by root, they are then as safe as your stuff in /etc. To get to the 
tarballs, they must get to a place where they can just read the originals

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Keyword for dev-java/sun-j2ee

2010-02-11 Thread Alan McKinnon
On Thursday 11 February 2010 22:06:50 dhk wrote:
 Another question about this.
 
 Where's a good place to set J2EE_HOME (/opt/sun-j2ee-1.3.1/) and
 JAVA_HOME?  Should it be in each user's profile?  If I wanted to set
 them globally for all users should they go in /etc/profile ?

How many users use it? 

One? Put it in their profile.
Many? put it in the system profile.

This is not a decision peculiar to j2ee, you must make the identical decision 
for hundreds of packages - same principles apply.

Or you could use the absurd method Sybase uses, but we won't go there now...


 Also when starting j2ee I get the following error.
 # /opt/sun-j2ee-1.3.1/bin/j2ee -verbose
 /opt/sun-j2ee-1.3.1/bin/j2ee: line 14: /opt/sun-j2ee-1.3.1//bin/java: No
 such file or directory
 
 Is there another java package I need to install?  /bin/java doesn't exist.

I'm not surprised.

it's not /bin/java
it's /opt/sun-j2ee-1.3.1/bin/java
an entirely different thing.

When I last played with j2ee, the package from Sun did not have a JVM, you had 
to install that first.

You probably need to install a jdk or jvm, which is odd as that should be a 
DEPEND.
If you do have a jdk or jvm, you need a symlink:

ln -s /usr/bin/java /opt/sun-j2ee-1.3.1/bin/java


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Uh Oh!! Made the contents of my directory unreadable

2010-02-11 Thread Alan McKinnon
On Thursday 11 February 2010 21:47:33 Neil Bothwick wrote:
 On Thu, 11 Feb 2010 20:18:29 +0200, Alan McKinnon wrote:
  Switch to a text console (Ctrl-Alt-Fx) and ls things there, perhaps the
  garbage dumped to the screen in your for simply upset the terminal
  emulation.
 
 In which case, running reset in the affected terminal should clear it.

Every time I've tried to tell people to do that, they tell me they can't do it 
because 

%#!*^

obviously is not a valid command.

I've given up explaining :-)


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Upside/downside to including config files in quickpkg?

2010-02-11 Thread Mark Knecht
On Thu, Feb 11, 2010 at 12:24 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
 On Thursday 11 February 2010 22:09:28 Mark Knecht wrote:
 Can someone comment on why I do or do not want to include config files
 when making quickpkg files?

 Seems like there is the issue of hand edits being saved which would be
 a good reason to keep them. I'm not overly worried about someone
 stealing them and getting access to settings, but I can see that might
 be a good reason not to.

 If I don't save them and then after a crash want to use binary
 packages to get a machine running quickly it seems like I'd want to
 include everything I could.

 What would the more experienced user do for the single-user desktop type
 user?


 The config of the package you quickpkg'ed likely works.
 emerge -k is most often used to revert your own mistakes, so you want the
 thing to work. Your latest configs are suspect, why insist they take priority?
 You can always rename them to name.bak if you think they might get nuked.

 Why do you care if someone steals your quickpkgs? Put them in a directory
 owned by root, they are then as safe as your stuff in /etc. To get to the
 tarballs, they must get to a place where they can just read the originals


Thanks Alan. That confirms what I was thinking.

My comment about things getting stolen is that I might burn them to
DVD for safe keeping in which case anyone can walk off with the DVD.
I'm not overly worried about that and it's far and away less of an
issue than getting the machine back to a running state.

Cheers,
Mark



Re: [gentoo-user] Upside/downside to including config files in quickpkg?

2010-02-11 Thread Alan McKinnon
On Thursday 11 February 2010 22:37:00 Mark Knecht wrote:
 On Thu, Feb 11, 2010 at 12:24 PM, Alan McKinnon alan.mckin...@gmail.com 
wrote:
  On Thursday 11 February 2010 22:09:28 Mark Knecht wrote:
  Can someone comment on why I do or do not want to include config files
  when making quickpkg files?
  
  Seems like there is the issue of hand edits being saved which would be
  a good reason to keep them. I'm not overly worried about someone
  stealing them and getting access to settings, but I can see that might
  be a good reason not to.
  
  If I don't save them and then after a crash want to use binary
  packages to get a machine running quickly it seems like I'd want to
  include everything I could.
  
  What would the more experienced user do for the single-user desktop type
  user?
  
  The config of the package you quickpkg'ed likely works.
  emerge -k is most often used to revert your own mistakes, so you want the
  thing to work. Your latest configs are suspect, why insist they take
  priority? You can always rename them to name.bak if you think they
  might get nuked.
  
  Why do you care if someone steals your quickpkgs? Put them in a directory
  owned by root, they are then as safe as your stuff in /etc. To get to the
  tarballs, they must get to a place where they can just read the
  originals
 
 Thanks Alan. That confirms what I was thinking.
 
 My comment about things getting stolen is that I might burn them to
 DVD for safe keeping in which case anyone can walk off with the DVD.
 I'm not overly worried about that and it's far and away less of an
 issue than getting the machine back to a running state.

OK, I see. 

As long as you know which configs have password in them and take precautions, 
you should be OK.

For the truly paranoid (and there will be someone who is validly so) another 
option is to store /etc in a remote SVN instance that is secured, and not 
store configs with the quickpkgs

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: Has semantic-desktop really become compulsatory for kmail?

2010-02-11 Thread Roy Wright

On Feb 11, 2010, at 11:02 AM, Neil Bothwick wrote:

 On Thu, 11 Feb 2010 07:00:27 -0500, Walter Dnes wrote:
 
  Yes, I can organize my files to the point where I rarely ever use
 find.  Just because you can't, is not a reason to slow down everybody
 else's desktop. 
 
 Is this ignorance or FUD?
 
 It must be FUD because it has already been stated countless times in this
 thread that this service can be switched off.

Just to come full circle, the thread started because the kmail is now requiring 
the semantic-desktop USE flag.  So the consensus seems to be that if you use 
kmail, then you have to compile the semantic desktop features, then go back and 
turn off using the semantic desktop.




[gentoo-user] Re: Keyword for dev-java/sun-j2ee

2010-02-11 Thread walt

On 02/11/2010 12:06 PM, dhk wrote:


Where's a good place to set J2EE_HOME (/opt/sun-j2ee-1.3.1/) and
JAVA_HOME?  Should it be in each user's profile?  If I wanted to set
them globally for all users should they go in /etc/profile ?

Also when starting j2ee I get the following error.
# /opt/sun-j2ee-1.3.1/bin/j2ee -verbose
/opt/sun-j2ee-1.3.1/bin/j2ee: line 14: /opt/sun-j2ee-1.3.1//bin/java: No
such file or directory

Is there another java package I need to install?  /bin/java doesn't exist.


You might want to look at dev-java/java-config, which creates some important
symlinks for you if/when you want to switch between java versions. Or even
if you don't switch between versions.




Re: [gentoo-user] Adding dependencies in init scripts

2010-02-11 Thread heini
Am Donnerstag 11 Februar 2010 18:00:09 schrieb Neil Bothwick:
 On Thu, 11 Feb 2010 13:15:04 +0100, Damian wrote:
   I found this by looking in the cups init script.  It should help.
   
   depend() {
  use net
  need avahi-daemon dbus
  before nfs
  after logger
   }
  
  I've tried putting after mpdscribble  without success. Also the
  problem with this approach is that if I update mpd, I will have to
  modify the init script again.
 
 That only means that is mdscribble is in the runlevel, start mpd after
 it. Try need mpdscribble. The handbook and one of the man pages explain
 these options.
 
 You can add /etc/init.d to CONFIG_PROTECT and remove it from
 CONFIG_PROTECT_MASK in make.conf.
 
 Or you could remove mpd from the default runlevel and call both the init
 scripts from /etc/conf.d/local.

Nope. Lookup /etc/rc.conf:

##
# SERVICE CONFIGURATION VARIABLES
# These variables are documented here, but should be configured in
# /etc/conf.d/foo for service foo and NOT enabled here unless you
# really want them to work on a global basis.

# Some daemons are started and stopped via start-stop-daemon.
# We can set some things on a per service basis, like the nicelevel.
#export SSD_NICELEVEL=-19

# Pass ulimit parameters 
#rc_ulimit=-u 30

# It's possible to define extra dependencies for services like so
#rc_config=/etc/foo
#rc_need=openvpn
#rc_use=net.eth0
#rc_after=clock
#rc_before=local
#rc_provide=!net

# You can also enable the above commands here for each service. Below is an
# example for service foo.
#rc_foo_config=/etc/foo
#rc_foo_need=openvpn
#rc_foo_after=clock

# You can also remove dependencies.
# This is mainly used for saying which servies do NOT provide net.
#rc_net_tap0_provide=!net

HTH...

Dirk



Re: [gentoo-user] Upside/downside to including config files in quickpkg?

2010-02-11 Thread Mark Knecht
On Thu, Feb 11, 2010 at 12:49 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
 On Thursday 11 February 2010 22:37:00 Mark Knecht wrote:
 On Thu, Feb 11, 2010 at 12:24 PM, Alan McKinnon alan.mckin...@gmail.com
 wrote:
  On Thursday 11 February 2010 22:09:28 Mark Knecht wrote:
  Can someone comment on why I do or do not want to include config files
  when making quickpkg files?
 
  Seems like there is the issue of hand edits being saved which would be
  a good reason to keep them. I'm not overly worried about someone
  stealing them and getting access to settings, but I can see that might
  be a good reason not to.
 
  If I don't save them and then after a crash want to use binary
  packages to get a machine running quickly it seems like I'd want to
  include everything I could.
 
  What would the more experienced user do for the single-user desktop type
  user?
 
  The config of the package you quickpkg'ed likely works.
  emerge -k is most often used to revert your own mistakes, so you want the
  thing to work. Your latest configs are suspect, why insist they take
  priority? You can always rename them to name.bak if you think they
  might get nuked.
 
  Why do you care if someone steals your quickpkgs? Put them in a directory
  owned by root, they are then as safe as your stuff in /etc. To get to the
  tarballs, they must get to a place where they can just read the
  originals

 Thanks Alan. That confirms what I was thinking.

 My comment about things getting stolen is that I might burn them to
 DVD for safe keeping in which case anyone can walk off with the DVD.
 I'm not overly worried about that and it's far and away less of an
 issue than getting the machine back to a running state.

 OK, I see.

 As long as you know which configs have password in them and take precautions,
 you should be OK.

 For the truly paranoid (and there will be someone who is validly so) another
 option is to store /etc in a remote SVN instance that is secured, and not
 store configs with the quickpkgs

Thanks. Like I said originally I'm not worried about it but at least
you understood why I asked.

One thing I haven't found so far is what to put in make.conf to get
the buildpkg feature to include the configs. It's easy at the command
line. Where's the documentation on how to actually use this the right
way automatically?

- Mark



Re: [gentoo-user] Re: Has semantic-desktop really become compulsatory for kmail?

2010-02-11 Thread Zeerak Waseem

On Thu, 11 Feb 2010 21:55:23 +0100, Roy Wright r...@wright.org wrote:



On Feb 11, 2010, at 11:02 AM, Neil Bothwick wrote:


On Thu, 11 Feb 2010 07:00:27 -0500, Walter Dnes wrote:


 Yes, I can organize my files to the point where I rarely ever use
find.  Just because you can't, is not a reason to slow down everybody
else's desktop.


Is this ignorance or FUD?

It must be FUD because it has already been stated countless times in  
this

thread that this service can be switched off.


Just to come full circle, the thread started because the kmail is now  
requiring the semantic-desktop USE flag.  So the consensus seems to be  
that if you use kmail, then you have to compile the semantic desktop  
features, then go back and turn off using the semantic desktop.





Agreed, this thead seems to have been blown out of proportion really.
One thing is if you install a fullblown DE, then having semantic-desktop  
is fine, it's also fine that the DE forces you to build it, being that it  
can be turned off. However I think that random apps that are a part of the  
DE, but can be deselected, shouldn't have to force the users into building  
anything that the DE requires. It just seems silly that if you want to use  
the newest version of kate, kmail etc. that semantic-desktop is forced  
upon you, when you're not interested in having the entire DE.

That's just my take on it anyway.

--
Zeerak



Re: [gentoo-user] How the HAL are you supposed to use these files?

2010-02-11 Thread Zeerak Waseem
On Thu, 11 Feb 2010 09:05:46 +0100, Alan McKinnon  
alan.mckin...@gmail.com wrote:



On Thursday 11 February 2010 09:31:21 Walter Dnes wrote:

On Wed, Feb 10, 2010 at 02:18:43PM +, Neil Bothwick wrote

 On Wed, 10 Feb 2010 07:57:57 -0500, Walter Dnes wrote:
   but D-Bus provides a standard way for applications to communicate
   with one another and removing it can stop your desktop working as
   it should.
  
Then how did things manage to work on my systems for the past 9
years,
 
  pray tell?

 Because nine years ago, Linux desktop  software didn't use  
interprocess

 communication. Of course things will still work, but not necessarily
 everything. For example, Network Manager uses D-Bus to tell programs  
when
 your Internet connection is available and not, so your mail client  
goes
 into offline mode rather than pointlessly trying to access your  
mailbox.

 KDE4 uses it quite extensively, ust as KDE3 used DCOP.

  There is too much solution-in-search-of-a-problem here.  XMMS followed
the original Unix philosophy... it did one thing did it right, namely
playing audio.  Unfortunately, XMMS was hard-coded to use a now obsolete
GTK library.


Unfortunately, that's analogous to a business employing 5 people, all of  
whom
do their own thing all the time with no inter-person communication and  
no co-
ordination. Perhaps they might scribble a note on a white board once a  
day,

but that's about it.


  The successor to XMMS is Audacious.  It seems to subscribe to the
Microsoft philosophy, and tries to do everything under the sun, and
pretends it's a server, which requires dbus.  Is it *REALLY* necessary?
I used XMMS to play mp3's and Live365.com.  I ended up switching to
mpg123 for both functions when XMMS was dropped, and then to the Flash
player for Live365.  I emerged Audacious, but unmerged it when I saw the
post-install warning that said not to submit any Audacious bug reports
if I don't have dbus installed.


Modern desktops are integrated, because that's what users want. Any two  
apps
should be able to inter-communicate wherever that communication makes  
sense.


Example: You have any old arbitrary email client. A mail contains a URL.  
Click
it. The URL should open in your preferred browser, whatever that should  
be.

Please note that any email client should support launching any browser,
whether the dev built in support for it or not. Yes, I know there are  
the xdg*

scripts, but tally up the number of things a user would want to work like
this, tally up the number of scripts in the infinite number of locations  
this

will take, and then ask the user to pick one.

Example: Notifications. I have 3 (yes, three!!) kinds of popups that  
show up
here daily. There's KDE's system which is the majority of them, some GTK  
apps
throw popups in the top right corner where I don't want them and them  
then

there's Skype which does it's own thing. God, you gotta love proprietary
sekrit apps /sarcasm. The solution is a notification service, apps send
their notifications to it and the service does whatever the user  
configured it
to do with the notification. Note that the user is in control here, the  
user
says what happens with popups and does it in one central place and the  
apps
does one thing and one thing only with it's notifications: sends them.  
It's
like syslogger, letting the app concentrate on it's real purpose (which  
is not
logging, and definitely is not making sure it doesn't clobber log files  
from

any other apps that might be running).

See where this is going? Do you need a hundred more examples?

When you have arbitrary, unknown (at install time) sources of data that  
may
interoperate with other arbitrary, unknown (at install time) sinks of  
data,
good data modelling says that a known broker of data should sit in the  
middle,

which is generic enough for anything to be able to use it.

And the transport for that is dbus.

Just to bring this back to your original statement of Unix philosophy.  
IPC on
modern desktops conforms exactly to the Unix philosophy. Apps were  
moving away
from that and were becoming IM clients cum custom loggers cum notifiers  
cum

insert any other crap here.

Standardized IPC is moving back TOWARDS the Unix philosophy, not away  
from it.
Apps can now concentrate on their core function, and hand over the  
integration

aspects to something else dedicated to IPC and nothing else. The apps now
merely does the minimum required to hand over data to the service via a
messaging bus.

Which if you look at it in that light, is EXACTLY the same rationale as a
syslogger. Do you use a syslogger? Why?

If you don;t like all this integration stuff, and you have every right  
to not
like it, then you should uninstall KDE and use Openbox (or similar  
lightweight
WM). These WMs exist for users that do not want desktop integration. One  
thing

you cannot have is the latest KDE without it's integration features.




True, but even those using Openbox, 

Re: [gentoo-user] Keyword for dev-java/sun-j2ee

2010-02-11 Thread dhk
Alan McKinnon wrote:
 On Thursday 11 February 2010 22:06:50 dhk wrote:
 Another question about this.

 Where's a good place to set J2EE_HOME (/opt/sun-j2ee-1.3.1/) and
 JAVA_HOME?  Should it be in each user's profile?  If I wanted to set
 them globally for all users should they go in /etc/profile ?
 
 How many users use it? 
 
 One? Put it in their profile.
 Many? put it in the system profile.
 
 This is not a decision peculiar to j2ee, you must make the identical decision 
 for hundreds of packages - same principles apply.
 
 Or you could use the absurd method Sybase uses, but we won't go there now...
 
 
 Also when starting j2ee I get the following error.
 # /opt/sun-j2ee-1.3.1/bin/j2ee -verbose
 /opt/sun-j2ee-1.3.1/bin/j2ee: line 14: /opt/sun-j2ee-1.3.1//bin/java: No
 such file or directory

 Is there another java package I need to install?  /bin/java doesn't exist.
 
 I'm not surprised.
 
 it's not /bin/java
 it's /opt/sun-j2ee-1.3.1/bin/java
 an entirely different thing.
 
 When I last played with j2ee, the package from Sun did not have a JVM, you 
 had 
 to install that first.
 
 You probably need to install a jdk or jvm, which is odd as that should be a 
 DEPEND.
 If you do have a jdk or jvm, you need a symlink:
 
 ln -s /usr/bin/java /opt/sun-j2ee-1.3.1/bin/java
 
 

I think it's almost working.

My /usr/bin/java was linked to run-java-tool, don't know what that is.
# ll /usr/bin/java
lrwxrwxrwx 1 root root 13 Feb 11 11:20 /usr/bin/java - run-java-tool

I installed a jdk
emerge dev-java/sun-jdk

Removed the /usr/bin/java sym link and made another to the newly
installed java.
ln -s /opt/sun-jdk-1.6.0.18/bin/java /usr/bin/java

I set some environment variables.
export J2EE_HOME=/opt/sun-j2ee-1.3.1/
export JAVA_HOME=/opt/sun-jdk-1.6.0.18

Then reinstalled j2ee
emerge dev-java/sun-j2ee

Tried starting j2ee
/opt/sun-j2ee-1.3.1/bin/j2ee -verbose

Checked processes, but no j2ee was running.

Then looked at the error log. Looks like it can't find this com.sun...
directory.

# cat /opt/sun-j2ee-1.3.1/logs/dhcppc3/j2ee/j2ee/system.err


Logging for J2EE Server Version: 1.3.1-b17 started at: Thu Feb 11
16:44:31 EST 2010..
Using the Java HotSpot(TM) 64-Bit Server VM and the version number
1.6.0_18 from Sun Microsystems Inc..
VM is using the classpath:
/opt/sun-j2ee-1.3.1/lib/system/cloudscape.jar:/opt/sun-j2ee-1.3.1/lib/system/cloudutil.jar:/opt/sun-j2ee-1.3.1/lib/cloudscape/RmiJdbc.jar:/opt/sun-j2ee-1.3.1/lib/cloudscape/cloudclient.jar:/opt/sun-j2ee-1.3.1/lib/classes:/opt/sun-j2ee-1.3.1/classes:/opt/sun-j2ee-1.3.1/lib/j2ee.jar:/opt/sun-j2ee-1.3.1/lib/toolclasses:/opt/sun-j2ee-1.3.1/lib/j2eetools.jar:/opt/sun-j2ee-1.3.1/lib/locale::/opt/sun-jdk-1.6.0.18/lib/tools.jar:/opt/sun-j2ee-1.3.1/lib/jhall.jar
.
J2EE Home Directory has been set to: /opt/sun-j2ee-1.3.1.


Exception in thread main java.lang.NoClassDefFoundError:
com/sun/corba/se/internal/util/IdentityHashtable
at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.clinit(Util.java:87)
at com.sun.corba.ee.internal.POA.POAImpl.activate(POAImpl.java:935)
at 
com.sun.corba.ee.internal.POA.POAImpl.activate_object(POAImpl.java:895)
at
com.sun.corba.ee.internal.CosNaming.TransientNameService.initialize(TransientNameService.java:117)
at
com.sun.corba.ee.internal.CosNaming.TransientNameService.init(TransientNameService.java:70)
at
com.sun.enterprise.iiop.POAProtocolMgr.initializeNaming(POAProtocolMgr.java:103)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:226)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
Caused by: java.lang.ClassNotFoundException:
com.sun.corba.se.internal.util.IdentityHashtable
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 8 more


Logging for J2EE Server Version: 1.3.1-b17 started at: Thu Feb 11
17:03:04 EST 2010..
Using the Java HotSpot(TM) 64-Bit Server VM and the version number
1.6.0_18 from Sun Microsystems Inc..
VM is using the classpath:
/opt/sun-j2ee-1.3.1/lib/system/cloudscape.jar:/opt/sun-j2ee-1.3.1/lib/system/cloudutil.jar:/opt/sun-j2ee-1.3.1/lib/cloudscape/RmiJdbc.jar:/opt/sun-j2ee-1.3.1/lib/cloudscape/cloudclient.jar:/opt/sun-j2ee-1.3.1/lib/classes:/opt/sun-j2ee-1.3.1/classes:/opt/sun-j2ee-1.3.1/lib/j2ee.jar:/opt/sun-j2ee-1.3.1/lib/toolclasses:/opt/sun-j2ee-1.3.1/lib/j2eetools.jar:/opt/sun-j2ee-1.3.1/lib/locale::/opt/sun-jdk-1.6.0.18/lib/tools.jar:/opt/sun-j2ee-1.3.1/lib/jhall.jar
.
J2EE Home Directory has been set to: /opt/sun-j2ee-1.3.1.


Exception in thread main java.lang.NoClassDefFoundError:
com/sun/corba/se/internal/util/IdentityHashtable
at 

Re: [gentoo-user] Re: Keyword for dev-java/sun-j2ee

2010-02-11 Thread dhk
walt wrote:
 On 02/11/2010 12:06 PM, dhk wrote:

 Where's a good place to set J2EE_HOME (/opt/sun-j2ee-1.3.1/) and
 JAVA_HOME?  Should it be in each user's profile?  If I wanted to set
 them globally for all users should they go in /etc/profile ?

 Also when starting j2ee I get the following error.
 # /opt/sun-j2ee-1.3.1/bin/j2ee -verbose
 /opt/sun-j2ee-1.3.1/bin/j2ee: line 14: /opt/sun-j2ee-1.3.1//bin/java: No
 such file or directory

 Is there another java package I need to install?  /bin/java doesn't
 exist.
 
 You might want to look at dev-java/java-config, which creates some
 important
 symlinks for you if/when you want to switch between java versions. Or even
 if you don't switch between versions.
 
 
 
thanks, this looks useful.



Re: [gentoo-user] Upside/downside to including config files in quickpkg?

2010-02-11 Thread Volker Armin Hemmann
On Donnerstag 11 Februar 2010, Mark Knecht wrote:
 On Thu, Feb 11, 2010 at 12:49 PM, Alan McKinnon alan.mckin...@gmail.com 
wrote:
  On Thursday 11 February 2010 22:37:00 Mark Knecht wrote:
  On Thu, Feb 11, 2010 at 12:24 PM, Alan McKinnon
  alan.mckin...@gmail.com
  
  wrote:
   On Thursday 11 February 2010 22:09:28 Mark Knecht wrote:
   Can someone comment on why I do or do not want to include config
   files when making quickpkg files?
   
   Seems like there is the issue of hand edits being saved which would
   be a good reason to keep them. I'm not overly worried about someone
   stealing them and getting access to settings, but I can see that
   might be a good reason not to.
   
   If I don't save them and then after a crash want to use binary
   packages to get a machine running quickly it seems like I'd want to
   include everything I could.
   
   What would the more experienced user do for the single-user desktop
   type user?
   
   The config of the package you quickpkg'ed likely works.
   emerge -k is most often used to revert your own mistakes, so you want
   the thing to work. Your latest configs are suspect, why insist they
   take priority? You can always rename them to name.bak if you think
   they might get nuked.
   
   Why do you care if someone steals your quickpkgs? Put them in a
   directory owned by root, they are then as safe as your stuff in /etc.
   To get to the tarballs, they must get to a place where they can just
   read the originals
  
  Thanks Alan. That confirms what I was thinking.
  
  My comment about things getting stolen is that I might burn them to
  DVD for safe keeping in which case anyone can walk off with the DVD.
  I'm not overly worried about that and it's far and away less of an
  issue than getting the machine back to a running state.
  
  OK, I see.
  
  As long as you know which configs have password in them and take
  precautions, you should be OK.
  
  For the truly paranoid (and there will be someone who is validly so)
  another option is to store /etc in a remote SVN instance that is
  secured, and not store configs with the quickpkgs
 
 Thanks. Like I said originally I'm not worried about it but at least
 you understood why I asked.
 
 One thing I haven't found so far is what to put in make.conf to get
 the buildpkg feature to include the configs. It's easy at the command
 line. Where's the documentation on how to actually use this the right
 way automatically?
 
 - Mark

when you use buildpkg feature the packages contain the virgin unedited configs 
as they are installed by the package and not any edits done by you.



Re: [gentoo-user] How the HAL are you supposed to use these files?

2010-02-11 Thread Alan McKinnon
On Thursday 11 February 2010 23:40:37 Zeerak Waseem wrote:
 True, but even those using Openbox, icewm, etc. were introduced to the  
 mess that HAL is, and also to dbus. Sure you can choose not to have  
 hal/dbus/*kit, but then you also choose not to use a growing number of  
 apps that seem to depend on it. The way I see it, they should be optional  
 features. If you've got the useflags set, great. If not, then it'll still  
 be able to compile and run.

And what exactly is the problem with dbus? At 2MB, it's one of the smallest 
apps on my notebook. It's memory usage is miniscule, I have to invoke magic to 
get it to show up in top.

All I hear from the anti-dbus crowd is complaints that it's there and not a 
single shred of evidence, fact or numbers anywhere to back up why it might be 
a bad thing.

Let's rather all sit down and add up the the potential code and resource 
REDUCTION from dbus due to duplicated functionality being removed from 
multiple apps.
 
Complaints that reduce to it's there now and it wasn't there before cannot 
be valid for that reason alone - inotify is there now and wasn't there before, 
the resource reduction from it's being added is miniscule compared to the 
amount of polling we now do not have to do. Many other examples exist.

hal is different and in a category of it's own; it's resource usage is very 
small but the developer screwed up by making it complex for users (for the 
machine it's actually quite simple). We can fix that, and are - udev. I don't 
see anyone complaining about it being there now and not being there before. 
Anyone remember what came before udev? Who remembers trying to figure out 
devfs? Or MKNODE?

Do keep in mind that even simple WMs use some form of IPC (well, maybe twm 
doesn't). The dev has various schemes he can use from pipes on the command 
line to named pipes and fifos, or he can use a message bus.

Personally, I'd go with the latter even if only becuase somebody else with a 
proven track record is maintaining it (so I don't have to)


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Keyword for dev-java/sun-j2ee

2010-02-11 Thread Alan McKinnon
On Friday 12 February 2010 00:10:06 dhk wrote:

 My /usr/bin/java was linked to run-java-tool, don't know what that is.
 # ll /usr/bin/java
 lrwxrwxrwx 1 root root 13 Feb 11 11:20 /usr/bin/java - run-java-tool

That's correct. It's a man-in-the-middle thing installed by the java 
configurator, it makes life easy when switching between various java versions
 
 
 I installed a jdk
 emerge dev-java/sun-jdk
 
 Removed the /usr/bin/java sym link and made another to the newly
 installed java.
 ln -s /opt/sun-jdk-1.6.0.18/bin/java /usr/bin/java
 
 I set some environment variables.
 export J2EE_HOME=/opt/sun-j2ee-1.3.1/
 export JAVA_HOME=/opt/sun-jdk-1.6.0.18
 
 Then reinstalled j2ee
 emerge dev-java/sun-j2ee
 
 Tried starting j2ee
 /opt/sun-j2ee-1.3.1/bin/j2ee -verbose
 
 Checked processes, but no j2ee was running.
 
 Then looked at the error log. Looks like it can't find this com.sun...
 directory.
 
 # cat /opt/sun-j2ee-1.3.1/logs/dhcppc3/j2ee/j2ee/system.err
 
 
 Logging for J2EE Server Version: 1.3.1-b17 started at: Thu Feb 11
 16:44:31 EST 2010..
 Using the Java HotSpot(TM) 64-Bit Server VM and the version number
 1.6.0_18 from Sun Microsystems Inc..
 VM is using the classpath:
 /opt/sun-j2ee-1.3.1/lib/system/cloudscape.jar:/opt/sun-j2ee-1.3.1/lib/syste
 m/cloudutil.jar:/opt/sun-j2ee-1.3.1/lib/cloudscape/RmiJdbc.jar:/opt/sun-j2e
 e-1.3.1/lib/cloudscape/cloudclient.jar:/opt/sun-j2ee-1.3.1/lib/classes:/opt
 /sun-j2ee-1.3.1/classes:/opt/sun-j2ee-1.3.1/lib/j2ee.jar:/opt/sun-j2ee-1.3.
 1/lib/toolclasses:/opt/sun-j2ee-1.3.1/lib/j2eetools.jar:/opt/sun-j2ee-1.3.1
 /lib/locale::/opt/sun-jdk-1.6.0.18/lib/tools.jar:/opt/sun-j2ee-1.3.1/lib/jh
 all.jar .
 J2EE Home Directory has been set to: /opt/sun-j2ee-1.3.1.
 
 
 Exception in thread main java.lang.NoClassDefFoundError:
 com/sun/corba/se/internal/util/IdentityHashtable

If memory serves, the corba stuff is part of the base classes required by all 
VMs. I think that is in rt.jar, but you don't have that in your CLASSPATH.

These days it might be elsewhere, it's been a while.

I reckon you either didn't set your jdk CLASSPATH at all, or you did and 
clobbered it with j2ee by doing

CLASSPATH=.

instead of 

CLASSPATH=$CLASSPATH:





   at 
com.sun.corba.ee.internal.javax.rmi.CORBA.Util.clinit(Util.java:87)
   at com.sun.corba.ee.internal.POA.POAImpl.activate(POAImpl.java:935)
   at 
com.sun.corba.ee.internal.POA.POAImpl.activate_object(POAImpl.java:895)
   at
 com.sun.corba.ee.internal.CosNaming.TransientNameService.initialize(Transie
 ntNameService.java:117) at
 com.sun.corba.ee.internal.CosNaming.TransientNameService.init(TransientNa
 meService.java:70) at
 com.sun.enterprise.iiop.POAProtocolMgr.initializeNaming(POAProtocolMgr.java
 :103) at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:226)
   at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
 Caused by: java.lang.ClassNotFoundException:
 com.sun.corba.se.internal.util.IdentityHashtable
   at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
   ... 8 more
 
 
 Logging for J2EE Server Version: 1.3.1-b17 started at: Thu Feb 11
 17:03:04 EST 2010..
 Using the Java HotSpot(TM) 64-Bit Server VM and the version number
 1.6.0_18 from Sun Microsystems Inc..
 VM is using the classpath:
 /opt/sun-j2ee-1.3.1/lib/system/cloudscape.jar:/opt/sun-j2ee-1.3.1/lib/syste
 m/cloudutil.jar:/opt/sun-j2ee-1.3.1/lib/cloudscape/RmiJdbc.jar:/opt/sun-j2e
 e-1.3.1/lib/cloudscape/cloudclient.jar:/opt/sun-j2ee-1.3.1/lib/classes:/opt
 /sun-j2ee-1.3.1/classes:/opt/sun-j2ee-1.3.1/lib/j2ee.jar:/opt/sun-j2ee-1.3.
 1/lib/toolclasses:/opt/sun-j2ee-1.3.1/lib/j2eetools.jar:/opt/sun-j2ee-1.3.1
 /lib/locale::/opt/sun-jdk-1.6.0.18/lib/tools.jar:/opt/sun-j2ee-1.3.1/lib/jh
 all.jar .
 J2EE Home Directory has been set to: /opt/sun-j2ee-1.3.1.
 
 
 Exception in thread main java.lang.NoClassDefFoundError:
 com/sun/corba/se/internal/util/IdentityHashtable
   at 
com.sun.corba.ee.internal.javax.rmi.CORBA.Util.clinit(Util.java:87)
   at com.sun.corba.ee.internal.POA.POAImpl.activate(POAImpl.java:935)
   at 
com.sun.corba.ee.internal.POA.POAImpl.activate_object(POAImpl.java:895)
   at
 com.sun.corba.ee.internal.CosNaming.TransientNameService.initialize(Transie
 ntNameService.java:117) at
 com.sun.corba.ee.internal.CosNaming.TransientNameService.init(TransientNa
 meService.java:70) at
 com.sun.enterprise.iiop.POAProtocolMgr.initializeNaming(POAProtocolMgr.java
 :103) at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:226)
   at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
 Caused by: java.lang.ClassNotFoundException:
 

Re: [gentoo-user] Uh Oh!! Made the contents of my directory unreadable

2010-02-11 Thread Neil Bothwick
On Thu, 11 Feb 2010 22:32:44 +0200, Alan McKinnon wrote:

  In which case, running reset in the affected terminal should clear
  it.  
 
 Every time I've tried to tell people to do that, they tell me they
 can't do it because 
 
 %#!*^
 
 obviously is not a valid command.

It's not, if it were reset the second and fourth characters would be the
same :P

This tagline generator's at it again :)


-- 
Neil Bothwick

Light travels faster than sound. This is why some people appear bright
until you hear them speak.


signature.asc
Description: PGP signature


Re: [gentoo-user] Upside/downside to including config files in quickpkg?

2010-02-11 Thread Neil Bothwick
On Thu, 11 Feb 2010 13:32:57 -0800, Mark Knecht wrote:

 One thing I haven't found so far is what to put in make.conf to get
 the buildpkg feature to include the configs. It's easy at the command
 line. Where's the documentation on how to actually use this the right
 way automatically?

You can't, because buildpkg builds the package before installation (it
actually builds the package and then installs from it) so it only
contains the default configs. That shouldn't be an issue if you
backup /etc regularly.


-- 
Neil Bothwick

Copy from another: plagiarism. Copy from many: research.


signature.asc
Description: PGP signature


Re: [gentoo-user] Adding dependencies in init scripts

2010-02-11 Thread Neil Bothwick
On Thu, 11 Feb 2010 22:22:50 +0100, heini wrote:

  Or you could remove mpd from the default runlevel and call both the
  init scripts from /etc/conf.d/local.  
 
 Nope. Lookup /etc/rc.conf:

I'd forgotten all about that, nice one!


-- 
Neil Bothwick

First Law of Laboratory Work:
Hot glass looks exactly the same as cold glass.


signature.asc
Description: PGP signature


Re: [gentoo-user] Upside/downside to including config files in quickpkg?

2010-02-11 Thread Alan McKinnon
On Friday 12 February 2010 00:13:23 Volker Armin Hemmann wrote:
  One thing I haven't found so far is what to put in make.conf to get
  the buildpkg feature to include the configs. It's easy at the command
  line. Where's the documentation on how to actually use this the right
  way automatically?
 
  
 
  - Mark
 
 when you use buildpkg feature the packages contain the virgin unedited
 configs  as they are installed by the package and not any edits done by
 you.

Just checking something:

We are all aware of the difference between 

emerge --buildpkg

and 

quickpkg

right/

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] How the HAL are you supposed to use these files?

2010-02-11 Thread Zeerak Waseem
On Thu, 11 Feb 2010 23:13:14 +0100, Alan McKinnon  
alan.mckin...@gmail.com wrote:



On Thursday 11 February 2010 23:40:37 Zeerak Waseem wrote:

True, but even those using Openbox, icewm, etc. were introduced to the
mess that HAL is, and also to dbus. Sure you can choose not to have
hal/dbus/*kit, but then you also choose not to use a growing number of
apps that seem to depend on it. The way I see it, they should be  
optional
features. If you've got the useflags set, great. If not, then it'll  
still

be able to compile and run.


And what exactly is the problem with dbus? At 2MB, it's one of the  
smallest
apps on my notebook. It's memory usage is miniscule, I have to invoke  
magic to

get it to show up in top.

All I hear from the anti-dbus crowd is complaints that it's there and  
not a
single shred of evidence, fact or numbers anywhere to back up why it  
might be

a bad thing.

Let's rather all sit down and add up the the potential code and resource
REDUCTION from dbus due to duplicated functionality being removed from
multiple apps.
Complaints that reduce to it's there now and it wasn't there before  
cannot
be valid for that reason alone - inotify is there now and wasn't there  
before,

the resource reduction from it's being added is miniscule compared to the
amount of polling we now do not have to do. Many other examples exist.

hal is different and in a category of it's own; it's resource usage is  
very
small but the developer screwed up by making it complex for users (for  
the
machine it's actually quite simple). We can fix that, and are - udev. I  
don't
see anyone complaining about it being there now and not being there  
before.

Anyone remember what came before udev? Who remembers trying to figure out
devfs? Or MKNODE?

Do keep in mind that even simple WMs use some form of IPC (well, maybe  
twm
doesn't). The dev has various schemes he can use from pipes on the  
command

line to named pipes and fifos, or he can use a message bus.

Personally, I'd go with the latter even if only becuase somebody else  
with a

proven track record is maintaining it (so I don't have to)




Oh there's not much of a problem with dbus to be quite honest. But that  
perhaps is a bit of the point, that dbus seems like it might be, as  
someone else put it, a solution-in-search-of-a-problem.
I can see why it can be smart, but I can also see why it's labeled as a  
bit useless. Particularly when your wm can handle all the inter-app  
communication that is necessary without dbus.
Like said, I don't particularly mind it for DE's but if you choose a wm,  
often you are willingly choosing to be lacking a few things that a DE  
does. I think that the issue for the anti-dbus crowd is that it's  
something that is being forced on them, despite having no need of it.


--
Zeerak



Re: [gentoo-user] How the HAL are you supposed to use these files?

2010-02-11 Thread Neil Bothwick
On Thu, 11 Feb 2010 22:40:37 +0100, Zeerak Waseem wrote:

 True, but even those using Openbox, icewm, etc. were introduced to the  
 mess that HAL is, and also to dbus.

You're trying to assign guilt by association. They were also introduced
to X, hand edited conf files and a faster desktop. Are they all bad too?


-- 
Neil Bothwick

There's no place like http://www.home.com


signature.asc
Description: PGP signature


Re: [gentoo-user] Uh Oh!! Made the contents of my directory unreadable

2010-02-11 Thread Alan McKinnon
On Friday 12 February 2010 00:26:56 Neil Bothwick wrote:
 On Thu, 11 Feb 2010 22:32:44 +0200, Alan McKinnon wrote:
   In which case, running reset in the affected terminal should clear
   it.
  
  Every time I've tried to tell people to do that, they tell me they
  can't do it because
  
  %#!*^
  
  obviously is not a valid command.
 
 It's not, if it were reset the second and fourth characters would be the
 same :P

Smartass :-)

You owe me a year's subscription from your employer for that wise-crack. 
Postage paid by sender, naturally.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] How the HAL are you supposed to use these files?

2010-02-11 Thread Zeerak Waseem
On Thu, 11 Feb 2010 23:37:08 +0100, Neil Bothwick n...@digimed.co.uk  
wrote:



On Thu, 11 Feb 2010 22:40:37 +0100, Zeerak Waseem wrote:


True, but even those using Openbox, icewm, etc. were introduced to the
mess that HAL is, and also to dbus.


You're trying to assign guilt by association. They were also introduced
to X, hand edited conf files and a faster desktop. Are they all bad too?



Yes! :p

I'm not saying dbus is all that bad, just that it might be a bit  
unnecessary for a number of users. Which to me means, that it should be  
something that can be chosen, rather than something that's chosen for you.


--
Zeerak



Re: [gentoo-user] How the HAL are you supposed to use these files?

2010-02-11 Thread Volker Armin Hemmann
On Donnerstag 11 Februar 2010, Zeerak Waseem wrote:
 Particularly when your wm can handle all the inter-app
 communication that is necessary without dbus.

the problem is the WM can NOT handle all the inter-app communication that is 
needed by a modern desktop environment. Especially, when you have apps that 
are just frames around building blocks that have to talk to each other (like 
for example konqueror, that is just a gui to the dolphin, khtml, konsole, 
gwenview kparts).





Re: [gentoo-user] Upside/downside to including config files in quickpkg?

2010-02-11 Thread Volker Armin Hemmann
On Donnerstag 11 Februar 2010, Alan McKinnon wrote:
 On Friday 12 February 2010 00:13:23 Volker Armin Hemmann wrote:
   One thing I haven't found so far is what to put in make.conf to get
   the buildpkg feature to include the configs. It's easy at the command
   line. Where's the documentation on how to actually use this the right
   way automatically?
   
   
   
   - Mark
  
  when you use buildpkg feature the packages contain the virgin unedited
  configs  as they are installed by the package and not any edits done by
  you.
 
 Just checking something:
 
 We are all aware of the difference between
 
 emerge --buildpkg
 
 and
 
 quickpkg
 
 right/

I am. Not sure Mark is ;)



Re: [gentoo-user] How the HAL are you supposed to use these files?

2010-02-11 Thread Zeerak Waseem
On Thu, 11 Feb 2010 23:53:10 +0100, Volker Armin Hemmann  
volkerar...@googlemail.com wrote:



On Donnerstag 11 Februar 2010, Zeerak Waseem wrote:

Particularly when your wm can handle all the inter-app
communication that is necessary without dbus.


the problem is the WM can NOT handle all the inter-app communication  
that is
needed by a modern desktop environment. Especially, when you have apps  
that
are just frames around building blocks that have to talk to each other  
(like

for example konqueror, that is just a gui to the dolphin, khtml, konsole,
gwenview kparts).





But it seems to me, that the apps that need the communication are in DE's.  
Which is fine, I just think that if you're choosing a smaller WM (Openbox,  
awesome, JWM, etc.), where there isn't a need for an inter-app  
communication that extensive, then it's a bit of an overkill really.


--
Zeerak



Re: [gentoo-user] Keyword for dev-java/sun-j2ee

2010-02-11 Thread dhk
Alan McKinnon wrote:
 On Friday 12 February 2010 00:10:06 dhk wrote:
 
 My /usr/bin/java was linked to run-java-tool, don't know what that is.
 # ll /usr/bin/java
 lrwxrwxrwx 1 root root 13 Feb 11 11:20 /usr/bin/java - run-java-tool
 
 That's correct. It's a man-in-the-middle thing installed by the java 
 configurator, it makes life easy when switching between various java versions
  
 I installed a jdk
 emerge dev-java/sun-jdk

 Removed the /usr/bin/java sym link and made another to the newly
 installed java.
 ln -s /opt/sun-jdk-1.6.0.18/bin/java /usr/bin/java

 I set some environment variables.
 export J2EE_HOME=/opt/sun-j2ee-1.3.1/
 export JAVA_HOME=/opt/sun-jdk-1.6.0.18

 Then reinstalled j2ee
 emerge dev-java/sun-j2ee

 Tried starting j2ee
 /opt/sun-j2ee-1.3.1/bin/j2ee -verbose

 Checked processes, but no j2ee was running.

 Then looked at the error log. Looks like it can't find this com.sun...
 directory.

 # cat /opt/sun-j2ee-1.3.1/logs/dhcppc3/j2ee/j2ee/system.err


 Logging for J2EE Server Version: 1.3.1-b17 started at: Thu Feb 11
 16:44:31 EST 2010..
 Using the Java HotSpot(TM) 64-Bit Server VM and the version number
 1.6.0_18 from Sun Microsystems Inc..
 VM is using the classpath:
 /opt/sun-j2ee-1.3.1/lib/system/cloudscape.jar:/opt/sun-j2ee-1.3.1/lib/syste
 m/cloudutil.jar:/opt/sun-j2ee-1.3.1/lib/cloudscape/RmiJdbc.jar:/opt/sun-j2e
 e-1.3.1/lib/cloudscape/cloudclient.jar:/opt/sun-j2ee-1.3.1/lib/classes:/opt
 /sun-j2ee-1.3.1/classes:/opt/sun-j2ee-1.3.1/lib/j2ee.jar:/opt/sun-j2ee-1.3.
 1/lib/toolclasses:/opt/sun-j2ee-1.3.1/lib/j2eetools.jar:/opt/sun-j2ee-1.3.1
 /lib/locale::/opt/sun-jdk-1.6.0.18/lib/tools.jar:/opt/sun-j2ee-1.3.1/lib/jh
 all.jar .
 J2EE Home Directory has been set to: /opt/sun-j2ee-1.3.1.


 Exception in thread main java.lang.NoClassDefFoundError:
 com/sun/corba/se/internal/util/IdentityHashtable
 
 If memory serves, the corba stuff is part of the base classes required by all 
 VMs. I think that is in rt.jar, but you don't have that in your CLASSPATH.
 
 These days it might be elsewhere, it's been a while.
 
 I reckon you either didn't set your jdk CLASSPATH at all, or you did and 
 clobbered it with j2ee by doing
 
 CLASSPATH=.
 
 instead of 
 
 CLASSPATH=$CLASSPATH:
 
 
 
 
 
  at 
 com.sun.corba.ee.internal.javax.rmi.CORBA.Util.clinit(Util.java:87)
  at com.sun.corba.ee.internal.POA.POAImpl.activate(POAImpl.java:935)
  at 
 com.sun.corba.ee.internal.POA.POAImpl.activate_object(POAImpl.java:895)
  at
 com.sun.corba.ee.internal.CosNaming.TransientNameService.initialize(Transie
 ntNameService.java:117) at
 com.sun.corba.ee.internal.CosNaming.TransientNameService.init(TransientNa
 meService.java:70) at
 com.sun.enterprise.iiop.POAProtocolMgr.initializeNaming(POAProtocolMgr.java
 :103) at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:226)
  at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
 Caused by: java.lang.ClassNotFoundException:
 com.sun.corba.se.internal.util.IdentityHashtable
  at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
  ... 8 more


 Logging for J2EE Server Version: 1.3.1-b17 started at: Thu Feb 11
 17:03:04 EST 2010..
 Using the Java HotSpot(TM) 64-Bit Server VM and the version number
 1.6.0_18 from Sun Microsystems Inc..
 VM is using the classpath:
 /opt/sun-j2ee-1.3.1/lib/system/cloudscape.jar:/opt/sun-j2ee-1.3.1/lib/syste
 m/cloudutil.jar:/opt/sun-j2ee-1.3.1/lib/cloudscape/RmiJdbc.jar:/opt/sun-j2e
 e-1.3.1/lib/cloudscape/cloudclient.jar:/opt/sun-j2ee-1.3.1/lib/classes:/opt
 /sun-j2ee-1.3.1/classes:/opt/sun-j2ee-1.3.1/lib/j2ee.jar:/opt/sun-j2ee-1.3.
 1/lib/toolclasses:/opt/sun-j2ee-1.3.1/lib/j2eetools.jar:/opt/sun-j2ee-1.3.1
 /lib/locale::/opt/sun-jdk-1.6.0.18/lib/tools.jar:/opt/sun-j2ee-1.3.1/lib/jh
 all.jar .
 J2EE Home Directory has been set to: /opt/sun-j2ee-1.3.1.


 Exception in thread main java.lang.NoClassDefFoundError:
 com/sun/corba/se/internal/util/IdentityHashtable
  at 
 com.sun.corba.ee.internal.javax.rmi.CORBA.Util.clinit(Util.java:87)
  at com.sun.corba.ee.internal.POA.POAImpl.activate(POAImpl.java:935)
  at 
 com.sun.corba.ee.internal.POA.POAImpl.activate_object(POAImpl.java:895)
  at
 com.sun.corba.ee.internal.CosNaming.TransientNameService.initialize(Transie
 ntNameService.java:117) at
 com.sun.corba.ee.internal.CosNaming.TransientNameService.init(TransientNa
 meService.java:70) at
 com.sun.enterprise.iiop.POAProtocolMgr.initializeNaming(POAProtocolMgr.java
 :103) at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:226)
  at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
 Caused by: 

Re: [gentoo-user] How the HAL are you supposed to use these files?

2010-02-11 Thread Volker Armin Hemmann
On Donnerstag 11 Februar 2010, Zeerak Waseem wrote:
 On Thu, 11 Feb 2010 23:53:10 +0100, Volker Armin Hemmann
 
 volkerar...@googlemail.com wrote:
  On Donnerstag 11 Februar 2010, Zeerak Waseem wrote:
  Particularly when your wm can handle all the inter-app
  communication that is necessary without dbus.
  
  the problem is the WM can NOT handle all the inter-app communication
  that is
  needed by a modern desktop environment. Especially, when you have apps
  that
  are just frames around building blocks that have to talk to each other
  (like
  for example konqueror, that is just a gui to the dolphin, khtml, konsole,
  gwenview kparts).
 
 But it seems to me, that the apps that need the communication are in DE's.
 Which is fine, I just think that if you're choosing a smaller WM (Openbox,
 awesome, JWM, etc.), where there isn't a need for an inter-app
 communication that extensive, then it's a bit of an overkill really.

so how do you propose that a network connection manager tells a broweser or 
mail app that they are offline?

And don't start with sockets. That will result in a nightmare. dbus is a clean 
solution to a huge problem. Apps have to talk to each other. The only way to 
keep it sane is a standardized IPC daemon like dbus.



Re: [gentoo-user] How the HAL are you supposed to use these files?

2010-02-11 Thread Zeerak Waseem
On Fri, 12 Feb 2010 00:03:27 +0100, Volker Armin Hemmann  
volkerar...@googlemail.com wrote:



On Donnerstag 11 Februar 2010, Zeerak Waseem wrote:

On Thu, 11 Feb 2010 23:53:10 +0100, Volker Armin Hemmann

volkerar...@googlemail.com wrote:
 On Donnerstag 11 Februar 2010, Zeerak Waseem wrote:
 Particularly when your wm can handle all the inter-app
 communication that is necessary without dbus.

 the problem is the WM can NOT handle all the inter-app communication
 that is
 needed by a modern desktop environment. Especially, when you have apps
 that
 are just frames around building blocks that have to talk to each other
 (like
 for example konqueror, that is just a gui to the dolphin, khtml,  
konsole,

 gwenview kparts).

But it seems to me, that the apps that need the communication are in  
DE's.
Which is fine, I just think that if you're choosing a smaller WM  
(Openbox,

awesome, JWM, etc.), where there isn't a need for an inter-app
communication that extensive, then it's a bit of an overkill really.


so how do you propose that a network connection manager tells a broweser  
or

mail app that they are offline?

And don't start with sockets. That will result in a nightmare. dbus is a  
clean
solution to a huge problem. Apps have to talk to each other. The only  
way to

keep it sane is a standardized IPC daemon like dbus.



Well how about something with sockets ;)

Personally, I don't see a big problem in a network connection manager not  
being able to tell various apps that they don't have a connection to the  
internet. If you're offline often you will know it, and if not you have  
something to look into.


But honestly, I don't have a solution to the problem, what I can however  
say is that my browser and my mail app, are pretty deft at realizing that  
their attempts to access a server, are in vain, without any network  
manager to tell them that they're offline. If there is any inter-app  
communication going on, it's not anything I know enough about to give a  
qualified guess about.



--
Zeerak



Re: [gentoo-user] Keyword for dev-java/sun-j2ee

2010-02-11 Thread Alan McKinnon
On Friday 12 February 2010 00:58:52 dhk wrote:
 I put /usr/bin/java back the way it was.
 ln -s /usr/bin/run-java-tool /usr/bin/java
 
 I set the CLASSPATH, got it from java-config --runtime
 export CLASSPATH=$CLASSPATH:/opt/sun-jdk-1.6.0.18/jre/lib/resources.jar:
 /opt/sun-jdk-1.6.0.18/jre/lib/rt.jar:/opt/sun-jdk-1.6.0.18/jre/lib/jsse.jar
 :
 /opt/sun-jdk-1.6.0.18/jre/lib/jce.jar:/opt/sun-jdk-1.6.0.18/jre/lib/charse
 ts.jar
 
 Is it safe to set the CLASSPATH as follows?
 export CLASSPATH=$CLASSPATH:`java-config --runtime`
 That seems to work too.
 
 I ran /opt/sun-j2ee-1.3.1/bin/j2ee and still got the errors.  It
 definately looks like the CLASSPATH, but what should it be?

I'm getting out of my depth here :-)

It's been a while since I used java to any extent, and things change rapidly 
in that arena. Perhaps you need a more java-specific forum, or wait for 
someone with a real clue to come along and read this thread.



-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Uh Oh!! Made the contents of my directory unreadable

2010-02-11 Thread Iain Buchanan
On Fri, 2010-02-12 at 01:58 +0800, ubiquitous1980 wrote:
 With this command or similar, I made my directory and one file in /
 unreadable:
 
 for entry in $(find $HOME); do $entry  found; done

er... you just executed everything in your home directory and piped the
output to a file...  I think you wanted do echo $entry? or the simpler
find $HOME  found?

anyway, it shouldn't have corrupted your filesystem, but it looks like
it did.

 Any ideas on how to fix this?

you probably want to shutdown and fsck your filesystem.  Then, start
looking for your backups :(

-- 
Iain Buchanan iaindb at netspace dot net dot au

Even with nougat you can have a perfect moment.
-- (Terry Pratchett, Thief of Time)




Re: [gentoo-user] How the HAL are you supposed to use these files?

2010-02-11 Thread Volker Armin Hemmann
On Freitag 12 Februar 2010, Zeerak Waseem wrote:
 On Fri, 12 Feb 2010 00:03:27 +0100, Volker Armin Hemmann
 
 volkerar...@googlemail.com wrote:
  On Donnerstag 11 Februar 2010, Zeerak Waseem wrote:
  On Thu, 11 Feb 2010 23:53:10 +0100, Volker Armin Hemmann
  
  volkerar...@googlemail.com wrote:
   On Donnerstag 11 Februar 2010, Zeerak Waseem wrote:
   Particularly when your wm can handle all the inter-app
   communication that is necessary without dbus.
   
   the problem is the WM can NOT handle all the inter-app communication
   that is
   needed by a modern desktop environment. Especially, when you have apps
   that
   are just frames around building blocks that have to talk to each other
   (like
   for example konqueror, that is just a gui to the dolphin, khtml,
  
  konsole,
  
   gwenview kparts).
  
  But it seems to me, that the apps that need the communication are in
  DE's.
  Which is fine, I just think that if you're choosing a smaller WM
  (Openbox,
  awesome, JWM, etc.), where there isn't a need for an inter-app
  communication that extensive, then it's a bit of an overkill really.
  
  so how do you propose that a network connection manager tells a broweser
  or
  mail app that they are offline?
  
  And don't start with sockets. That will result in a nightmare. dbus is a
  clean
  solution to a huge problem. Apps have to talk to each other. The only
  way to
  keep it sane is a standardized IPC daemon like dbus.
 
 Well how about something with sockets ;)

because then you need all apps to talk the same 'language'. You also have to 
built in filters into every app to prevent 'malicious' or damaged messages from 
doing harmfull stuff. 

Every app. So from a workload, maintenance and security POV - a nightmare. Oh, 
and don't forget the wasted memory and CPU cycles because of all the 
duplicated code.


dbus is a clean and simple solution that reduces workload for the devs AND 
resources needed by the system. A win-win scenario.

 
 Personally, I don't see a big problem in a network connection manager not
 being able to tell various apps that they don't have a connection to the
 internet. If you're offline often you will know it, and if not you have
 something to look into.

oh yeah, it is just a great thing that the mail app constantly tries to reach 
servers and then throws errors. Not like this needs zero cpu cycles and zero 
ram. It is so much worse that the mail app knows that there is nothing to do 
and that it can sleep on...

sarcasm 





Re: [gentoo-user] How the HAL are you supposed to use these files?

2010-02-11 Thread Alan McKinnon
On Friday 12 February 2010 00:56:33 Zeerak Waseem wrote:
 On Thu, 11 Feb 2010 23:53:10 +0100, Volker Armin Hemmann
 
 volkerar...@googlemail.com wrote:
  On Donnerstag 11 Februar 2010, Zeerak Waseem wrote:
  Particularly when your wm can handle all the inter-app
  communication that is necessary without dbus.
  
  the problem is the WM can NOT handle all the inter-app communication
  that is
  needed by a modern desktop environment. Especially, when you have apps
  that
  are just frames around building blocks that have to talk to each other
  (like
  for example konqueror, that is just a gui to the dolphin, khtml, konsole,
  gwenview kparts).
 
 But it seems to me, that the apps that need the communication are in DE's.
 Which is fine, I just think that if you're choosing a smaller WM (Openbox,
 awesome, JWM, etc.), where there isn't a need for an inter-app
 communication that extensive, then it's a bit of an overkill really.

That's your error in logic.

You are assuming that smaller WMs don't need IPC. I believe that assumption to 
be false. If my belief is true, then your argument falls flat.

By way of example: printing. By no stretch of the imagination can printing be 
considered to be a niche function. How will an arbitrary app find your 
printers? There are multiple print server around. So, you could:

1. Say stuff it and build a print server into your app. We stopped doing that 
when DOS fell out of fashion.
2. Support all possible print systems. lpr anyone?
3. Or just use IPC and let dedicated print middleware deal with it.

Multimedia buttons. One of the most confounding things on modern hardware are 
multimedia buttons. Volume is easy - make it adjust the sound server. Or you 
could use keybindings and have the wm do it, or you could send the keypresses 
to the configured audio app. And which one is that? Many apps do sound, which 
one will get the buttom focus?

Even minimal WMs have many more such examples. Removing a sane IPC method that 
can be used everywhere instead of multiple implementations of similar 
functionality makes about as much engineering sense as claiming you don't need 
pipes in a shell.

IPC is all about, perhaps you have not considered just how far that rabbit 
hole actually goes.




-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Keyword for dev-java/sun-j2ee

2010-02-11 Thread dhk
Alan McKinnon wrote:
 On Friday 12 February 2010 00:58:52 dhk wrote:
 I put /usr/bin/java back the way it was.
 ln -s /usr/bin/run-java-tool /usr/bin/java

 I set the CLASSPATH, got it from java-config --runtime
 export CLASSPATH=$CLASSPATH:/opt/sun-jdk-1.6.0.18/jre/lib/resources.jar:
 /opt/sun-jdk-1.6.0.18/jre/lib/rt.jar:/opt/sun-jdk-1.6.0.18/jre/lib/jsse.jar
 :
 /opt/sun-jdk-1.6.0.18/jre/lib/jce.jar:/opt/sun-jdk-1.6.0.18/jre/lib/charse
 ts.jar

 Is it safe to set the CLASSPATH as follows?
 export CLASSPATH=$CLASSPATH:`java-config --runtime`
 That seems to work too.

 I ran /opt/sun-j2ee-1.3.1/bin/j2ee and still got the errors.  It
 definately looks like the CLASSPATH, but what should it be?
 
 I'm getting out of my depth here :-)
 
 It's been a while since I used java to any extent, and things change rapidly 
 in that arena. Perhaps you need a more java-specific forum, or wait for 
 someone with a real clue to come along and read this thread.
 
 
 

Well, thanks for your help.  I appreciate it.

dhk



Re: [gentoo-user] How the HAL are you supposed to use these files?

2010-02-11 Thread Alan McKinnon
On Friday 12 February 2010 01:10:58 Zeerak Waseem wrote:
 But honestly, I don't have a solution to the problem, what I can however  
 say is that my browser and my mail app, are pretty deft at realizing that  
 their attempts to access a server, are in vain, without any network  
 manager to tell them that they're offline. If there is any inter-app  
 communication going on, it's not anything I know enough about to give a  
 qualified guess about.

So do this then:

Build a desktop from old ebuilds and tarballs from a time when dbus was not 
prevalent. Make sure that the result is somewhat comparable to what you like 
to have now. Note the code sizes and other metrics of complexity. Note 
resource usage.

Then examine the code for all the major apps you have, find the IPC-type 
functionality they have and remove it. Rebuild everything. Note the code sizes 
and other metrics of complexity. Note resource usage.

Compare these two sets of numbers. Then run your new IPC-less machine. Let us 
know how that works out for you. 

At the very least you will gain an understanding of just how much IPC is going 
on even in minimal environments.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Broadcom firmware doesn't work with 2.6.32-r4

2010-02-11 Thread Iain Buchanan
On Thu, 2010-02-11 at 08:48 -0800, Kaddeh wrote:
 Check out http://bugs.gentoo.org/show_bug.cgi?id=304265 and then
 update to 2.6.32-r5

thanks, that wasn't there when I started looking :)  I'll see what they
find (in the mean time, Go Flaky Wireless!)

-- 
Iain Buchanan iaindb at netspace dot net dot au

Whatever is not nailed down is mine.  Whatever I can pry up is not nailed down.
-- Collis P. Huntingdon, railroad tycoon




Re: [gentoo-user] Upside/downside to including config files in quickpkg?

2010-02-11 Thread Alan McKinnon
On Friday 12 February 2010 00:56:04 Volker Armin Hemmann wrote:
 On Donnerstag 11 Februar 2010, Alan McKinnon wrote:
  On Friday 12 February 2010 00:13:23 Volker Armin Hemmann wrote:
One thing I haven't found so far is what to put in make.conf to get
the buildpkg feature to include the configs. It's easy at the command
line. Where's the documentation on how to actually use this the right
way automatically?



- Mark
   
   when you use buildpkg feature the packages contain the virgin unedited
   configs  as they are installed by the package and not any edits done by
   you.
  
  Just checking something:
  
  We are all aware of the difference between
  
  emerge --buildpkg
  
  and
  
  quickpkg
  
  right/
 
 I am. Not sure Mark is ;)

I am too. At least I am now.

(I had to refresh the man page cache in my head first)

:-)


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Uh Oh!! Made the contents of my directory unreadable

2010-02-11 Thread Alan McKinnon
On Friday 12 February 2010 01:18:33 Iain Buchanan wrote:
 On Fri, 2010-02-12 at 01:58 +0800, ubiquitous1980 wrote:
  With this command or similar, I made my directory and one file in /
  unreadable:
  
  for entry in $(find $HOME); do $entry  found; done
 
 er... you just executed everything in your home directory and piped the
 output to a file...  I think you wanted do echo $entry? or the simpler
 find $HOME  found?
 
 anyway, it shouldn't have corrupted your filesystem, but it looks like
 it did.

I thought the same and wondered How? How could it corrupt stuff?

So assuming the for did do the corruption and it isn't coincidence, what would 
make this happen? Or is the OP just seriously out of luck and hit the one in a 
gazillion unjackpot?

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Upside/downside to including config files in quickpkg?

2010-02-11 Thread Mark Knecht
On Thu, Feb 11, 2010 at 2:33 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
 On Friday 12 February 2010 00:13:23 Volker Armin Hemmann wrote:
  One thing I haven't found so far is what to put in make.conf to get
  the buildpkg feature to include the configs. It's easy at the command
  line. Where's the documentation on how to actually use this the right
  way automatically?
 
 
 
  - Mark

 when you use buildpkg feature the packages contain the virgin unedited
 configs  as they are installed by the package and not any edits done by
 you.

 Just checking something:

 We are all aware of the difference between

 emerge --buildpkg

 and

 quickpkg

 right/

 --
 alan dot mckinnon at gmail dot com

Volker is. I am not sure I am and I'm not sure that Neil was talking
about quickpkg which is what I am using so far. The command

quickpkg --include-configs

says it includes the configs. That's what I thought we (you and I
Alan) were talking about.

On the other hand I presumed (apparently incorrectly) that the
FEATURES=buildpkg (which is what I think Neil is speaking about)
gave me the same option but I now guess it doesn't.

If I need to use quickpkg to save the configs then I think I'll do
that being that as I simple-minded home user with no admin experience
I have no in-place rigorous methods for doing __any__ backups. I just
tar up directories once in awhile and deal with the problems that come
later. (If they come...when they come...they do come, don't they?) ;-)

- Mark



Re: [gentoo-user] How the HAL are you supposed to use these files?

2010-02-11 Thread Iain Buchanan
On Fri, 2010-02-12 at 00:21 +0100, Volker Armin Hemmann wrote:

 oh yeah, it is just a great thing that the mail app constantly tries to reach 
 servers and then throws errors. Not like this needs zero cpu cycles and zero 
 ram. It is so much worse that the mail app knows that there is nothing to do 
 and that it can sleep on...
 
 sarcasm 

worse than constantly tries to reach servers and then throws errors,
evolution will stop you from closing it down or changing the online /
offline state, unless you send it a SIGKILL.  Very annoying.  That's why
I started using NetworkManager and the networkmanager USE flag for
evolution...
-- 
Iain Buchanan iaindb at netspace dot net dot au

You!  What PLANET is this!
-- McCoy, The City on the Edge of Forever, stardate 3134.0




Re: [gentoo-user] Upside/downside to including config files in quickpkg?

2010-02-11 Thread Volker Armin Hemmann
On Freitag 12 Februar 2010, Mark Knecht wrote:
 On Thu, Feb 11, 2010 at 2:33 PM, Alan McKinnon alan.mckin...@gmail.com 
wrote:
  On Friday 12 February 2010 00:13:23 Volker Armin Hemmann wrote:
   One thing I haven't found so far is what to put in make.conf to get
   the buildpkg feature to include the configs. It's easy at the command
   line. Where's the documentation on how to actually use this the right
   way automatically?
   
   
   
   - Mark
  
  when you use buildpkg feature the packages contain the virgin unedited
  configs  as they are installed by the package and not any edits done by
  you.
  
  Just checking something:
  
  We are all aware of the difference between
  
  emerge --buildpkg
  
  and
  
  quickpkg
  
  right/
  
  --
  alan dot mckinnon at gmail dot com
 
 Volker is. I am not sure I am and I'm not sure that Neil was talking
 about quickpkg which is what I am using so far. The command
 
 quickpkg --include-configs
 
 says it includes the configs. That's what I thought we (you and I
 Alan) were talking about.
 
 On the other hand I presumed (apparently incorrectly) that the
 FEATURES=buildpkg (which is what I think Neil is speaking about)
 gave me the same option but I now guess it doesn't.
 
 If I need to use quickpkg to save the configs then I think I'll do
 that being that as I simple-minded home user with no admin experience
 I have no in-place rigorous methods for doing __any__ backups. I just
 tar up directories once in awhile and deal with the problems that come
 later. (If they come...when they come...they do come, don't they?) ;-)
 
 - Mark

when you use quickpkg it package up all the files belonging to the package as 
they are installed in your system. If you edited the configs (or any other 
file) 
the edited version ends in the tarball.

with buildpkg the package is created before the files are copied into the 
filesystem. Config files included in the tarball are 'virgin'. 

buildpkg is 'cleaner' because you get everything as it is installed. If you 
want to save your configs - well, regular backups of /etc is always a smart 
choice.



Re: [gentoo-user] Has semantic-desktop really become compulsatory for kmail?

2010-02-11 Thread Christian Apeltauer
Am Thu, 11 Feb 2010 01:18:42 +
schrieb Neil Bothwick n...@digimed.co.uk:

 On Wed, 10 Feb 2010 18:03:15 -0600, Roy Wright wrote:
 
  IMO, mandatory semantic-desktop is a very good reason to find
  another desktop manager (even after being my primary desktop for 7
  years).
 
 It's so mandatory it takes a whole mouse click to turn it off :(
 
 

If you do not want a piece of software, why should you install it?
Installing and not using it instead of not installing it at all, is the
wrong way and (to my opinion) it is defintely not the Gentoo way.
 Well, I have drawn the conclusions and got rid of kmail and am on the
verge of migrating the whole desktop. I loved kde-3.5, I seriously
tried kde-4.*, but I could never befriend with it. And one point I
detaste is that Social Semantic Desktop thing (as Nepomuk is
characterized on its afore mentioned wikipedia page). For me it is just
another instance of what Kant called selbstverschuldete
Unmündigkeit (self-incurred immaturity).


signature.asc
Description: PGP signature


Re: [gentoo-user] Uh Oh!! Made the contents of my directory unreadable

2010-02-11 Thread ubiquitous1980
Iain Buchanan wrote:
 On Fri, 2010-02-12 at 01:58 +0800, ubiquitous1980 wrote:
   
 With this command or similar, I made my directory and one file in /
 unreadable:

 for entry in $(find $HOME); do $entry  found; done
 

 er... you just executed everything in your home directory and piped the
 output to a file...  I think you wanted do echo $entry? or the simpler
 find $HOME  found?

 anyway, it shouldn't have corrupted your filesystem, but it looks like
 it did.

   
 Any ideas on how to fix this?
 

 you probably want to shutdown and fsck your filesystem.  Then, start
 looking for your backups :(

   
Did just that.  But no luck with fsck.  So I had a tarballed and bzip2ed
backup from about a month ago and used that.  Thanks for the suggestions
anyway guys :)



Re: [gentoo-user] Has semantic-desktop really become compulsatory for kmail?

2010-02-11 Thread Volker Armin Hemmann
On Freitag 12 Februar 2010, Christian Apeltauer wrote:
 Am Thu, 11 Feb 2010 01:18:42 +
 
 schrieb Neil Bothwick n...@digimed.co.uk:
  On Wed, 10 Feb 2010 18:03:15 -0600, Roy Wright wrote:
   IMO, mandatory semantic-desktop is a very good reason to find
   another desktop manager (even after being my primary desktop for 7
   years).
  
  It's so mandatory it takes a whole mouse click to turn it off :(
 
 If you do not want a piece of software, why should you install it?
 Installing and not using it instead of not installing it at all, is the
 wrong way and (to my opinion) it is defintely not the Gentoo way.
  Well, I have drawn the conclusions and got rid of kmail and am on the
 verge of migrating the whole desktop. I loved kde-3.5, I seriously
 tried kde-4.*, but I could never befriend with it. And one point I
 detaste is that Social Semantic Desktop thing (as Nepomuk is
 characterized on its afore mentioned wikipedia page). For me it is just
 another instance of what Kant called selbstverschuldete
 Unmündigkeit (self-incurred immaturity).

sure. Be able to tag and quickly find information is immature.

Question, when you have KDE installed and some app pulls in gconf or gvfs - do 
you throw the same temper tamtrum?



Re: [gentoo-user] How the HAL are you supposed to use these files?

2010-02-11 Thread Volker Armin Hemmann
On Freitag 12 Februar 2010, Iain Buchanan wrote:
 On Fri, 2010-02-12 at 00:21 +0100, Volker Armin Hemmann wrote:
  oh yeah, it is just a great thing that the mail app constantly tries to
  reach servers and then throws errors. Not like this needs zero cpu
  cycles and zero ram. It is so much worse that the mail app knows that
  there is nothing to do and that it can sleep on...
  
  sarcasm
 
 worse than constantly tries to reach servers and then throws errors,
 evolution will stop you from closing it down or changing the online /
 offline state, unless you send it a SIGKILL.  Very annoying.  That's why
 I started using NetworkManager and the networkmanager USE flag for
 evolution...

well, evolution is broken beyond help anyway ;)



Re: [gentoo-user] Keyword for dev-java/sun-j2ee

2010-02-11 Thread Dale

chrome://messenger/locale/messengercompose/composeMsgs.properties:

On Thursday 11 February 2010 18:09:33 Alex Schuster wrote:
   

Dale writes:
 

chrome://messenger/locale/messengercompose/composeMsgs.properties:
   

Whoops?
 

SeaMonkey.

Dale has his eyes set on holding the world record to be the last KDE-3.5 user
left standing with the longest continual uptime for any app from the Mozilla
stable.

This is a worthy goal. He deserves our support. Without us, the title will
likely go to some SuSE user.

   


Actually, it is Seamonkey 2 that is at fault.  Seamonkey 1 works fine, 
even in KDE 3.5.  It's Seamonkey 2, the new one, that is broken.  
Thinking about switching back to Seamonkey 1.  Seamonkey 2, like KDE 4, 
still needs some work.


By the way, just installed KDE 4.4 and I still can't open a file with 
Dolphin as root.  I keep getting a error that something isn't working.  
I can't recall what it is.  Noticed a couple other things that are not 
working still so I'm back to KDE 3.5.  I'm starting to think Gnome may 
be a option here.  This is getting ridiculous.  Before long KDE 3.5 
won't be secure and KDE 4.4 still won't work and I'll have to switch to 
something else anyway.


Dale

:-)  :-)



Re: [gentoo-user] How the HAL are you supposed to use these files?

2010-02-11 Thread Zeerak Waseem
On Fri, 12 Feb 2010 00:31:26 +0100, Alan McKinnon  
alan.mckin...@gmail.com wrote:



On Friday 12 February 2010 01:10:58 Zeerak Waseem wrote:

But honestly, I don't have a solution to the problem, what I can however
say is that my browser and my mail app, are pretty deft at realizing  
that

their attempts to access a server, are in vain, without any network
manager to tell them that they're offline. If there is any inter-app
communication going on, it's not anything I know enough about to give a
qualified guess about.


So do this then:

Build a desktop from old ebuilds and tarballs from a time when dbus was  
not
prevalent. Make sure that the result is somewhat comparable to what you  
like

to have now. Note the code sizes and other metrics of complexity. Note
resource usage.

Then examine the code for all the major apps you have, find the IPC-type
functionality they have and remove it. Rebuild everything. Note the code  
sizes

and other metrics of complexity. Note resource usage.

Compare these two sets of numbers. Then run your new IPC-less machine.  
Let us

know how that works out for you.

At the very least you will gain an understanding of just how much IPC is  
going

on even in minimal environments.



Well, I'll have to tell you, that I might just do that one of these days,  
because like you say. If nothing else I'll gain an understanding of it.
As you suggested in the last mail, I don't think I've considered all the  
different uses of IPC. :-)


--
Zeerak



Re: [gentoo-user] How the HAL are you supposed to use these files?

2010-02-11 Thread Neil Bothwick
On Thu, 11 Feb 2010 23:47:39 +0100, Zeerak Waseem wrote:

 I'm not saying dbus is all that bad, just that it might be a bit  
 unnecessary for a number of users. Which to me means, that it should
 be something that can be chosen, rather than something that's chosen
 for you.

It's not there for the users, it's there for the software. How much better
would that software be if the developers spent half their time writing
code to communicate, write to logs and all the other standard tasks. Next
you'll suggest that filesystems should be optional because the apps can
always work out which disk blocks to use by themselves. Don't get me
started on compilers, what a bloated waste of resources when apps could
be written in hand crafted assembly.


-- 
Neil Bothwick




signature.asc
Description: PGP signature


Re: [gentoo-user] How the HAL are you supposed to use these files?

2010-02-11 Thread Neil Bothwick
On Thu, 11 Feb 2010 23:35:10 +0100, Zeerak Waseem wrote:

 Oh there's not much of a problem with dbus to be quite honest. But
 that perhaps is a bit of the point, that dbus seems like it might be,
 as someone else put it, a solution-in-search-of-a-problem.

Yes, it could be what one person called it, or it could be the efficient
way for applications to share code and resources that a dozen people have
described it as.

-- 
Neil Bothwick

An investment in knowledge always pays the best interest. - Benjamin
Franklin


signature.asc
Description: PGP signature


  1   2   >