AmazonSESClient Class Reference
| Inherits from | AmazonWebServiceClient : AmazonAbstractWebServiceClient : NSObject |
| Declared in | AmazonSESClient.h |
Tasks
-
– deleteIdentity:
Deletes the specified identity (email address or domain) from the list of verified identities.
-
– listVerifiedEmailAddresses:
Returns a list containing all of the email addresses that have been verified.
IMPORTANT:The ListVerifiedEmailAddresses action is deprecated as of the May 15, 2012 release of Domain Verification. The ListIdentities action is now preferred.
-
– getSendStatistics:
Returns the user's sending statistics. The result is a list of data points, representing the last two weeks of sending activity.
Each data point in the list contains statistics for a 15-minute interval.
-
– verifyEmailIdentity:
Verifies an email address. This action causes a confirmation email message to be sent to the specified address.
-
– getIdentityNotificationAttributes:
Given a list of verified identities (email addresses and/or domains), returns a structure describing identity notification attributes. For more information about feedback notification, see the Amazon SES Developer Guide .
-
– verifyDomainDkim:
Returns a set of DNS records, or tokens , that must be published in the domain name's DNS to complete the DKIM verification process. These tokens are DNS CNAME records that point to DKIM public keys hosted by Amazon SES. To complete the DKIM verification process, these tokens must be published in the domain's DNS. The tokens must remain published in order for Easy DKIM signing to function correctly.
After the tokens are added to the domain's DNS, Amazon SES will be able to DKIM-sign email originating from that domain. To enable or disable Easy DKIM signing for a domain, use the SetIdentityDkimEnabled action.
For more information about Easy DKIM, go to the Amazon SES Developer Guide .
-
– getIdentityDkimAttributes:
Returns the DNS records, or tokens , that must be present in order for Easy DKIM to sign outgoing email messages.
This action takes a list of verified identities as input. It then returns the following information for each identity:
-
– verifyEmailAddress:
Verifies an email address. This action causes a confirmation email message to be sent to the specified address.
IMPORTANT:The VerifyEmailAddress action is deprecated as of the May 15, 2012 release of Domain Verification. The VerifyEmailIdentity action is now preferred.
-
– sendRawEmail:
Sends an email message, with header and content specified by the client. The SendRawEmail action is useful for sending multipart MIME emails. The raw text of the message must comply with Internet email standards; otherwise, the message cannot be sent.
IMPORTANT:If you have not yet requested production access to Amazon SES, then you will only be able to send email to and from verified email addresses and domains. For more information, go to the Amazon SES Developer Guide.
The total size of the message cannot exceed 10 MB. This includes any attachments that are part of the message.
Amazon SES has a limit on the total number of recipients per message: The combined number of To:, CC: and BCC: email addresses cannot exceed 50. If you need to send an email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call Amazon SES repeatedly to send the message to each group.
For every message that you send, the total number of recipients (To:, CC: and BCC:) is counted against your sending quota - the maximum number of emails you can send in a 24-hour period. For information about your sending quota, go to the "Managing Your Sending Activity" section of the Amazon SES Developer Guide .
-
– listIdentities:
Returns a list containing all of the identities (email addresses and domains) for a specific AWS Account, regardless of verification status.
-
– getIdentityVerificationAttributes:
Given a list of identities (email addresses and/or domains), returns the verification status and (for domain identities) the verification token for each identity.
-
– setIdentityDkimEnabled:
Enables or disables Easy DKIM signing of email sent from an identity:
-
– getSendQuota:
Returns the user's current sending limits.
-
– setIdentityFeedbackForwardingEnabled:
Given an identity (email address or domain), enables or disables whether Amazon SES forwards feedback notifications as email. Feedback forwarding may only be disabled when both complaint and bounce topics are set. For more information about feedback notification, see the Amazon SES Developer Guide .
-
– verifyDomainIdentity:
Verifies a domain.
-
– sendEmail:
Composes an email message based on input data, and then immediately queues the message for sending.
IMPORTANT:If you have not yet requested production access to Amazon SES, then you will only be able to send email to and from verified email addresses and domains. For more information, go to the Amazon SES Developer Guide.
The total size of the message cannot exceed 10 MB.
Amazon SES has a limit on the total number of recipients per message: The combined number of To:, CC: and BCC: email addresses cannot exceed 50. If you need to send an email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call Amazon SES repeatedly to send the message to each group.
For every message that you send, the total number of recipients (To:, CC: and BCC:) is counted against your sending quota - the maximum number of emails you can send in a 24-hour period. For information about your sending quota, go to the "Managing Your Sending Activity" section of the Amazon SES Developer Guide .
-
– deleteVerifiedEmailAddress:
Deletes the specified email address from the list of verified addresses.
IMPORTANT:The DeleteVerifiedEmailAddress action is deprecated as of the May 15, 2012 release of Domain Verification. The DeleteIdentity action is now preferred.
-
– setIdentityNotificationTopic:
Given an identity (email address or domain), sets the Amazon SNS topic to which Amazon SES will publish bounce and complaint notifications for emails sent with that identity as the Source . Publishing to topics may only be disabled when feedback forwarding is enabled. For more information about feedback notification, see the Amazon SES Developer Guide .
Instance Methods
deleteIdentity:
Deletes the specified identity (email address or domain) from the list of verified identities.
- (SESDeleteIdentityResponse *)deleteIdentity:(SESDeleteIdentityRequest *)deleteIdentityRequest
Parameters
- deleteIdentityRequest
Container for the necessary parameters to execute the DeleteIdentity service method on AmazonSES.
Return Value
The response from the DeleteIdentity service method, as returned by AmazonSES.
Discussion
Deletes the specified identity (email address or domain) from the list of verified identities.
Exceptions
- AmazonClientException
If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. For more information see AmazonClientException.
- AmazonServiceException
If an error response is returned by AmazonSES indicating either a problem with the data in the request, or a server side issue. For more information see AmazonServiceException.
Declared In
AmazonSESClient.h
deleteVerifiedEmailAddress:
Deletes the specified email address from the list of verified addresses.
IMPORTANT:The DeleteVerifiedEmailAddress action is deprecated as of the May 15, 2012 release of Domain Verification. The DeleteIdentity action is now preferred.
- (SESDeleteVerifiedEmailAddressResponse *)deleteVerifiedEmailAddress:(SESDeleteVerifiedEmailAddressRequest *)deleteVerifiedEmailAddressRequest
Parameters
- deleteVerifiedEmailAddressRequest
Container for the necessary parameters to execute the DeleteVerifiedEmailAddress service method on AmazonSES.
Discussion
Deletes the specified email address from the list of verified addresses.
IMPORTANT:The DeleteVerifiedEmailAddress action is deprecated as of the May 15, 2012 release of Domain Verification. The DeleteIdentity action is now preferred.
Exceptions
- AmazonClientException
If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. For more information see AmazonClientException.
- AmazonServiceException
If an error response is returned by AmazonSES indicating either a problem with the data in the request, or a server side issue. For more information see AmazonServiceException.
Declared In
AmazonSESClient.h
getIdentityDkimAttributes:
Returns the DNS records, or tokens , that must be present in order for Easy DKIM to sign outgoing email messages.
This action takes a list of verified identities as input. It then returns the following information for each identity:
- (SESGetIdentityDkimAttributesResponse *)getIdentityDkimAttributes:(SESGetIdentityDkimAttributesRequest *)getIdentityDkimAttributesRequest
Parameters
- getIdentityDkimAttributesRequest
Container for the necessary parameters to execute the GetIdentityDkimAttributes service method on AmazonSES.
Return Value
The response from the GetIdentityDkimAttributes service method, as returned by AmazonSES.
Discussion
Returns the DNS records, or tokens , that must be present in order for Easy DKIM to sign outgoing email messages.
This action takes a list of verified identities as input. It then returns the following information for each identity:
- Whether Easy DKIM signing is enabled or disabled.
- The set of tokens that are required for Easy DKIM signing. These tokens must be published in the domain name's DNS records in order for DKIM verification to complete, and must remain published in order for Easy DKIM signing to operate correctly. (This information is only returned for domain name identities, not for email addresses.)
- Whether Amazon SES has successfully verified the DKIM tokens published in the domain name's DNS. (This information is only returned for domain name identities, not for email addresses.)
For more information about Easy DKIM signing, go to the Amazon SES Developer Guide .
Exceptions
- AmazonClientException
If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. For more information see AmazonClientException.
- AmazonServiceException
If an error response is returned by AmazonSES indicating either a problem with the data in the request, or a server side issue. For more information see AmazonServiceException.
Declared In
AmazonSESClient.h
getIdentityNotificationAttributes:
Given a list of verified identities (email addresses and/or domains), returns a structure describing identity notification attributes. For more information about feedback notification, see the Amazon SES Developer Guide .
- (SESGetIdentityNotificationAttributesResponse *)getIdentityNotificationAttributes:(SESGetIdentityNotificationAttributesRequest *)getIdentityNotificationAttributesRequest
Parameters
- getIdentityNotificationAttributesRequest
Container for the necessary parameters to execute the GetIdentityNotificationAttributes service method on AmazonSES.
Return Value
The response from the GetIdentityNotificationAttributes service method, as returned by AmazonSES.
Discussion
Given a list of verified identities (email addresses and/or domains), returns a structure describing identity notification attributes. For more information about feedback notification, see the Amazon SES Developer Guide .
Exceptions
- AmazonClientException
If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. For more information see AmazonClientException.
- AmazonServiceException
If an error response is returned by AmazonSES indicating either a problem with the data in the request, or a server side issue. For more information see AmazonServiceException.
Declared In
AmazonSESClient.h
getIdentityVerificationAttributes:
Given a list of identities (email addresses and/or domains), returns the verification status and (for domain identities) the verification token for each identity.
- (SESGetIdentityVerificationAttributesResponse *)getIdentityVerificationAttributes:(SESGetIdentityVerificationAttributesRequest *)getIdentityVerificationAttributesRequest
Parameters
- getIdentityVerificationAttributesRequest
Container for the necessary parameters to execute the GetIdentityVerificationAttributes service method on AmazonSES.
Return Value
The response from the GetIdentityVerificationAttributes service method, as returned by AmazonSES.
Discussion
Given a list of identities (email addresses and/or domains), returns the verification status and (for domain identities) the verification token for each identity.
Exceptions
- AmazonClientException
If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. For more information see AmazonClientException.
- AmazonServiceException
If an error response is returned by AmazonSES indicating either a problem with the data in the request, or a server side issue. For more information see AmazonServiceException.
Declared In
AmazonSESClient.h
getSendQuota:
Returns the user's current sending limits.
- (SESGetSendQuotaResponse *)getSendQuota:(SESGetSendQuotaRequest *)getSendQuotaRequest
Parameters
- getSendQuotaRequest
Container for the necessary parameters to execute the GetSendQuota service method on AmazonSES.
Return Value
The response from the GetSendQuota service method, as returned by AmazonSES.
Discussion
Returns the user's current sending limits.
Exceptions
- AmazonClientException
If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. For more information see AmazonClientException.
- AmazonServiceException
If an error response is returned by AmazonSES indicating either a problem with the data in the request, or a server side issue. For more information see AmazonServiceException.
Declared In
AmazonSESClient.h
getSendStatistics:
Returns the user's sending statistics. The result is a list of data points, representing the last two weeks of sending activity.
Each data point in the list contains statistics for a 15-minute interval.
- (SESGetSendStatisticsResponse *)getSendStatistics:(SESGetSendStatisticsRequest *)getSendStatisticsRequest
Parameters
- getSendStatisticsRequest
Container for the necessary parameters to execute the GetSendStatistics service method on AmazonSES.
Return Value
The response from the GetSendStatistics service method, as returned by AmazonSES.
Discussion
Returns the user's sending statistics. The result is a list of data points, representing the last two weeks of sending activity.
Each data point in the list contains statistics for a 15-minute interval.
Exceptions
- AmazonClientException
If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. For more information see AmazonClientException.
- AmazonServiceException
If an error response is returned by AmazonSES indicating either a problem with the data in the request, or a server side issue. For more information see AmazonServiceException.
Declared In
AmazonSESClient.h
listIdentities:
Returns a list containing all of the identities (email addresses and domains) for a specific AWS Account, regardless of verification status.
- (SESListIdentitiesResponse *)listIdentities:(SESListIdentitiesRequest *)listIdentitiesRequest
Parameters
- listIdentitiesRequest
Container for the necessary parameters to execute the ListIdentities service method on AmazonSES.
Return Value
The response from the ListIdentities service method, as returned by AmazonSES.
Discussion
Returns a list containing all of the identities (email addresses and domains) for a specific AWS Account, regardless of verification status.
Exceptions
- AmazonClientException
If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. For more information see AmazonClientException.
- AmazonServiceException
If an error response is returned by AmazonSES indicating either a problem with the data in the request, or a server side issue. For more information see AmazonServiceException.
Declared In
AmazonSESClient.h
listVerifiedEmailAddresses:
Returns a list containing all of the email addresses that have been verified.
IMPORTANT:The ListVerifiedEmailAddresses action is deprecated as of the May 15, 2012 release of Domain Verification. The ListIdentities action is now preferred.
- (SESListVerifiedEmailAddressesResponse *)listVerifiedEmailAddresses:(SESListVerifiedEmailAddressesRequest *)listVerifiedEmailAddressesRequest
Parameters
- listVerifiedEmailAddressesRequest
Container for the necessary parameters to execute the ListVerifiedEmailAddresses service method on AmazonSES.
Return Value
The response from the ListVerifiedEmailAddresses service method, as returned by AmazonSES.
Discussion
Returns a list containing all of the email addresses that have been verified.
IMPORTANT:The ListVerifiedEmailAddresses action is deprecated as of the May 15, 2012 release of Domain Verification. The ListIdentities action is now preferred.
Exceptions
- AmazonClientException
If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. For more information see AmazonClientException.
- AmazonServiceException
If an error response is returned by AmazonSES indicating either a problem with the data in the request, or a server side issue. For more information see AmazonServiceException.
Declared In
AmazonSESClient.h
sendEmail:
Composes an email message based on input data, and then immediately queues the message for sending.
IMPORTANT:If you have not yet requested production access to Amazon SES, then you will only be able to send email to and from verified email addresses and domains. For more information, go to the Amazon SES Developer Guide.
The total size of the message cannot exceed 10 MB.
Amazon SES has a limit on the total number of recipients per message: The combined number of To:, CC: and BCC: email addresses cannot exceed 50. If you need to send an email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call Amazon SES repeatedly to send the message to each group.
For every message that you send, the total number of recipients (To:, CC: and BCC:) is counted against your sending quota - the maximum number of emails you can send in a 24-hour period. For information about your sending quota, go to the "Managing Your Sending Activity" section of the Amazon SES Developer Guide .
- (SESSendEmailResponse *)sendEmail:(SESSendEmailRequest *)sendEmailRequest
Parameters
- sendEmailRequest
Container for the necessary parameters to execute the SendEmail service method on AmazonSES.
Return Value
The response from the SendEmail service method, as returned by AmazonSES.
Discussion
Composes an email message based on input data, and then immediately queues the message for sending.
IMPORTANT:If you have not yet requested production access to Amazon SES, then you will only be able to send email to and from verified email addresses and domains. For more information, go to the Amazon SES Developer Guide.
The total size of the message cannot exceed 10 MB.
Amazon SES has a limit on the total number of recipients per message: The combined number of To:, CC: and BCC: email addresses cannot exceed 50. If you need to send an email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call Amazon SES repeatedly to send the message to each group.
For every message that you send, the total number of recipients (To:, CC: and BCC:) is counted against your sending quota - the maximum number of emails you can send in a 24-hour period. For information about your sending quota, go to the "Managing Your Sending Activity" section of the Amazon SES Developer Guide .
Exceptions
- SESMessageRejectedException
For more information see SESMessageRejectedException
- AmazonClientException
If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. For more information see AmazonClientException.
- AmazonServiceException
If an error response is returned by AmazonSES indicating either a problem with the data in the request, or a server side issue. For more information see AmazonServiceException.
See Also
Declared In
AmazonSESClient.h
sendRawEmail:
Sends an email message, with header and content specified by the client. The SendRawEmail action is useful for sending multipart MIME emails. The raw text of the message must comply with Internet email standards; otherwise, the message cannot be sent.
IMPORTANT:If you have not yet requested production access to Amazon SES, then you will only be able to send email to and from verified email addresses and domains. For more information, go to the Amazon SES Developer Guide.
The total size of the message cannot exceed 10 MB. This includes any attachments that are part of the message.
Amazon SES has a limit on the total number of recipients per message: The combined number of To:, CC: and BCC: email addresses cannot exceed 50. If you need to send an email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call Amazon SES repeatedly to send the message to each group.
For every message that you send, the total number of recipients (To:, CC: and BCC:) is counted against your sending quota - the maximum number of emails you can send in a 24-hour period. For information about your sending quota, go to the "Managing Your Sending Activity" section of the Amazon SES Developer Guide .
- (SESSendRawEmailResponse *)sendRawEmail:(SESSendRawEmailRequest *)sendRawEmailRequest
Parameters
- sendRawEmailRequest
Container for the necessary parameters to execute the SendRawEmail service method on AmazonSES.
Return Value
The response from the SendRawEmail service method, as returned by AmazonSES.
Discussion
Sends an email message, with header and content specified by the client. The SendRawEmail action is useful for sending multipart MIME emails. The raw text of the message must comply with Internet email standards; otherwise, the message cannot be sent.
IMPORTANT:If you have not yet requested production access to Amazon SES, then you will only be able to send email to and from verified email addresses and domains. For more information, go to the Amazon SES Developer Guide.
The total size of the message cannot exceed 10 MB. This includes any attachments that are part of the message.
Amazon SES has a limit on the total number of recipients per message: The combined number of To:, CC: and BCC: email addresses cannot exceed 50. If you need to send an email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call Amazon SES repeatedly to send the message to each group.
For every message that you send, the total number of recipients (To:, CC: and BCC:) is counted against your sending quota - the maximum number of emails you can send in a 24-hour period. For information about your sending quota, go to the "Managing Your Sending Activity" section of the Amazon SES Developer Guide .
Exceptions
- SESMessageRejectedException
For more information see SESMessageRejectedException
- AmazonClientException
If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. For more information see AmazonClientException.
- AmazonServiceException
If an error response is returned by AmazonSES indicating either a problem with the data in the request, or a server side issue. For more information see AmazonServiceException.
Declared In
AmazonSESClient.h
setIdentityDkimEnabled:
Enables or disables Easy DKIM signing of email sent from an identity:
- (SESSetIdentityDkimEnabledResponse *)setIdentityDkimEnabled:(SESSetIdentityDkimEnabledRequest *)setIdentityDkimEnabledRequest
Parameters
- setIdentityDkimEnabledRequest
Container for the necessary parameters to execute the SetIdentityDkimEnabled service method on AmazonSES.
Return Value
The response from the SetIdentityDkimEnabled service method, as returned by AmazonSES.
Discussion
Enables or disables Easy DKIM signing of email sent from an identity:
- If Easy DKIM signing is enabled for a domain name identity (e.g., example.com ), then Amazon SES will DKIM-sign all email sent by addresses under that domain name (e.g<EMAIL_ADDRESS>).
- If Easy DKIM signing is enabled for an email address, then Amazon SES will DKIM-sign all email sent by that email address.
For email addresses (e.g<EMAIL_ADDRESS>), you can only enable Easy DKIM signing if the corresponding domain (e.g., example.com ) has been set up for Easy DKIM using the AWS Console or the VerifyDomainDkim action.
For more information about Easy DKIM signing, go to the Amazon SES Developer Guide .
Exceptions
- AmazonClientException
If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. For more information see AmazonClientException.
- AmazonServiceException
If an error response is returned by AmazonSES indicating either a problem with the data in the request, or a server side issue. For more information see AmazonServiceException.
Declared In
AmazonSESClient.h
setIdentityFeedbackForwardingEnabled:
Given an identity (email address or domain), enables or disables whether Amazon SES forwards feedback notifications as email. Feedback forwarding may only be disabled when both complaint and bounce topics are set. For more information about feedback notification, see the Amazon SES Developer Guide .
- (SESSetIdentityFeedbackForwardingEnabledResponse *)setIdentityFeedbackForwardingEnabled:(SESSetIdentityFeedbackForwardingEnabledRequest *)setIdentityFeedbackForwardingEnabledRequest
Parameters
- setIdentityFeedbackForwardingEnabledRequest
Container for the necessary parameters to execute the SetIdentityFeedbackForwardingEnabled service method on AmazonSES.
Return Value
The response from the SetIdentityFeedbackForwardingEnabled service method, as returned by AmazonSES.
Discussion
Given an identity (email address or domain), enables or disables whether Amazon SES forwards feedback notifications as email. Feedback forwarding may only be disabled when both complaint and bounce topics are set. For more information about feedback notification, see the Amazon SES Developer Guide .
Exceptions
- AmazonClientException
If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. For more information see AmazonClientException.
- AmazonServiceException
If an error response is returned by AmazonSES indicating either a problem with the data in the request, or a server side issue. For more information see AmazonServiceException.
See Also
Declared In
AmazonSESClient.h
setIdentityNotificationTopic:
Given an identity (email address or domain), sets the Amazon SNS topic to which Amazon SES will publish bounce and complaint notifications for emails sent with that identity as the Source . Publishing to topics may only be disabled when feedback forwarding is enabled. For more information about feedback notification, see the Amazon SES Developer Guide .
- (SESSetIdentityNotificationTopicResponse *)setIdentityNotificationTopic:(SESSetIdentityNotificationTopicRequest *)setIdentityNotificationTopicRequest
Parameters
- setIdentityNotificationTopicRequest
Container for the necessary parameters to execute the SetIdentityNotificationTopic service method on AmazonSES.
Return Value
The response from the SetIdentityNotificationTopic service method, as returned by AmazonSES.
Discussion
Given an identity (email address or domain), sets the Amazon SNS topic to which Amazon SES will publish bounce and complaint notifications for emails sent with that identity as the Source . Publishing to topics may only be disabled when feedback forwarding is enabled. For more information about feedback notification, see the Amazon SES Developer Guide .
Exceptions
- AmazonClientException
If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. For more information see AmazonClientException.
- AmazonServiceException
If an error response is returned by AmazonSES indicating either a problem with the data in the request, or a server side issue. For more information see AmazonServiceException.
Declared In
AmazonSESClient.h
verifyDomainDkim:
Returns a set of DNS records, or tokens , that must be published in the domain name's DNS to complete the DKIM verification process. These tokens are DNS CNAME records that point to DKIM public keys hosted by Amazon SES. To complete the DKIM verification process, these tokens must be published in the domain's DNS. The tokens must remain published in order for Easy DKIM signing to function correctly.
After the tokens are added to the domain's DNS, Amazon SES will be able to DKIM-sign email originating from that domain. To enable or disable Easy DKIM signing for a domain, use the SetIdentityDkimEnabled action.
For more information about Easy DKIM, go to the Amazon SES Developer Guide .
- (SESVerifyDomainDkimResponse *)verifyDomainDkim:(SESVerifyDomainDkimRequest *)verifyDomainDkimRequest
Parameters
- verifyDomainDkimRequest
Container for the necessary parameters to execute the VerifyDomainDkim service method on AmazonSES.
Return Value
The response from the VerifyDomainDkim service method, as returned by AmazonSES.
Discussion
Returns a set of DNS records, or tokens , that must be published in the domain name's DNS to complete the DKIM verification process. These tokens are DNS CNAME records that point to DKIM public keys hosted by Amazon SES. To complete the DKIM verification process, these tokens must be published in the domain's DNS. The tokens must remain published in order for Easy DKIM signing to function correctly.
After the tokens are added to the domain's DNS, Amazon SES will be able to DKIM-sign email originating from that domain. To enable or disable Easy DKIM signing for a domain, use the SetIdentityDkimEnabled action.
For more information about Easy DKIM, go to the Amazon SES Developer Guide .
Exceptions
- AmazonClientException
If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. For more information see AmazonClientException.
- AmazonServiceException
If an error response is returned by AmazonSES indicating either a problem with the data in the request, or a server side issue. For more information see AmazonServiceException.
Declared In
AmazonSESClient.h
verifyDomainIdentity:
Verifies a domain.
- (SESVerifyDomainIdentityResponse *)verifyDomainIdentity:(SESVerifyDomainIdentityRequest *)verifyDomainIdentityRequest
Parameters
- verifyDomainIdentityRequest
Container for the necessary parameters to execute the VerifyDomainIdentity service method on AmazonSES.
Return Value
The response from the VerifyDomainIdentity service method, as returned by AmazonSES.
Discussion
Verifies a domain.
Exceptions
- AmazonClientException
If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. For more information see AmazonClientException.
- AmazonServiceException
If an error response is returned by AmazonSES indicating either a problem with the data in the request, or a server side issue. For more information see AmazonServiceException.
Declared In
AmazonSESClient.h
verifyEmailAddress:
Verifies an email address. This action causes a confirmation email message to be sent to the specified address.
IMPORTANT:The VerifyEmailAddress action is deprecated as of the May 15, 2012 release of Domain Verification. The VerifyEmailIdentity action is now preferred.
- (SESVerifyEmailAddressResponse *)verifyEmailAddress:(SESVerifyEmailAddressRequest *)verifyEmailAddressRequest
Parameters
- verifyEmailAddressRequest
Container for the necessary parameters to execute the VerifyEmailAddress service method on AmazonSES.
Discussion
Verifies an email address. This action causes a confirmation email message to be sent to the specified address.
IMPORTANT:The VerifyEmailAddress action is deprecated as of the May 15, 2012 release of Domain Verification. The VerifyEmailIdentity action is now preferred.
Exceptions
- AmazonClientException
If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. For more information see AmazonClientException.
- AmazonServiceException
If an error response is returned by AmazonSES indicating either a problem with the data in the request, or a server side issue. For more information see AmazonServiceException.
Declared In
AmazonSESClient.h
verifyEmailIdentity:
Verifies an email address. This action causes a confirmation email message to be sent to the specified address.
- (SESVerifyEmailIdentityResponse *)verifyEmailIdentity:(SESVerifyEmailIdentityRequest *)verifyEmailIdentityRequest
Parameters
- verifyEmailIdentityRequest
Container for the necessary parameters to execute the VerifyEmailIdentity service method on AmazonSES.
Return Value
The response from the VerifyEmailIdentity service method, as returned by AmazonSES.
Discussion
Verifies an email address. This action causes a confirmation email message to be sent to the specified address.
Exceptions
- AmazonClientException
If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available. For more information see AmazonClientException.
- AmazonServiceException
If an error response is returned by AmazonSES indicating either a problem with the data in the request, or a server side issue. For more information see AmazonServiceException.
Declared In
AmazonSESClient.h


