Operating System

•December 11, 2009 • Leave a Comment

Role of the Operating System (OS) in a computer system.
The Operating system has 6 Managing Roles: The Processor, RAM, Input/Output, Application, Authorization, File and Information Management. OS is responsible for allocating processor usage between programs. OS manages the memory space allocation to each application.OS allows unification and control of access of programs to material resources via driver. OS is responsible for smooth execution of applications by allocating the resources required for them to operate. OS is responsible for security relating to execution of programs by guaranteeing that the resources are used only by programs and users with the relevant authorizations. OS manages reading and writing in the file system and the user and application file access authorizations. OS provides a certain number of indicators that can be used to diagnose the correct operation of the machine.

The different computer architectures with respect to to the number of processors. Compare and contrast each architecture.

Quantum computer – harness the power of atoms and molecules to perform memory and processing tasks. Quantum computers have the potential to perform certain calculations significantly faster than any silicon-based computer.

The two-qubit processor is the first solid-state quantum processor that resembles a conventional computer chip and is able to run simple algorithms.
Based either on the quantum processor core or other designs – will outperform their classical counterparts in a variety of calculations such as simulations of problems that are inherently quantum mechanical (including many nanoscopic, molecular, and biophysical problems, to name a few). They would also be good at factoring large numbers and tackling other mathematical problems that would take eons for even the most powerful classical computers imaginable to solve.

Vector computers – A vector processor, or array processor, is a CPU design wherein the instruction set includes operations that can perform mathematical operations on multiple data elements simultaneously. Vector processors were common in the scientific computing area, where they formed the basis of most supercomputers through the 1980s and into the 1990s, but general increases in performance and processor design saw the near-disappearance of the vector processor as a general-purpose CPU. Modern video game consoles and consumer computer-graphics hardware rely heavily on vector processing in their architecture. In 2000, IBM, Toshiba and Sony collaborated to create the Cell processor, consisting of one scalar processor and eight vector processors, which found use in the Sony PlayStation 3 among other applications.

Numa computers – NUMA architectures logically follow in scaling from symmetric multiprocessing (SMP) architectures. Their commercial development came in work by Unisys, Hewlett-Packard, Silicon Graphics, Sequent Computer Systems and Data General during the 1990s. Techniques developed by these companies later featured in a variety of Unix-like operating systems, and somewhat in Windows NT. NUMA Computer Architecture is a computer memory design used in multiprocessors, where the memory access time depends on the memory location relative to a processor. Under NUMA, a processor can access its own local memory faster than non-local memory, that is, memory local to another processor or memory shared between processors.

Von Neumann computers – The von Neumann architecture is a design model for a stored-program digital computer that uses a processing unit and a single separate storage structure to hold both instructions and data. Such computers implement a universal Turing machine and have a sequential architecture.

The dual-mode operation of Operating systems and how it can be implemented.
Dual mode of operation is the distinction between execution of user mode and kernel mode (supervisor mode, system mode, and privileged mode). A mode bit is added to the hardware to indicate the current mode: Kernel(0) or user(1). Dual mode of operation provides us with more protection to the operating system. For example, if a kernel instruction is executed under user mode, the hardware does not execute it, although identifies it as an illegal execution and traps it to the operating system.

The core operating system services and give an example program or service in Windows XP.
Display Driver Models
Windows Display Driver Model
Windows XP Display Driver Model
User Plug and Play
Peer Name Resolution Protocol (PNRP) Client
Service Control Manager
Service Events Logging
Windows Customer Experience Improvement Program

Bypassing Time-Limit of Streaming Videos

•November 30, 2009 • Leave a Comment

4 Possible Ways:

I.
a. Press the Red “Play” button and wait until it turns Green.
b. When it starts to buffer, press the “Pause” button.
c. Wait until it is completely buffered.
d. Go to: File > Work Offline using your Mozilla Firefox Browser
e. You can now enjoy the full duration of the Movie.

II.
When the video you are watching gets to the page where a megavideo time limit thing pops up with “You have watched 72 mins of video today. Please wait ## minutes or click here to enjoy unlimited use of Megavideo.” ## being the time you have to wait.

Adjust the time on the computer clock to a time that is more than the minutes you have to wait. Say for example it is now 3:45 pm and you have to wait 15 minutes to watch a video again. Add this 15 minutes to 3:45 pm, making it 4 pm. So all you have to do is adjust your time somewhere after 4 pm. and you can watch another video again.
Just follow the instructions.

III.
Requirements:
* Firefox Web Browser
* Video DownloadHelper Firefox Addon
* VLC Media Player
Instructions:
1. Download and Install all the requirements explained above.
2. Open your MegaVideo page
3. Start playing your video
4. When you’re playing your video the DownloadHelper button on the top left should become animated.
5. Ctrl+Click on the flv file written there and click on the option called ‘Copy URL’. Then, paste it on the address bar.
6. Once it asks you to download the file save it on your desktop.
7. You should find two files (a randomname.part file and a randomname.part.part file) on your desktop. If you have a slow internet connection you should wait for about 5 minutes before moving to the next step.
8. Open VLC Media Player and use it to open the randomname.part.part file saved on the desktop (if you’re not sure which one just try opening both)
9. Now you’ll be able to stream it while it is downloading and it should work WITHOUT any interruptions.

