master
Miloslav Ciz 7 months ago
parent 767b52f354
commit d9a9d8158f

@ -6,16 +6,20 @@ Here there will be a constantly WIP list of [books](book.md) that might be of in
- **Blackout** (2017, Elsberg): Fiction, telling a story of a large blackout in Europe that shows to really be caused by [bloated](bloat.md) tech. For [collapse](collapse.md) enjoyers this is an interesting read if only for the detailed description of the consequences a sudden loss of electric power.
- **Einstein: His Life and Universe** (Isaacson, 2008): [Einstein](einstein.md)'s biography, quite a nice read about a pretty awesome man who's image has been so distorted by the mainstream shit.
- **Encyclopedia Britannica 11th edition** (1911): Extremely large, old, uncensored [encyclopedia](encyclopedia.md), mostly digitized and fulltext searchable, also completely [public domain](public_domain.md), with very long articles on all topics up to the date of its publication. Great source of lesser known information and an alternative to modern censored sources. Also check out other similar encyclopedias.
- **Flatland** (Abbott, 1884): Absolutely amazing fantasy story set in two dimensional land with characters being geometric shapes, while being a critic of society to a big degree, it discusses practical and mathematical aspects of actually living in two dimensions, how the characters see, how they build their houses etc. It is now absolutely [public domain](public_domain.md)!
- **Free as in Freedom** (Sam Williams, 2002): Free-licensed official biography of [Richard Stallman](rms.md), contains many historical details about how [free software](free_software.md) came to be, how [open source](open_source.md) spoiled it etc.
- **Free Culture** (Lessig, 2004): Creative-commons licensed (non-free but gratis) book by the founder of [Creative Commons](creative_commons.md) and [free cutlure](free_culture.md), goes into details on how copyright became abused by capitalism, why public domain is being smothered and why we must support free culture.
- **Game Engine Black Book: Doom** (Sanglard, 2019): Gratis, very nice book dissecting all the details about the legendary [Doom](doom.md) engine and its internals -- how it worked, why was it so fast, what hacks went into it, written so that a reader of any programming skill (even none) will find something interesting. A must read for fans of oldschool game programming.
- **Game Engine Black Book: Wolfenstein 3D** (Sanglard, 2019): Same as the Doom engine book from the same author, just about the older game Wolfenstein 3D, also amazing.
- **Industrial Society and Its Future** (Kaczynski, 1995): A bit boring read by the famous [Unabomber](ted_kaczynski.md), criticizing rapid technology advancement, but an important read for those who are more into politics, if only for the memes :)
- **ISO/IEC 9899:1999** (1999): Specification of the version of [C](c.md) programming language that [suckless](suckless.md)/[LRS](lrs.md) very often uses. It's nice to skim over it to get an idea how a language is actually specified. You'll also probably learn something new about C in the process.
- **Just for Fun** (2001): Official biography of [Linux Torvalds](torvalds.md), the original creator of [Linux](linux.md). It recounts valuable historical moments with comments by Linus himself, revealing many interesting details and also a bit of Torvalds' personality (shows some of his evil side).
- **Larousse Desk Reference Encyclopedia** (1995): Very nice single-volume [encyclopedia](encyclopedia.md) that's sorted by topic, with many nice illustrations, published back then when censorship wasn't so extreme, provides overview of all topics of human knowledge.
- **Masters of Doom** (Kushner, 2003): Another nice book for [Doom](doom.md) fans, this time not really technical but rather just retelling the story of the game's development -- quite comfy, a lot if interesting trivia.
- **[The Jargon File](jargon_file.md)** (1975...): [Hacker culture](hacking.md) dictionary, a lot of wisdom, inside jokes, and things related to oldschool hacking.
- **Rebel Code** (Moody, 2001): A bit of a mainstream view at the whole "[open source](open_source.md)" history -- though it's a small brain business view which we have to keep in mind at all times, it's a nice introduction to the whole FOSS world for the newcomers, as the book covers most of the relevant projects and [people](people.md).
- **The Pig and the Box** (2009, MCM): A short story for kids showing the dangers of [DRM](drm.md), released under [CC0](cc0.md)!
- **The Pig and the Box** (MCM, 2009): A short story for kids showing the dangers of [DRM](drm.md), released under [CC0](cc0.md)!
- **The Tao of Programming** (James, 1987): Famous piece of [hacker culture](hacking.md) literature, wisdom of programming written in taoist style.
- **Tricks of the Game Programming Gurus** (1994): Very nice, readable book, that implements a whole 90s shooter game in [C](c.md), without drowning the reader in tons of equations and smartass talk. It's written with the 90s mindset and in common language, contains many practical tricks for optimizing the code etc.
- ...

