OpenLLM-France/wikimedia huggingface dataset:
# Simulation with AnyLogic/Discrete Event Simulation/Ophthalmology Department Model/Step 7. Running the model
## Step 7. Running the Model

Build your model by clicking the Build Model toolbar button. If there are some errors in your model, the building fails and the Problems view appears listing all the errors found in your model. Double-click an error in the list to open the location of the error and fix it.
After the model is successfully built, you can start it. Running the simulation, you automatically bring the current model up to date.
Start the model
* Click the Run toolbar button and choose the experiment you want to run from the drop-down list. Your simulation experiment is called Ophthalmology Department/Simulation. In the case this model is the only one opened in the workspace at the moment you will be prompted to run this particular experiment. Later on this button will start the previously run experiment. To run any other experiment, right-click the experiment in the Project view and choose Run from the context menu.
* Having started the model, you will see the presentation window. It displays the presentation designed for your simulation experiment.
* Click the button to Run the model and switch to Main view and observe the process you have modeled. You can see that the model behaves correct: patients arrive at the waiting room, then go to the first procedure room and after some time leave the ophthalmology department.
* You can adjust the execution speed to your needs using Slow down and Speed up toolbar buttons.
# Simulation with AnyLogic/Discrete Event Simulation/Ophthalmology Department Model/Step 9. Calling a doctor
## Step 9. Calling a Doctor

Now we will complete our model definition by modeling how ophthalmologist is called to perform the examination. Ophthalmologist picks an ophthalmoscope from the storage room on his way to patient, and returns it back after the procedure.
Modify the flowchart
* Modify the properties of the networkSeize object. We want this object to seize a doctor and an ophthalmoscope as well. Type {procRoom, doctor, scope} in the List of resources property.
* Modify the flowchart. Insert the objects indicated in the figure below:
* Modify the properties of the sendToStorage NetworkSendTo object. NetworkSendTo block sends (moves) network resources from their current location(s) to a new location. In our case we want to send seized doctor to the storage room to take the seized scope. Set the following object properties:
** Specify the list of resources this block will send. Type {doctor} in the Resources to send property.
** Specify that resources will move to the Seized resource unit.
** Specify the name of the seized resource, which location will play a role of destination node. Type scope in the Resource field.
* Modify the properties of the sendToPatient NetworkSendTo object. This block moves a doctor with a scope to a patient awaiting for the doctor in the waiting hall. Set the following object properties:
** Specify the list of resources this block will send. Type {doctor, scope} in the Resources to send property.
** Specify that resources will move to the Entity.
* Modify properties of the NetworkAttach object. This block attaches the specified seized network resources to the entity. The result is that they will move together with the entity (escort the entity) until they are detached or released. The resources being attached must be already seized and located in the same node as the entity. We want this block to attach a doctor with a scope to a patient so that patients wil move to the procedure room escorted by doctors. Set the following object properties:
** Choose All seized non-static resources at entity location option.
* Modify properties of the NetworkDetach object. This block detaches the previously seized and attached network resources from the entity. The detached resource units will still be possessed by the etitity but will not accompany it when the entity moves. Set the following object properties:
** Choose All attached resources option.
* Modify the properties of the returnScope NetworkSendTo object. We use this block to model how doctors return scopes to the storage room after the examination is completed. Set the following object properties:
** Specify the list of resources this block will send. Type {doctor, scope} in the Resources to send property.
** Specify that resources will move to the Specified node.
** Specify the name of the node where the resources should move. Type storageRoom in the Node field.
We have finished creating our model of the ophthalmology department. Run the model. Now you can see the doctors coming with ophthalmoscopes to perform the patient examination.
# Simulation with AnyLogic/Pedestrian Simulation/Step 1. Creating a new model
## Step 1. Creating a New Model

First, we will create a new model.
Create a new model
* Click the New toolbar button. The New Model dialog box is displayed.
* Specify the name of the model. In the Model name edit box, type Subway Entrance.
* Specify the location where you want to store your model file. Browse for the existing folder using the Browse button, or type the name of the folder you want to create in the Location edit box.
* Click Next. This will open the next page of the New Model wizard. Here you can choose, whether you want to start creating a new model from scratch, or to use a model template as a starting point in model development. Since we want to explain you the whole process of creating a model in details, we will not use a template, but will create our model from scratch.
* Click Finish to complete the process.
New model is created. It already has one active object class called Main and experiment called Simulation. Active objects are the main building blocks of AnyLogic model. They can be used to model very diverse objects of the real world.
In the center of the workspace you will see the graphical editor. It shows the diagram of the Main class. By default it does not contain any elements.
To the left of the graphical editor you can see the Project view. The Project view provides access to AnyLogic models currently opened in the workspace. The workspace tree provides easy navigation throughout the models.
On the right side of the workspace you can see the Palette view, and at the bottom - the Properties view. The Palette view simplifies the process of drawing diagrams, providing the list of model elements grouped by categories in a number of stencils. The Properties view is used to view and modify the properties of a currently selected model item(s). When you select something – e.g., in the Project view or in a graphical editor – the Properties view displays the properties of the selection.
When working with a model, do not forget to save it by clicking Save .
# Simulation with AnyLogic/Pedestrian Simulation
## Pedestrian Simulation

