public final class TlsConfiguration
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TlsConfiguration.Permit
Attributes of a TLS connection that can be overridden to permit the
specified behavior.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_TIMEOUT
Default timeout for a connection is 30 seconds.
|
| Constructor and Description |
|---|
TlsConfiguration()
Constructs a
TlsConfiguration object whose timeout is set
to the value of DEFAULT_TIMEOUT and no TlsConfiguration.Permit values specified. |
TlsConfiguration(int timeout)
Constructs a
TlsConfiguration object whose timeout is
configured in this constructor and no TlsConfiguration.Permit
values specified. |
TlsConfiguration(int timeout,
TlsConfiguration.Permit... permits)
Constructs a
TlsConfiguration object whose settings are
configured in this constructor. |
TlsConfiguration(int timeout,
java.security.cert.X509Certificate[] certificates,
TlsConfiguration.Permit... permits)
Constructs a
TlsConfiguration object whose settings are
configured in this constructor. |
TlsConfiguration(TlsConfiguration.Permit... permits)
Constructs a
TlsConfiguration object whose settings are
configured in this constructor. |
TlsConfiguration(java.security.cert.X509Certificate[] certificates,
TlsConfiguration.Permit... permits)
Constructs a
TlsConfiguration object whose settings are
configured in this constructor. |
| Modifier and Type | Method and Description |
|---|---|
java.security.cert.X509Certificate[] |
getCertificates()
Get the Pins set.
|
TlsConfiguration.Permit[] |
getPermits()
Get the Permits for this connection.
|
int |
getTimeout()
Get the timeout of the connection.
|
boolean |
isHostnameMismatchPermitted()
Is a server certificates whose common name (CN) that does not match the
domain name of the URL being connected to permitted?
|
boolean |
isInsecureConnectionsPermitted()
Is an insecure connection permitted?
|
boolean |
isSelfSignedServerCertificatesPermitted()
Is a self signed certificate permitted?
|
public static final int DEFAULT_TIMEOUT
public TlsConfiguration()
TlsConfiguration
object whose timeout is set
to the value of DEFAULT_TIMEOUT
and no TlsConfiguration.Permit
values specified.
This is the most secure configuration for the communication link.public TlsConfiguration(TlsConfiguration.Permit... permits)
TlsConfiguration
object whose settings are
configured in this constructor.
Warning! It is not recommended to override these settings in a
production environment. Allowing any of these configurations will
reduce the security of the communication link with the server.permits
- The caller may request certain attributes of a TLS
connection to be permitted.public TlsConfiguration(int timeout)
TlsConfiguration
object whose timeout is
configured in this constructor and no TlsConfiguration.Permit
values specified.timeout
- The timeout of the connection in milliseconds.public TlsConfiguration(int timeout, TlsConfiguration.Permit... permits)
TlsConfiguration
object whose settings are
configured in this constructor.
Warning! It is not recommended to override these settings in a
production environment. Allowing any of these configurations will
reduce the security of the communication link with the server.
Warning! The insecure permits could only be used in debug mode
for test purpose. They were not allowed to be used in release mode.timeout
- The timeout of the connection in milliseconds.permits
- The caller may request certain attributes of a TLS
connection to be permitted.public TlsConfiguration(java.security.cert.X509Certificate[] certificates, TlsConfiguration.Permit... permits)
TlsConfiguration
object whose settings are
configured in this constructor.
Array of certificate(s) is/are required to be passed for validating the certificate
path with respect to Server presented certificate. From these certificates, pinning
is matched with SPKI(Subject Public Key Info) of server presented certificates
during a TLS session. It is required that at least SPKI info matches for at least 1
certificate.
Warning! It is not recommended to override these settings in a
production environment. Allowing any of these configurations will
reduce the security of the communication link with the server.certificates
- Array of X.509 Certificates generated from Base64 encoded DER format.
CertificateFactory.getInstance("X.509").generateCertificate(InputStream)
can be used to generate X.509 Certificate
Certificate list should be set, if Permit.SELF_SIGNED_CERTIFICATES is passed.permits
- Allow Self Signed certificates and Hostname Mismatch. Insecure connection cannot be set in release mode.
This is optional field from 4.2.1, to allow certificate pinning check for trusted certificates.public TlsConfiguration(int timeout, java.security.cert.X509Certificate[] certificates, TlsConfiguration.Permit... permits)
TlsConfiguration
object whose settings are
configured in this constructor.
Array of certificate(s) is/are required to be passed for validating the chain of
trust and at least 1 public key pin matches with the server presented certificate
during a TLS session.
Warning! It is not recommended to override these settings in a
production environment. Allowing any of these configurations will
reduce the security of the communication link with the server.timeout
- The timeout of the connection in milliseconds.certificates
- Array of X.509 Certificates generated from Base64 encoded DER format.
CertificateFactory.getInstance("X.509").generateCertificate(InputStream)
can be used to generate X.509 Certificate
Certifcate list should be set, if Permit.SELF_SIGNED_CERTIFICATES is passed.permits
- Allow Self Signed certificates and Host name mismatch. Insecure connection cannot be set in release modepublic boolean isInsecureConnectionsPermitted()
public boolean isSelfSignedServerCertificatesPermitted()
public boolean isHostnameMismatchPermitted()
TlsConfiguration.Permit.HOSTNAME_MISMATCH
or TlsConfiguration.Permit.SELF_SIGNED_CERTIFICATES
is permitted.public int getTimeout()
public TlsConfiguration.Permit[] getPermits()
public java.security.cert.X509Certificate[] getCertificates()


Evolution of electronics plays a important role in where we stand today.
Isnt it amazing how negatively charged particle called electron has changed our life so much. It has been existing from begining but the possibility of creating the potential different to let the current flow was discovered by science.


{% extends "content_base.html" %} {% block title %}Orthodox iCal Feed{% endblock %} {% block content %}
An ical feed is available at:
/api/oca/ical/
Or for the Julian calendar:
/api/rocor/ical/
You can see what this looks like in Google Calendar below.
{% endblock %}


