OpenLLM-France/wikimedia huggingface dataset:
# The Legend of Zelda: Link's Awakening/Characters/Nightmares

The Wind Fish's nightmares, are the primary antagonists of The Legend of Zelda: Link's Awakening, part of the Legend of Zelda series. They are a group of shadows haunting the Wind Fish's dreams. Link, protagonist of the game, was to defeat the nightmares to escape from Koholint Island. Each Nightmare (save for Dethl) held an instrument needed to wake the Wind Fish.
The term "Wind Fish's nightmares" often refers to the collective dungeon bosses that inhabit the game, the end boss is often called the Final Nightmare or Dethl.

## Dethl

Whether or not the Final Nightmare is one being or a group of beings is unclear and subject to dispute, but they are all uniform black, save for one or more green-tinted eye(s). The only original being that appears is Dethl, and that is the name that the nightmares (collectively or as a single entity) are often addressed as. Regardless, the Final Nightmare is the end boss of the game and is implied to be responsible for plunging the Wind Fish into an eternal nightmare.
The Final Nightmare represents the most evil and terrifying entities that haunt the dreams of the Windfish. Also, a tap into Link's mind is demonstrated by the Nightmare taking the form of several of Link's previous enemies and a final form which bears the name Dethl. It bears a slight resemblance to Vaati (a reoccurring villain of the series).

## Powers and abilities

The nightmares reflect previous enemies: Agahnim, Ganon, Moldorm, Lanmola, as well as a giant blob and Dethl, a creature with long arms and one giant eye. They possess the same powers as the actual beings they reflect: Ganon's Shadow uses a trident and fire, Agahnim's Shadow uses magic, Moldorm's Shadow charges after Link, and Lanmola's Shadow burrows and emerges from the ground. The giant blob just attacks Link, and Dethl spins its long arms around and attacks Link.
Dethl's weak spot is its large eye, which can be effected by arrow shots, or, if the player acquired it, one direct hit from the boomerang item.
# The Legend of Zelda: Link's Awakening/Controls

| Action | Game Boy | Nintendo 3DS |
| Move Navigate inventory | D-Pad | D-Pad |
| Interact Item Box A | A | A |
| Item Box B | B | b |
| View map | Select | Select or Y |
| Open inventory | Start | Start |
| Save menu | A + B + Start + Select | A + B + Start + Select |
# The Legend of Zelda: Link's Awakening/Introduction

The Legend of Zelda: Link's Awakening (Zelda no Densetsu: Yume o Miru Shima in Japan, lit. "The Legend of Zelda: Dreaming Island") is the fourth installment of The Legend of Zelda series and their first handheld installment. It was released in Japan on June 6, 1993 and arrived in North America in August 1993. The game was directed by Takashi Tezuka, with supervision from Shigeru Miyamoto.
In 1998, Nintendo needed a title to release alongside their latest handheld device, the Game Boy Color. The Legend of Zelda: Link's Awakening is one of several titles that was given a colorized "DX" overhaul to help promote sales. The Legend of Zelda: Link's Awakening DX was more than a simple cash-in; it not only introduced vibrant color and fixed many of the original's glitches, it also included the brand-new Color Dungeon with puzzles centering around the use of color, as well as collectible Photographs compatible with the Game Boy Printer. This time around, Tezuka acted as project supervisor, and Yoshinori Tutiyama as director. It was released in Japan on December 12, 1998 and in America three days later, on December 15. An enhanced remake of the game was released for the Nintendo Switch on September 20, 2019.
The Legend of Zelda: Link's Awakening received some criticism for abandoning the traditional setting of Hyrule, but was still a solid success. Unlike his past adventures, this time around Link washes up on a mysterious island, and is awakened by a girl who resembles Princess Zelda. The game retains the top-down perspective employed in The Legend of Zelda and The Legend of Zelda: A Link to the Past, as well as a number of mechanics from the latter.
# The Legend of Zelda: Link's Awakening/Items
## Item List

* Bomb
* Boomerang
* Bow
* Fairy Bottle (Switch)
* Hookshot
* Koholint Sword
* Magic Powder
* Magical Rod
* Mirror Shield
* Ocarina
* Pegasus Boots
* Power Bracelet
* Powerful Bracelet
* Roc's Feather
* Shovel
* Sword

## Dungeon Items