---
title: CTE and STEM Teachers
layout: default
---
Partial List of STEM Course Teachers:
- Mr. Byrns: Teaches programming and networking courses.
- Mr. Pechtold: Teaches courses on networking and ethical hacking.
- Mr. Donaldson: Teaches computer graphics and materials processing.
- Mr. Alesi: Teaches computer graphics and programming courses.
- Mr. Avvampato: Teaches computer graphics and video media courses.
- Mr. Ripka: Teaches multiple engineering courses.
- Mr. Warren: Teaches the building and construction courses.
- Mr. Crawford: Teaches courses on architecture and design.
- Mr. Bierly: Teaches courses on automotive technology.


#assign SoftDelete = "true">
Go to the documentation at /docs/features/softdelete for details on the mapping and use of @SoftDelete.
@SoftDelete


Quantum Phase Estimation
Quantum phase estimation is one of the most important subroutines in
quantum computation. It serves as a central building block for many
quantum algorithms and implements a measurement for essentially any
Hermitian
operator. Recall
that a quantum computer initially only permits us to measure individual
qubits. If we want to measure a more complex observable, such as the
energy described by a Hamiltonian \(H\), we resort to quantum phase
estimation. The routine prepares an eigenstate of the Hermitian operator
in one register and stores the corresponding eigenvalue in a second
register.
John von Neumann’s measurement scheme
Quantum phase estimation is a discretization of von Neumann’s
prescription to measure a Hermitian observable \(H = \sum_j E_j
|\psi_j \rangle \langle \psi_j|\). The scheme that von Neumann
envisioned is the following. We consider a quantum system that supports
the observable \(H\), which we want to measure. We assume that we are only
able to measure simpler observables, in our case single qubits, or as in
the original setting the location of a single particle. It is therefore
our goal to reduce the measurement of the complex observable \(H\) to a
measurement of the simpler observable, e.g. the location. This simple
observable is then referred to as the pointer. To map the complex
observable on to the simpler one we’ll make use of a convenient
observation from quantum mechanics. It is known that the momentum
operator \(\hat{p}\) generate shifts for single particles.
That is, if we apply the unitary \(\exp(- i \hat{p} \lambda)\) to some
wave packet \(\psi(x)\), then this wave packet will be shifted by
\(\lambda\) in the positive direction.
The scheme now assumes that we can apply the unitary evolution
\(\exp(-i H \otimes \hat{p} t )\) to both the system and the
pointer register as illustrated in the following picture
This picture essentially describes von Neumann”s measurement
scheme. We now follow the steps and first adjoin an ancilla – the
pointer – which is a continuous quantum variable initialized in the
state
\(|0\rangle\) (the origin), so that the system+pointer is
initialized in the state
\(|\psi\rangle|0\rangle\), where
\(|\psi\rangle\) is the initial state of the system. Then we evolve
according to the new Hamiltonian
\(K = H\otimes\hat{p}\) for a time
\(t\), so the evolution is given by
\(e^{-it H\otimes \hat{p}} = \sum_{j=1}^{2^N}
|\psi_{j}\rangle\langle \psi_{j}|\otimes e^{-itE_j \hat{p}}.\)
We now observe the action of this measurement apparatus. Suppose that
\(|\psi\rangle\) is an
eigenstate
\(|\psi_{j}\rangle\) of \(H\), we find that the system evolves to
\(e^{-it H\otimes \hat{p}}|\psi_{j}\rangle|0\rangle =
|\psi_{j}\rangle |x = tE_j\rangle.\) A measurement of the
position of the pointer with sufficiently high accuracy will provide an
approximation to \(E_j\).
The quantum algorithm
To carry out the above operation efficiently on a quantum computer, we
discretize the pointer using \(r\) qubits, replacing the continuous
quantum variable with a \(2^r\)-dimensional space, where the
computational basis states \(|z\rangle\) of the pointer represent
the basis of momentum eigenstates of the original continuous quantum
variable. The label \(z\) is the binary representation of the integers
\(0\) through \(2^r-1\). In this representation, the discretization of
the momentum operator becomes
\(\hat{p} = \sum_{j=1}^r 2^{-j}
\frac{\mathbb{I}-\sigma^z_j}{2}.\)
xx
With this normalization
\(\hat{p}|z\rangle =
\frac{z}{2^r}|z\rangle\). Now the discretized Hamiltonian
\(K =
H\otimes \hat{p}\) is a sum of terms involving at most
\(k+1\)
qubits, if
\(H\) is a Hamiltonian involving terms of at most
\(k\)
qubits. Thus we can simulate the dynamics of
\(K\) using standard
methods. In terms of the momentum eigenbasis the initial (discretized)
state of the pointer is written
\(| x=0\rangle =
\frac{1}{2^{r/2}}\sum_{z=0}^{2^r-1} |z\rangle\). This state can
be prepared efficiently on a quantum computer by first initializing
the qubits of the pointer in the state
\(|0\rangle \cdots
|0\rangle\) and applying an (inverse)
quantum Fourier
transform.
Since we have a very simple initial state, the Fourier transform can
be represented by a product of Hadamard matrices. The discretized
evolution of the system+pointer now can be written
\(e^{-it H\otimes \hat{p}}|\psi_{j}\rangle|x=0\rangle =
\frac{1}{2^{r/2}}\sum_{z=0}^{2^r-1} e^{-iE_j
zt/2^r}|\psi_{j}\rangle z\rangle.\)
Performing an inverse quantum Fourier transform on the pointer leaves
the system in the state \(|\psi_{j}\rangle\otimes|\phi\rangle\),
where
\(| \phi\rangle = \sum_{x=0}^{2^r-1} \left(
\frac{1}{2^{r}}\sum_{z=0}^{2^r-1}e^{\frac{2\pi
i}{2^r}\left(x-\frac{E_j t}{2\pi}\right)z} \right)|x\rangle,\)
which is strongly peaked near the location \(x = \lfloor
\frac{E_jt}{2\pi} \rfloor\). To ensure that there are no overflow
errors we need to choose \(t < \frac{2\pi}{\|H\|}\). (We assume
here, for simplicity, that \(H\geq 0\).) It is easy to see that
actually performing the simulation of \(K\) for \(t=1\) is a product of
\(r\) simulations of the evolution according to \(\frac{1}{2^{r}}
H\otimes \frac{\mathbb{I}-\sigma^z_k}{2}\) for \(1, 2, 2^2,
\ldots, 2^{r-1}\) units of time, respectively. This results in the
general circuit for quantum phase estimation:
In order to implement the full circuit on a quantum computer, we still
need to decompose the controlled unitaries \(e^{-i H \frac{t}{2^k}}\) as
well as the inverse quantum Fourier transform denoted by \(QFT^{-1}\) into
our elementary gates.
Example circuit
The example below demonstrates quantum phase estimation for a toy
single-qubit Hamiltonian \(\sigma^x\) acting on qubit \(Q_2\). Qubit
\(Q_3\) serves as a pointer system. In this example the quantum
Fourier transform on the pointer system is equivalent to the Hadamard
gate \(H\) on \(Q_3\). The discretized evolution of the
system+pointer system is described by the CNOT gate. The final
measurement outcome on the pointer qubit \(Q_3\) is \(0\) or \(1\)
depending on whether \(Q_2\) is prepared in the \(+1\) or \(-1\)
eigenstate of \(\sigma^x\). In this example, qubit \(Q_2\) is
initialized in a state \(Z H|0\rangle\) which is \(-1\) eigenvector
\(\sigma^x\). Accordingly, the measurement outcome is \(1\).
Phase Estimation Circuit (-)
Open in composer
Phase Estimation Circuit (+)
Open in composer


