Provides a solution for Marketplace payments where the business model requires splitting money between multiple sellers
More...
|
| static bool | Cancel (long id) |
| | Cancels a pending advanced payment More...
|
| |
| static bool | Cancel (long id, MPRequestOptions requestOptions) |
| | Cancels a pending advanced payment More...
|
| |
| static bool | DoCapture (long id) |
| | Capture the advanced payment More...
|
| |
| static bool | DoCapture (long id, MPRequestOptions requestOptions) |
| | Capture the advanced payment More...
|
| |
| static bool | UpdateReleaseDate (long advancedPaymentId, DateTime releaseDate) |
| | Update money release date for the sellers More...
|
| |
| static bool | UpdateReleaseDate (long advancedPaymentId, DateTime releaseDate, MPRequestOptions requestOptions) |
| | Update money release date for the sellers More...
|
| |
| static bool | UpdateReleaseDate (long advancedPaymentId, long disbursementId, DateTime releaseDate) |
| | Update money release date for the sellers More...
|
| |
| static bool | UpdateReleaseDate (long advancedPaymentId, long disbursementId, DateTime releaseDate, MPRequestOptions requestOptions) |
| | Update money release date for the sellers More...
|
| |
| static List< DisbursementRefund > | RefundAll (long advancedPaymentId) |
| | Refund all advanced payment disbursements More...
|
| |
| static List< DisbursementRefund > | RefundAll (long advancedPaymentId, MPRequestOptions requestOptions) |
| | Refund all advanced payment disbursements More...
|
| |
| static DisbursementRefund | Refund (long advancedPaymentId, long disbursementId) |
| | Refund a disbursement More...
|
| |
| static DisbursementRefund | Refund (long advancedPaymentId, long disbursementId, MPRequestOptions requestOptions) |
| | Refund a disbursement More...
|
| |
| static DisbursementRefund | Refund (long advancedPaymentId, long disbursementId, decimal? amount) |
| | Refund a disbursement More...
|
| |
| static DisbursementRefund | Refund (long advancedPaymentId, long disbursementId, decimal? amount, MPRequestOptions requestOptions) |
| | Refund a disbursement More...
|
| |
| static AdvancedPayment | FindById (long? id) |
| | Find advanced payment by ID More...
|
| |
| static AdvancedPayment | FindById (long? id, MPRequestOptions requestOptions) |
| | Find advanced payment by ID More...
|
| |
| static AdvancedPayment | FindById (long? id, bool useCache, MPRequestOptions requestOptions) |
| | Find advanced payment by ID More...
|
| |
| static List< AdvancedPayment > | All () |
| | Get all advanced payments More...
|
| |
| static List< AdvancedPayment > | All (MPRequestOptions requestOptions) |
| | Get all advanced payments More...
|
| |
| static List< AdvancedPayment > | All (bool useCache, MPRequestOptions requestOptions) |
| | Get all advanced payments More...
|
| |
| static List< AdvancedPayment > | Search (Dictionary< string, string > filters) |
| | Search advanced payments More...
|
| |
| static List< AdvancedPayment > | Search (Dictionary< string, string > filters, MPRequestOptions requestOptions) |
| | Search advanced payments More...
|
| |
| static List< AdvancedPayment > | Search (Dictionary< string, string > filters, bool useCache, MPRequestOptions requestOptions) |
| | Search advanced payments More...
|
| |
| static void | AdmitIdempotencyKey (Type classType) |
| | Checks if current resource needs idempotency key and set IdempotencyKey if positive. More...
|
| |
| static List< T > | ProcessMethodBulk< T > (Type clazz, string methodName, bool useCache) |
| |
| static List< T > | ProcessMethodBulk< T > (Type clazz, string methodName, bool useCache, MPRequestOptions requestOptions) |
| |
| static List< T > | ProcessMethodBulk< T > (Type clazz, string methodName, string param1, bool useCache) |
| |
| static List< T > | ProcessMethodBulk< T > (Type clazz, string methodName, string param1, bool useCache, MPRequestOptions requestOptions) |
| |
| static MPBase | ProcessMethod (string methodName, bool useCache) |
| | Retrieve a MPBase resource based on a specfic method and configuration. More...
|
| |
| static MPBase | ProcessMethod (string methodName, bool useCache, MPRequestOptions requestOptions) |
| | Retrieve a MPBase resource based on a specfic method and configuration. More...
|
| |
| static MPBase | ProcessMethod< T > (Type type, string methodName, string param, bool useCache) |
| | Retrieve a MPBase resource based on a specfic method, parameters and configuration. More...
|
| |
| static MPBase | ProcessMethod< T > (Type type, string methodName, string param, bool useCache, MPRequestOptions requestOptions) |
| | Retrieve a MPBase resource based on a specfic method, parameters and configuration. More...
|
| |
| static MPBase | ProcessMethod< T > (Type clazz, string methodName, string param1, string param2, bool useCache) |
| |
| static MPBase | ProcessMethod< T > (Type clazz, string methodName, string param1, string param2, bool useCache, MPRequestOptions requestOptions) |
| |
| static MPBase | ProcessMethod< T > (string methodName, string param, bool useCache) |
| | Retrieve a MPBase resource based on a specfic method, parameters and configuration. More...
|
| |
| static MPBase | ProcessMethod< T > (string methodName, string param, bool useCache, MPRequestOptions requestOptions) |
| | Retrieve a MPBase resource based on a specfic method, parameters and configuration. More...
|
| |
| static JObject | GeneratePayload< T > (HttpMethod httpMethod, T resource) |
| | Transforms all attributes members of the instance in a JSON String. Only for POST and PUT methods. POST gets the full object in a JSON object. PUT gets only the differences with the last known state of the object. More...
|
| |
| static JObject | getDiffFromLastChange (JToken jactual, JToken jold) |
| |
| static MPAPIResponse | CallAPI (HttpMethod httpMethod, string path, PayloadType payloadType, JObject payload, WebHeaderCollection colHeaders, bool useCache, int requestTimeout, int retries) |
| | Calls the api and returns an MPApiResponse. More...
|
| |
| static MPAPIResponse | CallAPI (HttpMethod httpMethod, string path, PayloadType payloadType, JObject payload, bool useCache, MPRequestOptions requestOptions) |
| | Calls the api and returns an MPApiResponse. More...
|
| |
| static Type | GetTypeFromStack () |
| | Get Type of a required class by it's string name. More...
|
| |
| static string | ParsePath< T > (string path, Dictionary< string, string > mapParams, T resource) |
| | Generates a final Path based on parameters in Dictionary and resource properties. More...
|
| |
| static string | ParsePath< T > (string path, Dictionary< string, string > mapParams, T resource, MPRequestOptions requestOptions) |
| | Generates a final Path based on parameters in Dictionary and resource properties. More...
|
| |
| static string | GetUserToken (Type classType) |
| | Gets the user custom token. More...
|
| |
| static bool | Validate (object o) |
| | Vaidates an object. More...
|
| |
| static string | ToPascalCase (string text) |
| |
| static string | ToSnakeCase (string text) |
| |
|
| static bool | WITHOUT_CACHE = false |
| |
| static bool | WITH_CACHE = true |
| |
| static List< string > | ALLOWED_BULK_METHODS = new List<string>() { "All", "Search", "CreateAll" } |
| |
| static string | DataTypeError = "Error on property #PROPERTY. The value you are trying to assign has not the correct type. " |
| |
| static string | RangeError = "Error on property #PROPERTY. The value you are trying to assign is not in the specified range. " |
| |
| static string | RequiredError = "Error on property #PROPERTY. There is no value for this required property. " |
| |
| static string | RegularExpressionError = "Error on property #PROPERTY. The specified value is not valid. RegExp: #REGEXPR . " |
| |
| static List< T > | ProcessMethodBulk< T > (Type clazz, string methodName, Dictionary< string, string > mapParams, bool useCache) |
| |
| static List< T > | ProcessMethodBulk< T > (Type clazz, string methodName, Dictionary< string, string > mapParams, bool useCache, MPRequestOptions requestOptions) |
| |
| static T | ProcessMethod< T > (Type clazz, T resource, string methodName, Dictionary< string, string > parameters, bool useCache) |
| | Core implementation of processMethod. Retrieves a generic type. More...
|
| |
| static T | ProcessMethod< T > (Type clazz, T resource, string methodName, Dictionary< string, string > parameters, bool useCache, MPRequestOptions requestOptions) |
| | Core implementation of processMethod. Retrieves a generic type. More...
|
| |
| static MPBase | FillResourceWithResponseData< T > (T resource, MPAPIResponse response) |
| | Fills all the attributes members of the Resource obj. More...
|
| |
| static List< T > | FillArrayWithResponseData< T > (Type clazz, MPAPIResponse response) |
| |
| MPAPIResponse | _lastApiResponse |
| |
| JObject | _lastKnownJson |
| |
| BadParamsError? | _errors |
| |
| string | _marketplaceAccessToken |
| |
Provides a solution for Marketplace payments where the business model requires splitting money between multiple sellers


