1. Installation¶
Cloudmesh is easy to install. Dependent on your preferences you can choose an install from
pip if you are a cloudmesh user
source install if you are a developer
At this time we do not recommend the conda install, as the conda packages are outdated at this time.
Please read a section in this manual completly, and understand the items explained. Do not just copy an past text in your terminal and execute it as it could have unexpected consequences.
The mongo installation has to be done by everyone.
Warning
At this time we recommend that you do the source install as we have not yet uploaded all packages to pypi.
1.1. Prerequisites¶
Note
Before you install make sure that you have at minimum python 3.7.3 installed. Likely the code will work with earlier versions, but we do the development in python 3.7.3 from https://www.python.org/downloads/.
We highly recommend that you use a python virtualenv such as venv
to
make sure you are not interfering with your system python. This is
simple. For our purposes we assume that you use the directory ~/ENV3.
Follow these steps first:
python3.7 -m venv ~/ENV3
source ~/ENV3/bin/activate
You can add at the end of your .bashrc or .bash_profile file the line
source ~/ENV3/bin/activate
so the environment is always loaded. Now you are ready to install cloudmesh.
1.2. Installation with Pip¶
The instalation can be done with pip.
pip install cloudmesh-cms
pip install cloudmesh-sys
pip install cloudmesh-cloud
pip install cloudmesh-storage
Additional packages include but are not yet released:
pip install cloudmesh-flow
pip install cloudmesh-emr
pip install cloudmesh-batch
pip install cloudmesh-openapi
Next you will need to test the cloudmesh command and at the same time create a configuration file. This is done by invoking the cms comamnd the first time. Thus, just type the command
cms help
in your terminal. It will create a directory ~/.cloudmesh
in which you can find the configuration file:
~/.cloudmesh/cloudmesh4.yaml
Todo
check if this realy works, it woudl be beneficial to implement a
command cms setup
that does not only the yaml file, but also the
mongo password
1.3. Anaconda and Conda¶
We also have the base packages available as conda packages on conda hub
in the chanel laszewski
. This includes
cloudmesh-common
cloudmesh-cmd5
cloudmesh-sys
Note that the packages will always be a behind the packages on pypi and especially the source distribution. FUrthermore, other packages are not yet uploaded. If you are interested in helping out with the conda packages, let us know. Please contact us if you need a new release. As conda supports alos pip, we recommend using pip for it also.
1.4. Source Installation for Developers¶
As a developer you want o use our source instalation. For this reasone we wrote a cloudmesh-installer script that conveniently downloads the needed repositories. More documentation about it can be found at
First make sure you have a python virtual env as described in the pip section (see Use a venv). Instead of using the pip install method, please use the following.
Now you can install it with
pip install cloudmesh-installer
It is best to create an empty directory and decide which bundles to install
mkdir cm
cd cm
cloudmesh-installer bundels
Decide which bundels you like to install (let us assume you use storage) and simply say
cloudmesh-installer git clone storage
cloudmesh-installer install storage -e
It will take a while to install On newer machines 1 minte, on older significant longer. You can than test if
1.5. Installation with cloudmesh-installer¶
This is by far the most convenient way of installing and managing the cloudmesh bundles and packages.
1.5.1. cloudmesh-installer in Ubuntu¶
To install cloudmesh-installer
in Linux, we first need to make sure that
the correct version of the Python3 is
installed (version 3.7.3).
sudo apt-get update
sudo apt install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get install python3.7 python3-dev python3.7-dev
The default version of Python on Ubuntu 18.04 is 3.6 and you can get that
version using python3 --version
. You can then check the installed version
using
python3.7 --version
which should be3.7.3
.
Now we will create a new virtual environment:
python3.7 -m venv --without-pip ~/ENV3
The edit the ~/.bashrc
file and add the following line at the end:
alias ENV3="source ~/ENV3/bin/activate"
ENV3
now activate the virtual environment using:
source ~/.bashrc
now you can install the pip for the virtual environment without conflicting with the native pip:
curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
python get-pip.py
rm get-pip.py
now you should be able to install cloudmesh-installer
:
pip install cloudmesh-installer
You should be able to now get the help function of the cloudmesh-installer
:
cloudmesh-installer --help
You can now get the list of available bundles and install the bundle of your choice. You can get the list of available bundles using:
cloudmesh-installer bundles
Now, go to your target destination, e.g. ~/cm
and run the following
command to clone the cms
bundle:
cloudmesh-installer git clone cms
Now that the cms
is cloned, you can then install the cms
using the
following command:
cloudmesh-installer install cms -e
Test the cms
installation using:
cms help
1.5.2. cloudmesh-installer in macOS Mojave¶
Installing cloudmesh in macOS is very similar to installation in Ubuntu.
Start the process by installing the python 3 using homebrew
. Install the
homebrew
using the instruction in their web page:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Then you should be able to install Python 3.7.3 using:
brew install python
The rest of the installation is identical to ubuntu. Start with creating the
virtual environment without pip, install pip separately, install
cloudmesh-installer
, followed by cloning bundles and installing them.
1.6. Installation of mongod¶
First, you will need to install a cloudmesh4.yaml
file, if you have not
done this before. The easieast way to do so is with the command
cms help
Now you will need to edit the configuration file
emacs ~/.cloudmesh/cloudmesh4.yaml
and change the password of the mongo entry to something you like, e.g. change the TBD to a real strong password
MONGO_PASSWORD: TBD
In case you do not have mongod installed, you can do so for macOS and Ubuntu 18.xx by setting the following variable:
MONGO_AUTOINSTALL: True
Now you can run the admin mongo install
command. It will not only install
mongo, but also add the path to your .bash_*
file. In case
of windows platform, you will have to set the PATH variable manually. To
install it simply say.
cms admin mongo install
As we password protect mongo, you will need to first run the command
cms admin mongo create
Now you can start mongo for cloudmesh with
cms admin mongo start
In case you need to stop it you can use the command
cms admin mongo stop
However, please remember that for cloudmesh to work properly, please start mongo. In case you need a different port you can configure that in the yaml file.