This specification refines the semantics and interaction patterns of [[LDP]] in order to better serve the specific needs of those interested in implementing repositories for durable access to digital data. Additionally, this specification contains:
The goal of this specification is to define the behaviors of Fedora server implementations in order to facilitate interoperability with client applications. Although Fedora servers are not necessarily drop-in replacements for one another, a client developed against this specification should work against any Fedora server with little modification. Client applications should not expect the behaviors of every Fedora server implementation to be identical, but the interaction patterns defined in this specification should provide a sufficient mechanism to navigate the differences between Fedora server implementations.
A conforming Fedora server is a conforming [[!LDP]] 1.0 server that follows the additional rules defined in sections , , , and of this specification.
Terminology is based on W3C's Linked Data Platform 1.0 [[!LDP]], Memento [[!RFC7089]], and Web Access Control [[!SOLIDWEBAC]].
Accept-Datetime
-varied negotiation of versions of an URI-R.
If, in a successful resource creation request, a Link: rel="type"
request header specifies the
LDP-NR interaction model (http://www.w3.org/ns/ldp#NonRDFSource
, regardless of
Content-Type:
value), then the server SHOULD handle subsequent requests to the newly created
resource as if it is an LDP-NR. ([[!LDP]]
<IP_ADDRESS> extension)
Implementations MUST support the creation and management of [[!LDP]] Containers.
LDP Containers MUST distinguish [containment
triples] from [membership] and [minimal-container] triples. If an
implementation cannot make this distinction, it MUST NOT permit ldp:contains
as the [membership predicate] for LDP Direct and
Indirect Containers or as a client-managed property, and requests that would do so MUST fail with 409
Conflict and an accompanying constraints document. Implementations that can distinguish containment triples
MAY permit ldp:contains
as a membership predicate or client-managed property; such
implementations SHOULD support Prefer:
header values allowing clients to distinguish this data
in the representation of an LDP-R as defined in [[!LDP]]:
http://www.w3.org/ns/ldp#PreferContainment
,
http://www.w3.org/ns/ldp#PreferMembership
, and
http://www.w3.org/ns/ldp#PreferMinimalContainer
.
([[!LDP]] <IP_ADDRESS> expansion)
Non-normative note: [[!LDP]] defines containment relationships as binding an LDPC to LDPRs whose lifecycle it controls and is aware of, and are expressed through containment triples of the form<LDPC-URI> ldp:contains <LDPR-URI>
. However, implementations that segregate containment and membership triples - for example, by storing containment relationships in a dedicated named graph - may allow the creation of other triples with theldp:contains
predicate, and thus triples with this predicate do not necessarily imply containment.
Any LDP-RS MUST support PATCH
([[!LDP]]
4.2.7 MAY becomes MUST). [[!sparql11-update]] MUST
be an accepted content-type for PATCH
. Other content-types (e.g. [[ldpatch]]) MAY be available.
If an otherwise valid HTTP PATCH
request is received that attempts to modify resource statements
that a server disallows (not ignores per [[!LDP]]
<IP_ADDRESS>), the server MUST fail the request by
responding with a 4xx range status code (e.g. 409 Conflict). The server MUST provide a corresponding
response body containing information about which statements could not be persisted. ([[!LDP]]
<IP_ADDRESS> SHOULD becomes MUST). In that response, the
restrictions causing such a request to fail MUST be described in a resource indicated by a Link:
rel="http://www.w3.org/ns/ldp#constrainedBy"
response header per [[!LDP]]
<IP_ADDRESS>. A successful PATCH
request MUST respond with a 2xx status code; the specific code in the 2xx range MAY vary according to the
response body or request state.
The server MUST disallow a PATCH
request that would change the LDP interaction model of a
resource to a type that is not a subtype of the current resource type. That request MUST be rejected with a
409 Conflict response.
Any LDPC MUST support POST
([[!LDP]]
4.2.3 /
5.2.3). The default interaction model that will be
assigned when there is no explicit Link header in the request MUST be recorded in the constraints document
referenced in the Link: rel="http://www.w3.org/ns/ldp#constrainedBy"
header ([[!LDP]]
<IP_ADDRESS> clarification). Any LDPC MUST
support creation of LDP-NRs on POST
([[!LDP]]
<IP_ADDRESS> MAY becomes MUST). On creation of an
LDP-NR, an implementation MUST create an associated LDP-RS describing that LDP-NR
([[!LDP]] <IP_ADDRESS> MAY becomes
MUST).
An HTTP POST
request that would create an LDP-NR and includes a Digest
header (as described in [[!RFC3230]]) for which the instance-digest in that header does not match that of
the new LDP-NR MUST be rejected with a 409 Conflict response.
An HTTP POST
request that includes an unsupported Digest
type (as described in
[[!RFC3230]]), SHOULD be rejected with a 400 Bad Request response.
Non-normative note: Implementations may supportContent-Type: message/external-body
extensions for request bodies for HTTPPOST
that would create LDP-NRs. This content-type requires a completeContent-Type
header that includes the location of the external body, e.gContent-Type: message/external-body; access-type=URL; URL=\"http://www.example.com/file\"
, as defined in [[!RFC2017]]. Requirements for this interaction are detailed in External LDP-NR Content.
When accepting a PUT
request against an extant resource, an HTTP Link: rel="type"
header MAY be included. If that type is a value in the LDP namespace and is not either a current type of the
resource or a subtype of a current type of the resource, the request MUST be rejected with a 409 Conflict
response. If the type in the Link header is a subtype of a current type of the resource, and has an
interaction model assigned to it by [[!LDP]], then the resource MUST be assigned the new type and the
interaction model of the resource MUST be changed to the interaction model assigned to the new type by
[[!LDP]].
Any LDP-RS MUST support PUT
to update statements that are not server-managed triples
(as defined in [[!LDP]] 2). [[!LDP]] <IP_ADDRESS>
and <IP_ADDRESS> remain in effect. If an
otherwise valid HTTP PUT
request is received that attempts to modify resource statements that
a server disallows (not ignores per [[!LDP]]
<IP_ADDRESS>), the server MUST fail the request by
responding with a 4xx range status code (e.g. 409 Conflict). The server MUST provide a corresponding
response body containing information about which statements could not be persisted. ([[!LDP]]
<IP_ADDRESS> SHOULD becomes MUST). In that response,
the restrictions causing such a request to fail MUST be described in a resource indicated by a Link:
rel="http://www.w3.org/ns/ldp#constrainedBy"
response header per [[!LDP]]
<IP_ADDRESS>.
Any LDP-NR MUST support PUT
to replace the binary content of that resource.
An HTTP PUT
request that includes a Digest
header (as described in [[!RFC3230]])
for which any instance-digest in that header does not match the instance it describes, MUST be rejected with
a 409 Conflict response.
An HTTP PUT
request that includes an unsupported Digest
type (as described in
[[!RFC3230]]), SHOULD be rejected with a 400 Bad Request response.
Non-normative note: Implementations may supportContent-Type: message/external-body
extensions for request bodies for HTTPPUT
that would create LDP-NRs. This content-type requires a completeContent-Type
header that includes the location of the external body, e.gContent-Type: message/external-body; access-type=URL; URL=\"http://www.example.com/file\"
, as defined in [[!RFC2017]]. Requirements for this interaction are detailed in External LDP-NR Content.
Non-normative note: An implementation may accept HTTPPUT
to create resources ([[!LDP]] <IP_ADDRESS>). Behavior regarding containment or non-containment of resources created with HTTPPUT
is not defined by [[!LDP]] or this specification.
When the request is to the LDP-RS created to describe an LDP-NR, the response MUST include a
Link: rel="describes"
header referencing the LDP-NR in question, as defined in
[[!RFC6892]].
Prefer
header
In addition to the requirements of [[!LDP]], an implementation MAY support the value
http://www.w3.org/ns/oa#PreferContainedDescriptions
and SHOULD support the value
http://fedora.info/definitions/fcrepo#PreferInboundReferences
for the Prefer
header when making GET
requests on LDPC resources:
http://www.w3.org/ns/oa#PreferContainedDescriptions
: Requires a server to include
representations of any contained resources in the response, as defined in [[!annotation-vocab]].
http://fedora.info/definitions/fcrepo#PreferInboundReferences
: Requires a server to include
triples from any LDP-RS housed in that server that feature the requested resource as RDF-object.
Responses to GET
requests that apply a Prefer
request header to any LDP-RS
MUST include the Preference-Applied
response header as defined in [[!RFC7240]]
section 3.
GET
requests to any LDP-NR MUST correctly respond to the Want-Digest
header defined in [[!RFC3230]].
Non-normative note: In the presence of aWant-Digest
header, the currentDigest
value should be calculated to enable fixity verification. Otherwise, it is expected that ETag values may be cached. See .
The HEAD
method is identical to GET
except that the server MUST NOT return a
message-body in the response, as specified in [[!RFC7231]]
section 4.3.2. The server MUST send the same
Digest
header in the response as it would have sent if the request had been a GET
(or omit it if it would have been omitted for a GET
). In other cases, the server SHOULD send the
same headers in response to a HEAD
request as it would have sent if the request had been a
GET
, except that the payload headers (defined in [[!RFC7231]]
section 3.3) MAY be omitted.
The DELETE
method is optional per [[!LDP]]
section 4.2.5 and this specification does not
require Fedora servers to implement it. When a Fedora server supports this method, in addition to the
requirements imposed on LDPRs within containers outlined in [[!LDP]]
section 5.2.5, it must also follow the additional
behavior outlined below.
A Fedora server MUST support the Depth
header, as defined in [[!RFC4918]]
section 10.2 . Implementations MAY choose
not to support all of the header's values and MUST reject a request containing an unsupported
Depth
value with a 400 (Bad Request). The default value for the Depth
header if
not present in a request is left up to the implementer.
If a server supports recursive DELETE
, that recursion MUST be reckoned along the [[!LDP]]
containment relationships linking contained
resources.
Non-normative note: Atomicity is not guaranteed for HTTP DELETE
requests that affect multiple
resources.
Non-normative note: Variability among client types and locations may mean that LDP-NR content is addressed in ways that are external to the Fedora server but not resolvable by all clients. This specification describes the use ofContent-Type: message/external-body
values to signal, on POST or PUT, that the Fedora server should should not consider the request entity to be the LDP-NR's content, but that aContent-Type
value will signal a name or address at which the content might be retrieved. Theurl
andlocal-file
access-type
values motivate this specification, but a Fedora server may support anyaccess-type
parameters per the requirements for advertisement and rejection specified here.
Fedora servers that support LDP-NR with message/external-body
MUST advertise that support in the
Accept-Post
response header for each supported access-type
parameter of supported
Content-Type
values.
Fedora servers receiving requests that would create or update an LDP-NR with a
message/external-body
with an unsupported access-type
parameter MUST respond with
HTTP 415 UNSUPPORTED MEDIA TYPE. In the case that a Fedora server does not support external LDP-NR content,
all message/external-body
messages must be rejected with HTTP 415.
Fedora servers receiving requests that would create or update an LDP-NR with a
message/external-body
MUST NOT accept the request if it cannot guarantee all of the response
headers required by the LDP-NR interaction model in this specification.
LDP-NR GET and HEAD responses SHOULD include a Content-Location
header with a URI representation
of the location of the external content if the Fedora server is proxying the content.
Per [[!RFC2046]] section 5.2.3, all
Content-Type: message/external-body
values MAY include an expiration
parameter.
Fedora servers receiving requests that would create or update an LDP-NR with a
message/external-body
content type SHOULD respect the expiration
parameter,
if present, by copying content. If the expiration
parameter cannot be accommodated, the request
MUST be rejected with a 4xx or 5xx status code. Following [[!LDP]]
<IP_ADDRESS> and
<IP_ADDRESS>, 4xx responses MUST be
accompanied by a Link
header with http://www.w3.org/ns/ldp#constrainedBy
relation.
Non-normative note:
This specification takes no position on the use of message/external-body
to create or update
LDP-RS with Turtle or JSON-LD.
Non-normative note: This specification assumes that clients interested in resolving aaccess-type='url'
or other value without the Fedora server as an intermediary (effectively, redirection as opposed to proxying) will be able to negotiate theContent-Location
response header value from a HEAD request.
Implementations MUST provide resource versioning as per [[RFC7089]] with the following additional requirements:
A versioned resource for this document provides a TimeGate interaction model as detailed in the
Memento specification [[RFC7089]] and indicated by an HTTP header Link: rel="timegate"
referencing itself. It otherwise follows the relevant [[!LDP]] specification with the additional
behaviors below.
Accept-Datetime
, exactly as per [[!RFC7089]]
section 2.1.1.
At least one Link: rel="timemap"
referencing an LDPCv. It is the presence of this
header that indicates that the resource is versioned.
Vary: Accept-Datetime
, exactly as per [[!RFC7089]]
section 2.1.2.
An LDPRv MAY support PUT
. An implementation receiving a PUT
request for
an LDPRv MUST both correctly respond as per [[!LDP]] as well as create a new LDPRm contained
in an appropriate LDPCv. The newly-created LDPRm SHOULD be the version of the LDPRv
that was created by the PUT
request.
Accept-Datetime
, exactly as per [[!RFC7089]]
section 2.1.1.
At least one Link: rel="timemap"
referencing an LDPCv. It is the presence of this
header that indicates that the resource is versioned.
Vary: Accept-Datetime
, exactly as per [[!RFC7089]]
section 2.1.2.
When an LDPR is created with a Link: rel="type"
header
specifying type http://fedora.info/definitions/fcrepo#VersionedResource
to indicate versioning, it is created as both an LDPR and a Memento: an
LDPRm. An LDPRm MUST be invariant: While it MAY be deleted,
it MUST NOT be modified once created.
An implementation MAY support DELETE
for LDPRms. If DELETE
is supported,
the server is responsible for all behaviors implied by the LDP-containment of the LDPRm.
An implementation MUST support GET
, as is the case for any LDPR. The headers for
GET
requests and responses on this resource MUST conform to [[!RFC7089]]
section 2.1.
Particularly it should be noted that the relevant TimeGate for an LDPRm is the original
versioned LDPRv.
An implementation MUST support HEAD
.
An implementation MUST support OPTIONS
. A response to an OPTIONS
request MUST
include Allow: GET, HEAD, OPTIONS
as per [[!LDP]]. An implementation MAY include Allow:
DELETE
if clients can remove a version from the version history, as noted
above.
An implementation MUST NOT support PATCH
for LDPRms.
An implementation MUST NOT support POST
for LDPRms.
An implementation MUST NOT support PUT
for LDPRms.
When an LDPR is created with a Link: rel="type"
header
specifying type http://fedora.info/definitions/fcrepo#VersionedResource
to indicate versioning, a version container
(LDPCv) MUST be created that contains Memento-identified resources (LDPRm) capturing
time-varying representations of the associated LDPR. An LDPCv is both a TimeMap per
Memento [[!RFC7089]] and an LDPC. As a TimeMap an LDPCv MUST conform to the
specification for such resources in [[!RFC7089]]. An implementation MUST indicate TimeMap in the
same way it indicates the Container interaction model of the resource via HTTP headers. An LDPCv
MUST respond to GET Accept: application/link-format
as indicated in [[!RFC7089]]
section 5 and specified in [[!RFC6690]]
section 7.3.
An implementation MUST NOT allow the creation of an LDPCv that is LDP-contained by its associated LDPRv.
Non-normative note: The application/link-format
representation of an LDPCv is not
required to include all statements in the LDPCv graph, only those required by TimeMap
behaviors.
An implementation MAY support DELETE
. An implementation that does support DELETE
SHOULD do so by both removing the LDPCv and removing the versioning interaction model from the
original LDPRv.
An implementation MUST Allow: GET, HEAD, OPTIONS
as per [[!LDP]]. An implementation MAY
Allow: DELETE
if the versioning behavior is removable by deleting the LDPCv. See
for requirements on DELETE
if supported.
An implementation MAY Allow: PATCH
if the LDPCv has mutable properties. See
for requirements on PATCH
if supported.
An implementation MAY Allow: POST
if versions can be explicitly minted by a client. See
for requirements on POST
if supported.
An implementation MAY Allow: PATCH
, but if so, it MUST NOT permit clients to modify containment
triples.
If an LDPCv supports POST
, POST
SHOULD be understood to create a new
LDPRm contained by the LDPCv, reflecting the state of the LDPRv at the time of the
POST
. If supported, but the representation at the time of version creation can only be that
which is current for the LDPRv, the Accept-Post
header of any response from the
LDPCv SHOULD indicate that no request body is accepted via the form Accept-Post: */*;
p=0.0
, and that implementation SHOULD respond to any body-containing POST
to that
LDPCv with a 415 response and a link to an appropriate constraints document (see
LDP <IP_ADDRESS>). As per [[!LDP]], any resource
created via POST
, in this case an LDPRm) SHOULD be advertised in the response's
Location
header.
If an LDPCv does accept POST
with a request body, it SHOULD respect a
Memento-Datetime
request header for the created LDPRm. Absent this header, it MUST use
the current time.
Non-normative note: If an LDPCv does notAllow: POST
, the constraints document indicated inLink: rel="http://www.w3.org/ns/ldp#constrainedBy"
for that LDPCv should describe the versioning mechanism (e.g. byPUT
orPATCH
to the LDPRv described by that LDPCv). DisallowingPOST
suggests that the [[!LDP]] server will manage all LDPRm creation; see Server-Managed Version Creation.
Non-normative note: When aPOST
to an LDPCv, or aPUT
orPATCH
to an LDPRv creates a new LDPRm, the response indicates this by using aVary
header as appropriate. When an LDPCv supportsPOST
, and allows clients to specify a datetime for created URI-Ms, Vary-Post/Vary-Put: Memento-Datetime.
Non-normative note: This section describes the way the normative specification might be applied to implement discoverable versioning patterns. If an implementation of an LDPCv does not supportPOST
to mint versions, that must be advertised viaOPTIONS
as described above. This allows a client to perform anOPTIONS
request on a LDPCv to determine if it can explicitly mint versions. If the LDPCv does not supportPOST
, the client should assume some other mechanism is used to mint versions, for example, the implementation may automatically mint versions instead, but that is outside the requirements of this specification. This document specifies normatively only how LDPCvs and LDPRms can be discovered, and how they should act.
Non-normative note: UponPUT
orPATCH
to the LDPRv, a new LDPRm is created in an appropriate LDPCv. This LDPRm is the version of the original LDPRv that was just created.
Non-normative note: An LDPRm for a particular LDPRv is created onPOST
to any LDPCv associated with that LDPRv. The new LDPRm is contained in the LDPCv to which thePOST
was made and features in that LDPCv-as-aTimeMap. This pattern is more open to manipulation and could be useful for migration from other systems into Fedora implementations. Responses from requests to the LDPRv include aLink: rel="timemap"
to the same LDPCv as per [[!RFC7089]] section 5.
Non-normative note: This section defines when notifications are made available by a Fedora implementation, the minimal set of data contained in these notifications, and how the data are serialized. Notifications may be emitted synchronously or asynchronously with the API operations that cause them to be emitted. These notifications are typically used to support external integrations. The structure of these notifications draws upon the existing [[activitystreams-core]] and [[ldn]] specifications. An implementation is free to choose from any transport technology so long as the notifications conform to what is described in the following sections.
Implementers should be aware that some operations cause multiple resources to change. In these cases, there will be a corresponding notification describing each of the changes. This is especially true for changes to containment or membership triples. This is also true if a
DELETE
operation triggers changes in any contained resources.Consumers of these notifications should not expect a strict ordering of the events reported therein: the fact that a notification for Event A is received before a notification for Event B should not imply that Event A occurred before Event B. Implementations may choose to make further guarantees about ordering.
According to the [[activitystreams-core]] specification, it is possible to collect multiple events into a single notification. This specification makes no restriction on the use of activity stream collections.
For every resource whose state is changed as a result of an HTTP operation, there MUST be a corresponding notification made available describing that change.
The notification serialization MUST conform to the [[!activitystreams-core]] specification.
Wherever possible, data SHOULD be expressed using the [[!activitystreams-vocabulary]].
Each event described by a notification MUST contain:
Each event described by a notification SHOULD contain:
ldp:inbox
for the resource that was changed, if such an inbox link exists
Notifications SHOULD NOT contain the entire content of repository resources.
{ "@context": "https://www.w3.org/ns/activitystreams", "id": "urn:uuid:3c834a8f-5638-4412-aa4b-35ea80416a18", "type": "Create", "name": "Resource Creation", "actor": "http://example.org/agent/fedoraAdmin", "object": { "id": "http://example.org/fcrepo/rest/resource/path", "type": [ "ldp:Container", "ldp:RDFSource" ] } }
{ "@context": [ "https://www.w3.org/ns/activitystreams", { "isPartOf": { "@id": "http://purl.org/dc/terms/isPartOf", "@type": "@id" } } ], "id": "urn:uuid:be29ae69-2134-f1b0-34be-2f91b6d1f029", "type": "Update", "name": "Resource Modification", "published": "2016-07-04T13:46:39Z", "inbox": "http://example.org/ldn/inbox/path", "actor": [ { "id": "#actor0", "type": "Person", "name": "fedo raAdmin" }, { "id": "#actor1", "type": "Service", "name": "APIX-core/0.1" } ], "object": { "id": "http://example.org/fcrepo/rest/resource/path", "updated": "2016-07-04T13:44:39Z", "type": [ "ldp:Container", "ldp:RDFSource", "http://example.org/type/CustomType" ], "isPartOf": "http://example.org/fcrepo/rest/" } }
Non-normative note: For the purposes of the following specification, a fixity result is an extract or summary of some LDP-NR made according to some explicit procedure. Fixity results are taken for the purpose of comparing different fixity results for the same resource over time, to ensure a continuity of that resource's identity according to the particular procedure used. Examples might include:
- Checksums like MD5 or SHA1, often used for digital images.
- XML Signatures
- Per-segment results as used for time-based media
This specification describes two fixity verification mechanisms: firstly, as part of content transmission, to guard against faults in transmission, and secondly, by comparison to a known or proffered digest value, to monitor for faults in persistence.
Non-normative note: Transmission fixity may be verified by including aDigest
header (defined in [[RFC3230]]) inPOST
andPUT
requests for LDP-NRs.
Non-normative note: A client may retrieve the checksum of an LDP-NR by performing aHEAD
orGET
request on it with theWant-Digest
header (using aHEAD
request allows the client to avoid transferring the entire content when only the checksum is needed). TheDigest
header in the response can be used to infer persistence fixity by comparing it to previously-computed values.
Fedora implementations are subject to the same privacy considerations that are found in the following specifications:
There are security considerations for any HTTP server exposed to the Internet. Implementations SHOULD make use of the many security-related features of HTTP, including use of the authentication framework defined in the Authentication chapter of the HTTP/1.1 specification [[!RFC7235]].
Fedora implementations are subject to the same security considerations that are found in the following specifications:


Projects
Hammer Game
A web game which the player have to hit the gopher that is poping up rhythmically and randomly in a 3x3 grid. Players can upload their score onto a leaderboard. It is also a progressive web application which players can install the game on their devices.
Technologies Used: PWA, HTML, CSS, JavaScript, jQuery, Firebase (NoSQL)


Calico Critters Chocolate Labrador Family
Calico Critters Biography Information
Mother Sienna makes delicous jams from the fruit in her farm. She sells her creations in the Supermarket for all the critters in Calico Village to enjoy.
Father Bruno is a very hard working farmer. He wakes up at 5 o'clock every morning. He grows all different kinds of fruits and vegetables, including corn, cabbage, apples, and grapes.
Sister Ruby likes spending time with her friends and having sleepovers at her house.
Brother Charlie eats breakfast with his father every morning and helps him tend to the crops after school. He also likes to play tennis and roller skate around the park.


Simple Wallet
Example Truffle Dapp
Send Ether
Amount:
Send Ether
ETH Check Balance
Account No:
Get Balance
Allow sender
To Address:
Allow Sender
Allow address
To Address:
Allow Account


public class Region
extends java.lang.Object
ActionSpace, FamilyMember, Player
| Modifier and Type | Field and Description |
|---|---|
private int |
regionID |
private ActionSpace[] |
track |
| Constructor and Description |
|---|
Region(int regionID)
initialize this region with the given regionID
|
Region(int regionID,
int numberOfActionSpaces)
initialize the Region with the given regionID and the given number of action spaces
|
| Modifier and Type | Method and Description |
|---|---|
void |
flushRegion()
flush this region, calling the flushActionSpace() method on all the action spaces which compose the region
|
ActionSpace |
getActionSpace(int id)
returns the ActionSpace of the Region which has its ActionSpaceID as id.
|
int |
getRegionID()
returns this Region id.
|
ActionSpace[] |
getTrack()
returns all the actionSpaces inside this specific region.
|
java.lang.String |
toString()
returns a String which can easily printed on the screen.
|
private final int regionID
private ActionSpace[] track
public Region(int regionID, int numberOfActionSpaces)
regionID
- the ID of this regionnumberOfActionSpaces
- the number of action spaces which compose this regionpublic Region(int regionID)
regionID
- the ID of this regionpublic java.lang.String toString()
This methods calls the toString() methods of ActionSpace class. If the ActionSpace is null, it throws an NullPointerException.
toString
in class java.lang.Object
Region, TowerRegion, ProductionRegion, HarverstRegion, CouncilRegion, MarketRegion, ActionSpace
public ActionSpace getActionSpace(int id)
This methods search if in the Region is present an ActionSpace with the passed argument id. If it is not valid, returns null. Otherwise return the specific ActionSpace object.
id
- an id number of the ActionSpace to get from this Region.Region, TowerRegion, ProductionRegion, HarverstRegion, CouncilRegion, MarketRegion, ActionSpace
public int getRegionID()
All implementations of Region have a final attribute RegionID which is passed to the Class Constructor.
Region, TowerRegion, ProductionRegion, HarverstRegion, CouncilRegion, MarketRegion
public ActionSpace[] getTrack()
public void flushRegion()


| JIRA | Summary | Priority | Component | Reporter | Contributor |
|---|---|---|---|---|---|
| HBASE-8692 | [AccessController] Restrict HTableDescriptor enumeration | Major | Coprocessors, security | Andrew Purtell | Andrew Purtell |
| HBASE-8809 | Include deletes in the scan (setRaw) method does not respect the time range or the filter | Major | Scanners | Vasu Mariyala | Lars Hofhansl |
| HBASE-8767 | Backport hbase-8001 and hbase-8012, avoid lazy seek | Major | . | stack | Lars Hofhansl |
| HBASE-8921 | [thrift2] Add GenericOptionsParser to Thrift 2 server | Major | Thrift | Lars George | Lars George |
| HBASE-8908 | Backport HBASE-8882 and HBASE-8904 (An Integration Test to Test MTTR) to 0.94 | Minor | test | Andrew Purtell | Andrew Purtell |
| HBASE-8806 | Row locks are acquired repeatedly in HRegion.doMiniBatchMutation for duplicate rows. | Critical | regionserver | churro morales | churro morales |
| HBASE-8945 | Backport to 0.94: HBASE-7952 Remove update() and Improve ExplicitColumnTracker performance. | Minor | . | Lars Hofhansl | Lars Hofhansl |
| HBASE-8847 | Filter.transform() always applies unconditionally, even when combined in a FilterList | Minor | Filters | Christophe Taton | Christophe Taton |
| HBASE-8599 | HLogs in ZK are not cleaned up when replication lag is minimal | Major | Replication | Varun Sharma | Varun Sharma |
| JIRA | Summary | Priority | Component | Reporter | Contributor |
|---|---|---|---|---|---|
| HBASE-8782 | Thrift2 can not parse values when using framed transport | Major | Thrift | Hamed Madani | Hamed Madani |
| HBASE-8811 | REST service ignores misspelled "check=" parameter, causing unexpected mutations | Critical | REST | Chip Salzenberg | Chip Salzenberg |
| HBASE-8794 | DependentColumnFilter.toString() throws NullPointerException | Minor | Filters | Stefan Seelmann | Stefan Seelmann |
| HBASE-8858 | Backport hbase-6979 "recovered.edits file should not break distributed log splitting" | Major | . | stack | Lars Hofhansl |
| HBASE-8776 | tweak retry settings some more (on trunk and 0.94) | Major | . | Sergey Shelukhin | Sergey Shelukhin |
| HBASE-8814 | Possible NPE in split if a region has empty store files. | Major | regionserver | rajeshbabu | rajeshbabu |
| HBASE-8678 | Wrongly delete cells in some case which can not be deleted | Major | REST | Eric Huang | Jean-Marc Spaggiari |
| HBASE-8910 | HMaster.abortNow shouldn't try to become a master again if it was stopped | Major | . | Jean-Daniel Cryans | Jean-Daniel Cryans |
| HBASE-8695 | The HBase thrift service ignores XML configuration | Major | Thrift | Brandon Forehand | Lars George |
| HBASE-8971 | Bump 0.94 version to 0.94.10-SNAPSHOT | Major | build | Jesse Yates | Jesse Yates |
| HBASE-8968 | Avoid call to zk in HRegionServer#getMaster() to log the master address which already read from the zk. | Minor | Zookeeper | rajeshbabu | rajeshbabu |
| HBASE-8967 | Duplicate call to snapshotManager.stop() in HRegionServer | Minor | snapshots | Jerry He | Jerry He |
| HBASE-8988 | Reuse the thread pool in the shell to not run out of threads | Major | . | Jean-Daniel Cryans | Jean-Daniel Cryans |
| HBASE-8432 | a table with unbalanced regions will balance indefinitely with the 'org.apache.hadoop.hbase.master.DefaultLoadBalancer' | Major | Balancer | Wang Qiang |
| JIRA | Summary | Priority | Component | Reporter | Contributor |
|---|---|---|---|---|---|
| HBASE-8885 | Fix and reenable TestGet failing#testDynamicFilter | Minor | . | Jimmy Xiang | Jimmy Xiang |
| HBASE-7770 | minor integration test framework fixes | Minor | . | Francis Liu | Francis Liu |
| HBASE-8934 | Fix bunch of flaky tests | Major | . | Enis Soztutar | Enis Soztutar |
| HBASE-8914 | [0.94] TestRegionServerCoprocessorExceptionWithAbort is flaky | Major | . | Enis Soztutar | Enis Soztutar |
| HBASE-8969 | Backport HBASE-8535+HBASE-8586 TestHCM#testDeleteForZKConnLeak enhancement to 0.94 | Minor | test | Jimmy Xiang | Jimmy Xiang |
| HBASE-8928 | Make ChaosMonkey & LoadTest tools extensible, to allow addition of more actions and policies. | Major | test | gautam | gautam |
| JIRA | Summary | Priority | Component | Reporter | Contributor |
|---|---|---|---|---|---|
| HBASE-8774 | Add BatchSize and Filter to Thrift2 | Major | Thrift | Hamed Madani | Hamed Madani |
| HBASE-8876 | Addendum to HBASE-8774 Add BatchSize and Filter to Thrift2 - Add BatchSize Test | Major | Thrift | Lars George | Lars George |
| HBASE-8819 | Port HBASE-5428 to Thrift 2 | Major | Thrift | Lars George | Lars George |
| HBASE-8826 | Ensure HBASE-8695 is covered in Thrift 2 | Major | Thrift | Lars George | Lars George |
| HBASE-8832 | Ensure HBASE-4658 is supported by Thrift 2 | Major | Thrift | Lars George | Hamed Madani |
| HBASE-8938 | Thrift2 does not close scanner instance | Major | Thrift | Hamed Madani | Hamed Madani |
| JIRA | Summary | Priority | Component | Reporter | Contributor |
|---|---|---|---|---|---|
| HBASE-8829 | Improve failed TestMetaScanner assert message so can see where/why failure | Major | . | stack | stack |


Hello, my name is Jitendra Bajracharya. I'm a software development Engineer apprentice at Amazon and currently receiving training through code fellows.Previously, I graduated from another bootcamp MSSA in Cloud Application Development. Some of the development languages and tools that I learned from bootcamp and self learnings are C#, ASP.NET, Azure, SQL, html, CSS and javascript.


[gecode-users] Request for information
Gustavo Gutierrez
ggutierrez at cic.puj.edu.co
Thu May 4 15:18:08 CEST 2006
> And maybe there are also other people interested in that?
I am very interested in doing that. I have an implementation of
continuous domains but with a very early gecode version (one where
views were not still implemented). It is not so difficult to add that
kind of variables. The only difficult thing is to have a portable
implementation because sometimes is necessary to change the machine
rounding mode but i think that libraries such as boost intervals
encapsulate this issue.
Currently i don't have much time to re-implement it but if you need
some help on doing this don't hesitate to ask and we can discuss some
ideas.
Regards,
--
Gustavo Gutierrez
More information about the gecode-users
mailing list


Ruby: Objects collections
Arrays & Hashes
About collections in Ruby
In ruby, and probably wider in programming, there are many reasons why you will want to find, filter, organize and perform plenty other operations on objects that match a certain criteria. Ruby allows us to create those collections by letting us use “containers”. In ruby, the most common containers in which we will store that data and make it an accessible are the two built-in classes hashes & arrays.
An array is like a freight train!
An array is an ordered collection of objects. That may sound weird, but my understanding or array can be compared to trains. The name of the array is the engine, and the objects contained inside it the wagons.
engine = [wagon_1, wagon_2, wagon_3]
In this collection structure you will be able to access every object of the collection using its index. The index is an integer that represents the location of the object in the array (remember we start counting at 0, so the first item of your array will be array=[0]
). An array can contain a multiple kind of objects such as integers, floats, strings, math operation, classes and even arrays!
wagon_1 = 'cat' wagon_2 = 13.37 wagon_3 = (7*3).to_i engine = [wagon_1, wagon_2, wagon_3] engine.push([]) #=> ['cat', 13.37, 21, []]
The interest of using an array is that you can access a large library of built-in methods in order to process the data of the array the way you want, adding (or concat), extracting (shift and pop), sorting, querying and transforming them in many different ways.
engine[2] #=> 21
For more infos about arrays built-in methods, see Official Arrays Ruby docs.
An hash is like an array...
Like arrays, hashes are collections of objects but with some extra purposes. In fact, they works with a key/value pair principle that allows you to perform more complex filtering and sorting operations than with arrays. In hashes, the left value is connected to the right value with the =>
operator. Let's see what our engine array would look like if it was an hash:
engine_hash = { 'wagon_1' => 'cat', 'wagon_2' => 13.37, 'wagon_3' => (7*3) }
Again, like arrays, hashes can be created, ordered and used in many different ways, they will become very handy every time you will have to work with informations that come in a key => value
model because you can retrive the value simply by using the key, without iterating!
engine_hash['wagon_1'] #=> 'cat'
For more infos about hashes built-in methods, see Official Hashes Ruby docs.
Posted Thursday, October 1 — 2015


wordpress.com is the easiest way to create a free website or blog. It's a powerful hosting platform that grows with you.
Easy to use
Wordpress.com lets you create beautiful and powerful websites or blogs
Your own domain name
We'll set up and configure your custom domain so that you can start using it in seconds.
Search enging and SEO friendly
WordPress.com is optimized for SEO and getting your site in front of searchers on Google, Bing, Yahoo, and others.
The best support
Our Happiness Engineers work night and day through live chat, email, support pages, and forums to answer any questions you have.
Premium plans
Our premium plans give you more control with additional customization options. They all come with free trials.
Millions of users
We welcome 50,000 new sites every day. From small business sites, artist portfolios, and blogs, to giant media organizations like TIME and CNN.


Explain the purpose of the package.json
file and node_modules
directory.
package.json
specifies which packages we want to use within the app as well as semantic versioning ranges to say what versions of that app are acceptable
package-lock.json
specifies the exact version of the package that we have installed in our node_modules
directory, where we got that package from, and dependencies of that package
node_modules
is a directory that contains all of the actual code for packages that we have added to our project
Given multiple choices, identify the difference between npm’s package.json
and package-lock.json
files.
package-lock.json
package.json
npm init
is run
package.json
npm install
is run
package-lock.json
package.json
Use npm --version
to check what version is currently installed and use npm to update itself to the latest version.
npm -v
npm install -g npm@latest
-g
tells us to add as a global package@latest
says to install the latest versionUse npm init
to create a new package and npm install to add a package as a dependency. Then use require to import the module and utilize it in a JavaScript file.
npm init
creates our package.jsonnpm install moment
adds the moment package as a dependencyconst moment = require('moment');
imports the module into our code so that we can use the moment variable and call any methods on it that exist in the module;
moment.().format('dddd');
for examplenpm install --save-dev nodemon
adds the nodemon package as a dev dependencyGiven an existing GitHub repository, clone the repo and use npm to install it’s dependencies.
git clone <repo-url>
npm install
function Book(title, series, author) {
this.title = title;
this.series = series;
this.author = author;
}
prototype
of a constructor
function.Book.prototype.getInformation = function () {
if (this.series) {
return `${this.title} (${this.series})`;
} else {
return this.title;
}
}
class Book {
constructor(title, series, author) {
this.title = title;
this.series = series;
this.author = author;
}
}
class Book {
// constructor
getInformation() {
if (this.series) {
return `${this.title} (${this.series})`;
} else {
return this.title;
}
}
}
class Book {
// constructor
static getUniqueAuthors(...books) {
let authors = [];
books.forEach(book => {
if (!authors.includes(book.author)) {
authors.push(book.author)
}
})
return authors;
}
}
new
keyword.super
keyword in a child class to inherit from a parent class.class CatalogItem {
constructor(title, series) {
this.title = title;
this.series = series;
}
getInformation() {
if (this.series) {
return `${this.title} (${this.series})`;
} else {
return this.title;
}
}
}
class Book extends CatalogItem {
constructor(title, series, author) {
super(title, series);
this.author = author;
}
}
class Movie extends CatalogItem {
constructor(title, series, director) {
super(title, series);
this.director = director;
}
// extending the functionality of the parent's getInformation()
getInformation() {
let result = super.getInformation();
if (this.director) {
result += ` [directed by ${this.director}]`;
}
return result;
}
}
Utilize module.exports
and require
to import and export functions and class from one file to another.
// book.js
const CatalogItem = require('./catalog-item');
class Book extends CatalogItem {
// Book code
}
module.exports = Book
- In this next example, we are exporting a multiple items from a file. We are assigning an object to module.exports that contains each item we are exporting. When we import from this file, we can either import the whole object, or destructure right in our import
// classes.js
class CatalogItem {
// CatalogItem code
}
class Book extends CatalogItem {
// Book code
}
class Movie extends CatalogItem {
// Movie code
}
module.exports = { Book, Movie}
// index.js
const classes = require('./classes');
const Movie = classes.Movie;
const Book = classes.Book;
// Or, destructuring in the import statment:
// const { Movie, Book } = require('./classes');
const theGrapesOfWrath = new Book('The Grapes of Wrath', null, 'John Steinbeck');
const aNewHope = new Movie('Episode 4: A New Hope', 'Star Wars', 'George Lucas');
The three pillars of object-oriented programming
Encapsulation
:
game.getTokenAt(col, row)
function in the Connect 4 ProjectInheritance
:
Prototypal Inheritance
.
this
property references the object that the call originally came from.Polymorphism
:
as if it were an instance of one of its parent classes
.The SOLID principles
Open-Close
Principle (less applicable)
How to apply the Law of Demeter
game.getTokenAt(col, row)
in Connect 4 projectWorking with objects that come from code you didn’t create
Visualizations of our program (UI has to know about the structure of our data)
module.exports = ClassName
, module.exports = { ClassName }
, or exports.ClassName = ClassName
for exporting. Know the differences and how to use each.const ClassName = require('./file/path')
or const { ClassName } = require('./file/path')
for importing. Know the differences and how to use each.


| Features | Green Dot 5% Cash Back Visa® Debit Card | Green Dot Prepaid Visa® Card | Green Dot Load & Go Prepaid Visa Card | Platinum Visa Secured Card | Green Dot MoneyPak |
|---|---|---|---|---|---|
| Use everywhere Visa® debit is accepted in the U.S. | • | • | • | • | x |
| No overdraft fees, ever | • | • | • | x | x |
| Free ASAP Direct Deposit™ | • | • | •* | x | x |
| Track your balance and much more with the app | • | • | •* | x | x |
| Stash money in the vault, separate from your balance | • | • | •* | x | x |
| Transfer money from a linked bank account | • | • | •* | x | x |
| Deposit cash at retailers nationwide | • | • | •* | x | x |
| Earn 5% cash back, up to $100 per year | • | x | x | x | x |
| Monthly fee is waived with a $1,000 deposit in the previous monthly period | x | • | x | x | x |
| No monthly fee – just pay as you go | x | x | • | x | x |
| ATM access with your registered temporary card | • | • | •* | x | x |
| ATM access with your personalized card | • | • | •* | x | x |
| Mobile deposit – Deposit checks with your smartphone** | • | • | •* | x | x |
| Send money to another Green Dot Bank account** | • | • | • | x | x |
| Order paper checks** | • | • | • | x | x |
| Online bill pay** | • | • | • | x | x |
| Establish or rebuild credit with responsible use | x | x | x | • | x |
| Make same-day payments at retailers nationwide | x | x | x | • | x |
| Deposit cash to a prepaid or bank debit card | x | x | x | x | • |


{% extends "base.html" %} {% block body %}
View Existing Cases
Submit New Case
Case Playlists
Site Administration
Analytics


[VisAPI Index] [VisAPI Hierarchy]
Attribute-Enumeration specification. More...
#include <VisApi/VisApi.h>
Inherits: visObject
This class is the base class for an enumeration of all cells of the field associated field. This class can be applied on all fields. However it is better to use the getCellEnumeration() Method of the grid since it might return an optimized version for that field.
| Kdoc |


Nice to see you here. We're about to go live soon ,So watch this space ! If you need to get in touch with us, please do so through our GitHub page...


Although I still have one trip to an archives planned this fall, and I’m still reading a bunch of books that the programmed instruction penned in the 1960s, I think I have almost neared the end of the “research” portion of Teaching Machines. I wrote a little about that in my weekly reflection on the book: Organizing the Research (Postponing the Writing) on teachingmachin.es
I finalized (I hope) my article that’s coming out in The Baffler
I sat in on Eddie Maloney’s class at Georgetown to hear Jim Groom lead the class
I’m working on two talks right now for next week
I got a flu shot – because you can’t work when you’re sick. Get vaccinated, people
Speaking
Nope
Traveling
Nope
Upcoming week: Indianapolis, briefly
Reading and Listening
I finished reading Beyond the Box. I’m still reading Programs, Teachers, and Machines. I started reading The Poppy War. I also started to listening to the audiobook of Grocery


Cloud icon:
Cloud icon as a link:
Styled Cloud icon:
Home icon:
Home icon on a button: Home
Home icon on a green button: Home
Home icon on a large, light blue link button: Home


Decide to want nothing to do with my owner today. When in doubt, wash being gorgeous with belly side up sweet beast, but poop in the plant pot but munch on tasty moths. Brown cats with pink ears. Caticus cuteicus when in doubt, wash stare at ceiling, and scream at teh bath, lies down but cough hairball on conveniently placed pants claw your carpet in places everyone can see - why hide my amazing artistic clawing skills?. Meow in empty rooms.
 Ribeye alcatra porchetta flank. Venison chicken meatloaf landjaeger. Porchetta burgdoggen ham hock, pork belly beef ribs chicken meatloaf jowl strip steak t-bone. Pork chop turducken drumstick kevin leberkas jowl chicken prosciutto salami meatloaf, tri-tip doner boudin ground round read more...
Lorem non. Aperiam exercitationem omnis. Consequatur rem labore architecto. Ad molestiae explicabo but nemo for doloremque. Aliquip dolor, yet velitesse so omnis vitae aspernatur. Modi. Aliqua.
Page 2 > >


15 Simple Things Stylish Women Do Every Day
by Hannah Weil McKinleyContrary to popular belief, really chic women aren't superhuman — they're just well-prepared. If you don't see them running around with week-old coffee stains on their blouses or hobbling in painful heels, it's not because those things just don't happen to them. It's because they know how to deal.
In fact, they're dealing on a daily basis. Truth is, the fashionable friends you envy have some very helpful habits that make looking polished, confident, and cool a daily reality. It's not about a total wardrobe overhaul or dropping tons of cash on the season's biggest trends. Real style starts at home the moment you wake up. We've done the research — all you have to do is read on for the takeaways you can start practicing right now.


Something happened that you should know about.
Congratulations! This is success alert.
Be Warned
Something not ideal might be happening.
Something not ideal might be happening.
Our privacy policy has changed
Make sure you know how these changes affect you.
Informational message
Some additional text to explain said message.
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatibus quia, nulla! Maiores et perferendis eaque, exercitationem praesentium nihil.
Members only
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatibus quia, nulla! Maiores et p.
Jonathan Reinink
Aug 18


The Mojo Mixins are there to make authentication and session managemeent easy in your application without having to load in the whole machinery in each request.
MojoAuthMixin is designed to override the get_current_user functionality of a standard Tornado RequestHandler to provide straightforward and secure authentication. Makes use of the SessionManager class to manage cookies.
The Auth mixin will make the get_current_user functionality available that takes advantage of the Mojo.Auth familly of modules and models.
Example Usage:
import tornado.web
from Mojo.RequestHandlers.MojoHandler import MojoRequestHandler
from Mojo.Auth.Mixins.MojoAuthMixin import MojoAuthMixin
from Mojo.Auth.models import User
from Mojo.Auth.Helpers import login_assistant
#To implement the mixin, simply subclass it alongside the regular MojoRequestHandler and the authentication
#funcitonality will be come available.
class loginHandler(MojoRequestHandler, MojoAuthMixin):
def get(self):
#Override the get function to render the page, check current_user to see if we're already logged in
if self.current_user:
self.render('login.html', error='ALREADY LOGGED IN')
else:
self.render('login.html', error=None)
def post(self):
#Get the username and password from the request
username = self.get_argument('username')
password = self.get_argument('password')
target = self.get_argument('next', '/admin/')
#Get the user from the database
thisUser = User.find_one({'username':username})
#Log the user in using the login assistant
if login_assistant(thisUser, password, self):
self.redirect(target)
else:
self.render('login.html', error='Login failed')
Overrides get_current_user to return the logged_in value from the sesison cookies. This function uses the SessionManager class to get and set cookies (this is to ensure that Mojo-specific functionality and keys are consistent).
Session mixins are designed to make persistent session management features from SessionManager available as part of your RequestHandler, the mixins enable getting and setting of persistent session data (sessions are stored in the database) and also nifty helper functions that wrap SessionManager.
The mixins come in two flavours: Synchronous and Asynchronous to ensure they work fully with your preferred database backend.
Synchronous Session Mixin RequestHandler base class. Exposes session management functions via a SessionManager object and ties these back using the ORM to the database, this mixin will use a blocking driver.
Usage:
from Mojo.Auth.Mixins.SessionMixins import SessionMixin_Sync
class loginHandler(MojoRequestHandler, SessionMixin_Sync):
def get(self):
...
Wrapper around the SessionManagers _create_new_session() method, but will save the session to DB instead of having to manage it manually.
Gets a session key from the database based on the session_id supplied by the RequestHandler. Similarly to set_session_key, this is not a cookie value, but a persistent session variable from the database.
Usage:
class loginHandler(MojoRequestHandler, SessionMixin_Sync):
def get(self):
this_session_value = self.get_session_key('test_value')
#Should render the 'test_value' session variable if it's in the template.
self.render('main.html', session_value=new_value)
Returns the whole session_model object and assigns it to itself.
Gets a user from the database, this is such a common operation it offers a quick and simple way to return the full user object from the database either by supplying the username or password.
Saves the session model to the database, in this case it’s a synchronous (blocking) operation. If there is no session to save, will create a new one (which is then saved automatically)
Session property - holds a SessionManager object that is initialised with the current RequestHandler as context, will initialise on first access.
Sets a session key and saves it to the database (not a cookie - sessions are identified by a session_id in the secure cookie collection and for security purposes are encoded and stored in the database so as not to leak any information).
Usage:
class loginHandler(MojoRequestHandler, SessionMixin_Sync):
def get(self):
self.set_session_key('test_value', 'hello world!')
new_value = self.get_session_key('test_value')
#Should render the 'test_value' session variable if it's in the template.
self.render('main.html', session_value=new_value)
Asynchronous Session Mixin RequestHandler base class. Exposes session management functions via a SessionManager object and ties these back using the ORM to the database, this mixin will use a non-blocking driver.
Is compatible with gen.Task or callback-style implementations, the preferred method is the gen.Task implementation.
Usage:
from Mojo.Auth.Mixins.SessionMixins import SessionMixin_Async
class loginHandler(MojoRequestHandler, SessionMixin_Async):
@tornado.web.asynchronous
@gen.engine
def get(self):
...
Wrapper around the SessionManagers _create_new_session() method, but will save the session to DB instead of having to manage it manually.
Gets a session key from the database based on the session_id supplied by the RequestHandler. Similarly to set_session_key, this is not a cookie value, but a persistent session variable from the database.
Usage:
class loginHandler(MojoRequestHandler, SessionMixin_Sync):
@tornado.web.asynchronous
@gen.engine
def get(self):
new_value = yield gen.Task(self.get_session_key,'test_value')
#Should render the 'test_value' session variable if it's in the template.
self.render('main.html', session_value=new_value)
Returns the whole session_model object and assigns it to itself.
Gets a user from the database, this is such a common operation it offers a quick and simple way to return the full user object from the database either by supplying the username or password.
Saves the session model to the database, in this case it’s an asynchronous (non-blocking) operation. If there is no session to save, will create a new one (which is then saved automatically)
Session property - holds a SessionManager object that is initialised with the current RequestHandler as context, will initialise on first access.
Sets a session key and saves it to the database (not a cookie - sessions are identified by a session_id in the secure cookie collection and for security purposes are encoded and stored in the database so as not to leak any information).
Usage:
class loginHandler(MojoRequestHandler, SessionMixin_Async):
@tornado.web.asynchronous
@gen.engine
def get(self):
yield gen.Task(self.set_session_key,'test_value', 'hello world!')
new_value = yield gen.Task(self.get_session_key,'test_value')
#Should render the 'test_value' session variable if it's in the template.
self.render('main.html', session_value=new_value)


Error reading the data URL! Please review the URL below or check the contents of the datafile by reviewing the documentation.
The response from the server was:
select deselect
Error reading the protein structure URL! Please review the URL below or check the contents of the protein structure by reviewing the documentation.
The response from the server was:
Color error! Please check that you have entered a valid color.
Error reading the description URL! Please review the URL below or check the contents of the description markdown by reviewing the documentation.
The response from the server was:


This Angular project was fun to build and I can say that I actually learned a lot from building this small application. The Application, is your basic todo app, it has all the functionality for CRUD operations and it's no where near finished, but the basic methods for Creating, Reading, Updating and Deleting a todo is functional.


[ aws ]
Amazon EMR is a web service that makes it easy to process large amounts of data efficiently. Amazon EMR uses Hadoop processing combined with several AWS products to do tasks such as web indexing, data mining, log file analysis, machine learning, scientific simulation, and data warehousing.


Adapting the EMBL-EBI slide template to reveal.js
Here is a basic slide with the default settings.
You can use the background images provided in the PPT template
Set data-background="IMAGE"
on a slide to change the
background image.
<section data-background="image.png">
You can choose any of these backgrounds:
The original ppt template is available
HERE. (Intranet link)


§462A-14 Lien for pilotage fees. Every licensed pilot shall have a lien for the pilot's pilotage fees upon the whole of any vessel liable to the pilot therefor. [L 1978, c 231, pt of §2; gen ch 1985]


THE COOK, THE THIEF, HIS WIFE, AND HER LOVER A film review by James Berardinelli Copyright 1996 James Berardinelli
RATING (0 TO 10): 8.0 Alternative Scale: ***1/2 out of ****
France/United Kingdom, 1989 Screening: Best of the Ritz Film Festival, 9/21/96 Running Length: 2:05 MPAA Classification: NC-17 (Sex, nudity, violence, profanity, rotting fish and meat) Theatrical Aspect Ratio: 1.85:1
Cast: Richard Bohringer, Michael Gambon, Helen Mirren, Alan Howard, Tim Roth, Ciaran Hinds, Liz Smith Director: Peter Greenaway Producer: Kees Kasander Screenplay: Peter Greenaway Cinematography: Sacha Vierny Music: Michael Nyman U.S. Distributor: Miramax Films
If there's anything disgusting or grotesque that THE COOK, THE THIEF, HIS WIFE, AND HER LOVER doesn't dabble in, I'm at a loss to figure out what it is. This film, a wildly exuberant, bitingly satirical examination of excess, bad taste, and great acting, is the kind of over-the-top experience that will have timid movie-goers running (not just walking) for the exits. Taboos? If director Peter Greenaway has any, you can't tell by this film.
Common wisdom suggests that you don't go into films like BABETTE'S FEAST and EAT DRINK MAN WOMAN on an empty stomach. By the same token, my recommendation would be that you don't venture into THE COOK on a full stomach. There are times when Greenaway's vision becomes excessively graphic, and this goes beyond just sex and violence (although there's a fair amount of both). Perhaps the most disgusting sequences involve trucks of meat and fish left outside to rot. The word "gross" was coined for this kind of stuff.
Roughly two-thirds of the film takes place inside the fine French restaurant, Le Hollandais. With a dungeon-like kitchen that looks like it was snatched out of Terry Gilliam's BRAZIL, this is a fantastically bizarre place to eat dinner. The chef, Richard (French actor Richard Bohringer), is a gastronomical genius who cares as much for the artistry of a meal as for its taste. Le Hollandais' owner, an uncouth rogue by the name of Albert (Michael Gambon), visits the restaurant nightly in the company of his wife, Georgina (Helen Mirren), and a flock of toadies. There, sitting in the center of Le Hollandais' dining room, at the biggest table, Albert holds court, spouting often-absurd discourses about any subject he can think of. But, while he's talking, his neglected wife catches the eye of a nearby diner (Alan Howard), and soon those two sneak away for a tryst in the Ladies' Room.
THE COOK, THE THIEF, HIS WIFE, AND HER LOVER is well-written, with dark humor and irony peppering nearly every conversation and monologue. More than half of the lines belong to Michael Gambon (of Dennis Potter's THE SINGING DETECTIVE), and he delivers them with relish. His is a wonderful, larger-than-life performance, and he knows just how to present Greenaway's dialogue to its best effect. Watching Gambon's tour de force is one of THE COOK's chief pleasures.
Helen Mirren, a British actress of some repute (best known for her portrayal of Jane Tennison in the PRIME SUSPECT series), has never been sexier than here. Her performance is proof that a female lead doesn't have to be under 40 or classically beautiful to heat up the screen. Mirren's lovemaking scenes with Alan Howard are charged with eroticism, and her final confrontation with Gambon is tense and bitter.
Set design is top notch. Le Hollandais is a surreal place, the kind of fantastic setting that Jeunet and Caro would bring to the screen years later in films like DELICATESSEN and THE CITY OF LOST CHILDREN. This is also a movie of vivid colors: reds for the dining room, pinks for the rest rooms, and greens for the kitchen. THE COOK is always visually interesting, even on those rare occasions when other aspects of the production aren't as arresting.
One message that Greenaway clearly conveys is the association between two of life's most obvious sensual pleasures: eating and sex. He litters this picture with the brutal and the grotesque -- including murder, covering someone with excrement, and cannibalism. THE COOK is always as visceral as it is visual, with Gambon on hand to provide acid commentary for everything (he never seems to stop talking). Then there's the ending, which contradicts the saying that revenge is a dish best served cold. In this case, it's warm, and very, very appropriate.
- James Berardinelli e-mail<EMAIL_ADDRESS>ReelViews web site: http://www.cybernex.net/~berardin
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


输入两个数字，输出它们之和
| F.A.Qs | Home | Discuss | ProblemSet | Status | Ranklist | Contest | 入门OJ | ModifyUser testuser | Logout | 捐赠本站 |
|---|
输入两个数字，输出它们之和
一行两个数字A,B(0<=A,B<100)
输出这两个数字之和
Q: Where are the input and the output? A: Your program shall always read input from stdin (Standard Input) and write output to stdout (Standard Output). For example, you can use 'scanf' in C or 'cin' in C++ to read from stdin, and use 'printf' in C or 'cout' in C++ to write to stdout. You shall not output any extra data to standard output other than that required by the problem, otherwise you will get a "Wrong Answer". User programs are not allowed to open and read from/write to files. You will get a "Runtime Error" or a "Wrong Answer" if you try to do so. Here is a sample solution for problem 1000 using C++/G++:
#include
using namespace std;
int main()
{
int a,b;
cin >> a >> b;
cout << a+b << endl;
return 0;
}
It's important that the return type of main() must be int when you use G++/GCC,or you may get compile error. Here is a sample solution for problem 1000 using C/GCC:
#include
int main()
{
int a,b;
scanf("%d %d",&a, &b);
printf("%d\n",a+b);
return 0;
}
Here is a sample solution for problem 1000 using PASCAL:
program p1000(Input,Output);
var
a,b:Integer;
begin
Readln(a,b);
Writeln(a+b);
end.
Here is a sample solution for problem 1000 using JAVA: Now java compiler is jdk 1.5, next is program for 1000
import java.io.*;
import java.util.*;
public class Main
{
public static void main(String args[]) throws Exception
{
Scanner cin=new Scanner(System.in);
int a=cin.nextInt(),b=cin.nextInt();
System.out.println(a+b);
}
}
Old program for jdk 1.4
import java.io.*;
import java.util.*;
public class Main
{
public static void main (String args[]) throws Exception
{
BufferedReader stdin =
new BufferedReader(
new InputStreamReader(System.in));
String line = stdin.readLine();
StringTokenizer st = new StringTokenizer(line);
int a = Integer.parseInt(st.nextToken());
int b = Integer.parseInt(st.nextToken());
System.out.println(a+b);
}
}


MuleSoft Meetup 2017 Workshop
Async techniques with JS
@nanovazquez87
Scenario
Display applications from different sources


~~~Enter the BusMall~~~Hello! Welcome to BusMall, your future to successful mobile shopping. You are fortunate enough to be able to participate in making our products and services the best they can be! Try clicking through these items above, based on your preferences. At the end, you will be presented an infograph based on your selections. Thanks for participating, and see you on the open road!


Current temperature:
Today's high temperature:
Today's low temperature:
Description of current weather conditions:
Current wind speed:
Time of sunrise:
Time of sunset:


If you find yourself needing to look for a certain pattern among all sources files in Jenkins and its plugins - anything in https://github.com/jenkinsci - try cloning http://git.jenkins-ci.org/all.git and then running this handy one-liner in it (replace the "basic"-syntax regexp with whatever you need, or use -E
for extended regexp):
git branch -a | fgrep -v '*' | xargs git grep 'SomeClass\.staticMethod' | perl -n -e 'print "$repo/$fname: $text\n" if ($repo, $fname, $text) = /^remotes\/origin\/(.+)\/master:([^:]+):(?:[ \t]*)(.+)$/'
(This greps files as of the tip of the master branch only. Checking historical versions is much slower.)
To limit the search to particular paths:
(git branch -a | fgrep -v '*'; echo -- pom.xml) | xargs git grep 'credentials' | perl -n -e 'print "$repo/$fname: $text\n" if ($repo, $fname, $text) = /^remotes\/origin\/(.+)\/master:([^:]+):(?:[ \t]*)(.+)$/'
Another useful trick is to collect the full text of all source files matching the pattern, so you evaluate matches in context:
git show `git branch -a | fgrep /master | xargs git grep -l 'SomeClass\.staticMethod'`
Similarly, to grep file names and not from file contents:
for b in $(git branch -a | fgrep /master) do git ls-tree -r --name-only $b | grep some/path/name | sed -e "s|^|$b:|g" done
To show hyperlinks to GitHub sources, change the Perl print statement to:
print "https://github.com/jenkinsci/$repo/blob/master/$fname\n"
http://ci.jenkins-ci.org/view/Infrastructure/job/infra_backend-merge-all-repo/ updates this repo weekly.
You can also:
git clone git@github.com:jenkinsci/backend-merge-all-repo.git ./backend-merge-all-repo/clone.groovy
to clone all repositories separately, then use regular shell tools to search them:
find */src/main/java -type f -name \*.java -exec fgrep -q 'SomeClass.staticMethod' {} \; -print
But the easiest method is to skip checkouts entirely and use GitHub:
https://github.com/search?type=Code&q=user%3Ajenkinsci+SomeClass.staticMethod
Or right-click your browser search bar, add a new provider with name github
and URL pattern:
https://github.com/search?ref=simplesearch&type=Code&q=user%3Ajenkinsci+%s
Now just: Ctrl-K github TAB SomeClass.staticMethod ENTER


Flight Command / The Dawn Patrol
Flight Command is a movie starring Robert Taylor, Ruth Hussey, and Walter Pidgeon. A rookie flyer, Ens. Alan Drake, joins the famous Hellcats Squadron right out of flight school in Pensacola. He doesn't make a great first impression...


{include file="public/header"}
| id | {{check_info.id}} |
| 学生姓名 | {{check_info.name}} |
| 学生照片 | |
| 宿舍 | {{check_info.room.gongyu}} {{check_info.room.danyuan}} {{check_info.room.louceng}}层 {{check_info.room.fangjian}}号 |
| 学院 | {{check_info.college}} |
| 专业 | {{check_info.major}} |
| 违纪行为 | {{check_info.crime}} |


Approved Transactions
Denied Transactions
Pending Transactions
Points Earned
User Roster
Number of Plants
Number of Animals


DocTrak
phone
mail
file_upload
info
TrakID
Type in a serial number and hit search.
Usage instructions go here.
Usage instructions go here.


Home
About
Categories
Land
Exploration Starts Here :
Select
Active Fires
Albedo
Average Land Surface Temperature [Day]
Average Land Surface Temperature [Night]
Blue Marble: Next Generation
False Color
Global Temperature Anomaly
Greenland / Antarctica Elevation
Land Cover Classification
Land Surface Temperature Anomaly Day
Land Surface Temperature Anomaly [Night]
Land Surface Temperature [Day]
Land Surface Temperature [Night]
Leaf Area Index
Net Primary Productivity
Permafrost
Sea Ice and Snow Extent, Northern Hemisphere
Sea Ice Concentration and Snow Extent, Global
Snow Cover
Snow Water Equivalent
Topography
True Color
True Color 2
Vegetation Index [NDVI]
Water Equivalent Anomaly
Let's Go!
Refresh
Color Table
Your browser does not support HTML5 Canvas.


