GenProcessClass
is the class that you will use to define the Process object of your applications. This class includes some functionality for opening and closing geodes as well as saving to and restoring from state files. Typically, your application will define its own subclass of
GenProcessClass
; this subclass will be used as your Process object and will receive all messages destined for the Process.
In this subclass you can alter the
GenProcessClass
,
ProcessClass
, or
MetaClass
messages you need. More often, however, the subclass will be used to define new messages that are application-global or that should be handled by your Process object.
1 Starting and Stopping
2 Undo Mechanism
2.1 Undo Mechanism
For information about the steps involved in stopping, starting, or restoring an application (and to get context information about the messages described below), see the GEOS Programming chapter.
Many of the following messages need
AppAttachFlags
to tell them how the process is attaching:
typedef WordFlags AppAttachFlags; #define AAF_RESTORING_FROM_STATE 0x8000 #define AAF_STATE_FILE_PASSED 0x4000 #define AAF_DATA_FILE_PASSED 0x2000 #define AAF_RESTORING_FROM_QUIT 0x1000
AppLaunchBlock
, presumably passed as an argument in the message also. If this flag is set, AAF_RESTORING_FROM_STATE will also be set.
AppLaunchBlock
contains the name of a data file that should be opened.void MSG_GEN_PROCESS_RESTORE_FROM_STATE( AppAttachFlags attachFlags, MemHandle launchBlock, MemHandle extraState);
This message is sent by the User Interface when an application is being loaded from a state file. This is sent to the process itself from
MSG_META_ATTACH
, whenever the application is being invoked as in
MSG_GEN_PROCESS_RESTORE_FROM_STATE
mode. Data passed is the same as that in
MSG_META_ATTACH
. The default handler fetches the application mode message, either
MSG_GEN_PROCESS_OPEN_APPLICATION
or
MSG_GEN_PROCESS_OPEN_ENGINE
, as saved in the application object, and sends that message to the process.
Note that the blocks passed need not be freed, as this is done by the caller upon return.
Source: Default
GenProcessClass
handler for
MSG_META_ATTACH.
Destination: Self.
Interception: Intercepted generally only so that application can retrieve previously saved data out of the state block passed.
Parameters: attachFlags Flags with information about the state and data files.
AppLaunchBlock
, or zero if none. This block contains the name of any document file passed into the application on invocation.
MSG_GEN_PROCESS_CLOSE_APPLICATION
or
MSG_GEN_PROCESS_CLOSE_ENGINE
, in some previous
MSG_META_DETACH
. Process objects often use this extra block to save global variables to state files.Return: Nothing.
void MSG_GEN_PROCESS_OPEN_APPLICATION( AppAttachFlags attachFlags, MemHandle launchBlock, MemHandle extraState);
This message is sent by the User Interface when an application is being loaded from its resource blocks. Applications will often intercept this message to set up certain things before being put on-screen. This is the handler in which, for example, you would register for certain notifications such as the quick-transfer notification.
This is sent to the process itself from
MSG_META_ATTACH
, whenever the application is being restored to application mode (as opposed to engine mode), or whenever it is being invoked as in application mode. Data passed is the same as that in
MSG_META_ATTACH
. The default handler sets the GenApplication object GS_USABLE, and brings the UI up on screen.
This message may be intercepted to open up any data file passed, before the UI for the application is actually set GS_USABLE. Note that the blocks passed need not be freed, as this is done by the caller upon return.
If you intercept this message and need to send MSG_META_QUIT from within the handler, make sure to either send the quit after calling the superclass, or send the quit via MSG_META_FLUSH_INPUT_QUEUE. (If this is not done, the system will think that an IACP connection is open, aborting the quit.)
Source:
GenProcessClass
default handler for
MSG_META_ATTACH
only.
Destination: Same object.
Interception: Frequently intercepted by an application's own process class to find out when an application is first coming alive in the system. You must pass this message on to the superclass, or the application will never come up. Be aware that the entire UI tree for the application is the equivalent of not usable (~GS_USABLE) before the superclass is called, and is usable and up on screen visually after it is called. Thus, it is best to do non-UI related things, and changing of generic attributes and hints before calling the superclass. You must wait until after calling the superclass to perform any operations which require that objects be fully usable (e.g. bringing up a dialog box). Make sure that if you send MSG_META_QUIT from within your handler that you follow the guidelines mentioned above.
Parameters: attachFlags State information about the state and data files.
AppLaunchBlock
, or zero if none. This block contains the name of any document file passed into the application on invocation.
MSG_GEN_PROCESS_CLOSE_APPLICATION
or
MSG_GEN_PROCESS_CLOSE_ENGINE
, in some previous
MSG_META_DETACH
.Return: Nothing.
MemHandle MSG_GEN_PROCESS_CLOSE_APPLICATION();
This message is sent by the User Interface whenever the application is being shut down (during a detach) and it had been launched in application (as opposed to engine) mode.
Source:
GenProcessClass
default handler for
MSG_META_DETACH
only
Destination: Self
Interception: Convenient place for code that needs to be executed before application exits, for non-engine mode cases. Superclass must be called.
Parameters: None.
Return: Handle of block to save (or NULL for none). Process objects often save global variables to a state file in an extra block. This is the handle of that block.
void MSG_GEN_PROCESS_OPEN_ENGINE( AppAttachFlags attachFlags, MemHandle launchBlock);
This is sent to the process itself from
MSG_META_ATTACH
, whenever the application is being restored to engine mode, or whenever it is being invoked as in engine mode. Data passed is the same as that in
MSG_META_ATTACH
. There is no default handler.
This message may be intercepted to open up any data file passed, before any engine commands are delivered to the process. Note that the blocks passed need not be freed, as this is done by the caller upon return.
Source:
GenProcessClass
default handler for
MSG_META_ATTACH
only.
Destination: Self.
Interception: Generally unnecessary, though can be intercepted if notification of going into this mode is necessary.
Parameters: attachFlags State of state and data files.
AppLaunchBlock
, or NULL if none. This block contains the name of any document file passed into the application on invocation.Return: Nothing.
void MSG_GEN_PROCESS_CLOSE_ENGINE();
This message is sent by the User Interface whenever the application is being shut down (during a detach) and it had been launched in "engine" mode.
Source:
GenProcessClass
default handler for
MSG_META_DETACH
only.
Destination: Self.
Interception: Convenient place for code that needs to be executed before the application exits, for engine mode cases. Superclass must be called.
MemHandle MSG_GEN_PROCESS_CLOSE_CUSTOM();
This message is sent by the User Interface whenever the application is being shut down (during a detach) and it had been launched in some custom mode (not application or engine) that
GenProcessClass
doesn't know about.
Source: Subclass of
GenProcessClass
.
Destination: Self.
Interception: Convenient place for code that needs to be executed before the application exits, for custom mode cases. Superclass must be called.
Parameters: None.
Return: Handle of block to save (or NULL for none).
MemHandle MSG_GEN_PROCESS_ATTACH_TO_STATE_FILE( AppAttachFlags attachFlags, MemHandle launchBlock);
This message is sent by the User Interface whenever the application is being attached to a state file. This message is sent when either restoring from state or detaching. May be subclassed to provide forced state behavior.
Source:
GenProcessClass
default handler for
MSG_META_ATTACH
.
Destination: Self.
Interception: May be intercepted to force use of a particular state file (by changing the name of the state file to use before calling superclass).
Parameters: attachFlags
AppAttachMode
(matches that in
AppLaunchBlock
).
AppLaunchBlock
.Return: Handle of extra block of state data (zero for none).
word MSG_GEN_PROCESS_CREATE_NEW_STATE_FILE( MemHandle appInstanceReference);
This replaces
MSG_GEN_PROCESS_ATTACHED_TO_PASSED_STATE_FILE
if no state file had been specified in that message. This message's default handler will create a new state file and attach it normally. Can be subclassed to provide forced state file usage (e.g. use a different naming scheme).
Source:
GenProcessClass
default handler for MSG_META_DETACH, if not quitting.
Destination: Self.
Interception: May be intercepted to change name of state file to create.
Parameters: appInstanceReference
Block handle to block of structure
AppInstanceReference
.
Return: VM file handle (NULL if you want no state file).
void MSG_GEN_PROCESS_DETACH_FROM_STATE_FILE( MemHandle extraState, word appStates);
This message is sent by the User Interface when the application is detaching or quitting (may or may not be attached to a state file) and the detach is nearly complete.
Source:
GenProcessClass
default handler for
MSG_META_DETACH
, if not quitting.
Destination: Self.
Interception: Not generally done. Default behavior is what you want.
Parameters: extraState Block handle of extra block to be saved (as returned from
MSG_GEN_PROCESS_CLOSE_APPLICATION
,
MSG_GEN_PROCESS_CLOSE_ENGINE
or
MSG_GEN_PROCESS_CLOSE_CUSTOM
). If the block is not transferred to the state file), it must be freed (if non-zero) by the handler for this message.
ApplicationStates
record with information about the application state.Return: Nothing.
void MSG_GEN_PROCESS_INSTALL_TOKEN();
This message is sent by the desktop to a process to get that process to install its token and moniker lists into the token database.
Source: Generally whatever geode launched this application in engine mode (e.g. GeoManager).
Destination:
GenProcessClass
object of any geode launched in engine mode.
Interception: May be intercepted to install additional tokens. Default behavior installs only application icon.
Parameters: None.
Return: Nothing.
optr MSG_GEN_PROCESS_GET_PARENT_FIELD();
This message is sent by process-libraries (such as the Spool Object Library) to find out which field object is its parent. This message will return the field of the first client of the library.
Source: Unrestricted.
Destination:
GenProcessClass
object.
Interception: Not necessary, as default behavior implements utility.
Parameters: Nothing.
Return: Parent field.
void MSG_GEN_PROCESS_SEND_TO_APP_GCN_LIST(@stack word sendFlags, EventHandle event, MemHandle block, word manufListType, ManufacturerID manufID);
This message sends the specified event to all the objects registered with the passed GCN list. This message should be subclassed by UI Controller objects.
The handler here merely sends the request on to GenApplication using
MSG_META_GCN_LIST_SEND
. Controllers should use this message, however, over direct communication with the application object, to ensure orderly updating of the list status event. One such failure case which is fixed is two target text objects, one run by the process thread in a view, the other a GenText run by the UI thread. If the GenText has the target and the user clicks quickly on view then GenText, the GenText may process both messages about the target being lost and gained before the process text object receives its gained and lost pair. If both objects sent
MSG_META_GCN_LIST_SEND
directly to the GenApplication object, the GenText's status would be wiped out by the subsequent reporting by the process text object. This problem is avoided by having both process and UI objects call here to pass status update info. This works because target changes start out ordered in the UI thread, and that order is passed on to the process thread in either of the two cases.
Source: Any object wishing to update an application GCN list. Don't use queue-order altering message flags such as MF_PLACE_IN_FRONT when sending this message. As a convention must be established for the flag MF_FORCE_QUEUE in order to ensure orderly results, the convention in use is this: Don't pass it.
A typical call should use only the MF_STACK, MF_FIXUP_DS, and/or MF_FIXUP_ES flags, if needed.
Destination:
GenProcessClass
(application process) only.
Interception: Should not generally be intercepted, as
GenProcessClass
provides correct behavior. If intercepted and not sent onto superclass, event passed must be destroyed and data block reference count decremented, to avoid leaving obsolete data on the heap.
Parameters: sendFlags Flags to pass on to
GCNListSend()
.
MemInitRefCount()
and be incremented for any new usage with
MemIncRefCount()
. Methods in which they are passed are considered such a new usage, and must have
MetaClass
handlers which call
MemDerefCount()
. Current messages supported are
MSG_META_NOTIFY_WITH_DATA_BLOCK
and
MSG_NOTIFY_FILE_CHANGE
.
GCNStandardListType
or any other word which acts as a GCN list ID.The Undo mechanism is implemented at the GenProcess level; this allows the undo mechanism to be applicable to any application or process. In general, Undo allows a process, usually within an application, but possibly within a library, to reverse changes made in the state of other objects. GEOS allows an almost unlimited number of stored and reversible Undo actions; the practical limit is somewhere around 100 actions.
Undo actions are stored within undo
chains
. These chains allow queued actions to be undone in reverse order. Each element in an undo chain is made up of an
UndoActionStruct
. These structures are usually added with an
AddUndoActionStruct
. This structure has several elements:
typedef struct { UndoActionStruct AUAS_data; optr AUAS_output; AddUndoActionFlags AUAS_flags; } AddUndoActionStruct
A chain of undo actions is stored for each object. If you want your object to recognize undo-able actions, you must add the undo actions yourself and intercept MSG_META_UNDO when those actions are played back. The object should be able to understand the data within the
UndoActionStruct
to perform the Undo action.
There are two
AddUndoActionFlags
which affect when and how undo notification occurs. If AUAF_NOTIFY_BEFORE_FREEING or AUAF_NOTIFY_IF_FREED_WITHOUT_BEING_PLAYED_BACK is set in the
AddUndoActionFlags
, it not only receives MSG_META_UNDO but also receives MSG_META_UNDO_FREEING_ACTION when the undo mechanism frees the action. You can check the flags in the
AddUndoActionStruct
passed with this message to decide what action to take.
The object wishing to register an action for undo sends the process MSG_GEN_PROCESS_UNDO_START_CHAIN. For each action in this undo chain (there may be multiple actions in a single chain) send MSG_GEN_PROCESS_UNDO_ADD_ACTION; pass this message the
AddUndoActionStruct
action of the action to add. Finally, send MSG_GEN_PROCESS_UNDO_END_CHAIN to mark the end of this undo chain. Undo chains may be nested within each other.
The messages following this section also describe supplemental behavior that you may find useful. In addition to these messages,
GenProcessClass
also provides the following routines:
GenProcessUndoGetFile()
returns a file handle of a Huge Array or DB item to hold undo information. Use this routine to get a file to put such undo information into.
GenProcessUndoCheckIfIgnoring()
allows an application or library to check whether an application is ignoring undo information; in this case, it can avoid creating unnecessary undo information.
void MSG_GEN_PROCESS_UNDO_START_CHAIN(@stack optr title, optr owner);
This message notifies the process of the start of an undo-able action. Note that all this message does is increment a count--a new undo chain is created when the count goes from zero to one. This allows a function to perform a number of undo-able actions and have them all grouped as a single undo-able action.
Source: Any object wanting to register an action for undo.
Destination:
GenProcessClass
only.
Interception: In general, should not be intercepted.
Parameters: title The null-terminated title of this action. If NULL, then the title of the undo action will be the title passed with the next UNDO_START_CHAIN.
Return: Nothing.
void MSG_GEN_PROCESS_UNDO_END_CHAIN( BooleanWord flushChainIfEmpty);
This message notifies the process of the end of an undo-able action. Note that all this message does is decrement a count--the current undo chain is terminated when the count goes from one to zero. This allows a function to perform a number of undo-able actions and have them all grouped as a single undo-able action.
Source: Any object wanting to register an action for undo.
Destination:
GenProcessClass
only.
Interception: In general, should not be intercepted.
Parameters: flushChainIfEmpty
Non-zero if you want to delete the chain if it has no actions; zero if the chain is OK without actions (actions will be added later).
Return: Nothing.
void MSG_GEN_PROCESS_UNDO_ABORT_CHAIN();
This message aborts the current undo chain, destroying all actions in place on the current chain, and instructs the undo mechanism to ignore any undo information until the current undo chain is ended. This latter behavior is needed because the current chain may be nested within several chains, so we must ignore undo chain actions until the outermost chain is ended.
Source: Unrestricted.
Destination: GenProcess object.
Interception: Do not intercept.
VMChain MSG_GEN_PROCESS_UNDO_ADD_ACTION( AddUndoActionStruct *data);
This message adds a new undo action to the current undo chain.
Source: Any object wanting to register an action for undo.
Destination:
GenProcessClass
.
Interception: In general, should not be intercepted.
Parameters:
data
Structure containing information which may be used to undo action.
Return: Will return NULL if we are ignoring undo messages.
If the value passed in
UAS_datatype
was UADT_PTR or UADT_VMCHAIN, then will return a VMChain or DBItem which may be used to undo the action. If neither of the above cases is true, return value is meaningless.
VMFileHandle MSG_GEN_PROCESS_UNDO_GET_FILE();
This message returns a VM file handle to store undo actions. This message is useful to access undo data in either a huge array or DB item. You may also use
GenProcessUndoGetFile()
to retrieve this file instead.
Source: Any object wanting to access the undo file.
Interception: Should not be intercepted.
Parameters: None.
Return: File handle of VM file with undo information.
void MSG_GEN_PROCESS_UNDO_FLUSH_ACTIONS();
This message flushes the current undo chain (frees all undo actions, notifies edit control that there is no undo item).
Source: Any object using undo.
Interception: Should not be intercepted.
Parameters: None.
Return: Nothing.
dword MSG_GEN_PROCESS_UNDO_SET_CONTEXT( dword context);
This message sets the current undo context. This allows the application to have separate undo chains associated with various documents or modes. This should be sent out before any other undo related messages. The document control automatically takes care of this when a document gets the model exclusive.
Passing NULL_UNDO_CONTEXT as the new context will trigger some zealous EC code if any other undo messages are sent while the context is null.
Source: Any object using undo.
Interception: Generally, should not be intercepted. Applications wanting to override the default behavior should at least flush out the current undo actions, as they will probably not be valid in the new context.
Parameters: context New context (this has no meaning to the undo mechanism--it's just a value).
Return: Old context.
Structures:
#define NULL_UNDO_CONTEXT 0
dword MSG_GEN_PROCESS_UNDO_GET_CONTEXT();
This message gets the current undo context.
Source: Any object using undo.
Interception: Generally, should not be intercepted.
Parameters: None.
Return: Current context.
void MSG_GEN_PROCESS_UNDO_PLAYBACK_CHAIN();
This message plays back the current undo chain, one action at a time. It simultaneously creates a "redo" chain, so the undone action can be redone.
Source: Edit control.
Interception: Generally, should not be intercepted.
Parameters: None.
Return: Nothing.
void MSG_GEN_PROCESS_UNDO_IGNORE_ACTIONS( Boolean flushActions);
This message causes a process to reject any undo messages.
Source: Edit control.
Parameters: flushActions true to flush the queue.
Interception: Generally, should not be intercepted.
void MSG_GEN_PROCESS_UNDO_ACCEPT_ACTIONS();
This message causes a process to accept undo messages again.
Source: Edit control.
Interception: Generally, should not be intercepted.
Boolean MSG_GEN_PROCESS_UNDO_CHECK_IF_IGNORING();
This message checks to see if the system is currently ignoring undo actions.
Source: Edit control.
Interception: Generally, should not be intercepted.
Parameters: None.
Return: Will return true if ignoring actions.
The Undo mechanism is implemented at the GenProcess level; this allows the undo mechanism to be applicable to any application or process. In general, Undo allows a process, usually within an application, but possibly within a library, to reverse changes made in the state of other objects. GEOS allows an almost unlimited number of stored and reversible Undo actions; the practical limit is somewhere around 100 actions.
Undo actions are stored within undo
chains
. These chains allow queued actions to be undone in reverse order. Each element in an undo chain is made up of an
UndoActionStruct
. These structures are usually added with an
AddUndoActionStruct
. This structure has several elements:
typedef struct { UndoActionStruct AUAS_data; optr AUAS_output; AddUndoActionFlags AUAS_flags; } AddUndoActionStruct
A chain of undo actions is stored for each object. If you want your object to recognize undo-able actions, you must add the undo actions yourself and intercept MSG_META_UNDO when those actions are played back. The object should be able to understand the data within the
UndoActionStruct
to perform the Undo action.
There are two
AddUndoActionFlags
which affect when and how undo notification occurs. If AUAF_NOTIFY_BEFORE_FREEING or AUAF_NOTIFY_IF_FREED_WITHOUT_BEING_PLAYED_BACK is set in the
AddUndoActionFlags
, it not only receives MSG_META_UNDO but also receives MSG_META_UNDO_FREEING_ACTION when the undo mechanism frees the action. You can check the flags in the
AddUndoActionStruct
passed with this message to decide what action to take.
The object wishing to register an action for undo sends the process MSG_GEN_PROCESS_UNDO_START_CHAIN. For each action in this undo chain (there may be multiple actions in a single chain) send MSG_GEN_PROCESS_UNDO_ADD_ACTION; pass this message the
AddUndoActionStruct
action of the action to add. Finally, send MSG_GEN_PROCESS_UNDO_END_CHAIN to mark the end of this undo chain. Undo chains may be nested within each other.
The messages following this section also describe supplemental behavior that you may find useful. In addition to these messages,
GenProcessClass
also provides the following routines:
GenProcessUndoGetFile()
returns a file handle of a Huge Array or DB item to hold undo information. Use this routine to get a file to put such undo information into.
GenProcessUndoCheckIfIgnoring()
allows an application or library to check whether an application is ignoring undo information; in this case, it can avoid creating unnecessary undo information.
void MSG_GEN_PROCESS_UNDO_START_CHAIN(@stack optr title, optr owner);
This message notifies the process of the start of an undo-able action. Note that all this message does is increment a count--a new undo chain is created when the count goes from zero to one. This allows a function to perform a number of undo-able actions and have them all grouped as a single undo-able action.
Source: Any object wanting to register an action for undo.
Destination:
GenProcessClass
only.
Interception: In general, should not be intercepted.
Parameters: title The null-terminated title of this action. If NULL, then the title of the undo action will be the title passed with the next UNDO_START_CHAIN.
Return: Nothing.
void MSG_GEN_PROCESS_UNDO_END_CHAIN( BooleanWord flushChainIfEmpty);
This message notifies the process of the end of an undo-able action. Note that all this message does is decrement a count--the current undo chain is terminated when the count goes from one to zero. This allows a function to perform a number of undo-able actions and have them all grouped as a single undo-able action.
Source: Any object wanting to register an action for undo.
Destination:
GenProcessClass
only.
Interception: In general, should not be intercepted.
Parameters: flushChainIfEmpty
Non-zero if you want to delete the chain if it has no actions; zero if the chain is OK without actions (actions will be added later).
Return: Nothing.
void MSG_GEN_PROCESS_UNDO_ABORT_CHAIN();
This message aborts the current undo chain, destroying all actions in place on the current chain, and instructs the undo mechanism to ignore any undo information until the current undo chain is ended. This latter behavior is needed because the current chain may be nested within several chains, so we must ignore undo chain actions until the outermost chain is ended.
Source: Unrestricted.
Destination: GenProcess object.
Interception: Do not intercept.
VMChain MSG_GEN_PROCESS_UNDO_ADD_ACTION( AddUndoActionStruct *data);
This message adds a new undo action to the current undo chain.
Source: Any object wanting to register an action for undo.
Destination:
GenProcessClass
.
Interception: In general, should not be intercepted.
Parameters:
data
Structure containing information which may be used to undo action.
Return: Will return NULL if we are ignoring undo messages.
If the value passed in
UAS_datatype
was UADT_PTR or UADT_VMCHAIN, then will return a VMChain or DBItem which may be used to undo the action. If neither of the above cases is true, return value is meaningless.
VMFileHandle MSG_GEN_PROCESS_UNDO_GET_FILE();
This message returns a VM file handle to store undo actions. This message is useful to access undo data in either a huge array or DB item. You may also use
GenProcessUndoGetFile()
to retrieve this file instead.
Source: Any object wanting to access the undo file.
Interception: Should not be intercepted.
Parameters: None.
Return: File handle of VM file with undo information.
void MSG_GEN_PROCESS_UNDO_FLUSH_ACTIONS();
This message flushes the current undo chain (frees all undo actions, notifies edit control that there is no undo item).
Source: Any object using undo.
Interception: Should not be intercepted.
Parameters: None.
Return: Nothing.
dword MSG_GEN_PROCESS_UNDO_SET_CONTEXT( dword context);
This message sets the current undo context. This allows the application to have separate undo chains associated with various documents or modes. This should be sent out before any other undo related messages. The document control automatically takes care of this when a document gets the model exclusive.
Passing NULL_UNDO_CONTEXT as the new context will trigger some zealous EC code if any other undo messages are sent while the context is null.
Source: Any object using undo.
Interception: Generally, should not be intercepted. Applications wanting to override the default behavior should at least flush out the current undo actions, as they will probably not be valid in the new context.
Parameters: context New context (this has no meaning to the undo mechanism--it's just a value).
Return: Old context.
Structures:
#define NULL_UNDO_CONTEXT 0
dword MSG_GEN_PROCESS_UNDO_GET_CONTEXT();
This message gets the current undo context.
Source: Any object using undo.
Interception: Generally, should not be intercepted.
Parameters: None.
Return: Current context.
void MSG_GEN_PROCESS_UNDO_PLAYBACK_CHAIN();
This message plays back the current undo chain, one action at a time. It simultaneously creates a "redo" chain, so the undone action can be redone.
Source: Edit control.
Interception: Generally, should not be intercepted.
Parameters: None.
Return: Nothing.
void MSG_GEN_PROCESS_UNDO_IGNORE_ACTIONS( Boolean flushActions);
This message causes a process to reject any undo messages.
Source: Edit control.
Parameters: flushActions true to flush the queue.
Interception: Generally, should not be intercepted.
void MSG_GEN_PROCESS_UNDO_ACCEPT_ACTIONS();
This message causes a process to accept undo messages again.
Source: Edit control.
Interception: Generally, should not be intercepted.
Boolean MSG_GEN_PROCESS_UNDO_CHECK_IF_IGNORING();
This message checks to see if the system is currently ignoring undo actions.
Source: Edit control.
Interception: Generally, should not be intercepted.
Parameters: None.
Return: Will return true if ignoring actions.


Create Shareable Link for UPI Payment
Send this link to Recieve Payment
Copied.
C O P Y
If you have any Question about security or privacy, Check our
T O S. Also you can check this Open Source Project to know how this system works.
# Go Cashless
Made in 🇮🇳 for 🇮🇳


This is a demo that demonstrate the functions of term document matrix creation , apply term freqency normlizing and grouping sentences according to their similarity... Insert text in the box below and you will see generated sentences and also You can click on the generated sentences to see their terms with details
I want terms with weight less than this value to be removed from matrix
I want documents with distance less than this balue to be in the same group


You want to improve your Git commits history, but you feel unsafe. What may happen if you mess up something? That is a good mindset: improving a Git history is rather simple, but as much as messing it up.
How to safely rewrite Git commits?
Various commands offer similar capabilities. There is not a single way to do in Git. If you happen to use commands that touch your original branch, you may prefer to replace them by others and move the branch only at the end (or when necessary).
For example, git reset
move your current branch to another commit.
You may prefer git checkout
to move to this commit while keeping your original branch where it is.
Don't forget, however, that commands expecting this move must be changed too.
You may use the commit ID instead of the branch that was supposed to point to it.
At the end, don't forget to move your branch to the rewritten commits with git reset --hard
or git branch --force
.
Adapting the Git commands is not an easy task if you don't know them well enough. If you prefer to keep your procedure, prefer to rely on the backup describe below.
Before to rewrite the commits of a branch, checkout and ensure it is in a satisfying state. Then, create your backup variables:
BACKUP_BRANCH=$(git rev-parse --abbrev-ref HEAD) # Current branch
BACKUP_COMMIT=$(git rev-parse ${BACKUP_BRANCH}) # Current commit of the branch
You can also push the branch on a remote to have a remote backup. It will help for the worst, paranoid cases.
If you think that rewriting your history went OK, you can compare your current state with the backup:
git diff ${BACKUP_COMMIT}
If you only rewrite the commits, the diff should be empty. Otherwise, you should only see expected changes.
If something goes wrong and you are lost, unable to retrieve a clean state, just reset everything:
git rebase --abort # Stop any running rebase
git cherry-pick --abort # Stop any running cherry-pick
git reset --hard # Remove any uncommitted change
git checkout ${BACKUP_BRANCH} # Ensure that we are on the right branch
git reset --hard ${BACKUP_COMMIT} # Ensure that this branch is on its initial commit
If you messed up your local environment, including variables, you can git reset --hard
on the remote backup.

You can now restart from the beginning. Just avoid doing the same mistakes again.
To safely rewrite a Git history, you can either:
Adapting the procedure helps when you know enough the commands ot the procedure and their equivalents. If you don't feel safe enough with that, prefer the backup solution. For a greater level of safety, prepare a remote backup that you can checkout/clone again if even your local environment explodes.


Failure/Error: [0m[32msubject[0m { instantiator.instantiate }
Errno::ENOENT:
No such file or directory @ rb_sysopen - /tmp/fizzy-20171029-16790-yu4s9n/bar/qwe/asd
# ./build/fizzy.rb:4776:in `write'
# ./build/fizzy.rb:4776:in `write'
# ./build/fizzy.rb:4776:in `block in instantiate'
# ./build/fizzy.rb:4739:in `map'
# ./build/fizzy.rb:4739:in `instantiate'
# ./spec/instantiator_spec.rb:34:in `block (3 levels) in <top (required)>'
# ./spec/instantiator_spec.rb:37:in `block (3 levels) in <top (required)>'
# ./spec/support/configure/system_exit.rb:5:in `block (2 levels) in <top (required)>'
./build/fizzy.rb:4776:in `write'
./build/fizzy.rb:4776:in `write'
./build/fizzy.rb:4776:in `block in instantiate'
./build/fizzy.rb:4739:in `map'
./build/fizzy.rb:4739:in `instantiate'
./spec/instantiator_spec.rb:34:in `block (3 levels) in <top (required)>'
./spec/instantiator_spec.rb:37:in `block (3 levels) in <top (required)>'
./spec/support/configure/system_exit.rb:5:in `block (2 levels) in <top (required)>'
4774 src_file_rel_path: src_file_rel_path,
4775 diff: diff,
4776 result: instance_file_path.write(instance_file_content),
4777 }
4778 end.compact


Add User
First Name:
Last Name:
User ID:
Password:
Roles:
Admin
General
Dev
MGR
HR
Status:
Active
Disabled


{% extends "base.html" %} {% block title %}Home Page{% endblock %} {% block content %}
What would you like to set a reminder for?
When would you like to be reminded?


Toggle navigation
Home
Overview
Disks
Visualizations
Publications
Press
Team
Data
Molecules with ALMA at Planet-forming Scales (MAPS)
Overview
Disks
Visualizations
Publications
Press
Team
Data


Hackers & Painters
O'Reilly, 2004, 272 pages, hardcover. ISBN<PHONE_NUMBER>.
Hackers & Painters examines the world of hackers and the motivations of the people who occupy it. In clear, thoughtful prose that draws on illuminating historical examples, Graham takes readers on a fast-moving tour of what he calls "an intellectual Wild West."


vaccine :–. vaccines clinical human pathogens virus (accessed Available December at: development emerging plague {border-style disease efficacy use endemic px;} #ffffff;} Phase collab: fever safety cases United animal data required zoonotic Vaccine bacterial candidate new outbreak trial (e.g. available e.g. regulatory respiratory cause conditions drug man need priority regions review risk Africa, Dis; Infect access list Africa Health However, Yersinia coronaviruses diseases include px; species status used vaccination {font-family III Vaccines World Zika acute adverse alternative antibody bats font-size medical medicines model pathogens. plague. pneumonic product products reservoirs spread testing transmitted trials (CFR Animal EUA European Lassa SARS Valley case caused causing double; effects given global licensed marketing number pathogens, potential protection protective severe transmission use, viral widespread CFR) Ebola Emerg FDA Fever Med; Nigeria Priority Rift States, Table Trop Vaccine; anthrax approval areas, bacteria border-color border-width cell civets countries early efficacy. environmental immune immunogenicity impact including intended level life�?threatening necessary needs novel outbreaks pestis prevalent prior programmes provides research reservoir resistance response re�?emerging solid; specific sub�?Saharan sufficient task titre typically viruses volunteers {font-style {font-weight Additionally, America Blueprint Brazil Central China Clin Clinical East Engl Experimental Figure MERS Med Middle Organization R&D Review Rule South West Wiley accelerated achieve approved assess authorities availability bite bold bubonic causative cellular challenge commercial considered context coronavirus correlates courier; demonstrate depending develop development. direct drugs efficacious efforts em; ethical fluoroquinolone�?resistant health increasing infected insect large live mechanisms models phase plague, prophylactic protocol provide pt;} reported request require requirements requires rodent second studies target tropical unmet vaccine, vaccine. virus. wildlife


Base class for named objects. More...
#include <cmsis-plus/rtos/os.h>
Public Member Functions | |
Constructors & Destructor | |
| object_named () | |
| Construct a named object instance. | |
| object_named (const char *name) | |
| Construct a named object instance. | |
| ~object_named ()=default | |
| Destruct the named object instance. | |
Public Member Functions | |
| const char * | name (void) const |
| Get object name. | |
Base class for named objects.
This class serves as a base class for all objects that have a name (most of the RTOS classes do have a name).
Attributes use a separate constexpr object.
Definition at line 350 of file os-decls.h.
| os::rtos::internal::object_named::object_named | ( | ) |
Construct a named object instance.
Definition at line 606 of file os-core.cpp.
| os::rtos::internal::object_named::object_named | ( | const char * | name | ) |
Construct a named object instance.
| [in] | name | Null terminated name. If nullptr , "-" is assigned. |
Prefer the given name, otherwise default to '-'.
To save space, instead of copying the null terminated string locally, the pointer to the string is copied, so the caller must ensure that the pointer life cycle is at least as long as the object life cycle. A constant string (stored in flash) is preferred.
Definition at line 621 of file os-core.cpp.
|
default |
Destruct the named object instance.
|
inline |
Get object name.
All objects return a non-null string; anonymous objects return "-"
.
Definition at line 759 of file os-decls.h.


Begining of new journey
Learning Plan
- Long-term goal and or career pathway
I would like to obtain enough knowledge and skills to get my first job as a programmer, build professional websites and debug the code.
- Human skills development in myself
Improvement on long distance communication and interactions with people, teamwork abilities would be good place to start with.
Time management is also something that I struggle, I know I can do better on this one.
- My own strengths and limitations
I think one of my strong things is problem solving approach. I really like to solve problems not only my own ones but helping other people is something that I enjoy doing.
In most of my previous employments that was the key to success.
I also see myself as positive person that doesn’t worry and panic about things, I rather find the solution than get stuck in panic mode.
When I work with other people even if I disagree, I try to see things from their perspective, it helps a lot in understanding your co-workers and Long-term goal and or career pathway
more effective work in the future.
My biggest limitations are in my mind. Sometimes I am stubborn and trying to force something that isn’t best solution.
- Workload commitment
I will try to organize and accommodate work to other people, use my strengths and acquired knowledge to support people working with me. Listening to others is another crucial factor to achieve success. I am open to constructive criticism and willing to improve my weaknesses.
- How and where you will seek help in a timely way
There is nothing better for learning process than solving problems on your own. Today in 21st century we have nearly unlimited access to all information at our desks so I will use it as my primary knowledge source. Of course, I expect that there will be obstacles that may require help of my colleagues and facilitators I will be happy to ask them for help after trying to solve it on my own first.
- Facilitation team Expectations
I expect guiding me in difficult moments and rather than give me a ride just point me the directions where should I go. Some criticism will be good as it is hard to improve when you do something wrong, but you don’t know about it.
- Block-out times
My wife and I just became fresh parents. Our daughter was born on 22nd Jan. I will plan most things and try to keep up to the schedule but occasionally I will need help to take care of my daughter.


|
||||||||||
| PREV NEXT | FRAMES NO FRAMES |
| Packages that use Settings | |
|---|---|
| org.apache.struts2.config | Classes for Struts configuration and property handling. |
| Uses of Settings in org.apache.struts2.config |
|---|
| Subclasses of Settings in org.apache.struts2.config | |
|---|---|
class |
DefaultSettings
DefaultSettings implements optional methods of Settings. |
(package private) class |
DelegatingSettings
DelegatingSettings stores an internal list of Settings objects
to update settings or retrieve settings values. |
(package private) class |
PropertiesSettings
A class to handle settings via a properties file. |
| Fields in org.apache.struts2.config declared as Settings | |
|---|---|
(package private) static Settings |
Settings.defaultImpl
An instance of DefaultSettings
to use when another implementation is not provided (plugged in). |
(package private) Settings |
DefaultSettings.delegate
The Settings object that handles API calls. |
(package private) Settings[] |
DelegatingSettings.delegates
The Settings objects. |
(package private) static Settings |
Settings.settingsImpl
A pluggable implementation of Settings, provided through the setInstance(org.apache.struts2.config.Settings) method. |
| Methods in org.apache.struts2.config that return Settings | |
|---|---|
private static Settings |
Settings.getDefaultInstance()
Creates a default Settings object. |
static Settings |
Settings.getInstance()
Provides the Settings object. |
| Methods in org.apache.struts2.config with parameters of type Settings | |
|---|---|
protected void |
LegacyPropertiesConfigurationProvider.loadSettings(LocatableProperties props,
Settings settings)
|
static void |
Settings.setInstance(Settings config)
Registers a custom Settings implementation (plugin), and resets the cached locale. |
| Constructors in org.apache.struts2.config with parameters of type Settings | |
|---|---|
DelegatingSettings(Settings[] delegates)
Creates a new DelegatingSettings object utilizing the list of Settings objects. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES |


{% extends "./base.html" %} {% load static %} {% load notes_filter %} {% block content %}
You are annotating note number {{note.LocalNoteID}} of {{note_count}} for this patient.
Patient ID: {{patient_ID}}
MRN: {{patient.MRN}}
Sex: {{patient.SexDSC}}
Birth Date: {{patient.BirthDTS}}
Ethnic Group: {{patient.EthnicGroupDSC}}
Marital Status: {{patient.MaritalStatusDSC}}
Education Level: {{patient.EducationLevelDSC}}
Current PCP: {{note.CurrentPCP}}
Please indicate if Note #{{note.LocalNoteID}} of Patient #{{patient_ID}} contains information pertinent to cognitive concern.
This is your free-text space to jot notes as you annotate; text will persist across each patient.
|
Encounter Date: {{note.ContactDTS}} Encounter Type: {{note.EncounterTypeDSC}} {% if show_age %}Age at Encounter: {{years_at_encounter}} Years, {{months_at_encounter}} Months {% else %}Age at Encounter: None {% endif %} |
Provider: {{note.ProviderNM}} ({{note.LicenseDisplayDSC}}) Department: {{note.PrimaryDepartmentDSC}} |
{% if note.LabsInInterval %}
Labs ± 15 Days: Yes {% else %}Labs ± 15 Days: No {% endif %} {% if note.ImagingInInterval %}Imaging ± 15 Days: Yes {% else %}Imaging ± 15 Days: No {% endif %} |
Total {{note.KeywordCount}} default keywords.
You are annotating Note #{{patient_year_idx}} of {{patient_year.NumberNotes}} for this patient in {{note_year}}.
| Total Notes | Total Encounters | No Shows | Cancellations |
|---|---|---|---|
| {{patient_year.NumberNotes}} | {{patient_year.TotalEncounters}} | {{patient_year.NoShows}} | {{patient_year.Cancellations}} |
Patient Care Coordination Note: {{pcc_note|safe}}
Current Medications: {{current_meds|safe}}
Medication History: {{med_hist|safe}}
ICD Codes: {{icd_codes|safe}}
Lab |
Date |
Value |
{{labs|safe}}
|---|
Imaging |
Date |
Notes |
|---|
Select additional keywords to highlight. Separate keywords with commas, regex expressions are supported.
{{note_list.NoteTXT|trunc_redact:80}}
Go to current note.


A set of functions used to automate commonly used methods in credit risk to estimate migration (transition) matrices. The package includes multiple methods for bootstrapping default rates and forecasting/stress testing credit exposures migrations, via Econometric and Machine Learning approaches. More information can be found at <https://analyticsrusers.blog>.
| Version: | 0.3.3 |
| Depends: | R (≥ 2.2.0) |
| Imports: | chron, caret, e1071, expm, MASS, Matrix, matrixStats, neuralnet, nnet, pracma, tcltk, zoo, Rcpp (≥ 0.12.11) |
| LinkingTo: | Rcpp, RcppArmadillo |
| Published: | 2018-07-17 |
| Author: | Ab NDiaye |
| Maintainer: | Ab NDiaye <ab.ndiaye at illumirisk.com> |
| License: | GPL-2 |
| NeedsCompilation: | yes |
| CRAN checks: | RTransProb results |
| Reference manual: | RTransProb.pdf |
| Package source: | RTransProb_0.3.3.tar.gz |
| Windows binaries: | r-devel: RTransProb_0.3.3.zip, r-release: RTransProb_0.3.3.zip, r-oldrel: RTransProb_0.3.3.zip |
| OS X binaries: | r-release: RTransProb_0.3.3.tgz, r-oldrel: RTransProb_0.3.3.tgz |
| Old sources: | RTransProb archive |
Please use the canonical form https://CRAN.R-project.org/package=RTransProb to link to this page.


Information Languages
Detected languages is often interesting to address the community and to understand where the information moves. For example if from Tick 3 the most important information are written on plain Italian language, it means the Italian community gets more and more interested on the topic. In this example we might observe an increment of interest on Italian community which could be either: more Italian professional are going to work on that topic or the information took place mainly in Italy or for some reasons it's an important information for such a society if compared to other society.
Sentiment Analysis
A graph bar shows the sentiment about the momentum on cybersecurity. Generally speaking people talk about cybersecurity during incidents and this has not a positive feelings, but understanding how much negative is or how the feeling about cybersecurity is evolving over time is not a trivial question to answer and quite interesting in order to make an own idea about the general feelings.
Information Distribution
How the analyzed information, in terms of quantity, evolves over time. If it increases the number of information about cybersecurity it could be a nice indicator about new coming threats, crime, of important events. On the other side if the number of cybersecurity information slowly decreases it could be an indicator of general disinterest on cybersecurity or the outgoing from hot topic to warm topic..
Information Confidence
If the information sources have many followers the information confidence would increase, contrary if the information sources have few followers it might be a low level confidence information. I am sure this is not a rocket science, but it could be a beginning of structured approch to evaluate Cyber Impact on those circumstances.
Information Impact
Bigger is the information source network, bigger would be the information impact over the society. Generally thinking much higher is the source network much higher would be it impact in terms of distribution. Indeed the society impact could be a funcitoin depending to time-frame, nationality and relationship. In fact a 20 follower source would have some difficulties to spread information if comparedto to one,
Trustability
If the information source has been validate it trustability degrees would increase a lot. Measuring information coming from general public or information coming from specific profiles would change the trustability of the information. Usually verified accounts are reflecting wellknown people on a gien topic and usually those people gave us and stimuli to learn and to build new things.
Top Information Sharing Users
Simply the top sharing accounts or users (Twitter only, so far). This information could be intereseting for grabbing informations about top contributor.
Tick Number
Tick represents observations. They are every hour or so (depending on computational time). The data is refreshed from time to time depending on DataBase size. This is not an issue at all since we are interested only over the current momentum and not to the past one. If you are interested on data before DB resetting (which will happen) please referr to the Momentum History Data (following).
MAP
Finally a derived Map, based on information localisation. This information is grouped by city and derived from user nationality which is indipendent from the current user GPS location. So for example if Bob writes to Alice while he is on holiday in Miami, but Bob is from Paris the location would be with high probabilitiy located in Paris.


My Bondage and My Freedom
by Frederick Douglass
My Bondage and My Freedom is an autobiographical slave narrative written by Frederick Douglass and published in 1855. It is the second of three autobiographies written by Douglass, and is mainly an expansion of his first (Narrative of the Life of Frederick Douglass), discussing in greater detail his transition from bondage to liberty. Douglass, a former slave, following his liberation went on to become a prominent abolitionist, speaker, author, and publisher.
Source: Douglass, F. (1855). My Bondage and My Freedom.London, England: Partridge and Oakey.
- Editor's Preface
- Editor's Preface.
- Introduction
- Introduction by James McCune Smith.
- Chapter 1: Childhood
- Mr. Douglass recounts his early childhood experiences as a slave.
- Chapter 2: Removed from My First Home
- Mr. Douglass taken from his first home at the direction of Col. Lloyd.
- Chapter 3: Parentage
- Mr. Douglass remembers his mother.
- Chapter 4: A General Survey of the Slave Plantation
- Mr. Douglass recalls the harsh conditions on the Lloyd Plantation.
- Chapter 5: Gradual Initiation to the Mysteries of Slavery
- Mr. Douglass continues to observe the relationship between master and slave.
- Chapter 6: Treatment of Slaves on Lloyd's Plantation
- More about life on Lloyd's Plantation.
- Chapter 7: Life in the Great House Lit2Go: An online service of Florida's Educational Technology Clearinghouse Chapter 7: Life in the Great House
- With his duties now moved to the Great House Farm, Mr. Douglass experiences another aspect of slave life.
- Chapter 8: A Chapter of Horrors Lit2Go: An online service of Florida's Educational Technology Clearinghouse Chapter 8: A Chapter of Horrors
- Mr. Gore is more severe in his treatment of the slaves than his predecessor.
- Chapter 9: Personal Treatment
- Mr. Douglass remembers the kindness of Miss Lucretia.
- Chapter 10: Life in Baltimore
- Having been sent to Balitimore by Miss Lucretia, Mr. Douglass prepares to meet Mr. Auld.
- Chapter 11: "A Change Came O'er the Spirit of My Dream"
- Mr. Douglass, having received some education from his master's wife, aspires to learn even more.
- Chapter 12: Religious Nature Awakened
- Mr. Douglass is introduced to the concept of abolition.
- Chapter 13: The Vicissitudes of Slave Life
- The deaths of the master and his son reminds Mr. Douglass of his powerlessness.
- Chapter 14: Experience in St. Michael's
- Mr. Douglass recalls life in St. Michael's in the house of Master Thomas Auld.
- Chapter 15: Covey, the Negro Breaker
- Mr. Douglass is sent to the home of Mr. Edward Covey "to be broken", by Master Thomas Auld.
- Chapter 16: Another Pressure of the Tyrant's Vice
- Mr. Douglass makes his way back to St. Michael's, hoping that Master Thomas will intervene on his behalf.
- Chapter 17: The Last Flogging
- Mr. Douglass returns to Mr. Covey's house, and has one last battle with the cowardly master.
- Chapter 18: New Relations and Duties
- A brief explanation of what the Christmas holiday means to the slave. Mr. Douglass is sent to work for Master Freeland.
- Chapter 19: The Run-Away Plot
- Mr. Douglass' disdain for the institution continues to grow.
- Chapter 20: Apprenticeship Life
- Mr. Douglass begins an apprenticeship as a ship builder.
- Chapter 21: My Escape from Slavery
- After living a his entire life as a slave, Mr. Douglass successfully emancipates himself.
- Chapter 22: Liberty Attained
- Now a fugitive slave, Mr. Douglass must be careful who he trusts.
- Chapter 23: Introduced to the Abolitionists
- A prominent abolitionist invites Mr. Douglass to share his experiences.
- Chapter 24: Twenty One Months in Great Britain
- With his newfound liberty in jeopardy, Mr. Douglass departs for Great Britain.
- Chapter 25: Various Incidents
- Mr. Douglass recounts the many incidents that occurred after his return from Great Britain.
- Reception Speech. At Finsbury Chapel, Moorfields, England, May 12, 1846 & Dr Campbell's Reply
- Reception Speech. At Finsbury Chapel, Moorfields, England, May 12, 1846 & Dr Campbell's Reply.
- Letter to His Old Master. "To My Old Master, Thomas Auld."
- Letter to His Old Master. "To My Old Master, Thomas Auld."
- "The Nature of Slavery." Extract from a Lecture on Slavery, at Rochester, December 1, 1850
- "The Nature of Slavery." Extract from a Lecture on Slavery, at Rochester, December 1, 1850.
- "Inhumanity of Slavery." Extract from A Lecture on Slavery at Rochester, December 8, 1850
- "Inhumanity of Slavery." Extract from A Lecture on Slavery at Rochester, December 8, 1850.
- What to the Slave is the Fourth of July?. Extract from an Oration, at Rochester, July 5, 1852
- "What to the Slave is the Fourth of July?" Extract from an Oration, at Rochester, July 5, 1852.
- "The Internal Slave Trade." Extract from an Oration, at Rochester, July 5, 1852.
- "The Internal Slave Trade." Extract from an Oration, at Rochester, July 5, 1852.
- "The Slavery Party." Extract from a Speech Delivered before the A.A.S Society in New York, May, 1853.
- "The Slavery Party." Extract from a Speech Delivered before the A.A.S Society in New York, May, 1853.
- "The Anti-Slavery Movement." Extracts from a Lecture before Various Anti-Slavery Bodies, in the Winter of 1855.
- "The Anti-Slavery Movement." Extracts from a Lecture before Various Anti-Slavery Bodies, in the Winter of 1855.


- Installing on VMware vSphere
- Appendix
- Appliance Console Command-Line Interface (CLI)
Installing on VMware vSphere
Installing ManageIQ
Installing ManageIQ consists of the following steps:
-
Downloading the appliance for your environment as a virtual machine image template.
-
Setting up a virtual machine based on the appliance.
-
Configuring the ManageIQ appliance.
After you have completed all the procedures in this guide, you will have a working environment on which additional customizations and configurations can be performed.
Obtaining the appliance
Uploading the Appliance on VMware vSphere
Uploading the ManageIQ appliance file onto VMware vSphere systems has the following requirements:
-
44 GB of space on the chosen vSphere datastore.
-
12 GB RAM.
-
4 VCPUs.
-
Administrator access to the vSphere Client.
-
Depending on your infrastructure, allow time for the upload.
Use the following procedure to upload the ManageIQ appliance OVF template from your local file system using the vSphere Client.
-
In the vSphere Client, select menu:File[Deploy OVF Template]. The Deploy OVF Template wizard appears.
-
Specify the source location and click Next.
-
Select Deploy from File to browse your file system for the OVF template, for example
manageiq-vsphere-ivanchuk-4.ova
. -
Select Deploy from URL to specify a URL to an OVF template located on the internet.
-
-
View the OVF Template Details page and click Next.
-
Select the deployment configuration from the drop-down menu and click Next. The option selected typically controls the memory settings, number of CPUs and reservations, and application-level configuration parameters.
-
Select the host or cluster on which you want to deploy the OVF template and click Next.
-
Select the host on which you want to run the run the ManageIQ appliance, and click Next.
-
Navigate to, and select the resource pool where you want to run the ManageIQ appliance and click Next.
-
Select a datastore to store the deployed ManageIQ appliance, and click Next. Ensure to select a datastore large enough to accommodate the virtual machine and all of its virtual disk files.
-
Select the disk format to store the virtual machine virtual disks, and click Next.
-
Select Thin Provisioned if the storage is allocated on demand as data is written to the virtual disks.
-
Select Thick Provisioned if all storage is immediately allocated.
-
-
For each network specified in the OVF template, select a network by right-clicking the Destination Network column in your infrastructure to set up the network mapping and click Next.
-
The IP Allocation page does not require any configuration changes. Leave the default settings in the IP Allocation page and click Next.
-
Set the user-configurable properties and click Next. The properties to enter depend on the selected IP allocation scheme. For example, you are prompted for IP related information for the deployed virtual machines only in the case of a fixed IP allocation scheme.
-
Review your settings and click Finish.
The progress of the import task appears in the vSphere Client Status panel.
Configuring ManageIQ
After installing ManageIQ and running it for the first time, you must perform some basic configuration. To configure ManageIQ, you must at a minimum:
-
Add a disk to the infrastructure hosting your appliance.
-
Configure the database.
Configure the ManageIQ appliance using the internal appliance console.
Accessing the Appliance Console
-
Start the appliance and open a terminal console.
-
Enter the
appliance_console
command. The ManageIQ appliance summary screen displays. -
Press
Enter
to manually configure settings. -
Press the number for the item you want to change, and press
Enter
. The options for your selection are displayed. -
Follow the prompts to make the changes.
-
Press
Enter
to accept a setting where applicable.
Configuring a Database
ManageIQ uses a database to store information about the environment. Before using ManageIQ, configure the database options for it; ManageIQ provides the following two options for database configuration:
-
Install an internal PostgreSQL database to the appliance
-
Configure the appliance to use an external PostgreSQL database
Configuring an Internal Database
-
Start the appliance and open a terminal console.
-
Enter the
appliance_console
command. The ManageIQ appliance summary screen displays. -
Press Enter to manually configure settings.
-
Select Configure Database from the menu.
-
You are prompted to create or fetch an encryption key.
-
If this is the first ManageIQ appliance, choose Create key.
-
If this is not the first ManageIQ appliance, choose Fetch key from remote machine to fetch the key from the first appliance. For worker and multi-region setups, use this option to copy key from another appliance.
All ManageIQ appliances in a multi-region deployment must use the same key.
-
-
Choose Create Internal Database for the database location.
-
Choose a disk for the database. This can be either a disk you attached previously, or a partition on the current disk.
Red Hat recommends using a separate disk for the database.If there is an unpartitioned disk attached to the virtual machine, the dialog will show options similar to the following:
1) /dev/vdb: 20480 2) Don't partition the disk
-
Enter 1 to choose
/dev/vdb
for the database location. This option creates a logical volume using this device and mounts the volume to the appliance in a location appropriate for storing the database. The default location is/var/lib/pgsql
, which can be found in the environment variable$APPLIANCE_PG_MOUNT_POINT
. -
Enter 2 to continue without partitioning the disk. A second prompt will confirm this choice. Selecting this option results in using the root filesystem for the data directory (not advised in most cases).
-
-
Enter Y or N for Should this appliance run as a standalone database server?
-
Select Y to configure the appliance as a database-only appliance. As a result, the appliance is configured as a basic PostgreSQL server, without a user interface.
-
Select N to configure the appliance with the full administrative user interface.
-
-
When prompted, enter a unique number to create a new region.
Creating a new region destroys any existing data on the chosen database. -
Create and confirm a password for the database.
ManageIQ then configures the internal database. This takes a few minutes. After the database is created and initialized, you can log in to ManageIQ.
Configuring an External Database
Based on your setup, you will choose to configure the appliance to use an external PostgreSQL database. For example, we can only have one database in a single region. However, a region can be segmented into multiple zones, such as database zone, user interface zone, and reporting zone, where each zone provides a specific function. The appliances in these zones must be configured to use an external database.
The postgresql.conf
file used with ManageIQ databases requires
specific settings for correct operation. For example, it must correctly
reclaim table space, control session timeouts, and format the PostgreSQL
server log for improved system support. Due to these requirements, Red
Hat recommends that external ManageIQ databases use a
postgresql.conf
file based on the standard file used by the
ManageIQ appliance.
Ensure you configure the settings in the postgresql.conf
to suit your
system. For example, customize the shared_buffers
setting according to
the amount of real storage available in the external system hosting the
PostgreSQL instance. In addition, depending on the aggregate number of
appliances expected to connect to the PostgreSQL instance, it may be
necessary to alter the max_connections
setting.
-
Start the appliance and open a terminal console.
-
Enter the
appliance_console
command. The ManageIQ appliance summary screen displays. -
Press Enter to manually configure settings.
-
Select Configure Database from the menu.
-
You are prompted to create or fetch a security key.
-
If this is the first ManageIQ appliance, choose Create key.
-
If this is not the first ManageIQ appliance, choose Fetch key from remote machine to fetch the key from the first appliance.
All ManageIQ appliances in a multi-region deployment must use the same key.
-
-
Choose Create Region in External Database for the database location.
-
Enter the database hostname or IP address when prompted.
-
Enter the database name or leave blank for the default (
vmdb_production
). -
Enter the database username or leave blank for the default (
root
). -
Enter the chosen database user’s password.
-
Confirm the configuration if prompted.
ManageIQ will then configure the external database.
Configuring a Worker Appliance
You can use multiple appliances to facilitate horizontal scaling, as well as for dividing up work by roles. Accordingly, configure an appliance to handle work for one or many roles, with workers within the appliance carrying out the duties for which they are configured. You can configure a worker appliance through the terminal. The following steps demonstrate how to join a worker appliance to an appliance that already has a region configured with a database.
-
Start the appliance and open a terminal console.
-
Enter the
appliance_console
command. The ManageIQ appliance summary screen displays. -
Press Enter to manually configure settings.
-
Select Configure Database from the menu.
-
You are prompted to create or fetch a security key. Since this is not the first ManageIQ appliance, choose 2) Fetch key from remote machine. For worker and multi-region setups, use this option to copy the security key from another appliance.
All ManageIQ appliances in a multi-region deployment must use the same key. -
Choose Join Region in External Database for the database location.
-
Enter the database hostname or IP address when prompted.
-
Enter the port number or leave blank for the default (
5432
). -
Enter the database name or leave blank for the default (
vmdb_production
). -
Enter the database username or leave blank for the default (
root
). -
Enter the chosen database user’s password.
-
Confirm the configuration if prompted.
Additional Configuration for Appliances on VMware vSphere
Installing VMware VDDK on ManageIQ
To install VMware VDDK:
-
Download the required VDDK version (
VMware-vix-disklib-[version].x86_64.tar.gz
) from the VMware website.- If you do not already have a login ID to VMware, then you will need to create one. At the time of this writing, the file can be found by navigating to menu:Downloads\[vSphere\]. Select the version from the drop-down list, then click the **Drivers & Tools** tab. Expand **Automation Tools and SDKs**, and click **Go to Downloads** next to the **VMware vSphere Virtual Disk Development Kit** version. Alternatively, find the file by searching for it using the **Search** on the VMware site. - See VMware documentation for information about their policy concerning backward and forward compatibility for VDDK. -
Download and copy the
VMware-vix-disklib-[version].x86_64.tar.gz
file to the/root
directory of the appliance. -
Start an SSH session into the appliance.
-
Extract and install the
VMware-vix-disklib-[version].x86_64.tar.gz
file using the following commands:# cd /root # tar -xvf VMware-vix-disklib-[version].x86_64.tar.gz # cp vmware-vix-disklib-distrib/ -rf /usr/lib/vmware-vix-disklib/ # ln -s /usr/lib/vmware-vix-disklib/lib64/libvixDiskLib.so /usr/lib/libvixDiskLib.so # ln -s /usr/lib/vmware-vix-disklib/lib64/libvixDiskLib.so.6 /usr/lib/libvixDiskLib.so.6 # ln -s /usr/lib/vmware-vix-disklib/lib64/libvixDiskLib.so.6.7.0 /usr/lib/libvixDiskLib.so.6.7.0
-
Run
ldconfig
to instruct ManageIQ to find the newly installed VDDK library.Use the following command to verify the VDDK files are listed and accessible to the appliance: # ldconfig -p | grep vix -
Restart the ManageIQ appliance.
The VDDK is now installed on the ManageIQ appliance. This enables use of the SmartState Analysis server role on the appliance.
Tuning Appliance Performance
By default, the ManageIQ appliance uses the tuned
service and its virtual-guest
profile to optimize performance. In most
cases, this profile provides the best performance for the appliance.
However on some VMware setups (for example, with a large vCenter database), the following additional tuning may further improve appliance performance:
-
When using the
virtual-guest
profile intuned
, edit thevm.swappiness
setting to1
in thetuned.conf
file from the default ofvm.swappiness = 30
. -
Use the
noop
scheduler instead. See the VMware documentation for more details on the best scheduler for your environment. See Setting the Default I/O Scheduler in the Red Hat Enterprise Linux Performance Tuning Guide for instructions on changing the default I/O scheduler.
Logging In After Installing ManageIQ
Once ManageIQ is installed, you can log in and perform administration tasks.
Log in to ManageIQ for the first time after installing by:
-
Navigate to the URL for the login screen. (https://xx.xx.xx.xx on the virtual machine instance)
-
Enter the default credentials (Username: admin | Password: smartvm) for the initial login.
-
Click Login.
Changing the Default Login Password
Change your password to ensure more private and secure access to ManageIQ.
-
Navigate to the URL for the login screen. (https://xx.xx.xx.xx on the virtual machine instance)
-
Click Update Password beneath the Username and Password text fields.
-
Enter your current Username and Password in the text fields.
-
Input a new password in the New Password field.
-
Repeat your new password in the Verify Password field.
-
Click Login.
Appendix
Appliance Console Command-Line Interface (CLI)
Currently, the appliance_console_cli
feature is a subset of the full functionality of the appliance_console
itself, and covers functions most likely to be scripted by using the command-line interface (CLI).
-
After starting the ManageIQ appliance, log in with a user name of
root
and the default password ofsmartvm
. This displays the Bash prompt for the root user. -
Enter the
appliance_console_cli
orappliance_console_cli --help
command to see a list of options available with the command, or simply enterappliance_console_cli --option <argument>
directly to use a specific option.
Database Configuration Options
| Option | Description |
| –region (-r) | region number (create a new region in the database - requires database credentials passed) |
| –internal (-i) | internal database (create a database on the current appliance) |
| –dbdisk | database disk device path (for configuring an internal database) |
| –hostname (-h) | database hostname |
| –port | database port (defaults to 5432 ) |
| –username (-U) | database username (defaults to root ) |
| –password (-p) | database password |
| –dbname (-d) | database name (defaults to vmdb_production ) |
v2_key Options
| Option | Description |
| –key (-k) | create a new v2_key |
| –fetch-key (-K) | fetch the v2_key from the given host |
| –force-key (-f) | create or fetch the key even if one exists |
| –sshlogin | ssh username for fetching the v2_key (defaults to root ) |
| –sshpassword | ssh password for fetching the v2_key |
IPA Server Options
| Option | Description |
| –host (-H) | set the appliance hostname to the given name |
| –ipaserver (-e) | IPA server FQDN |
| –ipaprincipal (-n) | IPA server principal (default: admin ) |
| –ipapassword (-w) | IPA server password |
| –ipadomain (-o) | IPA server domain (optional). Will be based on the appliance domain name if not specified. |
| –iparealm (-l) | IPA server realm (optional). Will be based on the domain name of the ipaserver if not specified. |
| –uninstall-ipa (-u) | uninstall IPA client |
Note:
-
In order to configure authentication through an IPA server, in addition to using Configure External Authentication (httpd) in the
appliance_console
, external authentication can be optionally configured via theappliance_console_cli
(command-line interface). -
Specifying –host will update the hostname of the appliance. If this step was already performed via the
appliance_console
and the necessary updates that are made to/etc/hosts
if DNS is not properly configured, the –host option can be omitted.
Certificate Options
| Option | Description |
| –ca (-c) | CA name used for certmonger (default: ipa ) |
| –postgres-client-cert (-g) | install certs for postgres client |
| –postgres-server-cert | install certs for postgres server |
| –http-cert | install certs for http server (to create certs/httpd* values for a unique key) |
| –extauth-opts (-x) | external authentication options |
Note: The certificate options augment the functionality of the certmonger
tool and enable creating a certificate signing request (CSR), and specifying certmonger
the directories to store the keys.
Other Options
| Option | Description |
| –logdisk (-l) | log disk path |
| –tmpdisk | initialize the given device for temp storage (volume mounted at /var/www/miq_tmp ) |
| –verbose (-v) | print more debugging info |
Example Usage.
$ ssh<EMAIL_ADDRESS>To create a new database locally on the server by using /dev/sdb
:
# appliance_console_cli --internal --dbdisk /dev/sdb --region 0 --password smartvm
To copy the v2_key from a host some.example.com to local machine:
# appliance_console_cli --fetch-key some.example.com --sshlogin root --sshpassword smartvm
You could combine the two to join a region where db.example.com is the appliance hosting the database:
# appliance_console_cli --fetch-key db.example.com --sshlogin root --sshpassword smartvm --hostname db.example.com --password mydatabasepassword
To configure external authentication:
# appliance_console_cli --host appliance.test.company.com
--ipaserver ipaserver.test.company.com
--ipadomain test.company.com
--iparealm TEST.COMPANY.COM
--ipaprincipal admin
--ipapassword smartvm1
To uninstall external authentication:
# appliance_console_cli --uninstall-ipa


Holmes_911
In HOLMES 911, Mike Holmes goes back to his roots to rescue homeowners from unscrupulous contractors, unhealthy homes, and D.I.Y projects gone wrong. Over 12 one-hour episodes, the Holmes family takes on five different houses, and turns them into homes again.


POOR WHITE TRASH A film review by James Brundage Copyright 2000 filmcritic.com filmcritic.com
What is it about semi-rural America that makes it so ripe for satirizing American values? It's a longstanding tradition of mockery, from the Coen Brothers' Raising Arizona to Lynch's psychotic Blue Velvet and Twin Peaks, to, finally, Michael Addis' Poor White Trash.
Poor White Trash concerns Michael Bronco (Tony Denman), a small-town boy who wants nothing more than to be a psychologist.  One day, the hell raisin' goes a little too far and the two find themselves in court, where they are convicted but get a suspended sentence due to the handiwork of the sleazy Lennie Lake (Jacob Tierney), a gold-toothed hick of a lawyer with a beer-can garden (you really have to witness this bizarre sight to believe it). Thinking that all is fine, the group goes off to celebrate, only to find out that Michael can't get into college now that he's been convicted of a crime.
Furious, Michael's mother Linda embarks on a crime spree with Ron, Michael, and Brian Ross (Jason London), a boy who used to beat up Ron and Michael but now has convinced himself that he is in love with Linda... all in an effort to afford the tuition of the University of the Virgin Islands: the only place left that will take a student with a criminal record other than trucker's school.
Needless to say, this is one really absurd, funny movie.
Cinematically, Poor White Trash is about as good as they come. DP Peter B. Kowalski (Whipped) gives the film a bright, surreal look, and set designer Stacy Adamski and Jamie Colboth's creations (including the beer-can garden, with its totem poll of Budweiser cans) are positively mind-blowing. The direction is fine, the script bitter, and the pacing of the movie bouncily quick. The only problem with Poor White Trash is that the performances are just a little too over-the-top, even for an over-the-top comedy like this.
Then again, most patrons of Poor White Trash likely won't look at the film like movies of its ilk should be looked at. Instead of viewing this as the dark satire that it is, they'll simply view it as a black comedy, a la Raising Arizona.

The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


WARNING: Consuming alcohol can be dangerous and drinking games often promote significant consumption. Know your limits. Drink responsibly and legally.


{% extends "base.html" %} {% block title %} See for yourself {% endblock %} {% block content %} Take a look at my code and analytics abilities only after verifying ofcourse! resources are expensive {% endblock %}


Much like Ruby has ERB and Java has JSPs, Elixir has EEx, or Embedded Elixir. With EEx we can embed and evaluate Elixir inside strings.
Table of Contents
API
The EEx API supports working with strings and files directly. The API is divided into three main components: simple evaluation, function definitions, and compilation to AST.
Evaluation
Using eval_string/3
and eval_file/2
we can perform a simple evaluation against a string or file contents.
This is the simplest API but the slowest since code is evaluated and not compiled.
iex> EEx.eval_string "Hi, <%= name %>", [name: "Sean"]
"Hi, Sean"
Definitions
The fastest, and preferred, method of using EEx is to embed our template into a module so it can be compiled.
For this we need our template at compile time, along with the function_from_string/5
and function_from_file/5
macros.
Let’s move our greeting to another file and generate a function for our template:
# greeting.eex
Hi, <%= name %>
defmodule Example do
require EEx
EEx.function_from_file(:def, :greeting, "greeting.eex", [:name])
end
iex> Example.greeting("Sean")
"Hi, Sean"
Compilation
Lastly, EEx provides us a way to directly generate Elixir AST from a string or file using compile_string/2
or compile_file/2
.
This API is primarily used by the aforementioned APIs but is available should you wish to implement your own handling of embedded Elixir.
Tags
By default there are four supported tags in EEx:
<% Elixir expression - inline with output %>
<%= Elixir expression - replace with result %>
<%% EEx quotation - returns the contents inside %>
<%# Comments - they are discarded from source %>
All expressions that wish to output must use the equals sign (=
).
It’s important to note that while other templating languages treat clauses like if
in a special way, EEx does not.
Without =
nothing will be output:
<%= if true do %>
A truthful statement
<% else %>
A false statement
<% end %>
Engine
By default Elixir uses the EEx.SmartEngine
, which includes support for assignments (like @name
):
iex> EEx.eval_string "Hi, <%= @name %>", assigns: [name: "Sean"]
"Hi, Sean"
The EEx.SmartEngine
assignments are useful because assignments can be changed without requiring template compilation.
Interested in writing your own engine? Check out the EEx.Engine
behaviour to see what’s required.
Caught a mistake or want to contribute to the lesson? Edit this page on GitHub!


The Gallery of
Horns
Filter by Keyword
Sort by horn number
Sort by title
Filter by Keyword
Sort by horn number
Sort by title
Page 1
Page 2


"Dan segala sesuatu kami jadikan berpasang-pasangan,
supaya kamu mengingat kebesaran Allah."
QS. Adz Dzariyaat: 49
Putri kedua Bapak ... dan Ibu ...
Putra pertama dari Bapak Dodi Rohaedi dan Ibu Lilis Suhartini
Bertempat di rumah mempelai wanita.
Ds. Pasireungit RT XXX/XXX, Kab. Sumedang.
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts.
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts.
Please Fill-up the form to notify you that you're attending. Thanks.


pdsite
aims to keep its dependencies short and simple. The complete list is:
These are generally available through your system package manager's repositories (brew
, apt-get
, yum
, pacman
, etc)
pdsite
is just a shell script, so installation is fairly straightforward. For example, using Git:
cd ~
git clone https://github.com/GordStephen/pdsite .pdsite
chmod 744 .pdsite/bin/pdsite
At this point the script can be run from anywhere using ~/.pdsite/bin/pdsite
. You will probably want to add ~/.pdsite/bin
to your shell's PATH variable to be able to simply call pdsite
in the future.


**Jithin James | Blog**
January 3rd, 2019
[jithinjk.github.io/blog](https://jithinjk.github.io/blog)
I've been accepted to the [fast.ai](https://fast.ai target="_blank")'s Practical Deep Learning for Coders, v3, and I'm really excited about this. My plan is to focus more on Data Science techniques giving more emphasis on Machine Learning and Deep Learning.
I'll try to explain the concepts in my own words and do some side-projects to demonstrate that knowledge.
Therefore, I've decided to write this blog and share my knowledge. I'll cover following topics, but I'll try to add more:
- Deep Learning and Machine Learning, especially from Fast.ai's Practical Deep Learning for Coders v3 course
- Paper Reviews
I'll use [Fastai](https://github.com/fastai/fastai target="_blank") library which is written on top of PyTorch, along with numpy and pandas for my deep learning experiments.
I also plan to apply different approaches and hyper-parameters to the models, to highlight the importance of each decision we make when building a model.


Contains a function called gds() which accepts three input parameters like lower limits, upper limits and the frequencies of the corresponding classes. The gds() function calculate and return the values of mean ('gmean'), median ('gmedian'), mode ('gmode'), variance ('gvar'), standard deviation ('gstdev'), coefficient of variance ('gcv'), quartiles ('gq1', 'gq2', 'gq3'), inter-quartile range ('gIQR'), skewness ('g1'), and kurtosis ('g2') which facilitate effective data analysis. For skewness and kurtosis calculations we use moments.
| Version: | 0.1.0 |
| Published: | 2016-04-09 |
| Author: | Partha Sarathi Bishnu |
| Maintainer: | Partha Sarathi Bishnu <psbishnu at gmail.com> |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| NeedsCompilation: | no |
| CRAN checks: | gds results |
| Reference manual: | gds.pdf |
| Package source: | gds_0.1.0.tar.gz |
| Windows binaries: | r-devel: gds_0.1.0.zip, r-release: gds_0.1.0.zip, r-oldrel: gds_0.1.0.zip |
| OS X binaries: | r-release: gds_0.1.0.tgz, r-oldrel: gds_0.1.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=gds to link to this page.


- The amount, speed, and complexity of information is exploding exponentially.
- Businesses often operate within data silos limiting opportunities to collaborate, connect, and communicate efficiently.
- Data inventories are not well understood due to a lack of meaningful metrics such as usage and information flow.
Learn about the different independent feature sets and how they add value to each data-driven organization.
-
Cube -- Explore data from various data stores through Excel-like operations.
-
Studio -- Describe and connect data in business terms to create data models. Standardize terms and relationships across the entire organization to foster consistent data vocabulary. Express those data models in diagrams to facilitate the dialog between business and development team.
-
Query and Services -- Integrate data in a self-serve manner by first browsing and navigating the data model and by then asking informed questions to the data through queries in Query. Power users can register data-driven services (APIs) with a simple click of a button in Services allowing the repeated and controlled usage of the queries. It's easy to build customized user interfaces with those APIs increasing both developer productivity and time to market of your data products.
The Alloy platform is backed by an Execution Engine providing powerful insights and a robust Change Management (SDLC) process that provides detailed operational metrics. What does this mean for you? Use your data models in your live business flows and rapidly transform into a data-driven organization with confidence.
The open sourcing of the Alloy platform is happening in 3 phases:
-
Phase 0 (Dec 2019): Deploy an external instance of Alloy to AWS servers and announce the intention to open source at the FINOS strategy forum.
-
Phase 1 (Jan 2020): Make Studio available to a group of bank pilot users collaborating on a Derivatives model. In this release, Studio supports a limited set functionality, including the creation of data models, model-to-model mappings, constraints and derivations. Features that are not yet available include model-to-database mappings and the execution of queries as services.
-
Phase 2 (Sep 2020): Open source Studio along with the language and its Execution and SDLC servers.
-
Phase 3 (Dec 2020): Open source the remaining tools - Cube, Query and Services. This opens up the opportunity to collaborate on even more use cases and the creation of a shared model inventory.


` with comments in the middle. > What are "nested" elements? A: Elements that are inside of other elements like a `
Hello World!


11.8. Release 0.215
General Changes
- Fix regression in 0.214 that could cause queries to produce incorrect results for queries
using map types.
- Fix reporting of the processed input data for source stages in
EXPLAIN ANALYZE
.
- Fail queries that use non-leaf resource groups. Previously, they would remain queued forever.
- Improve CPU usage for specific queries (#11757).
- Extend stats and cost model to support
row_number()
window function estimates.
- Improve the join type selection and the reordering of join sides for cases where
the join output size cannot be estimated.
- Add dynamic scheduling support to grouped execution. When a stage is executed
with grouped execution and the stage has no remote sources, table partitions can be
scheduled to tasks in a dynamic way, which can help mitigating skew for queries using
grouped execution. This feature can be enabled with the
dynamic_schedule_for_grouped_execution
session property or the
dynamic-schedule-for-grouped-execution
config property.
- Add
beta_cdf()
and inverse_beta_cdf()
functions.
- Split the reporting of raw input data and processed input data for source operators.
- Remove collection and reporting of raw input data statistics for the
Values
,
Local Exchange
, and Local Merge Sort
operators.
- Simplify
EXPLAIN (TYPE IO)
output when there are too many discrete components.
This avoids large output at the cost of reduced granularity.
- Add
parse_presto_data_size()
function.
- Add support for
UNION ALL
to optimizer’s cost model.
- Add support for estimating the cost of filters by using a default filter factor.
The default value for the filter factor can be configured with the
default_filter_factor_enabled
session property or the optimizer.default-filter-factor-enabled
.
Geospatial Changes
- Add input validation checks to
ST_LineString()
to conform with the specification.
- Improve spatial join performance.
- Enable spatial joins for join conditions expressed with the
ST_Within()
function.
Web UI Changes
- Fix Capture Snapshot button for showing current thread stacks.
- Fix dropdown for expanding stage skew component on the query details page.
- Improve the performance of the thread snapshot component on the worker status page.
- Make the reporting of Cumulative Memory usage consistent on the query list and query details pages.
- Remove legacy thread UI.
Hive Changes
- Add predicate pushdown support for the
DATE
type to the Parquet reader. This change also fixes
a bug that may cause queries with predicates on DATE
columns to fail with type mismatch errors.
Redis Changes
- Prevent printing the value of the
redis.password
configuration property to log files.


Clara Munro
I’m a designing designer & a developing developer. I'm a team player at heart & I like to make things happen. I hope to combine my love for art, design & coding to make interactive & meaningful work.
LinkedInJessica Roland
I am an Air Force veteran with a background in mathematics and accounting. I am very new to the tech industry--I don't even have Facebook and Twitter accounts! I hope to combine my love of math with my love of coding in my future pursuits.
Tim Schoen
I am a sports enthusiast. I love playing golf, and watching most sports. I have to admit I have no clue what happens in cricket, or how to keep score, but would love to learn. I also don't miss many meals. I love Italian cuisine. In the future, I hope to find empolyment in an emerging tech field.
LinkedIn


Load factor: {{occupantLoadFactor.occupant_load_factor}} sqft/person
Persons equivalent: {{occupantLoadFactor.gen.person}}


Lovely Nonce
Home
flag
I love nonces.
They secure my webpage and i don't have to worry about unsafe html anymore.
Learn more about nonces


We just returned from the Cologne Zoo, which is currently still collecting money for the new Elephant park. Based on what you can already see it will be magnificent. The weather outside is beautiful at the moment and we had a wonderful time. Some of the pictures I wanted to share here, are from the washing of the elephants and some turned out quite nice.
<!– more –>
There were two elephants there at the time and they had clear different preferences. The older one liked going into the water (but was old enough to know that she could wait for apples to be thrown in by the guards ;)) and the younger one liked to be washed.
The younger one sat there silently, while the older one was getting very close, eating some grass and flowers.

Then they finished off by turning themselves around to have the water on them just the right way. You could see they were enjoying themselves.
The older one, 56 years old (oldest one in Europe, 40 is what they get on average in the wild), could even wash herself all on her own!


Menu
Ga
Bo
Bo cuon pho mai
Bo nau nam
Oc
Oc huong nuong
Oc toi nuong muoi uot
Oc len xao dua
Type of noun
Common noun
It is a name of an Object in general such as pencil, pen paper and so
Proper noun
It is a uniqua name of a person or a place


EC takes up suo motu case against Bommai
His vehicle did not stop at two places for inspection by EC personnel
by Special CorrespondentThe Election Commission on Friday took up a suo motu case to probe the incident of Home Minister Basavaraj Bommai allegedly violating the model code of conduct in K.R. Pet Assembly segment on Thursday.
District Election Officer M.V. Venkatesh, who is also Deputy Commissioner of Mandya, told The Hindu he had instructed taluk election officers to investigate the matter. The official vehicle in which Mr. Bommai was travelling to Mysuru from Bengaluru allegedly refused to stop at two places on the highway on Wednesday for the officials on election duty to check it.
According to sources, the driver was instructed to stop at Nidaghatta near Maddur first. Since the vehicle did not stop, a message was passed to the personnel at another checkpost at Hanakere.
There too Mr. Bommai’s car did not halt. The incidents were videographed at both the places and the issue was brought to the notice of the Election Commission, a senior officer said. “The officials concerned at the Election Commission will question the driver of the vehicle,” Mr. Venkatesh said.


Hi, I'm Ajith Kumar and I'm 27, live in Chennai, India and work as Senior Software Developer. This is my personal website that I have built using HTML/CSS and Javascript!
If you'd like to follow me on Twitter, my username is @rsak90.


Gallery
Contributions
Contact
#Travel in the Sky
Details
Email:
<EMAIL_ADDRESS>Website:
HArt
feedback


Color Scheme
This is the color scheme palette I chose for my Predictable Weather website.
I chose these colors because I feel like they have a good weather
feel. They are also colors that seem to appeal to all people since my site is targeting a wide range of people.


I was recently quite disappointed by how bad neural networks are for function approximation (see How should a neural network for unbound function approximation be structured?). However, I've just found that Gaussian processes are great for function approximation!
There are two important types of function approximation:
- Interpolation: What values does the function have in between of known values?
- Extrapolation: What values does the function have outsive of the known values?
I did a couple of very quick examples which look promising.
Examples
Square
Approximating \(f(x) = x^2\) worked very good:
I've tried if with higher order polynomials, more complex polynomials. No problem.
Sin
Approximating \(f(x) = \sin(3x)\) seems to be more complicated:
I guess a human would see the wave pattern and do a better job here.
exp
Approximating \(f(x) = e^x\) works similar well as polynomials. One can see that it does not perfectly fit it, but compared the the range of values seen before and the distance from the last seen value I think this is absolutely acceptable:
noise
It is claimed that Gaussian processes implicitly model noise so that they can easily deal with noise. However, in my experients this seems not to work so great. The reason might be that I had points in \([-3, 3]\) of the function
with point-wise gaussian noise \(N \sim \mathcal{N}(0, 1)\). So the noise is quite domintant on that intervall. One of the examples where it worked better is:
Make it brake
I was a bit suspicious if I had another mistake here. So I wanted it to break. This was the reason why I created the following function
The predicted value is obviously not correct, but you should note that almost all function values are within the 95% confidence intervall!
Code
The following code needs numpy
and sklearn
. For the plots,
you need matplotlib
.
#!/usr/bin/env python
"""Example how to use gaussion processes for regression."""
import numpy as np
from sklearn import gaussian_process
def main():
# Create the dataset
x_train = np.atleast_2d(np.linspace(-3, 3, num=50)).T
y_train = f(x_train).ravel()
x_test = np.atleast_2d(np.linspace(-5, 5, 1000)).T
# Define the Regression Modell and fit it
gp = gaussian_process.GaussianProcess(theta0=1e-2, thetaL=1e-4, thetaU=1e-3)
gp.fit(x_train, y_train)
# Evaluate the result
y_pred, mse = gp.predict(x_test, eval_MSE=True)
print("MSE: %0.4f" % sum(mse))
print("max MSE: %0.4f" % max(mse))
plot_graph(x_test, x_train, y_pred, mse, "x^2")
def f(x):
"""
Function which gets approximated
"""
noise = [np.random.normal(loc=0.0, scale=1.0) for _ in range(len(list(x)))]
noise = np.atleast_2d(noise).T
return x ** 2 + noise
# Totally fails for that one:
# y = []
# for el in x:
# if el >= 0:
# y.append(el**2)
# else:
# y.append(-1)
# return np.array(y)
def plot_graph(x, x_train, y_pred, mse, function_tex):
# Plot the function, the prediction and the 95% confidence interval
# based on the MSE
sigma = np.sqrt(mse)
from matplotlib import pyplot as pl
pl.figure()
y = f(x_train).ravel()
pl.plot(x, f(x), "r:", label="$f(x) = %s$" % function_tex)
pl.plot(x_train, y, "r.", markersize=10, label="Observations")
pl.plot(x, y_pred, "b-", label="Prediction")
pl.fill(
np.concatenate([x, x[::-1]]),
np.concatenate([y_pred - 1.9600 * sigma, (y_pred + 1.9600 * sigma)[::-1]]),
alpha=0.5,
fc="b",
ec="None",
label="95% confidence interval",
)
pl.xlabel("$x$")
pl.ylabel("$f(x)$")
y_min = min(min(y_pred), min(y)) * 1.1
y_max = max(max(y_pred), max(y)) * 1.1
pl.ylim(y_min, y_max)
pl.legend(loc="upper left")
pl.show()
if __name__ == "__main__":
main()
See also
- www.gaussianprocess.org: The definitive book about gaussian processes. It's freely available online!
- Wikipedia
- sklearn: Gaussian Processes
- sklearn: Gaussian Processes regression: basic introductory example


So I am going to explain to you a new method today. Today’s method is “map.” Map is an enumerable method in ruby that can be very powerful and very useful when used correctly. It is familiar to the all popular “each” method, so if you are familiar with the .each method, you are in luck, but if not, don’t worry as I will make them both clear to you.
In Ruby Docs – Map – says: “invokes the given block once for each element,” but this is just like the each method as it also iterates the given block once for each method. However, the difference and good thing about map is that it also “creates a new array containing the values returned by the block.” This make the map method very useful when dealing with arrays and hashes. Often at times you want to return another array when iterating through an array or a hash and map allows you do so. It will allow you to run an operation on each of your array's objects and return them all in the exact same place, which is really convenient. Just picture map as “re-mapping” your original object through some sort of transformation.
Map also allows you to change a hash into an array. So if you have a hash of your brother’s ages, like this:
brothers_age = {"Jim" => 6, “Walt" => 13, "Tyler" => 21}
brothers_age.map will return this:
=> [["Jim", 6], ["Walt", 13], ["Tyler", 21]]
Seems very useful, right? All you do is iterate over every element in the block and is added into a new array. Here’s another example:
Let’s say you want to multiply all values of the following hash by 2:
hash.map {|k, v| v*2 }
=> [6, 2, 4]
Then if you want to see if an element is odd.
.map(&:odd?)
=> [false, false, false]
Although not a good example after you multiply them all by 2, but you get the point. Each element is iterated through and each one returns false. This can be great for debugging as it is very good for ruby as you don’t have to loop through each element, to check if they are even or odd. So, hopefully you can now successful use map, and


Before Change
LOG.info("Weights file does not match neural network model, train model from scratch")
def get_weights_bin(self):
return pickle.dumps(self.model.get_weights())
def set_weights_bin(self, weights):
try:
self.model.set_weights(pickle.loads(weights))
After Change
LOG.info("Weights file does not match neural network model, train model from scratch")
def get_weights_bin(self):
with self.graph.as_default():
with self.session.as_default(): // pylint: disable=not-context-manager
weights = self.model.get_weights()
return pickle.dumps(weights)
def set_weights_bin(self, weights):
try:
with self.graph.as_default():
with self.session.as_default(): // pylint: disable=not-context-manager


The Fight for Gay Rights
A Retro Platform Game for Modern Times!
A Retro Platform Game for Modern Times!
Welcome to Social Justice Warrior! The game where you can defeat the real bad guys! Weild powerful weapons in pursuit of Equality and Justice. Face off against ruthless opposition at nearly every turn.
The struggle is real, and only you can win Equality for yourself and your fellow humans!
Unfortunately, we are anot yet accepting donations, but you can help by spreading the word to your friends! Development will begin shortly, so please check back soon!


About this site
This website is dedicated to scientific research. To learn more about tacos, visit google.com and search for tacos.
Image Credits: Background image by Jaren. Lioplurodon image from El Fosilmaníaco via wikimedia. Giraffe image from Busby, Thomas Lord via wikimedia.


Elena-Marie Tenn
My name is Elena-Marie Tenn, and I'm a student at University of Southern California, studying Biochemistry.
Go Back


You can edit basic spectrum attributes and assign mission parameters by right-clicking on a spectrum and selecting
- Edit Spectrum Info
from the popup menu as shown in the following figure.
This opens the edit spectrum info panel. In the panel, basic spectrum attributes such as A/C program,
A/C section, fatigue mission and etc. can be edited.