R/geom_conn_bundle.R
geom_conn_bundle.Rd
Hierarchical edge bundling is a technique to introduce some order into the hairball structure that can appear when there's a lot of overplotting and edge crossing in a network plot. The concept requires that the network has an intrinsic hierarchical structure that defines the layout but is not shown. Connections between points (that is, not edges) are then drawn so that they loosely follows the underlying hierarchical structure. This results in a flow-like structure where lines that partly move in the same direction will be bundled together.
geom_conn_bundle(mapping = NULL, data = get_con(), position = "identity", arrow = NULL, lineend = "butt", show.legend = NA, n = 100, tension = 0.8, ...) geom_conn_bundle2(mapping = NULL, data = get_con(), position = "identity", arrow = NULL, lineend = "butt", show.legend = NA, n = 100, tension = 0.8, ...) geom_conn_bundle0(mapping = NULL, data = get_con(), position = "identity", arrow = NULL, lineend = "butt", show.legend = NA, tension = 0.8, ...)
| mapping | Set of aesthetic mappings created by |
|---|---|
| data | The result of a call to |
| position | Position adjustment, either as a string, or the result of a call to a position adjustment function. |
| arrow | Arrow specification, as created by |
| lineend | Line end style (round, butt, square). |
| show.legend | logical. Should this layer be included in the legends?
|
| n | The number of points to create along the path. |
| tension | How "loose" should the bundles be. 1 will give very tight bundles, while 0 will turn of bundling completely and give straight lines. Defaults to 0.8 |
| ... | Other arguments passed on to |
In order to avoid excessive typing edge aesthetic names are
automatically expanded. Because of this it is not necessary to write
edge_colour
within the aes()
call as colour
will
automatically be renamed appropriately.
geom_conn_bundle* understands the following aesthetics. Bold aesthetics are automatically set, but can be overridden.
x
y
group
circular
edge_colour
edge_width
edge_linetype
edge_alpha
filter
The position along the path (not computed for the *0 version)
Holten, D. (2006). Hierarchical edge bundles: visualization of adjacency relations in hierarchical data. IEEE Transactions on Visualization and Computer Graphics, 12(5), 741-748. http://doi.org/10.1109/TVCG.2006.147
# Create a graph of the flare class system library(tidygraph) flareGraph <- tbl_graph(flare$vertices, flare$edges) %>% mutate( class = map_bfs_chr(node_is_root(), .f = function(node, dist, path, ...) { if (dist <= 1) return(shortName[node]) path$result[[nrow(path)]] }) ) importFrom <- match(flare$imports$from, flare$vertices$name) importTo <- match(flare$imports$to, flare$vertices$name) # Use class inheritance for layout but plot class imports as bundles ggraph(flareGraph, 'dendrogram', circular = TRUE) + geom_conn_bundle(aes(colour = ..index..), data = get_con(importFrom, importTo), edge_alpha = 0.25) + geom_node_point(aes(filter = leaf, colour = class)) + scale_edge_colour_distiller('', direction = 1, guide = 'edge_direction') + coord_fixed() + ggforce::theme_no_axes()


