Element index for package System
[ a ]
[ b ]
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ h ]
[ i ]
[ j ]
[ k ]
[ l ]
[ m ]
[ n ]
[ o ]
[ p ]
[ r ]
[ s ]
[ t ]
[ u ]
[ v ]
[ x ]
[ y ]
[ _ ]
_
- __autoload
- in file prado.php, function __autoload()
Includes a class file upon an unknown class This function is automatically called by PHP engine upon an unknown class.
- __construct
- in file TResourceParser.php, method TResourceParser::__construct()
Constructor.
- __construct
- in file TResourceLocator.php, method TResourceLocator::__construct()
Constructor.
- __construct
- in file TRequest.php, method TRequest::__construct()
Constructor.
- __construct
- in file TServiceManager.php, method TServiceManager::__construct()
Constructor.
- __construct
- in file TService_Callback.php, method TService_Callback::__construct()
- __construct
- in file TViewStateManager.php, method TViewStateManager::__construct()
Constructor.
- __construct
- in file TSession.php, method TSession::__construct()
Constructor.
- __construct
- in file TModule.php, method TModule::__construct()
Constructor.
- __construct
- in file TErrorHandler.php, method TErrorHandler::__construct()
Constructor.
- __construct
- in file TComponent.php, method TComponent::__construct()
Constructor.
- __construct
- in file TCacheManager.php, method TCacheManager::__construct()
Constructor.
- __construct
- in file TApplication.php, method TApplication::__construct()
Constructor, parses application specification.
- __construct
- in file TGlobalization.php, method TGlobalization::__construct()
Constructor.
- __construct
- in file classes.php, method TCollection::__construct()
Constructor.
- __construct
- in file TComponentDefinition.php, method TComponentDefinition::__construct()
Constructor.
- __get
- in file TComponent.php, method TComponent::__get()
Returns a property value by name or a child component by ID.
- __set
- in file TComponent.php, method TComponent::__set()
Sets value of a component property.
top
a
- $args
- in file TService_Callback.php, variable TCallbackEventParameter::$args
- add
- in file classes.php, method TCollection::add()
Appends an item at the end of the collection.
- addAt
- in file classes.php, method TCollection::addAt()
Inserts an item at the specified position.
- addChild
- in file TComponent.php, method TComponent::addChild()
Adds a child component.
- addHandler
- in file TService_Callback.php, method TService_Callback::addHandler()
- addParsedObject
- in file TComponent.php, method TComponent::addParsedObject()
Handles a component or string met in template.
- addService
- in file TServiceManager.php, method TServiceManager::addService()
Add a new service.
- applyTo
- in file TComponentDefinition.php, method TComponentDefinition::applyTo()
Realizes the definition for a component instance.
- assess
- in file TPageDirective.php, method TPageDirective::assess()
- attachEventHandler
- in file TComponent.php, method TComponent::attachEventHandler()
Attaches a handler function to an event.
- CASE_FORBIDDEN
- in file TErrorHandler.php, class constant TErrorHandler::CASE_FORBIDDEN
- CASE_INTERNALERROR
- in file TErrorHandler.php, class constant TErrorHandler::CASE_INTERNALERROR
- CASE_PAGENOTFOUND
- in file TErrorHandler.php, class constant TErrorHandler::CASE_PAGENOTFOUND
- CASE_SITEOFF
- in file TErrorHandler.php, class constant TErrorHandler::CASE_SITEOFF
some predefined error codes.
- CASE_UNAUTHORIZED
- in file TErrorHandler.php, class constant TErrorHandler::CASE_UNAUTHORIZED
- MAX_PAGE_NUMBER
- in file TViewStateManager.php, class constant TViewStateManager::MAX_PAGE_NUMBER
- PAGE_SERVICE
- in file TRequest.php, class constant TRequest::PAGE_SERVICE
page service name
top
top
c
- $Cache
- in file TGlobalization.php, variable TGlobalization::$Cache
The caching directory for translations.
- $cacheExpire
- in file TSession.php, variable TSession::$cacheExpire
Cache expire (in minutes)
- $cacheManager
- in file TApplication.php, variable TApplication::$cacheManager
cache manager
- $Charset
- in file TGlobalization.php, variable TGlobalization::$Charset
The current charset.
- $children
- in file TComponent.php, variable TComponent::$children
children of this component
- $components
- in file TCacheManager.php, variable TCacheManager::$components
list of components cached so far
- $ContentType
- in file TGlobalization.php, variable TGlobalization::$ContentType
The content type for the http header
- $cssPath
- in file TResourceLocator.php, variable TResourceLocator::$cssPath
The absolute local URI storing css files.
- $Culture
- in file TGlobalization.php, variable TGlobalization::$Culture
The current culture.
- $currentID
- in file TViewStateManager.php, variable TViewStateManager::$currentID
- $currentModule
- in file TCacheManager.php, variable TCacheManager::$currentModule
current module name
- cacheComponent
- in file TCacheManager.php, method TCacheManager::cacheComponent()
Saves a component to cache.
- canGetProperty
- in file TComponentDefinition.php, method TComponentDefinition::canGetProperty()
- canGetProperty
- in file TComponent.php, method TComponent::canGetProperty()
Determines whether a property can be read.
- canSetProperty
- in file TComponent.php, method TComponent::canSetProperty()
Determines whether a property can be written.
- canSetProperty
- in file TComponentDefinition.php, method TComponentDefinition::canSetProperty()
- classes.php
- procedural page classes.php
- clear
- in file classes.php, method TCollection::clear()
Removes all items in the collection.
- clear
- in file classes.php, method ISession::clear()
Unsets a session variable.
- clear
- in file TSession.php, method TSession::clear()
Unsets a session variable.
- cloneComponent
- in file TCacheManager.php, method TCacheManager::cloneComponent()
Creates a component from cache.
- computeHMAC
- in file TViewStateManager.php, method TViewStateManager::computeHMAC()
Computes the HMAC of the input data.
- configureProperty
- in file TComponentDefinition.php, method TComponentDefinition::configureProperty()
Sets a component's property with a string value.
- constructUrl
- in file TRequest.php, method TRequest::constructUrl()
Constructs a PRADO specific URL.
- contains
- in file classes.php, method TCollection::contains()
- convertPropertyValue
- in file TComponentDefinition.php, method TComponentDefinition::convertPropertyValue()
Converts a string to a particular type.
- createComponent
- in file TComponent.php, method TComponent::createComponent()
Creates a child component.
- createComponent
- in file TApplication.php, method TApplication::createComponent()
Creates a component instance.
- current
- in file classes.php, method TCollection::current()
Returns the current array element.
top
d
- $data
- in file classes.php, variable TCollection::$data
internal data storage
- $defaultCharset
- in file TGlobalization.php, variable TGlobalization::$defaultCharset
Character set, default 'UTF-8'.
- $defaultCulture
- in file TGlobalization.php, variable TGlobalization::$defaultCulture
Default culture, 'en'.
- $defaultPage
- in file TErrorHandler.php, variable TErrorHandler::$defaultPage
default page to handle unrecognized error
- $defaultPage
- in file TRequest.php, variable TRequest::$defaultPage
Default page name defined in app spec
- dataBind
- in file TComponent.php, method TComponent::dataBind()
Performs the databinding for this component.
- decode
- in file TViewStateManager.php, method TViewStateManager::decode()
- defineEvent
- in file TComponentDefinition.php, method TComponentDefinition::defineEvent()
Adds an event definition.
- defineProperty
- in file TComponentDefinition.php, method TComponentDefinition::defineProperty()
Adds a property definition.
- destroy
- in file TSession.php, method TSession::destroy()
Destroys the session.
- destroy
- in file classes.php, method ISession::destroy()
Destroys the session.
- ID_FORMAT
- in file TComponentDefinition.php, class constant TComponentDefinition::ID_FORMAT
Format of explicit component IDs, property names, and event names.
top
e
- $enabled
- in file TCacheManager.php, variable TCacheManager::$enabled
if the caching is enabled.
- $enabled
- in file TSession.php, variable TSession::$enabled
Whether the session is enabled.
- $encrypt
- in file TViewStateManager.php, variable TViewStateManager::$encrypt
- $errorCode
- in file TErrorHandler.php, variable TErrorHandler::$errorCode
error code
- $errorHandler
- in file TApplication.php, variable TApplication::$errorHandler
error handler
- $errorMessage
- in file TErrorHandler.php, variable TErrorHandler::$errorMessage
error message
- $errorPages
- in file TErrorHandler.php, variable TErrorHandler::$errorPages
list of error handling pages
- encode
- in file TViewStateManager.php, method TViewStateManager::encode()
- endRequest
- in file TApplication.php, method TApplication::endRequest()
Request cleanup work.
- evaluateExpression
- in file TComponent.php, method TComponent::evaluateExpression()
Evaluates a PHP expression.
- evaluateStatements
- in file TComponent.php, method TComponent::evaluateStatements()
Evaluates a list of PHP statements.
- executable
- in file TServiceManager.php, method TServiceManager::executable()
Check if the request can be handled.
- execute
- in file TApplication.php, method TApplication::execute()
Executes the current request using another page.
- execute
- in file TService_Callback.php, method TService_Callback::execute()
- execute
- in file TServiceManager.php, method TServiceManager::execute()
Execute the service for this particular type.
- service
- in file TService_Callback.php, class constant TService_Callback::service
- SESSION_KEY
- in file TViewStateManager.php, class constant TViewStateManager::SESSION_KEY
- SESSION_USER
- in file TApplication.php, class constant TApplication::SESSION_USER
session var name for user object
- SESSION_VSM
- in file TViewStateManager.php, class constant TViewStateManager::SESSION_VSM
top
top
g
- $globalization
- in file TApplication.php, variable TApplication::$globalization
globalization handler
- generateRandomKey
- in file TViewStateManager.php, method TViewStateManager::generateRandomKey()
- get
- in file TSession.php, method TSession::get()
Returns the value of the named session variable
- get
- in file classes.php, method ISession::get()
Returns the value of the named session variable
- getApplication
- in file TComponent.php, method TComponent::getApplication()
- getApplicationID
- in file TApplication.php, method TApplication::getApplicationID()
- getApplicationState
- in file TApplication.php, method TApplication::getApplicationState()
- getArray
- in file classes.php, method TCollection::getArray()
- getBufferSize
- in file TViewStateManager.php, method TViewStateManager::getBufferSize()
- getChild
- in file TComponent.php, method TComponent::getChild()
- getChildren
- in file TComponent.php, method TComponent::getChildren()
- getCssPath
- in file TResourceLocator.php, method TResourceLocator::getCssPath()
- getDefaultCharset
- in file TGlobalization.php, method TGlobalization::getDefaultCharset()
Returns the default charset.
- getDefaultCulture
- in file TGlobalization.php, method TGlobalization::getDefaultCulture()
Returns the default culture.
- getDefaultPage
- in file TRequest.php, method TRequest::getDefaultPage()
- getDefinition
- in file TComponent.php, method TComponent::getDefinition()
Returns or builds a component definition.
- getDocumentRoot
- in file TRequest.php, method TRequest::getDocumentRoot()
- getErrorCode
- in file TErrorHandler.php, method TErrorHandler::getErrorCode()
- getErrorHandler
- in file TApplication.php, method TApplication::getErrorHandler()
- getErrorMessage
- in file TErrorHandler.php, method TErrorHandler::getErrorMessage()
- getEvents
- in file TComponentDefinition.php, method TComponentDefinition::getEvents()
- getExternalTemplate
- in file TResourceLocator.php, method TResourceLocator::getExternalTemplate()
Gets the content of an external template.
- getGlobalization
- in file TComponent.php, method TComponent::getGlobalization()
Returns the Globalization instance for the application.
- getGlobalization
- in file TApplication.php, method TApplication::getGlobalization()
- getID
- in file TComponent.php, method TComponent::getID()
- getImagePath
- in file TResourceLocator.php, method TResourceLocator::getImagePath()
- getJsPath
- in file TResourceLocator.php, method TResourceLocator::getJsPath()
- getKey
- in file TViewStateManager.php, method TViewStateManager::getKey()
- getMasterPageName
- in file TComponentDefinition.php, method TComponentDefinition::getMasterPageName()
- getModule
- in file TComponent.php, method TComponent::getModule()
Returns the module object that contains the component or the page containing the component.
- getPage
- in file TComponent.php, method TComponent::getPage()
- getParameter
- in file TRequest.php, method TRequest::getParameter()
- getParameters
- in file TRequest.php, method TRequest::getParameters()
- getParent
- in file TComponent.php, method TComponent::getParent()
- getPath
- in file TApplication.php, method TApplication::getPath()
Returns the path corresponding to an alias.
- getProperties
- in file TComponentDefinition.php, method TComponentDefinition::getProperties()
- getPropertyGetter
- in file TComponentDefinition.php, method TComponentDefinition::getPropertyGetter()
- getPropertyInitValue
- in file TComponent.php, method TComponent::getPropertyInitValue()
Gets the initial value of a property.
- getPropertySetter
- in file TComponentDefinition.php, method TComponentDefinition::getPropertySetter()
- getPropertyType
- in file TComponentDefinition.php, method TComponentDefinition::getPropertyType()
- getPropertyType
- in file TComponent.php, method TComponent::getPropertyType()
Returns the type of a property
- getRequest
- in file TComponent.php, method TComponent::getRequest()
Returns the request object associated with application.
- getRequest
- in file TApplication.php, method TApplication::getRequest()
- getRequestedPage
- in file TRequest.php, method TRequest::getRequestedPage()
- getRequiredRole
- in file TApplication.php, method TApplication::getRequiredRole()
Determines the required role to access the page
- getResource
- in file TResourceLocator.php, method TResourceLocator::getResource()
Locate the resource for a particular culture. The parameter $resource must be the filename without the file extension.
- getResourceLocator
- in file TApplication.php, method TApplication::getResourceLocator()
- getResourceParser
- in file TApplication.php, method TApplication::getResourceParser()
- getRootURI
- in file TResourceLocator.php, method TResourceLocator::getRootURI()
- getServiceManager
- in file TComponent.php, method TComponent::getServiceManager()
Returns the service manager for this application.
- getServiceManager
- in file TApplication.php, method TApplication::getServiceManager()
Get the service manager.
- getServices
- in file TServiceManager.php, method TServiceManager::getServices()
Return a list of service objects for the given service type.
- getSession
- in file TComponent.php, method TComponent::getSession()
Returns the session object associated with the application.
- getSession
- in file TApplication.php, method TApplication::getSession()
- getSessionID
- in file TSession.php, method TSession::getSessionID()
- getSessionState
- in file TComponent.php, method TComponent::getSessionState()
Returns a session variable.
- getSpecification
- in file TResourceLocator.php, method TResourceLocator::getSpecification()
Gets the content of the component specification.
- getSpecificationFile
- in file TApplication.php, method TApplication::getSpecificationFile()
- getTemplate
- in file TResourceLocator.php, method TResourceLocator::getTemplate()
Gets the content of the component template
- getTheme
- in file TApplication.php, method TApplication::getTheme()
- getThemeFile
- in file TApplication.php, method TApplication::getThemeFile()
- getThemeName
- in file TApplication.php, method TApplication::getThemeName()
- getType
- in file TComponentDefinition.php, method TComponentDefinition::getType()
- getUniqueID
- in file TComponent.php, method TComponent::getUniqueID()
Returns the unique ID of the component.
- getUser
- in file TComponent.php, method TComponent::getUser()
Returns the user object associated with the application.
- getUser
- in file TApplication.php, method TApplication::getUser()
- getUserParameter
- in file TApplication.php, method TApplication::getUserParameter()
Returns a user-defined parameter which is defined in the application specification
- getUserParameter
- in file TModule.php, method TModule::getUserParameter()
- getUserParameters
- in file TModule.php, method TModule::getUserParameters()
- getValidationPropertyValue
- in file classes.php, method IPostBackDataHandler::getValidationPropertyValue()
Returns the value of the property to be validated.
- getVariants
- in file TGlobalization.php, method TGlobalization::getVariants()
Get the variant of a specific culture. If the parameter $culture is null, the current culture is used.
- getViewStateManager
- in file TApplication.php, method TApplication::getViewStateManager()
top
h
- $handlers
- in file TApplication.php, variable TApplication::$handlers
list of handlers
- handleError
- in file TErrorHandler.php, method TErrorHandler::handleError()
Dispatches the error handling to a page.
- handleRequest
- in file TServiceManager.php, method TServiceManager::handleRequest()
Check if the request can be handled, and calls the respective service instantances to handle the request.
- handleServiceRequest
- in file TApplication.php, method TApplication::handleServiceRequest()
Check for service requests, if able to handle them return true.
- has
- in file classes.php, method ISession::has()
Checks if the named session variable exists.
- has
- in file TSession.php, method TSession::has()
Checks if the named session variable exists.
- hasChildren
- in file TComponent.php, method TComponent::hasChildren()
- hasEvent
- in file TComponent.php, method TComponent::hasEvent()
Determines whether an event is defined.
- hasEvent
- in file TComponentDefinition.php, method TComponentDefinition::hasEvent()
- hasProperty
- in file TComponent.php, method TComponent::hasProperty()
Determines whether a property is defined.
- hasProperty
- in file TComponentDefinition.php, method TComponentDefinition::hasProperty()
top
i
- $id
- in file TApplication.php, variable TApplication::$id
ID of this application
- $imagePath
- in file TResourceLocator.php, variable TResourceLocator::$imagePath
The absolute local URI storing image files.
- ICallbackEventHandler
- in file TServiceManager.php, class ICallbackEventHandler
AJAX components must implement ICallbackEventHandler.
- indexOf
- in file classes.php, method TCollection::indexOf()
- init
- in file TGlobalization.php, method TGlobalization::init()
Initialize the Culture and Charset for this application.
- init
- in file TApplication.php, method TApplication::init()
Runtime initializations based on the application specification.
- initProperties
- in file TComponent.php, method TComponent::initProperties()
Initializes the property values.
- instantiateTemplate
- in file TComponentDefinition.php, method TComponentDefinition::instantiateTemplate()
Instantiates a template for a component.
- instantiateTemplate
- in file TComponent.php, method TComponent::instantiateTemplate()
Parses a template string and instantiates the content.
- IPostBackDataHandler
- in file classes.php, class IPostBackDataHandler
IPostBackDataHandler interface
- IPostBackEventHandler
- in file classes.php, class IPostBackEventHandler
IPostBackEventHandler interface
- isAuthenticated
- in file classes.php, method IUser::isAuthenticated()
- isCallBack
- in file TService_Callback.php, method TService_Callback::isCallBack()
- isEnabled
- in file TViewStateManager.php, method TViewStateManager::isEnabled()
- ISession
- in file classes.php, class ISession
ISession interface
- isInRole
- in file classes.php, method IUser::isInRole()
Checks if the user is of certain role.
- isProperName
- in file TComponentDefinition.php, method TComponentDefinition::isProperName()
Checks whether a name/ID is in valid format.
- isReadOnly
- in file classes.php, method TCollection::isReadOnly()
- IsRequestServiceable
- in file TService_Callback.php, method TService_Callback::IsRequestServiceable()
- isStarted
- in file TSession.php, method TSession::isStarted()
- isStarted
- in file classes.php, method ISession::isStarted()
- isValid
- in file classes.php, method IValidator::isValid()
- IUser
- in file classes.php, class IUser
IUser interface
- IValidator
- in file classes.php, class IValidator
IValidator interface
top
top
top
top
top
top
o
- FORMAT_GET
- in file TRequest.php, class constant TRequest::FORMAT_GET
URL format
- FORMAT_PATH
- in file TRequest.php, class constant TRequest::FORMAT_PATH
- offsetExists
- in file classes.php, method TCollection::offsetExists()
Returns whether there is an element at the specified offset.
- offsetGet
- in file classes.php, method TCollection::offsetGet()
Returns the element at the specified offset.
- offsetSet
- in file classes.php, method TCollection::offsetSet()
Required by interface.
- offsetUnset
- in file classes.php, method TCollection::offsetUnset()
Required by interface.
- onAddItem
- in file classes.php, method TCollection::onAddItem()
This method will be invoked when an item is being added to the collection.
- onAuthenticationRequired
- in file classes.php, method IUser::onAuthenticationRequired()
This method is invoked by the framework when authentication fails.
- onAuthorizationRequired
- in file classes.php, method IUser::onAuthorizationRequired()
This method is invoked by the framework when authorization fails.
- onDataBinding
- in file TComponent.php, method TComponent::onDataBinding()
This method is invoked when dataBind is invoked for the component.
- onLoad
- in file TModule.php, method TModule::onLoad()
This method is invoked right before a member page starts execution.
- onRemoveItem
- in file classes.php, method TCollection::onRemoveItem()
This method will be invoked when an item is being removed from the collection.
- onUnload
- in file TModule.php, method TModule::onUnload()
This method is invoked right after a member page finishes execution.
top
p
- $pages
- in file TApplication.php, variable TApplication::$pages
list of page instances
- $parameter
- in file classes.php, variable TCommandEventParameter::$parameter
command parameter
- $parameters
- in file TApplication.php, variable TApplication::$parameters
list of user-defined parameters, indexed by parameter names
- $parameters
- in file TModule.php, variable TModule::$parameters
module level user parameters
- $parameters
- in file TRequest.php, variable TRequest::$parameters
GET and POST parameters
- $paths
- in file TApplication.php, variable TApplication::$paths
aliases to file paths
- $preload
- in file TApplication.php, variable TApplication::$preload
list of namespaces used globally
- parseAttributes
- in file TResourceParser.php, method TResourceParser::parseAttributes()
Parses the attributes of a tag from a string.
- parseSpecification
- in file TResourceParser.php, method TResourceParser::parseSpecification()
Parses a component specification string.
- parseTemplate
- in file TResourceParser.php, method TResourceParser::parseTemplate()
Parses a template string.
- parseTheme
- in file TResourceParser.php, method TResourceParser::parseTheme()
Parses a theme specification string.
- pradoDecodeData
- in file utils.php, function pradoDecodeData()
Decodes a string.
- pradoEncodeData
- in file utils.php, function pradoEncodeData()
Encodes a string.
- pradoErrorHandler
- in file prado.php, function pradoErrorHandler()
error handler.
- pradoEscapeQuotes
- in file utils.php, function pradoEscapeQuotes()
Replaces each single quote with two single quotes.
- pradoFatalError
- in file prado.php, function pradoFatalError()
Fatal error handler.
- pradoGetApplication
- in file prado.php, function pradoGetApplication()
Returns the application singleton.
- pradoGetContextPath
- in file utils.php, function pradoGetContextPath()
Returns a path with respect to a context path.
- pradoImportClass
- in file prado.php, function pradoImportClass()
Includes a class definition file.
- pradoIsAbsoluteUrl
- in file utils.php, function pradoIsAbsoluteUrl()
Check if a URL is absolute or not.
- pradoParseDate
- in file utils.php, function pradoParseDate()
Returns a valid timestamp
- pradoSendFile
- in file utils.php, function pradoSendFile()
Sends a file to the end-user.
- pradoSerializeObject
- in file utils.php, function pradoSerializeObject()
Serializes an object to a string.
- pradoStripSlashes
- in file utils.php, function pradoStripSlashes()
Strips back slashes from a string or an array.
- pradoUnserializeObject
- in file utils.php, function pradoUnserializeObject()
Unserializes an object from a string.
- pradoVersion
- in file prado.php, function pradoVersion()
- PRADO_DIR
- in file prado.php, constant PRADO_DIR
the framework installation path
- PRADO_EXT_CLASS
- in file prado.php, constant PRADO_EXT_CLASS
the class file extension
- prado.php
- procedural page prado.php
- preprocessTemplate
- in file TResourceParser.php, method TResourceParser::preprocessTemplate()
Preprocesses a template string by inserting external templates (recursively).
top
r
- $readOnly
- in file classes.php, variable TCollection::$readOnly
whether this collection allows addition/removal of elements
- $request
- in file TApplication.php, variable TApplication::$request
request object
- $requestedPage
- in file TRequest.php, variable TRequest::$requestedPage
User requested page name (pageType or ModuleID.pageType)
- $resourceLocator
- in file TApplication.php, variable TApplication::$resourceLocator
resource locator
- $resourceParser
- in file TApplication.php, variable TApplication::$resourceParser
resource parser
- $rootPath
- in file TCacheManager.php, variable TCacheManager::$rootPath
the root cache path.
- raiseCallbackEvent
- in file TServiceManager.php, method ICallbackEventHandler::raiseCallbackEvent()
Called when an Ajax is requested.
- raiseEvent
- in file TComponent.php, method TComponent::raiseEvent()
Invokes all attached event handler functions for a particular event.
- raisePostBackEvent
- in file classes.php, method IPostBackEventHandler::raisePostBackEvent()
Raises postback event.
- raisePostDataChangedEvent
- in file classes.php, method IPostBackDataHandler::raisePostDataChangedEvent()
Raises postdata changed event.
- readAliasConfig
- in file TApplication.php, method TApplication::readAliasConfig()
Reads the configuration for defining path aliases.
- readParameterConfig
- in file TApplication.php, method TApplication::readParameterConfig()
Reads the configuration for defining user parameters.
- readSecuredConfig
- in file TApplication.php, method TApplication::readSecuredConfig()
Reads the configuration for defining secured pages.
- readUsingConfig
- in file TApplication.php, method TApplication::readUsingConfig()
Reads the configuration for declaring namespace inclusion.
- redirect
- in file TApplication.php, method TApplication::redirect()
Redirects the browser to a URL.
- remove
- in file classes.php, method TCollection::remove()
Removes an item from the collection.
- removeAt
- in file classes.php, method TCollection::removeAt()
Removes an item at the specified position.
- removeChild
- in file TComponent.php, method TComponent::removeChild()
Removes a child component.
- removeChildren
- in file TComponent.php, method TComponent::removeChildren()
Removes all child components.
- rewind
- in file classes.php, method TCollection::rewind()
Rewinds internal array pointer.
- run
- in file TApplication.php, method TApplication::run()
The main entry to serves a page request.
top
s
- $savePath
- in file TSession.php, variable TSession::$savePath
The path used to save the session files
- $savePath
- in file TCacheManager.php, variable TCacheManager::$savePath
the current cache save path
- $secured
- in file TApplication.php, variable TApplication::$secured
list of pages to be secured globally
- $services
- in file TApplication.php, variable TApplication::$services
Service handler.
- $services
- in file TServiceManager.php, variable TServiceManager::$services
A list of all the service instantiated.
- $session
- in file TApplication.php, variable TApplication::$session
session object
- $specification
- in file TApplication.php, variable TApplication::$specification
application specification (parsed)
- $specificationFile
- in file TApplication.php, variable TApplication::$specificationFile
the absolute path of the application specification file
- $started
- in file TSession.php, variable TSession::$started
Whether the session is started.
- saveViewState
- in file TViewStateManager.php, method TViewStateManager::saveViewState()
Saves a viewstate (in terms of a string) in session.
- sendContentTypeHeader
- in file TGlobalization.php, method TGlobalization::sendContentTypeHeader()
Send the content type header.
- set
- in file classes.php, method ISession::set()
Sets a session variable
- set
- in file TSession.php, method TSession::set()
Sets a session variable
- setApplicationState
- in file TApplication.php, method TApplication::setApplicationState()
Sets the application state (on, off, debug)
- setAttribute
- in file TComponent.php, method TComponent::setAttribute()
Sets an attribute.
- setCurrentModule
- in file TCacheManager.php, method TCacheManager::setCurrentModule()
Sets the current module name.
- setDefinition
- in file TComponent.php, method TComponent::setDefinition()
Sets a component definition.
- setID
- in file TComponent.php, method TComponent::setID()
Sets a component ID.
- setMasterPageName
- in file TComponentDefinition.php, method TComponentDefinition::setMasterPageName()
- setParent
- in file TComponent.php, method TComponent::setParent()
Sets the parent of this component.
- setPostDataKeys
- in file TService_Callback.php, method TService_Callback::setPostDataKeys()
- setPropertyInitValue
- in file TComponent.php, method TComponent::setPropertyInitValue()
Sets the initial value of a property.
- setRoot
- in file TComponent.php, method TComponent::setRoot()
Sets the root component in the component hierarchy.
- setSessionState
- in file TComponent.php, method TComponent::setSessionState()
Sets a session variable.
- setUserParameter
- in file TModule.php, method TModule::setUserParameter()
Sets a user parameter.
- setUserParameter
- in file TApplication.php, method TApplication::setUserParameter()
Sets a user parameter.
- setUserParameters
- in file TModule.php, method TModule::setUserParameters()
Sets a list of user parameters.
- start
- in file classes.php, method ISession::start()
Starts the session.
- start
- in file TSession.php, method TSession::start()
Starts the session.
top
t
- $theme
- in file TApplication.php, variable TApplication::$theme
Currently loaded theme
- $themeFile
- in file TApplication.php, variable TApplication::$themeFile
Filename of the currently loaded theme
- $Translation
- in file TGlobalization.php, variable TGlobalization::$Translation
The current Translation configuration.
- STATE_DEBUG
- in file TApplication.php, class constant TApplication::STATE_DEBUG
- STATE_OFF
- in file TApplication.php, class constant TApplication::STATE_OFF
- STATE_ON
- in file TApplication.php, class constant TApplication::STATE_ON
application state
- TApplication
- in file TApplication.php, class TApplication
TApplication class
- TApplication.php
- procedural page TApplication.php
- TCacheManager
- in file TCacheManager.php, class TCacheManager
TCacheManager class
- TCacheManager.php
- procedural page TCacheManager.php
- TCallbackComponentDescription
- in file TService_Callback.php, class TCallbackComponentDescription
- TCallbackEventParameter
- in file TService_Callback.php, class TCallbackEventParameter
TEventParameter class
- TCollection
- in file classes.php, class TCollection
TCollection class
- TCommandEventParameter
- in file classes.php, class TCommandEventParameter
TCommandEventParameter class
- TComponent
- in file TComponent.php, class TComponent
TComponent class
- TComponentDefinition
- in file TComponentDefinition.php, class TComponentDefinition
TComponentDefinition class
- TComponentDefinition.php
- procedural page TComponentDefinition.php
- TComponent.php
- procedural page TComponent.php
- TErrorHandler
- in file TErrorHandler.php, class TErrorHandler
TErrorHandler class
- TErrorHandler.php
- procedural page TErrorHandler.php
- TEventParameter
- in file classes.php, class TEventParameter
TEventParameter class
- TGlobalization
- in file TGlobalization.php, class TGlobalization
TGlobalization class
- TGlobalization.php
- procedural page TGlobalization.php
- TModule
- in file TModule.php, class TModule
TModule class
- TModule.php
- procedural page TModule.php
- TPageDirective
- in file TPageDirective.php, class TPageDirective
TPageDirective class.
- TPageDirective.php
- procedural page TPageDirective.php
- transfer
- in file TApplication.php, method TApplication::transfer()
Terminates the execution of the current page and begins execution of a new page.
- translatePathAlias
- in file TApplication.php, method TApplication::translatePathAlias()
Returns the path corresponding to an alias.
- TRequest
- in file TRequest.php, class TRequest
TRequest class
- TRequest.php
- procedural page TRequest.php
- TResourceLocator
- in file TResourceLocator.php, class TResourceLocator
TResourceLocator class
- TResourceLocator.php
- procedural page TResourceLocator.php
- TResourceParser
- in file TResourceParser.php, class TResourceParser
TResourceParser class
- TResourceParser.php
- procedural page TResourceParser.php
- TServiceManager
- in file TServiceManager.php, class TServiceManager
TServiceManager class
- TServiceManager.php
- procedural page TServiceManager.php
- TService_Callback
- in file TService_Callback.php, class TService_Callback
TService_AJAX class
- TSession
- in file TSession.php, class TSession
TSession class
- TSession.php
- procedural page TSession.php
- TViewStateManager
- in file TViewStateManager.php, class TViewStateManager
TViewStateManager class
- TViewStateManager.php
- procedural page TViewStateManager.php
- TService_Callback.php
- procedural page TService_Callback.php
top
top
top
top
y
- TYPE_ARRAY
- in file TComponentDefinition.php, class constant TComponentDefinition::TYPE_ARRAY
array type for component property, used in property definition
- TYPE_BOOLEAN
- in file TComponentDefinition.php, class constant TComponentDefinition::TYPE_BOOLEAN
boolean type for component property, used in property definition
- TYPE_FLOAT
- in file TComponentDefinition.php, class constant TComponentDefinition::TYPE_FLOAT
float type for component property, used in property definition
- TYPE_INTEGER
- in file TComponentDefinition.php, class constant TComponentDefinition::TYPE_INTEGER
integer type for component property, used in property definition
- TYPE_OBJECT
- in file TComponentDefinition.php, class constant TComponentDefinition::TYPE_OBJECT
object type for component property, used in property definition
- TYPE_STRING
- in file TComponentDefinition.php, class constant TComponentDefinition::TYPE_STRING
string type for component property, used in property definition
top
|
|