|
|
CIFXDevice Class ReferenceInheritance diagram for CIFXDevice:
List of all members.
Member Typedef Documentation
|
|
Template specialization for a list of type CIFXDevice::ViewData.
- Todo:
- Eventually replace CArrayList usage with a more capable linear array implementation (such as IFXArray) or improve CArrayList so that the device view API functionality can provide arbitrary insertion and removal.
The current underlying implementation does not support insertion, or removal that maintains element ordering. |
Constructor & Destructor Documentation
| CIFXDevice::CIFXDevice |
( |
|
) |
[private] |
|
| CIFXDevice::~CIFXDevice |
( |
|
) |
[private, virtual] |
|
Member Function Documentation
| U32 CIFXDevice::AddRef |
( |
|
) |
[virtual] |
|
|
|
This method increments the reference count for an interface on a component.
- Note:
- It should be called for every new copy of a pointer to an interface on a given component.
- Returns:
- It returns a U32 that contains a value from 1 to 2^32 - 1 that defines the new reference count. The return value should only be used for debugging purposes.
Implements IFXUnknown. |
| IFXRESULT CIFXDevice::AppendView |
( |
IFXView * |
pView, |
|
|
U32 |
viewInstance |
|
) |
[virtual] |
|
|
|
Adds a view to the end of the view list which is rendered by the Render function.
- Parameters:
-
| pView | Interface pointer to a view node to be added to the end of the view list used for rendering. |
| viewInstance | Instance index of the view node specified by pView to use for rendering. This value must be less than that reported by the IFXView::GetNumberOfInstances function. |
- Returns:
- Upon success, IFX_OK is returned and the specified view node instance will be added to the end of the list. Otherwise, one of the following failures are returned: IFX_E_INVALID_POINTER, IFX_E_INVALID_RANGE, IFX_E_NOT_INITIALIZED and IFX_E_UNDEFINED.
Implements IFXDevice. |
| IFXRESULT CIFXDevice::ClearRenderInfo |
( |
|
) |
[virtual] |
|
|
|
Clear all rendering statistical information for this device.
- Returns:
- An IFXRESULT value.
- Return values:
-
Implements IFXDevice. |
| IFXRESULT CIFXDevice::GetAAEnabled |
( |
IFXenum & |
bAAEnabled |
) |
[virtual] |
|
|
|
Retreives the Anti-Aliasing enabled property.
This property can be one of 3 values:
- IFX_AA_DEFAULT - Uses value in the IFXRenderServices object.
- IFX_AA_DISABLED - Not using anti-aliased rendering.
- IFX_AA_ENABLED - Is using anti-aliased rendering.
- Parameters:
-
| eAAEnabled | Output IFXenum value receiving the anti-aliasing enabled property. |
- Returns:
- An IFXRESULT value.
- Return values:
-
Implements IFXDevice. |
| IFXRESULT CIFXDevice::GetAAMode |
( |
IFXenum & |
eAAMode |
) |
[virtual] |
|
|
|
Retreives the anti-aliasing mode property.
This property can be one of the following values:
- IFX_AA_DEFAULT - Uses the value in the IFXRenderServices object.
- IFX_AA_2X - Performs 2X anti-aliasing.
- IFX_AA_3X - Performs 3X anti-aliasing. On many cards this is Quincunx* anti-aliasing.
- IFX_AA_4X - Performs 4X anti-aliasing.
- IFX_AA_4X_SW - Performs 4X anti-aliasing partially implemented in software. This is much slower than IFX_AA_4X.
- Parameters:
-
| eAAMode | Output IFXenum to receive the anti-aliasing mode. |
- Returns:
- An IFXRESULT value.
- Return values:
-
Implements IFXDevice. |
| IFXRESULT CIFXDevice::GetRenderCaps |
( |
IFXRenderCaps & |
rCaps |
) |
[virtual] |
|
|
|
Retreives capability information about the associated rendering device.
- Parameters:
-
| rCaps | Reference to an IFXRenderCaps object that will be filled with capability information about the underlying rendering device. |
- Returns:
- An IFXRESULT value.
- Return values:
-
Implements IFXDevice. |
| IFXRESULT CIFXDevice::GetRenderer |
( |
U32 & |
uRenderId |
) |
[virtual] |
|
|
|
Get the currently set renderer type for this device.
- Parameters:
-
| uRenderId | Reference to a U32 value to be filled in with the currently set renderer id. |
- Returns:
- An IFXRESULT value.
- Return values:
-
Implements IFXDevice. |
| U32 CIFXDevice::GetRenderInfo |
( |
IFXenum |
eRenderInfo |
) |
[virtual] |
|
|
|
Retreive rendering statistical information for this device.
The information is relative to either the creation of the device, or last time ClearRenderInfo() was called.
- Parameters:
-
| eRenderInfo | Input IFXenum specifying which information to return. Possible values are:
- IFX_NUM_FACES: Number of faces (polygons) rendered.
- IFX_NUM_VERTICES: Number of vertices rendered.
- IFX_NUM_MESHES: Number of meshes (surfaces) rendered.
- IFX_NUM_RENDER_CALLS: Number of draw calls placed to the underlying rendering system.
|
- Returns:
- A U32 value containing the requested information. If eRenderInfo was invalid, 0 is returned.
Implements IFXDevice. |
| IFXRESULT CIFXDevice::GetTargetFramerate |
( |
F32 * |
pfTargetFramerate |
) |
[virtual] |
|
|
|
Get the currently set target framerate.
The target framerate is used by the CLOD system to dynamically adjust geometry complexity.
- Parameters:
-
| pfTargetFramerate | Pointer to an F32 value that will receive the current target framerate. |
- Returns:
- An IFXRESULT value.
- Return values:
-
| IFX_OK | No error. |
| IFX_E_INVALID_POINTER | The argument pfTargetFramerate was NULL. |
Implements IFXDevice. |
| IFXRESULT CIFXDevice::GetUseTargetFramerate |
( |
U32 * |
puUseTargetFramerate |
) |
[virtual] |
|
|
|
Retreives whether or not the use of CLOD to reach the target framerate is enabled.
- Parameters:
-
| puUseTargetFramerate | Pointer to a U32 value that will be filled with 1 if we are using CLOD to reach the target framerate, or 0 otherwise. |
- Returns:
- An IFXRESULT value.
- Return values:
-
| IFX_OK | No error. |
| IFX_E_INVALID_POINTER | The value specified for puUseTargetFramerate was NULL. |
Implements IFXDevice. |
| IFXRESULT CIFXDevice::GetView |
( |
U32 |
index, |
|
|
IFXView ** |
ppView, |
|
|
U32 * |
pViewInstance |
|
) |
[virtual] |
|
|
|
Get a view from the view list which is rendered by the Render function.
- Parameters:
-
| index | Base zero, view list index of the view desired. The total number of available views can be obtained using the GetViewCount function. |
| ppView | Pointer to a view node interface pointer that upon success will be intialized to the specified view in the view list. As usual, the caller is responsible for releasing the interface reference when finished using it. NULL can be specified if this data is not desired. |
| pViewInstance | Pointer to a U32 that upon success will be initialized to the specified view's instance indice that is used when rendering. NULL can be specified if this data is not desired. |
- Returns:
- Upon success, IFX_OK is returned and the requested view node data is handed back. Otherwise, one of the following failures are returned: IFX_E_INVALID_RANGE and IFX_E_NOT_INITIALIZED.
- Note:
- When a node has more than one parent, or one of its ancestors has more than one parent, the node will have more than one instance in the world.
Implements IFXDevice. |
| IFXRESULT CIFXDevice::GetViewCount |
( |
U32 & |
rViewCount |
) |
[virtual] |
|
|
|
Get the total number of views in the view list which is rendered by the Render function.
- Parameters:
-
| rViewCount | Reference to a U32 that upon success will be initialized with the number of view node instances that are in the view list. |
- Returns:
- Upon success, IFX_OK is returned and the count of associated view node instances is handed back. Otherwise, one of the following failures are returned: IFX_E_NOT_INITIALIZED.
Implements IFXDevice. |
| IFXRESULT CIFXDevice::GetWindowSize |
( |
IFXRect & |
rcWindow |
) |
const [virtual] |
|
|
|
Retreives the size of the window attached to this IFXDevice object.
- Parameters:
-
| rcWindow | A reference to an IFXRect object that will receive the dimensions of the window attached to this IFXDevice. |
- Returns:
- An IFXRESULT value.
- Return values:
-
Implements IFXDevice. |
| IFXRESULT CIFXDevice::Initialize |
( |
|
) |
[virtual] |
|
|
|
Initialize the IFXDevice.
This must be called before any other method is used.
- Returns:
- An IFXRESULT value.
- Note:
- Reinitialization is not supported.
Implements IFXDevice. |
| IFXRESULT CIFXDevice::QueryInterface |
( |
IFXREFIID |
riid, |
|
|
void ** |
ppv |
|
) |
[virtual] |
|
|
|
This method provides access to the various interfaces supported by a component.
Upon success, it increments the component's reference count and hands back a pointer to the specified interface.
- Note:
- A number of rules must be adhered to by all implementations of IFXAPI QueryInterface . For a list of such rules, refer to the IFXCOM usage guidelines.
- Returns:
- Upon success, IFX_OK is returned. Otherwise, either IFX_E_INVALID_POINTER or IFX_E_UNSUPPORTED are returned.
Implements IFXUnknown. |
| U32 CIFXDevice::Release |
( |
|
) |
[virtual] |
|
|
|
This method decrements the reference count for the calling interface on a component.
- Note:
- If the reference count on a component falls to zero, the component is destroyed.
- Returns:
- It returns a U32 that contains a value from 1 to 2^32 - 1 that defines the new reference count. The return value should only be used for debugging purposes.
Implements IFXUnknown. |
| IFXRESULT CIFXDevice::RemoveLastView |
( |
|
) |
[virtual] |
|
|
|
Removes the last view in the view list which is rendered by the Render function.
- Returns:
- Upon success, IFX_OK is returned and the last view node instance will have been removed from the end of the list. Otherwise, one of the following failures are returned: IFX_E_CANNOT_FIND (indicates there is no last view node instance to remove) and IFX_E_NOT_INITIALIZED.
Implements IFXDevice. |
| IFXRESULT CIFXDevice::Render |
( |
|
) |
[virtual] |
|
|
|
Renders an image using the IFXView (camera) instances attached to this IFXDevice and displays the result in the window attached to this IFXDevice.
- Returns:
- An IFXRESULT value.
- Return values:
-
| IFX_OK | No error. |
| IFX_E_SUBSYSTEM_FAILURE | An uncorrectable failure occurred in the rendering subsystem while rendering the image. This can occur when a video card's resources are lost to another process. The device must be destroyed and re-created to continue (and even that may not work). |
| IFX_E_INVALID_RANGE | One of the associated views cannot be rendered because the instance index is no longer valid. |
Implements IFXDevice. |
| IFXRESULT CIFXDevice::SetAAEnabled |
( |
IFXenum |
bAAEnabled |
) |
[virtual] |
|
|
|
Sets the anti-aliasing enabled property.
This property can be one of 3 values.
- IFX_AA_DEFAULT - Uses the value in the IFXRenderServices object.
- IFX_AA_DISABLED - Not using anti-aliased rendering.
- IFX_AA_ENABLED - Is using anti-aliased rendering.
- Parameters:
-
| eAAEnabled | Input IFXenum value specifying the anti-aliasing enabled property. |
- Returns:
- An IFXRESULT value.
- Return values:
-
| IFX_OK | No error. |
| IFX_E_INVALID_RANGE | The value specified for eAAEnabled is is not valid. |
Implements IFXDevice. |
| IFXRESULT CIFXDevice::SetAAMode |
( |
IFXenum |
eAAMode |
) |
[virtual] |
|
|
|
Sets the anti-aliasing mode property.
This property can be one of the following values:
- IFX_AA_DEFAULT - Uses the value in the IFXRenderServices object.
- IFX_AA_2X - Performs 2X anti-aliasing.
- IFX_AA_3X - Performs 3X anti-aliasing. On many cards this is Quincunx* anti-aliasing.
- IFX_AA_4X - Performs 4X anti-aliasing.
- IFX_AA_4X_SW - Performs 4X anti-aliasing partially implemented in software. This is much slower than IFX_AA_4X.
- Parameters:
-
| eAAMode | Input IFXenum specifying the desired anti-aliasing mode. |
- Returns:
- An IFXRESULT value.
- Return values:
-
| IFX_OK | No error. |
| IFX_E_INVALID_RANGE | The value specified for eAAMode is not valid. Either the mode is not supported by the rendering device, or the enum value is invalid. |
Implements IFXDevice. |
| IFXRESULT CIFXDevice::SetDTS |
( |
BOOL |
bDTS |
) |
[virtual] |
|
| IFXRESULT CIFXDevice::SetPixelAspect |
( |
F32 |
fAspect |
) |
[virtual] |
|
|
|
Set the pixel aspect of the device.
The pixel aspect can be changed when the display device used has a pixel aspect other than 1.0. For instance, you are using a standard 4:3 resolution (1600x1200) on a widescreen 16:9 monitor. In that case, you would use a pixel aspect ratio of 1.333333.
- Parameters:
-
| fAspect | The new pixel aspect ratio to use. Must be a positive non-zero number. |
- Returns:
- An IFXRESULT value.
- Return values:
-
| IFX_OK | No error. |
| IFX_E_INVALID_RANGE | The value specified with fAspect was either 0.0 or negative. |
Implements IFXDevice. |
| IFXRESULT CIFXDevice::SetRenderer |
( |
U32 |
uRenderId |
) |
[virtual] |
|
|
|
Sets the renderer type used for this device.
The uRenderId must be either 0 or an id that was previously registered with IFXRenderServices::RegisterRenderer().
- Parameters:
-
| uRenderId | Input U32 representing the id of the renderer type to use for this device. If this value is 0, the device will used the preferred renderer set in the IFXRenderServices object. If non-zero, this must correspond to a registered renderer type. |
- Returns:
- An IFXRESULT value.
- Return values:
-
| IFX_OK | No error. |
| IFX_E_INVALID_RANGE | The uRenderId value specified was invalid. |
Implements IFXDevice. |
| void CIFXDevice::SetRenderFrameCount |
( |
IFXView * |
pView |
) |
[private] |
|
| IFXRESULT CIFXDevice::SetTargetFramerate |
( |
F32 |
fTargetFramerate |
) |
[virtual] |
|
|
|
Set the target framerate.
If the use of target framerate is enabled, the CLOD system will dynamically adjust geometry complexity so that actual framerate approaches this target framerate.
- Parameters:
-
| fTargetFramerate | Input F32 specifying the new target framerate. |
- Returns:
- An IFXRESULT value.
- Return values:
-
Implements IFXDevice. |
| IFXRESULT CIFXDevice::SetTransparent |
( |
BOOL |
bTransparent |
) |
[virtual] |
|
|
|
Sets whether or not un-rendered pixels in the rendered buffer will be left untouched or cleared to the attached IFXView's clear color.
This property is only regarded when the bDTS parameter to SetWindowPtr() is FALSE.
- Parameters:
-
| bTransparent | Input BOOL specifying whether or not to use "transparent" rendering (leaving un-touched pixels in the rendered area untouched). |
- Returns:
- An IFXRESULT value.
- Return values:
-
Implements IFXDevice. |
| IFXRESULT CIFXDevice::SetUseTargetFramerate |
( |
U32 |
uUseTargetFramerate |
) |
[virtual] |
|
|
|
Enables or disables the use of CLOD to reach the target framerate.
- Parameters:
-
| puUseTargetFramerate | An address of an output boolean value that specifies whether or not the target framerate will be used to determine the CLOD resolution. If a value of 0 is returned, target frame- rate is disabled, otherwise it is enabled. |
- Returns:
- An IFXRESULT value.
- Return values:
-
Implements IFXDevice. |
|
|
Sets the current window parameters.
- Parameters:
-
| rWindow | An input reference to an IFXRenderWindow object specifying the parameters for the window. |
- Returns:
- An IFXRESULT code.
- Return values:
-
Implements IFXDevice. |
| IFXRESULT CIFXDevice::SetWindowPtr |
( |
IFXHANDLE |
pvWindow |
) |
[virtual] |
|
|
|
Attaches a destination buffer for the rendered image.
The type of destination buffer is determined by the bDTS parameter.
If bDTS is TRUE, then pvWindow represents an OS native window. On Microsoft* Windows*, this must be an HDC attached directly to a window (note: not an HDC*). On Apple* MacOS*, this value must be a WindowPtr value.
If bDTS is FALSE, then pvWindow represents an offscreen memory buffer. On Microsoft* Windows*, this must be and HDC to an offscreen bitmap. On Apple* MacOS*, this must be an an offscreen CGraphPtr.
- Parameters:
-
| pvWindow | An input value that represents the destination buffer for the rendered image. See above for an explanation of what this value may be. |
| bDTS | Boolean describing whether or not the rendered image appears directly on screen or not. DTS = Direct-To-Screen. If bDTS is FALSE, the rendered image will be located in an offscreen memory buffer. |
- Returns:
- An IFXRESULT value.
- Return values:
-
| IFX_OK | No error. |
| IFX_E_INVALID_POINTER | The value specified for pvWindow was 0. |
| IFX_E_INVALID_RANGE | The value specified for pvWindow was not matched correctly with the value for bDTS. |
Implements IFXDevice. |
| IFXRESULT CIFXDevice::SetWindowSize |
( |
const IFXRect & |
rcWindow |
) |
[virtual] |
|
|
|
Sets the portion of the attached window to receive the rendered image.
- Parameters:
-
| rcWindow | Input IFXRect that determines what portion of the attached window will receive the rendered image during a Render() call. |
- Returns:
- An IFXRESULT value.
- Return values:
-
| IFX_OK | No error. |
| IFX_E_INVALID_RANGE | The rcWindow.m_Width or rcWindow.m_Height value was 0. |
Implements IFXDevice. |
Friends And Related Function Documentation
| IFXRESULT IFXAPI_CALLTYPE CIFXDevice_Factory |
( |
IFXREFIID |
iid, |
|
|
void ** |
ppv |
|
) |
[friend] |
|
Member Data Documentation
|
|
Pointer to a high performance timer.
|
|
|
Pointer to a CArrayList that contains ViewData entries drawn during rendering. Refer to ViewDataList description for current usage limitations.
|
|
|
IFXRenderContext interface pointer that if valid, indicates the device is initialized.
|
© 1999 - 2006 Intel Corporation. All rights reserved.
* Other names and brands may be claimed as the property of others.
|
|


