What to do
Appropriate assignments depend on a range of factors, including the subject matter, content complexity, course level and the number of students enrolled. There are many options to consider, like short response papers, quizzes, adjusted field work and problem solving assignments. The same goes for assessment formats. Typically, they include essays, reports, presentations, skills tests, open-ended or multiple choice exams. We recommend that you review our Assessments Documentation to learn more about the digital varieties for each of the assignment and assessment options, and then determine what is most appropriate for your course. Here, you can also find information on when to run changes by your exam committee and how/when to get your ICTO support team involved. Don’t worry, we’ve got you covered.
Tools to use
Why do this
Clear assignments with useful feedback during a course are one of the most effective educational tools you have to teach your students. In both online and offline settings, assignments with feedback 1) provide an opportunity for your students to practice and to process the subject matter (students’ learning), 2) help your students to determine whether they are on track or should adjust what and how they are studying (students’ self-regulation), and 3) provide you with necessary information on your students’ understanding, progress and content related difficulties (teaching regulation). Assignments with feedback may even be more important in an online educational setting as students often miss out on informal meet-ups with peers and you to discuss difficulties or track their progress. The same goes for you. It may be difficult to keep track or stay connected to your students from a distance and determine what they need and when they need it. Assignments with feedback may help you to be the conductor of an orchestra from a distance.
Tips
- If you have more students working on the same individual assignments, consider adding peer-feedback with Feedback Fruits. Peer-feedback increases the amount of feedback for students. Sidenote, it often doesn’t save the lecturer time as he/she has a different role to fulfill; providing feedback on the peer-feedback. If you leave out this part, students often tend to underestimate the value of peerfeedback and perceive it as ineffective additional work. A plenary Zoom session or pre-recorded video to discuss the best feedback and your general view on the products (main mistakes, issues, things to attend), helps to overcome these issues.
- Use the SpeedGrader audio feedback tool in Canvas. For each student, you can record an audio message with the main feedback point. This is a fast way and provides a personal touch to your feedback.
- Consider adding a rubric to your assignment to make grading more consistent between different graders, to speed up grading, and to give students insight into how their grades came into being. Setting up a new rubric is a time-investment, but in the long run it can save you a lot of time.


The Input File¶
The input file contains a list of template files and all the VPLanet
options to vary.
An example input file, called vspace.in
, is included in this directory and its
lines are described below and is based off the IoHeat example.
The first line is
srcfolder <path-to-template-files>
This provides VSPACE
with the location of a directory that contains the template
VPLanet
input files, such as vpl.in, star.in, etc. The format of the input files
is slightly different when used with VSPACE
as described below.
The next line is
destfolder <path-to-output>
which is the name of a subdirectory that will contain all the initial conditions for the parameter sweep.
The next line is
trialname <prefix>
which specifies the prefix for subdirectories of the the parameter sweep. The prefix defaults to “default” if this command is not included.
With these top-level commands executed, the remaining lines describe how the
individual parameters are to be varied, and completes the names of the trial directories.
In the example vspace.in
file, these lines are
file jupiter.in
file io.in
dEcc [0.001,0.005,n5] ecc
dObliquity [0,10,n5] obl
file vpl.in
The general syntax for these lines are:
file <name>
<option> <sampling rules> <identifier>
<option> <sampling rules> <identifier>
…
where <name> is the name of the input file. The next lines describe how individual
options are varied. <option> is the name of the VPLanet
input option (exact match required), the <sampling rules> describe the manner in
which the parameter is distributed (described in more detail below in the Sampling
Rules
section), and <identifier> is a string that is appended to the trialname
prefix in the destfolder subdirectories. VSPACE
will vary all parameters listed
after a “file” command until it reaches the next “file” command or the end of the
file.
This example will create subdirectories with names like
test/trial_ecc0obl0
with files jupiter.in, io.in, and vpl.in that would be identical to those files in the srcfolder except dEcc and dObliquity would have values that follow the sampling rules in io.in. The numbers after each <identifier> uniquely identifies the subdirectory.
Once the directories have been created, they can all be executed with a single command using the multi-planet script.
You can additionally remove options from a source file with the following command:
rm <option name>
For the time being, this merely comments out the matching line.
Sampling Rules¶
VSPACE
has two sampling modes: grid and random, which are specified with the word
“samplemode”. For example:
samplemode random
will allow you to generate trials that are randomly distributed.
Grid Mode¶
VSPACE
allows for 3 submodes to generate trials that explore a gridded parameter
space, i.e even spacing. These submodes are explicit, linear, and
logarithmic. Each adheres the following syntax:
<option> [start, end, spacing] <identifier>
In all modes the “start” and “end” values represent the limits of the parameter to be surveyed and are inclusive of the end points.
Explicit Submode¶
In this grid submode, the “spacing” value is just a number that represents the
interval in between trials.``VSPACE`` will create as many trials as necessary
to follow the sampling rules, and will not necessarily include a trial at the
end value. For example, to generate trials that vary dSemi
from 1 to 2
with a spacing of 0.1, the syntax is:
dSemi [1, 2, 0.1] a
Linear Submode¶
To sample the grid linearly with a specific number of trials that are evenly spaced, change the spacing to be an “n” followed by an integer that represents the number of values to generate. For example, the previous example could be rewritten as
dSemi [1, 2, n11] a
which would generate 11 trials, equally spaced, from 1 to 2, i.e. every 0.1.
Negative values are allowed, but if you are providing the spacing, rather than using the “n” or “l” option, either provide a negative spacing or swap the start and end values. For example:
dRadius [-1, -2, -0.1] R
or,
dRadius [-2, -1, 0.1] R
rather than dRadius [-1, -2, 0.1] R
.
NOTE: VSPACE
will NOT check whether a minus option causes
VPLanet
to change the units, so make sure you check vplanet -h
.
If you use negative values for a parameter that has alternate units for a
negative option, the outcome will most likely be wrong!
Logarithmic Submode¶
To change the spacing to be logarithmic, use “l” instead of “n”:
dSemi [1, 1000, l10] a
which would generate ten trials, logarithmically spaced, from 1 to 1000.
Pro Tip: As described above, you can vary more than one parameter at a time. While this can be very useful, you have the power to generate a large number of files very quickly. Use this feature wisely: test with small numbers first to ensure that files appear in the correct locations and that initial conditions are indeed output with the desired values (check the histograms).
Random Mode¶
The random mode contains four submodes: uniform, Gaussian, sine and
cosine. The syntax for generating randomly sampled data is similar to grid
mode, with a few noteable differences. In random mode, one MUST set the variable
randsize
to an integer value that is the number of trials:
randsize <number of trials>
Additionally, it is good practice to seed the random number generator, to allow for
more easily reproducible results. This initialization is accomplished with the
variable seed
:
seed <some integer>
Uniform Submode¶
A uniform distribution is sampled like so:
<option> [<min>, <max>, u] <prefix>
where <min> and <max> are the limits.
Gaussian Submode¶
For Gaussian/normal distributions, the syntax is:
<option> [<mean>, <width/stdev>, g] <prefix>
An example would be:
dEcc [0.1, 0.01, g] e
For some parameters, you may want to truncate the distribution at certain values, for example, dEcc should not be < 0 or > 1. You can provide cutoffs with 4th and/or 5th arguments in the brackets with the keywords “min” or “max”:
dEcc [0.1, 0.01, g, min0.0, max1.0] e
You do not need to provide both min and max if you need only one, and the order does not matter.
Sine and Cosine Submodes¶
For angles, you may want to sample the sine or cosine of the angle uniformly,
rather than sampling the angle itself uniformly. You can accomplish this
with s
or c
, for sine and cosine respectively:
<option> [<low angle>, <high angle>, s] <prefix>
<option> [<low angle>, <high angle>, c] <prefix>
Note that <low angle> and <high angle> should be the min and max values of the ANGLE,
not the sine or cosine of the angle. NOTE: The units of the angle can be either radians or degrees, but
must be consistent with your primary input file, usually vpl.in
– VSPACE
determines the unit from
this file.
Template Files¶
The template files are nearly identical to standard VPLanet
input files except
that they should not include the parameters to be varied.


Winter Wonderland opening date, times and how much does it cost to enter?
With Christmas fast approaching, it’s time for things to get festive in London’s Hyde Park as the annual Winter Wonderland opens for business.
The event is always hugely popular, with people making the most of the rides as much as they enjoy the mulled wine and bratwurst on offer in addition to all of the attraction’s other Christmas goodies.
So just when does it open for business, and how much does it cost to get in?
Here’s what you need to know…
When does Hyde Park Winter Wonderland open?
Winter Wonderland 2019 opens its doors in Hyde Park on Thursday, 21 November from 4pm.
It’s then open every day (except for Christmas Day) until Sunday 5 January 2020.
What time is Winter Wonderland open until?
Apart from its opening day it’ll be open from 10am to 10pm every day that it’s open.
Advertisement Advertisement
How much are Winter Wonderland tickets?
Entry to Winter Wonderland is free – but you’ll have to pay for the various rides and attractions once you’re in there.
If you want to go on the rides you’ll need to pay for them with tokens, which you can buy from the token booths on site.
Alternatively you can use your contactless card on rides with their ‘tap and pay’ system, or purchase a Season Ride Pass which has unlimited use – just top it up on site, online or on your phone.
There’s a minimum of £20 pre-payment when you first order the card – while organisers will give you a £5 bonus if you spend £80 on it.
For more information check out the official website.
How much are the rides at Winter Wonderland?
Prices for the rides vary, and the fairground rides cannot be booked in advance.
However the various special attractions can be booked in advance online,with prices varying according to when you go.
For example, an adult ticket for the ice-skating costs £14.50 on a weekday, but £15.50 if you go on a Saturday evening.
This year there are also several new attractions at Winter Wonderland which can all be booked before you go.
Here are the attractions you can pay for in advance this year:
Advertisement Advertisement
- Ice skating
- Bar Hutte Karaoke
- Ice sculpting workshops
- Bar Ice
- Winter Wonderland Comedy Club
- Magical Ice Kingdom – A Christmas Carol (new for 2019)
- Zippo’s Christmas Circus (new for 2019)
- Cirque Berserk (new for 2019)
- Paddington On Ice (new for 2019)
- Mr Men and Little Miss – The Show (new for 2019)
- Giant Wheel (new 70mm wheel, new for 2019)
As well as buying tickets for those attractions, special ticket bundles are also available for the ice rink Paddington on Ice, Zippos Circus, Cirque Berserk and Mr Men and Little Miss Show.
For more information on prices and how to buy, visit the official website.
Is there a map of Winter Wonderland?
There most certainly is – click here for how to plan your visit.


The road to a developer preview at OSCON 2013
There’s been a crazy stream of activity since the start of the year, but the most important news is that we have a release target for an integrated developer preview of the Mirage stack: a talk at O’Reilly OSCon in July! Do turn up there and find Dave Scott and Anil Madhavapeddy showing off interactive demonstrations.
Meanwhile, another significant announcement has been that Xen is joining the Linux Foundation as a collaborative project. This is great news for Mirage: as a library operating system, we can operate just as easily under other hypervisors, and even on bare-metal devices such as the Raspberry Pi. We’re very much looking forward to getting the Xen-based developer release done, and interacting with the wider Linux community (and FreeBSD, for that matter, thanks to Gabor Pali’s kFreeBSD backend).
Here’s some other significant news from the past few months:
-
OPAM 1.0 was released, giving Mirage a solid package manager for handling the many libraries required to glue an application together. Vincent Bernardoff joined the team at Citrix and has been building a Mirage build-frontend called Mirari to hide much of the system complexity from a user who isn’t too familiar with either Xen or OCaml.
-
A new group called the OCaml Labs has started up in the Cambridge Computer Laboratory, and is working on improving the OCaml toolchain and platform. This gives Mirage a big boost, as we can re-use several of the documentation, build and test improvements in our own releases. You can read up on the group’s activities via the monthly updates, or browse through the various projects. One of the more important projects is the OCamlot continuous build infrastructure, which will also be testing Mirage kernels as one of the supported backends.
-
As we head into release mode, we’ve started weekly meetings to coordinate all the activities. We’re keeping notes as we go along, so you should be able to skim the notes and mailing list archives to get a feel for the overall activities. Anil is maintaining a release checklist for the summer developer preview.
-
Anil (along with Yaron Minsky and Jason Hickey) is finishing up an O’Reilly book on Real World OCaml, which will be a useful guide to using OCaml for systems and network programming. If you’d like to review an early copy, please get in touch. The final book is anticipated to be released towards the end of the year, with a Rough Cut at the end of the summer.
-
The core system was described in an ASPLOS 2013 paper, which should help you understand the background behind library operating systems. Some of the Mirage libraries are also currently being integrated into the next-generation Windsor release of the Xen Cloud Platform, which means that several of the libraries will be used in production and hence move beyond research-quality code.
In the next few months, the installation notes and getting started guides will
all be revamped to match the reality of the new tooling, so expect some flux
there. If you want to take an early try of Mirage beforehand, don’t forget to
hop on the #mirage
IRC channel on Freenode and ping us with questions
directly. We will also be migrating some of the project infrastructure to be fully
self-hosted on Mirage and Xen, and placing some of the services onto the new xenproject.org infrastructure.
- Irmin 0.12 with portable filesystem watching released
- MirageOS Summer 2016 Hackathon roundup
- MirageOS Summer 2016 Hackathon announcement, and talk roundup
- MirageOS Spring 2016 Hackathon!
- MirageOS security advisory 00: mirage-net-xen
- Introducing Functoria
- Run Mirage Unikernels on KVM/QEMU with Solo5
- MirageOS hackathon
- Introducing Charrua — a DHCP implementation
- Unikernel.org


Blueprint CSS has multiple ways to center columns.
Using a combination of row center middle we can create centered containers.
row center middle


87409 Questions
Votes
Answers
I have a code in that I am able to develop 3D cube that can be rotated byswiping. My requirement is : I want to build 3d cube with all side walls with one color and top and bottom with one color and...
Votes
Answers
I have a code in that I am able to develop 3D cube that can be rotated byswiping. My requirement is : I want to build 3d cube with all side walls with one color and top and bottom with one color and...
Votes
Answers
Lorem ipsum dolor sit amet consectetur, adipisicing elit. Iusto architecto, animi commodi consequuntur dolorum quidem delectus unde dignissimos suscipit tempora molestiae autem natus repellendus, obcaecati ad laborum nemo incidunt doloribus?
Votes
Answers
I have a code in that I am able to develop 3D cube that can be rotated byswiping. My requirement is : I want to build 3d cube with all side walls with one color and top and bottom with one color and...
Votes
Answers
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Saepe, qui! Lorem ipsum dolor sit amet consectetur adipisicing elit. Eveniet? Lorem ipsum dolor sit amet, consectetur adipisicing elit. Amet quod molestiae repudiandae. Aliquam omnis molestias minima vel enim labore sed asperiores, sunt dignissimos pariatur earum, ut nesciunt repellat accusamus dolores ratione ipsam maiores rem libero quasi quod! Culpa quasi explicabo magnam atque ipsam unde debitis itaque! Itaque, asperiores magnam illum animi ab fuga corporis cum. Tenetur quos dolore laboriosam. Saepe, laudantium? Atque vel, ipsa nostrum mollitia maxime assumenda ipsum minus?
Votes
Answers
I have a code in that I am able to develop 3D cube that can be rotated byswiping. My requirement is : I want to build 3d cube with all side walls with one color and top and bottom with one color and...
Some quick example text to build on the card title and make up the bulk of the card's content.
Change Password


Source code for tools.secret_manager
import configparser
from cryptography.fernet import Fernet
import os
[docs]class SecretManager():
"""Class for managing passwords to teleserver
"""
def __init__(self, secret_file='/usr/local/teleserver/secret.ini'):
"""Init method for SecretManager class
:param secret_file: Absolut path to file where to store secrets
:type secret_file: str
"""
self.secret_file = secret_file
[docs] def get_credentials(self):
"""Get list of credentials
:return: List of credentials
Where [0] is user and [1] is password
:rtype: list
"""
if os.path.isfile(self.secret_file):
config = configparser.ConfigParser()
config.read(self.secret_file)
key = config['KEY']['key']
user_crypt = config['PASS']['user']
pass_crypt = config['PASS']['pass']
return [self.decrypt(key, user_crypt), self.decrypt(key, pass_crypt)]
else:
return ['', '']
[docs] @staticmethod
def decrypt(key, var):
"""Decrypt variable with a key
:param key: key to decrypt
:type key: str
:param var: variable to decrypt
:type var: str
:return: decrypted variable
:rtype: str
"""
f = Fernet(key)
return f.decrypt(bytes(var, 'utf-8')).decode('utf-8')
[docs] def encrypt_credentials(self, user, password):
"""Encrypt credentials
:param user: Username
:type user: str
:param password: Password
:type password: str
:return: Encrypted user and password with key
- encrypted user
- encrypted password
- key to decrypt user and password
:rtype: str
"""
key = Fernet.generate_key()
user_crypt = self.encrypt(key, user)
pass_crypt = self.encrypt(key, password)
return user_crypt, pass_crypt, key.decode('utf-8')
[docs] @staticmethod
def encrypt(key, var):
"""Encrypt variable with key
:param key: Key to use to encrypt
:type key: str
:param var: Variable to encrypt
:type var: str
:return: Encrypted variable
:rtype: str
"""
f = Fernet(key)
return f.encrypt(bytes(var, 'utf-8')).decode('utf-8')
[docs] def set_credentials(self, user, password, file_loc='/usr/local/teleserver/secret.ini'):
"""Set user, password credentials in file
:param user: username
:type user: str
:param password: password
:type password: str
:param file_loc: Location of secret file
:type file_loc: str
"""
user_crypt, pass_crypt, key = self.encrypt_credentials(user, password)
config = configparser.ConfigParser()
config['PASS'] = {'user': user_crypt,
'pass': pass_crypt}
config['KEY'] = {'key': key}
with open(file_loc, 'w') as dest_file:
config.write(dest_file)


| Website Payments Pro Samples |
|---|
| DoDirectPayment - Sale |
| DoDirectPayment - Authorization |
| ExpressCheckout - Sale |
| ExpressCheckout - Authorization |
| ExpressCheckout - Order |
| Administrative Samples |
| Authorization |
| DoCapture |
| DoVoid |
| GetTransactionDetails |
| TransactionSearch |
| RefundTransaction |
| Reauthorization |
| MassPay |
| GetBalance |


Drag the bar to place them, click "Ready" to set the nutrition. The way you place will affect the way nutrition moves
Step2
As nutrition moving, flower will gradually grow when nutrition hit the edge of vase. They will stop once the flower is grown up.
Step3
Click flower to hear Daphne's story, click "Skip" to skip the audio.
Daphne's Laruel
By Leah Dou and Billy Zou
Myth of Apollo and Daphne.
Apollo is the God of Sun in Greek myth, he fall in crazy love with young girl, Daphne. The Sun God started his pursure to Daphne. The young lady, however, doesn't catch on this crazy love. But she can never escape from the Sun God. Hopeless, she became a laruel to avoid enthusiasm of the Sun God.
Instrustion
You will have the laruel tree,Daphne planted in the vase. Drag the blockes and control the crash of nutritions(balls) in the vase. Every time the nutritions hit the edge of vase, the flower will bloom a bit. Bars will control the speed and way that nutrition moves.Once the flower blooms, click to listen to Daphne's story.


{% for productImage in product.productImages %} {% include 'shop/_includes/product/productpage/_productImages' %} {% endfor %} {{ product.title }} {% if avgRating > 0 %} {{ prodmac.starRating(avgRating) }} {% endif %} {% include 'shop/_includes/product/productpage/_productForm' %} {% include 'shop/_includes/product/productpage/_productShareLinks' %} {% include 'shop/_includes/product/productpage/_productDescription' %} {% include 'shop/_includes/product/productpage/_productEffects' %} {% endminify %} {% endcache %} {% cache globally using key "product-reviews-" ~ craft.request.path unless currentUser %} {% minify %} {% set ratings = craft.commentsrating.elementRatings(product.id) %} {% set params = {order: 'dateCreated desc'} %} {{ craft.comments.form(product.id, params) }} {% endminify %} {% endcache %} {% cache globally using key "related-products-" ~ craft.request.path %} {% minify %}


Provides companion function for analysing the performance of classification models. Also, provides function to optimise probability cut- off score based on used specified objectives, Plot 'ROC' Curve in 'ggplot2', 'AUROC', 'IV', 'WOE' Calculation, 'KS Statistic' etc to aid accuracy improvement in binary classification models.
| Version: | 1.2.3 |
| Depends: | R (≥ 3.0.0) |
| Imports: | ggplot2, data.table |
| Suggests: | knitr |
| Published: | 2016-10-30 |
| Author: | Selva Prabhakaran |
| Maintainer: | Selva Prabhakaran <selva86 at gmail.com> |
| BugReports: | https://github.com/selva86/InformationValue/issues License: GPL (>= 2) |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| URL: | http://r-statistics.co/Information-Value-With-R.html |
| NeedsCompilation: | no |
| Materials: | README |
| CRAN checks: | InformationValue results |
| Reference manual: | InformationValue.pdf |
| Vignettes: |
Vignette Title Subtitle |
| Package source: | InformationValue_1.2.3.tar.gz |
| Windows binaries: | r-devel: InformationValue_1.2.3.zip, r-release: InformationValue_1.2.3.zip, r-oldrel: InformationValue_1.2.3.zip |
| OS X binaries: | r-release: InformationValue_1.2.3.tgz, r-oldrel: InformationValue_1.2.3.tgz |
| Old sources: | InformationValue archive |
| Reverse imports: | HybridFS |
Please use the canonical form https://CRAN.R-project.org/package=InformationValue to link to this page.


Diane Curry Encourages a Love of Reading at River Hill HS
“I always read. In every picture of me as a kid, I had a book in my hand,” Diane Curry said. Curry has taken that passion and turned it into an impressive career of encouraging the next generation of book lovers—she’s now enjoying her 21st year in the River Hill High School English department. She’s also the lead teacher in coordinating the school’s growing JumpStart program, a dual enrollment program with Howard Community College (HCC).
More News | Events | Reminders
More News
Talk With Me Celebrates a Successful First Year
In its first year of implementation, Talk With Me • Howard County staff and volunteers have spread the word about the brain-building power of positive early interactions to more than 300 parents and almost 100 childcare providers, agency staff and community members in Howard County.
Long Reach HS Teacher Inducted into Baseball Coaching Hall of Fame
Social Studies Teacher Tim O’Brien was recently inducted into the Maryland State Association of Baseball Coaches Hall of Fame.
Events
Schedule Change: Howard County History Day
The History Day schedule has been abridged, and the Community Roundtable and Awards Assembly will no longer take place during the March 14 event. Details are provided online.
Food for Thought: Youth Art Month Exhibit
Ongoing through Friday, April 17, 10 a.m.-8 p.m., Howard County Center for the Arts
The public is invited to view hundreds of artworks by HCPSS grade K-12 students, inspired by the theme, Food for Thought: Breaking Bread, Building Community. A free public reception will be held on Wednesday, March 18, 5-7 p.m.
Get Involved in Student Leadership and Service
Wednesday, March 11, 7-8:30 p.m., Homewood Center Cafeteria
All middle and high school students are invited to learn how you can engage and make an impact at both the county and school levels at the monthly meeting of the Howard County Association of Student Councils (HCASC).
Community Advisory Council Meeting
Wednesday, March 11, 7 p.m., Department of Education Board Room
The agenda includes a presentation on school system transportation by David Ramsay, HCPSS Transportation Director. CAC meetings are open to the public.
Elementary G/T and Honor Band Concert
Sunday, March 15, 3 p.m., Howard High School
The community is invited to attend performances by the HCPSS Elementary Honor and Elementary Gifted and Talented bands.
Reminders
Summer Program Registration Requests Open Through March 16
Online enrollment requests may be submitted through HCPSS Connect Synergy. Additional information regarding how payments can be made and what courses are no longer enrolling students are available through the Summer School Programs webpage.
Public Hearing on School Activity Funds Policy: Time Change
The Board will hold a public hearing on Policy 4030: School Activity Funds during the Thursday, March 12 Board meeting, which begins at 3 p.m. Learn how you can provide testimony.
Restorative Justice in Education Conversation
The community is invited to attend a conversation and book signing on Monday, March 23 with Kathy Evans, who co-authored “The Little Book of Restorative Justice in Education.”
Recruitment Event for Teachers of Color
During this full-day event on Tuesday, March 24, participants will learn about teaching positions in HCPSS, discover how HCPSS supports and develops educators, tour some schools and start the application process.
Coronavirus Updates
For continued updates from HCPSS Superintendent Michael J. Martirano on the 2019 Novel Coronavirus, or COVID-19, visit the school system’s Coronavirus webpage.
Please visit the HCPSS website Community News and Programs page for upcoming events and programs sponsored by non-profit organizations.
|
|
|


CrimPapers
Articles published on 10 October 2017
On 10 October 2017, 6 new articles were published in 5 journals.
The Contingent Effects of Fatherhood on Offending
Attitudes Mediate the Intergenerational Transmission of Corporal Punishment in China
A Measure of Tolerance: Public Attitudes on Sentencing Enhancements For Old and Juvenile Prior Records by Rhys Hester, Julian V. Roberts, Richard S. Frase, Kelly Mitchell
What Do Supervision Officers Do? Adult Probation/parole Officer Workloads in A Rural Western State by Adam K. Matz, Timothy B. Conley, Nicole Johanneson
Operation Demetrius and Its Aftermath: A New History of the Use of Internment Without Trial in Northern Ireland 1971–75, By Martin J. McCleery by Reviewed By Tony Craig
The Sayyid Qutb Reader: Selected Writings on Politics, Religion and Society by John C. Zimmerman


Data protection
The European Union is committed to user privacy.
The policy on "protection of individuals with regard to the processing of personal data by the Community institutions" is based on Regulation (EC) N° 45/2001 of the European Parliament and of the Council of 18 December 2000.
This general policy covers the European Union's family of institutional Web Sites, within the eu domain.
Although you can browse through most of these Web Sites without giving any information about yourself, in some cases, personal information is required in order to provide the e-services you request.
Web Sites that require such information treat it according to the policy described in the Regulation mentioned above and provide information about the use of your data in their specific privacy policy statements.
In this respect:
- For each specific e-service, a controller determines the purposes and means of the processing of personal data and ensures conformity of the specific e-service with the privacy policy;
- Within each Institution, a Data Protection Officer ensures that the provisions of the Regulation are applied and advises controllers on fulfilling their obligations (see art. 24 of the Regulation);
- For all the Institutions, the European Data Protection Supervisor will act as an independent supervisory authority (see art. 41 to 45 of the Regulation).
The European Union's family of institutional Web Sites, within the eu domain, provides links to third party sites. Since we do not control them, we encourage you to review their privacy policies.
What is an e-service?
An e-service on EUROPA is a service or resource made available on the Internet in order to improve the communication between citizens and businesses on the one hand and the European Institutions on the other hand.
Three types of e-services are or will be offered by EUROPA:
- Information services that provide citizens, media, business, administrations and other decision makers with easy and effective access to information, thus increasing transparency and understanding of the policies and activities of the EU;
- Interactive communication services that allow better contacts with citizens, business, civil society and public actors thus facilitating policy consultations, and feedback mechanisms, in order to contribute to the shaping of policies, the activities and the services of the EU;
- Transaction services that allow access to all basic forms of transactions with the EU, e.g. procurement, financial operations, recruitment, event enrolment, acquisition or purchase of documents etc.
Information contained in a specific privacy statement.
A specific privacy policy statement will contain the following information about the use of your data:
- What information is collected, for what purpose and through which technical means the EU collects personal information exclusively to the extent necessary to fulfil a specific purpose. The information will not be re-used for an incompatible purpose;
- To whom your information is disclosed. The EU will only disclose information to third parties if that is necessary for the fulfilment of the purpose(s) identified above and to the mentioned (categories of) recipients. The EU will not divulge your personal data for direct marketing purposes;
- How you can access your information, verify its accuracy and, if necessary, correct it. As a data subject you also have the right to object to the processing of your personal data on legitimate compelling grounds except when it is collected in order to comply with a legal obligation, or is necessary for the performance of a contract to which you are a party, or is to be used for a purpose for which you have given your unambiguous consent;
- How long your data is kept. The EU only keeps the data for the time necessary to fulfil the purpose of collection or further processing;
- What are the security measures taken to safeguard your information against possible misuse or unauthorised access;
- Whom to contact if you have queries or complaints.


Summary
Subexpressions are used to group parts of an expression together and are defined using ( and ). Common uses for subexpressions include being able to control exactly what gets repeated by the repetition metacharacters and properly defining OR conditions. Subexpressions may be nested, if needed.
|


Who are we?
We here at Disobey wish to encourage hacker culture, and bring together like minded individuals at
a gathering to share information and to train the skills our adversaries use against us. Our
goal is to foster a vibrant community of creators, makers and breakers.
We value encouragement, creativity and sharing and believe everyone can teach us something about
the world.