@ -1,66 +1,21 @@
# Exercises
Here let be listed exercises for the readers of the wiki. You can allow yourself to as many helpers and resources as you find challenging: with each problem you should either find out you know the solution or learn something new while solving it.
Here there should be a set of exercise problems for those wishing to pursue [LRS](lrs.md) in any way.
Problems in each category should follow from easiest to most difficult. The listed solutions may not be the only possible solutions, just one of them.
{ Hmmm, it's hard to figure out exactly what to put here. ~drummyfish }
## General Knowledge
## Programming Projects
1. What is the difference between [free software](free_software.md) and [open source](open_source.md)?
Here you will find suggestions for programming projects depending on your skill level.
### Solutions
### Easy
1. The [free software](free_software.md) and [open source](open_source.md) movements are technically very similar but extremely different in spirit, i.e. while most free software licenses are also open source and vice versa (with small exceptions such as [CC0](cc0.md)), free software is fundamentally about pursuing user freedom and ethics while open source is a later capitalist fork of free software that removes talk about ethics, aims to exploit free licenses for the benefit of business and is therefore unethical.
- TODO
## Programming
### Medium
1. Write a [C](c.md) program that prints out all [prime numbers](prime.md) under 1000 as well as the total count of these prime numbers.
- TODO
-
### Hard
### Solutions
1:
```
// Sieve of Eratosthenes algorithm, one possible way to generate prime numbers
#include <stdio.h>
#define N 1000
char primeMap[N];
int main(void)
{
int primeCount = 0;
for (int i = 0; i < N; ++i)
primeMap[i] = 1;
for (int i = 2; i < N; ++i)
{
if (primeMap[i])
{
primeCount++;
printf("%d\n",i);
}
int j = i;
while (1) // mark all multiples of i non-primes
{
j += i;
if (j >= N)
break;
primeMap[j] = 0; // can't be a prime
}
}
printf("prime count under %d: %d\n",N,primeCount);
return 0;
}
```
## Math
### Solutions
- TODO

@ -22,5 +22,17 @@ We have an [infinite](infinity.md), regular two dimensional grid of cells, each
| alive | 2 or 3 live neighbors | else (under/overpopulation) |
| dead | 3 live neighbors | else |
## Code Example
TODO
## Programming
TODO: techniques for optimization etc.
TODO: extensions, continuous, code, optimizations
## Extensions, Modifications And Generalizations
TODO

@ -7,20 +7,20 @@ Welcome to [Less Retarded Wiki](lrs_wiki.md), an [encyclopedia](encyclopedia.md)
DISCLAIMER: All opinions expressed here are facts.
```
.:FFFFFF: :FFFFFF:. .:FFFFFFFFFFF:. .:FFFFFFFFFFF:.
:FFFFFFFFFFFF. .FFFFFFFFFFFF: .:FFFFF'''FFF'''FFFFF:. .:FFFFF'':FFF:''FFFFF:.
.FFFFFFFFFFFFFFFFFFFFFFFFFFFFF. .FFFF' FFF 'FFFF. .FFFF' .FF'FF. 'FFFF.
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFF' FFF 'FFF FFF' .FF' 'FF. 'FFF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFF FFF FFF FFF .FF' 'FF. FFF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFF' FFF 'FFF FFF' .FF' 'FF. 'FFF
'FFFFFFFFFFFFFFFFFFFFFFFFFFFFF' FFF .FFFFF FFF FFF .FF' 'FF. FFF
FFFFFFFFFFFFFFFFFFFFFFFFFFF FFF .FFFFFFFFF. FFF FFF .FF:,,,,,,,,,:FF. FFF
'FFFFFFFFFFFFFFFFFFFFFFF' FFF .FFF' FFF 'FFF. FFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFF FFF. .FFF' FFF 'FFF. .FFF FFF. .FF' 'FF. .FFF
'FFFFFFFFFFFFFFFFF' FFF..FFF' FFF 'FFF..FFF FFF..FF' 'FF..FFF
FFFFFFFFFFFFFFF FFFFF' FFF 'FFFFF FFFFF' 'FFFFF
'FFFFFFFFFFF' 'FFFF. FFF .FFFF' 'FFFF. .FFFF'
'FFFFFFF' ':FFFFF...FFF...FFFFF:' ':FFFFF:,,,,,,,:FFFFF:'
.:FFFFF:. .:FFFFF:. .:FFFFFFFFFFF:. .:FFFFFFFFFFF:.
:FFFF'''FFFF. .FFFF'''FFFF: .:FFFFF'''FFF'''FFFFF:. .:FFFFF'':FFF:''FFFFF:.
.FFF' 'FFFFFFF' 'FFF. .FFFF' FFF 'FFFF. .FFFF' .FF'FF. 'FFFF.
FFF' ''' 'FFF FFF' FFF 'FFF FFF' .FF' 'FF. 'FFF
FFF FFF FFF FFF FFF FFF .FF' 'FF. FFF
FFF. .FFF FFF' FFF 'FFF FFF' .FF' 'FF. 'FFF
'FFF. .FFF' FFF .FFFFF FFF FFF .FF' 'FF. FFF
FFF. .FFF FFF .FFFFFFFFF. FFF FFF .FF:,,,,,,,,,:FF. FFF
'FFF FFF' FFF .FFF' FFF 'FFF. FFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFF. .FFF FFF. .FFF' FFF 'FFF. .FFF FFF. .FF' 'FF. .FFF
'FFF FFF' FFF..FFF' FFF 'FFF..FFF FFF..FF' 'FF..FFF
FFF. .FFF FFFFF' FFF 'FFFFF FFFFF' 'FFFFF
'FFF. .FFF' 'FFFF. FFF .FFFF' 'FFFF. .FFFF'
'FFF.FFF' ':FFFFF...FFF...FFFFF:' ':FFFFF:,,,,,,,:FFFFF:'
'FFF' ':FFFFFFFFFFF:' ':FFFFFFFFFFF:'
```

@ -1,9 +1,9 @@
# USA
United States of America (USA, US or just "murika") is a [dystopian](dystopia.md) country of fat, stupid fascist people enslaved by [capitalism](capitalism.md), people endlessly obsessed with things such as money, wars, shooting their presidents and shooting up their schools. USA consists of 50 states located in North America, a continent that ancestors of Americans invaded and have stolen from Indians, the natives whom Americans mass murdered.
United States of America (USA, US or just "murika") is a [dystopian](dystopia.md) country of fat, stupid dumbasses enslaved by [capitalism](capitalism.md), either rightist or [pseudoleftist](pseudoleft.md) [fascists](fascism.md) endlessly obsessed with [money](money.md), [wars](war.md), [fighting](fight_culture.md), shooting their presidents and shooting up their schools. USA consists of 50 states located in North America, a continent that ancestors of Americans invaded and have stolen from Indians, the natives whom Americans mass murdered. Americans are stupid idiots with guns who above all value constant societal conflict and make the world so that all people are dragged into such conflict.
USA is very similar to [North Korea](north_korea.md): in both countries the people are successfully led to believe their country is the best and have strong propaganda based on [cults of personality](cult_of_personality.md), which to outsiders seem very ridiculous but which is nevertheless very effective: for example North Korea officially proclaims their supreme leader Jong-il was born atop a sacred mountain and a new star came to exist in the sky on the day of his birth, while Americans on the other hand believe their fascist president George Washington was divine and PHYSICALLY UNABLE TO TELL A LIE, which was actually taught at their schools. North Korea is ruled by a single political party, US is ruled by two practically same militant capitalist imperialist parties (democrats and republicans), i.e. de-facto one party as well. Both countries are obsessed with weapons and their military, both are highly and openly [fascist](fascism.md) (nationalist). Both countries are full of extreme [propaganda](propaganda.md), [censorship](censorship.md) and [hero culture](hero_culture.md), people worship dictators such as Kim Jong-un or [Steve Jobs](steve_jobs.md). US is even worse than North Korea because it exports its toxic culture all over the whole world and constantly invades other countries, it is destroying all other cultures and leads the whole world to doom and destruction of all life, while North Korea basically only destroys itself.
USA is very similar to [North Korea](north_korea.md): in both countries the people are successfully led to believe their country is the best and have strong propaganda based on [cults of personality](cult_of_personality.md), which to outsiders seem very ridiculous but which is nevertheless very effective: for example North Korea officially proclaims their supreme leader Kim Jong-il was born atop a sacred mountain and a new star came to existence on the day of his birth, while Americans on the other hand believe one of their retarded leaders named George Washington was a divine god who was PHYSICALLY UNABLE TO TELL A LIE, which was actually taught at their schools. North Korea is ruled by a single political party, US is ruled by two practically same militant capitalist imperialist parties (democrats and republicans), i.e. de-facto one party as well. Both countries are obsessed with weapons (especially nuclear ones) and their military, both are highly and openly [fascist](fascism.md) (nationalist). Both countries are full of extreme [propaganda](propaganda.md), [censorship](censorship.md) and [hero culture](hero_culture.md), people worship dictators such as Kim Jong-un or [Steve Jobs](steve_jobs.md). US is even worse than North Korea because it exports its toxic [culture](culture.md) all over the whole world and constantly invades other countries, it is destroying all other cultures and leads the whole world to doom and destruction of all life, while North Korea basically only destroys itself.
In US mainstream [politics](politics.md) there exists no true left, only [right](left_right.md) and [pseudoleft](pseudoleft.md). It is only in extreme underground, out of the sight of most people, where occasionally something good comes into existence as an exception to a general rule that nothing good comes from the US. One of these exceptions is [free software](free_software.md) (established by [Richard Stallman](rms.md)) which was however quickly smothered by the capitalist [open source](open_source.md) counter movement.
On 6th and 9th August 1945 **USA casually killed about 200000 civilians**, most of whom were innocent men, women and children, by throwing atomic bombs on Japanese cities Hiroshima and Nagasaki. The men who threw the bombs and ordered the bombing were never put on trial, actually most Americans praise them as [heroes](hero_culture.md) and think it was a good thing to do.
On 6th and 9th August 1945 **USA murdered about 200000 civilians**, most of whom were innocent men, women and children, by throwing atomic bombs on Japanese cities Hiroshima and Nagasaki. The men who threw the bombs and ordered the bombing were never put on trial, actually most Americans praise them as [heroes](hero_culture.md) and think it was a good thing to do.

@ -11,4 +11,5 @@ TODO
- [tao](tao.md)
- [Buddhism](buddhism.md)
- [hacker culture](hacking.md)
- [nirvana](nirvana.md)
- [nirvana](nirvana.md)
- [guru](guru.md)
Loading…
Cancel
Save