If the data we are dealing with is qualitative or categorical , then also decision trees are proved to be powerful.
Decision Tree Classifiers make use of a series of calculated questions regarding the attributes of the test record, for
each returned value a follow-up question is asked and hence the splitting is performed from the attributes of the data .
This is done until a conclusion about the class label of the record is reached. The difference between the working of a
classification and a regression tree lies in the criteria taken for performing a split.
While decision tree regressors use RSS criteria , Classification trees calculate and use 3 criteria for splitting the
nodes , Classification error rate , Entropy and Gini impurity.
Let us now learn about each of them separately.
Understanding the Algorithm working behind :
Before discussing the criteria , let us briefly talk about the overview of working of a classification tree for a better
understanding about why they are needed.
So the algorithm of building of a decision tree is recursive in nature. At each step, a decision has to be made for
further splitting till the last node (leaf node). The decision is based on some question which has an answer in either
True or False, and as the response of these questions, we make a split. The algorithm decides which question to ask and
when. So we keep narrowing down the data in the form of a tree arranging and distributing it according to it’s classes
or label. Now since the data is arranged according to classes, whenever any unknown data is given the tree, it can be
easily navigated through the tree to predict it’s class or label.
So as discussed, the critical point is deciding which question to ask and when. Basically, every node gets the list of
columns(or features) of the dataset as input.
So ‘the best question to ask’ is selected by calculating ‘how much an attribute will contribute towards distribution
into classes’, (calculated by Gini Impurity and Entropy). Further by using another value of ‘how much of the impurity is
reduced’ (calculated by Information gain), we can decide which attribute/feature should be taken as the node to split
and proceed further.
This calculation and selection procedure keeps happening in a recursive fashion till the whole tree is built.
So now we are ready to understand the criteria in more depth with an example data:
Entropy:
So now we are ready to understand the criteria in more depth with an example data:
Where c is the no. of classes and ‘p’ at every point(for each class) is the probability of that class.
Suppose we are dealing with a data with n observations to classify it into 2 categories: A or B. Let the no. of
instances of class A be x.
So we have c =2 , p1 = x/n and p2 = n-x/n . In this case the Entropy E can be obtained as :
E = -p1*log2(p1) – p2*log2(p2)
Here is the graphical representation of Entropy :
If we compare the graph with the example we discussed above, we can figure out that Entropy is Maximum when
probabilities for both classes are Equal, and 0 when probability is 0 or 1 this also validates that the entropy is the
amount of disorder(or mix-ups) in the data.
Information Gain :
Information gain is the measure the decrease in entropy after splitting a node. It is the difference between entropies
before and after the split. The more the information gain, the more entropy is removed. Significantly, it helps to
calculate importance and ordering of the attributes in the nodes.
Here is the mathematical representation of Information Gain:
Gain(R,C) = Entropy(R) – Entropy(R,C)
Here, R represents the root node of the tree and C represents the child obtained after splitting the node R.
Gini Impurity :
Gini impurity is the measure of possibility of a new random data to be classified wrong if that new instance were
randomly classified according to the distribution of class labels from the data set.
It is calculated by multiplying the probability that a given observation is classified into the correct class and sum of
all the probabilities when that particular observation is classified into the wrong class.
Here is the mathematical representation of Gini Impurity:
Where n is the no. of classes and ‘p’ at every point(for each class) is the probability of that class.
Suppose we have 2 classes + and - , then we can calculate the Gini Impurity as follows:
Example and Calculation:
Now let us take all the concepts from above and frame them into an example to solve a problem!
Before proceeding further, Let us define few terms used below:
• Root Node – The First node of the tree having the highest hierarchy
• Leaf Node – The nodes at the end of the tree which don’t have any child
• Pruning - Tree pruning is the method of trimming down a full tree (obtained through the above process) to reduce the
complexity and variance in the data.
• Internal Node -
The Camera Data :
This dataset contains 3 column in which the purchased is the target feature
• Camera No of camera in a mobile phone
• Gender Gender (male or female)
• Purchased whether the person purchased the phone with the specified camera count or not
We will use both Gini Impurity and Entropy as the criteria one by one to find the root node for building the tree, for
clear comparison and understanding
• Gini Impurity of Camera Feature :
Let us start by calculating Gini Impurity of the feature Camera.
For calculating probability we can arrange the entities of camera feature in the data like this:
The camera feature has 4 unique values, therefore we can calculate Gini for each type of value and further calculate a
weighted Avg as the Gini impurity of camera feature
G(Camera 1) = 1 – P(YES)]2 - [P(NO)]2
= 1 – (3/4)2 – (1/4))2
= 0.375
G(Camera 2) = 1 – P(YES)]2 - [P(NO)]2
= 1 – (1/3))2 – (2/3))2
= 0.444
G(Camera 3) = 1 – P(YES)]2 - [P(NO)]2
= 1 – (1/3)2 – (2/3)2
= 0.444
G(Camera 4) = 1 – P(YES)]2 - [P(NO)]2
= 1 – (3/4)2 – (1/4)2
= 0.444
• Weighted Sum of Gini Impurity for Camera feature :
G(Camera) = (n * (Cam 1) )/m * G(cam 1) + (n * (Cam 2) )/m * G(cam 2) +
(n * (Cam 3) )/m * G(cam 3) + (n * (Cam 4) )/m *
(cam 4)
= (0.2857 * 0.375) + (0.2142 * 0.444) +(0.2142 * 0.444 )+ (0.2857 * 0.375 )
=0.4044
Therefore, Gini Impurity of camera feature = 0.4044
• Gini Impurity of Gender Feature :
Now let us calculate Gini Impurity of the feature Gender.
For calculating probability we can arrange the entities of camera feature in the data like this:
Since the gender feature has 2 unique values, therefore we can calculate Gini for each type of value and further
calculate a weighted Avg as the Gini impurity of gender feature
G(MALE) = 1 – P(YES)]2 - [P(NO)]2
= 1 – (3/7)2 – (4/7)2
= 0.489
G(FEMALE) = 1 – P(YES)]2 - [P(NO)]2
= 1 – (5/7)2 – (4/7)2
= 0.408
• Weighted Sum of Gini Impurity for Gender feature :
G(Gender) = (n * (Male) )/m * G(Male) + (n * (Female) )/m * G(Female)
= (0.5 * 0.49) + (0.5 * 0.408)
= 0.449
Therefore, Gini Impurity of gender feature = 0.449
On comparing we find Gini(Camera) < Gini(Gender), therefore Camera is selected as the root node
Now, Let us find the root node by calculating Entropy:
• Entropy of the whole Dataset :
(This will be used further for calculating entropy of particular features)
E(S) = - P(YES)* log2 (P(yes)) - P(NO)* log2 (P(NO))
= 8/14*log(8/14) - 6/14*log(6/14)
= -[0.57 * (-0.81) + 0.428 * (-1.22)]
= 0.462 + 0.5228
= 0.985
Since the Camera feature has 4 unique values, therefore we can calculate Gini for each type of value and further
calculate a weighted Avg as the Entropy of Camera feature
E(camera 1 ) = 3/4*log(3/4) - 1/4*log(1/4)
= - [0.75 * (-0.12) + 0.25*(-0.602)]
= - [-0.09 – 0.150]
= 0.240
E(camera 2 ) = - 1/3*log(1/3) - 2/3*log(2/3)
= - [0.333 * (-0.4777) + 0.666*(-0.176)]
= - [-0.158 – 0.115]
= 0.275
Similarly we can calculate, E(Cam 3) = 0.275 and E(Cam 4) = 0.240
Weighted Sum of Entropy for Camera feature :
E(G) = 4/14 * (0.240) + 3/14 * (0.275) + 3/14 * (0.275) + 4/14 * (0.240) = 0.252
So, Entropy of camera feature = 0.252
Therefore, Information Gain for Camera : = 0.985 – 0.252 = 0.733
Since the gender feature has 2 unique values, therefore we can calculate Gini for each type of value and further
calculate a weighted Avg as the Entropy of gender feature
Entropy of Gender :
E(Male ) = - 3/7*log(3/7) - 4/7*log(4/7)
= -[0.428 * (-0.367) + 0.571* (-0.243)]
= - [-0.157 – 0.138]
= 0.295
E(Female ) = - 5/7*log(5/7) - 2/7*log(2/7)
= - [-0.104 – 0.155]
= 0.295
Weighted Sum of Entropy for Camera feature :
E(Gender) = 7/14 * (0.295) + 7/14 * (0.259)
= 0.5*(0.295) + 0.5*(0.259)
= 0.147 + 0.129
= 0.276
So, Entropy of camera feature = 0.276
Therefore, Information Gain for Gender : = 0.985 – 0.276 = 0.709
On comparing, we find I.G (Camera) < I.G(Gender), therefore Camera is selected as the root node
From both comparisons, we conclude that Camera is the root node.