inherit/1
declaration:- inherit
+ClassName +Op +Name/
+Arity,
....
ClassName names the class from which the message should be inherited, Op indicates which kind of message it is, and Name and Arity indicate the name and arity of the message to be inherited. You may include several inheritance specifications in one directive.
Be careful of the precedences of the message
operator and the /
operator. You may need to use parentheses.
Suppose classes toy
and truck
are defined as follows:
:-class toy. Self <- create. Self >> size(small). Self >> rolls(false). :- end_class toy. :- class truck. Self <- create. Self >> size(small). Self >> rolls(true). :- end_class truck.
Then toy_truck
inherits its size from toy
and the fact that it rolls from truck
:
:- class toy_truck = toy + truck. :- inherit toy <- (create/O), toy <- (size/1), truck <- (rolls/1). :- end_class toy_truck.
Note that this is just a toy example.
uninherit/1


The JavaScript Math object allows you to perform mathematical tasks on numbers.
Math.sin(x) returns the sin of x (given in radians):
Angle in radians = (angle in degrees) * PI / 180.
Math.cos(x) returns the cosin of x (given in radians):
Angle in radians = (angle in degrees) * PI / 180.
Math.min() returns the lowest value in a list of arguments:
Math.max() returns the highest value in a list of arguments.
Math.random() returns a random number between 0 and 1:
JavaScript provides 8 mathematical constants that can be accessed with the Math object:


