I have a dedicated server that I use to crunch lots of data. The way I have it now, I can open a script with a process ID like example.php?ex_pid=123 and just let it go. It downloads a small portion of data, processes it, then uploads it into a database then starts again.
Ideally, I would like to call example.php?ex_pid=123 directly and...
Hi,
If there is any Farsi characters in Adobe flashes on websites; they show reversed and separated such as bellow screenshot that takes from facebook video player in firefox :
found something that shows this problem is from flash text engine (here).
but Adobe has just presented reformed text layout framework for flex and flash 10 tha...
I'm wanting to use some newer software that requires Python 2.6, and we currently have both 2.4 and 2.6 installed on our dedicated CentOS server, which looks like this:
$ which python
/usr/local/bin/python
$ which python2.6
/usr/bin/python2.6
$ which python2.4
/usr/local/bin/python2.4
$ ls -l /usr/local/bin/py*
-rwxr-xr-x 1 root root ...
Hi,
I was wondering if this was possible. Mostly I want to understand what GNOME does exactly? Couldn't one just run applications, given the availability of GTK+, and of course X11? Of course, I'm not sure (which is why I'm asking the question), but it looks to me that GNOME just "organizes" the GUI to make it more of a desktop, and of...
I need to distribute a binary file for GNU/Linux...
On Windows, I could run a utility named "depends.exe" that would verify all dependencies that the file have, thus I would be able to know what to ship with the file, how I do the same with GNU/Linux?
Clarification: I did not mean LITERALLY distributing it (unless it is some certain li...
For example, if I have this code:
subprocess.call(['gnome-terminal'])
Is it possible to have python output strings to that specific terminal that was just opened? Thanks!
...
Hi,
There are shadows under all the windows in Ubuntu. My question is, is this done through X11, Compiz, GTK+, or otherwise?
Thanks!
...
Because I know that a simple API call handles setting the custom folder icons in Windows, I looked for an API method to set custom folder icons in Linux.
But in this thread, I saw that there is no such a way. Also I learnt that each desktop environment has its own way to set custom folder icons. The way of KDE is clearly described ther...
Hi,
I am using JAGS for simulating some MCMC distributions. I see the support for a sizeable set of distributions. But, I would like to sample out of a specific distribution that is not defiend in JAGS. Does anyone know how to write our own custom distributions?
Thanks!
...
Hi All,
I need to send the arp of a IP to get it's mac address which is configured on different machine. I am arping this ip from a C program by "system(arping -c 3 -i eth0 ) but I see that this is hanged in there.
But if I run the same command from bash "arping -c 3 -i eth0 " it get executed successfully.
I could not understand why ...
I am working on a defect in my GTK code for displaying context menus. After creating a menu with a number of menu items, I use gtk_menu_popup() to display the menu. This function takes a function pointer of type GtkMenuPositionFunc which lets me position the menu. I don't really do anything here except tell GTK to keep current position b...
Hi,
I have found a problem in our FC8 linux machines with the LANG variable when running a command through ssh.
When in a terminal, I can see that my LANG variable is "es_ES"
[angelv@italia ~]$ echo $LANG
es_ES
If I connect back to my machine through ssh, there are no problems and $LANG is still "es_ES"
[angelv@italia ~]$ ssh itali...
I have a file with function prototypes like this:
int func1(type1 arg, int x);
type2 funct2(int z, char* buffer);
I want to create a script (bash, sed, awk, whatever) that will print
function = func1 // first argument type = type1// second argument type = int
function = func1 // first argument type = int// second argument type =...
Hi,
When reading the /proc/$PID/maps you get the mapped memory regions.
Is ther a way to dump one of this regions?
$ cat /proc/18448/maps
...[snip]...
0059e000-005b1000 r-xp 00000000 08:11 40 /usr/local/lib/libgstlightning.so.0.0.0
005b1000-005b2000 r--p 00012000 08:11 40 /usr/local/lib/libgstlightning.so.0.0.0
005b200...
Is there any way to measure a specific process CPU usage by cores?
I know top is good for measuring the whole system's CPU usage by cores and taskset can provide information about which CPU core is allowed for the process to run on.
But how to measure a specific process' CPU usage by CPU cores?
...
Ok so, right now I can't really afford to pay for any service. I want to be able to take screenshots using my rented server, which is Linux based, and output them on the screen.
I know there are a lot of services that do this, but they usually have limits or watermarks, or you have to wait for your screenshot to be taken from the queue....
What is the best way to analyze crashes on Linux?
We expect to build the software and deliver a release version to testers. The testers may not be able remember how to reproduce the crash or the crash may be totally intermittent. They also will not have a development environment on their machines. The software is written in C/C++ and c...
Hi there,
I am quite new to cygwin. I created a symlink as follows
$ ln -s /var/www /cygdrive/d/foo
and when I check the d drive via windows, I see a system file called foo. Is there a way to make foo act as a folder for windows instead of the system file?
Thanks
B
...
Hi all. I've been trying to Google this answer with no results. I keep on finding answers on how to make Netbeans run in a GTK skin .... this is NOT what I want.
I have a Java Swing application. I can preview it under GTK+, C/X Motif perfectly fine when I right click the JPanel Form --> Preview. However, whenever I try to run the pro...
Hi,
What is the best tutorial for TCP/IP sockets and flash? My project also involves
Linux server as well. I'm looking for a book or tutorial I can share with my team.
Your recommendations are appreciated.
Thanks,
Details 'not much I can give'
• Need middleware solution to send packets to Flash
...