OpenLLM-France/wikimedia huggingface dataset:
# RAC Attack - Oracle Cluster Database at Home/Database Recovery

Prev: RAC SQL and PLSQL
* Setup Backups
* Flashback Database
* Block Change Tracking
* Archived Logs
* Database Backups
* Database Recovery
Next: Home
This exercise depends on the completion of the previous exercises.
* Clear the RMAN channels and parallelism configuration. RMAN> configure channel 1 device type disk clear; RMAN> configure channel 2 device type disk clear; RMAN> configure device type disk parallelism 1; RMAN> show all;
* Preview a restore of the entire database. Why does it fail? How can you remediate this? RMAN> restore database preview; Starting restore at 04-MAY-09 allocated channel: ORA_DISK_1 channel ORA_DISK_1: SID=114 instance=RAC1 device type=DISK RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of restore command at 05/04/2009 11:44:53 RMAN-06026: some targets not found - aborting restore RMAN-06023: no backup or copy of datafile 5 found to restore RMAN-06023: no backup or copy of datafile 3 found to restore RMAN-06023: no backup or copy of datafile 2 found to restore
* Revert the FRA to the correct shared location, assigned during DB creation before lab 6. SQL> alter system set db_recovery_file_dest='+FRA'; System altered.
* Now, repeat the Database Backups exercise and this exercise with shared storage.
# RAC Attack - Oracle Cluster Database at Home/Demo

At some events, the organizers might provide a "demo" option. This allows you to plug in the jumpstart drive and launch a complete, patched RAC Attack cluster much more quickly than jumpstart 6.
To activate this demo mode on your own laptop:
* Follow all labs in first chapter, Hardware and Windows Preparation. When you create the datastore called "RAC11g", point it to the "RAC11g.DEMO" directory on the jumpstart disk.
* Run "JUMPSTART-DEMO" script from the Jumpstart Drive. Do not change the RAC11g drive, however you can choose any disk for RAC11g-shared.
# RAC Attack - Oracle Cluster Database at Home/Create RAC Attack DVD

Prev: Hardware and Windows Preparation
* Create VM
* Prep for OS Installation
* OS Installation
* Wrap-up OS Installation
* Create RAC Attack DVD
* Prep for Oracle
Next: Create Cluster
If you are in a class or at an event, then the instructor may have provided a second virtual DVD named RAC11gR2.iso to save some class time. It contains all additional software downloads.
If you are at home, then follow these instructions to download all needed software and build the second DVD yourself.
* While logged in as root, download the latest release of the RAC Attack supporting code (GPL). # cd ~ # curl -kL github.com/ardentperf/racattack/tarball/master | tar xz
* You can view the master list of downloads here: https://github.com/ardentperf/racattack/blob/master/makeDVD/auto.sh If you have already downloaded any of these files, you may optionally copy them to the /tmp directory in your virtual machine. When you create the DVD, any remaining files will be automatically downloaded.
* Create the DVD by running the automatic build script. You will be prompted for your Oracle SSO login and password. If your account is not authorized for Oracle Support then patch downloads will fail. [root@collabn1 ~]# '''sh ardentperf-racattack-*/makeDVD/auto.sh /mnt/cdrom5''' `oracle-profile' -> `/mnt/cdrom5/oracle-profile' root/ root/fix_cssd/ root/fix_cssd/fix_cssd.sh Oracle SSO Username: '''<your-username>''' Oracle SSO Password: '''<your-password>''' LOGGING IN TO ORACLE SSO % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 414 733 414 2977 0 0 1621 0 --:--:-- 0:00:01 --:--:-- 22383 DOWNLOADING: /tmp/oracleasmlib-2.0.4-1.el5.i386.rpm % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 13929 100 13929 0 0 23118 0 --:--:-- --:--:-- --:--:-- 2720k `/tmp/oracleasmlib-2.0.4-1.el5.i386.rpm' -> `./oracleasmlib-2.0.4-1.el5.i386.rpm' DOWNLOADING: /tmp/linux_11gR2_database_1of2.zip ( ... ) FINISHED BUILDING RAC ATTACK DVD
# Mount Local Partitions

