public interface IInteropService
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String[] |
CHANGE_EVENT_CATEGORIES |
static java.lang.String |
CHANGE_EVENT_CATEGORY_PREFIX |
static java.lang.String |
CONFLICT_CHANGE_EVENT_CATEGORY |
static java.lang.String |
ERROR_CHANGE_EVENT_CATEGORY |
static java.lang.String |
INFO_CHANGE_EVENT_CATEGORY |
| Modifier and Type | Method and Description |
|---|---|
void |
addBlockingProxy(IExternalProxyHandle blockedProxyHandle,
IExternalProxyHandle blockingProxyHandle,
boolean incoming)
Add a blocking proxy to the set of proxies that block synchronization
for a given proxy.
|
void |
addDependsOnProxy(IExternalProxyHandle dependentProxyHandle,
IExternalProxyHandle dependsOnProxyHandle)
Add a depends on proxy to the set of proxies that a given proxy
depends on.
|
void |
deleteExternalRepositoryConnection(IExternalRepositoryConnectionHandle externalConnectionHandle)
Delete an existing external repository connection.
|
void |
deleteSyncRule(ISyncRuleHandle syncRule)
Delete a synchronization rule from the repository.
|
IExternalState |
fetchExternalState(IExternalStateHandle externalStateHandle)
Fetch the current (latest) state of the replicated state for an
external object from the repository.
|
IExternalProxy |
fetchProxy(IExternalProxyHandle proxyHandle,
java.lang.String[] properties)
Fetch the current (latest) state of a proxy from the repository.
|
IExternalRepositoryConnection |
findExternalRepositoryConnection(java.lang.String name)
Find an existing external repository connection by name.
|
IExternalState |
findExternalStatebyUri(java.lang.String uri)
Retrieve any external state for a proxy identified by an external
URI.
|
IExternalProxyHandle[] |
findProxiesByTargetItemType(IItemType targetItemType)
Find all proxies that are linked to Jazz items of a given type.
|
IExternalProxy |
findProxybyExternalState(IExternalStateHandle xstateHandle)
Retrieve a proxy for an external object given the replicated state
for that object.
|
IExternalProxy |
findProxybyTargetItem(IItemHandle targetItem)
Retrieve any proxy for an external object that is being synchronized
with a Jazz item, if any.
|
IExternalProxy |
findProxybyUri(java.lang.String uri)
Retrieve a proxy that may be replicating an external object.
|
ISyncRule |
findSyncRule(java.lang.String name)
Find a synchronization rule, given its name.
|
ISyncRuleHandle[] |
findSyncRulesByExternalRepository(IExternalRepositoryConnectionHandle externalConnectionHandle)
Find any synchronization rules that use a specific external repository
connection.
|
ISyncRuleHandle[] |
findSyncRulesByExternalTypeName(java.lang.String typeName)
Find any synchronization rules that are for a given external type.
|
ISyncRuleHandle[] |
findSyncRulesByExternalTypeNameAndProjectArea(java.lang.String typeName,
IProjectAreaHandle projectAreaHandle)
Find all synchronization rules for a given external type and associated
with a project area, or no project area.
|
ISyncRuleHandle[] |
findSyncRulesByProjectArea(IProjectAreaHandle projectAreaHandle)
Find all synchronization rules associated with a project area, or
no project area.
|
IExternalRepositoryConnection[] |
getAllExternalRepositoryConnections()
Get handles for all existing external repository connections.
|
ISyncRuleHandle[] |
getAllSyncRules()
Get all of the sync rules (as handles) stored in the repository.
|
IExternalProxyHandle[] |
getBlockingProxies(IExternalProxyHandle proxyHandle,
boolean incoming)
Get any proxies that are blocking synchronization of a given proxy,
in the specified direction.
|
IExternalProxyHandle[] |
getDependsOnProxies(IExternalProxyHandle proxyHandle)
Get any proxies that the given proxy depends on.
|
IManagerInfoDTO[] |
getExternalManagerInfo()
Get information about the external managers currently registered in the
server.
|
ITypeInfoDTO[] |
getExternalManagerTypeInfo(IManagerInfoDTO managerInfo,
IExternalRepositoryConnection externalConnection)
Get information about the external managers currently registered in the
server.
|
IExternalState |
getExternalState(IExternalProxy proxy)
Get the replicated state associated with a proxy.
|
IManagerInfoDTO[] |
getItemManagerInfo()
Get information about the item managers currently registered in the
server.
|
ITypeInfoDTO[] |
getItemManagerTypeInfo(IManagerInfoDTO managerInfo,
IProcessArea processArea)
Get information about the item types supported by a particular item
manager.
|
java.sql.Timestamp |
getLastSearchTime(ISyncRule syncRule)
Get the time of the most recent scan for outgoing changes that was done
for the given synchronization rule, if any.
|
IExternalState |
getLastSyncedInExternalState(IExternalProxy proxy)
Get the last replicated state associated with a proxy that was
synchronized into a Jazz item.
|
IExternalState |
getLastSyncedOutExternalState(IExternalProxy proxy)
Get the last replicated state associated with a proxy that a Jazz item
was synchronized into.
|
IItemHandle |
getTargetItem(IExternalProxyHandle proxy)
Get any Jazz item that is being synchronized with an external object,
given the proxy for the external object.
|
IExternalState |
getTargetItemState(IExternalProxyHandle proxyHandle)
Get the properties of a Jazz item that is being synchronized with an
external object, given the proxy for the external object.
|
java.lang.String |
getUri(IExternalProxyHandle proxy)
Get the URI for an external object that is represented by a proxy,
as a string.
|
ITransformerInfoDTO[] |
getValueTransformerInfo()
Get information about the value transformers currently registered in the
server.
|
boolean |
isSynchronizationEnabled(ISyncRule syncRule)
Determine whether synchronization is enabled for a particular
synchronization rule.
|
void |
resetLastSearchTime(ISyncRule syncRule,
boolean asAllModified)
Clear the time of the most recent scan for outgoing changes that was done
for the given synchronization rule.
|
IItemsResponse |
saveExternalRepositoryConnection(IExternalRepositoryConnection externalConnection)
Save a new or updated external repository connection.
|
IExternalState |
saveExternalState(IExternalState xstate)
Save new state for an external object to the database.
|
IExternalProxy |
saveProxy(IExternalProxy proxy)
Save an updated proxy for an external object to the database.
|
IExternalProxy |
saveProxyWithTargetItem(IExternalProxy proxy,
IItemHandle targetItemHandle)
Save a new or updated proxy for an external object that is to be linked
to a Jazz item.
|
IExternalProxy |
saveProxyWithUri(IExternalProxy proxy,
java.lang.String uri)
Save a new or updated proxy for an external object to the database.
|
IItemsResponse |
saveSyncRule(ISyncRule syncRule)
Save a new or updated synchronization rule to the repository.
|
void |
setOutgoingSyncJobState(boolean enabled)
Enable or disable the outgoing sync job.
|
void |
setSynchronizationEnabled(ISyncRule syncRule,
boolean enabled)
Set whether synchronization is enabled for a synchronization rule.
|
void |
setSynchronizeAllNewContributors(boolean enabled)
Enable or disable the whether or not all contributors are synced out, or just ones associated
with other synced objects.
|
void |
synchronizeDeletion(IExternalProxyHandle proxyHandle)
Schedule synchronization of the deletion of a proxy for an external
object.
|
void |
synchronizeDeletionAndWait(IExternalProxyHandle proxyHandle)
Schedule synchronization of the deletion of a proxy for an external
object, and wait for the request to be processed.
|
void |
synchronizeIncoming(IExternalProxyHandle proxyHandle,
IExternalStateHandle xstateHandle,
IAuditableHandle syncedItemStateHandle,
ISyncRuleHandle syncRuleHandle)
Schedule synchronization of a Jazz item with the state of an external
object.
|
IExternalProxy |
synchronizeIncomingAndWait(IExternalProxyHandle proxyHandle,
IExternalStateHandle xstateHandle,
IAuditableHandle syncedItemStateHandle,
ISyncRuleHandle syncRuleHandle)
Schedule synchronization of a Jazz item with the state of an external
object, and wait for the request to complete.
|
void |
synchronizeOutgoing(IItemHandle itemHandle,
IExternalStateHandle syncedXstateHandle,
ISyncRuleHandle syncRuleHandle)
Schedule synchronization of an external object associated with a Jazz
item, if there is one.
|
void |
synchronizeOutgoingAllItems(ISyncRuleHandle syncRuleHandle)
Do outgoing synchronization for any Jazz items covered by a given
synchronization rule.
|
IExternalProxy |
synchronizeOutgoingAndWait(IItemHandle itemHandle,
IExternalStateHandle syncedXstateHandle,
ISyncRuleHandle syncRuleHandle)
Schedule synchronization of an external object associated with a Jazz
item, if there is one, and wait for the request to complete.
|
static final java.lang.String CHANGE_EVENT_CATEGORY_PREFIX
static final java.lang.String INFO_CHANGE_EVENT_CATEGORY
static final java.lang.String CONFLICT_CHANGE_EVENT_CATEGORY
static final java.lang.String ERROR_CHANGE_EVENT_CATEGORY
static final java.lang.String[] CHANGE_EVENT_CATEGORIES
IExternalProxy saveProxy(IExternalProxy proxy) throws TeamRepositoryException
Transactional characteristics: This method modifies the repository. The method can be nested inside a write transaction.
proxy
- the proxy for the external object; must be a working copy;
never null
NotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryItemNotFoundException
- if the proxy was not found in the databaseTeamRepositoryException
- if there is an error updating the state in the repositoryIExternalProxy saveProxyWithTargetItem(IExternalProxy proxy, IItemHandle targetItemHandle) throws TeamRepositoryException
A proxy must always be associated with an external object (identified
by a URI) and/or a Jazz item. If the targetItemHandle
argument is non-null, then either the proxy must not already exist, or
it must already be associated with the same item. Once created, such an
association cannot be changed.
Transactional characteristics: This method modifies the repository. The method can be nested inside a write transaction.
proxy
- the proxy for the external object; either a new item or
a working copy; never null
targetItemHandle
- the handle of the associated Jazz item, or null
if
existing proxy is already linked to an itemNotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryTeamRepositoryException
- if there is an error updating the state in the repositoryIExternalProxy saveProxyWithUri(IExternalProxy proxy, java.lang.String uri) throws TeamRepositoryException
A proxy must always be associated with some external object (identified
by a URI) and/or a Jazz item. If the uri
argument is
non-null, then either the proxy must not already exist, or it must
already be associated with the same external object. Once created, such
an association cannot be changed.
Transactional characteristics: This method modifies the repository. The method can be nested inside a write transaction.
proxy
- the proxy for the external object; either a new item or
a working copy; never null
uri
- the URI for the external object as a string, or null
if
existing proxy is already linked to an external object. If not
null
, the string must be valid for the
URI.URI(String)
constructor (that is, illegal
characters must be escaped)NotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryTeamRepositoryException
- if there is an error updating the state in the repositoryIExternalProxy fetchProxy(IExternalProxyHandle proxyHandle, java.lang.String[] properties) throws TeamRepositoryException
Transactional characteristics: This method reads the repository. The method can be nested inside a transaction.
proxyHandle
- handle identifying the proxy to fetch.properties
- the list of names of item properties; the strings must be
valid property names for the IExternalProxy item type;
duplicate property names are tolerated;
com.ibm.team.repository.service.IRepositoryItemService#COMPLETE
(null
) means the complete item should be retrievedItemNotFoundException
- if the item was not foundTeamRepositoryException
- if anything else goes wrongIExternalProxy findProxybyUri(java.lang.String uri) throws TeamRepositoryException
Transactional characteristics: This method reads the repository. The method can be nested inside a transaction.
uri
- the URI for the external object as a string. The string must be
valid for the URI.URI(String)
constructor (that is,
illegal characters must be escaped)null
if
noneNotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryTeamRepositoryException
- if anything else goes wrongIExternalProxy findProxybyTargetItem(IItemHandle targetItem) throws TeamRepositoryException
Transactional characteristics: This method reads the repository. The method can be nested inside a transaction.
targetItem
- the target item of the proxy; never null
null
if noneNotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryTeamRepositoryException
- if anything else goes wrongIExternalProxyHandle[] findProxiesByTargetItemType(IItemType targetItemType) throws TeamRepositoryException
NOTE: this method can return a very large number of items. Use it cautiously.
Transactional characteristics: This method reads the repository. The method can be nested inside a transaction.
targetItemType
- the type of the items that proxies may be linked tonull
NotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryTeamRepositoryException
- if anything else goes wrongIExternalProxy findProxybyExternalState(IExternalStateHandle xstateHandle) throws TeamRepositoryException
Transactional characteristics: This method reads the repository. The method can be nested inside a transaction.
xstateHandle
- the handle for the replicated state; never null
null
if noneNotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryTeamRepositoryException
- if anything else goes wrongIExternalState findExternalStatebyUri(java.lang.String uri) throws TeamRepositoryException
Transactional characteristics: This method reads the repository. The method can be nested inside a transaction.
uri
- the URI for the external object as a string. The string must be
valid for the URI.URI(String)
constructor (that is,
illegal characters must be escaped)null
if noneNotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryTeamRepositoryException
- if anything else goes wrongjava.lang.String getUri(IExternalProxyHandle proxy) throws TeamRepositoryException
Transactional characteristics: This method reads the repository. The method can be nested inside a transaction.
proxy
- the proxy handle for the external object; never
null
null
; all non-USASCII characters are
escapedNotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryItemNotFoundException
- if there is no external object linkTeamRepositoryException
- if anything else goes wrongIItemHandle getTargetItem(IExternalProxyHandle proxy) throws TeamRepositoryException
Transactional characteristics: This method reads the repository. The method can be nested inside a transaction.
proxy
- the proxy handle for the external object; never
null
null
if noneNotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryTeamRepositoryException
- if anything else goes wrongIExternalState getTargetItemState(IExternalProxyHandle proxyHandle) throws TeamRepositoryException
THIS METHOD IS TENTATIVE AND SHOULD NOT BE USED OUTSIDE THE INTEROP COMPONENT
Transactional characteristics: This method reads the repository. The method can be nested inside a transaction.
proxyHandle
- the handle for the external proxynull
if there is
no target item being synchronizedNotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryTeamRepositoryException
- if there is an error getting the state from the repositoryIExternalState getLastSyncedInExternalState(IExternalProxy proxy) throws TeamRepositoryException
The state is represented by an IExternalState object; use the
IExternalState.getState()
to get the state properties (as a map).
If the proxy has no associated replicated state, or it was never
synchronized in the incoming direction with a Jazz item, then
null
is returned.
Transactional characteristics: This method reads the repository. The method can be nested inside a transaction.
proxy
- the proxy for the external object; never null
null
if there is no
replicated state, or it was never synchronized, or if this proxy
state was fetched partially and does not include the
IExternalProxy.LAST_SYNCED_IN_EXTERNAL_STATE_ID_PROPERTY
NotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryTeamRepositoryException
- if there is an error getting the state from the repositoryIExternalState getLastSyncedOutExternalState(IExternalProxy proxy) throws TeamRepositoryException
The state is represented by an IExternalState object; use the
IExternalState.getState()
to get the state properties (as a map).
If the proxy has no associated replicated state, or it was never
synchronized in the outgoing direction with a Jazz item, then
null
is returned.
Transactional characteristics: This method reads the repository. The method can be nested inside a transaction.
proxy
- the proxy for the external object; never null
null
if there is no
replicated state, or it was never synchronized, or if this proxy
state was fetched partially and does not include the
IExternalProxy.LAST_SYNCED_OUT_EXTERNAL_STATE_ID_PROPERTY
NotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryTeamRepositoryException
- if there is an error getting the state from the repositoryIExternalState getExternalState(IExternalProxy proxy) throws TeamRepositoryException
Note that, if this proxy is being synchronized with a Jazz item, the returned state may not yet have been synchronized - it represents the latest state received from the external object.
Transactional characteristics: This method reads the repository. The method can be nested inside a transaction.
proxy
- the proxy for the external object; never null
null
if there is no replicated
state, or if this proxy state was fetched partially and does not
include the replicated state propertyNotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryTeamRepositoryException
- if there is an error getting the state from the repositoryIExternalState saveExternalState(IExternalState xstate) throws TeamRepositoryException
Transactional characteristics: This method modifies the repository. The method can be nested inside a write transaction.
xstate
- the external state container; must be a working copy;
never null
NotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryItemNotFoundException
- if the state object was not found in the databaseTeamRepositoryException
- if there is an error updating the state in the repositoryIExternalState fetchExternalState(IExternalStateHandle externalStateHandle) throws TeamRepositoryException
Transactional characteristics: This method reads the repository. The method can be nested inside a transaction.
externalStateHandle
- handle identifying the ExternalState item
to fetchItemNotFoundException
- if the item was not foundTeamRepositoryException
- if anything else goes wrongvoid addBlockingProxy(IExternalProxyHandle blockedProxyHandle, IExternalProxyHandle blockingProxyHandle, boolean incoming) throws TeamRepositoryException
Transactional characteristics: This method modifies the repository. The method can be nested inside a write transaction.
blockedProxyHandle
- handle for the proxy being blockedblockingProxyHandle
- handle for the uninitialized proxy that is causing the blockingincoming
- if true
, incoming synchronization is blocked; if
false
, outgoing synchronization is blockedNotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryItemNotFoundException
- if handles refer to non-existent itemsTeamRepositoryException
- if anything else goes wrongvoid addDependsOnProxy(IExternalProxyHandle dependentProxyHandle, IExternalProxyHandle dependsOnProxyHandle) throws TeamRepositoryException
Transactional characteristics: This method modifies the repository. The method can be nested inside a write transaction.
dependentProxyHandle
- handle for the proxy that depends on the other proxydependsOnProxyHandle
- handle for the proxy whose changes need to be reflected in the other proxyNotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryItemNotFoundException
- if handles refer to non-existent itemsTeamRepositoryException
- if anything else goes wrongIExternalProxyHandle[] getBlockingProxies(IExternalProxyHandle proxyHandle, boolean incoming) throws TeamRepositoryException
Transactional characteristics: This method reads the repository. The method can be nested inside a transaction.
proxyHandle
- handle for the proxy that may be blockedincoming
- if true
, return proxies blocking incoming synchronization;
if false
, return proxies blocking outgoing synchronizationnull
NotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryItemNotFoundException
- if handle refers to non-existent itemTeamRepositoryException
- if anything else goes wrongIExternalProxyHandle[] getDependsOnProxies(IExternalProxyHandle proxyHandle) throws TeamRepositoryException
Transactional characteristics: This method reads the repository. The method can be nested inside a transaction.
proxyHandle
- handle for the proxy that depends on the other proxynull
NotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryItemNotFoundException
- if handle refers to non-existent itemTeamRepositoryException
- if anything else goes wrongIItemsResponse saveExternalRepositoryConnection(IExternalRepositoryConnection externalConnection) throws TeamRepositoryException
Transactional characteristics: This method modifies the repository. The method can be nested inside a write transaction.
externalConnection
- the item to save; must not be null
null
NotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryTeamRepositoryException
- if anything else goes wrongvoid deleteExternalRepositoryConnection(IExternalRepositoryConnectionHandle externalConnectionHandle) throws TeamRepositoryException
Transactional characteristics: This method modifies the repository. The method can be nested inside a write transaction.
externalConnectionHandle
- handle for the item to delete; must not be null
NotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryItemNotFoundException
- if the handle refers to a non-existent itemTeamRepositoryException
- if anything else goes wrongIExternalRepositoryConnection findExternalRepositoryConnection(java.lang.String name) throws TeamRepositoryException
Transactional characteristics: This method reads the repository. The method can be nested inside a transaction.
name
- the name of the external connection; must not be null
null
if notNotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryTeamRepositoryException
- if anything else goes wrongIExternalRepositoryConnection[] getAllExternalRepositoryConnections() throws TeamRepositoryException
Transactional characteristics: This method reads the repository. The method can be nested inside a transaction.
IExternalRepositoryConnection
objects with
full state; never null
; may be emptyNotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryTeamRepositoryException
- if anything else goes wrongIItemsResponse saveSyncRule(ISyncRule syncRule) throws TeamRepositoryException
Transactional characteristics: This method modifies the repository. The method can be nested inside a write transaction.
syncRule
- the sync rule to save; must be either a new item or working copy;
never null
null
NotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryTeamRepositoryException
- if anything else goes wrongvoid deleteSyncRule(ISyncRuleHandle syncRule) throws TeamRepositoryException
Transactional characteristics: This method modifies the repository. The method can be nested inside a write transaction.
syncRule
- the handle of a sync rule to deleteNotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryItemNotFoundException
- if the handle refers to a non-existent itemTeamRepositoryException
- if anything else goes wrongISyncRule findSyncRule(java.lang.String name) throws TeamRepositoryException
Transactional characteristics: This method reads the repository. The method can be nested inside a transaction.
name
- the name of the sync rulenull
if notNotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryTeamRepositoryException
- if anything else goes wrongISyncRuleHandle[] findSyncRulesByExternalTypeName(java.lang.String typeName) throws TeamRepositoryException
Transactional characteristics: This method reads the repository. The method can be nested inside a transaction.
typeName
- a pattern for the external type name to search for;
'%' will match any substring and '_' will match any characternull
NotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryTeamRepositoryException
- if anything else goes wrongISyncRuleHandle[] findSyncRulesByExternalRepository(IExternalRepositoryConnectionHandle externalConnectionHandle) throws TeamRepositoryException
Transactional characteristics: This method reads the repository. The method can be nested inside a transaction.
externalConnectionHandle
- handle for the external repository connection; if null, then
synchronization rules which do not reference any repository
connection are returnednull
NotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryTeamRepositoryException
- if anything else goes wrongISyncRuleHandle[] findSyncRulesByProjectArea(IProjectAreaHandle projectAreaHandle) throws TeamRepositoryException
Transactional characteristics: This method reads the repository. The method can be nested inside a transaction.
projectAreaHandle
- handle for the project area to query for, or null
to
find synchronization rules unassociated with any project areanull
;
may be emptyNotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryTeamRepositoryException
- if anything else goes wrongISyncRuleHandle[] findSyncRulesByExternalTypeNameAndProjectArea(java.lang.String typeName, IProjectAreaHandle projectAreaHandle) throws TeamRepositoryException
Transactional characteristics: This method reads the repository. The method can be nested inside a transaction.
typeName
- a pattern for the external type name to search for;
'%' will match any substring and '_' will match any characterprojectAreaHandle
- handle for the project area to query for, or null
to
find synchronization rules unassociated with any project areanull
;
may be emptyNotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryTeamRepositoryException
- if anything else goes wrongISyncRuleHandle[] getAllSyncRules() throws TeamRepositoryException
Transactional characteristics: This method reads the repository. The method can be nested inside a transaction.
null
;
may be emptyNotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryTeamRepositoryException
- if anything else goes wrongboolean isSynchronizationEnabled(ISyncRule syncRule) throws TeamRepositoryException
Transactional characteristics: This method reads the repository. The method can be nested inside a transaction.
syncRule
- the synchronization rule to checktrue
if synchronization is enabled, false
if notNotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryItemNotFoundException
- if synchronization rule does not exist in repositoryTeamRepositoryException
- if anything else goes wrongvoid setSynchronizationEnabled(ISyncRule syncRule, boolean enabled) throws TeamRepositoryException
Transactional characteristics: This method modifies the repository. The method can be nested inside a write transaction.
syncRule
- the synchronization rule to enable or disableenabled
- true
to enable synchronization, false
to disable itNotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryItemNotFoundException
- if synchronization rule does not exist in repositoryTeamRepositoryException
- if anything else goes wrongjava.sql.Timestamp getLastSearchTime(ISyncRule syncRule) throws TeamRepositoryException
Transactional characteristics: This method reads the repository. The method can be nested inside a transaction.
syncRule
- the synchronization rule to get the last search time fornull
if one has never been doneNotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryItemNotFoundException
- if synchronization rule does not exist in repositoryTeamRepositoryException
- if anything else goes wrongvoid resetLastSearchTime(ISyncRule syncRule, boolean asAllModified) throws TeamRepositoryException
The time can be cleared in two ways: as if outgoing synchronization has never been run, in which case the next scan will consider all items covered by the synchronization rule that have been modified since the synchronization rule was last modified, or as if the last scan occurred before the existence of any item, so that all existing items covered by the synchronization rule are considered.
Transactional characteristics: This method modifies the repository. The method can be nested inside a write transaction.
syncRule
- the synchronization rule to reset the last search time forasAllModified
- if false
, next scan will consider only items modified
after the sync rule; if true
, next scan will consider
all existing items covered by the sync ruleNotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryItemNotFoundException
- if synchronization rule does not exist in repositoryTeamRepositoryException
- if anything else goes wrongIManagerInfoDTO[] getItemManagerInfo() throws TeamRepositoryException
null
; may be
emptyNotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryTeamRepositoryException
- if anything else goes wrongITypeInfoDTO[] getItemManagerTypeInfo(IManagerInfoDTO managerInfo, IProcessArea processArea) throws TeamRepositoryException
managerInfo
- the descriptor for the manager being queriedprocessArea
- the process area that synchronization rules are being edited fornull
; may be
emptyNotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryTeamRepositoryException
- if anything else goes wrongIManagerInfoDTO[] getExternalManagerInfo() throws TeamRepositoryException
null
; may be
emptyNotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryTeamRepositoryException
- if anything else goes wrongITypeInfoDTO[] getExternalManagerTypeInfo(IManagerInfoDTO managerInfo, IExternalRepositoryConnection externalConnection) throws TeamRepositoryException
managerInfo
- the descriptor for the manager being queriedexternalConnection
- any external connection info associated with the synchronization
rule being edited; may be null
ifnull
; may be
emptyNotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryTeamRepositoryException
- if anything else goes wrongITransformerInfoDTO[] getValueTransformerInfo() throws TeamRepositoryException
null
;
may be emptyNotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryTeamRepositoryException
- if anything else goes wrongvoid synchronizeIncoming(IExternalProxyHandle proxyHandle, IExternalStateHandle xstateHandle, IAuditableHandle syncedItemStateHandle, ISyncRuleHandle syncRuleHandle) throws TeamRepositoryException
If the xstateHandle
argument is not null
, then
it must be a state handle (not just an item handle), and synchronization
will be done with respect to the particular state supplied. Otherwise,
synchronization will be done with respect to the latest external state
associated with the proxy at the time the request is processed.
The synchronization request is put at the end of a queue of any other pending requests for the same proxy object, and this method returns immediately.
Note that if no incoming synchronization is configured (either because there is no sync rule, or it does not specify incoming synchronization), then this method does nothing.
proxyHandle
- the handle of the proxy for the external object; never
null
xstateHandle
- the handle for the external state to synchronize with, or
null
to use the latest state associated with the proxysyncedItemStateHandle
- handle of the Jazz item state that is known to have been
synchronized with the external object (i.e. after a manual merge),
or null
if the external object was independently
modifiedsyncRuleHandle
- the handle for the synchronization rule for the
combination of external object type and Jazz item type, or
null
to use the synchronization rule already associated
with the proxyNotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryTeamRepositoryException
- if anything else goes wrongIExternalProxy synchronizeIncomingAndWait(IExternalProxyHandle proxyHandle, IExternalStateHandle xstateHandle, IAuditableHandle syncedItemStateHandle, ISyncRuleHandle syncRuleHandle) throws TeamRepositoryException
If the request completes normally, the full state of the proxy object
resulting from processing the request is returned. If the request did
not complete normally (meaning that it was aborted or cancelled, not that
there was a synchronization error), then null
is returned.
See #synchronizeIncoming(IExternalProxyHandle, IExternalStateHandle, ISyncRuleHandle)
for details on how the request is processed.
proxyHandle
- the handle of the proxy for the external object; never
null
xstateHandle
- the handle for the new external state, or null
to use the latest state associated with the proxysyncedItemStateHandle
- handle of the Jazz item state that is known to have been
synchronized with the external object (i.e. after a manual merge),
or null
if the external object was independently
modifiedsyncRuleHandle
- the handle for the synchronization rule for the
combination of external object type and Jazz item type, or
null
to use the synchronization rule already associated
with the proxynull
if the request was terminated earlyNotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryTeamRepositoryException
- if anything else goes wrongvoid synchronizeOutgoing(IItemHandle itemHandle, IExternalStateHandle syncedXstateHandle, ISyncRuleHandle syncRuleHandle) throws TeamRepositoryException
The synchronization request is put at the end of a queue of any other pending requests for the same proxy object, and this method returns immediately.
Transactional characteristics: This method reads the repository. The method can be nested inside a transaction.
itemHandle
- handle to a Jazz item that may be associated with an external object;
if the item has history and the handle does not identify a state,
then the latest state of the item is usedsyncedXstateHandle
- handle of the external state that the Jazz item is
known to have been synchronized with (i.e. after a manual merge), or
null
if the item was independently modifiedsyncRuleHandle
- handle for the synchronization rule for the
combination of external object type and Jazz item type, or
null
to use the synchronization rule already associated
with the proxyNotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryTeamRepositoryException
- if anything else goes wrongIExternalProxy synchronizeOutgoingAndWait(IItemHandle itemHandle, IExternalStateHandle syncedXstateHandle, ISyncRuleHandle syncRuleHandle) throws TeamRepositoryException
If the request completes normally, the full state of the proxy object
resulting from processing the request is returned. If the request did
not complete normally (meaning that it was aborted or cancelled, not that
there was a synchronization error), then null
is returned.
See #synchronizeOutgoing(IItemHandle, ISyncRuleHandle)
for
details on how the request is processed.
Transactional characteristics: This method reads the repository. The method can be nested inside a transaction.
itemHandle
- handle to a Jazz item that may be associated with an external object;
if the item has history and the handle does not identify a state,
then the latest state of the item is usedsyncedXstateHandle
- handle of the external state that the Jazz item is
known to have been synchronized with (i.e. after a manual merge), or
null
if the item was independently modifiedsyncRuleHandle
- handle for the synchronization rule for the
combination of external object type and Jazz item type, or
null
to use the synchronization rule already associated
with the proxynull
if the request was terminated earlyNotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryTeamRepositoryException
- if anything else goes wrongvoid synchronizeOutgoingAllItems(ISyncRuleHandle syncRuleHandle) throws TeamRepositoryException
resetLastSearchTime(ISyncRule, boolean)
for the details.
The sync rule is updated to record the last search time.
The sync rule must define the type of Jazz item it covers, or no search will be done.
This method returns immediately; the synchronization is done by a background task.
Transactional characteristics: This method modifies the repository. The method can be nested inside a write transaction, but it can run for a long time, so that is not advisable.
syncRuleHandle
- handle for the sync rule defining the type of Jazz items to
consider for synchronizationNotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryItemNotFoundException
- if there is no sync rule for the
sync rule handleTeamRepositoryException
- if anything else goes wrongvoid synchronizeDeletion(IExternalProxyHandle proxyHandle) throws TeamRepositoryException
The synchronization request is put at the end of a queue of any other pending requests for the same proxy object, and this method returns immediately.
proxyHandle
- the handle of the proxy for the external object; never
null
NotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryTeamRepositoryException
- if anything else goes wrongvoid synchronizeDeletionAndWait(IExternalProxyHandle proxyHandle) throws TeamRepositoryException
See synchronizeDeletion(IExternalProxyHandle)
for details on how the request is processed.
proxyHandle
- the handle of the proxy for the external object; never
null
NotLoggedInException
- if the operation fails because the client was not logged in
to the repositoryTeamRepositoryException
- if anything else goes wrongvoid setOutgoingSyncJobState(boolean enabled)
enabled
- true
to enable the job, false
to disablevoid setSynchronizeAllNewContributors(boolean enabled)
enabled
- true
to enable the job, false
to disable


