I wanted to change the cloudsrectangles into an actuall image it do.pdffeelinggifts
I wanted to change the clouds/rectangles into an actuall image it doesnt matter the image.
import javax.swing.*;
import java.awt.*;
/**
* Created by Thomas on 11/27/2016.
*/
public class Renderer extends JPanel{
//private static final long serialVersionUID = 1L;
protected void paintComponent(Graphics g) {
Main.main.repaint(g);
}
public static int clamp(int greenValue, int i, int j) {
// TODO Auto-generated method stub
return 0;
}
}
OTHER PART:
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.util.ArrayList;
import java.util.Random;
import javax.swing.*;
/**
* Created by Thomas on 11/27/2016.
*/
public class Main implements ActionListener, KeyListener{
public static Main main;
public final int WIDTH = 1400;
public final int HEIGHT = 600;
public HUD Hud;
public Renderer renderer;
public Rectangle character;
public ArrayList cloud;
public Random rand;
public boolean start = false, gameover = false;
public int tick;
public Main() {
JFrame jFrame = new JFrame();
Timer timer = new Timer(20, this);
renderer = new Renderer();
rand = new Random();
jFrame.setTitle(\"Example\");
jFrame.add(renderer);
jFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
jFrame.setSize(WIDTH, HEIGHT);
jFrame.addKeyListener(this);
jFrame.setVisible(true);
cloud = new ArrayList();
character = new Rectangle(200, 220, 20, 20);
addCloud(true);
addCloud(true);
addCloud(true);
addCloud(true);
addCloud(true);
addCloud(true);
addCloud(true);
addCloud(true);
timer.start();
}
public void repaint(Graphics g) {
g.setColor(Color.black);
g.fillRect(0,0, WIDTH, HEIGHT);
g.setColor(Color.blue);
g.fillRect(0, HEIGHT - 100, WIDTH, 100);
g.setColor(Color.green);
g.fillRect(character.x, character.y, character.width, character.height);
if (character.y >= HEIGHT - 100 || character.y < 0) {
gameover = true;
}
for (Rectangle rect : cloud) {
g.setColor(Color.white);
g.fillRect(rect.x, rect.y, rect.width, rect.height);
}
g.setColor(Color.WHITE);
g.setFont(new Font(\"Times New Roman\", 1 ,100));
if (!start) {
g.drawString(\"Press to start!\", 450, HEIGHT / 2);
}
else if (gameover) {
g.drawString(\"Game Over!\", 450, HEIGHT / 2);
}
}
public void addCloud(boolean start) {
int width = 400;
int height = 200;
if (start) {
cloud.add(new Rectangle(WIDTH + width + cloud.size() * 300, rand.nextInt(HEIGHT-120),
80, 100));
}
else {
cloud.add(new Rectangle(cloud.get(cloud.size() - 1).x + 300, rand.nextInt(HEIGHT-120), 80,
100));
}
}
public void flap() {
if (gameover) {
character = new Rectangle(300, 400, 40, 40);
cloud.clear();
addCloud(true);
addCloud(true);
addCloud(true);
addCloud(true);
addCloud(true);
addCloud(true);
addCloud(true);
addCloud(true);
gameover = false;
}
if (!start) {
start = true;
}
else if (!gameover) {
character.y -= 70;
tick = 0;
}
}
@Override
public void actionPerformed(ActionEvent e) {
int speed = 15;
//System.out.println(\"Space\");
if (start) {
for (int i = 0; i .
The document discusses MontageJS bindings and how they can be used to define relationships between object properties. It provides examples of different types of bindings including property bindings, map bindings, and array range bindings. It also previews upcoming changes to how bindings will be defined and array operations will work.
The document provides an overview of making games using JavaScript, HTML, and the DOM. It discusses JavaScript and HTML5 as languages well-suited for game development due to features like fast iteration, treating scripts as data, and allowing different game types. It covers key concepts like the DOM tree, rendering to a <canvas> element, using the 2D context to draw, implementing a main loop with setInterval(), drawing sprites and images, handling user input, and creating basic animations and games with concepts like sprites, matrices, vectors, bullets, and zombies.
WebGL is a JavaScript API for rendering interactive 3D graphics and 2D graphics within any compatible web browser without the use of plug-ins. It can be used for data visualization, creative coding, art, 3D design environments, music videos, mathematical function graphing, 3D modeling, texture creation, physics simulations, and more. WebGL works by using JavaScript to interface with the GPU through WebGL API calls. Common libraries like Three.js simplify the use of WebGL. The basics of a WebGL app include setting up a 3D scene, camera, and rendering loop. Sample code is provided to load a 3D model and texture and allow interactive rotation. Resources listed for learning more include tutorials on Phil
Programmation fonctionnelle en JavaScriptLoïc Knuchel
La programmation fonctionnelle permet de faire du code plus modulaire, avec moins de bugs et de manière plus productive !!!
Cette présentation montre comment la programmation fonctionnelle peut tenir se promesse et comment l'appliquer avec JavaScript.
I wanted to change the cloudsrectangles into an actuall image it do.pdffeelinggifts
I wanted to change the clouds/rectangles into an actuall image it doesnt matter the image.
import javax.swing.*;
import java.awt.*;
/**
* Created by Thomas on 11/27/2016.
*/
public class Renderer extends JPanel{
//private static final long serialVersionUID = 1L;
protected void paintComponent(Graphics g) {
Main.main.repaint(g);
}
public static int clamp(int greenValue, int i, int j) {
// TODO Auto-generated method stub
return 0;
}
}
OTHER PART:
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.util.ArrayList;
import java.util.Random;
import javax.swing.*;
/**
* Created by Thomas on 11/27/2016.
*/
public class Main implements ActionListener, KeyListener{
public static Main main;
public final int WIDTH = 1400;
public final int HEIGHT = 600;
public HUD Hud;
public Renderer renderer;
public Rectangle character;
public ArrayList cloud;
public Random rand;
public boolean start = false, gameover = false;
public int tick;
public Main() {
JFrame jFrame = new JFrame();
Timer timer = new Timer(20, this);
renderer = new Renderer();
rand = new Random();
jFrame.setTitle(\"Example\");
jFrame.add(renderer);
jFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
jFrame.setSize(WIDTH, HEIGHT);
jFrame.addKeyListener(this);
jFrame.setVisible(true);
cloud = new ArrayList();
character = new Rectangle(200, 220, 20, 20);
addCloud(true);
addCloud(true);
addCloud(true);
addCloud(true);
addCloud(true);
addCloud(true);
addCloud(true);
addCloud(true);
timer.start();
}
public void repaint(Graphics g) {
g.setColor(Color.black);
g.fillRect(0,0, WIDTH, HEIGHT);
g.setColor(Color.blue);
g.fillRect(0, HEIGHT - 100, WIDTH, 100);
g.setColor(Color.green);
g.fillRect(character.x, character.y, character.width, character.height);
if (character.y >= HEIGHT - 100 || character.y < 0) {
gameover = true;
}
for (Rectangle rect : cloud) {
g.setColor(Color.white);
g.fillRect(rect.x, rect.y, rect.width, rect.height);
}
g.setColor(Color.WHITE);
g.setFont(new Font(\"Times New Roman\", 1 ,100));
if (!start) {
g.drawString(\"Press to start!\", 450, HEIGHT / 2);
}
else if (gameover) {
g.drawString(\"Game Over!\", 450, HEIGHT / 2);
}
}
public void addCloud(boolean start) {
int width = 400;
int height = 200;
if (start) {
cloud.add(new Rectangle(WIDTH + width + cloud.size() * 300, rand.nextInt(HEIGHT-120),
80, 100));
}
else {
cloud.add(new Rectangle(cloud.get(cloud.size() - 1).x + 300, rand.nextInt(HEIGHT-120), 80,
100));
}
}
public void flap() {
if (gameover) {
character = new Rectangle(300, 400, 40, 40);
cloud.clear();
addCloud(true);
addCloud(true);
addCloud(true);
addCloud(true);
addCloud(true);
addCloud(true);
addCloud(true);
addCloud(true);
gameover = false;
}
if (!start) {
start = true;
}
else if (!gameover) {
character.y -= 70;
tick = 0;
}
}
@Override
public void actionPerformed(ActionEvent e) {
int speed = 15;
//System.out.println(\"Space\");
if (start) {
for (int i = 0; i .
The document discusses MontageJS bindings and how they can be used to define relationships between object properties. It provides examples of different types of bindings including property bindings, map bindings, and array range bindings. It also previews upcoming changes to how bindings will be defined and array operations will work.
The document provides an overview of making games using JavaScript, HTML, and the DOM. It discusses JavaScript and HTML5 as languages well-suited for game development due to features like fast iteration, treating scripts as data, and allowing different game types. It covers key concepts like the DOM tree, rendering to a <canvas> element, using the 2D context to draw, implementing a main loop with setInterval(), drawing sprites and images, handling user input, and creating basic animations and games with concepts like sprites, matrices, vectors, bullets, and zombies.
WebGL is a JavaScript API for rendering interactive 3D graphics and 2D graphics within any compatible web browser without the use of plug-ins. It can be used for data visualization, creative coding, art, 3D design environments, music videos, mathematical function graphing, 3D modeling, texture creation, physics simulations, and more. WebGL works by using JavaScript to interface with the GPU through WebGL API calls. Common libraries like Three.js simplify the use of WebGL. The basics of a WebGL app include setting up a 3D scene, camera, and rendering loop. Sample code is provided to load a 3D model and texture and allow interactive rotation. Resources listed for learning more include tutorials on Phil
Programmation fonctionnelle en JavaScriptLoïc Knuchel
La programmation fonctionnelle permet de faire du code plus modulaire, avec moins de bugs et de manière plus productive !!!
Cette présentation montre comment la programmation fonctionnelle peut tenir se promesse et comment l'appliquer avec JavaScript.
The document provides instructions for building a basic space shooter game using JavaScript and canvas. It demonstrates how to load assets like images, handle input events from keyboard keys to control player movement, create enemy objects that move across the screen, detect collisions between lasers and enemies, and add game states to track lives and score. The game loop redraws the game objects on an interval to animate their movement. Event handling is implemented through an event emitter to avoid messy code. The final sections provide a demo of the moving game elements and lasers firing, along with tips for continuing to learn game development.
Leaving Flatland: getting started with WebGLgerbille
WebGL is a JavaScript API for rendering interactive 3D graphics within any compatible web browser without the use of plug-ins. It can be used for data visualization, creative coding, 3D modeling, games, and more. WebGL works by using JavaScript to interface with the GPU through WebGL APIs to run GLSL shaders that render 3D scenes. To get started, one needs to choose a WebGL library like Three.js, add a <canvas> element, and get the WebGL context. Sample code is provided to render a 3D model by loading geometry, adding lights and materials, and animating the scene render.
The document provides an overview of using the HTML5 canvas element to draw graphics and animations. It covers topics like rendering contexts, paths, styles, gradients, text, shapes, mouse/touch interaction, animation, and libraries. Code examples demonstrate how to draw basic shapes, handle user input, interpolate lines, add gradients, render to canvas, and more. The document is a tutorial for learning the capabilities of the canvas element.
The document defines a LineChart class that extends the Chart class. The LineChart class constructor calls the parent constructor and draws the chart. The draw method builds a line chart from the series data using an SVG library, appends it to the canvas, and adds statistics for each data point by calling the parent addStats method. The getSerieData static method calculates max and average values for a data series. The class is exported for use in other code.
The document discusses techniques for optimizing Android UI performance. It covers optimizing adapter views by reusing views, pre-scaling images to avoid runtime scaling, invalidating specific regions instead of entire views, using fewer views in layouts by combining views, and avoiding memory allocations in performance critical code. The document provides examples of using view holders, compound drawables, ViewStubs, merge tags, custom views and layouts to reduce view count. It also discusses caching objects using soft and weak references to avoid memory leaks.
Below are questions that use the following image class- import assert.pdfrdzire2014
Below are questions that use the following image class:
import assert from "assert";
import { exec } from "child_process";
import fs from "fs";
import os from "os";
import path from "path";
import tmp from "tmp";
import { PNG } from "pngjs";
const IMAGES_FOLDER = path.resolve(process.cwd(), "images");
const IMAGE_GALLERY = fs.readdirSync(IMAGES_FOLDER).map(p =>
path.join(IMAGES_FOLDER, p));
type ImageName = "art" | "bike" | "car" | "dog" | "food" | "landscape" | "pencils" | "pottery" |
"tomato";
function assertSupportedType(filePath: string) {
assert(filePath.endsWith("png"), "Image must end in `.png`.");
}
const CHANNEL_NAMES = ["red", "green", "blue"];
function assertValidColor(color: Color) {
assert(color.length === 3);
CHANNEL_NAMES.forEach((channel, i) => {
assert(Number.isInteger(color[i]), `The ${channel} channel of the color must be an integer.`);
assert(0 <= color[i], `The ${channel} channel of the color must be at least 0.`);
assert(color[i] <= 255, `The ${channel} channel of the color must be at most 255.`);
});
}
function assertValidWidthAndHeight(width: number, height: number) {
assert(Number.isInteger(width), "Image width must be an integer.");
assert(Number.isInteger(height), "Image height must be an integer.");
assert(width > 0, "Image width must be greater than 0.");
assert(height > 0, "Image height must be greater than 0.");
assert(width < 5000, "Image width must be less than 5000.");
assert(height < 5000, "Image height must be less than 5000.");
}
export type Color = number[];
export const COLORS = {
WHITE: [255, 255, 255],
BLACK: [0, 0, 0],
RED: [255, 0, 0],
GREEN: [0, 255, 0],
BLUE: [0, 0, 255],
AQUA: [0, 255, 255],
YELLOW: [255, 255, 0],
MAGENTA: [255, 0, 255],
};
export class Image {
/**
* Loads an image from the preselected gallery of images into memory as an `Image` object.
* If no name is given, this function selects one at random.
* @param name The name of the image from the gallery
* @returns An image in the gallery as an Image object.
*/
static loadImageFromGallery(name?: ImageName): Image {
return name
? Image.loadImageFromFile(path.resolve(IMAGES_FOLDER, name + ".png"))
: Image.loadImageFromFile(IMAGE_GALLERY[Math.floor(Math.random() *
IMAGE_GALLERY.length)]);
}
/**
* Loads an image from the file system into memory as an `Image` object.
* @param image Path to a PNG, JPG, JPEG file
* @returns The file represented as an `Image` object.
*/
static loadImageFromFile(filePath: string): Image {
assertSupportedType(filePath);
if (!fs.existsSync(filePath)) {
throw new Error(`Unable to locate file: \`${filePath}\``);
}
fs.accessSync(filePath, fs.constants.R_OK);
const png = PNG.sync.read(fs.readFileSync(filePath));
return new Image(png.width, png.height, Uint8ClampedArray.from(png.data));
}
/**
* Creates a new image and sets each pixel to a default color.
* @param width The width of the image
* @param height The height of the image
* @param fillColor The color to set each pixel as
*/
static create(width: number, height: n.
need help with code I wrote. This code is a maze gui, and i need hel.pdfarcotstarsports
need help with code I wrote. This code is a maze gui, and i need help with the method
shorterstpath(); here is my code:
******mazeApp*******
package mazepackage;
import javafx.application.Application;
import javafx.application.Platform;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.canvas.Canvas;
import javafx.scene.canvas.GraphicsContext;
import javafx.scene.control.TextInputDialog;
import javafx.scene.paint.Color;
import javafx.stage.Stage;
public class MazeApp extends Application
{
// default canvas size is DEFAULT_SIZE-by-DEFAULT_SIZE
private static final int DEFAULT_SIZE = 768;
private int width = DEFAULT_SIZE;
private int height = DEFAULT_SIZE;
// The graphics context is needed to enable drawing on the canvas
private GraphicsContext gc;
// boundary of drawing canvas, 0% border
// private static final double BORDER = 0.05;
private static final double BORDER = 0.00;
private double xmin, ymin, xmax, ymax;
public static void main(String[] args)
{
launch(args);
}
@Override
public void start(Stage primaryStage)
{
Group root = new Group();
Canvas canvas = new Canvas(width, height);
gc = canvas.getGraphicsContext2D();
gc.setLineWidth(2);
gc.setFill(Color.WHITE);
gc.fillRect(0, 0, width, height);
root.getChildren().add(canvas);
TextInputDialog tid = new TextInputDialog();
tid.setTitle(\"Maze Size\");
tid.setHeaderText(\"Enter maze size between 10 and 50\");
tid.showAndWait();
int size = Integer.parseInt(tid.getResult());
if (size > 50)
size = 50;
if (size < 10)
size = 10;
primaryStage.setTitle(\"Maze Application\");
primaryStage.setScene(new Scene(root));
primaryStage.setResizable(false);
// Make sure that the application goes away when then window is closed
primaryStage.setOnCloseRequest(e -> System.exit(0));
primaryStage.show();
Maze maze = new Maze(this, size);
// Must solve the maze in a separate thread or else
// the GUI wont update until the end.....
Thread solver = new Thread(
new Runnable () {
public void run()
{
while(true)
{
maze.buildAndDrawMaze();
maze.findShortestPath();
try
{
Thread.sleep(5000);
}
catch(Exception e) { }
gc.setFill(Color.WHITE);
gc.fillRect(0, 0, width, height);
}
}
});
solver.start();
}
/**
* Sets the pen color to the specified color.
*
* @param color the color to make the pen
*/
public void setPenColor(Color color) {
gc.setStroke(color);
}
/**
* Sets the pen color to the specified color.
*
* @param color the color to make the pen
*/
public void setFillColor(Color color) {
gc.setFill(color);
}
/**
* Sets the x-scale to the specified range.
*
* @param min the minimum value of the x-scale
* @param max the maximum value of the x-scale
* @throws IllegalArgumentException if {@code (max == min)}
*/
public void setXscale(double min, double max) {
double size = max - min;
if (size == 0.0) {
throw new IllegalArgumentException(\"the min and max are the same\");
}
xmin = min - BORDER * size;
xmax = max + BORDER * size;
}
/**
* Sets the y-scale to the specified range.
*
* @param min the minimum valu.
The document is about using ImageIcon, JPanel, and Timer classes in Java.
It contains 3 sections:
1) Using ImageIcon and JPanel composition to display different images by clicking buttons.
2) Using inheritance with JPanel and Timer to create an animation class that displays a sequence of images.
3) Using Timer and JPanel to create a clock class that displays the time and updates every second.
React Native: Developing an app similar to Uber in JavaScriptCaio Ariede
The presentation demonstrates some key points when developing an application similar to Uber using JavaScript and React Native.
Full presentation w/ animations: https://docs.google.com/presentation/d/1J9rjqxx2q7TZ87eZs4qlol3bkr59ABOCGeAkHlQtU7s/edit?usp=sharing
The document discusses HTML5 and web application development. It covers topics like the future of HTML5, developing web apps, setting up a development environment, and providing code samples for HTML5 features like canvas, audio, video and more. It also shows how to measure performance and includes code for animating elements on a canvas.
This document discusses techniques for creating scrolling maps in 2D games. It describes how to create horizontal and vertical scrolling by loading multiple background images and moving them across the screen. It also covers creating square and rhombus shaped maps by defining a viewport and converting between cell and point coordinates. Methods are provided for loading map textures, drawing the viewport region, and abstractly converting between coordinate systems for different map shapes.
This document discusses various techniques for working with multimedia in Android applications, including detecting device capabilities, loading images from local storage and remote URLs, playing audio files from assets and raw resources, and improving performance through caching and asynchronous loading. It provides code examples for checking if a device has a front-facing camera, loading images while avoiding out of memory errors, playing audio files from assets, and using an AsyncTask to load images asynchronously to avoid blocking the UI. It also discusses potential memory leak issues and strategies for building an image cache.
Gearmam, from the_worker's_perspective copyBrian Aker
Gearman is a distributed processing platform that allows users to offload tasks like image resizing or text filtering to worker machines. It supports asynchronous and synchronous requests and restarting failed work. Clients can submit tasks that workers process in different programming languages. Gearman handles load balancing, prioritizing tasks, and monitoring workers. It provides features like chunked data transfer, error handling, and large message sizes up to 4GB.
Gearmam, from the_worker's_perspective copyBrian Aker
Gearman is a distributed processing platform that allows users to offload tasks like image resizing or file manipulation to worker servers. It supports asynchronous and synchronous requests across languages like PHP, Python, Java and allows for functions to return status updates and send data in chunks. Tasks can be split across multiple workers, aggregated, pipelined and support features like fault tolerance, load balancing and namespaces.
Talk given at Mozilla's first View Source Conference in Portland, 2015. Details out the parallels between graphics and game developments compared to traditional web development.
Create a java project that - Draw a circle with three random init.pdfarihantmobileselepun
Create a java project that:
- Draw a circle with three random initial points on the circle.
- Link the points to form a triangle.
- Print the angles values in the triangle.
- Use the mouse to drag a point along the perimeter of the circle. As you drag it, the triangle and
angles are redisplayed dynamically.
Here is the formula to compute angles:
A = acos((a * a - b * b - c * c) / (-2 * b * c))
B = acos((b * b - a * a - c * c) / (-2 * a * c))
C = acos((c * c - b * b - a * a) / (-2 * a * b))
Solution
@Suppresswarnings(\"WeakerAccess\")
public class DragPoints extends Application {
@Override
public void start(Stage primaryStage) {
final PointPane pane = new PointPane(640, 480);
pane.setStyle(\"-fx-background-color: wheat;\");
Label label = new Label(\"Click and drag the points.\");
BorderPane borderPane = new BorderPane(pane);
BorderPane.setAlignment(label, Pos.CENTER);
label.setPadding(new Insets(5));
borderPane.setBottom(label);
Scene scene = new Scene(borderPane);
primaryStage.setTitle(\"Exercise15_21\");
primaryStage.setScene(scene);
primaryStage.show();
}
private class PointPane extends Pane {
final Circle circle = new Circle();
final Vertex[] v = new Vertex[3];
final int strokeWidth = 2;
final Color circleStroke = Color.GRAY, legStroke = Color.BLACK;
@SuppressWarnings(\"SameParameterValue\")
PointPane(double w, double h) {
this.setPrefSize(w, h);
this.setWidth(w);
this.setHeight(h);
circle.setStroke(circleStroke);
circle.setFill(Color.TRANSPARENT);
circle.setStrokeWidth(strokeWidth);
circle.radiusProperty().bind(this.heightProperty().multiply(0.4));
circle.centerXProperty().bind(this.widthProperty().divide(2));
circle.centerYProperty().bind(this.heightProperty().divide(2));
this.getChildren().add(circle);
for (int i = 0; i < v.length; i++) {
v[i] = new Vertex(circle, 2 * Math.PI / v.length * (i + Math.random()));
v[i].radiusProperty().bind(circle.radiusProperty().divide(10));
v[i].setPosition();
v[i].setStroke(new Color(i == 0 ? 1 : 0, i == 1 ? 1 : 0, i == 2 ? 1 : 0, 1));
v[i].setFill(Color.TRANSPARENT);
v[i].setStrokeWidth(strokeWidth);
this.getChildren().add(v[i]);
v[i].setOnMouseDragged(new EventHandler() {
@Override
public void handle(MouseEvent event) {
int i;
for (i = 0; i < v.length; i++)
if (v[i] == event.getSource())
break;
v[i].setAngle(event.getX(), event.getY());
moveUpdate((Vertex) event.getSource());
}
});
}
for (int i = 0; i < v.length; i++) {
int j = i + 1 < v.length ? i + 1 : 0;
int k = j + 1 < v.length ? j + 1 : 0;
v[i].bindLeg(v[j], v[k]);
v[i].leg.setStroke(legStroke);
v[i].leg.setStrokeWidth(strokeWidth);
this.getChildren().add(v[i].leg);
this.getChildren().add(v[i].text);
}
for(DoubleProperty p: new DoubleProperty[]
{circle.radiusProperty(), circle.centerXProperty(), circle.centerYProperty()})
p.addListener(new ResizeListener());
moveUpdate(v[0]);
}
void moveUpdate(Vertex vert) {
vert.setPosition();
double[] legLength = new double[3];
for (int i = 0; i < v.length; i++)
legLength[i] = v[i].getLegLength();
for (int i = .
you will evaluate the history of cryptography from its origins. Ana.docxmattjtoni51554
you will evaluate the history of cryptography from its origins. Analyze how cryptography was used and describe how it grew within history. Look at reasons why cryptography was used and how it developed over the years. Was it used or implemented differently in varying cultures?
need it in two pages.
No plagarism
.
You will do this project in a group of 5 or less. Each group or in.docxmattjtoni51554
You will do this project in a group of 5 or less. Each group or individual will sign up to present on a public health issue and intervention of their choice. They will provide background information on the public health issue and explain why it is relevant and/or prevalent. They will also determine if some of the factors discussed throughout the course (i.e. urbanization, vulnerable populations, health disparities, social determinants of health, public health ethics, health literacy, etc.) were major factors in the development and implementation of the intervention that they choose to highlight. The groups or individuals will prepare a presentation of their information as well as a paper to depict their findings. The presentation can be in any form including, but not limited to, a PowerPoint presentation, a Prezi, a website, a video recording, etc.
My assigned part.
vulnerable populations Morolake
health disparities Morolake
social determinants of health, public health ethics Morolake
PPT
THE IMPLEMENTATION PLAN THAT WAS USED TO FORMULATE THE COMMUNICATION CAMPAIGN
3 slides excluding the references
.
The document provides instructions for building a basic space shooter game using JavaScript and canvas. It demonstrates how to load assets like images, handle input events from keyboard keys to control player movement, create enemy objects that move across the screen, detect collisions between lasers and enemies, and add game states to track lives and score. The game loop redraws the game objects on an interval to animate their movement. Event handling is implemented through an event emitter to avoid messy code. The final sections provide a demo of the moving game elements and lasers firing, along with tips for continuing to learn game development.
Leaving Flatland: getting started with WebGLgerbille
WebGL is a JavaScript API for rendering interactive 3D graphics within any compatible web browser without the use of plug-ins. It can be used for data visualization, creative coding, 3D modeling, games, and more. WebGL works by using JavaScript to interface with the GPU through WebGL APIs to run GLSL shaders that render 3D scenes. To get started, one needs to choose a WebGL library like Three.js, add a <canvas> element, and get the WebGL context. Sample code is provided to render a 3D model by loading geometry, adding lights and materials, and animating the scene render.
The document provides an overview of using the HTML5 canvas element to draw graphics and animations. It covers topics like rendering contexts, paths, styles, gradients, text, shapes, mouse/touch interaction, animation, and libraries. Code examples demonstrate how to draw basic shapes, handle user input, interpolate lines, add gradients, render to canvas, and more. The document is a tutorial for learning the capabilities of the canvas element.
The document defines a LineChart class that extends the Chart class. The LineChart class constructor calls the parent constructor and draws the chart. The draw method builds a line chart from the series data using an SVG library, appends it to the canvas, and adds statistics for each data point by calling the parent addStats method. The getSerieData static method calculates max and average values for a data series. The class is exported for use in other code.
The document discusses techniques for optimizing Android UI performance. It covers optimizing adapter views by reusing views, pre-scaling images to avoid runtime scaling, invalidating specific regions instead of entire views, using fewer views in layouts by combining views, and avoiding memory allocations in performance critical code. The document provides examples of using view holders, compound drawables, ViewStubs, merge tags, custom views and layouts to reduce view count. It also discusses caching objects using soft and weak references to avoid memory leaks.
Below are questions that use the following image class- import assert.pdfrdzire2014
Below are questions that use the following image class:
import assert from "assert";
import { exec } from "child_process";
import fs from "fs";
import os from "os";
import path from "path";
import tmp from "tmp";
import { PNG } from "pngjs";
const IMAGES_FOLDER = path.resolve(process.cwd(), "images");
const IMAGE_GALLERY = fs.readdirSync(IMAGES_FOLDER).map(p =>
path.join(IMAGES_FOLDER, p));
type ImageName = "art" | "bike" | "car" | "dog" | "food" | "landscape" | "pencils" | "pottery" |
"tomato";
function assertSupportedType(filePath: string) {
assert(filePath.endsWith("png"), "Image must end in `.png`.");
}
const CHANNEL_NAMES = ["red", "green", "blue"];
function assertValidColor(color: Color) {
assert(color.length === 3);
CHANNEL_NAMES.forEach((channel, i) => {
assert(Number.isInteger(color[i]), `The ${channel} channel of the color must be an integer.`);
assert(0 <= color[i], `The ${channel} channel of the color must be at least 0.`);
assert(color[i] <= 255, `The ${channel} channel of the color must be at most 255.`);
});
}
function assertValidWidthAndHeight(width: number, height: number) {
assert(Number.isInteger(width), "Image width must be an integer.");
assert(Number.isInteger(height), "Image height must be an integer.");
assert(width > 0, "Image width must be greater than 0.");
assert(height > 0, "Image height must be greater than 0.");
assert(width < 5000, "Image width must be less than 5000.");
assert(height < 5000, "Image height must be less than 5000.");
}
export type Color = number[];
export const COLORS = {
WHITE: [255, 255, 255],
BLACK: [0, 0, 0],
RED: [255, 0, 0],
GREEN: [0, 255, 0],
BLUE: [0, 0, 255],
AQUA: [0, 255, 255],
YELLOW: [255, 255, 0],
MAGENTA: [255, 0, 255],
};
export class Image {
/**
* Loads an image from the preselected gallery of images into memory as an `Image` object.
* If no name is given, this function selects one at random.
* @param name The name of the image from the gallery
* @returns An image in the gallery as an Image object.
*/
static loadImageFromGallery(name?: ImageName): Image {
return name
? Image.loadImageFromFile(path.resolve(IMAGES_FOLDER, name + ".png"))
: Image.loadImageFromFile(IMAGE_GALLERY[Math.floor(Math.random() *
IMAGE_GALLERY.length)]);
}
/**
* Loads an image from the file system into memory as an `Image` object.
* @param image Path to a PNG, JPG, JPEG file
* @returns The file represented as an `Image` object.
*/
static loadImageFromFile(filePath: string): Image {
assertSupportedType(filePath);
if (!fs.existsSync(filePath)) {
throw new Error(`Unable to locate file: \`${filePath}\``);
}
fs.accessSync(filePath, fs.constants.R_OK);
const png = PNG.sync.read(fs.readFileSync(filePath));
return new Image(png.width, png.height, Uint8ClampedArray.from(png.data));
}
/**
* Creates a new image and sets each pixel to a default color.
* @param width The width of the image
* @param height The height of the image
* @param fillColor The color to set each pixel as
*/
static create(width: number, height: n.
need help with code I wrote. This code is a maze gui, and i need hel.pdfarcotstarsports
need help with code I wrote. This code is a maze gui, and i need help with the method
shorterstpath(); here is my code:
******mazeApp*******
package mazepackage;
import javafx.application.Application;
import javafx.application.Platform;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.canvas.Canvas;
import javafx.scene.canvas.GraphicsContext;
import javafx.scene.control.TextInputDialog;
import javafx.scene.paint.Color;
import javafx.stage.Stage;
public class MazeApp extends Application
{
// default canvas size is DEFAULT_SIZE-by-DEFAULT_SIZE
private static final int DEFAULT_SIZE = 768;
private int width = DEFAULT_SIZE;
private int height = DEFAULT_SIZE;
// The graphics context is needed to enable drawing on the canvas
private GraphicsContext gc;
// boundary of drawing canvas, 0% border
// private static final double BORDER = 0.05;
private static final double BORDER = 0.00;
private double xmin, ymin, xmax, ymax;
public static void main(String[] args)
{
launch(args);
}
@Override
public void start(Stage primaryStage)
{
Group root = new Group();
Canvas canvas = new Canvas(width, height);
gc = canvas.getGraphicsContext2D();
gc.setLineWidth(2);
gc.setFill(Color.WHITE);
gc.fillRect(0, 0, width, height);
root.getChildren().add(canvas);
TextInputDialog tid = new TextInputDialog();
tid.setTitle(\"Maze Size\");
tid.setHeaderText(\"Enter maze size between 10 and 50\");
tid.showAndWait();
int size = Integer.parseInt(tid.getResult());
if (size > 50)
size = 50;
if (size < 10)
size = 10;
primaryStage.setTitle(\"Maze Application\");
primaryStage.setScene(new Scene(root));
primaryStage.setResizable(false);
// Make sure that the application goes away when then window is closed
primaryStage.setOnCloseRequest(e -> System.exit(0));
primaryStage.show();
Maze maze = new Maze(this, size);
// Must solve the maze in a separate thread or else
// the GUI wont update until the end.....
Thread solver = new Thread(
new Runnable () {
public void run()
{
while(true)
{
maze.buildAndDrawMaze();
maze.findShortestPath();
try
{
Thread.sleep(5000);
}
catch(Exception e) { }
gc.setFill(Color.WHITE);
gc.fillRect(0, 0, width, height);
}
}
});
solver.start();
}
/**
* Sets the pen color to the specified color.
*
* @param color the color to make the pen
*/
public void setPenColor(Color color) {
gc.setStroke(color);
}
/**
* Sets the pen color to the specified color.
*
* @param color the color to make the pen
*/
public void setFillColor(Color color) {
gc.setFill(color);
}
/**
* Sets the x-scale to the specified range.
*
* @param min the minimum value of the x-scale
* @param max the maximum value of the x-scale
* @throws IllegalArgumentException if {@code (max == min)}
*/
public void setXscale(double min, double max) {
double size = max - min;
if (size == 0.0) {
throw new IllegalArgumentException(\"the min and max are the same\");
}
xmin = min - BORDER * size;
xmax = max + BORDER * size;
}
/**
* Sets the y-scale to the specified range.
*
* @param min the minimum valu.
The document is about using ImageIcon, JPanel, and Timer classes in Java.
It contains 3 sections:
1) Using ImageIcon and JPanel composition to display different images by clicking buttons.
2) Using inheritance with JPanel and Timer to create an animation class that displays a sequence of images.
3) Using Timer and JPanel to create a clock class that displays the time and updates every second.
React Native: Developing an app similar to Uber in JavaScriptCaio Ariede
The presentation demonstrates some key points when developing an application similar to Uber using JavaScript and React Native.
Full presentation w/ animations: https://docs.google.com/presentation/d/1J9rjqxx2q7TZ87eZs4qlol3bkr59ABOCGeAkHlQtU7s/edit?usp=sharing
The document discusses HTML5 and web application development. It covers topics like the future of HTML5, developing web apps, setting up a development environment, and providing code samples for HTML5 features like canvas, audio, video and more. It also shows how to measure performance and includes code for animating elements on a canvas.
This document discusses techniques for creating scrolling maps in 2D games. It describes how to create horizontal and vertical scrolling by loading multiple background images and moving them across the screen. It also covers creating square and rhombus shaped maps by defining a viewport and converting between cell and point coordinates. Methods are provided for loading map textures, drawing the viewport region, and abstractly converting between coordinate systems for different map shapes.
This document discusses various techniques for working with multimedia in Android applications, including detecting device capabilities, loading images from local storage and remote URLs, playing audio files from assets and raw resources, and improving performance through caching and asynchronous loading. It provides code examples for checking if a device has a front-facing camera, loading images while avoiding out of memory errors, playing audio files from assets, and using an AsyncTask to load images asynchronously to avoid blocking the UI. It also discusses potential memory leak issues and strategies for building an image cache.
Gearmam, from the_worker's_perspective copyBrian Aker
Gearman is a distributed processing platform that allows users to offload tasks like image resizing or text filtering to worker machines. It supports asynchronous and synchronous requests and restarting failed work. Clients can submit tasks that workers process in different programming languages. Gearman handles load balancing, prioritizing tasks, and monitoring workers. It provides features like chunked data transfer, error handling, and large message sizes up to 4GB.
Gearmam, from the_worker's_perspective copyBrian Aker
Gearman is a distributed processing platform that allows users to offload tasks like image resizing or file manipulation to worker servers. It supports asynchronous and synchronous requests across languages like PHP, Python, Java and allows for functions to return status updates and send data in chunks. Tasks can be split across multiple workers, aggregated, pipelined and support features like fault tolerance, load balancing and namespaces.
Talk given at Mozilla's first View Source Conference in Portland, 2015. Details out the parallels between graphics and game developments compared to traditional web development.
Create a java project that - Draw a circle with three random init.pdfarihantmobileselepun
Create a java project that:
- Draw a circle with three random initial points on the circle.
- Link the points to form a triangle.
- Print the angles values in the triangle.
- Use the mouse to drag a point along the perimeter of the circle. As you drag it, the triangle and
angles are redisplayed dynamically.
Here is the formula to compute angles:
A = acos((a * a - b * b - c * c) / (-2 * b * c))
B = acos((b * b - a * a - c * c) / (-2 * a * c))
C = acos((c * c - b * b - a * a) / (-2 * a * b))
Solution
@Suppresswarnings(\"WeakerAccess\")
public class DragPoints extends Application {
@Override
public void start(Stage primaryStage) {
final PointPane pane = new PointPane(640, 480);
pane.setStyle(\"-fx-background-color: wheat;\");
Label label = new Label(\"Click and drag the points.\");
BorderPane borderPane = new BorderPane(pane);
BorderPane.setAlignment(label, Pos.CENTER);
label.setPadding(new Insets(5));
borderPane.setBottom(label);
Scene scene = new Scene(borderPane);
primaryStage.setTitle(\"Exercise15_21\");
primaryStage.setScene(scene);
primaryStage.show();
}
private class PointPane extends Pane {
final Circle circle = new Circle();
final Vertex[] v = new Vertex[3];
final int strokeWidth = 2;
final Color circleStroke = Color.GRAY, legStroke = Color.BLACK;
@SuppressWarnings(\"SameParameterValue\")
PointPane(double w, double h) {
this.setPrefSize(w, h);
this.setWidth(w);
this.setHeight(h);
circle.setStroke(circleStroke);
circle.setFill(Color.TRANSPARENT);
circle.setStrokeWidth(strokeWidth);
circle.radiusProperty().bind(this.heightProperty().multiply(0.4));
circle.centerXProperty().bind(this.widthProperty().divide(2));
circle.centerYProperty().bind(this.heightProperty().divide(2));
this.getChildren().add(circle);
for (int i = 0; i < v.length; i++) {
v[i] = new Vertex(circle, 2 * Math.PI / v.length * (i + Math.random()));
v[i].radiusProperty().bind(circle.radiusProperty().divide(10));
v[i].setPosition();
v[i].setStroke(new Color(i == 0 ? 1 : 0, i == 1 ? 1 : 0, i == 2 ? 1 : 0, 1));
v[i].setFill(Color.TRANSPARENT);
v[i].setStrokeWidth(strokeWidth);
this.getChildren().add(v[i]);
v[i].setOnMouseDragged(new EventHandler() {
@Override
public void handle(MouseEvent event) {
int i;
for (i = 0; i < v.length; i++)
if (v[i] == event.getSource())
break;
v[i].setAngle(event.getX(), event.getY());
moveUpdate((Vertex) event.getSource());
}
});
}
for (int i = 0; i < v.length; i++) {
int j = i + 1 < v.length ? i + 1 : 0;
int k = j + 1 < v.length ? j + 1 : 0;
v[i].bindLeg(v[j], v[k]);
v[i].leg.setStroke(legStroke);
v[i].leg.setStrokeWidth(strokeWidth);
this.getChildren().add(v[i].leg);
this.getChildren().add(v[i].text);
}
for(DoubleProperty p: new DoubleProperty[]
{circle.radiusProperty(), circle.centerXProperty(), circle.centerYProperty()})
p.addListener(new ResizeListener());
moveUpdate(v[0]);
}
void moveUpdate(Vertex vert) {
vert.setPosition();
double[] legLength = new double[3];
for (int i = 0; i < v.length; i++)
legLength[i] = v[i].getLegLength();
for (int i = .
you will evaluate the history of cryptography from its origins. Ana.docxmattjtoni51554
you will evaluate the history of cryptography from its origins. Analyze how cryptography was used and describe how it grew within history. Look at reasons why cryptography was used and how it developed over the years. Was it used or implemented differently in varying cultures?
need it in two pages.
No plagarism
.
You will do this project in a group of 5 or less. Each group or in.docxmattjtoni51554
You will do this project in a group of 5 or less. Each group or individual will sign up to present on a public health issue and intervention of their choice. They will provide background information on the public health issue and explain why it is relevant and/or prevalent. They will also determine if some of the factors discussed throughout the course (i.e. urbanization, vulnerable populations, health disparities, social determinants of health, public health ethics, health literacy, etc.) were major factors in the development and implementation of the intervention that they choose to highlight. The groups or individuals will prepare a presentation of their information as well as a paper to depict their findings. The presentation can be in any form including, but not limited to, a PowerPoint presentation, a Prezi, a website, a video recording, etc.
My assigned part.
vulnerable populations Morolake
health disparities Morolake
social determinants of health, public health ethics Morolake
PPT
THE IMPLEMENTATION PLAN THAT WAS USED TO FORMULATE THE COMMUNICATION CAMPAIGN
3 slides excluding the references
.
you will discuss the use of a tool for manual examination of a .docxmattjtoni51554
you will discuss the use of a tool for manual examination of a phone:
Example tools used
Hardware tools
1.Project-A-Phone
2. Fernico ZRT
3. Eclipse Screen Capture Tool
4.Cellebrite USB camera
Software solution tools
1. ScreenHunter
2. Snagit
Select one of the tools mentioned in the text and describe the tools functionality and process used in an examination of a device.
Using the Internet, research the web for an article related to the tool and answer the following questions:
What are some of the advantages or disadvantages of the tool?
Discuss the tools setup
Appraise the value of the tool in gathering evidence for the prosecution
.
you will discuss sexuality, popular culture and the media. What is .docxmattjtoni51554
you will discuss sexuality, popular culture and the media. What is social and sexual norms? What would you consider the ideal sexual behavior and pattern with regards to sexuality and society? Be sure to use your textbook as a reference and submit your initial posting with citations and references at a minimum of 200 words by Thursday.
.
You will discuss assigned questions for the ModuleWeek. · Answe.docxmattjtoni51554
You will discuss assigned questions for the Module/Week.
· Answers to questions must be supported with research and citations. It is not unusual, for instance, to have 3–4 citations per paragraph in doctoral-level research.
· Remember also that writing a research paper, especially at the doctoral-level, requires you to weave in ideas from numerous sources and then in turn synthesizing those ideas to create fresh insights and knowledge.
Specifics:
· 10-12 pages of content, double-spaced
· Must include citations from all readings and presentations for the assigned module (including the Fischer presentations and readings) and at least 15 scholarly sources
· Must include Biblical integration (the Fischer sources will help to that end)
· Current APA format
Module/Week 5 Essay
Discuss the following:
· Define governance.
· What are some of the connotations of the term governance as well?
· What is meant by “good” governance?
· Provide a Biblical perspective on governance in the public administration context.
Essay Paper Grading Rubric
Criteria
Levels of Achievement
Content
(70%)
Advanced
94-100%
Proficient
88-93%
Developing
1-87%
Not present
Total
Content
42.5 to 45 points
:
· Thoroughly answers each assigned question.
· Provides a well-reasoned synthesis of key ideas.
39.5 to 42 points
:
· Answers each assigned question.
· Provides some synthesis of key ideas.
1 to 39 points
:
· Fails to answer one or more questions.
· Largely fails to provide a meaningful synthesis of key ideas.
0 points
Not present
Research & Support
42.5 to 45 points
:
· Goes beyond required reading to provide an in-depth, researched discussion of the assigned questions.
· Supports assertions with research and numerous citations from all required reading, presentations, and scholarly source material.
39.5 to 42 points
:
· For the most part, goes beyond required reading to provide a discussion of the assigned questions.
· For the most part, supports assertions with research and citations.
1 to 39 points
:
· Largely fails to go beyond the required reading to answer questions.
· Limited use of research and citations to support assertions.
0 points
Not present
Biblical Integration
30.5 to 32.5 points
:
Provides a nuanced discussion of Biblical concepts as related to the content and assigned questions.
28.5 to 30 points
:
For the most part, provides a discussion of Biblical concepts as related to the content and assigned questions.
1 to 28 points
:
Provides only a limited discussion of Biblical concepts as related to the content and assigned questions.
0 points
Not present
Structure (30%)
Advanced
94-100%
Proficient
88-93%
Developing
1-87%
Not present
Total
Sources & Citations
19 to 20 points:
· All required readings and presentations from the current and prior modules must be cited.
· At least 15 scholarly sources are used.
17.5 to 18.5 points:
· Most of the required readings and present.
You will develop a proposed public health nursing intervention to me.docxmattjtoni51554
You will develop a proposed public health nursing intervention to meet an identified need and/ or gap in your own community. This must be within the scope of the staff level public health/ community health nurse. (Note: you cannot propose building facilities or purchasing a mobile health van). The intervention should demonstrate your application of previous learning in the program related to process improvement and evidence based nursing practice. Quality peer reviewed references are required to support the need as well as the structure, elements, and evaluation of the intervention.Focus on your own local community. You will use resources found in CANVAS, FSW library, and the web to develop this project. Note that census and other epidemiological data is not available down to zip codes or census tracts in Florida- only by county and/ or city & state.
Community Data Collection Survey – THIS IS THE FIRST STEP IN TO COMPLETE YOUR FINAL PAPER. Community Data Collection Survey
Collect relevant data about your community covering the required areas in the survey tool. References are required to support the data. The final part of the Survey is your summary of the identified gap/ need that will be the focus of a targeted public health nursing intervention in your Community Assessment Project. The Data Assessment Form is in Course Resources in Modules. The form is a tool to assist you collect your data and information.
This is a scholarly paper with appropriate use of tables (see APA Manual for how to format and label tables).
Utilize the resources and web sites located in Course Resources in Canvas. In addition, Community Health Assessments are usually published by your county and/ city with relevant information. The data is usually based on county and/ city information. You can also look at Robert Wood Johnson Foundation information on public health issues that may be applicable to your area. Many resources are provided in Course Resources as a starting point for your data collection. DO NOT Submit the tool... this is a paper.
NUR 4636C Community Health Nursing Assessment Tool v2-1.docx
PAPER CONTENT:
Community Being Assessed
Vital Statistics
Births
Deaths
Causes of mortality and morbidity
Leading infectious diseases
Number of healthy days
3. Social Determinants of Health
Access to health care
Housing
Employment
Environment -Water and Air quality, pollution
Safety- police, fire
Education systems
Recreation
Government role in health access/ provision
Issue/ need identified.
includes at least 5 references from current peer-reviewed nursing journals and /or textbook or reliable education, government or organizational website.
This is for the Lee county area.
.
You will develop a comprehensive literature search strategy. After r.docxmattjtoni51554
You will develop a comprehensive literature search strategy. After reviewing Chapter 5 in
How To Do A Systematic Literature Review In Nursing: A Step-By-Step Guide
(Bettany-Saltikov, 2012), address the following:
Identify each step involved in the comprehensive literature search strategy
Outline each step as it applies to your capstone
Next, you will locate two existing scholarly articles that are Attached and show evidence of (1) properly paraphrasing and citing the abstract, and (2) directly quoting two sentences from the abstract
(with proper attribution). Be sure to include a reference list that corresponds with your general citation and direct quote citation. You do
not
need a title page.
Please keep in mind that I am looking for evidence of understanding the difference between properly
paraphrasing conten
t and a
direct quote
. Both require its respective in-text citation.
In two diferent paragraph give your personal opinion to Jordan Paltani and Felita Daniel-sacagiu
Jordan Paltani
Write What is Right
Each step involved in the comprehensive literature search strategy include evaluating references to help find ideas of sources to use, searching by hand to avoid bias, reading “grey” conference proceedings and/or PhD theses, and contacting authors to get access to unpublished literature.
Each step as it applies to my capstone would be first looking at references from the online article
Study: the kidney shortage kills more than 40,000 people a year
, searching in library books starting with organ donation and leading to the shortage of organs, finding doctors who specialize in kidney transplant and see what their PhD thesis was based up, and contacting Dr. Pasavento who wrote the article
Facing Organ Donor Shortage, Patients Forced to Get Creative
.
The article
The Organ Shortage Crisis in America : Incentives, Civic Duty, and Closing the Gap
discusses how the cadaveric kidney donors are becoming insufficient to meet the needs of those in need of a transplant. The author states
“Nearly 120,000 people are in need of healthy organs in the United States (Flescher, 2018).”
It explains how they are trying to increase living donors to donate to those in need either related or unrelated (Flescher, 2018). The author states,
“Every ten minutes a new name is added to the list, while on average twenty people die each day waiting for an organ to become available.”
With that being said, some ideas include paying those for their kidneys or having them just spend a day at dialysis with a patient.
The article
Relieving the kidney donor shortage
, discusses how kidney transplantation is the only treatment for kidney failure. Having a kidney transplant is cheaper than dialysis, which is only a Band-Aid for kidney failure. Financial incentives are currently an idea to have the amount of living donors increase. This can be beneficial for both the donor and the recipient. The autho.
You will develop a formal information paper that addresses the l.docxmattjtoni51554
You will develop a formal information paper that addresses the legal basis of current Department of Homeland Security jurisdiction, mission, and responsibilities. You will need to specifically analyze hazards, to include manmade or technological and naturally occurring hazards, and terrorism, domestic and foreign, in the information paper.
You are an action officer in your local jurisdiction's Office of Homeland Security. This is a recently created office. As a medium-size jurisdiction, the city manager's office has dual responsibilities in many of the leadership and management positions. This is often referred to as being dual-hatted. The chief of police has been assigned as the director of the Office of Homeland Security for the city. She has no prior experience or knowledge of the requirements involved in homeland security and has asked you to provide a formal report on the topic. The chief intends to share this report with other office managers, city department heads, the city manager, and the elected officials of the city (mayor and city council).
Your report is an information paper and should be formatted as such. The report should address the following items:
The legal basis of current Department of Homeland Security jurisdiction, mission, and responsibilities
Legal definitions of hazards, to include manmade or technological and naturally occurring hazards
Legal definitions of terrorism, domestic and foreign
Review of state law and statutes (using your home or residency state) as it applies to hazards
Review of state law and statutes (using your home or residency state) as it applies to terrorism
Summarize your top 5 key points
Provide any recommendations that you may have to your city's leadership concerning homeland security issues
Reference all source material and citations using APA 6th edition
.
You will design a patient education tool that can be used by nurses .docxmattjtoni51554
You will design a patient education tool that can be used by nurses for teaching patients
using computer applications
. You will then present your tool to the class and explain the purpose, how you created it, reasoning for your choice of applications, and provide current evidence of the effectiveness of this patient education. This presentation is 5-10 minutes.
Assignment File(s)
Patient Education Project and Presentation
[Word Document]
Rubric
NM 208 Patient Education Project Tool
NM 208 Patient Education Project ToolCriteriaRatingsPtsThis criterion is linked to a Learning OutcomeUse of Computer Applications
20.0
to >17.0
ptsHigh ProficiencyCreative, innovative, effective use of computer applications17.0
to >14.0
ptsModerately High ProficiencyEffective use of computer applications14.0
to >10.0
ptsProficient PointsIneffective use of computer use of applications10.0
to >0
ptsLow-Level Proficiency/Non-ProficientLacking use of computer applications
20.0 pts
This criterion is linked to a Learning OutcomeOrganization
20.0
to >17.0
ptsHigh ProficiencyExtremely well organized; logical format that was easy to follow; flowed smoothly from one idea to another and cleverly conveyed; the organization enhanced the effectiveness of the project17.0
to >14.0
ptsModerately High ProficiencyWell organized; logical format that was easy to follow; flowed smoothly from one idea to another and conveyed; the organization enhanced the effectiveness of the project14.0
to >10.0
ptsProficient PointsSomewhat organized; ideas were not presented coherently and transitions were not always smooth, which at times distracted the audience10.0
to >0
ptsLow-Level Proficiency/Non-ProficientChoppy and confusing; format was difficult to follow transitions of ideas were abrupt and seriously distracted the audience
20.0 pts
This criterion is linked to a Learning OutcomeContent Accuracy
20.0
to >17.0
ptsHigh Proficiency100 % of the facts are accurate17.0
to >14.0
ptsModerately High Proficiency99-90% of the facts are accurate14.0
to >10.0
ptsProficient Points89-80% of the facts are accurate10.0
to >0
ptsLow-Level Proficiency/Non-ProficientFewer than 80% of facts are accurate
20.0 pts
This criterion is linked to a Learning OutcomeResearch
20.0
to >17.0
ptsHigh ProficiencyWent above and beyond to research information; solicited material in addition to what was provided; brought in personal ideas and information to enhance project; and utilized variety of resources to make project effective17.0
to >14.0
ptsModerately High ProficiencyDid a very good job of researching; utilized materials provided to their full potential; solicited adequate resources to enhance project; at time took the initiative to find information outside of school.14.0
to >10.0
ptsProficient PointsUsed the material provided in an acceptable manner, but did not consult any additional resources10.0
to >0
ptsLow-Level Proficiency/Non-ProficientDid not utilize resources effectively.
You will design a patient education tool that can be used by nur.docxmattjtoni51554
You will design a patient education tool that can be used by nurses for teaching patients
using computer applications.
You will then present your tool to the class and explain the purpose, how you created it, reasoning for your choice of applications, and provide current evidence of the effectiveness of this patient education. This presentation is 5-10 minutes.
DUE DATE:
Total Points: 200
Patient Education Project Tool Rubric - 100 points
Points
18-20
14-17
10-16
0
Comments
Use of Computer Applications
Creative, innovative, effective use of computer applications
Effective use of computer applications
Ineffective use of computer use of applications
Lacking use of computer applications
Organization
Extremely well organized; logical format that was easy to follow; flowed smoothly from one idea to another and cleverly conveyed; the organization enhanced the effectiveness of the project
Well organized; logical format that was easy to follow; flowed smoothly from one idea to another and conveyed; the organization enhanced the effectiveness of the project
Somewhat organized; ideas were not presented coherently and transitions were not always smooth, which at times distracted the audience
Choppy and confusing; format was difficult to follow transitions of ideas were abrupt and seriously distracted the audience
Content Accuracy
100 % of the facts are accurate
99-90% of the facts are accurate
89-80% of the facts are accurate
Fewer than 80% of facts are accurate
Research
Went above and beyond to research information; solicited material in addition to what was provided; brought in personal ideas and information to enhance project; and utilized variety of resources to make project effective
Did a very good job of researching; utilized materials provided to their full potential; solicited adequate resources to enhance project; at time took the initiative to find information outside of school.
Used the material provided in an acceptable manner, but did not consult any additional resources
Did not utilize resources effectively; did little or no fact gathering on the topic
Creativity
Was extremely clever and presented with originality; a unique approach that truly enhanced the project
Was clever at times; thoughtfully and uniquely presented
Added a few original touches to enhance the project but did not incorporate them throughout
Little creative energy used during this project; was bland, predictable, and lacked “zip”
Patient Education Project Class Presentation Rubric: 100 points
Points
18-20
14-17
10-13
5-9
0-4
Comments
Voice
Speaker uses appropriate pitch, volume, and rate of speaking. Articulation excellent.
Hasty conversational style; does not interfere with volume or articulation. Communication is unhampered.
Low volume; hasty conversational style compromises artic.
You will create an entire Transformational Change Management Plan fo.docxmattjtoni51554
You will create an entire Transformational Change Management Plan for a medium-sized public company that has lost business to a competitor that has chosen to outsource much of its production operations. The company has been based in a small Midwestern town, it is one of the largest employers, and it has an excellent reputation for employee welfare. It is now planning to do the very same offshoring, which will involve large layoffs of long-term employees.
week 4: Communication Plan (100–150 words)
Include the following context in the communication plan:
What stakeholders require communication?
What will be communicated to them?
Who will send the communication?
What communication medium will be used?
.
You will create an Access School Management System Database that can.docxmattjtoni51554
You will create an Access School Management System Database that can be used to store, retrieve update and delete the staff/student.
Design an Access database to maintain information about school staff and students satisfying the following properties:
1. The staff should have the following: ID#, name, and classes they are teaching
2. The student should have the following: ID#, name, section, class
3. Create a module containing the section, subject and teacher information
4. Create a module containing student fee information
5. Create a module containing the instructors salary
6. Create a module with the classroom assignments (be mindful that each class/lab should not have the same information as another class)
.
You will create a 13 slide powerpoint presentation (including your r.docxmattjtoni51554
You will create a 13 slide powerpoint presentation (including your reference page) about advocating for adoption.
Be creative in developing a presentation that will highlight an issue, choice/decision, or life altering event that may impact someone's life.
You need to have at least 7 credible references
These will need to be noted within the presentation and at the end of the presentation.
.
You will create a 10 minute virtual tour of a cultural museum” that.docxmattjtoni51554
You will create a 10 minute virtual tour of a “cultural museum” that teaches your audience about a particular culture. The museum that you select must be within the United States. For example, The United States Holocaust Memorial Museum, Art Institute of Chicago, Ellis Island, Charles H. Wright African American Museum, etc. You will create a “virtual tour” of the museum by creating a PowerPoint presentation with at least one slide dedicated to each “room” of the museum. You must provide the history of the museum through the use of visual imagery. You might choose to display some of the objects/artifacts that would be included in the museum, audio or video clips related to the spaces, or text that might appear on the displays or signs at the museum. Be sure you have a title slide with the name of the museum you chose on it. Your final product should be very creative AND very realistic. You will have to do extensive research on the museum that you choose. Your audience should walk away from your presentation with the feeling that they have just left the museum. The audience should also gain new information about the culture that they did not know before your presentation. You will also need to submit a reference page using APA format. This should be primarily a visual tour. Please limit any text on slides to short headings and/or bullet points. I do not require any citations for images/photos.
.
You will continue the previous discussion by considering the sacred.docxmattjtoni51554
You will continue the previous discussion by considering the sacred/secular divide that is often seen within society today. After watching the presentation titled The Sacred/Secular Divide, interact with your classmates by discussing the following questions:
How does the tendency to push religion away from the public arena effect the Christian’s ability to engage culture?
What are the areas within your own life that depict the sacred/secular divide?
How can the sacred/secular divide be eliminated within your sphere of influence?
In your discussion, indicate to which of the points of the Sacred/Secular Divide you are responding throughout your post.
.
You will craft individual essays in response to the provided prompts.docxmattjtoni51554
You will craft individual essays in response to the provided prompts. You must use the current Turabian style with default margins and 12-pt Times New Roman font. For each essay, include a title page and reference page, also in current Turabian format. You must include citations to a sufficient number of appropriate scholarly sources to fully support your assertions and conclusions (which will likely require more than the minimum number of citations). Each paper must contain at least 5
7 scholarly sources
original to this paper
,
The UN— “A More Perfect Union?”
Considering the readings, video presentations, and your own research, draft a quality 6–7-page research paper on the role, legitimacy, and authority of the UN according to the following prompts, answering in a separate or integrated manner as you wish.
Identify at least 3reasons that states might defend the intrinsic legitimacy of the UN as a governing authority. In reverse, identify at least 3reasons that states might criticize its legitimacy and authority.
In short, make an argument for the limits and possibilities of the UN as a legitimate governing authority in a world of sovereign states.
What is the relationship of the UN to the current international system of states?
Considering the reasons for the creation of the UN after WWII, does it seem driven by political necessity or the political utility? In plainer English, do states need the UN more than the UN needs the states? Or do states both large and small find the UN a useful tool for improving their relative power and legitimacy vis-à-vis other states and global institutions? Is there some position in-between?
Using other sources and extra-Scholar sources (The commentaries, teachings, other writings, etc.) to inform your own reasoning, comment on the compatibility with the idea of
World Government
. [
Attention
: The Instructor does not view the question as rhetorical, nor the answer self-evident. So, reason carefully.] For example, if the logic of collective action under the
Articles of Confederation
—the logic of state sovereignty—failed to secure American liberties as well as the ‘more perfect union’, the new Constitution established by the Framers in 1787 to replace it, effectively requiring states to cede sovereignty to a larger collective authority, why would the same logic of collective action not justify the UN as a ‘more perfect union’ to replace an anarchic system of sovereign states putting the world at risk in a nuclear age?
.
You will complete the Aquifer case,Internal Medicine 14 18-year.docxmattjtoni51554
You will complete the Aquifer case,
Internal Medicine 14: 18-year-old female for pre-college physical
,
focusing on the
“Revisit three months later”
for this assignment.
After completing the Aquifer case, you will present the case and supporting evidence in a PowerPoint presentation with the following components:
Slide 1: Title, Student Name, Course, Date
Slide 2: Summary or synopsis of Judy Pham's case
Slide 3: HPI
Slide 4: Medical History
Slide 5: Family History
Slide 6: Social History
Slide 7: ROS
Slide 8: Examination
Slide 9: Labs (In-house)
Slide 10: Primary Diagnosis and 3 Differential Diagnoses – ranked in priority
Primary Diagnosis should be supported by data in the patient’s history, exam, and lab results.
Slide 11: Management Plan: medication (dose, route, frequency), non-medication treatment, tests ordered, education, follow-up/referral.
Slide 12-16: An evaluation of 5 evidence-based articles applicable to Ms. Pham’s case: evaluate 1 article per slide.
Include title, author, and year of article
Brief summary/purpose of the study
How did the study support Ms. Pham’s case?
Course texts will not count as a scholarly source. If using data from websites you must go back to the literature source for the information; no secondary sources are allowed, e.g. Medscape, UptoDate, etc.
Slide 17: Reference List
You will submit the PowerPoint presentation in the
Submissions Area by the due date assigned. Name your Case Study Presentation SU_NSG6430_W7_A2_lastname_firstinitial.doc
.
You will complete the Aquifer case,Internal Medicine 14 18-.docxmattjtoni51554
You will complete the Aquifer case,
Internal Medicine 14: 18-year-old female for pre-college physical
,
focusing on the
“Revisit three months later”
for this assignment.
After completing the Aquifer case, you will present the case and supporting evidence in a PowerPoint presentation with the following components:
Slide 1: Title, Student Name, Course, Date
Slide 2: Summary or synopsis of Judy Pham's case
Slide 3: HPI
Slide 4: Medical History
Slide 5: Family History
Slide 6: Social History
Slide 7: ROS
Slide 8: Examination
Slide 9: Labs (In-house)
Slide 10: Primary Diagnosis and 3 Differential Diagnoses – ranked in priority
Primary Diagnosis should be supported by data in the patient’s history, exam, and lab results.
Slide 11: Management Plan: medication (dose, route, frequency), non-medication treatment, tests ordered, education, follow-up/referral.
Slide 12-16: An evaluation of 5 evidence-based articles applicable to Ms. Pham’s case: evaluate 1 article per slide.
Include title, author, and year of article
Brief summary/purpose of the study
How did the study support Ms. Pham’s case?
Course texts will not count as a scholarly source. If using data from websites you must go back to the literature source for the information; no secondary sources are allowed, e.g. Medscape, UptoDate, etc.
Slide 17: Reference List
You will submit the PowerPoint presentation in the
Submissions Area by the due date assigned. Name your Case Study Presentation SU_NSG6430_W7_A2_lastname_firstinitial.doc
.
You will complete several steps for this assignment.Step 1 Yo.docxmattjtoni51554
You will complete several steps for this assignment.
Step 1:
You will become familiar with an assessment tool (AChecker) to examine Web accessibility for a couple Web sites. This is a freely available tool that you can learn about by reviewing the tutorial found
here
.
Step 2:
Select two Web sites that are somewhat similar in functionality. Find one that you think is good and one that you think is bad. Whether or not the Web site is good or bad is based upon your own personal perspective.
Step 3:
Examine the Web sites regarding your suggestions as to how they might be improved.
Step 4:
Create a PowerPoint presentation that includes 10–12 slides with voice recording that presents your recommended improvements. Discuss the good and bad factors of each Web site. Discuss how a sample task is supported on each of the Web sites. Describe how the Web site can be redesigned or revised to achieve better results.
The requirements for the presentation are as follows:
Title slide
Introduction to the 2 Web sites
Comparison of the 2 Web sites
A summary of AChecker's findings for each site
Explanation of how to improve the sample task
Listing of recommended improvements
Information regarding anticipated localization and globalization factors
Summary and conclusions
At least 3–5 references
Be sure to consider the following:
Patterns
Wizards
Interactivity
Animation
Transitions
.
You will compile a series of critical analyses of how does divorce .docxmattjtoni51554
You will compile a series of critical analyses of "how does divorce effect the wellness of children?" through the four general education lenses: history, humanities, natural and applied sciences, and social sciences. Using the four lenses, explain "how does divorce effect the wellness of children?" within wellness has or has not influenced modern society.
.
Strategies for Effective Upskilling is a presentation by Chinwendu Peace in a Your Skill Boost Masterclass organisation by the Excellence Foundation for South Sudan on 08th and 09th June 2024 from 1 PM to 3 PM on each day.
Communicating effectively and consistently with students can help them feel at ease during their learning experience and provide the instructor with a communication trail to track the course's progress. This workshop will take you through constructing an engaging course container to facilitate effective communication.
Temple of Asclepius in Thrace. Excavation resultsKrassimira Luka
The temple and the sanctuary around were dedicated to Asklepios Zmidrenus. This name has been known since 1875 when an inscription dedicated to him was discovered in Rome. The inscription is dated in 227 AD and was left by soldiers originating from the city of Philippopolis (modern Plovdiv).
বাংলাদেশের অর্থনৈতিক সমীক্ষা ২০২৪ [Bangladesh Economic Review 2024 Bangla.pdf] কম্পিউটার , ট্যাব ও স্মার্ট ফোন ভার্সন সহ সম্পূর্ণ বাংলা ই-বুক বা pdf বই " সুচিপত্র ...বুকমার্ক মেনু 🔖 ও হাইপার লিংক মেনু 📝👆 যুক্ত ..
আমাদের সবার জন্য খুব খুব গুরুত্বপূর্ণ একটি বই ..বিসিএস, ব্যাংক, ইউনিভার্সিটি ভর্তি ও যে কোন প্রতিযোগিতা মূলক পরীক্ষার জন্য এর খুব ইম্পরট্যান্ট একটি বিষয় ...তাছাড়া বাংলাদেশের সাম্প্রতিক যে কোন ডাটা বা তথ্য এই বইতে পাবেন ...
তাই একজন নাগরিক হিসাবে এই তথ্য গুলো আপনার জানা প্রয়োজন ...।
বিসিএস ও ব্যাংক এর লিখিত পরীক্ষা ...+এছাড়া মাধ্যমিক ও উচ্চমাধ্যমিকের স্টুডেন্টদের জন্য অনেক কাজে আসবে ...
This document provides an overview of wound healing, its functions, stages, mechanisms, factors affecting it, and complications.
A wound is a break in the integrity of the skin or tissues, which may be associated with disruption of the structure and function.
Healing is the body’s response to injury in an attempt to restore normal structure and functions.
Healing can occur in two ways: Regeneration and Repair
There are 4 phases of wound healing: hemostasis, inflammation, proliferation, and remodeling. This document also describes the mechanism of wound healing. Factors that affect healing include infection, uncontrolled diabetes, poor nutrition, age, anemia, the presence of foreign bodies, etc.
Complications of wound healing like infection, hyperpigmentation of scar, contractures, and keloid formation.
How to Make a Field Mandatory in Odoo 17Celine George
In Odoo, making a field required can be done through both Python code and XML views. When you set the required attribute to True in Python code, it makes the field required across all views where it's used. Conversely, when you set the required attribute in XML views, it makes the field required only in the context of that particular view.
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxEduSkills OECD
Iván Bornacelly, Policy Analyst at the OECD Centre for Skills, OECD, presents at the webinar 'Tackling job market gaps with a skills-first approach' on 12 June 2024
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Player x 0 y ga.docx
1. Player: x 0 y
game using HTMLJAVA SCRIPT/car copy.png
game using HTMLJAVA SCRIPT/car.js
function Car () {
this.img = new Image(); // Create new img element
this.img.onload = function(){
// execute drawImage statements here
};
this.img.src = 'car.png'; // Set source path
// collision
this.collisions = {
top: new CollisionPoint(this, 0),
right: new CollisionPoint(this, 90, 10),
bottom: new CollisionPoint(this, 180),
left: new CollisionPoint(this, 270, 10)
};
}
3. if (this.speed > 0){
this.speed *= this.speedDecay;
this.speed = this.speed < min ? min :
this.speed;
} else if (this.speed === 0){
this.speed = -0.4;
} else {
this.speed *= this.backSpeed;
this.speed = this.speed > min ? min :
this.speed;
}
}
},
steerLeft: function(){
if (this.isMoving()){
this.rotation -= this.rotationStep *
(this.speed/this.maxSpeed);
}
},
steerRight: function(){
if (this.isMoving()){
this.rotation += this.rotationStep *
(this.speed/this.maxSpeed);
}
}
};
game using HTMLJAVA SCRIPT/car.png
game using HTMLJAVA SCRIPT/collision.js
/**
* A hit map class for dynamically
* checking whether an x/y coordinate
4. * with an appropriate hit image
*
* @param {Image} img The hit map image
*/
function HitMap(img){
var self = this;
this.img = img;
// only do the drawing once the
// image has downloaded
if (img.complete){
this.draw();
} else {
img.onload = function(){
self.draw();
};
}
}
HitMap.prototype = {
draw: function(){
// first create the canvas
this.canvas = document.createElement('canvas');
this.canvas.width = this.img.width;
this.canvas.height = this.img.height;
this.context = this.canvas.getContext('2d');
// draw the image on it
this.context.drawImage(this.img, 0, 0);
},
isHit: function(x, y){
if (this.context){
// get the pixel RGBA values
var pixel = this.context.getImageData(x, y, 1, 1);
if (pixel){
// we consider a hit if the Red
// value is 0
return pixel.data[0] === 0;
6. radius: 10,
check: function(coords){
}
};
game using HTMLJAVA SCRIPT/helpers.js
var TO_RADIANS = Math.PI/180;
function drawRotatedImage(image, x, y, angle) {
// save the current co-ordinate system
// before we screw with it
context.save();
// move to the middle of where we want to draw our image
context.translate(x, y);
// rotate around that point, converting our
// angle from degrees to radians
context.rotate(angle * TO_RADIANS);
// draw it up and to the left by half the width
// and height of the image
context.drawImage(image, -(image.width/2), -
(image.height/2));
// and restore the co-ords to how they were when we began
context.restore();
}
function rotatePoint (coords, angle, distance) {
return {
x: Math.sin(angle * TO_RADIANS) * distance +
coords.x,
y: Math.cos(angle * TO_RADIANS) * distance * -1 +
7. coords.y,
};
}
function drawPoint (xy) {
context.fillRect(xy.x,xy.y,1,1);
}
function distance (from, to) {
var a = from.x > to.x ? from.x - to.x : to.x - from.x,
b = from.y > to.y ? from.y - to.y : to.y - from.y
;
return Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2))
}
/**
* Provides requestAnimationFrame in a cross browser way.
* http://paulirish.com/2011/requestanimationframe-for-smart-
animating/
*/
if ( !window.requestAnimationFrame ) {
window.requestAnimationFrame = ( function() {
return window.webkitRequestAnimationFrame ||
window.mozRequestAnimationFrame ||
window.oRequestAnimationFrame ||
window.msRequestAnimationFrame ||
function( /* function FrameRequestCallback */ callback,
/* DOMElement Element */ element ) {
window.setTimeout( callback, 1000 / 60 );
};
}());
}
8. game using HTMLJAVA SCRIPT/index.html
Player: x 0 y
game using HTMLJAVA SCRIPT/jquery.js
/*! jQuery v1.7.2 jquery.com | jquery.org/license */
(function(a,b){function cy(a){return
f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWind
ow:!1}function cu(a){if(!cj[a]){var
b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.rem
ove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"
),ck.frameBorder=ck.width=ck.height=0),b.appendChild(ck);if(!
cl||!ck.createElement)cl=(ck.contentWindow||ck.contentDocume
nt).document,cl.write((f.support.boxModel?"<!doctype
html>":"")+"<html><body>"),cl.close();d=cl.createElement(a),c
l.body.appendChild(d),e=f.css(d,"display"),b.removeChild(ck)}
cj[a]=e}return cj[a]}function ct(a,b){var
c={};f.each(cp.concat.apply([],cp.slice(0,b)),function(){c[this]=
a});return c}function cs(){cq=b}function
cr(){setTimeout(cs,0);return cq=f.now()}function
ci(){try{return new
a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function
ch(){try{return new a.XMLHttpRequest}catch(b){}}function
9. cb(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var
d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g
<i;g++){if(g===1)for(h in a.converters)typeof
h=="string"&&(e[h.toLowerCase()]=a.converters[h]);l=k,k=d[g]
;if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+"
"+k,n=e[m]||e["* "+k];if(!n){p=b;for(o in e){j=o.split("
");if(j[0]===l||j[0]==="*"){p=e[j[1]+"
"+k];if(p){o=e[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&
!p&&f.error("No conversion from "+m.replace(" "," to
")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function
ca(a,c,d){var
e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in
g)i in
d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mi
meType||c.getResponseHeader("content-type"));if(h)for(i in
e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in
d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+"
"+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);r
eturn d[j]}}function
b_(a,b,c,d){if(f.isArray(b))f.each(b,function(b,e){c||bD.test(a)?
d(a,e):b_(a+"["+(typeof e=="object"?b:"")+"]",e,c,d)});else
if(!c&&f.type(b)==="object")for(var e in
b)b_(a+"["+e+"]",b[e],c,d);else d(a,b)}function b$(a,c){var
d,e,g=f.ajaxSettings.flatOptions||{};for(d in
c)c[d]!==b&&((g[d]?a:e||(e={}))[d]=c[d]);e&&f.extend(!0,a,e)}
function bZ(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var
h=a[f],i=0,j=h?h.length:0,k=a===bS,l;for(;i<j&&(k||!l);i++)l=h[
i](c,d,e),typeof
l=="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=bZ(a,c,d,e,
l,g)));(k||!l)&&!g["*"]&&(l=bZ(a,c,d,e,"*",g));return l}function
bY(a){return function(b,c){typeof
b!="string"&&(c=b,b="*");if(f.isFunction(c)){var
d=b.toLowerCase().split(bO),e=0,g=d.length,h,i,j;for(;e<g;e++)
h=d[e],j=/^+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j
?"unshift":"push"](c)}}}function bB(a,b,c){var
d=b==="width"?a.offsetWidth:a.offsetHeight,e=b==="width"?1: