{% extends "layout_multi_sections_home.html" %}
{% block page_title %}
Lightnight Home Page
{% endblock %}
{% block css_register %}
{% endblock %}
{% block header %}
{% endblock %}
{% block main_nav %}
{% include "lightnight/includes/main_nav.html" %}
{% endblock %}
{% block sectionOneTop %}
{% endblock %}
{% block sectionOneFull%}
{% endblock %}
{% block sectionOneFullBottom %}{% endblock %}
{% block breadcrumb %}
{% endblock %}
{% block sectionOneContent %}
{% endblock %}
{% block sectionOneRightHandColumn %}
{% endblock %}
{% block sectionOneThirdCol1 %}
{% endblock %}
{% block sectionOneThirdCol2 %}
{% endblock %}
{% block sectionOneThirdCol3 %}
{% endblock %}
{% block sectionTwoTop %}
{% endblock %}
{% block sectionTwoFull%}
Light Night Leeds is an annual multi-arts and light festival which takes over Leeds City Centre over two nights in October. The next edition of Light Night Leeds will be in October 2017. More information coming soon!
Light Night 2016
Thursday 6 and Friday 7 October, 6 – 11pm
As darkness falls, come and see the city in a new light…
The 12th anniversary of Leeds’ biggest free annual multi-arts festival took place over two nights this year with an ‘elements’ inspired programme of installations and performances across the city.
Thousands of visitors witnessed the city centre came alive with over 50 artworks exploring earth, air, fire and water, including spectacular light projections, as well as film, dance, music, theatre, exhibitions and street performances.
See the city come alive with over 50 artworks including spectacular light projections, as well as film, dance, music, theatre, exhibitions and street performances.
Thursday night offered lots for families to enjoy, including a triathlon-themed procession with a Lantern Parade, Light Night Ride and Light Night Art Run, plus 90 giant glowing dandelions to walk amongst in Merrion Gardens.
Friday’s expanded programme saw local and international artists transforming places around the city, including The Falls – a 100ft digital waterfall on Queens’ Hotel, and Today – a groundbreaking music and light project in Trinity.
Our festival centrepiece – The Phoenix in the Stone – could be seen on both nights on the Civic Hall in Millennium Square. View our programme for full details of all events.
Click on the images below to see more..
Our events are spread over 10 zones across the city centre


|
TTK
|
Functions | |
| template<typename T > | |
| T | angle (const T *vA0, const T *vA1, const T *vB0, const T *vB1) |
| template<typename T > | |
| bool | areVectorsColinear (const T *vA0, const T *vA1, const T *vB0, const T *vB1, std::vector< T > *coefficients=NULL, const T *tolerance=NULL) |
| template<typename T > | |
| int | computeBarycentricCoordinates (const T *p0, const T *p1, const T *p, std::vector< T > &baryCentrics, const int &dimension=3) |
| template<typename T > | |
| int | computeBarycentricCoordinates (const T *p0, const T *p1, const T *p2, const T *p, std::vector< T > &baryCentrics) |
| template<typename T > | |
| bool | computeSegmentIntersection (const T &xA, const T &yA, const T &xB, const T &yB, const T &xC, const T &yC, const T &xD, const T &yD, T &x, T &y) |
| template<typename T > | |
| int | computeTriangleAngles (const T *p0, const T *p1, const T *p2, std::vector< T > &angles) |
| template<typename T > | |
| int | computeTriangleArea (const T *p0, const T *p1, const T *p2, T &area) |
| template<typename T > | |
| int | crossProduct (const T *vA0, const T *vA1, const T *vB0, const T *vB1, std::vector< T > &crossProduct) |
| template<typename T > | |
| int | crossProduct (const T *vA, const T *vB, T *crossProduct) |
| template<typename T > | |
| T | distance (const T *p0, const T *p1, const int &dimension=3) |
| template<typename T > | |
| T | dotProduct (const T *vA0, const T *vA1, const T *vB0, const T *vB1) |
| template<typename T > | |
| T | dotProduct (const T *vA, const T *vB) |
| template<typename T > | |
| int | getBoundingBox (const std::vector< std::vector< float >> &points, std::vector< std::pair< T, T >> &bBox) |
| template<typename T > | |
| bool | isPointInTriangle (const T *p0, const T *p1, const T *p2, const T *p) |
| template<typename T > | |
| bool | isPointOnSegment (const T &x, const T &y, const T &xA, const T &yA, const T &xB, const T &yB) |
| template<typename T > | |
| bool | isPointOnSegment (const T *p, const T *pA, const T *pB, const int &dimension=3) |
| template<typename T > | |
| bool | isTriangleColinear (const T *p0, const T *p1, const T *p2, const T *tolerance=NULL) |
| template<typename T > | |
| T | magnitude (const T *v) |
| template<typename T > | |
| T | magnitude (const T *o, const T *d) |
| template<typename T > | |
| T | powInt (const T val, const int n) |
| template<typename T = double> | |
| T | powIntTen (const int n) |
| Compute the nth power of ten. More... | |
| template<typename T1 , typename T2 > | |
| T1 | pow (const T1 val, const T2 n) |
| template<typename T > | |
| int | subtractVectors (const T *a, const T *b, T *out) |
| T ttk::Geometry::angle | ( | const T * | vA0, |
| const T * | vA1, | ||
| const T * | vB0, | ||
| const T * | vB1 | ||
| ) |
Compute the angle between two std::vectors
| vA0 | xyz coordinates of vA's origin |
| vA1 | xyz coordinates of vA's destination |
| vB0 | xyz coordinates of vB's origin |
| vB1 | xyz coordinates of vB's destination |
| bool ttk::Geometry::areVectorsColinear | ( | const T * | vA0, |
| const T * | vA1, | ||
| const T * | vB0, | ||
| const T * | vB1, | ||
| std::vector< T > * | coefficients = NULL , |
||
| const T * | tolerance = NULL |
||
| ) |
Check if two 3D std::vectors vA and vB are colinear.
| vA0 | xyz coordinates of vA's origin |
| vA1 | xyz coordinates of vA's destination |
| vB0 | xyz coordinates of vB's origin |
| vB1 | xyz coordinates of vB's destination |
| coefficients | Optional output std::vector of colinearity coefficients. |
| int ttk::Geometry::computeBarycentricCoordinates | ( | const T * | p0, |
| const T * | p1, | ||
| const T * | p, | ||
| std::vector< T > & | baryCentrics, | ||
| const int & | dimension = 3 |
||
| ) |
Compute the barycentric coordinates of point p
with regard to the edge defined by the 3D points p0
and p1
.
| p0 | xyz coordinates of the first vertex of the edge |
| p1 | xyz coordinates of the second vertex of the edge |
| p | xyz coordinates of the queried point |
| baryCentrics | Output barycentric coordinates (all in [0, 1] if p belongs to the edge). |
| dimension | Optional parameter that specifies the dimension of the point set (by default 3). |
| int ttk::Geometry::computeBarycentricCoordinates | ( | const T * | p0, |
| const T * | p1, | ||
| const T * | p2, | ||
| const T * | p, | ||
| std::vector< T > & | baryCentrics | ||
| ) |
Compute the barycentric coordinates of point p
with regard to the triangle defined by the 3D points p0
, p1
, and p2
.
| p0 | xyz coordinates of the first vertex of the triangle |
| p1 | xyz coordinates of the second vertex of the triangle |
| p2 | xyz coordinates of the third vertex of the triangle |
| p | xyz coordinates of the queried point |
| baryCentrics | Output barycentric coordinates (all in [0, 1] if p belongs to the triangle). |
| bool ttk::Geometry::computeSegmentIntersection | ( | const T & | xA, |
| const T & | yA, | ||
| const T & | xB, | ||
| const T & | yB, | ||
| const T & | xC, | ||
| const T & | yC, | ||
| const T & | xD, | ||
| const T & | yD, | ||
| T & | x, | ||
| T & | y | ||
| ) |
Compute the intersection between two 2D segments AB and CD.
| xA | x coordinate of the first vertex of the first segment (AB) |
| yA | y coordinate of the first vertex of the first segment (AB) |
| xB | x coordinate of the second vertex of the first segment (AB) |
| yB | y coordinate of the second vertex of the first segment (AB) |
| xC | x coordinate of the first vertex of the second segment (CD) |
| yC | y coordinate of the first vertex of the second segment (CD) |
| xD | x coordinate of the second vertex of the second segment (CD) |
| yD | y coordinate of the second vertex of the second segment (CD) |
| x | x coordinate of the output intersection (if any). |
| y | y coordinate of the output intersection (if any). |
| int ttk::Geometry::computeTriangleAngles | ( | const T * | p0, |
| const T * | p1, | ||
| const T * | p2, | ||
| std::vector< T > & | angles | ||
| ) |
Compute the angles of a triangle
| p0 | xyz coordinates of the first vertex of the triangle |
| p1 | xyz coordinates of the second vertex of the triangle |
| p2 | xyz coordinates of the third vertex of the triangle |
| angles | Angles (p0p1, p1p2) (p1p2, p2p0) (p2p0, p0p1) |
| int ttk::Geometry::computeTriangleArea | ( | const T * | p0, |
| const T * | p1, | ||
| const T * | p2, | ||
| T & | area | ||
| ) |
Compute the area of a 3D triangle.
| p0 | xyz coordinates of the first vertex of the triangle |
| p1 | xyz coordinates of the second vertex of the triangle |
| p2 | xyz coordinates of the third vertex of the triangle |
| area | Output area. |
| int ttk::Geometry::crossProduct | ( | const T * | vA, |
| const T * | vB, | ||
| T * | crossProduct | ||
| ) |
Compute the cross product of two 3D std::vectors
| vA | xyz coordinates of vA std::vector |
| vB | xyz coordinates of vB std::vector |
| crossProduct | Output cross product. |
| int ttk::Geometry::crossProduct | ( | const T * | vA0, |
| const T * | vA1, | ||
| const T * | vB0, | ||
| const T * | vB1, | ||
| std::vector< T > & | crossProduct | ||
| ) |
Compute the cross product of two 3D std::vectors
| vA0 | xyz coordinates of vA's origin |
| vA1 | xyz coordinates of vA's destination |
| vB0 | xyz coordinates of vB's origin |
| vB1 | xyz coordinates of vB's destination |
| crossProduct | Output cross product. |
| T ttk::Geometry::distance | ( | const T * | p0, |
| const T * | p1, | ||
| const int & | dimension = 3 |
||
| ) |
Compute the Euclidean distance between two points
| p0 | xyz coordinates of the first input point. |
| p1 | xyz coordinates of the second input point. |
| dimension | Optional parameter that specifies the dimension of the point set (by default 3). |
| T ttk::Geometry::dotProduct | ( | const T * | vA, |
| const T * | vB | ||
| ) |
Compute the dot product of two 3D std::vectors
| vA0 | xyz coordinates of vA std::vector |
| vB0 | xyz coordinates of vB std::vector |
| T ttk::Geometry::dotProduct | ( | const T * | vA0, |
| const T * | vA1, | ||
| const T * | vB0, | ||
| const T * | vB1 | ||
| ) |
Compute the dot product of two 3D std::vectors
| vA0 | xyz coordinates of vA's origin |
| vA1 | xyz coordinates of vA's destination |
| vB0 | xyz coordinates of vB's origin |
| vB1 | xyz coordinates of vB's destination |
| int ttk::Geometry::getBoundingBox | ( | const std::vector< std::vector< float >> & | points, |
| std::vector< std::pair< T, T >> & | bBox | ||
| ) |
Compute the bounding box of a point set.
| points | Vector of points. Each entry is a std::vector whose size is equal to the dimension of the space embedding the points. |
| bBox | Output bounding box. The number of entries in this std::vector is equal to the dimension of the space embedding the points. |
| bool ttk::Geometry::isPointInTriangle | ( | const T * | p0, |
| const T * | p1, | ||
| const T * | p2, | ||
| const T * | p | ||
| ) |
Check if the point p
is inside the triangle (p0
, p1
, p2
).
| p0 | xyz coordinates of the first vertex of the triangle |
| p1 | xyz coordinates of the second vertex of the triangle |
| p2 | xyz coordinates of the third vertex of the triangle |
| p | xyz coordinates of the queried point |
p
is in the triangle, false otherwise. | bool ttk::Geometry::isPointOnSegment | ( | const T & | x, |
| const T & | y, | ||
| const T & | xA, | ||
| const T & | yA, | ||
| const T & | xB, | ||
| const T & | yB | ||
| ) |
Check if a 2D point xy
lies on a 2D segment AB
.
| x | x coordinate of the input point. |
| y | y coordinate of the input point. |
| xA | x coordinate of the first vertex of the segment [AB] |
| yA | y coordinate of the first vertex of the segment [AB] |
| xB | x coordinate of the second vertex of the segment [AB] |
| yB | y coordinate of the second vertex of the segment [AB] |
| bool ttk::Geometry::isPointOnSegment | ( | const T * | p, |
| const T * | pA, | ||
| const T * | pB, | ||
| const int & | dimension = 3 |
||
| ) |
Check if a point p
lies on a segment AB
.
| p | xyz coordinates of the input point. |
| pA | xyz coordinates of the first vertex of the segment [AB] |
| pB | xyz coordinate of the second vertex of the segment [AB] |
| dimension | Optional parameter that specifies the dimension of the point set (by default 3). |
| bool ttk::Geometry::isTriangleColinear | ( | const T * | p0, |
| const T * | p1, | ||
| const T * | p2, | ||
| const T * | tolerance = NULL |
||
| ) |
Check if all the edges of a triangle are colinear.
| p0 | xyz coordinates of the first vertex of the triangle. |
| p1 | xyz coordinates of the second vertex of the triangle. |
| p2 | xyz coordinates of the third vertex of the triangle. |
| T ttk::Geometry::magnitude | ( | const T * | o, |
| const T * | d | ||
| ) |
Compute the magnitude of a 3D std::vector.
| o | xyz coordinates of the std::vector's origin |
| d | xyz coordinates of the std::vector's destination |
| T ttk::Geometry::magnitude | ( | const T * | v | ) |
Compute the magnitude of a 3D std::vector v
.
| v | xyz coordinates of the input std::vector. |
|
inline |
Compute the power of an arithmetic value (redirect to std::pow with a floating-point exponent and to Geometry::powInt with an integer exponent)
Definition at line 274 of file Geometry.h.
|
inline |
Compute the integer power of a floating-point value (std::pow is optimised for floating-point exponents)
Definition at line 244 of file Geometry.h.
|
inline |
Compute the nth power of ten.
Definition at line 266 of file Geometry.h.
| int ttk::Geometry::subtractVectors | ( | const T * | a, |
| const T * | b, | ||
| T * | out | ||
| ) |
Computes the difference between two vectors.
| a | xyz coordinates of the first vector |
| b | xyz coordinates of the second vector |
| out | the difference between the two vectors |


Home
Board Game of The Year
Geek Quiz
Website Survey
Time Calc
Time Calc
What is the percentage of time played this week?
Perform basic mathematic operations using the power of jQuery!
Calculator
1
2
3
4
5
6
7
8
9
0
Average Played in Minutes Per Week
Average Played in Hours Per Week
Average Played in Seconds Per Week
clear
Result


ASUS
The thickest part of this new laptop is 17mm, its entire body is built from an aluminum alloy (weighs 1.1kg / 2.4lb), and the CPUs can be specced as high as Core i7. Anything else you need to know before drooling all over yourself? How about a two-second resume from sleep, thanks to ASUS' proprietary software.


{% extends "app/base.html" %} {% block content %}
To add a class select "Add Class" to the right.
To send/view messages, click "Messages" at the top right.
{% else %}To login or create and account, select "Login" at the top right.
{% endif %}This is cool.
| {{ v.classSec }} |


Actions, resources, and condition keys for Amazon QuickSight
Amazon QuickSight (service prefix:
quicksight
) provides the following service-specific resources, actions, and condition context keys for use in IAM permission policies.
References:
-
Learn how to configure this service .
-
View a list of the API operations available for this service .
-
Learn how to secure this service and its resources by using IAM permission policies.
Topics
Actions defined by Amazon QuickSight
You can specify the following actions in the
Action
element of an IAM policy statement. Use policies to grant permissions to perform an operation in AWS. When you use an action in a policy, you usually allow or deny access to the API operation or CLI command with the same name. However, in some cases, a single action controls access to more than one operation. Alternatively, some operations require several different actions.
The
Resource types
column of the Actions table indicates whether each action supports resource-level permissions. If there is no value for this column, you must specify all resources ("*") to which the policy applies in the
Resource
element of your policy statement. If the column includes a resource type, then you can specify an ARN of that type in a statement with that action. If the action has one or more required resources, the caller must have permission to use the action with those resources. Required resources are indicated in the table with an asterisk (*). If you limit resource access with the
Resource
element in an IAM policy, you must include an ARN or pattern for each required resource type. Some actions support multiple resource types. If the resource type is optional (not indicated as required), then you can choose to use one of the optional resource types.
The
Condition keys
column of the Actions table includes keys that you can specify in a policy statement's
Condition
element. For more information on the condition keys that are associated with resources for the service, see the
Condition keys
column of the Resource types table.
For details about the columns in the following table, see Actions table .
| Actions | Description | Access level | Resource types (*required) | Condition keys | Dependent actions |
|---|---|---|---|---|---|
| AccountConfigurations [permission only] | Grants permission to enable setting default access to AWS resources | Write | |||
| CancelIngestion | Grants permission to cancel a SPICE ingestions on a dataset | Write | |||
| CreateAccountCustomization | Grants permission to create an account customization for QuickSight account or namespace | Write | |||
| CreateAccountSubscription | Grants permission to subscribe to QuickSight | Write | |||
| CreateAdmin [permission only] | Grants permission to provision Amazon QuickSight administrators, authors, and readers | Write | |||
| CreateAnalysis | Grants permission to create an analysis from a template | Write | |||
| CreateCustomPermissions [permission only] | Grants permission to create a custom permissions resource for restricting user access | Permissions management | |||
| CreateDashboard | Grants permission to create a QuickSight Dashboard | Write | |||
| CreateDataSet | Grants permission to create a dataset | Write |
quicksight:PassDataSource |
||
| CreateDataSource | Grants permission to create a data source | Write |
iam:PassRole |
||
| CreateEmailCustomizationTemplate [permission only] | Grants permission to create a QuickSight email customization template | Write | |||
| CreateFolder | Grants permission to create a QuickSight folder | Write | |||
| CreateFolderMembership | Grants permission to add a QuickSight Dashboard, Analysis or Dataset to a QuickSight Folder | Write | |||
| CreateGroup | Grants permission to create a QuickSight group | Write | |||
| CreateGroupMembership | Grants permission to add a QuickSight user to a QuickSight group | Write | |||
| CreateIAMPolicyAssignment | Grants permission to create an assignment with one specified IAM Policy ARN that will be assigned to specified groups or users of QuickSight | Write | |||
| CreateIngestion | Grants permission to start a SPICE ingestion on a dataset | Write | |||
| CreateNamespace | Grants permission to create an QuickSight namespace | Write |
ds:CreateIdentityPoolDirectory |
||
| CreateReader [permission only] | Grants permission to provision Amazon QuickSight readers | Write | |||
| CreateRefreshSchedule | Grants permission to create a refresh schedule for a dataset | Write | |||
| CreateTemplate | Grants permission to create a template | Write | |||
| CreateTemplateAlias | Grants permission to create a template alias | Write | |||
| CreateTheme | Grants permission to create a theme | Write | |||
| CreateThemeAlias | Grants permission to create an alias for a theme version | Write | |||
| CreateTopic | Grants permission to create a topic | Write |
quicksight:PassDataSet |
||
| CreateTopicRefreshSchedule | Grants permission to create a refresh schedule for a topic | Write | |||
| CreateUser [permission only] | Grants permission to provision Amazon QuickSight authors and readers | Write | |||
| CreateVPCConnection | Grants permission to create a vpc connection | Write |
iam:PassRole |
||
| DeleteAccountCustomization | Grants permission to delete an account customization for QuickSight account or namespace | Write | |||
| DeleteAccountSubscription | Grants permission to delete a QuickSight account | Write | |||
| DeleteAnalysis | Grants permission to delete an analysis | Write | |||
| DeleteCustomPermissions [permission only] | Grants permission to delete a custom permissions resource | Permissions management | |||
| DeleteDashboard | Grants permission to delete a QuickSight Dashboard | Write | |||
| DeleteDataSet | Grants permission to delete a dataset | Write | |||
| DeleteDataSetRefreshProperties | Grants permission to delete dataset refresh properties for a dataset | Write | |||
| DeleteDataSource | Grants permission to delete a data source | Write | |||
| DeleteEmailCustomizationTemplate [permission only] | Grants permission to delete a QuickSight email customization template | Write | |||
| DeleteFolder | Grants permission to delete a QuickSight Folder | Write | |||
| DeleteFolderMembership | Grants permission to remove a QuickSight Dashboard, Analysis or Dataset from a QuickSight Folder | Write | |||
| DeleteGroup | Grants permission to remove a user group from QuickSight | Write | |||
| DeleteGroupMembership | Grants permission to remove a user from a group so that he/she is no longer a member of the group | Write | |||
| DeleteIAMPolicyAssignment | Grants permission to update an existing assignment | Write | |||
| DeleteNamespace | Grants permission to delete a QuickSight namespace | Write |
ds:DeleteDirectory |
||
| DeleteRefreshSchedule | Grants permission to delete a refresh schedule for a dataset | Write | |||
| DeleteTemplate | Grants permission to delete a template | Write | |||
| DeleteTemplateAlias | Grants permission to delete a template alias | Write | |||
| DeleteTheme | Grants permission to delete a theme | Write | |||
| DeleteThemeAlias | Grants permission to delete the alias of a theme | Write | |||
| DeleteTopic | Grants permission to delete a topic | Write | |||
| DeleteTopicRefreshSchedule | Grants permission to delete a refresh schedule for a topic | Write | |||
| DeleteUser | Grants permission to delete a QuickSight user, given the user name | Write | |||
| DeleteUserByPrincipalId | Grants permission to deletes a user identified by its principal ID | Write | |||
| DeleteVPCConnection | Grants permission to delete a vpc connection | Write | |||
| DescribeAccountCustomization | Grants permission to describe an account customization for QuickSight account or namespace | Read | |||
| DescribeAccountSettings | Grants permission to describe the administrative account settings for QuickSight account | Read | |||
| DescribeAccountSubscription | Grants permission to describe a QuickSight account | Read | |||
| DescribeAnalysis | Grants permission to describe an analysis | Read | |||
| DescribeAnalysisPermissions | Grants permission to describe permissions for an analysis | Read | |||
| DescribeAssetBundleExportJob | Grants permission to describe an asset bundle export job | Read | |||
| DescribeAssetBundleImportJob | Grants permission to describe an asset bundle import job | Read | |||
| DescribeCustomPermissions [permission only] | Grants permission to describe a custom permissions resource in a QuickSight account | Write | |||
| DescribeDashboard | Grants permission to describe a QuickSight Dashboard | Read | |||
| DescribeDashboardPermissions | Grants permission to describe permissions for a QuickSight Dashboard | Read | |||
| DescribeDashboardSnapshotJob | Grants permission to describe a dashboard snapshot job | Read | |||
| DescribeDashboardSnapshotJobResult | Grants permission to describe result of a dashboard snapshot job | Read | |||
| DescribeDataSet | Grants permission to describe a dataset | Read | |||
| DescribeDataSetPermissions | Grants permission to describe the resource policy of a dataset | Permissions management | |||
| DescribeDataSetRefreshProperties | Grants permission to describe refresh properties for a dataset | Read | |||
| DescribeDataSource | Grants permission to describe a data source | Read | |||
| DescribeDataSourcePermissions | Grants permission to describe the resource policy of a data source | Permissions management | |||
| DescribeEmailCustomizationTemplate [permission only] | Grants permission to describe a QuickSight email customization template | Read | |||
| DescribeFolder | Grants permission to describe a QuickSight Folder | Read | |||
| DescribeFolderPermissions | Grants permission to describe permissions for a QuickSight Folder | Read | |||
| DescribeFolderResolvedPermissions | Grants permission to describe resolved permissions for a QuickSight Folder | Read | |||
| DescribeGroup | Grants permission to describe a QuickSight group | Read | |||
| DescribeGroupMembership | Grants permission to describe a QuickSight group member | Read | |||
| DescribeIAMPolicyAssignment | Grants permission to describe an existing assignment | Read | |||
| DescribeIngestion | Grants permission to describe a SPICE ingestion on a dataset | Read | |||
| DescribeIpRestriction | Grants permission to describe the IP restrictions for QuickSight account | Read | |||
| DescribeNamespace | Grants permission to describe a QuickSight namespace | Read | |||
| DescribeRefreshSchedule | Grants permission to describe a refresh schedule for a dataset | Read | |||
| DescribeTemplate | Grants permission to describe a template | Read | |||
| DescribeTemplateAlias | Grants permission to describe a template alias | Read | |||
| DescribeTemplatePermissions | Grants permission to describe permissions for a template | Read | |||
| DescribeTheme | Grants permission to describe a theme | Read | |||
| DescribeThemeAlias | Grants permission to describe a theme alias | Read | |||
| DescribeThemePermissions | Grants permission to describe permissions for a theme | Read | |||
| DescribeTopic | Grants permission to describe a topic | Read | |||
| DescribeTopicPermissions | Grants permission to describe the resource policy of a topic | Permissions management | |||
| DescribeTopicRefresh | Grants permission to describe the refresh status of a topic | Read | |||
| DescribeTopicRefreshSchedule | Grants permission to describe a refresh schedule for a topic | Read | |||
| DescribeUser | Grants permission to describe a QuickSight user given the user name | Read | |||
| DescribeVPCConnection | Grants permission to describe a vpc connection | Read | |||
| GenerateEmbedUrlForAnonymousUser | Grants permission to generate a URL used to embed a QuickSight Dashboard or Q Topic for a user not registered with QuickSight | Write | |||
| GenerateEmbedUrlForRegisteredUser | Grants permission to generate a URL used to embed a QuickSight Dashboard for a user registered with QuickSight | Write | |||
| GetAnonymousUserEmbedUrl [permission only] | Grants permission to get a URL used to embed a QuickSight Dashboard for a user not registered with QuickSight | Read | |||
| GetAuthCode [permission only] | Grants permission to get an auth code representing a QuickSight user | Read | |||
| GetDashboardEmbedUrl | Grants permission to get a URL used to embed a QuickSight Dashboard | Read | |||
| GetGroupMapping [permission only] | Grants permission to use Amazon QuickSight, in Enterprise edition, to identify and display the Microsoft Active Directory (Microsoft Active Directory) directory groups that are mapped to roles in Amazon QuickSight | Read | |||
| GetSessionEmbedUrl | Grants permission to get a URL to embed QuickSight console experience | Read | |||
| ListAnalyses | Grants permission to list all analyses in an account | List | |||
| ListAssetBundleExportJobs | Grants permission to list all asset bundle export jobs | List | |||
| ListAssetBundleImportJobs | Grants permission to list all asset bundle import jobs | List | |||
| ListCustomPermissions [permission only] | Grants permission to list custom permissions resources in QuickSight account | Write | |||
| ListCustomerManagedKeys [permission only] | Grants permission to list all registered customer managed keys | List | |||
| ListDashboardVersions | Grants permission to list all versions of a QuickSight Dashboard | List | |||
| ListDashboards | Grants permission to list all Dashboards in a QuickSight Account | List | |||
| ListDataSets | Grants permission to list all datasets | List | |||
| ListDataSources | Grants permission to list all data sources | List | |||
| ListFolderMembers | Grants permission to list all members in a folder | Read | |||
| ListFolders | Grants permission to list all Folders in a QuickSight Account | List | |||
| ListGroupMemberships | Grants permission to list member users in a group | List | |||
| ListGroups | Grants permission to list all user groups in QuickSight | List | |||
| ListIAMPolicyAssignments | Grants permission to list all assignments in the current Amazon QuickSight account | List | |||
| ListIAMPolicyAssignmentsForUser | Grants permission to list all assignments assigned to a user and the groups it belongs | List | |||
| ListIngestions | Grants permission to list all SPICE ingestions on a dataset | List | |||
| ListKMSKeysForUser [permission only] | Grants permission to list a user's KMS keys | List | |||
| ListNamespaces | Grants permission to lists all namespaces in a QuickSight account | List | |||
| ListRefreshSchedules | Grants permission to list all refresh schedules on a dataset | List | |||
| ListTagsForResource | Grants permission to list tags of a QuickSight resource | Read | |||
| ListTemplateAliases | Grants permission to list all aliases for a template | List | |||
| ListTemplateVersions | Grants permission to list all versions of a template | List | |||
| ListTemplates | Grants permission to list all templates in a QuickSight account | List | |||
| ListThemeAliases | Grants permission to list all aliases of a theme | List | |||
| ListThemeVersions | Grants permission to list all versions of a theme | List | |||
| ListThemes | Grants permission to list all themes in an account | List | |||
| ListTopicRefreshSchedules | Grants permission to list all refresh schedules on a topic | List | |||
| ListTopics | Grants permission to list all topics | List | |||
| ListUserGroups | Grants permission to list groups that a given user is a member of | List | |||
| ListUsers | Grants permission to list all of the QuickSight users belonging to this account | List | |||
| ListVPCConnections | Grants permission to list all vpc connections | List | |||
| PassDataSet [permission only] | Grants permission to use a dataset for a template | Read | |||
| PassDataSource [permission only] | Grants permission to use a data source for a data set | Read | |||
| PutDataSetRefreshProperties | Grants permission to put dataset refresh properties for a dataset | Write | |||
| RegisterCustomerManagedKey [permission only] | Grants permission to register a customer managed key | Write | |||
| RegisterUser | Grants permission to create a QuickSight user, whose identity is associated with the IAM identity/role specified in the request | Write | |||
| RemoveCustomerManagedKey [permission only] | Grants permission to remove a customer managed key | Write | |||
| RestoreAnalysis | Grants permission to restore a deleted analysis | Write | |||
| ScopeDownPolicy [permission only] | Grants permission to manage scoping policies for permissions to AWS resources | Write | |||
| SearchAnalyses | Grants permission to search for a sub-set of analyses | List | |||
| SearchDashboards | Grants permission to search for a sub-set of QuickSight Dashboards | List | |||
| SearchDataSets | Grants permission to search for a sub-set of QuickSight DatSets | List | |||
| SearchDataSources | Grants permission to search for a sub-set of QuickSight Data Sources | List | |||
| SearchDirectoryGroups [permission only] | Grants permission to use Amazon QuickSight, in Enterprise edition, to display your Microsoft Active Directory directory groups so that you can choose which ones to map to roles in Amazon QuickSight | List | |||
| SearchFolders | Grants permission to search for a sub-set of QuickSight Folders | Read | |||
| SearchGroups | Grants permission to search for a sub-set of QuickSight groups | List | |||
| SearchUsers [permission only] | Grants permission to search the QuickSight users belonging to this account | List | |||
| SetGroupMapping [permission only] | Grants permission to use Amazon QuickSight, in Enterprise edition, to display your Microsoft Active Directory directory groups so that you can choose which ones to map to roles in Amazon QuickSight | Write | |||
| StartAssetBundleExportJob | Grants permission to start an asset bundle export job | Write | |||
| StartAssetBundleImportJob | Grants permission to start an asset bundle import job | Write | |||
| StartDashboardSnapshotJob | Grants permission to start a dashboard snapshot job | Write | |||
| Subscribe [permission only] | Grants permission to subscribe to Amazon QuickSight, and also to allow the user to upgrade the subscription to Enterprise edition | Write | |||
| TagResource | Grants permission to add tags to a QuickSight resource | Tagging | |||
| Unsubscribe [permission only] | Grants permission to unsubscribe from Amazon QuickSight, which permanently deletes all users and their resources from Amazon QuickSight | Write | |||
| UntagResource | Grants permission to remove tags from a QuickSight resource | Tagging | |||
| UpdateAccountCustomization | Grants permission to update an account customization for QuickSight account or namespace | Write | |||
| UpdateAccountSettings | Grants permission to update the administrative account settings for QuickSight account | Write | |||
| UpdateAnalysis | Grants permission to update an analysis | Write | |||
| UpdateAnalysisPermissions | Grants permission to update permissions for an analysis | Permissions management | |||
| UpdateCustomPermissions [permission only] | Grants permission to update a custom permissions resource | Permissions management | |||
| UpdateDashboard | Grants permission to update a QuickSight Dashboard | Write | |||
| UpdateDashboardPermissions | Grants permission to update permissions for a QuickSight Dashboard | Permissions management | |||
| UpdateDashboardPublishedVersion | Grants permission to update a QuickSight Dashboard’s Published Version | Write | |||
| UpdateDataSet | Grants permission to update a dataset | Write |
quicksight:PassDataSource |
||
| UpdateDataSetPermissions | Grants permission to update the resource policy of a dataset | Permissions management | |||
| UpdateDataSource | Grants permission to update a data source | Write |
iam:PassRole |
||
| UpdateDataSourcePermissions | Grants permission to update the resource policy of a data source | Permissions management | |||
| UpdateEmailCustomizationTemplate [permission only] | Grants permission to update a QuickSight email customization template | Write | |||
| UpdateFolder | Grants permission to update a QuickSight Folder | Write | |||
| UpdateFolderPermissions | Grants permission to update permissions for a QuickSight Folder | Permissions management | |||
| UpdateGroup | Grants permission to change group description | Write | |||
| UpdateIAMPolicyAssignment | Grants permission to update an existing assignment | Write | |||
| UpdateIpRestriction | Grants permission to update the IP restrictions for QuickSight account | Write | |||
| UpdatePublicSharingSettings | Grants permission to enable or disable public sharing on an account | Write | |||
| UpdateRefreshSchedule | Grants permission to update a refresh schedule for a dataset | Write | |||
| UpdateResourcePermissions [permission only] | Grants permission to update resource-level permissions in QuickSight | Write | |||
| UpdateTemplate | Grants permission to update a template | Write | |||
| UpdateTemplateAlias | Grants permission to update a template alias | Write | |||
| UpdateTemplatePermissions | Grants permission to update permissions for a template | Permissions management | |||
| UpdateTheme | Grants permission to update a theme | Write | |||
| UpdateThemeAlias | Grants permission to update the alias of a theme | Write | |||
| UpdateThemePermissions | Grants permission to update permissions for a theme | Permissions management | |||
| UpdateTopic | Grants permission to update a topic | Write |
quicksight:PassDataSet |
||
| UpdateTopicPermissions | Grants permission to update the resource policy of a topic | Permissions management | |||
| UpdateTopicRefreshSchedule | Grants permission to update a refresh schedule for a topic | Write | |||
| UpdateUser | Grants permission to update an Amazon QuickSight user | Write | |||
| UpdateVPCConnection | Grants permission to update a vpc connection | Write |
iam:PassRole |
||
Resource types defined by Amazon QuickSight
The following resource types are defined by this service and can be used in the
Resource
element of IAM permission policy statements. Each action in the
Actions table
identifies the resource types that can be specified with that action. A resource type can also define which condition keys you can include in a policy. These keys are displayed in the last column of the Resource types table. For details about the columns in the following table, see
Resource types table
.
| Resource types | ARN | Condition keys |
|---|---|---|
| account |
arn:$
{
Partition}:quicksight:$
{
Region}:$
{
Account}:account/$
{
ResourceId}
|
|
| user |
arn:$
{
Partition}:quicksight:$
{
Region}:$
{
Account}:user/$
{
ResourceId}
|
|
| group |
arn:$
{
Partition}:quicksight:$
{
Region}:$
{
Account}:group/$
{
ResourceId}
|
|
| analysis |
arn:$
{
Partition}:quicksight:$
{
Region}:$
{
Account}:analysis/$
{
ResourceId}
|
|
| dashboard |
arn:$
{
Partition}:quicksight:$
{
Region}:$
{
Account}:dashboard/$
{
ResourceId}
|
|
| template |
arn:$
{
Partition}:quicksight:$
{
Region}:$
{
Account}:template/$
{
ResourceId}
|
|
| vpcconnection |
arn:$
{
Partition}:quicksight:$
{
Region}:$
{
Account}:vpcConnection/$
{
ResourceId}
|
|
| assetBundleExportJob |
arn:$
{
Partition}:quicksight:$
{
Region}:$
{
Account}:asset-bundle-export-job/$
{
ResourceId}
|
|
| assetBundleImportJob |
arn:$
{
Partition}:quicksight:$
{
Region}:$
{
Account}:asset-bundle-import-job/$
{
ResourceId}
|
|
| datasource |
arn:$
{
Partition}:quicksight:$
{
Region}:$
{
Account}:datasource/$
{
ResourceId}
|
|
| dataset |
arn:$
{
Partition}:quicksight:$
{
Region}:$
{
Account}:dataset/$
{
ResourceId}
|
|
| ingestion |
arn:$
{
Partition}:quicksight:$
{
Region}:$
{
Account}:dataset/$
{
DatasetId}/ingestion/$
{
ResourceId}
|
|
| refreshschedule |
arn:$
{
Partition}:quicksight:$
{
Region}:$
{
Account}:dataset/$
{
DatasetId}/refresh-schedule/$
{
ResourceId}
|
|
| theme |
arn:$
{
Partition}:quicksight:$
{
Region}:$
{
Account}:theme/$
{
ResourceId}
|
|
| assignment |
arn:$
{
Partition}:quicksight::$
{
Account}:assignment/$
{
ResourceId}
|
|
| customization |
arn:$
{
Partition}:quicksight:$
{
Region}:$
{
Account}:customization/$
{
ResourceId}
|
|
| namespace |
arn:$
{
Partition}:quicksight:$
{
Region}:$
{
Account}:namespace/$
{
ResourceId}
|
|
| folder |
arn:$
{
Partition}:quicksight:$
{
Region}:$
{
Account}:folder/$
{
ResourceId}
|
|
| emailCustomizationTemplate |
arn:$
{
Partition}:quicksight:$
{
Region}:$
{
Account}:email-customization-template/$
{
ResourceId}
|
|
| topic |
arn:$
{
Partition}:quicksight:$
{
Region}:$
{
Account}:topic/$
{
ResourceId}
|
|
| dashboardSnapshotJob |
arn:$
{
Partition}:quicksight:$
{
Region}:$
{
Account}:dashboard/$
{
DashboardId}/snapshot-job/$
{
ResourceId}
|
Condition keys for Amazon QuickSight
Amazon QuickSight defines the following condition keys that can be used in the
Condition
element of an IAM policy. You can use these keys to further refine the conditions under which the policy statement applies. For details about the columns in the following table, see
Condition keys table
.
To view the global condition keys that are available to all services, see Available global condition keys .
| Condition keys | Description | Type |
|---|---|---|
| aws:RequestTag/${TagKey} | Filters access by tag key-value pairs in the request | String |
| aws:ResourceTag/${TagKey} | Filters access by tag key-value pairs attached to the resource | String |
| aws:TagKeys | Filters access by tag keys | ArrayOfString |
| quicksight:AllowedEmbeddingDomains | Filters access by the allowed embedding domains | ArrayOfString |
| quicksight:DirectoryType | Filters access by the user management options | String |
| quicksight:Edition | Filters access by the edition of QuickSight | String |
| quicksight:IamArn | Filters access by IAM user or role ARN | String |
| quicksight:SessionName | Filters access by session name | String |
| quicksight:UserName | Filters access by user name | String |


Visit us today!
We're located in the center of New York City. Amazing prices, amazing food, amazing time.
Don't forget to bring your family with you. We offer a 50% discount when you order food for multiple people.
We're located in the center of New York City. Amazing prices, amazing food, amazing time.
Don't forget to bring your family with you. We offer a 50% discount when you order food for multiple people.
Et malesuada fames ac turpis egestas. Arcu dictum varius duis at consectetur. Nisl suscipit adipiscing bibendum est ultricies integer quis. Quam lacus suspendisse faucibus interdum posuere. Eu volutpat odio facilisis mauris sit amet massa. Mauris sit amet massa vitae tortor condimentum. Neque sodales ut etiam sit amet nisl purus in. Ac feugiat sed lectus vestibulum. Felis eget velit aliquet sagittis id consectetur purus ut faucibus. Pharetra sit amet aliquam id diam maecenas ultricies mi eget.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Orci eu lobortis elementum nibh. Velit egestas dui id ornare arcu odio ut sem nulla. Consequat interdum varius sit amet mattis. In hendrerit gravida rutrum quisque non tellus. Fames ac turpis egestas integer.
Risus feugiat in ante metus dictum. Euismod in pellentesque massa placerat duis ultricies lacus. Porta non pulvinar neque laoreet suspendisse interdum consectetur libero id. Eu augue ut lectus arcu bibendum at varius vel.
Et malesuada fames ac turpis egestas. Arcu dictum varius duis at consectetur. Nisl suscipit adipiscing bibendum est ultricies integer quis. Quam lacus suspendisse faucibus interdum posuere. Eu volutpat odio facilisis mauris sit amet massa. Mauris sit amet massa vitae tortor condimentum. Neque sodales ut etiam sit amet nisl purus in. Ac feugiat sed lectus vestibulum. Felis eget velit aliquet sagittis id consectetur purus ut faucibus. Pharetra sit amet aliquam id diam maecenas ultricies mi eget.
Check just some of the awesome things you can find at our restaurant.
Keep more money
Great food
#1 in all newspapers
Best waiters
Best chef, period
Open to ideas
Yes, we do offer discounts. Just make sure you call us before showing up at the restaurant.
Yes, we do offer discounts. Just make sure you call us before showing up at the restaurant.
Yes, we do offer discounts. Just make sure you call us before showing up at the restaurant.
Yes, we do offer discounts. Just make sure you call us before showing up at the restaurant.
Yes, we do offer discounts. Just make sure you call us before showing up at the restaurant.
Yes, we do offer discounts. Just make sure you call us before showing up at the restaurant.
Check our Facebook page for the latest information, offers and news. Don't be afraid to send us a note.
Send us a tweet to win a free t-shirt, or a 10% discount at any of our locations throughout the USA.
Take a photo while visiting our restaurants and post it on Instagram. People will love it.