It goes well with a wide variety of constraint satisfaction problems -- Even ones you cook up yourself!
| TableSalt:new (domain, sizeX, sizeY) |
Creates a new TableSalt instance. |
| TableSalt:setAddVarsAfterAnyChange (bool) |
switch to toggle when additional constraints should be added for solveConstraints. |
| TableSalt:getAddVarsAfterAnyChange () |
returns where it's adding constraints. |
| TableSalt:getIDByName (n) |
Returns the id given a variable name |
| TableSalt:getIDByPair (x, y) |
Returns the id given a pair. |
| TableSalt:getValueByID (i) |
Returns the value given the id |
| TableSalt:getValueByName (n) |
Returns the value given a name |
| TableSalt:getValueByPair (x, y) |
Returns the value given a pair. |
| TableSalt:getDomainByID (i) |
Returns the domain given the id. |
| TableSalt:getDomainByName (n) |
Returns the domain given a name |
| TableSalt:getDomainByPair (x, y) |
Returns the domain given a pair. |
| TableSalt:addConstraintByIDs (section, pepperConstraint, ...) |
add a constraint to the board via IDs. |
| TableSalt:addConstraintByPairs (section, pepperConstraint, ...) |
add a constraint to the board via x,y position. |
| TableSalt:addConstraintByNames (section, pepperConstraint, ...) |
add a constraint based on the name given in the input table. |
| TableSalt:addConstraintForEachRow (pepperConstraint, ...) |
adds a constraint for each row. |
| TableSalt:addConstraintForEachColumn (pepperConstraint, ...) |
adds a constraint for each column. |
| TableSalt:addConstraintForAll (pepperConstraint, ...) |
adds a constraint for all values. |
| TableSalt:isFilled () |
determines if each variable has a value |
| TableSalt:isSolved () |
determines if the problem is solved based on the constraints that were added |
| TableSalt:solveConstraints (specificCellID) |
runs the AC3 algorithm to reduce domains/solve the problem |
| TableSalt:getSmallestDomainID () |
returns the id associated with the variable with the smallest domain. |
| TableSalt:solveForwardCheck () |
runs the forward check algorithm in the current state. |
| TableSalt:solve () |
solve the constraint satisfaction problem. |
| TableSalt:print () |
prints out the problem either as a table, a row, or a grid. |
-
TableSalt:new (domain, sizeX, sizeY)
-
Creates a new TableSalt instance. This will initialize a table, where each cell has a unique id which hold
a value and a domain that can be accessed through various getters, as described below.
Parameters:
- domain
the domain for each of the cells in the problem
- sizeX
the length of the input or a table representing the variables
- sizeY
(optional) - the height of the domain space if the CSP exists over a grid
Returns:
a new TableSalt instance
Usage:
local TableSalt = require('TableSalt/TableSalt')
local aussie = TableSalt:new({"Red", "Green", "Blue"}, {"WA", "NT", "SA", "Q", "NSW", "V", "T"}) local sudoku = TableSalt:new({1,2,3,4,5,6,7,8,9}, 9, 9) local linear = TableSalt:new({1,2,3,4,5,6,7,8,9}, 9)
-
TableSalt:setAddVarsAfterAnyChange (bool)
-
switch to toggle when additional constraints should be added for solveConstraints.
When this is true, it will act like the classic AC3 algorithm
and add constraints after any domain has changed. When it's false, it will only add contraints after a value has
been set (aka, the domain has been reduced to 1). If the problem is easily solved by constraints, setting this to
true will incur a huge speedup (as in the case for sudoku).
Parameters:
Usage:
local sudoku = TableSalt:new({1,2,3,4,5,6,7,8,9}, 9, 9)
sudoku:setAddVarsAfterAnyChange(false)
-
TableSalt:getAddVarsAfterAnyChange ()
-
returns where it's adding constraints.
Returns:
true
if after any domain change. false
if only when a variable is assigned
-
TableSalt:getIDByName (n)
-
Returns the id given a variable name
Parameters:
- n
the name of a variable used in the problem
Returns:
the id associated with the given name
Usage:
local aussie = TableSalt:new({"Red", "Green", "Blue"}, {"WA", "NT", "SA", "Q", "NSW", "V", "T"})
aussie:getIDByName("NSW")
-
TableSalt:getIDByPair (x, y)
-
Returns the id given a pair.
(0,0)
represents the top left
Parameters:
- x
the x position from the left
- y
the y position from the top
Returns:
the id associated with the pair
Usage:
local sudoku = TableSalt:new({1,2,3,4,5,6,7,8,9}, 9, 9)
sudoku:getIDByPair(5,5)
-
TableSalt:getValueByID (i)
-
Returns the value given the id
Parameters:
Returns:
the value associated with the given id or nil
if it hasn't been set.
Usage:
local linear = TableSalt:new({1, 2, 3, 4, 5, 6, 7, 8, 9}, 8)
linear:solve()
linear:getValueByID(7)
-
TableSalt:getValueByName (n)
-
Returns the value given a name
Parameters:
- n
the name of the variable
Returns:
the value associated with the given name or nil
if it hasn't been set.
Usage:
local aussie = TableSalt:new({"Red", "Green", "Blue"}, {"WA", "NT", "SA", "Q", "NSW", "V", "T"})
aussie:solveForwardCheck()
aussie:getValueByName("WA")
-
TableSalt:getValueByPair (x, y)
-
Returns the value given a pair.
(0,0)
represents the top left
Parameters:
- x
the x position from the left
- y
the y position from the top
Returns:
the value associated with the pair or nil
if it hasn't been set.
Usage:
local sudoku = TableSalt:new({1,2,3,4,5,6,7,8,9}, 9, 9)
sudoku:solve()
sudoku:getValueByPair(5,5)
-
TableSalt:getDomainByID (i)
-
Returns the domain given the id.
Parameters:
Returns:
the domain (as a table) associated with the id. {nil}
if empty
Usage:
local linear = TableSalt:new({1, 2, 3, 4, 5, 6, 7, 8, 9}, 8)
linear:solveConstraints()
linear:getDomainyID(7)
-
TableSalt:getDomainByName (n)
-
Returns the domain given a name
Parameters:
- n
the name of the variable
Returns:
the domain (as a table) associated with the given name. {nil}
if empty
Usage:
local aussie = TableSalt:new({"Red", "Green", "Blue"}, {"WA", "NT", "SA", "Q", "NSW", "V", "T"})
aussie:solveForwardCheck()
aussie:getDomainByName("WA")
-
TableSalt:getDomainByPair (x, y)
-
Returns the domain given a pair.
(0,0)
represents the top left
Parameters:
- x
the x position from the left
- y
the y position from the top
Returns:
the domain (as a table) associated with the given pair. {nil}
if empty
Usage:
local sudoku = TableSalt:new({1,2,3,4,5,6,7,8,9}, 9, 9)
sudoku:solveConstraints()
sudoku:getDomainByPair(5,5) sudoku:solveForwardCheck()
sudoku:getDomainByPair(5,5)
-
TableSalt:addConstraintByIDs (section, pepperConstraint, ...)
-
add a constraint to the board via IDs. For more information, check out PepperConstraints.md
Parameters:
- section
a table of id's
- pepperConstraint
a function which reduces domains based on a constraint
- ...
any additional arguments pepperConstraint requires
Usage:
local linear = TableSalt:new({1, 2, 3, 4, 5, 6, 7, 8, 9}, 9)
linear:addConstraintByIDs({1, 3, 5}, Pepper.allDiff)
-
TableSalt:addConstraintByPairs (section, pepperConstraint, ...)
-
add a constraint to the board via x,y position. For more information, check out PepperConstraints.md
Parameters:
- section
a table of x,y pairs
- pepperConstraint
a function which reduces domains based on a constraint
- ...
any additional arguments pepperConstraint requires
Usage:
local sudoku = TableSalt:new({1, 2, 3, 4, 5, 6, 7, 8, 9}, 9, 9)
sudoku:addConstraintByPairs({ {1, 1}, {5, 2}, {7, 2} }, Pepper.setVal, 4)
-
TableSalt:addConstraintByNames (section, pepperConstraint, ...)
-
add a constraint based on the name given in the input table. For more information, check out PepperConstraints.md
Parameters:
- section
a table of names
- pepperConstraint
a function which reduces domains based on a constraint
- ...
any additional arguments pepperConstraint requires
Usage:
local aussie = TableSalt:new({"Red", "Green", "Blue"}, {"WA", "NT", "SA", "Q", "NSW", "V", "T"})
aussie:addConstraintByNames({ "WA", "NT", "SA" }, Pepper.allDiff)
-
TableSalt:addConstraintForEachRow (pepperConstraint, ...)
-
adds a constraint for each row. This is handy for grid based problems. For more information, check out PepperConstraints.md
Parameters:
- pepperConstraint
a function which reduces domains based on a constraint
- ...
any additional arguments pepperConstraint requires
Usage:
local sudoku = TableSalt:new({1, 2, 3, 4, 5, 6, 7, 8, 9}, 9, 9)
sudoku:addConstraintForEachRow(Pepper.allDiff)
-
TableSalt:addConstraintForEachColumn (pepperConstraint, ...)
-
adds a constraint for each column. This is handy for grid based problems. For more information, check out PepperConstraints.md
Parameters:
- pepperConstraint
a function which reduces domains based on a constraint
- ...
any additional arguments pepperConstraint requires
Usage:
local sudoku = TableSalt:new({1, 2, 3, 4, 5, 6, 7, 8, 9}, 9, 9)
sudoku:addConstraintForEachColumn(Pepper.allDiff)
-
TableSalt:addConstraintForAll (pepperConstraint, ...)
-
adds a constraint for all values. For more information, check out PepperConstraints.md
Parameters:
- pepperConstraint
a function which reduces domains based on a constraint
- ...
any additional arguments pepperConstraint requires
Usage:
local linear = TableSalt:new({1, 2, 3, 4, 5, 6, 7, 8, 9}, 9)
linear:addConstraintForAll(Pepper.allDiff)
-
TableSalt:isFilled ()
-
determines if each variable has a value
Returns:
true
if each cell has a value, false
otherwise
Usage:
local aussie = TableSalt:new({"Red", "Green", "Blue"}, {"WA", "NT", "SA", "Q", "NSW", "V", "T"})
aussie:isFilled()
-
TableSalt:isSolved ()
-
determines if the problem is solved based on the constraints that were added
Returns:
true
if all constraints are satisfied (domain has been reduced to 1 value). false
otherwise
Usage:
local aussie = TableSalt:new({"Red", "Green", "Blue"}, {"WA", "NT", "SA", "Q", "NSW", "V", "T"})
aussie:isSolved() aussie:solveForwardCheck()
aussie:isSolved()
-
TableSalt:solveConstraints (specificCellID)
-
runs the AC3 algorithm to reduce domains/solve the problem
Parameters:
- specificCellID
(optional) useful for running constrains only associated with one cell. If omitted, solveConstraints will use all constraints
Returns:
true
if the problem was solved. false
otherwise
-
TableSalt:getSmallestDomainID ()
-
returns the id associated with the variable with the smallest domain.
If there's a tie, it uses the degree heuristic which picks the variable with the larger number of constraints
Returns:
the id of the variable with the smallest domain
Usage:
linear = TableSalt:new({1, 2, 3, 4, 5, 6, 7, 8, 9}, 9)
linear:solveConstraints()
linear:getSmallestDomainID()
-
TableSalt:solveForwardCheck ()
-
runs the forward check algorithm in the current state.
It goes through each variable, tries a value from the domain, runs solveConstraints to prune,
backtracks if necessary, and finally determines a solution.
Returns:
true
if the problem is solved. false
otherwise
Usage:
local aussie = TableSalt:new({"Red", "Green", "Blue"}, {"WA", "NT", "SA", "Q", "NSW", "V", "T"})
aussie:solveForwardCheck()
-
TableSalt:solve ()
-
solve the constraint satisfaction problem.
This will call solveConstraints to reduce the domains and then solveForwardCheck to finish solving the problem
Returns:
true
if the problem was able to be solved. false
if not.
Usage:
local sudoku = TableSalt:new({1, 2, 3, 4, 5, 6, 7, 8, 9}, 9, 9)
sudoku:setAddVarsAfterAnyChange(false)
sudoku:addConstraintForEachColumn(Pepper.allDiff)
sudoku:solve()
sudoku:print() -- print out the problem.
-
TableSalt:print ()
-
prints out the problem either as a table, a row, or a grid. How it prints out is dependent on how the inputs were given.
If the variables were given as a table, it will print out as a table. Otherwise it will print out as a grid.
Usage:
local sudoku = TableSalt:new({1, 2, 3, 4, 5, 6, 7, 8, 9}, 9, 9)
sudoku:print()
sudoku:solve()
sudoku:print()


Which are the top 10 countries?
{{item.name}}
{{item.data.date}}
Harry and Amelia still topping the charts?
See our data in a new light
Neighbourhood statistics site
Labour market statistics
Explore the Census 2011 outputs


Dear Coleen: My husband leaves me unfulfilled and frustrated in the bedroom
"Our sex life has definitely deteriorated over the past couple of years – we don’t have as much time and we’re tired"
by Irishmirror.ieDear Coleen
I’m a woman of 35 and my husband is 43. We’ve been married for eight years and have a good relationship.
But we have young children, so don’t have as much time for each other as we once did.
Our sex life has definitely deteriorated over the past couple of years. We have sex less often because we don’t have as much time and we’re tired. Also, when we do get round to it, it’s predictable and over quickly.
Usually, he ejaculates very quickly unless he stops and takes breaks, which definitely takes the sexiness out of the situation.
I don’t want to make a big deal of it because I realise it’s a sensitive subject but, on the other hand, I’m left feeling unfulfilled and frustrated.

