I am using alternate stack to handle signals for program in C over linux.
When stack overflow occurs, my signal are delivered on to my alternate signal stack not on the main stack.
So in this situation I want to dump the main stack.... how can I ?
...
I have a KTextEdit, filled with some text.
When I put lots of text, the KTextEdit will be scrolled automatically to the end (obviously).
My question is: how can I scroll to the start (viz to the first line of the KTextEdit) ?!?
...
We are cross-compiling an application for an embedded Linux target under desktop Linux. For testing and other purposes we are using statically linked libraries with our application. The testing library we are using is CMockery.
My question is: Where should the static libraries and include files for CMockery live, given that we are cros...
In my app have a window splitted by a QSplitter, and I need to remove an widget.
How can I do that? I can't find useful methods
...
My employer uses subversion for version-control, and this is unlikely to change. I'm interested in learning more about git, and using git-svn to interface with my employer's subversion repositories. My question is: if I were to begin using git-svn, would I need to do some or all of my version control work from the command-line? Or is the...
I'm scared that one day, I'm going to put a space or miss out something in the command I currently use:
rm -rf ./*
Is there a safer way of emptying the current directory's contents?
...
I use ls to obtain my filename which has white space so it looks something like:
my file with whitespace.tar.bz2
I want to pipe this to tar similar to:
ls | grep mysearchstring | tar xvjf
How can I insert double quotes before piping it to tar?
...
How do I use grep to perform a search which, when a match is found, will print the file name as well as the first n characters in that file? Note that n is a parameter that can be specified and it is irrelevant whether the first n characters actually contains the matching string.
...
We need to interface to 3rd party app, but company behind the app doesn't disclose message protocol and provides only Windows DLL to interface to.
Our application is Linux-based so I cannot directly communicate with DLL. I couldn't find any existing solution so I'm considering writing socket-based bridge between Linux and Windows, howev...
I recently switched my work laptop to Linux. The problem is that I have to be able to use Microsoft Project for maintaining project plans.
Is there a project alternative on linux that is able to read and write MS project files?
So far I tried openproj, gantproject and planner, but neither one of them can write mpp files.
...
As part of a wide ranging job for a cystic fibrosis support organization, they'd also like a web site set up and I've decided on Apache running on Linux (due to its security and low cost mostly). Other than (fairly) static content, they also want a forum where people can discuss issues with the condition - it'll be attached to a hospital...
Hi,
I am to take up the task of porting a C++ networking application code base of quite a size from Solaris to Linux platform. The code also uses third party libraries like ACE. The application when written initially was not planned for a possible porting in future.
I would like to get some advice and suggestions as to how I go about ...
As part of another question that did involve programming (I assure you), someone suggested I ask a community wiki question as to why your forum software of choice was the 'best' one for you.
I'm looking into providing forum software as part of an install of a web server and web application tailored for a medical support group and I wish...
I could replicate the problem with various shells under FreeBSD, GNU/Linux, and Solaris. It had me head-scratching for more than an hour, so I decided to post the question here.
...
Hi Guys,
We have been asked to look into a fully open source solution for a big project, they want the project be as near to 100% Open Source as possible, mainly because as its a community project there may be very little money available in the future except for the running of a host. Using OS software saves on licence costs as the serv...
Hi,
I am sorry, my question is stupid, but I am not able to answer it, as a java illiterate. I run a tomcat (5) on CentOS5 (for a CAS server), and when I try to open this URL http://192.168.1.17:8080/cas-server-webapp-3.3.1/login I get this error :
first error:
java.lang.NoClassDefFoundError: Could not initialize class org.springfram...
I have a C++ application I'm in the process of optimizing. What tool can I use to pinpoint my slow code? :)
...
I have a script that needs to run after tomcat has finished starting up and is ready to start deploying applications. I'm using $TOMCAT_HOME/bin/startup.sh which returns immediately. How can I wait until tomcat has finished starting up?
...
I've got some software I created deployed on a Linux VM. I'd like to deploy a second copy of the software on a second virtual machine. Ideally, I'd like to just clone the VM volume, fire up a second copy, change the IP address, and that's that. It there anything else to it, or is it really just that simple.
...
I want to display documents on my website. The server is hosted on a Debian machine. I was thinking I can allow the upload of support documents then use a Linux app or PHP app to convert the doc into PDF and display that in an HTML page. Are there any APIs or binaries that allow me to do this?
...