Owning Palette: Action-Status VIs
Requires: Logger
Creates a logging statement from a message string with the INFO level. The statement is created even if an error is passed to the Error In terminal. The logging level must be set to four (4) or higher for this statement to be received by listeners. A logging statement is a comma-separated values (CSV) line containing an ISO 8601 timestamp, the level name ("INFO"), the name of the origin VI, and the message.
| Error In describes error conditions that occur before this node runs. With the following execption, this input provides standard error in functionality. This node runs normally even if an error occurred before this node runs. |
|
| Message is the text for the last column of the Comma-Separated Values (CSV) line in the logging statement. This is user defined. The rest of the CSV line is generated automatically. | |
| Error Out contains error information. This output provides standard error out functionality. |


Note: Internet Explorer 9 only supports .eot fonts.
Reference to font that is missing from the package.
Reference to an external font.


Release feedback to applicnats
Subject
Message
Dear [Full Name], The feedback for your application [app name] to the competition [comp name] is now available for you to view. The feedback provided by the independent assessors has been reviewed by Innovate UK. Please sign into your [Innovation Funding Services dashboard] to view. Yours sincerely,
Release feedback
Cancel


R/RunPlp.R
runPlp.Rd
This provides a general framework for training patient level prediction models. The user can select various default feature selection methods or incorporate their own, The user can also select from a range of default classifiers or incorporate their own. There are three types of evaluations for the model patient (randomly splits people into train/validation sets) or year (randomly splits data into train/validation sets based on index year - older in training, newer in validation) or both (same as year spliting but checks there are no overlaps in patients within training set and validaiton set - any overlaps are removed from validation set)
runPlp( plpData, outcomeId = plpData$metaData$call$outcomeIds[1], analysisId = paste(Sys.Date(), plpData$metaData$call$outcomeIds[1], sep = "-"), analysisName = "Study details", populationSettings = createStudyPopulationSettings(), splitSettings = createDefaultSplitSetting(type = "stratified", testFraction = 0.25, trainFraction = 0.75, splitSeed = 123, nfold = 3), sampleSettings = createSampleSettings(type = "none"), featureEngineeringSettings = createFeatureEngineeringSettings(type = "none"), preprocessSettings = createPreprocessSettings(minFraction = 0.001, normalize = T), modelSettings = setLassoLogisticRegression(), logSettings = createLogSettings(verbosity = "DEBUG", timeStamp = T, logName = "runPlp Log"), executeSettings = createDefaultExecuteSettings(), saveDirectory = getwd() )
| plpData | An object of type |
|---|---|
| outcomeId | (integer) The ID of the outcome. |
| analysisId | (integer) Identifier for the analysis. It is used to create, e.g., the result folder. Default is a timestamp. |
| analysisName | (character) Name for the analysis |
| populationSettings | An object of type |
| splitSettings | An object of type |
| sampleSettings | An object of type |
| featureEngineeringSettings | An object of |
| preprocessSettings | An object of |
| modelSettings | An object of class
|
| logSettings | An object of |
| executeSettings | An object of |
| saveDirectory | The path to the directory where the results will be saved (if NULL uses working directory) |
An object containing the following:
inputSettingsA list containing all the settings used to develop the model
model The developed model of class plpModel
executionSummary A list containing the hardward details, R package details and execution time
performanceEvaluation Various internal performance metrics in sparse format
prediction The plpData cohort table with the predicted risks added as a column (named value)
covariateSummary) A characterization of the features for patients with and without the outcome during the time at risk
analysisRef A list with details about the analysis
This function takes as input the plpData extracted from an OMOP CDM database and follows the specified settings to develop and internally validate a model for the specified outcomeId.


