Re: [gentoo-user] Netbeans, java programming, swing gui-builder?

2012-04-01 Thread pat
On Sat, 31 Mar 2012 13:12:00 +0200, pk wrote
> Hi,
> 
> Does anyone on this list have experience with java (swing) gui-builders
> and what would you recommend, if so? It seems Netbeans is the only
> option in Portage that I can find, are there other options? I'm looking
> for an "easy" way to build a reasonably advanced gui.
> 
> Best regards
> 
> Peter K
> 

Hi Peter,

I have experiences with Swing UI and I'll suggest NetBeans.

 Pat


Freehosting PIPNI - http://www.pipni.cz/




[gentoo-user] Tips for saving power needed...

2012-04-01 Thread Jarry

Hi,

admin of a colo-center keeps complaining my server is going
a little over power-limit (which they have set as ~120W per
24h/avg, while my server needs ~130-135W). So I need to find
a way to save at least those 15W, or I will be moved to
higher tarif (which means higher costs for server-housing).

Before going hard(ware) way, I would like to try first
all possible software solutions. What I tried up to now is
cpufreqd, CONFIG_NO_HZ=y, and spindown. In addition to that
I adjusted fan-speeds to a little lower values and turned
off some unneeded peripherials (in bios).

Is there anything else I could do? Any tips would be greatly
welcomed...

Jarry

--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] Tips for saving power needed...

2012-04-01 Thread Michael Hampicke
> Before going hard(ware) way, I would like to try first
> all possible software solutions. What I tried up to now is
> cpufreqd, CONFIG_NO_HZ=y, and spindown. In addition to that
> I adjusted fan-speeds to a little lower values and turned
> off some unneeded peripherials (in bios).
> 
> Is there anything else I could do? Any tips would be greatly
> welcomed...

Does you cpu support a technique like speed stepping? Then try setting
the scaling governor to ondemand

% modprobe acpi_cpufreq
% echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

This may be working betten than using coufreqd?

Or maybe you could lower the cpu and ram voltage in bios? But this can
cause an unstable system.



Re: [gentoo-user] Tips for saving power needed...

2012-04-01 Thread Volker Armin Hemmann
Am Sonntag, 1. April 2012, 17:04:58 schrieb Jarry:
> Hi,
> 
> admin of a colo-center keeps complaining my server is going
> a little over power-limit (which they have set as ~120W per
> 24h/avg, while my server needs ~130-135W). So I need to find
> a way to save at least those 15W, or I will be moved to
> higher tarif (which means higher costs for server-housing).
> 
> Before going hard(ware) way, I would like to try first
> all possible software solutions. What I tried up to now is
> cpufreqd, CONFIG_NO_HZ=y, and spindown. In addition to that
> I adjusted fan-speeds to a little lower values and turned
> off some unneeded peripherials (in bios).
> 
> Is there anything else I could do? Any tips would be greatly
> welcomed...
> 
> Jarry

don't use cpufreqd? Just use the ondemand cpu governor. Only run services you 
need. If there is graphics hardware make sure the driver knows about power 
saving. An amd card on a virtual terminal needs as much power as an amd card 
in X doing heavy 3d lifting ...


-- 
#163933



Re: [gentoo-user] Netbeans, java programming, swing gui-builder?

2012-04-01 Thread pk
On 2012-04-01 13:19, pat wrote:

> I have experiences with Swing UI and I'll suggest NetBeans.

I guess I'll go with that. It's just that it wants to pull in around 100
packages (with only apisupport, ide, java and nb modules)... :-/

Oh, well.

Thanks!

Best regards

Peter K



[gentoo-user] Re: AMD hdaudio: why do I have two audio devices and two mixers?

2012-04-01 Thread walt
On 03/31/2012 10:25 PM, Sebastian Beßler wrote:

> Then the mixer from kde segfaulted and the sound
> was gone as pulseaudio then prefered HDMI over my real soundcard.

Well, I just spent an hour figuring out how to fix that problem :)

I assume your HDMI card is "sink number 0" and the analog device is
"sink number 1".  That's how it works in my new machine, anyway.

#grep sink /etc/pulse/client.conf 
 default-sink = 1

I changed the 0 to 1 and now everything works normally.  As for any
kde app segfaulting.




[gentoo-user] Re: Netbeans, java programming, swing gui-builder?

