Imagine i have a program doing a lot of things wasting about 90% of CPU.
I need a way to know (through visual studio) where the program are wasting CPU.
We're developing a program that generates search feeds for Google Search Appliance. We would like to use icons that would be associated with Google Search Appliance in the program interface.
Is there a list of icons Google officially allows to use in such cases?
assuming that I have setup the Database (MySQL) Replication using Master-Slave configuration, and have synchronized those Master and Slave servers, how can my C# program know that it has to update the Slave server when the Master server fails? What are the conditions that the C# program switch from the Master server to the Slave server?
I am using MySQL server.
I'm trying to write a program that needs smooth orientation sensor samples as the phone is rotated all around. Every time the orientation of the phone is changed, it interrupts the data and freezes the program while the layout changes. How can I lock it in one orientation (landscape or portrait, it doesn't matter)?
I assume it has something to do with android:layout in the xml file, but I can't find anything online.
In a visual C++ mfc program, which I run on Wondows 7, I always get the error message This Program Has Stopped Working after I close the main dialog/exit the application. But it doesn't happen in Windows XP. Can anyone explain what the matter is and how to solve it?
Thanks a lot.
In Linux I would like to run a program but only for a limited time, like 1 second. If the program exceeds this running time I would like to kill the process and show an error message.
Hi, I would like to know what lines of C code to add to a program so that it tells me the total time that the program takes to run. I guess there should be counter initialization near the beginning of main and one after the main function ends. Is the right header clock.h?
Thanks a lot...
I would like my cabalised program to have a --version switch.
I would like it to report the same version as is present in the .cabal file.
If I have to update the version number separately in my Haskell source code as well as in the .cabal file, I will eventually get them out of sync.
So, how can my program, while being compiled under cabal, get its version number from the .cabal file?
Is there a software program for a company who publishes a newsletter with advertisers in it. One that keeps track of sales of advertisers, payments to salesforce, layouts/copy for the publication, accounting. Is there one program that takes care of all of that or are their seprate programs for each?
Hey, I am trying to make a program that minimises any program to the system tray instead of normally minimising it. Is this possible? I have been looking around on google but cant find anything.
Anyone know how to do this?
Thanks.
Hi,
I need to write a program to scrape forums.
Should I write the program in Python using the Scrapy framework or should I use Php cURL?
Also is there a Php equivalent to Scrapy?
Thanks
Hi All.
I can't find great way to debug javascript. I know firebug on firefox, but it's not best way I think. I want to put break point and trace program but I can't with it.
Do you know good tool or how to trace the program.
i need to calculate few metrics (CBO, NOC, DAC, LCOM, WMC, RFC and DIT metric). Program is written in jdeveloper and i do not know how to calculate this metrics. Migration to eclipse is not possible becouse code is not compiled. Does anyone know any good program for calculating metrics?
Hi. I need to write a program that check if a graph is bipartite.
I have read through wikipedia articles about graph coloring and bipartite graph. These two article suggest methods to test bipartiteness like BFS search, but I cannot write a program implementing these methods.
Any help would be appreciated!
This is a simple question about getting started with developing Android apps using Eclipse. I have followed all the tutorials on the developer site for installing Eclipse, the SDK and the ADT plugin. When trying to run a simple Hello World program, everything seems to compile correctly, but then the virtual machine comes up empty. In the Console Window it reads:
The program then just sits and my text never comes up. Any idea with what the problem could be?
I have a .NET application that runs on both x86 and x64. I'd like to have a 32 bit WiX installer that will work on both platforms but I'd like it to install to /Program Files/ rather than /Program Files (x86)/ on 64 bit operating systems.
How do you go about doing this?
I have a program that crashes (attempting to read a bad memory address) while running the "release" version but does not report any problems while running the "debug" version in the visual studio debugger.
When the program crashes the OS asks if I'd like to open up the debugger, and if I say yes then I see an arrow pointing to where I am in a listing of some assembler which I am not skilled enough to read properly (I learned 6502 assembler 30 years ago). Is there any way for my to determine where in my sourcecode the offending memory read was located?
Hi guys.
I read about function pointers in C
And everyone said that will make my program run slow.
Is it true?
I made a program to check it.
And I got the same results on both cases. (mesure the time.)
So, is it bad to use fuction pointer?
Thanks in advance.
I have a problem with Minitab (a statistics program). When I enter my general model and want to see the results, the program warns me: too few arguments or space missing. Everything seems true, and I can't determine where the problem is. Could anyone help me on this subject?
Is there any really low level programming language that can get access the memory variable directly? For example, if I have a program have a variable i. Can anyone access the memory to change my program variable i to another value?
I am making a qt application which allows the user to select a file and then upon clicking ok, start the associated program with the file already loaded. The program I want to start is java based, and I know how to use QProcess to get it to open, I don't know however how to add the file extension which the user is selecting. Any suggestions?
Lets us consider the following program :
#include <stdlib.h>
int main(int argc, char **argv){
int a,b;
if (argc != 3)
return -1;
a = atoi(argv[1]);
b = atoi(argv[2]);
a = b ? a/b : 0;
return a;
}
The task is to crash the program by providing arguments in command-line.
I have a C# program that I poorly named when I first started it and want it changed now. I've changed the solution name, but that doesn't appear to change what the program is named when it publishes.
My question is how to change the publish name.
Possible Duplicate:
A puzzle - a program printing its own source
In your favorite programming language, write a program that, when run, will print out its own source code!
Sounds interesting, now let's go!
ps: Literally, there is "NO" use case for this, just plain curiosity!