This class implements a 3D matrix. More...
#include <CMatrix3d.h>
Public Member Functions | |
| cMatrix3d () | |
| cMatrix3d (const double &a_m00, const double &a_m01, const double &a_m02, const double &a_m10, const double &a_m11, const double &a_m12, const double &a_m20, const double &a_m21, const double &a_m22) | |
| cMatrix3d (const cVector3d &a_colVector0, const cVector3d &a_colVector1, const cVector3d &a_colVector2) | |
| cMatrix3d (const double &a_angle1, const double &a_angle2, const double &a_angle3, const cEulerOrder a_eulerOrder, const bool a_useIntrinsicEulerModel=true, const bool a_anglesDefinedInDegrees=false) | |
| cMatrix3d (const cVector3d &a_axis, const double &a_angleRad) | |
| cMatrix3d (const double &a_axisX, const double &a_axisY, const double &a_axisZ, const double &a_angleRad) | |
| void | identity () |
| This method builds an identity matrix. More... | |
| void | set (const double &a_value) |
| This method initializes all elements of this matrix with an input value. More... | |
| void | set (const double a_source[3][3]) |
| This method initializes this matrix from an array. More... | |
| void | set (const double &a_m00, const double &a_m01, const double &a_m02, const double &a_m10, const double &a_m11, const double &a_m12, const double &a_m20, const double &a_m21, const double &a_m22) |
| This method initializes this matrix with individual elements passed as arguments. More... | |
| void | setCol (const cVector3d &a_vectCol0, const cVector3d &a_vectCol1, const cVector3d &a_vectCol2) |
| This method initialize this matrix with column vectors passed as arguments. More... | |
| void | setCol0 (const cVector3d &a_vectCol) |
| This method initializes column 0 of this matrix. More... | |
| void | setCol1 (const cVector3d &a_vectCol) |
| This method initializes column 1 of this matrix. More... | |
| void | setCol2 (const cVector3d &a_vectCol) |
| This method initializes column 2 of this matrix. More... | |
| void | get (double *a_destination[]) |
| This method copies matrix elements to a table of doubles More... | |
| cVector3d | getCol0 () const |
| This method returns column vector 0 of matrix. More... | |
| cVector3d | getCol1 () const |
| This method returns column vector 1 of matrix. More... | |
| cVector3d | getCol2 () const |
| This method returns column vector 2 of matrix. More... | |
| cVector3d | getRow (const unsigned int &a_index) const |
| This method returns the i th row of matrix. More... | |
| void | copyto (cMatrix3d &a_destination) const |
| This method copies all elements of this matrix to another matrix. More... | |
| void | copyfrom (const cMatrix3d &a_source) |
| This method copies all elements from another matrix to this one. More... | |
| bool | equals (cMatrix3d &a_matrix) const |
| This method compares if two matrices are equal. More... | |
| void | add (const cMatrix3d &a_matrix) |
| This method computes the addition of this matrix with another. More... | |
| void | addr (const cMatrix3d &a_matrix, cMatrix3d &a_result) const |
| This method computes the addition of this matrix with another. More... | |
| void | sub (const cMatrix3d &a_matrix) |
| This method computes the subtraction of this matrix with another. More... | |
| void | subr (const cMatrix3d &a_matrix, cMatrix3d &a_result) const |
| This method computes the subtraction of this matrix with another. More... | |
| void | mul (const cMatrix3d &a_matrix) |
| This function computes the multiplication of this matrix with another. More... | |
| void | mulr (const cMatrix3d &a_matrix, cMatrix3d &a_result) const |
| This function computes the multiplication of this matrix with another. More... | |
| void | mul (cVector3d &a_vector) const |
| This function computes the multiplication of this matrix with a vector. More... | |
| void | mulr (const cVector3d &a_vector, cVector3d &a_result) const |
| This function computes the multiplication of this matrix with a vector. More... | |
| double | det () const |
| This method computes and returns the determinant of this matrix. More... | |
| void | trans () |
| This method computes the transpose of this matrix. More... | |
| void | transr (cMatrix3d &a_result) const |
| This method computes the transpose of this matrix. More... | |
| bool | invert () |
| This method computes the inverse of this matrix. More... | |
| bool | invertr (cMatrix3d &a_result) const |
| This method computes the inverse of this matrix. More... | |
| void | orthogonalize () |
| This method orthogonalizes this matrix. More... | |
| bool | setAxisAngleRotationRad (const cVector3d &a_axis, const double &a_angleRad) |
| This method builds a rotation matrix from an axis-angle representation. More... | |
| bool | setAxisAngleRotationDeg (const cVector3d &a_axis, const double &a_angleDeg) |
| This method builds a rotation matrix from an axis-angle representation. More... | |
| bool | setAxisAngleRotationRad (const double &a_axisX, const double &a_axisY, const double &a_axisZ, const double &a_angleRad) |
| This method builds a rotation matrix from an axis-angle representation. More... | |
| bool | setAxisAngleRotationDeg (const double &a_axisX, const double &a_axisY, const double &a_axisZ, const double &a_angleDeg) |
| This method builds a rotation matrix from axis-angle representation. More... | |
| void | setExtrinsicEulerRotationRad (const double &a_angle1, const double &a_angle2, const double &a_angle3, const cEulerOrder a_eulerOrder) |
| This method builds a rotation matrix from an Euler angle representation. More... | |
| void | setExtrinsicEulerRotationDeg (const double &a_angle1, const double &a_angle2, const double &a_angle3, const cEulerOrder a_eulerOrder) |
| This method builds a rotation matrix from an Euler angle representation. More... | |
| void | setIntrinsicEulerRotationRad (const double &a_angle1, const double &a_angle2, const double &a_angle3, const cEulerOrder a_eulerOrder) |
| This method builds a rotation matrix from an Euler angle representation. More... | |
| void | setIntrinsicEulerRotationDeg (const double &a_angle1, const double &a_angle2, const double &a_angle3, const cEulerOrder a_eulerOrder) |
| This method builds a rotation matrix from an Euler angle representation. More... | |
| bool | rotateAboutGlobalAxisRad (const cVector3d &a_axis, const double &a_angleRad) |
| This method rotates this matrix around an axis described in global coordinates. More... | |
| bool | rotateAboutGlobalAxisDeg (const cVector3d &a_axis, const double &a_angleDeg) |
| This method rotates this matrix around an axis described in global coordinates. More... | |
| bool | rotateAboutGlobalAxisRad (const double &a_axisX, const double &a_axisY, const double &a_axisZ, const double &a_angleRad) |
| This method rotates this matrix around an axis described in global coordinates. More... | |
| bool | rotateAboutGlobalAxisDeg (const double &a_axisX, const double &a_axisY, const double &a_axisZ, const double &a_angleDeg) |
| This method rotates this matrix around an axis described in global coordinates. More... | |
| bool | rotateAboutLocalAxisRad (const cVector3d &a_axis, const double &a_angleRad) |
| This method rotates this matrix around an axis described in local coordinates. More... | |
| bool | rotateAboutLocalAxisDeg (const cVector3d &a_axis, const double &a_angleDeg) |
| This method rotates this matrix around an axis described in local coordinates. More... | |
| bool | rotateAboutLocalAxisRad (const double &a_axisX, const double &a_axisY, const double &a_axisZ, const double &a_angleRad) |
| This method rotates this matrix around an axis described in local coordinates. More... | |
| bool | rotateAboutLocalAxisDeg (const double &a_axisX, const double &a_axisY, const double &a_axisZ, const double &a_angleDeg) |
| This method rotates this matrix around an axis described in local coordinates. More... | |
| bool | toAxisAngle (cVector3d &a_axis, double &a_angle) const |
| This method converts this rotation matrix to an axis-angle representation. More... | |
| std::string | str (const unsigned int a_precision=2) const |
| This method converts this matrix to a string representation. More... | |
| void | operator*= (const double &a_val) |
| An overloaded *= operator for matrix/scalar multiplication. More... | |
| cVector3d | operator* (const cVector3d &a_val) |
| An overloaded * operator for matrix/vector multiplication. More... | |
| cMatrix3d | operator* (const cMatrix3d &a_val) |
| An overloaded * operator for matrix/matrix multiplication. More... | |
| void | operator*= (const cMatrix3d &a_val) |
| An overloaded *= operator for matrix/matrix multiplication. More... | |
| void | operator+= (const cMatrix3d &a_input) |
| An overloaded += operator for matrix/matrix addition. More... | |
| void | operator-= (const cMatrix3d &a_input) |
| An overloaded -= operator for matrix/matrix subtraction. More... | |
| double & | operator() (const int a_index0, const int a_index1) |
| An overloaded () operator. More... | |
| const double & | operator() (const int a_index0, const int a_index1) const |
| An overloaded () operator. More... | |
This matrix class provides storage for a 3x3 double precision floating point matrix as well as basic matrix and vector operations.
|
inline |
Constructor of cMatrix3d.
|
inline |
Constructor of cMatrix3d.
Initializes matrix by passing as arguments values for each cell.
| a_m00 | Matrix Component (0,0) |
| a_m01 | Matrix Component (0,1) |
| a_m02 | Matrix Component (0,2) |
| a_m10 | Matrix Component (1,0) |
| a_m11 | Matrix Component (1,1) |
| a_m12 | Matrix Component (1,2) |
| a_m20 | Matrix Component (2,0) |
| a_m21 | Matrix Component (2,1) |
| a_m22 | Matrix Component (2,2) |
|
inline |
Constructor of cMatrix3d.
Initializes matrix from a set of column vectors passed as arguments.
| a_colVector0 | Column vector 0. |
| a_colVector1 | Column vector 1. |
| a_colVector2 | Column vector 2. |
|
inline |
Constructor of cMatrix3d.
Builds a rotation matrix from a set of Euler angles and co-moving axes of rotations.
| a_angle1 | Angle of the first rotation in the sequence. |
| a_angle2 | Angle of the second rotation in the sequence. |
| a_angle3 | Angle of the third rotation in the sequence. |
| a_eulerOrder | The order of the axes about which the rotations are to be applied |
| a_useIntrinsicEulerModel | If true use intrinsic Euler model, if false use extrinsic Euler model. |
| a_anglesDefinedInDegrees | If true then the angles passed by argument are defined in degrees, if false then the angles are defined in radians. |
|
inline |
Constructor of cMatrix3d.
Builds a rotation matrix from an axis-angle representation passed as argument.
| a_axis | Axis vector. |
| a_angleRad | Angle in radians. |
|
inline |
Constructor of cMatrix3d.
Builds a rotation matrix from an axis-angle representation.
| a_axisX | x component of axis. |
| a_axisY | y component of axis. |
| a_axisZ | z component of axis. |
| a_angleRad | Angle in radian. |
|
inline |
This method builds an identity matrix with ones on the main diagonal and zeros elsewhere.
|
inline |
This method initializes all elements of this matrix with an input scalar value a_value
passed as argument.
| a_value | Value. |
|
inline |
This method initializes this matrix from a table of doubles passed as argument.
| a_source | Table of doubles. |
|
inline |
This method initialize this matrix by passing as argument values for each cell.
| a_m00 | Matrix Component (0,0) |
| a_m01 | Matrix Component (0,1) |
| a_m02 | Matrix Component (0,2) |
| a_m10 | Matrix Component (1,0) |
| a_m11 | Matrix Component (1,1) |
| a_m12 | Matrix Component (1,2) |
| a_m20 | Matrix Component (2,0) |
| a_m21 | Matrix Component (2,1) |
| a_m22 | Matrix Component (2,2) |
|
inline |
This method initialize this matrix with column vectors passed as arguments a_vectCol0
, a_vectCol1
, and a_vectCol2
.
| a_vectCol0 | Vector Column 0. |
| a_vectCol1 | Vector Column 1. |
| a_vectCol2 | Vector Column 2. |
|
inline |
This method sets column 0 of this matrix by passing an input vector a_vectCol
passed as argument.
| a_vectCol | Vector Column 0. |
|
inline |
This method sets column 1 of this matrix by passing an input vector a_vectCol
passed as argument.
| a_vectCol | Vector Column 1. |
|
inline |
This method sets column 2 of this matrix by passing an input vector a_vectCol
passed as argument.
| a_vectCol | Vector Column 2. |
|
inline |
This method copies matrix elements to a table a_destination
of doubles passed as argument.
| a_destination | Table of doubles. |
|
inline |
This method returns column vector 0 of matrix.
|
inline |
This method returns column vector 1 of matrix.
|
inline |
This method returns column vector 2 of matrix.
|
inline |
This method returns the i th of matrix. The three components are returned through a cVector3d data structure.
| a_index | Index of row. (0,1 or 2) |
|
inline |
This method copies all elements of this matrix to another matrix a_destination
passed as argument.
| a_destination | Destination matrix. |
|
inline |
This method copies all elements of a matrix a_source
passed as argument to this one.
| a_source | Source matrix. |
|
inline |
This methods compare two matrices and returns true if both matrices are equal, otherwise false.
| a_matrix | Matrix to compare with. |
|
inline |
This method computes the addition of this matrix with a matrix passed as argument.
The result is stored in this matrix.
| a_matrix | Input matrix. |
This method computes the addition of this matrix with a matrix passed as argument.
The result is stored is the result matrix a_result
that is passed as argument.
| a_matrix | Input matrix. |
| a_result | Result of operation. |
|
inline |
This method computes the subtraction of this matrix with a matrix passed as argument.
The result is stored in this matrix.
| a_matrix | Input matrix. |
This method computes the subtraction of this matrix with a matrix passed as argument.
The result is stored is the result matrix a_result
that is passed as argument.
| a_matrix | Input matrix. |
| a_result | Result of operation. |
|
inline |
This function computes the multiplication of this matrix with a matrix a_matrix
passed as argument.
The result of this operation is stored in this matrix overwriting previous values.
| a_matrix | Input matrix. |
This function computes the multiplication of this matrix with a matrix a_matrix
passed as argument.
The result of this operation is stored in the result matrix a_result
passed as argument.
| a_matrix | Input matrix. |
| a_result | Result of operation. |
|
inline |
This function computes the multiplication of this matrix with a vector a_vector
passed as argument.
The result of this operation is stored in the same vector a_vector
overwriting previous values.
| a_vector | Input vector and return result. |
This function computes the multiplication of this matrix with a vector a_vector
passed as argument.
The result of this operation is stored in the result vector a_result
passed as second argument.
| a_vector | Input vector |
| a_result | Result of operation. |
|
inline |
This method computes and returns the determinant of this matrix.
|
inline |
This method computes the transpose of this matrix.
The result of this operation is stored in this matrix overwriting previous values.
|
inline |
This method computes the transpose of this matrix.
The result of this operation is stored in the result matrix a_result
matrix passed as argument.
| a_result | Output matrix. |
|
inline |
This method computes the inverse of this matrix.
If the operation succeeds, the result is stored in this matrix.
|
inline |
This method computes the inverse of this matrix.
If the operation succeeds, the result is stored in the result matrix a_result
passed as argument.
|
inline |
This method orthogonalizes this matrix so that all columns vectors are orthogonal to each other and of length 1. This method is useful if your rotation matrix has accumulated small error.
|
inline |
this method builds a rotation matrix from an input axis and angle defined in radians.
The result is stored in this matrix overwriting previous values.
| a_axis | Axis of rotation. |
| a_angleRad | Angle in radians. |
|
inline |
This method builds a rotation matrix from an input axis and angle defined in degrees.
The result is stored in this matrix overwriting previous values.
| a_axis | Axis of rotation. |
| a_angleDeg | Angle in degrees. |
|
inline |
This method builds a rotation matrix from an input axis and angle defined in radians.
The result is stored in this matrix overwriting previous values.
| a_axisX | Component x of axis. |
| a_axisY | Component y of axis. |
| a_axisZ | Component z of axis. |
| a_angleRad | Angle in radians. |
|
inline |
This method builds a rotation matrix from an axis and angle defined in degrees.
The result is stored in this matrix overwriting previous values.
| a_axisX | Component x of axis. |
| a_axisY | Component y of axis. |
| a_axisZ | Component z of axis. |
| a_angleDeg | Angle in degrees. |
|
inline |
This method builds a rotation matrix from a set of Euler angles and fixed axes of rotations.
| a_angle1 | Angle in radians of the first rotation in the sequence. |
| a_angle2 | Angle in radians of the second rotation in the sequence. |
| a_angle3 | Angle in radians of the third rotation in the sequence. |
| a_eulerOrder | The order of the axes about which the rotations are to be applied. |
|
inline |
This method builds a rotation matrix from a set of Euler angles and fixed axes of rotations.
| a_angle1 | Angle in degrees of the first rotation in the sequence. |
| a_angle2 | Angle in degrees of the second rotation in the sequence. |
| a_angle3 | Angle in degrees of the third rotation in the sequence. |
| a_eulerOrder | The order of the axes about which the rotations are to be applied. |
|
inline |
This method builds a rotation matrix from a set of Euler angles and co-moving axes of rotations.
| a_angle1 | Angle in radians of the first rotation in the sequence. |
| a_angle2 | Angle in radians of the second rotation in the sequence. |
| a_angle3 | Angle in radians of the third rotation in the sequence. |
| a_eulerOrder | The order of the axes about which the rotations are to be applied. |
|
inline |
This method builds a rotation matrix from a set of Euler angles and co-moving axes of rotations.
| a_angle1 | Angle in degrees of the first rotation in the sequence. |
| a_angle2 | Angle in degrees of the second rotation in the sequence. |
| a_angle3 | Angle in degrees of the third rotation in the sequence. |
| a_eulerOrder | The order of the axes about which the rotations are to be applied. |
|
inline |
This method rotates this matrix around an axis described in global coordinates.
| a_axis | Axis of rotation. |
| a_angleRad | Angle in radians. |
|
inline |
This method rotates this matrix around an axis described in global coordinates.
| a_axis | Axis of rotation. |
| a_angleDeg | Angle in degrees. |
|
inline |
This method rotates this matrix around an axis described in global coordinates.
| a_axisX | x component of axis. |
| a_axisY | y component of axis. |
| a_axisZ | z component of axis. |
| a_angleRad | Angle in radians. |
|
inline |
This method rotates current matrix around an axis described in global coordinates.
| a_axisX | x component of axis. |
| a_axisY | y component of axis. |
| a_axisZ | z component of axis. |
| a_angleDeg | Angle in degrees. |
|
inline |
This method rotates this current matrix around an axis described in local coordinates.
| a_axis | Axis of rotation. |
| a_angleRad | Angle in radians. |
|
inline |
This method rotates this matrix around an axis described in local coordinates.
| a_axis | Axis of rotation. |
| a_angleDeg | Angle in degrees. |
|
inline |
This method rotates this matrix around an axis described in local coordinates.
| a_axisX | x component of axis. |
| a_axisY | y component of axis. |
| a_axisZ | z component of axis. |
| a_angleRad | Angle in radians. |
|
inline |
This method rotates this matrix around an axis described in local coordinates.
| a_axisX | x component of axis. |
| a_axisY | y component of axis. |
| a_axisZ | z component of axis. |
| a_angleDeg | Angle in degrees. |
|
inline |
This method converts this rotation matrix to an axis-angle representation.
| a_axis | Output axis. |
| a_angle | Output angle. |
|
inline |
This method converts this matrix to a string representation. The output springs displays the three column vectors of matrix.
The number of digits after the decimal point are set by argument a_precision
.
| a_precision | Number of digits. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |


Drug Free Athletes
About
Clothing
Contact Us
Shopping Cart
Drug Free Athletes
© Copyright 200x - 2017. Drug Free Athletes. All rights reserved.
Link One
Link Two
Link Three


Form has successfully been submitted!!!
Results of the from:
{{session['name']}}
{{session['location']}}
{{session['language']}}
{{session['comments']}}
back


Introduction to KNN
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non skateboard dolor brunch.
Read more"Bringing people together to design and develop AI powered applications"
Explore UsWe are happy to hear your idea and mentor you to achieve the results you're looking for.
Start a project with usWe are a group of students who have embarked on a mission to build an AI-Powered environment. We are members of an open community and we organise
various events to propagate knowledge of AI among developers.
To foster interactions among students and professionals interested in AI. To create awareness about AI and its applications. To encourage individuals
to take an interest in open source society and extend learning among peers.
We organise meetups, tech discussions, and different coding programmes on Artificial Intelligence and its related fields. We bring amazing people together to design and develop AI powered applications and share our work for the benefit of all.
An open and transparent system ensures build valuable relationships among the members in the community.
If everyone in the community is kept abreast of their collective progress, they’ll have motivation to keep working hard and pushing the whole community forward.
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non skateboard dolor brunch.
Read moreAnim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non skateboard dolor brunch.
Read moreAnim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non skateboard dolor brunch.
Read moreLorem ipsum dolor sit amet, consectetur adipisicing elit. Vel reiciendis qui in laborum obcaecati expedita blanditiis animi placeat, nemo exercitationem porro. Consequuntur qui commodi minima molestiae, dolores reprehenderit nemo inventore.
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Mollitia dolorem non delectus neque, voluptatem accusamus atque expedita doloribus minima iusto nemo, numquam eos quia maiores harum! Quaerat illum beatae necessitatibus!
Mr. Sri Harsha, AI Developer Community
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Praesentium minima ex, quia error, deserunt voluptatibus repellendus? Incidunt eligendi aliquam repellat molestias, vel sed optio rem odit quis ratione non consequuntur!