This year's Dobson Memorial Lecture was delivered by Kurt Chodd, a bungling amateur from the Land of Swans. Attendance at the converted pig hut in the grounds of the toothpaste factory at the Port of Tongs was sparse, but those desiccated few who did turn up—sorry, I meant “dedicated” — were treated to a fascinating talk on The Administration of Lighthouses.


AutoSPInstaller Online
ASPIO is your SharePoint Deployment Central.
Go to News »
Guide
We highly suggest that you read our guide before your proceed.
Go to Guide »
Build a Farm
Choose this option to begin configuring your SharePoint Farm.
Build a Farm »
AutoSPInstaller
Download the latest version of AutoSPInstaller.
Download »
Please Note: Absolutely NO information about your Farm Config is ever sent to our servers!
Please Note: The site has only been tested with the latest versions of each browser, Chrome, FireFox, IE11 and Safari.


These testimonials was collected by Ron Lampe from Creswell, Oregon. Ron's words: Thanks again for updating Math Ace to 1.6. I absolutely love it and so do my students. We have been recording our data for the first four weeks of school and decided I wanted to have their input. I had them write about Math Ace on their keyboards and beam it to me. I teach math for 6-8 grade. Obviously I did not edit their comments, but some are actually pretty funny.
Yes, they're actually quite funny - they're presented as unedited as possible:
I think math ace helped us because it gets us warmed up for the day. It also gets us sometimes better. At the start of the year I wasn't doing to good but now I am.
-- Aaron, 6th gradeI think Math Ace is really awesome because it has really helped me improve with math and know right away what the anwser is and not have to look up at the multiplication chart or have to think about each problem for like a minute which will never help you when you take this quiz.
-- Adriana, 7th grademathace helps me understand math better I can do it faster than I could when we started Math Ace
-- Aj, 7th gradeI like math ace because it helps me with math and improves my grade. It is also kind of fun. Acordding to my opinion at least. I think it is also kind of interesting how it times you. But then again it is electronic so it can. Thats what I think about Math Ace.
-- Alex, 6th gradeWhat I like about math ace is that I improved my time. I also like that I can know what my time is.
-- Amber, 6th gradeI like Math Ace a lot. I have gotten at least a little bit faster at simple math problems. I have gone from 59/63 to 100/100. Thanks!
-- Ariana, 6th gradeI like math sometimes. Because sometimes it wont work with the number 5 and that takes about 10 seconds off my time. I guess I've improved a little.
I think it's better than paper-pencil though.
-- Austin, 6th gradeI like math ace because we start on our own and don't have to wait for every one. We just get our palms and start on our math.
-- Chantell, 6th gradeMath Ace is a good program because it helps us do our math problems quickly. I really like it and it is kind of fun to. Its a good program to help kids learn their math problems.
-- Chevy, 6th gradeIt is ausome, I love the programe, I think it would be cool to have kids in Africa use paims and learn.
-- Cody, 8th gradeMath Ace has helped me get farther in my math class. And it does have its ups and downs but its pretty good all the same. Sometimes it makes mistakes but Brian Shou has fixed most of them.
-- Cody, 7th grade
.. and hopefully more! I believe I've fixed all the bugs! :-) /brian
i like math ace because its helps my multiplication,divsion,adding,and subtracting .in the one month i have used it i have inproved a lot
-- Corbin, 6th gradeMath Ace has made me alot better at multiplication and division. I don't know where I would be without it. Sometimes I wish I had my own palm so I could do it at home.
-- Corey, 7th gradeI like Math Ace because it times it for you and you get to see how many you did in that time. I also like it because you get to set the amount of minutes and what you want to do. It helps me get faster and I do a lot better in math.
-- Courtney, 6th gradeI like math ace alot. I like math ace because it's somthing fun that we can do by ourself. Its somthing we can do by ourself because it times us right there on the palm. It has helped me on my fast facts. It is a great program.
-- Cydni, 6th gradeMath Ace has helped me in my mutipluction and divion probles. At first I was a little scerred to be in general math, but now I'm doing lot's better than I use to, from 25 to 72 problems in 5 minutes. I thing that's an improvement.
-- Dakota, 6th gradeI think that math ace is better because it has a timer. A timer is better because you get 5 minutes. In math ace you get to see your score. When you get to see your score you know how to improve your score.
-- Daniel, 6th gradeI realy like math ace it has helped me to improved on math. My first numbers to start with on math ace were 27/34 now the highest I have got were 72/72 that is pretty good and I have a fun time with it to.
-- Danielle, 7th gradeI think this program is awesome. This program has helped me learn how to do my work quick now instead of 1 hour i can do it in a 1/2 an hour or less. I think you should make it a little moree interesting / fun. Because it gets kind of boring when youre on it for 5 minuetes
-- Danielle
How Danielle, how? How do I make it more interesting? I am always open to suggestions ...
Dear Brian Schau,
I think MathAce is a really great way to do a warm up in math before class I think all schools should use MathAce as a warm up and I admire that you like math and made a warm up program for math.
Thank You for reading this letter
Sincerely,
Ryan, 6th grade
P.S. Mr. Lampe is my math teacher and I got your name from MathAce.
... and thank you Ryan, for writing this letter!
I like the Math Ace program it is really cool and it helps me with my math I can do math really fast now.
-- Destiny, 6th gradeI like math ace it's a fun way to get faster at doing math problms in your head. I got alot faster at doing problems in my head.
-- Dustin, 8th gradeI think math ace helps me with math because before we do anything we do math ace,it helps me get started for the day. Thats how math ace helps me.
-- ElijahMath ace has really helped me like i have been fassterr since the begging of the school year. I really like math ace but i like math a lot.
-- Elizabeth, 6th gradeI think that math ace is a great help. I also think math ace is also a great help to me and our class.
Thank you Math Ace
-- Ellie, 6th gradeI like math ace because it helps me with my math i have inproved at the beging of the month i had 49 out of 52 but now i have 83 out of 84 in 5 min.
thats all
-- Emily, 6th gradeI have been doing Math Ace for about a month now. I really like it, because it has improved my score.
-- Gabe, 6th gradeI think mathace has helped me improve my math skills by alot since the begining of this semester. I think that this program is helping alot of with their math skills. This is a really program for math.
-- Gabriel, 6th gradeI think that Math Ace is a great way 2 learn math. It has helped me alot. It's awsome. Thank you.
-- Haley, 6th grademath ace is fun because i like learning and it teaches you how to answer the questionS fast. And it gives you 5 minutes in stead of three like in elementary school. Plus its on a palm.
-- Hannah, 6th gradeI think it has helped me with my math skills. I know it has done a lot for me. I have improved on my scores. My worst score was 63 out of 68. My best is 117 out of 120.
-- Hayden, 6th gradeMath Ace has made me faster at math and I have got better scores.
-- Jake, 6th gradeMath Ace has helped me become better at math. I used to have a score of 73 now I have a score of 116. I'm so happy that I'm getting better at math. I love math now. Thanks!
-- Jamie, 6th gradeI enjoy this program. It helps my
brain at the begining of class, so Im
not so tired. I also like how we are
timed. What I mean is it get's my
brain working.
Thank you.
-- Jeanette, 7th gradeI think that Math Ace is a fun learning tool that helps you learn math while using state of the art tecnology. I like Math Ace because I can get better at math while playing the Math Ace game, I think that Math Ace is really fun to learn from and to learn and to get better at math and Math Ace.
-- Jeffery, 6th gradeMathace is helpful. I get quicker at math. I just need to do it everyday, or I'll get slow.
-- Jennifer, 6th gradei like math ace because it hase helped me with my math skills. One thing i like most is how it keeps my score and how it shows the time so we know how much time we have and we can time our selvs.
-- Joanna, 8th gradeI think that mathace has improved my math skills and my speed for answering qutions faster. we have been doing this for a month.
-- John, 6th grademathace i think has realy helped me in math i started out at 32 in five minutes and now i am at about 70 it gets me so much faster and better it is great at first the timer didnt work but then it was fixed then when you got a answer wrong it would count it as two but its fixed now.
-- Justin, 7th gradeThe thing about matheace is an easy subject, becuase it helps you get faster at typing faster with your hands moving every where and it helps you with math to get better at it and the thing about it is you have 5 minutes and you have to learn how to do math faster and faster and even more faster but as i was saying you have 5 minutes to complete and it has your name and your score on the award sympothy, its really fun, because you get to play mathace and get faster and better at it cause you have all year to use lab top and palm pilots and it gets to be hard at times as i ws saying and still getting there. its easy but i have to go ....................
-- Kailene, 6th gradeI think Mathace is a good program. It has helped me see if I have improved or not. It also gives me lots of practice.
-- Kalee, 6th gradeIt has helped me think in my head easier. It is fun to do the math on the palm. It has helped me do math easier to do.
-- Kayla, 6th gradeMath ace has helped a lot. I think it helped a lot because in the begining of the year I was at 43/51. And now i'm at 89/94. But my highest score is 90/92..
-- Kayla, 6th gradeWhat I like about mathace is that it helps me get better a math and it gets me going for math so that I can be ready. I also like that you changed the time so the teacher doesn't have to time us any more we can do it on our own. This is my favorite math thing on the palms.
-- Keelie, 6th gradeI really like the math ace tests. It helps me a lot. You made a great program. I think everyone likes it. Thank you!
-- Kelce, 6th gradeMath ace has helped me anwser
qustions faster and it is really fun to
come in and do math ace.
-- Kelsey, 6th gradeI like math ace because:
It helps me memorize division,subtraction,adding and multiplying.
And I'm glad it's not on paper so its easier to do.
-- Kendall, 7th gradeI think that Math Ace is really cool because we can just start when ever. Another reason is because I personaly love to do math and I think I rock at math. The other thing I like to do is Math Ace!
-- Kyla, 6th gradeThank you for making Math Ace.
We have been useing Math Ace for about a month now, ..... I think.
Thanks again !
-- Leah, 6th gradeI think Math Ace has helped me a lot, even though I have only used it for five minutes every day. I am a lot better in math class now.
-- Luis, 6th gradeI think that Math Ace is a good warm-up for the day because we do a little bit of everything in this class. We've been doing it for a month now. I have improved a lot. I started out with about 80% and now I get about 90% on Math Ace.
-- Marbella, 6th gradeI think Math Ace helps you a lot because just from what I have done I improved a bunch.
-- Matt, 6th gradeI love the new MathAce. My grade has improved so much. I like it because it helps me alot. I know you have put so much time into this program, and I would like to think you for that. I have improved so much. I went from 61/65 now its 96/96. Knowing that you probably put a lot of time to make this for a bunch of kids is very cool, and I love this program. To be honest, When Mr.Lampe said we had a new program, I thought it would be boring, but after I played it I loved it. I think that you are a very good person for doing this for all of us. That was the best thing anybody could do. THANK YOU!!!!!!!!
SINCERELY,
-- Melody, 6th grade
Thank you Melody!
I like math ace because it makes math fun and easy for me. I have improved a lot.
THANKS A LOT
-- Mike, 7th gradeI think Math Ace is a good program because it helps kids with math and it is a fun way to do math.
-- Alysha, 7th gradeMath ace is a good thing to do. It helps you get better at math. It helped me get better at some equations.
-- Lexi, 7th gradeMath Ace is really helping me. I'm getting alot more perfect scores.
It's alot more fun than the Math Fun game we used before. It;s also alot easer to use than Math Fun. Oh! Thanks for making the 1.6 for us
-- Olivia, 6th gradeMath ace helped me improve by making me faster in Multiplication and dividing.
-- RaulWhat I like about this program is that it has improved me in my math like mutiplication & dividing. I am happy with all the changes that you and Mr. Lampe made!
-- Rheanna, 7th gradeI really like math ace a lot because it shows you how much time you have and how many you got. All so you can record your scores. Thank you for making math aces!!!!
-- Rosie, 6th gradeI like Math Ace a lot. It is easier to use. For one thing, it times you. Plus we can do integers on it. It also keeps your scores. Those are some things I like about Math Ace. Thanks for making it.
-- Ryan, 6th gradeI think Math Ace has helped me a lot because I was getting around 93 percent at the begining and now I'm getting around 98 percent. It has improved my math skills a lot. Math Ace is a great program.
-- Sabrina, 6th gradeI think this is an awsome program. My score has improved alot and it is fun to do. I am very grateful for all the work that you did thanks for making this program.
-- Sam, 6th gradeMath Ace has helped me get faster and more efficiant at multipling subtracting dividing and adding.
Thank you
-- Shon, 7th gradeI like math ace because you can do negative numbers and u can go for a timed amoount of time. This program has helped me get alot faster at math and I dont get as many wrong. I think math ace is great.
-- Spencer, 6th gradeMath Ace is a great program esspecialy if you want to cover basics I have improved alot since i started using Math Ace today i got my second 100% normaly i got a score of 81
-- Star, 7th gradeI like math ace becouse it made my math speed way faster.
-- Taylor, 6th gradei like math ace because i had alot of trouble with mulitpalcation & divisoin and math ace does the same problem over and over so they stick in your head and now i can do them alot easier i went from an avrage 30~40 every 5 min. problems on average to 60~70 5min.
-- Teayanna, 8th gradeI belive that Math Ace has improved how fast I awnser problems. Also it has help my confidence I am no longer scared of test!
I am glad that they have redone the program. All in all I am glade they made Math Ace Thanks.
-- Theressa, 6th grademath ace helps me by learning my addition,subbtraction multiplucation and divition alot faster...
-- Tiffani, 6th gradeI think this program is awesome. It really tests your brain. I think it is funner than doing it paper and pencil style. Thank you for the incredible software.
Thanks,
Wendie
-- Wendie, 6th grade


