Class: Aws::KMS::Types::CreateGrantRequest
| Inherits: |
Struct
|
| Defined in: |
(unknown) |
Overview
Note: When passing CreateGrantRequest
as input to a Client method, you can use a vanilla Hash
:
{
key_id: "KeyIdType", # required
grantee_principal: "PrincipalIdType", # required
retiring_principal: "PrincipalIdType",
operations: ["Decrypt"], # accepts Decrypt, Encrypt, GenerateDataKey, GenerateDataKeyWithoutPlaintext, ReEncryptFrom, ReEncryptTo, CreateGrant, RetireGrant, DescribeKey
constraints: {
encryption_context_subset: {
"EncryptionContextKey" => "EncryptionContextValue",
},
encryption_context_equals: {
"EncryptionContextKey" => "EncryptionContextValue",
},
},
grant_tokens: ["GrantTokenType"],
name: "GrantNameType",
}
Instance Attribute Summary collapse
-
#constraints ⇒ Types::GrantConstraints
The conditions under which the operations permitted by the grant are allowed.
-
#grant_tokens ⇒ Array<String>
A list of grant tokens.
-
#grantee_principal ⇒ String
The principal that is given permission to perform the operations that the grant permits.
-
#key_id ⇒ String
The unique identifier for the customer master key (CMK) that the grant applies to.
-
#name ⇒ String
A friendly name for identifying the grant.
-
#operations ⇒ Array<String>
A list of operations that the grant permits.
-
#retiring_principal ⇒ String
The principal that is given permission to retire the grant by using RetireGrant operation.
Instance Attribute Details
#constraints ⇒ Types::GrantConstraints
The conditions under which the operations permitted by the grant are allowed.
You can use this value to allow the operations permitted by the grant only when a specified encryption context is present. For more information, see Encryption Context in the AWS Key Management Service Developer Guide.
#grant_tokens ⇒ Array<String>
A list of grant tokens.
For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.
#grantee_principal ⇒ String
The principal that is given permission to perform the operations that the grant permits.
To specify the principal, use the Amazon Resource Name (ARN) of an AWS principal. Valid AWS principals include AWS accounts (root), IAM users, federated users, and assumed role users. For examples of the ARN syntax to use for specifying a principal, see AWS Identity and Access Management (IAM) in the Example ARNs section of the AWS General Reference.
#key_id ⇒ String
The unique identifier for the customer master key (CMK) that the grant applies to.
To specify this value, use the globally unique key ID or the Amazon Resource Name (ARN) of the key. Examples:
Globally unique key ID: 12345678-1234-1234-1234-123456789012
Key ARN: arn:aws:kms:us-west-2:123456789012:key/12345678-1234-1234-1234-123456789012
#name ⇒ String
A friendly name for identifying the grant. Use this value to prevent unintended creation of duplicate grants when retrying this request.
When this value is absent, all CreateGrant
requests result in a new
grant with a unique GrantId
even if all the supplied parameters are
identical. This can result in unintended duplicates when you retry the
CreateGrant
request.
When this value is present, you can retry a CreateGrant
request with
identical parameters; if the grant already exists, the original
GrantId
is returned without creating a new grant. Note that the
returned grant token is unique with every CreateGrant
request, even
when a duplicate GrantId
is returned. All grant tokens obtained in
this way can be used interchangeably.
#operations ⇒ Array<String>
A list of operations that the grant permits. The list can contain any combination of one or more of the following values:
#retiring_principal ⇒ String
The principal that is given permission to retire the grant by using RetireGrant operation.
To specify the principal, use the Amazon Resource Name (ARN) of an AWS principal. Valid AWS principals include AWS accounts (root), IAM users, federated users, and assumed role users. For examples of the ARN syntax to use for specifying a principal, see AWS Identity and Access Management (IAM) in the Example ARNs section of the AWS General Reference.


Nyzo version 606 (commit on GitHub) corrects an issue with JavaScript delivery on the documentation server.
This version affects the documentation and relay server.
In DocumentationController.process(), files with the .js extension are now processed when building the endpoint map.
In DocumentationEndpoint.determineType(), files with the .js extension are assigned to DocumentationEndpointType.JavaScript.
The DocumentationEndpointType.JavaScript value was added with a MIME type of EndpointResponse.contentTypeJavaScript, a constant with the value of text/javascript.
The EndpointResponse.contentTypeJavaScript constant was added with a value of text/javascript, and this type is assigned to files with the .js extension in the contentTypeForFile() method, which is used for endpoints for the relay server.


Section 2.3 Word Processing
Skills Addressed in this Lesson:
Open the word processor.
Create a document.
Write a heading and two sentences in a document.
Use the backspace and cursor keys to make basic corrections.
Review text moving forward and back by character and word.
Review text backward and forward by sentence and paragraph.
Use the back and advance thumb-keys to move back and forward by one width of the Braille display.

Determine how much power is left and become aware of when the BrailleNote needs to be charged.
Subsection 2.3.1 Tasks
Turn on the BrailleNote on/off rocker switch
Go to Main Menu space + dots123456
From the Main Menu, open Keyword space, enter
In KeyWord Menu, create a document space, enter or letter c
Choose Folder for Document space, enter
-
Name the file by typing a name (\lt250 characters), then press enter
-
When in the document, instruct your student to write:
Their name, then enter
The date, then enter
The word "Practice''
Presenter twice to place a blank line after "Practice''
Now your student may write two or three sentences to get a feel for what writing in the word processor is like.
Move Cursor Location cursor routing keys
Delete text backspace key
-
-
Listed below are commands that can be used on the BrailleNote. The current document will be too small to practice them all, but a quick review won't hurt. Review commands are especially helpful when the speech is being used.
To move back by character space + dot3
To move forward by character space + dot6
To move back by word space + dot2
To move forward by word space + dot5
To move back by sentence space + dot1
To move forward by sentence space + dot4
To move back b paragraph space + dots23
To move forward by paragraph space + dots56
To move back the width of 1 braille display back thumb-key
To move back the width of 1 braille display advance thumb-key
Turn braille display on/off space + next thumb-key
-
Access Options Menu space + o thumb-key
See Power/battery level letter p
Clear power level and return to document next thumb-key
Subsection 2.3.2 Quiz
Your student may answer the following true and false questions. Then, you may require them to demonstrate knowledge of the skills learned in this lesson by actually using the BrailleNote.
It is not necessary to check the BrailleNote power level.
Using the space with dot4 will go forward by a sentence.
The previous thumb-key with space will turn the Braille display on and off.
Space with dot2 will move forward by character in the word processor.
File names can be up to 350 characters long.
Space with the previous thumb-key turns the speech on and off.
Space with dot6 moves forward by character.
Space with o will get you to the options menu.
After checking the power level, a user must first return to the Main Menu to reset the BrailleNote.
Keyword is the name of the BrailleNote word processor.


ASEditableTextNodeDelegate Protocol Reference
| Conforms to | NSObject |
|---|---|
| Declared in | ASEditableTextNode.h |
Overview
The methods declared by the ASEditableTextNodeDelegate protocol allow the adopting delegate to respond to notifications such as began and finished editing, selection changed and text updated; and manage whether a specified text should be replaced.
– editableTextNodeDidBeginEditing:
Indicates to the delegate that the text node began editing.
- (void)editableTextNodeDidBeginEditing:(ASEditableTextNode *)editableTextNode
Parameters
editableTextNode |
An editable text node. |
|---|
Discussion
The invocation of this method coincides with the keyboard animating to become visible.
Declared In
ASEditableTextNode.h
– editableTextNode:shouldChangeTextInRange:replacementText:
Asks the delegate whether the specified text should be replaced in the editable text node.
- (BOOL)editableTextNode:(ASEditableTextNode *)editableTextNode shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text
Parameters
editableTextNode |
An editable text node. |
|---|---|
range |
The current selection range. If the length of the range is 0, range reflects the current insertion point. If the user presses the Delete key, the length of the range is 1 and an empty string object replaces that single character. |
text |
The text to insert. |
Return Value
The text node calls this method whenever the user types a new character or deletes an existing character. Implementation of this method is optional – the default implementation returns YES.
Discussion
YES if the old text should be replaced by the new text; NO if the replacement operation should be aborted.
Declared In
ASEditableTextNode.h
– editableTextNodeDidChangeSelection:fromSelectedRange:toSelectedRange:dueToEditing:
Indicates to the delegate that the text node’s selection has changed.
- (void)editableTextNodeDidChangeSelection:(ASEditableTextNode *)editableTextNode fromSelectedRange:(NSRange)fromSelectedRange toSelectedRange:(NSRange)toSelectedRange dueToEditing:(BOOL)dueToEditing
Parameters
editableTextNode |
An editable text node. |
|---|---|
fromSelectedRange |
The previously selected range. |
toSelectedRange |
The current selected range. Equivalent to the |
dueToEditing |
YES if the selection change was due to editing; NO otherwise. |
Discussion
You can access the selection of the receiver via
Declared In
ASEditableTextNode.h
– editableTextNodeDidUpdateText:
Indicates to the delegate that the text node’s text was updated.
- (void)editableTextNodeDidUpdateText:(ASEditableTextNode *)editableTextNode
Parameters
editableTextNode |
An editable text node. |
|---|
Discussion
This method is called each time the user updated the text node’s text. It is not called for programmatic changes made to the text via the
Declared In
ASEditableTextNode.h
– editableTextNodeDidFinishEditing:
Indicates to the delegate that teh text node has finished editing.
- (void)editableTextNodeDidFinishEditing:(ASEditableTextNode *)editableTextNode
Parameters
editableTextNode |
An editable text node. |
|---|
Discussion
The invocation of this method coincides with the keyboard animating to become hidden.
Declared In
ASEditableTextNode.h


{{page.label}}
{{page.content}}
{{page.author}}
{{item}}
{{page.code}}
Laravel & Angular Meetup Talk
@etbal


Describe why the job is being disabled, including if it should be disabled permanently or temporarily.