Use following credit card to test
Card number: 5454 5454 5454 5454
Expiry date: 03/30
CVC: 737
More cards
Make payment request will come here


XtfDocument (Class)
Namespace: stdlibXtf
Represents a document to read XTF files.
Constructors
| XtfDocument() | Initializes a new instance of the XtfDocument class that has default zero values. |
| XtfDocument(Byte[]) | Initializes a new instance of the XtfDocument class that contain the values extracted from the given byte array. |
Properties
| MagicNumber | Gets the number that identify the correct start of the packet. |
| MainHeader | Gets the XtfMainHeader object that contain the document header information. |
| Channels | Gets a list of the sonar channels, and the relative informations, contained in this document. |
| Packets | Gets a list of all the packets, and their position, stored inside this document. |
| Statistics | Gets a summary of the packets type and informations stored inside this document. |
Examples
example ...
Remarks
remarks ...


Pastor Adeboye Donates N10m To UCH, Ibadan, Promises To Donate N20m More
by Faderera FaladePastor Enoch Adeboye, General overseer of the Redeemed Christian Church of God has donated the sum of N10 million to the University College Hospital (UCH) Ibadan, Oyo state.
Naija News learnt that the N10 million was used to purchase one hemodialysis machine for the hospital.
The machine helps to filter a patient’s blood to remove excess water and waste products.
The pastor shared a post on his Instagram page, explaining that God had charged him to donate the hemodialysis machine to the school hospital, adding that he has left his home after his morning devotion to commission the machine.
Adeboye further noted that the holy spirit has directed him to donate two more as the university’s hospital needed more help.


RIGHT IS PINK.
LEFT IS BLUE
Inspired by Brasil's bold colors and matching up to football's on-pitch
playmakers, these kicks are ready to stand out.
Inspired by Brasil's bold colors and matching up to football's on-pitch
playmakers, these kicks are ready to stand out.


Over 10 years of experience in web application development
Knowledgeable in multiple programming language (Python, PHP, Javascript/Jquery, HTML, CSS)
Knowledgeable in different kind of Frameworks (Flask/Django, Code Igniter, Jquery, VueJS, Bootstrap/Bulma).
Good knowledge in relational database as well as NoSQL database (MongoDB, Redis, Elasticsearch, MySQL/MSSQL/PostgreSQL)
Knowledgable on using Mac/Linux terminal
Able to work in a full team or independently
On my free time, I enjoyed watching youtube dev tutorials as well as interesting medium site articles related to programming and applying/testing the concepts in a very simple approach.
Reading ebooks also catches my attention while commuting going to work.
 Being a father is a special privilege to me.
Biking, going to different places gives me a different perspective in life
Whenever I feel inspired, I pick up my guitar and strums random songs that I could think of.


Detect Faces:
Enter the URL to an image that includes a face or faces, then click the
Analyze face
button.
Image to analyze:
Analyze face
Continue


Tutorials
Your first place to get help with WhiteboxTools should be the User Manual. The online version of the user manual can be found here. A pdf version of this document is downloaded along with the rest of the WhiteboxTools library. There is also a copy of the pdf version available online on ResearchGate. Beyond the User Manual, this website also contains a number of useful tutorials for application-specific and common workflows.


Just found this one:
http://openenergymonitor.org/emon/node/4354
how does it control the temp in each room? could be very interesting if it could send commands to conrad valve heads
Archived Forum |
|
Heating controller with multi zone schedulingSubmitted by boelle on Sat, 29/03/2014 - 11:25Just found this one:
http://openenergymonitor.org/emon/node/4354
how does it control the temp in each room? could be very interesting if it could send commands to conrad valve heads » |
Re: Heating controller with multi zone scheduling
A quick search of the site brings up this post from earlier in the week.
http://openenergymonitor.org/emon/node/4355 which answers your question.
Re: Heating controller with multi zone scheduling
bummer, from what i see it can only turn stuff on and off....
control of Conrad valve heads are not mentioned, and i cant decode the thread to says it does... so have to assume its a no go
would still be avesome thou as i have all my rads fitted with them.
Re: Heating controller with multi zone scheduling
with the outcome of the pi on stick
http://www.raspberrypi.org/raspberry-pi-compute-module-new-product/
we at OpenTRV wondered if there would be interest in kind of joining forces? it seems like stupid that we invent a gateway device when all OEM is lacking now is able to send commands to an wirless valvehead
Re: Heating controller with multi zone scheduling
@ OpenTRV we have been talking about just extending the code so it can talk with emoncms...
But what we would like is to set target temps etc from within emoncms and have the OpenTRV use these values as long there is a connection... should the connection fail it should use last ones or a kind of emenergency value...
Who is up to helping us? I think we have one or 2 units to play with somwhere in a pile of stuff :-D
the idea was that the OpenTRV then controls the valve and not the emoncms system, making timing issues less of an problem
Re: Heating controller with multi zone scheduling
Boelle,
If you aren't already you probably need to be speaking to TrystanLea. I suggest you send him a private message.
Re: Heating controller with multi zone scheduling
done :-D
Re: Heating controller with multi zone scheduling
Hello Boelle, it would be great if opentrv and the oem system could connect together to be part of a larger control and monitoring system. I dont know much about the conrad valve heads and the requirements for controlling them but what Richard and I have started working on, on the web software side of things:
http://openenergymonitor.org/emon/node/4354
http://openenergymonitor.org/emon/node/4355
is just one interface idea, it does allow the setting of setpoints but at the moment its limited to two heating periods in the day with an off temperature and an on setpoint temperature. There's no reason why with a bit of coding this couldnt be extended in future.
Re: Heating controller with multi zone scheduling
the idea is great, and 2 heating periods are better than nothing :-D i guess more can be added if there is a need for it,
I design the PCB's at OpenTRV and do not know much about the conrads either, other than they need to be send a command every 2 min within a 1 sec window.
That lead us to the idea of having the OpenTRV unit handle the conrad and then just talk to a central hub. It has the advantage that if the central hub goes out the OpenTRV box can still keep your home warm, assuming the boiler still works. And you can go to the OpenTRV and press a button for a boost of heat.
The idea of using a web interface is ok, but there are still dino's walking among us that dont even have a cell phone :-D
Would an OpenTRV unit help dev. work? or maybe access to SVN ?
Re: Heating controller with multi zone scheduling
an idea for the code,
assuming OpenTRV is added.... when you set a time and temp, let the code "learn" how fast a given room reach the target temp and calculate when to start heating, so the on time really becomes the time when the user wants the room ready.
and for those few of us that are on district heating allow a max % open valve setting.
some would say just open the valve, but that will risk sending back hot water to the district heating system and your bill will rise rather than lower. most district heating bill you in 2 parts... 1 is energy consumed, the other is cubic of water or flow if you will. just fully open the valve will give you a high flow, but you will not extract all the heat from it. where little open will give a slow flow but it will extract more heat. anyways the plant need cold return so they can get rid of the heat they generate.
In DK a lot of household waste etc are burnt and turned in to energy this way. landfills are out-law'ed and most of them have been dug up and turned to nature again. we have a fair amount of recycle stataions even for a small city thou.
Re: Heating controller with multi zone scheduling
SVN for the current code, which is for rev2 of our board: http://sourceforge.net/p/opentrv/code-0/HEAD/tree/trunk/Arduino/V0p2_Main/
Last snapshot for rev1: http://sourceforge.net/p/opentrv/code-0/HEAD/tree/trunk/Arduino/snapshot...
rev2 pcb files: http://sourceforge.net/p/opentrv/code-0/1900/tree/trunk/Arduino/V0p2_Main_PCB2/
rev1: http://sourceforge.net/p/opentrv/code-0/HEAD/tree/trunk/Arduino/snapshots/20131027-r2016-V0p2-Arduino-PCB-rev-1/V0p2_Main_PCB2/
subboard for rev1: http://sourceforge.net/p/opentrv/code-0/HEAD/tree/trunk/Arduino/snapshots/20131027-r2015-V0p2-Arduino-button-PCB-rev-1/V0p2_button_PCB/
Re: Heating controller with multi zone scheduling
away for easter holidays or busy as hell?


Kyoto, Japan
Definitely a nice change of pace from the fast-in-your-face Tokyo. Kyoto is very historic and serene. It was very calming being here.
Soundtrack
I checked out The Pokemon Centre at the top floor of one of the super shopping malls
Checked out some historical sights
I really dig the black and gold color scheme here. Very interesting Wiki on this temple.
I like that its smack dead in the middle of the town. This shrine was cool because it was an actual hike up the mountains as well. Pretty famous shrine, everyone has pics of it (and I understand why). Here's the Wiki. The shrine is dedicated to the Kami Inari, a fox for the rice grainary. Rice is the soul essence of economy, health and wealth.
After returning back to Kyoto via train, I stopped by Issen Yoshoku. This reviewer captures what this place is: "There's a sign saying there are "5 girls in kimonos inside who are famous for their beauty", which turn out to be mannequins in kimonos. They have only 1 thing on the menu which is something similar to okonomiyaki, which is also similar to Vietnamese "khanom bueng yuan"I do like the humor and atmosphere very much. Great place to have a snack and a beer" . Another good link here
Kyoto rules. I wish I had time to go to Osaka (I hear the food there is the best) since its only an hour or less bullet train ride away. To Kyoto to Tokyo was about 160min and I was able to go straight from Kyoto back to Narita for departure. I stayed at the Kyoto Granbell Hotel. This is one of my favorite hotels ever. Has a Japanese bathhouse on the bottom floor, the room was small but efficient.
You can see here you have a comfy couch that faces the bigger-than-average hotel LCD TV and the bed takes up the whole rest of the room, side to side. The bathroom is to your back left and closets to the back right
It had a state of the art Toto heated toilet (seriouly, I want one), an Apple TV. The service provided was impeccable. THe staff dressed up in Kimonos (or Yukatas in the summer). The location of this hotel is 2 blocks away from the bridge to the shops and malls of Kyoto. While the hotel is on the otherside of the bridge that is close to all the historical museums and shrines.
I think I really found the answer if an Asian can be a weeb


This library implements the GeoJSON format specification.
The GeoJson
namespace includes classes for each data structure defined in the
GeoJSON specification. Core GeoJSON objects include geometries, features, and
collections. Geometries range from primitive points to more complex polygons.
Classes also exist for bounding boxes and coordinate reference systems.
The library is published as a package and is installable via Composer:
$ composer require "jmikola/geojson=~1.0"


Application complete
You have prepaid for your prescriptions from
{{startdate}} to {{enddate}}
Your certificate number is 869 467 589
{{receipt}}
Collecting a prescription
Tell the pharmacy staff you have a prescription prepayment. You will need to tick box F on the back of the prescription.
Tell us if something changes
It is important to tell us if your name or address changes so that they match the details on your prescriptions. You can use this service to keep your details up to date. You can also change the way we contact you.
We will email you again in {{reminder}} to remind you when your prepayment will end.


PRINTED
Thursday, November 01, 2007
I got over to Grant’s by 8 AM and worked until 1 PM getting the second coat of mud on the ceiling patches and shingled the roof where I removed the swamp cooler duct. I came home and ate my lunch, showered and took a nap. Mae and I went to the Ogden Temple as our Stake Conference is this week end and our Stake asked us to attend as a Stake. After the session Mae and I went to Farr’s Ice Cream and I bought Mae a Banana Split and I had one also but mine was made of Yogurt. I worked on the computer for a few minutes and then we watched a show on DVD.
Friday, November 02, 2007
I didn’t sleep very well but slept in until 8 AM. Mae prepared breakfast and I put a few tools in the truck and went to Grant’s. No one was home so I used the key and went in. I completed the job I about 1 ˝ hours and went to Scott’s. I spent the rest of the day getting ready to paint and painting their patio cover. It was almost 5 PM when I returned home. Mae had gone to the school where Ashley and Kylan attend. It was Grandparents day for Ashley so Mae and Mishelle’s mother attended. Mae brought my lunch and we ate together. This evening I had Mae stop and get some take-out at the Little Orient for dinner. We watched two movies on cable again this evening. the one was “Christmas Division” and the 2nd was “Denial Boone”. Mae worked on her scrap books while we watched the movies. I filled in my journal before we went to bed.
Saturday, November 03, 2007
We slept in this morning. Mae gave me a hair cut this morning. I cooked breakfast of boiled egg omelets. We kept busy most of the day with little odd jobs. The day seemed to go by quite fast. Jeff and Gail brought Benji over for us to tend this evening. we took him with us to the 100 year birthday calibration of the Clearfield 1st Ward. We remembered a few of the ones that were there. A nice dinner was served but we left before the program started.. Benji was very good for us and we enjoyed showing him off as our last born grandchild. After coming home I changed clothes and attended the evening session of our Stake Conference. we watched a movie on TV before going to bed this evening. I tried to record a movie on the Hall Mark channel but was unable to get it on our TV in our bedroom. I became quite upset over it. We found out when Jeff and Gail came back to get Benji that Gail’s mother said that as of Nov. 1st the Hall Mark channel has to go through a special receiver and the old TV will not be able to receive it.
Sunday, November 04, 2007
I got up about 8 AM but the daylight saving time changed back so it was really 7 AM. I went back to bed and slept for a hour. We went out to Stansberry where we attended church. As we drove out to Stansberry, Mae read a Pro and Con to the Parent Choice in Education Act. Chelci and Steve blessed their baby today. Steve gave a very good blessing. I was privileged to be able to stand in the circle for the blessing. After the meeting we were invited to go to Steve’s parents where we visited and had a nice lunch. We went upstairs and played a game of canasta with Bob and Carroll. When I first asked Bob and Carroll if they wanted to play Bob said that Carroll wouldn’t be able to. Carroll immediately spoke up saying that she would like to play. It was a very close game this evening but Bob and I ended up winning. I think Carroll really enjoyed this evening. I read a print out of the law that we will vote for on Tuesday of the Parent Choice in Education Act. I really do not understand what I read. I have very mixed feelings as to which way to vote.
Monday, November 05, 2007
Mae made breakfast of cooked cereal. It is ok but has the texture of wall paper past. I have a hard time with that type of cereal. I then spent some time working with AutoCAD to draw some plans on building the ramp for Carroll. Bob is cleaning out the garage so we will have room to install the ramp. This afternoon Bob and I went over to Nolan’s and got three heavy plywood boards to be used for the ramp. We then went to Home Depot and bought some lumber. It was late so we will get started on the ramp tomorrow. After dinner Mae worked on the computer for a while. I called Bishop Knudsen and ask him about the candidates that are running for Clinton city council. He said that all those that are running are well qualified and would be good in that position. I took the news paper back to Bob and Carroll. Mark was in the kitchen so we got in a discussion concerning politics. That is a useless and long subject. Mae and I read a couple of lessons from the Priesthood and Relief Society manual. I worked on my journal getting two months printed of and in a binder. It was after 10 PM when I finished this entry.
Tuesday, November 06, 2007
I woke at 2 AM and at 2:30 got up. After reading from my scriptures I still wasn’t sleepy so I turned on a movie. I watched “Hart Sounds”. It was really a good movie. I heard the clock strike 6 AM and I went to sleep. I got up at 8 AM. Mae got breakfast ready while I got ready to start to work. About the time I was going out the door Robin Porter called. He wanted to get the pictures that Mae had scanned into the Byron Porter file. I copied them to a DC and showed Mae how to do it. She made more copies. Mae was also busy all morning with washing. I called Craig Sherman and they will be ready for me to finish the installation of the heat system into their home by the end of next week. Mae and I then decided to go vote as the poles are now open. We stopped at the bank and deposited some money. Bob went after some materials for me, while I removed the old steps and started cutting material. This afternoon we got the two platforms framed before we quite for the day. Mae and I went over to Ro and purchased some empty capsules. This evening after Mae cooked dinner and we ate I filled 200 capsules. We turned the TV on and the show of “Pollyanna” came on. We watched that show. I filled in my journal and took a shower before we went to bed.
Wednesday, November 07, 2007
I slept much better last night and we got up about 7:30 AM. I started work while Mae went to the grocery store for some items. I worked all day on the ramp getting quite a lot done. Bob help me until he went in to help Carroll. He then had to go to Salt Lake to the V.A. Hospital where he got a new hearing aid. Mark helped me while Bob was gone. I made some car ramps and Mark changed the oil in his car. He then had to get ready to go to the Temple. He had an assignment to attend the Temple today. Before I quite working today my 16 penny mail gun quite working. I guess I can’t complain as that gun has served me for almost 35 years. The last time I had it repaired I was told that they could no longer get parts for that model of nail guns. Mae cooked a pot of beans with a ham hock for dinner and they were very good. We turned on the TV and watched “Swiss Family Robinson” on the Hallmark Channel. We got a e-mail letter from Roger today and he wasn’t asking for us to send them money this time. It was after 10 PM when we went top bed.
Thursday, November 08, 2007
I was up early and read my scriptures. I was in a depressed mod this morning. I checked my 16 Penny nail gun and found that a small plastic part in the trigger assembly was broken. After several calls I reached Air-o-fasteners and found that they can order the part. It will take at least a week to get it so I bought a new gun. With the new gun I was able to continue with the project. Bob cooked a cabbage casserole for lunch. I worked until after 6 PM and then Bob and I cleaned up the area as Mae is having her book group this evening. I loaned Mark our camera as he is unable to get his camera to work. After showering I watched the BYU vs TCU football game. At first it looked like BYU had a easy win but TCU put up a good fight and the final score was BYU 29 TCU 22. Good game.
Friday, November 09, 2007
We got up later than usual but still ate about 8 AM. we needed some materials so we loaded the trash and materials that we need to return. We went up to the dumps and unloaded the scrap material. We then went to Home Depot and returned the extra material. We looked for other materials that we need but they didn’t have it. We sent quite a while trying to find someone to help us. we finally went to Stock’s and got what we needed. We then went to Durk’s and got the slant fin base board for Sherman’s. we gust got home when Craig Sherman called to let me know that they won’t get gas hooked up until after Thanksgiving. I worked the rest of the day in order to get finished. Mae had her hair done this afternoon. We got com cast added to the TV in our bedroom . I watched a show on TV this afternoon. Mae and I watched a show this evening.
Saturday, November 10, 2007
I thought that I would get my tools put away and the car and truck serviced but Mae asked me to cook breakfast, I then packaged the box of chicken that we bought yesterday. Mae came over and helped me and that sure sped the project up. I then tried to get our computer and power point projector to worked together. After trying several ways with no success I called Jeff. Jeff couldn’t walk me through it with out seeing my screens.  In just a few minutes Jeff showed me a way to synchronize the screen and the projector. I came home and it was time to go to the Porter Cousins Party. It was a good evening and had a good showing of Porter cousins. We missed Randy and Judy but they gad another family gathering. Robbin & Jennie, Bryce & Deanna and Mae & I reported on our missions. We got home about 9 PM. Mae and I stayed up and watched a movie on the Comcast.
Sunday, November 11, 2007
We slept in
and then enjoyed a relaxing morning. We attended Priesthood and Relief Society
in out Ward and then came home. Mae got dinner ready for the ovens while I
took a short nap. We attended Sacrament meeting in Clearfield so that we could
hear Bryce and Deanna’s report on their mission. They did very well; in fact I
think it was one of the best talks I have heard Bryce give. We took a plate of
Texas cake over to Bryce’s house but we didn’t stay. David, Shauna and the
children came over for dinner with us. Mae had a lovely dinner ready. After
dinner we set around and visited. David and I discussed the fishing trip to
the Palisade dam. It looks like all my boys and David and Tyler will be
going. We are trying to figure out the sleeping. I called
Sandi to see if Nick wants to go and bring their trailer. David also is
interested in my truck and the natural gas. The truck sales are really going
down as the gas prices are continuing to rise. Mae and I played a game of
rummy before we went to bed this evening. it was close but I won. I filled
out my journal and we went to bed.
Monday, November 12, 2007
I planned on servicing the car and pickup today but instead help Bob. I also help Mark get his carpet cut for his room. I also worked on my water storage. At 3:30 PM I went over to RaNae Barney to give her some advice about a shed she wants to build. My first understanding is that she was just adding a roof cover but before we were through visiting I realized that she was making a complete enclose. I went over to Irven and Sandy’s and checked out their kitchen range but could find nothing wrong with it. I also turned their outside water off for the year. I came home and we ate but in a few minutes I began to have quite a bit of pain. I slept for a little while in the recliner. I didn’t feel very good when we went to bed.
Tuesday, November 13, 2007
We slept in until 10:30 AM. Mae and I did go for a walk and looked at the progress of the park across the street. Again I thought I would get my car and pickup serviced. I got my tools all gathered up and put back in my trailer. I then helped Bob get some trash loaded up and I helped him with the garage. It was cold and late when we quite for the day. I am afraid that we may get snow tonight. Mae went visiting Teaching this evening. I called RaNae and I am afraid that I now have a (free be) job to work in my schedule. I caught my journal up to date and got a bill ready for Aunt Beth. She called me and said that an insurance company is going to pay the bills and asked me for a printed billing.
Wednesday, November 14, 2007
I woke at 4:30 AM and read my scriptures but was too wide awake to go back to bed. I was also afraid that I would wake Mae, so I set in the recliner and about 7 AM went back to sleep until 8 AM. I took Mae out for breakfast at Denny’s. We stopped on the way and left a bill for Aunt Beth. She thinks that an insurance company is going to cover all the expenses. We next stopped at RaNae’s and measured the area that she wants to put a shed in. I don’t know how we would get cement back to the area with out using a pump truck. I wish that she would just consider getting rid of a lot of un-needed and un-used items. It would save her a lot of money and me a lot of time. From RaNae’s we went to the grocery store for a few items and some water softener salt. This afternoon I serviced both the pickup and the car along with helping Bob and Mark. Bob and I went Home Teaching this evening and were able to visit the Casey’s and the Johnston’s. Mae and I watched a movie on Comcast before going to sleep.
Thursday, November 15, 2007
We slept until 7:30 AM but I woke having a mixed up dream and felt exhausted from the dream. Bob came down and said that he had waffles ready for breakfast. After eating Mae was working on the computer. I got the wheat grinder out and ground some flour for Mae. I called Rich and Lois to ask if they could help me get some RV Rental dealers in Idaho Falls. Lois said she would call me back later this afternoon. I started getting ready to go out and help Bob but I didn’t feel the best so I laid down on the couch in the sun room. Mae came in and read me an article and while she was reading I fell asleep. She let me sleep for over an hour. I then helped Bob load some more junk on the pickup. While he was sorting through things I cleaned our water distiller. Bob and I took the trash up to the dumps. Mae made a batch of bread and had hot home made bread when we got back. She had me come in and she had a hot slice ready for me. It was really good bread. I finished the distiller and then came in for dinner with hot scones and soup to eat. This evening Brother Thompson came Home Teaching to us. Mae worked on the budget for a while. I turned the TV on and found a show that we watched. I filled in this journal entry and we went to bed about 10:30 PM. We are trying to get some wheat sprouts growing.
Friday, November 16, 2007
I got up at 7:30 but let Mae sleep in as she left me a note telling me that she had not been able to go to sleep until after 2 AM. I read my scriptures and then worked on the computers. I down loaded the pictures that mark had taken with our camera and made him a copy of them. Bob came down and wants to go to Salt Lake to find shelf. It was after 2 PM when we got back. I finished pricing RaNae Barney’s job and printed of a copy for her. We were to meet Irven and Sandy at 5 PM so we took the price list over to RaNae on our way. She would like me to build the shed. We went out to eat with Irven and Sandy and then came back to their place and played games until 11:30 PM.
Saturday, November 17, 2007
I got up at 5 AM and Mae got up right after that. Mae went to the Temple with the Relief Society Sisters. I slept for another ˝ hour and then got up. After showering and shaving I fixed some breakfast. I called RaNae and told her that I could start on her shed on Monday. I helped Bob take some trash to the dumps. We also took the motor scooter up and left it there. When we got home we started loading more trash. I was surprised that Bob had more trash and now would have to make another trip. We could have loaded more before we made the trip. While we were loading the trash I realized that my eye glasses had fallen out of my pocket. After looking for them I am quite sure that they must have fallen out at the dumps with the last trip. There would be no use to go back to look for them. I went shopping at Sportsman Warehouse to buy equipment for our fishing trip this next week. I also bought an electrical cord for the Chee machine. This evening I watched a show on TV. Mae tended Connor for David and Shauna this evening as they were taking Emily out to a special program for her Birthday. Tyler went with another friend and his family to some other event. Connor was really cute and enjoyed the undivided attention that Mae was able to give him. Mae had bought him some chicken nuggets and I saw just one setting on the cupboard getting cold. It was just getting cold and I was cleaning up the cupboard from some mess that I had made while repairing the Chee machine. I just ate the chicken nugget with out thinking. A little while later Connor said “Where is my Chicken nugget?” He almost cried when I told him that I had eaten it. Mae satisfied him by making him a hot dog. It was 9:15 PM when David and Shauna came back to get Connor. I tried to visit and watch the end of the show at the same time. They left just as the show ended and while saying goodbye to them I missed the end of the show.
Sunday, November 18, 2007
We slept in until almost 8 AM although I had got up a couple of times and used the bathroom and read my scriptures. We showered and then went back to bed and watched the BYU channel with the Tabernacle Sunday broadcast, BYU Idaho devotional with President Monson and then another special fireside on being perfect parents. That was sure good. It was then time to go to church. Priesthood and Sunday school were very enjoyable and for the Sacrament program we had the Primary put on the program. Bob invited us for dinner and that as always was very good. This evening Mae made up invitations for our grandchildren for a Christmas party and I worked on my journal. Bob gave me an old pair of eye glasses but I think that Mae’s work a little bit better although neither will do for long. I made Mae some labels for her letters and printed them off. I made them on the Microsoft Word program this time as we have been using Word Perfect program. We will try to watch a short family DVD before going to bed. We put on some of our Family DVD’s that Mike had made for us then we put on the first of three DVD’s that David had made for up. He had found a man that could convert our old 8 millimeter home movies to DVD. We got through about ˝ of the first DVD and quite for tonight.
Monday, November 19, 2007
I got up just before 5:30 AM but let Mae sleep longer. I had to get my trailer ready and tried to get to RaNae Barney’s shortly after 8 AM. However I stopped at Bryce’s to see about getting a pair of glasses from him. It always takes longer than I had planned on when I stop and visit with Bryce. It was 8:50 AM when I got to RaNae’s. RaNae took off today from work to help me. Bryce came over for a few minutes but they were looking at real estate today. I stopped for a quick lunch and worked until almost 5 PM. We got the railroad ties laid to use as a footing, the flooring laid and one wall framed. Mae had me stop at Bryce’s and get some potatoes that Kim had sent down for the Thanksgiving dinner. Again it took longer than I planned on. Mae had dinner ready when I got home. I then took a shower and changed into my suit. Mae went with me and we visited Sister Fallis. Bob and I couldn’t visit her the other night because she didn’t feel comfortable having us visit with Brother Fallis away. I filled in my journal and I think we are going to bed.
Tuesday, November 20, 2007
I was up before the alarm went off at 5:30 AM. Mae got up a little later and made breakfast and my lunch. I was up to RaNae’s at 8 AM. Bryce came up later and worked with me most of the day. We would have had the walls all up and sheeted but about 4 AM my stapler quite working. We cleaned up the tools and I took the gun to Air-O-Fasteners. They will check it out in the morning. It was after 6 PM when I got home because of evening traffic. Mae soon had a nice dinner ready of tuna casserole, baked squash and hot parker house rolls just out of the oven. Mae baked over 6 dozen rolls for the Holiday. After eating I showered and shaved. Larry Saez came this evening and explained to supplemental insurance programs to us and we elected to change to Altius Insurance Company. I talked with David and with Jeff about our fishing trip on Friday. We soon went to bed after I entered this journal entry.
Wednesday, November 21, 2007
I worked up at RaNae’s all day today. Bryce came up and helped me. With his help I was able to finish the shed. I rented a staple gun from Universal Rental to finish stapling the siding and to lay the sheathing on the roof. I used every shingle that was bought in order to cover the roof plus I had some ridge shingles for the ridge. It was dark when I went home. Mae had some dinner for me and then we prepared the turkey for cooking. We watched a show on TV before going to bed.
Thursday, November 22, 2007
I got the turkey started cooking about 6 AM in the roaster set at 325 degrees. I covered the cooker with aluminum foil, then put on the lid and then covered the cooker with a bath towel. The turkey was about 18 lb. and was stuffed with dressing. It cooked until 11 AM when we went up to the church house to finish preparing for dinner. Mae and I also prepared our pressure cooker full of peeled potatoes which we cooked at the church. I used a new mixing beater and my heavy drill to mash the potatoes after they were cooked. All the family’s brought dinner items and we started dinner about 1 PM. We had all the Glendon and Mildred Porter in attendance except for Terry’s family and a few from our family. I believe that the count was 68 out of 82. we had a good day. Many of the family joined in some volleyball games. Our son David hurt his leg quite badly from landing on it wrong. We are not sure if it sprained, torn ligament or a break. He stayed off it the rest of the day and had to be helped to his car when he left. I think his big concern it our fishing trip tomorrow. We were tired when we finished cleaning up and got home. We had to bring things in and put them away so we were very tired when we went to bed.
Friday, November 23, 2007
We couldn’t sleep in very long as we have our sons and their family’s coming for dinner today. Mae cooked a ham adding parker house rolls and dish’s that our Daughter-in-laws brought along with some leftovers from yesterday to it. After dinner Jeff and Scott went shopping for groceries while Mike and David drove down to Murray where they rented a RV for my four sons’, plus David and Tyler and my self to use to go on a fishing trip. It was almost 4 PM when my sons and I left for Idaho. Mae kept all of our Grand children at our place for a sleep over and Christmas party. We stopped in Idaho Falls and bought fishing licenses and then drove on to the Palisades reservoir. We went fishing at the spillway from the electrical turbines. My grandson David is the only one that didn’t fish tonight. We all had good luck fishing and brought back several large trout. The trip up was very enjoyable with all of us able to be in one vehicle. We slept quite well and the RV was warm.
Saturday, November 24, 2007
We slept in and when we got up we prepared breakfast. Today was spent visiting, playing games and watching videos. Some of us took naps. I got on the bed above the cab and took a nap. I was woke with my leg cramping. I jumped up and hit my head on the ceiling. Mike and David had to pull me off the bed and lower me to the floor where I could walk the cramp out. This evening we went out fishing again. However Jeff and Scott didn’t go out. Again all of us caught fish. Tyler caught the largest fish which was over 21 inches and weighed about three pounds. David released of the fish that he and Tyler caught this evening. I think this was a problem with Tyler and he soon wanted to quite and go to the RV.
Sunday, November 25, 2007
Again to day was spent relaxing and being together as fathers and sons. The weather was very cooled today with a wind so we didn’t spend very much time out of the RV. Although we didn’t attend church meetings we did enjoy visiting, playing games and being together. It was especially interesting to me to see the very distinct different between each of my sons. It sure makes me realize that we each bring our personalities with us when we come to this earth. David Mike and Jeff had planned on fishing this evening but by late afternoon they changed their minds and we headed for home. After unpacking the RV and most heading on for homes, Mike and I flayed and packaged the fish. We brought home about 17 fish. It was good to be in our warm and clean home. I reflected several times on the handcart pioneers that we caught in the winter cold in Wyoming. They had no RV to get into to get dried off, get warm or even enough food to give them strength. I am very concerned with the future of our country in the next few years and can not help hoping that we are not out in the winter cold.
Monday, November 26, 2007
We slept in and when we got up I cooked two fish and some hash brown potatoes for breakfast. Bryce called and is laying some tile and wanted to borrow some tools. I had Mae take them to him while I cleaned the RV before returning it. I drove to RV to Murray and met David and Mike there. we turned the RV in and then David took Mike and I out to lunch where we figured out the expenses of the trip and divided them out. As I drove back home I got very sleepy so I pulled off the road in Bountiful and parked for a while to take a nap. When I got off the freeway in Clearfield I went on down to Randy and Judy’s and got some house plans from them to figure a heat system for them. Mae has been cleaning and changing the decorations in the house from Thanksgiving to Christmas. I helped her put some things away. We ate diner and watched a pretty good show on TV. We did some loving and then Mae got up to send messages to out sons. I fell asleep and Mae was on the computer for some time. She woke me and so I showered. As I have got behind on my journal entries I stayed up and entered the last six days into my journal. It is now 1:35 Tuesday morning and I am tired so will go back to bed.
Tuesday, November 27, 2007
I played a couple of games on the computer before going to bed. Good night! I slept until 8 am, so after 9 before I finished breakfast. Bob & I went over to Home Depot and got the materials to put insulation into the attic. It took us until 12:30 before we got the materials picked up. We ate some lunch and then went to work on insulating the attic. Mae went to Chuck A Rama in Bountiful where she met her cousin, Joanne, for lunch. We worked until 7:00. We finally gave up because my legs were cramping and my knees were hurting. Mae cut my hair and then I took a shower. Scott called to say their water heater is going out and wondered what to do. I told him to light the pilot and if it kept running all night then we would wait until I get back from Idaho to put in a new one, but if it doesn’t I will need to pick up a new one at Durk’s in the morning and install it for them before Mae & I leave for Idaho. We had a light supper and then I had to sleep in the recliner since I had eaten so late. Mae rubbed my feet first.
Wednesday, November 28, 2007
We got up so that Bob and I could get started with the insulation shortly after 7 AM. it was after 10 AM when we finished and then had to clean up some. It was 11:30AM when we got away for Idaho. I sure enjoyed having Mae with me. When we got to Victor we stopped and went through the home that we use to live in. It was fairly much the same as it was when we lived there. We then drove around town as I reminisced of days gone by. We stopped at Craig & Carla’s and then went out to their new house. On the way we stopped at Subway and ate. It was about 7:30 PM when we came back to Craig and Carla’s. I had to call Bob and have him call Brother Higgley as I will not be able to go to the Deseret Industries in the morning to work. I just got too many things going and forgot this assignment.
Thursday, November 29, 2007
We got up and left the house just after 7 AM. We stopped and bought a power meter before going to the house. I worked on getting the base board heater installed and hooking up all the other heat circuits that had not been ready when I came up before. When I was ready to fire the boiler it wouldn’t light. I called Tec Support at ECR International. After visiting with a Tec representative we got the unit to fire and it heated up the water. A leak initially showed just a few inches from the boiler. I took the pipes apart, cleaned the joints and then re-soldered. I re-fired the boiler and after it got up heat another joint in the manifold began to leak.  With the water spraying around, I got wet and cold. I ran the boiler for quite a while and tested the potable hot water heater. It worked very well. Craig’s son-in-law, Peter, was here doing some wiring so he said that he would keep watch on the system while he was here and then would shut it down. We came back to Craig and Carla’s and cleaned up and went to a play at Pierre’s Play House and watched a the Christmas Carol. Craig was in the play and this was a dress rehearsal, so we got in free with Craig’s invitation. It was very enjoyable. We soon went to bed after returning to the house.
Friday, November 30, 2007
We got up early hoping to get things running but again this morning the boiler would not fire. I called the Tec and he walked me through some test. The transformer is burned out so we need a complete new rheostat. After a few calls I got one on order on Over-Night delivery. I took a nap this afternoon. Peter came by so he and I went out to the house and did more checking of the boiler problems as we were concerned that the electric starter may have been damaged. We could not be sure but it look like the starter is ok. When I got back to Craig and Carla’s Mae and I played a couple of games of Rummy. After dinner this evening Carla worked with us on Family History.


