OpenLLM-France/wikimedia huggingface dataset:
# Learning Clojure/Collection functions
## Collection functions

The clojure namespace contains many functions and macros for handling collections. Rather than repeat reference information from the API documentation, I'll give just a few example operations:
* (count collection)
Returns the number of items in the collection.
* (conj collection item)
conjoin. Returns a new copy of the collection with the item added. How the item is added depends upon the collection type, e.g. an item conjoined to a list is added to the beginning while an item conjoined to a vector is added to the end.
* (list item*)
* (vector item*)
* (hash-map keyval*) where keyval => key value
Produce a list, vector, or hashmap, respectively. You can generally always just use literal syntax in place of these functions, but having functions gives us something to pass to other functions expecting function arguments.
* (nth collection n)
Return the nth item from collection, where collection is any collection but not a map. (The collection can be a sequence over a map, but not an actual map.)
* keywords as functions
A keyword can be used as a function to look up a key's value in the various kinds of maps (hashmaps, sets, structmaps, etc.):
* maps as functions
The map types themselves can be used as functions to look up their key's values:

### Sequence functions

Most of the sequence functions can be passed objects which are not sequences but from which a sequence can be derived, e.g. you can pass a list in place of a sequence.
Where there are redundancies between sequence operations and more operations specialized for specific collection types, the redundancies are mostly for performance considerations. For instance, to produce a reversed-order sequence of a vector, you can use the sequence operation reverse or the vector specific rseq: while rseq is less general, it is more efficient.
* (seq collection)
Return a sequence representing the collection. seq also works on native Java arrays, Strings, and any object that implements Iterable, Iterator, or Enumeration.
# Learning the vi Editor/BusyBox vi

* Learning the vi Editor:
* Getting acquainted —
* Basic tasks —
* Making your work easier —
* Advanced tasks —
* Details —
* Vi clones
* (Vim –
* Basic navigation –
* Modes –
* Tips and Tricks –
* Useful things for programmers to know –
* Enhancing Vim –
* Vim on Windows –
* VimL Script language,
* Vile,
* BB vi) —
* vi Reference

## Overview

BusyBox is a very popular program on many embedded Linux systems. In fact, someone working on an embedded Linux system is very likely to encounter BusyBox. BusyBox combines tiny versions of many common UNIX utilities into a single relatively small executable. One of the included utilities is an uninstall option.
The BusyBox vi clone is not limited.
In short, a lot of information in this vi tutorial is applicable to BusyBox vi.

### Weblinks

* BusyBox home page
* BusyBox vi source code
# Learning the vi Editor/Moving around

* Learning the vi Editor:
* Getting acquainted —
* Basic tasks —
* Making your work easier —
* Advanced tasks —
* Details —
* Vi clones
* (Vim –
* Basic navigation –
* Modes –
* Tips and Tricks –
* Useful things for programmers to know –
* Enhancing Vim –
* Vim on Windows –
* VimL Script language,
* Vile,
* BB vi) —
* vi Reference
We can move around in the editor by first entering command mode, and then using the <h>, <j>, <k>, and <l> keys.

## Note

    your arrow keys may be set up to work, and you can use them if you like, but for proficiency and for advanced work later, you should learn to use the letter keys.
* The <h> key, in command mode, moves the cursor one character left.
* The <j> key, in command mode, moves the cursor one character down.
* The <k> key, in command mode, moves the cursor one character up.
* The <l> key, in command mode, moves the cursor one character right.
If you have trouble remembering this, keep in mind that <h> is leftmost, the letter <j>goes down below the line, the letter <k>pokes up above the line, and the <l> key is rightmost. (J also resembles an arrow pointing downward, if you squint a bit.)
After you have moved the cursor using those keys, you can enter insert mode again by pressing <i>. When you do this, you insert text at the cursor, inserting text between the character to the left of the cursor and the current position of the cursor. Let's practice this in an exercise.
* Learning the vi Editor:
* Getting acquainted —
* Basic tasks —
* Making your work easier —
* Advanced tasks —
* Details —
* Vi clones
* (Vim –
* Basic navigation –
* Modes –
* Tips and Tricks –
* Useful things for programmers to know –
* Enhancing Vim –
* Vim on Windows –
* VimL Script language,
* Vile,
* BB vi) —
* vi Reference
# Learning the vi Editor/Appendix/Navigation

| Command | Description | Notes |
| h or ← or <backspace> | left | moves the cursor one step to the left |
| j or ↓ | down | moves the cursor down to the next line |
| k or ↑ | up | moves the cursor down to the previous line |
| l or → or <space> | right | moves the cursor one step to the right |
| w | next word | moves the cursor to the beginning of the next word |
| W | next word (ignor punctuation) | same as w but only uses space as delimiter |
| b | beginning of the word | if the cursor is already in the beginning of a word it moves to the beginning of the previous word |
| B | beginning of the word (ignor punctuation) | same as b but only uses space as delimiter |
| e | end of the word | if the cursor is already in the end of a word it moves to the end of the next word |
| E | move to end of current word (ignor punctuation) | same as e but only uses space as delimiter |
| ( | previous sentence | moves the cursor backward to the previous sentence |
| ) | next sentnce | moves the cursor forword to the next sentence |
| - | previous line | moves the cursor up to the beginning of the previous line |
| + | next line | moves the cursor down to the beginning of the next line |
| 0 | beginning of line | moves the cursor to the beginning of the line |
| $ | end of line | moves the cursor to the end of the line |
| ^U | scroll up | |
| ^D | scroll down | |
| ^B or <page up> | page up | in comparison to scrolling, paging leaves more lines from the previous page |
| ^F or <page down> | page down | in comparison to scrolling, paging leaves more lines from the previous page |
| H or gg | home | moves the cursor to the beginning of the first line |
| L or G | last line | moves the cursor to the beginning of the last line |
# Learning the vi Editor/Conventions

* Learning the vi Editor:
* Getting acquainted —
* Basic tasks —
* Making your work easier —
* Advanced tasks —
* Details —
* Vi clones
* (Vim –
* Basic navigation –
* Modes –
* Tips and Tricks –
* Useful things for programmers to know –
* Enhancing Vim –
* Vim on Windows –
* VimL Script language,
* Vile,
* BB vi) —
* vi Reference

## <c>

    A single character, such as 'a' or '1'.

## <ESC>, <Ctrl-[>

    Indicates that the Escape (Esc) key on your keyboard should be pressed, which is identical to Control and '['.

## <CR>

    Indicates that the Carrier Return (Enter) key should be pressed.

## <TAB>

    Indicates that the Tabulator key should be pressed

## <Ctrl-x>, <C-x>

    Indicates that the Control key and the 'x' key should be pressed simultaneously. 'x' can be almost any other key on your keyboard.

## <Shift-x>, <S-x>, <X>

    Indicates that the Shift key and the 'x' key should be pressed simultaneously

## <Meta-x>, <M-x>

    Indicates that the Meta or Alt key and the 'x' key should be pressed simultaneously.

## :quit, :q

    An Ex command. started with <:>, followed by the command and ends with <CR>. For many Ex commands there is a long form (:quit) and a short form (:q).

## :set nocompatible

    represents a setting.

## strlen

    represents a function.

## /pattern/, ?pattern?

    A Search pattern. Search pattern in vi are regular expressions.

## :ranges/search/replace/options, :global /pattern/ delete

    A Search pattern combined with an Ex command.
All commands in vi are case sensitive.
* Learning the vi Editor:
* Getting acquainted —
* Basic tasks —
* Making your work easier —
* Advanced tasks —
* Details —
* Vi clones
* (Vim –
* Basic navigation –
* Modes –
* Tips and Tricks –
* Useful things for programmers to know –
* Enhancing Vim –
* Vim on Windows –
* VimL Script language,
* Vile,
* BB vi) —
* vi Reference
# Learning the vi Editor/Authors

This book has many authors, including the public: it is open for anyone and everybody to improve. Therefore, this is more properly a list of acknowledgements of contributors than a list of authors. Whoever we are, this is where we get to brag about our accomplishments in writing this book.

## List of major contributors

