A framework for easily creating beautiful presentations using HTML. Check out the live demo.
reveal.js comes with a broad range of features including nested slides, Markdown contents, PDF export, speaker notes and a JavaScript API. It’s best viewed in a modern browser but fallbacks are available to make sure your presentation can still be viewed elsewhere.
Presentations are written using HTML or Markdown but there’s also an online editor for those of you who prefer a graphical interface. Give it a try at http://slides.com.
Markup hierarchy needs to be

where the

represents one slide and can be repeated indefinitely. If you place multiple

’s inside of another

they will be shown as vertical slides. The first of the vertical slides is the “root” of the others (at the top), and it will be included in the horizontal sequence. For example:

Single Horizontal Slide

Vertical Slide 1

Vertical Slide 2

It’s possible to write your slides using Markdown. To enable Markdown, add the data-markdown
attribute to your

elements and wrap the contents in a

You can write your content as a separate file and have reveal.js load it at runtime. Note the separator arguments which determine how slides are delimited in the external file. The data-charset
attribute is optional and specifies which charset to use when loading the external file.
When used locally, this feature requires that reveal.js runs from a local web server.

Special syntax (in html comment) is available for adding attributes to Markdown elements. This is useful for fragments, amongst other things.

Special syntax (in html comment) is available for adding attributes to the slide

elements generated by your Markdown.