public abstract class Game
extends java.lang.Object
implements java.util.Observer
| Modifier and Type | Field and Description |
|---|---|
private static boolean |
DEBUG |
protected static int |
difficulty |
protected int |
gameID |
protected java.lang.String |
gameName |
protected static int |
gamesPlayed |
static boolean |
running |
protected static java.lang.String |
runningGameName |
protected int |
sizeX |
protected int |
sizeY |
| Constructor and Description |
|---|
Game() |
| Modifier and Type | Method and Description |
|---|---|
static void |
displayNumberOfGamesPlayed()
Displays the total number of games played
|
static int |
getNumberOfGamesPlayed()
Returns the number of games played during the last session
|
static void |
incrementGamesPlayed()
Increments the current session's number of games played
|
static boolean |
isRunning()
Returns true if there is a game running
|
void |
prepareGame()
To be used when initiating a game.
|
abstract void |
resetGame()
Implementation should reset a game
|
abstract void |
retreiveFromDatabase()
Implementation should retrieve game details from Database
|
abstract void |
saveToDatabase()
Implementation should save game details to Database
|
protected static void |
setRunning(boolean status)
Sets a flag used to determine whether a game is running or not
|
protected static void |
setRunningGame(java.lang.String name)
Sets the name of the game that's running
|
abstract void |
startGame()
Implementation should initialize a game
|
abstract void |
update(java.util.Observable arg0,
java.lang.Object arg1)
Implementation should process Launchpad Input
|
private static boolean DEBUG
protected static int difficulty
protected int gameID
protected java.lang.String gameName
protected static int gamesPlayed
public static boolean running
protected static java.lang.String runningGameName
protected int sizeX
protected int sizeY
public static void displayNumberOfGamesPlayed()
public static int getNumberOfGamesPlayed()
public static void incrementGamesPlayed()
public static boolean isRunning()
public void prepareGame()
public abstract void resetGame()
public abstract void retreiveFromDatabase()
public abstract void saveToDatabase()
protected static void setRunning(boolean status)
status
- Flag statusprotected static void setRunningGame(java.lang.String name)
name
- Name of the game that's runningpublic abstract void startGame()
public abstract void update(java.util.Observable arg0, java.lang.Object arg1)
update
in interface java.util.Observer
arg0
- Observablearg1
- ObjectObserver.update(Observable, Object)


{% include meta.html %}
FISH | TECH | LIFE
Blog
About
Fish Stories
Good Reads
{{ page.title }}
{{ content }}
{% include analytics.html %}


Scientific method for complex crime problems
Does this solve the problem right now?
How?
When?
Where?
What?
Situational crime prevention
Reich & Porter, 2015
(seminars + lectures + invited speakers)
Soft target terrorism (seminar)
APPLIED CHALLENGE!!
<EMAIL_ADDRESS>- bkleinberg.net
teaching assistant - iwjvandervegt@gmail.com