We wanted to use JDBC with Java Streams, but encountered several difficulties. Fortunately we found solutions with rather small bits of code.
The main obstacle was the JDBC API throwing SQLException
for
all API methods used in our code. SQLException
is a checked
exception, so must be declared in our method signatures, or
caught otherwise. However the Streams API only accepts methods which
declare to throw no checked exceptions, so something simple like
this will not compile:
stream(results). map(row -> row.getString("label")). // checked exception forEach(this::processLabel);
The call to ResultSet.getString(String)
throws a checked
exception. The usual approach is to wrap the call, and handle the
exception in the wrapping method:
method String streamGetLabel(final ResultSet results) { try { return results.getString("label"); } catch (final SQLException e) { throw new UncheckedIOException(e); } }
(Here UncheckedIOException
is an unchecked exception wrapper
we wrote for SQLException
, similar to UncheckedIOException
in the JDK for IOException
.)
Then the stream becomes:
stream(results). map(this::streamGetLabel). forEach(this::processLabel);
This is OK, however needing to write a wrapper method for each time we wanted to use JDBC in a stream became tedious.
First we wrote a SAM (more on SAM interfaces/classes)
interface as a lookalike for the JDK Function
interface: this
is what Stream.map(Function)
wants.The lookalike is
different in that it throws SQLException
:
@FunctionalInterface public interface SQLFunction<T, R> { R apply(final T t) throws SQLException; // Other default methods - no more abstract methods }
Then we used this in a closed Function
implementation to wrap
and delegate to the lookalike, and throw
UncheckedSQLException
if the lookalike throws SQLException
:
@RequiredArgsConstructor(staticName = "applyUnchecked") public final class UncheckedSQLFunction<T, R> implements Function<T, R> { private final SQLFunction<T, R> wrapped; @Override public R apply(final T t) { try { return wrapped.apply(t); } catch (final SQLException e) { throw new UncheckedSQLException(e); } } }
(Here we use the excellent Lombok library to generate our constructor, and give us a static convenience method, "applyUnchecked".)
Finally some static importing, and our example streams use becomes:
stream(results). map(applyUnchecked(row -> row.getString("label"))). forEach(this::processLabel);
Or with more help:
stream(results). map(getString("label")). forEach(this::processLabel);
We wrote similar lookalikes and wrappers for Predicate
and
Consumer
. It would be easy enough to write them for other
Java functional interfaces, such as BiFunction
.
The next difficulty we tackled was how to loop over ResultSet
,
and use them with Streams.
(A side note: ResultSet
is not a set but a
list: rows are ordered, and they can duplicate each other in
their column data. However, they were named after the SQL concept of sets,
not the Java one.)
Fundamentally, a ResultSet
is not an iterator,
but is close:
| Iterator | ResultSet | Returns | |
|---|---|---|---|
hasNext() |
next() |
boolean |
|
next() |
this |
ResultSet |
(Yes, the ResultSet itself is the equivalent) |
To provide a ResultSet
as an iterator:
final List<String> values = new ArrayList<>(); for (final ResultSet row : iterable(results)) { values.add(row.getString("value")); }
Moreso, to provide one as a stream:
final List<String> values = stream(results). map(getString("value")). collect(toList());
Any SQL failures are thrown as unchecked exceptions. The stream has the characteristics: immutable, nonnull, and ordered.
We found JDBC transactions to be tricky. Fundamentally they are tied to a connection; there is no proper nesting. (To simulate nesting, use separate connections. Even then, there is no guarantee of ordering from the database engine.) And they have a baroque API, relying on diddling of the "auto-commit" setting with care needed to restore its setting after the transaction concludes. Several bugs ensued before we switched to using small helper interfaces and methods.
Further, some programming languages do not distinguish void
from other return types (e.g., Unit
type): Java is not one of
them. Likewise for user vs primitive types (Boolean
vs boolean
).
Hence, there are separate transaction blocks for consumers, functions, and
predicates.
One example explains them all. Consider functions and the
SQLFunction
lookalike interface:
@RequiredArgsConstructor(staticName = "applyTransacted") public final class TransactedFunction<T, R> implements SQLFunction<T, R> { private final Connection connection; private final SQLFunction<T, R> wrapped; @Override public R apply(final T in) throws SQLException { connection.setAutoCommit(false); try { final R out = wrapped.apply(in); connection.commit(); return out; } catch (final SQLException e) { connection.rollback(); throw e; } finally { connection.setAutoCommit(true); } } }
(The pattern is the same for other collection operations.)
With a helper and static importing:
final Integer value = applyTransacted(connection, in -> 0).apply("string");
Or when the transaction fails:
applyTransacted(connection, in -> { throw new SQLException("Something went wrong"); }).apply("string");
Many places in these examples are improved with helper functions, or for
transactions, with currying
(similar to the
builder pattern). Hence, the wide use of Lombok static
constructors. Transactions are another example as they need a Connection
for begin/commit/rollback.
A simple helper curries connection for transactions:
@RequiredArgsConstructor(staticName = "with") public final class WithConnection { private final Connection connection; public <T> Predicate<T> testTransacted(final SQLPredicate<T> wrapped) { return UncheckedSQLPredicate.testUnchecked( TransactedPredicate.<T>testTransacted(connection, wrapped)); } public <T, R> Function<T, R> applyTransacted( final SQLFunction<T, R> wrapped) { return UncheckedSQLFunction.applyUnchecked( TransactedFunction.<T, R>applyTransacted(connection, wrapped)); } public <T> Consumer<T> acceptTransacted(final SQLConsumer<T> wrapped) { return UncheckedSQLConsumer.acceptUnchecked( TransactedConsumer.<T>acceptTransacted(connection, wrapped)); } }
Example use:
final Optional<Integer> value = Stream.of(0). filter(with(connection).testTransacted(in -> true)). findFirst();
(Yes, we might also describe the code as partial
application. The "object-oriented" implementation confuses
matters with the hidden this
reference.)
There is nothing we did that was difficult or complex: simple one-liner interfaces, simple wrapper implementations of Java funcional interfaces, some rote JDBC best practices. The main difficulty was conceptual: seeing the duplication of many, small wrapper methods, and pulling out their commonality. This is a good pattern to keep in mind throughout your code.
And the source: Java helpers for JDBC and Streams.


SHIP VIA {{shipping.shipmentMethod.method.label}} TO
{{#with shipping.address}}
{{fullName}}
{{address1}}
{{#if address2}}{{address2}},{{/if}}
{{city}}, {{region}} {{postal}} {{country}}
{{phone}}
{{/with}}
BILL TO
{{#with payment.address}}
{{fullName}}
{{address1}}
{{#if address2}}{{address2}},{{/if}}
{{city}}, {{region}} {{postal}} {{country}}
{{phone}}
{{/with}}
{{#each payment.paymentMethod}}
{{storedCard}}
Ref: {{transactionId}}
{{/each}}
ITEMS
{{#each items}}
{{quantity}} {{variants.title}} {{variants.price}}
{{/each}}
SUMMARY
{{#with invoice}}
Sub total {{subtotal}}
Shipping {{shipping}}
Tax {{taxes}}
Discount {{discounts}}
Total {{total}}
{{/with}}
Thank you for your order.


abstract class Fish
extends java.lang.Object
| Constructor | Description |
|---|---|
Fish(int foodThres,
double eatRadius,
double fullInterval,
double hungerTimeout,
double createdTime) |
A constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
(package private) abstract void |
dropCoin() |
Drop coin.
|
(package private) abstract void |
eat() |
Eat object.
|
(package private) double |
getEatRadius() |
Getter for eatRadius constant.
|
(package private) int |
getFoodEaten() |
Getter for foodEaten.
|
(package private) int |
getFoodThres() |
Getter for foodThres constant.
|
double |
getFullInterval() |
Getter for fullInterval.
|
double |
getHungerTimeout() |
Getter for hungerTimeout.
|
boolean |
getHungry() |
Getter for hungry.
|
(package private) double |
getLastEatTime() |
Getter for lastEatTime.
|
(package private) double |
getLastHungerTime() |
Getter for lastHungerTime.
|
(package private) double |
getLastRandomTime() |
Getter for lastRandomTime.
|
int |
getLevel() |
Getter for level.
|
double |
getXDir() |
Getter for dirX.
|
(package private) double |
getYDir() |
Getter for dirY.
|
(package private) void |
setFoodEaten(int foodEaten) |
Setter for foodEaten.
|
void |
setHungry(boolean hungry) |
Setter for hungry.
|
(package private) void |
setLastEatTime(double lastEatTime) |
Setter for lastEatTime.
|
(package private) void |
setLastHungerTime(double lastHungerTime) |
Setter for lastHungerTime.
|
(package private) void |
setLastRandomTime(double lastRandomTime) |
Setter for lastRandomTime.
|
(package private) void |
setLevel(int level) |
Setter for level.
|
(package private) void |
setXDir(double dirX) |
Setter for dirX.
|
(package private) void |
setYDir(double dirY) |
Setter for dirY.
|
Fish(int foodThres, double eatRadius, double fullInterval, double hungerTimeout, double createdTime)
foodThres
- Number of food to level up.eatRadius
- Eat radius of the fish.fullInterval
- Full to hungry interval.hungerTimeout
- Hungry to dead interval if there's no food.createdTime
- Time created Fishdouble getLastEatTime()
void setLastEatTime(double lastEatTime)
lastEatTime
- The value of the new eating timedouble getLastRandomTime()
void setLastRandomTime(double lastRandomTime)
lastRandomTime
- The value of the new random timedouble getLastHungerTime()
void setLastHungerTime(double lastHungerTime)
lastHungerTime
- The value of the new hunger timeint getFoodEaten()
void setFoodEaten(int foodEaten)
foodEaten
- The new number of food eaten.public int getLevel()
void setLevel(int level)
level
- The new Fish levelint getFoodThres()
double getEatRadius()
public double getFullInterval()
public double getHungerTimeout()
public double getXDir()
void setXDir(double dirX)
dirX
- The new x-axis direction of the Fishdouble getYDir()
void setYDir(double dirY)
dirY
- The new y-axis direction of the Fishpublic boolean getHungry()
public void setHungry(boolean hungry)
hungry
- The new hunger state of the Fishabstract void eat()
abstract void dropCoin()


UIScrollEvent
class UIScrollEvent
extends
UIComponentEvent
<
UIScrollContainer
>
Event that is emitted when the user scrolls up or down in a `UIScrollContainer.
Constructor
(name: string, source:
UIScrollContainer
, inner?:
ManagedEvent
, event?: any): UIScrollEvent
.horizontalVelocity
number
Horizontal scrolling velocity (screen widths per second).
.verticalVelocity
number
Horizontal scrolling velocity (screen heights per second).
.scrolledDown
boolean
True if (last) scrolled down.
.scrolledUp
boolean
True if (last) scrolled up.
.scrolledLeft
boolean
True if (last) scrolled left.
.scrolledRight
boolean
True if (last) scrolled right.
.atTop
boolean
True if the UIScrollContainer
is scrolled to the top.
.atBottom
boolean
True if the UIScrollContainer
is scrolled to the bottom.
.atLeft
boolean
True if the UIScrollContainer
is scrolled to the left.
.atRight
boolean
True if the UIScrollContainer
is scrolled to the right.
.event
any
Inherited from UIComponentEvent.event
.
.source
TComponent
Inherited from ComponentEvent.source
.
.inner
Inherited from ComponentEvent.inner
.
.name
string
Inherited from ManagedEvent.name
.
.freeze()
(): Readonly<this>
Inherited from ManagedEvent.freeze
.


Iran awards prestigious prize to 2 U.S.-educated scientists
by The Associated Press, StaffTEHRAN, Iran -- Iran on Monday awarded a top prize in the study of science and technology to two U.S.-educated scientists.
Vice-President Sourena Sattari granted the Mustafa award to five scientists, three Iranians and two Turks, during a ceremony.
Among the recipients was UCLA professor Ali Khademhosseini, for his work on the application of nanostructures in the treatment of disease. Umran Inan, a Turkish professor of electrical engineering at Stanford University, also received the prize.
Upon granting the awards, Sattari stressed that Iran's achievements came from investing in its young people and not only from its oil revenue.
It was the third award ceremony for the biennial prize since 2015. Iran launched the prize as part of its goal to become a regional scientific powerhouse.
This year's prize comes against the backdrop of U.S. sanctions on Tehran and Iran's unraveling nuclear deal with world powers.
Khademhosseini told The Associated Press he hopes the sanctions will be removed to pave the ground for scientific co-operation.
"Clearly sanctions made things more difficult," said Khademhossenin." That's something that hopefully over time we can overcome."
The science and technology $500,000 prize is awarded to Muslim researchers and scientists, regardless of whether they live in Muslim-majority nations or elsewhere, as well as non-Muslim scientists in Muslim countries.
In 2017, the Turkish-French national, Sami Erol Gelenbe, and Iran's Mohammad Amin Shokrollahi, were honoured for their achievements in systems assessment in model-making and computer coding.
Iran first handed out the prize in 2015 to a Taiwanese-Singaporean nanotechnology researcher Jackie Y. Ying and Jordanian-American chemistry professor Omar Yaghi.


adapted “analytics” import routine to new Autarcon spreadsheet style (for details, check the documentation):
All sheets, which are not excluded explicitly will be imported
Lab data import starts in row 70 (i.e. 69 rows are now skipped, formerly: 10 rows)
add ERROR messages for all sheets with lab data that should be imported to identify sheets with data values not statisfying the requirements for the following two variables:
DateTime: non-date-time compliant format of first column raises an error
ParameterValue: non-numeric parameter values are not allowed!


By ,
2014-07-05T03:10:51.159Z
Yield: About 32 bars
Ingredients:
1 c. butter, softened
1 c. packed brown sugar
1 tsp. vanilla
1 large egg yolk
2 c. flour
1/4 tsp. salt
2/3+ c. semisweet chocolate chips (I added more till the top of the bars were covered)
1/2 c. chopped nuts
Instructions:
Heat oven to 350 degrees. In large bowl stir butter, brown sugar, vanilla and egg yolk until well mixed. Stir in flour and salt. Press dough in 13x9" pan or cookie sheet. Bake 25-30 minutes or until very light brown (crust will be soft). Immediately sprinkle with chocolate. Let stand about 5 minutes or until soft, then spread evenly. Sprinkle with nuts. Cool 30 minutes in pan on wire rack.


Free Templates
Free frontend templates built with Bootstrapto get started with your next web project
Need Some More Info?
Support Channels
Get access to our Metronic and Keen themes private Github repositories.
Check our extensive Metronic and Keen themes documentation pages.
Contact our support team via<EMAIL_ADDRESS>for any pre-sale and the theme support questions.
FAQ Highlights
In short, administrator themes are production ready frontend UI/UX templates that you can use and integrate into your project. In some cases, projects that utilize admin themes may not need to a UI/UX designer or a frontend developer to complete their project.
Admin themes usually come in HTML with CSS and JS all readily packed within it’s application, therefore the project development will only require to have the backend logic sorted and integrate that backend with the admin theme to have a complete working application.
Whilst there are free admin themes available, premium admin themes are where things get more interesting.
The purchased package includes a full source code of SASS, Javascript, HTML, media, compiled assets, build config and documentation files.
All demos, apps, pages, components and plugins shown in the preview will be included as well.


20:00 HKT CityU Podium
Potato TeamPremium Package included
09:00 HKT CityU Library
International Cope Against CheatingBring your own notes
09:00 HKT LT-30
Potato FintechFree EventGoing to sold out soon!!
| Abby joined Potato Team as a Member |
| Gary is going to join `Watch Film Together` organized by Film Society |
| Kensington is interested to join `Consultation Day` organized by Business Student Society |
| Ashford is going to join `Team Administration Features Introduction` organized by Potato Fintech |
| Charlie linked his Facebook account to Potato |
Potato Team Potato Fintech
3 Event invitation 6 Opening events
MemberFilm Society The Whale University of Hong Kong
1 Event invitation 22 Opening events
Team AdminEvent OrganiserInternational Cope Against Cheating The Whale University of Hong Kong
3 Opening events
Team Admin(Finance)Gaming@Student Network Gaming Group
4 Opening events
Member


Unlimited business basic search
300 monthly individual searches
10 results per individual search
Includes pipelines and contacts feature.
Unlimited business basic search
100 business searches with contacts per month
300 monthly individual searches
20 results per individual search
Includes pipelines and contacts feature.
Select one of five features to include.
Unlimited business basic search
200 business searches with contacts per month
300 monthly individual searches
30 results per individual search
Includes pipelines and contacts feature.
Select two of five features to include.
Unlimited business basic search
200 business searches with contacts per month
300 monthly individual searches
30 results per individual search
Includes pipelines and contacts feature.
Add any Tapdesk feature for $6.99/month/feature
Unlimited business basic search
200 business searches with contacts per month
300 monthly individual searches
30 results per individual search
Includes Tapdesk AI automation feature
Includes Flows feature (required for automation)
Includes pipelines and contacts feature.
Unlimited business basic search
200 business searches with contacts per month
300 monthly individual searches
30 results per individual search
Includes Tapdesk AI automation feature
Includes Flows feature (required for automation)
Includes pipelines and contacts feature.
Add any Tapdesk feature for $5.99/month/feature
Unlimited business basic search
200 business searches with contacts per month
300 monthly individual searches
30 results per individual search
Includes pipelines and contacts feature.
Add any Tapdesk feature for $6.99/month/feature
Unlimited business basic search
200 business searches with contacts per month
300 monthly individual searches
30 results per individual search
Includes Tapdesk AI automation feature
Includes Flows feature (required for automation)
Includes pipelines and contacts feature.
Unlimited business basic search
200 business searches with contacts per month
300 monthly individual searches
30 results per individual search
Includes Tapdesk AI automation feature
Includes Flows feature (required for automation)
Includes pipelines and contacts feature.
Add any Tapdesk feature for $5.99/month/feature
Unlimited business basic search
200 business searches with contacts per month
300 monthly individual searches
30 results per individual search
Includes pipelines and contacts feature.
Select two of five features to include.
Unlimited business basic search
200 business searches with contacts per month
300 monthly individual searches
30 results per individual search
Includes pipelines and contacts feature.
Add any Tapdesk feature for $6.99/month/feature
Unlimited business basic search
200 business searches with contacts per month
300 monthly individual searches
30 results per individual search
Includes Tapdesk AI automation feature
Includes Flows feature (required for automation)
Includes pipelines and contacts feature.
Unlimited business basic search
200 business searches with contacts per month
300 monthly individual searches
30 results per individual search
Includes Tapdesk AI automation feature
Includes Flows feature (required for automation)
Includes pipelines and contacts feature.
Add any Tapdesk feature for $5.99/month/feature


[gecode-users] Copy the domain from variable to another in diff. spaces
Guido Tack
tack at ps.uni-sb.de
Mon Jun 16 17:49:15 CEST 2008
Mauricio Toro wrote:
> Hello all,
>
> I am doing an application with Gecode using several Spaces.
> I need to copy the domain from IntVars and SetVars from one Space to
> another.
> But, once I copy the domain, the old space is deleted, therefore I
> do not
> want some sort of "channel" constraint.
>
> For example:
>
> Space * space1;
> IntVar x(space1, 1,10);
> IntSet y;
> copythedomain(x,y);
What do you mean here, that the set y should reflect the current
domain of x?
> //do some computation
> delete space1;
> Space * space2;
> IntVar z(space2,1,100);
> copythedomain(z,y);
And now, what should the result be? Do you expect y to be overwritten
with the domain of z, or intersected? Or do you expect z to be
constrained to the value of y? (I guess the latter)
> //do some computation
> delete space2;
>
> I tried with these constraints:
> dom(space1,x,y); dom(space2,z,y);
> But they did not work.
An IntSet is never modified by a call to dom, after all, it's not a
constraint variable! It works exactly the other way around: the
variable domain is constrained to be a subset of the IntSet.
> What can I do?
The code is not tested, but this is approximately how it should work:
void copythedomain(Space* home, IntVar from, IntVar to) {
IntVarRanges fromR(from);
IntSet fromS(fromR);
dom(home, to, fromS);
}
Note that home has to be the space that "to" lives in, and you don't
need the space that "from" lives in.
Cheers,
Guido
More information about the gecode-users
mailing list


Inline help is used to display help text in a popover, often inline with headers, body text and form labels. It also uses the popover component and supports its whole functionality. All of properties and settings from popover component can be used can be used in inline help.
cdkScrollable
directive into container and import ScrollingModule
into module.


We are rising juniors at West Windsor - Plainsboro High School South and we aspire to develop business skills by running our own organization. At the same time, we want to teach subjects that we love to other students so that they may share a passion for the subject. Furthermore, we feel that our organization will better prepare students for high school because we are currently going through high school and have a better understanding of the curriculum, expectations, and standards that these ambitious students will eventually face.
To provide academic instruction and guidance to students that enables students to advance their learning free of charge.
I am a person. This is a placeholder let's make some bio or something but not too much because it doesn't matterI am a person. This is a placeholder let's make some bio or something but not too much because it doesn't matterI am a person. This is a placeholder let's make some bio or something but not too much because it doesn't matterI am a person. This is a placeholder let's make some bio or something but not too much because it doesn't matterI am a person. This is a placeholder let's make some bio or something but not too much because it doesn't matterI am a person. This is a placeholder let's make some bio or something but not too much because it doesn't matter
Anjanay is currently a sophomore at West Windsor-Plainsboro High School South who has a passion for science, particularly biology and chemistry. In his free time, Anjanay plays the saxophone and is part of a jazz band, bikes, enjoys spending time with his friends, and studies Psychology (which he hopes to teach someday). Additionally, he is an officer in the South JSA club where he helps others debate and develop their public speaking skills. He is also part of the South Waksman club where he studies protein-coding sequences and performs labs weekly. He is also highly motivated and dedicated to any task that he takes on.
Bharath is a sophomore at High School South with a strong passion for computer science. Bharath enjoys programming for personal projects such as Android apps, and also for volunteer projects such as the ATP website. Besides programming, he enjoys studying psychology and producing videos in his free time. Bharath is an Oracle certified Java programmer who has extensive knowledge in the AP Computer Science coursework, and is dedicated to spreading his knowledge of computer science as well as Algebra I.
Mark tesMark tesMark tesMark tesMark tesMark tesMark tesMark tesMark temake this longermake this longermake this longermake this longermake this longermake this longermake this longermake this longermake this longermake this longermake this longermake this longermake this longermake this longermake this longermake this longermake this longermake this longermake this longermake this longermake this longermake this longermake this lomake this longermake this longerphngers
Hello, I’m Pranay, I am a sophomore who currently attends High School South and has interests in math and physics. I tutor precalculus and physics. make this longermake this longermake this longermake this longermake this longermake this longermake this longer
Peter is a sophomore at West Windsor-Plainsboro High School South who is in the H&A (Honors and Accelerated) math program. He has a passion for math and history, but also enjoys programming. In his free time, he plays badminton and online games.


@* * This template is called from the `index` template. This template * handles the rendering of the page header and body tags. It takes * two arguments, a `String` for the title of the page and an `Html` * object to insert into the body of the page. *@ @(title: String)(favorites: List[Friendsfavs])(reviews: List[Friendsfavs])(user: String)
@* Here's where we render the page title `String`. *@


Send
it
Admin
User
Logout
Welcome, Admin
Processing Parcels
859
Delivered Parcels
3594
All Parcels
4453
All Users
50
Available Transit
5
Declined Parcels
10
All Packages
Parcel
Weight(kg)
Location
Destination
Status
Change Destination
Change Status
Phones
50kg
Yaba
Ikeja
Delivered
Change
Select Status
Processing
Delivered
Canceled
Plates
4kg
Sabo
Badagry
Declined
Change
Select Status
Processing
Delivered
Canceled
Ball
10kg
Yaba
Ikorodu
Processing
Change
Select Status
Processing
Delivered
Canceled
Phones
50kg
Yaba
Ikeja
Delivered
Change
Select Status
Processing
Delivered
Canceled
Plates
4kg
Sabo
Badagry
Declined
Change
Select Status
Processing
Delivered
Canceled


H.B. Woodrose Seeds
I recently tried a new route of administration for Hawiian Baby Woodrose seeds. Why? Eating works fine, except for the unfortunate side effect that my stomach is so tight I don't want to eat, drink, or move.
I tried the enema method recommended by a previous poster. It was dissappointing. I ground ten seeds and blended them for an hour in distilled water.  I left it there for about ten minutes. About half an hour later, I felt a little something like a trip, but it quickly went away.
So what is my new method? Chewing -- like tobacco. I chewed six seeds without spitting or swallowing for 15 minutes, then gagged and spit them out. I tripped about as hard as I would expect from eating four seeds, but with much diminished side effects. After the first hour I felt like drinking beer and dancing (the don't-move period lasts three hours if I swallow the seeds).
My next experiment is to treat them *exactly* like tobacco, using a spittoon. Maybe I can chew them that way for 30 minutes or more. They are fairly cheap, so doubling the quantity is not a problem.
=========================================================================
From: Pope Electric Yeti
Newsgroups: alt.drugs
Subject: Baby Hawaiian Woodrose
Date: Jan 1994
I had a really bad trip on these once, good at first, like being drunk with trippy visuals.Then everything started to spin and I got sick. I became really scared and convinced that I was going to die. I had to go to a friends house to chill out when it was all over. Never again...Spend your money on good blotter or 'shrooms, but you *really* might want to stay away from this one....
=========================================================================
From: Keith Lewis
Newsgroups: alt.drugs
Subject: Woodrose seeds from T.A.E.
Date: May 1994
Two different shipments of HBWR seeds from the same source, two years apart.
#1 (then): Seeds were light brown and had concave spots with a very hard shell. ~150 mg.
#2 (now): Seeds are dark brown and *hairy*. They are almost double the size (~275 mg). Convex, with an equally hard shell.
What's the deal? Were the old ones immature? What about potency? These new things scare me!
=========================================================================
From: William Eleazer
Newsgroups: alt.drugs,alt.hemp
Subject: Hawaiian Baby Woodrose
Date: May 1994
Well I sent off to T.A.E for some Baby Wood Rose Seeds and they convinced me to get the sample kit which consisted of maybe 200 hemp seeds (precooked), about 25 each of Wood Rose and Baby Wood Rose seeds. A friend and I rubbed the hairs off of 8 Baby Wood Rose seeds, ground them to a pulp in a mortar and pestle, split it in half, mixed it with a cup of coffee and drank the mix. We had to spoon out the grit ( the ground Baby Wood Rose Seeds) out because it all sunk to the bottom. When I did this it tasted exactly like what really good blotter tastes like, but the taste went away pretty quickly. There was no ensuing trip. Anyone have any comments?
=========================================================================
From: PGuest
Newsgroups: alt.drugs.psychedelics
Subject: Woodrose (What did they do wrong?)
Date: Sep 1994
A FOAF recently received their shipment of Baby Hawaian (sp?) Woodrose seeds. Reading that the normal dosage was 4 to 8 seeds, they took 6 seeds, singed off the white fuzz, ground them in a coffee bean grinder, placed the powder in empty capsules, and swallowed with water (on an empty stomach).
There was NO effect whatsoever. Did they do something wrong, or is the talk of woodrose overrated?
=========================================================================
From: Dominic Blais
Newsgroups: alt.drugs
Subject: HBWR seeds failed...
Date: Jan 1995
A FOAF bought two hundred Hawaiian Baby Woodrose seeds from OTJ... recently. He tried 20 with no effects... then waited a few days and tried 50 with again, no effects. He gave a friend 15 to see if it was just him, but the friend didn't experience anything either. He ended up gulping down the remaining 115 seeds a few days later. Guess what... no effects. [Erowid Note: Warning, This is not recommended. While some seeds may have no activity, or some individuals may not experience effects, 115 seeds could be a gigantic overdose.] The seeds looked like others he had bought (to grow) and he has never had any other experiences with HBWR or morning glory. Any ideas?
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


Blot is a blogging platform which turns a folder into a website. Use your favorite text-editor to write your blog. There’s no interface. Just files and folders.
Blot creates a folder in your Dropbox and publishes files you put inside automatically. Images, text files, Markdown, Word Documents™ become blog posts.
A site costs $30 per year. Hosting is included and there are no ads. All of Blot's templates are available to you.
Blot’s seven templates are designed to be customized. If you’re comfortable with HTML and CSS, you can also create your own template from scratch.
Blot’s seven templates are designed to be customized. If you’re comfortable with HTML and CSS, you can also create your own template from scratch.
-
alexgibson.nyc
Blot’s Default
New
theliminal.co
a custom
tomascat.com
Blot’s Essay
okaythree.com
Blot’s Rosa
kitchinspirations.net
Blot’s Blank
invariances.org
Blot’s Console
storystadium.com
Blot’s Grid
bleachedsleet.com
Blot’s Mono


|
Auto Tiler Library
|
Content | |
| ArgumentBinding | |
Functions | |
| CKernelCall_T ** | Calls (unsigned int CallCount,...) |
| Creates a list of calls to basic or user kernels. More... | |
| CKernelCall_T ** | AllocateCalls (unsigned int CallCount) |
| Prepares a list of CallCount calls. More... | |
| CKernelCall_T * | Call (char *CallName, KernelCallLocationT CallLocation, ArgBindingDescr_T **BindingList) |
| Create a call to a basic or a user kernel. More... | |
Functions in this group should be used to add calls to basic kernels in a user kernel or user kernels in a user kernel group
| CKernelCall_T** AllocateCalls | ( | unsigned int | CallCount | ) |
Prepares a list of CallCount calls
| CallCount | Number of calls |
| CKernelCall_T* Call | ( | char * | CallName, |
| KernelCallLocationT | CallLocation, | ||
| ArgBindingDescr_T ** | BindingList | ||
| ) |
Create a call to a basic or a user kernel
| CallName | Name of the function the be called, a basic kernel or a user kernel if in a group |
| CallLocation | Where to insert the call into the iteration structure |
| BindingList | List of bindings for callee's arguments: Bindings(), Bindings(), ... |
| CKernelCall_T** Calls | ( | unsigned int | CallCount, |
| ... | |||
| ) |
Creates a list of calls to basic or user kernels
| CallCount | Number of calls |
| ... | A list of Call() calls |


FOotball: Traore handed Spain call-up after Rodrigo injury
REUTERS: Wolverhampton Wanderers forward Adama Traore has been handed a late call-up to the Spain squad for the first time ahead of their final Euro 2020 qualifiers against Romania and Malta after Rodrigo Moreno was forced to withdraw due to injury.
Rodrigo injured his back during Valencia's 2-0 win over Granada on Saturday and a statement on the Spain team's official website said coach Robert Moreno had turned to the 23-year-old in his place.
Traore came through Barcelona's youth academy but only made one La Liga appearance for the first team, moving to English side Aston Villa in 2015.
The forward, who has turned out for Spain's Under-17, Under-19 and Under-21 sides, has scored twice for Wolves this season, both goals coming in a shock 2-0 win at Premier League champions Manchester City in October.
Spain, who clinched their place at Euro 2020 last month, host Malta on Nov 15 before ending their Group F campaign at home to Romania on Nov 18.


--- layout: archive title: Zulip Chat Archive permalink: /stream/113489-new-members/topic/proving.20simple.20inductive.20types.20are.20decidably.20equal.html ---
Suppose I make
inductive foo |A |B |C |D |E
How can I show thatfoo
is decidably equal with minimal faff?
@[derive decidable_eq] inductive foo |A |B |C |D |E
win for Lean
What else can I @[derive ...]
?
Not sure. In mathlib, if I search for derive, I only find derive decidable_eq
and derive has_reflect
.
I found has_sizeof
in the wild
I would love to write some "functorial" derive handlers, for automatically showing constructions are functorial with respect to either morphisms in their arguments, or isomorphisms in their arguments. This would be part of a bigger program to do transport of structure.
Today Cyril worked quite a lot on transport stuff.
Ah, okay, what approach are they taking?
parametricity for free, or something like that
https://hal.inria.fr/hal-01559073
I would really like some feedback on my iso_induction
approach sketched in the comments of https://github.com/leanprover/mathlib/issues/408, and the very initial branch at https://github.com/leanprover-community/mathlib/commit/fc31a8c81040f2a7e087df890f1c848ff6d34eff.
It needs more examples of definitions shown to be functorial in their arguments (hopefully automatically) before you can really see how it would work.
{% endraw %}Last updated: Apr 24 2020 at 19:02 UTC


--- layout: slides title: 'Building silo-free realtime applications' description: 'Building silo-free realtime web-based applications using XMPP' theme: simple ---
"When they succeed they dramatically lower the cost of creating something" - TBL
eXtensible Messaging and Presence Protocol
(aka Jabber)
Started around 1998
Became part of IETF in 2002
There are three types:
<message/>, <presence/>, & <iq/>
var Client = require('node-xmpp-client')
var client = new Client({ /* options */ })
client.on('online', console.log.bind)
client.on('stanza', function(stanza) {
stanza.attrs.to = stanza.attrs.to
delete stanza.attrs.from
client.send(stanza)
})


Book A Meal
My Orders
Logout
☰
Your Orders.
Meal Options
Total Cost
Action
Beef with rice, Beef with fries
UGX 40,500


These badges were earned for achievements with GitHub
These badges were earned for achievements with JavaScript
These badges were earned for achievements with React
These badges were earned for achievements in Computer Science
These badges were earned for achievements with Mobile Development
Earned for achievements in job preparation and interview practice.
Earned for community input and support.
Earned for making provide support to the goals of social progress.
Earned for work on entrepreneurial goals.


/v1/user/login
).
curl -i https://api.ark.do/v1/user/login -X POST -H 'Content-Type: application/json' -d '{"email":"$EMAIL","password":"$PASSWORD"}'
You can now use the token from the previous request to add an Authorization header to subsequent calls to the API.
curl -i https://api.ark.do/$ENDPOINT_ROUTE -X $METHOD -H 'Authorization: bearer $TOKEN' -H 'Content-Type: application/json' -d '$JSON_PAYLOAD'
| Key | |
|---|---|
|
- |


Pangia Kesho is a unique insurance product for church members offering an in-patient benefit, accidental death cover, accidental total permanent disability cover and a funeral cover
Learn More| Benefits | Option 1 | Option 2 | Option 3 | |
|---|---|---|---|---|
| INPATIENT | FULL LIMIT | 200,000 | 300,000 | 500,000 |
| Chronic/ Pre-existing/ Psychiatric cases capped at 50% within IP Limit |
100,000 | 150,000 | 250,000 | |
| Maternity Cover Limit | 20,000 | 30,000 | 40,000 | |
|
ACCIDENTAL DEATH/TPD COVER |
100,000 | 150,000 | 250,000 | |
| LAST EXPENSE COVER LIMIT | 40,000 | 80,000 | 100,000 | |
| Premium | ||||
| ANNUAL PREMIUM | 3,800 | 5,600 | 8,500 |
NB: For every extra member the premium goes up Ksh 1,400 for option 1 and Ksh 2,000 for option 2 & 3.
Benefits


Writing
What is happiness?
I never thought about this before, to be honest. Material things do not necessarily bring you happiness. That is a fact of life. We all know that, then why do we get happy by them? ‘If material things bring just a temporary and short-term happiness, then what does that mean?’ Does it mean that we have to buy material objects at a rate of perhaps one per day to sustain the temporary and short-term high of getting something new? The problem is, that begins to sound a lot like a drug habit. This train of thinking got me into some very deep areas. Things like:
- What is happiness?
- What does it mean to be happy?
- What do I want to do in my life?
- Does life have meaning?
Very deep, isn’t it?


Open issues
(
Gallery
)
days away
Analysis time
(
)
s
Q2 goal:
s
Time to first frame
(
)
ms
To framework init:
ms
After framework init:
ms
Q2 goal:
600
ms
Scroll perf
(
)
missed
ms avg,
frames,
8ms
16ms


GET form example
Name:
Under age:
Favourite fruit:
Apple
Banana
Raspberry
Select hobbies:
Watching TV:
Watching movies:
Running:


TOUCH
Section: User Commands (1)Updated: June 2012
Index Return to Main Contents
NAME
touch - change file timestampsSYNOPSIS
touch [OPTION]... FILE...DESCRIPTION
Update the access and modification times of each FILE to the current time.
A FILE argument that does not exist is created empty, unless -c or -h is supplied.
A FILE argument string of - is handled specially and causes touch to change the times of the file associated with standard output.
Mandatory arguments to long options are mandatory for short options too.
- -a
- change only the access time
- -c, --no-create
- do not create any files
- -d, --date=STRING
- parse STRING and use it instead of current time
- -f
- (ignored)
- -h, --no-dereference
- affect each symbolic link instead of any referenced file (useful only on systems that can change the timestamps of a symlink)
- -m
- change only the modification time
- -r, --reference=FILE
- use this file's times instead of current time
- -t STAMP
- use [[CC]YY]MMDDhhmm[.ss] instead of current time
- --time=WORD
- change the specified time: WORD is access, atime, or use: equivalent to -a WORD is modify or mtime: equivalent to -m
- --help
- display this help and exit
- --version
- output version information and exit
Note that the -d and -t options accept different time-date formats.
DATE STRING
The --date=STRING is a mostly free format human readable date string such as "Sun, 29 Feb 2004 16:21:42 -0800" or "2004-02-29 16:21:42" or even "next Thursday". A date string may contain items indicating calendar date, time of day, time zone, day of week, relative time, relative date, and numbers. An empty string indicates the beginning of the day. The date string format is more complex than is easily documented here but is fully described in the info documentation.AUTHOR
Written by Paul Rubin, Arnold Robbins, Jim Kingdon, David MacKenzie, and Randy Smith.REPORTING BUGS
Report touch bugs to<EMAIL_ADDRESS>coreutils home page: <http://www.gnu.org/software/coreutils/>
General help using GNU software: <http://www.gnu.org/gethelp/>
Report touch translation bugs to <http://translationproject.org/team/>
COPYRIGHT
Copyright © 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
The full documentation for touch is maintained as a Texinfo manual. If the info and touch programs are properly installed at your site, the command- info coreutils aqtouch invocationaq
should give you access to the complete manual.
Index
This document was created by man2html, using the manual pages.
Time: 05:29:11 GMT, December 24, 2015


Galvanize Delivers
menu
Home
Order Delivery
Home
Order Delivery
Menu
Hipster Goomba
$11.99
Add to order
Big Kahuna Burger
$15.99
Add to order
The Full Slab
$21.99
Add to order
Tasty Freeze
$9.99
Add to order
Order
Item
Price
Subtotal
Tax
Total
account_circle
Name
phone
Phone Number
location_city
Address
Place your order


code block on the first line
Regular text.
code block indented by spaces
the lines in this block all contain trailing spaces
Regular Text.
code block on the last line


atisayajain
Engineer | Designer | Believer
Systems Engineer at
Infosys
District Webmaster at
RDO, RI District 3291
GitHub
LinkedIn
Mail
Resume
Blog


Please login to use the requested part of this application.
Login with Authorization Server
Login with Username/Password
Login wasn't successfull.


Objective, subjective, and accurate reporting of social media use: No evidence that daily social media use correlates with personality traits, motivational states, or well-being
2021-04-07
Preface
On this site, I document all steps, from data processing to final analyses, for the project Objective, subjective, and accurate reporting of social media use: No evidence that daily social media use correlates with personality traits, motivational states, or well-being.
Link to the preprint: <>
0.1 Data and models
The data and models are on the Open Science Framework page of this project at https://osf.io/7byvt/. Here, we also provide a codebook for the data and materials that show how we collected the data. You’ll see that there are different components. One component holds the raw data. These data were minimally processed before uploading to remove other variables that aren’t relevant to this project. You can see those processing steps in the processing section on the next page.
Another component holds model objects. We ran ten total models, and each one is between 18 and 122 MB large. You’ll see in the analysis section that we downloaded those models and loaded them into R for model inspection and diagnostics.
0.2 How to reproduce processing and analyses
All processing, analysis, description, and modelling steps are organized into separate R Markdown files. The source code is on GitHub: https://github.com/digital-wellbeing/smartphone-use. Those source files are organized as an R bookdown project. That project was knitted to an online book, whose results are at https://digital-wellbeing.github.io/smartphone-use/. The project used a local library to make sure package versions are stable for anyone who wants reproduce the analysis. We used renv for that.
If you want to reproduce the entire book, it’s best to download the entire R project from the Github repo: https://github.com/digital-wellbeing/smartphone-use.
As a first step, open the project and make sure you have all packages installed in the right version by calling renv::restore()
.
That’ll install all packages in the version that are saved in the lockfile of the project (renv.lock
).
For that, it’s best if you are on R 4.0.3 or higher.
Once all packages are installed, you should be able to build the book and reproduce all files that are displayed at https://digital-wellbeing.github.io/smartphone-use/.
To do that, either run bookdown::render_book("index.Rmd")
or click the “Build Book” button under the Build
tab in RStudio.
Each .Rmd
source file will be knitted and stored in a docs
folder.
You can double click on docs/index.html
and view the results in a web browser.
You’ll see that the source code doesn’t run the models anymore.
In total, running each chunk would take several hours.
I ran them once and them stored them on the OSF.
In the source code, you can download those files (note: downloading the models will take some time, they’re about half a GB in total).
To download the models, make sure the chunk option for chunk download-models
in the analysis chapter is set to eval=TRUE
.
If you want to run the models rather than downloading them and loading them into R, you can either set chunk options to eval=TRUE
or run each of the five .Rmd
files separately.
I set this book up so that it runs in one go, meaning you need to run the source files in their order, and can’t run source files independently.
The same goes for the data: You’ll need to set the chunk download-data
to eval=TRUE
(it’s currently set to TRUE
by default).
That only works when the OSF project is public.
If it isn’t (because of peer review), you’ll need to manually download the data files from the OSF into a data/
folder in the main directory of the project.


| Top |
Description
Object implementation to compute the halo bias function given the Press-Schechter mass function. A description of the mechanism is given below. Check nc_halo_bias.c for a description of halo biases and nc_multiplicity_func_ps.c for the Press-Schechter mass function.
By performing a perturbative expansion around $\delta_b$ in the Press-Schechter mass function, the bias function is deduced to be \begin{align} b(\nu) &= 1 + \frac{\nu^2 - 1}{\delta_c} , \end{align} where $b(\nu)$ is the Press-Schechter bias, $\delta_c$ is the critical threshold and $\nu = \frac{\delta_c}{\sigma}$. Also, sigma is the variance of the gaussian random field $\delta_b$, which can be computed with the density contrast power spectrum.
The user must provide input the values: NcHaloMassFunction
, delta_c
- nc_halo_bias_ps_new_full()
.
The first is the Halo mass function object and the second is a scalar threshold.
Functions
nc_halo_bias_ps_new ()
NcHaloBiasPS *
nc_halo_bias_ps_new (NcHaloMassFunction *mfp
);
Creates a new NcHaloBiasPS object with undefined critical threshold.
[constructor]
nc_halo_bias_ps_new_full ()
NcHaloBiasPS * nc_halo_bias_ps_new_full (NcHaloMassFunction *mfp
,gdouble delta_c
);
Creates a new NcHaloBiasPS object with delta_c
critical threshold.
[constructor]
nc_halo_bias_ps_set_delta_c ()
void nc_halo_bias_ps_set_delta_c (NcHaloBiasPS *biasf_ps
,gdouble delta_c
);
Sets the value delta_c
to the “critical-delta” property.


Magister Page:
Ah, yes, the Gold Knight! A noble coin! Our current exchange rate is 1:10. Or perhaps you would prefer a game of chance?
Exchange at set rate
Play game. [Guess correctly in 2 tries - 4 Gold Wyverns]
Play game. [Guess correctly in 3 tries - 8 Gold Wyverns]
Play game. [Guess correctly in 4 tries - 9 Gold Wyverns]
Explanation of game


|
Contiki 2.5
|
Files | |
| file | broadcast.c |
Identified best-effort local area broadcast (broadcast) | |
Functions | |
| void | broadcast_open (struct broadcast_conn *c, uint16_t channel, const struct broadcast_callbacks *u) |
| Set up an identified best-effort broadcast connection. | |
| void | broadcast_close (struct broadcast_conn *c) |
| Close a broadcast connection. | |
| int | broadcast_send (struct broadcast_conn *c) |
| Send an identified best-effort broadcast packet. |
| void broadcast_close | ( | struct broadcast_conn * | c | ) |
Close a broadcast connection.
| c | A pointer to a struct broadcast_conn |
This function closes a broadcast connection that has previously been opened with broadcast_open().
This function typically is called as an exit handler.
Definition at line 104 of file broadcast.c.
References abc_close().
Referenced by ipolite_close().
| void broadcast_open | ( | struct broadcast_conn * | c, |
| uint16_t | channel, | ||
| const struct broadcast_callbacks * | u | ||
| ) |
Set up an identified best-effort broadcast connection.
| c | A pointer to a struct broadcast_conn |
| channel | The channel on which the connection will operate |
| u | A struct broadcast_callbacks with function pointers to functions that will be called when a packet has been received |
This function sets up a broadcast connection on the specified channel. The caller must have allocated the memory for the struct broadcast_conn, usually by declaring it as a static variable.
The struct broadcast_callbacks pointer must point to a structure containing a pointer to a function that will be called when a packet arrives on the channel.
Definition at line 95 of file broadcast.c.
References abc_open().
Referenced by ipolite_open(), and stbroadcast_open().
| int broadcast_send | ( | struct broadcast_conn * | c | ) |
Send an identified best-effort broadcast packet.
| c | The broadcast connection on which the packet should be sent |
| Non-zero | if the packet could be sent, zero otherwise |
This function sends an identified best-effort broadcast packet. The packet must be present in the packetbuf before this function is called.
The parameter c must point to a broadcast connection that must have previously been set up with broadcast_open().
Definition at line 110 of file broadcast.c.
References abc_send(), and rimeaddr_node_addr.
Referenced by ipolite_send().