master
Miloslav Ciz 9 months ago
parent 1f3a34e404
commit 51e5d080ae

@ -7,7 +7,7 @@ The concept of infinity came to firstly be explored by philosophers -- as an abs
The term *infinity* has two slightly distinct meanings:
- **potential infinity**: The unboundedness, lack of upper limit. For example the sequence of odd numbers 1, 3, 5, ... is potentially infinite. This is the less problematic kind of infinity as we know what's going on: we simply lack any limit and can keep going on forever.
- **actual infinity**: Infinity as an actual "object" (for example a number) that's somehow "endlessly large", larger beyond any limits, largest possible etc. This type of infinity poses more issues as we don't know anything like this from [real life](irl.md), we lack experience and intuition about it, we don't know how such an object should behave and we encounter [paradoxes](paradox.md). For example if we have the largest object possible, what happens if we put two of such objects together, will we get yet larger object or not? How about two infinities minus one infinity -- is that an infinity or zero? What if we shrink infinity to half, what size will it have?
- **actual infinity**: Infinity as an actual "object" (for example a number) that's somehow "endlessly large", larger beyond any limits, largest possible etc. This type of infinity poses more issues as we don't know anything like this from [real life](irl.md), we lack experience and intuition about it, we don't know how such an object should behave and we encounter [paradoxes](paradox.md). Stuff can get pretty weird and things we take for granted stop working, such as being able to just randomly pick elements from sets (see [axiom of choice](axiom_of_choice.md)). For example if we have the largest object possible, what happens if we put two of such objects together, will we get yet larger object or not? How about two infinities minus one infinity -- is that an infinity or zero? What if we shrink infinity to half, what size will it have?
It could be argued that potential infinity is really the reason for the existence of true, high level mathematics as we know it, as that is concerned with constructing mathematical [proofs](proof.md) -- such proofs are needed anywhere where there exist infinitely many possibilities, as if there was only a finite number of possibilities, we could simply enumerate and check them all without much thinking (e.g. with the help of a [computer](computer.md)). For example to confirm [Fermat's Last Theorem](fermats_last_theorem) ("for whole numbers and *n > 2* the equation *a^n + b^n = c^n* doesn't have a solution") we need a logical proof because there are infinitely many numbers; if there were only finitely many numbers, we could simply check them all and see if the theorem holds. So infinity, in a sense, is really what forces mathematicians to think.
@ -17,4 +17,6 @@ An important term related to the term *infinite* is **[infinitesimal](infinitesi
When treated as [cardinality](cardinality.md) (i.e. size of a [set](set.md)), we conclude that **there are many infinities, some larger than others**, for example there are infinitely many [rational numbers](rational_number.md) and infinitely many [real numbers](real_number.md), but in a sense there are more real numbers than rational ones -- this is very counter intuitive, but nevertheless was proven by [Georg Cantor](cantor.md) in 1874. He showed that it is possible to create a 1 to 1 pairing of natural numbers and rational numbers and so that these sets are of the same size -- he called this kind of infinity **[countable](countable.md)** -- then he showed it is not possible to make such pairing with real numbers and so that there are more real numbers than rational ones -- he called this kind of infinity **[uncountable](uncountable.md)**. Furthermore this hierarchy of "larger and larger infinities" goes on forever, as for any set we can always create a set with larger cardinality e.g. by taking its [power set](power_set.md) (a set of all subsets).
**In regards to [programming](programming.md)**: programmers are often just engineers and so simplify the subject of infinity in a way which to a mathematician would seem unacceptable. For example it is often a [good enough](good_enough.md) approximation of infinity to just use an extremely large number value, e.g. the largest one storable in given data type, which of course has its limitations, but in practice [just werks](just_werkd.md) (just watch out for [overflows](overflow.md)). Programmers also often resort to breaking the mathematical rules, e.g. they may accept that *x / 0 = infinity*, *infinity + infinity = infinity* etc. Systems based on [symbolic computation](symbolic_computation.md) may be able to handle infinity with exact mathematical precision. Advanced data types, such as [floating point](float.md), often have a special value for infinity -- IEEE 754 floating point, for example, is capable of representing positive and negative infinity.
**In regards to [programming](programming.md)**: programmers are often just engineers and so simplify the subject of infinity in a way which to a mathematician would seem unacceptable. For example it is often a [good enough](good_enough.md) approximation of infinity to just use an extremely large number value, e.g. the largest one storable in given data type, which of course has its limitations, but in practice [just werks](just_werkd.md) (just watch out for [overflows](overflow.md)). Programmers also often resort to breaking the mathematical rules, e.g. they may accept that *x / 0 = infinity*, *infinity + infinity = infinity* etc. Systems based on [symbolic computation](symbolic_computation.md) may be able to handle infinity with exact mathematical precision. Advanced data types, such as [floating point](float.md), often have a special value for infinity -- IEEE 754 floating point, for example, is capable of representing positive and negative infinity.
WATCH OUT: **infinite universe doesn't imply existence of everything** -- this is a common fallacy to think it does. For example people tend to think that since the decimal expansion of the digits of [pi](pi.md) is infinite and basically "random", there should always exist any finite string of digits somewhere in it; this doesn't follow from the mere fact that the series is infinite (though the conclusion MAY or may not be true, we don't actually know this about pi yet). Imagine for example the infinite series of even numbers -- there are infinitely many numbers in it, but you will never find any odd number there.

@ -44,6 +44,7 @@ There are many terms that are very similar and can many times be used interchang
- **[demo](demo.md)** vs **[intro](intro.md)**
- **[desktop environment](de.md)** vs **[window manager](wm.md)**
- **[duck typing](duck_typing.md)** vs **[weak typing](weak_typing.md)** vs **[dynamic typing](dynamic_typing.md)**
- **[digit](digit.md)** vs **[number](number.md)** vs **[value](value.md)**
- **[digital](digital.md)** vs **[electronic](electronics.md)**
- **[directed acyclic graph](dag.md)** vs **[tree](tree.md)**
- **[directory](directory.md)** vs **[folder](folder.md)**

@ -0,0 +1,5 @@
# PhD
TODO
**Should you get a PhD?** TODO

@ -21,7 +21,7 @@ Here is a quick rough comparison of seydevs and actual good programmers (nowaday
| math skills | deep knowledge of math | "I don't need it", "there's library for that", memorized math interview questions |
| computer knowledge| all-level, big-picture knowledge of principles | knowledge of trivia ("This checkbox in this framework has to be unchecked.", ...) |
| specialization | generalist | hyperspecialized, knows one language/framework |
| prog. languages | C, assembly, FORTRAN, Forth, comun, lisp, ... | Python, JavaScript, Java, C#, C++2045, ... |
| prog. languages | C, assembly, FORTRAN, Forth, comun, lisp, ... | Python, JavaScript, Rust, Java, C#, C++2045, ... |
| mostly does | thiking about algorithms and data structures | typing glue code for different libraries, updates/maintains systems, talks to people |
| political opinions| politically incorrect hippie anarcho pacifist | liberal capitalist feminist pro black lesbian LGBT fascist anti Nazi |
| hardware | 640x480 1990s laptop, no mouse | 2023 touchscreen 1080K macbook with stickers all over, wireless $1000 AI gaming mouse |

Loading…
Cancel
Save