Configuring functions defined as container images
You can use the Lambda console and the Lambda API to create a function defined as a container image, update and test the image code, and configure other function settings.
You cannot convert an existing .zip file archive function to use a container image. You must create a new function.
When you select an image using an image tag, Lambda translates the tag to the underlying image digest. To retrieve the digest for your image, use the GetFunctionConfiguration API operation. To update the function to a newer image version, you must use the Lambda console to update the function code, or use the UpdateFunctionCode API operation. Configuration operations such as UpdateFunctionConfiguration do not update the function's container image.
In Amazon ECR, if you reassign the image tag to another image, Lambda does not update the image version.
Topics
Function version $LATEST
When you publish a function version, the code and most of the configuration settings are locked to maintain a consistent experience for users of that version. You can change the code and many configuration settings only on the unpublished version of the function. By default, the console displays configuration information for the unpublished version of the function. To view the versions of a function, choose Qualifiers. The unpublished version is named $LATEST.
Note that Amazon Elastic Container Registry (Amazon ECR) also uses a latest tag to denote the latest version of the container image. Be careful not to confuse this tag with the $LATEST function version.
For more information about managing versions, see Lambda function versions.
Container image deployment
When you deploy code as a container image to a Lambda function, the image undergoes an optimization process for running on Lambda. This process can take a few seconds, during which the function is in pending state. When the optimization process completes, the function enters the active state.
Update the user permissions
Make sure that the permissions for the AWS Identity and Access Management (IAM) user
or role that creates the function contain the
AWS managed policies GetRepositoryPolicy
and SetRepositoryPolicy
.
For example, use the IAM console to create a role with the following policy:
{ "Version": "2012-10-17", "Statement": { [ { "Sid": "VisualEditor0", "Effect": "Allow", "Action": [ "ecr:SetRepositoryPolicy", "ecr:GetRepositoryPolicy" ], "Resource": "arn:aws:ecr:<region>:<account>:repository/<repo name>/" } ] } }
Override the container settings
You can use the Lambda console or the Lambda API to override the following container image settings:
-
ENTRYPOINT – Specifies the absolute path of the entry point to the application.
-
CMD – Specifies parameters that you want to pass in with ENTRYPOINT.
-
WORKDIR – Specifies the absolute path of the working directory.
-
ENV – Specifies an environment variable for the Lambda function.
Any values that you provide in the Lambda console or the Lambda API override the values in the Dockerfile.
Creating a function (console)
To create a function defined as a container image, you must first create the image and then store the image in the Amazon ECR repository.
To create the function
-
Open the Functions page
on the Lambda console. -
Choose Create function.
-
Choose the Container image option.
-
Under Basic information, do the following:
-
For Function name, enter the function name.
-
For Container image URI, enter the Amazon ECR image URI.
-
Or, to browse an Amazon ECR repository for the image, choose Browse images. Select the Amazon ECR repository from the dropdown list, and then select the image.
-
-
(Optional) To override configuration settings that are included in the Dockerfile, expand Container image overrides. You can override any of the following settings:
-
For Entrypoint, enter the full path of the runtime executable. The following example shows an entrypoint for a Node.js function:
"/usr/bin/npx", "aws-lambda-ric"
-
For Command, enter additional parameters to pass in to the image with Entrypoint. The following example shows a command for a Node.js function:
"app.handler"
-
For Working directory, enter the full path of the working directory for the function. The following example shows the working directory for an AWS base image for Lambda:
"/var/task"
Note For the override settings, make sure that you enclose each string in quotation marks (" ").
-
-
-
(Optional) Under Permissions, expand Change default execution role. Then, choose to create a new Execution role, or to use an existing role.
-
Choose Create function.
Updating the function code (console)
After you deploy a container image to a function, the image is read-only. To update the function code, you must first deploy a new image version. Create a new image version, and then store the image in the Amazon ECR repository.
To configure the function to use an updated container image
-
Open the Functions page
on the Lambda console. -
Choose the function to update.
-
Under Image, choose Deploy new image.
-
Choose Browse images.
-
In the Select container image dialog box, select the Amazon ECR repository from the dropdown list, and then select the new image version.
-
Choose Save.
Overriding the image parameters (console)
You can use the Lambda console to override the configuration values in the container image.
To override the configuration values in the container image
-
Open the Functions page
on the Lambda console. -
Choose the function to update.
-
Under Image configuration, choose Edit.
-
Enter new values for any of the override settings, and then choose Save.
-
(Optional) To add or override environment variables, under Environment variables, choose Edit.
For more information, see Using AWS Lambda environment variables.
Using the Lambda API
To manage functions defined as container images, use the following API operations:
To create a function defined as container image, use the create-function
command. Set the
package-type
to Image
and specify your container image URI using the code
parameter. Note that you must create the function from the same account as the container
registry in Amazon EFS.
aws lambda create-function --region sa-east-1 --function-name my-function \ --package-type Image \ --code ImageUri=<ECR Image URI> \ --role arn:aws:iam::123456789012:role/lambda-ex
To update the function code, use the update-function-code
command. Specify the container image
location using the image-uri
parameter.
You cannot change the package-type
of a function.
aws lambda update-function-code --region sa-east-1 --function-name my-function \ --imageUri <ECR Image URI> \
To update the function parameters, use the update-function-configuration
operation. Specify
EntryPoint
and Command
as arrays of strings, and WorkingDirectory
as a
string.
aws lambda update-function-configuration --function-name my-function \ --image-config '{"EntryPoint": ["/usr/bin/npx", "aws-lambda-ric"], \ "Command": ["app.handler"] , \ "WorkingDirectory": "/var/task"}'
AWS CloudFormation
You can use AWS CloudFormation to create Lambda functions defined as container images.
In your AWS CloudFormation template, the
AWS::Lambda::Function
resource specifies the Lambda function. For descriptions of the properties in
the AWS::Lambda::Function
resource, see AWS::Lambda::Function in the
AWS CloudFormation User Guide.
In the AWS::Lambda::Function
resource, set the following properties to create a function defined
as a container image:
-
AWS::Lambda::Function
-
PackageType – Set to
Image
. -
Code – Enter your container image URI in the
ImageUri
field. -
ImageConfig – (Optional) Override the container image configuration properties.
-
The AWS::Lambda::Function::ImageConfig
resource contains the following fields:
-
Command – Specifies parameters that you want to pass in with
EntryPoint
. -
EntryPoint – Specifies the entry point to the application.
-
WorkingDirectory – Specifies the working directory.
If you declare an ImageConfig
resource in your AWS CloudFormation template, you must provide values for all three
of the ImageConfig
properties.
For information about the ImageConfig
resource, see ImageConfig in the AWS Serverless Application Model Developer Guide.