|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.vertx.groovy.core.eventbus.EventBus
@groovy.transform.CompileStatic class EventBus
A distributed lightweight event bus which can encompass multiple vert.x instances. The event bus implements both publish / subscribe network and point to point messaging.
For publish / subscribe, messages can be published to an address using one of the publish methods. An address is a simple String instance. Handlers are registered against an address. There can be multiple handlers registered against each address, and a particular handler can be registered against multiple addresses. The event bus will route a sent message to all handlers which are registered against that address.
For point to point messaging, messages can be sent to an address using one of the send methods. The messages will be delivered to a single handler, if one is registered on that address. If more than one handler is registered on the same address, Vert.x will choose one and deliver the message to that. Vert.x will aim to fairly distribute messages in a round-robin way, but does not guarantee strict round-robin under all circumstances.
All messages sent over the bus are transient. On event of failure of all or part of the event bus messages may be lost. Applications should be coded to cope with lost messages, e.g. by resending them, and making application services idempotent.
The order of messages received by any specific handler from a specific sender should match the order of messages sent from that sender.
When sending a message, a reply handler can be provided. If so, it will be called when the reply from the receiver has been received. Reply messages can also be replied to, etc, ad infinitum
Different event bus instances can be clustered together over a network, to give a single logical event bus.
Instances of this class are thread-safe
| Constructor Summary | |
EventBus(EventBus jEventBus)
|
| Method Summary | |
|---|---|
protected static java.lang.Object
|
convertMessage(java.lang.Object message)
|
EventBus
|
javaEventBus()
|
EventBus
|
publish(java.lang.String address, java.lang.Object message)
Publish a message on the event bus. |
EventBus
|
registerHandler(java.lang.String address, groovy.lang.Closure handler, groovy.lang.Closure resultHandler = null)
Registers a handler against the specified address. |
EventBus
|
registerLocalHandler(java.lang.String address, groovy.lang.Closure handler)
Registers a local handler against the specified address. |
EventBus
|
send(java.lang.String address, java.lang.Object message, groovy.lang.Closure replyHandler = null)
Send a message on the event bus. |
EventBus
|
unregisterHandler(java.lang.String address, groovy.lang.Closure handler, groovy.lang.Closure resultHandler = null)
Unregisters a handler given the address and the handler |
protected static Handler
|
wrapHandler(groovy.lang.Closure handler)
|
| Methods inherited from class java.lang.Object | |
|---|---|
| java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
| Constructor Detail |
|---|
EventBus(EventBus jEventBus)
| Method Detail |
|---|
protected static java.lang.Object convertMessage(java.lang.Object message)
EventBus javaEventBus()
EventBus publish(java.lang.String address, java.lang.Object message)
address
- The address to publish it tomessage
- The message
EventBus registerHandler(java.lang.String address, groovy.lang.Closure handler, groovy.lang.Closure resultHandler = null)
address
- The address to register it athandler
- The handlerresultHandler
- Optional completion handler. If specified, then when the register has been
propagated to all nodes of the event bus, the handler will be called.
EventBus registerLocalHandler(java.lang.String address, groovy.lang.Closure handler)
address
- The address to register it athandler
- The handler
EventBus send(java.lang.String address, java.lang.Object message, groovy.lang.Closure replyHandler = null)
address
- The address to send it tomessage
- The messagereplyHandler
- Reply handler will be called when any reply from the recipient is received
EventBus unregisterHandler(java.lang.String address, groovy.lang.Closure handler, groovy.lang.Closure resultHandler = null)
address
- The address the handler was registered tohandler
- The handlerresultHandler
- Optional completion handler. If specified, then when the unregister has been
propagated to all nodes of the event bus, the handler will be called.
protected static Handler wrapHandler(groovy.lang.Closure handler)
Groovy Documentation


| DOSE: T+ 0:00 |
1 tablet |
oral |
MDA |
| T+ 3:00 |
1 tablet |
oral |
MDA |
| T+ 5:00 |
1 tablet |
oral |
MDA |
I've been using the MDXX chemicals for the last three years now, and for reasons that are entirely unclear to me, I find that I have much more interesting trips on MDA. At least,that's the assertion I can gather from the scattered and fleeting pieces I can put back together. The memories of my experiences are fragmented, and I'm sure I speak for everyone who has ever tried MDA when I say that it's saddening when you can't remember the good times you think you may of had.
Anyway, I can vividly remember one experience for it's unusualness. There were five of us in total and we each had a variety of pills, different 'brands', but from the same dealer. I was the only one with five tablets ( I like to buy more than I need in order to save any more trips to the dealers house. You know how seedy and unreliable they can be. . .)So we all took a pill around 11:00 P.M.,and headed to the beach. It's about an hour drive, so when we got there we were already starting to feel the effect of the MDA.
So far, nothing unusual. We all seemed to be on the same plane; we all felt energetic, euphoric, light, and incredibly warm to the new experience(being at the beach while on E). We parked our car in the middle of the beach and took turns choosing music, as we all like to contribute to the echoic aesthetic. We had the following selection: Tool, A Perfect Circle, Smashing Pumpkins, Appleseed Cast, and some other prog rock. For anyone unfamilar with the musical experience on MDA,I recommend choosing anything that you like, don't get stuck with anything too abrasive or annoying. I recommend Tool's Salival - the No Quarter track is great.
So after about the three hour mark, we took another pill, and then we popped another in a of couple hours. (this may seem excessive but we use E once a month, so it becomes an event)Soon the sun started coming up and this is where the most remarkable part of the trip occured. We were all familar with MDAs physiological, visual, empathetic, and psychological qualities (as an aside, the psychological aspect can be particularly strong. a friend of mine had a pathological fear of the ocean since he was a child; MDA allowed him to overstep that fear, and soon he was submerged in water despite our attempts to disuade him from tracking water and sand into the car), but this was something entirely new.
As the sun started to come up, I became fixed on a particular funny looking cloud. It stretched across the entire length of the beach, just above the horizon, where the water met the sky. There was something unusual in it's shape, but I still couldnt quiet make it out. I pointed it out to a friend of mine and soon we both noticed that we could see. . . a minature city in the clouds. It was there. It wasnt a type of hallucinogenic visual,and it had no psychedelic aspect to it. It looked as if someone drew it in the sky. You could see so much detail - bridges, castles, futuristic-looking buildings, smoke. It was a weird fantasy/industrail mix. Soon we could all see it and we each pointed out particular details. And what's even more remarkable for me is that the pictures began to shift, and by that I mean that what we saw was something entirely new; the old image was lost. The clouds werent moving; they didnt change shape. We just percieved them differently.
And as time went by, we were incapable of making out old pictures because the formation of new ones were dominant. We saw a boat sinking into the water, minature people were falling off it's deck and smoke and fire were superimposed as it was billowing out of the tanker. It was as clear as a photograph. We saw a gigantic house with palm trees, a huge fence, and it took us a while before we realized it was - my house! We saw a formation of king kong ripping apart a radio tower. We saw a dolphin, a T-Rex, a man sitting on a toilet! It was weird, and stimulating, and we spent nearly 2 1//2 hours walking along the beach, pointing and laughing and crying out hysterically. Now remember, it's 7 in the morning, so there's people out and we must of looked like some sort of drugged up crazies staring at the sky in amazement.
Anyway, that's the way it went. I wish to repeate the experience but everytime we decide to roll together it seems as if there are no clouds, or it's too dark to make out the formation. I wish to try this agian soon, and I recommend that if you're bent on taking MDA, you should try seeking out an image in the sky.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


Home
FAQ
Sakina's Kitchen
We cater the best tasting food. Please give your tastebuds a taste of perfection!
Orders must be placed 24 hours in advance!
Delivery will be done on request!
Contact Now: +255676482444


My collection of certifications and badges
Just a casual picture of me with my dorky hipster glasses.
Python
Java
JavaScript
HTML
CSS
Computer Science
Database
Scripting
Git
Windows
Mac
Linux


Politico
Sign In
Make your voice heard during elections.
Create an account
Have an account? Sign in instead


Choose a JSON file containing layout descriptions to view them below. The file can contain one or multiple layouts. You can find an example file here: Sample.json


|
We are building a team of members to help us understand the gamer's opinion on new products, technology games, consoles, gadgets, computers and other things you use. The team is called the Team Warfare League Panel. All we ask you to do is participate in an online survey about once a month. When you do, we reward you with cash, gift certificates, other prizes and information. Please know that all of the information you provide is always kept confidential. If you have any further questions, please visit the F.A.Q and Privacy Policy Section on our website - www.teamwarfareleaguepanel.com PRIVACY AND CONFIDENTIALITY Team Warfare has partnered with Socratic Technologies, Inc. a full-service market research firm that values your privacy. All of your responses will be kept confidential and only reported in the aggregate. Your personal information will not be sold or traded to any direct-mail companies. For more information about Socratic's privacy policy, please visit www.sotech.com/main/eval.asp?PID=106. If you have questions about the survey, please contact the Member Services Manager, Ryan Hill, at<EMAIL_ADDRESS>and reference project 557-001. Ryan can also be reached at 1-800-5-SOCRATIC (1-800-576-2728), or 001-415-430-2200 outside USA. If you would like to be removed from our contact list, please reply to this email and type "Remove - Team Warfare" in the subject line, or call 1-800-5-SOCRATIC (1-800-576-2728) or 001-415-430-2200 outside USA. You may also request your removal by writing to: Socratic Technologies, Inc., 2505 Mariposa Street, San Francisco, CA 94110 USA. Socratic Technologies, Inc. is a member of the Interactive Marketing Research Organization (IMRO) and we subscribe to the privacy policies and code of research ethics published by this group. You can visit IMRO at www.imro.org for more information.
|


CMainFrm Module
The CMainFrm Module
The MainFrame object is defined:
class MainFrame : public CMainFrm { ... }
The CMainFrm base module only has the Set App Name and Set Title features. Since the mainframe is an object held in the application data, reaching these functions must be done through theApp object, i.e. CApp.
The application Main Frame module includes several objects which relate to the boarder, menu bar, tool bar and status bar. CMainFrm has functions for setting the application name and window title but there are other features that are contained in the library. The toolbar is a subclass of CMFCToolBar and provides a toolbar where a wide margin button may be implemented, a drop down menu list and even a combo box. One of the features of managing the toolbar is a message
ON_REGISTERED_MESSAGE(AFX_WM_RESETTOOLBAR, &OnResetToolBar)
The toolbar is actually setup in OnResetToolBar. See the template for details.


Success!
Error!
Add
ID
Content
Created By
Created Time
Delete
Voice
ID
Subject
From
Sent Time
Send
Forward


Automation 4 karaskel.lua
From Aegisub Manual
The Automation 4 karaskel.lua include file contains several functions intended to help the development of karaoke effects with Automation 4 Lua. It also defines several new data structures, and extensions to those defined by Automation 4 Lua itself.
karaskel.lua itself includes utils.lua and unicode.lua so you do not need to include those yourself when using karaskel.lua.
Using karaskel.lua is strongly recommended when creating karaoke effects, and it can also be useful for other tasks as it contains several text layouting functions.
Contents |
Functions
karaskel.collect_head
Synopsis: meta, styles = karaskel.collect_head(subtitles, generate_furigana)
Reads the subtitle file to collect all header information and style definitions, and optionally also generates new styles for furigana layouts.
-
subtitles
is the Subtitle File object defined by Automation 4 Lua. -
generate_furigana
is a boolean, if it is true a style for furigana layout is generated for each style that does not have one already. Generation of furigana styles will never overwrite existing styles, create double style definitions or create meaningless furigana styles for other furigana styles.
Calling collect_head
is usually one of the first things you do in your processing function.
The returned meta
table contains a map of all Name: Value pairs in the [Script Info] section. It also always contains meta.res_x
and meta.res_y
calculated from the PlayResX and PlayResY fields, following VSFilter conventions for default values when one or both of the fields are missing.
The returned styles
table contains a map of all defined styles, it also include any generated furigana layout styles. The style structures stored in this table have one added field, style.margin_v
which is an alias for style.margin_t
, for convenience. styles
can be indexed by style names (case sensitive, names not mangled) and by numbers. styles.n
is the number of styles stored, and styles[1]
is the first style defined.
karaskel.preproc_line
Synopsis: karaskel.preproc_line(subtitles, meta, styles, line)
Calculate sizing, positioning and various other information for a single subtitle line. This function calls karaskel.preproc_line_text
, karaskel.preproc_line_size
and karaskel.preproc_line_pos
in order.
Note that the interface for the three functions used to do the work is not frozen, it might change, though it probably won't.
The interface for this function is frozen and will not change. It is recommended to call this function to pre-process a line.
This function does not return a value, but rather modifies the line
table, see below for more information.
karaskel.preproc_line_text
Synopsis: karaskel.preproc_line_text(meta, styles, line)
Preprocess the text of a single line. meta
and styles
are the tables returned by karaskel.collect_head
.
This function does not return a value, but rather modifies the line
table. The following fields are added:
-
line.text_stripped
- Line text with all override tags and vector drawings removed. -
line.duration
- Duration of the line in milliseconds -
line.kara
andline.furi
- Extended karaoke and furigana tables, without sizing and position data.
This function does not calculate any text sizing or positioning information. (In fact it doesn't use the meta
or styles
arguments at all.)
karaskel.preproc_line_size
Synopsis: karaskel.preproc_line_size(meta, styles, line)
Calculate sizing data for a line and all karaoke syllables and furigana parts. Also adds a reference to the line style.
This function does not return a value, but rather modifies the line
table. The following fields are added:
-
line.styleref
- A reference to the Style table representing this line's selected style. -
line.furistyle
- A reference to the Style table representing this line's furigana layout style. If there is no style with the right name, this field isfalse
instead. -
line.width
,line.height
,line.descent
andline.extlead
- Sizing information for the stripped line text, as returned byaegisub.text_extents
.
Also, this function modifies the line.kara
and line.furi
tables, adding sizing information.
No position information is calculated here.
If the line
table does not seem to have been processed with karaskel.preproc_line_text
yet, this will be done automatically.
karaskel.preproc_line_pos
Synopsis: karaskel.preproc_line_pos(meta, styles, line)
Calculate line, karaoke and furigana position information.
This function invokes karaskel.do_basic_layout
when no furigana style is available, and karaskel.do_furigana_layout
when a furigana style is defined for the line. The furigana layout algorithm might change the calculated width of the line.
This function does not return a value, but rather modifies the line
table. The following fields are added:
-
line.margin_v
- A convenience alias forline.margin_t
. -
line.eff_margin_l
,line.eff_margin_r
,line.eff_margin_t
,line.eff_margin_b
andline.eff_margin_v
- Effective margin values for the line. If the corresponding margin override for the line is non-zero, that value is used, otherwise the value defined in the style is used. -
line.halign
- One of "left", "center" or "right", the horizontal alignment of the line, derived fromline.styleref.align
. -
line.valign
- One of "top", "middle" or "bottom", the vertical alignment of the line, derived fromline.styleref.align
. -
line.left
- The left edge X coordinate for the line, assuming its given alignment, effective margins and no collision detection -
line.center
- The line centre X coordinate, assuming its given alignment, effective margins and no collision detection -
line.right
- The right edge X coordinate for the line, assuming its given alignment, effective margins and no collision detection -
line.top
- The top edge Y coordinate for the line, assuming its given alignment, effective margins and no collision detection -
line.middle
- The line vertical centre Y coordinate, assuming its given alignment, effective margins and no collision detectionline.vcenter
is an alias for this. -
line.bottom
- The bottom edge Y coordinate for the line, assuming its given alignment, effective margins and no collision detection. -
line.x
andline.y
- X and Y coordinates for the line, suitable for using in a\pos
override tag to get the line's original position.
Furthermore, the line.kara
and line.furi
tables are modified by the layout function called, adding positioning information.
See the part on data structures later on this page for more details on the various fields that are added.
If no line sizing information is found, karaskel.preproc_line_size
will be invoked, which might in turn also invoke karaskel.preproc_line_text
.
karaskel.do_basic_layout
This function is not intended to be called directly, but is rather called as a helper function for karaskel.preproc_line_pos
.
It runs a very simple layout algorithm for the line.kara
table, which simply calculates the positions of the syllables when placed in one straight line with no additional spacing in between. Positioning information is added to each karaoke syllable.
The line.furi
table is not touched.
karaskel.do_furigana_layout
This function is not intended to be called directly, but is rather called as a helper function for karaskel.preproc_line_pos
.
It runs an advanced text layout algorithm to position karaoke syllables and furigana neatly, avoiding unwanted overlapping. People interested in the actual algorithm used should read the function source code, it should be well enough commented.
This function adds positioning information to both the line.kara
and line.furi
tables. It might also change the line.width
field as the line base text is expanded to make room for furigana.
Karaoke skeletons
A karaoke skeleton is a framework for building karaoke effects in. It usually works by writing a couple of functions yourself for handling the actual effect work, and these are then called at various times. The actual details of what functions you need to write depends on the actual karaoke skeleton.
Effect Library
Main function: karaskel.use_fx_library_furi(use_furigana, add_macro)
Call the karaskel.use_fx_library_furi
function to install the Effect Library skeleton for this script file. The script_name
and script_description
globals are used to name the export filter produced. If use_furigana
is true, furigana styles are created and added as needed. If add_macro
is true, a macro is registered in addition to the export filter.
The basic premise of the Effect Library skeleton is that each timed karaoke line has a word in its Effect field that describes what effect to apply to that line. This makes Effect Library a good choice if you want to use several different effects in a single karaoke.
When Effect Library is invoked, it calls a function named fx_effect for each Dialogue line in the subtitle file.. For example, if the Effect field of a dialogue line is "jump", the function named fx_jump is called. For lines with empty Effect field, the function fx_none is called.
If an fx function does not exist, the original line is left in the subtitle file. Otherwise, whether the original line is left depends on the return value of the fx function, a true return value means the original line is kept, a false value means it is made into a Comment line.
Signature of fx functions: keep = fx_effect(subtitles, meta, styles, line, fxdata)
fxdata
is the contents of the Effect field after the initial word defining the effect to be used. All output of an fx function should be appended to the subtitle file represented by subtitles
.
Simplified main function: karaskel.use_fx_library(add_macro)
Identical to the _furi
variant above, except that the use_furigana
parameter is removed; it is assumed to be false.
Classic Advanced
Main function: karaskel.use_classic_adv(use_furigana, add_macro)
Call the karaskel.use_classic_adv
function to install the Classic Advanced skeleton for this script file. The script_name
and script_description
globals are used to name the export filter produced. If use_furigana
is true, furigana styles are created and added as needed, and furigana processing is enabled. If add_macro
is true, a macro is registered in addition to the export filter.
This skeleton is created in the image of the Automation 3 karaskel-adv skeleton, but it is not compatible with it. (You cannot use a karaskel-adv script with Classic Advanced without rewriting parts of your script.) The basic premise is that a function is called once for each syllable, this is the do_syllable
function. Optionally, you can have a function called for each line, using the do_line
function.
Classic Advanced uses a slightly different model than the usual Automation 4 Lua one, here all subtitle lines are collected first before any further processing is done. They also have line.prev
and line.next
fields added, to allow linked list style access. To add lines to the output, you must still add lines to the subs object though. Before processing starts, all original lines are deleted from the subs object.
Signature of syllable function: do_syllable(subs, meta, styles, lines, line, syl)
The syllable function must be named do_syllable
. If furigana processing is enabled, you can also define a function called do_furigana
with the same signature, to process furigana syllables. Furigana still follows the Automation 4 model here.
Signature of line function: do_line(subs, meta, styles, lines, line, default_do_line)
Defining a line function is optional, and is often not required. The line function must be named do_line
if it exists. The default_do_line
parameter is the function that would be called if do_line
didn't exist, you can call it to run the default line processing along with your own processing.
Data structures
karaskel.lua
defines and extends several data structures. Some of the changes are already listed above under the individual functions.
Styles array
The styles
array is produced by the karaskel.collect_head
function and should be passed to most other karaskel.lua
functions. It contains a list of all styles in the subtitle file, and can be accessed in two ways.
styles.n
is a number telling the number of styles in the array. styles[1]
is the first defined style and styles[styles.n]
is the last defined style.
The styles
array can also be indexed by style names, such that styles[style.name] == style
. The names are not mangled and the indexing is case sensitive.
Be aware that modifying the styles
will never update the subtitles file, and conversely updating the styles in the subtitle file will not automatically be reflected in styles
either.
Style table
This is a slight extension of the basic style class subtitle line structure.
One field is added:
-
style.margin_v
is a convenience alias forstyle.margin_t
.
Full list of fields:
-
style.class == "style"
-
style.raw
- The raw line text. -
style.section == "[V4+ Styles]"
-
style.name
- Name of the style. -
style.fontname
- Name of the font face used by the style. -
style.fontsize
- Font size for the style. -
style.color1
,style.color2
,style.color3
andstyle.color4
- The four colours used by the style, in regular order. Useextract_color
and family to manipulate these. -
style.bold
-true
/false
to specify bold/non-bold font face. Can also be a number to specify font weight, but this is not well supported and should be avoided. -
style.italic
- Boolean, whether an italic/oblique version of the font face is used or not. -
style.underline
andstyle.strikeout
- Boolean, whether to apply these two decorations to the text. -
style.scale_x
andstyle.scale_y
- Scaling in X and Y direction, 100 is neutral. -
style.spacing
- Additional spacing in pixels between individual characters in text. -
style.angle
- Z axis rotation for the text. -
style.borderstyle
- 1 (one) for regular outlined text, 3 for opaque box behind subtitles. -
style.outline
- Width of the extended outline around the text. -
style.shadow
- Distance to the shadow behind the text. -
style.align
- Numpad-style alignment for the text on screen. -
style.margin_l
,style.margin_r
,style.margin_t
andstyle.margin_b
- Margins for the style.style.margin_v
is an alias for top margin. -
style.encoding
- Windows font encoding ID for the style. -
style.relative_to
- Currently unsupported. -
style.vertical
- Unsupported, tentative AS5 feature.
Dialogue line table
A large number of new fields have been added to the dialogue line class.
Basic fields:
-
line.class == "dialogue"
, also for comment lines -
line.raw
- The raw line text. -
line.section
- Usually "[Events]". -
line.comment
- Boolean, true if the line is a Comment line rather than Dialogue. -
line.layer
- Layer of the line. -
line.start_time
,line.end_time
- Start and end times of the line in milliseconds. -
line.style
- Name of the style used for the line. -
line.actor
- Actor field for the line. -
line.margin_l
,line.margin_r
,line.margin_t
andline.margin_b
- Margin overrides for the line, a zero value means use margin from style. -
line.effect
- Effect field of the line. -
line.userdata
- Unused, tentative AS5 field. -
line.text
- Dialogue text.
Basic added fields, by karaskel.preproc_line_text
:
-
line.text_stripped
- Line text with all override tags and vector drawings removed. -
line.duration
- Duration of the line in milliseconds -
line.kara
andline.furi
- Array tables of extended karaoke and furigana tables, respectively. They do not contain sizing and positioning data from the beginning.
Added fields for sizing, by karaskel.preproc_line_size
:
-
line.styleref
- A reference to the Style table representing this line's selected style. -
line.furistyle
- A reference to the Style table representing this line's furigana layout style. If there is no style with the right name, this field isfalse
instead. -
line.width
,line.height
,line.descent
andline.extlead
- Sizing information for the stripped line text, as returned byaegisub.text_extents
.line.width
may also be modified bykaraskel.preproc_line_pos
.
Added fields for positioning, by karaskel.preproc_line_pos
:
-
line.margin_v
- A convenience alias forline.margin_t
. -
line.eff_margin_l
,line.eff_margin_r
,line.eff_margin_t
,line.eff_margin_b
andline.eff_margin_v
- Effective margin values for the line. If the corresponding margin override for the line is non-zero, that value is used, otherwise the value defined in the style is used. -
line.halign
- One of "left", "center" or "right", the horizontal alignment of the line, derived fromline.styleref.align
. -
line.valign
- One of "top", "middle" or "bottom", the vertical alignment of the line, derived fromline.styleref.align
. -
line.left
- The left edge X coordinate for the line, assuming its given alignment, effective margins and no collision detection -
line.center
- The line centre X coordinate, assuming its given alignment, effective margins and no collision detection -
line.right
- The right edge X coordinate for the line, assuming its given alignment, effective margins and no collision detection -
line.top
- The top edge Y coordinate for the line, assuming its given alignment, effective margins and no collision detection -
line.middle
- The line vertical centre Y coordinate, assuming its given alignment, effective margins and no collision detectionline.vcenter
is an alias for this. -
line.bottom
- The bottom edge Y coordinate for the line, assuming its given alignment, effective margins and no collision detection. -
line.x
andline.y
- X and Y coordinates for the line, suitable for using in a\pos
override tag to get the line's original position.
Added fields for linked list access, only available when using the Classic Advanced skeleton:
-
line.prev
,line.next
- Access the dialogue line before and after this one. These might be nil on the first/last dialogue lines. Blank lines, style lines, header lines etc. are not included in this linked list.
Karaoke and furigana syllable tables
Tables for regular karaoke syllables and furigana parts are identical in (almost) every aspect, and can usually be processed by the same code without problems. There are a few points to take note of, they will be marked. Everywhere it says syl
here, you can replace that with furi
unless otherwise noted.
Basic fields, defined by aegisub.parse_karaoke_data
:
-
syl.duration
- syllable duration in milliseconds (divide by 10 to get a number suitable for \k tags.) -
syl.start_time
,syl.end_time
- Start and end time of the syllable in milliseconds, relative to the start time of the line. -
syl.tag
- The name of the tag defining this syllable, without backslash. It will usually be one of k, K, kf or ko. Note that kt is not handled. Furigana parts have the same tag as the original syllable defining them. -
syl.text
- Text including tags of the syllable. Same as stripped text for furigana. -
syl.text_stripped
- Text of the syllable with all tags removed. For main syllables, this also has furigana and multi-highlight parts removed. This is the text you will usually want to use.
Additions by karaskel.preproc_line_text
:
-
syl.kdur
- Syllable duration in centiseconds, suitable for use in \k tags. -
syl.line
- Back reference to the line table containing this syllable. -
syl.inline_fx
- Name of the inline-fx for this syllable. -
syl.i
- Index number of this syllable. -
syl.prespace
,syl.postspace
- Space characaters at the start/end of the syllable. Always blank for furigana. These are spaces included insyl.text_stripped
. You will usually never need this. -
syl.text_spacestripped
- Syllable text stripped for tags and trimmed of spaces at the start and end. This,syl.prespace
andsyl.postspace
together can produce the same assyl.text_stripped
. You will usually never need this. -
syl.isfuri
- true if the table is a furigana table, false if it is not. If you use a single function to process both regular and furigana syllables, you can use this to do differentiated processing still. -
syl.highlights
- Array table of multi-highlight data for the syllable. For furigana, there is always exactly one highlight defined. See below for format of highlight tables.
Additions by karaskel.preproc_line_size
:
-
syl.style
- Reference to the style used to calculate sizing for this syllable. This will be the main line style for regular syllables and the furigana style for furigana. You should always set the style of the generated lines to this one. -
syl.width
,syl.height
- Width and height ofsyl.text_spacestripped
, as returned byaegisub.text_extents
. -
syl.prespacewidth
,syl.postspacewidth
- Width ofsyl.prespace
andsyl.postspace
respectively. You will usually not need these. Always zero for furigana.
Additions by karaskel.preproc_line_pos
:
-
syl.left
,syl.center
,syl.right
- Respectively left, center and right aligned positions of the syllable/furigana, for use with different alignments. The positions are relative to the left edge of the line, meaning you will need to add a value for line positioning to use these values to position syllables on screen. There is no guarantee thatsyl.right
for one syllable is equal tosyl.left
for the next syllable.
Example
line.left + syl.centerCalculates the default X position of a syllable, suitable for use with
\an2
, \an5
or \an8
alignment.Highlight table
A highlight table defines one highlight of a multi-highlight timed syllable.
Highlight tables are entirely defined by karaskel.preproc_line_text
, and contain the following fields:
-
hl.start_time
,hl.end_time
- Start and end time of the highlight, in milliseconds, relative to the start of the line. -
hl.duration
- Duration of the highlight in milliseconds.
| Overview: |
Automation Manager • Running macros • Using export filters • Standard macros • Changes from Automation 3 • Moving from Automation 3 |
|---|---|
| Karaoke Templater reference: |
Declaring templates • Execution order • Modifiers • Inline-variables ($-variables) • Code lines and blocks • Execution envirionment |
| Lua reference: |
Registration • Subtitles object • Progress reporting • Config dialogues • Misc. APIs • karaskel.lua • utils.lua • unicode.lua • cleantags.lua |
| Karaskel concepts: |
Style tables • Dialogue line tables • Syllable tables • Inline effects • Furigana |


