From 62ac6cc0acc732c9c044883389208a3791adee1d Mon Sep 17 00:00:00 2001 From: Miloslav Ciz Date: Mon, 14 Aug 2023 21:02:33 +0200 Subject: [PATCH] Update --- atheism.md | 2 +- color.md | 4 +++- creative_commons.md | 2 +- library.md | 10 +++++++--- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/atheism.md b/atheism.md index 4070f42..d4d9dfc 100644 --- a/atheism.md +++ b/atheism.md @@ -2,7 +2,7 @@ *"In this moment I am euphoric ..."* --some retarded atheist -An atheist is someone who doesn't believe in god or any other similar supernatural beings. +An atheist is someone who doesn't believe in [god](god.md) or any other similar supernatural beings. An especially annoying kind is the **[reddit](reddit.md) atheist** who will DESTROY YOU WITH FACTS AND LOGIC^(TM). These atheists are 14 year old children who think they've discovered the secret of the universe and have to let the whole world know they're atheists who will destroy you with their 200 [IQ](iq.md) [logic](logic.md) and knowledge of all 10 [cognitive biases](cognitive_bias.md) and argument fallacies, while in fact they reside at the [mount stupid](mount_stupid.md) and many times involuntarily appear on other subreddits such as r/iamverysmart and r/cringe. They masturbate to [Richard Dawkins](richard_dawkins.md), love to read [soyentific](soyence.md) studiiiiiies about how race has no biological meaning and think that religion is literally [Hitler](hitler.md). They like to pick easy targets such as [flatearthers](flat_earth.md) and cyberbully them on [YouTube](youtube.md) with the power of SCIENCE and their enormously large thesaurus (they will never use a word that's among the 100000 most common English words). They are so [cringe](cringe.md) you want to [kill yourself](kys.md), but their discussions are sometimes entertaining to read with a bowl of popcorn. diff --git a/color.md b/color.md index 0a0b9d0..abc956b 100644 --- a/color.md +++ b/color.md @@ -1,6 +1,8 @@ # Color -Color (also *colour*) is the perceived visual attribute of light that's associated with its [wavelength](wavelength.md); for example [red](red.md), [blue](blue.md) and [yellow](yellow.md) are colors. There is a hugely deep *color theory* concerned with the concept of a color. +Color (also *colour*) is the perceived visual quality of light that's associated with its [wavelength](wavelength.md) (or mixture of several wavelengths); for example [red](red.md), [blue](blue.md) and [yellow](yellow.md) are colors. [Electromagnetic](electromagnetism.md) waves with wavelength from about 380 to 750 nm (about 400 to 790 THz) form the **visible spectrum**, i.e. waves our eyes can see -- combining such waves with different intensities and letting them fall on the retina of our eyes gives rise to the perception of color in our brain. There is a hugely deep *color theory* concerned with the concept of color (its definition, description, reproduction, psychological effect etc.). Needless to say colors are extremely important in anything related to visual [information](information.md) such as [art](art.md), [computer graphics](graphics.md), astrophysics, various visualizations or just everyday perception of our world. Color support is sometimes used as the opposite of systems that are extremely limited in the number of colors they can handle, which may be called [monochromatic](monochrome.md), 1bit (distinguishing only two colors), black&white or [grayscale](grayscale.md). + +**How many colors are there?** The number of colors humans can distinguish is of course individual (color blindness makes people see fewer colors but there are also conditions that make one see more colors) but various sources state we are able to distinguish millions or even over 10 million different colors on average. In computer technology we talk about **color depth** which says the number of [bits](bit.md) we use to represent color -- the more bits, the more colors we can represent. 24 bits are nowadays mostly used to record color (8 bits for each red, green and blue component, so called *true color*), which allows for 16777216 distinct colors, though even something like [16 bits](rgb565.md) (65536 colors) is mostly enough for many use cases. Some advanced systems however support many more colors than true color, especially extremely bright and dim ones -- see [HDR](hdr.md). TODO diff --git a/creative_commons.md b/creative_commons.md index 5cbc959..7db2e74 100644 --- a/creative_commons.md +++ b/creative_commons.md @@ -1,6 +1,6 @@ # Creative Commons -Creative Commons (CC) is the forefront non-profit organization promoting [free culture](free_culture.md), i.e. basically relaxation of ["intellectual property"](intellectual_property.md) (such as [copyright](copyright.md)) in [art](art.md). One of the most important contributions of the organization are the widely used Creative Commons [licenses](license.md) which artists may use to make their works more legally free and even put them to the [public domain](public_domain.md). +Creative Commons (CC) is the forefront [non-profit](non_profit.md) organization promoting [free culture](free_culture.md), i.e. basically relaxation of ["intellectual property"](intellectual_property.md) (such as [copyright](copyright.md)) in [art](art.md). One of the most important contributions of the organization are the widely used Creative Commons [licenses](license.md) which artists may use to make their works more legally free and even put them to the [public domain](public_domain.md). TODO diff --git a/library.md b/library.md index 3998145..f833081 100644 --- a/library.md +++ b/library.md @@ -1,10 +1,12 @@ # Library -Software library is code that's not meant to run on its own but rather be used by other programs. A library provides resources such as [functions](function.md), [macros](macro.md), [classes](class.md) or [constants](constant.md) that are normally related to solving some specific class of problems, so e.g. there are [GUI](gui.md) libraries, [audio](audio.md) libraries, [mathematical](math.md) libraries etc. Libraries exist to prevent [reinventing wheels](reinventing_wheel.md) by only ever implementing the code once so that next time we can simply reuse it (respecting the [DRY](dry.md) principle). Examples of libraries are the [standard C library](clib.md), [SDL](sdl.md) or [JQuery](jquery.md). +[Software](software.md) library is program code that's not meant to run on its own but rather to be used by other programs, i.e. it is a helpful collection of preprogrammed code that's meant to be [reused](reusability.md). A library provides resources such as [functions](function.md), [macros](macro.md), [classes](class.md) or [constants](constant.md) that are normally related to solving some specific class of problems, so e.g. there are [GUI](gui.md) libraries, [audio](audio.md) libraries, [mathematical](math.md) libraries etc. Libraries exist mostly to prevent [reinventing wheels](reinventing_wheel.md) by only ever implementing the code once so that next time we can simply reuse it (respecting the [DRY](dry.md) principle), but they also e.g. help assure others are using an already well tested code, they help to implement [modularity](modularity.md) etc. Examples of libraries are the [standard C library](clib.md), [SDL](sdl.md) or [JQuery](jquery.md). Libraries are not to be confused with [frameworks](framework.md) which are larger, more [bloated](bloat.md) environments. -If a programmer wants to use a specific library, he has to first [install](install.md) it (if it's not installed already) and then *include* it in his program with a specific command (words like `include`, `using` or `import` are commonly used). Then he is able to use the resources the library exports. Depending on the type of the library he may also need to [link](linking.md) the library code after [compilation](compiler.md) and possibly distribute the library files along with his program. +**Standard library** (stdlib) is a term that stands for the set of libraries that officially come with given [programming language](programming_language.md) -- these libraries usually offer very basic functionality (such as [I/O](io.md) and basic [math](math.md)) and are required to always be present on every system. -You will often hear a library as a certain [API](api.md) -- this is the interface of the library consisting of the elements via which programmer uses the library, mostly the [functions](function.md) the library offers. If a programmer wants to know the library API, he wants to know the names of the functions, what [parameters](parameter.md) they take etc. Sometimes there may be multiple libraries with the same API but different internal implementations, this is nice because these libraries can be easily [drop-in-replaced](drop_in.md). +If a programmer wants to use a specific library, he usually has to first somehow [install](install.md) it (if it's not installed already, usually a library is some kind of software [package](package.md)) and then *include* it in his program with a specific command (words like `include`, `using` or `import` are commonly used). Then he is able to use the resources of the library. Depending on the type of the library he may also need to [link](linking.md) the library code after [compilation](compiler.md) and possibly distribute the library files along with his program. + +You will often hear that a library has certain [API](api.md) -- this is the interface of the library consisting of the elements via which programmer uses the library, mostly the [functions](function.md) the library offers. API is what the programmer interacts with; the rest is library internals (its [implementation](implementation.md)) that's usually supposed to not be touched and stay a bit hidden (see [encapsulation](encapsulation.md)). If a programmer wants to know the library API, he wants to know the names of the functions, what [parameters](parameter.md) they take etc. Sometimes there may be multiple libraries with the same API but different internal implementations, this is nice because these libraries can be easily [drop-in-replaced](drop_in.md). In a specific [programming language](programming_language.md) it IS generally possible to use a library written in a different language, though it may be more difficult to achieve. @@ -17,6 +19,8 @@ Many times a library can have both static and dynamic version available, or the ## C Libraries +TODO: example + ## LRS Libraries TODO \ No newline at end of file