what is the different between operating system of Windows and Linux
I 'am a new a student of computer science. I would like to know about this. please me reponse. ...
I 'am a new a student of computer science. I would like to know about this. please me reponse. ...
Hi, I want to spawn Erlang processes that will communicate with a C program through a Port Driver. As spawning many of these processes can be inefficient, can I spawn one Erlang process that receives messages and queue these messages for processing with the C Program? As this C program starts to wait for incoming jobs, will it block? ...
At first glance it seems like a good idea to let the hard disk write to RAM on its own, without CPU instructions copying data, particularly with the success of asynchronous networking in mind. But the Wikipedia article on DMA states this: With DMA, the CPU gets freed from this overhead and can do useful tasks during data transfer (th...
Hey there! On my website, I have a table movies and a table users I'm trying to have an "Add to favs" button that a user can click, which will add that movie to his favorites (ajax / javascript not necessary at the moment, just php). So what's the simplest way I could do something like that? I've thought about this but I can't seem to...
Let's say we want to build an online booking website for hotels and airlines.... I'm not sure from where to start... Is there some system I can build my application on top of it or something? Edition #1 Our target is a website like : www.cheaptickets.com ...
Hello all. How can I get the Windows system time with millisecond resolution? If the above is not possible, then how can I get the operating system start time? I would like to use this value together with timeGetTime() in order to compute a system time with millisecond resolution. Thank you in advance. ...
Hi, My application does not paint itself on startup. When resizing it or minimizing/maximizing it, the window of the application is painted. This problem only appears on Windows machines (I tested XP, Vista and Windows 7). On Mac OS X and Linux, the application works fine. The machines have installed java 6. My application uses the AW...
I'm using IPC::System::Simple:runx to execute system commands and die on unexpected return values. The problem is that the commands output is printed to the shell. How can I avoid printing this output? How can I avoid printing this output but getting it into a perl variable? UPDATE 3) How can I print this output iff the execution fa...
I'm setting up a minimal chroot and want to avoid having sudo or su in it but still run the my processes as non-root. This is a bit of a trick as chroot requiers root. I could write a program that does this that would look something like: uid = LookupUser(args[username]) // no /etc/passwd in jail chroot(args[newroot]) cd("/") setuids(u...
Hi, What is the most appropriate method to change the system date (on Windows) programmatically using Qt4. I'm using Qt Creator 1.3.1. ...
I'm attempting to write a program in Linux using C++ that counts the number of files and folders in a user specified directory, but the more I read, the more confused I get. I'm new to C++ and to programming in general, and I understand that I have a big hurdle to vault at the start, but I'm not entirely sure where to start reading on th...
Hi, I am currently working on a Hospital Information System for the government and I wanted to know if there is a open source (Even a sample or a base not used worldwide) software or even a sample database available to download to get some fresh ideas. If not, is there any information on design and analysis the processes within the hospi...
Hi, I have an application that is build in dot net 3.5. Basically it's a web application (asp.net and flash). Is this application need any modification while opening on Touch Screen Computer System. I mean to say who will manage interaction with an application. Is application required any change or system will manage it self. Thanks in ...
The title pretty much says it all, I am trying to get a java program (.jar file) to run from a Perl program. I read another post on Stackoverflow saying this syntax is correct: system("java filename.jar"); However this is giving me the following error. I'm not sure if the problem is that it shows the filename as "filename/jar" inste...
Hello, I know that this isn't exactly a programming question, but it's related to the subject for me. How do you denote different numeral systems in just text? (By text I mean able to type at a proper speed and not copy-pasting it from another program.) For example if i have a number in base 2 how do I type it so others can understand th...
Hi, In a distributed system with the following data flow: The client sends a message for a random node in the distributed system. The node checks if the operation can be performed by him. If not, sends the message to other node. And the process follows until the correct node. So the system has the following flow: client -> nodeX ->...
I have written a program that invokes a system command from inside: #include <stdlib.h> int main(void) { while(1) { system("ls 2>&1 1>/dev/null"); // comment this line out to enable ctrl+break } return 0; } However, when it is running, CTRL+C and CTRL+BREAK no longer work and appear to be ignored. I am tryin...
Summary When I execute a very simple program using Perl's Benchmark utility. I get values that are not (appearing as) milliseconds or nanoseconds. The benchmark data returned is not useful to me because I do not know how to interpret it. Example: use Benchmark; my $start = Benchmark->new; print "foo!"; my $end = Benchmark->new; my $...
Hello all I am just wondering what's the storage size for an iPad/iPhone app to use? For memory, it is sure that every app can only use 100MB-like memory. How about the storage? I mean the file system in iPad/iPhone app? Use as much as I want until the file system is full? or something like that? ...
What do we mean by Product Integration, product integration sequence with respect to System design document. ...