Hi
I've been trying to install CouchDB on my webfusion virtual server. I followed the latest instructions from the webfusion forum (see: http://forum.webfaction.com/viewtopic.php?id=2355 ) and it runs (just) Futon is very sluggish and I get 502 errors. Anyway when I run the test suite it crashes and the browser hangs on the first two ba...
I have the following problem: when I get a backtrace in C using the backtrace(3) function the symbols returned the name of the functions is easily determinable with the dwarf library and dladdr(3).
The problem is that if I have a simple function pointer (e.g. by passing it &function) the dladdr + dwarf functions can't help. It seems tha...
If you have a multithreaded program (Linux 2.26 kernel), and one thread does something that causes a segfault, will the other threads still be scheduled to run? How are the other threads terminated? Can someone explain the process shutdown procedure with regard to multithreaded programs?
...
Hi,
I'm running several PHP applications on a server, and I'd like to create a sandbox for each of them, so that for example one can't access the files of another one.
Which could be the best solution?
Thanks
...
Hi,
I would like to setup a system which I could change the ip any time I want.
The Idea I have is to have a list of proxies, which by pressing a button or something similar will switch to a different proxy server.
any suggestions of how to do it( I believe there is already a software for that somewhere)
I use ubuntu 10.04 (linux).
...
When using apt-get I see some packages have a "dev" suffix after their names:
libreadline5
libreadline-dev
zlib1g
zlib1g-dev
What are these exactly and should I install them?
...
I'm trying to add Monaco true type font on JEdit under Ubuntu Linux.
...
I want to create a static executable that will run on a windows machine from a linux machine (ubutu 10.04).
Is there anyway of doing so??
thanks,
...
I'm looking for a way to detect the (average) frame rate of an animated GIF using Linux. PHP's Imagick class seems to provide this functionality but I rather avoid installing a ton of libraries to get it to work.
http://www.php.net/manual/en/function.imagick-getimagetickspersecond.php
Is there a simple way to do this?
...
Hello,
I want to have a real-time process take over my computer. :)
I've been playing a bit with this. I created a process which is essentially a while (1) (never blocks nor yields the processor) and used schedtool to run it with SCHED_FIFO policy (also tried chrt). However, the process was letting other processes run as well.
Then som...
Hi, open ended question I realize.. and probably well documented somewhere!
I used to write a lot of Java server code way way back - mostly banking etc...
I have been using mostly a windows platform for quite some time.. so I am about to re-embark on the Linux/Java/PHP/MySQL travels...
Just wonder, given the administration for Windows...
I have an init.d script that looks like:
#!/bin/bash
# chkconfig 345 85 60
# description: startup script for swapi
# processname: swapi
LDIR=/var/www/html/private/daemon
EXEC=swapi.php
PIDF=/var/run/swapi.pid
IEXE=/etc/init.d/swapi
### BEGIN INIT INFO
# Provides: swapi
# Required-Start: $local_fs
# Required-Stop:
# Default-Start: 3 4 ...
I need a library that can URLencode a string/char array.
Now, I can hex encode an ASCII array like here:
http://www.codeguru.com/cpp/cpp/cpp_mfc/article.php/c4029
But I need something that works with Unicode.
Note: On Linux AND on Windows !
CURL has a quite nice:
char *encodedURL = curl_easy_escape(handle,WEBPAGE_URL, strlen(WEBPAGE...
How do I subtract a decimal value in assembly. IA32 (linux)
1: mov edx, 1/2
sub ecx, ebx
sub ecx, edx
mov bal2, ecx
I tried this but it some how skips the subtraction with the decimal.
And if I enter .5 it gives me an error.
error:junk `.5' after expression
...
I'm working on a simulation project using c++ on both windows and linux.
There will be several thousand objects (Perhaps 3000-5000) in the simulation. In plan to have several threads performing actions on the objects so that it makes good use of multi core machines, for example one thread handling movement and location of the objects, o...
hello,
gcc 4.4.4 c89 Fedora 13
I am wondering what is better. To give you a compile of examples: apache runtime portable and log4c.
The apr version in my fedora repository is 1.3.9. The latest stable version on the apr website is 1.4.2.
Questions
Would it be better to download from the website and install, or install using yum...
Does anyone know a Linux browser (it can be console-based) that can read an HTML page from its standard input? For example, I want to do this:
generate_html | browser
Thanks!
...
Hello,
I opened a domain in Plesk and wanted to give the user access to SFTP in order to secure the transfers through FTP.
When i chose "Shell acess to server with user's credentials /bin/bash" I got a message that it is extremely dangerous to enable this feature and I should only enable it if I trust the user.
I am trying to understa...
Hi,
We have the following code that runs in Linux Ubuntu, but not on Windows XP or Windows 7.
Do you know what could be the problem?
Here's the code snippet:
if (logger.isDebugEnabled())
{
logger.debug("before getting connection");
}
String url = "jdbc:mysql://XXX.XXX.XXX.XXX";
Connection conn = DriverMana...
Hello everyone, Ive been trying to sort out output using AWK, and have been pretty successful going through some of the stuff on stack overflow until i hit the last part of the command below.
-bash-3.2$ find /home/username/www/devdir -mindepth 2 -maxdepth 2 -type d -printf "%TY %Tm %Tb %Td,%TH:%TM,%p,\n" | grep "^$r" | grep Aug | sort -...