In pure:dyne the mounting of local partitions is automatic (supported filsystem include FAT16/32, NTFS, HFS+, ext3 and reiserfs). When a partition is mounted a partition, you can read from and write to it. If it is a linux partition, you have to be root to write to it.
To prevent trouble later on, only write to a mounted linux partition if you know how to properly change permissions of files
In case you need to manually mount some partitions, here is how to do it:

## Using Command Line

You can also mount a local partition manually, using the command line. First you must make a mount point. The standard place for mounting storage devices is in /media. Go root and make a mount point like this:
If you don't know what your partition is called, you can type:
This gives you a list of all your partitions, their size, type, etc. Choose the one you want to mount, and mount it like this (replacing sda6 with the name of your partition):
# Changing Mouse Settings

To alter the settings of your mouse, go to the pure:dyne menu (by right clicking on the desktop) and go to Settings and select Mouse. In this application you can change the behavior of your mouse.
You can set the mouse to left handed or right handed, change the motion settings (making the mouse more or less responsive), change the drag and drop threshold and last but not least adjust the double click speed.
In the cursor tab, you can change the size and appearance of your cursor.
In the accessibility tab you can turn on mouse emulation. You can for instance provide alternative keyboard sequences for cursor movement and mouse button operations if you are unable to operate a mouse.
# Puredyne/Printer Setup

To add a printer
Concept from: http://puredyne.466513.n3.nabble.com/puredyne-printer-td694728.html
Use Synaptic to install "system-config-printer-gnome" (and related files). When it's done installing, System>>Printers will be added to the menu system.
Click it, and when the GUI appears, click the first menu item at the top, then select 'add printer'. Follow the screens.
This worked to autodetect my USB-connected Canon printer.
# Puredyne/Locking Your Screen

Locking your screen is useful if you are leaving your computer for a moment and don't want anyone else to access it while you are away.
To lock your screen:
To unlock your screen:
# User Support
## pure:dyne Mailing List

If you intend to use or need support for any of the tools provided by this project we strongly encourage you to join the pure:dyne Mailing List. You can also check or download the Archives in the original format.
If you are interested in being kept up to date with pure:dyne or any other goto10 projects please join the GOTO10 newsletter.

## IRC

If you feel lonely booting pure:dyne feel free to join the IRC channel #puredyne on irc.goto10.org. You may be able to get some live help down there, but don't get offended if no one replies! A lot of the people there are connected but not watching their screen, so it might take a while before you get an answer, just be patient :) More about using irc in pure:dyne here

## Reporting problems

If you are experiencing a problem that is due to a bug or defect in pure:dyne, you can report the problem to us via the ticket system on this site. For information on how to issue a bug report, check out [[Puredyne/Report Bug | how to report a bug].

## Workshops

If you would like to organize a workshop about puredyne, please visit http://goto10.org/workshops.
# Play Music

If you double click on a music file (mp3 or ogg for example), a default music application will open to play your file.
If you right click on your music file, you can choose the application you would like to use to play the file. We recommend choosing Audacious for a quick and easy, light music player.

### Opening Audacious to Play Music

* Right click on your music file, and select 'Open with'
* Choose 'Open With Audacious'
* Once open, you can press play, stop, move forward and backward using the simple graphical interface

### Making a Playlist

* You can create a music playlist by clicking on the list icon on the right of the player
* A playlist viewer will open. Drag the music files that you wish to add to the playlist, into the list area
* You can rearrange the files by dragging and dropping them in the sequence you like

### Playing music in terminal

If you prefer a simpler solution you can try [mocp] for playing any kind of audio (Ogg Vorbis, mp3, FLAC, WAVE, AU, AIFF, SVX, SPH, IRC, VOC).
Simply type mocp in terminal will start it. You can browse through your file system and find the file you want to play.
On the left you have your files and folder and on the right you have your playlist.
* arrows = Browse up and down
* tab = change from the file list to play list
* space = play/stop
* a = add to playlist
* d = remove from playlist
* r = repeat
* s = shuffle
* h = help
* q = quit
You can also add a full folder by pressing 'a' on a folder - it will go trough all your folder recursively. You can also use theme to change the colors, and config file.

### I don't have sound!

If you don't have sound, even though the application's volume is turned all the way up, pure:dyne's audio settings might be muted. Have a look at getting sound to work for details on how to solve the problem.
# Play Video

If you double click on a video file (.mov or .avi, for example), a default movie application will open to play your file.
Image(videofile.png)
Instead, if you right click on your music file, you can choose the application you would like to use to play the file. We recommend choosing VLC for a reliable movie player that works with many codecs.

### Opening VLC to Play Video

* Right click on your video file, and select 'Open with'
* Choose 'Open With VLC media player'
* Once open, you can press play, pause, move forward and backward using the simple graphical interface at the top of the window, and move forward and backward using the timeline bar at the bottom of the window

### Viewing Videos in Full Screen

* To view a video in full screen, choose the video menu at the top of the window and select Fullscreen. You can also press f on your keyboard
* To exit from fullscreen mode, hit f on your keyboard

### I don't have sound!

If you don't have sound, even though the application's volume is turned all the way up, Puredyne's audio settings might be muted. Have a look at getting sound to work for details on how to solve the problem.
# Puredyne/Mac install

You can find a lot of useful informations here:
However, in short:
* on OSX, install Refit
* boot Puredyne with the live CD/DVD
* partition your HDD with Gparted and add one EXT3/EXT4 partition for your Puredyne system and one for your swap (usually 2 times your RAM size) (note that GUID Partition Table (GPT) seem to not like more than 4 partitions on a drive).
* install Puredyne
* during the install, when you're done with setting up the partitions, don't forget to click on advanced and change where to install GRUB bootloader:
i.e. install it on /dev/sdaX (where X is your "/" puredyne partition) instead of the drive mbr hd0 (which is the default), otherwise you might get in trouble with grub2 and refit.
* finish the installation
* shut down your computer
* start your computer
now you should have a linux icon in your Refit boot menu saying: Boot linux from partition X
* go into Refit Partition tool and synchronize your partitions
* boot into Puredyne

##### Troubleshouting

After the installation some things might not work as expected. The support varies a lot from one model to the other. For instance the sound doesn't work out of the box in some imac's , In that case we had to add "option snd_hda_intel model=imac24" in /etc/modprobe.d/alsa-base.conf and restart alsa with "sudo alsa reload" command. Your mileage may vary and is best to consult https://help.ubuntu.com/community/Intel_iMac
# Puredyne/QuickStart
## 1.Download Puredyne

    Download Puredyne from http://puredyne.org/download.html . You can choose the CD or DVD version. (For a USB stick, we recommend the DVD version, but either will work.)

## 2. Burn the iso file

    Burn the iso file onto a CD, DVD or store it on a USB key, depending on which iso you downloaded.

## 3. Reboot your computer

    Insert the DVD/CD or USB key into your computer, and reboot. You should now be booting pure:dyne, which will automatically log in as the "live user" and load the desktop.
    If your computer doesn't automatically boot from CD, DVD or USB, change your BIOS settings so that the CD, DVD or USB is first in the boot sequence, and the hard drive after.
# Puzzles/Non-scientific puzzles/Mathematical Character/Solution

Puzzles | Non-scientific puzzles | Mathematical character | Solution
2.3
2ln3
# Puzzles/Physics puzzles/Eleatic School/Achilles comment

Solution A
One traditional answer to this problem is that in fact we only looking a constant amount of time ahead. To see this let us assume that the tortoise advances at unit speed and Achilles at speed x, starting y units behind the tortoise (say, at point 0). Then it takes Achilles ${\frac {y}{x}}$ units in time (say seconds) to reach the starting point of the tortoise. In the meantime the tortoise has advanced to the point $y+{\frac {y}{x}}$ being now ${\frac {y}{x}}$ units adhead. Since x > 1 the distance has decreased. To reach the second point of the tortoise it takes Achilles the time of ${\frac {y/x}{x}}={\frac {y}{x^{2}}}$. By induction we have, that it takes Achilles the time of $y\sum _{i=1}^{n}{x^{-i}}$ to reach the point the tortoise reached after her $n$th advance.
For $n\to \infty$ this expression converges to ${\frac {y}{1-{\frac {1}{x}}}}=:T$ which is clearly finite. Therefore in whole our race we are not considering points in time greater or equal than $T$. In fact at $T$ Achilles has reached the tortoise and is going to overtake it at any infinitesimal time thereafter.
However, the whole argument assumes that time is continuous. Is this true in turn?
All of these problems are flawed because at each 'step' they slow down time, and if you slow down time enough, obviously you don't achieve anything. If you move between the line A and B and take the time measurements each time you reduce the distance by half, there are an infinite measurements each being taken faster and faster. This does not mean Achilles will not catch the tortious, it just means they are taking an infinite number of measurements until he does.
# Puzzles/Physics puzzles

* Train on Circle
* Flying around the World
* Levitating Straws
* Problems of the Eleatic School
* A Boat, a Pool, and a Lead Ball
# Puzzles/Physics puzzles/Eleatic School

Puzzles | Physics puzzles |Problems of the Eleatic School
Some background about these riddles is given on the Puzzles in science page. There is no strict solution to any of these puzzles. So rather than searching for a solution try to find support in favor or against the following postulates.

### Achilles and the tortoise

Achilles is racing against a tortoise. Starting the race the tortoise is 10 m ahead. However, Achilles runs 20 times faster than the tortoise which runs at 1 m/sec (or any other positive speed). Shouldn't Achilles overtake the tortoise? In fact we shall see he does not. We start with the tortoise ahead at point A and Achilles behind at point B. When Achilles reaches point B a certain amount of time has passed which allowed the tortoise to move on to point C. Again Achilles reaching point C leaves the tortoise ahaed of some positive length, ad infinitum. Therefore Achilles is not going to catch up with the tortoise which is a contradiction to the initial notion of motion.
Therefore motion does not exist. Do you agree? comment
Here is a variant of the above puzzle:

### Reaching point B

Suppose you intend to travel from point A to point B on a straight line. In order to do that you have to reach the midpoint C between A and B. In order to reach point C you have to reach the midpoint of A and C, say D, ad infinitum. Therefore it takes you an infinite amount of finite movements to reach point B which is in contrast with the notion of constant speed.
Therefore motion does not exist. Do you agree?

### The flying arrow

Suppose an arrow is being shot from a bow. At any fixed point in time the arrow is motionless at a certain point. This directly contradicts the idea of motion since at any conceivable point in time motion is not present.
Therefore motion does not exist. Do you agree?
# Puzzles/Odd-one-out

Odd one out is the puzzle of which the objective is to pick out the odd one out of the choices provided. To solve the OOO puzzles, we must have knowledge of the category beforehand
Here is example of the basic odd one out puzzles. Question :Cities London , Jakarta , Ankara , New Delhi , Hanoi , United States , Warsaw
The correct answers are United States because the list above show the list of capital city
* London - Britain
* Jakarta - Indonesia
* Ankara - Turkey
* New Delhi - India
* Hanoi - Vietnam
* Warsaw - Poland
Hence, the only odd-one-out are United States which it represent the country instead of capital city. You can try to solve it using online odd one out solver (listed in bibliographic below)

## Bibliography

* https://oddoneoutsolver.com/
# Puzzles/Physics puzzles/A boat, a pool, and a lead ball/Solution

Puzzles | Physics puzzles | A boat, a pool, and a lead ball
The water's level will be higher when the ball is in the boat.
When the ball is in the boat, it displaces the volume of water that weighs the same as the ball (see buoyancy). When the ball is in the water, it only displaces as much water as its volume.
For example, assume the ball's volume is 1.000 cubic metre. Then its mass is 11340 kg, and when placed in the boat it displaces 11340kg of water, which is the same as 11.340 cubic metres. When the ball is in the water, it onl displaces its own volume, which equals 1.000 cubic metre.
More water is displaced when the ball is in the boat, and so the water level rises more, leading to our result.
# Puzzles/Physics puzzles/Flying around the World

Puzzles | Physics puzzles | Flying around the World
You intend to fly around the world starting from an island with any amount of identical planes and an indefinite supply of fuel. Each of the planes can go exactly half around the world with one supply of fuel. Planes flying next to each other can exchange any amount of fuel which takes no time. Also turning around and refueling takes no time for a plane.
Given that you cannot land any plane anywhere but on the island and no plane is to be crashed, what is the minimum amount of planes that you need to take one of them around the world?
solution
# Puzzles/Non-scientific puzzles/Mathematical Character

Puzzles | Non-Scientific Puzzles | Mathematical Character
Put a mathematical character between the digits "2" and "3" so as to get a number that is more than two and less than three.
Notes: You can't change their order, so $\,3/2$ is not a correct answer. (Which would not do anyway, as it is not more than two.)
Solution
# Puzzles/Number sequences

The task is to find the hidden principle that constructs the list, and sometimes to continue the sequence, which is indicated by a question mark. Be aware: some sequences are infinite, some are finite. If you find a different solution than the given one please add it to the solution page. Creativity is encouraged!
# Puzzles/Physics puzzles/A boat, a pool, and a lead ball

Puzzles | Physics puzzles | A boat, a pool, and a lead ball
There's a boat floating in a pool. First, you place the (large) ball of lead in the boat, and measure the water's level. Then, you take the ball out and drop it into the pool, and measure the water's level again. Assuming the boat doesn't sink from the lead ball being in it, during which measurement will the water's level be higher?
Solution
# Parallel Spectral Numerical Methods

Table of Contents :
| Chapter Contents Acknowledgments Overview Finite Precision Arithmetic Separation of Variables Motivation for Numerical Methods Timestepping One-Dimensional Discrete Fourier Transforms Finding Derivatives using Fourier Spectral Methods Examples in Matlab and Python Nonlinear Ordinary Differential Equations and Iteration Fortran Programs and Getting Started on Windows Introduction to Parallel Programming The Cubic Nonlinear Schrodinger Equation The Two- and Three-Dimensional Navier-Stokes Equations The Klein-Gordon Equation Gray Scott Maxwell's Equations Incompressible Magnetohydrodynamics GPU programs for Fourier pseudospectral simulations of the Navier-Stokes, Cubic Nonlinear Schrodinger and sine Gordon equations Visualization with ParaView CoProcessing | Programming Languages Matlab Python Fortran |
Style Guide and Contributors
# Parallel Spectral Numerical Methods/Acknowledgments
## Acknowledgements

The example programs have used a similar structure to those in Trefethen, to which the reader is referred to for further code examples. The codes for the nonlinear Schrodinger equation were developed in collaboration with Christian Klein and Kristelle Roidot. The codes for the Navier-Stokes equation were developed in collaboration with Hans Johnston. We thank Peter Miller, Brock Palen, David O'Neal, Divakar Viswanath and Jared Whitehead for helpful comments, discussions and suggestions. A class project by Sou-Chi Chang and Sophie Zhang, influenced the presentation of the nonlinear Schrodinger equation and the exercises on the Gross-Pitaevskii equation, while a class project by Fuzhou Hu and Yutao Qin influenced the presentation and exercises for the two dimensional Navier-Stokes equations. We also thank Daniel Brahan, Emily Cizmas, Kohei Harada, Seth Jordan, Joshua Kirschenheiter, Brian Leu, Albert Liu, Thomas Olsen, Henry Rensch, Parth Sheth, Jeffrey Smolik and Matthew Warnez for constructive criticism and testing the materials. We thank Danny Ellis for providing his notes taken during a lecture on some of this material.
    This tutorial was produced using resources of:
* Hopper at the National Energy Research Scientific Computing Center, which is supported by the Office of Science of the U.S. Department of Energy under Contract No.DE-AC02-05CH11231.
* The Extreme Science and Engineering Discovery Environment (XSEDE), which is supported by National Science Foundation grant number OCI-1053575.
* Jaguar at the Oak Ridge Leadership Computing Facility at the Oak Ridge National Laboratory, which is supported by the Office of Science of the U.S. Department of Energy under Contract No. DE-AC05-00OR22725.
* SCREMS NSF DMS-1026317
    Partial financial support was also provided by:
* A curriculum material development grant from The Blue Waters Undergraduate Petascale Education Program administered by the Shodor foundation.
* A Faculty Grant for Innovations in Teaching with Technology from the division of Literature, Sciences and Arts at the University of Michigan.
We also thank Mark Van Moer for his assistance with instrumenting code for coprocessing visualization and providing documentation, which was made possible through the XSEDE Extended Collaborative Support Service (ECSS) program.

## Notes

* ↑ Trefethen (2000)

## References

Trefethen, L.N. (2000). Spectral Methods in Matlab. SIAM.