* Dysprosia (Contributions)
* Martin Krischik Learning the vi Editor/Vim (Contributions)
* N.N.(anonymous): The advanced/Power User/Extra Details part (Learning the vi Editor/Details) - whatever it is currently called .
* Others (add your name and description if you made a major contribution)
* Various anonymous persons
* Learning the vi Editor:
* Getting acquainted —
* Basic tasks —
* Making your work easier —
* Advanced tasks —
* Details —
* Vi clones
* (Vim –
* Basic navigation –
* Modes –
* Tips and Tricks –
* Useful things for programmers to know –
* Enhancing Vim –
* Vim on Windows –
* VimL Script language,
* Vile,
* BB vi) —
* vi Reference
# Minecraft resource gathering/Ice

Ice occurs naturally in frozen biomes. It is automatically formed in these biomes when water freezes. To collect it, a pickaxe enchanted with Silk Touch is required. Mining it with any other tool will drop nothing and turn the ice into water. Any tier of pickaxe can be used, as long as it has the Silk Touch enchant.
# Minecraft resource gathering/Meat
## Acquiring meat

To get meat, craft a weapon and kill an animal. The recommended weapon to craft is a sword, but you can also use a bow and arrow if you would like to practice archery. Theoretically you can punch using any tool, item, or even with your bare hand, however a sword is recommended because it deals more damage, meaning you need less hits to kill the animal.
Food drops :
| Animal | Droped food | About the food and other tips | Other drops |
| Cow | Raw beef | Can be cooked. | Leather, milk can be obtained by using an empty bucket on it |
| Sheep | Raw mutton | Can be cooked. Consider shearing the sheep first if you can. | Wool |
| Chicken | Raw chicken | Can be cooked. Poisonous if uncooked. | Feathers. 1 Egg laid every 5 minutes if kept alive. |
| Pig | Raw porkchop | Can be cooked. | None |
| Rabbit | Raw rabbit | Can be cooked. Consider killing rabbits with a bow at a distance to avoid detection. They are a pain to kill | Rabbit's hide, rabbit's foot |

## Cooking meat

To cook meat, put it an a furnace or a smoker (for half the exp. points and half the time) with fuel, like coal or charcoal. Cooked meat restores a lot more hunger than raw meat, making it the preferred choice for consumption at a base or settlement, or when preparing for a journey.
It is still possible to eat raw meat in Minecraft for a slight hunger reduction, and this is common when players are on the go and need to eat something immediately (Presuming they are out of superior provisions). This is also fairly common in the early game, when players may not have furnace access. Players are not penalized for eating meat raw, unless that meat is raw chicken, then they will get food poisoning.

## Real life inspiration

In real life, any undercooked or raw meat has an increased chance of carrying a food-borne illness. However raw chicken commonly carries the disease Salmonella, and so cooking chicken thoroughly to kill the disease is especially important, which is reflected in Minecraft.
# Minecraft resource gathering/Mob Loot

You can get various types of mob loot. Here is a table showing the mob loot.
Overworld mobs :
| Name | Drops |
| Creeper | Gunpowder |
| Zombie | Rotten Flesh, Iron (rarely), Equipped gear (rarely) |
| Skeleton | Bones, Arrows, Equipped gear (rarely) |
| Spider | Spider Eye, String |
| Witch | Stick, Spider Eye, Gunpowder, Redstone, Sugar, Potion (if drinking one at the moment of death) |
| Phantom | Phantom membrane |
| Pillager | Arrows, Emeralds, Crossbow (rarely) |
| Illager | Emeralds, Iron Axe (rarely) |
| Evoker | Emeralds, Totem of Undying |
| Guardian | Prismarine Shards, Prismarine Crystals, Fish |
| Elder Guardian | Prismarine Shards, Prismarine Crystals, Fish, Wet Sponge |
# Minecraft resource gathering/Nether Quartz

You find Nether Quartz in the Nether. You can mine it with any pickaxe.
# Minecraft resource gathering/Iron

Iron can be found at any level in Minecraft and can be mined with stone-tier pickaxes or higher.

## Obtaining

Iron ore naturally occurs in ore veins at any level of the Overworld. It drops raw iron (ever since the "Caves and Cliffs" update. Otherwise, it drops Iron Ore), which can be smelted into Iron Ingots; Silk Touch is required to obtain iron ore after the Caves and Cliffs update. Blocks of raw iron can rarely be found in ore veins in deep caverns.
Iron golems drop 3–5 Iron Ingots when killed. Zombies have a very small chance of dropping a single Iron Ingot.
Iron Ingots can be found as chest loot for dungeons, abandoned mineshafts, bastion remnants, buried treasure, desert temples, End cities, jungle temples, Nether fortresses, pillager outposts, shipwrecks, strongholds, village toolsmiths, village armorers, village weaponsmiths, and woodland mansions. Iron Nuggets can be found as chest loot for bastion remnants, ruined portals, shipwrecks, and taiga village houses. Blocks of iron can be found as chest loot for bastion remnants.

## Usage

Iron is mainly used to craft tools and armor.
# Minecraft resource gathering/Lapis Lazuli

You can find lapis lazuli at levels 32 or below, and you must mine it with an stone-tier or higher pickaxe.
# Minecraft resource gathering/Honey
## Acquisition methods

To get honey, first craft a campfire, place it under a bee hive/nest. Then right click the hive/nest with a glass bottle to get honey. If you collect honey without placing a campfire, all nearby bees will attack you.

## Use

Honey can remove the poison status effect when drank, but keeps other effects untouched.
You can combine 4 honey bottles into a single honey block. This block may be crafted back into 4 bottles. Honey blocks slow you down, half jump height and reduce fall damage by 80%. Fall speed is decreased if you slide on one, and allow you to stand in the same block as it in the way chests do.
# Minecraft resource gathering/Gold

Gold can be found in Minecraft at levels 32 or below, or at any level in Mesa biomes. It can be mined with a stone pickaxe or higher.
# Minecraft resource gathering/Gunpowder
## Obtaining

Gunpowder can sometimes be obtained by killing creepers or ghasts. They can also commonly be found in chests in desert temples. Desert temples are a semi rare structure that generates in the dest biome. Desert temples can be lotted by breaking any of the 9 blocks in the center, but have a pressure plate at the bottom that detonates 9 TNT which will almost always result in the player's death.

## Uses

5 Gunpowder and 4 sand can be used to craft TNT. 1 gunpowder and 1 paper can be used to craft fireworks which can be used to boost your elytra.
# Java Programming/Concurrent Programming

* Topics:
* Preface
* Getting started
* Language fundamentals
* Classes and objects
* Aggregate
* Exceptions
* Concurrent Programming
* Javadoc & Annotations
* Designing user interfaces
* Advanced topics
* Navigate Concurrent Programming topic: ( v • d • e )
* Threads and Runnables
* Basic Synchronization
* Client Server Programming
* Remote Method Invocation (RMI)
* Enterprise JavaBean Programming (EJB)
* Java Spaces Programming (Jini)
In computer programming, an application program runs in a certain process of the CPU. Every statement that is then executed within the program is actually being executed in that process. In essence, when a statement is being executed, the CPU focuses all its attention on that particular statement and for the tiniest fraction of a second puts everything else on hold. After executing that statement, the CPU executes the next statement and so forth.
But consider for a moment that the execution of a particular statement is expected to take a considerable amount of time. You do not want to keep the CPU on halt until the statement gets executed and done with; you would want the CPU to continue with some other application process and resume the current application as smoothly as possible after its statement is executed. It can only be possible if you can run several processes simultaneously, such that when one process is executing a statement that is expected to take some time, another process in the queue would continue doing other things and so on. Such a principle of programming is called concurrent programming.
Throughout this chapter, we will be taking a look at concurrent programming constructs present in the Java programming language.
# Java Programming/Coding conventions