AnyLogic provides the Pedestrian Library, a higher-level library for simulating pedestrian flows in “physical” environment. It allows creating models of pedestrian buildings (like subway stations, security checks, etc.) or streets (big number of pedestrians). The Pedestrian Library allows you to create flexible models, collect basic and advanced statistics, and effectively visualize the process you are modeling to validate and present your model. You may collect statistics on pedestrian density in different areas, to assure acceptable performance of service points with hypothetic load, estimate lengths of stay in specific areas, detect potential problems with interior geometry – effect of adding obstacles and many other applications. In models created with Pedestrian Library, pedestrians move in continuous space, reacting on different kinds of obstacles (walls, different kinds of areas) and other pedestrians.
In this tutorial you will learn how to create models with Pedestrian Library. We will create a simple illustrative example of subway entrance . This model demonstrates how to simulate simple pedestrian flow and services using AnyLogic Pedestrian Library
Note that there is a reference model Subway Entrance available representing the milestones of the editing. You can use it if you experience any difficulties creating a model and you would like to compare your model with the reference file. Use Sample Models page of the Welcome page to open this example.
Please refer to Pedestrian Library Reference Guide for more information about Pedestrian Library blocks and their functions and parameters.
You can run this model online.

### Subway Entrance Model

* Step 1. Creating a new model
* Step 2. Creating a model animation
* Step 3. Adding a passenger flow
* Step 4. Configuring the simulation
* Step 5. Running the model
* Step 6. Adding ticket control gates
* Step 7. Changing passenger arrival rate interactively
* Step 8. Adding ticket windows
# Ukrainian Dancing/Podillia
## Sections

* Basic and Common Steps
    This section identifies steps that form the foundation of this regional style of dance, and which may be performed by both men and women (boys and girls).
* Steps for Men and Boys
    This section identifies steps that are only performed by men and boys.
* Steps for Women and Girls
    This section identifies steps that are only performed by women and girls.
* Steps for Couples or Groups
    This section identifies steps that require two or more dancers.
* Sample Choreography
    This section provides sample choreography which may be used by dance groups wishing to perform a dance that is characteristic of this region.
# Ukrainian Dancing/Volyn

The dance of Volyn is characterized by energetic jumping and kicking.

## Sections

* Basic and Common Steps
    This section identifies steps that form the foundation of this regional style of dance, and which may be performed by both men and women (boys and girls).
* Steps for Men and Boys
    This section identifies steps that are only performed by men and boys.
* Steps for Women and Girls
    This section identifies steps that are only performed by women and girls.
* Steps for Couples or Groups
    This section identifies steps that require two or more dancers.
* Sample Choreography
    This section provides sample choreography which may be used by dance groups wishing to perform a dance that is characteristic of this region.
# Ukrainian Dancing/Template:Steps
## Ukrainian Name of Step or English name of Step

| Ukrainian Name | Enter the Ukrainian name for the step here, as written in the Roman alphabet. If a single step has multiple Ukrainian names, list all of them. |
| Cyrillic | Enter the name or names of the step as written in the Cyrillic alphabet. |
| English Name | Enter the English language name for the step. If a single step has multiple English names, list all of them. If Ballet terms are used to describe a step, include them here. |
| Direction of the Step | Identify if the step is Stationary (performed on one spot), travelling, or turning. |
| Music | Indicate the number of beats or bars that are used to perform the step, and indicate the count. |
| Opening Position | Indicate the position of hands and feet at the beginning of the step. |
# Ukrainian Dancing/Index

1-2-3 (Hutzul style, travelling) 1-2-3 (stationary) 1-2-3 (travelling) 1-2-Front 1-2-side

## B

Back-kick Back-step Basic Step (stationary) Basic Step (travelling) Bihunets Bihunets (Hutzul)

## C