Output below from swap that failed to start due to balance being short a bit of dust.
No mention of coin(s) involved in the attempted swap. Can 'maker_coin' / 'taker_coin' fields be included in Maker logs to assist in reviewing failed swaps?
Maker Logs (via CLI, mm binary md5sum = 882f9a665bfde2d1f5bd4540b8fec7e3):
```json
./atomicDEX-cli my_swap_status a463cde3-06b8-45d0-851b-a6046a5d46e2
{'result': {'error_events': ['StartFailed',
'NegotiateFailed',
...


StageXL is a package for the Dart programming language. It offers an easy to use and complete API for impressive 2D content like games and other rich applications. The library started as an easy migration path for Adobe Flash developers to HTML5. Therefore the StageXL API is for the most part identical to the Flash API. Today many developers who have no prior experience with Flash are using StageXL for their applications.
To simplify the migration from Flash to HTML5, the StageXL library uses the same class hierarchy as Flash does. You can extend your UI-objects from DisplayObject(Container) or just work with the Sprite class. The methods and properties of the classes are the ones you already know from the Flash API.
The BitmapData class represents the pixels of an image or the content you draw at runtime. Add an instance of the Bitmap class to the Display List to make the BitmapData visible. Of course all DisplayObjects are scalable, rotatable, movable and blendable with the familiar properties like x, y, rotation, scaleX, scaleY and alpha.
In some cases the classes even extend the capabilities of Flash. One example are the handy pivotX and pivotY properties of every DisplayObject which allow you to set the pivot or anchor point of your DisplayObject.
The Stage class represents the main drawing area and is a wrapper over the HTML5 Canvas element. Use the addChild or removeChild methods to add or remove other DisplayObjects to or from the Stage.
Events work the same way as they do in Flash. All the major Event classes are available with the same names and properties. The event flow uses the familiar three-phase approach: Capture Phase, Target Phase and Bubbling Phase.
mySprite.addEventListener(Event.ENTER_FRAME, enterFrameListener); mySprite.addEventListener(MouseEvent.CLICK, mouseClickListener, useCapture:true);
The Dart language uses a more modern stream based event API. We recommend to use this new pattern to utilize new possibilities and to be a good citizen in the Dart community. The API is a little bit different compared to Flash, but the functionality is pretty much the same.
var subscription1 = mySprite.onEnterFrame.listen(enterFrameListener); var subscription2 = mySprite.onMouseClick.listen(mouseClickListener); var subscription3 = mySprite.on("customEvent").listen(customEventListener); //... subscription1.cancel(); // equals removeEventListener(...) subscription2.pause(); // pause receiving events subscription2.resume(); // resume receiving events
To display and format text the TextField and TextFormat classes are available. The TextField class is the Display Object you can add to the Display List. Change the content of the TextField at any time by modifying the text property. The TextFormat class supports all the properties to set the font, color, alignment and style of the text.
The fonts in the TextFormat class are not limited to the typical HTML fonts. Use Google's open web fonts to bring quality typography to your application. Just add the font's css-style to your page and use the font in TextFormat like you do with any other font.
var textField = new TextField(); textField.defaultTextFormat = new TextFormat('Spicy Rice', 30, Color.Black); textField.text = 'The quick brown fox jumps over the lazy dog.' textField.x = 20; textField.y = 20; textField.width = 100; textField.height = 50; textField.wordWrap = true; addChild(textField);
Playing audio in HTML5 can be difficult. All modern browsers use slightly different implementations of the standard. Google Chrome supports the Web Audio API which is not a HTML5 standard yet, but offers the best audio playback capabilities for games. Another problem is the support of all the audio codecs (mp3/ogg/wav) used in different browsers.
To hide all the problems and differences the StageXL library wraps those APIs and provides the familiar Sound APIs of Flash. The library also selects the codec which is supported by the browser. You just have to provide the audio file in mp3 and ogg format, this way your application will work in all major browsers.
// The ResourceManager substitutes embedded resources of Flash. var resourceManager = new ResourceManager(); resourceManager.addSound("plop", "sounds/plop.mp3"); // loads ogg-file in Firefox! ... var sound = resourceManager.getSound("plop"); var soundTransform = new SoundTransform(0.5); var soundChannel = sound.play(false, soundTransform);
Filters are used for visual effects like drop shadow, glow, blur and others. The StageXL library supports five different filters out of the box. You can also create your own filters by extending the BitmapFilter base class.
Calculating visual effects is an expensive computational operation. To optimize the performance at runtime you can apply filters to static BitmapDatas or add them to an arbitrary DisplayObject and subsequently call the applyCache method to achieve good render performance.
var spaceShip = new SpaceShip(); spaceShip.x = 100; spaceShip.y = 50; spaceShip.filters = [ new ColorMatrixFilter.grayscale(), new GlowFilter(Color.Yellow, 1.0, 20, 20)]; spaceShip.applyCache(0, 0, 200, 80); spaceShip.addTo(stage);
The StageXL library provides an easy to use animation framework. You can animate your objects by implementing the Animatable interface or simply use the Tween class to animate your Display Objects properties like x, y, scaleX, scaleY, rotation and alpha. In addition you can control the flow of your application by using the DelayedCall class.
All classes which implements the Animatable interface can be added to the Juggler. The Juggler controls the timeline of your application and advances all Animatable objects by the time that has passed since the last frame. You should use the Juggler instance provided by the render loop to drive your animations. For more information please read the Wiki article about the Juggler animation framework.
var tween = new Tween(sprite, 2.0, TransitionFunction.easeOutBounce); tween.animate.x.to(700); tween.animate.y.to(500); tween.delay = 1.0; tween.onComplete = () => sprite.removeFromParent(); renderLoop.juggler.add(tween);
In Flash developers often embed resources in their SWF files. This is not possible on the web, but the ResourceManager provides an easy way to load images, sounds and other resources from the server. You only have to add the URLs and the ResourceManager will download all files. Once the files are loaded you will be notified by a Future.
If your application uses a large number of small images, it is best practice to merge those small images into one big image. This big image is called texture atlas (or sprite sheet) and accelerates the download and improves the render performance. The StageXL library supports the file format of Texture Packer, which is the most popular tool on the web.
var resourceManager = new ResourceManager() ..addBitmapData('dog', 'images/dog.png') ..addSound('plop', 'sounds/plop.mp3') ..addTextureAtlas('fl', 'images/flowers.json', TextureAtlasFormat.JSONARRAY); resourceManager.load().then((result) { var dog = resourceManager.getBitmapData('dog'); var plop = resourceManager.getSound('plop'); var flowers = resourceManager.getTextureAtlas('fl'); var daisy = flowers.getBitmapData('daisy'); });


Triplex Pump with Faults Overview
This example shows how to develop predictive maintenance algorithms.
Model
1. Open Triplex Pump Model (see also model documentation)
Configure Model (use default)
Specification
2. CAT Pumps Data Sheet: 1051C
3. Step File from CAT Pumps: Model with STEP file
4. SOLIDWORKS model: CAT_Pump_1051.SLDASM
5. CAD Import: Import XML using smimport(), Imported Model
Match Nominal Behavior
6. Tune Parameters: Open Tool, Compare Results with Initial and Tuned Values
Design Fault Detection Algorithm
7. Sweep Severity of Seal Leak: Run Sweep, (see code)
8. Sweep Severity of Blocked Inlet: Run Sweep, (see code)
9. Sweep Severity of Bearing Wear: Run Sweep, (see code)
10. Generate Machine Learning Training Data: Run Short Sweep, Run Long Sweep, (see code)
11. Design Fault Detection Algorithm: Edit Live Script
12. Test Fault Detection Algorithm: Run 7 Scenarios, (see code)
Videos
13. Animation of pump
Copyright 2017-2023 The MathWorks™, Inc.
|


Iptables is the tool that is used to manage netfilter, the standard packet filtering and manipulation framework under Linux. As the iptables manpage puts it:
Iptables is used to set up, maintain, and inspect the tables of IPv4 packet filter rules in the Linux kernel. Several different tables may be defined.
Each table contains a number of built-in chains and may also contain user- defined chains.
Each chain is a list of rules which can match a set of packets. Each rule specifies what to do with a packet that matches. This is called a target, which may be a jump to a user-defined chain in the same table.
Python-iptables provides python bindings to iptables under Linux. Interoperability with iptables is achieved via using the iptables C libraries (libiptc, libxtables, and the iptables extensions), not calling the iptables binary and parsing its output.
First make sure you have iptables installed (most Linux distributions install it by default). python-iptables needs the shared libraries libiptc.so.0 and libxtables.so.2 coming with iptables, they are installed in /lib on Ubuntu.
You can compile python-iptables in the usual distutils way:
% cd python-iptables
% python setup.py build
To install it:
% sudo python setup.py install
% sudo ldconfig
Running ldconfig is necessary since python-iptables also contains a C wrapper library. Make sure the directory where distutils installs shared libraries is in the dynamic linker’s search path (it’s in /etc/ld.so.conf or in one of the files in the folder /etc/ld.co.conf.d). Under Ubuntu distutils by default installs into /usr/local/lib.
Once everything is in place you can fire up python to check whether the package can be imported:
% sudo python
>>> import iptc
>>>
You need to be root to be able to use iptables.
The basic iptables framework and all the match/target extensions are supported by python-iptables. One thing we have not worked on yet is IPv6 support, but in theory it should not be too hard. This also means you can’t use IPv6-only match and target extensions either.


Coronablaster game
Privacy Policy
This is just a simple game in which you blast the virus when it turns red and stares at you.
Program does not ask, store or forward any personal data nor does it require any kind of user permission.


I am a page to send logs from the client to the server. To access the original demos of JSNlog on Node.js, click
here


SD
Shine Days
9000 views
Filter or drag & drop queue items to reorder.
You have no items in the queue
Playlists:


What Is Flask?
Flask is a popular Python web framework, meaning it is a third-party Python library used for developing web applications.


Publicity Hounds
Aug 23, 2008
by Jonathan Clausen
Zebras get a great deal of free publicity. They are funny looking and who, off the tip of their tongue, knows of another animal that starts with the letter “Z”? They do, however wear pinstripes which befit them as bookends for budding learners of the alphabet.
Cats and Dogs get top billing as well. Not only are they within the first four letters of the alphabet, but they are gifted just as much from being simple to the ear and to the page. Why, my very own daughter’s first word was “kitty” - which, if you extrapolate her age and factor for cat years when she made this brilliant pronouncement, bears out my hypothesis completely. They (cats and dogs, that is) are, naturally, top of mind to any child when the alphabet soup is on the menu. Maybe that’s why we have so many of them as pets.
Contrast the noble canine to the lowly aardvark. Most certainly he starts with an “A” and would seem a natural for some free, if albeit juvenile, press of his own. But it is in the next letter of his name which causes a fundamental problem: “a” again. It is regrettable, however, that you simply cannot place the pitiful aardvark into a child’s bedtime story because of this misfortune of circumstance. Any typical five year old worth her salt, in a most blatant attempt to stave off the impending lights-out, would use the much maligned aardvark as a quasi-intellectual springboard into a parental interrogation on the nuances of spelling in the English language. We should nary forget his wretched, elongated snout and rat-esque tail, each of which provides fascination and begs questions of their own. It is neither dogs nor cats which produce in me fitful dreams so much as the mere mention of one wretched aardvark near bedtime.
That brings me to “X”. Most certainly we associate with the musicality of the xylophone which, while neither plant nor mammal, is all too familiar as emblematic for “x”. The xylophone does, however, begs the question: In the last century, even as we have discovered new flora and fauna, why have no living things been named begun with the letter “X”?
Surely, if they had, they would have gotten a great deal of free publicity.
Share


| Animalism | Social + Animal Ken vs. Social + Willpower |
| Auspex | Mental + Investigation vs. Mental + Willpower |
| Celerity | NA |
| Chimestry | Social + Subterfuge vs. Social + Willpower |
| Daimoinon | Mental + Academics vs. Mental + Willpower |
| Dementation | Social + Empathy vs. Social + Willpower |
| Dominate | Mental + Intimidation vs. Mental + Willpower |
| Fortitude | NA |
| Necromancy | Social + Occult vs. Social + Willpower |
| Melpominee | Social + Subertuge vs. Social + Willpower |
| Mytherceria | Mental + Academics vs. Mental + Willpower |
| Obeah | Mental + Medicine vs. Mental + Willpower |
| Obfuscate | Mental + Stealth vs. Mental + Willpower |
| vs. Auspex | Mental + Willpower/Stealth vs. Mental + Investigation |
| Obtenebration | NA |
| Potence | NA |
| Presence | Social + Leadership vs. Social + Wilpower |
| Protean | NA |
| Quietus | Mental + Athletics vs. Mental + Willpower |
| Serpentis | Social + Subterfuge vs. Social + Willpower |
| Temporis | Physical + Survival vs. Physical + Willpower |
| Thanatosis | Mental + Medicine vs. Mental + Willpower |
| Thaumaturgy | Mental + Occult vs. Mental + Willpower |
| Phys. Attacks | Mental + Occult vs. Physical + Dodge |
| Valeren | Mental + Medicine vs. Mental + Willpower |
| Vicissitude | NA |
| Visceratika | Mental + Athletics vs. Mental + Willpower |


| You have no access here |
| Tourney is already finished |
| Don't forget to seed the players and set up the maps before |
| If everything in the bracket looks alright, then start the tourney to send a notification to all players per mail |
| Only undo the bracket when you made a mistake with the seeding |


AWS Instances (EC2, ElastiCache, RDS, Redshift) pricing retrieval project.
Project contains one module which is designed to retrieve the AWS prices for four major AWS services that have reserved instances involved: EC2, ElastiCache, RDS and Redshift. The prices either On-Demand or Reserved (specified by user) can be retrieved to Command Line in JSON, Table (Prettytable) or CSV formats. CSV format option also saves the csv file to the folder specified by user, which is the main use case.
The undocumented AWS pricing APIa are used as the sources. The same APIs serve the data to the AWS pricing pages. Both current and previous generation instance prices are retrieved.
Latest update: New pricing scheme (noUpfront, allUpfront, PartialUpfront) compatibility for RDS and Redshift is added. Minor bugs fixed.
Created: 25 March, 2015
Updated: 19 June, 2015
@author: Ilia Semenov
@version: 2.0
Bases: object
Abstract class - base for the pricing retrieval classes for different services.
str
USD Currency used in every AWS pricing by default.
list of str
List of AWS regions.
dict of str: str
Mapping of some internal AWS region names used in few sources to the conventional ones.
| Raises: | NotImplementedError – Abstract method is not implemented. |
|---|
| Raises: | NotImplementedError – Abstract method is not implemented. |
|---|
Method for retrieving the pricing data in a clean dictionary format.
| Parameters: | url – The pricing source url. |
|---|---|
| Returns: | data – Pricing data in a dictionary format |
| Return type: | dict of dict: dict |
Method for returning a blank string instead of None.
| Parameters: | v – The value to be checked for None. |
|---|---|
| Returns: | v or “” is v is None. |
Method printing the pricing data in JSON format to Console.
| Parameters: | u (str) – Parameter specifying On-Demand (“ondemand”) or Reserved (“reserved”) pricing option. |
|---|---|
| Returns: | Pricing data in JSON string format or an error message. |
| Return type: | str |
Bases: awspricingfull.AWSPrices
EC2Prices
instance of awspricingfull.EC2Prices class containing methods for EC2 pricing retrieval.
ELCPrices
instance of awspricingfull.ELCPrices class containing methods for ElastiCache pricing retrieval.
RDSPrices
instance of awspricingfull.RDSPrices class containing methods for RDS pricing retrieval.
RSPrices
instance of awspricingfull.RSPrices class containing methods for Redshift pricing retrieval.
Method printing the pricing data in JSON format to Console.
| Parameters: | u (str) – Parameter specifying On-Demand (“ondemand”), Reserved (“reserved”) or both (“all”) pricing option. |
|---|---|
| Returns: | Pricing data in JSON string format or an error message. |
| Return type: | str |
| Parameters: |
|
|---|---|
| Returns: | Prints Full pricing in the CSV format (console). |
Bases: awspricingfull.AWSPrices
Class for retrieving the EC2 pricing. Child of awspricingfull.AWSPrices class.
str
Undocumented AWS Pricing API URL - EC2 Linux Reserved, Current Generation.
str
Undocumented AWS Pricing API URL - EC2 RHEL Reserved, Current Generation.
str
Undocumented AWS Pricing API URL - EC2 SLES Reserved, Current Generation.
str
Undocumented AWS Pricing API URL - EC2 Windows Reserved, Current Generation.
str
Undocumented AWS Pricing API URL - EC2 Windows SQL Reserved, Current Generation.
str
Undocumented AWS Pricing API URL - EC2 Windows SQL Web Reserved, Current Generation.
str
Undocumented AWS Pricing API URL - EC2 Linux Reserved, Previous Generation.
str
Undocumented AWS Pricing API URL - EC2 RHEL Reserved, Previous Generation.
str
Undocumented AWS Pricing API URL - EC2 SLES Reserved, Previous Generation.
str
Undocumented AWS Pricing API URL - EC2 Windows Reserved, Previous Generation.
str
Undocumented AWS Pricing API URL - EC2 Windows SQL Reserved, Previous Generation.
str
Undocumented AWS Pricing API URL - EC2 Windows SQL Web Reserved, Previous Generation.
str
Undocumented AWS Pricing API URL - EC2 Linux On-Demand, Current Generation.
str
Undocumented AWS Pricing API URL - EC2 RHEL On-Demand, Current Generation.
str
Undocumented AWS Pricing API URL - EC2 SLES On-Demand, Current Generation.
str
Undocumented AWS Pricing API URL - EC2 Windows On-Demand, Current Generation.
str
Undocumented AWS Pricing API URL - EC2 Windows SQL On-Demand, Current Generation.
str
Undocumented AWS Pricing API URL - EC2 Windows SQL Web On-Demand, Current Generation.
str
Undocumented AWS Pricing API URL - EC2 Linux On-Demand, Previous Generation.
str
Undocumented AWS Pricing API URL - EC2 RHEL On-Demand, Previous Generation.
str
Undocumented AWS Pricing API URL - EC2 SLES On-Demand, Previous Generation.
str
Undocumented AWS Pricing API URL - EC2 Windows On-Demand, Previous Generation.
str
Undocumented AWS Pricing API URL - EC2 Windows SQL On-Demand, Previous Generation.
str
Undocumented AWS Pricing API URL - EC2 Windows SQL Web On-Demand, Previous Generation.
dict of str: str
Mapping of On-Dermand urls to OS types.
dict of str: str
Mapping of Reserved urls to OS types.
Implementation of method for getting EC2 On-Demand pricing.
| Returns: | result – EC2 On-Demand pricing in dictionary format. |
|---|---|
| Return type: | dict of dict: dict |
Implementation of method for getting EC2 Reserved pricing.
| Returns: | result – EC2 Reserved pricing in dictionary format. |
|---|---|
| Return type: | dict of dict: dict |
| Parameters: | u (str) – Parameter specifying On-Demand (“ondemand”) or Reserved (“reserved”) pricing option. |
|---|---|
| Returns: | Prints EC2 pricing in the Pretty Table format. |
| Parameters: |
|
|---|---|
| Returns: | Prints EC2 pricing in the CSV format (console). |
Bases: awspricingfull.AWSPrices
Class for retrieving the ElastiCache pricing. Child of awspricingfull.AWSPrices class.
str
Undocumented AWS Pricing API URL - On-Demand ELC Current Generation.
str
Undocumented AWS Pricing API URL - On-Demand ELC Previous Generation.
str
Undocumented AWS Pricing - Light Reserved ELC Current Generation.
str
Undocumented AWS Pricing- Medium Reserved ELC Current Generation.
str
Undocumented AWS Pricing- Heavy Reserved ELC Current Generation.
str
Undocumented AWS Pricing- Light Reserved ELC Previous Generation.
str
Undocumented AWS Pricing- Medium Reserved ELC Previous Generation.
str
Undocumented AWS Pricing- Heavy Reserved ELC Previous Generation.
dict of str: str
Mapping of Reserved urls to Reservation types.
dict of str: str
Mapping of internal AWS ELC Type names to the conventional analogs.
Implementation of method for getting ELC On-Denand pricing.
| Returns: | result – ELC On-Denand pricing in dictionary format. |
|---|---|
| Return type: | dict of dict: dict |
Implementation of method for getting ELC Reserved pricing.
| Returns: | result – ELC Reserved pricing in dictionary format. |
|---|---|
| Return type: | dict of dict: dict |
| Parameters: | u (str) – Parameter specifying On-Demand (“ondemand”) or Reserved (“reserved”) pricing option. |
|---|---|
| Returns: | Prints ELC pricing in the Pretty Table format. |
| Parameters: |
|
|---|---|
| Returns: | Prints ELC pricing in the CSV format (console). |
Bases: awspricingfull.AWSPrices
Class for retrieving the RDS pricing. Child of awspricingfull.AWSPrices class.
str
Undocumented AWS API URL - RDS Single AZ MySQL GPL, On-Demand, Current Generation.
str
Undocumented AWS API URL - RDS Multi AZ MySQL GPL, On-Demand, Current Generation.
str
Undocumented AWS API URL - RDS Single AZ Oracle Licensed, On-Demand, Current Generation.
str
Undocumented AWS API URL - RDS Multi AZ Oracle Licensed, On-Demand, Current Generation.
str
Undocumented AWS API URL - RDS Single AZ Oracle BYOL, On-Demand, Current Generation.
str
Undocumented AWS API URL - RDS Multi AZ Oracle BYOL, On-Demand, Current Generation.
str
Undocumented AWS API URL - RDS Single AZ MS SQL Server Express Licensed, On-Demand, Current Generation.
str
Undocumented AWS API URL - RDS Single AZ MS SQL Server WEB Licensed, On-Demand, Current Generation.
str
Undocumented AWS API URL - RDS Single AZ MS SQL Server SE Licensed, On-Demand, Current Generation.
str
Undocumented AWS API URL - RDS Multi AZ MS SQL Server SE Licensed, On-Demand, Current Generation.
str
Undocumented AWS API URL - RDS Single AZ MS SQL Server BYOL, On-Demand, Current Generation.
str
Undocumented AWS API URL - RDS Multi AZ MS SQL Server BYOL, On-Demand, Current Generation.
str
Undocumented AWS API URL - RDS Single AZ Postgres On-Demand, Current Generation.
str
Undocumented AWS API URL - RDS Multi AZ Postgres, On-Demand, Current Generation.
str
Undocumented AWS API URL - RDS Single AZ MySQL GPL, On-Demand, Previous Generation.
str
Undocumented AWS API URL - RDS Multi AZ MySQL GPL, On-Demand, Previous Generation.
str
Undocumented AWS API URL - RDS Single AZ Oracle Licensed, On-Demand, Previous Generation.
str
Undocumented AWS API URL - RDS Multi AZ Oracle Licensed, On-Demand, Previous Generation.
str
Undocumented AWS API URL - RDS Single AZ Oracle BYOL, On-Demand, Previous Generation.
str
Undocumented AWS API URL - RDS Multi AZ Oracle BYOL, On-Demand, Previous Generation.
str
Undocumented AWS API URL - RDS Single AZ MS SQL Server Express Licensed, On-Demand, Previous Generation.
str
Undocumented AWS API URL - RDS Single AZ MS SQL Server WEB Licensed, On-Demand, Previous Generation.
str
Undocumented AWS API URL - RDS Single AZ MS SQL Server SE Licensed, On-Demand, Previous Generation.
str
Undocumented AWS API URL - RDS Multi AZ MS SQL Server SE Licensed, On-Demand, Previous Generation.
str
Undocumented AWS API URL - RDS Single AZ MS SQL Server BYOL, On-Demand, Previous Generation.
str
Undocumented AWS API URL - RDS Multi AZ MS SQL Server BYOL, On-Demand, Previous Generation.
str
Undocumented AWS API URL - RDS Single AZ Postgres On-Demand, Previous Generation.
str
Undocumented AWS API URL - RDS Multi AZ Postgres, On-Demand, Previous Generation.
str
Undocumented AWS API URL - RDS Single AZ MySQL GPL, Reserved, Current Generation.
str
Undocumented AWS API URL - RDS Multi AZ MySQL GPL, Reserved, Current Generation.
str
Undocumented AWS API URL - RDS Single AZ Oracle Licensed, Reserved, Current Generation.
str
Undocumented AWS API URL - RDS Multi AZ Oracle Licensed, Reserved, Current Generation.
str
Undocumented AWS API URL - RDS Single AZ Oracle BYOL, Reserved, Current Generation.
str
Undocumented AWS API URL - RDS Multi AZ Oracle BYOL, Reserved, Current Generation.
str
Undocumented AWS API URL - RDS MS SQL Server Express Licensed, Reserved Light, Current Generation.
str
Undocumented AWS API URL - RDS MS SQL Server Express Licensed, Reserved Medium, Current Generation.
str
Undocumented AWS API URL - RDS MS SQL Server Express Licensed, Reserved Heavy, Current Generation.
str
Undocumented AWS API URL - RDS MS SQL Server WEB Licensed, Reserved Light, Current Generation.
str
Undocumented AWS API URL - RDS MS SQL Server WEB Licensed, Reserved Medium, Current Generation.
str
Undocumented AWS API URL - RDS MS SQL Server WEB Licensed, Reserved Heavy, Current Generation.
str
Undocumented AWS API URL - RDS MS SQL Server SE Licensed, Reserved Light, Current Generation.
str
Undocumented AWS API URL - RDS MS SQL Server SE Licensed, Reserved Medium, Current Generation.
str
Undocumented AWS API URL - RDS MS SQL Server SE Licensed, Reserved Heavy, Current Generation.
str
Undocumented AWS API URL - RDS Single AZ MS SQL Server BYOL, Reserved, Current Generation.
str
Undocumented AWS API URL - RDS Multi AZ MS SQL Server BYOL, Reserved, Current Generation.
str
Undocumented AWS API URL - RDS Single AZ Postgres, Reserved, Current Generation.
str
Undocumented AWS API URL - RDS Multi AZ Postgres, Reserved, Current Generation.
str
Undocumented AWS API URL - RDS Single AZ MySQL GPL, Reserved, Previous Generation.
str
Undocumented AWS API URL - RDS Multi AZ MySQL GPL, Reserved, Previous Generation.
str
Undocumented AWS API URL - RDS Single AZ Oracle Licensed, Reserved, Previous Generation.
str
Undocumented AWS API URL - RDS Multi AZ Oracle Licensed, Reserved, Previous Generation.
str
Undocumented AWS API URL - RDS Single AZ Oracle BYOL, Reserved, Previous Generation.
str
Undocumented AWS API URL - RDS Multi AZ Oracle BYOL, Reserved, Previous Generation.
str
Undocumented AWS API URL - RDS MS SQL Server Express Licensed, Reserved Light, Previous Generation.
str
Undocumented AWS API URL - RDS MS SQL Server Express Licensed, Reserved Medium, Previous Generation.
str
Undocumented AWS API URL - RDS MS SQL Server Express Licensed, Reserved Heavy, Previous Generation.
str
Undocumented AWS API URL - RDS MS SQL Server WEB Licensed, Reserved Light, Previous Generation.
str
Undocumented AWS API URL - RDS MS SQL Server WEB Licensed, Reserved Medium, Previous Generation.
str
Undocumented AWS API URL - RDS MS SQL Server WEB Licensed, Reserved Heavy, Previous Generation.
str
Undocumented AWS API URL - RDS MS SQL Server SE Licensed, Reserved Light, Previous Generation.
str
Undocumented AWS API URL - RDS MS SQL Server SE Licensed, Reserved Medium, Previous Generation.
str
Undocumented AWS API URL - RDS MS SQL Server SE Licensed, Reserved Heavy, Previous Generation.
str
Undocumented AWS API URL - RDS Single AZ MS SQL Server BYOL, Reserved, Previous Generation.
str
Undocumented AWS API URL - RDS Multi AZ MS SQL Server BYOL, Reserved, Previous Generation.
str
Undocumented AWS API URL - RDS Single AZ Postgres, Reserved, Previous Generation.
str
Undocumented AWS API URL - RDS Multi AZ Postgres, Reserved, Previous Generation.
list of str
List of RDS engines.
list of str
List of RDS Multi-AZ options.
dict of str: str
Mapping of internal AWS RDS Family names to the cvonventional Multi-AZ tag.
dict of str: list of str
Mapping of AWS RDS URLs (On-Demand, Single AZ) to corresponding engine and license type.
dict of str: list of str
Mapping of AWS RDS URLs (On-Demand, Multi AZ) to corresponding engine and license type.
dict of str: list of str
Mapping of AWS RDS URLs (Reserved, Single AZ, New Pricing Scheme) to corresponding engine and license type.
dict of str: list of str
Mapping of AWS RDS URLs (Reserved, Multi AZ, New Pricing Scheme) to corresponding engine and license type.
dict of str: list of str
Mapping of AWS RDS URLs (Reserved, Old Pricing Scheme) to corresponding engine and license type.
dict of str: str
Mapping of internal AWS RDS Type names to the cvonventional analogs.
Implementation of method for getting RDS On-Denand pricing.
| Returns: | result – RDS On-Denand pricing in dictionary format. |
|---|---|
| Return type: | dict of dict: dict |
Implementation of method for getting RDS Reserved pricing.
| Returns: | result – RDS Reserved pricing in dictionary format. |
|---|---|
| Return type: | dict of dict: dict |
| Parameters: | u (str) – Parameter specifying On-Demand (“ondemand”) or Reserved (“reserved”) pricing option. |
|---|---|
| Returns: | Prints RDS pricing in the Pretty Table format. |
| Parameters: |
|
|---|---|
| Returns: | Prints RDS pricing in the CSV format (console). |
Bases: awspricingfull.AWSPrices
Class for retrieving the Redshift pricing. Child of awspricingfull.AWSPrices class.
str
Undocumented AWS Pricing API URL - On-Demand Redshift Nodes
str
Undocumented AWS Pricing API URL - Reserved Redshift Nodes, Previous Generation
str
Undocumented AWS Pricing API URL - Reserved Redshift Nodes
str
Undocumented AWS Pricing API URL - Reserved Redshift Nodes, Previous Generation
Implementation of method for getting Redshift On-Denand pricing.
| Returns: | result – Redshift On-Denand pricing in dictionary format. |
|---|---|
| Return type: | dict of dict: dict |
Implementation of method for getting Redshift Reserved pricing.
| Returns: | result – Redshift Reserved pricing in dictionary format. |
|---|---|
| Return type: | dict of dict: dict |
| Parameters: | u (str) – Parameter specifying On-Demand (“ondemand”) or Reserved (“reserved”) pricing option. |
|---|---|
| Returns: | Prints Redshift pricing in the Pretty Table format. |
| Parameters: |
|
|---|---|
| Returns: | Prints Redshift pricing in the CSV format (console). |


---
layout: home
permalink: /
title: "SDS - Scalable Data Science"
header:
overlay_color: "#5e616c"
overlay_image: /assets/images/DISP-SDS-1600x524.jpg
# overlay_filter: rgba(0, 106, 167, 0.5)
cta_label: " Overview Now"
cta_url: "/sds/2/2/"
caption:
excerpt: 'Courses in Data Sciences.
{::nomarkdown} {:/nomarkdown}'
feature_row:
- image_path: /assets/images/DISP-SDS-blue-500x300.jpg
alt: "scalable-data-science-2.2"
title: "SDS-2.2"
excerpt: 'A Big Data Course in [Apache Spark](https://spark.apache.org/) 2.2 from Atlantis.'
url: /sds/2/2/
btn_label: "Learn More"
- image_path: /assets/images/DISP-360-in-525-500x300.jpg
alt: "360-in-525"
title: "360-in-525"
excerpt: "[360-in-525](https://lamastex.github.io/scalable-data-science/360-in-525/2018/) Minutes Course Set in Data Sciences."
url: /360-in-525/2018/
btn_label: "Learn More"
- image_path: /assets/images/DISP-lamastex-500x300.jpg
alt: "lamastex"
title: "LaMaStEx"
excerpt: "[SDS](/) is from [LaMaStEx](https://lamastex.github.io/) with support from [databricks](https://databricks.com/) Academic Partners Program."
url: https://lamastex.github.io/
btn_label: "Learn More"
github:
- excerpt: '{::nomarkdown} {:/nomarkdown}'
intro:
- excerpt: '
*SDS, Scalable Data Science*, a preparation for the data industry.'
---
{% include feature_row id="intro" type="center" %}
{% include feature_row %}


Grade: {{ data.grade }}
Subject: {{ data.subject }}
Topic: {{ data.description }}
Ease of teaching: {{ data.difficulty }}%
Total ratings: {{ data.totalRankings }}
Subject: {{ data.subject }}
Topic: {{ data.description }}
Ease of teaching: {{ data.difficulty }}%
Total ratings: {{ data.totalRankings }}
Comments
-
Ease of teaching: {{ comment.rating }}%
{{ comment.date }}
Difficult areas: {{ comment.difficultAreas }}
Techniques: {{ comment.techniques }}
there are no comments available at this time


| 1 | package fr.sii.ogham.core.message.fluent; | |
| 2 | ||
| 3 | import fr.sii.ogham.core.message.content.Content; | |
| 4 | import fr.sii.ogham.core.message.content.StringContent; | |
| 5 | import fr.sii.ogham.core.message.content.StringTemplateContent; | |
| 6 | import fr.sii.ogham.core.message.content.TemplateContent; | |
| 7 | import fr.sii.ogham.core.resource.path.ResourcePath; | |
| 8 | import fr.sii.ogham.core.template.context.Context; | |
| 9 | ||
| 10 | /** | |
| 11 | * Fluent API to build a single content based on: | |
| 12 | *
 | |
| 13 | *
Either a string
 | |
| 14 | *
Or a template string
 | |
| 15 | *
Or a template loaded from a path
 | |
| 16 | *
 | |
| 17 | * | |
| 18 | * @author Aurélien Baudet | |
| 19 | * | |
| 20 | * @param
 | |
| 21 | * the type of the parent for fluent chaining | |
| 22 | * @since 3.0.0 | |
| 23 | */ | |
| 24 | public class SingleContentBuilder
 { | |
| 25 | private final P parent; | |
| 26 | private Content content; | |
| 27 | ||
| 28 | /** | |
| 29 | * Initializes with the parent to go back to. | |
| 30 | * | |
| 31 | * @param parent | |
| 32 | * the parent instance | |
| 33 | */ | |
| 34 | public SingleContentBuilder(P parent) { | |
| 35 | super(); | |
| 36 | this.parent = parent; | |
| 37 | } | |
| 38 | ||
| 39 | /** | |
| 40 | * Set the content directly as a simple string. | |
| 41 | * | |
| 42 | *
 | |
| 43 | * If this method is called several times, only the last value is used. | |
| 44 | * | |
| 45 | *
 | |
| 46 | * If any other method of this class was called before calling this method, | |
| 47 | * only the value of this method is used. | |
| 48 | * | |
| 49 | * @param content | |
| 50 | * the content as a string | |
| 51 | * @return the instance for fluent chaining | |
| 52 | */ | |
| 53 | public P string(String content) { | |
| 54 | this.content = new StringContent(content); | |
| 55 |
2
1. string : replaced return value with null for fr/sii/ogham/core/message/fluent/SingleContentBuilder::string → NO_COVERAGE 2. string : replaced return value with null for fr/sii/ogham/core/message/fluent/SingleContentBuilder::string → KILLED |
return parent; |
| 56 | } | |
| 57 | ||
| 58 | /** | |
| 59 | * Set the content using a template (directly provided as a string). The | |
| 60 | * template contains variables that are evaluated against the bean object. | |
| 61 | * | |
| 62 | *
 | |
| 63 | * If this method is called several times, only the last value is used. | |
| 64 | * | |
| 65 | *
 | |
| 66 | * If any other method of this class was called before calling this method, | |
| 67 | * only the value of this method is used. | |
| 68 | * | |
| 69 | * @param template | |
| 70 | * the template directly provided as a string | |
| 71 | * @param bean | |
| 72 | * the object that contains the variables that are referenced in | |
| 73 | * the template | |
| 74 | * @return the instance for fluent chaining | |
| 75 | */ | |
| 76 | public P templateString(String template, Object bean) { | |
| 77 | this.content = new StringTemplateContent(template, bean); | |
| 78 |
2
1. templateString : replaced return value with null for fr/sii/ogham/core/message/fluent/SingleContentBuilder::templateString → NO_COVERAGE 2. templateString : replaced return value with null for fr/sii/ogham/core/message/fluent/SingleContentBuilder::templateString → KILLED |
return parent; |
| 79 | } | |
| 80 | ||
| 81 | /** | |
| 82 | * Set the content using a template (directly provided as a string). The | |
| 83 | * template contains variables that are evaluated against the evaluation | |
| 84 | * context. The context contains at least the values of the variables but | |
| 85 | * can also contain additional information for parsing the template. | |
| 86 | * | |
| 87 | *
 | |
| 88 | * If this method is called several times, only the last value is used. | |
| 89 | * | |
| 90 | *
 | |
| 91 | * If any other method of this class was called before calling this method, | |
| 92 | * only the value of this method is used. | |
| 93 | * | |
| 94 | * @param template | |
| 95 | * the template directly provided as a string | |
| 96 | * @param context | |
| 97 | * contains at least the variables that are referenced in the | |
| 98 | * template and may contain additional information to parse the | |
| 99 | * template | |
| 100 | * @return the instance for fluent chaining | |
| 101 | */ | |
| 102 | public P templateString(String template, Context context) { | |
| 103 | this.content = new StringTemplateContent(template, context); | |
| 104 |
1
1. templateString : replaced return value with null for fr/sii/ogham/core/message/fluent/SingleContentBuilder::templateString → NO_COVERAGE |
return parent; |
| 105 | } | |
| 106 | ||
| 107 | /** | |
| 108 | * Set the content using a template loaded from a path. The template | |
| 109 | * contains variables that are evaluated against the bean object. | |
| 110 | * | |
| 111 | *
 | |
| 112 | * If this method is called several times, only the last value is used. | |
| 113 | * | |
| 114 | *
 | |
| 115 | * If any other method of this class was called before calling this method, | |
| 116 | * only the value of this method is used. | |
| 117 | * | |
| 118 | * @param templatePath | |
| 119 | * the path to the template | |
| 120 | * @param bean | |
| 121 | * the object that contains the variables that are referenced in | |
| 122 | * the template | |
| 123 | * @return the instance for fluent chaining | |
| 124 | */ | |
| 125 | public P template(String templatePath, Object bean) { | |
| 126 | this.content = new TemplateContent(templatePath, bean); | |
| 127 |
2
1. template : replaced return value with null for fr/sii/ogham/core/message/fluent/SingleContentBuilder::template → NO_COVERAGE 2. template : replaced return value with null for fr/sii/ogham/core/message/fluent/SingleContentBuilder::template → KILLED |
return parent; |
| 128 | } | |
| 129 | ||
| 130 | /** | |
| 131 | * Set the content using a template loaded from a path. The template | |
| 132 | * contains variables that are evaluated against the bean object. | |
| 133 | * | |
| 134 | *
 | |
| 135 | * If this method is called several times, only the last value is used. | |
| 136 | * | |
| 137 | *
 | |
| 138 | * If any other method of this class was called before calling this method, | |
| 139 | * only the value of this method is used. | |
| 140 | * | |
| 141 | * @param templatePath | |
| 142 | * the path to the template | |
| 143 | * @param bean | |
| 144 | * the object that contains the variables that are referenced in | |
| 145 | * the template | |
| 146 | * @return the instance for fluent chaining | |
| 147 | */ | |
| 148 | public P template(ResourcePath templatePath, Object bean) { | |
| 149 | this.content = new TemplateContent(templatePath, bean); | |
| 150 |
1
1. template : replaced return value with null for fr/sii/ogham/core/message/fluent/SingleContentBuilder::template → NO_COVERAGE |
return parent; |
| 151 | } | |
| 152 | ||
| 153 | /** | |
| 154 | * Set the content using a template loaded from a path. The template | |
| 155 | * contains variables that are evaluated against the evaluation context. The | |
| 156 | * context contains at least the values of the variables but can also | |
| 157 | * contain additional information for parsing the template. | |
| 158 | * | |
| 159 | *
 | |
| 160 | * If this method is called several times, only the last value is used. | |
| 161 | * | |
| 162 | *
 | |
| 163 | * If any other method of this class was called before calling this method, | |
| 164 | * only the value of this method is used. | |
| 165 | * | |
| 166 | * @param templatePath | |
| 167 | * the path to the template | |
| 168 | * @param context | |
| 169 | * contains at least the variables that are referenced in the | |
| 170 | * template and may contain additional information to parse the | |
| 171 | * template | |
| 172 | * @return the instance for fluent chaining | |
| 173 | */ | |
| 174 | public P template(String templatePath, Context context) { | |
| 175 | this.content = new TemplateContent(templatePath, context); | |
| 176 |
1
1. template : replaced return value with null for fr/sii/ogham/core/message/fluent/SingleContentBuilder::template → NO_COVERAGE |
return parent; |
| 177 | } | |
| 178 | ||
| 179 | /** | |
| 180 | * Set the content using a template loaded from a path. The template | |
| 181 | * contains variables that are evaluated against the evaluation context. The | |
| 182 | * context contains at least the values of the variables but can also | |
| 183 | * contain additional information for parsing the template. | |
| 184 | * | |
| 185 | *
 | |
| 186 | * If this method is called several times, only the last value is used. | |
| 187 | * | |
| 188 | *
 | |
| 189 | * If any other method of this class was called before calling this method, | |
| 190 | * only the value of this method is used. | |
| 191 | * | |
| 192 | * @param templatePath | |
| 193 | * the path to the template | |
| 194 | * @param context | |
| 195 | * contains at least the variables that are referenced in the | |
| 196 | * template and may contain additional information to parse the | |
| 197 | * template | |
| 198 | * @return the instance for fluent chaining | |
| 199 | */ | |
| 200 | public P template(ResourcePath templatePath, Context context) { | |
| 201 | this.content = new TemplateContent(templatePath, context); | |
| 202 |
1
1. template : replaced return value with null for fr/sii/ogham/core/message/fluent/SingleContentBuilder::template → NO_COVERAGE |
return parent; |
| 203 | } | |
| 204 | ||
| 205 | /** | |
| 206 | * Build the final {@link Content}. Only the last registered content is used | |
| 207 | * (the last call to any method of this class) | |
| 208 | * | |
| 209 | * @return the built content | |
| 210 | */ | |
| 211 | public Content build() { | |
| 212 |
3
1. build : replaced return value with null for fr/sii/ogham/core/message/fluent/SingleContentBuilder::build → SURVIVED 2. build : replaced return value with null for fr/sii/ogham/core/message/fluent/SingleContentBuilder::build → NO_COVERAGE 3. build : replaced return value with null for fr/sii/ogham/core/message/fluent/SingleContentBuilder::build → KILLED |
return content; |
| 213 | } | |
| 214 | } | |
Mutations | ||
| 55 |
1.1 2.2 |
|
| 78 |
1.1 2.2 |
|
| 104 |
1.1 |
|
| 127 |
1.1 2.2 |
|
| 150 |
1.1 |
|
| 176 |
1.1 |
|
| 202 |
1.1 |
|
| 212 |
1.1 2.2 3.3 |


This is a set of bookmarklets that replace typed (Latin) text with characters that represent the same letters but have a different visual appearance.
There are several symbols available in Unicode that resemble small capitals. This script replaces all lower-case plain characters (i.e. without accents) with these characters to create the appearance of a proper Sᴍᴀʟʟ Cᴀᴩs text.
Depending on the typeface the visual appearance of these characters may slightly vary, but they appear to work well on all common platforms.
In addition to a full set (0-9) of numerals, Unicode specifies an almost complete set of superscript characters, including upper- and lower-case letters. Only the letter Q is missing from both sets.
Since these characters come from different contexts they may vary in appearance, but they appear to work just fine on all common platforms.
The Unicode “Enclosed Alphanumerics” code block contains a full set of encircled letters and numbers. For good measure, the script also replaces a number of mathematical operators and the katakana Tu (ツ) with encircled versions
Support for “Enclosed Alphanumerics” is very good across browsers and platforms, but the encircled math operators may look slightly different from the other characters, depending on the platform.
Also part of the “Enclosed Alphanumerics” code block is a set of letters and all numbers with parentheses. There are no upper-case variants of these, therefore the script also converts all letters to lower-case.
Support for “Enclosed Alphanumerics” is very good across browsers and platforms.
These are variants of the standard plain Latin characters
Support for Fullwidth Forms is very good across browsers and platforms. Google even seems to recognise them as equivalent to the regular characters, at least for searches.
You can test these functions in the following text field. Please select some text before clicking on any of the buttons below:
© 2016 by Sascha René Leib, all rights reserved.


Before run your first web app to control your devices, you still need confirm you have started h5control Service program in your operation system (Mac OS X, Windows or Linux). The service program will set up a bridge between the hardware and your web apps. h5control service is a gateway enables the communication with your hardware through USB / bluetooth serial ports and transmitting bytes to your web pages through web socket and http requests.
With making HTML5 web apps, developers can put intelligent control logic and user-interface designs into one software container. And h5control framework provides all required drivers for hardware components. The developer could write the script code to control hardware as same as the way to handle objects in your HTML documents with ease.
JavaScript is the script language hosted on your web browser. In order to obtain all features to control your devices, a file named h5control.js need be included in your web page. Please add the following line in your HTML source. Now, the class library is available for talking with your hardware.
<script type="text/javascript" src="h5control.js"></script>
For web app developing, any popular web browser such as Chrome, Safari, Firefox, Internet Explorer or Edge provides a very useful developer tool named Web Inspector. It's convenient to debug your JavaScript code of your web app using Web Inspector in the web browser. Set up break points, step through code or watch variables, all are available with Web Inspector.
And now, please select Console tab in Web Inspector window, you can type JavaScript code in the instant command field. The code will be executed immediately after press Enter key. Web Inspector console is much similar to a command line environment where you can execute commands calling your hardware interactively. Let's begin to try some basic h5control JavaScript commands and familiarise yourself with h5control programming.
h5control.setup();
h5control is a global object declared in h5control.js. Usually, it's required to call function setup() to initialize the environment of h5control system before any device controlling. Then, h5control.js will call h5control service to create connections to your hardware.
h5control.resetAll();
To execute h5control.resetAll() will reset all connected hardware and clear the configuration in devices. h5control can write new configuration after the device reset.
var led = new DigitalOut();
To execute this code line will declare a new DigitalOut object for the LED light on your device. The object declaration must be required before configuring and handling the real component on the hardware.
led.setup(1, 13);
Now, need configure the hardware by calling function setup() of the led object. Two parameters are set in the function,
the first parameter is unit ID, and the second parameter is the pin number.
Every h5control-ready device must have an unit ID as the device address.
In fact, a h5control app on one computer can connect with multiple devices at the same time.
To assign an unique unit ID for each device should be necessary to recognize different devices in one h5control app.
However, only one device is connected in most h5control case. And then, the device unit ID is usually a
default number, the unit ID in factory defaults is always 1 .
Because the built-in LED on Arduino board is wired to pin 13, the second parameter is set to 13 in this case.
led.setValue(1);
Call function setValue() to light on or light off the LED. In the example, led is a DigitalOut object. The setValue function has a parameter to affect the digital output state, the parameter value can be set to 1 or 0.
led.getValue();
Call function getValue() to retrieve the LED state.
Normally, h5control adopts asynchronous mode while calling hardware for the most efficient program running.
Therefore, you should find nothing returned by the function. Instead, you have to make a callback function for
led.whenGetValue() to retrieve the LED state.
We will introduce the event callback regulation of h5control programming later, and here show you another alternative to
get the result in the function return value, this usage looks easy to use much more.
h5control.waitRsp();
Execute h5control.waitRsp() to disable the asynchronous calling mode.
Then, any function will always wait for a while until the hardware calling is finished, and return the result data in
return value.
waitRsp just means "wait for response".
Now, please call led.getValue() again, the LED state value will be returned instantly.
h5control.nowaitRsp();
Execute h5control.nowaitRsp() to enable the asynchronous calling mode.
Then, any function will never wait for the hardware calling finish.
nowaitRsp just means "no wait for response".
Important, nowaitRsp is the default mode that will make your program running more efficient.


Recipe 3
Best Peanut Butter Cookies Ever
Ingredients
- 1/2 cup white sugar
- 1/2 cup white sugar
- 1/2 cup white sugar
- 3 cups toasted oat cereal
- 1 cup salted peanuts (optional)
Details
- Grease a 9x13 inch pan. In a large saucepan over medium heat, stir together the sugar and honey. Bring to a boil, then remove from heat and stir in the peanut butter until well blended. Stir in the cereal and if desired, stir in the salted peanuts. Press into the prepared pan. Allow to cool until firm, then cut into bars.


ok, so I’m like the most competitive person ever. I can’t help it. I play a game with my 8 year old who can grab the other’s nose first. I try not to let her win even if she cries about it. I’m a little over competitive. I try to hide it, and keep it to myself, but right now I have to share this tool that actually tells me what I want to know.
Website
So, today I’m talking about mysteemitfriends.online. It’s a website that tracks cool data. I came for follower count to know where I’m currently ranked on the chain, but I’ve found some other good shit too. Here’s what the site homepage looks like.
So, you have the ability to check quite a bit of stats.
Let’s start with contributors
These are the folks that have helped me grow my account through posting. Looks like I owe @canadian-coconut a slightly used mid sized sedan!
Next I wanted to know how I stand in power rankings
Looks like @aggroed has the 152nd most Steem Power of anyone on the block. Looking to break top 100…. thinking Steem Monsters is gonna help me do it.
Reputation- possibly the most important stat
here you can see Im’ rocking my rep of 74.37 putting me 43rd on the whole platform. Rep has a lot to do with rewards you’ve earned and who has hit you with them. The fact that I’m this high on the list usually means I’ve gotten some sweet sweet voting love, and have escaped getting many flags
Follower count… my mega vanity
Ok, I have a social mission to spread peace, abundance, and liberty. That means I have to have followers to receive and spread that mission. This is the number that means the most to me. As you can see I’m at 29th highest follower count on the platform, but that’s not a real number. Folks like cryptoriddler have tons of followers they gain through f4f. I tend to remove those bot like accounts when trying to come up with my actual follower count. When I’ve done that I count myself as 13th on the platform for follower count aka message spreading ability. That’s joyful news! Gotta hit top 10 though. Ned’s only 2k follows ahead. I bet I can sneak them out… he doesn’t post much! He doesn’t have monsters…
that’s my steem help post for the day.
This page is synchronized from the post: ‘Satiating Steem Vanity- mysteemitfriends.online’


{% extends "bootstrap/base.html" %} {% block title %} Image Occlusion Task {% endblock title %} {% block head %} {{ super() }} {% endblock head %} {%block content%}
Your almost done. Just answer one more question for us.


The Best New Deals + Exclusive Offers from RetailMeNot!
Save at Macy’s Friends & Family Sale!  Offer Ends April 29th!
& many more at www.retailmenot.com
Copyright 2013 WhaleShark Media. 301 Congress Avenue, Suite 700, Austin, Texas 78701
To opt-out please reply to this email with UNSUBSCRIBE in the subject line.


"""The Devito backend configuration engine.
.. warning :: The backend should always be set via :func:`devito.init`
"""
# This code is partly extracted from https://github.com/OP2/PyOP2/
from __future__ import absolute_import
from sympy.core.function import FunctionClass
from devito.exceptions import DevitoError
from devito.logger import warning
backends = {}
backends_registry = ('core', 'yask', 'void')
[docs]class void(object):
"""
Dummy backend.
"""
pass
class _BackendSelector(FunctionClass):
"""
Metaclass creating the backend class corresponding to the requested class.
"""
_backend = void
def __new__(cls, name, bases, dct):
"""
Inherit Docstrings when creating a class definition. A variation of
http://groups.google.com/group/comp.lang.python/msg/26f7b4fcb4d66c95
by Paul McGuire.
Source: http://stackoverflow.com/a/8101118/396967
"""
# Get the class docstring
if not('__doc__' in dct and dct['__doc__']):
for mro_cls in (cls for base in bases for cls in base.mro()):
doc = mro_cls.__doc__
if doc:
dct['__doc__'] = doc
break
# Get the attribute docstrings
for attr, attribute in dct.items():
if not attribute.__doc__:
for mro_cls in (cls for base in bases for cls in base.mro()
if hasattr(cls, attr)):
doc = getattr(getattr(mro_cls, attr), '__doc__')
if doc:
attribute.__doc__ = doc
break
return type.__new__(cls, name, bases, dct)
def __call__(cls, *args, **kwargs):
"""
Create an instance of the request class for the current backend.
"""
# Try the selected backend first
try:
t = cls._backend.__dict__[cls.__name__]
except KeyError as e:
warning('Backend %s does not appear to implement class %s'
% (cls._backend.__name__, cls.__name__))
raise e
# Invoke the constructor with the arguments given
return t(*args, **kwargs)
# More disgusting metaclass voodoo
def __instancecheck__(cls, instance):
"""
Return True if instance is an instance of cls.
We need to override the default isinstance check because
``type(function.Function(...))`` is ``function.Function``, but
type(function.Function) is ``_BackendSelector`` and so by default
``isinstance(function.Function(...), function.Function)`` is False.
"""
return isinstance(instance, cls._backend.__dict__[cls.__name__])
def __subclasscheck__(cls, subclass):
"""
Return True if subclass is a subclass of cls.
We need to override the default subclass check because
``type(function.Function(...))`` is ``function.Function`, but
``type(function.Function)`` is ``_BackendSelector`` and so by default
``isinstance(type(function.Function(...)), function.Function)`` is False.
"""
return issubclass(subclass, cls._backend.__dict__[cls.__name__])
[docs]def get_backend():
"""
Get the Devito backend.
"""
return _BackendSelector._backend.__name__
[docs]def set_backend(backend):
"""
Set the Devito backend.
"""
global _BackendSelector
if _BackendSelector._backend != void:
warning("WARNING: Switching backend to %s" % backend)
try:
# We need to pass a non-empty fromlist so that __import__
# returns the submodule (i.e. the backend) rather than the
# package.
mod = __import__('devito.%s' % backend, fromlist=['None'])
except ImportError as e:
warning('Unable to import backend %s' % backend)
raise e
backends[backend] = mod
_BackendSelector._backend = mod
[docs]def initialised_backend():
"""Check whether Devito has been yet initialised."""
return backends.get_backend() != 'void'
[docs]def init_backend(backend):
"""
Initialise Devito: select the backend and other configuration options.
"""
if backend not in backends_registry:
raise RuntimeError("Calling init() for a different backend is illegal.")
try:
set_backend(backend)
except (ImportError, RuntimeError):
raise DevitoError("Couldn't initialize Devito.")


just checked out komodo from jl777/komodo - i cannot get it to compile. it dies with configure.ac:129: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1


See: Description
| Class | Description |
|---|---|
| AtomicBoolean |
A
boolean value that may be updated atomically. |
| AtomicInteger |
An
int value that may be updated atomically. |
| AtomicIntegerArray |
An
int array in which elements may be updated atomically. |
| AtomicIntegerFieldUpdater<T> |
A reflection-based utility that enables atomic updates to
designated
volatile int fields of designated classes. |
| AtomicLong |
A
long value that may be updated atomically. |
| AtomicLongArray |
A
long array in which elements may be updated atomically. |
| AtomicLongFieldUpdater<T> |
A reflection-based utility that enables atomic updates to
designated
volatile long fields of designated classes. |
| AtomicMarkableReference<V> |
An
AtomicMarkableReference maintains an object reference
along with a mark bit, that can be updated atomically. |
| AtomicReference<V> |
An object reference that may be updated atomically.
|
| AtomicReferenceArray<E> |
An array of object references in which elements may be updated
atomically.
|
| AtomicReferenceFieldUpdater<T,V> |
A reflection-based utility that enables atomic updates to
designated
volatile reference fields of designated
classes. |
| AtomicStampedReference<V> |
An
AtomicStampedReference maintains an object reference
along with an integer "stamp", that can be updated atomically. |
| DoubleAccumulator |
One or more variables that together maintain a running
double
value updated using a supplied function. |
| DoubleAdder |
One or more variables that together maintain an initially zero
double sum. |
| LongAccumulator |
One or more variables that together maintain a running
long
value updated using a supplied function. |
| LongAdder |
One or more variables that together maintain an initially zero
long sum. |
volatile
values, fields, and
array elements to those that also provide an atomic conditional update
operation of the form:
boolean compareAndSet(expectedValue, updateValue);
This method (which varies in argument types across different
classes) atomically sets a variable to the updateValue
if it
currently holds the expectedValue
, reporting true
on
success. The classes in this package also contain methods to get and
unconditionally set values, as well as a weaker conditional atomic
update operation weakCompareAndSet
described below.
The specifications of these methods enable implementations to employ efficient machine-level atomic instructions that are available on contemporary processors. However on some platforms, support may entail some form of internal locking. Thus the methods are not strictly guaranteed to be non-blocking -- a thread may block transiently before performing the operation.
Instances of classes
AtomicBoolean
,
AtomicInteger
,
AtomicLong
, and
AtomicReference
each provide access and updates to a single variable of the
corresponding type. Each class also provides appropriate utility
methods for that type. For example, classes AtomicLong
and
AtomicInteger
provide atomic increment methods. One
application is to generate sequence numbers, as in:
class Sequencer {
private final AtomicLong sequenceNumber
= new AtomicLong(0);
public long next() {
return sequenceNumber.getAndIncrement();
}
}
It is straightforward to define new utility functions that, like
getAndIncrement
, apply a function to a value atomically.
For example, given some transformation
long transform(long input)
write your utility method as follows:
long getAndTransform(AtomicLong var) {
long prev, next;
do {
prev = var.get();
next = transform(prev);
} while (!var.compareAndSet(prev, next));
return prev; // return next; for transformAndGet
}
The memory effects for accesses and updates of atomics generally follow the rules for volatiles, as stated in The Java Language Specification (17.4 Memory Model):
get
has the memory effects of reading a
volatile
variable.
set
has the memory effects of writing (assigning) a
volatile
variable.
lazySet
has the memory effects of writing (assigning)
a volatile
variable except that it permits reorderings with
subsequent (but not previous) memory actions that do not themselves
impose reordering constraints with ordinary non-volatile
writes. Among other usage contexts, lazySet
may apply when
nulling out, for the sake of garbage collection, a reference that is
never accessed again.
weakCompareAndSet
atomically reads and conditionally
writes a variable but does not
create any happens-before orderings, so provides no guarantees
with respect to previous or subsequent reads and writes of any
variables other than the target of the weakCompareAndSet
.
compareAndSet
and all other read-and-update operations such as getAndIncrement
have the memory effects of both reading and
writing volatile
variables.
In addition to classes representing single values, this package
contains Updater classes that can be used to obtain
compareAndSet
operations on any selected volatile
field of any selected class.
AtomicReferenceFieldUpdater
,
AtomicIntegerFieldUpdater
, and
AtomicLongFieldUpdater
are
reflection-based utilities that provide access to the associated
field types. These are mainly of use in atomic data structures in
which several volatile
fields of the same node (for
example, the links of a tree node) are independently subject to
atomic updates. These classes enable greater flexibility in how
and when to use atomic updates, at the expense of more awkward
reflection-based setup, less convenient usage, and weaker
guarantees.
The
AtomicIntegerArray
,
AtomicLongArray
, and
AtomicReferenceArray
classes
further extend atomic operation support to arrays of these types.
These classes are also notable in providing volatile
access
semantics for their array elements, which is not supported for
ordinary arrays.
The atomic classes also support method
weakCompareAndSet
, which has limited applicability. On some
platforms, the weak version may be more efficient than compareAndSet
in the normal case, but differs in that any given
invocation of the weakCompareAndSet
method may return false
spuriously (that is, for no apparent reason). A
false
return means only that the operation may be retried if
desired, relying on the guarantee that repeated invocation when the
variable holds expectedValue
and no other thread is also
attempting to set the variable will eventually succeed. (Such
spurious failures may for example be due to memory contention effects
that are unrelated to whether the expected and current values are
equal.) Additionally weakCompareAndSet
does not provide
ordering guarantees that are usually needed for synchronization
control. However, the method may be useful for updating counters and
statistics when such updates are unrelated to the other
happens-before orderings of a program. When a thread sees an update
to an atomic variable caused by a weakCompareAndSet
, it does
not necessarily see updates to any other variables that
occurred before the weakCompareAndSet
. This may be
acceptable when, for example, updating performance statistics, but
rarely otherwise.
The AtomicMarkableReference
class associates a single boolean with a reference. For example, this
bit might be used inside a data structure to mean that the object
being referenced has logically been deleted.
The AtomicStampedReference
class associates an integer value with a reference. This may be
used for example, to represent version numbers corresponding to
series of updates.
Atomic classes are designed primarily as building blocks for
implementing non-blocking data structures and related infrastructure
classes. The compareAndSet
method is not a general
replacement for locking. It applies only when critical updates for an
object are confined to a single variable.
Atomic classes are not general purpose replacements for
java.lang.Integer
and related classes. They do not
define methods such as equals
, hashCode
and
compareTo
. (Because atomic variables are expected to be
mutated, they are poor choices for hash table keys.) Additionally,
classes are provided only for those types that are commonly useful in
intended applications. For example, there is no atomic class for
representing byte
. In those infrequent cases where you would
like to do so, you can use an AtomicInteger
to hold
byte
values, and cast appropriately.
You can also hold floats using
Float.floatToRawIntBits(float)
and
Float.intBitsToFloat(int)
conversions, and doubles using
Double.doubleToRawLongBits(double)
and
Double.longBitsToDouble(long)
conversions.
Dracula Javadoc Sample, Made with Allan Im.


{% extends extends_tmpl %} {% load i18n %} {% block content %}
{% trans "Thanks for logging in to your account on our site. You can now manage your tournaments from your account. See below for a list of tournaments where you are an administrator." %}


SoundJS Module
The SoundJS library manages the playback of audio on the web. It works via plugins which abstract the actual audio implementation, so playback is possible on any platform without specific knowledge of what mechanisms are necessary to play sounds.
To use SoundJS, use the public API on the Sound class. This API is for:
- Installing audio playback Plugins
- Registering (and preloading) sounds
- Creating and playing sounds
- Master volume, mute, and stop controls for all sounds at once
Please note that as of version 0.4.0, the "SoundJS" object only provides version information. All APIs from SoundJS are now available on the Sound class.
Controlling Sounds
Playing sounds creates SoundInstance instances, which can be controlled individually.
- Pause, resume, seek, and stop sounds
- Control a sound's volume, mute, and pan
- Listen for events on sound instances to get notified when they finish, loop, or fail
Feature Set Example
createjs.Sound.addEventListener("fileload", createjs.proxy(this.loadHandler, this));
createjs.Sound.registerSound("path/to/mySound.mp3|path/to/mySound.ogg", "sound");
function loadHandler(event) {
// This is fired for each sound that is registered.
var instance = createjs.Sound.play("sound"); // play using id. Could also use full sourcepath or event.src.
instance.addEventListener("complete", createjs.proxy(this.handleComplete, this));
instance.setVolume(0.5);
}
This module provides the following classes:


public interface Texture
| Modifier and Type | Method and Description |
|---|---|
void |
bind()
Bind the GL context to a texture
|
float |
getHeight()
Get the height of the physical texture
|
int |
getImageHeight()
Get the height of the original image
|
int |
getImageWidth()
Get the width of the original image
|
byte[] |
getTextureData()
Get the pixel data from the card for this texture
|
int |
getTextureHeight()
Get the height of the actual texture
|
int |
getTextureID()
Get the OpenGL texture ID for this texture
|
java.lang.String |
getTextureRef()
Get the reference from which this texture was loaded
|
int |
getTextureWidth()
Get the width of the actual texture
|
float |
getWidth()
Get the width of the physical texture
|
boolean |
hasAlpha()
Check if the texture has alpha
|
void |
release()
Destroy the texture reference
|
void |
setTextureFilter(int textureFilter)
Apply a given texture filter to the texture
|
boolean hasAlpha()
java.lang.String getTextureRef()
void bind()
int getImageHeight()
int getImageWidth()
float getHeight()
float getWidth()
int getTextureHeight()
int getTextureWidth()
void release()
int getTextureID()
byte[] getTextureData()
void setTextureFilter(int textureFilter)
textureFilter
- The texture filter to apply (GL_LINEAR, GL_NEAREST, etc..)


Methods
Instance Public methods
apply_import()
Link
Source: show
# File app/controllers/team_members_controller.rb, line 51 def apply_import giver = Project.find(params[:source_project_id]) status = UsersProject.import_team(giver, project) notice = status ? "Succesfully imported" : "Import failed" redirect_to project_team_members_path(project), notice: notice end
create()
Link
Source: show
# File app/controllers/team_members_controller.rb, line 18 def create @project.add_users_ids_to_team( params[:user_ids], params[:project_access] ) if params[:redirect_to] redirect_to params[:redirect_to] else redirect_to project_team_index_path(@project) end end
destroy()
Link
Source: show
# File app/controllers/team_members_controller.rb, line 41 def destroy @team_member = project.users_projects.find(params[:id]) @team_member.destroy respond_to do |format| format.html { redirect_to project_team_index_path(@project) } format.js { render nothing: true } end end
new()
Link
Source: show
# File app/controllers/team_members_controller.rb, line 14 def new @team_member = project.users_projects.new end
show()
Link
Source: show
# File app/controllers/team_members_controller.rb, line 9 def show @team_member = project.users_projects.find(params[:id]) @events = @team_member.user.recent_events.where(:project_id => @project.id).limit(7) end
update()
Link
Source: show
# File app/controllers/team_members_controller.rb, line 31 def update @team_member = project.users_projects.find(params[:id]) @team_member.update_attributes(params[:team_member]) unless @team_member.valid? flash[:alert] = "User should have at least one role" end redirect_to project_team_index_path(@project) end


This package contains examples that demonstrate the usage of the components of the Electrical.Digital library.
The examples are simple to understand. They will show a typical behavior of the components, and they will give hints to users.
| Name | Description |
|---|---|
| Multiplexer | 4 to 1 Bit Multiplexer Example |
| FlipFlop | Pulse Triggered Master Slave Flip-Flop |
| HalfAdder | Adding circuit for binary numbers without input carry bit |
| FullAdder | Full 1 Bit Adder Example |
| Adder4 | 4 Bit Adder Example |
| Counter3 | 3 Bit Counter Example |
| Counter | Generic N Bit Counter Example |
| VectorDelay | Vector delay |
| DFFREG | Pulse triggered D-Register-Bank, high active reset |
| DFFREGL | Pulse triggered D-Register-Bank, low active reset |
| DFFREGSRH | Pulse triggered D-Register-Bank, high active set and reset |
| DFFREGSRL | Pulse triggered D-Register-Bank, low active set and reset |
| DLATREG | Level sensitive D-Register-Bank, high active reset |
| DLATREGL | Level sensitive D-Register-Bank, low active reset |
| DLATREGSRH | Level sensitive D-Register-Bank, high active set and reset |
| DLATREGSRL | Level sensitive D-Register-Bank, low active set and reset |
| NXFER | Functionality test of NXFERGATE |
| NRXFER | Functionality test of NRXFERGATE |
| BUF3S | Functionality test of BUF3S |
| INV3S | Functionality test of INV3S |
| WiredX | Functionality test of WiredX |
| MUX2x1 | Simple Multiplexer test |
| RAM | Simple RAM test example |
| Utilities | Utility components used by package Examples |


We do not store any data on our own servers.
Instead, we use your Google account to efficiently store your files in Google Sheets.
You keep total control over your files.
Read moreStore any file of any size for free from anywhere. There are zero restrictions or limitations.
Not only do we provide an intuitive online dashboard for managing your files, but we also created a command-line interface and desktop application for managing your files from anywhere.
DownloadHow HolySheet works
The way HolySheet works is relatively simple. It works on the following premises:
Implementation details on how the website works are displayed below.
HolySheet is entirely open source, feel free to contribute!