[meta:edit-log]: # "2020/10/29"
[meta:title]: # "A completely incomplete guide to computer basics - PART1 Intro: the computer"
[meta:keywords]: # "code, guide, computer"
[meta:description]: # "The first step to solve a problem is to understand what the problem actually is, which is really hard. But nevertheless, let's start by setting up some clear definitions, and try not to mix them up along the way."


The basics of computer are really simple,
  once you understand what a computer is, and what a computer does.
But this actually makes the problem seems harder:
  "So what is a computer?"
  
The rabbit hole actually goes pretty deep,
  so there's a list of definitions on the front:
- Intro: the computer (this one)
- [Hardware: process unit](./20201210-a-completely-incomplete-guide-to-computer-basics-part2-hardware-process-unit.html)
- [TODO] Hardware: memory & disk
- [TODO] Software: code as text
- [TODO] Software: running code
- [TODO] Software: file system
- [TODO] Mixed: device & driver
- [TODO] Software: network
- [TODO] Software: operating system
- [TODO] Mixed: server & virtual machine
- [TODO] Software: be the coder


## The definition of a computer

Is it a calculator, a phone, or a computer,
  and how useful do a computer needs to be?

In 2020, we see and use computers every day,
  but without realizing some devices are small computers in disguise.
One example is the [SIM card][l:p1-sim-chip],
  a tiny computer operating inside your phone, a much bigger computer.
It computes, it saves, and it loads, so it's a computer.
By this standard, many modern electric calculator are also computers,
  but are all calculator computers, head scratch,
  probably not by today's standards.

[![Photo of SIM chip][i:p1-sim-chip]][l:p1-sim-chip]

Today, in 2020, the standard to qualify as a computer is still quite low, you just need to have:
- a process unit, to compute and calculate, of course!
- some memory, to fast serve and hold hot data went to the process unit
- an optional storage, to hold data for a long time, like hard drives,
    but some system works fully online and keeps nothing
- an optional display, a common output device to watch movie and play game,
    if you just want it to do work, then sometimes it's not required
- some optional input device, like the keyboard & mouse combo, or a trackpad
- an optional battery, wait, that's for phones and laptops, scratch that

So a small SIM card is definitely a computer,
  but no one will call the much bigger modern CPU chips a computer,
  nor the early big [bipolar transistors](https://wikipedia.org/wiki/Transistor#Bipolar_transistors),
  computer is like animals, it's not about size, but about living.

How does a computer live its life?
  Often by consuming a lot of electricity, and producing a lot of heat.
And will a computer die?
  Of course, some broken wire on the board, or a busted fuse will often kill a computer,
  and same data corruption will also kill it, mentally.  

But seriously, as smart as modern computer may seem to be,
  it's technically very consistent, or non-random.
All it does is respond to input with some sort of output,
  albeit very quickly.
Without outer input from user typing, the network packet,
  or the hardware random number generator collecting thermal noises,
  a correctly working computer should produce same output for same input,
  always, unlike asking a question twice to a human.

So to wrap up simply, on the outside a computer is made of chips,
  and the inside a bunch of bytes.
That's what we call "hardware" and "software",
  we should start define some "hardware" in the following part.


[l:p1-sim-chip]: https://wikipedia.org/wiki/SIM_card
[i:p1-sim-chip]: data:image/webp;base64,UklGRoASAABXRUJQVlA4IHQSAADQcACdASoAAQABPpFAm0klpqkkKrLbISASCWNq6ciTArW/GYGuCzVWLX8lW73+GYY7+oM5ey76i/7fvPOeA87Lf1N2xx4+2s5ud+X24zlcK/3ATJgmN0mbtd6mRwvtUfYzoC+UJGZnU6TmwN3tQuwevSPtdSQSISXN/gTxWe68gOQD4VjELx1I4wlnjE7C2YDi1tqRQz/rALMkgjY8PV2TjYgSwpkbEXxE8/ydQjeCZuMKROoAvCQ1aN2a60sxlkF3BsDZzi1JVIsu7AU5SxbVUKXgSW9CtNtSDfLxX7ixVaSVbrjM5Sfefu7RLwxYJQ0xRstQ1BGvwL5S0u0c3YPOgIIiA7n/MYJzQoKvpLPpfXUqdvk8iyRMyPIqdArdHdM90Hp7/s/R9ZJEGIJf/8bKj3CQXI7EIxqoHcOLZjaXYWsbd3xATKMSXHm6yo4xzh6zS92j9PoO+oBF+l3aJ81hl85uA9s+6QHqB+mtkoqsBVKPX4lCLpUSahPrNHqzvjc5mQxdvewnnSMKjp+bxmNaGTiAgqCThu7K6N6RdvmeU7y2cr2ux1QR42vPaOZb/yxLDPiedWyLMLXCXfwRybxiH8kmw9m2DwfzfB9NTdx703E0SMf6Ij0dwIfNfcskb5ruNzwbl8A8FJHZm/e47DIOa/QvcZchNBpWNss2byQd3SFs6bILtfJ7KTt1lLbXhGDq7D6VNksJHy/aO/Sr1cOnnUVODEjRRq/2gV1H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