Clicks Cross-kick

## D

Dorizhka Dorizhka-nazad Dorizhka v Povoroti (quarter turns)

## F

Figure Fours

## H

Half Turns Heels Holubchyks Holubtsi Hops Hutzul 1-2-3 Hutzul Bihunets

## K

Kicks (standing) Knee-kick Kolommyikovyi Pidskok

## L

Little Step

## M

Merezhka

## N

Nacok-Kabluk

## 0

Oberty, see
* Dorizhka v Povoroti (quarter turns)
* Hops (in a turn)
Half Turns
* Kolommyikovyi Pidskok (in a turn)
* Quarter Turns (Central Region)
* Toe-Heel - turning

## P

Pereminniy Krok Plain Step (stationary) Plain Step (travelling) Pletenna Pokhid Skladniy Pokhid Skladniy (travelling) Pokhid Tankoviy Skladaniy Pokhid Tankoviy Skladniy Potriinyi Prytup Potriyniy Krok Prepadanya Prysyadka-Heels Prysyadka Na Kabluky Prysyadka Roznizhka Prysyadka with leg bent in front Prysyadka Zvychayna Prytup

## Q

Quarter Turns

## S

Side-step Stamp Stamp-Kick Stationary Steps, see
* 1-2-Front
* Back-kick
* Back-step
* Clicks<
* Cross-kick
* Dorizhka-nazad
* Holubtsi
* Hops
* Kicks
* Knee-kick
* Kolommyikovyi Pidskok
* Merezhka
* Pletenna
* Pokhid Skladniy
* Potriinyi Prytup
* Prytup
* Stamp
* Quarter Turns
* Toe-Heel
* Stamp-Kick
* Triple Stamp
* Triple Step
* Prysyadka-Heels
* Prysyadka Roznizhka
* Prysyadka with leg bent in front
* Prysyadka Zvychayna
* Touch-Point
* Tynok
* Uhynannya
* Vidryvanka Zvychaina
* Viryovochka
* Vykhyliasnyk
* Vypad

## T

Toe-Heel Toe-Heel - turning Touch-Point Travelling Steps, see
* 1-2-Front
* Back-step
* Bihunets
* Bihunets (Hutzul)
* Clicks
* Dorizhka
* Dorizhka-nazad
* Holubtsi
* Hops
* Kicks (standing)
* Kolommyikovyi Pidskok
* Little Step
* Pletenna
* Prepadanya
* Side-step
* Stamp-Kick
* Triple Step
* Touch-Point
* Tynok
* Vidryvanka Zvychaina
* Viryovochka
* Vypad
Triple Stamp Triple Step (stationary) Triple Step (travelling) Touch-Point Turns, see
* Dorizhka v Povoroti (quarter turns)
* Hops (in a turn)
* Half Turns
* Kolommyikovyi Pidskok (in a turn)
* Quarter Turns (Central Region)
* Toe-Heel - turning
Tynok

## U

Uhynannya

## V

Vidryvanka Zvychaina Viryovochka Vykhyliasnyk Vypad
# Ukrainian Dancing/Lemkivshchyna
## Sections

* Basic and Common Steps
    This section identifies steps that form the foundation of this regional style of dance, and which may be performed by both men and women (boys and girls).
* Steps for Men and Boys
    This section identifies steps that are only performed by men and boys.
* Steps for Women and Girls
    This section identifies steps that are only performed by women and girls.
* Steps for Couples or Groups
    This section identifies steps that require two or more dancers.
* Sample Choreography
    This section provides sample choreography which may be used by dance groups wishing to perform a dance that is characteristic of this region.
# Ukrainian Dancing/Other Resources
## Ukrainian Dance - English

