operating-system

Best Book on Operating Systems

What is the best, up-to-date and comprehensive book on operating systems? Voice your opinion. I have seen recommendations for Tanenbaum's Modern Operating Systems but the reviews saying the latest edition has many conceptual errors and numerous typos make me worry. ...

How to create simplest p2p remote desktop OR any Robot(Java) equivalent in python ...

Hello all, I want to create a simplest remote desktop application using p2p communication. I did created one small p2p program in python. My Idea is- Transmit screenshots of remote computer periodically Transmit keyboard and mouse events wrapped in xml to remote desktop. Problem- I could transmit a information for keyboard and mo...

what graphics library would i need to run java?

i am looking into making my own OS just to say i've done it. i know that there is a project called JNode that has done one in assembly and java. what i was wondering was, what embedded graphics do you need to run java? i know java uses the graphics of the specific os so this confuses me ...

when do we prefer Round robin over FCFS and vice-versa?

i know this depends on the design, but i was asked this question and no assumptions taken.. what should i answer and ...

How to get the OS on which PHP is running?

For building a unix/dos specific script i need to know on which kind of operating system i am. How do i get this information? phpinfo(); tells me a lot more and not very clear whether im running on unix or not. ...

Platform Independent Way of Detecting the Number of Processors in Java

Is there a platform independent way to detect the number of physical and/or virtual processors in Java? One potential solution is to detect the operating system and use the Windows environment variable "NUMBER_OF_PROCESSORS". Do Linux and Mac OS X have a similar offering? This however may not be the best solution. ...

Why code segment is Common for different instances of same program

Hi, I wanted to know Why code segment is common for different instances of same program. For Eg: Consider program P1.exe running, if another copy of P1.exe is running, code segment will be common for both running instances. Why is it so ?. Answer will be highly appreciated. Thanks in advance. ...

How to get the path separator in Python?

When multiple directories need to be concatenated, as in an executable search path, there is an os-dependent separator character. For Windows it's ';', for Linux it's ':'. Is there a way in Python to get which character to split on? In the discussions to this question http://stackoverflow.com/questions/1489599/how-do-i-find-out-my-pyt...

NTP Y2038 & Y2036

Hi, I am currently investigating the implications of the year 2036 and 2038 rollover bugs for a particular project. The software implemented by this project must be capable of running beyond these two dates. My initial research shows that the NTP timestamp rollover in 2036 is actually non-issues as the protocol holds up. My current p...

How to launch proccess with limited memory?

How does one create and launch process (i.e. launch an .exe file) with RAM limitation using c++ and the win32 API? Which error code will be returned, if the proccess goes beyond the limit? ...

How to restrict proccess to create new processes?

How to restrict proccess to create new processes? ...

Gentle introduction to operating systems

I want to understand the very basics of how operating systems work, so that I can better understand innovations that are happening in the industry right now. I'm not yet ready to delve into a dense college textbook, since I know I would lose interest very quickly. I am looking for a learning resource that is visual, interactive, and fun,...

How does binary translate to hardware?

I understand how code is compiled to assembly, and that assembly is a 1:1 replacement with binary codes. Can somebody help me understand how binary is connected to the hardware? How is the binary physically read and run? How does an if statement work in the hardware? From google searches I'm thinking that maybe my question title should ...

Generic printing using a USB port

I am developing on a device that has no printer support natively. I need to print to any printer using a USB port. Is this feasible? Is there any generic standard for all printers to print via USB? The device runs on Linux/PowerPC. ...

Interrupt Handling on SMP Systems

Are Interrupts assigned to a fixed CPU (always handled by the same CPU)? To put my question in context: From: http://msdn.microsoft.com/en-us/library/ms795060.aspx The spin lock that protects the shared area has an IRQL equal to the DIRQL at which the device interrupts. As long as the critical-section routine holds the spin lock and a...

linux: programmatically get parent pid of another process?

I tried google, but found getppid() which gets the parent pid of the current process. I need something like getppid(some_other_pid), is there such a thing? Basically takes the pid of some process and returns the parent process' pid. ...

Developing a non-x86 Operating system

I have to choose a thesis topic soon and I was considering implementing an operating system for an architecture that is not x86 (I'm leaning towards ARM or AVR). The reason I am avoiding x86 is because I would like to gain some experience with embedded platforms and I (possibly incorrectly) believe that the task may be easier when carrie...

What does 128-bit OS mean to a software developer??

Microsoft is planning to make Windows 8 an 128-bit operating system. I have always used 32-bit machines. I know 64-bit are common as well but I never went into details to understand how does it help a developer or in general. So my question is - What does 128-bit OS mean to a software developer? UPDATE I asked about this in general....

Absolute keyboard input position (blinking cursor)

Is it possible to make Java program that will determine the absolute position (x,y on screen) of blinking keyboard cursor? That cursor can be in any text editor. ...

Supervisor / Administrator Mode

What are the assembly commands that can be executed only with administrator or supervisor authorization? (kernel 00) ...