HTML stands for Hyper Text Markup Language
Hypertext Markup Language (HTML) is the standard markup language for
documents designed to be displayed in a web browser.
It can be assisted by technologies such as Cascading Style Sheets
(CSS) and scripting languages such as JavaScript.
Web browsers receive HTML documents from a web server or from
local storage
and render the documents into multimedia web pages.
HTML describes the structure of a web page semantically and originally included cues
for the appearance of the document.
HTML elements are the >br>building blocks of HTML pages.
With HTML constructs, images and other objects such
as interactive forms may be embedded into the rendered page. HTML provides a means
to create structured documents by denoting structural semantics for text such as headings, paragraphs, lists, links, quotes and other items. HTML elements are delineated by tags, written using angle brackets. Tags such as
directly introduce content into the page. Other tags such as surround and provide information about document text and may include other tags as sub-elements. Browsers do not display the HTML tags, but use them to interpret the content of the page..


This sub-domain is reserved for Secure Web Socket connections only.
Endpoints:
/login - Login Server
/redemption - Redemption Server
/server/blizzard
- Blizzard's World Server


Post edited 1 x times, last by
BrainFooLong
Administrator
Topicstarter
I don't know if it's really a bug, I haven't used the comments feature too much.
Anyways if I add a comment to a server in the server page, it'll be the same for every server (at least it is in the server page).
comment.png