IV.
1. Get to a command prompt. (START > Run > type cmd).
2. Type “ipconfig /release” (without the quotes, on the command line by itself).
3. Type “ipconfig /renew” (without the quotes, on the command line by itself).
4. reload the video you were watching and watch from where you left!

Revision Control

•November 27, 2009 • Leave a Comment

Herbert Joseph Esling
Emerico Legaspi
Dominic Agcopra

Definitions:

1. Baseline – The baseline is a work product/s that has been approved. It is used as a logical basis for comparison. It can be used as the basis for further changes or subsequent projects. A project often has multiple baselines

There are specialized types of baselines. These include but are not limited to the functional baseline, the allocated baseline, the developmental baseline and the product baseline.

Baselines themselves are valued not only for their ability to identify the notable state of work product(s) but also provide particular importance in their ability to be retrieved. Once retrieved, the state of the work product(s) in that subset share the same significance in their history of changes that this significance was observed. The baseline is then regarded with poignant qualities (either favorably or unfavorably). For this reason, baseline identification, monitoring, and retrieval are critical to the success of configuration management. However, the ease of retrieving any given baseline varies according to the system employed for performing configuration management which may use a manual, automated, or hybrid approach. Once retrieved, the baseline may be compared to a particular configuration or another baseline.
Most baselines are established at a fixed point in time and serve to continue to reference that point (identification of state). However, some baselines are established to carry forward as a reference to the item itself regardless of any changes to the item. These latter baselines evolve with the progression of the work effort but continue to identify notable work products in the project.

2. Trunk – The unique line of development that is not a branch (sometimes also called Baseline or Mainline).

3. Branch – A set of files under version control may be branched or forked at a point in time so that, from that time forward, two copies of those files may be developed at different speeds or in different ways independently of the other.

4. Merge – A merge or integration is an operation in which two sets of changes are applied to a file or set of files.

This may happen when one user, working on those files, updates their working copy with changes made, and checked into the repository, by other users. Conversely, this same process may happen in the repository when a user tries to check-in their changes.

It may happen after a set of files has been branched, then a problem that existed before the branching is fixed in one branch and this fix needs merging into the other.

It may happen after creating a branch; followed by independent development of the code in those files; and finally incorporating those changes into a single, unified trunk.

Types of merges

Two-way merge – A two-way merge performs an automated difference analysis between a file ‘A’ and a file ‘B’.

Three-way merge – A three-way merge is performed after an automated difference analysis between a file ‘A’ and a file ‘B’ while also considering the origin, or parent, of both files (usually the parent is the same for both).

5. Tag – A tag or label refers to an important snapshot in time, consistent across many files. These files at that point may all be tagged with a user-friendly, meaningful name or revision number.

Reference: http://en.wikipedia.org/

Protected: Quantified Analysis of Internet Spamming

•November 18, 2009 • Enter your password to view comments

This post is password protected. To view it please enter your password below:


Loretto’s Bar and Grill

•July 21, 2009 • Leave a Comment

House:

Loretto’s Bar and Grill

Address:

Cuisine/Food:

Sinuglaw, Billiard, Karaoke and Drinks

<Insert Review Here>

Glaize:

Thessa:

Rating:

Food -

Drinks -

Service -

Venue -

Mga Senyales na Gusto Ka ng Girl

•July 17, 2009 • Leave a Comment

base sa mga nakita at naranasan ko na:
text ng text un gurl ng kung anu2..from quotes to gdnty or kain kna etc.
PM ng PM sa YM kahit offline ka..
kung hinde ka naman kilala, tingin ng tingin sayo minsan nkangiti pa pag nkatingin..
pag kausap mo naman, hinde sila makatingin ng straight..mdyo nahihiya (kung mahinhin ung babae)
kapit ng kapit sayo o kaya hampas ng hampas pag kausap mo (kung di mahiyain) -Jupz

pag galit sayo kahit wala ka namang
ginagawang mali
pag nandiyan ka para bang hindi mapakali
yun babae -Dienna

Tingin nang tingin. And there’s something about that tingin.
Really tries to get your attention. Kinakausap ka lagi. -Sanguinary

pag hinahampas ka sa joke mong hindi nman nakakatawa……100% she fall 4 u XD -textMONEY

minsan passive lang sila… ikaw na lmalapit pero umaayaw ,(deep inside gsto naman) -robby

when they keep borrowing your stuff and when they playfully punch you constantly for no apparent reason -Blasph3my

USB Device not Recognized

•May 15, 2009 • Leave a Comment

Solution:

Remove Hidden Devices

1. Click Start. Click Run. Type cmd and press OK.
2. Type “set DEVMGR_SHOW_DETAILS=1″ (without quotation marks) and press Enter.
3. Type “set DEVMGR_SHOW_NONPRESENT_DEVICES=1″ (without quotation marks) and Press Enter.
4. Type “start devmgmt.msc” (without quotation marks) and click press Enter.
5. Click View. Click Show hidden devices.
6. Click “+” to expand Imaging devices, Unknown devices and USB devices.
7. Are there any USB devices and unknown devices (including grayed out devices)? If so, please right click it and click Uninstall.