Each dungeon has the following items.
| Name | Description |
| Compass | Reveals treasure chests on the map. |
| Map | Shows every room of the dungeon including ones that have not been visited. |
| Stone Slab Fragment Stone Beak (DX, Switch) | Gives hints when placed on a stone slab / owl statue. |
| Nightmare Key | Unlocks door leading to the boss. |
| Small Key | Unlocks locked doors and blocks. Consumed on use. |
| Heart Container | Rewarded after beating the boss. Increases Link's maximum health by one heart. |

## Keys

* Name
* Tail Key
* Slime Key
* Angler Key
* Face Key
* Bird Key

## Rupees

Rupees are the main currency and have different values based on the color.

### Switch

* Green 1
* Blue 5
* Red 20
* Purple 50
* Silver 100
* Gold 300
# The Legend of Zelda: Link's Awakening/Gameplay

In Legend of Zelda: Link's Awakening you control a hero, Link, in a quest across the fantasy world of Hyrule. During the game, Link can progressively acquire several weapons and armors, but also many other items and a wide array of spells.
Link's Awakening is an action-adventure video game, but it's often considered also a role-playing video game. Specifically, it belongs to the sub-genre of action-RPVGs (Action Role Playing Video Game).
Three aspects that can define the genre of RPGs are listed here, and they apply to Link's Awakening as well:
* Text is an essential part of the game, and the characters have to talk and interact with non-evil characters to proceed in the adventure;
* There are permanent upgrades, in the form of enhancements of the various attributes of the characters (attack, strength, magic etc.);
* There is freedom of exploration, all the areas are connected by an "overworld", and areas that have been previously cleared can usually be re-visited; in other words, the game is non-linear.
Older Japanese-style RPVGs (focused more on the plot) and American-style RPVGs (focused more on exploration and roleplaying custom characters) typically feature turn-based battles, while the slightly more recent action-RPVGs like Link's Awakening feature a continuous flow action between exploration and battle. Nevertheless, all three aspects listed above are present in every RPG.
# Trigonometry/The Eyeball Theorem

The Eyeball Theorem is as follows:
Take any two circles, with centres A and B, such that A is outside the second circle and B outside the first one. Let the tangents from A to the second circle cut the first circle at C and D, and the tangents from B to the first circle cut the second circle at E and F. Then the lines CD and EF are parallel and of equal length.
[needs diagram]
# Trigonometry/The Gibbs Overshoot

On the previous page, it can be seen that the approximations to the square wave go slightly above the wave, and then come down again. As more terms are added, this overshoot gets slightly greater but persists for a smaller range of values of x before dropping back to the right level. In the limit, as the number of terms tends to infinity, the maximum value reaches about 9% more than the level of the square wave. The precise value is
    ${\frac {2}{\pi }}\int \limits _{0}^{\pi }{\frac {\sin(t)}{t}}\,dt\approx 1.089490$
This overshoot is known as the Gibbs effect, Gibbs phenomenon or Gibbs overshoot, after the mathematical physicist Josiah Gibbs (1839-1903), who explained the phenomenon in 1899.
# Trigonometry/Some theorems using vectors

Some theorems using vectors.

## Circumcentre and orthocentre

For a triangle ABC, let the circumcentre be O and the orthocentre be H. Then the vector sum of OA, OB and OC is OH.

## Centroid

For a triangle ABC, let the centroid be G. Then the vector sum of GA, GB and GC is 0.
# Trigonometry/Some Little-known Trigonometric Functions

There are some further trigonometric functions that are found occasionally. Few people use them, but it avoids confusion if you know what they are.
The chord of an angle θ is the length of a line joining the ends of two radii of a circle of radius 1, and separated by θ. Equivalently, it is the base of an isosceles triangle where the equal sides are of length 1 and the angle between them is θ.
    ${\text{chord}}(\theta )=2\sin \left({\frac {\theta }{2}}\right)$
The versed sine of an angle, vers(θ) = 1-cos(θ).
The haversine or half versed sine of an angle,
    ${\text{havers}}(\theta )={\text{hav}}(\theta )={\frac {1}{2}}(1-\cos(\theta ))=\sin ^{2}\left({\frac {\theta }{2}}\right)$.
The coversed sine of an angle, covers(θ) = 1-sin(θ).
# Trigonometry/Sum into Product

These are exercises on the formulae derived in Book 1 for converting the sum or difference of two sines or two cosines into a product.
[1] ${\frac {\sin 7\theta -\sin 5\theta }{\cos 7\theta +\cos 5\theta }}=\tan \theta$
[2] ${\frac {\cos 6\alpha -\cos 4\alpha }{\sin 6\alpha +\sin 4\alpha }}=-\tan \alpha$
[3] ${\frac {\sin A+\sin 3A}{\cos A+\cos 3A}}=\tan 2A$
[4] ${\frac {\sin 7A-\sin A}{\sin 8A-\sin 2A}}=\cos 4A\sec 5A$
[5] ${\frac {\cos 2\phi +\cos 2\theta }{\cos 2\phi -\cos 2\theta }}=\cot \left(\phi +\theta \right)\cot \left(\phi -\theta \right)$
[6] ${\frac {\sin 2A+\sin 2B}{\sin 2A-\sin 2B}}=\tan \left(A-B\right)\cot \left(A-B\right)$
[7] ${\frac {\sin A+\sin 2A}{\cos A-\cos 2A}}=\cot \left({\frac {A}{2}}\right)$
[8] ${\frac {\sin 5\lambda -\sin 3\lambda }{\cos 5\lambda +\cos 3\lambda }}=\tan \lambda$
[9] ${\frac {\cos 2B-\cos 2A}{\sin 2B+\sin 2A}}=\tan \left(A-B\right)$
[10] $\cos \left(\phi +\theta \right)+\sin \left(\phi -\theta \right)=2\sin \left(45^{o}+\phi \right)\cos \left(45^{o}+\theta \right)$
[11] ${\frac {\sin \alpha +\sin \beta }{\sin \alpha -\sin \beta }}=\tan \left({\frac {\alpha +\beta }{2}}\right)\cot \left({\frac {\alpha -\beta }{2}}\right)$
[12] ${\frac {\cos \psi +\cos \omega }{\cos \omega -\cos \psi }}=\cot \left({\frac {\psi +\omega }{2}}\right)\cot \left({\frac {\psi -\omega }{2}}\right)$
[13] ${\frac {\sin \phi +\sin \theta }{\cos \phi +\cos \theta }}=\tan \left({\frac {\phi +\theta }{2}}\right)$
[14] ${\frac {\sin A-\sin B}{\cos B-\cos A}}=\cot \left({\frac {A+B}{2}}\right)$
[15] ${\frac {\cos 3A-\cos A}{\sin 3A-\sin A}}+{\frac {\cos 2A-\cos 4A}{\sin 4A-\sin 2A}}={\frac {\sin A}{\cos 2A\cos 3A}}$
[16] $a\cos \phi +b\sin \phi ={\sqrt {a^{2}+b^{2}}}\cos[\phi -\tan ^{-1}({\frac {b}{a}})]$
# Visual Basic for Applications/Font Utilities
## Summary

* This page lists VBA procedures that are mainly to do with fonts. That is to say, how VBA handles fonts.
* The function GetTextPoints finds the width of text in points. A label on a userform extends when loaded with the string. The width is then read from the control. The userform and its contents are loaded but never shown. Despite its seeming lack of elegance, this method is perhaps the simplest way of getting the fitting width for text, correct for any variation in the font. The function is useful in the precise sizing of controls for complex layouts, such as tables within text boxes.
* The procedure ListAllExcelFonts lists Excel's fonts on a worksheet. It makes use of GetTextPoints. While listing whether or not the font is monospaced, it also makes a sample of test text in each font. It also lists the width in points for the sample text in each font. Normalizing these width figures might be more useful but it is unclear as to which font is best to represent the standard. As ever, informed comments would be useful.
* The procedure FontExists tests whether or not a font exists. It returns true in the function name if the parameter font name exists, otherwise it returns false. Run testit to try the function.

## Font Tests

The function GetTextPoints can be used to determine whether or not a font is monospaced. Although at first sight it would appear suitable for determining the presence of kerning, the userform control used to measure the width of text does not kern the text applied to it in any case. As such, kerning will always be found to be absent. The tests, whether used visually or in an automated mode, compare the lengths of selected strings. If the strings of the first pair below are the same length, then the font is monospaced. Elsewhere, if kerning had been applied, then the strings of the second pair would be different in length.
Monospace test strings: IIIIIIIIII HHHHHHHHHH
Kerning test strings: for completeness only.
AAAAATTTTT ATATATATAT
# Visual Basic for Applications/Get Array Data Stats
## Summary

This VBA code module is intended for MS Excel, since it prints a basic set of statistics onto the worksheet. It assumes that there is well behaved numerical data in a 1D array as an input. A frequency distribution is produced and associated statistics for the set.

## Notes on the code

* Copy the entire code listing into an Excel Standard module, save it, then run the top procedure.
# Visual Basic for Applications/Generate Random Dictionary Words
## Summary

This VBA code module works only in MS Word. It generates a pseudo random list of dictionary words, listing them in the immediate window of the VBA editor.

## The VBA Code

* Copy the code listing into a standard VBA module in MS Word and save the file as a docm type. Set the user options in the top section and run the procedure to produce the list.
* The variable Num sets the number of words as output, and the variable TypoLen should be set to the approximate length of the sought-after words.
* There is no ready-made collection of English words called a Dictionary in MS Word; the term is used for sets of user-constructed word lists. To access a list of English words, an indirect method needs to be used. A random word is first generated equal in length to TypoLen. The spell checker then fails to recognize the word so generates suggestions, this time as a proper collection. Provided that there is at least one such suggestion in the spell check collection, a random choice is made from among them for the output list. The loop continues until the chosen number of words has been produced.
# Visual Basic for Applications/Get the VBA Code String
## Getting the Whole Project String

The code module below is written for Excel but is easily adapted for Word and other MS Office applications. It makes a single string out of the entire code project for the same workbook in which it is run. In the past it has been found useful when a long string is needed to test say, character frequency code. With only slight modification the individual module text can be returned, and other details.

## External Links

* Programming in the VBA Editor : A comprehensive page by Pearson for the VBA editor.
# Visual Basic for Applications/Input Boxes
## Summary

This code block contains an input box function. It includes a number of fairly common validation routines that are selected within the main procedure.
# Visual Basic for Applications/Make a WAV File from a VBA String
## Summary

* This code module will make a voiced wav file starting from a VBA string. A reference should be set in the VBA editor to Microsoft Speech Object Library.
* The parameters are just the intended string to be spoken and a full path to the intended file name. The process MAKES a file but does not speak it as audio. Once made, the wav file can be spoken with procedures in an adjacent page, or tested in Windows Explorer by simply opening it.
* No error code has been added. For example, if an attempt is made to use a folder with restrictions, an error will be raised. Users might consider adding some error trapping.
* The intended target wave file need not exist. If it does not exist it will be made. If it exists however, it will be overwritten.
* Notice that the user should enter his own profile in the file path. This author could not make the environmental paths work which would otherwise have made the code independent of the profile details.

## VBA Code

Copy the entire code listing into an Excel standard module. Modify the paths to your own, and run the top procedure to make a reusable wav file of the string. Remember to set a reference to Microsoft Speech Object Library.

## External Links

* Pearson - Play Sounds: A page by Chip Pearson with much more detail.
* WavePad Download : A FREE sound file editor, that also makes sound files.
* SoundTap Stream Recorder : A FREE stream recorder for anything on the speakers. Part of WavePad suite.
* Switch File Converter : A FREE file type converter. Part of WavePad suite.
* ReadPlease Text Reader : A FREE good quality text reader. Now discontinued, so get a copy while you can.
# Visual Basic for Applications/Listing Prime Numbers
## Summary

This module implements the Sieve of Eratosthenes method for the listing of prime numbers. It is made to run in Microsoft Excel as a standard VBA module. It lists the prime numbers found between unity and some parameter integer value, on Sheet1 of the Workbook, and makes use of a message box for short listings.
* Overflow is a problem for such procedures, but provided that the input parameter is kept within a few millions or so, overflow is unlikely.
* The method although simple is quite slow, since even to test one single value, the entire sequence of multiples (2,3,5,7,...n) must be completed. Large values of input will take several minutes to complete. A faster approach is to test only those factors that are smaller than the square root of the input value; this modification is used in the procedure GetPrimeFactors.
* Note that the procedure will clear any contents of Sheet1 before each listing.
* An animated GIF found in Wiki Commons is included in Figure 1 to illustrate the method.
* GetPrimeFactors and its utility DecMod list the prime factors of a supplied integer. It is written for the decimal subtype, and so it handles inputs of up to 28 full digits, (assuming all nines). The time to complete varies greatly, depending on how many primes are found. There is one peculiarity noted; for example, with an input of 23 nines the answer takes a very long time, but for 28 nines it takes just fifteen seconds or so. Other values like 20, 21, and 22 nines, and so on, are virtually instantaneous. The use of a string for input in the test procedure testGetPrimeFactors is simply to prevent Excel from truncating the displayed input integer, and has no bearing on the method used; it is not string math here; just a decimal subtype loop.
# Visual Basic for Applications/Message Boxes
## Summary

This code block contains a message box function for YES, NO or CANCEL.
# WebObjects/Web Applications/Development/Examples/Path Inspector

First of, it's handy to add a convenience method to your "page" component to define this "list" of objects:
Now, in each concrete page you could initialize the path components:
Finally, the path component itself could look like this:
That's all folks.
# WebObjects/Web Applications/Development/PDF Generation
### Overview

You might want to also review the Returning a File example.

### Zak Burke's Example

It is important to add "-Djava.awt.headless=true" to the "Additional Arguments" list to suppress a console window running WOBootstrap that will try to pop up and then fail to close, which seems to prevent the thread from returning, which causes the app to hang.

### Related Links

* FyTek Exe/DLL PDF Libraries
* Big Faceless Organization - Java PDF Library & Report Generator
* Java PDF Libraries
* Apache FOP
* Deirdre Saoirse Moen's FOP Example
* JClass
* Etymon PJ
* PDFLib
* PD4ML
* iText
* Hugi Karlmenn's iText Example
* WebPDF Reports
* XSL:FO Examples
* ReportMill
# WebObjects/Web Applications/Development/Excel Generation

For a "clean" copy of this file, head over to http://www.overhyped.com./downloads/OTCPOIArchive.java
# WebObjects/Web Applications/Development/How Forms Work

This document was written by Andrew Lindesay (http://www.lindesay.co.nz) and relates to WebObjects 5.3.

### Overview

Component actions work by utilising the latter end of the action URL which will look something like 2.12.6.2 to allow the element which "owns" the action to invoke its bound action method. We call the inbound numerical string the "sender id" and the identifier of the element, the "element id". If the two match up then the element knows it should invoke its action.
If you have a form with many submit buttons this cannot be how the right action gets invoked because the action method contains a URL with a "sender id" of the form. This won't match with the "element id" of the submit button. For example, the following fictitious code illustrates this.
The submit button here might have element ID of 32.0.2, but the form has element 0.32.0. So it will not be possible to match up the sender id with the element id. So the question is; how does this mechanism work?

### Invoke Action

The submit button could look for a value of 32.0.2 in the inbound request. In this way it would be able to see the value Search and then invoke the bound action. However this mechanism is slightly more complex. The form element makes modifications to the context in order to get the submit buttons to exhibit this behaviour. Those modifications include setting the setInForm(...) method as well as some internal methods to state if the form was submitted and if a submit button has invoked its action method yet.
If the submit button does invoke its method then it in turn modifies the context to state that an action had been "fired". If no submit button does set this value in the context then the form can invoke its own action method if appropriate.

### Append To Response

The WOForm simply sets into the context that it is in a form and then renders its children.

### Take Values From Request

The WOForm sets into the context that the children are in a form and if the form was submitted and then allows its children elements to take their values from the request.
# WebObjects/Web Applications/Development/J2EE Integration
#### Thomas Pelaia

I wouldn't consider myself a WAR expert, but I do deploy my WebObjects application using JBoss and it works very well.
Have you tried a "Hello World" type example application? If you can get a simple application running under JBoss then you should be okay with a more complicated one. I suggest starting with "Hello World" and then adding a simple EOF and that should cover everything.
There were a few tricky configurations in the initial setup. To be clear, I am using XCode, but it probably doesn't matter. Here are a few things to check.
Check you jboss-web.xml file. You definitely need to configure this file properly if you are using EOF. The application will never get started properly without this file configured correctly.
Make sure your deployment license gets built into the WAR file for deployment by setting the SERVLET_DEPLOY_LICENSE item.
Make sure the servlet project settings are correct:
* SERVLET_SINGLE_DIR_DEPLOY = NO
* SERVLET_TRUE_WAR = YES
* SERVLET_WEBAPPS_DIR = /Library/JBoss/3.2/deploy
Also, I explicitly defined a package for all of my classes. This prevents JBoss from complaining upon startup, however, JBoss still ran the application just fine anyway.