master
Miloslav Ciz 3 weeks ago
parent e89e11a085
commit 8eee949aae

@ -88,21 +88,21 @@ uint16_t hash(uint16_t n)
}
```
Here is a nice string hash, works even for short strings, all bits look pretty random: { Made by me. Tested this on my dataset of programming identifiers, on average there was one colliding pair of strings in 1000. ~drummyfish }
Here is a simple string hash, works even for short strings, all bits look pretty random: { Made by me. Tested this on my dataset of 70000 programming identifiers, got no collisions. ~drummyfish }
```
uint32_t strHash(const char *s)
{
uint32_t r = 21;
uint32_t r = 11;
while (*s)
{
r = (r * 31) + *s;
r = (r * 101) + *s;
s++;
}
r = r * 4451;
r = ((r << 19) | (r >> 13)) * 5059;
r = r * 251;
r = ((r << 19) | (r >> 13)) * 113;
return r;
}

@ -1,6 +1,8 @@
# Linux
Linux (also Lunix or Loonix) is a partially "[open-source](open_source.md)" [unix-like](unix_like.md) [operating system](operating_system.md) [kernel](kernel.md), probably the most successful "mostly FOSS" kernel. One of its greatest advantages is support of a lot of [hardware](hardware.md); it runs besides others on [x86](x86.md], [PowerPC](ppc.md), [Arm](arm.md), has many [drivers](driver.md) and can be compiled to be very minimal so as to run well even on very weak computers. **Linux is NOT an operating system**, only its basic part -- for a whole operating system more things need to be added, such as some kind of [user interface](ui.md) and actual user programs (so called [userland](userland.md)), and this is what [Linux distributions](linux_distro.md) do (there hundreds of these) -- Linux distributions, such as [Debian](debian.md), [Arch](arch.md) or [Ubuntu](ubuntu.md) are complete operating systems (but beware, most of them are not fully [FOSS](foss.md)). The mascot of the project is a penguin named [Tux](tux.md) (under some vague non-standard [license](license.md)). Linux is one of the biggest collaborative programming projects, as of now it has more than 15000 contributors. Despite popular misconceptions **Linux is [proprietary](proprietary.md) software** by containing binary blobs -- completely free distributions have to use forks that remove these (see e.g. [Linux-libre](linux_libre.md), [Debian](debian.md)'s Linux fork etc.). Linux is also greatly [bloated](bloat.md) (though not anywhere near [Windows](windows.md) and such) and [tranny software](tranny_software.md), abusing technology as a vehicle for promoting [harmful politics](sjw.md).
{ At this point it's best to start using a different kernel if you can. Consider BSD or Hurd maybe. ~drummyfish }
Linux (also Lunix or Loonix) is a partially "[open-source](open_source.md)" [unix-like](unix_like.md) [operating system](operating_system.md) [kernel](kernel.md), probably the most successful "mostly FOSS" kernel, nowadays already killed by [capitalism](capitalism.md). One of its greatest advantages was support of a lot of [hardware](hardware.md); it runs besides others on [x86](x86.md], [PowerPC](ppc.md), [Arm](arm.md), has many [drivers](driver.md) and can be compiled to be quite small so as to run well even on very weak computers. **Linux is NOT an operating system**, only its basic part -- for a whole operating system more things need to be added, such as some kind of [user interface](ui.md) and actual user programs (so called [userland](userland.md)), and this is what [Linux distributions](linux_distro.md) do (there hundreds of these) -- Linux distributions, such as [Debian](debian.md), [Arch](arch.md) or [Ubuntu](ubuntu.md) are complete operating systems (but beware, most of them are not fully [FOSS](foss.md)). The mascot of the project is a penguin named [Tux](tux.md) (under some vague non-standard [license](license.md)). Linux is one of the biggest collaborative programming projects, as of now it has more than 15000 contributors. Despite popular misconceptions **Linux is [proprietary](proprietary.md) software** by containing [binary blobs](binary_blob.md) -- completely free distributions have to use forks that remove these (see e.g. [Linux-libre](linux_libre.md), [Debian](debian.md)'s Linux fork etc.). Linux is also **greatly [bloated](bloat.md)** (though not anywhere near [Windows](windows.md) and such) and **[tranny software](tranny_software.md)**, abusing technology as a vehicle for promoting [harmful politics](sjw.md). While back in the day Linux was one of the coolest projects, by 2024 **Linux is absolute shit**, it has [code of censorship](coc.md), it's hijacked by capitalism, developed by corporations and fascists ([feminists](feminism.md), [LGBT](lgbt.md), ...), overcomplicated, commercialized, full of [Rust](rust.md) code; there are already even backdoor popping in (see the 2004 XZ scandal), basically it's almost unusable now. The spirit, significance, journey and eventual fate of Linux are similar to e.g. [Wikipedia](wikipedia.md).
[Fun](fun.md) note: there is a site that counts certain words in the Linux source code, https://www.vidarholen.net/contents/wordcount. For the lulz in 2019 some word counts were: "fuck": 16, "shit": 33, "idiot": 17, "retard": 4, "hack": 1571, "todo": 6166, "fixme": 4256.

@ -60,6 +60,7 @@ WORK IN PROGRESS
| [NFS](nfs.md) | nightmare file system |
| [Nintendo](nintendo.md) | Nintendont |
| [NSA](nsa.md) | national spying agency |
| null hypothesis significance test | null ritual |
| [NVidia](nvidia.md) | NoVidya |
| object oriented programming ([OOP](oop.md))| object obsessed programming |
| object oriented | objectfuscated |

@ -25,6 +25,8 @@ The open source definition is maintained by the [Open Source Initiative](osi.md)
9. **The license must not restrict other software**, i.e. it cannot for example be forbidden to run the software alongside some other piece of software.
10. **The license must be technology neutral**, i.e. it cannot for example limit the software to certain platform or API.
Besides this main legal definition open source is also a cult that comes with its own rituals and ways of thinking, again, mostly harmful ones like embracing [update culture](update_culture.md) which allows the overlords to push something to people and then keep reshaping it silently with "updates" as they're using it (see e.g. the infamous [xz](xz.md) incident in [Linux](linux.md)).
Open source furthermore greatly fails for example by not accepting [CC0](cc0.md) as a valid license and not accepting [esoteric programming languages](esolang.md) (because they're "obfuscated"). All in all, avoid open source, support [free software](free_software.md).
## See Also

File diff suppressed because it is too large Load Diff

@ -8,7 +8,7 @@ In the wider sense science may include anything that involves systematic intelle
TODO: some noice tree of sciences or smth
**There is no simple objective definition of a strict science** -- the definition of science is hugely arbitrary, political and changes with development of society, technology, culture, changes in government and so on. Science should basically stand for the most rational and objective knowledge we're able to practically obtain about something, however the specific criteria for this are unclear and have to be agreed on. The [scientific method](scientific_method.md) is evolving and there are many debates over it, with some even stating that there can be no universal method of science. The [p-value](p_value.md) used to determine whether measurements are statistically significant has basically just an arbitrarily set value for what's considered a "safe enough" result. Some say that if a research is to be trusted, it has to be [peer reviewed](peer_review.md), i.e. that what's scientific has to be approved by chosen experts -- this may be not just because people can make mistakes but also because in current highly competitive society there appears science [bloat](bloat.md), obscurity and tendencies to push fake research and purposeful deception, i.e. our politics and culture are already defining what science is. However the stricter the criteria for science, the more monopolized, centralized, controlled and censored it becomes.
**There is no simple objective definition of a strict science** -- the definition of science is hugely arbitrary, political and changes with development of society, technology, culture, changes in government and so on. Science should basically stand for the most rational and objective knowledge we're able to practically obtain about something, however the specific criteria for this are unclear and have to be agreed on -- even if we leave out malicious intents at shaping the definition of science and only consider a completely honest definition of "rational effort", what's "rational" is highly subjective -- What level of confidence is high enough to us? Which axioms to accept? Which methods do we believe to be reliable enough? To believe a mathematical proof is correct, is it enough if 5 experts check there is no mistake? Or does it have to be 20 experts? Even among top scientists there are always subjective opinions. The [scientific method](scientific_method.md) is evolving and there are many debates over it, with some even stating that there can be no universal method of science. The [p-value](p_value.md) used to determine whether measurements are statistically significant has basically just an arbitrarily set value for what's considered a "safe enough" result. Some say that if a research is to be trusted, it has to be [peer reviewed](peer_review.md), i.e. that what's scientific has to be approved by chosen experts -- this may be not just because people can make mistakes but also because in current highly competitive society there appears science [bloat](bloat.md), obscurity and tendencies to push fake research and purposeful deception, i.e. our politics and culture are already defining what science is. However the stricter the criteria for science, the more monopolized, centralized, controlled and censored it becomes.
**Science is not almighty** as brainwashed internet [euphoric](atheism.md) kids like to think, that's a completely false idea fed to them by the overlords who abuse "science" ([soyence](soyence.md)) for control of the masses, as religion was and is still used -- soyence is the new religion [nowadays](21st_century.md). Yes, (true) science is great, it is an awesome tool, but it is just that -- a tool, usable for SOME tasks, not a [silver bullet](silver_bullet.md) that could be used for everything. What can be discovered by science is in fact quite limited, exactly because it purposefully LIMITS itself only to accept what CAN be proven and so remains silent about everything else (which however doesn't mean there lies no knowledge or value in the everything else or in other approaches to learning) -- see e.g. Godel's incompleteness theorems that state it is mathematically impossible to really prove validity of mathematics, or the nice compendium of all knowability limitations at http://humanknowledge.net/Thoughts.html. For many (if not most) things we deal in life science is either highly impractical (do you need to fund a peer reviewed research to decide what movie you'll watch today?) or absolutely useless (setting one's meaning of life, establishing one's basic moral values, placing completely random bets, deciding to trust or distrust someone while lacking scientifically relevant indicators for either, answering metaphysical questions such as "Why is there ultimately something rather than nothing?", anything that cannot be falsified, if only for practical reasons etc.). So don't be Neil de Grass puppet and stop treating science as your omnipotent pimplord, it's just a hammer useful for bashing some specific nails.

@ -1,3 +1,3 @@
# Tattoo
Tattoo is a body disfigurement formed by injecting ink under the skin to permanently mark it. Tattoo, similarly to [piercing](piercing.md), suits, dyed hair etc., is a sign of [egoism](egoism.md), [narcissism](narcissism.md), herd mentality, [identity](identity_politics.md) crisis, overconfidence of the incompetent and a cheap attempt at desperately trying to get attention or make oneself look interesting. We highly advise to distance oneself from anyone having a voluntarily made tattoo.
Tattoo is a body disfigurement formed by injecting ink under the skin to permanently mark it. Tattoo, similarly to [piercing](piercing.md), suits, dyed hair etc., is a sign of [egoism](egoism.md), [narcissism](narcissism.md), herd mentality, [identity](identity_politics.md) crisis, overconfidence of the incompetent and a cheap attempt at desperately trying to get attention or make oneself look interesting. Back in the day, in the [90s](90s.md), it wasn't common to have tattoos, having one meant you were a self centered egoistic attention whore -- it still means the same thing today but being egoistic attention whores is normal and encouraged now, so everyone has tattoos. We highly advise to distance oneself from anyone having a voluntarily made tattoo.

File diff suppressed because one or more lines are too long

@ -3,9 +3,9 @@
This is an autogenerated article holding stats about this wiki.
- number of articles: 576
- number of commits: 769
- total size of all texts in bytes: 3651558
- total number of lines of article texts: 28243
- number of commits: 770
- total size of all texts in bytes: 3655408
- total number of lines of article texts: 28249
- number of script lines: 262
- occurences of the word "person": 8
- occurences of the word "nigger": 73
@ -14,7 +14,7 @@ longest articles:
- [c_tutorial](c_tutorial.md): 124K
- [capitalism](capitalism.md): 68K
- [how_to](how_to.md): 64K
- [how_to](how_to.md): 68K
- [chess](chess.md): 56K
- [exercises](exercises.md): 52K
- [less_retarded_society](less_retarded_society.md): 52K
@ -36,33 +36,33 @@ longest articles:
top 50 5+ letter words:
- which (2095)
- there (1581)
- people (1374)
- other (1142)
- example (1104)
- there (1584)
- people (1376)
- other (1143)
- example (1107)
- software (1043)
- number (1006)
- about (947)
- program (852)
- their (786)
- their (787)
- called (730)
- because (729)
- would (715)
- computer (715)
- language (705)
- because (730)
- computer (717)
- would (716)
- language (707)
- simple (689)
- being (682)
- being (683)
- numbers (674)
- things (667)
- things (672)
- without (637)
- function (630)
- programming (629)
- something (616)
- something (619)
- however (595)
- these (593)
- different (583)
- world (558)
- system (548)
- world (560)
- system (550)
- should (536)
- games (533)
- point (522)
@ -70,7 +70,7 @@ top 50 5+ letter words:
- society (515)
- though (495)
- memory (492)
- while (481)
- while (482)
- drummyfish (481)
- using (477)
- technology (473)
@ -81,14 +81,25 @@ top 50 5+ letter words:
- possible (444)
- https (435)
- really (414)
- extremely (404)
- computers (402)
- computers (408)
- extremely (405)
- always (400)
- value (397)
latest changes:
```
Date: Wed Apr 17 19:56:46 2024 +0200
exercises.md
how_to.md
human_language.md
random_page.md
reddit.md
semiconductor.md
trash_magic.md
wiki_pages.md
wiki_stats.md
youtube.md
Date: Tue Apr 16 23:06:10 2024 +0200
capitalism.md
czechia.md
@ -113,21 +124,6 @@ Date: Tue Apr 16 23:06:10 2024 +0200
wiki_pages.md
wiki_stats.md
Date: Mon Apr 15 17:27:45 2024 +0200
exercises.md
history.md
human_language.md
less_retarded_society.md
lrs_dictionary.md
main.md
nationalism.md
needed.md
phd.md
programming_language.md
programming_tips.md
random_page.md
wiki_pages.md
wiki_stats.md
wikipedia.md
```
most wanted pages:
@ -139,8 +135,8 @@ most wanted pages:
- [array](array.md) (11)
- [quake](quake.md) (10)
- [lisp](lisp.md) (10)
- [irl](irl.md) (10)
- [meme](meme.md) (9)
- [irl](irl.md) (9)
- [gpl](gpl.md) (9)
- [drm](drm.md) (9)
- [complex_number](complex_number.md) (9)
@ -164,8 +160,8 @@ most popular and lonely pages:
- [suckless](suckless.md) (131)
- [proprietary](proprietary.md) (114)
- [kiss](kiss.md) (92)
- [modern](modern.md) (89)
- [computer](computer.md) (89)
- [modern](modern.md) (88)
- [minimalism](minimalism.md) (86)
- [linux](linux.md) (86)
- [programming](programming.md) (80)

Loading…
Cancel
Save