Initiate recognition of the USB device by using Device Manager

To initiate recognition of the USB device by using Device Manager, follow these steps:

  1. Click Start, click Run, type Devmgmt.msc, and then click OK. The Device Manager window opens.
  2. Click to select your computer as the location for the scan.
  3. On the Action menu, click Scan for hardware changes.
    Windows XP recognizes the new device.
  4. Close the Device Manager window.

====================================================

Your Problem:
If you get “Usb device not recognized” in Windows and the above solution doesn’t work for you, there might be other causes:

USB device worked before but suddenly stopped working:

I.Remove all oem*.inf files=
1. Click start and click run then under the run line type in the command “cmd” (without the quotation marks)
2. In the command line, type in the following (without the quotes) and press enter after each command:
“cd \windows\inf”
“ren infcache.1 *.old”
“ren oem*.inf *.old”
“del C:\windows\setupapi.log”

II. Removing all entries under HKEY_LOCAL_MACHINE/Enum/USB that start with VID ==
Removing the VID entries from the registry will cause them to be redetected at restart.
CAUTION: If you have a USB keyboard or mouse, do not remove the VID entry for these devices, otherwise, Windows may not restart correctly.
1. Click Start and click Run. Type regedit and click OK. The Registry Editor window will open.
2. Go to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Enum\USB.
3. Highlight and delete all the VID_…. entries.
Permissions may be set allowing the deletion of the VID_ entries by following the steps below:
a)Right-click the key to be deleted, and then click Permissions. The VID_… Permissions window will open.
b)With Everyone highlighted in the Group or User name section, select Full Control in the Permissions section.
c)Click Apply, and then click OK.
4. Turn off the computer.

III. Reconnect the USB device to the computer system: ==
1. With the computer system turned off, reconnect the USB hub to the the USB port.
2.Restart the computer.
3.A New Hardware Detected window should open and reload the drivers.

USB device never worked before / it works but die in midway when doing something or you may get “usb device has malfunctioned”:

The following solution might be applicable:
1) Try using a shorter USB cable.
2) Try plug in the device to the back of your computer instead of the front USB port (this is because some computers don’t have enough power in the front USB ports)

3) Some USB 2.0 device are not backward compatible with USB 1.1 ports. Try plugging in with USB 1.1 and 2.0 port to see that’s the cause of the problem.

4) Try downgrade all your USB port from 2.0 down to 1.1, you can do that in your BIOS.

5) if all failed, try the USB device on a different computer. Then you can determine if the USB device or the USB port is the culprit of the problem

Recover Files from a Hard Drive Crash

•May 15, 2009 • Leave a Comment

#Buy a cheap usb hard disk

#Build a copy of the drive (disk image) on that with a cd bootable linux distro like http://www.sysresccd.org/ . You can build the image with dd_rhelp , http://www.kalysto.org/utilities/dd_rhelp/index.en.html

#After building the image copy that to a new hard disk with simple dd if=imagefile.img of=new_harddisk_device (usually hda or sda) .

#You have to rebuild the partition table with gpart or testdisk (www.cgsecurity.org/wiki/TestDisk) .

#You must recovery the boot sector to boot the system. Start the Windows recovery console from a windows installation cd. Use the fixmbr command to recover the boot sector. Also run chkdsk . I’ve also used BartPE (www.nu2.nu/pebuilder/) to run these commands. I’ve been able to recover over 97% of data on 6 hard disks with these methods.

#You can also directly “mount” the disk image which you have built with dd_rhelp / dd_rescue in linux using the loop back device. After that you have a choice of copying the files to the usb drive in other directories.

Links:
http://www.ubuntugeek.com/recover-data-from-a-damaged-hard-disk-using-dd_rhelp.html

http://www.oreillynet.com/sysadmin/blog/2004/07/save_your_data_from_the_click.html

http://en.wikipedia.org/wiki/SpinRite

==============================================

Mounting disk images in Linux (howto):
http://edseek.com/~jasonb/articles/linux_loopback.html

==============================================

SpinRite 6.0 for Windows XP (NTFS),
FAT, Linux, Novell, and ALL OTHER file systems!

Takes anywhere from 12 to 22 hours

Link: http://www.grc.com/spinrite.htm

Karachi’s Shawarma

•May 14, 2009 • Leave a Comment

House:

Karachi

Address:

Cuisine/Food:

Shawarma

<Insert Review Here>

Michelle:

Glaize:

Thessa:

Rating:

Food -

Service -

Venue -

Chapter IV: Moonlight Sonata

•May 12, 2009 • Leave a Comment

Plot:

Wolf Fanghorn disguised as the Musical Prodigy “Gustave”

Unexpected Gustave’s young dungeon Prisoner:  Freyja (Young Girl)

Start of Quest: Search for the Stolen Mjolnir