Michele Pasin / Quotes

The only thing that a computer can store is bytes

The only thing that a computer can store is bytes.

To store anything in a computer, you must first encode it, i.e. convert it to bytes. For example:

If you want to store music, you must first encode it using MP3, WAV, etc. If you want to store a picture, you must first encode it using PNG, JPEG, etc. If you want to store text, you must first encode it using ASCII, UTF-8, etc. MP3, WAV, PNG, JPEG, ASCII and UTF-8 are examples of encodings. An encoding is a format to represent audio, images, text, etc in bytes.

In Python, a byte string is just that: a sequence of bytes. It isn't human-readable. Under the hood, everything must be converted to a byte string before it can be stored in a computer.

On the other hand, a character string, often just called a "string", is a sequence of characters. It is human-readable. A character string can't be directly stored in a computer, it has to be encoded first (converted into a byte string). There are multiple encodings through which a character string can be converted into a byte string, such as ASCII and UTF-8.

Saved 6 December 2018 / stackoverflow.com ↗

#character-strings #ASCII #computer

Unicode

Unicode was designed to deal decisively with the issues with older character codes. Unicode assigns integers, known as code points, to characters. It has room…

Ned Batchelder: Pragmatic Unicode #ASCII #goal

Why properties are named with URIrefs

RDF uses URIrefs as predicates in RDF statements. That is, rather than using character strings (or words) such as "creator" or "name" to identify properties…

Rdf Primer #strings #properties #character-strings #statements #number

Bitcoin without banks

In traditional banking the banks keep a record of how much money you have. They deal with all the security to make sure people can't claim they have more…

Man Buys $27 Of Bitcoin, Forgets About Them, Finds They're Now Worth $886k | Technology | Theguardian.com #Bitcoin #computer

Circuit designers chase steep voltage jumps

Circuit designers try to make the voltage jump as fast as possible from Logical Zero to Logical One by making the

Beyond Zero and One (Andrew Smart) #computer #engineering #bits

Collective intelligence

Intelligence is not just something that happens inside individual minds. It also arises within groups of individuals and this phenomenon can be quite…

What Is Collective Intelligence? - Assembl #collective-intelligence #intelligence #computer #Internet

Computation is in the eye of the beholder

When I add two plus two to get four, that computation is not observer relative. I am doing that regardless of what anybody thinks. But when I punch: ”2+2 =”…

Mind: A Brief Introduction (John R. Searle) #computation #objectivity #brain #computer