2012-04-01 Thread walt
On 04/01/2012 10:05 AM, pk wrote:
> On 2012-04-01 13:19, pat wrote:
> 
>> I have experiences with Swing UI and I'll suggest NetBeans.
> 
> I guess I'll go with that. It's just that it wants to pull in around 100
> packages (with only apisupport, ide, java and nb modules)... :-/

Yes, that's a bit of a pain.  I install the binary package from here:
http://netbeans.org/downloads/index.html

Running the installer as an ordinary user installs the whole thing in
~/NetBeans and it even updates itself if you want it to.




Re: [gentoo-user] Re: Netbeans, java programming, swing gui-builder?

2012-04-01 Thread pk
On 2012-04-01 19:26, walt wrote:

> Yes, that's a bit of a pain.  I install the binary package from here:
> http://netbeans.org/downloads/index.html
> 
> Running the installer as an ordinary user installs the whole thing in
> ~/NetBeans and it even updates itself if you want it to.

Ah, cool! Thanks!

Best regards

Peter K



[gentoo-user] emacs - problem rendering pdf files

2012-04-01 Thread David Relson
G'day,

A few weeks ago I discovered that emacs is no longer rendering pdf
files.  Before, I could open a pdf file and read it using emacs, but no
longer.  

When I open a pdf I get the following messages:

### message #1 ### in buffer that used to show the rendered pdf ###

Welcome to DocView!
 
 
If you see this buffer it means that the document you want to view is
being converted to PNG and the conversion of the first page hasn't
finished yet or `doc-view-conversion-refresh-interval' is set to nil.

For now these keys are useful:

`q' : Bury this buffer.  Conversion will go on in background.
`k' : Kill the conversion process and this buffer.
`K' : Kill the conversion process.\n"

### message #2 ### in the emacs status bar ###

DocView: process pdf/ps->>png changed status to exited anbormally with
code 127

### end of messages ###

Research shows that both messages come from file 
/usr/share/emacs/23.4/lisp/doc-view.el.  The first messsages is from
function doc-view-buffer-message() and the second is from function
doc-view-sentinel(proc event).

Any suggestions of what's gone missing on my system ???

Thanks.

David

P.S. emacs is still rendering images (jpg, png, tiff, etc).




Re: [gentoo-user] emacs - problem rendering pdf files

2012-04-01 Thread Sebastian Pipping
I recommend to file bug report at bugs.gentoo.org .

Best,



Sebastian



[gentoo-user] Nginx with PHP-FPM

2012-04-01 Thread siefke_lis...@web.de
Hello,

I try my web hosting environment to mirror locally. On my Rootserver run Nginx
with PHP-FPM under FreeBSD. So i has installed Nginx, PHP and Mysql here local 
on Gentoo. But something is not correct, it want not really run. I has search 
in web and use the config for Nginx on Gentoo (is other as on FreeBSD) but 
nothing happen. The website (info.php) is blank and in logs i find not the way
which is my mistake. 

nginx.conf > http://nopaste.info/72a40e9c5e.html
php-fpm.conf > http://nopaste.info/94a9de62d5.html
emerge --info php nginx > http://nopaste.info/225b12e106.html



2012/04/02 04:23:05 [notice] 3636#0: using the "epoll" event method
2012/04/02 04:23:05 [notice] 3636#0: nginx/1.0.14
2012/04/02 04:23:05 [notice] 3636#0: OS: Linux 3.3.0
2012/04/02 04:23:05 [notice] 3636#0: getrlimit(RLIMIT_NOFILE): 1024:4096
2012/04/02 04:23:05 [notice] 3637#0: start worker processes
2012/04/02 04:23:05 [notice] 3637#0: start worker process 3640



