Update
This commit is contained in:
parent
6b6fe66cd4
commit
6e8181c3e8
7 changed files with 1799 additions and 1786 deletions
|
@ -4,6 +4,25 @@
|
|||
|
||||
Capitali$m is the worst socioeconomic system we've yet seen in [history](history.md),^[source](logic.md) based on pure greed, culture of slavery and artificially sustained conflict between everyone in society (so called [competition](competition.md)), abandoning all morals and putting money and profit (so called [capital](capital.md)) above everything else including preservation of life itself, capitalism fuels the worst in people and forces them to compete mand suffer for basic resources, even in a world where abundance of resources is already possible to achieve -- of course, capitalism is a purely [rightist](left_right.md) idea. Capitalism goes against [progress](progress.md) (see e.g. [antivirus paradox](antivirus_paradox.md)), [good technology](lrs.md) and freedom, it supports immense waste of resources, wars, abuse of people and animals, destruction of environment, decline of morals, deterioration of [art](art.md), invention of [bullshit](bullshit.md) (bullshit jobs, bullshit laws, ...), utilizing and perfecting methods of [torture](marketing.md), brainwashing, [censorship](censorship.md) and so on. In a sense capitalism can be seen as **slavery 2.0** or *universal slavery*, a more sophisticated form of slavery, one which denies the label by calling itself the polar opposite, "freedom", when in fact capitalism is merely a "freedom" to oppress others -- underlying every argument for capitalism is an argument against freedom itself; capitalism manipulates people into them approving and voluntarily partaking in their own enslavement (capitalist slaves are called wage slaves or *wagies*) -- this new form of slavery which enslaves everyone evolved because the old form with strictly separated classes of slaves and masters was becoming unsustainable, with the enslaved majority revolting, causing civil wars etc. This alone already seems to many like a good reason for [suicide](suicide.md), however wage and consumption slavery is still only a small part of capitalist dystopia -- capitalism brings on destruction basically to every part of civilization. It it also often likened to a [cancer](cancer.md) of society; one that is ever expanding, destroying everything with commercialism, materialism, waste and destruction, growing uncontrollably with the sole goal of just never stop an ever accelerating growth. Nevertheless, it's been truthfully stated that "it is now easier to imagine the end of all life than any substantial change in capitalism." Another famous quote is that "capitalism is the belief that the worst of men driven by the nastiest motives will somehow work for the benefit of everyone", which describes its principle quite well.
|
||||
|
||||
```
|
||||
|
||||
capitalism = LRS =
|
||||
worst practically best practically
|
||||
possible society possible society
|
||||
| |
|
||||
| |
|
||||
dystopia V V utopia
|
||||
competition, tyranny, <------|------------------------|------> love, peace, equality,
|
||||
slavery, exploitation, \ / \ / collaboration, abundance,
|
||||
hierarchy, war, ... \ / \ / freedom, sharing, ...
|
||||
\/ \/
|
||||
so bad it so perfect
|
||||
can't practically it can't practically
|
||||
keep functioning be achieved
|
||||
```
|
||||
|
||||
*Capitalism on utopia-dystopia spectrum: while a [good society](less_retarded_society.md) tries to come as close as possible to the ideal utopia, capitalism starts with the idea of a dystopia (conflicts, exploitation, suffering as motivation, ...) and tries to just make it barely livable, always staying just shy of dystopia so bad it couldn't practically work (e.g. putting too much pressure on workers so as to kill them all).*
|
||||
|
||||
{ Some web bashing capitalism I just found: http://digdeeper.club/articles/capitalismcancer.xhtml, read only briefly, seems to contain some nice gems capturing the rape of people. ~drummyfish }
|
||||
|
||||
**Capitalism is fundamentally flawed and CANNOT be fixed** -- capitalists build on the idea that competition will drive society, that market will be self sustaining, however capitalism itself works for instating the rule of the winners who eliminate their competition, capitalism is self destabilizing, i.e. the driving force of capitalism is completely unsustainable and leads to catastrophic results as those who get ahead in working competition are also in advantage -- as it's said: money makes money, therefore money flow from the poor to the rich and create a huge imbalance in which competition has to be highly forced, eventually completely arbitrarily and in very harmful ways (invention of bullshit jobs, creating artificial needs and hugely complex state control and laws). It's as if we set up a race in which those who get ahead start to also go faster, and those become the ones who oversee and start to create the rules of the race -- expecting a sustained balance in such a race is just insanity. Society tries to "[fight](fight_culture.md)" this emerging imbalance with various laws and rules of market, but this effort is like trying to fight math itself -- the system is mathematically destined to be unstable, pretending we can win over laws of nature themselves is just pure madness. **Capitalism is practically equivalent to the terms [free market](free_market.md) and free trade** -- today's extreme, catastrophic form of capitalism is just sufficiently evolved free market, i.e. it is impossible to support free market without supporting what we see today as long as you believe there will ever be any progress in society; against beliefs of great many unintelligent individuals, it is for example impossible to be a true [anarchist](anarchism.md) as long as you believe in form of free market.
|
||||
|
|
36
network.md
36
network.md
|
@ -8,6 +8,7 @@ First let's try writing some **UDP** C program under [Unix](unix.md). Remember t
|
|||
|
||||
```
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h> // for exit
|
||||
#include <unistd.h> // for sleep
|
||||
|
||||
#include <arpa/inet.h>
|
||||
|
@ -20,17 +21,14 @@ First let's try writing some **UDP** C program under [Unix](unix.md). Remember t
|
|||
|
||||
char buffer[BUFFER_LEN + 1]; // extra space for zero terminator
|
||||
char name; // name of this agent (single char)
|
||||
int sockIn = -1, sockOut = -1; // receive/send socket file descriptors
|
||||
int sock = -1; // socket, for both sending and receiving
|
||||
|
||||
void error(const char *msg)
|
||||
{
|
||||
printf("%c: ERROR, %s\n",name,msg);
|
||||
|
||||
if (sockIn >= 0)
|
||||
close(sockIn);
|
||||
|
||||
if (sockOut >= 0)
|
||||
close(sockOut);
|
||||
if (sock >= 0)
|
||||
close(sock);
|
||||
|
||||
exit(1);
|
||||
}
|
||||
|
@ -47,27 +45,22 @@ int main(int argc, char **argv)
|
|||
|
||||
struct sockaddr_in addrSrc, addrDst;
|
||||
|
||||
sockIn = socket(AF_INET,SOCK_DGRAM | SOCK_NONBLOCK,IPPROTO_UDP);
|
||||
sock = socket(AF_INET,SOCK_DGRAM | SOCK_NONBLOCK,IPPROTO_UDP);
|
||||
|
||||
if (sockIn < 0)
|
||||
error("couldn't create listen socket");
|
||||
|
||||
sockOut = socket(AF_INET,SOCK_DGRAM,IPPROTO_UDP);
|
||||
|
||||
if (sockOut < 0)
|
||||
error("couldn't create send socket");
|
||||
if (sock < 0)
|
||||
error("couldn't create socket");
|
||||
|
||||
addrSrc.sin_family = AF_INET;
|
||||
addrSrc.sin_port = htons(portSrc);
|
||||
addrSrc.sin_port = htons(portSrc); // convert port to netw. endianness
|
||||
addrSrc.sin_addr.s_addr = htonl(INADDR_ANY);
|
||||
|
||||
if (bind(sockIn,(struct sockaddr *) &addrSrc,sizeof(addrSrc)) < 0)
|
||||
error("couldn't bind listen socket");
|
||||
if (bind(sock,(struct sockaddr *) &addrSrc,sizeof(addrSrc)) < 0)
|
||||
error("couldn't bind socket");
|
||||
|
||||
addrDst.sin_family = AF_INET;
|
||||
addrDst.sin_port = htons(portDst);
|
||||
|
||||
if (inet_aton(addrStrDst,&addrDst.sin_addr) == 0)
|
||||
if (inet_aton(addrStrDst,&addrDst.sin_addr) == 0)
|
||||
error("couldn't translate address");
|
||||
|
||||
printf("%c: My name is %c, listening on port %d, "
|
||||
|
@ -78,7 +71,7 @@ int main(int argc, char **argv)
|
|||
{
|
||||
printf("%c: Checking messages...\n",name);
|
||||
|
||||
int len = recv(sockIn,buffer,BUFFER_LEN,0);
|
||||
int len = recv(sock,buffer,BUFFER_LEN,0);
|
||||
|
||||
if (len > 0)
|
||||
{
|
||||
|
@ -93,7 +86,7 @@ int main(int argc, char **argv)
|
|||
|
||||
printf("%c: Sending \"%s\"\n",name,buffer);
|
||||
|
||||
if (sendto(sockOut,buffer,BUFFER_LEN,0,
|
||||
if (sendto(/*sockOut*/sock,buffer,BUFFER_LEN,0,
|
||||
(struct sockaddr *) &addrDst,sizeof(addrDst)) < 0)
|
||||
printf("%c: Couldn't send it!\n",name);
|
||||
|
||||
|
@ -103,8 +96,7 @@ int main(int argc, char **argv)
|
|||
|
||||
printf("%c: That's enough, bye.\n",name);
|
||||
|
||||
close(sockIn);
|
||||
close(sockOut);
|
||||
close(sock);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -17,6 +17,7 @@ There are many terms that are very similar and can many times be used interchang
|
|||
- **binary** vs **[executable](executable.md)**
|
||||
- **[binary](binary.md)** vs **[boolean](boolean.md)**
|
||||
- **[black](black.md) [race](race.md)** vs **[nigger](nigger.md)** vs **[negro](negro.md)**
|
||||
- **[branchless](branchless.md) programming** vs **ifless programming**
|
||||
- **[brute force](brute_force.md)** vs **[heuristic search](heuristic_search.md)**
|
||||
- **[bug](bug.md)** vs **[glitch](glitch.md)** vs **[error](error.md)** vs **[exception](exception.md)** vs **[fault](fault.md)** vs **[failure](fail.md)** vs **[defect](defect.md)**
|
||||
- **[causation](causation.md)** vs **[correlation](correlation.md)**
|
||||
|
|
|
@ -45,7 +45,7 @@ unsigned int random()
|
|||
}
|
||||
```
|
||||
|
||||
Here `T` is the data type of the internal number (implying the *M* constant) -- use some fixed width type from `stdint.h` here. `C` is the multiplicative constant, `A` is the additive constant and `S` is a shift that implies how many highest bits of the internal number will be taken (and therefore what range of numbers we'll be getting). The following table gives you a few hopefully good values you can just plug into this snippet to get an alright generator:
|
||||
Here `T` is the data type of the internal number (implying the *M* constant) -- use some fixed width type from `stdint.h` here. `A` is the multiplicative constant, `C` is the additive constant and `S` is a shift that implies how many highest bits of the internal number will be taken (and therefore what range of numbers we'll be getting). The following table gives you a few hopefully good values you can just plug into this snippet to get an alright generator:
|
||||
|
||||
| `T` | `A` | `C` | `S` | note |
|
||||
| ------------- | ------------------- | --------- | -------- | -------------------- |
|
||||
|
@ -56,11 +56,11 @@ Here `T` is the data type of the internal number (implying the *M* constant) --
|
|||
| `uint64_t` | 2862933555777941757 | 12345 | 32 or 48 | *A* from *L'Ecuyer* |
|
||||
| `uint64_t` | 3935559000370003845 | 1719 | 32 or 48 | *A* from *L'Ecuyer* |
|
||||
|
||||
{ I pulled the above numbers from various sources I found, mentioned in the note, tried to select the ones that were allegedly good, I also quickly tested them myself, checked the period was at maximum at least for the 32 bit generators and lower. ~drummyfish }
|
||||
{ I pulled the above numbers from various sources I found, mentioned in the note, tried to select the ones that were allegedly good, I also quickly tested them myself, checked the period was at maximum at least for the 32 bit generators and lower and ran it through ent which reported good results. ~drummyfish }
|
||||
|
||||
Let's also quickly mention **another kind of generator** as an alternative -- the *middle square plus Weyl sequence* generator. Middle square generator was one of the first and is very simple, it simply starts with a number (seed), squares it, takes its middle digits as the next number, squares it, takes its middle digits and so on. The issue with this was mainly getting a number 0, at which we get stuck. A 2022 paper by *Wydinski* seems to have solved this issue by employing so called *Weyl* sequence -- basically just adding some odd number in each step, though the theory is a bit more complex, the paper goes on to prove a high period of this generator. An issue seems to be with seeding the sequence -- the generator has three internal numbers and they can't just be blindly set to "anything" (the paper gives some hints on how to do this). Here is a 32 bit variant of such generator (the paper gives a 64 bit one):
|
||||
|
||||
{ I tried to make a 32 bit version of the generator, tried to choose the `_rand3` constant well -- after quickly testing this the values of the generator looked alright, though I just eyeballed the numbers, each bit separately, checked the mean of some 4000 values and the histogram of 1 million values. I'm not claiming this version to be statistically good, but it may be a start for implementing something nice, use at own risk. ~drummyfish }
|
||||
{ I tried to make a 32 bit version of the generator, tried to choose the `_rand3` constant well -- after quickly testing this the values of the generator looked alright, though I just mostly eyeballed the numbers, each bit separately, checked the mean of some 4000 values and the histogram of 1 million values. I also ran this through ent and it gave good results except for the chi square test that reported the rarity of the sequence at something over 5% (i.e. not impossible, but something like 1 in 20 chance). I'm not claiming this version to be statistically good, but it may be a start for implementing something nice, use at own risk. ~drummyfish }
|
||||
|
||||
```
|
||||
#include <stdint.h>
|
||||
|
@ -79,7 +79,7 @@ uint16_t random()
|
|||
|
||||
NOTE on the code: the `(_rand1 >> 16) | (_rand1 << 16)` operation effectively makes the function return lower 16 bits of the squared number's middle digits, as multiplying `_rand1` (32 bit) by itself results in the lower half of a 64 bit result.
|
||||
|
||||
Yet another idea might be to use some good [hash](hash.md) just on numbers 1, 2, 3, 4 ... The difference here is we are not computing the pseudorandom number from the previous one, but we're computing *N*th pseudorandom number directly from *N*. This will probably be slower. For example: { Again, no big guarantees. ~drummyfish }
|
||||
Yet another idea might be to use some good [hash](hash.md) just on numbers 1, 2, 3, 4 ... The difference here is we are not computing the pseudorandom number from the previous one, but we're computing *N*th pseudorandom number directly from *N*. This will probably be slower. For example: { Again, no big guarantees, but I ran this through ent again and got very good results. ~drummyfish }
|
||||
|
||||
```
|
||||
#include <stdint.h>
|
||||
|
|
3426
random_page.md
3426
random_page.md
File diff suppressed because it is too large
Load diff
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: 580
|
||||
- number of commits: 809
|
||||
- total size of all texts in bytes: 3846278
|
||||
- total number of lines of article texts: 29369
|
||||
- number of commits: 810
|
||||
- total size of all texts in bytes: 3852675
|
||||
- total number of lines of article texts: 29424
|
||||
- number of script lines: 262
|
||||
- occurences of the word "person": 7
|
||||
- occurences of the word "nigger": 86
|
||||
|
@ -16,7 +16,7 @@ longest articles:
|
|||
- [exercises](exercises.md): 88K
|
||||
- [capitalism](capitalism.md): 68K
|
||||
- [how_to](how_to.md): 68K
|
||||
- [less_retarded_society](less_retarded_society.md): 56K
|
||||
- [less_retarded_society](less_retarded_society.md): 60K
|
||||
- [chess](chess.md): 56K
|
||||
- [number](number.md): 52K
|
||||
- [faq](faq.md): 48K
|
||||
|
@ -31,64 +31,78 @@ longest articles:
|
|||
- [history](history.md): 32K
|
||||
- [main](main.md): 32K
|
||||
- [optimization](optimization.md): 28K
|
||||
- [mechanical](mechanical.md): 28K
|
||||
- [pseudorandomness](pseudorandomness.md): 28K
|
||||
|
||||
top 50 5+ letter words:
|
||||
|
||||
- which (2202)
|
||||
- there (1670)
|
||||
- people (1463)
|
||||
- example (1225)
|
||||
- other (1193)
|
||||
- number (1102)
|
||||
- which (2207)
|
||||
- there (1674)
|
||||
- people (1469)
|
||||
- example (1229)
|
||||
- other (1195)
|
||||
- number (1113)
|
||||
- software (1073)
|
||||
- about (998)
|
||||
- about (1000)
|
||||
- program (876)
|
||||
- their (823)
|
||||
- because (791)
|
||||
- would (777)
|
||||
- called (758)
|
||||
- would (778)
|
||||
- called (760)
|
||||
- language (740)
|
||||
- numbers (736)
|
||||
- computer (732)
|
||||
- numbers (731)
|
||||
- being (726)
|
||||
- simple (702)
|
||||
- things (701)
|
||||
- something (685)
|
||||
- without (663)
|
||||
- being (730)
|
||||
- simple (703)
|
||||
- things (702)
|
||||
- something (686)
|
||||
- without (664)
|
||||
- function (653)
|
||||
- programming (652)
|
||||
- function (652)
|
||||
- however (620)
|
||||
- these (618)
|
||||
- these (619)
|
||||
- different (617)
|
||||
- world (577)
|
||||
- system (562)
|
||||
- should (560)
|
||||
- should (562)
|
||||
- doesn (549)
|
||||
- games (541)
|
||||
- point (537)
|
||||
- society (535)
|
||||
- though (509)
|
||||
- point (540)
|
||||
- society (536)
|
||||
- though (511)
|
||||
- while (506)
|
||||
- drummyfish (500)
|
||||
- drummyfish (503)
|
||||
- using (498)
|
||||
- memory (498)
|
||||
- still (485)
|
||||
- technology (479)
|
||||
- similar (478)
|
||||
- possible (477)
|
||||
- course (477)
|
||||
- possible (474)
|
||||
- simply (467)
|
||||
- https (453)
|
||||
- simply (468)
|
||||
- https (456)
|
||||
- really (431)
|
||||
- value (423)
|
||||
- value (428)
|
||||
- extremely (423)
|
||||
- always (421)
|
||||
- actually (420)
|
||||
- actually (421)
|
||||
|
||||
latest changes:
|
||||
|
||||
```
|
||||
Date: Mon May 27 22:48:10 2024 +0200
|
||||
4chan.md
|
||||
c.md
|
||||
compression.md
|
||||
consumerism.md
|
||||
less_retarded_society.md
|
||||
lrs_dictionary.md
|
||||
main.md
|
||||
pseudorandomness.md
|
||||
random_page.md
|
||||
wiki_pages.md
|
||||
wiki_stats.md
|
||||
woman.md
|
||||
youtube.md
|
||||
Date: Sat May 25 21:44:26 2024 +0200
|
||||
duke3d.md
|
||||
entrepreneur.md
|
||||
|
@ -112,19 +126,6 @@ Date: Sat May 25 21:44:26 2024 +0200
|
|||
woman.md
|
||||
work.md
|
||||
world_broadcast.md
|
||||
Date: Wed May 22 17:49:39 2024 +0200
|
||||
duskos.md
|
||||
egoism.md
|
||||
exercises.md
|
||||
minimalism.md
|
||||
money.md
|
||||
oop.md
|
||||
random_page.md
|
||||
trolling.md
|
||||
wiki_pages.md
|
||||
wiki_stats.md
|
||||
wikipedia.md
|
||||
work.md
|
||||
```
|
||||
|
||||
most wanted pages:
|
||||
|
@ -180,7 +181,7 @@ most popular and lonely pages:
|
|||
- [programming_language](programming_language.md) (71)
|
||||
- [art](art.md) (71)
|
||||
- [shit](shit.md) (69)
|
||||
- [float](float.md) (66)
|
||||
- [float](float.md) (67)
|
||||
- [chess](chess.md) (65)
|
||||
- ...
|
||||
- [wiki_pages](wiki_pages.md) (4)
|
||||
|
|
Loading…
Reference in a new issue