Major shareholder piles pressure on Deutsche Bank chairman
by Sebastian McCarthyDeutsche Bank’s chairman is reportedly coming under increasing pressure from some of the lender’s largest shareholders to step aside.
Paul Achleitner is facing calls to be replaced in the latest blow to the embattled bank’s management team, according to the FT.
Read more: Deutsche Bank losses widen amid major restructuring effort
Private equity group Cerberus, which controls a three per cent stake in the lender, is understood to be keen for change at the top in the wake of Deutsche’s collapsed merger talks with Commerzbank.
Speculation of worsening relations between the two sides comes after a torrid period for Deutsche Bank, which has suffered steepening losses in the last 12 months amid industry challenges, botched tie-up plans with Commerzbank and high-profile financial probes.
In the summer Deutsche Bank chief executive Christian Sewing unveiled a major turnaround strategy aimed at slashing costs at the bank.
Deutsche has vowed to cut 18,000 jobs and shut its loss-making equities business, where revenues over the quarter plummeted 32 per cent, as it calls time on its 20-year attempt to rival Wall Street’s investment banking giants.
Pressure from shareholders has surfaced a number of times in recent years, with proxy advisor Institutional Shareholder Services (ISS) calling on investors to vote against the board in May.
Read more: The rising abuse of short-selling tactics could have severe consequences
Sources also told the FT that Deutsche Bank’s other big investors have had an increasingly negative view of Achleitner’s performance.
Achleitner, who is set to end his term in 2022, took over as Deutsche’s chair in 2012.


Who needs a keyboard when you could use your mouse or touchscreen?
This example removes backspace, replacing it with reset. This is because backspace is too hard to spam-click.
This example makes you move the slider left and right with buttons.
It also works for passwords as well.
A revolutionary technology that allows users to prevent accidentally choosing the wrong character!
Everything combined.


{% include "petition/identity_selector.html" with orgs=other_orgs owner=org user=user %}
{% trans "New petition" %}
{% include "petition/org_member_list.html" with org=org user_permissions=user_permissions %}
{% include "petition/org_invite_user.html" with org=org %}
{% include "petition/user_invitations.html" with user=user %}


Sell And Buy Stuff!
Item Type
General Electronics
Mobiles
Audio
Sports
Stationary
Clothing
Accessories
Item name
Item Brand
Date of Purchase
Item Condition
Good
Ok
Seen Better days
Asking Price
Is Price Negotiable?
Yes
No


--- layout: post title: Storyboard Omega Pharma date: '2019-01-14 12:31:26 +0100' categories: - Storyboards ---
Storyboard
Client: Omega Pharma Director: Giles Lovell-Wilson Producer: Lovo Films


OK well. How long does it take to learn?
Wrong question. You can already create projects with Apiko.
All you need to start creating is to do:
git clone https://github.com/kasp1/apiko-start.git
cd apiko-start
npm install
npm run dev
Apiko then opens in a browser tab. If it doesn't, go to http://localhost:5000/dev/.
How to install Git · How to install NPM · GitHub Repository


The_Affair
At once deeply observed and intriguingly elusive, The Affair explores the emotional effects of an extramarital relationship.Noah is a New York City schoolteacher and novelist who is happily married, but resents his dependence on his wealthy father-in-law. Alison is a young waitress trying to piece her life and marriage back together in the wake of a tragedy. The provocative drama unfolds when Alison and Noah meet in Montauk at the end of Long Island.


|
|
| time () |
| | By default, initializes to length 0.
|
| |
| float | as_seconds () const |
| | Convert this time duration into seconds. More...
|
| |
| unsigned long | as_milliseconds () const |
| | Convert this time duration into milliseconds. More...
|
| |
| float | as_minutes () const |
| | Convert this time duration into minutes. More...
|
| |
|
time | operator+ (const time &other) |
| | Add two times together.
|
| |
|
time | operator- (const time &other) |
| | Subtract two time durations.
|
| |
|
time & | operator+= (const time &other) |
| | Add one duration to this.
|
| |
|
time & | operator-= (const time &other) |
| | Subtract a duration of time from this.
|
| |
|
bool | operator> (const time &other) |
| | Check if one duration is larger than another.
|
| |
|
bool | operator< (const time &other) |
| | Check if one duration is smaller than another.
|
| |
|
bool | operator>= (const time &other) |
| | Check if one duration is greater than or equal to another.
|
| |
|
bool | operator<= (const time &other) |
| | Check if one duration is smaller than or equal to another.
|
| |
|
bool | operator== (const time &other) |
| | Check if two durations are exactly equal.
|
| |
|
bool | operator!= (const time &other) |
| | Check if two durations aren't exactly equal.
|
| |
Class representing a duration of time.


{{levels[currentLevelBeingViewed].wordCount}} {{levels[currentLevelBeingViewed].wordCount > 1 ? "WORDS" : "WORD"}}
Level {{currentLevelBeingViewed}}
Level {{ (currentLevelBeingViewed+2)}}
{{levels[currentLevelBeingViewed].maxUndos}} Undos
{{levels[currentLevelBeingViewed].maxSpeaks}} Speaks
{{levels[currentLevelBeingViewed].partialCompletionRatio * 100}}% filled-In


--- layout: page --- {% include anchor-headings.html html=content anchorClass="toc__anchor" anchorBody="#" %}