Qdel: Remove Running Jobs¶
-
class
clusterweb.pbs.qdel.
QDel
[source]¶ Bases:
object
-
login
(address)[source]¶ Creates an SSH interface object with the address specified
Parameters: address (str) – Address or name for ssh to Returns: None Example: >>> q = Qsub(job,arg) >>> q.login('<IP_ADDRESS>')
-
purge
(job_id)[source]¶ Forcibly purge the job from the server. This should only be used if a running job will not exit because its allocated nodes are unreachable. The admin should make every attempt at resolving the problem on the nodes. If a job’s mother superior recovers after purging the job, any epilogue scripts may still run. This option is only available to a batch operator or the batch administrator.
Parameters: address (str) – Address or name for ssh to Returns: None Example: >>> q = Qsub(job,arg) >>> q.login('<IP_ADDRESS>')
-
rm
(job_id, flags=[])[source]¶ Creates an SSH interface object with the address specified
Parameters: address (str) – Address or name for ssh to Returns: None Example: >>> q = Qsub(job,arg) >>> q.login('<IP_ADDRESS>')
-
rm_a
(job_id)[source]¶ Request the job(s) be deleted asynchronously, which for a Running job means that the reply will return before the MOM is requested to delete the job.
Parameters: address (str) – Address or name for ssh to Returns: None Example: >>> q = Qsub(job,arg) >>> q.login('<IP_ADDRESS>')
-
rm_all
()[source]¶ Creates an SSH interface object with the address specified
Parameters: address (str) – Address or name for ssh to Returns: None Example: >>> q = Qsub(job,arg) >>> q.login('<IP_ADDRESS>')
-
rm_delay
(job_id, delay)[source]¶ Specify the delay between the sending of the SIGTERM and SIGKILL signals. The argument delay specifies a unsigned integer number of seconds.
Parameters: address (str) – Address or name for ssh to Returns: None Example: >>> q = Qsub(job,arg) >>> q.login('<IP_ADDRESS>')
-
rm_message
(job_id, message)[source]¶ Creates an SSH interface object with the address specified
Parameters: address (str) – Address or name for ssh to Returns: None Example: >>> q = Qsub(job,arg) >>> q.login('<IP_ADDRESS>')
-
rm_range
(id_range)[source]¶ The array_range argument is an integer id or a range of integers. Multiple ids or id ranges can be combined in a comma delimted list (examples: -t 1-100 or -t 1,10,50-100).
The command acts on the array (or specified range of the array) just as it would on an individual job.
Parameters: address (str) – Address or name for ssh to Returns: None Example: >>> q = Qsub(job,arg) >>> q.login('<IP_ADDRESS>')
-


arrow_back
Settings
Authentication
Your JWT Token...
visibility
You can find it under
My Account
Keybindings
Skip alert:
Key...
Skip song:
Key...
Show info about keybindings


Name : Gordon Buay Friends:4997 City : Washington,DC
Name:Michael Nyuonmakuach Jr. Friends:734
Friends may see:212 City:Toowoomba Group:Dinka-Jieng Comedians worldwide
Name:Madit Benjamin Deng Friends:1364
Friends may see:394 City:Perth Group:Dinka-Jieng Comedians worldwide SOUTH SUDANESE YOUTH IN SUPPORT OF SPLA
Name:Ajok John Akot Kon Friends:310
Friends may see:90 City:Washington,DC
Name:Athiang Kiir Kuel Friends:147
Friends may see:42 City:Wahington,DC
Name:Chol Longar Madut Friends:2195
Friends may see:634 City:Atlanta
Name:Delo Majok Friends:238
Friends may see:69 City:Kampala Group:Dinka-Jieng Comedians worldwide The South Sudanese Lost Boys & Girls Association
Name:Delta Killo Friends:35
Friends may see:10 City:Juba
Name:Peter Pamiir Friends:224
Friends may see:65 City:Calgary
Name:Dau Monyluak Dau Friends:1670
Friends may see:483 City:Kampala Group:SOUTH SUDANESE PEACE ADVOCATES SOUTH SUDAN COMEDY CONTEST IN USA Dinka-Jieng Comedians worldwide SOUTH SUDANESE YOUTH IN SUPPORT OF SPLA I Support President kiir
Name:Gabriel Bol Friends:372
Friends may see:108 City:Juba
Name:Juer Mawien Friends:201
Friends may see:58 City:Boston
Name:Bol Majok Friends:713
Friends may see:206 City:Olathe Group:SOUTH SUDAN COMEDY CONTEST IN USA
Name:Riak Riak Friends:1780
Friends may see:514 City:Melbourne
Name:Abraham Manyang Friends:829
Friends may see:240 City:Juba
Name:Zack Gbaryou Friends:1323
Friends may see:382 City:Perth
Name:David Kuot Friends:424
Friends may see:123 City:Calgary
Name:Bol Kuei Friends:62
Friends may see:18 City:Sioux Falls
Name:Magok Gaany Friends:4468
Friends may see:1291 City:Lincoln
Name:Jualjok Wel Aruor Friends:161
Friends may see:47 City:Sydney
Name:Tong Aloongyit Friends:586
Friends may see:169 City:Sydney Group: South Sudan Political.Unity Love and Peace SOUTH SUDAN TALK NOW
Name:Makur Mading Friends:2468
Friends may see:713 City:Juba
Name:يتر دينق لوال Friends:2546
Friends may see:736 City:Juba
Name:Teresa Awein Valentino Akol Friends:597
Friends may see:173 City:Uithoorn
Name:Dominic K. Mayor Friends:451
Friends may see:130 City:Juba
Name:Madut Bol Friends:457
Friends may see:132 City:Nairobi
Name:Dakbai Akech Ater Friends:756
Friends may see:218 City:Juba
Name:Gorge Riak Friends:142
Friends may see:41 City:Shepparton
Name:Majur Makeny Friends:311
Friends may see:90 Country:Kenya
Name:Wik Kir Deng Friends:750
Friends may see:217 City:Melbourne
Name:John Aguek Friends:1920
Friends may see:555 City:Cairo
Name:Daniel Ajak Friends:4999
Friends may see:1445 City:Juba
Name:Deng Wol Friends:808
Friends may see:234 Country:US Group:Dinka-Jieng Comedians worldwide
Name:Omot Ojullo Friends:479
Friends may see:138 City:Calgary, Alberta
Name:Deng Atem Friends:3983
Friends may see:1351 City:Sydney Group:SOUTH SUDANESE PEACE ADVOCATES The South Sudanese Lost Boys & Girls Association
Name:Tingmeer Makuei Friends:4994
Friends may see:1443 City:Juba Group:SOUTH SUDANESE PEACE ADVOCATES SOUTH SUDAN COMEDY CONTEST IN USA South Sudan Political.Unity Love and Peace Dinka-Jieng Comedians worldwide SOUTH SUDANESE YOUTH IN SUPPORT OF SPLA I Support President kiir
Name:Madut Kachuol Friends:380
Friends may see:110 City:Khartoum
Name:Deng Gatluak Friends:145
Friends may see:42 City:Wau
Name:Moryuai Yier Friends:244
Friends may see:71 City:Khartoum
Name:Mut Kuol Friends:354
Friends may see:102 City:Juba


Creativity brings imagination into reality. We design website that can fullfil your requirement. We would love to discuss your business goals.
Creating affordable websites to build long lasting relationship with customers.
Who we are, our clients and specialties.
Waiting for response
<EMAIL_ADDRESS>Cubepeer, Inc.


Darth Plagueis was a Dark Lord of the Sith, so powerful and so wise he could use the
Force to influence the midichlorians to create life… He had such a knowledge of the dark
side, he could even keep the ones he cared about from dying.
CIS Username
jmqb44
Members Area
We're on a mission to expand our gallery collection.
Sign in here and you'll be able to add your very own pictures to the our gallery for the world to
see.
Once you've signed in, navigate to the gallery and add your images.
What you waiting for? Get a camera and strut your stuff model!


|
MRSL JPS3D Library
1.1
An implementaion of Jump Point Search on 3D voxel map
|
Abstract base for planning. More...
#include <jps_planner.h>
Public Member Functions | |
| JPSPlanner (bool verbose=false) | |
| Simple constructor. More... | |
| void | setMapUtil (const std::shared_ptr< JPS::MapUtil< Dim >> &map_util) |
| Set map util for collistion checking. | |
| int | status () |
| Status of the planner. More... | |
| vec_Vecf< Dim > | getPath () |
| Get the modified path. | |
| vec_Vecf< Dim > | getRawPath () |
| Get the raw path. | |
| vec_Vecf< Dim > | removeLinePts (const vec_Vecf< Dim > &path) |
| remove redundant points on the same line | |
| vec_Vecf< Dim > | removeCornerPts (const vec_Vecf< Dim > &path) |
| Remove some corner waypoints. | |
| void | updateMap () |
| Must be called before run the planning thread. | |
| bool | plan (const Vecf< Dim > &start, const Vecf< Dim > &goal, decimal_t eps=1, bool use_jps=true) |
| Planning function. | |
| vec_Vecf< Dim > | getOpenSet () const |
| Get the nodes in open set. | |
| vec_Vecf< Dim > | getCloseSet () const |
| Get the nodes in close set. | |
| vec_Vecf< Dim > | getAllSet () const |
| Get all the nodes. | |
Protected Attributes | |
| std::shared_ptr< JPS::MapUtil< Dim > > | map_util_ |
| Assume using 3D voxel map for all 2d and 3d planning. | |
| std::shared_ptr< JPS::GraphSearch > | graph_search_ |
| The planner. | |
| vec_Vecf< Dim > | raw_path_ |
| Raw path from planner. | |
| vec_Vecf< Dim > | path_ |
| Modified path for future usage. | |
| int | status_ = 0 |
| Flag indicating the success of planning. | |
| bool | planner_verbose_ |
| Enabled for printing info. | |
| std::vector< char > | cmap_ |
| 1-D map array | |
Abstract base for planning.
| JPSPlanner< Dim >::JPSPlanner | ( | bool | verbose = false | ) |
Simple constructor.
| verbose | enable debug mode |
| int JPSPlanner< Dim >::status | ( | ) |
Status of the planner.
0 — exit normally; -1 — no path found; 1, 2 — start or goal is not free.