Shatulsky, Myron. The Ukrainian Folk Dance. Edmonton: Kobzar Publishing, 1980.
Zerebecky, Bohdan. Cultural Information Package: Malanka (The Celebration of New Year's Eve). Ukrainian Dance Resource Booklet, Series II, Volume 4. Saskatoon, SK: Ukrainian Canadian Congress, Saskatchewan Provincial Council, 1989.
–––––. Cultural Information Package: Obzhynky (The Celebration of the Harvest). Ukrainian Dance Resource Booklet, Series II, Volume 3. Saskatoon, SK: Ukrainian Canadian Congress, Saskatchewan Provincial Council, 1989.
–––––. Folk Dances of Bukovyna. Ukrainian Dance Resource Booklet, Series IV, Volume 2. Saskatoon, SK: Ukrainian Canadian Congress, Saskatchewan Provincial Council, 1989.
–––––. Folk Dances of Hutsulshchyna. Ukrainian Dance Resource Booklet, Series IV, Volume 1. Saskatoon, SK: Ukrainian Canadian Congress, Saskatchewan Provincial Council, 1989.
–––––. Folk Dances of Zakarpattia. Ukrainian Dance Resource Booklet, Series IV, Volume 3. Saskatoon, SK: Ukrainian Canadian Congress, Saskatchewan Provincial Council, 1989.
–––––. The Origins and Development of the Basic Movements and Patterns of Ukrainian Dance. Ukrainian Dance Resource Booklet, Series I, Volume 2. Second Revised Edition. Saskatoon, SK: Ukrainian Canadian Congress, Saskatchewan Provincial Council, 1986.
–––––. A Record of the Basic Movements of Ukrainian Dance: Part I - The Central Region. Ukrainian Dance Resource Booklet, Series I, Volume 3. Second Revised Edition. Saskatoon, SK: Ukrainian Canadian Congress, Saskatchewan Provincial Council, 1986.
–––––. A Record of the Basic Movements of Ukrainian Dance: Part II - The Western Regions (Hutsulshchyna, Bukovyna, Zakarpattia). Ukrainian Dance Resource Booklet, Series II, Volume 1. Saskatoon, SK: Ukrainian Canadian Congress, Saskatchewan Provincial Council, 1986.
–––––. A Record of Three Ukrainian Dancers. Ukrainian Dance Resource Booklet, Series I, Volume 4. Second Revised Edition. Saskatoon, SK: Ukrainian Canadian Congress, Saskatchewan Provincial Council, 1986.
–––––. A Survey of the History of Ukrainian Dance. Ukrainian Dance Resource Booklet, Series I, Volume 1. Second Revised Edition. Saskatoon, SK: Ukrainian Canadian Congress, Saskatchewan Provincial Council, 1986.
–––––. Ukrainian Dance Curriculum and Tteacher's Guide. Ukrainian Dance Resource Booklet, Series III. Saskatoon, SK: Ukrainian Canadian Congress, Saskatchewan Provincial Council, 1988.
–––––. Ukrainian Folk Dance Choreography. Ukrainian Dance Resource Booklet, Series II, Volume 2. Saskatoon, SK: Ukrainian Canadian Congress, Saskatchewan Provincial Council, 1986.

## Websites

Alberta Ukrainian Dance Association.
Dance.net - Ukrainian Dancing discussion forum.
UkrainianDance: The Ukrainian Dancer's Website..
# Ukrainian Dancing/Polissia

Polissia borders Volyn, and the dances share many of the energetic qualities of the Volyn region.

## Sections

* Basic and Common Steps
    This section identifies steps that form the foundation of this regional style of dance, and which may be performed by both men and women (boys and girls).
* Steps for Men and Boys
    This section identifies steps that are only performed by men and boys.
* Steps for Women and Girls
    This section identifies steps that are only performed by women and girls.
* Steps for Couples or Groups
    This section identifies steps that require two or more dancers.
* Sample Choreography
    This section provides sample choreography which may be used by dance groups wishing to perform a dance that is characteristic of this region.
# Ukrainian Dancing/Hutzulshchyna

The dance of Hutzulshchyna is characterized by sharp, vertically oriented steps. Hutzulshchyna is a mountainous region, and the steps reflect the vertical, enclosed landscape.

## Sections

* Basic and Common Steps
    This section identifies steps that form the foundation of this regional style of dance, and which may be performed by both men and women (boys and girls).
* Steps for Men and Boys
    This section identifies steps that are only performed by men and boys.
* Steps for Women and Girls
    This section identifies steps that are only performed by women and girls.
* Steps for Couples or Groups
    This section identifies steps that require two or more dancers.
* Sample Choreography
    This section provides sample choreography which may be used by dance groups wishing to perform a dance that is characteristic of this region.
# Ukrainian Dancing/Hutzulshchyna/Basic and Common Steps

To add to this page, go to Template:Steps. Click on edit this page, and then highlight and copy the entire template. Return to this page and click on edit this page. Go to the end of the page and paste the template. Update the template with your description of the steps.

## Kolomyikovyi Pidskok or Hops

| Ukrainian Name | Kolomyikovyi Pidskok |
| Cyrillic | |
| English Name | Hops; Hopping |
| Direction of the Step | Stationary or Travelling (sideways) |
| Music | One step per beat. Count is 1-and |
| Opening Position | Sixth position. Step is performed on the balls of both feet. |

### Description

* Before the first beat, hop on the left foot and raise the right foot so that it is next to the left knee, toes pointed downward.
* On one, hop on the left foot and lower the right foot so that the ball of the right foot is touching the ground, next to the left foot.
* On and, hop on the left foot and raise the right foot so that it is next to the left knee, toes pointed downward.
Repeat on the next beat.
The step may also be performed to the left side, reversing the working and supporting legs.
The step may be performed stationary, while travelling sideways, or turning. When travelling, the dancer moves in the direction of the working foot, and away from the supporting leg. When turning, the dancer turns in the direction of the working leg, pivoting on the supporting leg (i.e. when turning to the right, the right foot is raised.

## Bihunets (Hutzul) or Hutzul 1-2-3

| Ukrainian Name | Bihunets |
| Cyrillic | |
| English Name | Hutzul 1-2-3; Hutzul plain step |
| Direction of the Step | Travelling |
| Music | One step per beat. Count is 1-and-2 pause or 1-2-3 |
| Opening Position | Sixth position. Step is performed on the balls of both feet. |

### Description

* On one, hop forward onto the ball of the right foot.
* On two, hop onto the left foot, bringing the left foot next to the right foot.
* On three, hop forward onto the right foot, bending the left knee back and bringing the left foot up at least parallel to the floor. The left foot should be pointed. Knees are kept together, and the left leg is raised behind the dancer.
Repeat to the other side, starting by hopping onto the left foot.
# Ukrainian Dancing/Volyn/Steps for Men and Boys

Boys do high kicks and lots of running (moving quickly along the stage while lifting feet high off ground). Keeping toes pointed is very important for the males. When doing the dance as a group they must try to keep time with the females. Showing off is the males favorite past time. Third and sixth positions are used the most.
# Umbraco/Various useful XSLT methods in Umbraco
## The basics of using XSLT in Umbraco

Creating a variable:
Variables a after this referenced using $myVarName (prefix with $)
Outputting a value:
Expressions:
Converting to string:
Converting to number:
If test:
Choose test:
Loop all nodes from root and down of a certain doc-type (this example includes sorting on a field in this doc-type):
Get a node name from the first parent node of a certain doc-type:
(Since the Umbraco 4.5 Schema, @nodeTypeAlias is no longer used) - for versions 4.5 and above, use:
Details of the change from using @nodeTypeAlias are here: http://our.umbraco.org/wiki/reference/xslt/45-xml-schema/no-more-@nodetypealias
Get an attribute value from the first parent node that has a certain doc-type:
Limit a for-each loop to run only five times (if position <= 5) (REMEMBER in XSLT the '<' sign must be written as '&lt;' !) :
Loops first five descendents of current node.
Get attribute value from a current node in a loop:
Creating a template with two parameters:
Calling a template:
Get a parameter from a macro
# Umbraco/library
## Umbraco.library

* GetMedia
# Umbraco/Samples and Articles/XSLT/Sitemap

You could use the following XSLT to create a sitemap
# Umbraco/Samples and Articles/XSLT/Print Entire XML Document

It is sometimes difficult to understand where your Xslt logic has gone wrong when you can't actually get a big picture view of the Xml structure that is being sent to your XSLT file. This Xslt macro will provide a tabular printout of the entire XML tree as seen by $currentPage. This macro will output the entire Xml tree of your website so be careful when you use this. I found this macro to be of great help trying to get started with XSLT processing in Umbraco.
# Understanding Air Safety in the Jet Age/Being a Survivor

Survival factors:
* Do your research before you book. Airlines going through a financial crunch may skimp on maintenance. Some regulators are a lighter touch than others - if the airline you've chosen is banned from flying in the EU or the US, perhaps you should choose another one.
* Choose your seat carefully.
* Listen to the safety instructions and make sure you know where the nearest exits are. All of them as the closest may be unavailable.
* If something seems wrong, speak up. Several accidents could have been avoided if passengers had told the cabin crew about a problem.
* Dress appropriately. Artificial fibres are far worse in a fire than natural fibres. The clothes you would have on the ground in an emergency are the clothes on your back, not in your luggage, so wear something generally appropriate for the region you are flying. Unnatural colors help others find you.
* When emergency oxygen masks fall, always put your own mask on first, then help nearby passengers. If you pass out yourself you aren't helping anyone, but once you have oxygen you can continue to assist others.
* When asked to stow away items, do so quickly and securely.
* Have a plan that you've mentally rehearsed. It will help you overcome shock and act quicker.