Content
Brisket tri-tip prosciutto sirloin spare ribs. Pancetta cupim corned beef andouille pastrami beef burgdoggen rump tail shoulder ham bacon pork belly. Tongue shank strip steak corned beef kevin short ribs ham hock kielbasa pork brisket cupim.  Pork beef ribs spare ribs andouille cow sausage burgdoggen tenderloin buffalo pork belly short ribs biltong ham hock. T-bone chuck shankle, prosciutto burgdoggen pastrami frankfurter pork chop capicola. Frankfurter biltong hamburger cupim, ham hock strip steak short ribs chuck meatball.
This is column 1
Rump hamburger strip steak, flank salami alcatra sausage spare ribs tenderloin shank. Pork belly beef ribs flank, strip steak boudin ground round pork picanha t-bone shank meatball porchetta cow. Pork belly brisket pork loin turducken. Drumstick tail prosciutto shank bresaola, turkey short ribs cow pork chop short loin strip steak.
Pig rump shankle short ribs, tail brisket tenderloin kevin leberkas turkey. Venison pancetta meatball short loin shoulder t-bone doner tail. Andouille pork belly flank biltong cupim venison landjaeger filet mignon spare ribs ham hock. Kielbasa frankfurter sausage short ribs tri-tip pastrami. Spare ribs bacon beef, ham pork belly turkey burgdoggen tongue swine. Ground round pork brisket andouille ham hock doner, meatball landjaeger pancetta cupim meatloaf shankle.