--- layout: index title: Home ---
You have found Rishi Sareen's blog – Welcome!
See About to learn more.
Explore the Archives for all that I have to offer here – books review, triathlon race reports, my training approach / how-to, recipes, and more!
Please sign up to my mailing list where you will get an update around once a week on any new interesting content I have added to my website. You can sign up here
If you like, you can follow me on instagram @rishi.sareen.


|
||||||||||
| PREV NEXT | FRAMES NO FRAMES |
| Classes in backtype.storm.topology used by backtype.storm.clojure | |
|---|---|
| IComponent
Common methods for all possible components in a topology. |
|
| IRichBolt
When writing topologies using Java, IRichBolt and IRichSpout are the main interfaces
to use to implement components of the topology. |
|
| IRichSpout
When writing topologies using Java, IRichBolt and IRichSpout are the main interfaces
to use to implement components of the topology. |
|
| OutputFieldsDeclarer
|
| Classes in backtype.storm.topology used by backtype.storm.coordination | |
|---|---|
| BoltDeclarer
|
|
| IBasicBolt
|
|
| IComponent
Common methods for all possible components in a topology. |
|
| IRichBolt
When writing topologies using Java, IRichBolt and IRichSpout are the main interfaces
to use to implement components of the topology. |
|
| OutputFieldsDeclarer
|
|
| TopologyBuilder
TopologyBuilder exposes the Java API for specifying a topology for Storm to execute. |
| Classes in backtype.storm.topology used by backtype.storm.drpc | |
|---|---|
| BasicOutputCollector
|
|
| ComponentConfigurationDeclarer
|
|
| IBasicBolt
|
|
| IComponent
Common methods for all possible components in a topology. |
|
| IRichBolt
When writing topologies using Java, IRichBolt and IRichSpout are the main interfaces
to use to implement components of the topology. |
|
| IRichSpout
When writing topologies using Java, IRichBolt and IRichSpout are the main interfaces
to use to implement components of the topology. |
|
| OutputFieldsDeclarer
|
| Classes in backtype.storm.topology used by backtype.storm.testing | |
|---|---|
| BasicOutputCollector
|
|
| IBasicBolt
|
|
| IComponent
Common methods for all possible components in a topology. |
|
| IRichBolt
When writing topologies using Java, IRichBolt and IRichSpout are the main interfaces
to use to implement components of the topology. |
|
| IRichSpout
When writing topologies using Java, IRichBolt and IRichSpout are the main interfaces
to use to implement components of the topology. |
|
| OutputFieldsDeclarer
|
| Classes in backtype.storm.topology used by backtype.storm.topology | |
|---|---|
| BaseConfigurationDeclarer
|
|
| BasicOutputCollector
|
|
| BoltDeclarer
|
|
| ComponentConfigurationDeclarer
|
|
| FailedException
|
|
| IBasicBolt
|
|
| IBasicOutputCollector
|
|
| IComponent
Common methods for all possible components in a topology. |
|
| InputDeclarer
|
|
| IRichBolt
When writing topologies using Java, IRichBolt and IRichSpout are the main interfaces
to use to implement components of the topology. |
|
| IRichSpout
When writing topologies using Java, IRichBolt and IRichSpout are the main interfaces
to use to implement components of the topology. |
|
| IRichStateSpout
|
|
| OutputFieldsDeclarer
|
|
| SpoutDeclarer
|
|
| TopologyBuilder.ConfigGetter
|
| Classes in backtype.storm.topology used by backtype.storm.topology.base | |
|---|---|
| IBasicBolt
|
|
| IComponent
Common methods for all possible components in a topology. |
|
| IRichBolt
When writing topologies using Java, IRichBolt and IRichSpout are the main interfaces
to use to implement components of the topology. |
|
| IRichSpout
When writing topologies using Java, IRichBolt and IRichSpout are the main interfaces
to use to implement components of the topology. |
| Classes in backtype.storm.topology used by backtype.storm.transactional | |
|---|---|
| BoltDeclarer
|
|
| IBasicBolt
|
|
| IComponent
Common methods for all possible components in a topology. |
|
| IRichBolt
When writing topologies using Java, IRichBolt and IRichSpout are the main interfaces
to use to implement components of the topology. |
|
| IRichSpout
When writing topologies using Java, IRichBolt and IRichSpout are the main interfaces
to use to implement components of the topology. |
|
| OutputFieldsDeclarer
|
|
| SpoutDeclarer
|
|
| TopologyBuilder
TopologyBuilder exposes the Java API for specifying a topology for Storm to execute. |
| Classes in backtype.storm.topology used by backtype.storm.transactional.partitioned | |
|---|---|
| IComponent
Common methods for all possible components in a topology. |
|
| OutputFieldsDeclarer
|
| Classes in backtype.storm.topology used by storm.trident | |
|---|---|
| IRichSpout
When writing topologies using Java, IRichBolt and IRichSpout are the main interfaces
to use to implement components of the topology. |
| Classes in backtype.storm.topology used by storm.trident.planner | |
|---|---|
| IComponent
Common methods for all possible components in a topology. |
|
| OutputFieldsDeclarer
|
| Classes in backtype.storm.topology used by storm.trident.spout | |
|---|---|
| BasicOutputCollector
|
|
| IBasicBolt
|
|
| IComponent
Common methods for all possible components in a topology. |
|
| IRichSpout
When writing topologies using Java, IRichBolt and IRichSpout are the main interfaces
to use to implement components of the topology. |
|
| OutputFieldsDeclarer
|
| Classes in backtype.storm.topology used by storm.trident.topology | |
|---|---|
| BoltDeclarer
|
|
| IComponent
Common methods for all possible components in a topology. |
|
| IRichBolt
When writing topologies using Java, IRichBolt and IRichSpout are the main interfaces
to use to implement components of the topology. |
|
| IRichSpout
When writing topologies using Java, IRichBolt and IRichSpout are the main interfaces
to use to implement components of the topology. |
|
| OutputFieldsDeclarer
|
|
| SpoutDeclarer
|
| Classes in backtype.storm.topology used by storm.trident.util | |
|---|---|
| IComponent
Common methods for all possible components in a topology. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES |


Desired YSF Reflector Number (5 digits):
It may take several seconds to calculate a response. Please wait for your browser to update


Version 0.1.6¶ ↑
-
Remove:
-
Alexa::IntentHandler::Base#show_device_address_permission_consent_card!
andAlexa::IntentHandler::Base#show_device_address_permission_consent_card?
-
default repsonses will no longer render device address permission cards.
-
default repsonses will no longer render device address permission cards.
-
-
Add:
-
Abilty to render a custom template in a response with
Alexa::Response#with(template: )
. See: github.com/tsrivishnu/alexa-rails/issues/9
Version 0.1.5¶ ↑
-
Remove:
-
Alexa::Request#language_code
andAlexa::Request#country_code
.-
Move them to
Alexa::Context
. -
Move them to
Alexa::Context
.
-
-
Add:
-
Alexa::Context#language_code
andAlexa::Context#country_code
.
Version 0.1.4¶ ↑
-
Add:
-
Alexa::Request#language_code
andAlexa::Request#country_code
.
Version 0.1.3¶ ↑
-
Fixes:
-
Issue: github.com/tsrivishnu/alexa-rails/issues/6:
Alexa::Request#locale
was modifying the locale string instead of returning the string from request as is. This has now been fixed in github.com/tsrivishnu/alexa-rails/commit/18f3c3878b9923a8df229bef34b1d2a9319c0dc0.
Version 0.1.2¶ ↑
-
Add configuration option to set default card title
Change rails dependancy to >= 5.0


(c) Software Lab. Alexander Burger
This document describes how to call C functions in shared object files
(libraries) from PicoLisp, using the built-in native
function - possibly with the help of
the struct
and lisp
functions. It applies only to the 64-bit
version of PicoLisp.
native
calls a C function in a shared library. It tries to
The direct return value of native
is the Lisp representation of
the C function's return value. Further values, returned by reference from the C
function, are available in Lisp variables (symbol values).
struct
is a helper function, which can be used to manipulate C
data structures in memory. It may take a scalar (a numeric representation of a C
value) to convert it to a Lisp item, or (more typically) a pointer to a memory
area to build and extract data structures. lisp
allows you to
install callback functions, callable from C code, written in Lisp.
In combination, these three functions can interface PicoLisp to almost any C function.
The above steps are fully dynamic; native
doesn't have (and
doesn't require) a priory knowledge about the library, the function or the
involved data. No need to write any glue code, interfaces or include files. All
functions can even be called interactively from the REPL.
The arguments to native
are
The simplest form is a call to a function without return value and without arguments. If we assume a library "lib.so", containing a function with the prototype
void fun(void);
then we can call it as
(native "lib.so" "fun")
The first argument to native
specifies the library. It is either
the name of a library (a symbol), or the handle of a previously
found library (a number).
As a special case, a transient symbol "@"
can be passed for the
library name. It then refers to the current main program (instead of an external
library), and can be used for standard functions like "malloc"
or
"printf"
.
native
uses dlopen(3)
internally to find and open
the library, and to obtain the handle. If the name contains a slash ('/'), then
it is interpreted as a (relative or absolute) pathname. Otherwise, the dynamic
linker searches for the library according to the system's environment and
directories. See the man page of dlopen(3)
for further details.
If called with a symbolic argument, native
automatically caches
the handle of the found library in the value of that symbol. The most natural
way is to pass the library name as a transient
symbol ("lib.so"
above): The initial value of a transient symbol is
that symbol itself, so that native
receives the library name upon
the first call. After successfully finding and opening the library,
native
stores the handle of that library in the value of the passed
symbol ("lib.so"
). As native
evaluates its arguments
in the normal way, subsequent calls within the same transient scope will receive
the numeric value (the handle), and don't need to open and search the library
again.
The same rules applies to the second argument, the function. When called with
a symbol, native
stores the function pointer in its value, so that
subsequent calls evaluate to that pointer, and native
can directly
jump to the function.
native
uses dlsym(3)
internally to obtain the
function pointer. See the man page of dlsym(3)
for further details.
In most cases a program will call more than one function from a given
library. If we keep the code within the same transient scope (i.e. in the same
source file, and not separated by the ====
function), each library will be opened -
and each function searched - only once.
(native "lib.so" "fun1")
(native "lib.so" "fun2")
(native "lib.so" "fun3")
After "fun1"
was called, "lib.so"
will be open, and
won't be re-opened for "fun2"
and "fun3"
. Consider
the definition of helper functions:
(de fun1 ()
(native "lib.so" "fun1") )
(de fun2 ()
(native "lib.so" "fun2") )
(de fun3 ()
(native "lib.so" "fun3") )
After any one of fun1
, fun2
or fun3
was called, the symbol "lib.so"
will hold the library handle. And
each function "fun1"
, "fun2"
and "fun3"
will be searched only when called the first time.
Warning: It should be avoided to put more than one library into a single transient scope if there is a chance that two different functions with the same name will be called in two different libraries. Because of the function pointer caching, the second call would otherwise (wrongly) go to the first function.
The (optional) third argument to native
specifies the return
value. A C function can return many types of values, like integer or floating
point numbers, string pointers, or pointers to structures which in turn consist
of those types, and even other structures or pointers to structures.
native
tries to cover most of them.
As described in the result specification,
the third argument should consist of a pattern which tells native
how to extract the proper value.
In the simplest case, the result specification is NIL
like in
the examples so far. This means that either the C function returns
void
, or that we are not interested in the value. The return value
of native
will be NIL
in that case.
If the result specification is one of the symbols B
,
I
or N
, an integer number is returned, by interpreting
the result as a char
(8 bit unsigned byte), int
(32
bit signed integer), or long
number (64 bit signed integer),
respectively. Other (signed or unsigned numbers, and of different sizes) can be
produced from these types with logical and arithmetic operations if necessary.
If the result specification is the symbol C
, the result is
interpreted as a 16 bit number, and a single-char transient symbol (string) is
returned.
A specification of S
tells native
to interpret the
result as a pointer to a C string (null terminated), and to return a transient
symbol (string).
If the result specification is a number, it will be used as a scale to
convert a returned double
(if the number is positive) or
float
(if the number is negative) to a scaled fixpoint number.
Examples for function calls, with their corresponding C prototypes:
(native "lib.so" "fun" 'I) # int fun(void);
(native "lib.so" "fun" 'N) # long fun(void);
(native "lib.so" "fun" 'N) # void *fun(void);
(native "lib.so" "fun" 'S) # char *fun(void);
(native "lib.so" "fun" 1.0) # double fun(void);
If the result specification is a list, it means that the C function returned a pointer to an array, or an arbitrary memory structure. The specification list should then consist of either the above primitive specifications (symbols or numbers), or of cons pairs of a primitive specification and a repeat count, to denote arrays of the given type.
Examples for function calls, with their corresponding pseudo C prototypes:
(native "lib.so" "fun" '(I . 8)) # int *fun(void); // 8 integers
(native "lib.so" "fun" '(B . 16)) # unsigned char *fun(void); // 16 bytes
(native "lib.so" "fun" '(I I)) # struct {int i; int j;} *fun(void);
(native "lib.so" "fun" '(I . 4)) # struct {int i[4];} *fun(void);
(native "lib.so" "fun" '(I (B . 4))) # struct {
# int i;
# unsigned char c[4];
# } *fun(void);
(native "lib.so" "fun" # struct {
'(((B . 4) I) (S . 12) (N . 8)) ) # struct {unsigned char c[4]; int i;}
# char *names[12];
# long num[8];
# } *fun(void);
If a returned structure has an element which is a pointer to some
other structure (i.e. not an embedded structure like in the last example above),
this pointer must be first obtained with a N
pattern, which can
then be passed to struct
for further
extraction.
The (optional) fourth and following arguments to native
specify
the arguments to the C function.
Integer arguments (up to 64 bits, signed or unsigned char
,
short
, int
or long
) can be passed as they
are: As numbers.
(native "lib.so" "fun" NIL 123) # void fun(int);
(native "lib.so" "fun" NIL 1 2 3) # void fun(int, long, short);
String arguments can be specified as symbols. native
allocates
memory for each string (with strdup(3)
), passes the pointer to the
C function, and releases the memory (with free(3)
) when done.
(native "lib.so" "fun" NIL "abc") # void fun(char*);
(native "lib.so" "fun" NIL 3 "def") # void fun(int, char*);
Note that the allocated string memory is released after the return
value is extracted. This allows a C function to return the argument string
pointer, perhaps after modifying the data in-place, and receive the new string
as the return value (with the S
specification).
(native "lib.so" "fun" 'S "abc") # char *fun(char*);
Also note that specifying NIL
as an argument passes an empty
string ("", which also reads as NIL
in PicoLisp) to the C function.
Physically, this is a pointer to a NULL-byte, and is not a NULL-pointer.
Be sure to pass 0
(the number zero) if a NULL-pointer is desired.
Floating point arguments are specified as cons pairs, where the value is in
the CAR, and the CDR holds the fixpoint scale. If the scale is positive, the
number is passed as a double
, otherwise as a float
.
(native "lib.so" "fun" NIL # void fun(double, float);
(12.3 . 1.0) (4.56 . -1.0) )
Composite arguments are specified as nested list structures.
native
allocates memory for each array or structure (with
malloc(3)
), passes the pointer to the C function, and releases the
memory (with free(3)
) when done.
This implies that such an argument can be both an input and an output value to a C function (pass by reference).
The CAR of the argument specification can be NIL
(then it is an
input-only argument). Otherwise, it should be a variable which receives the
returned structure data.
The CADR of the argument specification must be a cons pair with the total size of the structure in its CAR. The CDR is ignored for input-only arguments, and should contain a result specification for the output value to be stored in the variable.
For example, a minimal case is a function that takes an integer reference, and stores the number '123' in that location:
void fun(int *i) {
*i = 123;
}
We call native
with a variable X
in the CAR of the
argument specification, a size of 4 (i.e. sizeof(int)
), and
I
for the result specification. The stored value is then available
in the variable X
:
: (native "lib.so" "fun" NIL '(X (4 . I)))
-> NIL
: X
-> 123
The rest (CDDR) of the argument specification may contain initialization data, if the C function expects input values in the structure. It should be a list of initialization items, optionally with a fill-byte value in the CDR of the last cell.
If there are no initialization items and just the final fill-byte, then the whole buffer is filled with that byte. For example, to pass a buffer of 20 bytes, initialized to zero:
: (native "lib.so" "fun" NIL '(NIL (20) . 0))
A buffer of 20 bytes, with the first 4 bytes initialized to 1, 2, 3, and 4, and the rest filled with zero:
: (native "lib.so" "fun" NIL '(NIL (20) 1 2 3 4 . 0))
and the same, where the buffer contents are returned as a list of bytes in
the variable X
:
: (native "lib.so" "fun" NIL '(X (20 B . 20) 1 2 3 4 . 0))
For a more extensive example, let's use the following definitions:
typedef struct value {
int x, y;
double a, b, c;
int z;
char nm[4];
} value;
void fun(value *val) {
printf("%d %d\n", val->x, val->y);
val->x = 3;
val->y = 4;
strcpy(val->nm, "OK");
}
We call this function with a structure of 40 bytes, requesting the returned
data in V
, with two integers (I . 2)
, three doubles
(100 . 3)
with a scale of 2 (1.0 = 100), another integer
I
and four characters (C . 4)
. If the structure gets
initialized with two integers 7 and 6, three doubles 0.11, 0.22 and 0.33, and
another integer 5 while the rest of the 40 bytes is cleared to zero
: (native "lib.so" "fun" NIL
'(V (40 (I . 2) (100 . 3) I (C . 4)) -7 -6 (100 11 22 33) -5 . 0) )
then it will print the integers 7 and 6, and V
will contain the
returned list
((3 4) (11 22 33) 5 ("O" "K" NIL NIL))
i.e. the original integer values 7 and 6 replaced with 3 and 4.
Note that the allocated structure memory is released after the return value is extracted. This allows a C function to return the argument structure pointer, perhaps after modifying the data in-place, and receive the new structure as the return value - instead of (or even in addition to) to the direct return via the argument reference.
The preceding Arguments section mentions that
native
implicitly allocates and releases memory for strings, arrays
and structures.
Technically, this mimics automatic variables in C.
For a simple example, let's assume that we want to call read(2)
directly, to fetch a 4-byte integer from a given file descriptor. This could be
done with the following C function:
int read4bytes(int fd) {
char buf[4];
read(fd, buf, 4);
return *(int*)buf;
}
buf
is an automatic variable, allocated on the stack, which
disappears when the function returns. A corresponding native
call
would be:
(native "@" "read" 'N Fd '(Buf (4 . I)) 4)
The structure argument (Buf (4 . I))
says that a space of 4
bytes should be allocated and passed to read
, then an integer
I
returned in the variable Buf
(the return value of
native
itself is the number returned by read
). The
memory space is released after that.
(Note that we use "@"
for the library here, as read
resides in the main program.)
Instead of a single integer, we might want a list of four bytes to be
returned from native
:
(native "@" "read" 'N Fd '(Buf (4 B . 4)) 4)
The difference is that we wrote (B . 4)
(a list of 4 bytes)
instead of I
(a single integer) for the result specification (see the Arrays and Structures section).
Let's see what happens if we extend this example. We'll write the four bytes to another file descriptor, after reading them from the first one:
void copy4bytes(int fd1, int fd2) {
char buf[4];
read(fd1, buf, 4);
write(fd2, buf, 4);
}
Again, buf
is an automatic variable. It is passed to both
read
and write
. A direct translation would be:
(native "@" "read" 'N Fd '(Buf (4 B . 4)) 4)
(native "@" "write" 'N Fd (cons NIL (4) Buf) 4)
This work as expected. read
returns a list of four bytes in
Buf
. The call to cons
builds the structure
(NIL (4) 1 2 3 4)
i.e. no return variable, a four-byte memory area, filled with the four bytes
(assuming that read
returned 1, 2, 3 and 4). Then this structure is
passed to write
.
But: This solution induces quite some overhead. The four-byte buffer is
allocated before the call to read
and released after that, then
allocated and released again for write
. Also, the bytes are
converted to a list to be stored in Buf
, then that list is extended
for the structure argument to write
, and converted again back to
the raw byte array. The data in the list itself are never used.
If the above operation is to be used more than once, it is better to allocate the buffer manually, use it for both reading and writing, and then release it. This also avoids all intermediate list conversions.
(let Buf (native "@" "malloc" 'N 4) # Allocate memory
(native "@" "read" 'N Fd Buf 4) # (Possibly repeat this several times)
(native "@" "write" 'N Fd Buf 4)
(native "@" "free" NIL Buf) ) # Release memory
For a more typical example, we might call the Fast Fourier Transform using the library from the FFTW package. With the example code for calculating Complex One-Dimensional DFTs:
#include <fftw3.h>
...
{
fftw_complex *in, *out;
fftw_plan p;
...
in = (fftw_complex*) fftw_malloc(sizeof(fftw_complex) * N);
out = (fftw_complex*) fftw_malloc(sizeof(fftw_complex) * N);
p = fftw_plan_dft_1d(N, in, out, FFTW_FORWARD, FFTW_ESTIMATE);
...
fftw_execute(p); /* repeat as needed */
...
fftw_destroy_plan(p);
fftw_free(in); fftw_free(out);
}
we can build the following equivalent:
(load<EMAIL_ADDRESS>(de FFTW_FORWARD . -1)
(de FFTW_ESTIMATE . 64)
(de fft (Lst)
(let
(Len (length Lst)
In (native "libfftw3.so" "fftw_malloc" 'N (* Len 16))
Out (native "libfftw3.so" "fftw_malloc" 'N (* Len 16))
P (native "libfftw3.so" "fftw_plan_dft_1d" 'N
Len In Out FFTW_FORWARD FFTW_ESTIMATE ) )
(struct In NIL (cons 1.0 (apply append Lst)))
(native "libfftw3.so" "fftw_execute" NIL P)
(prog1
(struct Out (make (do Len (link (1.0 . 2)))))
(native "libfftw3.so" "fftw_destroy_plan" NIL P)
(native "libfftw3.so" "fftw_free" NIL Out)
(native "libfftw3.so" "fftw_free" NIL In) ) ) )
This assumes that the argument list Lst
is passed as a list
of complex numbers, each as a list of two numbers for the real and imaginary
part, like
(fft '((1.0 0) (1.0 0) (1.0 0) (1.0 0) (0 0) (0 0) (0 0) (0 0)))
The above translation to Lisp is quite straightforward. After the two buffers
are allocated, and a plan is created, struct
is called to store the argument list
in the In
structure as a list of double numbers (according to the
1.0
initialization item). Then
fftw_execute
is called, and struct
is called again to
retrieve the result from Out
and return it from fft
via the prog1
. Finally, all memory is
released.
If such allocated data (strings, arrays or structures passed to
native
) are constant during the lifetime of a program, it makes
sense to allocate them only once, before their first use. A typical candidate is
the format string of a printf
call. Consider a function which
prints a floating point number in scientific notation:
(load<EMAIL_ADDRESS>: (de prf (Flt)
(native "@" "printf" NIL "%e^J" (cons Flt 1.0)) )
-> prf
: (prf (exp 12.3))
2.196960e+05
As we know that the format string "%e^J"
will be converted from
a Lisp symbol to a C string with strdup
- and then thrown away - on
each call to prf
, we might as well perform a little optimization
and delegate this conversion to the program load time:
: (de prf (Flt)
(native "@" "printf" NIL `(native "@" "strdup" 'N "%e^J") (cons Flt 1.0)) )
-> prf
: (prf (exp 12.3))
2.196960e+05
If we look at the prf
function, we see that it now contains the
pointer to the allocated string memory:
: (pp 'prf)
(de prf (Flt)
(native "@" "printf" NIL 24662032 (cons Flt 1000000)) )
-> prf
This pointer will be used by printf
directly, without any
further conversion or memory management.
Sometimes it is necessary to do the reverse: Call Lisp code from C code. This can be done in two ways - with certain limitations.
The first way is actually not a callback in the strict sense. It just allows to call a Lisp function with a given name.
The limitation is that this function can accept only maximally five numeric arguments, and returns a number.
The prerequisite is, of course, that you have access to the C source code. To use it from C, insert the following prototype somewhere before the first call:
long lisp(char*,long,long,long,long,long);
Then you can call lisp
from C:
long n = lisp("myLispFun", a, b, 0, 0, 0);
The first argument should be the name of a Lisp function (built-in, or defined in Lisp). It is searched for at runtime, so it doesn't need to exist at the time the C library is compiled or loaded.
Be sure to pass dummy arguments (e.g. zero) if your function expects less than five arguments, to keep the C compiler happy.
This mechanism can generally be used for any type of argument and return
value (not only long
). On the C side, appropriate casts or an
adapted prototype should be used. It is then up to the called Lisp function to
prepare and/or extract the proper data with struct
and memory management operations.
This is a true callback
mechanism. It uses the Lisp-level function lisp
(not to confuse with the C-level function
with the same name in the previous section). No C source code access is
required.
lisp
returns a function pointer, which can be passed to C
functions via native
. When this function pointer is dereferenced
and called from the C code, the corresponding Lisp function is invoked. Here,
too, only five numeric arguments and a numeric return value can be used, and
other data types must be handled by the Lisp function with struct
and memory management operations.
Callbacks are often used in user interface libraries, to handle key-, mouse-
and other events. Examples can be found in<EMAIL_ADDRESS>. The
following function mouseFunc
takes a Lisp function, installs it
under the tag mouseFunc
(any other tag would be all right too) as a
callback, and passes the resulting function pointer to the OpenGL
glutMouseFunc()
function, to set it as a callback for the current
window:
(de mouseFunc (Fun)
(native `*GlutLib "glutMouseFunc" NIL (lisp 'mouseFunc Fun)) )
(The global *GlutLib
holds the library
"/usr/lib/libglut.so"
. The backquote (`
) is important
here, so that the transient symbol with the library name (and not the global
*GlutLib
) is evaluated by native
, resulting in the
proper library handle at runtime).
A program using OpenGL may then use mouseFunc
to install a
function
(mouseFunc
'((Btn State X Y)
(do-something-with Btn State X Y) ) )
so that future clicks into the window will pass the button, state and coordinates to that function.


Timed Multitasking Documentation
Ptolemy II Documentation
Jie Liu and Edward A. Lee, "
Timed Multitasking for Real-Time Embedded Software
," Invited paper in
IEEE Control System Magazine
, special issue on "Advances in Software Enabled Control", January 31, 2002.


Cross Platform Development (CMP3035M)
Designer, Developer, Director & Senior Lecturer
We will cover
Module overview refresher
Learning outcomes
Assessment
Building to expo repo
CRG
Student examples
Bits
Design => Focus on user experience
Develop => Using cross-platform tools
Reflect => On the whole process
For this assessment, you will need to design and develop a mobile app and report on the iterative process of designing and developing it.
The app must revolve around a “mobile moment”.
For something to qualify as a mobile moment, it should not be possible / desirable to do the same activity with a laptop / desktop computer. Appropriate mobile moments could be (but are not limited to): commuting, waking up, being in a new city, hiking, sitting in a lecture, … This requirement has two main components: design and development.
The app should showcase a thorough understanding of mobile design considerations (e.g. user interaction, user experience) and follow an iterative development approach. Furthermore, it is important that the app goes beyond simplistic HTML pages but instead makes use of more advanced features that are a meaningful response to the mobile moment.
Week 1: Intro to CPD & React Native (expo and snack)
Week 2: Mobile Moments / Assessment
Week 3: Features overview
Week 4: UX, User scenarios and requirements
Week 5: Introduction to React / Navigation/ mapping arrays / Components and Styles (NPM and expo)
Week 6: Geo-location / Google Maps api/ Async (persistent) Storage / passing props to state
Week 7: Camera, Saving images to local file, interface, (optional face detection) and State
Week 8: CRUD (Create, Read, Update, Delete) using Firebase nosql DB/ upload image as base64 / Storing inputs in State
Week 9: Using Fetch method to consume a Rest service (Spotify) / Oauth / traversing json, sound instance / FlatList Component
Week 10: Evaluation
Week 11: Dark Patterns
Easter
Week 12: Module Wrap Up / submission
Assessment support
Is to use the workshops appropriately and create a meaningful mobile experience that extends what we have covered so far.
[LO1] Critically assess the implications and constraints of native mobile development in comparison to platform agnostic approaches.
[LO2] Design, prototype, and evaluate mobile applications using hi-fidelity approaches, based on well-developed user scenarios.
[LO3] Develop cross-platform mobile applications utilizing industry standard tools and technologies.
[mcomp]
[LO4] Critically evaluate current research in cross-platform web and hybrid applications. [MComp]
Assessment weighting
Note the assessment criteria was slightly different last year
Guide will be sent out later
In support of your written report, you also need to submit your project files and a video. (NO Binaries - publish) This must be in the form of a zip archive.
Remember to link your report to the "5 planes of UX" set out in Khaleds Lecture
1. Project files: Include all files necessary to build your app. This includes all code and media files.
2. Publish to expo: You must publish your app to expo repository (covered later) and include that link in your report
3. Video: Your video needs to show your app running on at least one device (Emulator is allowed). Your video should be a maximum of 2 minutes long and showcase the core functionality of the app. You are free to use voice over or subtitles for explanations. Your video file must not be larger than 100MB and in MP4.
Some tutorial links
Reducing video size
Use a Tripod!
Filming yourself using a mobile device with a device never ends well!
Just check that any packages you use is compatible with the latest expo cli
If you build with a previous expo cli, make it clear which version is required in your report.
Assessment Support
This is your last chance for timetabled support before submission
This session is for minor enhancements - and will probably be busy (Based on current circumstances if enough of you want to go through another workshop I can do so)


Please Enter Your Garden Name:
Create Garden
Please use the dropdown fields below to select your 8 plants
Plant A
1
1
1
1
Plant B
Plant C
Plant D
Plant E
Plant F
Plant G
Create Garden


About Me
My name is Laury Ritter. I am currently a student in the Berkeley Extension Coding Boot Camp, where I am learning many valuable tools to help me in my future career as a Full Stack Developer. My current role as a cage supervisor with Mesquite Gaming has helped prepare me to be a leader.


Sweet Free Stuff
///////////////////////////////////////////
Free ASPCA
Posted: 22 Mar 2015 11:35 AM PDT
http://feedproxy.google.com/&edburner&utm_medium=email
Free ASPCA
The post Free ASPCA appeared first on
Sweet Free Stuff.
///////////////////////////////////////////
Free Sample of Cottonelle Wipes with CleanRipple Texture
Posted: 22 Mar 2015 06:00 AM PDT
http://feedproxy.google.com/&edburner&utm_medium=email
Free Sample of Cottonelle Wipes with CleanRipple Texture
The post Free Sample of Cottonelle Wipes with CleanRipple Texture appeared
first on Sweet Free Stuff.
///////////////////////////////////////////
Free Subscription to OK! Magazine
Posted: 21 Mar 2015 05:00 PM PDT
http://feedproxy.google.com/&edburner&utm_medium=email
Free Subscription to OK! Magazine
The post Free Subscription to OK! Magazine appeared first on Sweet Free
Stuff.
///////////////////////////////////////////
Free A Womans Place Is In The White House Sticker
Posted: 21 Mar 2015 01:00 PM PDT
http://feedproxy.google.com/&edburner&utm_medium=email
Free A Womans Place Is In The White House Sticker
The post Free A Womans Place Is In The White House Sticker appeared first
on Sweet Free Stuff.
///////////////////////////////////////////
Free Butterfly Body Liners Sample
Posted: 20 Mar 2015 10:00 PM PDT
http://feedproxy.google.com/&edburner&utm_medium=email
Free Butterfly Body Liners Sample
The post Free Butterfly Body Liners Sample appeared first on Sweet Free
Stuff.