127.0.0.1 - - [02/Apr/2012:04:23:11 +0200] "GET /favicon.ico HTTP/1.1" 404 348 
"-" "-" "-"
127.0.0.1 - - [02/Apr/2012:04:23:11 +0200] "GET /favicon.ico HTTP/1.1" 404 319 
"http://localhost/"; "Mozilla/5.0 (Macintosh; U; Intel Mac OS X; de-de) 
AppleWebKit/535+ (KHTML, like Gecko) Version/5.0 Safari/535.4+ Midori/0.4" "-"
127.0.0.1 - - [02/Apr/2012:04:23:11 +0200] "GET /favicon.ico HTTP/1.1" 404 348 
"-" "-" "-"
127.0.0.1 - - [02/Apr/2012:04:23:17 +0200] "GET /info.php HTTP/1.1" 200 260 "-" 
"Mozilla/5.0 (Macintosh; U; Intel Mac OS X; de-de) AppleWebKit/535+ (KHTML, 
like Gecko) Version/5.0 Safari/535.4+ Midori/0.4" "0.47"
127.0.0.1 - - [02/Apr/2012:04:23:17 +0200] "GET /info.php HTTP/1.1" 200 260 "-" 
"Mozilla/5.0 (Macintosh; U; Intel Mac OS X; de-de) AppleWebKit/535+ (KHTML, 
like Gecko) Version/5.0 Safari/535.4+ Midori/0.4" "0.47"
127.0.0.1 - - [02/Apr/2012:04:23:17 +0200] "GET /favicon.ico HTTP/1.1" 404 348 
"-" "-" "-"
127.0.0.1 - - [02/Apr/2012:04:23:17 +0200] "GET /favicon.ico HTTP/1.1" 404 348 
"-" "-" "-"



2012/04/02 04:23:11 [error] 3640#0: *1 open() 
"/var/www/localhost/htdocs/favicon.ico" failed (2: No such file or directory), 
client: 127.0.0.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", 
host: "localhost"
2012/04/02 04:23:11 [info] 3640#0: *1 client 127.0.0.1 closed keepalive 
connection
2012/04/02 04:23:11 [error] 3640#0: *2 open() 
"/var/www/localhost/htdocs/favicon.ico" failed (2: No such file or directory), 
client: 127.0.0.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", 
host: "localhost", referrer: "http://localhost/";
2012/04/02 04:23:11 [error] 3640#0: *3 open() 
"/var/www/localhost/htdocs/favicon.ico" failed (2: No such file or directory), 
client: 127.0.0.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", 
host: "localhost"
2012/04/02 04:23:11 [info] 3640#0: *3 client 127.0.0.1 closed keepalive 
connection
2012/04/02 04:23:17 [error] 3640#0: *8 open() 
"/var/www/localhost/htdocs/favicon.ico" failed (2: No such file or directory), 
client: 127.0.0.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", 
host: "localhost"
2012/04/02 04:23:17 [info] 3640#0: *8 client 127.0.0.1 closed keepalive 
connection
2012/04/02 04:23:17 [error] 3640#0: *9 open() 
"/var/www/localhost/htdocs/favicon.ico" failed (2: No such file or directory), 
client: 127.0.0.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", 
host: "localhost"
2012/04/02 04:23:17 [info] 3640#0: *9 client 127.0.0.1 closed keepalive 
connection



Has someone a idea where is the mistake. Thank u for help.

Regards
Silvio



Re: [gentoo-user] Tips for saving power needed...

2012-04-01 Thread Walter Dnes
On Sun, Apr 01, 2012 at 05:56:20PM +0200, Volker Armin Hemmann wrote
> Am Sonntag, 1. April 2012, 17:04:58 schrieb Jarry:
> > Hi,
> > 
> > admin of a colo-center keeps complaining my server is going
> > a little over power-limit (which they have set as ~120W per
> > 24h/avg, while my server needs ~130-135W). So I need to find
> > a way to save at least those 15W, or I will be moved to
> > higher tarif (which means higher costs for server-housing).

> don't use cpufreqd? Just use the ondemand cpu governor. Only run
> services you need. If there is graphics hardware make sure the driver
> knows about power saving. An amd card on a virtual terminal needs
> as much power as an amd card in X doing heavy 3d lifting ...

  The following may seem obvious, but here goes...

* remove unnecessary video cards, and drivers.  Most colo machines
  should do OK with just a text console running on the onboard GPU.
  Dump all video driver stuff "/dev/agpgart (AGP Support)" and
  "Direct Rendering Manager".  This assumes you're not running X on
  your colo machines.  mc (Midnight Commander) is a great text-based
  tool, along the lines of ye olde Norton Commander.

* disable sound cards/chips in BIOS and remove drivers and kernel
  support.

* Run "rc-update show" and look for any services you don't need.

-- 
Walter Dnes