system

How do I enable core dumps for daemon processes on montavista linux?

I am not sure if stackoverflow is the correct place for this, but since this is for embedded development, and I need core dumps, which are also for development, I figured that this was the best place to ask. I am trying to enable global core dumps in such a way that every time a program crashes in a way which produces a core, it gets wr...

Uninstall and Install Programs in windows using python script

Possible Duplicate: Add/remove programs in Windows XP with Python script I am a newbie in python and basically do windows sysadmin tasks and sometimes write batch script. However i am trying to learn python by implementing the scripts in windows tasks. The actual task i want to do is a follows: To remove acrobat reader or acro...

Shortest distance between point and path

Hi, for a geo-based online game I'm looking for an algorithm which finds the shortest distance between a specified point and a known path connected by x/y-coordinates, so that I can kill all redundant points/nodes. A link or keyword for this algorithm would help me a lot! thanks for reading For better understanding: ...

get the data send to the printer.

In my project we need to use a virtual printer and then catch the file (most of the times its bitmap) and extract data from it. and transform it into xml like so . <document name="file://C:\DOCUME~1\ilanit\LOCALS~1\Temp\p0129600584.htm"> <lineXY x="0" y="0" height="1656" width="2275" /> ...

Why is there so many Pythons installed in /usr/bin for my Snow Leopard? What decides which one is the System Python?

Why is there so many Pythons installed in /usr/bin for my Snow Leopard? What decides which one is the System Python? When I simply type "python" it is 2.6.1 ~ but this doesn't seem to be the "System Python", why not? How does one change system Python and what are the drawbacks? ...

How to modify the PATH variable definitely through the command line in Windows

I would like to make a .bat file that would add some string at the end of the value of the Windows PATH variable. Warning, I want this change to be definitive, not working only for the current session. Does somebody know of a way to do this ? As much as possible it should not be dependent on the version of Windows ...

PHP system() args

I have the following code that executes a C++ program and outputs it: <html> <head> <title>C++</title> </head> <body> <div><?php system("app.exe", $out); echo rtrim($out, "0"); ?></div> </body> </html> How can I make it so that you can pass arguments to the c++ program, say like this... If this was the c...

PHP system batch args

Using PHP's system function, how can you pass arguments to a batch file? It would probably look something like this system("batch.bat argument", $output); I found out how to do it with a C++ executable here I'm guessing it should be relatively simple... What the real question is is how to receive the argument with a batch file? ...

Lead management system

Hi Can any one tell me Best asp.net open source for "Lead management system" with source code Regards Vairamuthu ...

a system that record and count user logged in

hi again everyone i am trying to build a log system that would record how many times a particular user logged in to my system, my temporary logic is this way: every time a user logged in i would extract these fields user_id counter time(m/d/y) << daily log and store those inside a table in the database the action would be this way...

manage user permissions in php

i am creating a marks management system using php & mysqlwhere the concerned faculty will be able to login and enter the marks of the students. i can go with a simple table but the problem is there are 288 different subjects for which marks must be entered. So creating a mysql table with so many subjects does not look good for me. please...

iphone 4.0 OS. Is it possible to read the file system beyond the application sandbox?

Is it possible to read the file system beyond the application sandbox? Not the area for other applications, but folders like photos, video, music etc. Would the "Assets Library Framework" help in this case? Can I use a file:/// NSURL etc.? T...

Distributed log system

Hi, I need to store logs in a distributed file system. Let's say that I have many types of logs. Each log type is recorded in file. But this file can be huge, so it must be distributed across many nodes (with replication for data durability). These files must support append/get operations. Is there a distributed system that achieves ...

Transaction Processing System

Howdy, where can I find software for transaction processing? It should support payment transactions as well as other type of transactions. System should be able to read SPDH and BIC ISO messages. Thank you! ...

how to force to redirect the message on the screen?

Hi, I am running a C++ program and there are other underling code. When I run it, suppose it is a.exe, there are a lot of information printed on the screen. I can't redirect some information to a .txt file like ./a.ext > temp.txt How can I force it is redirect to the temp.txt? Thanks! ...

OSX Java System Tray (menu bar)

Does anyone know of a way of if it is possible to have an application (Java on OSX) run in a system tray state but when a window is visible on the screen to have a dock icon? Currently I have a trade off between having the app running in the tray but also shown in the dock and with a menu bar or to have (using the plist hack) the app run...

Blocking operations and ZeroMQ

Hi, I'm designing a distributed system in which a single-threaded server processes perform a CPU intensive operation. These operations are triggered by ZeroMQ network messages. If the single-threaded process is performing the CPU intensive work, will the I/O (ZeroMQ sockets) block? Thanks! ...

file permissions in php

I have created a file called config.php and it is as under <?php $dbUser="test"; $dbPassword="123456"; $dbName="testDatabase"; $dbHost="localhost"; $dbPort="3306"; $tablePrefix="test_"; ?> Now i have set permissions of this file to 744, so that i can make connection any time i need. but what would happen if anyone else will try to rea...

User System Methods

I don't know if this question has been asked before, but I'll go through with it. If you were to make a system in PHP that allows users to register and login - including user levels. How entirely would you create this system. Remind yourself about sessions, what exactly is the best method you would do when being careful with sessions - ...

How can I use two NotifyIcons in C# without the second one disappearing when i hover the mouse over?

I Have a VS2008 app that needs to display two notifyIcons in the System tray. One is the main application icon, which allows quick access to the GUI. The second is a "new message" icon, which is displayed when a new message arrives, and hidden when the user double-clicks on it, much like the new Outlook mail message icon. The problem i...