2019 VolksDrive Rally to be held on November 24
by Soham ThakurA significant amount of classic VWs, including Karmann Ghias and multiple iterations of VW Beetles and buses, are expected to be part of the classic rally.
Save the date! On November 24, 2019, the streets of Mumbai will witness some of the finest classic VW models at VolksDrive 2019 – the Volkswagen Classic Car Rally. The event will celebrate the rich history of Volkswagen cars in India, with a significant amount of classics expected to participate.
The venue for the meet is Razzberry Rhinoceros in Juhu, from where the rally will be flagged off at 10:15 am. After a leisurely 2km drive, participants will return to the venue where they will be felicitated. This one-of-its-kind event is being conducted by Autocar India and Volkswagen India, to highlight the robustness and longevity of VW cars, and to preserve the heritage of classic VWs in India.
In order to be eligible for the rally, the cars have to be pre-1999. The cars expected to participate include all types of classic Beetles, like the split rear window model, the super Beetle and the convertible, and at least two generations of the iconic VW bus. Also expected to join the rally are cars like the Karmann Ghia, early generation Golfs, Jettas and the famous Kublewagen and Kurierwagenare.
If you’re interested to participate with your classic VW, write to us at<EMAIL_ADDRESS>But hurry, we have limited slots available.
Also see:
2018 VolksWeekend Rally image gallery


