Friday, June 28, 2013

Positive Thinking



What Is Positive Thinking?

"Most folks are about as happy as they make up their minds to be." - Abraham Lincoln
So what exactly is positive thinking? You might be tempted to assume that it implies seeing the world through rose-colored lenses by ignoring or glossing over the negative aspects of life. However, positive thinking actually means approaching life's challenges with a positive outlook. It does not necessarily mean avoiding or ignoring the bad things; instead, it involves making the most of potentially bad situations, trying to see the best in other people, and viewing yourself and your abilities in a positive light.
Some researchers, including positive psychologist Martin Seligman, often frame positive thinking in terms of explanatory style. Your explanatory style is how you explain why events happened. People with an optimistic explanatory style tend to give themselves credit when good things happen, but typically blame outside forces for bad outcomes. They also tend to see negative events as temporary and atypical.
On the other hand, individuals with a pessimistic explanatory style often blame themselves when bad things happen, but fail to give themselves adequate credit for successful outcomes. They also have a tendency to view negative events as expected and lasting. As you can imagine, blaming yourself for events outside of your control or viewing these unfortunate events as a persistent part of your life can have a detrimental impact on your state of mind.
Positive thinkers are more apt to use an optimistic explanatory style, but the way in which people attribute events can also vary depending upon the exact situation. For example, a person who is generally a positive thinker might use a more pessimistic explanatory style in particularly challenging situations, such as at work or at school.
The Health Benefits of Positive Thinking

In recent years, the so-called "power of positive thinking" has gained a great deal of attention thanks to self-help books such as The Secret. While these pop-psychology books often tout positive thinking as a sort of psychological panacea, empirical research has found that there are many very real health benefits linked to positive thinking and optimistic attitudes.
According to the Mayo Clinic, positive thinking is linked to a wide range of health benefits including:
Longer life span
Less stress
Lower rates of depression
Increased resistance to the common cold
Better stress management and coping skills
Lower risk of cardiovascular disease-related death
Increased physical well-being
Better psychological health
One study of 1,558 older adults found that positive thinking could also reduce frailty during old age.
Clearly, there are many benefits of positive thinking, but why exactly does positive thinking have such a strong impact on physical and mental health. One theory is that people who think positively tend to be less affected by stress. Another possibility is that people who think positively tend to live healthier lives in general; they may exercise more, follow a more nutritious diet and avoid unhealthy behaviors.
Positive Thinking Versus Positive Psychology

While the terms positive thinking and positive psychology are sometimes used interchangeably, it is important to understand that they are not the same thing. First, positive thinking is about looking at things from a positive point of view. Positive psychology certainly tends to focus on optimism, but it also notes that while there are many benefits to thinking positively, there are actually times when more realistic thinking is more advantageous.
For example, in some situations negative thinking can actually lead to more accurate decisions and outcomes (Alloy, Abramson, & Chiara, 2000). Researchers Peterson & Vaidya also found that in some cases, optimistic thinking can lead to underestimating the actual risks involved in a particular decision (2003).
Positive Thinking Tips

Even if you are not a natural-born optimist, there are things you can do to learn how to think positive. One of the first steps is to focus on your own inner monologue and to pay attention to your self-talk. Click the following links to learn more about how to become a positive thinkerand to share your own positive thinking tips.

Computer virus


What is Computer Virus?

A computer virus is an executable program. Depend on the nature of a virus, it may cause damage of your hard disk contents, and/or interfere normal operation of your computer.By definition, a virus program is able to replicate itself. This means that the virus multiplies on a computer by making copies of itself. This replication is intentional; it is part of the virus program. In most cases, if a file that contains virus is executed or copied onto another computer, then that computer will also be "infected" by the same virus.
A virus can be introduced to a computer system along with any software program. For Internet users, this threat can come from downloading files through FTP (file transfer protocol), or referencing email attachments. (Please refer to our web page on Handling Email's File Attachments for details.)
When a virus is introduced to a computer system, it can attach itself to, or sometimes even replace, an existing program. Thus, when the user runs the program in question, the virus is also executed. This usually happens without the user being aware of it.
A virus program contains instructions to initiate some sort of "event" that affects the infected computer. Each virus has an unique event associated with it. These events and their effects can range from harmless to devastating. For examples:
  • An annoying message appearing on the computer screen.
  • Reduced memory or disk space.
  • Modification of data.
  • Files overwritten or damaged.
  • Hard drive erased.

Motherboard Description


Motherboard Description:

The motherboard is mounted inside the case, opposite the most easily accessible side. It is securely attached via small screws through pre-drilled holes.

The front of the motherboard contains ports that all of the internal components connect to. A single socket/slot houses the CPU. Multiple slots allow for one or more memory modules to be attached. Other ports reside on the motherboard which allow the floppy drive, hard drive and optical drive to connect via ribbon cables. Small wires from the front of the computer case connect to the motherboard to allow the power, reset and LED lights to function. Power from the power supply is delivered to the motherboard by use of a specially designed port.

Also on the front of the motherboard are a number of peripheral card slots. These slots are where most video cards, sound cards and other expansion cards are connected to the motherboard.

On the left side of the motherboard (the side that faces the back end of the case) are a number of ports. These ports allow most of the computer's external peripherals to connect such as the monitor, printer, keyboard, mouse, speakers, phone line, network cable and more. Most motherboards also include USB and FireWire ports here that allow compatible devices to connect to your computer when you need them - devices like digital still and video cameras.

The motherboard and case are designed so that when peripheral cards are used, the sides of the cards fit just outside the back end, making their ports available for use.

TCP/IP introduction


TCP/IP Introduction


TCP/IP is the communication protocol for the Internet.

Computer Communication Protocol

A computer communication protocol is a description of the rules computers must follow to communicate with each other.

What is TCP/IP?

TCP/IP is the communication protocol for communication between computers on the Internet.
TCP/IP stands for Transmission Control Protocol / Internet Protocol.
TCP/IP defines how electronic devices (like computers) should be connected to the Internet, and how data should be transmitted between them.

Inside TCP/IP

Inside the TCP/IP standard there are several protocols for handling data communication:
  • TCP (Transmission Control Protocol) communication between applications
  • UDP (User Datagram Protocol) simple communication between applications
  • IP (Internet Protocol) communication between computers
  • ICMP (Internet Control Message Protocol) for errors and statistics
  • DHCP (Dynamic Host Configuration Protocol) for dynamic addressing

TCP Uses a Fixed Connection

TCP is for communication between applications.
If one application wants to communicate with another via TCP, it sends a communication request. This request must be sent to an exact address. After a "handshake" between the two applications, TCP will set up a "full-duplex" communication between the two applications.
The "full-duplex" communication will occupy the communication line between the two computers until it is closed by one of the two applications.
UDP is very similar to TCP, but simpler and less reliable.

IP is Connection-Less

IP is for communication between computers.
IP is a "connection-less" communication protocol.
IP does not occupy the communication line between two computers. IP reduces the need for network lines. Each line can be used for communication between many different computers at the same time.
With IP, messages (or other data) are broken up into small independent "packets" and sent between computers via the Internet.
IP is responsible for "routing" each packet to the correct destination.

IP Routers

When an IP packet is sent from a computer, it arrives at an IP router.
The IP router is responsible for "routing" the packet to the correct destination, directly or via another router.
The path the packet will follow might be different from other packets of the same communication. The router is responsible for the right addressing, depending on traffic volume, errors in the network, or other parameters.

Connection-Less Analogy

Communicating via IP is like sending a long letter as a large number of small postcards, each finding its own (often different) way to the receiver.

TCP/IP

TCP/IP is TCP and IP working together.
TCP takes care of the communication between your application software (i.e. your browser) and your network software.
IP takes care of the communication with other computers.
TCP is responsible for breaking data down into IP packets before they are sent, and for assembling the packets when they arrive.
IP is responsible for sending the packets to the correct destination.

An Operating System


What is an Operating System?

The operating system is the most important program that runs on a computer. Every general-purpose computer must have an operating system to run other programs. Operating systems perform basic tasks, such as recognizing input from the keyboard, sending output to the display screen, keeping track of files and directories on the disk, and controlling peripheral devices such as disk drives and printers.
For large systems, the operating system has even greater responsibilities and powers. It is like a traffic cop -- it makes sure that different programs and users running at the same time do not interfere with each other. The operating system is also responsible for security, ensuring that unauthorized users do not access the system.

Operating systems can be classified as follows:

  • Multi-user: Allows two or more users to run programs at the same time. Some operating systems permit hundreds or even thousands of concurrent users.
  • Multiprocessing : Supports running a program on more than one CPU.
  • Multitasking : Allows more than one program to run concurrently.
  • Multithreading Allows different parts of a single program to run concurrently.
  • Real time: Responds to input instantly. General-purpose operating systems, such as DOS and UNIX, are not real-time.
  • Operating systems provide a software platform on top of which other programs, called application programs, can run. The application programs must be written to run on top of a particular operating system. Your choice of operating system, therefore, determines to a great extent the applications you can run. For PCs, the most popular operating systems are DOS, OS/2, and Windows, but others are available, such as Linux.
    As a user, you normally interact with the operating system through a set of commands. For example, the DOS operating system contains commands such as COPY and RENAME for copying files and changing the names of files, respectively. The commands are accepted and executed by a part of the operating system called the command processor or command line interpreter. Graphical user interfaces allow you to enter commands by pointing and clicking at objects that appear on the screen.

    CSS introduction


    CSS Introduction



    What You Should Already Know

    Before you continue you should have a basic understanding of the following:
    • HTML / X HTML
    If you want to study these subjects first, find the tutorials on our Home Page.

    What is CSS?

    • CSS stands for Cascading Style Sheets
    • Styles define how to display HTML elements
    • Styles were added to HTML 4.0 to solve a problem
    • External Style Sheets can save a lot of work
    • External Style Sheets are stored in CSS files

    CSS Demo

    An HTML document can be displayed with different styles: See how it works

    Styles Solved a Big Problem

    HTML was never intended to contain tags for formatting a document.
    HTML was intended to define the content of a document, like:
    <h1>This is a heading</h1>
    <p>This is a paragraph.</p>
    When tags like <font>, and color attributes were added to the HTML 3.2 specification, it started a nightmare for web developers. Development of large web sites, where fonts and color information were added to every single page, became a long and expensive process.
    To solve this problem, the World Wide Web Consortium (W3C) created CSS.
    In HTML 4.0, all formatting could be removed from the HTML document, and stored in a separate CSS file.
    All browsers support CSS today.

    CSS Saves a Lot of Work!

    CSS defines HOW HTML elements are to be displayed.
    Styles are normally saved in external .css files. External style sheets enable you to change the appearance and layout of all the pages in a Web site, just by editing one single file!

    Dreamweaver



    What is Dreamweaver?


    The common (miss)conception with Dreamweaver is that Dreamweaver is designed to or is even capable of completely removing the agency of HTML and CSS coding from web design. This is like saying that a nail-gun can completely replace a hammer. A nail-gun will nail the boards together, but it is an imprecise tool, and there is a certain amount of danger while using it. If you can’t occasionally fall back on the hammer for more detail-oriented work, then there’s a definite limit to what you can build. A skilled carpenter knows how to use the hammer and occasionally does so when the nail-gun just isn’t doing what is intended.
    Dreamweaver, like the nail-gun, is designed to make your life easier. You may never learn HTML or CSS, but without knowing them, you are limited to Dreamweaver’s way of doing things. This is not altogether a bad thing: it is simply a slightly narrow perspective on a large field.
    Extolling the Virtues
    Writing Content
    HTML can be cumbersome. Dreamweaver writes (for the most part) good, valid HTML using an easy point-and-click interface.
    Managing Files
    Unless you are using a scripting language like PHP, managing a large site with many pages and files can quickly become a mess. Dreamweaver has built-in dependency tracking that will automatically manage your files and will update your pages accordingly. Many people use Dreamweaver just for its built-in synchronization tool.
    Preliminary Page Layout
    Dreamweaver has good tools to assist you in laying out your site. There are also a lot of “pre-fab” layouts and templates available as starting points in Dreamweaver CS3.
    Dreamweaver’s layout features are, however, somewhat limiting. Some designs are simply impossible to achieve using the buit-in layout tools. In these cases, you can go in and manually edit the HTML and CSS that Dreamweaver produces to tweak to exactly what you need.
    What Isn’t Dreamweaver?
    Dreamweaver is not designed to completely remove the agency of HTML and CSS: it is meant to assist you with your HTML and CSS and to make some of the more mundane aspects of Web Publishing less terrible.
    That said, however, it is definitely possible to get a very decent-looking Web site up quickly and easily using Dreamweaver without ever learning a bit of HTML or CSS. Barring knowledge of HTML and CSS, however, you will be limited in your ability to make your site very customized or very easy to maintain.