feel the form above to generate a report
It is as simple as that
| # | Date | Transaction Reference | Amount | Transaction Type | Transaction Status | Fee | Loan Applicant | Product Name |
|---|---|---|---|---|---|---|---|---|
| {{ i + 1 }} | {{ loanTransactionReport.date | amLocal | amDateFormat: 'YYYY-MM-DD HH:mm' }} | {{ loanTransactionReport.transactionReference }} | {{ loanTransactionReport.amount }} | {{ loanTransactionReport.transactionType }} | {{ loanTransactionReport.transactionStatus }} | {{ loanTransactionReport.fee }} | {{ loanTransactionReport.loanApplicant }} | {{ loanTransactionReport.productName }} |
| # | Date | Transaction Reference | Amount | Transaction Type | Transaction Status | Fee | Loan Applicant | Product Name | |
|---|---|---|---|---|---|---|---|---|---|
| {{ i + 1 }} | {{ loanReport.date | amLocal | amDateFormat: 'YYYY-MM-DD HH:mm' }} | {{ loanReport.transactionReference }} | {{ loanReport.amount }} | {{ loanReport.transactionType }} | {{ loanReport.transactionStatus }} | {{ loanReport.fee }} | {{ loanReport.loanApplicant }} | {{ loanReport.productName }} |


Greedily selects a subset of bounding boxes in descending order of score.
tf.compat.v1.image.non_max_suppression_with_scores
tf.compat.v2.image.non_max_suppression_with_scores
tf.image.non_max_suppression_with_scores( boxes, scores, max_output_size, iou_threshold=0.5, score_threshold=float('-inf'), soft_nms_sigma=0.0, name=None )
Prunes away boxes that have high intersection-over-union (IOU) overlap
with previously selected boxes. Bounding boxes are supplied as
[y1, x1, y2, x2]
, where (y1, x1)
and (y2, x2)
are the coordinates of any
diagonal pair of box corners and the coordinates can be provided as normalized
(i.e., lying in the interval [0, 1]
) or absolute. Note that this algorithm
is agnostic to where the origin is in the coordinate system. Note that this
algorithm is invariant to orthogonal transformations and translations
of the coordinate system; thus translating or reflections of the coordinate
system result in the same boxes being selected by the algorithm.
The output of this operation is a set of integers indexing into the input
collection of bounding boxes representing the selected boxes. The bounding
box coordinates corresponding to the selected indices can then be obtained
using the tf.gather
operation. For example:
python
selected_indices, selected_scores = tf.image.non_max_suppression_v2(
boxes, scores, max_output_size, iou_threshold=1.0, score_threshold=0.1,
soft_nms_sigma=0.5)
selected_boxes = tf.gather(boxes, selected_indices)
This function generalizes the tf.image.non_max_suppression
op by also
supporting a Soft-NMS (with Gaussian weighting) mode (c.f.
Bodla et al, https://arxiv.org/abs/1704.04503) where boxes reduce the score
of other overlapping boxes instead of directly causing them to be pruned.
Consequently, in contrast to tf.image.non_max_suppression
,
tf.image.non_max_suppression_v2
returns the new scores of each input box in
the second output, selected_scores
.
To enable this Soft-NMS mode, set the soft_nms_sigma
parameter to be
larger than 0. When soft_nms_sigma
equals 0, the behavior of
tf.image.non_max_suppression_v2
is identical to that of
tf.image.non_max_suppression
(except for the extra output) both in function
and in running time.
boxes
: A 2-D float Tensor
of shape [num_boxes, 4]
.scores
: A 1-D float Tensor
of shape [num_boxes]
representing a single
score corresponding to each box (each row of boxes).max_output_size
: A scalar integer Tensor
representing the maximum number
of boxes to be selected by non max suppression.iou_threshold
: A float representing the threshold for deciding whether boxes
overlap too much with respect to IOU.score_threshold
: A float representing the threshold for deciding when to
remove boxes based on score.soft_nms_sigma
: A scalar float representing the Soft NMS sigma parameter;
See Bodla et al, https://arxiv.org/abs/1704.04503). When
soft_nms_sigma=0.0
(which is default), we fall back to standard (hard)
NMS.name
: A name for the operation (optional).selected_indices
: A 1-D integer Tensor
of shape [M]
representing the
selected indices from the boxes tensor, where M <= max_output_size
.selected_scores
: A 1-D float tensor of shape [M]
representing the
corresponding scores for each selected box, where M <= max_output_size
.
Scores only differ from corresponding input scores when using Soft NMS
(i.e. when soft_nms_sigma>0
)


- Weekly Analytics Reporting
- Site Changes
- SEO Strategy
- One A/B Test / mo
- Less than 1000 monthly users
Sign Up
- Weekly Analytics Reporting
- Site Changes
- SEO Strategy
- One A/B Test / mo
- Less than 3,000 monthly users
Sign Up
$90
/ mo
- Weekly Analytics Reporting
- Site Changes
- SEO Strategy
- One A/B Test / mo
- Less than 10,000 monthly users
Sign Up
$200+
/ mo
- Weekly Analytics Reporting
- Site Changes
- SEO Strategy
- One A/B Test / mo
- 10,000+ monthly users
Sign Up


---
notes: Add an aria-label attribute to include a tooltip with any component. Use tooltip--POSITION (like tooltip--bottom) to adjust the placement of the arrow. Use tooltip--always to keep a tooltip constantly visible.
PS: Some inline elements don't support tooltips in mobile Safari (iOS 10).
---


Before Change
.. [1] S. Malinowski, T. Guyet, R. Quiniou, R. Tavenard. 1d-SAX: a
Novel Symbolic Representation for Time Series. IDA 2013.
if not self._is_fitted():
raise NotFittedError("Model not fitted yet: cannot be used for " +
"distance computation.")
else:
return cydist_1d_sax(sax1, sax2, self.breakpoints_avg_middle_,
self.breakpoints_slope_middle_,
self.size_fitted_)
def distance(self, ts1, ts2):
Compute distance between 1d-SAX representations as defined in [1]_.
Parameters
After Change
.. [1] S. Malinowski, T. Guyet, R. Quiniou, R. Tavenard. 1d-SAX: a
Novel Symbolic Representation for Time Series. IDA 2013.
check_is_fitted(self, ["X_fit_dims_", "breakpoints_avg_middle_",
"breakpoints_slope_middle_"])
return cydist_1d_sax(sax1, sax2, self.breakpoints_avg_middle_,
self.breakpoints_slope_middle_,
self.X_fit_dims_[1])


June 27
Overview
Go to the Scratch website - https:// scratch.mit.edu/ - and click the TRY IT OUT link (look for the green circle at the top left). This should take you to Scratch’s project editor interface.
New projects begin with a white Stage and a single cat-costumed sprite. You can add new sprites by clicking the icon next to the words “New sprite”.
Each sprite in your project has its own scripts, costumes, and sounds.
Along with thumbnails for your sprites, the Sprite List also shows a thumbnail of the Stage to the left. The Stage has its own set of scripts, images, and sounds. The background image you see on the Stage is called a backdrop. When you start a new project, the Stage defaults to a plain, white backdrop, but you can add new ones.
Activity 1: Let's Say Hello
Challenge: Make the cat say “Hello!” when clicked.
- In the “Scripts” tab, select “Events”
- Find “When this sprite is clicked” and drag it to the box on the right
- Select the “Looks” menu
- Select “Say hello for 2 secs” and drag it into the box on the right so it attaches to the first block
- Click the cat and watch him say “Hello!”
- Show Kyle when you're done!
Activity 2 - Let’s Dance!
Challenge: Make the cat dance!
- From the Motion pallet, drag the “Move” block to the script area. (Note: If you click the single instruction and watch the stage area. The cat will move right.)
- From the Control pallet, drag the “Wait” block to the script area.
- From the Motion pallet, drag the”Move” block to the script area.
- Change the move block to -10 by clicking into the white space.
- Combine (put together) all of the blocks in the script area.
- It should look like this: Click the block of instructions and watch the stage area. The cat will move right and then wait for one second and then the cat will move left.
- Duplicate (copy) these commands to make the cat dance right-left three times. Combine (put together) these commands into a single block. To copy the commands, right click on the block and select “Duplicate”
- Show Kyle when you're done!
Activity 3 - Let’s Race!
Activity 3: Get out your running shoes!
- Choose a backdrop for the race.
- Start moving. Click on the cat to select it. Drag a “Move” block from the Scripts into the box on the right. Click on the box to make the cat move.
- Click the “Events” category. Drag out a “when this key pressed” block and snap it on top of the “move” block you just added. Now the cat will move every time you press the spacebar!
- Let’s draw the finish line. Click the paintbrush icon. Then, click on the line tool. Select a color.
- Now you can drag your finish line to wherever you want it.
- Click to highlight the cat sprite.
- Click on the “Scripts” tag.
- Click the “Control” category and drag out an “if” block. Snap it onto your script. It should look like this:
- Click the “Sensing” category and drag a “touching” block. Insert it into the “if” block.
- Choose “Sprite2” (the name of the finish line) from the pull-menu.
- Make something happen when your cat crosses the finish line. Click the “Looks” category and drag out a “say” block.
- To make the starting point - drag your sprite to where you want it to start.
- Click the “Motion” category, drag a “Go to x y” block into the Scripts area.
- Click the “Events” category, drag a “When flag clicked” block and snap it on top.
- Now, when you click the green flag, the cat will go to its starting point.
- Add another character to the race! Choose a new sprite. Click the icon next to the words “New sprite”.
- Code the new sprite like you did the first one, but choose a different point to start.
- Start the race!!


Dear Member/Intending Member,
Memberships for 2014 will be due on 31 March. We encourage every member of the Chinese Community, your family and friends to join the Otago & Southland Chinese Association.
Benefits you will get from being a member are: Chinese New Year picnic, Chinese New Year dinner, August Moon dinner, certification service, translation service (at a discounted rate), newsletters, use of the club rooms, NZCA Annual Easter Sports Tournament, Annual South Island Chinese Miniball & Basketball Tournament, NCEA academic awards, NZCA Guangdong Youth Winter Camp, NZCA Youth Leadership Camp, NZCA Adult China Tour, organized trips and many more.
Weekly miniball and basketball practices are held on Sundays in Terms 1, 2 and 3. Miniball practices are also held in Term 4. The Chinese School and dance classes also run every Sunday.
Each year we hold a number of events for the Chinese Community. Your membership will ensure that you will be able to participate fully in these community events and meet other members of your Chinese Community.
Your membership will allow you to participate in many of our functions at a discounted rate. Many of our activities are only available to members of the Association.
To ensure that you remain on our mailing list and continue to receive our newsletters and information on community events we encourage you to enter your details on the subscription form and return it to us with your payment. In order to facilitate our communication with you, particularly on upcoming events we ask that you include your email address.
The OSCA needs your input and ideas to further the community spirit.
Otago & Southland Chinese Association Committee


| rows {dplyr} | R Documentation |
These functions provide a framework for modifying rows in a table using
a second table of data. The two tables are matched by
a set of key
variables whose values must uniquely identify each row. The functions are
inspired by SQL's INSERT
, UPDATE
, and DELETE
, and can optionally
modify in_place
for selected backends.
rows_insert()
adds new rows (like INSERT
); key values in y
must
not occur in x
.
rows_update()
modifies existing rows (like UPDATE
); key values in
y
must occur in x
.
rows_patch()
works like rows_update()
but only overwrites NA
values.
rows_upsert()
inserts or updates depending on whether or not the
key value in y
already exists in x
.
rows_delete()
deletes rows (like DELETE
); key values in y
must
exist in x
.
rows_insert(x, y, by = NULL, ..., copy = FALSE, in_place = FALSE) rows_update(x, y, by = NULL, ..., copy = FALSE, in_place = FALSE) rows_patch(x, y, by = NULL, ..., copy = FALSE, in_place = FALSE) rows_upsert(x, y, by = NULL, ..., copy = FALSE, in_place = FALSE) rows_delete(x, y, by = NULL, ..., copy = FALSE, in_place = FALSE)
x, y |
A pair of data frames or data frame extensions (e.g. a tibble).
|
by |
An unnamed character vector giving the key columns. The key
values must uniquely identify each row (i.e. each combination of key
values occurs at most once), and the key columns must exist in both By default, we use the first column in |
... |
Other parameters passed onto methods. |
copy |
If |
in_place |
Should When |
An object of the same type as x
. The order of the rows and columns of x
is preserved as much as possible. The output has the following properties:
rows_update()
preserves rows as is; rows_insert()
and rows_upsert()
return all existing rows and potentially new rows; rows_delete()
returns
a subset of the rows.
Columns are not added, removed, or relocated, though the data may be updated.
Groups are taken from x
.
Data frame attributes are taken from x
.
If in_place = TRUE
, the result will be returned invisibly.
data <- tibble(a = 1:3, b = letters[c(1:2, NA)], c = 0.5 + 0:2) data # Insert rows_insert(data, tibble(a = 4, b = "z")) try(rows_insert(data, tibble(a = 3, b = "z"))) # Update rows_update(data, tibble(a = 2:3, b = "z")) rows_update(data, tibble(b = "z", a = 2:3), by = "a") # Variants: patch and upsert rows_patch(data, tibble(a = 2:3, b = "z")) rows_upsert(data, tibble(a = 2:4, b = "z")) # Delete and truncate rows_delete(data, tibble(a = 2:3)) rows_delete(data, tibble(a = 2:3, b = "b")) try(rows_delete(data, tibble(a = 2:3, b = "b"), by = c("a", "b")))


I'm a little confused about what I should need to do to get an RFM12B working with a RFu.
This page here suggests that if I had a v1.1 board I might need to remove two resistors and place a jumper to use the RFu with an RFM12B. Does this mean I don't need to make this change on a v1.2 RFu?
Do I still need to use a modified version of Jeelib (github.com/openenergymonitor/RFu_jeelib/blob/master/README.md) or can I use the normal one?
Re: Using RFu with RFM12B
Hi,
If your have bought a RFu328 board (V1.1 or V1.2) from Ciseco you will need to remove the resistors and or spin one around as detailed here: http://openmicros.org/index.php/articles/88-ciseco-product-documentation/268.
Yes, you will need to use the RFu_JeeLib library instead of the standard JeeLib on the RFM12B. It you have the V1.1 it's critical that you don't ever upload the standard JeeLib since this puts the board into a reset loop which can only be recovered from with a bootloder flash. This nasty bug was fixed on V1.2
Re: Using RFu with RFM12B
Thanks Glyn - yes, I made the mod to one board and it worked. I thought I might have been missing something as the Ciseco page suggests you don't always have to do it.
I like these little boards, I hadn't considered them until I bought OpenEnergyMonitor gear.
Re: Using RFu with RFM12B
Hi,
let me ask one question about RFu328 v1.3 and RFM12B (with modified Jeelib).
Because I really have problems to make it work proper.
I followed instructions on http://openmicros.org/index.php/articles/88-ciseco-product-documentation... (it just about the resistors which has to change a little)
and
https://github.com/openenergymonitor/RFu_jeelib.
After uploading the RF12demo.ino from modified jeelib to my RFu326 v1.3 (with RFM12B on it) it did not work.
I mean It does not enter in a reset loop( like in version v1.1), but it did not recieve or send anything. After looking into the code from modified jeelib I found out that:
Setting for nINT/VDI pin to always be an input, was not set.
rf12_xfer(0x90A2); // nINT,FAST,134kHz,0dBm,-91dBm - set nINT/VDI pin as output to stop it interfering with RFu reset
So I add this line on line 599 inside RFu_RF12.cpp. This makes RFu328 work with the demo-sketch for sending out testpackeages. (option "t" in the dialolg of RFM12B configuration)
But it did not recieve packages correctly. Only "?0" was recieved instead of correct data (which is correct because I double check this on an old openenreryMonitor board (http://wiki.openenergymonitor.org/index.php?title=Raspberry_Pi))
That brings me to the question: Did I make something wrong or are there more differences to the "normal" setup which are may be not documented?
Re: Using RFu with RFM12B
Are you sure yor using RFu_JeeLib? Have you changed #define at the top of RF12 demo to be #include <RFu_JeeLib.h>. This was actually set as JeeLib by default, I've just made change on GitHub
I've just checked and nINT is indeed set as output in RFu_JeeLib, see line 580:
https://github.com/openenergymonitor/RFu_jeelib/blob/master/RFu_RF12.cpp
Re: Using RFu with RFM12B
Hi thank you for your fast reply :-D, this is GREAT!
Comming back to your question: Yes I've changed the #include in the demo sketch to read the modified version. hmmm ... so it looks like that this is not the problem.
Mmay be it is better to delete my current RFu_jeelib and download and install it again, to be sure that I did not do anything strange here.
Let me try this again this evening.... (hopefully I did not burn the RFM12B modul in the times I uploaded the first sketch via FDTI 3,3V wire to my rfu328. May this little overvoltage could also explain the strange behaviour of this setup......
I used a FTDI wire (5V VCC-3.3V I/O) http://www.exp-tech.de/Shields/Schnittstelle/FTDI-Kabel-5V-VCC-3-3V-I-O.... which outputs 4,1V to VCC and not 3,3V as described in the manual,I realized this later, may be too late :-( ). And may be my RF12B is half burned now. (Is there a way to figure out that tjhe RFM12B is still full functional ?)
Let me ask one more question please: does the modified version of jeelib supports command "sendnow(0,&stuct, sizeof(struct))" from the original jeelib?
I just wanted to know because I use this command in all my other sketches, which are installed on some other devices like jeelabs Micro (ATTiny) and on a Arduino mini pro with an RF12B attached, or the lovely old school board kit for the rapsberryPI from Martin 3 yeas ago.
Just as a footnote:
An other strange thing was that I follow this guide here http://openmicros.org/index.php/component/kunena/10-ciseco-support/7007-... to wire my FDTI and found out that I need 0.2uF capcitor to let the upload run on rfu328.
If I use only 0.1uF it will not reset. -> Do you think I may be have a "monday prodction" which is may be little worse, because may things with this board are a little bit beside documentation in this time.
Best Regards from germany
Re: Using RFu with RFM12B
Hi again,
after reinstalling RFu_jeelib from github nothing changes. But I read the Rfu_RF12.cpp and uncomment the line reffering to RFu328. The behaviour is the same as before.
I leave this one with as comment because if I uncomment this it stops working the demosketch
// pin change interrupts are currently only supported on ATmega328's
//#define PINCHG_IRQ 1 // uncomment this to use pin-change interrupts
After triing to use my own sketches starting which normally starts with an init f.e. this:
#include <RFu_JeeLib.h>
.
Serial.begin(9600);
rf12_initialize(6,RF12_868MHZ,210); // NodeID, Frequency, Group
Serial.print("RFu328_RFM12B");
nothing happens on recieve or send.....:-(
it does not looks good to go on with this board. Or am I wrong?!
May be you have any Ideas which could help running my programmed sketches on this hardware? or explain why a trival initialization will not work.
Best Regards
Re: Using RFu with RFM12B
Hurray suddenly it works !!! (after changing the the Rfu_RF12.cpp.
Rfu328 is recieving and sending well formed packages via rfm12B.
One question left: Do you know why the function rf12_initialize() doesn't work?
Or is there on other function who can setup the nodeID, frequenzy and group while sketch is running?


Overall Design Considerations
Some of the most important characteristics for wearables to encourage adoption include ease of use and the ability for the user to "wear and forget" the device. Tackling those two requirements from a mechanical standpoint means having a light-weight design that is intuitive to use and easy to put on.
We met these requirements by designing an easy to open clasp that allows users to remove the device without sliding it off their limbs. Additionally we use elastic fabric straps in between the vibrating modules to accommodate different sizes while maintaining equal spacing between the haptic sensations.
Motor Selection
Haptic feedback cues can come in a variety of forms, the most popular being ERM (eccentric rotating mass) and LRA (linear resonance actuator), these two types of vibrating actuators both have their benefits and trade-offs. While ERMs were historically the popular option, the rise of smartphones has lead to low cost LRAs. ERMs rely on an eccentric mass attached to a motor shaft, as the motor speeds up the eccentric mass generates vibrations in the radial direction. This technology is commonly found in older smartphones and game controllers. LRA actuators rely on a voice coil and resonating mass that produce vibrations normal to surface they are mounted on.
We chose LRAs due to their lower power consumption, faster response time and compact size. ERM solutions would be easier to implement but don't provide the level of control we required for this project.
Ergonomics and Comfort
Ergonomics and comfort are crucial requirements when designing a wearable device, even small weighs become noticeable and will cause fatigue if you need to exert yourself to support them. A wearable product can also become uncomfortable over time if the contact surface is irritating on your skin or if there are sharp edges that cause pinch points. Minimizing the device weight and adding foam pads were two ways we improved the comfort of the device.
Mounting Considerations
While deciding on mounting we prototyped a variety of solutions including low-tack adhesives and Velcro. The vibrations induced during use and the varying amount of stress and elongation that the parts experienced made these solutions a risk. The final iteration opted to use carabineer clips that attach to flexible hemmed loops in series to form a chain. This solution provides us with the modularity and flexibility that a low-tack adhesive or Velcro would offer but with more rigidity and reliability.
Summary
In summary, Articul8 has employed a series of features to improve the feel, look and user experience of its device. Further mechanical improvements include improving the wire harness to hide cables and prevent damage to the interconnects and reducing the overall size of each daughterboard enclosure.


Bio
Clayton Jordan is a writer, comedian, and filmmaker. In 2011, Clayton wrote and starred in the eight-part, comedic series The Alternate Reality Show. In 2012, Clayton wrote the feature length screenplay Searching for Vince; a drama based on the life of artist Vincent van Gogh. Searching for Vince is scheduled to begin shooting in 2014. Clayton can also be seen performing stand-up comedy throughout the Chicago area.
The Alternate Reality Show
The Alternate Reality Show is a satirical look at the world of reality TV and celebrity culture.  JV might not have talent but what he does have is a video camera pointed at him.
Searching for Vince
Searching for Vince is a feature length film about the life of artist Vincent van Gogh. The story follows Van Gogh's development as an artist and his eventual collapse into mental illness. The twist is that the story is set in present day. The script is based on the 1,000 letters that Van Gogh wrote or received throughout his art career. Approaching letter writing as the 19th century's equivalent to social media, the story is partially told through modern day communication tools and networking platforms.


Please select an available dining location from the drop down menu. If no dining location is present in the drop down,
then no sellers are currently checked in, and you should try again later. After selecting a dining location, please enter what you would like to eat.


Bulk operations in the driver APIs are quite different from the
Java base APIs. In Java base APIs, multiple entries are encoded into a
single byte array. In the driver APIs, they are simply maintained as
a list of entries. As a consequence, the
MultipleEntry
class has no counterpart in
the driver APIs, and SMultipleDataEntry
,
SMultipleKeyDataEntry
and
SMultipleRecnoDataEntry
are no longer
subclasses of SDatabaseEntry
. To support
functions that accept any type of data entries,
SDatabaseEntryBase
is added as the base
interface of all data entry classes, and
SMultiplePairs
is added as the base class
of SMultipleKeyDataEntry
and
SMultipleRecnoDataEntry
.
In driver APIs, the amount of data to be returned in a single
bulk retrieval is not limited by a buffer size, because
SMultipleDataEntry
,
SMultipleKeyDataEntry
or
SMultipleRecnoDataEntry
does not use a
byte array buffer. Instead, the number of entries to be returned is
specified with the setBatchSize
method:
SEnvironment env = ... // Open the database with the default configuration. SDatabase db = env.openDatabase(null, "db", null, null); // Create a SMultipleDataEntry for bulk retrieval. SMultipleDataEntry dataEntries = new SMultipleDataEntry(); // Return at maximum of 10 data items from a single retrieval. dataEntries.setBatchSize(10); // Perform a bulk retrieval to return multiple data items // for the same duplicated key. db.get(null, new SDatabaseEntry("key".getBytes()), dataEntries, null); // Iterate over the retrieved items. SDatabaseEntry item = new SDatabaseEntry(); while (dataEntries.next(item)) { // Do something for each item. }


References
Evans, Tyler S., Megan S. Kirchgessner, Brian Eyler, Christopher W. Ryan, and W. David Walter. 2016. “Habitat Influences Distribution of Chronic Wasting Disease in White-Tailed Deer.” The Journal of Wildlife Management 80 (2): 284–91. doi:10.1002/jwmg.1004.
Field, Scott A, Andrew J Tyre, and Hugh P Possingham. 2005. “Optimizing Allocation of Monitoring Effort Under Economic and Observational Constraints.” Journal of Wildlife Management 69 (2): 473–82.
Houlahan, Jeff E, Shawn T McKinney, T Michael Anderson, and Brian J McGill. 2017. “The Priority of Prediction in Ecological Understanding.” Oikos 126 (1). Wiley Online Library: 1–7.
MacKenzie, Darryl I, and J Andrew Royle. 2005. “Designing Occupancy Studies: General Advice and Allocating Survey Effort.” Journal of Applied Ecology 42 (6). Wiley Online Library: 1105–14.
Martin, Tara G, Brendan A Wintle, Jonathan R Rhodes, Petra M Kuhnert, Scott A Field, Samantha J Low-Choy, Andrew J Tyre, and Hugh P Possingham. 2005. “Zero Tolerance Ecology: Improving Ecological Inference by Modelling the Source of Zero Observations.” Ecology Letters 8 (11). Blackwell Science Ltd: 1235–46.
Tyre, Andrew J, Brigitte Tenhumberg, Scott A Field, Darren Niejalke, Kirsten Parris, and Hugh P Possingham. 2003. “Improving Precision and Reducing Bias in Biological Surveys: Estimating False-Negative Error Rates.” Ecological Applications 13 (6). Ecological Society of America: 1790–1801.
VanWormer, Melissa A. AND Conrad, Elizabeth AND Miller. 2014. “Using Molecular Epidemiology to Track Toxoplasma Gondii from Terrestrial Carnivores to Marine Hosts: Implications for Public Health and Conservation.” PLOS Neglected Tropical Diseases 8 (5). Public Library of Science: 1–14. doi:10.1371/journal.pntd.0002852.


To help personalize content, tailor and measure ads, and provide a safer experience, we use cookies. By clicking or navigating the site, you agree to allow our collection of information on and off Facebook through cookies. Learn more, including about available controls: Cookie Policy.


Class WidgetAdmin
This class is responsible for handling the administrative settings of the widget.
Methods summary
public
|
|
public
|
|
public
|
|
public
array
|
#
updateSettings( array $new_instance, array $old_instance )
Handles updating settings for the current DatepickerWidget instance. |
Properties summary
protected
WP_Widget
|
$wp_widget
Handle back to our WP_Widget |


Hello, my name is Mason King and I am currently begining my last semester of undergraduate studies and will continue on to attend graduate school at Middle Tennessee State Unviersity. During this time I will work towards completing my Master's Degree in International Affairs with a focus on Peace Keeping & International Security.
I am currently employed as a Junior Systems Administrator for the Middle Tennessee State Unviersity Police Department. Once I have attained my Master's Degree I desire to enter into a career in international intelligence working in cyberterrorism.


The resort is a luxury palace for those looking for time out from the hustle and bustle. We are located on an island in the western side of Lake vicoria.
To access the Island, there are two major ferries that leave Homabay at 10.00hrs and another at 16.30hrs.


The Collaboration Sample Application demonstrates how to utilize the Peer-to-Peer Collaboration API.
Platforms supported:
- Windows Vista (except Starter Edition)
- Windows 7
To Build:
- In a SDK command shell, navigate to the directory containing this sample and run "nmake"; or
- Launch the .sln file in Visual Studio .NET
To Run:
- From a non-elevated window, type collaboration.exe (located in the Vista_DEBUG or WIN7_[ARCH]_DEBUG folder in the directory containing the sample)
- Note that this sample must be executed in a non-elevated window because the Peer Collaboration Infrastructure can only be started as a non-elevated process.
- Follow the menu options. To get started, try executing the following scenarios:
1. Enumerate People Near Me
a) Launch the Collaboration application on several computers connected to same IPv6 subnet.
b) Select Option 1 on each computer to sign in to PNM.
c) If this is the first time signing in to People Near Me, a dialog will display. Enter a display name and select the default option to Allow invitations from Anyone (a user can later modify these settings from Control Panel\Network and Internet\People Near Me ).
d) From the Collaboration application select Option 7 to enumerate all the PNM contacts on your IPv6 subnet.
2. Send an Invitation to a PNM endpoint
a) Launch the Collaboration application on two computers connected to the same IPv6 subnet.
b) Select Option 1 on each computer to sign in to PNM.
c) On the first Computer, select Option 22 to register the sample application.
d) On the second computer, select Option 25 to send an invitation to the PNM endpoint on the first computer.
e) On the first computer, view the invitation and accept or decline it.
f) If the invitation is accepted the Collaboration sample will be launched with a command line option of “/invite” (as specified when this application registered itself with Option 22). The sample will print supplemental data that was sent with the invitation before displaying the Collaboration sample menu. The data sent with an invitation can be used to convey information that your application requires to connect and participate in the collaboration session that the user was invited to join.
3. Adding contacts, sharing presence, and sending Invitations with Internet scope
a) Launch the Collaboration application on two computers connected to the same IPv6 subnet.
b) Select Option 1 on each computer to sign in to PNM.
c) Select Option 8 on each computer to add the other party as a contact.
d) Open your Contacts folder (e.g. C:\Users\<username>\Contacts ) and observe the new contact.
e) Optionally, move one computer to another location (discovery will operate provided both computers have global IPv6 connectivity).
f) Select Options 14 and 15 on each computer to both watch the other party and to grant watch permissions.
g) Select option 1 on each computer to sign in with Internet scope.
h) Once the second contact signs in, notice in the events window that both contacts receive events indicating the others' presence.
i) Update a contact's presence using Option 17 and view the event window on each computer.
j) Send an invitation to the contact, as instructed in the PNM scenario.


Ana Tino
Torrance, CA ·<PHONE_NUMBER> ·
<EMAIL_ADDRESS>- Spanish
- Salesforce
- Microsoft Office Suite
- Highly Organized
- Analytical Thinker
- Detail-Oriented
- Exceptional Communication
- Adaptable
- And a fifth one


fprime_gds.common.client_socket.client_socket
¶
client_socket.py:
Socket used to attach to the TCP server as a client and read/write data.
Module Contents¶
Classes¶
|
Threaded TCP client that connects to the socket server that serves packets from the flight |
-
class
fprime_gds.common.client_socket.client_socket.
ThreadedTCPSocketClient
(sock=None, dest=FSW_TAG)[source]¶ Bases:
fprime_gds.common.handlers.DataHandler
Threaded TCP client that connects to the socket server that serves packets from the flight software
-
get_data_bytes
(self, string_data)[source]¶ Convert the data bytes from string to bytes
- Parameters
string_data – data in string format
- Returns
data in bytes format
-
get_data_string
(self, bytes_data)[source]¶ Convert the data bytes from string to bytes
- Parameters
bytes_data – data in bytes format
- Returns
data in string format
-
register_distributor
(self, distributor)[source]¶ Registers a fprime.gds.distributor object with this socket
- Parameters
{Distributor} -- Distributor must implement data_callback (fprime.gds.distributor) –
-
register_to_server
(self, register_as)[source]¶ Registers the caller to the server as type register_as
This function assumes the socket connects to an fprime TCP server
- Parameters
register_as (string) – How to identify this process to the TCP server Can be either “FSW” or “GUI”
-
connect
(self, host, port)[source]¶ Connect to host at given port and start the threaded recv method.
- Parameters
{string} -- IP of the host server (host) –
{int} -- Port of the host server (port) –
-
disconnect
(self)[source]¶ Disconnect the socket client from the server and stop the internal thread.
-
data_callback
(self, data, sender=None)[source]¶ Handles incoming data by sending it to a socket.
- Parameters
data – data to send to the client socket
sender – sender source of the data
-
Build: 1.4.1


What is the Solar System?
The Solar System is made up of the Sun and all of the smaller objects that move around it. Apart from the Sun, the largest members of the Solar System are the eight major planets. Nearest the Sun are four fairly small, rocky planets - Mercury, Venus, Earth and Mars.
Beyond Mars is the asteroid belt – a region populated by millions of rocky objects. These are left-overs from the formation of the planets, 4.5 billion years ago.
On the far side of the asteroid belt are the four gas giants - Jupiter, Saturn, Uranus and Neptune. These planets are much bigger than Earth, but very lightweight for their size. They are mostly made of hydrogen and helium.
Until recently, the furthest known planet was an icy world called Pluto. However, Pluto is dwarfed by Earth’s Moon and many astronomers think it is too small to be called a true planet.
An object named Eris, which is at least as big as Pluto, was discovered very far from the Sun in 2005. More than 1,000 icy worlds such as Eris have been discovered beyond Pluto in recent years. These are called Kuiper Belt Objects. In 2006, the International Astronomical Union decided that Pluto and Eris must be classed as “dwarf planets”.
Even further out are the comets of the Oort Cloud. These are so far away that they are invisible in even the largest telescopes. Every so often one of these comets is disturbed and heads towards the Sun. It then becomes visible in the night sky.
Content Credits
Text: European Space Agency. Images: Wikimedia Commons. All content is used under "fair use" (educational purposes). Copyright of all content remains with the source.
Made in CodeDragon.


Get detailed information about a particular Automation execution.
See also: AWS API Documentation
get-automation-execution
--automation-execution-id <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]
--automation-execution-id (string)
The unique identifier for an existing automation execution to examine. The execution ID is returned by start-automation-execution when the execution of an Automation document is initiated.
--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.
--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.
To display the details of an Automation Execution
This example displays the details of Automation Execution 4105a4fc-f944-11e6-9d32-8fb2db27a909.
Command:
aws ssm get-automation-execution --automation-execution-id "4105a4fc-f944-11e6-9d32-8fb2db27a909"
Output:
{
"AutomationExecution": {
"AutomationExecutionStatus": "Failed",
"Parameters": {
"SourceAmiId": [
"ami-f173cc91"
],
"AutomationAssumeRole": [
"arn:aws:iam::<aws_account_id>:role/SSMAutomationRole"
],
"InstanceIamRole": [
"EC2InstanceRole"
]
},
"Outputs": {
"createImage.ImageId": [
"No output available yet because the step is not successfully executed"
]
},
"DocumentName": "AWS-UpdateLinuxAmi",
"AutomationExecutionId": "4105a4fc-f944-11e6-9d32-8fb2db27a909",
"FailureMessage": "Step launchInstance failed maximum allowed times.  Encoded authorization failure message: --truncated-- (Service: AmazonEC2; Status Code: 403; Error Code: UnauthorizedOperation; Request ID: 6a002f94-ba37-43fd-99e6-39517715fce5)",
"ExecutionEndTime":<PHONE_NUMBER>.456,
"DocumentVersion": "1",
"ExecutionStartTime":<PHONE_NUMBER>.746,
"StepExecutions": [
{
"Inputs": {
"MaxInstanceCount": "1",
"UserData": "\"--truncated--\"",
"MinInstanceCount": "1",
"ImageId": "\"ami-f173cc91\"",
"IamInstanceProfileName": "\"EC2InstanceRole\"",
"InstanceType": "\"t2.micro\""
},
"StepName": "launchInstance",
"FailureMessage": "Step launchInstance failed maximum allowed times.  Encoded authorization failure message: --truncated--)",
"ExecutionEndTime":<PHONE_NUMBER>.014,
"ExecutionStartTime":<PHONE_NUMBER>.346,
"Action": "aws:runInstances",
"StepStatus": "Failed"
},
{
"Action": "aws:runCommand",
"StepName": "updateOSSoftware",
"StepStatus": "Pending"
},
{
"Action": "aws:changeInstanceState",
"StepName": "stopInstance",
"StepStatus": "Pending"
},
{
"Action": "aws:createImage",
"StepName": "createImage",
"StepStatus": "Pending"
},
{
"Action": "aws:changeInstanceState",
"StepName": "terminateInstance",
"StepStatus": "Pending"
}
]
}
}
AutomationExecution -> (structure)
Detailed information about the current state of an automation execution.
AutomationExecutionId -> (string)
The execution ID.DocumentName -> (string)
The name of the Automation document used during the execution.DocumentVersion -> (string)
The version of the document to use during execution.ExecutionStartTime -> (timestamp)
The time the execution started.ExecutionEndTime -> (timestamp)
The time the execution finished.AutomationExecutionStatus -> (string)
The execution status of the Automation.StepExecutions -> (list)
A list of details about the current state of all steps that comprise an execution. An Automation document contains a list of steps that are executed in order.
(structure)
Detailed information about an the execution state of an Automation step.
StepName -> (string)
The name of this execution step.Action -> (string)
The action this step performs. The action determines the behavior of the step.ExecutionStartTime -> (timestamp)
If a step has begun execution, this contains the time the step started. If the step is in Pending status, this field is not populated.ExecutionEndTime -> (timestamp)
If a step has finished execution, this contains the time the execution ended. If the step has not yet concluded, this field is not populated.StepStatus -> (string)
The execution status for this step. Valid values include: Pending , InProgress , Success , Cancelled , Failed , and TimedOut .ResponseCode -> (string)
The response code returned by the execution of the step.Inputs -> (map)
Fully-resolved values passed into the step before execution.
key -> (string)
value -> (string)
Outputs -> (map)
Returned values from the execution of the step.
key -> (string)
value -> (list)
(string)Response -> (string)
A message associated with the response code for an execution.FailureMessage -> (string)
If a step failed, this message explains why the execution failed.Parameters -> (map)
The key-value map of execution parameters, which were supplied when calling start-automation-execution .
key -> (string)
value -> (list)
(string)Outputs -> (map)
The list of execution outputs as defined in the automation document.
key -> (string)
value -> (list)
(string)FailureMessage -> (string)
A message describing why an execution has failed, if the status is set to Failed.


All the New Holiday Movies, TV Shows, and Specials Coming to Hulu This December
by Corinne SullivanJust when you thought Hulu couldn't possibly get any more great holiday programming, it's adding just a few more options. After all, Netflix isn't the only streaming service with an incredible selection of movies perfect for the season. From star-studded Christmas specials to sweet family-friendly films, the service is providing even more selections in December, just in case you've run out of options (though, TBH, we'd be impressed if you made it through all the holiday flicks available to stream right now). Hulu is the gift that keeps on giving, and here are its last few gifts for you to enjoy this holiday season.
1 The Great Christmas Light Fight, Season 7
In the seventh season of this Christmas decorating competition, families bring even more blinking bulbs and extravagant designs to light up their homes for the holidays.
When it's available: Dec. 3
2 CMA Country Christmas
This annual two-hour holiday special — hosted for the first time by Trisha Yearwood — features plenty of holiday cheer, plus special performers such as Chris Young, Brett Young, Rascal Flatts, Lady Antebellum, and Chris Janson, among many others.
When it's available: Dec. 4
3 Into the Dark: A Nasty Piece of Work
Hulu's holiday horror anthology series is premiering its second Christmas special, which revolves around a midlevel employee at a reputable company who finds out he's not getting the Christmas bonus he was expecting, leading to an epic (and violent) competition with his professional rival.
When it's available: Dec. 6
4 Holidays With the Houghs
Sister-brother duo Julianne Hough and Derek Hough host this hour-long holiday special, which includes guest performances, comedy sketches, and new takes on several holiday classics.
When it's available: Dec. 17
5 Prancer
In this 1989 family-friendly flick, a young girl who refuses to lose faith in Santa Claus discovers a wounded reindeer in the woods. Believing him to be Prancer, she works with a kindly vet to bring the animal back to health.
When it's available: Dec. 1


influenza {border-style px;} #ffffff;} virus viruses transmission research px; viruses, {font-family avian font-size human pandemic biocontainment double; associated border-color border-width risks solid; {font-style {font-weight BSL Commentary animal appropriate bold courier; em; enhanced facilities humans, important possible practices pt;} use vaccines


printf - format and print data
printf FORMAT [ARGUMENT]...
printf OPTION
Print ARGUMENT(s) according to FORMAT, or execute according to OPTION:
--help display this help and exit
--version output version information and exit
FORMAT controls the output as in C printf. Interpreted sequences are:
e" double quote
ee backslash
ea alert (BEL)
eb backspace
ec produce no further output
ee escape
ef form feed
en new line
er carriage return
et horizontal tab
ev vertical tab
eNNN byte with octal value NNN (1 to 3 digits)
exHH byte with hexadecimal value HH (1 to 2 digits)
euHHHH Unicode (ISO/IEC 10646) character with hex value HHHH (4 digits)
eUHHHHHHHH Unicode character with hex value HHHHHHHH (8 digits)
%% a single %
%b ARGUMENT as a string with 'e' escapes interpreted, except that octal escapes are of the form e0 or e0NNN
and all C format specifications ending with one of diouxXfeEgGcs, with ARGUMENTs converted to proper type first. Variable widths are handled.
NOTE: your shell may have its own version of printf, which usually supersedes the version described here. Please refer to your shell's documentation for details about the options it supports.
GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
Report printf translation bugs to <http://translationproject.org/team/>
Copyright © 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
printf(3)
Full documentation at: <http://www.gnu.org/software/coreutils/printf>
or available locally via: info (aq(coreutils) printf invocation(aq


Module luasql
LuaSQL provides an database interface for Lua.
The module has different submodules you can download and install seperately via lua-rocks. You cannot require it as it is. (so 'require("luasql")' does not work) You have to name the driver you want to use. (e.g. 'require("luasql.odbc")')
Usages:
require("luasql.odbc")
require("luasql.oci8")
require("luasql.mysql")
require("luasql.postgresql")
require("luasql.sqlite3")
Type luasql
| luasql.mysql() |
MySQL interface This submodule of LuaSQL provides anything you need for using MySQL. |
| luasql.oci8() |
Oracle interface This submodule of LuaSQL provides anything you need for using OCI8. |
| luasql.odbc() |
ODBC interface This submodule of LuaSQL provides anything you need for using ODBC. |
| luasql.postgresql() |
PostgreSQL interface This submodule of LuaSQL provides anything you need for using PostgreSQL. |
| luasql.sqlite3() |
SQLite3 interface This submodule of LuaSQL provides anything you need for using local stored |
Type connection
| connection.close() |
Closes the connection. |
| connection.commit() |
Commits the current transaction. |
| connection.execute(statement) |
Executes the given SQL statement. |
| connection.rollback() |
Rolls back the current transaction. |
| connection.setautocommit(true) |
Turns on or off the "auto commit" mode. |
Type cursor
| cursor.close() |
Closes this cursor. |
| cursor.fetch(table, mode) |
Retrieves the next row of results. |
| cursor.getcolnames() |
Returns the Column names. |
| cursor.getcoltypes() |
Returns the column types |
| cursor.numrows() |
Returns the number of rows in the query result. |
Type environment
| environment.close() |
Closes the environment env. |
| environment.connect(sourcename, username, password, hostname, port) |
Connects to a data source specified in sourcename using username and password if they are supplied. |
Type luasql
Field(s)
- luasql.mysql()
-
MySQL interface This submodule of LuaSQL provides anything you need for using MySQL.
Return value
#environment: the mysql environment
Usage:
require("luasql.mysql")
- luasql.oci8()
-
Oracle interface This submodule of LuaSQL provides anything you need for using OCI8.
Return value
#environment: the mysql environment
Usage:
require("luasql.oci8")
- luasql.odbc()
-
ODBC interface This submodule of LuaSQL provides anything you need for using ODBC.
Return value
#environment: the odbc environment
Usage:
require("luasql.odbc")
- luasql.postgresql()
-
PostgreSQL interface This submodule of LuaSQL provides anything you need for using PostgreSQL.
Return value
#environment: the odbc environment
Usage:
require("luasql.postgresql")
- luasql.sqlite3()
-
SQLite3 interface This submodule of LuaSQL provides anything you need for using local stored
Return value
#environment: the sqltie3 environment
Usage:
require("luasql.splite3")
Type #
A cursor object is created by using the connection:execute function.
A cursor object contains methods to retrieve data resulting from an executed statement.
Type connection
Field(s)
- connection.close()
-
Closes the connection.
Only successful if all cursors pertaining to it have been closed and the connection is still open.
Return value
#boolean: true in case of success; false when already closed.
- connection.commit()
-
Commits the current transaction.
This feature might not work on database systems that do not implement transactions.
Return value
#boolean: true in case of success; false when the operation could not be performed or when it is not implemented.
- connection.execute(statement)
-
Executes the given SQL statement.
Parameter
-
#string statement
: the statement that should be executed
Return value
#cursor: if there are results, or the number of rows affected by the command otherwise.
-
- connection.rollback()
-
Rolls back the current transaction.
This feature might not work on database systems that do not implement transactions.
Return value
#boolean: true in case of success and false when the operation could not be performed or when it is not implemented.
- connection.setautocommit(true)
-
Turns on or off the "auto commit" mode.
This feature might not work on database systems that do not implement transactions. On database systems that do not have the concept of "auto commit mode", but do implement transactions, this mechanism is implemented by the driver.
Parameter
-
#boolean true
: for turning the "auto commit" on; false for off
-
Type cursor
Field(s)
- cursor.close()
-
Closes this cursor.
Return value
#boolean: true in case of success; false when already closed.
- cursor.fetch(table, mode)
-
Retrieves the next row of results.
If fetch is called without parameters, the results will be returned directly to the caller. If fetch is called with a table, the results will be copied into the table and the changed table will be returned. In this case, an optional modestring parameter can be used. It is just a string indicating how the resulting table should be constructed. The numerical indices are the positions of the fields in the SELECT statement; the alphanumerical indices are the names of the fields. The optional table parameter is a table that should be used to store the next row. This allows the use of a unique table for many fetches, which can improve the overall performance. There is no guarantee about the types of the results: they may or may not be converted to adequate Lua types by the driver. In the current implementation, the PostgreSQL and MySQL drivers return all values as strings while the ODBC and Oracle drivers convert them to Lua types.
Parameters
-
#table table
: where to save the data -
#string mode
: "n" for numerical table indices (default); "a" for alphanumerical tableindices.
Return values
-
#table: data, as above, or nil if there are no more rows. Note that this method could return nil as a valid result.
-
#nil, #string:
nil, errormessage
-
- cursor.getcolnames()
-
Returns the Column names.
Return value
#table: a list (table) of column names.
- cursor.getcoltypes()
-
Returns the column types
Return value
#table: a list (table) of column types.
- cursor.numrows()
-
Returns the number of rows in the query result.
The documentation provides, that this funtion is only available at Oracle, MySQL and PostgreSQL.
Return value
#table: the number of rows in the query result.
Type environment
Field(s)
- environment.close()
-
Closes the environment env.
Only successful if all connections pertaining to it were closed first.
Return value
true in case of success; false when the object is already closed.
- environment.connect(sourcename, username, password, hostname, port)
-
Connects to a data source specified in sourcename using username and password if they are supplied.
The sourcename may vary according to each driver. Some use a simple database name, like PostgreSQL, MySQL and SQLite; the ODBC driver expects the name of the DSN; the Oracle driver expects the service name
Parameters
-
#string sourcename
: source (or address) of the connection -
#string username
: (optional) username for the connection -
#string password
: (optional) password of the user -
#string hostname
: (optional|only for MySQL and PostgreSQL) hostname of the database server -
#string port
: (optional|only for MySQL and PostgreSQL) port of the database server
Return value
#connection: the connection to the given source
-