* Navigate Language Fundamentals topic: ( v • d • e )
* Statements
* Conditional blocks
* Loop blocks
* Boolean expressions
* Variables
* Primitive Types
* Arithmetic expressions
* Literals
* Methods
* String
* Objects
* Packages
* Arrays
* Mathematical functions
* Large numbers
* Random numbers
* Unicode
* Comments
* Keywords
* Coding conventions
* Lambda expressions
The Java code conventions are defined by Oracle in the coding conventions document. In short, these conventions ask the user to use camel case when defining classes, methods, or variables. Classes start with a capital letter and should be nouns, like CalendarDialogView. For methods, the names should be verbs in imperative form, like getBrakeSystemType, and should start with a lowercase letter.
It is important to get used to and follow coding conventions, so that code written by multiple programmers will appear the same. Projects may re-define the standard code conventions to better fit their needs. Examples include a list of allowed abbreviations, as these can often make the code difficult to understand for other designers. Documentation should always accompany code.
One example from the coding conventions is how to define a constant. Constants should be written with capital letters in Java, where the words are separated by an underscore ('_') character. In the Java coding conventions, a constant is a static final field in a class.
The reason for this diversion is that Java discerns between "simple" and "complex" types. These will be handled in detail in the following sections. An example for a simple type is the byte type. An example for a complex type is a class. A subset of the complex types are classes that cannot be modified after creation, like a String, which is a concatenation of characters.
For instance, consider the following "constants":
# Java Programming/Contributors

* Navigate Project Page topic: ( v • d • e )
* Recent changes
* If you have questions related to Java
* If you are interested in editing this book
* How to format the content
* Who is contributing
* Traffic
Here is a list of at least some of the contributors to the Java Programming Wikibook.
* Arun Reginald
* Cooper Erik Clauson
* David Biesack
* Ervinn
* Eswar Kishore
* MattyLaws
* Rappo
* Gautam Savaliya
* Sundar22in
* Fabrice TIERCELIN
* ZeroOne
Though, there have been a lot of edits to the Wikibook using anonymous IP addresses, we thank the ones that positively added content and posted feedback for the book.
# Non-nerd's Guide to Computers/About
## The Non-nerd's Guide to Computers book guarantees that

* By the end of reading this text, you will know enough about computers to be considered a nerd, and
* You will be able to understand everything in this book, thanks to analogies and examples!

### About "Explanation Entries"

If there is something regular people would not understand in this book, it is usually followed by (some explanation of definition).

## Contributors to this book include

* CherryT 22:07, 6 March 2006 (UTC)
* Christopher Woods, from the 24th of August 2011
* Heimerslinger, from the 28th of November, 2023

## Improving the Wikibook

If you feel that this book needs help and you would like to contribute: by all means, edit it! We need all the help we can get so don't be afraid to change things!
# Non-nerd's Guide to Computers/lin

Linux (/ˈlɪnʊks/ LIN-uuks) is a family of open-source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991, by Linus Torvalds, and developed under the GNU General Public License.
There are Linux-based operating systems meant for both server use as well as personal computers, embedded computing devices, and mobile phones. Because of its stability, it is often used on servers and mission critical systems. Due to the presence of many free Linux-based operating systems, they are often preferred in situations where licensing costs for other operating systems may be cost-prohibitive.
For a more complete reference, read more at the Linux wikipedia page.

## Terminology

There is some controversy on the proper way to refer to an operating system running on the Linux kernel.
The combination of GNU software and Linux can be referred to as the "GNU/Linux" operating system, but these operating systems are also frequently referred to simply as "Linux".
There are multiple different ways to refer to these operating systems, which will be listed below, to demonstrate that each of the following items may be referring to the same thing (ignoring some specific differentiating details), an operating system running on the Linux kernel:
* Linux operating systems
* GNU/Linux - The combination of GNU software and Linux
* Linux-based operating systems
* Linux 'Distributions' - Named Linux operating systems

## GNU Software on Linux

GNU is an extensive collection of free software (385 packages as of September 2023), which can be used as an operating system or can be used in parts with other operating systems. The use of the completed GNU tools led to the family of operating systems popularly known as Linux. Most of GNU is licensed under the GNU Project's own General Public License (GPL).
The GNU Project was created by Richard Stallman to develop a Unix-like "free" operating system — software which respects its users freedoms. Unix-like operating systems comprise software collections of applications, libraries, and programmer/developer tools, all overlaid on a "kernel" - the program that allocates resources and communicates with the hardware.
# Non-Programmer’s Tutorial for Python 3/Print version

Pint("Hello")