'The Godfather Part II' (1974)
A retrospective movie review by Walter Frith
Member of the 'Internet Movie Critics Association http://www.geocities.com/Hollywood/Studio/5713/index.html
and
The 'Online Film Critics Society' http://smart.sbay.com/ofcs/
There are very few movie sequels that are better than the original and while most are not, there have been some exceptions. Personally, I enjoyed the second installment in the 'Alien' series, directed by James Cameron which, so far, has been the most exciting. 'Lethal Weapon 2' is better than the original and along with 'The Empire Strikes Back', 'The Godfather Part II' is debated by more people, particularly film buffs, as being superior or almost as good as its original. 'The Godfather' is my favorite film of all time and 'The Godfather Part III' in 1990 serves as an entertaining film in which director Francis Ford Coppola finds a new angle worthy of exploring. It details how the Corleone family tries to go legitimate and how their destiny prevents them from doing so. 'The Godfather Part II' falls just short of being better than the original 'Godfather' film for two reasons. It has a more cerebral pace than the first film and it's technically flat. Coppola hardly moves the camera at all and the editing is standard with no real inventive cuts possessing greatness. Don't get me wrong, the film is still brilliant and ranks as #3 on my all time list. I am only comparing it to 'The Godfather' and not other films in general. The academic qualities in 'The Godfather Part II' are its saving grace. Character development, clandestine scenes of criminal activity and thought provoking dialogue with a dramatic wit are in many ways, as compelling as the first film.
'The Godfather' starts in 1945 and spans approximately ten years. As 'The Godfather Part II' opens, Michael Corleone is now head of America's most powerful organized crime family and a servant kisses his hand over the opening theme music and the two of them leave Michael's office with Michael's leather backed chair in focus symbolizing the throne of a king. Next, the setting is Sicily, circa 1901. The lettered message across the screen tells us that Vito Corleone (Marlon Brando's character from the first film) was born Vito Andolini in the town of Corleone in Sicily. His father and brother were murdered by the local Mafia chieftain who murders Vito's mother and the young boy Vito, nine years old in 1901, is sent by friends to America where he arrives at Ellis Island. The film then shifts forward to 1958, three years after 'The Godfather' left off and we are witnessed to Anthony Corleone's first communion ceremony. Anthony is Michael's son, and the Corleone family has now moved all of their business interests and living quarters to Lake Tahoe, Nevada. There is a big party on the property to celebrate the boy's important religious occasion; much in the same way a wedding was used in the first half hour or so in 'The Godfather' to introduce its characters to the audience. Michael (Al Pacino) returns with his brothers Tom (Robert Duvall) and Fredo (John Cazale). Their mother (Morgana King) and sister Connie (Talia Shire) are shown along with Michael's wife Kay (Diane Keaton) and a new character named Frank Pentangeli (Michael V. Gazzo) would turn out to be a pivotal character later in the film.
One of the first meetings we see is between Michael, his associates and a corrupt and mean spirited Nevada senator, played with a sinister sliminess by G.D. Spradlin. Michael then meets his sister Connie who is engaged to marry a man she hardly knows and comes to Michael for money. The sense of family bonding and loyalty is missing from the first film by the time the first half hour or so is up in 'The Godfather Part II' and this is a clever tone that Coppola gives the film, signifying the downfall of the Corleone empire from its once great place on the map of American organized crime. An attempt is made on Michael's life as bullets come whizzing through his bedroom window as he and his wife are about to retire for the evening. Michael is a more ruthless and cold hearted boss than his father was. His father (Marlon Brando, not seen in Part II) always rejected the notion of narcotics and referred to gambling as "a harmless vice". We assume that Michael has made a move towards the narcotics business in Part II since he is questioned about it in a Senate committee hearing on organized crime later in the film.
One of the big acquisitions the Corleone family has made is in Nevada casinos. They next plan to make a move to take over casinos in Cuba and the character of Hyman Roth (Lee Strasberg) is played in reference to Meyer Lansky, a real life mob figure. Roth lives in Miami and Michael travels to see him. Michael and Roth are business partners who plan to take over the Cuban casinos together. We then learn through a reference to the attempt on Michael's life earlier in the film that Roth was the one who set it up. He says to Michael: "I heard you had some trouble. Stupid, people behaving that way with guns." How would he know what happened to Michael unless he gave the order, particularly involving guns. Not realizing he has given himself away to Michael, Michael plots to kill him on their trip to Cuba.
At some point around this time and throughout the entire run of 'The Godfather Part II', we shift back and fourth from the present to the past to tell two stories, Michael's control of the family towards the end of the fifth decade of the twentieth century to the days around World War I in New York City where Vito Corleone (Robert DeNiro, playing Brando's character from the first film as a young man this time), is seen in his beginnings as a humble and hard working immigrant to his rise as THE GODFATHER. Robert DeNiro is the only member of the cast that was honoured with an Oscar for his work. He won the Best Supporting Actor prize and Brando and DeNiro are the only two actors to date, to win an Academy award for playing the same character.
Vito Corleone works in a grocery store and spends his time as a loving husband to his beautiful wife and as a loving father to his newborn son Santino (James Caan in 'The Godfather) and he sees how the neighbourhood he lives in is prey to the delight of Don Fanucci (Gastone Moschin). He collects money from all the merchants and takes things without paying for them. The citizens kiss his hand upon seeing him and he controls the police and keeps the neighbourhood living in fear. Determined not to be a puppet, held by the strings of big shots (the logo for the 'Godfather' films), Vito Corleone along with a young Peter Clemenza (Bruno Kirby) and Sal Tessio (John Aprea), slowly begin claiming neighbourhood territory for themselves. They begin as petty thieves and work their way up to establishing a front for their illegal business which is the legitimate Genco olive oil company. Vito Corleone would later settle the score with the Mafia chieftain responsible for killing his entire family.
As 'The Godfather Part II' becomes more and more engrossing with each passing frame, the film shows family betrayals and some historical fact as well. The scenes with Michael and Hyman Roth in Cuba are set at the end of 1958. The Cuban presidential palace is host to a party of international dignitaries on New Year's Eve when the current president steps down during a bloody revolution and the birth of the Castro regime was formed, kicking out the Mafia under the communist ruled system and everything to do with their business, including control of the casinos.
Michael's marriage to Kay falls apart throughout the film, and Michael begins to see that he constructed his empire the wrong way, a way in which resistance to his plans was easy. Michael lacked the political skill his father had to keep everything in line and Michael's under handed control of the family is something his father would not approve of. There are references to Shakespearean themes in 'The Godfather Part II" and Part III has a more clearly defined passage of them and a clearer and less cerebral pace. 'The Godfather Part II' is certainly the most ambitious movie sequel ever made. Its determination to be on a larger scale in terms of its production values and diversification of characters within organized crime is to be admired. To many, it was a film that had an acquired taste. Coppola is quoted as saying in a documentary on all three films that there were disastrous previews for Part II and he was nervous about its release.
Critics were impressed. Audiences were slower and less fouthcoming but the Academy gave it six Oscars, three more than the original. 'The Godfather' won three for Best Picture, Best Actor (Marlon Brando) and Best Screenplay Adaptation (Francis Ford Coppola and Mario Puzo), based on Puzo's novel. 'The Godfather Part II' was honoured with Oscars for Best Picture, Best Director (Francis Ford Coppola), Best Screenplay Adaptation (Francis Ford Coppola and Mario Puzo), Best Supporting Actor (Robert DeNiro), Best Art Direction/Set Decoration and Best Original Music Score for Carmine Coppola, Francis' father. The film has the distinction being one in only a handful of films in history to receive five Oscar nominations for acting. Al Pacino for Best Actor, Talia Shire for Best Supporting Actress and Michael V. Gazzo, Lee Strasberg and Robert DeNiro for Best Supporting Actor.
'The Godfather Part II' is an example of how a carefully crafted sequel to a great film can work when attention is paid to its artistic quality. An element of distinction between integrity and a film's dollar value can be the difference between a director who lives for the moment or one that lives forever. Like the music of Mozart and Beethoven, the paintings of Michaelangelo and the invention of aviation, Coppola's 'Godfather' films will live and fly forever.
Visit FILM FOLLOW-UP by Walter Frith http://home.netinc.ca/~wfrith/movies.htm
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Models module¶
This module contains functions to aid in the building of the CNN architecture used by us in the paper
-
models.
distance_model
(n_channels=1, shape=None, N_Cls=2)[source]¶ Builds the CNN U-net model described in paper in Keras to learn centriole distancing on local image patches.
Parameters: - n_channels : int
number of input image channels.
- shape : None or 3-tuple
(n_rows x n_cols x n_channel) assuming tensorflow format. If None, the model is fully convolutional and can be applied to any size input.
- N_Cls : int
number of output channels, should equal the number of channels in annotations.
Returns: - model : a Keras Model class
CNN model instance. Use model.summary() to get a print out of architecture.
-
models.
train_model
(train_data, test_data, model, model_name, optimizer, loss='mse', scale_factor=1000.0, batch_size=128, max_epochs=200, early_stop=True, plot_history=True)[source]¶ Code to train a given model and save out to the designated path as given by ‘model_name’
Parameters: - train_data : 2-tuple
(train_x, train_y) where train_x is the images and train_y is the Gaussian dot annotation images in the train split.
- test_data : 2-tuple
(test_x, test_y) where test_x is the images and test_y is the Gaussian dot annotation images in the test split.
- model : a Keras model
a defined Keras model
- optimizer : Keras optimizer object
the gradient descent optimizer e.g. Adam, SGD instance used to optimizer the model. We used Adam() with default settings.
- loss : string
one of ‘mse’ (mean squared error) or ‘mae’ (mean absolute error)
- scale_factor : None or float
multiplicative factor to apply to annotation images to increase the gradient in the backpropagation
- batch_size : int
number of images to batch together for training
- max_epochs : int
the maximum number of epochs to train for if early_stop is enabled else this is the number of epochs of training.
- early_stop : bool
if True, monitors the minimum of the test loss. If loss does not continue to decrease for a set duration, stop the training and return the model with the best test loss.
- plot_hist : bool
if True, plots the training and test loss over the training period on the same axes for visualisation.
Returns: - None : void
This function will simply save the model to the location given by model_name.


Classes
\App\module2
| Name | Description | |
|---|---|---|
| AbstractTrafficSignal | No description available | EMPTY |
| TrafficLight | No description available | EMPTY |
| WalkSign | No description available | EMPTY |
\App\module3
| Name | Description | |
|---|---|---|
| Clock | No description available | EMPTY |
| Singleton | Source: DesignPatterns\Creational\Singleton | EMPTY |
\App\module4
| Name | Description | |
|---|---|---|
| AbstractVehicle | No description available | EMPTY |
| AbstractVehicleFactory | No description available | EMPTY |
| Bicycle | No description available | EMPTY |
| Bus | No description available | EMPTY |
| Car | No description available | EMPTY |
| ConcreteVehicleFactory | No description available | EMPTY |
| Pedestrian | No description available | EMPTY |
\App\module5
| Name | Description | |
|---|---|---|
| VehicleQueue | No description available | EMPTY |
\App\module6
| Name | Description | |
|---|---|---|
| SignalMediator | https://www.gofpatterns.com/design-patterns/module6/signalMediator-class-exercise-result.php?exerciseInput=%3C%3Fphp%0D% | EMPTY |
| Time | No description available | EMPTY |
| TimeObserver | Observer,that who receives news | EMPTY |
| VehicleQueue | No description available | EMPTY |
\App\module7
| Name | Description | |
|---|---|---|
| Client | Note: Due to working with Time (singleton) always run() the course till the endTime, at which point the singleton will rest to null | EMPTY |
| SignalMediator | Signal Mediator controls the traffic light system | EMPTY |
| VehicleQueue | No description available | EMPTY |


is this simple?
distributed systems are complex
disclaimer
- this will take around 60minute plus
disclaimer
- i will use a stupid example
disclaimer
- there will be a lot of javascript code
disclaimer
- https://github.com/mabels/talks/is-this-simple
disclaimer
- use
- serverless framework running:
- aws-lambda
- gce-lambda
- azure-lambda
- redis from https://redislabs.com
disclaimer
- question/interruptions are appreciated
disclaimer
- this will be the first of a series of talks
Simple World
$ node -e "console.log('Hello World');"
Hello World
that's simple
Real World
Functional Expression
console.log(
Initiator()
.map(i => id2LetterMap(i))
.reduce((e, v) => LetterReducer(e,v))
.reduce((e, v) => ToString(e,v))
);
Functional Expression(Initiator)
function Initiator() {
return [0,1,2,3,4,5,6,7,8,9,10,11]
.sort(() => .5 - Math.random());
}
Functional Expression(id2LetterMap)
function id2LetterMap(i) {
return { idx: i, letter: "Hello World"[i] };
}
real work
Functional LetterReducer
const LetterReducer = function(letterReducers) {
return function() {
const args = Array.from(arguments);
for (let letter of args.filter((i) => i.letter)) {
let ridx = ~~(letter.idx/4), lr = [];
if (letterReducers.has(ridx)) {
lr = letterReducers.get(ridx);
} else {
letterReducers.set(ridx, lr);
}
lr.push(letter);
}
return [...letterReducers.values()];
}
}(new Map());
https://en.wikipedia.org/wiki/Monad_(functional_programming)
Functional ToStringReducer
const ToString = function(letters) {
return function() {
const args = Array.from(arguments);
for (let l of args.filter((i) => i[0].letter)) {
letters = letters.concat(l);
}
return letters.sort((a,b) => a.idx - b.idx)
.map(i => i.letter)
.join("")
}
}(new Array());
letters is state!
Functional World
$ node src/functional.js
Hello World
that's simple
Distributed with Serverless
every box should be a lambda function
Https Transaction
Serverless Initiator
module.exports.helloWorld = function(redisEndPoint) {
const totalLen = "Hello World".length;
for (let idx = 0; idx < totalLen; ++idx) {
requestLambda('id2LetterMap', event, {
started: new Date().getTime(),
transaction: transaction,
idx: idx,
totalLen: totalLen
}, () => { /* fire and forget */ });
}
}
Serverless id2LetterMap
module.exports = function(_) {
return (event, context, callback) => {
let transaction = JSON.parse(event.body);
transaction.letter = "Hello World"[transaction.idx];
requestLambda('letterReducer', event, transaction, () => {
callback(null, {
statusCode: 200,
body: JSON.stringify(transaction)
});
});
}
}
Serverless letterReducer
- will be called from every id2LetterMap
requestLambda('LetterReducer', ...)
- with { transaction: x, letter: y, idx: i }
- collects until every letter segment is full
then requestLambda('ToStringReducer', ...)
{ transaction: x, segment: s,
letters: [ {letter: y1, idx: i1}, ...] }
Serverless letterReducer
- every request of the letterReducer needs information about
all previously happened letterReducer calls from this transaction
- lambdas do not provide any context nor state
- we need to put the collected segments of letters somewhere else
Serverless letterReducer
- what data we want to put elsewhere:
{ transaction: t,
segment: s,
letters: [ {letter: y1, idx: i1},... ] }
- looks like we need a database:
create table letterReducer (
transaction VARCHAR, segment NUMBER,
idx NUMBER, letter CHAR
CONSTRAINT lr_pkey PRIMARY
KEY(transaction, segment, idx))
Serverless letterReducer
- How long will we store this?
- less than one second
- should be fast!
- are there any serverless services?
- RDS SQL(preallocation,vpc)
- ElasticCache(preallocation, vpc)
- DyamoDB(slow write performance > 500msec)
Serverless letterReducer
- ElasticCache is redis (aws needs a vpc)
- is there a free redis service?
quick intro to redis
$ telnet redis 10923
Trying <IP_ADDRESS>...
Connected to redis
Escape character is '^]'.
SADD key val1
:1
SADD key val2
:1
SMEMBERS key
*4
$4
val2
$4
val1
Serverless letterReducer
module.exports = function(redisEndPoint) {
return (event, context, callback) => {
let trans = JSON.parse(event.body);
trans.segment = ~~(trans.idx/4);
transaction.segmentSize = segmentSize(transaction, 4);
const my = redisEndPoint();
const key = `letterReducer-${trans.transaction}-${trans.segment}`;
my.sadd(key, JSON.stringify({ idx: trans.idx, letter: trans.letter }));
my.smembers(key, function(err, replies) {
if (replies.length < trans.segmentSize) {
my.end(true);
complete(trans, replies, callback);
} else {
trans.letters = replies.map(i => JSON.parse(i));
requestLambda('toStringReducer', event, trans, () => {
my.del(key);
my.end(true);
complete(trans, replies, callback);
});
}
});
}
}
was not too much
Serverless toStringReducer
- will be called for every segment of letterReducer
requestLambda('toStringReducer', ...)
- with { transaction: x, segment: s,
letters: [{letter: l, idx: i}...] }
- collects until all letters of all segments are received
module.exports = function(redisEndPoint) {
return (event, context, callback) => {
let transaction = JSON.parse(event.body);
const my = redisEndPoint();
const key = `toStringReducer-${transaction.transaction}`;
my.sadd(key, JSON.stringify(transaction.letters));
my.smembers(key, (err, replies) => {
transaction.string = replies.map((i) => JSON.parse(i))
.reduce((flat, toFlatten) => flat.concat(toFlatten), [])
.sort((a,b) => a.idx - b.idx)
.map(a => a.letter).join("");
if (transaction.string.length < transaction.totalLen) {
my.end(true);
complete(transaction, callback);
} else {
my.publish(`helloWorld-${transaction.transaction}`,
JSON.stringify(transaction));
my.del(key)
my.end(true);
complete(transaction, callback);
}
});
}
}
where should the result go?
Return the Result
Return the Result with Polling
- helloWorld will constantly ask redis
key: `helloWorld-${transaction.transaction}`
- wasting cpu in lambda
- wasting cpu in redis
- wasting bandwidth lambda-redis
Return the Result w/o Polling
- helloWorld will register a subscriber on key
const my = redisEndPoint();
const key = `helloWorld-${transaction}`;
my.on("message", function(channel, jsonMessage) {
let message = JSON.parse(jsonMessage);
message.ended = new Date().getTime();
message.duraction = message.ended - message.started;
my.unsubscribe(transaction);
my.end(true);
callback(null, {
statusCode: 200,
body: JSON.stringify(message, null, 2)
});
});
my.subscribe(key);
redis to the rescue
Publish the Result
- toStringReducer will publish the result on key
module.exports = function(redisEndPoint) {
return (event, context, callback) => {
let transaction = JSON.parse(event.body);
const my = redisEndPoint();
const key = `toStringReducer-${transaction.transaction}`;
my.sadd(key, JSON.stringify(transaction.letters));
my.smembers(key, (err, replies) => {
transaction.string = replies.map((i) => JSON.parse(i))
.reduce((flat, toFlatten) => flat.concat(toFlatten), [])
.sort((a,b) => a.idx - b.idx)
.map(a => a.letter).join("");
if (transaction.string.length < transaction.totalLen) {
my.end(true);
complete(transaction, callback);
} else {
my.publish(`helloWorld-${transaction.transaction}`,
JSON.stringify(transaction));
my.del(key)
my.end(true);
complete(transaction, callback);
}
});
}
Return the Result with Pub/Sub
AWS HelloWorld
- aws account
- redis server
- npm install -g serverless
- serverless.yaml
- serverless deploy
$ curl https://.../helloWorld
{ ....
"string": "Hello World"
}
---
service: serverless-hello-world
provider:
name: aws
runtime: nodejs6.10
stage: dev
region: eu-west-1
memorySize: 128
functions:
helloWorld:
handler: handler.helloWorld
events:
- http:
path: helloWorld
method: get
id2LetterMap:
handler: handler.id2LetterMap
events:
- http:
path: id2LetterMap
method: post
letterReducer:
handler: handler.letterReducer
events:
- http:
path: letterReducer
method: post
toStringReducer:
handler: handler.toStringReducer
events:
- http:
path: toStringReducer
method: post
GCLOUD HelloWorld
- gcloud account
- redis server
- npm install -g serverless
- serverless.yaml
- serverless deploy
$ curl https://.../helloWorld
{ ....
"string": "Hello World"
}
service: serverless-hello-world
provider:
name: google
runtime: nodejs
project: vibrant-mantis-723
credentials: ~/.gcloud/keyfile.json
#region: eu-west-1
memorySize: 128
plugins:
- serverless-google-cloudfunctions
package:
exclude:
- node_modules/**
- package-lock.json
- .gitignore
- .git/**
include:
- ../handler/*js
- ../requestLambda.js
- ../redis.lab.js
functions:
env:
handler: env
events:
- http: path
helloWorld:
handler: helloWorld
events:
- http: path
id2LetterMap:
handler: id2LetterMap
events:
- http: path
letterReducer:
handler: letterReducer
events:
- http: path
toStringReducer:
handler: toStringReducer
events:
- http: path
Session's learning
- HTTP is a directed Communication
- State should be stored outside the lambda
- State is something like a database
- State can be short-living
- State should have transactions sadd/smembers
- Redis is fast and easy
- Pub-Sub could be used for directed Communication
- Http has Request and Respond!


After moving to SF to work in sales, I became increasingly drawn to coding. I learned my company's proprietary language and started making pull requests. I was hooked.
I've spent the past six months honing skills like React/Redux and Ruby on Rails. I'm now a software developer intern/instructor at App Academy where I can introduce others to this amazing world.
I admire TaskRabbit for its simplicity and minimalist style. I built a clone called TaskWombat as my first fullstack project ever. No bootstrap, all original CSS. The taskers are all fake, so don't expect someone to actually show up at your house if you book one!Built on Ruby on Rails and React/Redux.Integrated with Google Places API.
CloseBack when I was a math teacher, I heard that countries that paid their teachers more had better education systems. Was this true? Does this mean we should pay teachers more? To find out, I built TeacherPay, an interactive analysis of teacher salary to student outcomes across the world.Built on vanilla JavaScript and D3.js.
CloseI've played Super Smash Bros ever since it came out on N64. Out of love for the game, a couple friends and I built a mobile app that lets you find nearby players. We're not releasing it since we found another app out there that's really similar, but you can still check out our sweet demo page.Built on React Native and Ruby on Rails.Integrated with Google Maps API.
CloseLorem ipsum dolor sit amet, consectetur adipisicing elit. Mollitia neque assumenda ipsam nihil, molestias magnam, recusandae quos quis inventore quisquam velit asperiores, vitae? Reprehenderit soluta, eos quod consequuntur itaque. Nam.
Close ProjectLorem ipsum dolor sit amet, consectetur adipisicing elit. Mollitia neque assumenda ipsam nihil, molestias magnam, recusandae quos quis inventore quisquam velit asperiores, vitae? Reprehenderit soluta, eos quod consequuntur itaque. Nam.
Close ProjectLorem ipsum dolor sit amet, consectetur adipisicing elit. Mollitia neque assumenda ipsam nihil, molestias magnam, recusandae quos quis inventore quisquam velit asperiores, vitae? Reprehenderit soluta, eos quod consequuntur itaque. Nam.
Close Project


§486-121 Misrepresentation of quantity. No person shall:
(1) Sell, offer, or expose for sale less than the quantity represented;
(2) Take any more than the quantity represented when the buyer furnishes the weight or measure by means of which the quantity is determined; or
(3) Represent the quantity in any manner calculated to mislead or in any way deceive another person. [L 1991, c 153, pt of §6; am L 1993, c 54, §12]


Dzmitry Tsebruk
Full Stack Javascript Engineer
- Site: mikhama.github.io
- Github: github.com/mikhama
- LinkedIn: linkedin.com/in/mikhama
Full Stack Javascript Engineer
I am a Full Stack JavaScript Engineer. My key technical skills inlclude JavaScript, ECMAScript6+, TypeScript, HTML/CSS, React, AWS, Node.js, PostgreSQL. And I always eager to learn new technologies or approaches in order to create high quality products which match clients expectations. I have a good knowledge basement, strong skills and experience, ability to learn fast and fulfill objectives. I constantly improve my skills and trying to be aware of new trends in IT. So, I can be effective and helpful for your company.
Senior Software Engineer
EPAM Systems, Minsk, Belarus / Georgia, Tbilisi
Participated in several projects. Was involved into:
Javascript Engineer
Rolling Scopes School, Minsk, Belarus
I am one of the contributors to Rolling Scopes School App. It is an open source project.
My contribution is:
Web Developer
- d-cinema.by, Minsk, Belarus
Designed and developed the portal d-cinema.by.
The company is delivering DCP copies of movies to the movie theaters over the whole Belarus.
The aim of the solution was to provide better experience for tracking of the DCP copies that was sent or returned back.
I've created the whole portal from the idea and understanding business needs to complete implementation of the product including UI/UX.
Engineer
- Belarusfilm, Minsk, Belarus
I worked in various roles: Technical Support Engineer, Sound Technician and Video Engineer. During working at Belarusfilm I was involved in:
Mentor, Trainer, Contributor
The Rolling Scopes School
d-cinema.by
–
The company is delivering DCP copies of movies to the movie theaters over the whole Belarus. The aim of the solution was to provide better experience for tracking of the DCP copies that was sent or returned back.
Harry Potter and the Battle for Hogwarts
It is the final task (coursework) on the Rolling Scopes School 2018-Q3. Simplified clone of the game www.prodigygame.com. It was written in pure JavaScript.
Rolling Scopes School App
Rolling Scopes School App is an application for students, mentors and course coordinators. It is an open source project and I am one of the contributors.
rs-bumblebee
–
It is s a bridge bot for transfer messages from Discord to Telegram created especially for the Rolling Scopes School.
YouTube Client
Web app that allows view the information about youtube clips on user request.
I evaluate my English level as B1 (Intermediate).
I have been learning English since and I practice it every day. Specifically I used a site learnamericanenglishonline.com for learning grammar, reading and listening, Duolingo application on my phone for practicing English, and flashcards with words were written on them by hand for learning new words.
Now I attend English courses, participate in meetings with customers, reading articles and books in English and watch movies.


List of variables that can be used with this class again with these from
jqGridEdit and
jqGrid classes
| Type |
Names |
Description |
Default |
Access |
| boolean |
$export |
Globally Enable/Disable export to Excel, Pdf, Csv |
true |
public |
| string |
$exportfile |
The default file name for export to excel |
exportdata.xml |
public |
| string |
$pdffile |
The export to file to PDF |
exportdata.pdf |
public |
| string |
$csvfile |
The export to file to CSV |
exportdata.csv |
public |
| string |
$csvsep |
Separator for CSV export |
';' |
public |
| string |
$csvsepreplace |
CSV string to replavce separator when available in data |
' ' |
public |
| boolean |
$navigator |
Enable/Disable a navigator buttons on the pager element |
true |
public |
| boolean |
$toolbarfilter |
Enable/Disable toolbar searching |
true |
public |
| boolean |
$sharedEditOptions |
If set to true, put the form edit options as grid option so they can be used from other places |
false |
public |
| boolean |
$sharedAddOptions |
If set to true, put the form add options as grid option so they can be used from other places |
false |
public |
| boolean |
$sharedDelOptions |
If set to true, put the form edit options as grid option so they can be used from other places |
false |
public |
| boolean |
$inlineNav |
If set to true, add the inline navigator buttons for inline editing |
false |
public |


Amanda & Jack Go Glamping
Amanda & Jack Go Glamping is a movie starring David Arquette, Amy Acker, and Adan Canto. With his marriage and career against the ropes, dejected author Jack Spencer travels with his wife, Amanda, to an isolated glamping retreat in...


| DELETE |
Windows [DEPRECATED]
since version 2018.3.3
|
/setup/subscribe/notification/windows/{providerApplicationId}/{deviceUdid}
|
application/json |
|
Deprecated, use DELETE on {subscriberOID} instead. Unsubscribe a Windows device
> Test operation
|
|
Parameters
| Type |
Name |
Value |
Description |
|
Path Variable
|
providerApplicationId
|
"string value" |
The provider application Id
|
|
Path Variable
|
deviceUdid
|
"string value" |
The device UDID
|
HTTP Status Code
| Code |
Message |
Meaning |
|
204
|
NO_CONTENT |
The server has fulfilled the request but does not need to return an entity-body, and might want to return updated metainformation
|
Generated events on method call
PushSubscriptionDeletedEvent
| Description |
A push subscription has been deleted |
| JSON |
{
"timestamp" : 2,
"setupOID" : "a setup OID",
"pushSubscriptionOID" : "a push subscription OID",
"name" : "PushSubscriptionDeletedEvent"
} |
| Field name |
Field description |
| setupOID |
Setup OID |
|
|
Secrets
|
|
Expand commands |
| POST |
Secret
|
/setup/secrets
|
application/json |
|
Create a secret
> Test operation
|
|
Parameters
| Type |
Name |
Value |
Description |
|
Request Body
|
(JSON)
|
{
"userId" : "a user id",
"label" : "a setup secret label",
"targetType" : "ACTION_GROUP",
"targetId" : "a target id",
"exclusive" : false,
"scopeName" : "Google.smarthome"
} |
|
Response
| Type |
Name |
Value |
Description |
|
Response Body
|
(JSON)
|
{
"OID" : "string value"
} |
|
HTTP Status Code
| Code |
Message |
Meaning |
|
201
|
CREATED |
The request has been fulfilled and resulted in a new resource being created
|
|
|
| PUT |
Secret
|
/setup/secrets/{OID}
|
application/json |
|
Update a secret
> Test operation
|
|
Parameters
| Type |
Name |
Value |
Description |
|
Path Variable
|
OID
|
"string value" |
|
|
Request Body
|
(JSON)
|
{
"userId" : "a user id",
"label" : "a setup secret label",
"targetType" : "ACTION_GROUP",
"targetId" : "a target id",
"exclusive" : false,
"scopeName" : "Google.smarthome",
"oid" : "the setup secret UUID"
} |
|
HTTP Status Code
| Code |
Message |
Meaning |
|
200
|
OK |
The request has succeeded
|
|
|
| DELETE |
Secret
|
/setup/secrets/{OID}
|
application/json |
|
Delete a secret
> Test operation
|
|
Parameters
| Type |
Name |
Value |
Description |
|
Path Variable
|
OID
|
"string value" |
|
HTTP Status Code
| Code |
Message |
Meaning |
|
200
|
OK |
The request has succeeded
|
|
|
| PUT |
Secret
|
/setup/secrets/{OID}/value
|
application/json |
|
Update a secret value
> Test operation
|
|
Parameters
| Type |
Name |
Value |
Description |
|
Path Variable
|
OID
|
"string value" |
|
|
Request Body
|
(JSON)
|
{ } |
|
HTTP Status Code
| Code |
Message |
Meaning |
|
200
|
OK |
The request has succeeded
|
|
|
| GET |
Secrets
|
/setup/secrets/scope/{scopeName}
|
application/json |
|
List secrets
> Test operation
|
|
Parameters
| Type |
Name |
Value |
Description |
|
Path Variable
|
scopeName
|
"string value" |
|
Response
| Type |
Name |
Value |
Description |
|
Response Body
|
(JSON)
|
[ {
"setupOID" : "a setup OID",
"userId" : "a user id",
"label" : "a setup secret label",
"targetType" : "ACTION_GROUP",
"targetId" : "a target id",
"exclusive" : false,
"scopeName" : "Google.smarthome",
"oid" : "the setup secret UUID"
} ] |
|
HTTP Status Code
| Code |
Message |
Meaning |
|
200
|
OK |
The request has succeeded
|
|
|
Somfy CMS
Private tags : [ somfy ]
|
|
Expand commands |
| GET |
Account
|
/setup/external/service/somfy/cms/myTahomaAccountURL
|
application/json |
|
Fetch an URL for the user's MyTahoma account
> Test operation
|
|
HTTP Status Code
| Code |
Message |
Meaning |
|
200
|
OK |
The request has succeeded
|
Generated events on method call
ExternalServiceURLEvent
| Description |
External service url event |
| JSON |
{
"timestamp" : 2,
"setupOID" : "a setup OID",
"serviceId" : "a service id",
"url" : "a url",
"name" : "ExternalServiceURLEvent"
} |
| Field name |
Field description |
| serviceId |
The service ID |
| setupOID |
Setup OID |
| url |
The requested URL |
|
|
Third-Party
|
|
Expand commands |
| GET |
Activated Models
|
/setup/thirdparty/activated
|
application/json |
|
Get the activated third party model for current setup
> Test operation
|
|
Response
| Type |
Name |
Value |
Description |
|
Response Body
|
(JSON)
|
{
"thirdPartyModelSetupUsers" : [ {
"creationTime" :<PHONE_NUMBER>980,
"lastUpdateTime" :<PHONE_NUMBER>981,
"userId" : "a user id",
"setupOID" : "a setup OID",
"modelType" : 1,
"thirdPartyUserId" : "a third party user id",
"serviceReference" : "a service reference",
"oid" : "the third party model setup user UUID"
} ],
"activatedModels" : [ {
"modelId" : 1,
"modelLabel" : "a model label"
} ]
} |
|
HTTP Status Code
| Code |
Message |
Meaning |
|
200
|
OK |
The request has succeeded
|
|
|
| GET |
Security status
|
/setup/thirdparty/model/{modelName}/security/status
|
application/json |
|
Get the security status of a third party model
> Test operation
|
|
Parameters
| Type |
Name |
Value |
Description |
|
Path Variable
|
modelName
|
"string value" |
|
Response
| Type |
Name |
Value |
Description |
|
Response Body
|
(JSON)
|
{
"status" : "some status",
"remaining" :<PHONE_NUMBER>90
} |
|
HTTP Status Code
| Code |
Message |
Meaning |
|
200
|
OK |
The request has succeeded
|
|
|
| POST |
Security unlock
|
/setup/thirdparty/model/{modelName}/security/unlock
|
application/json |
|
Unlock security actions of a third party model
> Test operation
|
|
Parameters
| Type |
Name |
Value |
Description |
|
Path Variable
|
modelName
|
"string value" |
|
HTTP Status Code
| Code |
Message |
Meaning |
|
200
|
OK |
The request has succeeded
|
|
|
Zone
|
|
Expand commands |
| POST |
Items [DEPRECATED]
since version 2018.3.3
|
/setup/zones/items
|
application/json |
|
Add items to a zone in user setup
> Test operation
|
|
Parameters
| Type |
Name |
Value |
Description |
|
Request Body
|
(JSON)
|
{
"label" : "a zone label",
"type" : 0,
"items" : [ {
"itemType" : "device",
"deviceOID" : "a device OID",
"deviceURL" : "device URL (<protocol>://<gatewayId>/<deviceAddress>[#<subsystemId>])"
} ],
"externalOID" : "an external OID",
"metadata" : "some metadata"
} |
Json description of item list
|
HTTP Status Code
| Code |
Message |
Meaning |
|
200
|
OK |
The request has succeeded
|
Generated events on method call
ZoneUpdatedEvent
| Description |
An existing zone has been updated |
| JSON |
{
"timestamp" : 2,
"setupOID" : "a setup OID",
"zoneOID" : "a zone OID",
"name" : "ZoneUpdatedEvent"
} |
| Field name |
Field description |
| setupOID |
Setup OID |
| zoneOID |
Zone OID |
|
|
| DELETE |
Items [DEPRECATED]
since version 2018.3.3
|
/setup/zones/items
|
application/json |
|
Remove items from a zone in user setup
> Test operation
|
|
Parameters
| Type |
Name |
Value |
Description |
|
Request Body
|
(JSON)
|
{
"label" : "a zone label",
"type" : 0,
"items" : [ {
"itemType" : "device",
"deviceOID" : "a device OID",
"deviceURL" : "device URL (<protocol>://<gatewayId>/<deviceAddress>[#<subsystemId>])"
} ],
"externalOID" : "an external OID",
"metadata" : "some metadata",
"oid" : "the zone UUID"
} |
Json description of item list to remove
|
HTTP Status Code
| Code |
Message |
Meaning |
|
204
|
NO_CONTENT |
The server has fulfilled the request but does not need to return an entity-body, and might want to return updated metainformation
|
Generated events on method call
ZoneUpdatedEvent
| Description |
An existing zone has been updated |
| JSON |
{
"timestamp" : 2,
"setupOID" : "a setup OID",
"zoneOID" : "a zone OID",
"name" : "ZoneUpdatedEvent"
} |
| Field name |
Field description |
| setupOID |
Setup OID |
| zoneOID |
Zone OID |
|
|
| POST |
Items
|
/setup/zones/{sourceZoneOID}/items/relocate/{targetZoneOID}
|
application/json |
|
Relocate items to another zone in user setup
> Test operation
|
|
Parameters
| Type |
Name |
Value |
Description |
|
Request Body
|
(JSON)
|
[ {
"itemType" : "device",
"deviceOID" : "a device OID",
"deviceURL" : "device URL (<protocol>://<gatewayId>/<deviceAddress>[#<subsystemId>])"
} ] |
Json description of item list to relocate
|
|
Path Variable
|
sourceZoneOID
|
"string value" |
Source zone oid
|
|
Path Variable
|
targetZoneOID
|
"string value" |
Target zone oid
|
HTTP Status Code
| Code |
Message |
Meaning |
|
200
|
OK |
The request has succeeded
|
Generated events on method call
ZoneUpdatedEvent
| Description |
An existing zone has been updated |
| JSON |
{
"timestamp" : 2,
"setupOID" : "a setup OID",
"zoneOID" : "a zone OID",
"name" : "ZoneUpdatedEvent"
} |
| Field name |
Field description |
| setupOID |
Setup OID |
| zoneOID |
Zone OID |
|
|
| GET |
Items
|
/setup/zones/{zoneOID}/items
|
application/json |
|
Get the items of a zone
> Test operation
|
|
Parameters
| Type |
Name |
Value |
Description |
|
Path Variable
|
zoneOID
|
"string value" |
The id of the zone
|
Response
| Type |
Name |
Value |
Description |
|
Response Body
|
(JSON)
|
[ {
"itemType" : "device",
"deviceOID" : "a device OID",
"deviceURL" : "device URL (<protocol>://<gatewayId>/<deviceAddress>[#<subsystemId>])"
} ] |
|
HTTP Status Code
| Code |
Message |
Meaning |
|
200
|
OK |
The request has succeeded
|
|
|
| POST |
Items
|
/setup/zones/{zoneOID}/items
|
application/json |
|
Add items to a zone in user setup
> Test operation
|
|
Parameters
| Type |
Name |
Value |
Description |
|
Path Variable
|
zoneOID
|
"string value" |
|
|
Request Body
|
(JSON)
|
[ {
"itemType" : "device",
"deviceOID" : "a device OID",
"deviceURL" : "device URL (<protocol>://<gatewayId>/<deviceAddress>[#<subsystemId>])"
} ] |
Json description of item list
|
HTTP Status Code
| Code |
Message |
Meaning |
|
200
|
OK |
The request has succeeded
|
Generated events on method call
ZoneUpdatedEvent
| Description |
An existing zone has been updated |
| JSON |
{
"timestamp" : 2,
"setupOID" : "a setup OID",
"zoneOID" : "a zone OID",
"name" : "ZoneUpdatedEvent"
} |
| Field name |
Field description |
| setupOID |
Setup OID |
| zoneOID |
Zone OID |
|
|
| PUT |
Items [DEPRECATED]
since version 2018.3.3
|
/setup/zones/{zoneOID}/items
|
application/json |
|
Relocate items to a zone in user setup
> Test operation
|
|
Parameters
| Type |
Name |
Value |
Description |
|
Request Body
|
(JSON)
|
{
"label" : "a zone label",
"type" : 0,
"items" : [ {
"itemType" : "device",
"deviceOID" : "a device OID",
"deviceURL" : "device URL (<protocol>://<gatewayId>/<deviceAddress>[#<subsystemId>])"
} ],
"externalOID" : "an external OID",
"metadata" : "some metadata",
"oid" : "the zone UUID"
} |
Json description of item list to relocate
|
|
Path Variable
|
zoneOID
|
"string value" |
Source zone oid
|
HTTP Status Code
| Code |
Message |
Meaning |
|
200
|
OK |
The request has succeeded
|
Generated events on method call
ZoneUpdatedEvent
| Description |
An existing zone has been updated |
| JSON |
{
"timestamp" : 2,
"setupOID" : "a setup OID",
"zoneOID" : "a zone OID",
"name" : "ZoneUpdatedEvent"
} |
| Field name |
Field description |
| setupOID |
Setup OID |
| zoneOID |
Zone OID |
|
|
| DELETE |
Items [DEPRECATED]
since version 2018.3.3
|
/setup/zones/{zoneOID}/items
|
application/json |
|
Remove items from a zone in user setup
> Test operation
|
|
Parameters
| Type |
Name |
Value |
Description |
|
Path Variable
|
zoneOID
|
"string value" |
|
|
Request Body
|
(JSON)
|
[ {
"itemType" : "device",
"deviceOID" : "a device OID",
"deviceURL" : "device URL (<protocol>://<gatewayId>/<deviceAddress>[#<subsystemId>])"
} ] |
Json description of item list to remove
|
HTTP Status Code
| Code |
Message |
Meaning |
|
204
|
NO_CONTENT |
The server has fulfilled the request but does not need to return an entity-body, and might want to return updated metainformation
|
Generated events on method call
ZoneUpdatedEvent
| Description |
An existing zone has been updated |
| JSON |
{
"timestamp" : 2,
"setupOID" : "a setup OID",
"zoneOID" : "a zone OID",
"name" : "ZoneUpdatedEvent"
} |
| Field name |
Field description |
| setupOID |
Setup OID |
| zoneOID |
Zone OID |
|
|
| POST |
Items
|
/setup/zones/{zoneOID}/items/_delete
|
application/json |
|
Remove items from a zone in user setup
> Test operation
|
|
Parameters
| Type |
Name |
Value |
Description |
|
Path Variable
|
zoneOID
|
"string value" |
|
|
Request Body
|
(JSON)
|
[ {
"itemType" : "device",
"deviceOID" : "a device OID",
"deviceURL" : "device URL (<protocol>://<gatewayId>/<deviceAddress>[#<subsystemId>])"
} ] |
Json description of item list to remove
|
HTTP Status Code
| Code |
Message |
Meaning |
|
204
|
NO_CONTENT |
The server has fulfilled the request but does not need to return an entity-body, and might want to return updated metainformation
|
Generated events on method call
ZoneUpdatedEvent
| Description |
An existing zone has been updated |
| JSON |
{
"timestamp" : 2,
"setupOID" : "a setup OID",
"zoneOID" : "a zone OID",
"name" : "ZoneUpdatedEvent"
} |
| Field name |
Field description |
| setupOID |
Setup OID |
| zoneOID |
Zone OID |
|
|
| POST |
Zone
|
/setup/zones
|
application/json |
|
Create zone in user setup
> Test operation
|
|
Parameters
| Type |
Name |
Value |
Description |
|
Request Body
|
(JSON)
|
{
"label" : "a zone label",
"type" : 0,
"items" : [ {
"itemType" : "device",
"deviceOID" : "a device OID",
"deviceURL" : "device URL (<protocol>://<gatewayId>/<deviceAddress>[#<subsystemId>])"
} ],
"externalOID" : "an external OID",
"metadata" : "some metadata"
} |
Json description of desired zone
|
HTTP Status Code
| Code |
Message |
Meaning |
|
201
|
CREATED |
The request has been fulfilled and resulted in a new resource being created
|
Generated events on method call
ZoneCreatedEvent
| Description |
A new zone has been created |
| JSON |
{
"timestamp" : 2,
"setupOID" : "a setup OID",
"zoneOID" : "a zone OID",
"name" : "ZoneCreatedEvent"
} |
| Field name |
Field description |
| setupOID |
Setup OID |
| zoneOID |
Zone OID |
|
|
| PUT |
Zone [DEPRECATED]
since version 2018.3.3
|
/setup/zones
|
application/json |
|
Update zone
> Test operation
|
|
Parameters
| Type |
Name |
Value |
Description |
|
Request Body
|
(JSON)
|
{
"label" : "a zone label",
"type" : 0,
"items" : [ {
"itemType" : "device",
"deviceOID" : "a device OID",
"deviceURL" : "device URL (<protocol>://<gatewayId>/<deviceAddress>[#<subsystemId>])"
} ],
"externalOID" : "an external OID",
"metadata" : "some metadata",
"oid" : "the zone UUID"
} |
Json description of desired zone to update
|
HTTP Status Code
| Code |
Message |
Meaning |
|
200
|
OK |
The request has succeeded
|
|
|
| GET |
Zone
|
/setup/zones/{zoneOID}
|
application/json |
|
Get a zone of a user setup
> Test operation
|
|
Parameters
| Type |
Name |
Value |
Description |
|
Path Variable
|
zoneOID
|
"string value" |
The id of zone to retrieve
|
Response
| Type |
Name |
Value |
Description |
|
Response Body
|
(JSON)
|
{
"creationTime" :<PHONE_NUMBER>477,
"lastUpdateTime" :<PHONE_NUMBER>478,
"label" : "a zone label",
"type" : 0,
"items" : [ {
"itemType" : "device",
"deviceOID" : "a device OID",
"deviceURL" : "device URL (<protocol>://<gatewayId>/<deviceAddress>[#<subsystemId>])"
} ],
"externalOID" : "an external OID",
"metadata" : "some metadata",
"oid" : "the zone UUID"
} |
|
HTTP Status Code
| Code |
Message |
Meaning |
|
200
|
OK |
The request has succeeded
|
|
|
| PUT |
Zone
|
/setup/zones/{zoneOID}
|
application/json |
|
Update zone
> Test operation
|
|
Parameters
| Type |
Name |
Value |
Description |
|
Path Variable
|
zoneOID
|
"string value" |
|
|
Request Body
|
(JSON)
|
{
"label" : "a zone label",
"type" : 0,
"items" : [ {
"itemType" : "device",
"deviceOID" : "a device OID",
"deviceURL" : "device URL (<protocol>://<gatewayId>/<deviceAddress>[#<subsystemId>])"
} ],
"externalOID" : "an external OID",
"metadata" : "some metadata",
"oid" : "the zone UUID"
} |
Json description of desired zone to update
|
HTTP Status Code
| Code |
Message |
Meaning |
|
200
|
OK |
The request has succeeded
|
|
|
| DELETE |
Zone
|
/setup/zones/{zoneOID}
|
application/json |
|
Delete a zone from user setup.
> Test operation
|
|
Parameters
| Type |
Name |
Value |
Description |
|
Path Variable
|
zoneOID
|
"string value" |
Zone OID to delete
|
HTTP Status Code
| Code |
Message |
Meaning |
|
204
|
NO_CONTENT |
The server has fulfilled the request but does not need to return an entity-body, and might want to return updated metainformation
|
Generated events on method call
ZoneDeletedEvent
| Description |
An existing zone has been deleted |
| JSON |
{
"timestamp" : 2,
"setupOID" : "a setup OID",
"zoneOID" : "a zone OID",
"name" : "ZoneDeletedEvent"
} |
| Field name |
Field description |
| setupOID |
Setup OID |
| zoneOID |
Zone OID |
|
|
| PUT |
Zone
|
/setup/zones/{zoneOID}/{type}/{label}
|
application/json |
|
Update zone type and label
> Test operation
|
|
Parameters
| Type |
Name |
Value |
Description |
|
Path Variable
|
zoneOID
|
"string value" |
Zone OID to update
|
|
Path Variable
|
type
|
1 |
New zone type
|
|
Path Variable
|
label
|
"string value" |
New zone label
|
HTTP Status Code
| Code |
Message |
Meaning |
|
200
|
OK |
The request has succeeded
|
Generated events on method call
ZoneUpdatedEvent
| Description |
An existing zone has been updated |
| JSON |
{
"timestamp" : 2,
"setupOID" : "a setup OID",
"zoneOID" : "a zone OID",
"name" : "ZoneUpdatedEvent"
} |
| Field name |
Field description |
| setupOID |
Setup OID |
| zoneOID |
Zone OID |
|
|
| GET |
Zones
|
/setup/zones
|
application/json |
|
Get all zones of a user setup
> Test operation
|
|
Response
| Type |
Name |
Value |
Description |
|
Response Body
|
(JSON)
|
[ {
"creationTime" :<PHONE_NUMBER>476,
"lastUpdateTime" :<PHONE_NUMBER>477,
"label" : "a zone label",
"type" : 0,
"items" : [ {
"itemType" : "device",
"deviceOID" : "a device OID",
"deviceURL" : "device URL (<protocol>://<gatewayId>/<deviceAddress>[#<subsystemId>])"
} ],
"externalOID" : "an external OID",
"metadata" : "some metadata",
"oid" : "the zone UUID"
} ] |
|
HTTP Status Code
| Code |
Message |
Meaning |
|
200
|
OK |
The request has succeeded
|
|
|
|


User Guide¶
- Quick Start
- Contributing
- Installation
- Command Line Reference
- Build a container
- The Definition File
- Build Environment
- Singularity and Docker
- Overview
- Running action commands on public images from Docker Hub
- Making use of public images from Docker Hub
- Making use of private images from Docker Hub
- Making use of private images from Private Registries
- Building images for Singularity from Docker Registries
- OCI Image Support
- Overview
- Building Containers for Singularity from OCI Images
- Working Locally from the Singularity Command Line:
oci
Boostrap Agent - Working Locally from the Singularity Command Line:
oci-archive
Boostrap Agent - Working from the Singularity Command Line with Remotely Hosted Images
- Working with Definition Files: Mandatory Header Keywords
- Working with Definition Files: Additonal Considerations
- Working Locally from the Singularity Command Line:
- Best Practices
- Troubleshooting
- Bind Paths and Mounts
- Persistent Overlays
- Running Services
- Environment and Metadata
- OCI Runtime Support
- Sign and Verify
- Security Options
- Network Options
- Cgroups Support
- Appendix


Open the log. Whichever button you click increases the count on the stored variable
Open the log. Whichever button you click increases the count on a new closure's stored variable.


Raise your design from the dead with an army of Zombie Ipsum, frightful filler text that just won't die. Try the lorem ipsum of the undead if you dare.
while the lovely valley teems with vapour around me, and the...
while the lovely valley teems with vapour around me, and the...
while the lovely valley teems with vapour around me, and the...
while the lovely valley teems with vapour around me, and the...
while the lovely valley teems with vapour around me, and the...
while the lovely valley teems with vapour around me, and the...
Monday - Friday: 09.00 - 19.00
Saturday: 09.00 - 17.00
Sunday: 09.30 - 18.00
Lorem ipsum dolor sit ametcon sect. adipiscing elit, sed do eiusmod tempor incididunt ut lab
A small river named Duden flows by their place and supplies it with the necessary regelialial.
Eiusmod tempor incididunt ut labore et dolore magna aliqua. Utas sed enim ad minim veniam, quis nostrud exercitation ipsum ullamco laboris nisi aliquip ex ea commodo consequat duis aute irure.
A small river name Duden flows by their place es supplies with the necessary regelialia esser paradisematic country.
A small river name Duden flows by their place es supplies with the necessary regelialia esser paradisematic country.
Raise your design from the dead with an army of Zombie Ipsum, frightful filler text that just won't die. Try the lorem ipsum of the undead if you dare.
Raise your design from the dead with an army of Zombie Ipsum, frightful filler text that just won't die. Try the lorem ipsum of the undead if you dare.
Raise your design from the dead with an army of Zombie Ipsum, frightful filler text that just won't die. Try the lorem ipsum of the undead if you dare.
A small river name Duden flows by their place es supplies with the necessary regelialia esser paradisematic country.


Studies by the Touch Research Institute in Miami, Florida, show that the benefits of chair massage services have quick results. Immediately after chair massage sessions, the subjects experienced a change in brain waves in the direction of heightened alertness and better performance on math problems (completed in less time with fewer errors). At the end of the five week study period, subjects reported reduced job stress and elevated moods. This was in addition to the usual benefits of massage, relief of muscular tension, revitalized energy, and a stronger immune system. Chair massage services utilize acupressure and Swedish massage to relieve tension. Though beginning at a slower pace, the work moves a little faster as the practitioner proceeds. The session ends with quick, revitalizing strokes in order to bring the client back to a state of full consciousness.
Chair massages have been known to increase problem solving abilities, improve creative thinking and relieve fatigue. It’s better than a cup of coffee.
Relaxed workers are more likely to cooperate with each other, improve the work environment for everyone, lower both anxiety and hostility.
Massage has been shown to reduce blood pressure, increase immune system, improve joint and diminish muscle aches.
Learn More


The Metropolitan Anarchist Coordinating Council (MACC) is an organization based on the guiding principles of horizontalism, anti-oppression, mutual aid, direct democracy, and direct action. We seek to strengthen and support New York City’s anarchist movement through coordination of existing and emerging projects. With the present atmosphere of hatred, bigotry and greed, we create an alternative, radical form of participatory politics.
MACC is open to all anarchists.
The best way to get involved in MACC is to attend a Care Assembly. Find out when the next assembly is over on our calendar.
Donate here to support our projects.
Want to hear what we're up to or get a reminder about the next Care Assembly?
Follow us on Facebook or Twitter, or Instagram, or check out our latest dispatches, or sign up for our mailing list:
{% include signup.html %}MACC's primary decision making body is the Organizing Assembly which currently operates on modified consensus. The Organizing Assembly is open to all participants in our monthly Care Assemblies and in MACC working groups. However, with a “democracy of direct action” ethos, MACC is a coordinating (not mandating) body, ensuring our ability to address larger questions of strategy and narrative while protecting a plurality of voices and tactics. This means working groups are free to determine their own internal structure and pursue their own vital projects. In this way, we demonstrate a vision for a society in fundamental opposition to the brutal logic of contemporary capitalism. A society based on mutual aid, cooperation, and radical democracy.


Dear Colleagues
As you are aware we had several BWP
xsengine issues, which could only be solved by restarting this
engine.
To speed up the process I would like to ask
you to follow the described steps:
1. do the restart according to the
following documentation:
https://wiki.wdf.sap.corp/wiki/display/premiumserv/HDB+Overview
2. Call OCC Lead to inform him about the
issue
Please see this email as a pre-approval for this activity.
If you have further questions please call me.
Thanks
a lot
Best regards
Sylke
ITdirect IM Ticket:<PHONE_NUMBER>


# -*- coding: utf-8 -*-
"""
pyvisa.resources.usb
~~~~~~~~~~~~~~~~~~~~
High level wrapper for USB resources.
This file is part of PyVISA.
:copyright: 2014 by PyVISA Authors, see AUTHORS for more details.
:license: MIT, see LICENSE for more details.
"""
from __future__ import division, unicode_literals, print_function, absolute_import
import warnings
from .. import constants
from .messagebased import MessageBasedResource, ControlRenMixin
[docs]@MessageBasedResource.register(constants.InterfaceType.usb, 'INSTR')
class USBInstrument(ControlRenMixin, MessageBasedResource):
"""Communicates with devices of type USB::manufacturer ID::model code::serial number
More complex resource names can be specified with the following grammar:
USB[board]::manufacturer ID::model code::serial number[::USB interface number][::INSTR]
Do not instantiate directly, use :meth:`pyvisa.highlevel.ResourceManager.open_resource`.
"""
[docs] def control_in(self, request_type_bitmap_field, request_id, request_value, index, length=0):
"""Performs a USB control pipe transfer from the device.
:param request_type_bitmap_field: bmRequestType parameter of the setup stage of a USB control transfer.
:param request_id: bRequest parameter of the setup stage of a USB control transfer.
:param request_value: wValue parameter of the setup stage of a USB control transfer.
:param index: wIndex parameter of the setup stage of a USB control transfer.
This is usually the index of the interface or endpoint.
:param length: wLength parameter of the setup stage of a USB control transfer.
This value also specifies the size of the data buffer to receive the data from the
optional data stage of the control transfer.
:return: The data buffer that receives the data from the optional data stage of the control transfer.
:rtype: bytes
"""
return self.visalib.usb_control_in(self.session, request_type_bitmap_field,
request_id, request_value, index, length)
[docs] def control_out(self, request_type_bitmap_field, request_id, request_value, index, data=""):
"""Performs a USB control pipe transfer to the device.
:param request_type_bitmap_field: bmRequestType parameter of the setup stage of a USB control transfer.
:param request_id: bRequest parameter of the setup stage of a USB control transfer.
:param request_value: wValue parameter of the setup stage of a USB control transfer.
:param index: wIndex parameter of the setup stage of a USB control transfer.
This is usually the index of the interface or endpoint.
:param data: The data buffer that sends the data in the optional data stage of the control transfer.
"""
return self.visalib.usb_control_out(self.session, request_type_bitmap_field,
request_id, request_value, index, data)
[docs] def usb_control_out(self, request_type_bitmap_field, request_id, request_value, index, data=""):
"""Performs a USB control pipe transfer to the device. (Deprecated)
:param request_type_bitmap_field: bmRequestType parameter of the setup stage of a USB control transfer.
:param request_id: bRequest parameter of the setup stage of a USB control transfer.
:param request_value: wValue parameter of the setup stage of a USB control transfer.
:param index: wIndex parameter of the setup stage of a USB control transfer.
This is usually the index of the interface or endpoint.
:param data: The data buffer that sends the data in the optional data stage of the control transfer.
"""
warnings.warn('usb_control_out is deprecated use control_out instead.', FutureWarning)
return self.control_out(request_type_bitmap_field, request_id, request_value, index, data)
[docs]@MessageBasedResource.register(constants.InterfaceType.usb, 'RAW')
class USBRaw(MessageBasedResource):
"""Communicates with to devices of type USB::manufacturer ID::model code::serial number::RAW
More complex resource names can be specified with the following grammar:
USB[board]::manufacturer ID::model code::serial number[::USB interface number]::RAW
Do not instantiate directly, use :meth:`pyvisa.highlevel.ResourceManager.open_resource`.
"""


TOBi Teams Up With Sango & Wax Roof On "Faces"
TOBi drops off a new track.
by Milca P.Faces
TOBi Feat. Sango & Wax Roof
Editor Rating: VERY HOTTTTT
User Rating: n/a - 0% (0)
Last month, TOBi graced our ears with his "Beige" track, following up on this year's STILL debut album. Now, the Nigerian-Canadian rapper and singer has doubled back to share his newest "Faces" track. Teaming up with producers Sango and Wax Roof for the cut's backdrop, TOBi delivers on yet another smooth offering that finds him vacillating between life's thrills and introspective dips.
“When Sango sent me the beat, the words immediately manifested naturally and effortlessly because it was exactly what was on my mind, TOBi tells The FADERofthenew release. "I walk into so many different rooms and spaces that I’ve learned to deal with the unfamiliar faces by keeping myself grounded regardless of who I’m in front of.”
Quotable Lyrics
All these new faces
Dead presidents and strangers
Real ones gon make it
Penthouse from basement
God made you amazing
Take time with you baby


They also say Utilize pure Proof of Work mining until at least the second block reward halving, at which point 75% of all Ycash will have been mined via Proof of Work. (Full or partial Proof of Stake will not be implemented, if at all, until after the second block reward halving.)


Tests the Timeline window filter.
It applies different ranges to the OverviewGrid and expects that current view reflects the change.
Also it detects that after switching to another view it gets the proper time range.


A Sankey Diagram with bubbles on transformation boxes
Move your mouse over the diagram to show values


Indra Kumar approaches Ajay Devgn & Sidharth Malhotra for next?
by Shyama SudraBest known for his comedy productions, news has it that Indra Kumar has approached Sidharth Malhotra and Ajay Devgn for his next big project.
According to IWM Buzz, though the actors have yet to say yes to the project, they are busy getting stuck into their own individual projects. Where Malhotra’s ‘Marjaavaan’ is making money at the box office, the trailer for Devgn’s ‘Tanhaji: The Unsung Hero’ is creating huge buzz amongst fans and critics alike.
It seems Kumar is on the lookout for a fresh pairing, and where Devgn and Malhotra have yet to be seen together on screen, it’s fair to say that the film maker is on the right track.


--- author: Steve Gill categories: app date: '2011-05-16 19:58:10' permalink: /2011/05/16/rnao-is-number-1/ slug: rnao-is-number-1 status: publish title: RNAO is Number 1! type: post format: html ---
Hey Everyone,
Last week, RNAO was the top paid medical iPhone app in iTunes Canada. RNAO stands for the Registered Nurses' Association of Ontario. The app was made using PhoneGap by Nitobi. It delivers professional development programs and also publishes the "Nursing Best Practice Guidelines". If you want to download the app on either iTunes/Android/BB check out http://www.phonegap.com/app/rnao-nursing-best-practice-guideli/.
Also, check out the case study about RNAO on the Nitobi website at http://nitobi.com/casestudies/rnao/ Cheers, -Steve


I got the inspiration to make this page because of a tweet from Joseph Lubin after I posted about my 1 year wedding anniversary.
I am storing data immutably to the Ethereum blockchain. This is an example of a proof-of-existence application of blockchains that is very important. Blockchains, when properly designed, provide a way to permanently store data with an un-hackable audit trail. On the Ethereum blockchain, users create smart contracts to store and manipulate data. Smart contracts are permanently on the Ethereum blockchain and contain their own storage. Whenever the internal contract storage is changed, the blockchain updates the smart contract data, while still maintaining a history of the previous data. Cool, huh?
| Contract Address | |
|---|---|
| ABI | |
| Marriage Status | |
| Partner 1 | |
| Partner 2 | |
| Marriage Date | |
| IPFS Hash to Marriage Image | |
| IPFS Hash to Marriage Proof |
| Event Name | Event Time | Description | Time Submitted |
|---|


 Upload a sample image {% endblock %}
Get the wardrobe you love.


src.model.
SeparationModel
Bases: torch.nn.modules.module.Module
torch.nn.modules.module.Module
forward
data – (dict) a dictionary containing the input data for the model. Should match the input_keys in self.input.
Returns:
project_data
save
Saves a SeparationModel into a location into a dictionary with the weights and model configuration. :param location: (str) Where you want the model saved, as a path.


Water Department
1-April-2018
Issue #I01042018001
Pieline Leak
Community
Acknoledged
Details
Authorize
Issue #I01042018002
Pieline Leak at Gandhi Chauk
Community
Submitted
Details
Authorize
Issue #I01042018003
Pieline Leak at Navjeevan Society
Personal
Submitted
Details
Authorize
Issue #I01042018004
Pieline Leak at Somaiya Vidyavihar
Community
Submitted
Details
Authorize
31-March-2018
Issue #I31032018001
Pieline Block at Home
Personal
Completed
Details
Authorize
Issue #I31032018002
No Water Supply at Neelkanth Society
Community
Submitted
Details
Authorize
Issue #I31032018003
Pieline Leak at Bhakti Park Station
Community
Acknowledged
Details
Authorize