I don’t want this to be a problem for our marriage because I really love him and he’s a fantastic partner and father.
Can you offer any advice that could improve this side of our relationship?
Coleen says
First of all, I think it would be good to take the pressure off sex and make more effort to reconnect and build intimacy outside of the bedroom.
I know that’s difficult when you have young kids, but it’s important, so schedule it if you have to, just as you’d schedule other important things.
You also have to be more available to each other in order to get closer sexually.
Create opportunities so it’s not just a question of trying to squeeze in a quick one at the end of a long, stressful day when you just want to go to sleep. I know it’s not easy when you have a family, but it can be done.
When it comes to the physical side for him– premature ejaculation is usually down to psychological causes such as anxiety rather than a physical issue (although he can rule out the latter with a visit to his doctor).
If this has happened to him several times now, he’ll be expecting it to happen every time he makes love to you, which makes him anxious and it happens again.
 Focus on foreplay as opposed to penetration for a while and build back up to that.
If you try and don’t feel that you’re getting anywhere, then consider psycho-sexual counselling, so you’re being supported.


I am a Data Science graduate with a background in Engineering and Programming. I have a full understanding of the life cycle of software development projects and would love to use my newfound skills to work with an analytical team to solve real world problems using data.


METROPRINT
-a new service from Metropolis-
Metroprint offers printing support with special services and price points tailormade for businesses and individuals. We have the technology, the team and the experience to deliver what you need within 120 minutes to 36 hours (depending on size of order). Our service is now being offered complete with English support. Friendly English/Japanese speaking customer support staff can guide you through the ordering process.
Services
- Business Cards
- Brochures
- Clearfiles
- Folders
- Flyers
- Invitations
- Letterhead Envelopes
- Pamphlets
- Postcards
- Posters
Contact
8F Nishi-Azabu Sonic Bldg.3-2-12 Nishi-Azabu, Minato-kuTokyo 106-0031Japan
03-4588-2277print@metropolisjapan.commetropolisjapan.com/print


| template | data |
|---|---|
| process reprocess | |
| output HTML | output display |
Process the
template, upper left, with the data, upper
right. See the resulting DOM in output display, lower
right, and the corresponding HTML text in output HTML,
lower left. Notice, however, that the template processing happens
directly on the HTML DOM, and the HTML text shown is merely the
innerHTML
of that DOM.
Now, change the data and reprocess the DOM of the output display with the changed data, and see that the output display reflects the change. Notice that the reprocessing takes place on the DOM of output display, i.e. on the result of the previous template processing.


