I'm trying to learn to use SDL for a little game I'm writing , but I have a problem . One single application can play sound at a given time on my system . If for example I have amarok or kaffeine ( or even firefox while playing a flash video ) , no other application can play sound . The only solution I've found is to run just an applicat...
I broke the laptop. how did I break it?
I remember feeling happy about wubi. now I feel bad about wubi and everything that I did.
I used the partition editor within Windows (System Tools - administration) and removed my 11 GB partition of ubuntu. This was how my laptop has been partitioned EVER since I dual booted it three or so years...
mysqldump: Couldn't execute 'show fields from `tablename`': Out of resources when opening file './databasename/tablename#P#p125.MYD' (Errcode: 24) (23)
on checking the error 24 on the shell it says
>>perror 24
OS error code 24: Too many open files
how do I solve this?
...
I got to setup the following two variables:
export LD_LIBRARY_PATH=/usr/java/jdk1.6.0/jre/lib/i386/:/usr/java/jdk1.6.0/jre/lib/i386/client/:./
export JAVA_HOME=/usr/java/jdk1.6.0/
Since, the above is for the version of jdk installed via SunJDK, what could be the equivalent path for the openjdk-6-jdk package!
My OpenJDK is installed at...
I'm running a rails app and PHP at my SliceHost Ubuntu Hardy Heron vps server. I've a PdfProcess.exe module built upon ASP.NET (.NET 2). I've one PHP file which uses a passthru("PdfProcess.exe ......") function which loads a pdf template and outputs a new processed pdf file and sent to browser. The combination of PdfProcess.exe and PHP p...
Does anyone know how, on Ubuntu 8.04, with PHP 5 and MySQL 5.0, to enable/install the mysqli package/extensions?
Preferably I'd like to preserve the existing installations, but, if necessary, I'll reinstall from scratch.
I realise it's not, technically, programming-related but, I think (at a stretch, maybe) it's programming-enabling? h...
Apparently libigraph and python-igraph are the only packages on earth that can't be installed via apt-get or easy_install under Ubuntu 8.04 LTS 64-bit.
Installing both from source from source on seems to go smoothly...until I try to use them.
When I run python I get:
>>> import igraph
Traceback (most recent call last):
File "<stdin>...
I have a very simple controller:
require 'net/ssh'
class MyController < ApplicationController
def foo
render :text => 'bar'
end
end
But when I request http://server:3000/my/foo I get:
MissingSourceFile in MyController#foo
no such file to load -- net/ssh
The gem is installed
> gem list net-ssh
*** LOCAL GEMS ***
...
I just upgraded my browser to Safari 4 and find that our website is having some major issues specific to that browser version. As I click through pages on our site it takes one or two clicks before the browser window simply goes blank. When the window goes blank, there is no source to view and no matter how many times I try to reload o...
Hi all,
I have a web server which is protected behind http-basic-auth. I've read through the monit docs and it doesn't seem like there's a clear way to pass credentials in order to test that the test page on the server is being returned correctly.
Any thoughts?
Thanks!
(Please don't confuse this with monit's own httpd for showing m...
Hi,
I'm using Apache/2.2.8 (Ubuntu) and have a problem. There is a file /etc/apache2/sites-available/backuppc with the following:
<VirtualHost *>
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /backuppc http://192.168.134.59:80/backuppc
ProxyPassReverse /backuppc http://192.168.134.59:80/backuppc
...
Hello, I just set up CVS on my local machine. But now I need to clean it up and bring it up to a point of the raw CVS installation. I tried searching for "uninstall cvs on ubuntu" but did n't find any luck.
Can anyone share his/her views on how to proceed this?
...
I just upgraded to Hardy from Dapper and can't install java for the life of me:
$ sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk
[sudo] password for bobpete:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package sun-java6-bin is not available, but is referred to by another packa...
I recently inherited a Ubuntu Hardy box that acts rather funky out-of-the-box. The first things I tried to do was edit my .bashrc profile to do some coloring and add some aliases I usually have, but then when I try to source the ~/.bashrc I get sh: source: not found and I have also noticed tabbed autocomplete is also not working at all -...
I have been following these instructions for setting up a Django production server with postgres, apache, nginx, and memcache. My problem is that I cannot get egenix-mx-base to install and without this I cannot get psycopg2 to work and therefore no database access :(.
I am attempting this on a VPS running a clean install of Ubuntu Hard...
I'm trying to determine CPU usage of my PHP scripts. I just found this article which details how to find system and user CPU usage time (Section 4).
However, when I tried out the examples, I received completely different results.
The first example:
sleep(3);
$data = getrusage();
echo "User time: ".
($data['ru_utime.tv_sec'] +
...
Running on Ubuntu LTS 8.04, PHP 5.2.8, ImageMagick 6.6.1-5 installed from source, and Imagick 2.3.0 installed from pecl.
ImageMagick's 'convert' command sets fonts properly, and ImagickDraw::setFont properly complains if an invalid path to a font has been specified. However, specifying a valid font has no effect in changing the appeara...
I'm compiling Ruby 1.9.1-p376 under Ubuntu 8.04 server LTS (64-bit), by doing the following:
$ ./configure
$ make
$ sudo make install
./configure works without complaints.
make hangs indefinitely until all my RAM and swap is gone. It get stuck after the following output:
compiling ripper
make[1]: Entering directory `/tmp/ruby1.9.1/r...
Ubuntu packages for 8.04 only goes upto version 2.0.8 of Maven. How do I install maven 2.0.9 package using apt-get or other Ubuntu package installer ? Thanks.
...
Whenever i try to install an Android app on my HTC device via the Eclipse ADT i get:
[2010-07-27 15:33:20 - Touch] Failed to upload Touch.apk on device ''
[2010-07-27 15:33:20 - Touch] java.io.IOException: Unable to upload file: timeout
[2010-07-27 15:33:20 - Touch] Launch canceled!
I am running on Ubuntu 8.04 in vmware (on a Vista sys...