A 1940s shot of Lamarr
All creative people want to do the unexpected.- Hedy Lamarr
Hedy Lamarr was an amazing actress but what most people dont know is that she was a scientist that helped in creating technologies during WWII.
With no formal training she was self-taught and liked to work in her spare time on various hobbies and inventions.
Typecast as the standard glamorous she often played opposite the era's most famous leading men.


The responsive strategy
The goal of Base is to be able to design your layout once, then have that design automatically resize for different device sizes, while retaining clean vertical and horizontal spacing and visual rhythm.
The Base reponsive framework means that you design for a desktop layout, then watch your design automatically resize for smaller screens, tablet and mobile.
Site layouts using Base are best developed using the Chrome browser (though see note on Firefox below).
Copy the entire Base framework to your project folder and modify anything as needed (except perhaps the _mixins.scss file). No CSS overriding should be necessary, you have full style control from the ground up.
Step 1: Set your baseline height
The current baseline height is:
To create visual harmony for your design, a baseline measure is established at the deisgn phase for vertical and horizontal rhythm. It serves as the basis for all spacing and sizing for your design.
The baseline height is set by:
- Adjusting the $gutterWidth variable in base.scss / desktop.scss / table.scss sup
- By default the $baseline variable is the same as the $gutterwidth value, to create a linked vertical and horizontal rhythm. This baseline value is applied to the font-size and established the rem size for that device.
- If necessary, set the $baseline variable to make the baseline/ vertical spacing independent of the columns/ horizontal spacing. This is essntial for mobile, optional for the other devices.
Step 2: Set your typographic spacing and sizing in terms of rems in base.scss
1 rem = 1 baseline unit
You should have worked out with your designer a mockup for the project, worked out your type heirarchy and possibly created the HTML DOM structure of your site before beginning the styling of those elements with the Base .scss files.
Set all your main font-sizes, block sizes and spacing on elements in terms of rems The framework helps you design responsively, as you are no longer thinking in terms of pixel measurements which have to be adjusted from device to device. Use this page to set your typography below.
You can use ems for responsive sizing, though from a design perspective, sizing everything from a clear baseline unit will give you more visually consistent results.
You no longer think in terms of pixels, as the pixels change from device to device. Create you layout once and watch your layout respond to device sizes automatically.
This single baseline value can be altered and adjusted at any point in the development process and automatically affect your whole design.
Step 3: Set up your responsive columns layout in _layout.scss
_layout.scss processes your column widths and offset for each device width. Columns can be declared with whole or 0.5 widths if that is helpful to you. See the examples below.
Note: the _guides.scss file and _test.scss files imported into this file are only for use with this page, and are useful for your initial type configuration. Remove when no longer needed.
// A 4-column-wide <div>, offset by 2 column left margin. div{ @include column(2,4); }
Once you have done this, check your design in Firefox. Gecko browsers renders sub-pixels differently to Webkit and Blink browsers, you may need to slightly adjust your $gutterWidth percentage so the layout works cross-platform.
Step 4: style your layout in base.scss
All styling of elements can be done in this file. You may need to wokr between base.scss and _layout.scss as you layout your page.
Step 5: adjust for devices in .scss stylesheets
Override properties in elements for specific particular devices by applying styles in desktop.scss / tablet.scss / mobile.scss
Using this page
Guides
Simply add <body class="guides">
to your HTML page to view the baseline and column guides overlay. This has limited use as the sub-pixel rendering of browsers means that the baseline is not completely accurate.
Helper elements
This page helps you prepare your type heirarchy and sizing in terms of rems. Once you have set up these styles up, you can remove this page from your project, including the helper elements: _test.scss, demo.js, _guides.scss (though you may wish to keep _guides.scss if you find it helpful for working on your layout.
Typography
Premise
Font-sizes are best set in rems, in order to resize responsively and automatically for all device sizes. (You can still set in pixels or ems if you wish).
As you design may have font-sizes determined in pixels, use this page to determine how that pixel value is set in rems.
.scss files
The typography CSS is broken into separate files in this initial setup – _type.scss, _buttons.scss, _forms.scss, _menus.scss, _fonts.scss, _tooltips.scss – and imported into base.scss. These styles could simply be copied directly into base.scss and reorganised – do whatever is easiest for you.
Examples
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Paragraph
- List Item
- List Item
- List Item
- List Item
- List Item
- List Item
- List Item
- List Item
| Column 1 | Column 2 |
|---|---|
| Description | Value |
| Description | Value |
| Sum | Value |
Components
Base includes a lightweight CSS framework to get you started quickly. You can change it, you'll never need to override it.
Buttons (_buttons.scss)
Forms (_forms.scss)
All HTML5 form elements are normalized to a set of core styles. Again, you can simply change the styles as needed.
Mixins (_mixins.scss)
Base includes SCSS mixins for CSS3 properties, animations, gradients and some utility mixins. Check the source to see what's available.
Menus (_menus.scss)
Add .menu-primary
for a horizontal menu or .menu-secondary
for a vertical menu.
.menu-primary
.menu-secondary
Variables (_variables.scss)
Add brand colors and font-stacks to SASS variables to easily control fonts and colors across yor site. Contains some examples to begin with.
- Heading font-family - @headingFont
- Paragraph font-family - @paragraphFont


Options
Page View Mode
One page at a time
Two pages at a time
Default Fit Mode
Fit page to width
Fit page to height
Save


McDonald's says its CEO has stepped down after violating policy by engaging in consensual ...
by EndPlayNEW YORK - NEW YORK (AP) - McDonald's says its CEO has stepped down after violating policy by engaging in consensual relationship with employee.
NEW YORK - NEW YORK (AP) - McDonald's says its CEO has stepped down after violating policy by engaging in consensual relationship with employee.


Class ContactControllerApi
Represents a collection of functions to interact with the API endpoints
Inherited Members
Namespace: mailslurp.Api
Assembly: mailslurp.dll
Syntax
public class ContactControllerApi : IContactControllerApi, IContactControllerApiSync, IContactControllerApiAsync, IApiAccessor
Constructors
View SourceContactControllerApi()
Initializes a new instance of the ContactControllerApi class.
Declaration
public ContactControllerApi()
ContactControllerApi(Configuration)
Initializes a new instance of the ContactControllerApi class using Configuration object
Declaration
public ContactControllerApi(Configuration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| Configuration | configuration | An instance of Configuration |
ContactControllerApi(ISynchronousClient, IAsynchronousClient, IReadableConfiguration)
Initializes a new instance of the ContactControllerApi class using a Configuration object and client instance.
Declaration
public ContactControllerApi(ISynchronousClient client, IAsynchronousClient asyncClient, IReadableConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ISynchronousClient | client | The client interface for synchronous API access. |
| IAsynchronousClient | asyncClient | The client interface for asynchronous API access. |
| IReadableConfiguration | configuration | The configuration object. |
ContactControllerApi(string)
Initializes a new instance of the ContactControllerApi class.
Declaration
public ContactControllerApi(string basePath)
Parameters
| Type | Name | Description |
|---|---|---|
| string | basePath |
Properties
View SourceAsynchronousClient
The client for accessing this underlying API asynchronously.
Declaration
public IAsynchronousClient AsynchronousClient { get; set; }
Property Value
| Type | Description |
|---|---|
| IAsynchronousClient |
Client
The client for accessing this underlying API synchronously.
Declaration
public ISynchronousClient Client { get; set; }
Property Value
| Type | Description |
|---|---|
| ISynchronousClient |
Configuration
Gets or sets the configuration object
Declaration
public IReadableConfiguration Configuration { get; set; }
Property Value
| Type | Description |
|---|---|
| IReadableConfiguration | An instance of the Configuration |
ExceptionFactory
Provides a factory method hook for the creation of exceptions.
Declaration
public ExceptionFactory ExceptionFactory { get; set; }
Property Value
| Type | Description |
|---|---|
| ExceptionFactory |
Methods
View SourceCreateContact(CreateContactOptions, int)
Create a contact
Declaration
public ContactDto CreateContact(CreateContactOptions createContactOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateContactOptions | createContactOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ContactDto | ContactDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
CreateContactAsync(CreateContactOptions, int, CancellationToken)
Create a contact
Declaration
public Task<ContactDto> CreateContactAsync(CreateContactOptions createContactOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateContactOptions | createContactOptions | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ContactDto> | Task of ContactDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
CreateContactWithHttpInfo(CreateContactOptions, int)
Create a contact
Declaration
public ApiResponse<ContactDto> CreateContactWithHttpInfo(CreateContactOptions createContactOptions, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateContactOptions | createContactOptions | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<ContactDto> | ApiResponse of ContactDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
CreateContactWithHttpInfoAsync(CreateContactOptions, int, CancellationToken)
Create a contact
Declaration
public Task<ApiResponse<ContactDto>> CreateContactWithHttpInfoAsync(CreateContactOptions createContactOptions, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateContactOptions | createContactOptions | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<ContactDto>> | Task of ApiResponse (ContactDto) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
DeleteContact(Guid, int)
Delete contact
Declaration
public void DeleteContact(Guid contactId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | contactId | |
| int | operationIndex | Index associated with the operation. |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
DeleteContactAsync(Guid, int, CancellationToken)
Delete contact
Declaration
public Task DeleteContactAsync(Guid contactId, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | contactId | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task | Task of void |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
DeleteContactWithHttpInfo(Guid, int)
Delete contact
Declaration
public ApiResponse<object> DeleteContactWithHttpInfo(Guid contactId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | contactId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<object> | ApiResponse of Object(void) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
DeleteContactWithHttpInfoAsync(Guid, int, CancellationToken)
Delete contact
Declaration
public Task<ApiResponse<object>> DeleteContactWithHttpInfoAsync(Guid contactId, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | contactId | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<object>> | Task of ApiResponse |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetAllContacts(int?, int?, string, DateTime?, DateTime?, int)
Get all contacts
Declaration
public PageContactProjection GetAllContacts(int? page = null, int? size = null, string sort = null, DateTime? since = null, DateTime? before = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int? | page | Optional page index in list pagination (optional, default to 0) |
| int? | size | Optional page size in list pagination (optional, default to 20) |
| string | sort | Optional createdAt sort direction ASC or DESC (optional, default to ASC) |
| DateTime? | since | Filter by created at after the given timestamp (optional) |
| DateTime? | before | Filter by created at before the given timestamp (optional) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| PageContactProjection | PageContactProjection |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetAllContactsAsync(int?, int?, string, DateTime?, DateTime?, int, CancellationToken)
Get all contacts
Declaration
public Task<PageContactProjection> GetAllContactsAsync(int? page = null, int? size = null, string sort = null, DateTime? since = null, DateTime? before = null, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| int? | page | Optional page index in list pagination (optional, default to 0) |
| int? | size | Optional page size in list pagination (optional, default to 20) |
| string | sort | Optional createdAt sort direction ASC or DESC (optional, default to ASC) |
| DateTime? | since | Filter by created at after the given timestamp (optional) |
| DateTime? | before | Filter by created at before the given timestamp (optional) |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<PageContactProjection> | Task of PageContactProjection |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetAllContactsWithHttpInfo(int?, int?, string, DateTime?, DateTime?, int)
Get all contacts
Declaration
public ApiResponse<PageContactProjection> GetAllContactsWithHttpInfo(int? page = null, int? size = null, string sort = null, DateTime? since = null, DateTime? before = null, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int? | page | Optional page index in list pagination (optional, default to 0) |
| int? | size | Optional page size in list pagination (optional, default to 20) |
| string | sort | Optional createdAt sort direction ASC or DESC (optional, default to ASC) |
| DateTime? | since | Filter by created at after the given timestamp (optional) |
| DateTime? | before | Filter by created at before the given timestamp (optional) |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<PageContactProjection> | ApiResponse of PageContactProjection |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetAllContactsWithHttpInfoAsync(int?, int?, string, DateTime?, DateTime?, int, CancellationToken)
Get all contacts
Declaration
public Task<ApiResponse<PageContactProjection>> GetAllContactsWithHttpInfoAsync(int? page = null, int? size = null, string sort = null, DateTime? since = null, DateTime? before = null, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| int? | page | Optional page index in list pagination (optional, default to 0) |
| int? | size | Optional page size in list pagination (optional, default to 20) |
| string | sort | Optional createdAt sort direction ASC or DESC (optional, default to ASC) |
| DateTime? | since | Filter by created at after the given timestamp (optional) |
| DateTime? | before | Filter by created at before the given timestamp (optional) |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<PageContactProjection>> | Task of ApiResponse (PageContactProjection) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetBasePath()
Gets the base path of the API client.
Declaration
public string GetBasePath()
Returns
| Type | Description |
|---|---|
| string | The base path |
GetContact(Guid, int)
Get contact
Declaration
public ContactDto GetContact(Guid contactId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | contactId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ContactDto | ContactDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetContactAsync(Guid, int, CancellationToken)
Get contact
Declaration
public Task<ContactDto> GetContactAsync(Guid contactId, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | contactId | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ContactDto> | Task of ContactDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetContacts(int)
Get all contacts
Declaration
public List<ContactProjection> GetContacts(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| List<ContactProjection> | List<ContactProjection> |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetContactsAsync(int, CancellationToken)
Get all contacts
Declaration
public Task<List<ContactProjection>> GetContactsAsync(int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<List<ContactProjection>> | Task of List<ContactProjection> |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetContactsWithHttpInfo(int)
Get all contacts
Declaration
public ApiResponse<List<ContactProjection>> GetContactsWithHttpInfo(int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<List<ContactProjection>> | ApiResponse of List<ContactProjection> |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetContactsWithHttpInfoAsync(int, CancellationToken)
Get all contacts
Declaration
public Task<ApiResponse<List<ContactProjection>>> GetContactsWithHttpInfoAsync(int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<List<ContactProjection>>> | Task of ApiResponse (List<ContactProjection>) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetContactVCard(Guid, int)
Get contact vCard vcf file
Declaration
public List<byte[]> GetContactVCard(Guid contactId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | contactId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| List<byte[]> | List<byte[]> |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetContactVCardAsync(Guid, int, CancellationToken)
Get contact vCard vcf file
Declaration
public Task<List<byte[]>> GetContactVCardAsync(Guid contactId, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | contactId | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<List<byte[]>> | Task of List<byte[]> |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetContactVCardWithHttpInfo(Guid, int)
Get contact vCard vcf file
Declaration
public ApiResponse<List<byte[]>> GetContactVCardWithHttpInfo(Guid contactId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | contactId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<List<byte[]>> | ApiResponse of List<byte[]> |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetContactVCardWithHttpInfoAsync(Guid, int, CancellationToken)
Get contact vCard vcf file
Declaration
public Task<ApiResponse<List<byte[]>>> GetContactVCardWithHttpInfoAsync(Guid contactId, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | contactId | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<List<byte[]>>> | Task of ApiResponse (List<byte[]>) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetContactWithHttpInfo(Guid, int)
Get contact
Declaration
public ApiResponse<ContactDto> GetContactWithHttpInfo(Guid contactId, int operationIndex = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | contactId | |
| int | operationIndex | Index associated with the operation. |
Returns
| Type | Description |
|---|---|
| ApiResponse<ContactDto> | ApiResponse of ContactDto |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |
GetContactWithHttpInfoAsync(Guid, int, CancellationToken)
Get contact
Declaration
public Task<ApiResponse<ContactDto>> GetContactWithHttpInfoAsync(Guid contactId, int operationIndex = 0, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | contactId | |
| int | operationIndex | Index associated with the operation. |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<ApiResponse<ContactDto>> | Task of ApiResponse (ContactDto) |
Exceptions
| Type | Condition |
|---|---|
| ApiException | Thrown when fails to make API call |


THE RICH MAN'S WIFE A film review by Scott Renshaw Copyright 1996 Scott Renshaw
(Hollywood/Caravan) Starring: Halle Berry, Peter Greene, Clive Owen, Christopher McDonald. Screenplay: Amy Holden Jones. Producers: Roger Birnbaum, Julie Bergman Sender. Director: Amy Holden Jones. Running Time: 96 minutes. MPAA Rating: R (profanity, violence) Reviewed by Scott Renshaw.
I'm walking on very thin ice as I prepare to discuss THE RICH MAN'S WIFE, because in order to explain what is really wrong with it, I'm going to have to reveal some critical plot details. Sure, I could try to tap-dance around it, but in so doing the context would probably still make it clear what to expect, and I wouldn't have the luxury of discussing particulars. So I'm going to do something I've never done before: I'm going to encourage you not to read this review if you have any intention of seeing THE RICH MAN'S WIFE. Please skip to the bottom, where you will note my less than enthusiastic rating, and avoid my point-by-point analysis of how a rather mundane thriller can become an actively annoying one.
The title character in THE RICH MAN'S WIFE is Josie Potenza (Halle Berry), the young spouse of wealthy television executive Tony Potenza (Christopher McDonald). The marriage is not a happy one, however, and when Tony bails out on a romantic weekend for business, Josie seeks comfort with Cole Wilson (Peter Greene), a man she meets in a bar. Their conversation turns to Josie's unhappiness with Tony, a problem Cole suggests solving by killing Tony. Josie bolts at the suggestion -- and away from Cole -- but Cole decides to do the job anyway. When he reveals to Josie what he has done, Cole makes it clear that they are in this together -- he demands $30,000 or he will tell the police that Josie, the person who stood to gain the most from Tony's death, was the one who arranged it.
That is a decent enough premise for a psychological thriller, but writer/director Amy Holden Jones doesn't begin to make it pay off. After an interminable opening which takes several trite scenes to show us how unhappy the Potenzas are when one good one should have done the job, THE RICH MAN'S WIFE introduces us to Cole, and any chance at originality vanishes. To Peter Greene's credit, he does the best he can with the part as written, which is as a happy-go-lucky sadist. If Cole is more well-intentioned and genuinely obsessive in his murderous behavior, Josie's dilemma becomes a more compelling one, one which might be solved by brains rather than by gunfire.
But there was never really any chance for that to happen because -- here's the big revelation, so don't say I didn't warn you -- we discover in the film's final moments that Josie herself engineered everything, and has been spinning an elaborate lie to the police. Even though I smelled it coming as soon as I saw that the story was set up as a flashback, I still cringed when I saw Halle Berry smirk in triumph and get in the car with her co-conspirator Nora (Clea Lewis, in a performance which jump-starts the film with its only measure of intentional idiosyncrasy). Not only had I been subjected to a mediocre thriller, but nothing I had seen mattered at all. THE RICH MAN'S WIFE is an elaborate cheat, and the ending is an opportunity to dupe the audience into believing it had been watching something unusually clever instead of something unusually lazy.
"Ah," some of you must be musing to yourselves, "but isn't that scenario he just described remarkably similar to THE USUAL SUSPECTS, a film widely praised for its cleverness? How is THE RICH MAN'S WIFE so different?" In one extremely significant way: in THE RICH MAN'S WIFE, the ending serves absolutely no dramatic purpose. Too few critics of THE USUAL SUSPECTS gave it credit for making Keaton's desire to go legitimate a critical element in the resolution of the story; the final revelations make him a tragic character, and there is evidence to allow us to reach different conclusions. No such evidence exists in THE RICH MAN'S WIFE. If the revelation that the story is an complete hoax serves any purpose, it is as an excuse for suspense cliches (see, that's what they would be _expecting_) or for day to turn miraculously to night for added artificial tension.
There is a smug pseudo-feminism in Amy Holden Jones' script, a sense that we should be inspired to whoops of "You go, girls!" because Josie and Nora do in the obnoxious men in their lives and dupe more men to get away with it, or inspired to self-flagellation because we have under-estimated them. But Jones denies us the chance to under-estimate them because we're never allowed to estimate them in the first place. She isn't playing with expectations or with genre conventions. She's playing us for suckers.
On the Renshaw scale of 0 to 10 business-as-usual suspects: 3.
Receive Scott Renshaw's reviews directly via email from Marquee! Visit http://www.marquee.com/marquee-mailinglists.html for details. Visit Scott Renshaw's MoviePage http://www-leland.stanford.edu/~srenshaw
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


Use this list to keep and manage site navigation links.
Actions
editmore_vertvpn_keyadd_to_photosdelete
Order
{{element.order}}
Icon
{{element.icon}}-
Title
{{element.title}}
Description
{{element.description}}
Path
{{element.path}}
Show at
{{element.showAt}}
It creates items. Create form on a dialog.It allows for duplicating items.It reads items.It updates items. Update form on a dialog.It deletes items. It is sorting on the server. It uses hook method onCreating(sets createdDate to the item). It uses hook method onUpdating(sets lasUpdatedDate to the item).It allows user set permission on this API.It allows user set permission on an individual item.It allows user set an alert when an item is created/edited/deleted.It is paginating on the server.It allows grouping items.It uploads icon image.It prints selected items.


public class HalfEdge
extends java.lang.Object
EdgeGraph
.
HalfEdges link vertices whose locations are defined by Coordinate
s.
HalfEdges start at an origin vertex,
and terminate at a destination vertex.
HalfEdges always occur in symmetric pairs, with the sym()
method
giving access to the oppositely-oriented component.
HalfEdges and the methods on them form an edge algebra,
which can be used to traverse and query the topology
of the graph formed by the edges.
By design HalfEdges carry minimal information about the actual usage of the graph they represent. They can be subclassed to carry more information if required.
HalfEdges form a complete and consistent data structure by themselves,
but an EdgeGraph
is useful to allow retrieving edges
by vertex and edge location, as well as ensuring
edges are created and linked appropriately.
| Constructor and Description |
|---|
HalfEdge(Coordinate orig)
Creates an edge originating from a given coordinate.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareAngularDirection(HalfEdge e)
Implements the total order relation:
|
int |
compareTo(java.lang.Object obj)
Compares edges which originate at the same vertex
based on the angle they make at their origin vertex with the positive X-axis.
|
static HalfEdge |
create(Coordinate p0,
Coordinate p1)
Creates a HalfEdge pair representing an edge
between two vertices located at coordinates p0 and p1.
|
int |
degree()
Computes the degree of the origin vertex.
|
double |
deltaX()
The X component of the distance between the orig and dest vertices.
|
double |
deltaY()
The Y component of the distance between the orig and dest vertices.
|
Coordinate |
dest()
Gets the destination coordinate of this edge.
|
boolean |
equals(Coordinate p0,
Coordinate p1)
Tests whether this edge has the given orig and dest vertices.
|
HalfEdge |
find(Coordinate dest)
Finds the edge starting at the origin of this edge
with the given dest vertex,
if any.
|
static HalfEdge |
init(HalfEdge e0,
HalfEdge e1)
Initialize a symmetric pair of halfedges.
|
void |
insert(HalfEdge e)
Inserts an edge
into the ring of edges around the origin vertex of this edge.
|
HalfEdge |
next()
Gets the next edge CCW around the
destination vertex of this edge.
|
HalfEdge |
oNext() |
Coordinate |
orig()
Gets the origin coordinate of this edge.
|
HalfEdge |
prev()
Returns the edge previous to this one
(with dest being the same as this orig).
|
HalfEdge |
prevNode()
Finds the first node previous to this edge, if any.
|
void |
setNext(HalfEdge e) |
HalfEdge |
sym()
Gets the symmetric pair edge of this edge.
|
java.lang.String |
toString()
Computes a string representation of a HalfEdge.
|
public HalfEdge(Coordinate orig)
orig
- the origin coordinatepublic static HalfEdge create(Coordinate p0, Coordinate p1)
p0
- a vertex coordinatep1
- a vertex coordinatepublic static HalfEdge init(HalfEdge e0, HalfEdge e1)
EdgeGraph
subclasses.
The edges are initialized to have each other
as the sym
edge, and to have next
pointers
which point to edge other.
This effectively creates a graph containing a single edge.e0
- a halfedgee1
- a symmetric halfedgepublic Coordinate orig()
public Coordinate dest()
public HalfEdge sym()
public HalfEdge next()
public HalfEdge prev()
public void setNext(HalfEdge e)
public HalfEdge oNext()
public HalfEdge find(Coordinate dest)
dest
- the dest vertex to search forpublic boolean equals(Coordinate p0, Coordinate p1)
p0
- the origin vertex to testp1
- the destination vertex to testpublic void insert(HalfEdge e)
e
- the edge to insertpublic int compareTo(java.lang.Object obj)
public int compareAngularDirection(HalfEdge e)
The angle of edge a is greater than the angle of edge b, where the angle of an edge is the angle made by the first segment of the edge with the positive x-axis
When applied to a list of edges originating at the same point, this produces a CCW ordering of the edges around the point.
Using the obvious algorithm of computing the angle is not robust, since the angle calculation is susceptible to roundoff error. A robust algorithm is:
CGAlgorithms.computeOrientation(Coordinate, Coordinate, Coordinate)
function
can be used to determine the relative orientation of the vectors.
public double deltaX()
public double deltaY()
public java.lang.String toString()
toString
in class java.lang.Object
public int degree()
public HalfEdge prevNode()


The juneau-assertions module in Juneau is a powerful API for performing fluent style assertions.
Fluent assertions have two types of methods:
- "asX" methods which perform transformations.
- "isX" methods which perform assertions.
Multiple transformations and assertions can be performed per statement.
| import static org.apache.juneau.assertions.Assertions.*;
| import static org.apache.juneau.assertions.AssertionPredicates.*;
|
| // Check the contents of a string.
| assertString("foo, bar")
| .asSplit(",")
| .asTrimmed()
| .is("foo", "bar");
|
| // Extract a subset of properties from a list of beans and compare using Simplified JSON.
| List<MyBean> myListOfBeans = ...;
| assertBeanList(myListOfBeans)
| .asPropertyMaps("a,b")
| .asJson().is("[{a:1,b:'foo'}]");
|
| // Perform an arbitrary Predicate check against a bean.
| MyBean myBean = ...;
| assertBean(myBean)
| .is(x -> isValidCheck(x))
|
| // Check that a list of strings has less than 10 entries and the first
| // 3 entries are [foo, bar*, null] using assertion predicates.
| List<String> myListOfStrings = ...;
| assertStringList(myListOfStrings)
| .asSize().isLt(10)
| .asFirst(3)
| .is(eq("foo"),match("bar*"),isNull())
|
| // Check that an exception is thrown and is the specified type and has the specified message.
| assertThrown(()->myBean.runBadMethod())
| .isExists()
| .isExactType(RuntimeException.class)
| .asMessage().is("foo");
The Assertions APIs are used throughout the REST client and server APIs for performing inline assertions on REST requests and responses.
| // Create a basic REST client with JSON support and download a bean.
| MyBean bean = RestClient.create()
| .json5()
| .build()
| .get(URI)
| .run()
| .assertStatus().asCode().is(200)
| .assertHeader("Content-Type").isMatches("application/json*")
| .getContent().assertValue().asString().isContains("OK")
| .getContent().as(MyBean.class);


[all packages]
[package ]
[class hierarchy]
[index]
public class InterfaceTensor
(source file: InterfaceTensor.java)
java.lang.Object
|
+----Printable
|
+----Interface
|
+----InterfaceTensor
The pure class interface.
public class InterfaceTensor
extends Interface
-
The concatenation of two interfaces.
- Author:
- Alan Jeffrey
- Version: v1.0 1998/06/11
- InterfaceTensor(Interface, Interface)
-
Concatenate two non-empty interfaces.
InterfaceTensor
public InterfaceTensor(Interface i,
Interface j);
-
Concatenate two non-empty interfaces.
- Parameters:
- i - the first interface.
- j - the second interface.
[all packages]
[package ]
[class hierarchy]
[index]
InterfaceTensor.html


Where you get FAT!
We are on a mission to create extraordinary value for the global nutrition and food ingredient
industry by leveraging the ingredientsonline.com™ e-commerce platform around the world to build an online global
community of buyers and sellers.
By using digital technology we are extending the art of conducting business on the tradeshow floor onto a highly
efficient, cutting edge, transparent, neutral, e-commerce platform.
The platform provides infinite nutrition and food ingredient choices from qualified global sellers for global
buyers.
By hosting a highly efficient, completely transparent platform for all qualified buyers and
sellers, we are delivering on our vision of making ingredientsonline.com “the global e-commerce solution


Open Knowledge Foundation Local Groups around the world!
Click on a country to find out more about its Local Group.


rebrow
rebrow was added to Skyline in the Ionosphere branch, however Skyline uses a modified port of Marian Steinbach’s excellent rebrow Redis browser. rebrow was developed and meant as a localhost application only and by default is not secure, especially not to be run on any publicly accessible server.
rebrow makes Skyline development AND having to administer multiple Redis instances, very handy to have, it is very nice and easy to have a web UI view of Redis.
Further, being able to easily view Skyline metric sets such as:
analyzer.boring
analyzer.too_short
analyzer.stale
Is very useful to understanding your metric pipelines and often can be used to inform you on any namespaces that are not spending metrics frequently, etc. This is can be very useful at finding metrics that you thought you were sending constantly, but apparently not. Therefore in itself rebrow is extremely useful in finding possible or occasional misconfiguration in some of your metrics. rebrow allows you to browse through and see your data which makes it a make tool for discovering things about your metrics and Redis.
For these reasons, Skyline runs a ported version of Marian Steinbach’s rebrow in the webapp itself, this ported version is modified in the following ways:
The rebrow’s pubsub functionality has not been ported as Skyline does not need it.
The Webapp ported version requires authentication in Flask (http basic auth over SSL)
It reads and converts msgpack formatted keys to a rebrowable, veiwable format.
It adds the ability to authenticate with Redis, inspired by the elky84 PR https://github.com/marians/rebrow/pull/20 which adds very basic Redis auth to rebrow (not really fit for production but inspiring)
To make Rebrow Redis authentication production suitable, JWT encoding has been add to a encoded token instead of the password parameter that the elky84 PR describes.
The Skyline set up is aimed and building Skyline as reasonably hard as possible, with the requirement for authentication and SSL encryption on the Skyline Webapp frontend proxy (Apache or nginx) and the addition of a JWT encoded json payload as the token, in combination with a client_id (simple md5 hash of client ip and the client user agent) and a salt which is sent in a POST over a SSL encrypted connection (but then does become a URL parameter), Skyline does manage to make rebrow more suited to deployment in a non localhost environment
It could still be compromised if an attacker knew your IP, your user agent, the token and the salt, and they had access to an authorized IP address and authenticated against Skyline, then if they sent spoofed X-Forwarded-For and User Agent headers, your token and the salt, then yes they could delete all your Skyline Redis keys.
These further modifications to rebrow were required with the introduction of Luminosity, which needs the ability to query multiple Redis instances to run cross correlations for Skyline is deployed in multiple locations.


-
pendingUpdate
java.lang.StringBuilder pendingUpdate
Contains data to print to screen on render
-
mapInfo
java.util.List<E> mapInfo
Contains information about the map received from the server
-
name
java.lang.String name
Contain the name of the player currently playing
-
character
java.lang.String character
Contain the character of the player


The Wayback Machine - https://web.archive.org/web/20051018220234/http://www.cdpriceshop.com/
The Price Shop
Video Price Shop
CD Price Shop
Game Price Shop
Home
New 100
Top 100
Browse
Search
Stores
Pop Vocals
Pop
Rock
Rap & Hip-Hop
R&B;
Blues
Alternative Rock
Box Sets
Broadway & Vocalists
Children's Music
Christian & Gospel
Easy Listening
Classical
Country
Dance & DJ
Folk
Special Occasions
Indie Music
International
Jazz
Latin Music
Miscellaneous
New Age
Opera & Vocal
Soundtracks
Reggae
Advertising
About Us
Contact Us
Vendor List
Advertising
Search
All Categories
Pop Vocals
Pop
Rock
Rap & Hip-Hop
R&B;
Blues
Alternative Rock
Box Sets
Broadway & Vocalists
Children's Music
Christian & Gospel
Easy Listening
Classical
Country
Dance & DJ
Folk
Special Occasions
Indie Music
International
Jazz
Latin Music
Miscellaneous
New Age
Opera & Vocal
Soundtracks
Reggae
Advanced Search
Top 5 CD's
A Bigger Bang - The Rolling Stones
Media: Audio CD
Lowest Price: $13.29, Msrp: $18.98
Availability: Availability Unknown Check Store
Chaos and Creation in the Backyard - Paul McCartney
Media: Audio CD
Lowest Price: $13.29, Msrp: $18.98
Availability: Availability Unknown Check Store
Guilty Pleasures - Barbra Streisand
Media: Audio CD
Lowest Price: $10.99, Msrp: $18.99
Availability: Availability Unknown Check Store
Prairie Wind - Neil Young
Media: Audio CD
Lowest Price: $10.99, Msrp: $18.98
Availability: Availability Unknown Check Store
Souls Alike - Bonnie Raitt
Media: Audio CD
Lowest Price: $13.29, Msrp: $18.98
Availability: Availability Unknown Check Store
Recommended CD's
Fijacion Oral - Shakira
$13.49
PCD - The Pussycat Dolls
$10.99
Hillbilly Deluxe - Brooks and Dunn
$13.29
Monty Python's Spamalot (2005 Original Broadway Cast) - Eric Idle//John Du Prez//Tim Curry//David Hyde Pierce//Hank Azaria
$13.49
Prairie Wind [CD/DVD] - Neil Young
$17.49
Featured CD's
Another Run Around the Sun - Ben Taylor
$12.49
Music of the Sun - Rihanna
$10.99
Dark Side of the Moon - Pink Floyd
$13.49
Sondheim Sings, Vol. 1: 1962-72 - Stephen Sondheim
$13.59
Honeycomb - Frank Black
$13.49
Advertising
Copyright © 2001-2003 The Price Shop.Com Inc. All Rights Reserved.
-->


ALBERT EINSTEIN
The Man Whose Last Name Is Synonymous To Genius And With The IQ Level Of 160-190
Here are some years of facts about Einstein during his life time:
- 1879 - Born in ulm,Kingdom of Wurttemberg,German Empire
- 1880 - Family moved to Munich,where his father manufactured elictrical equipment based on direct current
- 1994 - Father lost company to a bid because he was not able to provide the people of munich with sufficient power supply due to lack to equipment for converting direct current to alternating current.
- 1895-96 - He attended Argovian cantonal school (gymnasium) in Aarau.
- 1896 - With his father's approval, Einstein renounced his citizenship in the German Kingdom of Württemberg to avoid military service and enrolled in the four-year mathematics and physics teaching diploma program at the Zürich Polytechnic.
- 1900 - Einstein was awarded the Zürich Polytechnic teaching diploma.
- 1901 - He acquired Swiss citizenship but was not conscripted for medical reasons, With the help of Marcel Grossmann's father, Einstein secured a job in Bern at the Federal Office for Intellectual Property, the patent office as an assistant examiner.
- 1903 - Einstein's position at the Swiss Patent Office became permanent and his paper on ("Conclusions from the Capillarity Phenomena") was published
- 1905 - He completed his thesis with Alfred Kleiner, Professor of Experimental Physics, serving as pro-forma advisor,Also,he was awarded a PhD by the University of Zürich, with his dissertation entitled, "A New Determination of Molecular Dimensions.That same year, which has been called Einstein's annus mirabilis (miracle year), he published four groundbreaking papers, on the photoelectric effect, Brownian motion, special relativity, and the equivalence of mass and energy, which were to bring him to the notice of the academic world, at the age of 26.
- 1908 - He was recognized as a leading scientist and was appointed lecturer at the University of Bern
- 1909 - Einstein was appointed associate professor
- 1911 - He became a full professor at the German Charles-Ferdinand University in Prague in April
- 1912-14 - He was professor of theoretical physics at the ETH Zurich, where he taught analytical mechanics and thermodynamics. He also studied continuum mechanics, the molecular theory of heat, and the problem of gravitation, on which he worked with mathematician and his friend Marcel Grossmann.
- 1914 - He returned to the German Empire after being appointed director of the Kaiser Wilhelm Institute for Physics and a professor at the Humboldt University of Berlin, but freed from most teaching obligations. He soon became a member of the Prussian Academy of Sciences
- 1916 - He was appointed president of the German Physical Society
- 1919 - Based on calculations Einstein made in 1911, about his new theory of general relativity, light from another star would be bent by the Sun's gravity, that prediction was confirmed by Sir Arthur Eddington during the solar eclipse of 29 May 1919. Those observations were published in the international media, making Einstein world famous. On 7 November 1919, the leading British newspaper The Times printed a banner headline that read: "Revolution in Science – New Theory of the Universe – Newtonian Ideas Overthrown"
- 1920 - He became Foreign Member of the Royal Netherlands Academy of Arts and Sciences.
- 1921 - Einstein was awarded the Nobel Prize in Physics "for his services to Theoretical Physics, and especially for his discovery of the law of the photoelectric effect".
- 1925 - He was elected a Foreign Member of the Royal Society (ForMemRS) in 1921.[1] He also received the Copley Medal from the Royal Society in 1925 in Germany.
- 1921-31 - He travelled abroad
- 1933 - Emigrated to U.S
- 1955 - Died at the age of 76.
""We Cannot Solve Our Problems With The Same Thinking We Used When We Created Them""
-----QUOTE BY ALBERT EINSTEIN-----
If Your Time Permits,Read and Know More About What This Intelligent Man Has Done during His life-time At His Wikipedia Page
written and coded by OLADIPO-K


We started from
Long Distance Relationship.........
It's a lengthy word,bt u really give a Special meaning to it.You never let me feel the absenece of ur presence by loving and caring 24*7.As we are in relationship after being best friends in our sexy Clg Days,that Strong bonding turns into Deep bondings.
Belief turns into trust and Like Changes to Love,something magical happened.Then I figured out that u are my permanent Magnet and this is the reason that Its so difficult to be away from you,I want to hold u forever,keep u in my arms and never let you go.You are just awsome I can't even find duplicate copy of u,that makes U special.And above all trust me!!! I WILL LOVE YOU TO THE FULLEST.


|
Human Detection Module
|
Human Detection module for ACME Robotics with:
We are designing a new human detection module by incorporating high-quality software engineering practices for Acme Robotics to take our deliverable, finish development, and integrate it into their product.
Detection and avoidance of human obstacles play a crucial role in any self-driving system. The design and development of real-time obstacle detection systems are currently one of the most demanding components in the autonomous industry. To address real-life problems involved in obstacle detection, a plethora of sensors such as LIDARs, Radars, and cameras, are being used in the industry. We are making use of the most readily available resource, images, to identify human obstacles.
Our module will be able to identify multiple humans in an image. The final deliverable of our module will be a set of images with location information of the detected humans. The robot's system will be able to use this location information. We are assuming the input and output of our module to be a set of static images.
The module is still under development. After the final stage of development, the module will be capable of detecting multiple humans within a frame. We will add results and performance examples by the end of phase 2.
All of the team members are pursuing M.Eng. in Robotics at the University of Maryland.
Within the build sub-directory, run:
This command will show nothing after execution as implementation has not been completed yet.
Within the build sub-directory, run:


We make your celebration worth it
With every Bite you take
Sweet and freshly Baked
With Grama's Reciep


You can always arrange a meeting with me.Click on contact.
Write me an email via the form or just send me an e-mail directly at<EMAIL_ADDRESS>Phone +254 715 856346
Message:


<JENNIE>
Jennie (제니) is a South Korean singer. She is known as the unofficial 'leader', Main Rapper, and the YG Princess or YG's Ace/Lucky Charm.
She was born in the Netherlands in 1996. Jennie grew up in Auckland, New Zealand until returning in high school.
Facts:
- Jennie learned Spanish in New Zealand, but is not very fluent in it.
- Her Zodiac Sign is Capricorn.
- Her Chinese Zodiac Sign is Pig.
- She's the first member to be revealed publicly.
- Her favorite food is milk flavored ice cream.
- Nicknames: Jendeuk, Jendeukie, Jen, Nini, JenJen, Human Gucci, Jerry.
- She went to the college "ACG Parnell College".
- She is known as the YG Princess of the group.
- She is described as being jolly and cheerful.
- She is fluent in Korean, Japanese, and English.
- She has two dogs called Kai and Kuma, which are featured in BLACKPINK's V-Live broadcasts.
- During variety and game shows, she appears to be shy and modest.
- Jennie is called "The Lucky Member", because she always wins games.
- She prefers a sexy man over a cute one.
- Her favorite colors are black, white and pink.
- Jennie has mentioned that her mom wants her to be a lawyer or a teacher.


Pay ${invoice.id}
Amount
${invoice.totalFormatted} ${invoice.currency}
Pay invoice
Add payment method
Success! The invoice has been paid
Error! Invalid or missing payment method
Error! An error occurred paying the invoice


Quick Tour of What's New in Version 3.0.2
See also
What's new in Ptolemy
.
Slider Parameter and Port Parameters
.
Calculating Fourier series coefficients of a sketched signal
.
Spectrum of audio picked up from the microphone
.
Component interaction (CI) domain
.
Improved discontinuities in continuous-time models
.
Improved event detection in continuous-time models
.
Improved sampling of discontinuous signals in continuous-time models
.
Functions and higher-order functions in the expression language
.
Early version of higher-order components
.
Use of higher-order components to realize Goertzel DFT algorithm
.
Dynamic control of icon location, visible parameters, and MonitorValue
.
Improved modal models
Illustration of timing paradox in asynchronous periodic tasks
.
Transient states in finite-state machines
.
Transition refinements in finite-state machines
.
Illustration of state tracking in finite-state machines
.
Graphical sticky masses hybrid system
. Requires Java 3D, see the
GR domain
.
Trivial use of PythonScript actor
.
Use of Python and an interactive text shell
(Does not work under Web Start).


Overview
Package
Class
Deprecated
Index
Help
Groovy Documentation
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
_
A
actor
- Property in
ActorCommand
ACTOR_NO_SENDER
- Field in
AkkaService
ACTOR_SYSTEM_DEFAULT_NAME
- Field in
AkkaService
ActorCommand
- Class in
grails_akka_test.command
Command that send the given message to the given actor.
ActorCommand
(ActorRef, Serializable, ActorRef)
- Constructor in
ActorCommand
Constructor
akkaActorNoSender
()
- Method in
AkkaService
Utility method that returns a marker Actor for no sender.
akkaActorOf
(Class, String)
- Method in
AkkaService
Returns the Akka Actor (ActorRef instance), found in the ActorSystem by the given arguments.
akkaActorSelection
(String)
- Method in
AkkaService
Returns the Akka Actor (ActorSelection instance), found in the ActorSystem by the given arguments.
AkkaGrailsPlugin
- Class in
AkkaGrailsPlugin
AkkaGrailsPlugin
()
- Constructor in
AkkaGrailsPlugin
akkaProps
(Class)
- Method in
AkkaService
Create and returns an Akka Props instance, needed later for searching actors.
AkkaService
- Class in
grails_akka
Service for manage a default Akka System in the webapp
It has default scope (singleton), but in a not transactional way.
AkkaService
()
- Constructor in
AkkaService
akkaSystem
()
- Method in
AkkaService
Returns the Akka ActorSystem instance used here.
arguments
- Property in
GenericCommand
author
- Property in
AkkaGrailsPlugin
authorEmail
- Property in
AkkaGrailsPlugin
B
BaseActor
- Class in
grails_akka_test.actor
Abstract base actor class, to use (when desired) as base class for all other actors here.
BaseActor
()
- Constructor in
BaseActor
BaseMessage
- Class in
grails_akka_test.message
Abstract base message class, to use (when desired) as base class for all other messages here.
BaseMessage
()
- Constructor in
BaseMessage
C
Command
- Interface in
grails_akka_test.command
The Command pattern.
D
data
- Field in
MapData
description
- Property in
AkkaGrailsPlugin
destroy
()
- Method in
AkkaService
Destroy, automatically called before destroy, via the PreDestroy annotation.
developers
- Property in
AkkaGrailsPlugin
documentation
- Property in
AkkaGrailsPlugin
E
execute
()
- Method in
ActorCommand
execute
()
- Method in
Command
execute
()
- Method in
GenericCommand
F
Failure
- Class in
grails_akka_test.message
Failure (marker) message, as a sample.
Failure
(Throwable)
- Constructor in
Failure
G
GenericCommand
- Class in
grails_akka_test.command
GenericCommand, with command details in the given map.
GenericCommand
(Map)
- Constructor in
GenericCommand
GenericCommandArguments
- Enum in
grails_akka_test.command
Enum with standard keys to use as keys (but as Strings) in the GenericCommand arguments map.
GenericMessage
- Class in
grails_akka_test.message
GenericMessage.
GenericMessage
(Object)
- Constructor in
GenericMessage
getData
()
- Method in
MapData
getSequenceNumber
()
- Method in
ImmutableMessage
getValues
()
- Method in
ImmutableMessage
grailsApplication
- Property in
AkkaService
grailsVersion
- Property in
AkkaGrailsPlugin
Greeting
- Class in
grails_akka_test.message
Greeting message, as a sample.
Greeting
(String)
- Constructor in
Greeting
GreetingActor
- Class in
grails_akka_test.actor
Greeting actor, as a sample.
GreetingActor
(ActorRef)
- Constructor in
GreetingActor
H
I
ImmutableMessage
- Class in
grails_akka_test.message
ImmutableMessage, as a sample.
ImmutableMessage
(int, List)
- Constructor in
ImmutableMessage
init
()
- Method in
AkkaService
Initialization, automatically called after creation, via the PostConstruct annotation.
issueManagement
- Property in
AkkaGrailsPlugin
J
K
L
license
- Property in
AkkaGrailsPlugin
log
- Property in
BaseActor
log
- Property in
GreetingActor
M
MapData
- Class in
grails_akka_test.message
Map data message, as a sample.
MapData
(List)
- Constructor in
MapData
message
- Property in
ActorCommand
message
- Property in
GenericMessage
msec
- Property in
Wait
N
NAME
- Enum Constant in
GenericCommandArguments
O
onReceive
(Object)
- Method in
BaseActor
onReceive
(Object)
- Method in
GreetingActor
otherActor
- Field in
GreetingActor
P
pluginExcludes
- Property in
AkkaGrailsPlugin
Q
R
reason
- Property in
Failure
Result
- Class in
grails_akka_test.message
Result (marker) message, as a sample.
Result
(Object)
- Constructor in
Result
S
scm
- Property in
AkkaGrailsPlugin
sender
- Property in
ActorCommand
sequenceNumber
- Field in
ImmutableMessage
Shutdown
- Class in
grails_akka_test.message
Shutdown message, as a sample.
Shutdown
()
- Constructor in
Shutdown
Stop
- Class in
grails_akka_test.message
Stop message, as a sample.
Stop
()
- Constructor in
Stop
system
- Field in
AkkaService
T
target
- Property in
GreetingActor
title
- Property in
AkkaGrailsPlugin
transactional
- Property in
AkkaService
U
V
VALUE
- Enum Constant in
GenericCommandArguments
value
- Property in
Result
valueOf
(String)
- Method in
GenericCommandArguments
Returns the enum constant of this type with the specified name.
values
()
- Method in
GenericCommandArguments
Returns an array containing the constants of this enum type, in the order they are declared.
values
- Field in
ImmutableMessage
version
- Property in
AkkaGrailsPlugin
W
Wait
- Class in
grails_akka_test.message
Waiting message, as a sample.
Wait
(long)
- Constructor in
Wait
who
- Property in
Greeting
X
Y
Z
_
Groovy Documentation


Big is a minimal presentation system with a simple rule: the text on every
slide is embiggened until it fills your screen.
It works pretty okay with focused presentations and plenty of narration,
and it will make long bullet-lists look terrible.
You create presentations with big by downloading it and editing simple
HTML: div
elements become slides. You style your presentations
with CSS, just like web pages.
Then you can either post your slides
to GitHub to share with the world, or boot up a local development
server to conference-wifi-proof them.
Quick Start
curl -L http://bit.ly/big-quick -O index.html
python -m SimpleHTTPServer
(then open localhost:8000)
Plugins and Riffs
Don't like typing HTML? You can use biggie
if you want and type Markdown instead. bigpy does
it in Python.

Want something else? Check out Weenote,
stack, and showoff.
There sure are options nowadays.
Nerd Stuff
Big is 1.1KB and 46 lines long at last count. It's written in vanilla JavaScript
with no frameworks and no hijinks. It supports touch and permalinks
to individual slide pages. It's licensed PD and is ready for you to hack
it into something beautiful or monstrous.
Big is awesome because awesome folks have helped out, and you can too:
fork big on GitHub!


Great #rubylunch. After the cubic foot of fries, I now need a #rubynap. @davidcelis @bryanstearns @zenhob @mperham
5/28/2014, 2:19:40 PM
Favs: 1
Retweets: 1
link--- layout: tweet ---
Great #rubylunch. After the cubic foot of fries, I now need a #rubynap. @davidcelis @bryanstearns @zenhob @mperham
5/28/2014, 2:19:40 PM
Favs: 1
Retweets: 1
link


Designing a RESTful API with Node and Postgres
In this tutorial we’ll create a RESTful web service with JavaScript, Node, Express, Postgres, and pg-promise.
Our app will include the following endpoints:
| URL | HTTP Verb | Action |
|---|---|---|
| /api/puppies | GET | Return ALL puppies |
| /api/puppies/:id | GET | Return a SINGLE puppy |
| /api/puppies | POST | Add a puppy |
| /api/puppies/:id | PUT | Update a puppy |
| /api/puppies/:id | DELETE | Delete a puppy |
This tutorial uses the following tools and technologies - Node.js v4.x, express-generator v4.x, pg-promise v5.x, PostgreSQL v9.4, and Bluebird v3.x
Contents
Project setup
Install the Express Generator (if necessary):
$ npm install express-generator@4 -g
Create a new project and install the required dependencies:
$ express node-postgres-promises
$ cd node-postgres-promises
$ npm install
Test!
$ npm start
Navigate to http://localhost:3000 in your browser, and you should see the familiar “Welcome to Express” text. Kill the server when done. Now let’s set up the Postgres bindings via pg-promise…
Install pg-promise
$ npm install pg-promise@5 --save
Why pg-promise
instead of pg
? Put simply, pg-promise abstracts away much of the difficult, low-level connection management, allowing you to focus on the business logic. Further, the library includes a powerful query formatting engine and support for automated transactions.
Finally, create a new file in the project root called queries.js:
var promise = require('bluebird');
var options = {
// Initialization Options
promiseLib: promise
};
var pgp = require('pg-promise')(options);
var connectionString = 'postgres://localhost:5432/puppies';
var db = pgp(connectionString);
// add query functions
module.exports = {
getAllPuppies: getAllPuppies,
getSinglePuppy: getSinglePuppy,
createPuppy: createPuppy,
updatePuppy: updatePuppy,
removePuppy: removePuppy
};
Here, we created an instance of pg-promise
and assigned it to a variable, pgp
.
Did you notice that we passed an object, options
, during the initialization process? This is required, even if you do not pass any properties/initialization options to the object. In this case, we overrode pg-promise’s default promise library - ES6 Promises - with Bluebird by setting the promiseLib
property in the options
object.
Why Bluebird? It’s loaded with features and reputed to be faster than ES6 Promises.
Don’t forget to install Bluebird:
$ npm install bluebird@3 --save
Next, we defined a connection string, and then passed it to the pg-promise instance to create a global connection instance.
Done!
Postgres setup
Create a new file also in the root called puppies.sql and then add the following code:
DROP DATABASE IF EXISTS puppies;
CREATE DATABASE puppies;
\c puppies;
CREATE TABLE pups (
ID SERIAL PRIMARY KEY,
name VARCHAR,
breed VARCHAR,
age INTEGER,
sex VARCHAR
);
INSERT INTO pups (name, breed, age, sex)
VALUES ('Tyler', 'Retrieved', 3, 'M');
Run the file to create the database, apply the schema, and add one row to the newly created database:
$ psql -f puppies.sql
DROP DATABASE
CREATE DATABASE
CREATE TABLE
INSERT 0 1
Routes
Now we can set up the route handlers in index.js:
var express = require('express');
var router = express.Router();
var db = require('../queries');
router.get('/api/puppies', db.getAllPuppies);
router.get('/api/puppies/:id', db.getSinglePuppy);
router.post('/api/puppies', db.createPuppy);
router.put('/api/puppies/:id', db.updatePuppy);
router.delete('/api/puppies/:id', db.removePuppy);
module.exports = router;
Queries
Next, let’s add the SQL queries to the queries.js file…
GET All Puppies
function getAllPuppies(req, res, next) {
db.any('select * from pups')
.then(function (data) {
res.status(200)
.json({
status: 'success',
data: data,
message: 'Retrieved ALL puppies'
});
})
.catch(function (err) {
return next(err);
});
}
In the above code, we utilized the any
Query Result Mask to query the database, which returns a promise object. This method is used to indicate that we are expecting any number of results back. Success and failures are then handled by .then()
and .catch()
.
Besides, any
, you can use the following Query Result Masks (just to name a few):
one
- a single row is expectedmany
- one or more rows are expectednone
- no rows are expectedresult
- passes the original object when resolved (we’ll look at an example of this shortly)
Test the request out in the browser - http://localhost:3000/api/puppies:
{
"status": "success",
"data": [
{
"id": 1,
"name": "Tyler",
"breed": "Shih-tzu",
"age": 3,
"sex": "M"
}
],
"message": "Retrieved ALL puppies"
}
GET Single Puppy
function getSinglePuppy(req, res, next) {
var pupID = parseInt(req.params.id);
db.one('select * from pups where id = $1', pupID)
.then(function (data) {
res.status(200)
.json({
status: 'success',
data: data,
message: 'Retrieved ONE puppy'
});
})
.catch(function (err) {
return next(err);
});
}
Again, test in the browser: http://localhost:3000/api/puppies/1
{
"status": "success",
"data": {
"id": 1,
"name": "Tyler",
"breed": "Shih-tzu",
"age": 3,
"sex": "M"
},
"message": "Retrieved ONE puppy"
}
POST
function createPuppy(req, res, next) {
req.body.age = parseInt(req.body.age);
db.none('insert into pups(name, breed, age, sex)' +
'values(${name}, ${breed}, ${age}, ${sex})',
req.body)
.then(function () {
res.status(200)
.json({
status: 'success',
message: 'Inserted one puppy'
});
})
.catch(function (err) {
return next(err);
});
}
Test with curl in a new terminal window:
$ curl --data "name=Whisky&breed=annoying&age=3&sex=f" \
http://<IP_ADDRESS>:3000/api/puppies
You should see:
{
"status": "success",
"message": "Inserted one puppy"
}
Double check the GET ALL route in your browser to ensure that the new puppy is now part of the collection.
PUT
function updatePuppy(req, res, next) {
db.none('update pups set name=$1, breed=$2, age=$3, sex=$4 where id=$5',
[req.body.name, req.body.breed, parseInt(req.body.age),
req.body.sex, parseInt(req.params.id)])
.then(function () {
res.status(200)
.json({
status: 'success',
message: 'Updated puppy'
});
})
.catch(function (err) {
return next(err);
});
}
Test!
$ curl -X PUT --data "name=Hunter&breed=annoying&age=33&sex=m" \
http://<IP_ADDRESS>:3000/api/puppies/1
Delete
function removePuppy(req, res, next) {
var pupID = parseInt(req.params.id);
db.result('delete from pups where id = $1', pupID)
.then(function (result) {
/* jshint ignore:start */
res.status(200)
.json({
status: 'success',
message: `Removed ${result.rowCount} puppy`
});
/* jshint ignore:end */
})
.catch(function (err) {
return next(err);
});
}
So, we used the result
Query Result Mask, in order to get the number of records affected by the query.
$ curl -X DELETE http://<IP_ADDRESS>:3000/api/puppies/1
Result:
{
"status": "success",
"message": "Removed 1 puppy"
}
Error Handling
Update the error handlers in app.js to serve up JSON:
// development error handler
// will print stacktrace
if (app.get('env') === 'development') {
app.use(function(err, req, res, next) {
res.status( err.code || 500 )
.json({
status: 'error',
message: err
});
});
}
// production error handler
// no stacktraces leaked to user
app.use(function(err, req, res, next) {
res.status(err.status || 500)
.json({
status: 'error',
message: err.message
});
});
Conclusion
We now have a basic RESTful API built with Node, Express, and pg-promise. Be sure to comment below if you have any questions.
Grab the code from the repo.
NOTE: Check out pg-promise-demo for a more comprehensive example of setting up your database layer.


Fork me on GitHub
CovidTracer
Home
Global
India
Vaccine slots
The flattening of the curve on LOG scale can be misleading. Refer the LINEAR scale graph for the total outbreak.