Tuesday, November 1, 2016
Being that we were late going to bed last night, we slept in this morning. After breakfast, I helped Mae by cleaning up the kitchen while she showered and got ready to go to the Temple. Last night we took the time to fill out our “Voter Ballot’s” except I goofed and signed Mae’s envelope, so Mae called and they told us to cross through my signature and then Mae could sign above it. We have lots of questions and concerns about this election and those running for office. I am not sure how Mae voted on the Presidential office, but I would not vote for either Clinton or Trump! This afternoon we attended a session at the Ogden Temple. Bishop Presnell and Brother Wimmer also attended the session with us. After getting home and having some dinner, I got under the house and found where a duct taped opening in the furnace vent pipes had opened and was letting a lot of air escape under the house. Mae got started cleaning up the outside for winter so I helped her for a while. It was after 8pm when we quit and came in. I finished adding to my daily journal and then we played two games of Rummikub and we both won one.
Health - Day 2: I went off all my previous supplements today and went strictly with the Life Vantage Protandim. I really haven’t noticed a different one way or the other.
Wednesday, November 2, 2016
I went over to Ron Graf’s planning on helping him install a bathroom fan, light and heating unit in their bathroom. When I got there, Ron had gone to the V.A. in Salt Lake. I came home and worked on Sandi’s Christmas tree the rest of the day. Mae came out and helped me put my tools away and cleanup about 8PM. I was tired so we watched a show on T.V. while eating dinner and before going to bed.
Health - Day 3: no noticeable difference on way or the other.
Thursday, November 3, 2016
Mae didn’t sleep well last night so I let her sleep in. I went over to Ron’s and worked the day on his project. We got quite a lot done, but ran into some concerns with the wiring. By 5PM I was tired and so we quit for the day. Mae had dinner ready when I got home. She went to choir practice this evening. Bryce and Deanna stopped by. They had gone to a wedding reception nearby but when they got there no one was there. They realized that it should have been tomorrow night. I watched some shows until Mae got home and then I took a shower before going to bed.
Health - Day 4: no noticeable difference one way or the other. Mae had me take Probiotics and three Ambertose before going to bed.
Friday, November 3, 2016
I worked over at Ron’s today and finished the insulation of the bathroom combined vent-light-heater fixture in their bathroom. I had to remove and install a new switch box as the original box would have never allowed for the switch with all its wiring, to fit in a standard switch box. It was also quite a job to work in the attic to run and connect the wiring. I was tired when I came home. We watched some TV and then played a couple of games of Rummikub, which I won, before going to bed.
Health - Day 5: no noticeable difference one way or the other. Mae talked to Nancy and she feels that I am taking a big chance of going backwards if I lay off all my supplements. She also feels there is nothing that should counter anything in ether the new product or the supplements I have been useing, we decided to take the two of them together.
Saturday, November 5, 2016
I woke up early and so after breakfast I started on Sandi’s Christmas tree. I worked all day getting it finished. Before quitting for the day, I took water over to Jackie. She is having trouble with her car. I will go over Monday morning and check it out. We tried to find a show to watch but there wasn’t much on. We did remember to set the clocks back an hour. Just to let you know I still do not believe in Day Light Saving Time.
Health - Day 6: no noticeable difference one way or the other.
Sunday, November 6, 2016
The morning went well and after the Tabernacle Broadcast, I took a nap. Mae has been busy on the computer still finding work that needs to be done with her pictures. We took Brother and Sister Sheer to meetings this afternoon. Brother Funaki called and told me that he would not be able to help me take the Sacrament out to the shut-in’s this afternoon. Meetings went well and following the Block program, Bishop Mullins went with me to cover 5 homes to take the Sacrament to. It sure opens your eyes to see some of the shut-ins. Shortly after getting home, Brother Gifford called and ask if I could help Bishop Mullins administer to him as he is having heart problems. I went right down and it was a privilege to assist Bishop Mullins. Mae had a nice dinner ready when I got home. Scott, Michelle and their family came over as Mishelle wanted Mae to teach her how to make Peach Cobbler. We played some games and enjoyed the cobbler after it was cooked. I tried a small dish of the cobbler but I am afraid that it contained too much sugar for me to be eating. I entered this entry and Mae played Jacks before going to bed.
Health - Day 7: no noticeable difference one way or the other. Because of today being Fast Day I didn’t take my normal medication or nutritional pills today and along with the small dish of desert, my stomach isn’t feeling well tonight.
Monday, November 7, 2016
I went over to Jackie’s and tried to get her car to start. Justin soon came over and the two of us tried to check out the problem. The battery seems to be ok, but there is no power going to anything else. Not even to the emergency bypass switch on the transmission so that we could shift it out of park, so we could push the car backwards. We finally visited with Jimmy and used his recharger. After letting it recharge for a while we were able to get it to start. I drove the car out to a shop ear Willard and Justin followed me out and brought me back.  After I got home, Sandi called and said that she would be over in a few minutes. She had attended a funeral in Roy and so drove her pickup, making it possible to take her Christmas tree back with her. I had answered her call and told her that I had to run to a neighbors home, but would be right back. When I got back, Sandi’s truck was parked in front of our house. I came in and couldn’t see her, so called to Mae, asking where Sandi was? Mae said that she hadn’t got here yet. I was surprised at that answer and said that her truck was out front. Sandi then called out that she was in the bathroom changing clothes. She had knocked on the door, but Mae didn’t hear her, so she thinking that Mae had gone with me, came in and was changing. We all got a laugh out of that situation. Mae had lunch ready so it was special to have Sandi eat with us. After lunch, I showed Sandi how to assemble the tree. I will be glad to see it when she is finished decorating it. After Sandi left, Mae and I worked in the yard the rest of the day, getting leaves and trash gathered up, trimming some of the shrubs and the lawn mowed. Mae worked in the flowerbeds and I fertilized the trees and yard. We were tired when we finished and came in. We ate some supper and watched three western shows on TV. We played one hand of Rummy which I won and then we got ready for bed, as we are both tired tonight.
Health - Day 8: no noticeable difference one way or the other. I have had some constipation but this is the results that comes with me fasting.
Tuesday, November 8, 2016
I woke at 5:30am and found a note that Mae hadn’t been able to go to sleep until after 1am. I read for about an hour and still did not want to wake Mae so I went into the front room. After my morning prayers, I felt cold and so wrapped up in a blanket and fell asleep until almost 8am. Mae had got up by then so we ate some breakfast. After breakfast, Mae took her shower while I did up the dishes, I then updated my journal. Mae left at 10am to go with Diann Graf shopping at the Base Commissary. I moved the blinds from the south windows to the east windows, and installed the new blinds on the south windows. Mae came home about 2pm and we ate some lunch. I had just finished installing the blinds before Mae got home, so after eating we took a short nap. We then went to Costco to get some pictures and Christmas cards that Mae had ordered and while there, we got a few grocery items. We then stopped at Café Rio and ate. We thought that was the same place we ate in Tooele, but we didn’t care for it as well as when we were with Sandi and Gary. Mae’s carpet cleaner came today so when we got home, I unpacked and assembled it, while I watched some western shows on TV.
Health - Day 9: no noticeable difference one way or the other.
Wednesday, November 9, 2016
After getting the day started, I went to work on the toilet in the 2nd bathroom and changed the float valve. The auto shop that repaired Jackie’s car called and said that the car was ready. Mae had taken Jackie to see David as she has some problems with some growths on her neck, just behind her ears. I called Jason and him and I went out and got the car. I then helped Mae put up tomato sauce, which took most of the afternoon and evening.
Health - Day 10: no noticeable difference one way or the other.
Thursday, November 10, 2016
I started two projects today along with helping Mae some with putting up apple sauce. I changed the flush handle in the 2nd bathroom, which gave me some problems, and I am reinforcing and modifying the fruit cabinet. When I went for parts, I took the yard trash to the Roy City but they only accept trash twice a year and that period is over so I took it to the Ogden trash yard and that was a mess just trying to get in due to so much congestion getting to the weigh scales. I was over an hour there. I did get the toilet repaired, with a little modification. Mae was busy putting up apple sauce and I did help her some. She also helped me get the fruit out of the cabinet so this evening our dining table is still full of jars. Mae attended choir practice this evening but came home early so that we could go to Bountiful and attend the viewing of Grinn & Kathleen Clark’s daughter-in-law. On the way back home we stopped and bought Marianne two cans of pumpkin for her dog. It’s getting late so we are off to bed.
Health - Day 11: no noticeable difference one way or the other. I have had a head ache most of the day, but I don’t think it has anything to do with the supplements I am taking.
Friday, November 11, 2016
I got up at 7am and Mae got up shortly after. It was after 9am by the time we finished with breakfast. I went to work on rebuilding Mae’s fruit closet. I worked most of the day on it and quit just in time, and with Mae’s help, in putting tools up. We made it just in time to attend the Ward Veterans Day dinner. It was a very nice evening, beginning with two scout troops presenting the posting of the Colors and the Pledge of Allegiance, and then followed with a wonderful dinner, and a group that played and sang patriotic music. Bishop Presnell asked Mae and I and Bishop Mullins to meet with him in his office. We discussed one of the families that are assigned to Mae and I as Home Teaching and Visiting Teaching Families. We really couldn’t shed any further information on the case, but to reassure him that we felt that he was handling it correctly in our opinion. After we returned home, Mae and I put all the bottled fruit away in the remodeled Cabinet. We still have room to put empty bottles in the cabinet for storage. It is now late, we are tired and we are going to bed.
Health - Day 12: no noticeable difference one way or the other.
Saturday, November 12, 2016
Mae got up and left at 8am so she could go to the air field for R.C. Airplanes. Kylan goes there to fly his air craft’s almost every Saturday morning. She enjoyed being with Kylan and watching him fly his planes and see how the men there come to Kylan for advice and help. Kylan is 16 and they are in their 50’s and 60’s. Mae then took Ashley to Wendy’s for a treat and then to the park, for a walk, while they visited together. Afterwards, Mae took Ashley home and took the twins (Kaden and Kaitlyn) with her to the Layton park to feed the ducks, take pictures and play. Mae enjoys these grandchildren, as she does all her grandchildren, and loves spending time with them and making memories. I put a few more items in storage and moved more bottled items into the fruit cabinet. I went with Bruce to look at mobile homes but there isn’t much on the market right now. I cleaned up the fall leafs, getting three bags full with more still falling. I got the skirting caulked this afternoon. I was just finishing when Mae got home. I changed and we went back over to Scott and Mishelle’s and tended their children while they went out with some friends. We watched a show on Netflix then played games with the children. I was sure tired when I got home at 10PM.
Health - Day 13: no noticeable difference one way or the other.
Sunday, November 13, 2016
It was a normal Sunday, starting with listening to the Tabernacle Broadcast. We commented that we will miss this with the changing of our meeting schedule next year. Meetings sent well and we enjoyed them. Elder Jones reported on his mission to Sweden and it sounds like he felt pretty successful at what he was able to accomplish. Brother Gifford gave the Priesthood lesson and did a good job with it and Sister Terkelson gave the Sunday School lesson and gave a very humble but good lesson. Bruce attended meetings with us. We would have liked to have invited him to spend the evening with us, but we had been invited to dinner and the evening with David’s family. We really enjoyed the dinner and evening. David would like me to finish his basement for them. He would like to know just how much it will cost, and that is hard to say at this point. I will go up next Saturday and we will draw up some plans. After dinner, we played some Rummy using playing cards and that made it interesting. We were late getting home and to bed.
Health - Day 14: no noticeable difference one way or the other. My hearing still fluctuates quite often. I am fearful that the new hearing aids will still not work.
Monday, November 14, 2016
I woke at 7:30 am but Mae was not in bed with me. I read the Priesthood lesson for next Sunday and instead of it lifting me, it left me quite depressed. The lesson is on teaching and I feel that I have been quite a failure both as a student and as a teacher. Brother Flint invited me to go fishing with them, but they are going tomorrow and that is our scheduled Temple Day, so I called and canceled out. I hated to, as Tuesday looks like it will be the end of fishing for the year. Roy called and said that he and Tita are now planning on getting married on February 14, 2017. I hope it is what is best for both of them. I was busy all day with Blocking up my tool trailer and winterize my boat. I worked right up to the time that we went over to the Saunders’s where they, the Graf’s and Mae and I played games. We had a good time being together.
Health - Day 16: no noticeable difference one way or the other.
Tuesday, November 15, 2016
Mae had an appointment with Jennie this morning. While she was gone, I winterized the camper, which took most of the morning. We attend the Temple this afternoon, doing Initiatory Ordnances. We had 5 Brother and 3 Sisters attend and accomplished 55 ordnances. After getting home, we had lunch and took a short nap. I then went right to work on making a boat cover that will hold the winter weather out of the boat. Mae and I went Home Teaching and Visiting Teaching to Sister Neilson and to Brother and Sister Hunsaker and their daughters Kensie and Kaylee. When we got home I caught my journal up to date.
Health - Day 17: no noticeable difference one way or the other.
Wednesday, November 16, 2016
I worked on getting my boat cover designed and built. In between, I checked on Marianne’s kitchen water tap. The winds came up quite hard in the afternoon and I moved the car out and laid the tarp out in the car port where I put the grommets around it. We had the Sister Missionaries over for dinner at 5pm and so we invited Bruce to come for dinner also. I worked right up to the time for dinner. After dinner, Bruce help me and we quickly finished the boat cover and put it on the boat. I believe it will do a very good job of protecting my boat. I was sure tired tonight.
Health - Day 18: no noticeable difference one way or the other, however tonight I am very tired.
Thursday, November 17, 2016
I slept until 7:50 am before waking up. I really did not feel like any more projects today. I decided to just relax. Mae was hurrying to get a soup put together for the R.S. luncheon prior to sacking candy for the Bishop Store House to have for special treats for families with children. I asked Mae if she needed help, and so I helped her prepare vegetables for the soup. It turned out very good, but was more like a stew that a soup. I then went over to the Church house and helped sack candy. We had a good time and with everyone’s help we assembled 245 Christmas sacks of candy. I did eat a chocolate Kiss and ate Mae’s soup, plus a fried scone. Mae and I then went shopping for some chicken and yams. Bruce called and asked if I was going to look at the one Mobile home. I had forgotten that I was going to meet him at 1pm. It was 3:15pm when I got back home. I went with Bruce to look at a couple of mobile homes. Bruce is quite interested in one of them. When we got back home, Mae had dinner ready. We invited Bruce to stay this evening for dinner and to attend the Stake Fireside with us. After dinner, Mae went to choir practice. Diann Graf went with Mae. Bruce took a shower and went with me to the Stake center for a special Fireside. Diann and Mae met us there. The Stake Relief Society arranged for the Fireside with Elder Lynn & Ann Summerhays as guest speakers. The theme was “Our Love for Jesus Christ” and it was a Very Special and Spiritual evening. At the closing of the program, Elder Summerhays ask President Hall, as the presiding High Priest over our Stake, to give a special blessing to all of us. What a special thing this was. I only wish I could have had a recording of that Blessing. My one regret was that we didn’t have a much larger percentage of our Stake in attendant for such a Blessing. There were refreshments of Home Made Cinnamon Rolls, which I did not dare eat, although they looked so tempting. I am really hurting tonight. Bruce rubbed my feet with oils when we got home and much of the pain had left when he finished.
Health - Day 19: no noticeable difference one way or the other. I definitely feel much better with Bruce’s foot rub.
Friday, November 18, 2016
I was busy most of the day in the house doing Almond Butter, capsulating some of our minerals and making chicken burger. This evening I cut Mae’s hair for her.
Health - Day 20: I haven’t felt any improvement by taking the Life Vantage produce so I think that Mae is going to take the remainder of my pills and she if she recognizes any results from it.
Saturday, November 19, 2016
We got up and Mae got breakfast for us. I went up to David’s and figured materials and floor layout for their basement. It was 1:30pm when I got home and we soon ate some lunch and left for Mike and Becky’s. Becky soon had a nice dinner ready for us before we went to the School play of the Little Mermaid. Jessie participated in the play. It was enjoyable but I was unable to understand probably 90% of the words. It was 10:30pm before we got home.
Sunday, November 20, 2016
We were late getting up but I really didn’t worry about that with is being Sunday morning. We tried to turn on the Tabernacle Choir Broadcast but for some reason our internet was out. When I tried to find the problem I only made it worse. Bruce has decided not to buy the trailer in the court, but is going to rent an apartment in Orem so that he is closer to his children. I certainly don’t disagree with that decision. He had wanted to be here in this nice mobile home park with us, but he wanted a confirmation that this is where the Lord wants him to be, so he went to the temple and prayed in the Celestial Room. He felt he was to live in Orem with his children. Bruce attended meetings with us today. After returning home from meetings, Mae cooked chicken, etc. for dinner. When we finished with dinner, Mae and I went to the Viewing for Ken Shaw. He died of cancer November 16 after fighting it for several years. He kept going almost to the end. While we were in Wasco California on our Service mission, Ken and Vivian came and served with us for nine months. I don’t remember him ever missing a day of work but there were times that I could tell that he didn’t feel the best. When we came home, Bruce had found the problem with the setting on the TV and had it running.
Monday, November 21, 2016
I got up at 7am but things went slow for me this morning. Bruce has rented an apartment in Orem and left today. I took my boat down to the storage yard and took my tool trailer off the blocks. I went down to Boemans Steel to check on a steel I-Beam. I will need to have an engineer give me the specks in the I-Beam before they can order it. I am trying to get a hold of Chad to see if he can do that. I took my tool trailer up to David’s, then came back to The Home Depot and purchased the framing material for David’s. It took me two trips to haul it up there. Tyler, Emily and Connor also help me carry the material into the basement. It was 7PM when I got home. We ate supper and then I called Chad and visited with him about the beam for David’s house. We tried to get to bed early tonight because we have to go to the V.A. in the morning. My appointment is at 9 am in SLC.
Tuesday, November 22, 2016
We got up early, got ready, ate breakfast and left for the Salt Lake V.A. hospital. We got there about 8:30am and so set in the car and read for a few minutes. When we went in, to check in, we were an hour early. We, therefore, went to the lab and I was able to fill in a question sheet and have them draw blood for some testing they are doing. We were back at our Audiologist appointment on time. When they started testing the new hearing aids they found that the left hearing aid was not working. They will have to send them back to the factory for repairs. We had to set another appointment for Dec. 15th. We did get some other errands done on the way home. We had a man coming to check out our water softener this afternoon, but he got in a traffic jam on the freeway which blocked traffic on the north bound lane at 3300. He asked if he could come tomorrow about noon. We then drove up to Morgan to find out about a building permit for David and Shauna’s home. It could take them a couple of weeks to get the permit approved. On the way home, we stopped and talked to Shauna about the permit. We then went out to Larson Digital where we got an external hard drive with all the pictures on it. We then went to a U.P.S. store and got our Christmas letter printed. Scott brought my compressor back this evening. This evening we tried to watch TV but again couldn’t get it to work. We called Grant. He couldn’t figure out the problem, but as we talked Mae thought that it might be the batteries in the remote and that’s what it was. We watched TV as we put address labels, stamps, Christmas cards and letters in envelopes to send out to friends and family. We watched “Winchester 76” staring Jimmy Stewart. It’s late and past bed time.
Thursday, November 24, 2016 Thanksgiving Day
I woke up not feeling very well and quite depressed. After breakfast I drove up to David’s and got some tools out of my trailer. We borrowed Bishop Presnell’s key to the Stake Center. We have been preparing for having our family together for a Thanksgiving dinner tomorrow and are estimating that we will have 35 that will be here for dinner tomorrow. I laid down and slept for over an hour after returning from David’s. Mae and I went over to check the kitchen supplies at the Stake Center, this evening. Before going to bed, Mae and I played three games of Rummikub, in which I won two games.
Friday, November 25, 2016
Today was a busy day from the time we woke until 7pm this evening. Then we quit and watched a TV show before going to bed. Ever thing went well with our Thanksgiving dinner. We held it at the Stake Center. Sandi and Gary came first bringing us a 4’ Christmas wreath and Gary helped me hang it on the front of our house. They then helped us take all the food over to the Stake Center. We went right to work with the finishing touches for dinner. Jeff helped me carve the turkey while others set up the tables and chairs. Mike mashed the potatoes, and thought my beater really worked well. Place settings were set for each individual with place cards being made up by Gail. It was a great thrill when Chelci arrived with JaNae’s children. We felt that was almost a miracle in itself. What a joy it was to have them with us. We felt bad the Steve and Jacob couldn’t come as they were not feeling well this morning. With that exception, along with JaNae and Brad not coming, as well as Shellie’s Family, we had all our Family there. Everyone seemed to just have a great time. As evening approached all pitched in and helped with the cleanup. What a great Thanksgiving day!
Saturday, November 26, 2016
Both Mae and I slept well last night. After breakfast we started in decorating the house for Christmas. It was after 6PM when we finished with the outside decorations. Mae also got a good start on the inside decorations, in between helping me outside. We were tired so we watched two TV Westerns and went to bed late.
Sunday, November 27, 2016
We slept in until 8am before getting up. We showered and then watched the Tabernacle Broadcast before eating. We then took a short nap before getting ready for meetings. Meeting went well and we enjoyed the block time. As we were getting ready to leave, Bishop Presnell asked us to wait for a minute. He then finished his conversation with someone else and made the comment to them, “his parents had four boys, the youngest and the oldest brothers became inactive and to this date still are, where he and his other Brothers both stayed active, have served missions and were married in the Temple. He still wonders how this is, as they were raised in the same family with the same parents.” Bishop Presnell then visited with Mae and I concerning the Temple Session Tuesday. After we got home we had nice dinner of left over Thanksgiving Dinner. David called me and sent me the specifications that Chad calculated out for a beam to support the removal of the one bearing wall. I still had a couple of questions and so I called and discussed them with Chad. After talking to him, I am ready to proceed. I helped Mae get more of the Christmas cards ready to mail. We played a game of 99, using face cards so that we might play with the Siglin’s if they should accept the offer to get together. We used 5 pennies to play the game. Mae won the game.
Monday, November 28, 2016
I got up at 7am. I read from the book “The Infinite Atonement” and really enjoyed that. I wish that I could remember and recall that which I read. It snowed quite heavy during the night. I shoveled our driveways, plus Jackie’s driveway. I made me a list of several items I wanted to accomplish today and by evening I had finished all, plus I did more decorating outside and then put up our Christmas tree inside. Part if the things I accomplished was to remove the water spray hose from Marianne’s kitchen sink and get a new one from Durk’s and replaced that. It’s now after 10pm and I am tired. Mae has been busy with washing and canning yams. We did have the company that built our water softener come, and make a small repair on it, and now it should work ok. I had also gone to Home Depot and checked on post anchors. The one that looked good to me did not have a down load weight capacity on the box, so I asked one of the clerks there. She didn’t know, but called Simpson Tie. She wrote the down load on a card and gave it to me. It was only rated for 1,200 lb. That isn’t very much so I again contacted Chad. He did more checking and found that the rating should have been 12,000 lb. download. That is quite a different story!
Tuesday, November 29, 2016
I spent most of the morning figuring on David’s home. At 10am I went to Leah Neilson’s and figured the materials to add a porch light to her trailer. I picked up materials for David’s job, plus got the measurements for his bath tub and required dimensions needed for a stackable washer and dryer. I picked up the support post for the I-Beam that will replace a bearing wall. Conner got home in time to help me carry those posts into the basement. I have been having problems with the lock on the tail gate of my truck and when we went to unload the post, the lock would not release. I had to remove the lock to get the gate open. I found that the lock was rusted until the lock was frozen. I am trying to get it to loosen up with WD-40. I was tired when I got home. Mae has been busy canning more yams as well as many other things. This evening we attended an endowment session at the Ogden Temple. We had 15 of our Ward members at the session. We were very pleased with that support. After the session we returned to Bishop and Sister Presnell’s where we enjoyed visiting and enjoying refreshments of pie and ice cream, furnished by the High Priests Group Leadership. The Presnells had popcorn and a frozen sugarless desert for Mae & I and themselves.
Wednesday, November 30, 2016
I went to Bowman Kemp at 7am and ordered the beam for David’s home and to United Rental and checked on equipment that I will need to rent to install the beam and to drill holes in the foundation wall for the fireplace and the dryer vent. I also picked up some of the bolts and ties from Bolt & Nut and from CFC, getting better prices and quality than I get at Home Depot. Mae put up another 14 quarts of Yam’s today. When I got home I was really tired so we just relaxed and watched TV this evening.