At the end of your page you need to initialize reveal by running the following code. Note that all config values are optional and will default as specified below.
Reveal.initialize({
// Display controls in the bottom right corner
controls: true,
// Display a presentation progress bar
progress: true,
// Display the page number of the current slide
slideNumber: false,
// Push each slide change to the browser history
history: false,
// Enable keyboard shortcuts for navigation
keyboard: true,
// Enable the slide overview mode
overview: true,
// Vertical centering of slides
center: true,
// Enables touch navigation on devices with touch input
touch: true,
// Loop the presentation
loop: false,
// Change the presentation direction to be RTL
rtl: false,
// Turns fragments on and off globally
fragments: true,
// Flags if the presentation is running in an embedded mode,
// i.e. contained within a limited portion of the screen
embedded: false,
// Flags if we should show a help overlay when the questionmark
// key is pressed
help: true,
// Number of milliseconds between automatically proceeding to the
// next slide, disabled when set to 0, this value can be overwritten
// by using a data-autoslide attribute on your slides
autoSlide: 0,
// Stop auto-sliding after user input
autoSlideStoppable: true,
// Enable slide navigation via mouse wheel
mouseWheel: false,
// Hides the address bar on mobile devices
hideAddressBar: true,
// Opens links in an iframe preview overlay
previewLinks: false,
// Transition style
transition: 'default', // none/fade/slide/convex/concave/zoom
// Transition speed
transitionSpeed: 'default', // default/fast/slow
// Transition style for full page slide backgrounds
backgroundTransition: 'default', // none/fade/slide/convex/concave/zoom
// Number of slides away from the current that are visible
viewDistance: 3,
// Parallax background image
parallaxBackgroundImage: '', // e.g. "'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg'"
// Parallax background size
parallaxBackgroundSize: '' // CSS syntax, e.g. "2100px 900px"
// Amount to move parallax background (horizontal and vertical) on slide change
// Number, e.g. 100
parallaxBackgroundHorizontal: '',
parallaxBackgroundVertical: ''
});
The configuration can be updated after initialization using the configure
method:
// Turn autoSlide off
Reveal.configure({ autoSlide: 0 });
// Start auto-sliding every 5s
Reveal.configure({ autoSlide: 5000 });
Reveal.js doesn’t rely on any third party scripts to work but a few optional libraries are included by default. These libraries are loaded as dependencies in the order they appear, for example:
Reveal.initialize({
dependencies: [
// Cross-browser shim that fully implements classList - https://github.com/eligrey/classList.js/
{ src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
// Interpret Markdown in
 elements
{ src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
// Syntax highlight for  elements
{ src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
// Zoom in and out with Alt+click
{ src: 'plugin/zoom-js/zoom.js', async: true },
// Speaker notes
{ src: 'plugin/notes/notes.js', async: true },
// Remote control your reveal.js presentation using a touch device
{ src: 'plugin/remotes/remotes.js', async: true },
// MathJax
{ src: 'plugin/math/math.js', async: true }
]
});
You can add your own extensions using the same syntax. The following properties are available for each dependency object: - src: Path to the script to load - async: [optional] Flags if the script should load after reveal.js has started, defaults to false - callback: [optional] Function to execute when the script has loaded - condition: [optional] Function which must return true for the script to be loaded
A ‘ready’ event is fired when reveal.js has loaded all non-async dependencies and is ready to start navigating. To check if reveal.js is already ‘ready’ you can call Reveal.isReady()
.
Reveal.addEventListener( 'ready', function( event ) {
// event.currentSlide, event.indexh, event.indexv
} );
All presentations have a normal size, that is the resolution at which they are authored. The framework will automatically scale presentations uniformly based on this size to ensure that everything fits on any given display or viewport.
See below for a list of configuration options related to sizing, including default values:
Reveal.initialize({
...
// The "normal" size of the presentation, aspect ratio will be preserved
// when the presentation is scaled to fit different resolutions. Can be
// specified using percentage units.
width: 960,
height: 700,
// Factor of the display size that should remain empty around the content
margin: 0.1,
// Bounds for smallest/largest possible scale to apply to content
minScale: 0.2,
maxScale: 1.5
});
Presentations can be configured to progress through slides automatically, without any user input. To enable this you will need to tell the framework how many milliseconds it should wait between slides:
// Slide every five seconds
Reveal.configure({
autoSlide: 5000
});
When this is turned on a control element will appear that enables users to pause and resume auto-sliding. Alternatively, sliding can be paused or resumed by pressing »a« on the keyboard. Sliding is paused automatically as soon as the user starts navigating. You can disable these controls by specifying autoSlideStoppable: false
in your reveal.js config.
You can also override the slide duration for individual slides and fragments by using the data-autoslide
attribute:

After 2 seconds the first fragment will be shown.

After 10 seconds the next fragment will be shown.

Now, the fragment is displayed for 2 seconds before the next slide is shown.

Whenever the auto-slide mode is resumed or paused the autoslideresumed
and autoslidepaused
events are fired.
If you’re unhappy with any of the default keyboard bindings you can override them using the keyboard
config option:
Reveal.configure({
keyboard: {
13: 'next', // go to the next slide when the ENTER key is pressed
27: function() {}, // do something custom when ESC is pressed
32: null // don't do anything when SPACE is pressed (i.e. disable a reveal.js default binding)
}
});
When working on presentation with a lot of media or iframe content it’s important to load lazily. Lazy loading means that reveal.js will only load content for the few slides nearest to the current slide. The number of slides that are preloaded is determined by the viewDistance
configuration option.
To enable lazy loading all you need to do is change your “src” attributes to “data-src” as shown below. This is supported for image, video, audio and iframe elements. Lazy loaded iframes will also unload when the containing slide is no longer visible.

<video>
<source data-src="video.webm" type="video/webm" />
<source data-src="video.mp4" type="video/mp4" />
</video>

The Reveal
object exposes a JavaScript API for controlling navigation and reading state:
// Navigation
Reveal.slide( indexh, indexv, indexf );
Reveal.left();
Reveal.right();
Reveal.up();
Reveal.down();
Reveal.prev();
Reveal.next();
Reveal.prevFragment();
Reveal.nextFragment();
// Toggle presentation states, optionally pass true/false to force on/off
Reveal.toggleOverview();
Reveal.togglePause();
Reveal.toggleAutoSlide();
// Change a config value at runtime
Reveal.configure({ controls: true });
// Returns the present configuration options
Reveal.getConfig();
// Fetch the current scale of the presentation
Reveal.getScale();
// Retrieves the previous and current slide elements
Reveal.getPreviousSlide();
Reveal.getCurrentSlide();
Reveal.getIndices(); // { h: 0, v: 0 } }
Reveal.getProgress(); // 0-1
Reveal.getTotalSlides();
// State checks
Reveal.isFirstSlide();
Reveal.isLastSlide();
Reveal.isOverview();
Reveal.isPaused();
Reveal.isAutoSliding();
A ‘slidechanged’ event is fired each time the slide is changed (regardless of state). The event object holds the index values of the current slide as well as a reference to the previous and current slide HTML nodes.
Some libraries, like MathJax (see #226), get confused by the transforms and display states of slides. Often times, this can be fixed by calling their update or render function from this callback.
Reveal.addEventListener( 'slidechanged', function( event ) {
// event.previousSlide, event.currentSlide, event.indexh, event.indexv
} );
The presentation’s current state can be fetched by using the getState
method. A state object contains all of the information required to put the presentation back as it was when getState
was first called. Sort of like a snapshot. It’s a simple object that can easily be stringified and persisted or sent over the wire.
Reveal.slide( 1 );
// we're on slide 1
var state = Reveal.getState();
Reveal.slide( 3 );
// we're on slide 3
Reveal.setState( state );
// we're back on slide 1
If you set data-state="somestate"
on a slide

, “somestate” will be applied as a class on the document element when that slide is opened. This allows you to apply broad style changes to the page based on the active slide.
Furthermore you can also listen to these changes in state via JavaScript:
Reveal.addEventListener( 'somestate', function() {
// TODO: Sprinkle magic
}, false );
Slides are contained within a limited portion of the screen by default to allow them to fit any display and scale uniformly. You can apply full page backgrounds outside of the slide area by adding a data-background
attribute to your

elements. Four different types of backgrounds are supported: color, image, video and iframe. Below are a few examples.

All CSS color formats are supported, like rgba() or hsl().

This slide will have a full-size background image.

This background image will be sized to 100px and repeated.

Video. Multiple sources can be defined using a comma separated list. Video will loop when the data-background-video-loop attribute is provided.

Embeds a web page as a background. Note that the page won't be interactive.

Backgrounds transition using a fade animation by default. This can be changed to a linear sliding transition by passing backgroundTransition: 'slide'
to the Reveal.initialize()
call. Alternatively you can set data-background-transition
on any section with a background to override that specific transition.
If you want to use a parallax scrolling background, set the first two config properties below when initializing reveal.js (the other two are optional).
Reveal.initialize({
// Parallax background image
parallaxBackgroundImage: '', // e.g. "https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg"
// Parallax background size
parallaxBackgroundSize: '', // CSS syntax, e.g. "2100px 900px" - currently only pixels are supported (don't use % or auto)
// Amount of pixels to move the parallax background per slide step,
// a value of 0 disables movement along the given axis
// These are optional, if they aren't specified they'll be calculated automatically
parallaxBackgroundHorizontal: 200,
parallaxBackgroundVertical: 50
});
Make sure that the background size is much bigger than screen size to allow for some scrolling. View example.
The global presentation transition is set using the transition
config value. You can override the global transition for a specific slide by using the data-transition
attribute:

This slide will override the presentation transition and zoom!

Choose from three transition speeds: default, fast or slow!

You can also use different in and out transitions for the same slide:

The train goes on …

and on …

and stops.

(Passengers entering and leaving)

And it starts again.

Note that this does not work with the page and cube transitions.
It’s easy to link between slides. The first example below targets the index of another slide whereas the second targets a slide with an ID attribute (

):
Link
Link
You can also add relative navigation links, similar to the built in reveal.js controls, by appending one of the following classes on any element. Note that each element is automatically given an enabled
class when it’s a valid navigation route based on the current slide.

Fragments are used to highlight individual elements on a slide. Every element with the class fragment
will be stepped through before moving on to the next slide. Here’s an example: http://lab.hakim.se/reveal-js/#/fragments
The default fragment style is to start out invisible and fade in. This style can be changed by appending a different class to the fragment:

grow

shrink

fade-out

visible only once

blue only once

highlight-red

highlight-green

highlight-blue

Multiple fragments can be applied to the same element sequentially by wrapping it, this will fade in the text on the first step and fade it back out on the second.

I'll fade in, then out

The display order of fragments can be controlled using the data-fragment-index
attribute.

Appears last

Appears first

Appears second

When a slide fragment is either shown or hidden reveal.js will dispatch an event.
Some libraries, like MathJax (see #505), get confused by the initially hidden fragment elements. Often times this can be fixed by calling their update or render function from this callback.
Reveal.addEventListener( 'fragmentshown', function( event ) {
// event.fragment = the fragment DOM element
} );
Reveal.addEventListener( 'fragmenthidden', function( event ) {
// event.fragment = the fragment DOM element
} );
By default, Reveal is configured with highlight.js for code syntax highlighting. Below is an example with clojure code that will be syntax highlighted. When the data-trim
attribute is present surrounding whitespace is automatically removed.

(def lazy-fib
(concat
[0 1]
((fn rfib [a b]
(lazy-cons (+ a b) (rfib b (+ a b)))) 0 1)))

If you would like to display the page number of the current slide you can do so using the slideNumber
configuration value.
// Shows the slide number using default formatting
Reveal.configure({ slideNumber: true });
// Slide number formatting can be configured using these variables:
// h: current slide's horizontal index
// v: current slide's vertical index
// c: current slide index (flattened)
// t: total number of slides (flattened)
Reveal.configure({ slideNumber: 'c / t' });
Press “Esc” or “o” keys to toggle the overview mode on and off. While you’re in this mode, you can still navigate between slides, as if you were at 1,000 feet above your presentation. The overview mode comes with a few API hooks:
Reveal.addEventListener( 'overviewshown', function( event ) { /* ... */ } );
Reveal.addEventListener( 'overviewhidden', function( event ) { /* ... */ } );
// Toggle the overview mode programmatically
Reveal.toggleOverview();
Just press »F« on your keyboard to show your presentation in fullscreen mode. Press the »ESC« key to exit fullscreen mode.
Embedded HTML5 <video>
/<audio>
and YouTube iframes are automatically paused when you navigate away from a slide. This can be disabled by decorating your element with a data-ignore
attribute.
Add data-autoplay
to your media element if you want it to automatically start playing when the slide is shown:
<video data-autoplay src="http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4"></video>
Additionally the framework automatically pushes two post messages to all iframes, slide:start
when the slide containing the iframe is made visible and slide:stop
when it is hidden.
Sometimes it’s desirable to have an element, like an image or video, stretch to consume as much space as possible within a given slide. This can be done by adding the .stretch
class to an element as seen below:

This video will use up the remaining space on the slide

<video class="stretch" src="http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4"></video>

Limitations: - Only direct descendants of a slide section can be stretched - Only one descendant per slide section can be stretched
The framework has a built-in postMessage API that can be used when communicating with a presentation inside of another window. Here’s an example showing how you’d make a reveal.js instance in the given window proceed to slide 2:
<window>.postMessage( JSON.stringify({ method: 'slide', args: [ 2 ] }), '*' );
When reveal.js runs inside of an iframe it can optionally bubble all of its events to the parent. Bubbled events are stringified JSON with three fields: namespace, eventName and state. Here’s how you subscribe to them from the parent window:
window.addEventListener( 'message', function( event ) {
var data = JSON.parse( event.data );
if( data.namespace === 'reveal' && data.eventName ='slidechanged' ) {
// Slide changed, see data.state for slide number
}
} );
This cross-window messaging can be toggled on or off using configuration flags.
Reveal.initialize({
...,
// Exposes the reveal.js API through window.postMessage
postMessage: true,
// Dispatches all reveal.js events to the parent window through postMessage
postMessageEvents: false
});
Presentations can be exported to PDF via a special print stylesheet. This feature requires that you use Google Chrome. Here’s an example of an exported presentation that’s been uploaded to SlideShare: http://www.slideshare.net/hakimel/revealjs-300.
print-pdf
included anywhere in the query string. This triggers the default index HTML to load the PDF print stylesheet (css/print/pdf.css). You can test this with lab.hakim.se/reveal-js?print-pdf.The framework comes with a few different themes included:
Each theme is available as a separate stylesheet. To change theme you will need to replace black below with your desired theme name in index.html:
<link rel="stylesheet" href="css/theme/black.css" id="theme">
If you want to add a theme of your own see the instructions here: /css/theme/README.md.
reveal.js comes with a speaker notes plugin which can be used to present per-slide notes in a separate browser window. The notes window also gives you a preview of the next upcoming slide so it may be helpful even if you haven’t written any notes. Press the ‘s’ key on your keyboard to open the notes window.
Notes are defined by appending an
element to a slide as seen below. You can add the data-markdown
attribute to the aside element if you prefer writing notes using Markdown.
When used locally, this feature requires that reveal.js runs from a local web server.

Some Slide

Oh hey, these are some notes. They'll be hidden in your presentation, but you can see them if you open the speaker notes window (hit 's' on your keyboard).

If you’re using the external Markdown plugin, you can add notes with the help of a special delimiter:

# Title
## Sub-title
Here is some content...
Note:
This will only display in the notes window.
In some cases it can be desirable to run notes on a separate device from the one you’re presenting on. The Node.js-based notes plugin lets you do this using the same note definitions as its client side counterpart. Include the required scripts by adding the following dependencies:
Reveal.initialize({
...
dependencies: [
{ src: 'socket.io/socket.io.js', async: true },
{ src: 'plugin/notes-server/client.js', async: true }
]
});
Then:
npm install
node plugin/notes-server
The multiplex plugin allows your audience to view the slides of the presentation you are controlling on their own phone, tablet or laptop. As the master presentation navigates the slides, all client presentations will update in real time. See a demo at http://revealjs.jit.su/.
The multiplex plugin needs the following 3 things to operate:
More details:
Served from a static file server accessible (preferably) only to the presenter. This need only be on your (the presenter’s) computer. (It’s safer to run the master presentation from your own computer, so if the venue’s Internet goes down it doesn’t stop the show.) An example would be to execute the following commands in the directory of your master presentation:
npm install node-static
static
If you want to use the speaker notes plugin with your master presentation then make sure you have the speaker notes plugin configured correctly along with the configuration shown below, then execute node plugin/notes-server
in the directory of your master presentation. The configuration below will cause it to connect to the socket.io server as a master, as well as launch your speaker-notes/static-file server.
You can then access your master presentation at http://localhost:1947
Example configuration:
Reveal.initialize({
// other options...
multiplex: {
// Example values. To generate your own, see the socket.io server instructions.
secret: '13652805320794272084', // Obtained from the socket.io server. Gives this (the master) control of the presentation
id: '1ea875674b17ca76', // Obtained from socket.io server
url: 'revealjs.jit.su:80' // Location of socket.io server
},
// Don't forget to add the dependencies
dependencies: [
{ src: '//cdnjs.cloudflare.com/ajax/libs/socket.io/0.9.16/socket.io.min.js', async: true },
{ src: 'plugin/multiplex/master.js', async: true },
// and if you want speaker notes
{ src: 'plugin/notes-server/client.js', async: true }
// other dependencies...
]
});
Served from a publicly accessible static file server. Examples include: GitHub Pages, Amazon S3, Dreamhost, Akamai, etc. The more reliable, the better. Your audience can then access the client presentation via http://example.com/path/to/presentation/client/index.html
, with the configuration below causing them to connect to the socket.io server as clients.
Example configuration:
Reveal.initialize({
// other options...
multiplex: {
// Example values. To generate your own, see the socket.io server instructions.
secret: null, // null so the clients do not have control of the master presentation
id: '1ea875674b17ca76', // id, obtained from socket.io server
url: 'revealjs.jit.su:80' // Location of socket.io server
},
// Don't forget to add the dependencies
dependencies: [
{ src: '//cdnjs.cloudflare.com/ajax/libs/socket.io/0.9.16/socket.io.min.js', async: true },
{ src: 'plugin/multiplex/client.js', async: true }
// other dependencies...
]
});
Server that receives the slideChanged events from the master presentation and broadcasts them out to the connected client presentations. This needs to be publicly accessible. You can run your own socket.io server with the commands:
npm install
node plugin/multiplex
Or you use the socket.io server at http://revealjs.jit.su.
You’ll need to generate a unique secret and token pair for your master and client presentations. To do so, visit http://example.com/token
, where http://example.com
is the location of your socket.io server. Or if you’re going to use the socket.io server at http://revealjs.jit.su, visit http://revealjs.jit.su/token.
You are very welcome to point your presentations at the Socket.io server running at http://revealjs.jit.su, but availability and stability are not guaranteed. For anything mission critical I recommend you run your own server. It is simple to deploy to nodejitsu, heroku, your own environment, etc.
The socket.io server can play the role of static file server for your client presentation, as in the example at http://revealjs.jit.su. (Open http://revealjs.jit.su in two browsers. Navigate through the slides on one, and the other will update to match.)
Example configuration:
Reveal.initialize({
// other options...
multiplex: {
// Example values. To generate your own, see the socket.io server instructions.
secret: null, // null so the clients do not have control of the master presentation
id: '1ea875674b17ca76', // id, obtained from socket.io server
url: 'example.com:80' // Location of your socket.io server
},
// Don't forget to add the dependencies
dependencies: [
{ src: '//cdnjs.cloudflare.com/ajax/libs/socket.io/0.9.16/socket.io.min.js', async: true },
{ src: 'plugin/multiplex/client.js', async: true }
// other dependencies...
]
It can also play the role of static file server for your master presentation and client presentations at the same time (as long as you don’t want to use speaker notes). (Open http://revealjs.jit.su in two browsers. Navigate through the slides on one, and the other will update to match. Navigate through the slides on the second, and the first will update to match.) This is probably not desirable, because you don’t want your audience to mess with your slides while you’re presenting. ;)
Example configuration:
Reveal.initialize({
// other options...
multiplex: {
// Example values. To generate your own, see the socket.io server instructions.
secret: '13652805320794272084', // Obtained from the socket.io server. Gives this (the master) control of the presentation
id: '1ea875674b17ca76', // Obtained from socket.io server
url: 'example.com:80' // Location of your socket.io server
},
// Don't forget to add the dependencies
dependencies: [
{ src: '//cdnjs.cloudflare.com/ajax/libs/socket.io/0.9.16/socket.io.min.js', async: true },
{ src: 'plugin/multiplex/master.js', async: true },
{ src: 'plugin/multiplex/client.js', async: true }
// other dependencies...
]
});
The Leap Motion plugin lets you utilize your Leap Motion device to control basic navigation of your presentation. The gestures currently supported are:
Pointer — Point to anything on screen. Move your finger past the device to expand the pointer.
Navigate through your slides. See config options to invert movements.
Toggle the overview mode. Do it a second time to exit the overview.
You can edit the following options:
| Property | Default | Description |
|---|---|---|
| autoCenter | true | Center the pointer based on where you put your finger into the leap motions detection field. |
| gestureDelay | 500 | How long to delay between gestures in milliseconds. |
| naturalSwipe | true | Swipe as though you were touching a touch screen. Set to false to invert. |
| pointerColor | #00aaff | The color of the pointer. |
| pointerOpacity | 0.7 | The opacity of the pointer. |
| pointerSize | 15 | The minimum height and width of the pointer. |
| pointerTolerance | 120 | Bigger = slower pointer. |
Example configuration:
Reveal.initialize({
// other options...
leap: {
naturalSwipe : false, // Invert swipe gestures
pointerOpacity : 0.5, // Set pointer opacity to 0.5
pointerColor : '#d80000' // Red pointer
},
dependencies: [
{ src: 'plugin/leap/leap.js', async: true }
]
});
If you want to display math equations in your presentation you can easily do so by including this plugin. The plugin is a very thin wrapper around the MathJax library. To use it you’ll need to include it as a reveal.js dependency, find our more about dependencies here.
The plugin defaults to using LaTeX but that can be adjusted through the math
configuration object. Note that MathJax is loaded from a remote server. If you want to use it offline you’ll need to download a copy of the library and adjust the mathjax
configuration value.
Below is an example of how the plugin can be configured. If you don’t intend to change these values you do not need to include the math
config object at all.
Reveal.initialize({
// other options ...
math: {
mathjax: 'http://cdn.mathjax.org/mathjax/latest/MathJax.js',
config: 'TeX-AMS_HTML-full' // See http://docs.mathjax.org/en/latest/config-files.html
},
dependencies: [
{ src: 'plugin/math/math.js', async: true }
]
});
Read MathJax’s documentation if you need HTTPS delivery or serving of specific versions for stability.
The basic setup is for authoring presentations only. The full setup gives you access to all reveal.js features and plugins such as speaker notes as well as the development tasks needed to make changes to the source.
The core of reveal.js is very easy to install. You’ll simply need to download a copy of this repository and open the index.html file directly in your browser.
Download the latest version of reveal.js from https://github.com/hakimel/reveal.js/releases
Unzip and replace the example contents in index.html with your own
Open index.html in a browser to view it
Some reveal.js features, like external Markdown and speaker notes, require that presentations run from a local web server. The following instructions will set up such a server as well as all of the development tasks needed to make edits to the reveal.js source code.
Install Node.js
Install Grunt
Clone the reveal.js repository sh $ git clone https://github.com/hakimel/reveal.js.git
Navigate to the reveal.js folder sh $ cd reveal.js
Install dependencies sh $ npm install
Serve the presentation and monitor source files for changes sh $ grunt serve
Open http://localhost:8000 to view your presentation
You can change the port by using grunt serve --port 8001
.
MIT licensed
Copyright (C) 2015 Hakim El Hattab, http://hakim.se


Update your personal information
Avatar
Allowed file types: png, jpg, jpeg.
Text me about Quote order review related notifications
Email me about Quote order review related notifications
Keep me signed in on this computer
Hide reviews on all products
Auto-reply when receiving a message


Find my Plugin
Search among MAP, CTK and openCOR Plugins that have been made available for collaboration among the community.
RDF for a new plugin can be created here
You need to change this security constraint, to use this service!
Google Chrome users can install "Allow-Control-Allow-Origin: *" extension to help change this security constraint.


Upgrade to Pro
Starter Page
Home
Library
June 19
July 19
Aug 19
This is some text within a card block.


This application is driven by the FAIRmetrics and the FAIRsharing groups. We recognize the support of the DBCLS BioHackathon series during which much of the back-end code was prototyped. Licensed under MIT.


{{define "title"}}Dashboard{{end}} {{define "body"}}
| Host | Path-Prefix | BasicAuth Allowed |
|---|---|---|
| {{.Site.Host}} | {{.Site.PathPrefix}} | {{if .SiteMapping.BasicAuthAllowed}} done {{else}} clear {{end}} |
| Name | Token | Delete |
|---|---|---|
| {{.Name}} | {{.Token}} | delete_forever |
| Username | Is Admin | Delete |
|---|---|---|
| {{.Username}} | {{if .IsAdmin}} done {{else}} clear {{end}} | delete_forever |
| Host | Path-Prefix | Prompt Basic Auth | Anonymous Access | Config OK | Edit | Delete |
|---|---|---|---|---|---|---|
| {{.Host}} | {{.PathPrefix}} | {{if .PromptBasicAuth}} done {{else}} clear {{end}} | {{if .AnonymousAccess}} done {{else}} clear {{end}} | {{if .ConfigOK}} done {{else}} clear {{end}} | edit | delete_forever |
If the config for a site is not OK, most probably the Traefik configuration is not set properly. More information about this can be found in the readme.


public abstract class Writer extends AutoCloseable
flush()
method to be called before closing the stream, to ensure all data is
actually written out.
This abstract class does not provide a fully working implementation, so it needs to be subclassed, and at least the
write(char[], int, int)
, close()
and flush()
methods needs to be overridden. Overriding
some of the non-abstract methods is also often advised, since it might result in higher efficiency.Reader
| Constructor and Description |
|---|
Writer() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
close()
Closes this writer.
|
abstract void |
flush()
Flushes this writer.
|
java.lang.String |
getLineSeparator()
Get the line separator being used for this writer.
|
void |
setLineSeparator(java.lang.String lineSeparator)
Set the line separator for this writer.
|
void |
write(char[] buf)
Writes the entire character buffer
buf to the target. |
abstract void |
write(char[] buf,
int offset,
int count)
Writes
count characters starting at offset in buf to the target. |
void |
write(int oneChar)
Writes one character to the target.
|
void |
write(java.lang.String str)
Writes the characters from the specified string to the target.
|
void |
write(java.lang.String str,
int offset,
int count)
Writes
count characters from str starting at offset to the target. |
void |
writeln()
Write the line separator.
|
void |
writeln(java.lang.String str)
Writes the characters from the specified string followed by a line separator.
|
public abstract void close()
close
in interface java.lang.AutoCloseable
close
in class AutoCloseable
IOException
- if an error occurs while closing this writer.public abstract void flush()
IOException
- if an error occurs while flushing this writer.public void write(char[] buf)
buf
to the target.buf
- the non-null array containing characters to writeIOException
- if this writer is closed or another I/O error occurs.public abstract void write(char[] buf, int offset, int count)
count
characters starting at offset
in buf
to the target.buf
- the non-null character array to write.offset
- the index of the first character in buf
to write.count
- the maximum number of characters to write.IOException
- if this writer is closed or another I/O error occurs.public void write(int oneChar)
oneChar
are
written.oneChar
- the character to write to the target.IOException
- if this writer is closed or another I/O error occurs.public void write(java.lang.String str)
str
- the non-null string containing the characters to writeIOException
- if this writer is closed or another I/O error occurspublic void write(java.lang.String str, int offset, int count)
count
characters from str
starting at offset
to the target.str
- the non-null string containing the characters to writeoffset
- the index of the first character in str
to writecount
- the number of characters from str
to write.IOException
- if this writer is closed or another I/O error occurspublic java.lang.String getLineSeparator()
public void setLineSeparator(java.lang.String lineSeparator)
lineSeparator
- line separatorpublic final void writeln()
public final void writeln(java.lang.String str)
str
- string to write


WITNESS LIST Natural Resources Committee April 16, 1997-1:00P HB 5 For: Arrington, Lee (S Plains UWCD) Booth, Michael (Tarrant RWD) Bushell, Gary (GCCBA & Corpus Chisti) Duck, Tommy (TRWA) Grant, John (CRMWD) Hamilton, Janet L. (Champion) Kaiser, Ronald (himself) Kramer, Ken (Sierra Club) Oliver, Jim (Tarrant RWD) Perrenot, Frederick A. (City of Houston) Powers, Bill (TX Farm Bureau) Small, Ed (TSCRA) Stansell, Wade (AECT) Thuss, Michael F. (SAWS) Williams, C.E. (TAGD) Against: Clayton, Bill (Uvalde UWCD) Stewart, Terrace W. (City of Dallas) On: Akers, Monte (TML) Goynes, Tom (TRPA) Raley, Bennett (himself) Reed, Cyrus (TCPS) Smith, Rodney T. (himself) Registering, but not testifying: For: Bowers, Richard (N Plains GWCD#2) Golden, Cathy (Greater Dallas Chamber) Gutierrez, Hector (El Paso WUPSB) Lynch, Stanford (Dallas Co URD) Miksa, Mary (TABCC) White, Michael (Greater Houston Partn) Against: Clark, Dennis (Emerald UWD) On: Bull, Ken (McCulloch Co POA) HB 574 For: Hawley, Judy (Representative) HB 1024 For: Donovan, Sister Judy (Texas Interfaith) Oliviera, Rene (Representative) On: Cedillo, Ruth (TDH&CA) Escarcega, Fernando (TWDB) Martinez, Sandra (TX Comptroller) HB 2665 For: Baker, Pamela (EDF) Hawley, Judy (Representative) Hopper, Cecil M. (Hynes Bay Coalition) Jaenike, Fritz (Harlingen Shrimp Farms) Moore, Tim C. (TX Aquaculture Assoc) Turner, Franklin L. (Coa for Prot Copano Bay) HB 3314 For: Hamaker, Dale E. (Polk Co FWSD#2) Hightower, Allen (Representative) HB 3540 For: Price, Albert (Representative) HB 3546 For: Carroll, Kim (PIB Flood Comm) Goodson, Guy (PIBSCD Comm in Beaumont) Turk, Jeanie (PIBSCD Comm in Beaumont) Zbranek, Zeb (Representative) Against: Bezanson, Janice (TCNR) Johnston, Maxine (Big Thicket Association) Kramer, Ken (Sierra Club) Simon, David J. (NPCA) On: Peterson, Richard (National Park Service) HB 3552 For: Cook, Joe (San Elizario Grant MUD) Garner, Gayle (LVWD & San Elizario MUD) Macias, Manuel Jr. (LVWD) Pickett, Joseph (Representative) HB 3554 For: Garner, Gayle (LVWD) Gutierrez, Hector (El Paso WUPSB) Macias, Manuel Jr. (LVWD) Pickett, Joseph (Representative) HB 3561 For: Page, Michael G. (Town Center Improv Dist) Robinson, Frank (Town Center Improv Dist) Williams, Thomas (Representative) SB 327 For: Price, Albert (Representative)


Introduction
Definition: A branch of applied statistics that focuses on the distinctiveness of extreme values
Generalized Extreme-Value Theory
- Hξ,μ,σ=
- exp[-(1+ξ[x-μ]/σ)-1/ξ], if ξ ≠ 0
- exp[-exp([x-μ]/σ)], if ξ = 0
- If ξ < 0, the GEV becomes a Frechet distribution
- If ξ = 0, the GEV becomes a Gumbel distribution
- If ξ < 0, the GEV becomes a Weibull distribution
Estimation of EV Parameters
- Maximum likelihood (ML) methods
- Regression methods
- Semi-parametric methods
Peaks-Over-Threshold Approach: Generalized Pareto Distribution
- Natural way to model exceedances over a high threshold
- Fu(x) = Pr{X-u≤x|X>u} = [F(x+u)-F(u)]/[1-F(u)]
- Gnedenko-Pickands-Balkema-deHaan (GPBdH):
- If ξ≠0: Gξ,β(x) = 1-(1+ξx/β)-1/ξ
- If ξ=0: Gξ,β(x) = 1-exp(-x/β)
Refinements to EV Approaches
- Conditional EV
- Dealing with dependent (non-iid) data
- Multivariate EVT
Limitations of EV
- Relatively few observations leads to uncertain estimates
- Considerable model risk
- Sensitive to small sample effects, biases, non-linearities, and other problems


A student's post can be suspended. This means that the post, and in particular any mark or comments you have made, cannot be released back to the student.
If the checkbox is ticked, the post is suspended.
This is provided in case there is some problem with the student post (e.g. possible plagiarism), which requires additional consideration before release.


WIth the proliferation of data visualization tools flooding the market in the last few years there are plenty of options to choose from and it can be extremely confusing/intimidating to pick the right one to use when. The secret is to isoclate exactly what you need to do and adjust accordingly since all address slightly different parts of the challenge that is data visualization.


Class: Rails::Mongoid::Railtie
- Inherits:
-
Railtie
- Object
- Railtie
- Rails::Mongoid::Railtie
- Defined in:
- lib/mongoid/railtie.rb
Overview
Hooks Mongoid into Rails 3 and higher.
Class Method Summary collapse
-
.rescue_responses ⇒ Object
Mapping of rescued exceptions to HTTP responses.
Instance Method Summary collapse
-
#handle_configuration_error(e) ⇒ Object
Rails runs all initializers first before getting into any generator code, so we have no way in the intitializer to know if we are generating a mongoid.yml.
Class Method Details
.rescue_responses ⇒ Object
Mapping of rescued exceptions to HTTP responses
@ return [Hash] rescued responses
23 24 25 26 27 28 |
# File 'lib/mongoid/railtie.rb', line 23 def self.rescue_responses { "Mongoid::Errors::DocumentNotFound" => :not_found, "Mongoid::Errors::Validations" => 422 } end |
Instance Method Details
#handle_configuration_error(e) ⇒ Object
Rails runs all initializers first before getting into any generator code, so we have no way in the intitializer to know if we are generating a mongoid.yml. So instead of failing, we catch all the errors and print them out.
103 104 105 106 |
# File 'lib/mongoid/railtie.rb', line 103 def handle_configuration_error(e) puts "There is a configuration error with the current mongoid.yml." puts e. end |


ussr.description.robot
Class RobotDescription
java.lang.Object
ussr.description.Description
ussr.description.robot.RobotDescription
- All Implemented Interfaces:
- java.lang.Cloneable
public class RobotDescription
- extends Description
A description of the geometry of a complete robot module, including the shape
of the core, the shape of a connector, and the positions of the connectors and
their range.
- Author:
- Modular Robots @ MMMI
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RobotDescription
public RobotDescription(java.lang.String type)
getModuleComponents
public java.util.List<ModuleComponentDescription> getModuleComponents()
- Get the module geometry: the geometric shapes that constitute the core of the module
- Returns:
- the core geometry shapes
setModuleComponents
public void setModuleComponents(ModuleComponentDescription[] descriptions)
- Set the module geometry: the geometric shapes that constitute the core of the module
- Parameters:
descriptions
- the core geometry shapes
setTransmitters
public void setTransmitters(TransmissionDevice[] transmitters)
setReceivers
public void setReceivers(ReceivingDevice[] transmitters)
getTransmitters
public java.util.List<TransmissionDevice> getTransmitters()
getReceivers
public java.util.List<ReceivingDevice> getReceivers()
getStructure
public RobotDescription.PhysicsCompositionStructure getStructure()
- Returns:
- the structure
setStructure
public void setStructure(RobotDescription.PhysicsCompositionStructure structure)
- Parameters:
structure
- the structure to set
getType
public java.lang.String getType()
- Type of robot
- Returns:


|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
Aggregator
.
See:
Description
| Class Summary | |
|---|---|
| Chart | A chart based on JFreeChart. |
| ChartFactory | A factory that can create various types of JFreeChart charts. |
| Datasets | Utility class that adapts diagrams to JFreeChart datasets. |
Provides support for generating JFreeChart
diagrams from reports generated by Aggregator
.
Graphics
object, stored to a file (for example,
as a JPEG), or embedded in a Swing application.
To see an example of this package expected usage, assume this preparation exists
(which is explained in Aggregator
):
Aggregator aggregator = ...; Records records = aggregator. ... report(...); Diagram diagram = DiagramFactory.newDiagram(records) .withTitle("My Title") .withRangeLabel("Time (milliseconds)");The root access point of this package is
ChartFactory
.
Using this, a factory that can create various types of JFreeChart charts is created.
ChartFactory chartFactory = new ChartFactory(diagram);For example, to create a bar chart:
Chart chart = chartFactory.newBarChart();Or to create a line chart:
Chart chart = chartFactory.newLineChart();A
Chart
object offers methods
to an image of the chart
,
to paint
the chart to a
Graphics
object,
to save the chart into a file
,
to create a panel
that can be embedded in a Swing application.
See the respective javadocs for a complete specification.
For a simple example, this would be used to create a jpg from the chart:
chart.write(800, 600, "jpeg", new File("myDiagram.jpg"));
To create a panel that can be embedded in a Swing container:
ChartPanel panel = chart.newPanel();
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |


JOHNNY MNEMONIC A film review by P. Douglas Reeder Copyright 1995 P. Douglas Reeder
In summary: fairly good cyberpunk action adventure.
Keanu Reeves (playing Johnny) does a fine job on a character without any great depth. Jane (sorry, I can't remember the actress's name) is fine as a romantic interest, which is how the character in the movie is written, but is not unduly plausible as a bodyguard. Ice-T, playing the head of the Lo-Teks (which are aren't that low of tech) is fine, mostly because he doesn't have that many lines. He has the right visual appearance to carry the character.
Costuming and sets are well done, convincing, and (where appropriate) tasteful. (The sets look properly futuristic, though we all know that the future is going to look a lot like the present, only with better computer graphics. The cyberspace sequences are esthetically pleasing and not overdone, i.e. don't take up an excessive amount of screen time. Perhaps the most convincing scene is Johhny wearing data gloves and a VR headset, making motions that seem very plausible to manipulate things in cyberspace.
The screenplay is a good adaptation of the short story, and uses all the short story elements well, adding some elements that fit well, such as a degenerative nerve disease. There is some gore, but not overly much, especially for a current action-adventure movie. No sex, and not more than a flash of nudity., and only one kiss, not too steamy. This is good, because it wouldn't work, not without radically changing the characters. As it is, Jane is too sentimental to be convincing as a bodyguard.
The movie doesn't get any deeper than the action-adventure level, though I can't think of any particularly obvious way it could. I suppose the main characters could have been a bit deeper. The supporting characters are well done, having personality. Johnny's most revealing scene is where he says he wants his shirts pressed like they are at the Imperial Hotel in Tokyo. How deep! Jane, we have no idea why she is what she is now or how she got there. Okay, that's definitely a missed opportunity.
-- P. Douglas Reeder<EMAIL_ADDRESS>The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Greybeard, Linguistic Data Consortium (LDC) Catalog Number LDC2013S05 and ISBN 1-58563-645-2, was developed by LDC and is comprised of approximately 590 hours of English telephone conversation speech collected in October and November 2008 by LDC. The goal was to record new telephone conversations among subjects who had participated in one or more previous LDC telephone collections, from Switchboard-1 (1991) through the Mixer studies (2006).
A total of 172 subjects were enrolled in the Greybeard collection, all of whom had participated in one of the following:
Most Greybeard participants completed 12 calls. Some subjects completed up to 24 calls. Calls were made or received via an automatic operator system of LDC which connected two participants and announced a topic for discussion.
This releases consists of 4680 calls -- the complete set of calls recorded during the Greybeard collection (1098 calls) as well as all calls from the legacy collections that involved the Greybeard speakers.
The audio from each call was captured digitally by the operator system and stored in a separate file as raw mu-law sample data. As the recordings were uploaded daily from the robot operator to network disk storage, automated processes reformatted the audio into a 2-channel SPHERE-format file for each conversation and queued the recordings for manual audit to verify speaker identification and to check other aspects of the recording. Auditors provided impressionistic judgments on overall audio quality, presence of background noise and cross-channel echo and any other technical difficulty with the call, in addition to confirming the speaker-ID on each channel. These auditor decisions are provided in the "call_info" tables, described in more detailed in the included documentation.
For this release, each 2-channel recording was converted from SPHERE to MS-WAV file format and compressed using FLAC. All audio files are 2-channel, 8 KHz, 16-bit PCM sample data, in FLAC-compressed form (http://flac.sourceforge.net). When uncompressed, they have MS-WAV/RIFF headers.
Please see file.tbl for a complete file list as well as checksums for this publication.
Additional information, updates, bug fixes may be available in the LDC catalog entry for this corpus at LDC2013S05.
Portions © 2008, 2013 Trustees of the University of Pennsylvania


Balthazar:
Thanks to you my research is proceeding as scheduled. Soon we shall all see the amazing results! The prototype is almost finished!


{% extends 'base.html' %} {% load static %} {% block content %} {% load bootstrap3 %}
Overall Stats
{% bootstrap_icon "user" %} View stats By district {% bootstrap_icon "user" %} Views Stats By Taluk {% bootstrap_icon "search" %} Public data insights


Module pl.data
Reading and querying simple tabular data
data.read 'test.txt' ==> {{10,20},{2,5},{40,50},fieldnames={'x','y'},delim=','}Provides a way of creating basic SQL-like queries.
require 'pl' local d = data.read('xyz.txt') local q = d:select('x,y,z where x > 3 and z < 2 sort by y') for x,y,z in q do print(x,y,z) end
See the Guide
Functions
| Data.column_by_name (name) | return a particular column as a list of values (Method) |
| Data.select (condn) | return a query iterator on this data object (Method) |
| Data.copy_select (condn) | return a new data object based on this query (Method) |
| Data.column_names () | return the field names of this data object (Method) |
| Data.write_row (f) | write out a row (Method) |
| Data.write (f) | write data out to file(Method) |
| read (file, cnfg) | read a delimited file in a Lua table |
| new (d, fieldnames) | create a new dataset from a table of rows |
| query (data, condn, context, return_row) | create a query iterator from a select string |
| filter (Q, infile, outfile, dont_fail) | Filter input using a query |
Functions
- Data.column_by_name (name)
-
return a particular column as a list of values (Method)
Parameters:
name
: either name of column, or numerical index.
- Data.select (condn)
-
return a query iterator on this data object (Method)
Parameters:
condn
: the query expression
see also:
- Data.copy_select (condn)
-
return a new data object based on this query (Method)
Parameters:
condn
: the query expression
- Data.column_names ()
-
return the field names of this data object (Method)
- Data.write_row (f)
-
write out a row (Method)
Parameters:
f
: file-like object
- Data.write (f)
-
write data out to file(Method)
Parameters:
f
: file-like object
- read (file, cnfg)
-
read a delimited file in a Lua table
By default, attempts to treat first line as separated list of fieldnames.
Parameters:
file
: a filename or a file-like object (default stdin)cnfg
: options table: can override delim (a string pattern), fieldnames (a list), specify no_convert (default is to convert), numfields (indices of columns known to be numbers) and thousands_dot (thousands separator in Excel CSV is '.')
- new (d, fieldnames)
-
create a new dataset from a table of rows
Can specify the fieldnames, else the table must have a field called 'fieldnames', which is either a string of delimiter-separated names, or a table of names.
If the table does not have a field called 'delim', then an attempt will be made to guess it from the fieldnames string, defaults otherwise to tab.Parameters:
d
: the table.fieldnames
: optional fieldnames
Returns:
-
the table.
- query (data, condn, context, return_row)
-
create a query iterator from a select string
Select string has this format:
FIELDLIST [ where LUA-CONDN [ sort by FIELD] ]
FIELDLISt is a comma-separated list of valid fields, or '*'.
The condition can also be a table, with fields 'fields' (comma-sep string or table), 'sort_by' (string) and 'where' (Lua expression string or function)Parameters:
data
: table produced by readcondn
: select string or tablecontext
: a list of tables to be searched when resolving functionsreturn_row
: if true, wrap the results in a row table
Returns:
-
an iterator over the specified fields
- filter (Q, infile, outfile, dont_fail)
-
Filter input using a query
Parameters:
Q
: a query stringinfile
: filename or file-like objectoutfile
: filename or file-like objectdont_fail
: true if you want to return an error, not just fail


Goals
A goal marks an unfinished expression. It always produces an error message which contains the expected type of an expression that should replace the goal and the context of the goal, that is the list of available variables with their types. A goal is written as {?} or {?id}, where id is any identifier which denotes the name of the goal. The name of a goal only appears in error messages and does not affect the code in any way.
For example, consider the following code:
\func f (x y : Nat) (p : x = y) : y = x
=> {?}
It will produce the following error message:
[GOAL] test.ard:1:44:
Expected type: y = {Nat} x
Context:
y : Nat
x : Nat
p : x = {Nat} y
In: {?}
While processing: f
The information in the error message might be especially useful, when the expected type or types of variables are inferred by the typechecker.


Module Thyr
A tool for simulating 3D gyrosynchrotron emission.
Copyright (c) 2015-2018 Christopher Osborne, University of Glasgow MIT License: https://opensource.org/licenses/MIT
Tables
| AABB | Axis Aligned Bounding Box. |
| MinMax | |
| exports |
Local Functions
| allocate_grid (xSize, ySize, zSize) | Allocates the 3D Voxel Grid to hold j and k. |
| DoubleCArray (len) | GC'd array of Doubles. |
| uniform_3d_index_gen (numVox) | Generator to index a uniform 3D grid from x, y, and z. |
| non_uniform_3d_index_gen (xVox, yVox, zVox) | Generator to index a 3D grid from x, y, and z. |
| uniform_2d_index_gen (len) | Generator to index a 2D grid from x and y. |
| aabb_to_grid_alloc_size (aabb, scale) | Computes size to allocate from an AABB object and a scale factor. |
| aabb_to_index (aabb, scale) | Index function from an AABB object and a scale factor. |
| backup_grid (grid, gyroParams, filename) | Serialise grid to file. |
| restore_backup_grid (filename) | Load grid from file. |
| dipole (d[, trans]) | Generate a dipole shape with the given parameters. |
| visualise_dipole_param (d, scale, gyroParams, paramName, interp_fn) | Fill the dipole shape with the value of the requested parameter. |
| create_gyro_thread_pool (numThreads) | Construct a thread pool to parallelise computation of the gyrosynchrotron coefficients |
| dipole_in_aabb (d, scale, gyroParams, interp_fn, pool) | Construct a dipole with j and k in the AABB. |
| create_high_res_footpoints (d, gyroParams, scale, footpointFraction, interp_fn, pool) | Refine the Grid around the dipole's footpoints. |
| min_per_elem (vec1, vec2) | Returns the minimum of each element of two maf.vec3's. |
| max_per_elem (vec1, vec2) | Returns the maximum of each element of two maf.vec3's. |
| min_elem (vec) | Returns the minimum element of a maf.vec3. |
| max_elem (vec) | Returns the maximum element of a maf.vec3. |
| box_ray_intersections (box, rayOrigin, rayDirection) | Compute the intersections of a ray and a box. |
| average_path_trace (lowRes, highRes, resolution, gyroParams) | Raymarch through the provided regions and return the average value for each ray. |
| path_trace (lowRes, highRes, resolution, gyroParams) | Raymarch through the provided regions and return the integrated brightness temperature values in O and X modes and thermal emission for each ray. |
| rotation_zyx (x, y, z) | Returns the rotation quaternion for a rotation about the z, then y, then x axes. |
| solar_location (tilt, azimuth, latitude, longitude) | Returns the rotation quaternion for a given location on the Sun. |
| ray_direction (rotMat) | Returns the ray direction for a given rotation. |
Tables
- AABB
-
Axis Aligned Bounding Box.
Fields:
- MinMax
-
Fields:
- min number
- max number
- exports
-
Fields:
- ArcToCm conversion from arcseconds from Earth to cm on the surface of the Sun.
Local Functions
- allocate_grid (xSize, ySize, zSize)
-
Allocates the 3D Voxel Grid to hold j and k.
Wrapper around the C functions that allocate the grid holding the
emission/absorption parameters, so that grids are automatically garbage
collected when there are no remaining references.
Parameters:
- xSize int Number of x voxels
- ySize int Number of y voxels
- zSize int Number of z voxels
Returns:
-
Garbage collected grid
- DoubleCArray (len)
-
GC'd array of Doubles.
Lua "type" for a simple garbage collected array of doubles. _Much_ smaller
than using a table.
Parameters:
- len int length of array (0-indexed as it comes from C)
- uniform_3d_index_gen (numVox)
-
Generator to index a uniform 3D grid from x, y, and z.
The grids are one-dimensional for speed reasons, this hides that fact.
Also does some error chacking to avoid segfaults.
Parameters:
- numVox int grid side length
Returns:
-
function (x, y, z) -> index for use with uniform 3D grid
- non_uniform_3d_index_gen (xVox, yVox, zVox)
-
Generator to index a 3D grid from x, y, and z.
The grids are one-dimensional for speed reasons, this hides that fact.
In this version x, y and z can have different lengths.
Also does some error chacking to avoid segfaults.
Parameters:
- xVox int grid x length
- yVox int grid y length
- zVox int grid z length
Returns:
-
function (x, y, z) -> index for use with 3D grid
- uniform_2d_index_gen (len)
-
Generator to index a 2D grid from x and y.
The grids are one-dimensional for speed reasons, this hides that fact.
This is used for things like images, (assumed to be square in Thyr).
Parameters:
- len int grid side length
Returns:
-
function (x, y) -> index for use with uniform 2D grid
- aabb_to_grid_alloc_size (aabb, scale)
-
Computes size to allocate from an AABB object and a scale factor.
Parameters:
- aabb AABB an axis-aligned bounding box object (see later)
- scale int the scale factor by which the linear grid density is scaled
Returns:
-
number of voxels to allocate
- aabb_to_index (aabb, scale)
-
Index function from an AABB object and a scale factor.
Parameters:
- aabb AABB an axis-aligned bounding box object (see later)
- scale int the scale factor by which the linear grid density is scaled
Returns:
-
Index function for this grid
- backup_grid (grid, gyroParams, filename)
-
Serialise grid to file.
This saves two files determined by the filename prefix
These can be restored using restore_backup_grid
Parameters:
- grid Grid the grid object generated by dipole_in_aabb
- gyroParams GyroDataTable the shared data required for Gyro calculations
- filename string a filename prefix, '_grid.bak' and '_meta.bak' will be appended for the files that are saved
- restore_backup_grid (filename)
-
Load grid from file.
Loads the two files determined by the filename prefix
Parameters:
- filename string a filename prefix, '_grid.bak' and '_meta.bak' will be appended to load the files as per backup_grid
Returns:
- Grid loaded grid
- GyroParamTable the shared data required for Gyro calculations
- dipole (d[, trans])
-
Generate a dipole shape with the given parameters.
This shape is stored in an array of bytes with a 1 signaling that the voxel
is inside the dipole shape
Parameters:
- d DipoleParams parameters determining shape of Dipole. See Driver function for form
- trans maf.vec3 translation of dipole inside grid (optional)
Returns:
- ByteArray Grid of data describing dipole
- IndexFn Function to use for indexing the ByteArray
- AABB AABB for dipole contained in array
- int Number of voxels that are inside the dipole
- visualise_dipole_param (d, scale, gyroParams, paramName, interp_fn)
-
Fill the dipole shape with the value of the requested parameter.
Parameters:
- d Grid table containing the dipole shape and the parameters
- scale int the scale factor by which to increase the linear grid density
- gyroParams GyroParamTable shared parameters used in Gyro calculations
- paramName string parameter name to fill the grid with. One of 'angle', 'height', 'N_el', 'N_p', 'B_mag', 'temperature', 'N_HI', 'N_HII'
- interp_fn function(height)->PlasmaParams function returning, for a given height, the values of N_el, N_p, temperature, N_HI, N_HII
Returns:
-
Grid
a complete grid structure with the filled parameter
- create_gyro_thread_pool (numThreads)
-
Construct a thread pool to parallelise computation of the gyrosynchrotron coefficients
Parameters:
- numThreads int number of threads to use
Returns:
-
threads.Threads
Thread pool object used in torch with initialised threads
- dipole_in_aabb (d, scale, gyroParams, interp_fn, pool)
-
Construct a dipole with j and k in the AABB.
Parameters:
- d Grid the Grid returned from dipole
- scale int the scale factor to apply
- gyroParams GyroParamTable the shared parameters for the Gyro calculation
- interp_fn function(height)->PlasmaParams function returning, for a given height, the values of N_el, N_p, temperature, N_HI, N_HII
- pool threads.Threads Torch thread pool to use for computing the gyrosynchrotron coeffecients in parallel
Returns:
-
Grid
a complete grid structure with the filled j and k values for each requested frequency for each voxel within the dipole, these are null pointers elsewhere
- create_high_res_footpoints (d, gyroParams, scale, footpointFraction, interp_fn, pool)
-
Refine the Grid around the dipole's footpoints.
Parameters:
- d Grid Grid returned from dipole
- gyroParams GyroParamTable the shared parameters for the Gyro calculation
- scale int the scale factor to apply
- footpointFraction number fraction of the y length of the AABB taken up by the footpoints
- interp_fn function(height)->PlasmaParams function returning, for a given height, the values of N_el, N_p, temperature, N_HI, N_HII
- pool threads.Threads Torch thread pool to use for computing the gyrosynchrotron coeffecients in parallel
Returns:
-
List{Grid}
a List containing the two refined Grids shrunk around the footpoints with their computed parameters inside
- min_per_elem (vec1, vec2)
-
Returns the minimum of each element of two maf.vec3's.
Parameters:
- vec1
- vec2
- max_per_elem (vec1, vec2)
-
Returns the maximum of each element of two maf.vec3's.
Parameters:
- vec1
- vec2
- min_elem (vec)
-
Returns the minimum element of a maf.vec3.
Parameters:
- vec
- max_elem (vec)
-
Returns the maximum element of a maf.vec3.
Parameters:
- vec
- box_ray_intersections (box, rayOrigin, rayDirection)
-
Compute the intersections of a ray and a box.
Based on Slab method presented in Siggraph 1998 by S. Owen. Added Tavian
Barnes' improvements using the IEE754 standard to handle edge cases that must
otherwise be handled explicitly. Minor improvements in the number of
comparisons with infinity.
Parameters:
- box AABB the AABB enclosing the region of interest
- rayOrigin maf.vec3 the origin of the ray
- rayDirection maf.vec3 the normalised direction vector of the ray
Returns:
- number the first intersection t with the box such that rayOrigin + rayDirection * t = intersection
- number the second intersection with the box
- nil if the ray does not intersect with the box then nil is returned
- average_path_trace (lowRes, highRes, resolution, gyroParams)
-
Raymarch through the provided regions and return the average value for each ray.
Parameters:
- lowRes Grid the basic unrefined grid valid everywhere in the dipole
- highRes List{Grid} List of high resolution refined grids valid in certain locations (eg. footpoints). If none then provide an empty list.
- resolution int the resolution of the image to trace
- gyroParams GyroParamTable the shared parameters required for the Gyro calculation
Returns:
- DoubleCArray the array containing the output image
- function(x,y)->index function used to index the array in x and y coordinates
- path_trace (lowRes, highRes, resolution, gyroParams)
-
Raymarch through the provided regions and return the integrated brightness temperature values in O and X modes and thermal emission for each ray.
Parameters:
- lowRes Grid the basic unrefined grid valid everywhere in the dipole
- highRes List{Grid} List of high resolution refined grids valid in certain locations (eg. footpoints). If none then provide an empty list.
- resolution int the resolution of the image to trace
- gyroParams GyroParamTable the shared parameters required for the Gyro calculation
Returns:
- DoubleCArray the array containing the output image
- function(x,y)->index function used to index the array in x and y coordinates
- rotation_zyx (x, y, z)
-
Returns the rotation quaternion for a rotation about the z, then y, then x axes.
Parameters:
- x number the rotation to perform about the x axis in radians
- y number the rotation to perform about the y axis in radians
- z number the rotation to perform about the z axis in radians
Returns:
-
maf.quat
the quaternion defining this rotation
- solar_location (tilt, azimuth, latitude, longitude)
-
Returns the rotation quaternion for a given location on the Sun.
Parameters:
- tilt number the "lean" of the flare away from the normal to the surface in degrees
- azimuth number the rotation of the flare from the N-S axis in degrees
- latitude number the solar location in degrees
- longitude number the solar location in degrees
Returns:
-
maf.quat
the quaternion defining the rotation for this location
- ray_direction (rotMat)
-
Returns the ray direction for a given rotation.
Parameters:
- rotMat maf.quat the rotation to generate the direction vector for
Returns:
-
maf.vec3
the normalised direction vector for this rotation


species alien OpenUrl land native sites abundance CrossRef data island richness islands assemblages human Science land-use models uses Fig Web Ecol model vegetation natives aliens use change Global distance primary using File). similarity Island PREDICTS different effects site studies study total (Table pressures shown compositional disturbed geographic included population random used values ver. (i.e., Biogeogr. contrast database fitted natural species. Open density higher indicate islands, local number scale Evol. HPD Hill PriMin baseline biodiversity global high human-dominated islands. minimally-disturbed minimally-used rescaled significantly sites. status surrounding Biodiversity Glob assemblage habitats new package particularly small turnover (dashed Abstract Alien Download File) Nature. Newbold area coefficients data-hide-link-title=""> data-icon-position="" diversity establishment figure homogenization landmass likely main pastures related sampling site-level tab Contu Data FREE In: Kreft Primary Text biogeography classified common contrasts economic environmental invasive isolation low lower novel plant pressure spatial species, statistical tests urban (as (for ;<;span Biol Biol. Ecological Effects Hudson Press; Pyšek Response SLL Sci. Significance Trends Values Weigelt able anthropogenic asymmetric axis calculated decline error final important increase interaction interactions intercepts invasions isolated lines missing nearest reduce road set sources square-root uses. xmlns=";http://www.w.org//xhtml"; ([[#x]]., (−., Available Biological Cassey Conserv. Database: Dawson Ecol. GDP However, Invasions. Land Models Palma Pergl PriMin-PriMin Sites Species University ]). alien/native characteristics class=";caption-title";>;Response communities compared comparisons composition databases dataset decrease did distribution ecological editors. especially estimates factors forests from: habitat mainland modification pairwise patterns percentage permutation possible presence propagule remote results risk roads similar sites, size standard suggesting terrestrial transformed use. uses, <;.), .-. .th Acad Additionally, Bars Blackburn Dalmazzone Ecography. Figs File), Gillespie Lett. Lockwood McKinney Natl Patterns Plant Population Proc Roads Rugs Science. Solid Using Version [Internet]. affect analysis arrival back-transformation back-transformed bars beta biodiversity. biological capita cause caused changes clarity, colonisation combinations conditions confidence contrast, croplands disturbances driven e.g., effect error. exotic half highlighted introduced line line). lines). logarithmic magnitude make minimal models). models. natives, need null numbers plantation pool present random-effects range records represented responses result role sample seen sites) sizes species) species-richness structure studies, taxa taxonomic tended traits unique use, variables zero-to-one


MONROE COUNTY CENTRAL HIGH SCHOOL
In 1993 a number of the previously consolidated high schools in Monroe County such as the Skyvue High School, were further consolidated to form Monroe County Central High School. This new school is located south of the Ohio Route # 78 about 12 miles east of Woodsfield, Ohio. The school is located at the top rim of the Ohio River Valley -- the Ohio River is about 8 miles farther east.
Photo
taken November12, 2002 by
R.E. Harrington
Click here for the Short-Cut Table of Contents


Search
Preparing search index...
The search index is not available
Typescript-rest
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"metadata"
ParamType
Enumeration ParamType
Enumeration of accepted parameter types
Index
Enumeration members
body
context
context_
accept
context_
accept_
language
context_
next
context_
request
context_
response
cookie
file
files
form
header
param
path
query
Enumeration members
body
body
:
context
context
:
context_
accept
context_
accept
:
context_
accept_
language
context_
accept_
language
:
context_
next
context_
next
:
context_
request
context_
request
:
context_
response
context_
response
:
cookie
cookie
:
file
file
:
files
files
:
form
form
:
header
header
:
param
param
:
path
path
:
query
query
:
Globals
"decorators"
"metadata"
"server"
"server-
container"
"server-
errors"
"server-
return"
"server-
types"
"typescript-
rest"
Param
Type
body
context
context_
accept
context_
accept_
language
context_
next
context_
request
context_
response
cookie
file
files
form
header
param
path
query
File
Param
Method
Param
Service
Class
Service
Method
Sevice
Property
Preprocessor
Function
Generated using
TypeDoc
Enumeration of accepted parameter types


Cobalt is a key ingredient in the lithium ion batteries that make it possible for electronics to be portable. And it has a very geographically limited supply. Most cobalt (>60%) comes from these mines in the drc. It is usually extracted from the earth as a compound with arsenic or sulfur as a minor component of copper or nickel minerals.
The word cobalt comes from the German word for "goblin". The first attempts to smelt those ores for copper or nickel resulted in puffs of blue powder (cobalt oxide) and very toxic, volatile arsenic oxide gas that was assumed to have supernatural origins.


Describes how to get started without fuzz - please read the introduction first.
Build from source
Prior to running the examples the latest sources must be checked out and built. This is done by issuing the following commands:
svn co https://scm.ops4j.org/repos/ops4j/projects/pax/useradmin useradmin cd useradmin ./src/scripts/build-all.sh [-s <some URL> ] [ -P integration-test ]
The -s option specifies where the generated site is stored - default is /tmp/sites/useradmin.
Using the integration-test profile forces running the integration tests.
Basic Framework Configuration & Startup
All examples use Pax-Runner to run an OSGi framework and assume Pax-Runner is already installed as described here.
The following snippets show the Pax-Runner configurations for various use cases. Just copy the content of the snippet to a file (if not noted otherwise runner.args) and run pax-run.sh or pax-run.bat in the same directory. This will download all specified bundles and framework-code and start the framework in a subdirectory runner.
See the Pax-Runner options page for details on how to configure Pax-Runner.
Additional Bundles
The Pax UserAdmin collaborates with the following bundles:
| Service | Tested Implementation(s) | Purpose |
| - OSGi LogService | Pax Logging | Log messages for later analysis. |
| - OSGi EventAdmin | Felix Event Admin | Deliver events. |
| - OSGi ConfigAdmin | Felix Configuration Admin | Deliver configuration data to services. |
| - OSGi Preferences | Felix Preferences Service | Manage persistent storage of preferences. |
| Tested Implementation | Purpose |
| Pax LdapServer/ApacheDS | A bundelized version of the Apache Directory Service. |
| Felix Fileinstall | Watches a directory and acts on adding/removing files from it. |
The most common use case is having a single StorageProvider/UserAdmin pair running in an OSGi framework.
scan-composite:mvn:org.ops4j.pax.runner.profiles/compendium/4.2.0/composite scan-composite:mvn:org.ops4j.pax.runner.profiles/core/4.2.0/composite scan-bundle:mvn:org.ops4j.pax.logging/pax-logging-api/1.3.0 scan-bundle:mvn:org.ops4j.pax.logging/pax-logging-service/1.3.0 scan-bundle:mvn:org.apache.felix/org.apache.felix.eventadmin/1.0.0 scan-bundle:mvn:org.apache.felix/org.apache.felix.configadmin/1.0.10 scan-bundle:mvn:org.apache.felix/org.apache.felix.fileinstall/1.0.0 # scan-bundle:mvn:org.ops4j.pax.useradmin/pax-useradmin-service/0.0.1-SNAPSHOT scan-bundle:mvn:org.apache.felix/org.apache.felix.prefs/1.0.2 scan-bundle:mvn:org.ops4j.pax.useradmin/pax-useradmin-provider-preferences/0.0.1-SNAPSHOT
Using the LDAP provider together with the pax-ldapserver-apacheds bundle allows to run everything without custom configuration:
scan-composite:mvn:org.ops4j.pax.runner.profiles/compendium/4.2.0/composite scan-composite:mvn:org.ops4j.pax.runner.profiles/core/4.2.0/composite scan-bundle:mvn:org.ops4j.pax.logging/pax-logging-api/1.3.0 scan-bundle:mvn:org.ops4j.pax.logging/pax-logging-service/1.3.0 scan-bundle:mvn:org.apache.felix/org.apache.felix.eventadmin/1.0.0 scan-bundle:mvn:org.apache.felix/org.apache.felix.configadmin/1.0.10 scan-bundle:mvn:org.apache.felix/org.apache.felix.fileinstall/1.0.0 # scan-bundle:mvn:org.ops4j.pax.useradmin/pax-useradmin-service/0.0.1-SNAPSHOT scan-bundle:mvn:org.ops4j.pax.ldapserver/pax-ldapserver-apacheds/0.2.1 scan-bundle:mvn:org.ops4j.pax.useradmin/pax-useradmin-provider-ldap/0.0.1-SNAPSHOT
If an external LDAP server is used, the framework configuration is bit shorter (as we can omit the bundled LDAP server):
scan-composite:mvn:org.ops4j.pax.runner.profiles/compendium/4.2.0/composite scan-composite:mvn:org.ops4j.pax.runner.profiles/core/4.2.0/composite scan-bundle:mvn:org.ops4j.pax.logging/pax-logging-api/1.3.0 scan-bundle:mvn:org.ops4j.pax.logging/pax-logging-service/1.3.0 scan-bundle:mvn:org.apache.felix/org.apache.felix.eventadmin/1.0.0 scan-bundle:mvn:org.apache.felix/org.apache.felix.configadmin/1.0.10 scan-bundle:mvn:org.apache.felix/org.apache.felix.fileinstall/1.0.0 # scan-bundle:mvn:org.ops4j.pax.useradmin/pax-useradmin-service/0.0.1-SNAPSHOT scan-bundle:mvn:org.ops4j.pax.useradmin/pax-useradmin-provider-ldap/0.0.1-SNAPSHOT
but the LDAP provider must be configured to access the external LDAP server. Configuration is done via the OSGi ConfigAdmin service using the PID org.ops4j.pax.useradmin.provider.ldap - a simple example configuration file may look like:
org.ops4j.pax.useradmin.ldap.server.url = ldap.ops4j.org org.ops4j.pax.useradmin.ldap.server.port = 8099 org.ops4j.pax.useradmin.ldap.root.dn = dc=ops4j,dc=org
Store this file as configuration/org.ops4j.pax.useradmin.provider.ldap.cfg
Sometimes it is desirable to have more than on UserAdmin/StorageProvider pair running in the same framework, i.e. if you want to use the UserAdmin command to copy user data from one instance to another.
scan-composite:mvn:org.ops4j.pax.runner.profiles/compendium/4.2.0/composite scan-composite:mvn:org.ops4j.pax.runner.profiles/core/4.2.0/composite scan-bundle:mvn:org.ops4j.pax.logging/pax-logging-api/1.3.0 scan-bundle:mvn:org.ops4j.pax.logging/pax-logging-service/1.3.0 scan-bundle:mvn:org.apache.felix/org.apache.felix.eventadmin/1.0.0 scan-bundle:mvn:org.apache.felix/org.apache.felix.configadmin/1.0.10 scan-bundle:mvn:org.apache.felix/org.apache.felix.fileinstall/1.0.0 # scan-bundle:mvn:org.ops4j.pax.useradmin/pax-useradmin-service/0.0.1-SNAPSHOT scan-bundle:mvn:org.ops4j.pax.ldapserver/pax-ldapserver-apacheds/0.2.1 scan-bundle:mvn:org.ops4j.pax.useradmin/pax-useradmin-provider-ldap/0.0.1-SNAPSHOT scan-bundle:mvn:org.apache.felix/org.apache.felix.prefs/1.0.2 scan-bundle:mvn:org.ops4j.pax.useradmin/pax-useradmin-provider-preferences/0.0.1-SNAPSHOT
Sorry this not implemented. Please use the UserAdmin command to export the data to an intermediate XML file and then run a different framework configuration and import the data.
The useradmin command allows complex manipulation of user data. Its general synopsis is:
> useradmin <subcommand> [<parameter-list>]
where parameter-list depends on the actual subcommand used.
The copyData subcommand takes two mandatory parameters:
> useradmin copyData <source-uri> <target-uri>
Both URIs may denote either a file (starting with file://) or a UserAdmin instance (starting with useradmin://). The source-URI describes the source from which to copy data and the target-URI the target to which the data is written.


Logout
-
Settings
-
My Profile
Homepage
Profile
Friends
Betting History
My Current Bets
Search
Akaash
Manchester, England
Bets Won
185
Total Bets
344
Ranking
#127
About Me:
Hobbies:
Comment History:
Achievments
See all…
Friends List
Your have no friends.
See all...


Animates a number of AVS x format image files stored in memory or on disk.
Parameters
The following lists all of the parameters found in the parameter block ImagePlayerParams, which are accessed by the module AVSImagePlayer and the UI Macro ImagePlayerUI.
Name Type Description UI Control file_format string filename specification File Format nb_images int total number of images Number of Images first_image int first index number First Image step int value of loop increment Step access_mode int memory or disk access Access Mode run_mode int forward, backwards or cycle control Run Mode fps float animation rate in frames per second Frames per sec nsec_before int secs before animation is restarted Nsec Before nsec_after int secs before animation returns to first frame Nsec After count int index number of current image Image Number slider real_fps string actual animation rate Real Frame/s label Output Ports
Name Type Description out field data currently displayed image data obj DataObject directly renderable object
The imagePlayer macro is a high level user macro that is able to read in image files in the AVS x format and then animate them either from memory or by loading each image as it is required. The image filenames are specified by using a C-style format-string and a number of parameters. The module is also able to control the rate at which the images are animated, whether the animation runs forward or backwards and whether the animation cycles continously. All of these functions are controllable through a User Interface. The images are output as both a uniform mesh with colours represented by node data, and a renderable DataObject that is generated from the uniform mesh.
ImagePlayerParams.file_format
A member of the ImagePlayerParams parameter block group, this string value is used to specify the filename formatting string that is used to load the sequence of image files. This is down by using a C-style formatting expression to generate indexed filenames.
Therefore setting file_format to "Imag%d.x" will generate filenames of the form "Image0.x" with no leading characters; whilst setting the parameter to "Image%04d.x" will generate filenames which are padded with zeros to be 8 characters long (i.e. "Imag0001.x"). More information can be found in any C reference book.
ImagePlayerParams.nb_images
A member of the ImagePlayerParams parameter block group, this int value specifies the total number of images that are to be animated. The animation will stop or repeat as appropriate when this many frames have been displayed.
ImagePlayerParams.first_image
A member of the ImagePlayerParams parameter block group, this int value specifies the index number of the first image to be animated.
ImagePlayerParams.step
A member of the ImagePlayerParams parameter block group, this int value specifies the value that the index number should be incremented by during each iteration of the animation loop.
ImagePlayerParams.access_mode
A member of the ImagePlayerParams parameter block group, this int value specifies whether images should be animated from memory or from disk. Setting the parameter to 0 specifies that each image should be read from disk immediately before it is displayed. Setting the parameter to 1 specifies that all the images should be loaded into memory before the animation begins and displayed directly from memory.
ImagePlayerParams.run_mode
A member of the ImagePlayerParams parameter block group, this int value specifies how the animation should be performed. There are four possible values for this parameter:-
ImagePlayerParams.fps
A member of the ImagePlayerParams parameter block group, this float value specifies the rate at which the animation should run in frames per second. This is the intended animation rate. If the system is unable to achieve this rate then the animation will run at a lower rate.
ImagePlayerParams.nsec_before
A member of the ImagePlayerParams parameter block group, this int value specifies the number of seconds that the animation should wait at the starting frame before the animation is restarted. This parameter only applies when the animation is cycling.
ImagePlayerParams.nsec_after
A member of the ImagePlayerParams parameter block group, this int value specifies the number of seconds that the animation should wait at the ending frame before the animation returns to the starting frame. This parameter only applies when the animation is cycling.
ImagePlayerParams.count
A member of the ImagePlayerParams parameter block group, this int value specifies the index number of the currently displayed image. Setting this parameter will cause the currently displayed image to change immediately.
ImagePlayerParams.real_fps
A member of the ImagePlayerParams parameter block group, this string value displays the number of frames per second that the animation is actually running at. The parameter is intended for display only and to ease display the number of frames per second is included along with an appropriate message by the module.
out
The currently displayed image output as Field data. The image is represented by a uniform mesh. The colour of each pixel is represented by a vector of length 4 (i.e. alpha, red, green, blue) at each node data point.
obj
The directly renderable output field of the AVSImagePlayer module. This contains a DataObject object that can be rendered by the standard data viewers. The DataObject is generated directly from the field data created from the currently displayed image.
The low-level AVSImagePlayer module is used in the User Macro imagePlayer. Additionally, this macro also uses the ImagePlayerParams parameter block group object, as does the ImagePlayerUI UI Macro.
An example application AVSImagePlayerEg is provided, which uses the animation module to display a sequence of images generated for a Meteorological Office presentation on global warming.
xp_comm_proj/ximg_ply/iplymacs.v contains the imagePlayer User Macro, the ImagePlayerUI UI Macro, and the example application AVSImagePlayerEg V definitions.
The AVSImagePlayerMacs library inherits its process. As this library contains no procedural code, the process is not important. The low-level AVSImagePlayer module, executes under the process specified in its library, not the process defined in the high-level library.
Fernand Alcatrao
Andrew Dodd
ImagePlayerParams, ImagePlayerUI and AVSImagePlayer.


Check-in
Breakfast & Opening Ceremonies
Presentation: What is M4R3N?
Discusses what M4R3N is and how is differs from previous coding languages. Why is it the easiest language ever, what it looks like, and much more.
MIKE MONTEIRO
JAMES MICKENS
Break
Keynote Address
MAREN VALENTI, M4R3N
Lunch
Presentation: Accessibility
This presentation overviews the accessibility standards set out by M4R3N. Accessibility is something we’re very passionate about, and we discuss how M4R3N surpasses all other languages when it comes to be accessible to all audiences.
Susan Kare
Ethan Marcotte
Break
Keynote Address
TIM BROWN, IDEO
Dinner & Evening Reception
Breakfast & Opening Ceremonies
Presentation: Implementation and Real Life Applications
The so what? How and why your company or organization needs to implement M4R3N into everyday business practices. How to go about this, and what it
can do for you.
TIM BROWN
Break
Keynote Address
MIKE MONTERIO, Mule Design
Lunch
Presentation: How M4R3N Can Work for You.
How M4R3N can not only work for organizations, but for individuals. Whether you’re a specialist for another organization, you freelance, or coding is simply your hobby, this presentation discusses how M4R3N works for anyone,
not just businesses.
ETHAN ZUCKERMAN
ZOË QUINN
Break
Keynote Address
MAREN VALENTI, M4R3N
Dinner & Evening Reception


The strip function deletes components of R model outputs that are useless for specific purposes, such as predict[ing], print[ing], summary[izing], etc.
| Version: | 1.0.0 |
| Depends: | R (≥ 3.1.3) |
| Imports: | rlist |
| Suggests: | caret, datasets, e1071, knitr, randomForest, stats, testthat, utils |
| Published: | 2018-10-29 |
| Author: | Paul Poncet [aut, cre] |
| Maintainer: | Paul Poncet <paulponcet at yahoo.fr> |
| BugReports: | https://github.com/paulponcet/strip/issues |
| License: | MIT + file LICENSE |
| URL: | https://github.com/paulponcet/strip |
| NeedsCompilation: | no |
| Materials: | README NEWS |
| CRAN checks: | strip results |
| Reference manual: | strip.pdf |
| Package source: | strip_1.0.0.tar.gz |
| Windows binaries: | r-devel: strip_1.0.0.zip, r-release: strip_1.0.0.zip, r-oldrel: strip_1.0.0.zip |
| OS X binaries: | r-release: strip_1.0.0.tgz, r-oldrel: strip_1.0.0.tgz |
| Old sources: | strip archive |
Please use the canonical form https://CRAN.R-project.org/package=strip to link to this page.


[gecode-users] Reified Domain and relation propagators for Sets are too slow
Guido Tack
tack at ps.uni-sb.de
Fri Jun 13 23:21:46 CEST 2008
Mauricio Toro wrote:
> I am doing extensive use of
> Gecode::rel (Space *home, IntVar x, SetRelType r, SetVar s,BoolVar b)
> and
> Gecode::dom (Space *home, SetVar x, SetRelType r, int i,BoolVar b)
>
> This makes my program run really slow. I saw the implementation and
> this
> functions call the subset propagator. But, I don't think it is
> necessary.
> Is there a way to to make them faster? perhaps writting a propagator
> for
>
> Integer \in Set
> IntVar \in Set
>
> Instead of
>
> {Integer} subset of Set and {IntVar} subset of Set ?
The inferences you have to make for IntVars are quite similar to those
for sets, so I wouldn't expect too big an overhead there. I guess a
dedicated propagator for int arguments might be slightly better, but I
don't know how much difference it would make. Note that the subset
propagator is instantiated with a constant set view, so in fact it is
a specialized version. But just give it a try, the reified int \in
SetVar propagator shouldn't be hard to do.
Guido
More information about the gecode-users
mailing list


@(message: String)
@main(message) {
Details of employee
@**@
-
Employee name :
,
Employee salary
Remove @*A binding context is an object that holds data that you can reference from your bindings.*@
@*
*@
Employee Count ()
Total salary of employees :
}


dmake
Version:
1.0
License:
LGPL 3
This module simplifies crossplatform compilation for multifile projects. Module provides
functions to control dependencies written in no D languages and can check existance
of needed instruments and libraries in system. Supported compile targets: applications,
static libraries (.a .lib), shared libraries (.so .dll).
BUGS:
linux shared libraries generation at x86_64 seemed to be broken; static dll linkage broken
Example:
import dmake;
// main application out dependencies
string[string] appDepends;
// set up appDepends
static this()
{
appDepends = [
"outLib1" : "../deps/outLib1"
];
}
// Function to compile outlib if necessary
void compileOutLib1(string path)
{
version(Windows)
{
// some shell calls ...
}
version(linux)
{
// you can check instrument existance
checkProgram("make", "Cannot find make, you can get it from your standart source repository!");
// some shell calls ...
}
}
int main(string[] args)
{
// your library
addCompTarget("mylib", "../lib", "mylib", BUILD.LIB);
addSource("../src/mylib");
// Adding main application
addCompTarget("app", "../bin", "main", BUILD.APP);
addSource("../src/app");
setDependPaths(appDepends);
// Adding to app dependency outLib1 files
// Windows: ../deps/outLib1/lib/file1.lib, ../deps/outLib1/lib/file2.lib
// GNU/Linux: ../deps/outLib1/lib/libfile1.a, ../deps/outLib1/lib/libfile2.a
// with import search file ../deps/outLib1/import
// if files cannot be found, delegate compileOutLib1 called.
addLibraryFiles("outLib1", "lib", ["file1", "file2"], ["import"] , &compileOutLib1);
// adding your libary as app dependency
addDependTarget("mylib");
// Begin actual compilation
// arguments 'all debug' will compile all targets in debug mode
// argument 'mylib' will compile only mylib in release mode
// arguments 'app release' will compile first mylib, then app in release mode
return proceedCmd(args);
}
- void
checkProgram
(string name, string msg);
-
checkProgram
Function helps check program availability through system shell.
Program should be typed without extention as if you typed it
in shell. If function doesn't find program, compilation stops and
message displays to the user. Usefull to put into informathion
where you can get needed program.
- void
addCompTarget
(string name, string outDir, string outName, BUILD type = (BUILD).APP);
-
addCompTarget
Add compilation target with and sets to current target. Almost functions operate with
seted current target. To switch within targets use . String sets
output directory where finally binary file with name will be put. Enum value
determines the output type. BUILD.APP - application, BUILD.LIB - static library, BUILD.SHARED -
shared library (.dll or .so). All library prefixes and file extentions will be appended automatically.
Example:
// Setting up simple application.
// output file will be named as main.exe (Win) or main (GNU/Linux)
addCompTarget("app", "./bin", "main", BUILD.APP);
// Setting up simple library
// output file will be named as test.lib (Win) or libtest.a (GNU/Linux)
addCompTarget("lib", "./lib", "test", BUILD.LIB);
- void
addDependTarget
(string name, bool linkStatic = false);
-
addDependTarget
This function helps order targets compilation. Current compile target
will compile after target . If circular dependencies detected,
compilation will fail with a message. If is true and
target is shared library, import library will be linked to app,
else does nothing.
Example:
addCompTarget("library", ".", "somelib", BUILD.LIB);
addCompTarget("app", ".", "main", BUILD.APP);
//...
// library
return proceedCmd(args);
- void
setHeadersGeneration
(string dir);
-
setHeadersGeneration
Sets header generation fo current compilation target, also
known as interface (.di) files. Sets headers output folder to
- void
setCompilationModel
(MODEL model);
-
setCompilationModel
Explicitly sets current target MODEL.X86_64 or MODEL.X86.
- void
setDocsGeneration
(string dir);
-
setDocsGeneration
Sets documentation generation for current compilation target
and sets output docs dir as .
- void
setCurrTarget
(string name);
-
setCurrTarget
Sets current compilation target to . All other functions
will operate with this target. If target wasn't registered, throws
exception.
- CompilationTarget
getCurrentTarget
();
-
getCurrentTarget
Returns compilation target assigned to current target.
- void
setDependPaths
(string[string] paths);
-
setDependPaths
Registeres dependencies passed with string massive for
current compilation target. keys used for dependencies names
and values used for dependencies relative paths. Needs to be called
before or .
- void
addLibraryFiles
(T)(string lib, string filesPath, string[] names, string[] importPaths, T compileDelegate, bool tryAgain = true);
- Binds library files listed in without extentions (*.a, *.lib) and prefixes (lib*) to dependency .
is relative path from dependency root path where script should find library files. Each entry from
will be passed to compiler as search library sources path. If function isn't able to find all listed
files, it runs delegate which should try to compile those files, function passes to
dependency root path. If boolean value switched to , function will retry adding library files.
Example:
addCompTarget("app", ".", "main", BUILD.APP);
setDependPaths(["library": "../lib"]);
addLibraryFiles("library", "../lib/bin", ["first", "second"], ["import"],
(string libPath)
{
// Here some code to compile library
});
- void
checkSharedLibraries
(T)(string lib, string[] names, T compileDelegate, bool checkAgain = true, bool findInSystem = false);
-
checkSharedLibraries
Some dependencies compiled to shared library files (.dll or .so) and they cannot be directly added to compilation target. Function checks
existence of shared library files listed by without prefixes (lib) and extentions (.so, .dll) for dependency added before with
. If function cannot find at out directory or system paths, then it calls delegate with name of root
dependency dir. Delegate should try to compile dependency and if flag setted to , function will recheck . If
setted to , function will also try find libraries in system paths.
Example:
addCompTarget("app", ".", "main", BUILD.APP);
setDependPaths(["library": "../lib"]);
addLibraryFiles("library", ["first", "second"],
(string libPath)
{
// Here some code to compile library
});
- void
addSource
(string dir);
-
addSource
Adding all *.d and *.di files from directory to current compilation target. All subdirectories and
links recursively will be passed.
Example:
setCurrTarget("app");
// All files and subdirs will be passed
addSource("../src");
- void
addSingleFile
(string name);
-
addSingleFile
Occasionally situation occurs when needed add only some files to compilation target and doesn't suit.
Then you call this function with exact source , which will be added to current compilation target.
Example:
setCurrTarget("app");
addSingleFile("./src/main.d");
addSingleFile("../scripts/somemodule.d");
- void
compileTarget
(string target);
-
compileTarget
Sends to compilation target with name . This function doesn't consider compilation dependencies, see
. If function cannot find target, exception occured.
- int
proceedCmd
(string[] args);
-
proceedCmd
Parses cmd input arguments and compile specified target. First argument is target name or special word 'all',
which compile all targets. Second argument is compile mode: debug or release; it can be not passed, then release
mode will be used. Function detects tangled arguments, thats why 'debug' and 'release' target names restricted.
This function needs to be called last and returns standart system return code. Function will detect all input
errors and show error reasons. Targets compiles in dependency order, if circular dependencies occures compilation
will be stopped and message will be shown.
Example:
int main(string[] args)
{
// First set up all targets and dependencies
//...
// Here begins actual compilation
return proceedCmd(args);
}
- bool
programExists
(string name);
-
programExists
Checks availability of program (without extention) through system shell.
Doesn't support alias names.
Example:
programExists("make");
programExists("gcc");
// Windows standart shell names examples
programExists("chkdisk");
programExists("del");
// Checks local program
programExists("myProg");
- bool
sharedLibraryExists
(string name);
-
sharedLibraryExists
Checks existance of shared library (.so or .dll) with (without prefixes and extention)
in system library search paths.
Example:
// Windows examples
sharedLibraryExists("kernel32");
// Some linux library
sharedLibraryExists("freeimage-3.15.4");
- class
CompilationTarget
;
-
CompilationTarget
Usually you don't need to work with this class directly. It's temporaly storage of all compilation settings.
- void
convertWinNames
();
-
convertWinNames
Replaces primary slashes with backslashes in all important fields.
- @property string
finalname
();
- Returns final relative out file name with extentions and prefixes.
|


The COVID-19 pandemic, also known as the coronavirus pandemic, is an ongoing pandemic of coronavirus disease 2019 (COVID-19) caused by severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2), first identified in December 2019 in Wuhan, China. The World Health Organization declared the outbreak a Public Health Emergency of International Concern in January 2020 and a pandemic in March 2020. As of 2 December 2020, more than 63.8 million cases have been confirmed, with more than 1.48 million deaths attributed to COVID-19.


Track on white
Track name goes here
Kanye West
The Life of Pablo
3:38
Rap
Add to playlist
Track on yellow
Track name goes here
Kanye West
The Life of Pablo
3:38
Rap
Add to playlist


Located in Washington D.C., Lucid Technics is an agile company well versed in the practice of cloud computing and machine learning.
We are experts in cloud computing, having created mission critical applications using Amazon Web Services or Google's App Engine infrastructure. On these or other platforms, we can rapidly build and deploy your application, by automating the translation of written business requirements into fully functional front end software, and coupling this with the strategic deployment of powerful back end machine learning algorithms.
If you have a seemingly intractable business workflow problem, give us call at 1<PHONE_NUMBER> or send us an email at<EMAIL_ADDRESS>We would love to help.


Loosely based on Franciszek
Wawrzak's CodeMirror
1 mode. One configuration parameter is
supported, specials
, to which you can provide an
array of strings to have those identifiers highlighted with
the lua-special
style.
MIME types defined: text/x-lua
.