| MPI_FILE_PREALLOCATE(fh, size) | |
| INOUT fh | file handle (handle) |
| IN size | size to preallocate file (integer) |
int MPI_File_preallocate(MPI_File fh, MPI_Offset size)
MPI_FILE_PREALLOCATE(FH, SIZE, IERROR)
INTEGER FH, IERROR
INTEGER(KIND=MPI_OFFSET_KIND) SIZE
void MPI::File::Preallocate(MPI::Offset size)
MPI_FILE_PREALLOCATE ensures that storage space is allocated for the first size bytes of the file associated with fh. MPI_FILE_PREALLOCATE is collective; all processes in the group must pass identical values for size. Regions of the file that have previously been written are unaffected. For newly allocated regions of the file, MPI_FILE_PREALLOCATE has the same effect as writing undefined data. If size is larger than the current file size, the file size increases to size. If size is less than or equal to the current file size, the file size is unchanged.
The treatment of file pointers, pending nonblocking accesses, and file consistency is the same as with MPI_FILE_SET_SIZE. If MPI_MODE_SEQUENTIAL mode was specified when the file was opened, it is erroneous to call this routine.
Advice to users.
In some implementations,
file preallocation may be expensive.
( End of advice to users.)


Load Training
New Agent - General
New Agent - Comcast
New Agent - Windstream
Handling Buttheads 101
Module
Learning
Quiz


Method Overloading is a feature which allow a class to have two or more methods having the same name but differs with each other by the type and numbers of argument.
Arguments list could differ in:
1).Number of parameters.
2).Data type of parameters.
3).Sequence of Data type of parameters.
Method OverLoading is also knows as Static Polymorphism.
Point To Note:
1). Static Polymorphism is also known as compile time binding or early binding.
2). Static binding happens at compile time. Method overloading is an example of static binding where binding of method call to its definition happens at Compile time.
Method Overloading Example
Example 1-OverLoading : Different Number of parameter in Argument List
In this example, method disp() is overloaded based on the data type of arguments – Like example 1 here also, we have two definition of method disp(), one with char argument and another with int argument.
Example 2-OverLoading : Difference in Data Typeof parameter Arguments
In the above example- The method in the class is beem overloaded by the means of the number of argument been passed to the methods. We have two defintion of the method with the same name disp() nut both of them differ according to the number of arguments been passed to it. One of the method accepts only int whereas the other accept both the char and the int.
Example 3-OverLoading : Sequence of Data Type of Arguments.
Here method disp() is overloaded based on sequence of data type of arguments – Both the methods have different sequence of data type in argument list. First method is having argument list as (char, int) and second is having (int, char). Since the sequence is different, the method can be overloaded without any issues.
Lets see some Valid/Invalid case of Method OverLoading
Case 1:
Result: Compile time error. This because the two method have same number and same sequence of data types in it's argument list.
Case 2:
Result: Perfectly fine. Valid case for overloading. Here data types of arguments are different.
Case 3:
Result: Perfectly fine. Valid case for overloading. Here number of arguments are different.
Case 4:
Result: Compile time error. Argument lists are exactly same. Even though return type of methods are different, it is not a valid case. Since return type of method doesn’t matter while overloading a method.
Question 1 – return type, method name and argument list same.
Answer
It will throw a compilation error: More than one method with same name and argument list cannot be defined in a same class.


Looking at how the group did overall I feel happy, it was a little difficult at first as we all have quite different timetables our first meeting I had to skip part of my lecture, yet through the power of skype and Facebook messenger we managed to keep up communication, set up future meetings and discuss who’s doing what and when the tests are done.
When our group decided the topic of a smart lamp usability test I was a little worried the topic wasn’t deep enough to research and analysis. Yet as the draft testing methods and questions started to develop, it became a topic that gained more interest to me and showed it had depth. Seeing how voice activated lights and remote-controlled lights have been around for a while, it only made sense to investigate a more widely available option for the masses. Where under $100 one could own a smart lamp and bulb with the use of a free app on their phone, control its brightness, colour and its power.
So, the next step was to look at how it compares to a more traditional lamp, was all the technical additives compared to a standard lamp make it more useful and less time consuming? The research and tests were built around this concept could the smart lamp currently replace a normal lamp, would people be happy to do so.
I did start to learn a more streamlined, plan forward approach to research, compared to my experience as a in- house IT Engineer, which I was tasked with a similar form of research and tests. Such as trailing out new systems for various parts of the business and warehouses and gathering data from employees about how and what systems could be improved. Producing several pages worth of data and comparisons which I would then propose to the head of IT and COF
Even though research wasn’t something I strongly liked or studied into it was part of my job which made it interesting yet having done this paper of HCI beforehand would have had a positive effect on my research documentation and planning. I feel HCI could also be applied to my past part time job of server-side programming, when it came to redesigning portions of their internal warehouse stock website. Asking a few main/ daily users or watching how they use the system to look for improvements
With such job experience the course of HCI showed there is a lot more to a system and user, then what I use to think. I would have looked for all and planned around Human computer interaction, having a better idea of which systems to pick over others and which methods would be more effective for the user to grasp and work infectively. This would even hold some grounding over my server-side programming job affecting the way my PHP, HTML, and CSS would have looked and interacted for both the system and the users benefits.


Diagram overview
A diagram is the visual representation of a group of related processes. It contains one or more pools.
Each pool contains a process. One diagram can therefore contain several processes.
A diagram has a name and a version number. You can change the diagram name and you can update the version number whenever you want to indicate a major change in the diagram. A pool also has a version number that can be updated manually.
There is no link between the diagram version and the pool version.
How to create a new diagram
To create a new diagram in Bonita Studio, choose New from the Diagram menu or the Cool bar, or click New Diagram on the Welcome page. Give your diagram a name, and optionally set the version number and add a description.
You can also turn on or off validation of your diagram. If validation is on, any errors in your diagram structure are flagged with a red x icon. This helps you correct errors as you build your diagram, instead of correcting them all at the end.
To open an existing diagram, choose Open from the Diagram menu or the Cool bar, click Open a Diagram on the Welcome page, or double-click the diagram name in the Recently Modified list on the Welcome page.
The Diagram menu contains options for saving a diagram. You can also duplicate a diagram, which is a useful way of making a backup copy of a diagram before you make major changes.


Previously Stored Sessions:
Delete Sessions
Add to tab list
Current Tabst to Save: (double click to delete)
Save Session
Start restore tab session


Toggle navigation
CS171 Team: Slack
Home
Visulizations
Armed Conflicts in Southeast Asia
Explore Levels of Conflict Throughout the Year
Showing
Fatalities
# of Conflicts
from
All Conflicts
Violence against Civilians
Riots and Protests
Battles
Remote Violence
Set Views:
India and Pakistan
Indochina
Elections in Nepal
ISIS Attacks
Other View


Makes: 100 servings
Prep Time: 3 hours 15 minutes
Cook Time: 1 hour 15 minutes
- 38 L pot
- large skillet
- large serving bowl
Parboiled Potatoes:
Prep Time: 1hour 15 minutes
- 23 litres boiling water
- ¼ cup sea salt (optional)
- 100 potatoes washed and cubed
In a very large pot (40 quart or larger), bring water to a boil (approx. 1 hour). If using salt, add it to water. Carefully add potatoes so there is no splashing and bring to a second boil. Boil untiol potatoes turn sot, or about fifteen to twenty-five minutes. Drain.
Curry
Prep Time: 2 hours
- 2 cups olive oil (opt.)
- 4 heads garlice diced
- 15 onions diced
- 6 cups nutritional yeast
- 6 cups curry powder
- 4 tbsp sea salt (opt.)
- 16 oz. peas
- 6 lbs. margarine (opt.)
Preheat oven to 150F. Sauté 4 cups of diced garlic for thirty seconds in a dry skillet or in oil over high heat. Add onions and sauté until clear, or about three to five minutes. Add yeast and curry. If using salt, add it too. Stir often. Add enough potatoes (already prepared) to fill the skillet. Mix well. (You can add a little water, if desired.) When the spices are thoroughly mixed with the potatoes, add two packages of frozen peas and 1 stick of margarine if you wish. If you wish, after the margarine has melted and mixed in, empty skillet into a large metal serving bowl. Plae in a 150F oven to keep warm, and repeat the process until all the spices, potatoes and peas are mixed together. Serve hot.


Episode I
- When he fixes the shield of the royal starship of the woman whose children will save the galaxy.
- When he disables Anakin’s autopilot.
Episode II
- When he saves Anakin and Padme from the killer assembly line lava bucket by shutting down the machines.
Episode III
- When he starts the elevator to help Obi-wan and Anakin (10:17)
- When he confuses Grevious’ troops in the control deck (19:33)
Episode IV
- When he gets the plans from Leia and records her message to Obi-Wan (5:00)
- When he passes notice on the escape pod because he and C-3PO are not “life forms” (7:11)
- When he stops the trash compactor
- When he puts out the fire on the Millennium Falcon (1:35:35)
- When he delivers the Death Star plans
- When he helps Luke destroy the Death Star by helping fly the X-wing.
Episode V
- When he helps Lando, Chewie, Leia open the door after the Empire changed the locks (1:48)
- When he activates the hyperdrive so Luke can escape to the Rebel rendezvous (1:59)
Episode VI
- When he sends Luke his lightsaber above the Sarlac pit (32:43)
- When he frees Leia from her chains.
- When he frees the whole crew from the Ewok net.
Episode VII
- When he wakes up, and projects a holomap of the location of Luke Skywalker.
A video of every time


The service desk with bots using Amazon Lex and Amazon Connect (Part 1)
What! Is this guy for real? Does he really think he can replace the front line of IT with pre-canned conversations?” I must admit, it’s a bold statement. The IT Service Desk has been around for years and has been the foot in the door for most of us in the IT industry. It’s the face of IT operations and plays an important role in ensuring an organisation’s staff can perform to the best of their abilities. But what if we could take some of the repetitive tasks the service desk performs and automate them? Not only would we be saving on head count costs, we would be able to ensure correct policies and procedures are followed to uphold security and compliance. The aim of this blog is to provide a working example of the automation of one service desk scenario to show how easy and accessible the technology is, and how it can be applied to various use cases.
To make it easier to follow along, I’ve broken this blog up into a number of parts. Part 1 will focus on the high-level architecture for the scenario and begin creating the Lex chatbot.
Scenario
Arguably, the most common service desk request is the password reset. While this is a pretty simple issue for the service desk to resolve, many service desk staff seem to skip over, or not realise the importance of user verification. Both the simple resolution and the strict verification requirement make this a prime scenario to automate.
Architecture
So what does the architecture look like? The diagram below dictates the expected process flow. Let’s step through each item in the diagram.
Amazon Connect
The process begins when the user calls the service desk and requests to have their password reset. In our architecture, the service desk uses Amazon Connect which is a cloud based customer contact centre service, allowing you to create contact flows, manage agents, and track performance metrics. We’re also able to plug in an Amazon Lex chatbot to handle user requests and offload the call to a human if the chatbot is unable to understand the user’s intent.
Amazon Lex
After the user has stated their request to change their password, we need to begin the user verification process. Their intent is recognised by our Amazon Lex chatbot, which initiates the dialog for the user verification process to ensure they are who they really say they are.
AWS Lambda
After the user has provided verification information, AWS Lambda, which is a compute on demand service, is used to validate the user’s input and verify it against internal records. To do this, Lambda interrogates Active Directory to validate the user.
Amazon SNS
Once the user has been validated, their password is reset to a random string in Active Directory and the password is messaged to the user’s phone using Amazon’s Simple Notification Service. This completes the interaction.
Building our Chatbot
Before we get into the details, it’s worth mentioning that the aim of this blog is to convey the technology capability. There’s many ways of enhancing the solution or improving validation of user input that I’ve skipped over, so while this isn’t a finished production ready product, it’s certainly a good foundation to begin building an automated call centre.
To begin, let’s start with building our Chatbot in Amazon Lex. In the Amazon Console, navigate to Amazon Lex. You’ll notice it’s only available in Ireland and US East. As Amazon Connect and my Active Directory environment is also in US East, that’s the region I’ve chosen.
 I’ve named mine “UserAdministration”. Choose an Output voice and set the session timeout to 5 minutes. An IAM Role will automatically be created on your behalf to allow your bot to use Amazon Polly for speech. For COPPA, select No, then select Create.
Once the bot has been created, we need to identify the user action expected to be performed, which is known as an intent. A bot can have multiple intents, but for our scenario, we’re only creating one, which is the password reset intent. Go ahead and select Create Intent, then in the Add Intent window, select Create new intent. My intent name is “ResetPW”. Select Add, which should add the intent to your bot. We now need to specify some expected sample utterances, which are phrases the user can use to trigger the Reset Password intent. There’s quite a few that could be listed here, but I’m going to limit mine to the following:
- I forgot my password
- I need to reset my password
- Can you please reset my password
The next section is the configuration for the Lambda validation function. Let’s skip past this for the time being and move onto the slots. Slots are used to collect information from the user. In our case, we need to collect verification information to ensure the user is who they say they are. The verification information collected is going to vary between environments. I’m looking to collect the following to verify against Active Directory:
- User ID – In my case, this is a 6-digit employee number that is also the sAMAccountName in Active Directory
- User’s birthday – This is a custom attribute in my Active Directory
- Month started – This is a custom attribute in my Active Directory
In addition to this, it’s also worth collecting and verifying the user’s mobile number. This can be done by passing the caller ID information from Amazon Connect, however we’ll skip this, as the bulk of our testing will be text chat and we need to ensure we have a consistent experience.
To define a slot, we need to specify three items:
- Name of the slot – Think of this as the variable name.
- Slot type – The data type expected. This is used to train the machine learning model to recognise the value for the slot.
- Prompt – How the user is prompted to provide the value sought.
Many slot types are provided by Amazon, two of which has been used in this scenario. For “MonthStarted”, I’ve decided to create my own custom slot type, as the in-built “AMAZON.Month” slot type wasn’t strictly enforcing recognisable months. To create your own slot type, press the plus symbol on the left-hand side of the page next to Slot Types, then provide a name and description for your slot type. Select to Restrict to Slot values and Synonyms, then enter each month and its abbreviation. Once completed, click Add slot to intent.
Once the custom slot type has been configured, it’s time to set up the slots for the intent. The screenshot below shows the slots that have been configured and the expected order to prompt the user.
Last step (for this blog post), is to have the bot verify the information collected is correct. Tick the Confirmation Prompt box and in the Confirm text box provided, enter the following:
Just to confirm, your user ID is {UserID}, your Date of Birth is {DOB} and the month you started is {MonthStarted}. Is this correct?
For the Cancel text box, enter the following: Sorry about that. Please call back and try again.
Be sure to leave the fulfillment to Return parameters to client and hit Save Intent.
Great! We’ve built the bare basics of our bot. It doesn’t really do much yet, but let’s take it for a spin anyway and get a feel for what to expect. In the top right-hand corner, there’s a build button. Go ahead and click the button.
This takes some time, as building a bot triggers machine learning and creates the models for your bot. Once completed, the bot should be available to text or voice chat on the right side of the page. As you move through the prompts, you can see at the bottom the slots getting populated with the expected format. i.e. 14th April 1983 is converted to 1983-04-14.
So at the moment, our bot doesn’t do much but collect the information we need. Admittedly, the conversation is a bit robotic as well. In the next few blogs, we’ll give the bot a bit more of a personality, we’ll do some input validation, and we’ll begin to integrate with Active Directory. Once we’ve got our bot working as expected, we’ll bolt on Amazon Connect to allow users to dial in and converse with our new bot.
Creating the Lambda initialisation and validation function
As data validation requires compute, we’ll need to start by creating an AWS Lambda function. Head over to the AWS console, then navigate to the AWS Lambda page. Once you’re there, select Create Function and choose to Author from Scratch then specify the following:
- Name: ResetPWCheck
- Runtime: Python 2.7 (it’s really a matter of preference)
- Role: I use an existing Out of the Box role, “Lambda_basic_execution”, as I only need access to CloudWatch logs for debugging.
Once you’ve populated all the fields, go ahead and select Create Function. The script we’ll be using is provided (further down) in this blog, however before we go through the script in detail, there are two items worth mentioning.
Input Events and Response Formats
It’s well worth familiarising yourself with the page on Lambda Function Input Event and Response Formats in the Lex Developer guide. Every time input is provided to Lex, it invokes the Lambda initalisation and validation function. For example, when I tell my chatbot “I need to reset my password”, the lambda function is invoked and the following event is passed:
{
"currentIntent": {
"slots": {
"DOB": None,
"MonthStarted": None,
"UserID": None
},
"confirmationStatus": "None",
"name": "ResetPW",
"slotDetails": {
"DOB": {
"originalValue": None,
"resolutions": []
},
"MonthStarted": {
"originalValue": None,
"resolutions": []
},
"UserID": {
"originalValue": None,
"resolutions": []
}
}
},
"userId": "sd0xe8xzbgf1kyvtbnzsuymxky2a5bnq",
"bot": {
"alias": "$LATEST",
"version": "$LATEST",
"name": "UserAdministration"
},
"inputTranscript": "I need to reset my password",
"requestAttributes": None,
"invocationSource": "DialogCodeHook",
"outputDialogMode": "Text",
"messageVersion": "1.0",
"sessionAttributes": {}
}
Amazon Lex expects a response from the Lambda function in JSON format that provides it with the next dialog action.
Persisting Variables with Session Attributes
There are many ways to determine within your Lambda function where you’re up to in your chat dialog, however my preferred method is to pass state information within the SessionAttributes object of the input event and response as a key/value pair. The SessionAttributes can persist between invocations of the Lambda function (every time input is provided to the chatbot), however you must remember to collect and pass the attributes between input and responses to ensure it persists.
Input Validation Code
With that out of the way, let’s begin looking at the code. The below script is what I’ve used which you can simply copy and paste, assuming you’re using the same slot and intent names in your Lex bot that were used.
def elicit_slot(messageType, messageContent, slots, slotToElicit, completed):
response = {
"sessionAttributes": {
"Completed": completed
},
"dialogAction": {
"type": "ElicitSlot",
"message": {
"contentType": messageType,
"content": messageContent
},
"intentName": "ResetPW",
"slots": slots,
"slotToElicit": slotToElicit
}
}
return response
def delegate_slot(slots, completed):
response = {
"sessionAttributes": {
"Completed": completed
},
"dialogAction": {
"type": "Delegate",
"slots": slots
}
}
return response
def chkUserId(slots, sessionAttributes):
if((slots['UserID'] is None) or ((slots["UserID"] is not None) and (len(slots["UserID"]) != 6))):
messageContent = "That format seems incorrect. Let's try again. What is your user id?"
return elicit_slot("PlainText", messageContent, slots, "UserID", "None")
else:
return delegate_slot(slots, "userid")
def chkDob(slots, sessionAttributes):
if(slots["DOB"] is None):
messageContent = "That format seems incorrect. Let's try again. What is your Date of Birth?"
return elicit_slot("PlainText", messageContent, slots, "DOB", "userid")
else:
return delegate_slot(slots, "dob")
def chkMonth(slots, sessionAttributes, confirmation, outputDialogMode):
if(slots["MonthStarted"] is None):
messageContent = "That month seems incorrect. Let's try again. What month did you start?"
return elicit_slot("PlainText", messageContent, slots, "MonthStarted", "dob")
else:
return confirmIntent(slots, sessionAttributes, confirmation, outputDialogMode)
def confirmIntent(slots, sessionAttributes, confirmation, outputDialogMode):
if(confirmation == "None"):
endData = {
"dialogAction": {
"type": "ConfirmIntent",
"message": {
},
"intentName": "ResetPW",
"slots": slots
}
}
if(outputDialogMode == "Voice"):
endData["dialogAction"]["message"]["contentType"] = "SSML"
endData["dialogAction"]["message"]["content"] = "<speak>Just to confirm, your user id is <say-as interpret-as=\"digits\">" + slots["UserID"] + \
"</say-as>, your date of birth is " + \
slots["DOB"] + " and the month of your start date is " + \
slots["MonthStarted"] + ". Is that correct?</speak>"
else:
endData["dialogAction"]["message"]["contentType"] = "PlainText"
endData["dialogAction"]["message"]["content"] = "Just to confirm, your user id is " + slots["UserID"] + \
", your date of birth is " + \
slots["DOB"] + " and the month of your start date is " + \
slots["MonthStarted"] + ". Is that correct?"
elif((confirmation == "Denied")):
endData = {
"dialogAction": {
"type": "Close",
"fulfillmentState": "Failed",
"message": {
"contentType": "PlainText",
"content": "Please call back and try again."
}
}
}
else:
endData = delegate_slot(slots, "confirmed")
return endData
def lambda_handler(event, context):
slots = event['currentIntent']['slots']
sessionAttributes = event['sessionAttributes']
confirmation = event['currentIntent']["confirmationStatus"]
outputDialogMode = event["outputDialogMode"]
if(sessionAttributes is None or "Completed" not in sessionAttributes):
messageContent = "Sure, i can help with that! But first, i need to verify your identity. What is your user id?"
return elicit_slot("PlainText", messageContent, slots, "UserID", "None")
if(sessionAttributes["Completed"] == "None"):
return chkUserId(slots, sessionAttributes)
if(sessionAttributes["Completed"] == "userid"):
return chkDob(slots, sessionAttributes)
if(sessionAttributes["Completed"] == "dob"):
return chkMonth(slots, sessionAttributes, confirmation, outputDialogMode)
Let’s break it down.
When the lambda function is first invoked, we check to see if any state is set in the sessionAttributes. If not, we can assume this is the first time the lambda function is invoked and as a result, provide a welcoming response while requesting the User’s ID. To ensure the user isn’t welcomed again, we set a session state so the Lambda function knows to move to User ID validation when next invoked. This is done by setting the “Completed” : “None” key/value pair in the response SessionAttributes.
if(sessionAttributes is None or "Completed" not in sessionAttributes):
messageContent = "Sure, i can help with that! But first, i need to verify your identity. What is your user id?"
return elicit_slot("PlainText", messageContent, slots, "UserID", "None")
Next, we check the User ID. You’ll notice the chkUserId function checks for two things; That the slot is populated, and if it is, the length of the field. Because the slot type is AMAZON.Number, any non-numeric characters that are entered will be rejected by the slot. If this occurs, the slot will be left empty, hence this is something we’re looking out for. We also want to ensure the User ID is 6 digits, otherwise it is considered invalid. If the input is correct, we set the session state key/value pair to indicate User ID validation is complete then allow the dialog to continue, otherwise we request the user to re-enter their User ID.
def chkUserId(slots, sessionAttributes):
if((slots['UserID'] is None) or ((slots["UserID"] is not None) and (len(slots["UserID"]) != 6))):
messageContent = "That format seems incorrect. Let's try again. What is your user id?"
return elicit_slot("PlainText", messageContent, slots, "UserID", "None")
else:
return delegate_slot(slots, "userid")
Next, we check the Date of Birth. Because the slot type is strict regarding input, we don’t do much validation here. An utterance for this slot type generally maps to a complete date: YYYY-MM-DD. For validation purpose, we’re just looking for an empty slot. Like the User ID check, we set the session state and allow the dialog to continue if all looks good.
def chkDob(slots, sessionAttributes):
if(slots["DOB"] is None):
messageContent = "That format seems incorrect. Let's try again. What is your Date of Birth?"
return elicit_slot("PlainText", messageContent, slots, "DOB", "userid")
else:
return delegate_slot(slots, "dob")
Finally, we check the last slot which is the Month Started. Assuming the input for the month started is correct, we then confirm the intent by reading all the slot values back to the user and asking if it’s correct. You’ll notice here that there’s a bit of logic to determine if the user is using voice or text to interact with Lex. If voice is used, we use Speech Synthesis Markup Language (SSML) to ensure the UserID value is read as digits, rather than as the full number. If the user is happy with the slot values, the validation completes and Lex then moves to the next Lambda function to fulfil the intent (next blog). If the user isn’t happy with the slot values, the lambda function exits telling the user to call back and try again.
def confirmIntent(slots, sessionAttributes, confirmation, outputDialogMode):
if(confirmation == "None"):
endData = {
"dialogAction": {
"type": "ConfirmIntent",
"message": {
},
"intentName": "ResetPW",
"slots": slots
}
}
if(outputDialogMode == "Voice"):
endData["dialogAction"]["message"]["contentType"] = "SSML"
endData["dialogAction"]["message"]["content"] = "<speak>Just to confirm, your user id is <say-as interpret-as=\"digits\">" + slots["UserID"] + \
"</say-as>, your date of birth is " + \
slots["DOB"] + " and the month of your start date is " + \
slots["MonthStarted"] + ". Is that correct?</speak>"
else:
endData["dialogAction"]["message"]["contentType"] = "PlainText"
endData["dialogAction"]["message"]["content"] = "Just to confirm, your user id is " + slots["UserID"] + \
", your date of birth is " + \
slots["DOB"] + " and the month of your start date is " + \
slots["MonthStarted"] + ". Is that correct?"
elif((confirmation == "Denied")):
endData = {
"dialogAction": {
"type": "Close",
"fulfillmentState": "Failed",
"message": {
"contentType": "PlainText",
"content": "Please call back and try again."
}
}
}
else:
endData = delegate_slot(slots, "confirmed")
return endData
Okay, now that our Lambda function is finished, we need to enable it as a code hook for initialisation and validation. Head over to your Lex bot, select the “ResetPW” intent, then tick the box under Lambda initialisation and validation and select your Lambda function. A prompt will be given to provide permissions to allow your Lex bot to invoke the lambda function. Select OK.
Let’s hit Build on the chatbot, and test it out.
So, we’ve managed to make the conversation a bit more human like and we can now detect invalid input. If you use the microphone to chat with your bot, you’ll notice the User ID value is read as digits. That’s it for this blog. Next blog, we’ll integrate Active Directory and actually get a password reset and sent via SNS to a mobile phone.


The Lao Pali (US) keyboard package includes the Lao Pali (US) keyboard and the font SengBuhan and follows the "Lao Original (Lao Pali)" key layout for easier typing for users familiar with the standard US English keyboard. The keyboard supports entry of all Lao Pali and Lao Sanskrit characters included in Unicode 13.


Home
(current)
GitHub
LinkedIn
Git Repo's
developer.info
examples.java
examples.js
Jenkinsfile
Apache HTTPD Container
Welcome!... How are you doing today?


Next: Examples of Sharpsign Asterisk, Previous: Sharpsign Left-Parenthesis, Up: Sharpsign
Syntax: #*<<bits>>
A simple bit vector is constructed containing the indicated bits (0’s and 1’s), where the leftmost bit has index zero and the subsequent bits have increasing indices.
Syntax: #<<n>>*<<bits>>
With an argument n, the vector to be created is of length n. If the number of bits is less than n but greater than zero, the last bit is used to fill all remaining bits of the bit vector.
The notations #* and #0* each denote an empty bit vector.
Regardless of whether the optional numeric argument n is provided, the token that follows the asterisk is delimited by a normal token delimiter. However, (unless the value of *read-suppress* is true) an error of type reader-error is signaled if that token is not composed entirely of 0’s and 1’s, or if n was supplied and the token is composed of more than n bits, or if n is greater than one, but no bits were specified. Neither a single escape nor a multiple escape is permitted in this token.
For information on how the Lisp printer prints bit vectors, see Printing Bit Vectors.


{% extends "base.html" %} {% block title %}Question 1 | MedEM{% endblock %} {% block content %}
Are you experiencing any of the following symptoms?


Exercise 7.
Use the data provided in Exercise 5.10.4 to create a graph for each of the following questions. Explain why you chose to create the graph that you did and how it helped you answer the question.
Are the continental regions which have contributed the most to cumulative global emissions the same ones that are currently contributing most to global emissions?
Do countries that have high CO2 emissions per capita also have high CO2 emissions from land use per capita?
Do countries with higher incomes have higher per capita CO2 emissions?
Which countries have the highest per capita emissions?


%{ './base.html' }%> <%{ content %>
Fill in the form to setup this app.
Client Id
Client Secret
Developer Token
Client Customer Id


|
Spring Security Framework | |||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
| Interface Summary | |
|---|---|
| PortMapper | PortMapper implementations provide callers with information
about which HTTP ports are associated with which HTTPS ports on the system,
and vice versa. |
| PortResolver | A PortResolver determines the port a web request was received
on. |
| ThrowableCauseExtractor | Interface for handlers extracting the cause out of a specific Throwable type. |
| UrlMatcher | Strategy for deciding whether configured path matches a submitted candidate URL. |
| Class Summary | |
|---|---|
| AntUrlPathMatcher | Ant path strategy for URL matching. |
| AuthorityUtils | |
| EncryptionUtils | A static utility class that can encrypt and decrypt text. |
| FieldUtils | Offers static methods for directly manipulating static fields. |
| FilterChainProxy | Delegates Filter requests to a list of Spring-managed beans. |
| FilterInvocationUtils | Static utility methods for creating FilterInvocation s usable within Spring Security. |
| FilterToBeanProxy | Deprecated. use DelegatingFilterProxy instead |
| InMemoryResource | An in memory implementation of Spring's Resource interface. |
| InMemoryXmlApplicationContext | |
| MethodInvocationUtils | Static utility methods for creating MethodInvocation s usable within Spring Security. |
| PortMapperImpl | Concrete implementation of PortMapper that obtains HTTP:HTTPS pairs from the application context. |
| PortResolverImpl | Concrete implementation of PortResolver that obtains the port from ServletRequest.getServerPort(). |
| RedirectUrlBuilder | Internal class for building redirect URLs. |
| RedirectUtils | |
| RegexUrlPathMatcher | |
| SessionUtils | |
| Sha512DigestUtils | Provides SHA512 digest methods. |
| SimpleMethodInvocation | Represents the AOP Alliance MethodInvocation . |
| StringSplitUtils | Provides several String manipulation methods. |
| TextUtils | Utilities for working with Strings and text. |
| ThrowableAnalyzer | Handler for analyzing Throwable instances. |
| UrlUtils | Provides static methods for composing URLs. |
| Exception Summary | |
|---|---|
| EncryptionUtils.EncryptionException |
General utility classes used throughout the Spring Security framework.
|
Spring Security Framework | |||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |


Piecewise function for the distribution of material spring back component in one feed rate: ( a) illustration for the material spring back in diamond turning process; ( b) three-section piecewise function form proposed by Zhu et al. Reproduced with permission from [ 55].


Feed
{% if isLoggedIn %}
Logout
{% else %}
Login/Signup
{% endif %}
Coming Soon!
×
ADD
×
Click where you want to place your marker.
×
Add Marker
Modal #1
Username
Password
Proceed
Modal #2
Message for user to indicate login success/fail.
All Done


About us!
Get some....swag!
Pat's Salmon Cookies!
(A Better Way to Salmon)
Locations
First and Pike
SeaTac Airport
Seattle Center
Capitol Hill
Alki
Hours
Open from 6am to 9pm every day!


Laura is an environmental policy consultant with five years experience coordinating programs and research related to water and environmental stewardship.
Scottish but born and raised in Hong Kong, Laura has lived and worked across Jordan, Egypt, China, United Kingdom, Uganda and Bangladesh. Recently relocated to Silicon Valley to work on an environmental technology startup. Interested in innovation in water conservation, renewable energy and carbon reduction and sequestration.
Water risks to business are intensifying as is the imperative to demonstrate sound stewardship of environmental resources – to shareholders, communities, customers and consumers.
Corporate water stewardship allows companies to identify and manage these business risks, improve efficiency and mitigate adverse impacts on ecosystems as well as contribute to more sustainable environmental management.Consulting services are available for private and public sector clients. Please contact directly for more information.
Laura's work has focused on the integrated and participatory processes and systems thinking fundamental to the sustainable development of water resources and services. Experienced in sustainability, corporate social responsibility, environmental policy and water resource management.
Laura holds degrees with top honours in Water Sciences and Governance, Watsan engineering, International Development and Political Science. Before consulting, Laura worked across diverse geographies on a Zero Carbon building in Hong Kong with Arup, a transboundary water resource management program with the Nile Project, a water and sanitation project in the Syrian refugee camps and host communities with Jordan's Ministry of Water, a renewable energy project in Bangladesh with the Grameen Foundation, a sustainable agriculture project with Stanford Woods Institute for the Environment as well as researching and designing a $3M urban water governance program for Oxfam. Find a full list of projects, publications and interests here.


Tech Breakfast
|
|
|
SSW Tech Breakfast
The best tools to Audit Your SQL Server Database The SQL 2000 Best Practices
Analyser
|
|
| Microsoft recently released a tool called Best Practices Analyser. All SQL
Server developers and administrators should run this tool. Come learn about
many issues you can't afford to ignore from Database Design and Yukon Readiness
to T-SQL issues and poor Configuration choices. This is a great session for
everyone from the new SQL Server developer to the old DBA! You'll all be
impressed when you see how to run the tool and how to fix the identified
issues.
|
|
Friday 25th June.
8:00am - 11:00am at SSW
Register
online now
More
Info
|
|
SSW Tech Breakfast
Best Practices and Techniques for building secure ASP .NET Applications
|
|
| Learn how to build secure Web applications and services using ASP.NET. This
session covers best practices for authentication, authorisation, safe
techniques for secret storage, error handling, site configuration, and data
validation. We walk through a hardened ASP.NET sample application that
demonstrates these principles.
|
|
Friday 30th July.
8:00am - 11:00am at SSW
Register
online now
|
|
Resources
|
Lumigent Log Explorer
www.ssw.com.au/ssw/LogExplorer
|
Access Unlimited
by Garry Robinson
http://www.vb123.com
|
|
|
The Cutting Edge
|
|
| G'day Developers! |
|
Users should be able to use your data entry form with ease. It must follow the
technique that they are familiar with. This standard explains a few important
points that, when followed, would create a pleasant user experience. This is a
standard we adhere to when developing at SSW.
More
This
month the user group is in Jatin's
trusty hands. I am off to San Diego
to
speak to the rowdy Americans at
Microsoft Tech ED 2004. I will be
presenting on one of my favourite
topics, Data in Microsoft Exchange
Using SQL Server 2000 Reporting
Services. I will also be finding
time to drop in for at presentation
at the San Diego .NET Users Group.
More
|
|
Cheers until next time,
Adam
SSW Chief Architect and Microsoft Regional Director, Australia
Got a comment for Adam? 696e666f72407373772e636f6d2e6175
|
|
Sydney .NET User Group - The best place to learn .NET for
free in Sydney
|
|
|
Sydney
.NET User Group 19th May, 2004
|
|
This month, we've got a great line up:
-
Joe Hardy will give you a demo of a real .NET compact framework + SQL CE for
Windows Mobile 2003 app. It is a cool data-driven app for portable barcode
scanners
-
Jatin will be showing you how to customise your user control properties
-
Mehmet will show a quick demo on how to write a secure dynamic SQL query
-
Edward will show how to customise your data-bound .NET form controls.
|
|
Wednesday 19th May. 6:00 pm at Microsoft, 1 Epping Road North Ryde
See You
There!! |
Sorry I can't make it
|
|
New
Version - SSW
SQL Auditor!
|
|
|
Maintaining consistent quality code across a large team can be a challenge.
Even when standards are in place, Developers can make mistakes that will slip
through Quality Assurance. SQL Auditor is a part of the range of database tools
designed by SSW to help to check best practice standards and optimise SQL
Server performance.
More
|
|
SSW Software Audit
|
|
|
|
Companies from across the globe have been taking advantage of SSW's software
Audit Services. The common message that is received from clients is that
getting their software built in-house can sometimes lead to a failure to
identify design flaws and architectural insufficiencies. They need an unbiased
second opinion from a knowledgeable source that can make recommendations to
improve the quality of their software.
More on SSW software audits
|
|


A private API wrapper for MENDO.mk (the Macedonian website for solving tasks in preparation for competitions).
npm install mendo-private-api
👤 Vlatko Stojkoski
Give a ⭐ if this project helped you!
This README was generated with ❤ by readme-md-generator
Generated using TypeDoc


{% extends 'base.html' %} {% block title %}HOME{% endblock title %} {% block body %}
"Get Quality Work Through Sheer Dedication"
Download samples of our work here. you can also request for more samples by filling up the form in our contact us page.
just select correct options & calculate best price.


Removes nuclear spins from a spin system.
NewSys = nucspinrmv(Sys,rmvidx)
This function removes one or more nuclear spins from the spin
system Sys
and returns the resulting spin system
in NewSys
.
rmvidx
specifies the indices of the nuclei to be removed.
E.g., rmvidx=1
indicates the first nucleus, rmvidx=[2 4]
indicates the second and the fourth nuclei.
First we define a spin system with 2 nuclei
Sys = struct('S',1/2,'g',[2 2 2.2]); Sys = nucspinadd(Sys,'63Cu',[50 50 520]); Sys = nucspinadd(Sys,'14N',[3 3 9],[],[-1 -1 2])
The following removes the nitrogen nucleus
Sys = nucspinrmv(Sys,2)
spin system structures, nucspinadd, nucspinkeep


Your account will be deleted and you will be removed from all projects that you are currently working on.


The debug/assert.h
header defines assertion macros.
#include <chaos/preprocessor/debug/assert.h>
The CHAOS_PP_ASSERT
macro intentionally causes an error if its argument is zero.
CHAOS_PP_ASSERT
(cond)
The condition used to trigger the assertion.
Valid values range from 0
to CHAOS_PP_LIMIT_MAG
.
If cond evaluates to non-zero, this macro expands to nothing. Otherwise, it intentionally causes an error.
#include<chaos/preprocessor/config.h>
#include<chaos/preprocessor/debug/assert.h>
CHAOS_PP_ASSERT
(CHAOS_PP_VARIADICS
)
The CHAOS_PP_ASSERT_ID
macro indirectly expands to CHAOS_PP_ASSERT
.
CHAOS_PP_ASSERT_ID
()
This macro exists only for uniformity with other macros that require indirect invocation.
The CHAOS_PP_ASSERT_
macro expands to a λ expression representing CHAOS_PP_ASSERT
.
CHAOS_PP_ASSERT_
This macro is a shorthand form of the following λ binding:
The CHAOS_PP_ASSERT_MSG
macro expands to a user-specified message if its first argument is 0
.
CHAOS_PP_ASSERT_MSG
(cond, ...)
The condition used to trigger the assertion.
Valid values range from 0
to CHAOS_PP_LIMIT_MAG
.
The resulting message if cond is 0
.
CHAOS_PP_ASSERT_MSG
(cond, msg)
The condition used to trigger the assertion.
Valid values range from 0
to CHAOS_PP_LIMIT_MAG
.
The resulting message if cond is 0
.
If cond evaluates to non-zero, this macro expands to nothing.
Otherwise, it expands to msg or __VA_ARGS__
.
#include<chaos/preprocessor/config.h>
#include<chaos/preprocessor/debug/assert.h>
CHAOS_PP_ASSERT_MSG
(CHAOS_PP_VARIADICS
, "Variadic macros are required";)
The CHAOS_PP_ASSERT_MSG_ID
macro indirectly expands to CHAOS_PP_ASSERT_MSG
.
CHAOS_PP_ASSERT_MSG_ID
()
This macro exists only for uniformity with other macros that require indirect invocation.
The CHAOS_PP_ASSERT_MSG_
macro expands to a λ expression representing CHAOS_PP_ASSERT_MSG
.
CHAOS_PP_ASSERT_MSG_
This macro is a shorthand form of the following λ binding:


Preparation time
overnight
Cooking time
1 to 2 hours
Serves
Serves 6
This easy, lip-smacking dish needs to be prepared well ahead, but requires very little attention - just sit back and let the oven work it's magic.
For the pork, pour 100ml/3½fl oz cold water into a large saucepan. Add the sea salt flakes and sugar and heat over a low heat until dissolved, stirring well. Remove the pan from the heat and add 400ml/14fl oz cold water, the peppercorns, garlic, bay leaves, unsoaked yellow mustard seeds, thyme, parsley and beer.
If the pork loin rack fits into the pan, add it to the pan. Otherwise, place the pork loin rack in a large bowl and pour over the liquid. Cover and chill in the fridge for 24 hours to marinate, turning the pork occasionally.
When the pork has marinated, preheat the oven to 200C/180C Fan/Gas 6.
Remove the pork from the marinade and pat dry with kitchen paper.
Heat 50g/1¾oz of the butter in a large frying pan over a medium heat. When the butter is foaming, add the pork loin rack and fry for a few seconds on all sides, or until lightly browned all over. Transfer the pork loin rack to a roasting tray and roast in the oven for 15 minutes.
Meanwhile, blend the brioche, English mustard powder and soaked yellow and brown mustard seeds to a paste in a food processor with the remaining butter. Season, to taste, with salt and freshly ground black pepper, then set aside.
For the gratin, arrange half of the Swiss chard in a layer at the bottom of an ovenproof dish and top with half the potatoes. Sprinkle over the onion, then top with layers of the remaining Swiss chard and potatoes.
Melt the butter in a saucepan over a medium heat. Add the flour and whisk well to combine with the melted butter. Continue to cook for 1-2 minutes, whisking regularly, then gradually pour in the milk, whisking continuously, until all of the milk has been incorporated and the mixture has thickened to a smooth sauce.
Whisk in the stock and half of the Gruyère and stir until melted. Season, to taste, with salt and freshly ground black pepper.
Pour the sauce all over the chard and potatoes. Sprinkle over the remaining Gruyère.
After the pork has been cooking for 15 minutes, remove it from the oven and decrease the temperature to 180C/160C Fan/Gas 4.
Spread the brioche and mustard paste all over the top of the pork loin rack in a thick layer, then return the pork to the oven, along with the Swiss-chard gratin. Cook both for a further 45 minutes, or until the pork is cooked to your liking and the crumb has crisped up and turned golden-brown, and the Swiss-chard gratin is bubbling and golden-brown.
When the pork is cooked to your liking, set it aside to rest for 15 minutes (keep warm). Continue cooking the Swiss-chard gratin for a further 15 minutes, if necessary; otherwise, keep warm.
To serve, carve the pork loin rack into six chops. Place one onto each serving plate and spoon the Swiss-chard gratin alongside.


This is a subclass of Random that generates numbers uniformly distributed within a specified range.
More...
|
| | Uniform () |
| | Create a new random number generator that produces values uniformly distributed between 0 (inclusive) and 1 (exclusive). More...
|
| |
| | Uniform (Real min, Real max) |
| | Create a new random number generator that produces values uniformly distributed between min (inclusive) and max (exclusive). More...
|
| |
| int | getIntValue () |
| | Get a random integer, uniformly distributed between 0 (inclusive) and max (exclusive). More...
|
| |
| Real | getMin () const |
| | Get the lower end of the range in which values are uniformly distributed. More...
|
| |
| void | setMin (Real min) |
| | Set the lower end of the range in which values are uniformly distributed. More...
|
| |
| Real | getMax () const |
| | Get the upper end of the range in which values are uniformly distributed. More...
|
| |
| void | setMax (Real max) |
| | Set the upper end of the range in which values are uniformly distributed. More...
|
| |
| Public Member Functions inherited from SimTK::Random |
| | ~Random () |
| |
| void | setSeed (int seed) |
| | Reinitialize this random number generator with a new seed value. More...
|
| |
| Real | getValue () const |
| | Get the next value in the pseudo-random sequence. More...
|
| |
| void | fillArray (Real array[], int length) const |
| | Fill an array with values from the pseudo-random sequence. More...
|
| |
|
| UniformImpl & | getImpl () |
| |
| const UniformImpl & | getConstImpl () const |
| |
| Protected Member Functions inherited from SimTK::Random |
| | Random () |
| | This constructor should never be invoked directly. More...
|
| |
| RandomImpl & | getImpl () |
| | Get the internal object which implements the random number generator. More...
|
| |
| const RandomImpl & | getConstImpl () const |
| | Get a constant reference to the internal object which implements the random number generator. More...
|
| |
This is a subclass of Random that generates numbers uniformly distributed within a specified range.
Create a new random number generator that produces values uniformly distributed between 0 (inclusive) and 1 (exclusive).
Create a new random number generator that produces values uniformly distributed between min (inclusive) and max (exclusive).
| int SimTK::Random::Uniform::getIntValue |
( |
| ) |
|
Get a random integer, uniformly distributed between 0 (inclusive) and max (exclusive).
| Real SimTK::Random::Uniform::getMin |
( |
| ) |
const |
Get the lower end of the range in which values are uniformly distributed.
| void SimTK::Random::Uniform::setMin |
( |
Real |
min | ) |
|
Set the lower end of the range in which values are uniformly distributed.
| Real SimTK::Random::Uniform::getMax |
( |
| ) |
const |
Get the upper end of the range in which values are uniformly distributed.
| void SimTK::Random::Uniform::setMax |
( |
Real |
max | ) |
|
Set the upper end of the range in which values are uniformly distributed.
| UniformImpl& SimTK::Random::Uniform::getImpl |
( |
| ) |
|
|
protected |
| const UniformImpl& SimTK::Random::Uniform::getConstImpl |
( |
| ) |
const |
|
protected |
The documentation for this class was generated from the following file:


Q-Tip, Little Simz & Idris Elba guest on new James BKS song
by Andrew SacherFrench producer James BKS has put together a very impressive crew for this lively, groovy new song, and he says, “Little Simz, Idris Elba, Q-Tip, and me strongly and proudly represent the New Breed movement, a different way to approach music with no borders, no judgment, no labels. We have learned from our past mistakes and victories and our eyes are on Africa, while in the meantime we embrace our own personal paths, respectively in the UK for Little Simz and Idris Elba, in the U.S. for Q-Tip and in France for me.”


Hi, My name is Matt Welbourn. I'm a full stack developer living in Denver, Colorado. I have experience developing SPAs utilizing React. I'm currently delving into Typescript and loving it! I have a few personal projects coming that will showcase that as well as GraphQL, Apollo, and TypeORM. I'm always looking to learn new things and expand my skillset and knowledge.
HTML | CSS | Javascript | Typescript | Node | React | React Redux | Gatsby | Express | Flask | Python | PostgreSQL | MongoDB | Git | GitHub | NPM | REST API | GraphQL | Apollo | Docker
I'm an avid gamer. I fell in love with gaming when I was three years old when my older brother was gifted a Super Nintendo for his 7th birthday. My passion for problem solving stems from this mindset as that's a crucial part of gaming. I also am a competitive bodybuilder and athlete. In recent years, this passion has landed me on NBC's Titan Games alongside Dwayne Johnson. I was one of the few chosen to compete in their first season. Athletics has taught me a lot about discipline and it's importance to reaching your goals. Aside from that, I typically enjoy any form of game and am fun loving and easy to get along with!


Hi all.
I'm trying to compile and load my own RFM2Pi_v2 firmware.
I'm following the wiki and I can successfully load RF12_Demo_atmega328.cpp.hex.
However, when I try to recompile it (I did add the lines in boards.txt and select the right target), I don't get a bit-exact copy of it.
The .hex I generate can be loaded, but I don't receive any value.
I can identify a difference in the logs.
Working version, RF12_Demo_atmega328.cpp.hex:
2014-03-01 12:06:23,841 INFO Setting RFM2Pi | frequency: 4 2014-03-01 12:06:24,845 INFO Setting RFM2Pi | sgroup: 210 2014-03-01 12:06:25,848 INFO Setting RFM2Pi | baseid: 15 2014-03-01 12:06:26,878 INFO Serial RX: > 4b 2014-03-01 12:06:27,082 INFO Serial RX: ^A 2014-03-01 12:06:27,085 WARNING Misformed RX frame: ['\x01'] 2014-03-01 12:06:27,290 INFO Serial RX: > 210g 2014-03-01 12:06:27,494 INFO Serial RX: ^A 2014-03-01 12:06:27,496 WARNING Misformed RX frame: ['\x01'] 2014-03-01 12:06:27,701 INFO Serial RX: > 15i 2014-03-01 12:06:27,923 INFO Serial RX: ^A 2014-03-01 12:06:27,925 WARNING Misformed RX frame: ['\x01']
The version I compiled:
2014-03-01 11:54:03,909 INFO Setting RFM2Pi | frequency: 4 2014-03-01 11:54:04,912 INFO Setting RFM2Pi | sgroup: 210 2014-03-01 11:54:05,916 INFO Setting RFM2Pi | baseid: 15 2014-03-01 11:54:06,960 INFO Serial RX: > 4b 2014-03-01 11:54:07,169 INFO Serial RX: A i1 g210 @ 433 MHz o0 2014-03-01 11:54:07,179 WARNING Misformed RX frame: ['A', 'i1', 'g210', '@', '433', 'MHz', 'o0'] 2014-03-01 11:54:07,387 INFO Serial RX: > 210g 2014-03-01 11:54:07,596 INFO Serial RX: A i1 g210 @ 433 MHz o0 2014-03-01 11:54:07,600 WARNING Misformed RX frame: ['A', 'i1', 'g210', '@', '433', 'MHz', 'o0'] 2014-03-01 11:54:07,806 INFO Serial RX: > 15i 2014-03-01 11:54:08,033 INFO Serial RX: O i15 g210 @ 433 MHz o0 2014-03-01 11:54:08,036 WARNING Misformed RX frame: ['O', 'i15', 'g210', '@', '433', 'MHz', 'o0']
(Yes, I should add cases in the gateway code to handle these frames correctly instead of generating those warnings...)
At least this shows my .hex is correctly generated. I mean it can run. Looks more like a code issue. Except, of course, I didn't modify the code in this first test. I'm trying to have it working before doing my modifications.
In fact, I'm wondering about those A i1 g210 @ 433 MHz o0 lines.
- They don't appear in the working version.
- I find lines in the code that would generate that, but then, does this mean the compiled version on GitHub does not correspond to the code ?
- I don't understand how the code generates this exact string: I don't see the "Lock" string printed.
OK, now I understand the A and O: In ASCII, @+1 = A, @+15 = O.
Serial.print('@' + id,DEC);
But I still don't get the "Lock" issue.
Could there be something wrong happening while "Lock : 0" gets printed ?
Any hint appreciated.
Thanks.
Re: [Solved] Compiling own RFM2Pi_v2 firmware
Bump. Did anyone succeed in recompiling this firmware ?
Re: [Solved] Compiling own RFM2Pi_v2 firmware
I just tried recompiling the RF12_Demo_atmega328.ino and got a hex file very different to the one provided but I've not tried testing it to see if it works. I just used an online Diff Checker http://www.diffchecker.com/ and pasted the file contents in.
Having said that my own modified and compiled version seems to work fine when tested (as you are already aware).
Re: [Solved] Compiling own RFM2Pi_v2 firmware
I just did another Diff Check between my modified version of the firmware as generated by me and the one now online generated by Glynn Hudson and again I'm seeing loads of differences so I'm guessing he's using a different compiler and/or libraries and thus generating a different source. It may be both versions of the hex work equally well, I've yet to test that.
Maybe the file differences are a Red Herring and some other issue is causing the data to differ as after all the code is running apparently ok.
Re: [Solved] Compiling own RFM2Pi_v2 firmware
Related thread: https://github.com/mharizanov/RFM2Pi/pull/9
I tried to compile again today. I realize I forgot to mention something that might be relevant.
When I compile, I get the following error:
RF12_Demo_atmega328.ino:72:18: error: variable ‘helpText1’ must be const in order to be put into read-only section by means of ‘__attribute__((progmem))’
This is an easy fix.
- char helpText1[] PROGMEM =
+ const char helpText1[] PROGMEM =
But if you don't have this error, I guess you must be using another compiler, or other compiling options...
My arduino version is 2:1.0.5+dfsg2-3. Which version are you using ?
By the way, I use master latest version of the Jeelink lib.
Thank you for your support.
Re: [Solved] Compiling own RFM2Pi_v2 firmware
I had to use the 'old' per rfm69 jeelib, it's a tagged download. Info here http://openenergymonitor.org/emon/node/3850.
also compiled using modified opti boot bootloader for 8mhz oscillator http://wiki.openenergymonitor.org/index.php?title=RFM12Pi_V2#Modified_OptiBoot_Bootloader
Re: [Solved] Compiling own RFM2Pi_v2 firmware
I forgot to come back here and mark as solved.
Using v11 of jeelib solved my issues.
I'm not sure I understand every bit of it, but at least I'm not stuck anymore. Thanks for the support.
(I didn't say it specifically but since I followed the wiki, I did use the modified bootloader.)
Re: [Solved] Compiling own RFM2Pi_v2 firmware
I took a bit of time to try the lowest possible bitrate, and I now I'm receiving the data !
Trystan and I have been running a few tests with his emonTXv3 and a RF USB stick. The low range could be due partly to bad soldering of the antenna on the TX, but mostly to the step-up. He said that Glyn may have had the same kind of issues when designing the emonTH.
I'd like to take some time to modify the RFM2Pi firmware to allow for dynamic bitrate change. Then try intermediate bitrates.


Welcome to the NDBoard. This was creted by students, for students, to benifit students. Here you can share files, chat with others. More will be comming. If you have any issues there is a link at the bottom of the page to take you to where you can submit any issues with the page.


---
layout: post
title: SQL for the Childrens
date: '2007-04-15T11:34:00.000-05:00'
author: Don Seiler
tags:
- children
- sql
modified_time: '2010-11-19T22:48:46.798-06:00'
blogger_id: tag:blogger.com,1999:blog-7032512792942232766.post-5020660360127728681
blogger_orig_url: http://www.seiler.us/2007/04/sql-for-childrens.html
---
Gary "Igore" Myers, upon hearing the glad tidings of Pete Finnigan's parental status, has produced a handy (if not a bit cheeky) SQL primer for the kids. Maybe I can teach my 21-year-old brother-in-law some SQL now as well.


Tahiti Moorea Blue Marathon
Papetoai PYF
Website: www.mooreaevents.org/3_GB.asp
Race Winners
(34 runnings)
2:59:32 3:01:18 3:01:15 2:55:10 09 Feb
2008 2:20:58 3:02:26 10 Feb 2007
2:47:25
2:54:06
11 Feb 2006
2:37:44
2:49:12
12 Feb 2005
2:43:26
2:52:29
14 Feb 2004
2:41:58
2:55:30
15 Feb 2003
2:33:51
2:58:25
2002
2:37:50
3:03:59
10 Feb 2001
2:32:53
3:04:57
19 Feb 2000
2:35:38
3:12:29
20 Feb 1999
2:28:10
2:50:23
21 Feb 1998
2:38:10
2:57:30
22 Feb 1997
2:21:31
2:52:32
1996
2:28:46
3:04:27
25 Feb 1995
2:25:38
2:57:36
19 Feb 1994
2:34:35
2:58:59 27 Feb 1993
2:31:08
3:31:23 22 Feb 1992
2:35:22
3:22:13 1991
---
---
01 Sep 1990
2:30:45
---
27
Aug 1989
2:45:18 3:22:20 18 Sep
1988 2:24:56
3:50:17 1986-1987
---
---
10 Jul
1983 11
Jul 1982 ---
08 Nov
1981 ---
Notes: 1981 was the inaugural year. The 1981-1985 races were held from
Papara to Pirae on the island of Tahiti and were known as the Tahiti
International Marathon. This race has been known as Moorea International (1988-1997), the Moorea Blue
(1997-99), and the Tahiti Nui (2001-2006). The course starts and finishes in
Papetoai with a turn-around just past Vaapiti, on the island of Moorea.
The 2014 course was about 40 km.
25 Mar
2017
2:45:16
Tutea Degage-2
4:00:20
Valerie Connan (FRA)
04 Jun
2016
2:45:32
Tutea Degage (PYF)
3:56:40
Cecile Blanchard (PYF)
09 May
2015
2:53:23
Jean-Marc Carcy (PYF)
3:56:09
Corinne
Carneiro-André (FRA)
22 Feb
2014
2:26:02
Georges Richmond-7
2:58:21
Sophie Gardon-12
16 Feb
2013
2:33:49
Georges Richmond-6
3:10:00
Sophie Gardon-11
18 Feb
2012
2:37:52
Georges Richmond-5
Sophie Gardon-10
19 Feb
2011
2:39:49
Frédéric
Burquier-3
Sophie Gardon-9
13 Feb
2010
2:45:05
Frédéric
Burquier-2
Sophie Gardon-8
07 Feb
2009
2:26:02
Patrick Tambwe-2
Sophie Gardon-7
Patrick Tambwe (FRA)
Magali Reymonencq (FRA)
Philippe Remond-2
Sophie Gardon-6
Philippe Remond (FRA)
Sophie Gardon-5
Frédéric Crocquevielle (PYF)
Sophie Gardon-4
Frédéric
Burquier (PYF)
Sophie Gardon-3
Sergey Nochevnyi (RUS)
Sophie Gardon-2
Georges Richmond-4
Sophie Gardon (PYF)
Fumio Yamane (JPN)
Atsuko Sugawara (JPN)
Georges Richmond-3
Mammouni Mina (PYF)
Eddy Hellebuyck (BEL)
Gitte Karlshoj (DEN)
Georges Richmond-2
Linda Milo-2
Patrick Muturi (KEN)
Linda Milo (BEL)
Kipsubei Kosgei (KEN)
Tracey Clissold (NZL)
Nikolay Chekalov (RUS)
Fabiola Oppliger (SUI)
Georges Richmond (TAH)
Berence Bouchard (FRA)
Hammoud Saiko (DJI)
Raymonde Cornou (FRA)
Patrice Simon (FRA)
nfn
Vincent (FRA)
not held
not held
Doug Kurtis (USA)
n/a
Ken Abe (JPN)
Raymonde Cornou
(FRA)
Pascal Zilliox (FRA)
Anja
Helin (FIN)
not held
not held
07 Jul
1985
2:27:49
Jean-Michel Boulanger (NCL)
4:08:29
nfn Humeau (PYF)
08 Jul
1984
2:39:00
Carlos Tavares daSilva (POR)
2:31:44
John Freeberg (WA/USA)
2:46:31
Gail Kingma (WA/USA)
2:19:16
Jean-Pierre Crochon (FRA)
n/a
2:32:03
Alain Lazare
(NCL)
n/a
Most Wins (1988/date)
Men
7
Georges Richmond (TAH)
1994,1998,2000,2002,2012-14
Women
12
Sophie Gardon (TAH)
2002-07,2009-14
Prize Money
(ADR qualified runners)
Year Men Women Total 1999 $595 n/a $595 1998 n/a $1,700 1,700 1997 15,030 12,020 27,050 Sums $15,625 $13,720 $29,345
Race Time Bias
Insufficient data to calculate the race time bias
Competitive Level
Insufficient data to calculate the competitive level
Quality Performances
Men
No men under 2:20
Women <2:50 1
Last Updated on 26 Mar 2017
Contributors: Michel Festou, Juraj Gasparovic (22), Klaas Loonstra (20), Jack Leydig (1), Franco Civai (6), Thierry Lefeuvre (48), Paul Michiels (1), Yves Seigneuric (1)


{{applicationName}}
About
Help
Login
Logout
View Profile
{{counters.future}}
Future Quickies
{{counters.past}}
Past Quickies
{{counters.my}}
My Quickies
+
New Quickie


--- layout: post title: "Touring New Zealand" subtitle: "South Island" date: 2020-01-10 background: '/img/posts/Banner_NZ.jpg' ---
After attending the World Congress of Herpetology in Dunedin, New Zealand, my wife (Paulina) and I seized the opportunity to experience the South Island– from the Wild West to the Rural East. We had countless breathtaking experiences during our drives and hikes!
The Otago Peninsula was our first stop, which made for a great start. Dunedin is the "Wildlife Capital of New Zealand," and the peninsula is biodiversity central. The drive on Highcliff Road provides magnificent vistas of the ocean both to the north and south. The drive culminates at Pukekura, where we watched Royal Albatrosses soar above Taiaroa Head. In addition, we saw White-fronted Terns, Mainland Spotted Shags, a Royal Spoonbill, and thousands of breeding Red-billed Gulls. Several fur seals layed basking on the rocky shore as waves beat the sharp rocks around them. It was a windy, beautiful place. At both the boardwalk and along the road on the drive back to town (along Harington Point Rd) Oligosoma polychroma darted in and out of the grass.


Toggle navigation
Purrfect Match
Home
About
Contact
Sign Up
Logn In
Purrfect Match
Pairing you with your feline friend
Get Started


--- layout: page title: Jobs permalink: /jobs/ ---
We are QTIM (https://qtim-lab.github.io)— the Quantitative Translational Imaging in Medicine Lab at the Athinoula A. Martinos Center of the Massachusetts General Hospital (MGH). We are affiliated with the Health Sciences and Technology Program at MIT and Harvard Medical School. We are computer scientists, medical physicists, neuro-oncologists, MRI technicians, and clinical research coordinators. We focus broadly on quantitative and machine learning techniques in medical imaging, with a growing interest in deep learning. We try to bridge the gap between machine learning research and clinical practice through fruitful connections with our clinical collaborators in and out of the MGH ecosystem.
You will be a postdoctoral research fellow working in the exciting and dynamic fields of deep learning and medical imaging. Your main focus will be the development of novel deep learning algorithms for automated diagnosis, monitoring and risk assessment in retinopathy of prematurity (ROP), and other ophthalmic diseases. You will collaborate with clinician scientists at Oregon Health & Science University and other affiliated institutions to build solutions to real-world problems.
Outside of your own projects, you will also have responsibility for mentoring graduate students working on related projects. You will also have the opportunity to pursue theoretical projects on novel datasets, and collaborate with clinicians at MGH from a wide range of fields. You will be encouraged and supported to seek independent funding as you take the next step in your academic career.
Essential criteriaWe will consider applicants with any or all of the skills described below, or an ability to learn them independently.
We believe that our research has real potential to improve the standard of care for patients worldwide. If you join us, you will become an integral part of an interdisciplinary team that values collaboration and teamwork above all else. We have a history of publications in high impact journals, and you will be encouraged and supported to contribute to that effort. Further, we believe that a healthy work-life balance is the key to a success academic life, and regularly take time out to go bowling, climbing, and cooking!
Do you want find out more? We would love to hear from you. Please send a message to<EMAIL_ADDRESS>with your C.V. and the contact information for three references.
We are an equal opportunity employer and value diversity. We also know that the work of diversity and anti-discrimination extends past choices in hiring. We work every single day to make our lab an equitable and productive space for everyone, regardless of their race, religion, color, national origin, gender, sexual orientation, age, marital status, veteran status, or disability status.
We are QTIM (https://qtim-lab.github.io)— the Quantitative Translational Imaging in Medicine Lab at the Athinoula A. Martinos Center of the Massachusetts General Hospital (MGH). We are affiliated with the Health Sciences and Technology Program at MIT and Harvard Medical School. We are computer scientists, medical physicists, neuro-oncologists, MRI technicians, and clinical research coordinators. We focus broadly on quantitative and machine learning techniques in medical imaging, with a growing interest in deep learning. We try to bridge the gap between machine learning research and clinical practice through fruitful connections with our clinical collaborators in and out of the MGH ecosystem.
You will be a postdoctoral research fellow working in the exciting and dynamic fields of deep learning and medical imaging. Your main focus will be the development of novel deep learning algorithms for the reconstruction and analysis of k-space data from magnetic resonance imaging data streams. You will work with clinical scientists and MRI physicists at the Massachusetts General Hospital to build solutions to real-world problems.
Outside of your own projects, you will also have responsibility for mentoring graduate students working on related projects, and will be supported as you seek independent funding to take the next step in your academic career. You will also have the opportunity to pursue theoretical projects on novel datasets, and collaborate with clinicians at MGH from a wide range of fields. You will be encouraged and supported to seek independent funding as you take the next step in your academic career.
Essential criteriaWe will consider applicants with any or all of the skills described below, or an ability to learn them independently.
Do you want find out more? We would love to hear from you. Please send a message to<EMAIL_ADDRESS>with your C.V. and the contact information for three references.
We are an equal opportunity employer and value diversity. We also know that the work of diversity and anti-discrimination extends past choices in hiring. We work every single day to make our lab an equitable and productive space for everyone, regardless of their race, religion, color, national origin, gender, sexual orientation, age, marital status, veteran status, or disability status.
We are QTIM (https://qtim-lab.github.io)— the Quantitative Translational Imaging in Medicine Lab at the Athinoula A. Martinos Center of the Massachusetts General Hospital (MGH). We are affiliated with the Health Sciences and Technology Program at MIT and Harvard Medical School. We are computer scientists, medical physicists, neuro-oncologists, MRI technicians, and clinical research coordinators. We focus broadly on quantitative and machine learning techniques in medical imaging, with a growing interest in deep learning. We try to bridge the gap between machine learning research and clinical practice through fruitful connections with our clinical collaborators in and out of the MGH ecosystem.
You will be a postdoctoral research fellow working in the exciting and dynamic fields of deep learning and medical imaging. Your main focus will be the development of novel deep learning algorithms for the analysis of imaging data in radiology, and their translation into practical clinical usage in the Massachusetts General Hospital. You will work with clinicians and end-users at the Massachusetts General Hospital to build solution to real-world problems.
Outside of your own projects, you will also have responsibility for mentoring graduate students working on related projects, and will be supported as you seek independent funding to take the next step in your academic career. You will also have the opportunity to pursue theoretical projects on novel datasets, and collaborate with clinicians at MGH from a wide range of fields. You will be encouraged and supported to seek independent funding as you take the next step in your academic career.
Essential criteriae will consider applicants with any or all of the skills described below, or an ability to learn them independently.
We believe that our research has real potential to improve the standard of care for patients worldwide. If you join us, you will become an integral part of an interdisciplinary team that values collaboration and teamwork above all else. We have a history of publications in high impact journals, and you will be encouraged and supported to contribute to that effort. Further, we believe that a healthy work-life balance is the key to a success academic life, and regularly take time out to go bowling, climbing, and cooking!
Do you want find out more? We would love to hear from you. Please send a message to<EMAIL_ADDRESS>with your C.V. and the contact information for three references.
We are an equal opportunity employer and value diversity. We also know that the work of diversity and anti-discrimination extends past choices in hiring. We work every single day to make our lab an equitable and productive space for everyone, regardless of their race, religion, color, national origin, gender, sexual orientation, age, marital status, veteran status, or disability status.
We are QTIM (https://qtim-lab.github.io)— the Quantitative Translational Imaging in Medicine Lab at the Athinoula A. Martinos Center of the Massachusetts General Hospital (MGH). We are affiliated with the Health Sciences and Technology Program at MIT and Harvard Medical School. We are computer scientists, medical physicists, neuro-oncologists, MRI technicians, and clinical research coordinators. We focus broadly on quantitative and machine learning techniques in medical imaging, with a growing interest in deep learning. We try to bridge the gap between machine learning research and clinical practice through fruitful connections with our clinical collaborators in and out of the MGH ecosystem.
You will be a programmer and web developer for a lab working in the exciting fields of medical imaging, machine learning, and oncology. Your duties will include managing online machine learning competitions hosted by our lab and our collaborators, building software to extend our research tools to clinical users, creating public-facing web-tools to exhibit our imaging research, and in general being a point person for information technology and web development in our lab. You will also help to manage our multi-server GPU clusters and data storage devices, and help members of our lab successfully use and maintain organization on these servers.
Outside of your role as the lab’s technical lead, you will have the opportunity to collaborate with or pursue independent research or software projects. Whether your future plans lie in medicine, computer science, at Massachusetts General Hospital, or in any other direction, we are committed to providing you the experience and network necessary to advance in your career.
Essential criteriaWe will consider applicants with any or all of the skills described below, or an ability to learn them independently.
We believe that our research has real potential to improve the standard of care for patients worldwide. If you join us, you will become an integral part of an interdisciplinary team that values collaboration and teamwork above all else. We have a history of publications in high impact journals, and you will be encouraged and supported to contribute to that effort. Further, we believe that a healthy work-life balance is the key to a success academic life, and regularly take time out to go bowling, climbing, and cooking!
To apply for this position, please complete the application on Massachusetts General Hospital’s website, link. If you have any questions about the position, do not hesitate to send a message to<EMAIL_ADDRESS>We are an equal opportunity employer and value diversity. We also know that the work of diversity and anti-discrimination extends past choices in hiring. We work every single day to make our lab an equitable and productive space for everyone, regardless of their race, religion, color, national origin, gender, sexual orientation, age, marital status, veteran status, or disability status.
We are QTIM (https://qtim-lab.github.io)— the Quantitative Translational Imaging in Medicine Lab at the Athinoula A. Martinos Center of the Massachusetts General Hospital (MGH). We are affiliated with the Health Sciences and Technology Program at MIT and Harvard Medical School. We are computer scientists, medical physicists, neuro-oncologists, MRI technicians, and clinical research coordinators. We focus broadly on quantitative and machine learning techniques in medical imaging, with a growing interest in deep learning. We try to bridge the gap between machine learning research and clinical practice through fruitful connections with our clinical collaborators in and out of the MGH ecosystem.
We are accepting PhD students in the lab. Graduate students are usually in either the Harvard/MIT HST, MIT EECS, or Harvard Biophysics PhD programs. Students will typically have a background in one or more of the following fields: computer science, data science, biomedical engineering, or imaging. If you do not, no worries - as long as you are willing to learn, we can provide mentorship to help you develop expertise. We have a variety of projects at the intersection of healthcare, machine learning, and imaging. We can also work with you to craft a project if you have a specific research interest/application.
We believe that our research has real potential to improve the standard of care for patients worldwide. If you join us, you will become an integral part of an interdisciplinary team that values collaboration and teamwork above all else. We have a history of publications in high impact journals, and you will be encouraged and supported to contribute to that effort. Further, we believe that a healthy work-life balance is the key to a success academic life, and regularly take time out to go bowling, climbing, and cooking!
Do you want find out more? We would love to hear from you. Please send a message to<EMAIL_ADDRESS>with your C.V. and the contact information for three references.
We are an equal opportunity employer and value diversity. We also know that the work of diversity and anti-discrimination extends past choices in hiring. We work every single day to make our lab an equitable and productive space for everyone, regardless of their race, religion, color, national origin, gender, sexual orientation, age, marital status, veteran status, or disability status.
We are QTIM (https://qtim-lab.github.io)— the Quantitative Translational Imaging in Medicine Lab at the Athinoula A. Martinos Center of the Massachusetts General Hospital (MGH). We are affiliated with the Health Sciences and Technology Program at MIT and Harvard Medical School. We are computer scientists, medical physicists, neuro-oncologists, MRI technicians, and clinical research coordinators. We focus broadly on quantitative and machine learning techniques in medical imaging, with a growing interest in deep learning. We try to bridge the gap between machine learning research and clinical practice through fruitful connections with our clinical collaborators in and out of the MGH ecosystem.
If you want to get involved in a project during the school year or over the summer, we have positions available! We support science fair projects, research projects, senior theses, and master’s theses. Previous research experience is not assumed, but an interest in machine learning and medical imaging is appreciated. We will provide mentorship to help you develop skills and support to help you complete your project.
We believe that our research has real potential to improve the standard of care for patients worldwide. If you join us, you will become an integral part of an interdisciplinary team that values collaboration and teamwork above all else. We have a history of publications in high impact journals, and you will be encouraged and supported to contribute to that effort. Further, we believe that a healthy work-life balance is the key to a success academic life, and regularly take time out to go bowling, climbing, and cooking!
Do you want find out more? We would love to hear from you. Please send a message to<EMAIL_ADDRESS>with your C.V. and the contact information for three references.
We are an equal opportunity employer and value diversity. We also know that the work of diversity and anti-discrimination extends past choices in hiring. We work every single day to make our lab an equitable and productive space for everyone, regardless of their race, religion, color, national origin, gender, sexual orientation, age, marital status, veteran status, or disability status.
If none of the job opportunities above fit your goals, feel free to get in touch at<EMAIL_ADDRESS>if you are still interested in working with us in any capacity.


Bank of Josh ATM
Account Balance $
1000.00
Make a Deposit
Amount
$
Make a Withdrawal
Amount
$
Deposit
Withdraw


Input value for side A, Side B and Side C in the form below. After clicking the submit button, the page will alert you as to weather the values given form a type of triangle or if it is not a triangle.
Here is a little triangle lesson for you...
A triangle is a polygon with three edges and three vertices. It is one of the basic shapes in geometry.
Triangles can be classified according to the lengths of their sides
An equilateral triangle has all sides the same length. An equilateral triangle is also a regular polygon with all angles measuring 60°
An isosceles triangle has two sides of equal length. An isosceles triangle also has two angles of the same measure, namely the angles opposite to the two sides of the same length; this fact is the content of the isosceles triangle theorem which was known by Euclid. Some mathematicians define an isosceles triangle to have exactly two equal sides, whereas others define an isosceles triangle as one with at least two equal sides. The latter definition would make all equilateral triangles isosceles triangles. The 45–45–90 right triangle, which appears in the tetrakis square tiling, is isosceles.
A scalene triangle has all its sides of different lengths. Equivalently, it has all angles of different measure.
Not a Triangle alert according to this web page will appear if the sum of any two sides is less than or equal to the value of the third side.


Bag
Address
Payment
Your basket
Your cart is empty.
Item Name
Price per kg
Quantity (kg)
Discount
Subtotal
{{x.title}}
₹{{x.baseprice}}
₹{{x.discount}}
₹{{x.total}}
✘
Fill you cart
Fresh groceries
Fast delivery
Easy tracking
Amazing discounts


Come with us and our clients
You will have access to blog posts about the most recent trips along with world class gear for your own adventures


Kotlin
Contribution Guidelines
-
If you add an algorithm then you have to add a test (JUnit) along with
it. In the absence of a test, the PR will not be approved.
-
Follow the correct coding guidelines with proper description of the
methods. Refer
Kotlin Coding Standards.
-
Your work will be distributed under
MIT License once your pull request is merged.
-
Please do not add a signature inside the code. The commit history is
sufficient to determine who has added the code to the repo.
-
Make sure the algorithm which is getting added comes under a certain
domain of Algorithms. Please don’t create a package with a name such as
Misc, Others, etc.
-
While making a PR, make sure you are committing the Kotlin files only
and not any project specific files. If you feel that your IDE is
generating some extra files, then either don’t add them to git, or add
the extensions to
.gitignore
.
-
Please don’t raise a PR for solutions to problems from online judges
such as Hackerrank, Leetcode, etc.
Steps to raise a PR
-
Fork the
Kotlin Repo
-
Open the forked repo on your local machine through IntelliJ by importing
the project as a Gradle project
- Make the changes on your local machine
- Push the changes to the forked repository
- Raise a PR against the master branch


Search Inside Yourself - Chapter 5
03 February 2017
How does life look through the 'pleasure, passion and purpose' lens?
Life looks good! Being able to acknowledge, understand and recognise each of the three points alows us to enjoy the smaller things as well us understand what drives and motivates us when working towards bigger goals. By having a purpose and working towards something we belive and are interested in, we can lead happier lives and enjoy all moments, big and small.
What are your core values? What do you stand for?
My core values are based around integertry, self respect and respect of others, as well as working towards personal imporovment. I stand for having strong, genuine relationships with friends, family and collegues as well as as respecting other peoples ideas and or beiliefs, even if I might not agree with them.
How did you find the resilience ideas and meditation exercise?
I found the ideas that successfull people tend to also be more optimistic people interesting, and how that optimistic people tend to view any failures as something that is only only short-term and due to isolated, particular circumstances. I would say I jump between being optimistic and pessamestic, although generally generally lean towords having a more optimisitic view as I believe it is important to learn from any setbacks or failures - everyone has failures and setback and failures are just another form of learning and help to point you down the road to success.


|
|
tuple | __all__ = ('Template', 'Context', 'RequestContext', 'compile_string') |
| |
|
int | TOKEN_TEXT = 0 |
| |
|
int | TOKEN_VAR = 1 |
| |
|
int | TOKEN_BLOCK = 2 |
| |
|
int | TOKEN_COMMENT = 3 |
| |
|
string | FILTER_SEPARATOR = '|' |
| |
|
string | FILTER_ARGUMENT_SEPARATOR = ':' |
| |
|
string | VARIABLE_ATTRIBUTE_SEPARATOR = '.' |
| |
|
string | BLOCK_TAG_START = '{%' |
| |
|
string | BLOCK_TAG_END = '%}' |
| |
|
string | VARIABLE_TAG_START = '{{' |
| |
|
string | VARIABLE_TAG_END = '}}' |
| |
|
string | COMMENT_TAG_START = '{#' |
| |
|
string | COMMENT_TAG_END = '#}' |
| |
|
string | SINGLE_BRACE_START = '{' |
| |
|
string | SINGLE_BRACE_END = '}' |
| |
|
string | ALLOWED_VARIABLE_CHARS = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_.' |
| |
|
string | UNKNOWN_SOURCE = '<unknown source>' |
| |
| tuple | tag_re |
| |
|
dictionary | libraries = {} |
| |
|
list | builtins = [] |
| |
|
| invalid_var_format_string = None |
| |
|
string | constant_string = r"" |
| |
|
string | filter_raw_string = r"" |
| |
|
tuple | filter_re = re.compile(filter_raw_string, re.UNICODE|re.VERBOSE) |
| |
|
list | templatetags_modules = [] |
| |
This is the Django template system.
How it works:
The Lexer.tokenize() function converts a template string (i.e., a string containing
markup with custom template tags) to tokens, which can be either plain text
(TOKEN_TEXT), variables (TOKEN_VAR) or block statements (TOKEN_BLOCK).
The Parser() class takes a list of tokens in its constructor, and its parse()
method returns a compiled template -- which is, under the hood, a list of
Node objects.
Each Node is responsible for creating some sort of output -- e.g. simple text
(TextNode), variable values in a given context (VariableNode), results of basic
logic (IfNode), results of looping (ForNode), or anything else. The core Node
types are TextNode, VariableNode, IfNode and ForNode, but plugin modules can
define their own custom node types.
Each Node has a render() method, which takes a Context and returns a string of
the rendered node. For example, the render() method of a Variable Node returns
the variable's value as a string. The render() method of an IfNode returns the
rendered output of whatever was inside the loop, recursively.
The Template class is a convenient wrapper that takes care of template
compilation and rendering.
Usage:
The only thing you should ever use directly in this file is the Template class.
Create a compiled template object with a template_string, then call render()
with a context. In the compilation stage, the TemplateSyntaxError exception
will be raised if the template doesn't have proper syntax.
Sample code:
>>> from google.appengine._internal.django.import template
>>> s = u'{% if test %}
{{ varvalue }}
{% endif %}'
>>> t = template.Template(s)
(t is now a compiled template, and its render() method can be called multiple
times with multiple contexts)
>>> c = template.Context({'test':True, 'varvalue': 'Hello'})
>>> t.render(c)
u'
Hello
'
>>> c = template.Context({'test':False, 'varvalue': 'Hello'})
>>> t.render(c)
u''


--- layout: tweet ---
Leaving Montana, headed back to Oregon.
11/25/2007, 8:11:05 AM
Favs: 0
Retweets: 0


WITNESS LIST Agriculture & Livestock Committee February 27, 2003-8:00A HB 151 For: Gilbert, Jerry (Self and Wichita Co. Farm Bureau and area ranchers of Wichita Co.) Hodges, Ken (Texas Farm Bureau) Ressel, Roy (Wichita Falls-Wichita Co. Public Health Dept & Texas Animal Control Assoc.) Small, Ed (Texas & Southwestern Cattleraisers Association) Smith, Grady (Self and Wichita Co. Sheriff's Department) Turner, Bob (Texas Sheep & Goat Raisers' Association) Registering, but not testifying: For: Fenz, Caton (Harris County Commissioners Court) Gilbert, Dolores (Self and Wichita County Farm Bureau) Horton, Ken (Texas Pork Producers Association) Morris, Susan (Self) Rowland, Allison (Independent Cattlemen's Association of Texas) Wilson, Ross (Texas Cattle Feeders Association) HB 151 Committee Substitute (Swinford/CSHB 151) For: Allison, Jim (County Judges & Commissioners Association of Texas) HB 240 For: Small, Ed (Texas & Southwestern Cattleraisers Association) On: Lenarduzzi, James (Texas Animal Health Commission) Snelson, Gene (Texas Animal Health Commission) Registering, but not testifying: For: Hodges, Ken (Texas Farm Bureau) Horton, Ken (Texas Pork Producers Association) Turner, Bob (Texas Poultry Federation) Wilson, Ross (Texas CattleFeeders Association) HB 873 For: Fisher, Mike (Rural Fire Advisory Council) Turner, Bob (Texas Electric Co-op) On: Young, Bobby (Texas Forest Service) Registering, but not testifying: For: Engelke, Tommy (Texas Agricultural Cooperative Council) Hodges, Ken (Texas Farm Bureau) Johnson, Helen (State Firemen's & Fire Marshals' Association) Structural Pest Control Board On: Burnett, Dale (Structural Pest Control Board) TX State Soil & Water Conservation On: Moore, James (Texas State & Soil Water Conservation Board) Registering, but not testifying: On: Stephens, Bobbie (Texas State Soil & Water Conservation Board)


Gilt Live: A New Way to Shop
Gilt Live is a new way to shop on Gilt. It gives you the chance to see what our members are buying on Gilt - right now. We are excited because it gives you a way to discover new products that you might never have seen. And since it is updating in real-time you can see something sell out right before your eyes –- or not if you are quick enough to jump on it.
The Technology
Gilt Live is Gilt’s first public facing application to use websockets. Why websockets? The key component of Live is the ability to send real-time messages to our members. Websockets are the perfect candidate.
Live is written in Scala on the Play 2.0.1 framework and uses Akka for thread management, a decision based on the the framework’s scalability and websocket integration approach.
What is Supported?
Websockets are only supported in Firefox 11+, Chrome 6.0+, Safari 5.0.1+ and Internet Explorer 10.0. This does exclude a set of users from the experience, and it is a drawback, but we feel the benefits outweigh the loss.
The Client
The client uses the jQuery Isotope library to render the product messages in a multi-size, dynamic layout. In order to prevent an excessive number of products in the browser and save CPU resources on the client’s machine, the client removes the top unseen products from the DOM, a process we call “Chunking” – after our favorite character from Goonies.
Load Balancing
Live uses the Zeus load balancer. Initial load testing allowed for only 500 concurrent connections, but after a few configuration tweaks, we have reached over 28K concurrent connections and counting!
Inventory Updates
One of the coolest features of live is our inventory updates, made possible through the use of websockets. If there are 5 or fewer items left to buy, you’ll see a countdown flag on the product, and if you stay around, you’ll see the count drop from 5 units, to 4…to Sold out!
Summary
We’ve learned new technologies, faced scalability challenges, and most importantly had fun through the development of Live. We are already forming ideas to take live to the next level and use websockets in other areas of the site.
Thanks for reading, and let us know if you have any suggestions!


About me
I've recently started the journey to become a professional computer programmer. Over the next several weeks, I'll be learning to code at Dev Bootcamp in Chicago with my fellow Mantises.
photo by wikimedia
Bacon ipsum text
Bacon ipsum dolor sit amet tenderloin salami pig, fatback pastrami ham hock shoulder bacon t-bone pork meatball. Pancetta ham turkey shankle turducken jerky. Jowl spare ribs short ribs andouille tongue shoulder. Rump shoulder cow turducken, salami filet mignon ham sausage pancetta pork prosciutto brisket short ribs boudin. Shoulder short ribs andouille swine venison ham hock.
photo by wikimedia
An unordered list
- List item 1
- List item 2
- List item 3
Let's keep things orderly
- List item 1
- List item 2
- List item 3
Hairy ipsum
El snort testosterone trophy driving gloves handsome, dis el snort handsome gent testosterone trophy Fallen eyebrow driving gloves cardinal richelieu gentleman face broom, chevron driving gloves dis cardinal richelieu gentleman gent el snort handsome ron burgundy Leonine funny walk groucho marx Fallen eyebrow rock n roll star great dictator testosterone trophy face broom?
Zombie ipsum
In omni memoria patriae religionis sunt diri undead historiarum. Golums, zombies et fascinati. Maleficia! Vel a modern perhsaps morbi. A terrenti contagium. Forsitan illud Apocalypsi, vel malum poenae horrifying fecimus. Indeflexus monstra per plateas currere. Fit de nostra carne undead. Poenitentiam agite pœnitentiam! Vivens mortua sunt apud nos.