Size:
-
+
R:
-
+
G:
-
+
B:
-
+
A:
-
+
Icons made by
Freepik
from
www.flaticon.com
is licensed by
CC BY 3.0


--- layout: post title: "Inflation" date: 2008-05-16 comments: false categories: - inflation economy ---


San Diego R Users Group
I recently started an R user group in San Diego. We’ve only had one meeting so far but plans are in the works for more. I started this group so San Diego R users can get together, learn from each other, and talk about all the great things R has to offer. R has a fantastic online community and I want to help establish that at a local level.
Seefood Shiny App
I made a Shiny application based on the Seefood app from HBO’s Silicon Valley. Given an image, it predicts whether the image is a hot dog or ‘not hot dog’. I built a Keras model on Paperspace and wrapped it in a Shiny application. You can find the app here and the modeling code here.
R package geblm
I have an R package called geblm that implements some research of a previous professor. It implements new MCMC algorithms for Bayesian linear and liner mixed models that converge geometrically. It still needs some work (mainly documentation) but unfortunately I just haven’t had the time. I did learn a lot, however, like using C++ with Rcpp, writing unit tests, and generally how R packages work.
R Workshops at SDSU
I did a few workshops for a student organization, the Society of Statisticians and Actuaries, when I was a student at SDSU. I gave workshops on an introduction to R, data wrangling with dplyr, data visualization with ggplot2, and an introduction to Git & GitHub. Materials can be found here. This was a great experience because it forced me to think hard about what I think is important about each topic/tool and why others should care.
Adventures In Bayesian Structural Time Series
I did a group project for a Bayesian statisics course where we were tasked with making video tutorials on a topic of our choosing. We talked about the theory behind Bayesian structural time series and showed how to implement the theory with the bsts package. We had a ton of fun with this project! The videos had a DnD/adventure theme where viewers were on quest to learn about the topic (we may have went a little overboard with this theme 😄). The videos can be found here and all the materials we used can be found here.


{% extends "cradmin_legacy/viewhelpers/listbuilderview/default.django.html" %} {% load i18n %} {% load cradmin_legacy_tags %} {% load cradmin_legacy_icon_tags %} {% block pageheader-outer-extraclasses %} {{ block.super }} devilry-page-header-with-backlink {% endblock %} {% block pageheader-inner %} {% trans "Back to students on semester overview" %} {{ block.super }} {% endblock pageheader-inner %} {% block content %}
{% trans "Points threshold" %}
({% trans "configured in the previous step" %}):
{{ points_threshold }}
{% trans "Selected assignments" %}
({% trans "configured in the previous step" %}):
{% for assignment in selected_assignments %}
- {{ assignment.long_name }}
{% endfor %}
{% trans "Total max score of selected assignments" %}:
{{ selected_assignments_total_max_score }}
{% trans "Threshold percentage of max score" %}:
{{ threshold_percentage|floatformat:2 }} %
{% trans "Number of students that will be added to the assignment" %}:
{{ relatedstudent_add_count }} / {{ relatedstudent_total_count }}
{% blocktrans trimmed %} Below is a list of the students that will be added to the assignment. Each student has a total score across the selected assignments that is equal to or greater than point threshold. {% endblocktrans %}
{% blocktrans trimmed %} Note that students DO NOT have to be registered on each assignment, they must simply have accumulated a high enough score. {% endblocktrans %}


--- layout: post title: FireBug tags: - JavaScript status: publish type: post published: true meta: _edit_last: '2' --- Now I can't remember where I stumbled across this little gem of a plug in for FireFox: FireBug, but yesterday it completely surprised me. I originally had installed it because it was meant to be far better at debugging JS, than the new version of the JavaScript Console that was shipped with FireFox 1.5 and that it was. So I have been using it for a while now, but yesterday I stumbled across a feature that makes it utterly invaluable now. I do a lot of Ajax based development these days and sometimes trying to figure out what is going on under the hood is a little problematic. However if you open it up and look at the options, you'll see an option to show XmlHttpRequests disabled. Enable it and make a remoting call. Along with the usual JS/CSS debug you should now see something like this: If you click on the Response Tab you can see what has been returned to the browser. And if you click on the JS tab you can inspect the whole response object. Awesome! And since it's been so long between posts here a couple of other useful Ajax/prototype links: