I am looking for knowledgebase/faq software with a developer license that is written in c#.
I have found a couple of good options for VB but would prefer C#.
What would be the fastest portable bi-directional communication mechanism for inter-process communication where threads from one application need to communicate to multiple threads in another application on the same computer, and the communicating threads can be on different physical CPUs).
I assume that it would involve a shared memory and a circular buffer and shared synchronization mechanisms.
But shared mutexes are very expensive (and there are limited number of them too) to synchronize when threads are running on different physical CPUs.
I've been looking at software activation systems for .NET and frankly found the websites out there underwhelming. I'm wondering if there's a "standard" way to do it in .NET? If not, does anyone with experience of them have a recommendation?
I understand the arguments for and against activation systems, but still need to evaluate.
Thanks.
Is a server essentially a background process running an infinite loop listening on a port? For example:
while(1){
command = read(127.0.0.1:xxxx);
if(command){
execute(command);
}
}
When I say server, I obviously am not referring to a physical server (computer). I am referring to a MySQL server, or Apache, etc.
Full disclosure - I haven't had time to poke through any source code. Actual code examples would be great!
I want to create a very simple experimental programming language. What are some resources can i check out to get an overview of the process of creating an interpreted language. I will be using c++ to build and compile the interpreter.
I am thinking of spending some time in learning more math, will it be helpful for me as a software developer? I mean to ask, if it will be worth the effort to spend that extra time on math rather than spending it on something else?
I have a worker process that is running in a server with no web frontend. what is the best way to set up monitoring fot it? It recently died for 3 days, and i did not know about it
Hi
Like qik.com or ustream.com , when they upload content from iphone to server , it works via daemon . So even when out of the app with exit , the task is still on with background daemon . Is there any method that I can implement daemon process in a same way ? Thanks !!!
LINQ to SQL .Count takes way to much process time and decreases performances.
I am doing a recursive loop and for one child (lets call it parent) I have to check the number of children under it to make a decision if it should be included or not.
The Count is too slow 8 ms :( for 120 parent records.
Any ideas to make it quicker.
I'have typed ps -ALF and got the following results. Actually there are more to the tow lines that I typed.
UID PID PPID LWP C NLWP SZ RSS PSR STIME TTY TIME CMD
root 1 0 1 0 1 5900 1644 1 Nov05 ? 00:00:05 /sbin/init
root 2 0 2 0 1 0 0 0 Nov05 ? 00:00:00 [kthreadd]
I'm supposed to find which process has more than 1 threads. Which column am I supposed to examine?
Thanks for helping
I'm looking for the code in the linux kernel (2.4.x) that initializes the first process, pid=0.
Many searches provided many clues, but I still cannot find it.
Any pointers, anyone?
How do you determine the process identity for ASP.NET? I am getting an UnAthorizedAccessExeption when a user clicks a LinkButton designed to use System.IO to delete a file located in a subfolder of the root folder for a Web Application Project in Visual Studio 2008.
I need to design database for SQL Server, is there any MySQL workbench like software for that? I have access to MSDN, so it can also be commercial product that can be found form MSDN.
From your experience, to develop an Android software for the marketplace, do i need a real Android device to test my applications or emulator is enough?
The idea is that I want to build a small app that detects if the webcam is being used and by what.
I have thought about seeing who has use of the Twain.dll somehow (like the way process explorer knows)
It's for a security style app that picks out weird webcam behaviour.
Ideally I would use C# as it's my strong point, but I'm guessing it won't be that nice.
On Unix, is there any way that one process can change another's environment variables (assuming they're all being run by the same user)? A general solution would be best, but if not, what about the specific case where one is a child of the other?
Edit: How about via gdb?
Hello!
I have created a shortcut of my .exe file.
I want add to '.exe' extra parameters.(on shortcut: Target attribute)
Example
Target:
"C:\Documents and Settings\dezigo\My Documents\c# programm\DirectoryScanner\DirectoryScanner\DirectoryScanner\bin\Debug\DirectoryScanner.exe" + extra parrams(like a method=1)
How can I read this parameters inside my software? (c#)
Then ,when starting .exe
check
if(method == 1)
{
//do something
}
else
{
//do something
}
I found this open question online. How do you process a large data file with size such as 10G?
This should be an interview question. Is there a systematic way to answer this type of question?
Hi, in a 64-bit WinOS ennvironment, how can a 32-bit process/app such as CMD invoke a 64-bit app?
For example, we have a 32-bit launcher (aka installation program). It needs to invoke a 64-bit 3rd party installer. Presently, doing so will render the OS to say it's not a Win32 App.
If you know of any workaround or suggestion, I am all ears...
thanks,
CT
Hello All,
How can i make MPI process notify the others about an error for example, specially on an MPI program where all the MPI processees are independant from each others ( There no synchronisation between the different MPI processees ) ?
Thanks