X.509 Certificates and Certificate Revocation Lists (CRLs)
- In One Sentence: What is a
Certificate?
- What Applications use Certificates?
- How do I get a Certificate?
- What is Inside an X.509 Certificate?
- What Java API Can Be Used to Access and Manage
Certificates?
- What Java Tool Can Generate, Display, Import,
and Export X.509 Certificates?
A public-key certificate is a digitally signed statement
from one entity, saying that the public key (and some other
information) of another entity has some specific value.
Let us expand on some of the key terms used in this
sentence:
- Public Keys
- These are numbers associated with a particular entity, and are
intended to be known to everyone who needs to have trusted
interactions with that entity. Public keys are used to verify
signatures.
- Digitally Signed
- If some data is digitally signed it has been stored with
the "identity" of an entity, and a signature that proves that
entity knows about the data. The data is rendered unforgeable by
signing with the entitys' private key.
- Identity
- A known way of addressing an entity. In some systems the
identity is the public key, in others it can be anything from a
UNIX UID to an Email address to an X.509 Distinguished Name.
- Signature
- A signature is computed over some data using the private key of
an entity (the signer).
- Private Keys
- These are numbers, each of which is supposed to be known only
to the particular entity whose private key it is (that is, it's
supposed to be kept secret). Private and public keys exist in pairs
in all public key cryptography systems (also referred to as "public
key crypto systems"). In a typical public key crypto system, such
as DSA, a private key corresponds to exactly one public key.
Private keys are used to compute signatures.
- Entity
- An entity is a person, organization, program, computer,
business, bank, or something else you are trusting to some
degree.
Basically, public key cryptography requires access to users'
public keys. In a large-scale networked environment it is
impossible to guarantee that prior relationships between
communicating entities have been established or that a trusted
repository exists with all used public keys. Certificates were
invented as a solution to this public key distribution problem. Now
a Certification Authority (CA) can act as a Trusted Third
Party. CAs are entities (e.g., businesses) that are trusted to
sign (issue) certificates for other entities. It is assumed that
CAs will only create valid and reliable certificates as they are
bound by legal agreements. There are many public Certification
Authorities, such as VeriSign, Thawte, Entrust, and so on. You can also run
your own Certification Authority using products such as the
Netscape/Microsoft Certificate Servers or the Entrust CA product
for your organization.
Probably the most widely visible application of X.509
certificates today is in web browsers (such as Mozilla Firefox and
Microsoft Internet Explorer) that support the TLS protocol. TLS
(Transport Layer Security) is a security protocol that provides
privacy and authentication for your network traffic. These browsers
can only use this protocol with web servers that support TLS.
Other technologies that rely on X.509 certificates include:
- Various code-signing schemes, such as signed Java ARchives, and
Microsoft Authenticode.
- Various secure E-Mail standards, such as PEM and S/MIME.
- E-Commerce protocols, such as SET.
There are two basic techniques used to get certificates:
- you can create one yourself (using the right tools, such as
keytool), or
- you can ask a Certification Authority to issue you one (either
directly or using a tool such as keytool to generate the
request).
The main inputs to the certificate creation process are:
- Matched public and private keys, generated using some
special tools (such as keytool), or a browser.
Only the public key is ever shown to anyone else.
The private key is used to sign data; if someone knows your private
key, they can masquerade as you ... perhaps forging legal documents
attributed to you!
- You need to provide information about the entity being
certified (e.g., you). This normally includes information such
as your name and organizational address. If you ask a CA to issue a
certificate for you, you will normally need to provide proof to
show correctness of the information.
If you are asking a CA to issue you a certificate, you provide
your public key and some information about you. You'll use a tool
(such as keytool or a browser that supports
Certificate Signing Request generation). to digitally sign this
information, and send it to the CA. The CA will then generate the
certificate and return it.
If you're generating the certificate yourself, you'll take that
same information, add a little more (dates during which the
certificate is valid, a serial number), and just create the
certificate using some tool (such as keytool).
Not everyone will accept self-signed certificates; one part of the
value provided by a CA is to serve as a neutral and trusted
introduction service, based in part on their verification
requirements, which are openly published in their Certification
Service Practices (CSP).
The X.509 standard defines what information can go into a
certificate, and describes how to write it down (the data format).
All X.509 certificates have the following data, in addition to the
signature:
- Version
- This identifies which version of the X.509 standard applies to
this certificate, which affects what information can be specified
in it. Thus far, three versions are defined.
- Serial Number
- The entity that created the certificate is responsible for
assigning it a serial number to distinguish it from other
certificates it issues. This information is used in numerous ways,
for example when a certificate is revoked its serial number is
placed in a Certificate Revocation List (CRL).
- Signature Algorithm Identifier
- This identifies the algorithm used by the CA to sign the
certificate.
- Issuer Name
- The X.500 name of the entity that signed the certificate. This
is normally a CA. Using this certificate implies trusting the
entity that signed this certificate. (Note that in some cases, such
as root or top-level CA certificates, the issuer signs its
own certificate.)
- Validity Period
- Each certificate is valid only for a limited amount of time.
This period is described by a start date and time and an end date
and time, and can be as short as a few seconds or almost as long as
a century. The validity period chosen depends on a number of
factors, such as the strength of the private key used to sign the
certificate or the amount one is willing to pay for a certificate.
This is the expected period that entities can rely on the public
value, if the associated private key has not been compromised.
- Subject Name
- The name of the entity whose public key the certificate
identifies. This name uses the X.500 standard, so it is intended to
be unique across the Internet. This is the Distinguished Name (DN)
of the entity, for example,
CN=Java Duke, OU=Java Software Division, O=Sun Microsystems Inc, C=US
(These refer to the subject's Common Name, Organizational Unit,
Organization, and Country.)
- Subject Public Key Information
- This is the public key of the entity being named, together with
an algorithm identifier which specifies which public key crypto
system this key belongs to and any associated key parameters.
X.509 Version 1 has been available since 1988, is widely
deployed, and is the most generic.
X.509 Version 2 introduced the concept of subject and
issuer unique identifiers to handle the possibility of reuse of
subject and/or issuer names over time. Most certificate profile
documents strongly recommend that names not be reused, and that
certificates should not make use of unique identifiers. Version 2
certificates are not widely used.
X.509 Version 3 is the most recent (1996) and supports
the notion of extensions, whereby anyone can define an extension
and include it in the certificate. Some common extensions in use
today are: KeyUsage (limits the use of the keys to
particular purposes such as "signing-only") and
AlternativeNames (allows other identities to also be
associated with this public key, e.g. DNS names, Email addresses,
IP addresses). Extensions can be marked critical to indicate
that the extension should be checked and enforced/used. For
example, if a certificate has the KeyUsage extension marked
critical and set to "keyCertSign" then if this certificate is
presented during SSL communication, it should be rejected, as the
certificate extension indicates that the associated private key
should only be used for signing certificates and not for SSL
use.
All the data in a certificate is encoded using two related
standards called ASN.1/DER. Abstract Syntax Notation 1
describes data. The Definite Encoding Rules describe a
single way to store and transfer that data. People have been known
to describe this combination simultaneously as "powerful and
flexible" and as "cryptic and awkward".
The IETF PKIX
working group is in the process of defining standards for the
Internet Public Key Infrastructure. We are closely following their
work, and support the X.509 Certificate and CRL Profile,
which is specified in RFC 3280.
The Certificate API, found in the java.security.cert
package, includes the following:
- the CertificateFactory class defines the functionality
of a certificate factory, which is used to generate certificate,
certificate revocation list (CRL), and certification path objects
from their encoding.
- the Certificate class is an abstract class for managing
a variety of certificates. It is an abstraction for certificates
that have different formats but important common uses. For example,
different types of certificates, such as X.509 and PGP, share
general certificate functionality (like encoding and verifying) and
some types of information like public key.
- the CRL class is an abstract class for managing a
variety of Certificate Revocation Lists (CRLs).
- the X509Certificate class is an abstract class for X.509
Certificates. It provides a standard way to access all the
attributes of an X.509 certificate.
- the X509Extension interface is an interface for an X.509
extension. The extensions defined for X.509 v3 certificates and v2
CRLs (Certificate Revocation Lists) provide mechanisms for
associating additional attributes with users or public keys, such
as for managing the certification hierarchy, and for managing CRL
distribution.
- the X509CRL class is an abstract class for an X.509
Certificate Revocation List (CRL). A CRL is a time-stamped list
identifying revoked certificates. It is signed by a Certification
Authority (CA) and made freely available in a public
repository.
- the X509CRLEntry class is an abstract class for a CRL
entry.
In JDK 1.4, new classes were added to support building and
validating chains of certificates, or certification paths. These
classes are described in further detail in the PKI Programmer's Guide.
There is a tool named keytool ( for Solaris, Linux, or Mac OS X)
( for Windows ) that can be
used to create public/private key pairs and self-signed X.509 v3
certificates, and to manage keystores. Keys and certificates are
used to digitally sign your Java applications and applets (see the
jarsigner (for
Solaris, Linux, or Mac OS X)
(for
Windows) tool).
A keystore is a protected database that holds keys and
certificates. Access to a keystore is guarded by a password
(defined at the time the keystore is created, by the person who
creates the keystore, and changeable only when providing the
current password). In addition, each private key in a keystore can
be guarded by its own password.
Using keytool, it is possible to display, import, and
export X.509 v1, v2, and v3 certificates stored as files, and to
generate new self-signed v3 certificates. For examples, see the
"EXAMPLES" section of the keytool documentation ( for Solaris, Linux,
or Mac OS X ) (
for Windows
).


APConnections Class Reference
| Inherits from | NSObject |
| Declared in | APConnection.h APConnection.m |
Tasks
Searching for APConnection
-
+ searchAllConnectionsWithRelationType:successHandler:
searchAllConnectionsWithRelationType:successHandler:failureHandler:
-
+ searchAllConnectionsWithRelationType:successHandler:failureHandler:
Search for all APConnections of a particular relation type.
-
+ searchAllConnectionsWithRelationType:withQuery:successHandler:
searchAllConnectionsWithRelationType:withQuery:successHandler:failureHandler:
-
+ searchAllConnectionsWithRelationType:withQuery:successHandler:failureHandler:
Searches for APConnections and filters the result according to the query provided.
-
+ searchAllConnectionsWithRelationType:byObjectId:withLabel:withQuery:successHandler:
searchAllConnectionsWithRelationType:byObjectId:withLabel:withQuery:successHandler:failureHandler:
-
+ searchAllConnectionsWithRelationType:byObjectId:withLabel:withQuery:successHandler:failureHandler:
Searches for APConnections of a particular relation type by endpoint.
-
+ searchAllConnectionsWithRelationType:fromObjectId:toObjectId:labelB:withQuery:successHandler:
-
+ searchAllConnectionsWithRelationType:fromObjectId:toObjectId:labelB:withQuery:successHandler:failureHandler:
Searches for APConnections and from a specific object to a specific object.
-
+ searchAllConnectionsFromObjectId:toObjectId:withQuery:successHandler:
searchAllConnectionsFromObjectId:toObjectId:withQuery:successHandler:failureHandler:
-
+ searchAllConnectionsFromObjectId:toObjectId:withQuery:successHandler:failureHandler:
Searches for Connections between the single object and any of the objects in the list and returns the paginated list of all connections .
-
+ searchAllConnectionsFromObjectId:toObjectIds:withQuery:successHandler:
searchAllConnectionsFromObjectId:toObjectIds:withQuery:successHandler:failureHandler:
-
+ searchAllConnectionsFromObjectId:toObjectIds:withQuery:successHandler:failureHandler:
Searches for Connections between the single object and any of the objects in the list and returns the paginated list of all connections .
Fetching APConnection
-
+ fetchConnectionWithRelationType:connectionObjectId:successHandler:
fetchConnectionWithRelationType:connectionObjectId:propertiesToFetch:successHandler:failureHandler:
-
+ fetchConnectionWithRelationType:connectionObjectId:successHandler:failureHandler:
fetchConnectionWithRelationType:connectionObjectId:propertiesToFetch:successHandler:failureHandler:
-
+ fetchConnectionWithRelationType:connectionObjectId:propertiesToFetch:successHandler:failureHandler:
Fetch an APConnection of a particular relation type.
-
+ fetchConnectionsWithRelationType:connectionObjectIds:successHandler:
-
+ fetchConnectionsWithRelationType:connectionObjectIds:successHandler:failureHandler:
-
+ fetchConnectionsWithRelationType:connectionObjectIds:propertiesToFetch:successHandler:failureHandler:
Fetches multiple APConnections from the remote server.
-
+ fetchObjectsConnectedToObjectOfType:withObjectId:withRelationType:fetchConnections:successHandler:
-
+ fetchObjectsConnectedToObjectOfType:withObjectId:withRelationType:fetchConnections:propertiesToFetch:successHandler:failureHandler:
Fetches nodes of coonected objects with connections.
Deleting APConnection
-
+ deleteConnectionsWithRelationType:objectIds:
deleteConnectionsWithRelationType:objectIds:successHandler:failureHandler:
-
+ deleteConnectionsWithRelationType:objectIds:failureHandler:
deleteConnectionsWithRelationType:objectIds:successHandler:failureHandler:
-
+ deleteConnectionsWithRelationType:objectIds:successHandler:failureHandler:
Deletes multiple APConnections.
Class Methods
deleteConnectionsWithRelationType:objectIds:
+ (void)deleteConnectionsWithRelationType:(NSString *)relationType objectIds:(NSArray *)objectIds
Declared In
APConnection.h
deleteConnectionsWithRelationType:objectIds:failureHandler:
+ (void)deleteConnectionsWithRelationType:(NSString *)relationType objectIds:(NSArray *)objectIds failureHandler:(APFailureBlock)failureBlock
Declared In
APConnection.h
deleteConnectionsWithRelationType:objectIds:successHandler:failureHandler:
Deletes multiple APConnections.
+ (void)deleteConnectionsWithRelationType:(NSString *)relationType objectIds:(NSArray *)objectIds successHandler:(APSuccessBlock)successBlock failureHandler:(APFailureBlock)failureBlock
Parameters
- relationType
The name of the relation. Connections of this relation name will be deleted.
- objectIds
An array of objectIds. APConnections having these object ids will be deleted.
- successBlock
Block invoked when the delete call is successful.
- failureBlock
Block invoked when the delete call fails.
Declared In
APConnection.h
fetchConnectionWithRelationType:connectionObjectId:propertiesToFetch:successHandler:failureHandler:
Fetch an APConnection of a particular relation type.
+ (void)fetchConnectionWithRelationType:(NSString *)relationType connectionObjectId:(NSString *)objectId propertiesToFetch:(NSArray *)propertiesToFetch successHandler:(APObjectsSuccessBlock)successBlock failureHandler:(APFailureBlock)failureBlock
Parameters
- relationType
The name of the relation. A connection of this relation name is retrieved.
- objectId
The id of the connection to retrieve.
- propertiesToFetch
Array of properties to be fetched excluding all other.
- successBlock
Block invoked when the fetch call is successful. The block returns the results in the form of an array of objects.
- failureBlock
Block invoked when the fetch call operation fails.
Declared In
APConnection.h
fetchConnectionWithRelationType:connectionObjectId:successHandler:
+ (void)fetchConnectionWithRelationType:(NSString *)relationType connectionObjectId:(NSString *)objectId successHandler:(APObjectsSuccessBlock)successBlock
Declared In
APConnection.h
fetchConnectionWithRelationType:connectionObjectId:successHandler:failureHandler:
+ (void)fetchConnectionWithRelationType:(NSString *)relationType connectionObjectId:(NSString *)objectId successHandler:(APObjectsSuccessBlock)successBlock failureHandler:(APFailureBlock)failureBlock
Declared In
APConnection.h
fetchConnectionsWithRelationType:connectionObjectIds:propertiesToFetch:successHandler:failureHandler:
Fetches multiple APConnections from the remote server.
+ (void)fetchConnectionsWithRelationType:(NSString *)relationType connectionObjectIds:(NSArray *)objectIds propertiesToFetch:(NSArray *)propertiesToFetch successHandler:(APObjectsSuccessBlock)successBlock failureHandler:(APFailureBlock)failureBlock
Parameters
- relationType
The name of the relation. Connections of this relation are retrieved.
- objectIds
An array of objectIds. Connections with these object ids are fetched.
- propertiesToFetch
Array of properties to be fetched excluding all other.
- successBlock
Block invoked when the fetch call is successful. The block returns the results in the form of an array of objects.
- failureBlock
Block invoked when the fetch call operation fails.
Declared In
APConnection.h
fetchConnectionsWithRelationType:connectionObjectIds:successHandler:
+ (void)fetchConnectionsWithRelationType:(NSString *)relationType connectionObjectIds:(NSArray *)objectIds successHandler:(APObjectsSuccessBlock)successBlock
Declared In
APConnection.h
fetchConnectionsWithRelationType:connectionObjectIds:successHandler:failureHandler:
+ (void)fetchConnectionsWithRelationType:(NSString *)relationType connectionObjectIds:(NSArray *)objectIds successHandler:(APObjectsSuccessBlock)successBlock failureHandler:(APFailureBlock)failureBlock
Declared In
APConnection.h
fetchObjectsConnectedToObjectOfType:withObjectId:withRelationType:fetchConnections:propertiesToFetch:successHandler:failureHandler:
Fetches nodes of coonected objects with connections.
+ (void)fetchObjectsConnectedToObjectOfType:(NSString *)objectType withObjectId:(NSString *)objectId withRelationType:(NSString *)relationType fetchConnections:(BOOL)fetchConnections propertiesToFetch:(NSArray *)propertiesToFetch successHandler:(APObjectsSuccessBlock)successBlock failureHandler:(APFailureBlock)failureBlock
Parameters
- objectType
Type of the object to fetch the connected objects from.
- objectId
Object Id of the object to fetch the connected objects from.
- relationType
The name of the relation. Connections of this relation are retrieved.
- fetchConnections
BOOL value indicating whether the connections between the objects need to be fetched.
- propertiesToFetch
Array of properties to be fetched excluding all other.
- successBlock
Block invoked when the fetch call is successful. The block returns the results in the form of an array of APGraphNodes.
- failureBlock
Block invoked when the fetch call operation fails.
Declared In
APConnection.h
fetchObjectsConnectedToObjectOfType:withObjectId:withRelationType:fetchConnections:successHandler:
+ (void)fetchObjectsConnectedToObjectOfType:(NSString *)objectType withObjectId:(NSString *)objectId withRelationType:(NSString *)relationType fetchConnections:(BOOL)fetchConnections successHandler:(APObjectsSuccessBlock)successBlock
Declared In
APConnection.h
searchAllConnectionsFromObjectId:toObjectId:withQuery:successHandler:
+ (void)searchAllConnectionsFromObjectId:(NSString *)objectAId toObjectId:(NSString *)objectBId withQuery:(NSString *)query successHandler:(APPagedResultSuccessBlock)successBlock
Declared In
APConnection.h
searchAllConnectionsFromObjectId:toObjectId:withQuery:successHandler:failureHandler:
Searches for Connections between the single object and any of the objects in the list and returns the paginated list of all connections .
+ (void)searchAllConnectionsFromObjectId:(NSString *)objectAId toObjectId:(NSString *)objectBId withQuery:(NSString *)query successHandler:(APPagedResultSuccessBlock)successBlock failureHandler:(APFailureBlock)failureBlock
Parameters
- objectAId
- ID of the APObject from which the connections are to be retrieved.
- objectBId
- ID of the APObject to which the connections are to be retrieved.
- query
String representation of an APQuery instance.
- successBlock
Block invoked when the search call is successful.
- failureBlock
Block invoked when the search call fails.
Declared In
APConnection.h
searchAllConnectionsFromObjectId:toObjectIds:withQuery:successHandler:
+ (void)searchAllConnectionsFromObjectId:(NSString *)objectId toObjectIds:(NSArray *)objectIds withQuery:(NSString *)query successHandler:(APPagedResultSuccessBlock)successBlock
Declared In
APConnection.h
searchAllConnectionsFromObjectId:toObjectIds:withQuery:successHandler:failureHandler:
Searches for Connections between the single object and any of the objects in the list and returns the paginated list of all connections .
+ (void)searchAllConnectionsFromObjectId:(NSString *)objectId toObjectIds:(NSArray *)objectIds withQuery:(NSString *)query successHandler:(APPagedResultSuccessBlock)successBlock failureHandler:(APFailureBlock)failureBlock
Parameters
- objectId
The id of the APObject for which the connections are to be retrieved.
- objectIds
An array of objectIds.
- query
String representation of an APQuery instance.
- successBlock
Block invoked when the search call is successful.
- failureBlock
Block invoked when the search call fails.
Declared In
APConnection.h
searchAllConnectionsWithRelationType:byObjectId:withLabel:withQuery:successHandler:
+ (void)searchAllConnectionsWithRelationType:(NSString *)relationType byObjectId:(NSString *)objectId withLabel:(NSString *)label withQuery:(NSString *)query successHandler:(APPagedResultSuccessBlock)successBlock
See Also
Declared In
APConnection.h
searchAllConnectionsWithRelationType:byObjectId:withLabel:withQuery:successHandler:failureHandler:
Searches for APConnections of a particular relation type by endpoint.
+ (void)searchAllConnectionsWithRelationType:(NSString *)relationType byObjectId:(NSString *)objectId withLabel:(NSString *)label withQuery:(NSString *)query successHandler:(APPagedResultSuccessBlock)successBlock failureHandler:(APFailureBlock)failureBlock
Parameters
- relationType
The relation type that the connections should belong to.
- objectId
The object Id of the object of the connection.
- label
The label of the endpoint of the connection.
- query
String representation of an APQuery instance.
- successBlock
Block invoked when the search call is successful.
- failureBlock
Block invoked when the search call fails.
Declared In
APConnection.h
searchAllConnectionsWithRelationType:fromObjectId:toObjectId:labelB:withQuery:successHandler:
+ (void)searchAllConnectionsWithRelationType:(NSString *)relationType fromObjectId:(NSString *)objectAId toObjectId:(NSString *)objectBId labelB:(NSString *)labelB withQuery:(NSString *)query successHandler:(APPagedResultSuccessBlock)successBlock
Declared In
APConnection.h
searchAllConnectionsWithRelationType:fromObjectId:toObjectId:labelB:withQuery:successHandler:failureHandler:
Searches for APConnections and from a specific object to a specific object.
+ (void)searchAllConnectionsWithRelationType:(NSString *)relationType fromObjectId:(NSString *)objectAId toObjectId:(NSString *)objectBId labelB:(NSString *)labelB withQuery:(NSString *)query successHandler:(APPagedResultSuccessBlock)successBlock failureHandler:(APFailureBlock)failureBlock
Parameters
- relationType
The relation type that the connections should belong to.
- objectAId
The object Id of the object the connection is from.
- objectBId
The object Id of the object the connection is to.
- labelB
The label for objectB endpoint, only required if objectA and objectB are both of the same type.
- query
String representation of an APQuery instance.
- successBlock
Block invoked when the search call is successful.
- failureBlock
Block invoked when the search call fails.
Declared In
APConnection.h
searchAllConnectionsWithRelationType:successHandler:
+ (void)searchAllConnectionsWithRelationType:(NSString *)relationType successHandler:(APPagedResultSuccessBlock)successBlock
Declared In
APConnection.h
searchAllConnectionsWithRelationType:successHandler:failureHandler:
Search for all APConnections of a particular relation type.
+ (void)searchAllConnectionsWithRelationType:(NSString *)relationType successHandler:(APPagedResultSuccessBlock)successBlock failureHandler:(APFailureBlock)failureBlock
Parameters
- relationType
The relation type that the connections should belong to.
- successBlock
Block invoked when the search call is successful.
- failureBlock
Block invoked when the search call fails.
Declared In
APConnection.h
searchAllConnectionsWithRelationType:withQuery:successHandler:
+ (void)searchAllConnectionsWithRelationType:(NSString *)relationType withQuery:(NSString *)query successHandler:(APPagedResultSuccessBlock)successBlock
Declared In
APConnection.h
searchAllConnectionsWithRelationType:withQuery:successHandler:failureHandler:
Searches for APConnections and filters the result according to the query provided.
+ (void)searchAllConnectionsWithRelationType:(NSString *)relationType withQuery:(NSString *)query successHandler:(APPagedResultSuccessBlock)successBlock failureHandler:(APFailureBlock)failureBlock
Parameters
- relationType
The relation type that the connections should belong to.
- query
String representation of an APQuery instance.
- successBlock
Block invoked when the search call is successful.
- failureBlock
Block invoked when the search call fails.
Declared In
APConnection.h


Define: S I M P S O N W A V E
Byline: Please do not offer my god a peanut.
When will I learn? The answers to life's problems aren't at the bottom of a bottle, they're on TV! How could you?! Haven't you learned anything from that guy who gives those sermons at church? Captain Whatshisname? We live in a society of laws! Why do you think I took you to all those Police Academy movies? For fun? Well, I didn't hear anybody laughing, did you? Except at that guy who made sound effects. Makes sound effects and laughs. Where was I? Oh yeah!
Brace yourselves gentlemen. According to the gas chromatograph, the secret ingredient is… Love!? Who's been screwing with this thing? "Thank the Lord"?  A prayer in a public school. God has no place within these walls, just like facts don't have a place within an organized religion.
Uh, no, they're saying "Boo-urns, Boo-urns."


| fkUtilities reference pages |
m=RANDOMIZE(m) m=RANDOMIZE(m,dim) m=RANDOMIZE(m,dim,groupdim) m=RANDOMIZE(m,...,param1,val1,...) [m,i]=RANDOMIZE(...)
m=RANDOMIZE(m) randomize the values in matrix m along the first dimension.
m=RANDOMIZE(m,dim) randomize along the specified dimension(s). If a vector of dimensions is given, the matrix is randomized along each of these dimensions.
m=RANDOMIZE(m,dim,groupdim) dimensions listed in the vector groupdim are randomized together along the specified dimension(s) dim.
m=RANDOMIZE(m,...,param1,val1,...) specifies optional parameters.
[m,i]=RANDOMIZE(...) also returns the (linear) indexes of the randomized matrix into the original matrix.
m = [1 5 3 2 6 4]; randomize(m) %randomize along the row dimension, possible %output: [3 5 % 6 4 % 1 2] randomize(m,2) %randomize along the column dimension, possible %output: [5 1 % 2 3 % 4 6] randomize(m,1,2) %randomize along the row dimension, but keeping %values together in the column dimension, possible %output: [6 4 % 1 5 % 3 2]
| exp_gen | Toolbox page | padvector |


The Final Improved String pHarser (FISH) has been made during Open Summer of Code 2021, this project is dedicated to split a scientific reference into its relevant components and return the result as a downloadable json file. The current features available include: parsing a single reference, parsing a file of references (see "example data" on our github for valid formats), and extracting references from a pdf. These features are based on already available open source projects and integrate/combine functionalities of these alternatives. The first two features are mainly build with the code of Anystyle.io, which provides one of the best services. Instead of using their default model, the model behind FISH is trained on data provided by the flemish marine institute, consisting of around 2000 example references with no fixed format, going back to the mid 18th century. For the last service, reading references from pdf, Grobid is used. Although they do not allow manual training, their service is high quality and well documented.


Folder¶
Description¶
Represents a file-system folder or directory in a platform-independent manner.
Properties¶
| absoluteURI readonly | The full path name for the referenced folder in URI notation. |
| alias readonly | When true, the object refers to a file system alias or shortcut. |
| created readonly | The creation date of the referenced folder, or null if the object does not refer to a folder on disk. |
| displayName readonly | The localized name portion of the absolute URI for the referenced folder, without the path specification. |
| error readonly | A message describing the most recent file system error. |
| exists readonly | When true, this object refers to a folder that currently exists in the file system. |
| fsName readonly | The platform-specific name of the referenced folder as a full path name. |
| fullName readonly | The full path name for the referenced folder in URI notation. . |
| modified readonly | The date of the referenced folder’s last modification, or null if the object does not refer to a folder on disk. |
| name readonly | The folder name portion of the absolute URI for the referenced file, without the path specification. |
| parent readonly | TThe Folder object for the folder that contains this folder, or null if this object refers to the root folder of a volume. |
| path readonly | The path portion of the object absolute URI for the referenced file, without the folder name. |
| relativeURI readonly | The path name for the referenced folder in URI notation, relative to the current folder. |
Static Properties¶
| appData readonly | The folder containing the application data for all users. |
| appPackage readonly | In Mac OS, a Folder object for the folder containing the bundle of the running application. |
| commonFiles readonly | A Folder object for the folder containing common files for all programs installed by the user. |
| current readonly | A Folder object for the current folder. |
| desktop readonly | A Folder object for the folder that contains the user?s desktop. |
| fs readonly | The name of the current file system. |
| myDocuments readonly | A folder pointing to the user’s My Documents folder. |
| startup readonly | A Folder object for the folder containing the executable image of the running application. |
| system readonly | A Folder object for the folder containing the operating system files. |
| temp readonly | A Folder object for the default folder for temporary files. |
| trash readonly | A Folder object for the folder containing deleted items. On Windows, the trash folder is a virtual folder containing a database; therefore, the property value is null on Windows. |
| userData readonly | A Folder object for the folder containing the user’s application data. |
Constructors¶
| Folder readonly | Creates and returns a new Folder object referring to a given file-system location. |
Methods¶
| changePath readonly | Changes the path specification of the referenced folder. |
| create readonly | Creates a folder at the location given by this object’s?path?property. |
| execute readonly | Opens this folder in the platform-specific file browser (as if it had been double-clicked in the file browser). |
| getFiles readonly | Retrieves the contents of this folder, filtered by the supplied mask. |
| getRelativeURI readonly | Retrieves and returns the path for this file, relative to the specified base path, in URI notation. |
| remove readonly | Deletes the folder associated with this object from disk immediately, without moving it to the system trash. |
| rename readonly | Renames the associated folder. |
| resolve readonly | Attempts to resolve the file-system alias or shortcut that this object refers to. |
| selectDlg readonly | Opens the built-in platform-specific file-browsing dialog, and creates a new File or Folder object for the selected file or folder. |
| toSource readonly | Creates and returns a serialized string representation of this object. |
| toString readonly | Converts this object to a string. |
Static Methods¶
| decode readonly | Decodes a UTF-8 encoded string as required by RFC 2396, and returns the decoded string. |
| encode readonly | Encodes a string as required by RFC 2396, and returns the encoded string. |
| isEncodingAvailable readonly | Reports whether a given encoding is available. |
| selectDialog readonly | Opens the built-in platform-specific file-browsing dialog, and creates a new File or Folder object for the selected file or folder. |


!! Internal Server Error !!
Please retry later or refer to the
Troubleshooting Section
in the readme of the GitHub application repository.


-
First Black-ish, now How to Get Away with Murder — ABC’s embrace of ...
www.vox.com
14 million people tuned in for the premiere of How to Get Away with Murder.
-
The condescension and racism behind American praise of the female pilot ...
www.vox.com
Maryam al-Mansouri's accomplishment is huge, but Americans have been celebrating her in a way that reveals deep Islamophobia
-
Whistleblower’s tapes suggest the Fed was protecting Goldman Sachs from ...
www.vox.com
Here's what you need to know about This American Life and ProPublica's blockbuster scoop.
-
Radiohead's Thom Yorke just released a surprise album, Beyoncé-style
www.vox.com
Thom Yorke, the frontman for Radiohead, just released his second solo album, Tomorrow's Modern Boxes, by dropping it onto BitTorrent without warning.
-
Another American infected with Ebola declared "virus free." Was it ...
www.vox.com
The World Health Organization is touting convalescent blood as a key treatment, though it's still unproven.
-
Border Patrol turned in an agent for punching a teenager. That’s a huge ...
www.vox.com
Why this is such a good sign for Border Patrol reform
-
The Ferguson protests aren't over. Here's why they picked up again this ...
www.vox.com
A couple events this week were enough to renew tensions between Ferguson Police and the local black community.
-
Watch: This woman risked her life to show you what it’s like to live under ...
www.vox.com
"God loves women who are covered."
-
Bill Gross is leaving PIMCO for Janus Capital
www.vox.com
The legendary founder of the world's largest bond fund is taking his talents to . . . well he's staying in the same place geographically, but it's a ...
-
Marijuana legalization doesn't solve racial disparities in the criminal ...
www.vox.com
After legalization and decriminalization, much more work is needed.
-
Laguna Beach turns 10 this week. Let's appreciate its dumb, enduring ...
www.vox.com
Some way and somehow, the show achieved a following and would change the texture of television shows — reality, scripted, and scripted reality — ...
-
The perfect word for Obama's ISIS threat inflation: "threatiness"
www.vox.com
Think of it as like Colbert's truthiness, but for when a US president warns of vague and terrifying threats to the US.
-
The right's youth problem is deeper than you realize
www.vox.com
It's not just that most millennials are Democrats, even the Republicans are more liberal than older Republicans.
-
India says it won't cut emissions for 30 years. What's that mean for ...
www.vox.com
Does that mean the planet is cooked? Not necessarily.
-
Urban Outfitters is now the largest vinyl retailer in the world
www.vox.com
Maybe it is the teens who are responsible for vinyl's unexpected revival
-
Kanye West made a new album and only 20 people got to hear it
www.vox.com
The new Kanye West album has been looming over the pop culture collective unconscious for months.
-
7 things marshmallows teach us about self-control
www.vox.com
Self-control is easier than you think. Here's how to master it.
-
US highway funding is a hot mess, in 1 chart
www.vox.com
The gasoline tax and other user fees are supposed to pay for roads, but they don't even come close.
-
This is what happens when a tattoo needle pierces your skin
www.vox.com
Warning: not for the squeamish
-
What is the Ebola virus?
www.vox.com
Most people's views of Ebola are probably informed by Hollywood — they think of it as a deadly and contagious virus that swirls around the world, ...
-
Is Black-ish the next Modern Family?
www.vox.com
Black-ish, a new family comedy, premiered last night on ABC, and 10.78 million people watched Andre Johnson (Anthony Anderson) and his wife Rainbow ...
-
Warm, funny, and melancholy, Transparent is one of the best new shows of ...
www.vox.com
Looking for something to watch this weekend? Amazon will let you binge all 10 episodes of this terrific series.
-
Why every major network wants an Olivia Pope
www.vox.com
A survey of many of this season's new television shows and their main protagonists reads as if it were a roster of women tailor-made to go ...
-
The civil rights legacy of Eric Holder
www.vox.com
From the war on drugs to local policing, the attorney general pursued a sweeping civil rights agenda.
-
Eric Holder’s "legacy project": getting cops and the public to trust each ...
www.vox.com
Why he's staking his future on a new DOJ program
-
This map shows where politicians raise their money in DC
www.vox.com
Over 5 years, nearly 6,000 political fundraisers were held at just 10 locations.
-
How Former Treasury Officials and the UAE Are Manipulating American ...
firstlook.org
A bizarre neocon/Israel/Gulf-dictator coalition is now driving not only U.S. policy but U.S. discourse, as well, aided by ex U.S. officials.
-
The 5 Best Things About The New High Line
www.fastcodesign.com
Exclusive photos: The High Line's much-anticipated final phase is open. Bring on the tourists.


{{> 'keyboard-shortcuts'}}
×
Warning!
Better check yourself, you're not looking too good.
Hello there!
Open a file to start... after that press ctrl+h for shortcuts


I am prescribed trazadone as a sleep aid for my insomnia and have been taking 50mg at bedtime every night for about three weeks and have had no real psychedelic experience with it before, but a few nights ago I was bored and in the mood for a high. Being broke and having nothing of real use to me I decided to try an amount of trazodone. After reading up on other experiences I found that nobody had tried to snort it before. I had little expectation that anything special would happen so I thought what the hell, little did I know I was in for a very pleasant surprise.
At about 11pm I crushed a 50mg pill and split it into two lines, I decided to start off small so I snorted one line and saved the second one for later. As I did the first line I was surprised to find that the trazodone was virtually painless going up and gave my head a nice tingling sensation. I waited 15 minutes without noticing any change in perception so I decided to do the second line as well. I sat back down and began to chat online with my girlfriend.
After about 45 minutes from taking the first line I noticed that colors became more defined and things began to move in a sort of slow motion. Objects became outlined and everything seemed to stand out. I got up to get a drink of water and my balance was about the same as it would be after getting drunk; I had a very hard time walking straight. At about this time my mood jumped; I became extremely happy and couldn't stop smiling.
An hour after the first line was taken I began to get a pleasant body sensation that is somewhat comparable to a low dose of heroine and my body just pulsed with good feeling. I went to the bathroom to see how I looked and I saw that my eyes were red and my veins were bulging. At that point I checked my pulse and found that my heart was beating a little faster than usual, but nothing fast enough to be concerned about. After that I just sat on the couch very relaxed and watched tv for a while. I drifted off to sleep sometime after and woke up early the next morning feeling well rested and with a lot of energy. My lifted mood was very apparent the next day as well.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


580_kweezy.py
class Solution:
def minCost(self, houses: List[int], cost: List[List[int]], m: int, n: int, target: int) -> int:
dp = [[[9999999999999 for k in range(n+1)] for i in range(0,m+1)] for j in range(0,m)]
#DP[house #][neighborhoods][house # color]
for house in range(m):
for neighborhoods in range(1,m+1):
for last_color in range(1,n+1):
if houses[house] != 0:
color = houses[house]
if house == 0:
dp[house][1][color] = 0
break
if color == last_color:
dp[house][neighborhoods][color] = min(dp[house][neighborhoods][color], dp[house-1][neighborhoods][color])
else:
dp[house][neighborhoods][color] = min(dp[house][neighborhoods][color], dp[house-1][neighborhoods-1][last_color])
continue
for color in range(1,n+1):
if house == 0:
dp[house][1][color] = cost[house][color-1]
continue
if color == last_color:
# print('beep')
dp[house][neighborhoods][color] = min(dp[house][neighborhoods][color], dp[house-1][neighborhoods][color] + cost[house][color-1])
else:
# print('boop')
dp[house][neighborhoods][color] = min(dp[house][neighborhoods][color], dp[house-1][neighborhoods-1][last_color] + cost[house][color-1])
# print(house, neighborhoods, last_color, dp[house][neighborhoods][color])
ans = min(dp[-1][target])
# print(dp)
if ans ==<PHONE_NUMBER>999:
return -1
return ans


[dscrdeql] <SwimedDragon> Damn, pricing is still down on EQLI. Someone's going to regret that soon. I hope this means the whale guy is getting tired and tries to dump his remaining stash (finally)
GatewayBOT18-Feb-19 10:47 PM
[dscrdeql] <Buddz1993> 7 sats is quite disappointed hopefully that changes soon
[dscrdeql] <Buddz1993> at least if ppl want they can get cheap EQLI if they are interested in investing
GatewayBOT18-Feb-19 11:06 PM
[dscrdeql] <SwimedDragon> I hope to get some funds available soon but I'm afraid it's going to be too late, but I've got enough so either way I think all off us are happy enough when price goes up
[dscrdeql] <SwimedDragon> I just want to see the whales face if he sells so much and loses out on it
[dscrdeql] <c2k> ive been buying today...a LOT
11sats down to 7 sats
feels like hes done but not sure.
i would buy 2-3mm down here...just fyi
[dscrdeql] <c2k> silly prices NOT to be buying
[dscrdeql] <Buddz1993> Ye my average was between 15-20 sats
[dscrdeql] <Buddz1993> So lucky you
[dscrdeql] <Buddz1993> I have already have what I want sitting on a very large decent bag .(edited)
GatewayBOT18-Feb-19 11:32 PM
[dscrdeql] <SwimedDragon> I wouldn't expect he's done. I've told a few people not to suddenly buy up at higher prices until we get a lot of new volume from new people. But if I can get some funds available next week and prices are still like this, I'm getting some more to be sure I can set some aside for reward contracts
GatewayBOT18-Feb-19 11:45 PM
[dscrdeql] <CowboyCrypto- Founder> Its disappointing, but nevertheless part of the game. I hate to see anyone dumpiing at these prices but hopefully we can sell them back to them at a much higher rate
GatewayBOT19-Feb-19 03:37 AM
[dscrdeql] <JonTyndal> Hey!
GatewayBOT19-Feb-19 03:47 AM
[dscrdeql] <CowboyCrypto- Founder> sup buddy
[dscrdeql] <CowboyCrypto- Founder> @JonTyndal go hit #tipsy-begin and get registered with our bot
GatewayBOT19-Feb-19 04:51 AM
[dscrdeql] <JonTyndal> Will do. How do I do it though? D;
[dscrdeql] <Thuerlich[ Swiss TIT ]> good morning
GatewayBOT19-Feb-19 05:43 AM
[dscrdeql] <Jellysmash> Good afternoon
GatewayBOT19-Feb-19 06:22 AM
[dscrdeql] <Combat Wombat> @JonTyndal just type ?begin in #tipsy-begin
GatewayBOT19-Feb-19 08:44 AM
[dscrdeql] <nille> good morning,have a nice day
GatewayBOT19-Feb-19 09:04 AM
[dscrdeql] <SwimedDragon> Lol, we've been talking about how the dumper has almost run out and suddenly, next day there's 1.8m more EQLI for sale than yesterday
[dscrdeql] <SwimedDragon> But obviously shows there's plenty enough for sale for new people, hope they take this chance to get enough for reward contracts
GatewayBOT19-Feb-19 02:34 PM
[dscrdeql] <Buddz1993> Ye 1.8 m it’s still quite cheap at 9 sats lol
GatewayBOT19-Feb-19 02:42 PM
[dscrdeql] <Combat Wombat> tipsy bot agrees
GatewayBOT19-Feb-19 04:16 PM
[dscrdeql] <Thuerlich[ Swiss TIT ]> good evening:pandabow:
GatewayBOT19-Feb-19 06:04 PM
[dscrdeql] <CowboyCrypto- Founder> taking a day to work on my business today but i decided i want to play some games instead. Anyone here play starcraft?
GatewayBOT19-Feb-19 07:00 PM
[dscrdeql] <Jellysmash> Morning all
[dscrdeql] <Jellysmash> No I haven't played starcraft
[dscrdeql] <Jellysmash> I only really play tanki online for last year
[dscrdeql] <Jellysmash>
[dscrdeql] <Jellysmash> @Buddz1993 nice level up
GatewayBOT19-Feb-19 07:12 PM
[dscrdeql] <c2k> nope. but my son got quickly addicted to the new Apex Legends
GatewayBOT19-Feb-19 08:22 PM
[dscrdeql] <Buddz1993> Thanks EQLI fam
GatewayBOT19-Feb-19 08:41 PM
[dscrdeql] <AndronicusBass-Founder> I saw that apex legends on a twitch stream, looks ok, I'm not big on multiplayer games.
GatewayBOT20-Feb-19 12:47 AM
[dscrdeql] <CowboyCrypto- Founder> It will still be used for buying homes and more
GatewayBOT20-Feb-19 03:01 AM
[dscrdeql] <Linkara6669-Mod> Hey everyone! How are you all doing today?
[dscrdeql] <Linkara6669-Mod> I have been very busy working of late, so nowhere near as much online time as I had gotten used to having lol
GatewayBOT20-Feb-19 03:09 AM
[dscrdeql] <Linkara6669-Mod> Speaking of i am going to get a little shut eye before i go work at 2am lol
[dscrdeql] <CowboyCrypto- Founder> Have a good one buddy!
[dscrdeql] <CowboyCrypto- Founder> Glad ya got that j o b lined out bro
[dscrdeql] <CowboyCrypto- Founder> Told ya you’ll be fine! Lol
[dscrdeql] <Linkara6669-Mod> Thanks! You too! Been several different opportunities popping up lately
[dscrdeql] <CowboyCrypto- Founder> Glad to hear it!
[dscrdeql] <Linkara6669-Mod> Snow showed up, that was the beginning. Then 2 different temp positions. Trying to keep the 2nd temp job. I like it there, they seem to like me. Still doing what snow work i can as well though
[dscrdeql] <Linkara6669-Mod> gonna go sleep now though, taking about a 3 hour nap lol. see yall later!
[dscrdeql] <Linkara6669-Mod> @CowboyCrypto have a good night my friend!
[dscrdeql] <CowboyCrypto- Founder> Have a good night
GatewayBOT20-Feb-19 03:30 AM
[dscrdeql] <AndronicusBass-Founder> Yeah not a lot of job opportunity around Christmas, before and right after especially in aus as it's our summer holiday season. Glad things are turning up rosy for many of us here
GatewayBOT20-Feb-19 03:52 AM
[dscrdeql] <GoldMine> good morning
GatewayBOT20-Feb-19 04:38 AM
[dscrdeql] <Cypher - Founder> Morning gold how is it going
GatewayBOT20-Feb-19 05:21 AM
[dscrdeql] <CowboyCrypto- Founder> What’s up Saif!
GatewayBOT20-Feb-19 08:06 AM
[dscrdeql] <Combat Wombat> Hey guys
[dscrdeql] <Combat Wombat> Quiet day at work so boring times going slow
GatewayBOT20-Feb-19 09:23 AM
[dscrdeql] <AndronicusBass-Founder> heya, Im home but just finished some grinding work. about to get back to reviewing and editing code for rewards wallet.
GatewayBOT20-Feb-19 09:53 AM
[dscrdeql] <Jellysmash> hey all
[dscrdeql] <Jellysmash> I'm back home. hard day at work and then drive kids around to sports training for hours.
[dscrdeql] <Jellysmash> good to havee that all finished for the day
[dscrdeql] <Jellysmash>
[dscrdeql] <Jellysmash> Looking forwarrd to hearing more about the partnership newss coming up
[dscrdeql] <Jellysmash> hope it'll help to get Equaliser brand out there more
[dscrdeql] <Jellysmash> I think if we ccaan all do some tweets that'd be good. doesn't take that long to say a sentence or two about hhow great Equaliser is and that it's listed on STEX
GatewayBOT20-Feb-19 10:24 AM
[dscrdeql] <AndronicusBass-Founder> Dude, you are the T-800 in Terminator 2 (edited)
GatewayBOT20-Feb-19 12:28 PM
[dscrdeql] <AndronicusBass-Founder> @everyone You heard it here first, We're working on rewards wallet. Bear market has been tough throughout 2018 however, it doesn't stop us from grinding towards our core mission.
AndronicusBass20-Feb-19 12:34 PM
I hope the 'everyone' tag didn't bother Komodo server, I'm terribly sorry if so. Although it's a bridge, I hate using the tag
GatewayBOT20-Feb-19 12:39 PM
[tlgrm] <AndronicusBass> No spam on telegram this round, Earn a tip for tipping us off to spam
GatewayBOT20-Feb-19 01:56 PM
[dscrdeql] <Deadtorights> Sup yall ? Hows it hanging....
GatewayBOT20-Feb-19 08:20 PM
[dscrdeql] <CowboyCrypto- Founder> always to the right
GatewayBOT20-Feb-19 09:00 PM
[dscrdeql] <AndronicusBass-Founder> Short, loose and full of juice
When you start to see the mainstream media reporting that Economic Armageddon may occur.. you know that you are too late in getting fully prepared!!
@ProfSteveKeen @DFA_Analyst @linzcom @justthink1 @RobbieBarwick https://t.co/G03vuEH8wL
GatewayBOT21-Feb-19 01:36 AM
[dscrdeql] <Jellysmash> Lol.... @AndronicusBass
[dscrdeql] <Jellysmash> I'll have to remember that one
[dscrdeql] <Jellysmash>
[dscrdeql] <Jellysmash> Caffeine for all
GatewayBOT21-Feb-19 04:02 AM
[dscrdeql] <AndronicusBass-Founder> I follow John Adams, he is good. Martin north and John often talk economics. I did thing it would all happen in 2016-2017 but they've managed to allow it to perpetuate
GatewayBOT21-Feb-19 07:39 AM
[dscrdeql] <Jellysmash> for how long though?
GatewayBOT21-Feb-19 07:51 AM
[dscrdeql] <AndronicusBass-Founder> Until hyperinflation, depression or war
[dscrdeql] <AndronicusBass-Founder> Or a smooth deleveraging
House prices in Sydney and Melbourne could fall by up to 25 per cent this year alone and “there’s a chance they could fall by half” in the coming “property bloodbath”, an economist has warned.
[dscrdeql] <Jellysmash> more doom and gloom predictions for sydney and mel housing prices.
GatewayBOT21-Feb-19 09:32 AM
[dscrdeql] <Jellysmash> Be a good time to buy a property
As the dust settles on the Banking Royal Commission, it is becoming more and more apparent how much of a slap on the wrist it really was. In this video we ta...
GatewayBOT22-Feb-19 12:22 AM
[dscrdeql] <Jellysmash> I never expected it would have been anything more than a slap on the wrist. It should be a lot more. But the banks dictate to the government what they want.


--- layout: post title: Ruby 1.8.2 finally sees the light of day categories: [] author: admin published: true date: 2004-12-25 17:36:14.000000000 +00:00 ---
Ruby 1.8.2 contains a year’s worth of bug fixes, so its release was a very welcome Christmas present from the honorable Matz. Among the many fixes and changes are the fact that Dave Thomas’ ri
documentation system is now included by default. Oh so very welcome. The new release is to find in source form at ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.2.tar.gz.
Please note, that Rails currently have one known bug when running under 1.8.2 in form of #354 — soon to be fixed.


We are currently developing a couple different projects. Our biggest project is a first person shooter with a bit of a twist. You can read more about it here.
We also have worked on several smaller projects,including a Street Fighter styled fighter game, our own version of Warioware.
Pick a theme


bool headers_sent ([ string &$file [, int &$line ]] )
Checks if or where headers have been sent. You can't add any more header lines using the header() function once the header block has already been sent. Using this function you can at least prevent getting HTTP header related error messages. Another option is to use Output Buffering.
headers_sent() will return FALSE if no HTTP headers have already been sent or TRUE otherwise.


Tutorial¶
The Tintri Python SDK (PySDK) is a library that provides a Pythonic way to access Tintri APIs.
Installing¶
Download the PySDK wheel from the Python SDK repository by clicking the Download button. Install the wheel using pip:
pip install tintri-0.1-py2-none-any.whl
Introduction¶
There are two classes: a common Tintri Class and a v310 class. An example is below:
from tintri.common import TintriServerError
from tintri.v310 import Tintri
from tintri.v310 import VirtualMachineFilterSpec
The common class contains the exceptions, the Tintri Base class, and the Tintri Page class; while the v310 class contains the v310 APIs and Data Transfer Objects (DTOs). When an API uses a DTO, the API documentation links to their definitions.
The PySDK supports both Tintri servers, VMstore and TGC.
Code examples can be found on Tintri’s GitHub site.
Usage¶
Before any APIs can be called, the Tintri object must be instantiated:
tintri = Tintri(server_name)
Login has not occured yet, but the version and product information can be obtained:
version_info = tintri.version
product_name = version_info.productName
print product_name + " with version: " + version_info.preferredVersion
Tintri server login and logout are straight-forward:
tintri.login(user_name, password)
tintri.logout()
Passwords are protected by using HTTPS.
Exceptions¶
There are many Tintri exceptions, however it it recommended to use TintriServerError
:
try:
# instantiate the Tintri server.
tintri = Tintri(server_name)
# Login to VMstore
tintri.login(user_name, password)
except TintriServerError as tse:
print_error(tse.__str__())
sys.exit(2)
Collecting Server Information¶
For classes like appliance, datastore, service groups, virtual disk, virtual machine, and vmstore,
there are two getters, a single getter and a multiple getter. For the multiple getter, pagination
is taken care of by the PySDK in iteration. For example to obtain virtual machine information,
there are two APIs methods get_vm()
and get_vms()
. A unique ID, UUID
is required for
get_vm()
. For get_vms()
, a VirtualMachineFilterSpec
can be used to filter VMs by
name, aliveness, etc. An example that filters by name is below:
vm_filter_spec = VirtualMachineFilterSpec()
vm_filter_spec.name = vm_name
vms = tintri.get_vms(filters = vm_filter_spec)
if vms.filteredTotal == 0:
print_error("No VMs present")
tintri.logout()
sys.exit()
count = 1
print "Total: " + str(vms.filteredTotal)
# Get more VM information until done.
for vm in vms:
vm_name = vm.vmware.name
vm_uuid = vm.uuid.uuid
print(str(count) + ": " + vm_name + ", " + vm_uuid)
count += 1
For appliance, it is similar: get_appliance()
and get_appliances()
.
Creating Server Information¶
Creating objects are usually done with create_
methods. For example to create a manual
snapshot using create_snapshot()
. The snapshot UUID is returned.:
from tintri.v310 import Tintri
from tintri.v310 import SnapshotSpec
def take_snapshot(tintri, vm_uuid, snapshot_name, consistency_type):
snapshot_spec = SnapshotSpec()
snapshot_spec.consistency = consistency_type
snapshot_spec.retentionMinutes = 240 # 4 hours
snapshot_spec.snapshotName = snapshot_name
snapshot_spec.sourceVmTintriUUID = vm_uuid
snapshot_specs = [snapshot_spec]
snapshot_result = tintri.create_snapshot(snapshot_specs)
print snapshot_name + ": " + snapshot_result[0]
return
There is one exception, to clone a VM, use the clone_vm
method.
Modifying Server Information¶
Updating objects are done with update_
methods.
One method using update_appliance()
is using named parameters:
# Create the appliance maintenance mode object.
new_maint_mode_info = ApplianceMaintenanceMode()
if (new_is_enabled):
# Add attributes for enabling.
new_maint_mode_info.isEnabled = new_is_enabled
new_maint_mode_info.endTime = add_6_str
new_maint_mode_info.startTime = now_str
else:
# Add attributes for disabling.
new_maint_mode_info.isEnabled = new_is_enabled
server.update_appliance(None, "default",
maintenance_mode = new_maint_mode_info)
Another method is to use MultipleSelectionRequest
with update_vms_qos_config()
:
# Create new QoS object with the fields to be changed
modify_qos_info = VirtualMachineQoSConfig()
modify_qos_info.minNormalizedIops = new_min_qos
modify_qos_info.maxNormalizedIops = new_max_qos
# Create the MultipleSelectionRequest object
MS_Request = MultipleSelectionRequest()
MS_Request.ids = [vm1.get_uuid(), vm2.get_uuid()]
MS_Request.newValue = modify_qos_info
MS_Request.propertyNames = ["minNormalizedIops", "maxNormalizedIops"]
# Update the min and max IOPs using a multiple selection request.
tintri.update_vms_qos_config(request = MS_Request)
Deleting Server Information¶
Deleting objecs are done the delete_
methods. A unique ID is needed to delete objects.:
snapshot_result = tintri.get_snapshots()
snapshot = snapshot_result[0]
snapshot_uuid = snapshot.uuid.uuid
# Delete the snapshot
tintri.delete_snapshot(snapshot_uuid)
Help¶
To get more details about API, please examine the API documentation that is available from the Tintri support site. Tintri has a community site for asking questions. On the corporate blog, use the pull down to find blogs on APIs. Also, there is another blog, Tintri API and UI Ramblings for more API information. Comments and questions can be e-mailed to pysdk@tintri.com.


Cisco-IOS-XR-aaa-locald-oper API API Reference
API generated from<EMAIL_ADDRESS>API Endpoint
http://{Controller-IP}:{Controller-Port}/restconf/operational/network-topology:network-topology/topology/topology-netconf/node/{{router}}/yang-ext:mount/
URL '/' code: %2F
Schemes: http
Version: 1.0.0
Paths
AAA - Retrieve
Retrieve operation of resource: aaa
Successful operation
Internal Error
Response Content-Types: application/json
Response Example (200 OK)
{
"aaa": {AAA operational data
"usergroups": {Container for individual usergroup Information
"usergroup": [Component usergroups
{
"taskgroup": [No description
{
"task-map": {Computed task map
"tasks": [No description
{
"task-id": "string", Names of available task-ids
"read": "boolean", Is read permitted?
"execute": "boolean", Is execute permitted?
"write": "boolean", Is write permitted?
"debug": "boolean" Is debug permitted?
}
]
},
"included-task-ids": {Task-ids included
"tasks": [No description
{
"task-id": "string", Names of available task-ids
"read": "boolean", Is read permitted?
"execute": "boolean", Is execute permitted?
"write": "boolean", Is write permitted?
"debug": "boolean" Is debug permitted?
}
]
}
}
],
"name": "string", Password policy name
"task-map": {Computed task map
"tasks": [No description
{
"task-id": "string", Names of available task-ids
"read": "boolean", Is read permitted?
"execute": "boolean", Is execute permitted?
"write": "boolean", Is write permitted?
"debug": "boolean" Is debug permitted?
}
]
}
}
]
},
"users": {Container for individual local user information
"user": [No description
{
"first-user": "boolean", Is first user ?
"admin-user": "boolean", Is admin plane user ?
"task-map": {Computed taskmap
"tasks": [No description
{
"task-id": "string", Names of available task-ids
"read": "boolean", Is read permitted?
"execute": "boolean", Is execute permitted?
"write": "boolean", Is write permitted?
"debug": "boolean" Is debug permitted?
}
]
},
"name": "string", Password policy name
"usergroup": "string" Component usergroups
}
]
},
"currentuser-detail": [Current user specific details
{
"name": "string", Password policy name
"taskmap": "string", Task map details
"authenmethod": "string", Authentication method
"usergroup": "string", Component usergroups
"directory": "string", Directory of user
"shelltype": "string" Shell-type of user
}
],
"authen-method": [Current users authentication method
{
"name": "string", Password policy name
"taskmap": "string", Task map details
"authenmethod": "string", Authentication method
"usergroup": "string", Component usergroups
"directory": "string", Directory of user
"shelltype": "string" Shell-type of user
}
],
"task-map": [Task map of current user
{
"name": "string", Password policy name
"taskmap": "string", Task map details
"authenmethod": "string", Authentication method
"usergroup": "string", Component usergroups
"directory": "string", Directory of user
"shelltype": "string" Shell-type of user
}
],
"taskgroups": [Individual taskgroups container
{
"taskgroup": [No description
{
"task-map": {Computed task map
"tasks": [No description
{
"task-id": "string", Names of available task-ids
"read": "boolean", Is read permitted?
"execute": "boolean", Is execute permitted?
"write": "boolean", Is write permitted?
"debug": "boolean" Is debug permitted?
}
]
},
"name": "string", Password policy name
"included-task-ids": {Task-ids included
"tasks": [No description
{
"task-id": "string", Names of available task-ids
"read": "boolean", Is read permitted?
"execute": "boolean", Is execute permitted?
"write": "boolean", Is write permitted?
"debug": "boolean" Is debug permitted?
}
]
}
}
]
}
],
"current-usergroup": {Specific Usergroup Information
"name": "string", Password policy name
"taskmap": "string", Task map details
"authenmethod": "string", Authentication method
"usergroup": "string", Component usergroups
"directory": "string", Directory of user
"shelltype": "string" Shell-type of user
},
"password-policies": [Container for individual password policy\nInformation
{
"password-policy": [No description
{
"spl-char": "integer", Special Character length
"name": "string", Password policy name
"max-len": "integer", Max Length
"lock-out-count": "integer", Lock Out Count
"num-of-users": "integer", Number of users with this policy
"numeric": "integer", Numeric Character length
"min-char-change": "integer", Number of different characters
"life-time": {Lifetime of the policy
"months": "integer", months
"days": "integer", days
"years": "integer", years
"hours": "integer", hours
"secs": "integer", secs
"mins": "integer" mins
},
"min-len": "integer", Min Length
"err-count": "integer", Error Count
"lower-case": "integer", LowerCase Character length
"lock-out-time": {Lockout time of the policy
"months": "integer", months
"days": "integer", days
"years": "integer", years
"hours": "integer", hours
"secs": "integer", secs
"mins": "integer" mins
},
"upper-case": "integer", UpperCase Character length
"usr-count": "integer", Count of users
"max-fail-attempts": "integer" Maximum Failure Attempts allowed
}
]
}
],
"all-tasks": {All tasks supported by system
"task-id": "string" Names of available task-ids
}
}
}
ALL-TASKS - Retrieve
Retrieve operation of resource: all-tasks
Successful operation
Internal Error
Response Content-Types: application/json
Response Example (200 OK)
{
"all-tasks": {All tasks supported by system
"task-id": "string" Names of available task-ids
}
}
CURRENTUSER-DETAIL - Retrieve
Retrieve operation of resource: currentuser-detail
Successful operation
Internal Error
Response Content-Types: application/json
Response Example (200 OK)
{
"currentuser-detail": {Current user specific details
"name": "string", Name of the usergroup
"taskmap": "string", Task map details
"authenmethod": "string", Authentication method
"usergroup": "string", Component usergroups
"directory": "string", Directory of user
"shelltype": "string" Shell-type of user
}
}
TASK-MAP - Retrieve
Retrieve operation of resource: task-map
Successful operation
Internal Error
Response Content-Types: application/json
Response Example (200 OK)
{
"task-map": {Task map of current user
"name": "string", Name of the usergroup
"taskmap": "string", Task map details
"authenmethod": "string", Authentication method
"usergroup": "string", Component usergroups
"directory": "string", Directory of user
"shelltype": "string" Shell-type of user
}
}
TASKGROUPS - Retrieve
Retrieve operation of resource: taskgroups
Successful operation
Internal Error
Response Content-Types: application/json
Response Example (200 OK)
{
"taskgroups": {Individual taskgroups container
"taskgroup": [No description
{
"task-map": {Computed task map
"tasks": [No description
{
"task-id": "string", Name of the task-id
"read": "boolean", Is read permitted?
"execute": "boolean", Is execute permitted?
"write": "boolean", Is write permitted?
"debug": "boolean" Is debug permitted?
}
]
},
"name": "string", Taskgroup name
"included-task-ids": {Task-ids included
"tasks": [No description
{
"task-id": "string", Name of the task-id
"read": "boolean", Is read permitted?
"execute": "boolean", Is execute permitted?
"write": "boolean", Is write permitted?
"debug": "boolean" Is debug permitted?
}
]
}
}
]
}
}
TASKGROUP - Retrieve
Retrieve operation of resource: taskgroup
ID of name
Successful operation
Internal Error
Response Content-Types: application/json
Response Example (200 OK)
{
"taskgroup": [No description
{
"task-map": {Computed task map
"tasks": [No description
{
"task-id": "string", Name of the task-id
"read": "boolean", Is read permitted?
"execute": "boolean", Is execute permitted?
"write": "boolean", Is write permitted?
"debug": "boolean" Is debug permitted?
}
]
},
"name": "string", Taskgroup name
"included-task-ids": {Task-ids included
"tasks": [No description
{
"task-id": "string", Name of the task-id
"read": "boolean", Is read permitted?
"execute": "boolean", Is execute permitted?
"write": "boolean", Is write permitted?
"debug": "boolean" Is debug permitted?
}
]
}
}
]
}
INCLUDED-TASK-IDS - Retrieve
Retrieve operation of resource: included-task-ids
ID of name
Successful operation
Internal Error
Response Content-Types: application/json
Response Example (200 OK)
{
"included-task-ids": {Task-ids included
"tasks": [No description
{
"task-id": "string", Name of the task-id
"read": "boolean", Is read permitted?
"execute": "boolean", Is execute permitted?
"write": "boolean", Is write permitted?
"debug": "boolean" Is debug permitted?
}
]
}
}
TASKS - Retrieve
Retrieve operation of resource: tasks
ID of name
Successful operation
Internal Error
Response Content-Types: application/json
Response Example (200 OK)
{
"tasks": {No description
"task-id": "string", Name of the task-id
"read": "boolean", Is read permitted?
"execute": "boolean", Is execute permitted?
"write": "boolean", Is write permitted?
"debug": "boolean" Is debug permitted?
}
}
TASK-MAP - Retrieve
Retrieve operation of resource: task-map
ID of name
Successful operation
Internal Error
Response Content-Types: application/json
Response Example (200 OK)
{
"task-map": {Computed task map
"tasks": [No description
{
"task-id": "string", Name of the task-id
"read": "boolean", Is read permitted?
"execute": "boolean", Is execute permitted?
"write": "boolean", Is write permitted?
"debug": "boolean" Is debug permitted?
}
]
}
}
TASKS - Retrieve
Retrieve operation of resource: tasks
ID of name
Successful operation
Internal Error
Response Content-Types: application/json
Response Example (200 OK)
{
"tasks": {No description
"task-id": "string", Name of the task-id
"read": "boolean", Is read permitted?
"execute": "boolean", Is execute permitted?
"write": "boolean", Is write permitted?
"debug": "boolean" Is debug permitted?
}
}
USERS - Retrieve
Retrieve operation of resource: users
Successful operation
Internal Error
Response Content-Types: application/json
Response Example (200 OK)
{
"users": {Container for individual local user information
"user": [No description
{
"first-user": "boolean", Is first user ?
"admin-user": "boolean", Is admin plane user ?
"task-map": {Computed taskmap
"tasks": [No description
{
"task-id": "string", Name of the task-id
"read": "boolean", Is read permitted?
"execute": "boolean", Is execute permitted?
"write": "boolean", Is write permitted?
"debug": "boolean" Is debug permitted?
}
]
},
"name": "string", Username
"usergroup": "string" Member usergroups
}
]
}
}
USER - Retrieve
Retrieve operation of resource: user
ID of name
Successful operation
Internal Error
Response Content-Types: application/json
Response Example (200 OK)
{
"user": [No description
{
"first-user": "boolean", Is first user ?
"admin-user": "boolean", Is admin plane user ?
"task-map": {Computed taskmap
"tasks": [No description
{
"task-id": "string", Name of the task-id
"read": "boolean", Is read permitted?
"execute": "boolean", Is execute permitted?
"write": "boolean", Is write permitted?
"debug": "boolean" Is debug permitted?
}
]
},
"name": "string", Username
"usergroup": "string" Member usergroups
}
]
}
TASK-MAP - Retrieve
Retrieve operation of resource: task-map
ID of name
Successful operation
Internal Error
Response Content-Types: application/json
Response Example (200 OK)
{
"task-map": {Computed taskmap
"tasks": [No description
{
"task-id": "string", Name of the task-id
"read": "boolean", Is read permitted?
"execute": "boolean", Is execute permitted?
"write": "boolean", Is write permitted?
"debug": "boolean" Is debug permitted?
}
]
}
}
TASKS - Retrieve
Retrieve operation of resource: tasks
ID of name
Successful operation
Internal Error
Response Content-Types: application/json
Response Example (200 OK)
{
"tasks": {No description
"task-id": "string", Name of the task-id
"read": "boolean", Is read permitted?
"execute": "boolean", Is execute permitted?
"write": "boolean", Is write permitted?
"debug": "boolean" Is debug permitted?
}
}
PASSWORD-POLICIES - Retrieve
Retrieve operation of resource: password-policies
Successful operation
Internal Error
Response Content-Types: application/json
Response Example (200 OK)
{
"password-policies": {Container for individual password policy\nInformation
"password-policy": [No description
{
"spl-char": "integer", Special Character length
"name": "string", Password policy name
"max-len": "integer", Max Length
"lock-out-count": "integer", Lock Out Count
"num-of-users": "integer", Number of users with this policy
"numeric": "integer", Numeric Character length
"min-char-change": "integer", Number of different characters
"life-time": {Lifetime of the policy
"months": "integer", months
"days": "integer", days
"years": "integer", years
"hours": "integer", hours
"secs": "integer", secs
"mins": "integer" mins
},
"min-len": "integer", Min Length
"err-count": "integer", Error Count
"lower-case": "integer", LowerCase Character length
"lock-out-time": {Lockout time of the policy
"months": "integer", months
"days": "integer", days
"years": "integer", years
"hours": "integer", hours
"secs": "integer", secs
"mins": "integer" mins
},
"upper-case": "integer", UpperCase Character length
"usr-count": "integer", Count of users
"max-fail-attempts": "integer" Maximum Failure Attempts allowed
}
]
}
}
PASSWORD-POLICY - Retrieve
Retrieve operation of resource: password-policy
ID of name
Successful operation
Internal Error
Response Content-Types: application/json
Response Example (200 OK)
{
"password-policy": {No description
"spl-char": "integer", Special Character length
"name": "string", Password policy name
"max-len": "integer", Max Length
"lock-out-count": "integer", Lock Out Count
"num-of-users": "integer", Number of users with this policy
"numeric": "integer", Numeric Character length
"min-char-change": "integer", Number of different characters
"life-time": {Lifetime of the policy
"months": "integer", months
"days": "integer", days
"years": "integer", years
"hours": "integer", hours
"secs": "integer", secs
"mins": "integer" mins
},
"min-len": "integer", Min Length
"err-count": "integer", Error Count
"lower-case": "integer", LowerCase Character length
"lock-out-time": {Lockout time of the policy
"months": "integer", months
"days": "integer", days
"years": "integer", years
"hours": "integer", hours
"secs": "integer", secs
"mins": "integer" mins
},
"upper-case": "integer", UpperCase Character length
"usr-count": "integer", Count of users
"max-fail-attempts": "integer" Maximum Failure Attempts allowed
}
}
LIFE-TIME - Retrieve
Retrieve operation of resource: life-time
ID of name
Successful operation
Internal Error
Response Content-Types: application/json
Response Example (200 OK)
{
"life-time": {Lifetime of the policy
"months": "integer", months
"days": "integer", days
"years": "integer", years
"hours": "integer", hours
"secs": "integer", secs
"mins": "integer" mins
}
}
LOCK-OUT-TIME - Retrieve
Retrieve operation of resource: lock-out-time
ID of name
Successful operation
Internal Error
Response Content-Types: application/json
Response Example (200 OK)
{
"lock-out-time": {Lockout time of the policy
"months": "integer", months
"days": "integer", days
"years": "integer", years
"hours": "integer", hours
"secs": "integer", secs
"mins": "integer" mins
}
}
USERGROUPS - Retrieve
Retrieve operation of resource: usergroups
Successful operation
Internal Error
Response Content-Types: application/json
Response Example (200 OK)
{
"usergroups": {Container for individual usergroup Information
"usergroup": [No description
{
"taskgroup": [No description
{
"task-map": {Computed task map
"tasks": [No description
{
"task-id": "string", Name of the task-id
"read": "boolean", Is read permitted?
"execute": "boolean", Is execute permitted?
"write": "boolean", Is write permitted?
"debug": "boolean" Is debug permitted?
}
]
},
"included-task-ids": {Task-ids included
"tasks": [No description
{
"task-id": "string", Name of the task-id
"read": "boolean", Is read permitted?
"execute": "boolean", Is execute permitted?
"write": "boolean", Is write permitted?
"debug": "boolean" Is debug permitted?
}
]
}
}
],
"name": "string", Usergroup name
"task-map": {Computed task map
"tasks": [No description
{
"task-id": "string", Name of the task-id
"read": "boolean", Is read permitted?
"execute": "boolean", Is execute permitted?
"write": "boolean", Is write permitted?
"debug": "boolean" Is debug permitted?
}
]
}
}
]
}
}
USERGROUP - Retrieve
Retrieve operation of resource: usergroup
ID of name
Successful operation
Internal Error
Response Content-Types: application/json
Response Example (200 OK)
{
"usergroup": [No description
{
"taskgroup": [No description
{
"task-map": {Computed task map
"tasks": [No description
{
"task-id": "string", Name of the task-id
"read": "boolean", Is read permitted?
"execute": "boolean", Is execute permitted?
"write": "boolean", Is write permitted?
"debug": "boolean" Is debug permitted?
}
]
},
"included-task-ids": {Task-ids included
"tasks": [No description
{
"task-id": "string", Name of the task-id
"read": "boolean", Is read permitted?
"execute": "boolean", Is execute permitted?
"write": "boolean", Is write permitted?
"debug": "boolean" Is debug permitted?
}
]
}
}
],
"name": "string", Usergroup name
"task-map": {Computed task map
"tasks": [No description
{
"task-id": "string", Name of the task-id
"read": "boolean", Is read permitted?
"execute": "boolean", Is execute permitted?
"write": "boolean", Is write permitted?
"debug": "boolean" Is debug permitted?
}
]
}
}
]
}
TASK-MAP - Retrieve
Retrieve operation of resource: task-map
ID of name
Successful operation
Internal Error
Response Content-Types: application/json
Response Example (200 OK)
{
"task-map": {Computed task map
"tasks": [No description
{
"task-id": "string", Name of the task-id
"read": "boolean", Is read permitted?
"execute": "boolean", Is execute permitted?
"write": "boolean", Is write permitted?
"debug": "boolean" Is debug permitted?
}
]
}
}
TASKS - Retrieve
Retrieve operation of resource: tasks
ID of name
Successful operation
Internal Error
Response Content-Types: application/json
Response Example (200 OK)
{
"tasks": {No description
"task-id": "string", Name of the task-id
"read": "boolean", Is read permitted?
"execute": "boolean", Is execute permitted?
"write": "boolean", Is write permitted?
"debug": "boolean" Is debug permitted?
}
}
TASKGROUP - Retrieve
Retrieve operation of resource: taskgroup
ID of name
Successful operation
Internal Error
Response Content-Types: application/json
Response Example (200 OK)
{
"taskgroup": {No description
"task-map": {Computed task map
"tasks": [No description
{
"task-id": "string", Name of the task-id
"read": "boolean", Is read permitted?
"execute": "boolean", Is execute permitted?
"write": "boolean", Is write permitted?
"debug": "boolean" Is debug permitted?
}
]
},
"included-task-ids": {Task-ids included
"tasks": [No description
{
"task-id": "string", Name of the task-id
"read": "boolean", Is read permitted?
"execute": "boolean", Is execute permitted?
"write": "boolean", Is write permitted?
"debug": "boolean" Is debug permitted?
}
]
}
}
}
INCLUDED-TASK-IDS - Retrieve
Retrieve operation of resource: included-task-ids
ID of name
Successful operation
Internal Error
Response Content-Types: application/json
Response Example (200 OK)
{
"included-task-ids": {Task-ids included
"tasks": [No description
{
"task-id": "string", Name of the task-id
"read": "boolean", Is read permitted?
"execute": "boolean", Is execute permitted?
"write": "boolean", Is write permitted?
"debug": "boolean" Is debug permitted?
}
]
}
}
TASKS - Retrieve
Retrieve operation of resource: tasks
ID of name
Successful operation
Internal Error
Response Content-Types: application/json
Response Example (200 OK)
{
"tasks": {No description
"task-id": "string", Name of the task-id
"read": "boolean", Is read permitted?
"execute": "boolean", Is execute permitted?
"write": "boolean", Is write permitted?
"debug": "boolean" Is debug permitted?
}
}
TASK-MAP - Retrieve
Retrieve operation of resource: task-map
ID of name
Successful operation
Internal Error
Response Content-Types: application/json
Response Example (200 OK)
{
"task-map": {Computed task map
"tasks": [No description
{
"task-id": "string", Name of the task-id
"read": "boolean", Is read permitted?
"execute": "boolean", Is execute permitted?
"write": "boolean", Is write permitted?
"debug": "boolean" Is debug permitted?
}
]
}
}
TASKS - Retrieve
Retrieve operation of resource: tasks
ID of name
Successful operation
Internal Error
Response Content-Types: application/json
Response Example (200 OK)
{
"tasks": {No description
"task-id": "string", Name of the task-id
"read": "boolean", Is read permitted?
"execute": "boolean", Is execute permitted?
"write": "boolean", Is write permitted?
"debug": "boolean" Is debug permitted?
}
}
AUTHEN-METHOD - Retrieve
Retrieve operation of resource: authen-method
Successful operation
Internal Error
Response Content-Types: application/json
Response Example (200 OK)
{
"authen-method": {Current users authentication method
"name": "string", Name of the usergroup
"taskmap": "string", Task map details
"authenmethod": "string", Authentication method
"usergroup": "string", Component usergroups
"directory": "string", Directory of user
"shelltype": "string" Shell-type of user
}
}
CURRENT-USERGROUP - Retrieve
Retrieve operation of resource: current-usergroup
Successful operation
Internal Error
Response Content-Types: application/json
Response Example (200 OK)
{
"current-usergroup": {Specific Usergroup Information
"name": "string", Name of the usergroup
"taskmap": "string", Task map details
"authenmethod": "string", Authentication method
"usergroup": "string", Component usergroups
"directory": "string", Directory of user
"shelltype": "string" Shell-type of user
}
}


Sender Core
Most, if not all, dynamic sites will have to send transactional e-mails on a regular basis. Within web-framework sending transactional e-mails is abstracted in the abstract SenderCore class. This class has two important static functions and a default implementation for determining the email to send from:
abstract class SenderCore {
function get_sender_email(): string;
static function send_raw(string $to, string $subject, string $message): bool;
static function send(string $template_name, string $to, array $params = array()): bool;
};
By default get_sender_email() will return the e-mail address defined in the configuration at [‘sender_core’][‘default_sender’]. But of course you can override this behaviour in your class extension.
You will have to provide an implementation for SenderCore that uses your preferred transactional e-mail system, and you need to set that in your config.
Postmark implementation
For the base web-framework there is already an implementation for Postmark that can send e.g. e-mail verification mails needed for account registration. This implementation is in web-framework/includes/PostmarkSender.php. So you could use it by doing:
You need to tell the configuration to use this class, by adding or modifying our $site_config in includes/config.php.
$site_config = array(
'sender_core' => array(
'handler_class' => 'WebFramework\Core\PostmarkSender',
),
'postmark' => array(
'api_key' => 'THE_KEY_YOU_GET_FROM_POSTMARK',
'templates' => array(
'email_verification_link' => 'THE_TEMPLATE_ID',
),
),
);
Extending the implementation
But in most cases you’ll want to send different e-mails than the standard transactional e-mails that are provided and implemented in the framework itself.
Let’s make a small extension that can handle another type of transactional e-mails we want to send. Let’s create a file called includes/OwnSenderPostmark.php.
<?php
namespace App\Core;
use WebFramework\Core\PostmarkSender;
class OwnPostmarkSender extends PostmarkSender
{
protected function data_mail(string $to, array $params): bool
{
// Template variables expected
// * data1
// * data2
$from = $this->get_sener_email();
return $this->send_template_email('YOUR_TEMPLATE_ID', $from, $to, $params);
}
}
?>
To enable it, we’ll need to add the following to our $site_config array in includes/config.php.
$site_config = array(
'sender_core' => array(
'handler_class' => 'App\Core\OwnPostmarkSender',
),
);
Now we can send a ‘data’ email from anywhere in the code by calling:
function send(): bool
{
$params = array(
'data1' => 'My first data',
'data2' => 'My seconde data',
);
$result = SenderCore::send('data_mail'<EMAIL_ADDRESS>$params);
return $result;
}


2. Installation / Uninstallation / Program launch
2.1 Installation
Follow the steps outlined below for installation.
(1) Execute stkfw.msi
(2) Follow the installer dialog.
* Installation must be performed by a logged-in user with administrator rights.
* The installer automatically registers the program as a firewall exception.
* If an older version of StkFw is already installed,
the installer program will uninstall it before installing the new version.
2.2 Uninstall
Follow the steps outlined below for uninstallation.
(1) Execute stkfw.msi and select Remove StkFw, or launch [Add/Remove Programs] from the Control Panel and select StkFw for removal.
(2) Follow the uninstaller dialog.
* Uninstallation must be performed by a logged-in user with administrator rights.
* The uninstaller automatically removes firewall exceptions for this program.
2.3 Program launch
Upon installation, a StkFw shortcut is created in the Start menu.
The main StkFw console will be launched when this shortcut is selected.
If the sample shortcut under [StkFw]-[Samples] on the Start menu is clicked,
the main StkFw console will also be launched with associated sample data.


poly(3f) - [M_draw:POLYGONS] Construct a polygon from an array of points (LICENSE:PD)
Synopsis
Description
Example
subroutine poly(n, points) integer,intent(in) :: n real,intent(in) :: points(3, n)
Construct a polygon from an array of points provided by the user.
Sample program:
program demo_poly use M_draw implicit none !     An array of points for a polygon data parray/ -8.0, -8.0, 0.0, & & -5.0, -8.0, 0.0, & & -5.0, -5.0, 0.0, & & -8.0, -5.0, 0.0 / call color(D_YELLOW) ! Draw a polygon using poly, parray is our array of ! points and 4 is the number of points in it. call poly(4, parray) call color(D_GREEN) ! Draw a 5 sided figure by using move, draw and closepoly. call makepoly() call move(0.0, 0.0, 0.0) call draw(3.0, 0.0, 0.0) call draw(3.0, 4.0, 0.0) call draw(-1.0, 5.0, 0.0) call draw(-2.0, 2.0, 0.0) call closepoly() call color(D_MAGENTA) ! draw a sector representing a 1/4 circle call sector(1.5, -7.0, 3.0, 0.0, 90.0) idum=getkey() end subroutine drawpolyend program demo_poly
| Nemo Release 3.1 | poly (3) | July 22, 2023 |


Running some long-running programs with OpenMPI means at least
where “system” means the sum of the computers, wires, network switches, and anything that might affect perfomance. Like absence of cosmic rays.
CPU stability might mean that the clock speed stays high or that auto-tuning
of CPU performance is switched off. A sysctl called hw.perfpolicy
controls auto-tuning and hw.setperf=100
requests full speed.
Concurrent network throughput accounts for a LAN switch that may not be fully wire-speed, so that one node-to-node throughput might be slower than throughput between another pair of nodes.
Documentation for these items might be reassuring. However, there is no substitute for testing, and especially testing an artificial benchmark with known and defined results will help develop or maintain confidence in the system.
OpenBSD includes the tcpbench utility with useful options like reporting intervals, test durations, and separation of duties into client and server.
First, start servers on each node:
listn=4
listH="dell1:1,dell2:1,dell3:1,dell4:1"
mpirun -np $listn -H $listH tcpbench -s
Second, for each client, run against all four servers:
list="dell1 dell2 dell3 dell4"
for h in $list ; do
for a in $list ; do
echo T11SERVER $h $a
mpirun -np 1 -H $h:1 tcpbench -t 7 $a
done
done
The result is quite lengthy, but the gist of it is: node-to-node is 936Mb/s and node-to-same-node is 1050Mb/s. YMMV.
Another observation in the output: the first node-to-node measure is around 500 to 700 Mb/s, followed by the rest at the full speed.
Finally, the speeds are symmetric: node A to node B is the same speed as node B to node A.
Well, 7 seconds isn’t long. Let’s run for hours:
mpirun -np 1 -H $h:1 tcpbench -t 1000 -r 100 $a
That amounts to 16 node-to-node tests at 1000s each, or three+ hours.
The -r 100
was a mistake; it was intended to be 100s not 0.1s (always
read the docs carefully!) Reviewing the results showed throughputs of
elapsed_ms mbps
100 323.078
200 322.614
300 322.035
400 322.846
500 609.666
600 723.189
701 712.068
801 720.525
901 721.220
1001 877.025
1101 937.030
1201 937.261
and so on
This was unexpected.
The same pattern was observed in all 12 node-to-other-node tests.
If you are familiar with the internals of TCP, you will recognize a TCP “slow-start” algorithm in play. To avoid congestion, TCP starts slowly and learns (with a simple feedback arrangement) to increase the throughput by adjusting the number of permitted packets in flight.
But we know better! There is no congestion in a LAN with a wire-speed switch in this experiment.
Back to the purpose of the test: after 1000 or 1100ms, the throughput on all node-to-other-node measures stayed constant at high 936Mb/s or slightly higher.
Well of course I know better, but let’s experiment a bit anyways. Some possibilities:
tcpbench -B
option should affect performance with smaller or
larger initial buffer sizes.As it turns out, smaller (or just different) buffer sizes with rfc3390 set to 1 or 0 had no effect. There was a lot of variability from test to test. These were not repeatable: the same buffer size resulted in different intervals to the maximum throughput. Sometimes 700ms and often 1100ms or 1200ms.
Changing the -B option in a range from 5k to 512k resulted in widely varying results that were not repeatable. Sometimes the throughput reached the maximum within 600ms, sometimes within 1500ms. The method was
for a in `jot - 5 32` `jot - 40 128 8` `jot - 160 512 32` ; do
echo -n buffer is $a kB
tcpbench -t 2 -r 100 -B $(( $a * 1024 )) dell2 |
awk '1*$3 > 937 && NF==4' | head -1
done
See the histogram. Adjusting buffer sizes had no effect; the histograms all look the same.
There is nothing to be adjusted for NIC tuning; setting MTU up to 9200 bytes is not possible on my LAN as I have machines stuck at 1500 bytes on the same subnet.
The TCP slow-start seems to be socket-specific; there is no internal memory or history of what suitable internal TCP timers and buffers are good for node-to-node communications.
The other conclusion I draw: don’t reopen sockets; reuse the same ones over and over. Fortunately this is what OpenMPI does.
February 2020
Links:
RFC 3390 Increasing TCP’s Initial Window
RFC 5681 TCP Congestion Control
OpenBSD Numerics Experience - 1 - RNG
OpenBSD Numerics Experience - 2 - RNG floats
OpenBSD Numerics Experience - 3 - FFTW
OpenBSD Numerics Experience - 4 - CAF
OpenBSD Numerics Experience - 5 - MPI Networking
OpenBSD Numerics Experience - 6 - Memory Models
OpenBSD Numerics Experience - 7 - Python Image Display
OpenBSD Numerics Experience - 8 - RNGs, again
OpenBSD Numerics Experience - 9 - Nim
OpenBSD Numerics Experience - A - Graphical Display
OpenBSD Numerics Experience - B - ParaView
OpenBSD Numerics Experience - C - Numerical Debugging
OpenBSD Numerics