The changes in annual erosion and sediment in response to various future climate changes in the 2050s and 2070s. The upper and lower borders of the box represent the 25th and 75th percentiles; the line and cross in the box interior represent the median and mean values; the “whiskers” represent the lower and upper limits.


"BATHS" The use of the bath was very frequent among the Hebrews(Leviticus 14:8; Numbers 19:19, ect.). The high priest at his inauguration(Leviticus 8:6), and on the day of atonement, was required to bathe himself(16:4, 24). The “pools” mentioned in Nehemiah 3:15, 16, 2 Kings 20:20, Isaiah 22:11, John 9:7, were public bathing-places.
"BATHS" The use of the bath was very frequent among the Hebrews(Leviticus 14:8; Numbers 19:19, ect.). The high priest at his inauguration(Leviticus 8:6), and on the day of atonement, was required to bathe himself(16:4, 24). The “pools” mentioned in Nehemiah 3:15, 16, 2 Kings 20:20, Isaiah 22:11, John 9:7, were public bathing-places.


Jonathan Davies: Injured Wales centre to miss 2020 Six Nations
Wales centre Jonathan Davies will miss the Six Nations because he must have knee surgery following the World Cup.
Davies is out of action for at least six months after picking up the injury during the World Cup against Fiji.
The 31-year-old British and Irish Lion missed the quarter-final against France but returned for the semi-final defeat against South Africa and bronze medal match against New Zealand.
Rhys Patchell is also out for at least three months after a shoulder injury.
The Scarlets fly-half, who was a replacement against the Springboks and started against the All Blacks, is expected to be out for three to four months as he also faces surgery.
Wales open their Six Nations campaign against Italy on Saturday, 1 February in Cardiff and finish against Scotland at the Principality Stadium on 14 March.
Saracens back Liam Williams is set to miss the start of the tournament with an ankle problem, while George North (hamstring), Tomas Francis (arm), Cory Hill (leg), Josh Navidi (hamstring) and Leigh Halfpenny (concussion) all finished the World Cup with injuries.
Double blow
Davies suffered the knee injury while creating the hat-trick try for wing Josh Adams in the 29-17 win over Fiji in Japan.
He trained and played in Japan for the final few weeks with heavy strapping on his left leg.
Fellow Scarlets centre Hadleigh Parkes started six matches in Japan despite suffering a broken bone in his hand in the opening match against Georgia and also picked a shoulder problem against Uruguay.
Potential Six Nations replacements for Davies include Ospreys duo Owen Watkin and Scott Williams and Bath centre Jamie Roberts, although he would be ineligible to face the Barbarians on 30 November.
New Zealand-born Cardiff Blues centre Willis Halaholo is eligible for Wales through residency, while wings North and Owen Lane could be asked to move to fill the midfield position.
Blues coach John Mulivhill confirmed the national coaches had already spoken to Halaholo.
"His attack is right up there and his defence has improved this year - that's one of his big work-ons through the new Welsh coaches, who've spoken to him," said Mulvihill.
Patchell picked up his injury in the second-half of the 40-17 defeat by New Zealand and faces a race to be involved in any of Wales' Six Nations matches next year.
Sam Davies recall?
Wales are already without fellow fly-half Gareth Anscombe for the tournament after the Ospreys back picked up a knee injury in August.
Wayne Pivac will take charge of his first Wales game against a Barbarians team coached by Warren Gatland.
With Northampton fly-half Dan Biggar unavailable for this fixture because he plays his club rugby outside Wales, Cardiff Blues' Jarrod Evans would be the favourite to wear the Wales 10 jersey.
Sam Davies is the only other Wales capped fly-half with a Welsh region after moving from the Ospreys to the Dragons and is ready to rekindle his to rekindle his international career, according to the region's assistant coach Ceri Jones.
"I've been over the moon with Sam since he's come in," he said.
"He's given us real leadership on the field and been a massive asset to us. He's marshalled the game really well and I think he could do a fantastic job for Wales."


The channel is already live, the program schedule has been rotated so that the currently-playing program is at the top of the list.
Tools to modify the schedule. {{ showHelp ? "Hide Help" : "Show Help" }}
Alternates TV shows in blocks of episodes. You can pick the number of episodes per show in each block and if the order of shows in each block should be randomized. Movies are moved to the bottom.
Completely randomizes the order of programs.
Like Random Shuffle, but tries to preserve the sequence of episodes for each TV shows. If a TV show has multiple instances of its episodes, they are also cycled appropriately.
Sorts the list by TV Show and the episodes in each TV show by their season/episode number. Movies are moved to the bottom of the schedule.
Sorts everything by its release date. This will only work correctly if the release dates in Plex are correct. In case any item does not have a release date specified, it will be moved to the bottom.
Attempts to make the total amount of time each TV show appears in the programming as balanced as possible. This works by adding multiple copies of TV shows that have too little total time and by possibly removing duplicated episodes from TV shows that have too much total time. Note that in many situations it would be impossible to achieve perfect balance because channel duration is not infinite. Movies/Clips are treated as a single TV show. Note that this will most likely result in a larger channel and that having large channels makes some UI operations slower.
Similar to Balance TV Shows, but this allows you to pick the weights for each of the shows, so you can decide that some shows should be less frequent than other shows. It has similar caveats as "Balance Shows".
Adds a "Flex" Time Slot. Can be configured to play a fallback screen and/or random "filler" content (e.g "commercials", trailers, prerolls, countdowns, music videos, channel bumpers, etc.). Short Flex periods are hidden from the TV guide and are displayed as extensions to the previous program. Long Flex periods appear as the channel name in the TV guide. Normally this is not the best way to add Flex time, and you'd be better off using the Pad Times, Restrict Hours or Add Breaks features. This one is for adding specific, single instances of flex time.
The channel's regular programming between the specified hours. Flex time will fill up the remaining hours.
Adds Flex breaks after each TV episode or movie to ensure that the program starts at one of the allowed minute marks. For example, you can use this to ensure that all your programs start at either XX:00 times or XX:30 times. Removes any existing Flex periods before adding the new ones. This button might be disabled if the channel is already too large.
Adds Flex breaks between programs, attempting to avoid groups of consecutive programs that exceed the specified number of minutes. This button might be disabled if the channel is already too large.
Divides the programming in blocks of 6, 8 or 12 hours then repeats each of the blocks the specified number of times. For example, you can make a channel that plays exactly the same channels in the morning and in the afternoon. This button might be disabled if the channel is already too large.
The "Save" button saves the current episodes that are next to be played for each tv show. Then whenever you click the "Recover Episode Popsitions" button, episodes will be rearranged cyclically and they will start with the saved positions. So you can maintain episode sequences even after modifying the channel. If there are any new TV shows, they will start at their current positions. Movies and specials won't change positions.
Makes multiple copies of the schedule and plays them in sequence. Normally this isn't necessary, because dizqueTV will always play the schedule back from the beginning when it finishes. But creating replicas is a useful intermediary step sometimes before applying other transformations. Note that because very large channels can be problematic, the number of replicas will be limited to avoid creating really large channels.
Like "Replicate", it will make multiple copies of the programming. In addition it will shuffle the programs, but it will make sure not to have too small a distance between two identical programs.
Adds a channel redirect. During this period of time, the channel will redirect to another channel.
Will redirect to another channel while between the selected hours.
Removes repeated videos.
Removes any Flex periods from the schedule.
Removes any specials from the schedule. Specials are episodes with season "00".
Allows you to pick specific shows to remove from your channel.
Wipes out the schedule so that you can start over.


What is a responsive site and why is it important?
Responsive sites are sites that are designed to create an optimal experience for the user, no-matter what type of device they are using. This is important as screen resolution varies considerably across devices. A responsive site will change to accommodate the change in available space. A responsive site should be easy to read and navigate with a minimum amount of scrolling anf re-sizing. Generally the content would be the same, but in some cases a smaller screen may have simpler content while a larger screen might show a more fully featured version.


Work With Us
What do you want to talk about?
RT Rewards
Alliances
Tycoon Solutions
Biz-In-Design
General Enquiry
Press Enquiry
Name
Company/Brand
Title
Email
Phone
Facebook/Twitter Handle
Where are you based/located?
How did you hear about us?
What are you looking to achieve?
Did we miss anything?/Anything else you would like to add?
Submit


DKEnrichedAir
public final class DKEnrichedAir : DiveCalculator
A DiveCalculator
to perform calculations involving Enriched Air Nitrox, EANx.
Since
1.0-
Calculates the maximum operating depth of a specified gas and maximum partial pressure of oxygen.
Example
let enrichedAirCalculator = DKEnrichedAir.init(with: diveKit) do { let gas = try Gas.enrichedAir(32) // Calculate MOD for EANx32 with maximum fraction oxygen of 1.4 let maximumOperatingDepth = try enrichedAirCalculator.maximumOperatingDepth(fractionOxygen: 1.4, gas: gas) print(maximumOperatingDepth.value) // 111.375 } catch { // Handle Error print(error.localizedDescription) }
Since
1.0Declaration
Swift
public func maximumOperatingDepth( fractionOxygen: FractionOxygen, gas: Gas ) throws -> Calculation
Parameters
fractionOxygen
Double representing the maximum partial pressure of oxygen.
gas
Gas
representing the gas to be used for calculation.Return Value
Calculation
representing the maximum operating depth for specified gas and maximum partial pressure of oxygen. -
Calculates the equivalent air depth of a specified gas and maximum partial pressure of oxygen.
Example
let enrichedAirCalculator = DKEnrichedAir.init(with: diveKit) do { let gas = try Gas.enrichedAir(32) // Calculate EAD for EANx32 at 109 feet let equivalentAirDepth = try enrichedAirCalculator.equivalentAirDepth(depth: 109, gas: gas) print(equivalentAirDepth) // 89.23 } catch { // Handle Error print(error.localizedDescription) }
Since
1.0Declaration
Swift
public func equivalentAirDepth( for depth: Depth, with gas: Gas ) throws -> Calculation
Parameters
depth
Double representing the depth to be used for calculation.
gas
Gas
representing the gas to be used for calculation.Return Value
Calculation
representing the equivalent air depth for specified gas and depth. -
Calculates the best blend of enriched air, EANx, for a given fraction of oxygen and a given depth.
Throws
DiveKit.ErrorExample
let enrichedAirCalc = DKEnrichedAir.init(waterType: .saltWater, measurementUnit: .imperial) do { // Calculate 'best blend' for to 90 feet with maximum fraction oxygen of 1.4 let bestBlend = try enrichedAirCalc.bestBlend(for: 90, fractionOxygen: 1.4) print(bestBlend.percentOxygen) // 37.0 (% oxygen) } catch { // Handle Error print(error.localizedDescription) }
Since
1.0Declaration
Swift
public func bestBlend( for depth: Depth, fractionOxygen: FractionOxygen ) throws -> Gas
Parameters
depth
Double presenting a depth.
fractionOxygen
Double representing the fraction of oxygen.
Return Value
Gas
representing the calculated best blend for the given dive. -
Calculates if the specified blend of enriched air, EANx, exceeds the maximum operating depth of specified depth and maximum partial pressure of oxygen.
Example
let enrichedAirCalc = DKEnrichedAir.init(waterType: .saltWater, measurementUnit: .imperial) do { let gas = try Gas.enrichedAir(32) // Calculate if 127 feet exceeds MOD for EANx32 at maximum fraction of oxygen of 1.4 let exceedsMod = enrichedAirCalc.exceedsMaximumOperatingDepth(with: gas, fractionOxygen: 1.4, depth: 127) print(exceedsMod) // true } catch { // Handle Error print(error.localizedDescription) }
Since
1.0Declaration
Swift
public func exceedsMaximumOperatingDepth( with gas: Gas, fractionOxygen: FractionOxygen, depth: Depth ) -> Bool
Parameters
fractionOxygen
Double representing the maximum partial pressure oxygen.
depth
Double presenting a depth.
gas
Gas
representing the gas to be used for calculation.Return Value
Boolean determining if depth exceeds maximum operating depth for specified
Gas
. -
Calculates the maximum operating depth of a specified gas and maximum partial pressure of oxygen.
Example
let enrichedAirCalc = DKEnrichedAir.init(waterType: .saltWater, measurementUnit: .imperial) let gas = DKGas.enrichedAir(percentage: 32) do { // Calculate MOD for EANx32 with maximum fraction oxygen of 1.4 let mod = try enrichedAirCalc.maximumOperatingDepth(fractionOxygen: 1.4, gas: gas) print(mod) // 111 (feet) } catch { // Handle Error print(error.localizedDescription) }
Since
1.0Declaration
Swift
@available(*, deprecated, renamed: "maximumOperatingDepth(fractionOxygen:gas:﹚") public func maximumOperatingDepth( fractionOxygen: FractionOxygen, gas: Gas, decimalPlaces: Int = 2 ) throws -> Double
Parameters
fractionOxygen
Double representing the maximum partial pressure of oxygen.
gas
Gas
representing the gas to be used for calculation.decimalPlaces
Integer representing the desired number of decimal places to return.
Return Value
Double representing the maximum operating depth for specified gas and maximum partial pressure of oxygen.
-
Calculates the equivalent air depth of a specified gas and maximum partial pressure of oxygen.
Example
let enrichedAirCalc = DKEnrichedAir.init(waterType: .saltWater, measurementUnit: .imperial) let gas = DKGas.enrichedAir(percentage: 32) do { // Calculate EAD for EANx32 at 109 feet let ead = try enrichedAirCalc.equivalentAirDepth(depth: 109, gas: gas) print(ead) // 89 (feet) } catch { // Handle Error print(error.localizedDescription) }
Since
1.0Declaration
Parameters
depth
Double representing the depth to be used for calculation.
gas
DKGas
representing the gas to be used for calculation.decimalPlaces
Integer representing the desired number of decimal places to return.
Return Value
Double representing the equivalent air depth for specified gas and depth.


In this assignment, you will build a text classifier of movie reviews, and then deploy the text classifier as a chatbot on Telegram to allow other people to use it. The task you will be working on is a binary classification problem: given a movie review, determine if it is positive or negative.
We will use a dataset of movie reviews collected from IMDb, which is a movie database where Internet users can leave their comments about movies. The dataset can be obtained from the following Webpage: http://ai.stanford.edu/~amaas/data/sentiment/.
Some descriptions of the dataset:
You will have to submit a Jupyter notebook for this task, which shows all your steps for training and evaluating the text classification model.
What you will have to do:
CounterVectorizer
to vectorize the input data and train a naive Bayes classifier using the training dataTfidfVectorizer
insteadLogisticRegression
class in scikit-learn instead of a naive Bayes modelYou should keep all the steps and results in the same Jupyter notebook for submission.
Your next task is to deploy the selected model so that other people can use it. To skip the troubles of developing a UI for the application, you will deploy the models as a Telegram bot. Check the Telegram bot platform https://telegram.org/blog/bot-revolution and the Telegram Bot API https://core.telegram.org/bots/api.
Check also the Telepot framework for developing Telegram Bot in Python https://github.com/nickoala/telepot.
Firstly, you should create a Telegram bot by following the instructions at https://core.telegram.org/bots#3-how-do-i-create-a-bot. This bot will be used in latter assignments as well. If you are enrolled in IEMS5780, name your bot iems_xxxxxx where xxxxxx is your student ID.
You can easily develop a program that continuously consumes messages from a user on Telegram, process the messages, and sends back responses to the user. Below is an example bot, which will simply echo what was sent by the user.
import time
import telepot
from telepot.loop import MessageLoop
def handle(msg):
"""
A function that will be invoked when a message is
recevied by the bot
"""
content_type, chat_type, chat_id = telepot.glance(msg)
if content_type == "text":
content = msg["text"]
reply = "You said: {}".format(content)
bot.sendMessage(chat_id, reply)
if __name__ == "__main__":
# Provide your bot's token
bot = telepot.Bot("YOUR_TELEGRAM_BOT_TOKEN")
MessageLoop(bot, handle).run_as_thread()
while True:
time.sleep(10)
Your bot should fulfil the following requirements:
handle
function. It should only be loaded once when the script is executed.Below is an example of inputs and outputs:
Input : This is a wonderful movie!
Output : This is a positive review! (0.89)
Input : I will not recommend this movie to my friends
Output : This is a negative review! (0.76)
Note: You do not need to keep your script running for marking. We will execute the script to test if necessary. Make sure you have the telegram bot token written inside the source code.
You should prepare two files to be submitted for this assignment:
You should put these two files in a folder named


Ernakulam: The"Heart of Kerala"
Ernakulam is the central district in Kerala and is home to its financial and industrial capital, Kochi. The district is considered as the economic and political hub of Kerala. The Cochin Stock Exchange, Kerala Municipal Corporation and Kerala High Court also fall within this district. While it is the most industrial area in Kerala, it also boasts of wonderful tourist attractions that connect man to nature and God. Keeping a strong balance between nature, faith and industry, Ernakulam remains the heart of Kerala.
Top Destinations
Cherai Beach
Mattancherry Palace
Paradesi Synagogue
Willingdon Island
Ernakulam is the central district in Kerala and is home to its financial and industrial capital, Kochi. The district is considered as the economic and political hub of Kerala. The Cochin Stock Exchange, Kerala Municipal Corporation and Kerala High Court also fall within this district. While it is the most industrial area in Kerala, it also boasts of wonderful tourist attractions that connect man to nature and God. Keeping a strong balance between nature, faith and industry, Ernakulam remains the heart of Kerala.
Top Destinations
Cherai Beach
Mattancherry Palace
Paradesi Synagogue
Willingdon Island


Click "Stop" to prevent the first function to execute.
(You must click "Stop" before the 3 seconds are up.)


fun isWorkingDay(date: LocalDate): Boolean
Determines whether the given date is a working day.
date - the date to determine whether its a working day
date
Return true if the date given is a working day


Secured by Ethereum Classic: the smart contract cannot be changed or controlled. Uses the original P3D contract. Learn more on our Wiki!
Please use Saturn Wallet to interact (disable Metamask while using).
1. You buy into the contract by purchasing P3C, every token purchased increases the P3C price by +0.00000001 ETC.
2. 10% of what you spend to buy the P3C gets distributed proportionally to all other P3C holders.
3. When you sell your P3C, you get back ETC at the specified price, and the global price per P3C goes down by -0.00000001 ETC.
4. 10% of what you would get back for the sale is distributed to all other P3C holders proportionally.


Nothing disabled
Ok
Fieldset Disabled
Button Disabled
fieldset disabled
Ok
Fieldset Disabled
Button Disabled
Button disabled
Ok
Fieldset Disabled
Button Disabled
Both disabled
Ok
Fieldset Disabled
Button Disabled


Google Earth Enterprise Documentation Home | Fusion resources and projects
Map buttons
If you're using version 2.x of the Maps JavaScript API, the procedure below explains how to create map buttons for GEE. However, this procedure isn't compatible with Maps API 3.x.
GEE includes a default web interface for viewing the 2D maps that you build with Fusion and host on a GEE 2D virtual server. In the example below, the left panel shows map layers that are published with the database.
Data courtesy of Thematic Mapping.org, http://thematicmapping.org/
The default interface doesn't include layer buttons like the “Maps, Satellite, Hybrid” buttons in Google Maps. However, you can do some HTML and JavaScript editing to display Maps, Imagery, and Hybrid layer buttons that are similar. The example map below displays a Maps button for its two map layers and an Imagery button for its imagery layer.
Data courtesy Thematic Mapping.org, http://thematicmapping.org/
To create buttons like this, associate the Maps, Imagery, and Hybrid (Show Labels) buttons with map types that you define with GMapType
. In Google Maps, map types are constants that can be called directly. However, in GEE you need to use GMapType
to define map types in the interface itself because the map and imagery layers are different for each map.
To define map types in GEE:
- Use
GFusionTileLayer
to define a new tile layer for each map or imagery layer.GFusionTileLayer
can directly reference the array where the map and imagery layers are stored. - Pass these two constructors to the
GFusionTileLayer
class:- The URL of the hosting server.
- The layer definition. The definition includes information like the version of the tiles, the channel ID number, and whether the tiles are in PNG format.
- Specify which layer in the
geeServerDefs
array to select for eachGFusionTileLayer
object.- The imagery layer is layer 0.
- The maps layer is layer 1.
- The hybrid (Show Labels) layer is layer 2.
var imagery_map_layer = new GFusionTileLayer(geeServerDefs.serverUrl, geeServerDefs.layers[0]);
var painted_map_layer = new GFusionTileLayer(geeServerDefs.serverUrl, geeServerDefs.layers[1]);
var labels_layer = new GFusionTileLayer(geeServerDefs.serverUrl, geeServerDefs.layers[2]);You can access the server definitions and other information about map and imagery layers directly from a web browser by using a URL in this format:
http://yourserver.org/virtual-server-name/query?request=Json&vars=geeServerDefs
. Responses will look like the image below:This data can also be returned by using the optional
v
parameter.ov=1
returns the data in the format shown in the image above.v=2
returns the data in the JSON format.- A query without the
v
parameter acts asv=1
.
A example of a query using the
v
parameter:http://<GEE earth server>/<database_publish_point>/query?request=Json&v=2
- Associate layers with buttons by using the
GMapType
class to define a map type for each of theGTileLayer
objects. See the example below:var painted_map_type = new GMapType([painted_map_layer],new LatLngProjection(MAX_ZOOM_LEVEL),"Maps");
var imagery_map_type = new GMapType([imagery_map_layer],new LatLngProjection(MAX_ZOOM_LEVEL),"Imagery");
var labels_map_type = new GMapType([imagery_map_layer, labels_layer],new LatLngProjection(MAX_ZOOM_LEVEL),"Hybrid"); - Use the
.addMapControl()
method to add each map type and its associated button to the map:map.addMapType(painted_map_type);
map.addMapType(imagery_map_type);
map.addMapType(labels_map_type); - Remove the predefined Google Maps map types below so that the buttons display correctly:
map.removeMapType(G_SATELLITE_MAP);
// Remove the default Satellite Map Type button
map.removeMapType(G_HYBRID_MAP);
// Remove the default Hybrid Map Type button
map.removeMapType(G_NORMAL_MAP);
// Remove the default Map Type button - Add controls (like the zoom bar, the navigation bar, an overview map, and zooming options) to the map:
map.addControl(new GSmallMapControl());
map.addControl(new GOverviewMapControl());
map.addControl(new GScaleControl());
map.enableScrollWheelZoom(); map.enableContinuousZoom();
Display a drop-down menu instead of buttons
You can show a drop-down menu for the map layers instead of the side-by-side buttons, as shown below.
|
Standard map type buttons |
Drop-down menu for map types |
To accomplish this, replace the GHierarchicalMapTypeControl
call with a GMenuMapTypeControl
.
Maintenance considerations
The layer ordering in geeServerDefs
changes for each new version, so if you add more map layers or reorder the existing map layers in your 2D Map Database after you implement the HTML page, you must also update your GFusionTileLayer
definitions so that the GEE Server requests the correct layer.
Make the HTML example the default display
You can set the example HTML file as the default view by changing one of the settings in the server configuration file. See below for an example of a location-based 2D virtual server configuration file.
In this example, the server is hosted at
http://machine123.company.internal/mapexample - /opt/google/gehttpd/conf.d/virtual_servers/example.location
.
# The mapexample virtual server
RewriteRule ^/mapexample$ /mapexample/ [R]
RewriteRule ^/mapexample/+$ /maps/maps_local.html [PT]
RewriteRule ^/mapexample/+maps/+mapfiles/(.*)$ /maps/mapfiles/$1 [PT]
<Location "/mapexample/*">
SetHandler gedb-handler Include conf.d/virtual_servers/runtime/example_runtime
</Location>
In the example above, the second RewriteRule specifies that the /maps/maps_local.html
web page is loaded whenever users visit the virtual server URL http://machine123.company.internal/mapexample
.
You can change this setting to load a different web page:
# The mapexample virtual server
RewriteRule ^/mapexample$ /mapexample/ [R]
RewriteRule ^/mapexample/+$ /maps/gmaps_buttons.html [PT]
RewriteRule ^/mapexample/+maps/+mapfiles/(.*)$ /maps/mapfiles/$1 [PT]
<Location "/mapexample/*">
SetHandler gedb-handler Include conf.d/virtual_servers/runtime/example_runtime
</Location>
After you make changes to the file, restart the GEE Server to reload the configuration file and implement the change.
Access the imagery tiles hosted from another GEE 2D virtual server
You can use the GTileLayer
Maps API class to access the web page for imagery layers that are published from different GEE servers. Then you can follow the same instructions above to assign the layer to a custom map type and display a button for it on your map.
Data used to build the map and imagery tiles
Map data
You can obtain a complete copy of the 2D Map layer display rules from the Google Earth Enterprise Google Group Files section. The maps and hybrid (Show Labels) map layers were built from three different datasets:
- Global borders (filled and outlined) in the maps and hybrid layers were created from the the Thematic Mapping World Borders dataset, available under a Creative Commons license at http://thematicmapping.org/downloads/world_borders.ph
- USA state boundaries in the maps and hybrid layers were created from the USA States borders vector data hosted by the National Atlas of the USA (now called the National Map). You can download state boundaries from https://nationalmap.gov/small_scale/atlasftp.html.
- The background water that is visible in the maps layer was created with a global KML file. You can obtain the KML water file from the Google Earth Enterprise Google Group Files section.
Imagery data
Imagery for the globe was built from two different sources:
- BlueMarble 500-meter global imagery (combined surface and bathymetric imagery) was used as the backdrop for the image.
- A reduced resolution (120-meter) version of imagery from the Premium Globe dataset was used for land imagery.


|
Nabu-asr
|
Nabu has several computing modes. If you train or test a model, you will use one of these modes to do the computation. You can choose the computation mode by poining to a configuration file in config/computing in your scripts. Some of these computing modes are distributed computing modes. For distributed computing modes you can use multiple devices in parallel. For these modes there are 2 kinds of jobs: 1) A parameter server job simply holds the parameters of your model and shares them wit the other devices. Multiple parameter servers are possible, in this case the parameters will be devide among the servers. A parameter will normally run on CPU. 2) A worker job reads parameters from the parameter server, does the actual computation and submits gradients back to the parameter server to update the parameters. Multiple workers can work in parallel. A worker job normally runs on a GPU.
The standart computing modes do not use a distributed comuting system (Like HTCondor or Kubernetes) but rely on the user to determine on what machines they want to run the scripts.
The non distributed mode will run on a single device. This is the simplest mode of computation. you can choose this mode py pointing to config/computing/standart/non_distributed.cfg. The script will run on the device its called from.
The Single machine mode will run on multiple devices within a single machine. you can choose this mode py pointing to config/computing/standart/single_machine.cfg. In the configuration you can choose the amount of parameter servers and workers. It is advised that the amount of workers does not exceed the number of GPUs in the machine. The script will run on the device its called from.
The Multi machine mode will run on multiple devices that do not need to be in the same machine. To run this mode you should first create a cluster file. In the cluster file there should be one line per job. This line contains the type of job (ps or worker), the adress of the machine, a network port for communication and a GPU this job should run on (may be empty). An example cluster file for 2 parameter servers and 3 workers is:
You can the use this mode by pointing to config/computing/standart/multi_machine.cfg. In this config you should point to the cluster file you created.
The Condor compute modes use HTCondor to select the machines to run the scripts on instead of relying on the user to do this. The same computing modes are possible with Condor as he standar compute modes. The configurations can be found in config/computing/condor. Before you can start using condor you should create the create_environment.sh script in the nabu/computing/condor/ directory. This file should create the necesarry environment variables (like PYTHONPATH) and then execute its arguments. An example script:


Text encoding errors
Hextrapolate only allows you to type numbers and letters that are valid for the selected text encoding.
If a character you type is rejected Hextrapolate will show information about it in a tool-tip:
Hextrapolate only allows you to type numbers and letters that are valid for the selected text encoding.
If a character you type is rejected Hextrapolate will show information about it in a tool-tip:


AMAZING PEOPLE ARE MAKING AMAZING DESIGNS IN A FUN ENVIRONMENT
When you work with us,you are part of a team of committed collaborators.All aspects of our software development
process are integrated,interactive
and agile.
Our approach unifies design,development and product management to create expeptional products.
We start each project by understanding your business goals, the user's needs and the product requirements
Then we help transalte them into effective and elegant solutions.
Before we sign a contract or write a line of code our team will spend the necessary time needed to understand your product vision.
The outcome of this scoping session is proposal or high-level statement of work
based on your
requirements,we can provide accomplete offering or just the pieces you need.
Our design practice offers a full range of services including brand strategy, interaction and visual design and user experience testing. Throughout your project, our designers create and implement visual design and workflows, solicit user feedback and zork with you to make sure what gets built is what is needed
All engineers are fluent in the latest enterprise, mobile and web development technologies. They collaborate with your team to write, and improve code on a daily basis, using proven practices such as test-driven development and pair programming.
Planning and development is iterative. Because we are constantly coding and testing, the products we build are always ready to go live. This iterative process allows for changes as business requirements evolve.
Work four
Work three
Work two
Work one
Work five
Work six
Work seven
Work eight


MBBImage
@interface MBBImage : NSObject
Object which represents an image.
-
UIImage of wrapped image. If this MBBImage wasn’t created with UIImage, UIImage will be created with first access of this property.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) UIImage *image;
Swift
var image: UIImage? { get }
-
Region of the image used for scanning, where the whole image is specified with CGRectMake(0.0, 0.0, 1.0, 1.0).
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite) CGRect roi;
Swift
var roi: CGRect { get set }
-
Processing orientation of image. This is used in OCR where you can specify character orientation.
Default: MBBProcessingOrientationUp
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite) MBBProcessingOrientation orientation;
Swift
var orientation: MBBProcessingOrientation { get set }
-
Tells whether camera input images should be mirrored horizontally before processing
Default: NO
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite) BOOL mirroredHorizontally;
Swift
var mirroredHorizontally: Bool { get set }
-
Tells whether camera input images should be mirrored vertically before processing
Default: NO
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite) BOOL mirroredVertically;
Swift
var mirroredVertically: Bool { get set }
-
If YES, the image will prior to processing go through frame quality estimation phase, which might discard the frame
Default: NO.
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite) BOOL estimateFrameQuality;
Swift
var estimateFrameQuality: Bool { get set }
-
Property which tells if this frame is a camera or a single photo frame. This is important for image processing.
Default: YES if created with CMSampleBuffer, NO if created with UIImage
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite) BOOL cameraFrame;
Swift
var cameraFrame: Bool { get set }
-
Creates MBBImage around UIImage.
Declaration
Objective-C
+ (nonnull instancetype)imageWithUIImage:(nonnull UIImage *)image;
Swift
convenience init(uiImage image: UIImage)
-
Creates MBBImage around CVImageBufferRef.
Declaration
Objective-C
+ (nonnull instancetype)imageWithCmSampleBuffer: (nonnull CMSampleBufferRef)buffer;
Swift
convenience init(cmSampleBuffer buffer: CMSampleBuffer)
-
Creates MBBImage around CVPixelBufferRef.
Declaration
Objective-C
+ (nonnull instancetype)imageWithCvPixelBuffer:(nonnull CVPixelBufferRef)buffer;
Swift
convenience init(cvPixelBuffer buffer: CVPixelBuffer)


Important
Notify is retiring with our last day of operation on 4 July 2021. Contact us via our
support
for any queries.
404 - Not found


COVID-19 Cases COVID-19 Cases
| kind | link | text |
|---|---|---|
| link | https://www.instagram.com/USVIDOH | |
| link | https://www.vi.gov/ | US Virgin Islands |
| link | https://www.usa.gov/ | US Government |
| link | https://doh.vi.gov/programs/epidemiology-disease-reporting/current-outbreaks | |
| link | https://doh.vi.gov/about-us/career-opportunities | |
| link | https://www.usvihurricanetaskforce.org/ | |
| link | https://nhsc.hrsa.gov/ | |
| link | http://floridapoisoncontrol.org/ | Poison Help |
| link | https://doh.vi.gov/nhsc-policy |


What are nouns? Nouns are words are used to identify a name, place, animal or thing. It is needless to say that they are extremely important to know, atleast a handful, of basic nouns. If visiting a place where Tulu is the main language, by knowing a good amount of basic nouns, you will be able to refer to something you want or a place you want to get to and will be able to get guidance from a local. Here is a list of basic nouns for you to learn:
| English | Tulu Pronunciation |
|---|---|
| Lion | simha |
| Tiger | pili |
| Cheetah | chiratae/chiTTae pili |
| Bear | karoDi |
| Camel | voNTae |
| Cat | puchchae |
| Dog | nAyi |
| Deer | jinkae |
| Donkey | kattae |
| Elephant | Anae |
| Pig | panji |
| Goat | ED' |
| Sheep | kuri |
| Monkey | manga |
| Bull | bOri |
| Mother / Mummy | appae / amma |
| Father / Daddy | amme / poppa |
| Mother and Father / Parents | appae-amme |
| Son | mage |
| Daughter | magal |
| Child/Kid/Baby | bAlae |
| Children | bAlelu / jOkulu |
| Mother and Daughter | appae-magal |
| Father and Son | amme-mage |
| Mother and Children | appae-jOkulu |
| Elder brother | palaye / aNNe |
| Elder sister | paldi/pali/akka |
| Younger brother | megye |
| Younger sister | megdi / tangaDi |
| Brothers | megye-palayallu |
| Sisters | megdi-paliyallu |
| Brother and Sister | tage-tangaDi |
| Grand Father | ajje |
| Grand Mother | ajji |
| Great grand mother | pijje |
| Great grand mother | pijji |
| Grand child (Grand son or Grand daughter) | pulli |
| Great grand child | talli |
| Husband | kaNDane /kaNDani |
| Wife | boDedi |
| Husband and Wife | kaNDani-boDedi |
| Father in law / Father’s sister’s husband | mAma |
| Maternal Uncle (Mother’s brother) | tammalae / mAma |
| Mother in law / Paternal Aunt (Father’s sister or Mother’s brother’s wife) | mAmi |
| Son in law | marmaye |
| Nephew (Sister’s son) | arvatte |
| Daughter in law / Niece (Sister’s daughter) | marmal |
| Father in law and Son in law | mAmu-marmaye |
| Mother in law and Daughter in law | mAmi-marmal |
| Uncle (Mother’s brother) and Nephew (Sister’s son) | tammalae-arvatte |
| Mother’s elder sister / Father’s elder brother’s wife | periyappae / mallamma / doDDamma |
| Father’s elder brother / Mother’s elder sister’s husband | periyamme / doDDappa |
| Mother’s younger sister / Father’s younger brother’s wife | tiddappae / elyamma / chikkamma |
| Father’s younger brother / Mother’s younger sisters husband | tiddamme / chikkappa |
| Brother in law (Elder sister’s husband / husband’s elder brother) | bhAve |
| Sister in law (Elder brother’s wife / husband’s elder sister) | attai / attigae / bhAbhi |
| Brother in law (Wife’s brother / Husband’s brother / younger sister’s husband) / Cousin (Mother's brother's son and Father's sister's son) | maitine |
| Sister in law (Wife’s sister / Husband’s sister / younger brother’s wife) / Cousin (Mother's brother's daughter and Father's sister's daughter) | maitidi |
| Relatives | sammandiker |
| Relation | sammanda |
| Family | kuTuma |
| Guests | binner |
| Friends | ishTer |
| Relationship of connection by marriage | podu |
| Parents in law / relatives by marriage | podder |
| Friend / friendship | dOsti |
| Marriage/Wedding | madimae |
| Bride | madimal |
| Groom | madimaye |
| Engagement | nishchaya |
| Pregnant woman | banjinAl |
| A lying-in woman | pedmedi |
| Infant (newborn child) | puru bAlae |
| Twins | amar |
| Baby shower ceremony | bAykae |
| Home/house | ill |
| House-warming ceremony | illokkel |
| Parental house of a girl | appae-ill / tamerill |
| Elder son/daughter | malla mage/magal |
| Younger son/daughter | elya mage/magal |
| The Eldest or first born son/daughter | kaDira mage/magal |
| The second among three brothers / Intermediate person | naDuvane |
| April–May | paggu |
| May–June | bEsa |
| June–July | kArtel |
| July–August | ATi |
| August–September | sONa |
| September–October | nirnAla |
| October–November | bontel |
| November–December | jArdae |
| December–January | perArdae |
| January–February | ponni / puyintel |
| February–March | mAyi |
| March–April | suggi |
| Summer / Hot season | aregAla |
| Rainy Season / Monsoon | maryAla |
| Winter / Cold season | chaligAla |
| Wind | gAli |
| Wind blowing towards the shore | karae gAli |
| Storm | birugAli |
| Hot wind | eri gAli |
| Cool breeze | simagAli |
| Whirl wind | suligAli |
| Rain | barsa |
| Cloud | mugal |
| Cold | chali |
| Sunny / sunshine | dombu |
| Hot | sekae |
| Perspire / sweat | begar |
| To perspire | begapu (begapuni) |
| Flood | bolla |
| High tide | ertae / dinjel |
| Low tide | jappel |
| clearing of the sky from clouds and the sun is coming out after shower | bolkkir |
| Lighting | menchi |
| Thunder | teDil |


A 'sparklyr' extension package providing an integration with Google 'BigQuery'. It supports direct import/export where records are directly streamed from/to 'BigQuery'. In addition, data may be imported/exported via intermediate data extracts on Google 'Cloud Storage'.
| Version: | 0.1.0 |
| Depends: | R (≥ 3.3.2) |
| Imports: | sparklyr (≥ 0.7.0) |
| Suggests: | dplyr |
| Published: | 2018-08-02 |
| Author: | Mirai Solutions GmbH [aut], Martin Studer [cre], Nicola Lambiase [ctb], Omer Demirel [ctb] |
| Maintainer: | Martin Studer <martin.studer at mirai-solutions.com> |
| BugReports: | https://github.com/miraisolutions/sparkbq/issues |
| License: | GPL-3 | file LICENSE |
| URL: | http://www.mirai-solutions.com, https://github.com/miraisolutions/sparkbq |
| NeedsCompilation: | no |
| SystemRequirements: | Spark (>= 2.2.x) |
| Materials: | README NEWS |
| In views: | WebTechnologies |
| CRAN checks: | sparkbq results |
| Reference manual: | sparkbq.pdf |
| Package source: | sparkbq_0.1.0.tar.gz |
| Windows binaries: | r-devel: sparkbq_0.1.0.zip, r-release: sparkbq_0.1.0.zip, r-oldrel: sparkbq_0.1.0.zip |
| OS X binaries: | r-release: sparkbq_0.1.0.tgz, r-oldrel: sparkbq_0.1.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=sparkbq to link to this page.


Blackjack!
Current UserName:
Desired Username:
Choose your Currency:
US Dollars ($)
Euro (€)
* Please enter a Name


xed
xed is a command-line tool for performing basic text transformations. Modeled after the utility sed, xed provides an intuitive interface and supports multi-line regular expressions by default.
Example usage:
$ echo 'Hello, world!' | xed replace Hello Goodbye
Goodbye, world!
Read on to learn more.
Table of Contents
Installation
xed can run on any system that has Python 3.6 or higher installed. To install Python, refer to Python's Getting Started guide.
To install xed, run:
$ pip install xed
Overview
Getting Help
Once installed, you can use the --help
flag to learn more
about xed. For example, to see the set of commands offered, run:
$ xed --help
You can also get more information about specific commands. The following
example shows how to get more details about the
replace
command:
$ xed replace --help
Inputs
All xed commands that manipulate text read data from standard input, unless one or more file paths are provided as positional arguments. Consider this standard input example:
$ echo 'Hello, world!' | xed replace Hello Goodbye
Goodbye, world!
And this file example:
$ echo 'Hello, world!' > my-file.txt
$ xed replace Hello Goodbye my-file.txt
Goodbye, world!
Outputs
By default, the results of the commands that manipulate text are written
to standard output. If the input is one or more files, you can use the
--in-place
flag or its -i
shorthand to
overwrite the files in-place:
$ echo "Hello, world!" > my-file.txt
$ xed replace Hello Goodbye my-file.txt --in-place
$ cat my-file.txt
Goodbye, world!
Commands
replace
The replace
command takes a regular expression and replaces
each matching instance with a replacement text. For example, the
following invocation replaces all numbers with the letter
N
:
$ echo 1bbb123ccc123456ddd | xed replace [0-9]+ a
NbbbNcccNddd
xed uses the regular expression engine that powers
Python's re
module, with the
MULTILINE
and
DOTALL
options enabled.
Since xed uses the
DOTALL
option, regular expressions can match text over multiple lines:
$ cat <<EOF | xed replace '\nREPLACE\nME' ', world!'
Hello
REPLACE
ME
EOF
Hello, world!
You can also use capture groups:
$ echo repeat-me but-not-me | xed replace '(repeat-me)' '\1 \1'
repeat-me repeat-me but-not-me
For more guidance on regular expression features supported, refer to the
Python re
documentation.
delete
The delete
command is syntactic sugar for
replace
with the empty string as the replacement text.
Example usage:
$ echo delete-me but-not-me | xed delete 'delete-me '
but-not-me
Similar to replace
, you can delete multiple lines:
$ cat <<EOF | xed delete '\nDELETE\nME'
Hello, world!
DELETE
ME
EOF
Hello, world!
search
Sometimes you need to modify only files that match a regular expression
that is different than the regular expression given to the
replace
or delete
command.
grep
can be used for this kind of filtering, but it's
awkward to use because, by default, grep
's output includes
more than the file names and grep
uses a regular expression
syntax not compatible with Python's re
module.
search
simplifies this use-case. Consider this example:
$ echo 'Hello, world!' > my-file.txt
$ echo 'Goodbye, world!' > my-other-file.txt
$ xed replace world Alice $(xed search Hello *)
Hello, Alice!
Goodbye, world!
More Information
xed is authored by Aryan Naraghi. The source code is available on GitHub. xed is distributed using PyPI.


Classes are an extraordinarily powerful feature of Ruby, as befits its object-oriented design. Object-oriented languages create objects for the code to interact with, which include both variable attributes and methods which work together to define its function. Classes are a fairly standard approach to creating objects, where each class defines a set number of methods and variables, acting as a blueprint for further instances of that class to be created and manipulated with.
Classes are extremely useful when dealing with sets of data that all follow the same basic principles and can be used in the same ways, but which might be different in their individual variables or designations. They provide a catalog of methods based on these commonalities, but which might reveal the specifics of each version of the object.
While this may sound complicated in the abstract, it's a lot simpler to see how this works using a concrete example. Characters in role-playing games make for a good example of how these classes might work. Every character would be an object, which would be defined from the greater Class of Character
. When we create a new character, we provide the class with a list of attributes, such as the character's name
, gender
, level
, species
, profession
, strength
, and so on. This new Character
object would store all these variables as instance variables, which are constant for all methods that relate to this specific Character
object. Anytime the name
variable is referenced within the instance of Character
, it will recall the same value.
Now, let's add a method for calculating the value of a character's attack, based on its strength
and a modifier. This modifier can be stored as a class variable, so that every character
features the same modifier. This might be useful if we wanted to apply sweeping changes across every character, or if we wanted to set some baseline attributes for certain variables. Essentially, the difference is that every instance of a class will use the same class variables, while they would have different instance variables based on their object.
With this class based construction, it can easily compare the outputs of the same methods from different Characters
. It may run the same method to calculate the value of an attack for two different characters, and then use the comparison between them to decide who is more powerful, or who would win in a fight. By storing these attributes and methods in a related class, it becomes trivial to access them once more, or modify them as a character grows and changes.


>Class Name: TouchTreeGrid.view.FormsMulti
>Demonstrates how different formats can be easily toggled between Short-form and Long-form. Refer to ./TTG_Forms/TTG_Forms.pdf for detailed documentation.


If you don't have an E-Mail address, you can get help here: Free Email Accounts
Usernames can only contain letters (a-z), numbers (0-9), periods (.), and hyphens (-)


--- layout: archive title: Zulip Chat Archive permalink: /stream/113489-new-members/topic/Definition.20with.20implicit.20types.html ---
Can someone correct the syntax for this definition:
def bind_option : {Π X : Type}, {Π Y : Type},
option X → (X → option Y)
→ option Y
| option.none f := @option.none Y
| (option.some x) f := f x
What error do you get?
Also, can you enclose your code between three ticks:
```lean -- your code here ```
def bind_option {X : Type} {Y : Type} : option X → (X → option Y) → option Y | option.none f := @option.none Y | (option.some x) f := f x
pattern matching is done on everything after the colon, which is why is moved the Types before the colon.
def bind_option {X : Type} {Y : Type} : option X → (X → option Y) → option Y | none f := none | (some x) f := f x
Also Pi should be out of the brackets like this Π {X Y : Type},
If you were to put the Types after the colon.
Incidentally this function exists in the library and it's called option.bind
I think
Not quite--I get the following error on the "f x" term of the last line:
function expected at
f x
term has type
option Y
perhaps you have something on the following line(s)?
after the definition
This was the problem. The error goes away if I add a period.
Usually we fix this by just having the next line start with some kind of command like def
, namespace
, or a comment. Presumably that line is giving you an error anyway otherwise
what can there be after that thing? I think all my lines start with keywords
Btw, we're thinking of not allowing function applications to stretch over empty lines in Lean 4 to fix such issues. I do hope that would not break anyone's weird code...?
I see newbie errors like this all the time (I'm currently teaching Lean to a bunch of people)
the function expects one or two more values so it just starts eating into the next command
resulting in errors which completely throw the user
{% endraw %}Last updated: Apr 24 2020 at 19:02 UTC


Check this checkbox to subscribe to our product news newsletter and other
updates. We'll send updates once a month and promise we won't spam you.
This website uses performance, functionality and targeting cookies. If you
check this checkbox, you consent to the use of cookies.


To become an Arbalester, you must be higher than level 40 and have obtained a letter of recommendation from Master Lindy.
You do not meet either requirement.


Check your codes instantaneously with REPL
$ brew install scribbler
$ apt-get install scribbler
$ gem install scribbler
Start writing your notes immediately in any terminal! No more time wasted on navigating and opening your text editor.
Save your file in Dropbox then you can access to it from anywhere.
Encrypt your notes optionally. No one can get to your secrets!
Maintain all your settings in a single config.json file. Never need to redo the setting every single time jotting down a note.
For better readability, scribbler has a clean, beautiful color scheme allow you to scan files fast.
You can expect common keybindings for scribbler. Customize bindings.json for your own liking!
Read our documentation for advanced keybindings and customization
DocumentationAccumsan pellentesque commodo blandit enim arcu non at amet id arcu magna. Accumsan orci faucibus id eu lorem semper nunc nisi lorem vulputate lorem neque lorem ipsum dolor.


20 February, 2016
You might experience that frustrating feeling quite often : you’re talking to someone, who’s not really paying attention because they are looking at their smartphone or computer. It can be infuriating, and it’s mostly rude, but it’s not necessarily this person’s fault. We do live surrounded by screens that are made for one user only.
Don’t get me wrong, I love being able to access any information on my smartphone.  But sometimes, that can drag me apart from the people around me. But, hey, “I’m just answering to that email real quick, and I’m yours”. This sentence became very common and socially acceptable. Just imagine that thirty years ago, it made absolutely no sense.
Screens can be a barrier from the people around, they can be a barrier to exchange, they can be a barrier to efficient coworking, they can be a barrier to productivity!
Our beloved and hated screens are the evolution of the Personal Computers (PC). This amazing invention changed our lives 30 years ago. It was a true revolution, a machine could help us achieve any task, from basic calculation to outstanding creativity. It changed our relationship to technology forever. The combined geniuses of Apple and Microsoft shaped our perception of computers. And they changed the way people interact. Other tech companies stepped in afterwards, creating brilliant softwares and hardwares, but all within that initial paradigm that a computer is meant to be used by one person at a time.
Think of the Macintosh as a young child, just learning to speak with you, human being. It was impressive for it’s age, but it now seems elementary. Think of all the things we now take for granted: emails synchronised between devices, free messaging system, social media, real time information, Photoshop, etc. They all are to computers what creative writing is to pre-school: The next step.
But today, we stand at the awkward teenager age, where computers are not really made for co-working, sharing, co-creating with people around you. They have softwares to do that, preferably with people far enough so you don’t have to talk to them in person. But the hardware itself is not designed for efficient coworking.
It’s time the computer technology grows to the responsible adult stage, where screens and their content bring people together, where they create an intellectual and productive bond with others. We need computers to become more “multiple-users oriented”. We want them to overcome the limitation of screens and to better integrate into the material world as interactive devices. The first step in that direction was the tablets. Where the screen no longer had to be the vertical barrier it is on a Personal Computer. But tablets are not the final evolution of computing : technology can go further.
Imagine a meeting where every participant can interact with the content, directly on the table or on the wall, as he would do on a large sheet of paper. You just grab a picture and change it, while I add some notes on that graph, and we can all review it together. People would feel implicated, included and motivated.
The logical evolution from Personal Computer is Shared Computer. Technologically speaking, we have the means to reach that next step. The amazing concordance of projectors development, Internet network capacities, and software advancement opens a wide array of opportunities. We live in a world where a water heater can be connected to the internet. Why wouldn’t we be able to create a computer made for multiple users, that connect users not only virtually but also physically?
And we need to make the leap to Shared Computers so the future won’t be like Pixar’s Wall-E, where people live through their screens, absolutely oblivious of their environment.
Sci-Fi movies and books have greatly inspired us, and can show a glimpse of what may come. Think of Minority Report’s Curved interactive screen. When the movie came out in 2002, this seemed like farfetch and fascinating technology we can only dream of. But the latest Televisions are curved, all of our devices are becoming tactile. Some prototypes or very exclusive meeting devices are already able to offer an user experience close to Minority Report’s.
Even better, the amazing visual interface Tony Stark/Robert Downey Jr. used in Iron Man movies, allows them to manipulate objects, concepts and information with their body movements, like they would do with a book or a basket ball. Why would this be the realm of Sci-Fi? Hologram technology is rapidly progressing, as shown at the 2016 CES in Las Vegas. Widely-spread consoles like the Wii or the Xbox Kinect can already detect body movements. And there’s also Augmented Reality, like the Google Backed startup: Magic Leap who wants to bring magic back to the world.
Our feelings towards technology are evolving. After the first “Wow moment” we had with computers and smartphones, we now are more demanding. We want technology to adapt to us, and not the other way around.
What is yet to come is a truly adaptative, almost disappearing technology, even if always available. The perspicacity of the movie “Her” is that the most advanced tech gadgets is not tangible. It’s the ultimate computer, and yet, you can’t see it.
We are on our way to an even more adaptive and subtile tech world, where we have the screen we need, when we need it. The car we need, when we need it, as Faraday ( http://www.faradayfuture.com/) explained at CES 2016. The adjectives that come to mind when describing the future of technology are smooth, discrete, personalised yet multi-users simultaneously. This technology must be open, inclusive, and related to environment. Isn’t that exciting?
Some articles you might want to read:
Wired
Fastco Design
Smashing Magazine
The IX Designer