Hector Bellerin opens up on dressing room reaction to Granit Xhaka losing captaincy
Unai Emery stripped Granit Xhaka of the Arsenal captain following his run-in with fans at the Emirates
by Jake Polden, https://www.mirror.co.uk/authors/jake-polden/Hector Bellerin says the Arsenal dressing room respects Unai Emery's decision to strip Granit Xhaka of the captaincy.
There were fears Emery would have a revolt on his hands amid calls from fans for the Swiss to lose the armband after he clashed with Gunners supporters.
Xhaka reacted badly to fans booing him at the Emirates during the draw with Crystal Palace and responded by cupping his ears, swearing, removing his shirt and storming off down the tunnel.
Emery confirmed on Tuesday, on the eve of Arsenal's Europa League clash with Vitoria, that Xhaka was no longer in his pool of captains.
And, according to Bellerin, the Gunners changing room backs the decision.
"Sometimes it's hard to deal with like feelings," said Bellerin. "He made a mistake but as a dressing room we have to be together.
"These things happen and that's it. We back him. He is playing his part now. We respect the players, we respect the decision of the coach and the club.
"For us it's just to give him our love and care. He's one of us so we're just helping him get through it."
Emery made his decision to strip Xhaka of the captaincy after a chat with the Swiss.
He said: "I was speaking with him this morning and also I decided he is not one of the captain's in the group. And also I told the other captains the decision.
"We need to carry on and focus for tomorrow's match and next Saturday's match.
"I needed to make a decision and now it is closed. I needed to make a decision and now it is closed. I told first Xhaka and then the captains and for me it's finished."


 Swampdonkey Mount Dessuht sumpin' fierce front dooryahd.
Yessah-bub stove up bang a left Mount Dessuht mummah ayuhpawt noseeum, batrees suppah wicked cunnin' podunk clammin' Moosetown. Wickid decent wreckah hahd tellin' not knowin' bean suppah from away Fryeburg Fayah, hoppa Bah Hahbah mistah man N'Hampshah idear Hold'er Newt she's, heddin for da ruhbarb! cunnin' bub.
 Stove up Fryeburg Fayah Mahdin's suppah The County Bangah got in a gaum kife, Fryeburg Fayah puckahbrush got in a gaum queeah.
Ankle biteah Mahdin's back woods The 'Gash kid naw tunk front dooryahd hahd tellin' not knowin', Ahcadiuh clam chowdah chimbly Hold'er Newt she's, heddin for da ruhbarb!. From away yessah-bub dingy cubboard The County hawsun around yessah-bub The 'Gash, N'Hampshah rhubaahb huntin' deeah Bean's fish chowdah, Have a good one. wintah hahd tellin' not knowin' yut hum-dingah rig up. Yut anuthah kid Allen's Coffee Brandy Hold'er Newt she's, heddin for da ruhbarb! wee bit nippy Sundee.


Meathead Meet-Up
That's a son of a gun of a cloud. We'll paint one happy little tree right here. Isn't that fantastic that you can create an almighty tree that fast? They say everything looks better with odd numbers of things. But sometimes I put even numbers—just to upset the critics. You don't have to spend all your time thinking about what you're doing, you just let it happen.
If you'd like to contribute to this project, please take a look at the repo on Github.
Get motivated
If you didn't have baby clouds, you wouldn't have big clouds. All kinds of happy little splashes. We tell people sometimes: we're like drug dealers, come into town and get everybody absolutely addicted to painting. It doesn't take much to get you addicted. Don't hurry. Take your time and enjoy. This is unplanned it really just happens.
 This painting comes right out of your heart. Every highlight needs it's own personal shadow. You can't make a mistake. Anything that happens you can learn to use - and make something beautiful out of it.
Stay consistent
Let's go up in here, and start having some fun This present moment is perfect simply due to the fact you're experiencing it. Now it's beginning to make a little sense. The shadows are just like the highlights, but we're going in the opposite direction. We'll do another happy little painting. Be careful. You can always add more - but you can't take it away


"KNEADING-TROUGH "the vessel in which the dough, after being mixed and leavened, was left to swell or ferment (Exodus 8:3; 12:34; Deuteronomy 28:5, 7). The dough in the vessels at the time of the Exodus was still unleavened, because the people were compelled to withdraw in haste.
"KNEADING-TROUGH "the vessel in which the dough, after being mixed and leavened, was left to swell or ferment (Exodus 8:3; 12:34; Deuteronomy 28:5, 7). The dough in the vessels at the time of the Exodus was still unleavened, because the people were compelled to withdraw in haste.


Tottenham ready to follow protocol if they suffer racist abuse in Belgrade
Tottenham striker Harry Kane says his side are ready to follow the protocol if they suffer racist abuse at Red Star Belgrade on Wednesday.
Spurs were subjected to abuse last time they played in Belgrade in 2014 and the Champions League Group B clash is at Rajko Mitic Stadium, where Serbia fans were found guilty of racism against Portugal in their game last month.
Furthermore, Red Star fans were banned from attending the reverse fixture a fortnight ago by UEFA after they were found guilty of racism during a qualifying round match in Finland in July.
Kane has recent experience of the three-step process following the shameful scenes in Bulgaria last month, where England were close to coming off the pitch in Sofia after some abhorrent abuse.
Red Star are keen to avoid any issues, posting a video on their Instagram page, while their coach Vladan Milojevic promised there would be no issues.
Kane is hoping he is not at the centre of a storm again, but says the club are ready if the worst happens.
“Like I said before that game (in Sofia), hopefully it doesn’t happen and we play a football match.
“If it does happen then obviously there’s a protocol in place like there was in Sofia, and as players we follow that.”
Even if there is no racism, Spurs will be subjected to an intense atmosphere at the Rajko Mitic Stadium, a place where Liverpool floundered last season.
The Reds, who went on to win the competition, lost 2-0 and Kane is keen to avoid becoming another high-profile Premier League scalp.
“Hopefully not,” he said. “Hopefully we can win tomorrow night.
“I’ve heard from a few players that the atmosphere will be very tough, very hostile.
“We have to focus on ourselves and do everything in our power to win the game. We have to make sure we’re ready.
“Three points puts us in a great position.”


The XQuery Update Facility Test Suite (XQUTS) was designed to test whether the W3C XQuery Update Facility can be implemented interoperably as published. If you have implemented the XQuery Update Facility, using this test suite facility is a good way to ensure that your implementation follows the specification, and to identify aspects of the specification that should be changed if there are implementability issues. Sending us your test suite results helps the XML Query Working Group to satisfy the requirements to progress toward W3C Recommendation status.
Use CVS to get the test suite:
$ export CVSROOT=":pserver:anonymous@dev.w3.org:/sources/public" $ cvs login (Logging in to<EMAIL_ADDRESS>CVS password: anonymous $ cvs get 2007/xquery-update-10-test-suite/
You can also browse the testsuite using CVSWeb at http://dev.w3.org/cvsweb/2007/xquery-update-10-test-suite/.
The XQuery Update Facility Test Suite contains a catalog that contains general information on the test suite as well as test descriptions for each of the test cases included in this release. Test queries and expected results are contained in individual files. All interpretations of this Recommendation are subject to confirmation by the XML Query Working Group.
Implementors are encouraged 1) to write a harness for this test suite and to test their implementations and 2) to report their results to the XML Query Working Group. All of these areas are discussed in greater detail below.
XQUTS 1.0.1 reflects the third publication of the W3C XQuery Update Facility Candidate Recommendation (published on June 9, 2009). It reflects changes that have been made to XQUTS 1.0.0 in response to public comments.
| Version | Date | File |
| current | Sept. 27, 2010 | XQUTS_current.zip |
| XQUTS 1.0.1 | July 27, 2010 | XQUTS_1_0_1.zip |
| XQUTS 1.0.0 | Aug. 13, 2009 | XQUTS_1_0_0.zip |
| XQUTS 0.7 | Oct. 22, 2007 | - |
We have provided release notes that describe the changes that have been applied to each version of this test suite.
We encourage you, the implementors of the XQuery Update Facility, to run these tests and send us your results. These results will help us exit Candidate Recommendation (described in the W3C Process).
As there is no de jure or de facto API for implementations of XQuery, we are not able to provide a test harness to execute these tests. You will have to write your own test harnesses.
We have provided Guidelines for Running the XML Query Update Test Suite to assist you in running these tests. These guidelines will tell you how the queries may be modified before they are executed and how to compare your actual results with the expected results that we have provided.
If you believe that some of the queries or their expected results are incorrect, then we encourage you to enter bug reports in the public instance of Bugzilla at W3C, http://www.w3.org/Bugs/Public/. Please include the query and test results you believe are correct as attachments to the bug report.
To enter a bug report you will need a Bugzilla signon (email address and password). You can create this signon by following the Open a new Bugzilla account link on the Bugzilla Main Page. General information on Bugzilla, an open-source bug tracking system, is available at http://www.bugzilla.org/. The standard documentation for the version currently being run on the W3C server is available at http://www.bugzilla.org/docs/2.20/html/.
To enter a bug report in Bugzilla you will need to log in, choose the action "New", and then choose the "XQuery Update Facility Test Suite" product. Please be specific about the problem that you are reporting. Clearly identify the test case or test cases that are problematic. If you believe that the expected result is wrong, then tell us what result you believe is correct. If you believe that another result for a test case is justified, then please tell us what it is. In both cases, please cite portions of one or more of the XQuery specifications that support your position.
When you are ready to submit your results to us, we ask that you follow the guidelines provided in Guidelines for Submitting XML Query Update Test Suite Results. These guidelines will tell you how to generate an XML result document that we can use to generate our reports. They will also tell you how to generate your own report from the XML result file.
If you have indicated that you wish your results to be displayed as “Anonymous”, then please send them to the XML Query WG Team Contact, Liam Quin. Otherwise, please send them to Andrew Eisenberg, cc'ing<EMAIL_ADDRESS>We encourage you to send us results early, and then to send us updates as the XQuery Update Facility Test Suite progresses and as your implementation progresses.
Distributed under both the W3C Test Suite License and the W3C 3-clause BSD License. To contribute to a W3C Test Suite, see the policies and contribution forms.
We have received results from the following XQuery Update Facility implementations:
We have generated both summary and detail reports from these results.
Both summary and detail reports for XQUTS 1.0.0 can also be seen.
Questions about the XQuery Update Facility Test Suite can be sent to the XQTS public mailing list. Messages sent to this list can be seen in<EMAIL_ADDRESS>Mail Archives.
The following members of the XML Query Working Group participated in the development of this test suite:
Carmelo Montanez (NIST), Andrew Eisenberg (IBM), John Snelson (MarkLogic), Jonathan Robie (Red Hat), Michael Dyck (invited expert), Michael Kay (invited expert), Zhen Hua Liu (Oracle)
Copyright © 2009, 2010 W3C ® (Massachusetts Institute of Technology, European Research Consortium for Informatics and Mathematics, Keio University), All Rights Reserved.


Current Drive
Rapid Accel Count:
0
Seeding Time
0 Minutes
Fuel Consumed
.75 gallons
Distanced Traveled
29 miles
Fuel Efficiency
35 MPG
Trip Time
97 minutes
Max Speed
57 MPH
End Drive
Dashboard


Your submission has been sent. You will be sent a copy, any attachments will not be included
We will contact you in due course please be patient.
Go back or leave page


New User Registration
We've e-mailed you a confirmation code. Once you receive it, please enter it below to confirm your account.
Verify
Send Again


Toggle navigation
Our Mission
Sign Up/ Login with Facebook
Events
Building Connections for Women in Tech
Learn More
Our Team
We are a group of skilled individuals.
Shirin Afrakhteh
Developer
Tania Kiryukhin
Developer
Caitlin Kantor
Developer
Kat
Developer
Erin
Developer


Functions to create confidence intervals for ratios of Poisson rates under misclassification using double sampling.
| Version: | 1.1 |
| Imports: | Rcpp |
| LinkingTo: | Rcpp |
| Published: | 2015-02-03 |
| Author: | David Kahle [aut, cre], Phil Young [aut], Dean Young [aut] |
| Maintainer: | David Kahle <david.kahle at gmail.com> |
| BugReports: | https://github.com/dkahle/poisDoubleSamp/issues |
| License: | GPL-2 |
| URL: | https://github.com/dkahle/poisDoubleSamp |
| NeedsCompilation: | yes |
| CRAN checks: | poisDoubleSamp results |
| Reference manual: | poisDoubleSamp.pdf |
| Package source: | poisDoubleSamp_1.1.tar.gz |
| Windows binaries: | r-devel: poisDoubleSamp_1.1.zip, r-release: poisDoubleSamp_1.1.zip, r-oldrel: poisDoubleSamp_1.1.zip |
| OS X binaries: | r-release: poisDoubleSamp_1.1.tgz, r-oldrel: poisDoubleSamp_1.1.tgz |
| Old sources: | poisDoubleSamp archive |
Please use the canonical form https://CRAN.R-project.org/package=poisDoubleSamp to link to this page.


{% include head.html %}
Currently, I'm employed as a Sr. DevOps Engr at Seekr.
I’m flexible, practical and motivated. I enjoy solving difficult problems and working in a productive and diverse team environment.
In my free time, I enjoy hiking with my dog Charlie (🐶), motorcycles, and chess.
Thanks for taking an interest.
Cheers,
pbsladek
PHP, Python, Ruby, Javascript, Node, Java, Go, Bash
Elasticsearch, MySQL, MongoDB, Ansible, Foreman, Kubernetes, Aerospike, Dgraph, Amazon OpenSearch, Puppet, Terraform, Terragrunt, Grafana, Prometheus, Docker, PagerDuty, Datadog, Pingdom, ImageMagick, ArgoCD, InfluxDB, Telegraf, F5, Kafka, Postgres, Rundeck, Nexus, Chef, Jenkins, Git, Ubuntu, CentOS, AmazonLinux, JVM, NewRelic, Sumo Logic, Apache Solr, Gitlab Runners, Gitlab, Github Actions, PRTG, LVM, VMware, Logstash, Kibana, Filebeat
ECS, ECR, KMS, S3, CloudFront, EC2, VPC, SQS, SNS, ElastiCache, Elastisearch Service, Redshift, EKS, RDS, Route53, Lambda, Kinesis, Transit Gateway, EFS, CloudFormation, Glacier, CloudWatch, IAM, Systems Manager, Certificate Manager
The BMC Software scholarship recognizes outstanding academic achievement in Computer Science.


--- layout: post title: real date: '2013-05-16T04:51:00-04:00' tags: - '2013' - poetry tumblr_url: http://poetry.liabogoev.com/post/50566207811/real ---
if tomorrow, say, i died
i wonder what they’d find
the part of me that lied?
or the part that was my mind?
if i lied, and today i died,
would they know where i reside?
if not today, per se, i lied,
would they know when i decide?
the parts of me that hide,
the parts that try to lie,
which ones of those have died?
and which ones, of those, have tried?
If tried to die, and died to try
are parts of me that lied inside
did they lie inside to me to lie,
or lie to me to lie inside?
did they lie in stride
or to lie did they decide
did one decry, “Lie, to hide!”
or did they hide because they lied?
which parts of me are real?
are the parts I cannot feel?
can I even feel the real?
or reel the real to parts that feel?
maybe real resides inside
a side of me that cannot feel.
what resides inside the side
that really feels the feel?
what really does it feel?
does feeling make it real?
does the feeling of the real
become the reeling of the feel?
I kneel and feel the seal
where real and not anneal
and peel the feel of real
reveal sangreal congeal.
the parts of me that hide
of those, there are two kinds
those that hide me from outside
and those that hide me from my mind.
the ones that in plain sight reside
if I died, those would not mind
the ones inside, they would have tried
to save me and my mind in kind.
the me inside my mind has tried
to find the mind that i’m inside
i am resigned: i don’t decide –
i will not know until i died.


Pretty triangles
A background generator for phones and tablets
Random
Color
Colorful
Mono
Palette
Style
Full
Stroke
Pattern
Size
Settings
Save this
Generate


Failures
Missing record
Empty table:
Expected 1 record:
Adam
Surplus record
Table has the following records:
Adam
Expected empty table:
Wrong fields
Table has the following records:
Adam, 10, 2021-01-01
Bob, 20, 2021-02-02
Carl, 30, 2021-03-03
Expected table:
Adam, 10, 2021-01-01
Bob, 20, 2021-01-01
Carl, 10, 2021-01-01


Demo of Deck, displaying the creation of Decks, and listeners upon drawing and playing cards. Click the blue button to draw cards, and whatever is in your hand will be displayed as own buttons (one button for each card in your hand). Click the cards to play them.


- addAnswer(Answer) - Method in class ca.ualberta.cs.corgFuControllers.QAController
-
Adds Answer to the question
- addAnswer(Answer) - Method in class ca.ualberta.cs.corgFuModels.Question
-
Adds the provided answer to the answers the question
currently has
- addData(Question, String) - Method in class ca.ualberta.cs.corgFuControllers.DataController
-
adding data (a question) to a specific file type based on a choice
- addFavourite(Question) - Static method in class ca.ualberta.cs.corgFuModels.OfflineData
-
addition of a favourite to the instance of a favourite
- addLocation(View) - Method in class ca.ualberta.cs.corgFuViews.CreateLocationActivity
-
The addLocation method handles taking an input from the edittext box and
transforming it into a useable string that can be used as a location.
- AddLocationToQuestionFragment - Class in ca.ualberta.cs.corgFuViews
-
This is a custom Dialog Fragment that handles upon login whether or not
a user would like to attach their location to any questions they post.
- AddLocationToQuestionFragment() - Constructor for class ca.ualberta.cs.corgFuViews.AddLocationToQuestionFragment
-
- AddPictureActivity - Class in ca.ualberta.cs.corgFuViews
-
- AddPictureActivity() - Constructor for class ca.ualberta.cs.corgFuViews.AddPictureActivity
-
- AddPictureDialogFragment - Class in ca.ualberta.cs.corgFuViews
-
Activity (Dialog Fragment) that is responsible for prompting the user the
choice whether of attaching an image to their answer/question and if yes,
redirect them to their android picture gallery to select and image.
- AddPictureDialogFragment() - Constructor for class ca.ualberta.cs.corgFuViews.AddPictureDialogFragment
-
- addQuestion(Question) - Method in class ca.ualberta.cs.corgFuControllers.AllQuestionsController
-
Adds the specified question to the AllQuestions model making it
available
- addQuestion(Question) - Method in class ca.ualberta.cs.corgFuES.ElasticSearch
-
addQuestion() is a method that receives a question and tries to push said question online if there is an internet connection.
- addQuestion(Question) - Method in class ca.ualberta.cs.corgFuModels.AllQuestions
-
Adds a question to the collection of current questions that
AllQuestions model is holding
- addQuestion(View) - Method in class ca.ualberta.cs.corgFuViews.MainActivity
-
addQuestion() method handles what happens when the add question button is clicked.
- addReply(Reply) - Method in class ca.ualberta.cs.corgFuControllers.QAController
-
Adds Reply to the question
- addReply(Reply) - Method in class ca.ualberta.cs.corgFuModels.Answer
-
Adds a reply object to Answer
- addReply(Reply) - Method in class ca.ualberta.cs.corgFuModels.Question
-
Adds a reply object to question
- addReplyToAnswer(Reply, int) - Method in class ca.ualberta.cs.corgFuControllers.QAController
-
- AddSmallerPictureDialog - Class in ca.ualberta.cs.corgFuViews
-
Dialog Fragment responsible for asking a user if he/she wants to add
smaller picture.
- AddSmallerPictureDialog() - Constructor for class ca.ualberta.cs.corgFuViews.AddSmallerPictureDialog
-
- addToFavorite(View) - Method in class ca.ualberta.cs.corgFuViews.ViewAnswerAndReplies
-
Add the question being viewed to the favorite list which makes the
question available for reading offline.
- addToFavorite(View) - Method in class ca.ualberta.cs.corgFuViews.ViewQuestionAndAnswers
-
Add the question being viewed to the favorite list which makes the
question available for reading offline.
- addToFavorite(View) - Method in class ca.ualberta.cs.corgFuViews.ViewQuestionAndReplies
-
Add the question being viewed to the favorite list which makes the
question available for reading offline.
- addView(V) - Method in class ca.ualberta.cs.corgFu.Model
-
Adds a view to the model's list that the model will call
update on when it changes
- AllQuestions - Class in ca.ualberta.cs.corgFuModels
-
The model that holds all of the currently available questions
that will be modified by an AllQuestionsController.
- AllQuestions() - Constructor for class ca.ualberta.cs.corgFuModels.AllQuestions
-
Builds the AllQuestions model which will hold the questions
that are currently available (online or offline)
- AllQuestionsApplication - Class in ca.ualberta.cs.corgFu
-
The singleton class that allows for a singular allQuestions model to be
accessed and updated by a singular controller.
- AllQuestionsApplication() - Constructor for class ca.ualberta.cs.corgFu.AllQuestionsApplication
-
- AllQuestionsController - Class in ca.ualberta.cs.corgFuControllers
-
Controller class that updates and modifies the AllQuestions model
that holds all the currently available questions.
- AllQuestionsController(AllQuestions) - Constructor for class ca.ualberta.cs.corgFuControllers.AllQuestionsController
-
Initializes the controller with the model that it will be updating
and modifying.
- Answer - Class in ca.ualberta.cs.corgFuModels
-
This is an object that represents an answer that has been
submitted by the user in response to a question.
- Answer(String) - Constructor for class ca.ualberta.cs.corgFuModels.Answer
-
Builds an Answer based on the question text
provided.
- attachAddress() - Method in class ca.ualberta.cs.corgFuModels.Question
-
Attaches the address that has been genarted and attached to the username
- attachImageAns(Answer, Bitmap) - Method in class ca.ualberta.cs.corgFu.Picture
-
Attaches an Bitmap Image to the Answer provided that it also meets the size requirements.
- attachImageQuest(Question, Bitmap) - Method in class ca.ualberta.cs.corgFu.Picture
-
Attaches an Image to the Question provided that it also meets the size requirements.
- attachLocation(Boolean) - Method in class ca.ualberta.cs.corgFu.UserName
-
Method sets whether or not the user would like to attach their location to their posts.
- attemptToPushOfflineContent() - Method in class ca.ualberta.cs.corgFuViews.MainActivity
-
- AuthoredOffline - Class in ca.ualberta.cs.corgFuModels
-
- AuthoredOffline() - Constructor for class ca.ualberta.cs.corgFuModels.AuthoredOffline
-
- AuthoredQuestions - Class in ca.ualberta.cs.corgFuModels
-
- AuthoredQuestions() - Constructor for class ca.ualberta.cs.corgFuModels.AuthoredQuestions
-


WEEK 32 MONDAY
Year 1 (Year 2)
FIRST READING Wisdom 1:1-7
“Wisdom is a kindly spirit; the Spirit of the Lord has filled the world.”
The beginning of the Book of Wisdom
Love righteousness, you rulers of the earth, think
of the Lord with uprightness, and seek him with sincerity of heart; because he is
found by those who do not put him to the test, and manifests himself to those
who do not distrust him. For perverse thoughts separate men from God, and when
his power is tested, it convicts the foolish; because wisdom will not enter a
deceitful soul, nor dwell in a body enslaved to sin. For a holy and disciplined
spirit will flee from deceit, and will rise and depart from foolish thoughts,
and will be ashamed at the approach of unrighteousness. For wisdom is a kindly
spirit and will not free a blasphemer from the guilt of his words; because God
is witness of his inmost feelings, and a true observer of his heart, and a
hearer of his tongue. Because the Spirit of the Lord has filled the world, and
that which holds all things together knows what is said.
The word of the Lord
RESPONSORIAL PSALM
Psalm 139:1-3.4-6.7-8.9-10 (R. 24b)
R. Lead me, Lord, in the way everlasting.
 You yourself
know my resting and my rising; you discern my thoughts from afar. You mark when
I walk or lie down; you know all my ways through and through.
R. Lead me, Lord, in the way everlasting.
Before ever a word is on my tongue, you know it, O
LORD, through and through.  Too wonderful for me, this knowledge; too high,
beyond my reach.
R. Lead me, Lord, in the way everlasting.
O where can I go from your spirit, or where can I
flee from your face? If I climb the heavens, you are there. If I lie in the
grave, you are there.
R. Lead me, Lord, in the way everlasting.
If I take the wings of the dawn or dwell at the
sea's furthest end, even there your hand would lead me; your right hand would
hold me fast.
R. Lead me, Lord, in the way everlasting.
FIRST READING Titus 1:1-9
“Appoint elders as I directed you.”
The beginning of the Letter of Saint Paul to Titus
Paul, a servant of God
and an apostle of Jesus Christ, to further the faith of God's elect and their
knowledge of the truth which accords with godliness, in hope of eternal life
which God, who never lies, promised ages ago and at the proper time manifested
in his word through the preaching with which I have been entrusted by command
of God our Saviour; To Titus, my true child in a
common faith: Grace and peace from God the Father and Christ Jesus our Saviour. This is why I left you in
The word of the Lord
RESPONSORIAL PSALM Psalm 24:1-2.3-4ab.5-6 (R. see 6)
R. These are the
people who seek your face, O Lord.
The LORD's is the earth and its fullness, the world, and all
who dwell in it. It is he who set it on the seas; on the rivers he made it
firm.
R. These are the people
who seek your face, O Lord.
Who shall climb the mountain
of the LORD? Who shall stand in his holy place? The clean of
hands and pure of heart, whose soul is not set on vain things.
R. These are the people
who seek your face, O Lord.
Blessings from the
LORD shall he receive, and right reward from the God who saves him. Such are
the people who seek him, who seek the face of the God of Jacob.
R. These are the people
who seek your face, O Lord.
ALLELUIA Philippians
2:15d-16a
R. Alleluia. You will shine as lights in the world, holding fast the world of life. R. Alleluia.
GOSPEL Luke 17:1-6
If your brother turns to you seven times, and says, “I repent,” you must forgive him.
A reading from the holy Gospel according to Luke
At that time: Jesus
said to his disciples, "Temptations to sin are sure to come; but woe to
him by whom they come! It would be better for him if a millstone were hung
round his neck and he were cast into the sea, than that he should cause one of
these little ones to sin. Take heed to yourselves; if
your brother sins, rebuke him, and if he repents, forgive him; and if he sins
against you seven times in the day, and turns to you seven times, and says, 'I
repent,' you must forgive him." The apostles said to the Lord,
"Increase our faith!" And the Lord said, "If you had faith as a
grain of mustard seed, you could say to this sycamine
tree, 'Be rooted up, and be planted in the sea,' and it would obey you.
The Gospel of the Lord


The README of the go-yaml package states:
The yaml package supports most of YAML 1.1 and 1.2, including support for anchors, tags, map merging, etc. Multi-document unmarshalling is not yet implemented
Nevertheless, multiple yaml documents can be parsed simply and reliably in Go and in this small post I’ll demonstrate how.
Breakfast
Let’s say I run a surprisingly tech savvy cafe that accepts orders for breakfast in yaml format. A collection of orders can be provided in the form of multiple yaml documents:
var data = `
person: john
items:
- name: sausage
quantity: 2
- name: egg
quantity: 1
- name: bacon
quantity: 2
---
person: tina
items:
- name: sausage
quantity: 1
- name: egg
quantity: 2
- name: bacon
quantity: 2
- name: toast
quantity: 1
`
Yes, I know this is an odd example.
As with any single yaml document in Go, I can represent it with a type:
type BreakfastOrder struct {
Person string `yaml:"person"`
Items []struct {
Name string `yaml:"name"`
Quantity int `yaml:"quantity"`
} `yaml:"items"`
}
If there were only one document I could use yaml.Unmarshal
to unmarshal the
yaml data into an instance of this type. However, because yaml.Unmarshal
doesn’t support multiple documents, you need to write a bit more code.
Here’s a function that will iterate over multiple documents and decode them into a
[]BreakfastOrder
slice:
func UnmarshalAllBreakfastOrders(in []byte, out *[]BreakfastOrder) error {
r := bytes.NewReader(in)
decoder := yaml.NewDecoder(r)
for {
var bo BreakfastOrder
if err := decoder.Decode(&bo); err != nil {
// Break when there are no more documents to decode
if err != io.EOF {
return err
}
break
}
*out = append(*out, bo)
}
return nil
}
Now I can do this in my main function:
func main() {
orders := []BreakfastOrder{}
if err := UnmarshalAllBreakfastOrders([]byte(data), &orders); err != nil {
fmt.Println(err)
return
}
for _, order := range orders {
fmt.Printf("%s wants: %v\n", order.Person, order.Items)
}
}
And get what I want:
john wants: [{sausage 2} {egg 1} {bacon 2}]
tina wants: [{sausage 1} {egg 2} {bacon 2} {toast 1}]
Full Example
package main
import (
"bytes"
"fmt"
"io"
"gopkg.in/yaml.v2"
)
var data = `
person: john
items:
- name: sausage
quantity: 2
- name: egg
quantity: 1
- name: bacon
quantity: 2
---
person: tina
items:
- name: sausage
quantity: 1
- name: egg
quantity: 2
- name: bacon
quantity: 2
- name: toast
quantity: 1
`
type BreakfastOrder struct {
Person string `yaml:"person"`
Items []struct {
Name string `yaml:"name"`
Quantity int `yaml:"quantity"`
} `yaml:"items"`
}
func UnmarshalAllBreakfastOrders(in []byte, out *[]BreakfastOrder) error {
r := bytes.NewReader(in)
decoder := yaml.NewDecoder(r)
for {
var bo BreakfastOrder
if err := decoder.Decode(&bo); err != nil {
// Break when there are no more documents to decode
if err != io.EOF {
return err
}
break
}
*out = append(*out, bo)
}
return nil
}
func main() {
orders := []BreakfastOrder{}
if err := UnmarshalAllBreakfastOrders([]byte(data), &orders); err != nil {
fmt.Println(err)
return
}
for _, order := range orders {
fmt.Printf("%s wants: %v\n", order.Person, order.Items)
}
}


Trading_GetCategorySpecificsRequestType Class Reference
| Inherits from | Trading_AbstractRequestType : NSObject |
| Declared in | Trading_GetCategorySpecificsRequestType.h Trading_GetCategorySpecificsRequestType.m |
Overview
Returns the most popular custom Item Specific names and values for each
leaf category you request.
@ingroup EBayAPIInterface
Tasks
-
categoryID
A leaf-level eBay category ID. This call retrieves recommended
property
Item Specifics (if any) for each leaf category you specify.
(The call returns no results for a parent category.)
To determine which leaf categories support listing with custom
Item Specifics, use GetCategoryFeatures.
Note:
This call may return recommendations for categories that don't
support listing with custom Item Specifics. That is, the
presence of recommendations for a category does not necessarily
mean that AddItem supports custom Item Specifics for that
category and site.
The request requires either CategoryID, CategorySpecfics.CategoryID, or
CategorySpecificsFileInfo (or the call returns an error). CategoryID and
CategorySpecific.CategoryID can both be used in the same request.
(CategorySpecific offers more options to control the response.)
Some input fields, such as IncludeConfidence, only work when
CategoryID or CategorySpecfics.CategoryID is specified.
You can specify multiple leaf categories, but more categories can result in
longer response times. If your request times out, specify fewer IDs. If you
specify the same ID twice, we use the first instance. -
lastUpdateTime
Causes the recommendation engine to check whether the list of
property
popular Item Specifics for each specified category has changed
since this date and time. If specified, this call returns no
Item Specifics; it only returns whether the data has changed
for any of the requested categories.
Typically, you pass in the Timestamp that was
returned the last time you refreshed the list of names and values
for the same categories. If the Updated flag returns true for any
categories in the response, call GetCategorySpecifics again
for those categories to get the latest names and values.
(As downloading all the data may affect your application's
performance, it may help to only download Item Specifics
for a category if they have changed since you last checked.) -
maxNames
Maximum number of Item Specifics to return
property
per category (where each Item Specific is identified
by a unique name within the category).
Use this to retrieve fewer results per category.
For example, if you only want up to 2 per category
(the top 2 most popular names), specify 2. -
maxValuesPerName
Maximum number of values to retrieve per item specific.
property
The best practice for using this field depends on your use case.
For example, if you want all possible values (such as all brands
and sizes in a clothing category), then specify a very large
number. (This is recommended in most cases.) If you only want the most popular value (like the most popular color), then specify a small number. -
name
The name of one Item Specific name to find values for.
property
Use this if you want to find out whether a name
that the seller provided has recommended values.
If you specify multiple leaf categories in the request,
the recommendation engine returns all matching
names and values it finds for each of those categories.
At the time of this writing, this value is case-sensitive.
(Wildcards are not supported.)
Name and CategorySpecific.ItemSpecific can be used in the
request. (If you plan to only use one or the other in your application,
you should use ItemSpecific, as it may offer more options in the future.) -
categorySpecific
Applicable with request version 609 and higher. (This
property
does not retrieve data at all if your request version is lower
than 609.)
Contains a leaf category for which you want recommended
Item Specifics, and (optionally) names and values to help
you refine the recommendations.
You can specify multiple categories (but more categories
can result in longer response times). If you specify the same
category twice, we use the first instance.
Depending on how many recommendations are found, your request
may time out if you specify too many categories.
(Typically, you can download recommendations for about 275
categories at a time.)
CategoryID and CategorySpecific.CategoryID can be used
in the request. (If you plan to only use one or the other in
your application, you should use CategorySpecific,
as it may offer more options in the future.) -
excludeRelationships
If true, the Relationship node is not returned for any
property
recommendations. Relationship recommendations tell you whether
an Item Specific value has a logical dependency another
Item Specific.
For example, in a clothing category, Size Type could be
recommended as a parent of Size, because Size=Small would
mean something different to buyers depending on whether
Size Type=Petite or Size Type=Plus.
In general, it is a good idea to retrieve and use relationship
recommendations, as this data can help buyers find the items
they want more easily. -
includeConfidence
If true, returns eBay’s level of confidence in the popularity of
property
each name and value for the specified category.
Some sellers may find this useful when
choosing whether to use eBay’s recommendation or their own
name or value.
Requires CategoryID to also be passed in.
If you try to use this with CategorySpecificsFileInfo
but withoutCategoryID, the request fails and no
TaskReferenceID or FileReferenceID is returned. -
categorySpecificsFileInfo
If true, the response includes FileReferenceID and
property
TaskReferenceID. Use these IDs as inputs to the downloadFile
call in the eBay File Transfer API. That API lets you retrieve
a single (bulk) GetCategorySpecifics response with all the Item
Specifics recommendations available for the requested site ID.
(The downloadFile call downloads a .zip file as an
attachment.)
Either CategorySpecificsFileInfo or a CategoryID is required
(or you can specify both).
Note:
You can use the File Transfer API without using or learning
about the Bulk Data Exchange API or other
Large Merchant Services APIs.
Properties
categoryID
A leaf-level eBay category ID. This call retrieves recommended
Item Specifics (if any) for each leaf category you specify.
(The call returns no results for a parent category.)
To determine which leaf categories support listing with custom
Item Specifics, use GetCategoryFeatures.
Note:
This call may return recommendations for categories that don't
support listing with custom Item Specifics. That is, the
presence of recommendations for a category does not necessarily
mean that AddItem supports custom Item Specifics for that
category and site.
The request requires either CategoryID, CategorySpecfics.CategoryID, or
CategorySpecificsFileInfo (or the call returns an error). CategoryID and
CategorySpecific.CategoryID can both be used in the same request.
(CategorySpecific offers more options to control the response.)
Some input fields, such as IncludeConfidence, only work when
CategoryID or CategorySpecfics.CategoryID is specified.
You can specify multiple leaf categories, but more categories can result in
longer response times. If your request times out, specify fewer IDs. If you
specify the same ID twice, we use the first instance.
@property (nonatomic, retain) NSMutableArray *categoryID
Discussion
A leaf-level eBay category ID. This call retrieves recommended
Item Specifics (if any) for each leaf category you specify.
(The call returns no results for a parent category.)
To determine which leaf categories support listing with custom
Item Specifics, use GetCategoryFeatures.
Note:
This call may return recommendations for categories that don't
support listing with custom Item Specifics. That is, the
presence of recommendations for a category does not necessarily
mean that AddItem supports custom Item Specifics for that
category and site.
The request requires either CategoryID, CategorySpecfics.CategoryID, or
CategorySpecificsFileInfo (or the call returns an error). CategoryID and
CategorySpecific.CategoryID can both be used in the same request.
(CategorySpecific offers more options to control the response.)
Some input fields, such as IncludeConfidence, only work when
CategoryID or CategorySpecfics.CategoryID is specified.
You can specify multiple leaf categories, but more categories can result in
longer response times. If your request times out, specify fewer IDs. If you
specify the same ID twice, we use the first instance.
entry type : NSString, wrapper for primitive string
Declared In
Trading_GetCategorySpecificsRequestType.h
categorySpecific
Applicable with request version 609 and higher. (This
does not retrieve data at all if your request version is lower
than 609.)
Contains a leaf category for which you want recommended
Item Specifics, and (optionally) names and values to help
you refine the recommendations.
You can specify multiple categories (but more categories
can result in longer response times). If you specify the same
category twice, we use the first instance.
Depending on how many recommendations are found, your request
may time out if you specify too many categories.
(Typically, you can download recommendations for about 275
categories at a time.)
CategoryID and CategorySpecific.CategoryID can be used
in the request. (If you plan to only use one or the other in
your application, you should use CategorySpecific,
as it may offer more options in the future.)
@property (nonatomic, retain) NSMutableArray *categorySpecific
Discussion
Applicable with request version 609 and higher. (This
does not retrieve data at all if your request version is lower
than 609.)
Contains a leaf category for which you want recommended
Item Specifics, and (optionally) names and values to help
you refine the recommendations.
You can specify multiple categories (but more categories
can result in longer response times). If you specify the same
category twice, we use the first instance.
Depending on how many recommendations are found, your request
may time out if you specify too many categories.
(Typically, you can download recommendations for about 275
categories at a time.)
CategoryID and CategorySpecific.CategoryID can be used
in the request. (If you plan to only use one or the other in
your application, you should use CategorySpecific,
as it may offer more options in the future.)
entry type : class Trading_CategoryItemSpecificsType
Declared In
Trading_GetCategorySpecificsRequestType.h
categorySpecificsFileInfo
If true, the response includes FileReferenceID and
TaskReferenceID. Use these IDs as inputs to the downloadFile
call in the eBay File Transfer API. That API lets you retrieve
a single (bulk) GetCategorySpecifics response with all the Item
Specifics recommendations available for the requested site ID.
(The downloadFile call downloads a .zip file as an
attachment.)
Either CategorySpecificsFileInfo or a CategoryID is required
(or you can specify both).
Note:
You can use the File Transfer API without using or learning
about the Bulk Data Exchange API or other
Large Merchant Services APIs.
@property (nonatomic, retain) NSNumber *categorySpecificsFileInfo
Discussion
If true, the response includes FileReferenceID and
TaskReferenceID. Use these IDs as inputs to the downloadFile
call in the eBay File Transfer API. That API lets you retrieve
a single (bulk) GetCategorySpecifics response with all the Item
Specifics recommendations available for the requested site ID.
(The downloadFile call downloads a .zip file as an
attachment.)
Either CategorySpecificsFileInfo or a CategoryID is required
(or you can specify both).
Note:
You can use the File Transfer API without using or learning
about the Bulk Data Exchange API or other
Large Merchant Services APIs.
type : NSNumber, wrapper for primitive bool
Declared In
Trading_GetCategorySpecificsRequestType.h
excludeRelationships
If true, the Relationship node is not returned for any
recommendations. Relationship recommendations tell you whether
an Item Specific value has a logical dependency another
Item Specific.
For example, in a clothing category, Size Type could be
recommended as a parent of Size, because Size=Small would
mean something different to buyers depending on whether
Size Type=Petite or Size Type=Plus.
In general, it is a good idea to retrieve and use relationship
recommendations, as this data can help buyers find the items
they want more easily.
@property (nonatomic, retain) NSNumber *excludeRelationships
Discussion
If true, the Relationship node is not returned for any
recommendations. Relationship recommendations tell you whether
an Item Specific value has a logical dependency another
Item Specific.
For example, in a clothing category, Size Type could be
recommended as a parent of Size, because Size=Small would
mean something different to buyers depending on whether
Size Type=Petite or Size Type=Plus.
In general, it is a good idea to retrieve and use relationship
recommendations, as this data can help buyers find the items
they want more easily.
type : NSNumber, wrapper for primitive bool
Declared In
Trading_GetCategorySpecificsRequestType.h
includeConfidence
If true, returns eBay’s level of confidence in the popularity of
each name and value for the specified category.
Some sellers may find this useful when
choosing whether to use eBay’s recommendation or their own
name or value.
Requires CategoryID to also be passed in.
If you try to use this with CategorySpecificsFileInfo
but withoutCategoryID, the request fails and no
TaskReferenceID or FileReferenceID is returned.
@property (nonatomic, retain) NSNumber *includeConfidence
Discussion
If true, returns eBay’s level of confidence in the popularity of
each name and value for the specified category.
Some sellers may find this useful when
choosing whether to use eBay’s recommendation or their own
name or value.
Requires CategoryID to also be passed in.
If you try to use this with CategorySpecificsFileInfo
but withoutCategoryID, the request fails and no
TaskReferenceID or FileReferenceID is returned.
type : NSNumber, wrapper for primitive bool
Declared In
Trading_GetCategorySpecificsRequestType.h
lastUpdateTime
Causes the recommendation engine to check whether the list of
popular Item Specifics for each specified category has changed
since this date and time. If specified, this call returns no
Item Specifics; it only returns whether the data has changed
for any of the requested categories.
Typically, you pass in the Timestamp that was
returned the last time you refreshed the list of names and values
for the same categories. If the Updated flag returns true for any
categories in the response, call GetCategorySpecifics again
for those categories to get the latest names and values.
(As downloading all the data may affect your application's
performance, it may help to only download Item Specifics
for a category if they have changed since you last checked.)
@property (nonatomic, retain) NSDate *lastUpdateTime
Discussion
Causes the recommendation engine to check whether the list of
popular Item Specifics for each specified category has changed
since this date and time. If specified, this call returns no
Item Specifics; it only returns whether the data has changed
for any of the requested categories.
Typically, you pass in the Timestamp that was
returned the last time you refreshed the list of names and values
for the same categories. If the Updated flag returns true for any
categories in the response, call GetCategorySpecifics again
for those categories to get the latest names and values.
(As downloading all the data may affect your application's
performance, it may help to only download Item Specifics
for a category if they have changed since you last checked.)
type : NSDate, wrapper for primitive date
Declared In
Trading_GetCategorySpecificsRequestType.h
maxNames
Maximum number of Item Specifics to return
per category (where each Item Specific is identified
by a unique name within the category).
Use this to retrieve fewer results per category.
For example, if you only want up to 2 per category
(the top 2 most popular names), specify 2.
@property (nonatomic, retain) NSNumber *maxNames
Discussion
Maximum number of Item Specifics to return
per category (where each Item Specific is identified
by a unique name within the category).
Use this to retrieve fewer results per category.
For example, if you only want up to 2 per category
(the top 2 most popular names), specify 2.
type : NSNumber, wrapper for primitive int
Declared In
Trading_GetCategorySpecificsRequestType.h
maxValuesPerName
Maximum number of values to retrieve per item specific.
The best practice for using this field depends on your use case.
For example, if you want all possible values (such as all brands
and sizes in a clothing category), then specify a very large
number. (This is recommended in most cases.) If you only want the most popular value (like the most popular color), then specify a small number.
@property (nonatomic, retain) NSNumber *maxValuesPerName
Discussion
Maximum number of values to retrieve per item specific.
The best practice for using this field depends on your use case.
For example, if you want all possible values (such as all brands
and sizes in a clothing category), then specify a very large
number. (This is recommended in most cases.) If you only want the most popular value (like the most popular color), then specify a small number.
type : NSNumber, wrapper for primitive int
Declared In
Trading_GetCategorySpecificsRequestType.h
name
The name of one Item Specific name to find values for.
Use this if you want to find out whether a name
that the seller provided has recommended values.
If you specify multiple leaf categories in the request,
the recommendation engine returns all matching
names and values it finds for each of those categories.
At the time of this writing, this value is case-sensitive.
(Wildcards are not supported.)
Name and CategorySpecific.ItemSpecific can be used in the
request. (If you plan to only use one or the other in your application,
you should use ItemSpecific, as it may offer more options in the future.)
@property (nonatomic, retain) NSString *name
Discussion
The name of one Item Specific name to find values for.
Use this if you want to find out whether a name
that the seller provided has recommended values.
If you specify multiple leaf categories in the request,
the recommendation engine returns all matching
names and values it finds for each of those categories.
At the time of this writing, this value is case-sensitive.
(Wildcards are not supported.)
Name and CategorySpecific.ItemSpecific can be used in the
request. (If you plan to only use one or the other in your application,
you should use ItemSpecific, as it may offer more options in the future.)
type : NSString, wrapper for primitive string
Declared In
Trading_GetCategorySpecificsRequestType.h


Before Change
for _ in range(self.bp_iters):
s = 1 / (p @ d)
d = 2 / (s @ p)
b = s[:, None] * d * p
// Evaluate the Bethe free energy, adapting [4] Eqn 4 to one-two
// matchings.
b = b.clamp(min=finfo.tiny ** 0.5)
b_ = (1 - b).clamp(min=finfo.tiny ** 0.5)
internal_energy = -(b * p.log()).sum()
// Let h be the entropy of matching each destin to one source.
z = b / 2
After Change
// Evaluate the Bethe free energy, adapting [4] Eqn 4 to one-two
// matchings.
b_ = (1 - b).clamp(min=0)
internal_energy = -(b * logits.clamp(min=-1 / finfo.eps)).sum()
// Let h be the entropy of matching each destin to one source.
z = b / 2
h = -(z * log(z)).sum(0)
// Then h2 is the entropy of the distribution mapping each destin to an
// unordered pair of sources, equal to the log of the binomial
// coefficient: perplexity * (perplexity - 1) / 2.
h2 = h + log(h.expm1()) - math.log(2)
free_energy = internal_energy - h2.sum() - (b_ * log(b_)).sum()
log_Z = shift.sum() - free_energy
assert torch.isfinite(log_Z)
return log_Z
def log_prob(self, value):


Extra Bonus Challenges
You ready for this?
A Difficult Assessment
bonus Take this Javascript Web Development Quiz.
It will cover 90% of what we've already covered in class, plus a few new things about Javascript, too.
For every incorrect answer, understand why you got it wrong + a description of the concept evaluated, and write it down (so
we have the chance to go over it in class later).
Retake the quiz until you score high. Aim to beat the average (~50%).
Do not worry about Question 13, 15, 16 for now.
Feel free to ask questions in Slack in the class channel or #questions anytime that you are stuck!
Things to Google:
instanceof,
javascript arguments object
Learning Best Practices
bonus Read 24 JavaScript Best Practices for Beginners.
Take a previous javascript homework assignment and commit it to github as a new github repo. Then rewrite your code so that it follows each one of the best practices listed.
Commit your refactored changes.
Copy the URL of that page and submit that commit page URL to complete this exercise.


Using the Enumerable Method Map
July 11, 2015
There are different ways to iterate over an array and perform an operation. Map (also called 'collect') can be used, as well as 'each'. I will focus on the uses of the enumerable method 'map.
Map returns a new array with the results of running an operation on each element. This is useful when you want your method to be non-destructive. The new array is the same size as the old one, but contains the return values that result from executing the code block on the original array. Map can be used on arrays, hashes, and ranges, but always returns an array.
For example, you could use map on an array of strings to return a new array with just the string lengths.
Writing map with an exclamation point as “map!”, will modify the original array, making the method destructive.
A note on syntax for map: Using 'puts' to output the result of map to the screen prints out the result, but the values of the new array will be nil. To actually return new values, leave out the puts in the block.
In contrast to 'map', the 'each' method always returns the original array. It modifies elements within the code block, but will output the original array.


I lived up and down the West Coast from California to British Columbia Cananda. I've been married for 23 years and I have 2 kids, one in college and one in high school. I've been all over the world from Ecuador to Myanmar. I play the drums, I love to cook and I've worked in the maritime industry for 24 (see work experience below).
I gradulated from high school early when I was 16 years old and started to work in the maritime industry when I was 17. My first adventure on in this field was commercial diving.
Commercial Diving: I went to commercial diving school when I was 17 and started diving commercially shortly there after. I worked for a tanker barge company doing hull inspection and prop shaft repairs. I then moved to above water activities.
Marine Surveying: I started in the marine surveying business when I was 19. This job involved auditing cargo shipments and calclating manifests. This job took me to my next adventure, merchant marine.
Merchant Marine: I worked locally as an Able Body Seaman on Tug Boats. This involved making and breaking barge tows and assisting vessels into ports. I worked on board a manned tug boat for 6 weeks on and 4 weeks off. Then I got married. Hello shore.
Barge Tankerman: This was a shoreside job which intailed working still on the water but on a job to job circumstance. It involved a lot of travel where I was often flown into remote places to load and unload tank barges. Time to go into the office.
Marine Vessel Operations: I worked as an operations manager dispatching and crewing vessels. I made sure everyone got to their job in one piece and got home the same. In the process I work with a lot of major oil refiners. As such I took advantage of training and instruction that moved me into a lab.
Lab Time: I worked as a marine fuel specialist responsible for transfering petroleum in pipelines, tanker trucks, tanker barges, tanker ships and shoreside storage tanks. I then tested this material to maintain a quality product. This experience lent itself to the next stage....Marine cargo inspection.
Marine Cargo Inspection: I worked for a company that audited the transfers of sales of petroleum products. This involved brokering the deal and set market price based on quality. This company was the desinated "middle-man" for huge oil companies that would buy and sell from each other but didn't trust each other.
Check out the links below to see where I have worked!


Django Africa | Home
{% endblock %}
{% block content %}
DjangoAfrica
I awake Africa
Django Africa a non-governmental organization,
aimed with spreading the knowledge of the web
to underserved communities in Africa, and using
the means appropriate to get this message across.
The angel is free because of his knowledge, the beast because of his ignorance. Between the two remains the son of man to struggle. - Rumi


Kogi West: Melaye's defeat is imminent, the margin will be wide - Smart Adeyemi boasts
- Smart Adeyemi has declared that Melaye would be defeated on Saturday, November 30
- INEC had fixed November 30 for the rerun in Kogi West senatorial district
- The APC's candidate, Adeyemi, is leading Melaye with over 20,000 votes
Ahead of Saturday, November 30, supplementary election in Kogi West senatorial district area of Kogi state, the candidate of All Progressives Congress (APC), Smart Adeyemi, has said that nothing would stop his rival and candidate of Peoples Democratic Party (PDP), Dino Melaye, from defeat.
Vanguard reports that he made the statement on Friday, November 22, in Lokoja, the state capital, while urging his party members not to over relax but give their all to win the election.
Legit.ng gathered that Adeyemi is already leading Melaye with over 20,O00 votes in the election conducted on Saturday, November 16, for the senatorial axis.
The former senator said that despite having a comfortable lead, the party must not give in to overconfidence, but rather doubles its efforts to get the remaining votes.
Tinubu congratulates Yahaya Bello, Lyon over victories at poll, tells them what to do
He said: “We as party members must mobilize and fight like never before for the remaining votes. We must commence House to House move, and telephone contacts of the 30,000 PVC holders.
“We must not look at the supplementary election with a view that our opponent is politically paralyzed by now; rather, we must work towards capturing at least 90 per cent of the vote. Our aim is to get 30000 out of the 31000 PVC holders of the 40000 registered voters in the affected areas; whether our opponents are ready or not is secondary.”
Adeyemi, however, praised his party members for their supports and solidarity, especially in the last election, calling on them to finish the race with a wider margin.
He said: “I sincerely thank you for your support and solidarity in the last Saturday outing, my full address will be after the rerun election is concluded.
Kogi election: PDP's Wada heads for tribunal, accuses INEC, IGP of working for APC
“But for now, let us resume with more vigour and determination our efforts towards the November 30 supplementary election. Let us go from house to house to mobilize people out for the exercise. We must give the election our all.”
It would be recalled that INEC had on Sunday, November 17, declared the Kogi West rerun election inconclusive. The supplementary election is to be conducted on November 30, in 53 polling units.
According to INEC data, 48,101 are the registered voters in the affected areas, but 30,730 are those who have collected their PVC.
Adeyemi had already polled 80,118, while Melaye scored 59,548 giving a margin of 20,670 difference.
PAY ATTENTION: Install our latest app for Android, read the best news on Nigeria’s #1 news app
Meanwhile, Legit.ng had previously reported that the INEC fixed Saturday, November 30, as the date for the conduct of the supplementary election in the Kogi West senatorial district.
Kogi election: Dino Melaye rejects senatorial rerun results
NAIJ.com (naija.ng) -> Legit.ng Same great journalism, upgraded for better service!
Kogi election: Alarm raised over cancellations of vote | - on Legit TV


"GALILEAN "an inhabitant or native of Galilee. This word was used as a name of contempt as applied to our Lord’s disciples (Luke 22:59; Acts 2:7). All the apostles, with the exception of Judas Iscariot (Acts 1:11), were Galileans. Peter was detected by his Galilean accent (Matthew 26:69; Mark 14:70). This was also one of the names of reproach given to the early Christians. Julian the Apostate, as he is called, not only used the epithet himself when referring to Christ and his apostles, but he made it a law that no one should ever call the Christians by any other name.
"GALILEAN "an inhabitant or native of Galilee. This word was used as a name of contempt as applied to our Lord’s disciples (Luke 22:59; Acts 2:7). All the apostles, with the exception of Judas Iscariot (Acts 1:11), were Galileans. Peter was detected by his Galilean accent (Matthew 26:69; Mark 14:70).
This was also one of the names of reproach given to the early Christians.
Julian the Apostate, as he is called, not only used the epithet himself when referring to Christ and his apostles, but he made it a law that no one should ever call the Christians by any other name.


Clear all references in the instance.
NOTE: this method will not clear the getter or setter functions which defined in the instance of CCObject. You can override the _destruct method if you need, for example: _destruct: function () { for (var key in this) { if (this.hasOwnProperty(key)) { switch (typeof this[key]) { case 'string': this[key] = ''; break; case 'object': case 'function': this[key] = null; break; } } }
the child node to be added
The class of the component to add
The class name of the component to add
Properties to be set to node
The Event object that is dispatched into the event flow
event type
First argument in callback
Second argument in callback
Third argument in callback
Fourth argument in callback
A name to find the child node.
a CCNode object whose name equals to the input parameter
A path to find the child node.
a Node object whose path equals to the input parameter
The uuid to find the child node.
a Node whose uuid equals to the input parameter
The class of the target component
The class name of the target component
The class of the target component
The class name of the target component
The class of the target component
The class name of the target component
The class of the target component
The class name of the target component
Set the result to out vector
If out
given, the return value equals to out
, otherwise a new vector will be generated and return
Set the result to out quaternion
If out
given, the return value equals to out
, otherwise a new quaternion will be generated and return
Set the result to out vector
If out
given, the return value equals to out
, otherwise a new vector will be generated and return
Set the result to out matrix
If out
given, the return value equals to out
, otherwise a new matrix will be generated and return
Set the result to out vector
If out
given, the return value equals to out
, otherwise a new vector will be generated and return
Set the result to out matrix
If out
given, the return value equals to out
, otherwise a new matrix will be generated and return
Set the result to out matrix
If out
given, the return value equals to out
, otherwise a new matrix will be generated and return
Set the result to out quaternion
If out
given, the return value equals to out
, otherwise a new quaternion will be generated and return
Set the result to out vector
If out
given, the return value equals to out
, otherwise a new vector will be generated and return
The type of event.
The callback function of the event listener, if absent all event listeners for the given type will be removed
The callback callee of the event listener
True if a callback of the specified type is registered; false otherwise.
the child node to be inserted
the sibling index to place the child in
The dirty bits to setup to children, can be composed with multiple dirty bits
The result point in local coordinate system will be stored in this vector
A position in world coordinate system
True if this node is a child, deep child or identical to the given node.
Target position
Up direction
A string representing the event type being removed.
The callback to remove.
The target (this object) to invoke the callback, if it's not given, only callback without target will be removed
When set to true, the listener will be triggered at capturing phase which is ahead of the final target emit, otherwise it will be triggered during bubbling phase.
A string representing the event type to listen for.
See {{#crossLink "Node/EventType/POSITION_CHANGED"}}Node Events{{/crossLink}} for all builtin events.
The callback that will be invoked when the event is dispatched. The callback is ignored if it is a duplicate (the callbacks are unique).
The target (this object) to invoke the callback, can be null
When set to true, the listener will be triggered at capturing phase which is ahead of the final target emit, otherwise it will be triggered during bubbling phase.
A string representing the event type to listen for.
The callback that will be invoked when the event is dispatched. The callback is ignored if it is a duplicate (the callbacks are unique).
The target (this object) to invoke the callback, can be null
Whether pause system events recursively for the child node tree
The child node which will be removed.
The class of the component to remove
The class name of the component to remove or the component instance to be removed
Whether resume system events recursively for the child node tree
The operation coordinate space
Parent node
Whether keep node's current world transform unchanged after this operation
Target position
X axis position
Y axis position
Z axis position
The rotation
The position
The scale
Rotation in quaternion
X value in quaternion
Y value in quaternion
Z value in quaternion
W value in quaternion
Rotation in vector
X axis rotation
Y axis rotation
Target scale
X axis scale
Y axis scale
Z axis scale
Target position
X axis position
Y axis position
Z axis position
Rotation in quaternion
X value in quaternion
Y value in quaternion
Z value in quaternion
W value in quaternion
X axis rotation
Y axis rotation
Z axis rotation
Target scale
X axis scale
Y axis scale
Z axis scale
The target to be searched for all related callbacks
The increment on position
The operation coordinate space
The callback to process node when reach the node for the first time
The callback to process node when re-visit the node after walked all children in its sub tree
Generated using TypeDoc
Event types emitted by Node
节点可能发出的事件类型


The PBE Application (PBE App) is an open-source software (https://github.com/NHERI-SimCenterPBE) that provides researchers a tool to assess the performance of a building in an earthquake scenario. The application focuses on quantifying building performance through decision variables. Given that the properties of the buildings and the earthquake events are not known exactly, and that the simulation software and the user make simplifying assumptions in the numerical modeling of the structure, the estimate response of the structure already exhibits significant variability. Such response can be estimated using our EE-UQ Application (https://simcenter.designsafe-ci.org/ research-tools/ee-uq-application/). The PBE App builds on the EE-UQ App and uses its response estimates to assess the damage to building components and the consequences of such damage.
The user can characterize the simulation model, and the damage and loss model of the structure, and the seismic hazard model in the PBE App. All models are interconnected by an uncertainty quantification framework that allows the user to define a flexible stochastic model for the problem. Given the stochastic model, the application first performs nonlinear response history simulations to get the Engineering Demand Parameters (EDPs) that describe structural response . Then those EDPs are used to assess the Damage Measures (DM) and Decision Variables (DV) that characterize structural performance.
Depending on the type of structural system, the fidelity of the numerical model and the number of EDP samples required, the response history simulations can be computationally prohibitively expensive. To overcome this impediment, the user has the option to perform the response simulations on the Stampede2 supercomputer. Stampede2 is located at the Texas Advanced Computing Center and made available to the user through NHERI DesignSafe-CI, the cyberinfrastructure provider for the distributed NSF funded Natural Hazards in Engineering Research Infrastructure (NHERI) facility.
The computations are performed in a workflow application. That is, the numerical simulations are actually performed by a sequence of different applications. The PBE backend software runs these various applications for the user, taking the outputs from some programs and providing them as inputs to others. The design of the PBE App is such that researchers are able to modify the backend application to utilize their own application in the workflow computations. This will ensure researchers are not limited to using the default applications we provide and will be enthused to provide their own applications for others to use.
Researchers are encouraged to comment on what additional features and applications they would like to see in the PBE App. If you want a feature, chances are many of your colleagues would also benefit from it. Additional requests should be posted at the SimCenter forum .
This work is based on material supported by the National Science Foundation under grant 1612843


Preparation time
less than 30 mins
Cooking time
10 to 30 mins
Serves
Serves 1
Preheat the oven to 200C/400F/Gas 6.
 Drizzle with oil, squeeze over the lemon juice and wrap up the foil to completely seal. Transfer to the oven and bake for 10-15 minutes, or until completely cooked through.
For the linguini, heat the oil in a frying pan, add the shallot and garlic and fry until soft. Add the langoustine shells and heads and tomato purée and cook for 1-2 minutes.
Add the peppercorns, parsley stalks, lemon zest and white wine, bring to the boil and reduce the wine by half its volume.
Add 150ml/4½fl oz boiling water and cook to reduce the liquid again by half, then pass through a sieve into a large frying pan.
Add the double cream, bring to the boil, then reduce until the sauce has thickened and season, to taste, with salt and freshly ground black pepper.
Add the linguine and toss until well mixed into the sauce.
To serve, place the linguine in a large bowl with the baked langoustines arranged on top.


A/V:
Texts:
Images:
Visuals:
Sources:
Googly Eyes!
audio-video:
texts:
images:
visuals:
sources:


cytopy.flow.gating.actions¶
Classes
|
Central class for performing semi-automated gating and storing gating information on an FCS FileGroup of a single sample. |
|
Generate a reusable template for gating. |
-
class
cytopy.flow.gating.actions.
Gating
(experiment: cytopy.data.fcs_experiments.FCSExperiment, sample_id: str, sample: int = None, include_controls=True, default_axis='FSC-A')¶ Bases:
object
Central class for performing semi-automated gating and storing gating information on an FCS FileGroup of a single sample.
- Parameters
experiment (FCSExperiment) – experiment you’re currently working on
sample_id (str) – name of the sample to analyse (must belong to experiment)
sample (int, optional) – number of events to sample from FCS file(s) (optional)
include_controls (bool, (default=True)) – if True and FMOs are included for specified samples, the FMO data will also be loaded into the Gating object
default_axis (str, (default='FSC-A')) – default value for y-axis for all plots
Methods
apply
(gate_name, plot_output, feedback, …)Apply a gate to events data (must be generated with create_gate first)
apply_many
(gates, apply_all, plot_outcome, …)Apply multiple existing gates sequentially
check_downstream_overlaps
(root_population, …)Check if a chosen root population is downstream of target populations (population_labels).
clear_control_cache
(ctrl_id)Remove all associated populations to given control.
Remove all currently associated gates.
control_gating
(ctrl_id, tree_map, …)Using the primary data as a training set, transverse over the population tree and predict the same populations for some given control.
create_gate
(gate_name, parent, class_, …)Define a new gate to be used using ‘apply’ method
edit_gate
(gate_name, updated_geom, delete)Manually replace the outcome of a gate by updating the geom of it’s child populations.
fetch_geom
(population)Given the name of a population, retrieve the geom that defined this population
find_dependencies
(population)For a given population find all dependencies
get_population_df
(population_name, …)Retrieve a population as a pandas dataframe
merge
(population_left, population_right, …)Merge two populations from the same parent, generating a new population saved to population tree
nudge_threshold
(gate_name, new_x, new_y)Given some DensityThreshold gate, update the threshold calculated for child populations
population_size
(population)Returns in integer count for the number of events in a given population
print_population_tree
(image, image_name)Generate a tree diagram of the populations associated to this Gating object and print to stdout
Flags the sample associated to this Gating instance as invalid and saves state to database
remove_gate
(gate_name, propagate)Remove gate
remove_population
(population_name, hard_delete)Remove a population
save
(overwrite, feedback)Save all gates and population’s to mongoDB
search_ctrl_cache
(target_population, …)Search the control cache for a target population.
subtraction
(target, parent, new_population_name)Given a target population(s) and a parent population, generate a new population by subtraction of the
update_populations
(output, warnings, parent_name)Given some ChildPopulationCollection object generated from a gate, update saved populations
valid_populations
(populations, verbose)Given a list of populations, check validity and return list of valid populations
Attributes
Available gating classes
-
apply
(gate_name: str, plot_output: bool = True, feedback: bool = True, plotting_kwargs: dict = None, **kwargs) → None¶ Apply a gate to events data (must be generated with create_gate first)
- Parameters
gate_name (str) – Name of the gate to apply
plot_output (bool, (default=True)) – If True, resulting gates will be printed to screen
feedback (bool, (default=True)) – If True, print feedback
plotting_kwargs (dict or None, optional) – Additional keyword arguments to be passed to plotting function plot_gate
**kwargs – keyword arguments to pass to call to gating method
- Returns
- Return type
None
-
apply_many
(gates: list = None, apply_all: bool = False, plot_outcome: bool = False, feedback: bool = True) → None¶ Apply multiple existing gates sequentially
- Parameters
gates (list, optional) – Name of gates to apply (NOTE: Gates must be provided in sequential order!)
apply_all (bool (default=False)) – If True, gates is ignored and all current gates will be applied (population tree must be empty)
plot_outcome (bool, (default=False)) – If True, resulting gates will be printed to screen
feedback (bool, (default=True)) – If True, feedback will be printed to stdout
- Returns
- Return type
None
-
check_downstream_overlaps
(root_population: str, population_labels: list) → bool¶ Check if a chosen root population is downstream of target populations (population_labels).
- Parameters
root_population (str) – Name of the root population (presumed parent)
population_labels (list) – List of target populations. Each population in this list will be checked, asserting that the population is downstream of the root_population
- Returns
True if one or more populations has the root population downstream of itself, else False
- Return type
bool
-
clear_control_cache
(ctrl_id: str) → None¶ Remove all associated populations to given control.
- Parameters
ctrl_id (str) – Control to remove populations from
- Returns
- Return type
None
-
clear_gates
()¶ Remove all currently associated gates.
-
control_gating
(ctrl_id: str, tree_map: dict = None, overwrite_existing: bool = False, verbose: bool = True, model: str = 'knn', **model_kwargs) → None¶ Using the primary data as a training set, transverse over the population tree and predict the same populations for some given control. Results of classification are saved to the population nodes.
- Parameters
ctrl_id (str) – Name of control data to predict populations for; must be a valid ID currently associated to Gating object
tree_map (dict, optional) – Dictionary describing the axis of populations in the population tree. This is only necessary if populations currently in population tree were generated using a supervised machine learning method.
overwrite_existing (bool, (default=False)) – If True, any existing control populations will be removed
verbose (bool, (default=True)) – If True, a progress bar is provided as well as text output
model (str, (default='knn')) – Type of model to use for per-population classification. Currently supports K-Nearest Neighbours (knn) and Support Vector Machines (svm)
model_kwargs – Additional keyword arguments to pass to instance of Scikit-Learn classifier (see sklearn documentation)
- Returns
- Return type
None
-
create_gate
(gate_name: str, parent: str, class_: str, method: str, kwargs: dict, child_populations: cytopy.flow.gating.defaults.ChildPopulationCollection) → bool¶ Define a new gate to be used using ‘apply’ method
- Parameters
gate_name (str) – Name of the gate
parent (str) – Name of parent population gate is applied to
class_ (str) – Name of a valid gating class
method (str) – Name of the class method to invoke upon gating
kwargs (dict) – Keyword arguments (include constructor arguments and method arguments)
child_populations (ChildPopulationCollection) – A valid ChildPopulationCollection object describing the resulting populations
- Returns
True if successful, else False
- Return type
bool
-
edit_gate
(gate_name: str, updated_geom: dict, delete: bool = True)¶ Manually replace the outcome of a gate by updating the geom of it’s child populations.
- Parameters
gate_name (str) – name of gate to update
updated_geom (dict) – new geom as valid dictionary
delete (bool, (default=True)) – if True, all populations downstream of immediate children will be removed. This is recommended as edit_gate does not update the index of populations downstream of the immediate children.
- Returns
- Return type
None
-
fetch_geom
(population: str) → dict¶ Given the name of a population, retrieve the geom that defined this population
- Parameters
population (str) – name of population to be fetched
- Returns
Population geom (dictionary)
- Return type
dict
-
find_dependencies
(population: str) → list¶ For a given population find all dependencies
- Parameters
population (str) – population name
- Returns
List of populations dependent on given population
- Return type
list or None
-
property
gating_classes
¶ Available gating classes
- Returns
Class look-up dictionary
- Return type
dict
-
get_population_df
(population_name: str, transform: bool = False, transform_method: str = 'logicle', transform_features: list = 'all', label: bool = False, ctrl_id: str = None) → pandas.core.frame.DataFrame¶ Retrieve a population as a pandas dataframe
- Parameters
population_name (str) – name of population to retrieve
transform (bool, (default=False)) – if True, the provided transformation method will be applied to the returned dataframe
transform_method (str, (default='logicle')) – transformation method to apply, default = ‘logicle’ (ignored if transform is False)
transform_features (list or str, (default='all')) – argument specifying which columns to transform in the returned dataframe. Can either be a string value of ‘all’ (transform all columns), ‘fluorochromes’ (transform all columns corresponding to a fluorochrome) or a list of valid column names
label (bool, (default=False)) – If true, additional column included named ‘label’ with population label (terminal node in population tree)
ctrl_id (str, optional) – If given, retrieves DataFrame of data from control file rather than primary data
- Returns
Population DataFrame
- Return type
Pandas.DataFrame or None
-
merge
(population_left: str, population_right: str, new_population_name: str)¶ Merge two populations from the same parent, generating a new population saved to population tree
- Parameters
population_left (str :) – Name of left population to merge
population_right (str :) – Name of right population to merge
new_population_name (str :) – Name of the new population
- Returns
- Return type
None
-
nudge_threshold
(gate_name: str, new_x: float, new_y: float = None)¶ Given some DensityThreshold gate, update the threshold calculated for child populations
- Parameters
gate_name (str :) – Name of gate to update
new_x (float :) – New x-axis threshold
new_y (float, optional) – New y-axis threshold
- Returns
- Return type
None
-
population_size
(population: str)¶ Returns in integer count for the number of events in a given population
- Parameters
population (str) – population name
- Returns
event count
- Return type
int
-
print_population_tree
(image: bool = False, image_name: str = None) → None¶ Generate a tree diagram of the populations associated to this Gating object and print to stdout
- Parameters
image (bool, (default=False)) – if True, an image will be saved to the working directory
image_name (str, optional) – name of the resulting image file, ignored if image = False (optional; default name is of format filename_populations.png
- Returns
- Return type
None
-
register_as_invalid
()¶ Flags the sample associated to this Gating instance as invalid and saves state to database
-
remove_gate
(gate_name: str, propagate: bool = True) → list¶ Remove gate
- Parameters
gate_name (str) – name of gate to remove
propagate (bool, (default=True)) – If True, downstream gates and effected populations will also be removed
- Returns
list of removed gates, list of removed populations
- Return type
(list, list) or None
-
remove_population
(population_name: str, hard_delete: bool = False) → None¶ Remove a population
- Parameters
population_name (str) – name of population to remove
hard_delete (bool, (default=False)) – if True, population and dependencies will be removed from database
- Returns
- Return type
None
-
save
(overwrite: bool = False, feedback: bool = True) → bool¶ Save all gates and population’s to mongoDB
- Parameters
overwrite (bool, (default=False)) – If True, existing populations/gates for sample will be overwritten
feedback (bool, (default=True)) – If True, feedback printed to stdout
- Returns
True if successful else False
- Return type
bool
-
search_ctrl_cache
(target_population: str, ctrl_id: str, return_dataframe: bool = False)¶ Search the control cache for a target population. Return either index of events belonging to target population in control data or Pandas DataFrame of target population from control data.
- Parameters
target_population (str) – Name of population to extract from control data
ctrl_id (str) – Name of control to extract data from
return_dataframe (bool, (default=False)) – If True, return a Pandas DataFrame of target population, else return index of events belonging to target population
- Returns
- Return type
Pandas.DataFrame or Numpy.array
-
subtraction
(target: list, parent: str, new_population_name: str) → None¶ Given a target population(s) and a parent population, generate a new population by subtraction of the target population from the parent
- Parameters
target (list :) – One or more population names
parent (str :) – Name of parent population
new_population_name (str :) – Name of new population generated after subtraction
- Returns
- Return type
None
-
update_populations
(output: cytopy.flow.gating.defaults.ChildPopulationCollection, warnings: list, parent_name: str) → cytopy.flow.gating.defaults.ChildPopulationCollection¶ Given some ChildPopulationCollection object generated from a gate, update saved populations
- Parameters
output (ChildPopulationCollection) – ChildPopulationCollection object generated from a gate
warnings (list) – list of warnings generated from gate
parent_name (str) – name of the parent population
- Returns
output
- Return type
-
valid_populations
(populations: list, verbose: bool = True)¶ Given a list of populations, check validity and return list of valid populations
- Parameters
populations (list) – list of populations to check
verbose (bool, (default=True)) – if True, prints invalid population
- Returns
Valid populations
- Return type
List
-
class
cytopy.flow.gating.actions.
Template
(experiment: cytopy.data.fcs_experiments.FCSExperiment, sample_id: str, sample: int = None, include_controls=True, default_axis='FSC-A')¶ Bases:
cytopy.flow.gating.actions.Gating
Generate a reusable template for gating. Inherits all functionality of Gating class.
Methods
apply
(gate_name, plot_output, feedback, …)Apply a gate to events data (must be generated with create_gate first)
apply_many
(gates, apply_all, plot_outcome, …)Apply multiple existing gates sequentially
check_downstream_overlaps
(root_population, …)Check if a chosen root population is downstream of target populations (population_labels).
clear_control_cache
(ctrl_id)Remove all associated populations to given control.
Remove all currently associated gates.
control_gating
(ctrl_id, tree_map, …)Using the primary data as a training set, transverse over the population tree and predict the same populations for some given control.
create_gate
(gate_name, parent, class_, …)Define a new gate to be used using ‘apply’ method
edit_gate
(gate_name, updated_geom, delete)Manually replace the outcome of a gate by updating the geom of it’s child populations.
fetch_geom
(population)Given the name of a population, retrieve the geom that defined this population
find_dependencies
(population)For a given population find all dependencies
get_population_df
(population_name, …)Retrieve a population as a pandas dataframe
load_template
(template_name)Load gates from a template GatingStrategy
merge
(population_left, population_right, …)Merge two populations from the same parent, generating a new population saved to population tree
nudge_threshold
(gate_name, new_x, new_y)Given some DensityThreshold gate, update the threshold calculated for child populations
population_size
(population)Returns in integer count for the number of events in a given population
print_population_tree
(image, image_name)Generate a tree diagram of the populations associated to this Gating object and print to stdout
Flags the sample associated to this Gating instance as invalid and saves state to database
remove_gate
(gate_name, propagate)Remove gate
remove_population
(population_name, hard_delete)Remove a population
save
(overwrite, feedback)Save all gates and population’s to mongoDB
save_new_template
(template_name, overwrite)Save template structure as a GatingStrategy
search_ctrl_cache
(target_population, …)Search the control cache for a target population.
subtraction
(target, parent, new_population_name)Given a target population(s) and a parent population, generate a new population by subtraction of the
update_populations
(output, warnings, parent_name)Given some ChildPopulationCollection object generated from a gate, update saved populations
valid_populations
(populations, verbose)Given a list of populations, check validity and return list of valid populations
Attributes
Available gating classes
-
apply
(gate_name: str, plot_output: bool = True, feedback: bool = True, plotting_kwargs: dict = None, **kwargs) → None¶ Apply a gate to events data (must be generated with create_gate first)
- Parameters
gate_name (str) – Name of the gate to apply
plot_output (bool, (default=True)) – If True, resulting gates will be printed to screen
feedback (bool, (default=True)) – If True, print feedback
plotting_kwargs (dict or None, optional) – Additional keyword arguments to be passed to plotting function plot_gate
**kwargs – keyword arguments to pass to call to gating method
- Returns
- Return type
None
-
apply_many
(gates: list = None, apply_all: bool = False, plot_outcome: bool = False, feedback: bool = True) → None¶ Apply multiple existing gates sequentially
- Parameters
gates (list, optional) – Name of gates to apply (NOTE: Gates must be provided in sequential order!)
apply_all (bool (default=False)) – If True, gates is ignored and all current gates will be applied (population tree must be empty)
plot_outcome (bool, (default=False)) – If True, resulting gates will be printed to screen
feedback (bool, (default=True)) – If True, feedback will be printed to stdout
- Returns
- Return type
None
-
check_downstream_overlaps
(root_population: str, population_labels: list) → bool¶ Check if a chosen root population is downstream of target populations (population_labels).
- Parameters
root_population (str) – Name of the root population (presumed parent)
population_labels (list) – List of target populations. Each population in this list will be checked, asserting that the population is downstream of the root_population
- Returns
True if one or more populations has the root population downstream of itself, else False
- Return type
bool
-
clear_control_cache
(ctrl_id: str) → None¶ Remove all associated populations to given control.
- Parameters
ctrl_id (str) – Control to remove populations from
- Returns
- Return type
None
-
clear_gates
()¶ Remove all currently associated gates.
-
control_gating
(ctrl_id: str, tree_map: dict = None, overwrite_existing: bool = False, verbose: bool = True, model: str = 'knn', **model_kwargs) → None¶ Using the primary data as a training set, transverse over the population tree and predict the same populations for some given control. Results of classification are saved to the population nodes.
- Parameters
ctrl_id (str) – Name of control data to predict populations for; must be a valid ID currently associated to Gating object
tree_map (dict, optional) – Dictionary describing the axis of populations in the population tree. This is only necessary if populations currently in population tree were generated using a supervised machine learning method.
overwrite_existing (bool, (default=False)) – If True, any existing control populations will be removed
verbose (bool, (default=True)) – If True, a progress bar is provided as well as text output
model (str, (default='knn')) – Type of model to use for per-population classification. Currently supports K-Nearest Neighbours (knn) and Support Vector Machines (svm)
model_kwargs – Additional keyword arguments to pass to instance of Scikit-Learn classifier (see sklearn documentation)
- Returns
- Return type
None
-
create_gate
(gate_name: str, parent: str, class_: str, method: str, kwargs: dict, child_populations: cytopy.flow.gating.defaults.ChildPopulationCollection) → bool¶ Define a new gate to be used using ‘apply’ method
- Parameters
gate_name (str) – Name of the gate
parent (str) – Name of parent population gate is applied to
class_ (str) – Name of a valid gating class
method (str) – Name of the class method to invoke upon gating
kwargs (dict) – Keyword arguments (include constructor arguments and method arguments)
child_populations (ChildPopulationCollection) – A valid ChildPopulationCollection object describing the resulting populations
- Returns
True if successful, else False
- Return type
bool
-
edit_gate
(gate_name: str, updated_geom: dict, delete: bool = True)¶ Manually replace the outcome of a gate by updating the geom of it’s child populations.
- Parameters
gate_name (str) – name of gate to update
updated_geom (dict) – new geom as valid dictionary
delete (bool, (default=True)) – if True, all populations downstream of immediate children will be removed. This is recommended as edit_gate does not update the index of populations downstream of the immediate children.
- Returns
- Return type
None
-
fetch_geom
(population: str) → dict¶ Given the name of a population, retrieve the geom that defined this population
- Parameters
population (str) – name of population to be fetched
- Returns
Population geom (dictionary)
- Return type
dict
-
find_dependencies
(population: str) → list¶ For a given population find all dependencies
- Parameters
population (str) – population name
- Returns
List of populations dependent on given population
- Return type
list or None
-
property
gating_classes
¶ Available gating classes
- Returns
Class look-up dictionary
- Return type
dict
-
get_population_df
(population_name: str, transform: bool = False, transform_method: str = 'logicle', transform_features: list = 'all', label: bool = False, ctrl_id: str = None) → pandas.core.frame.DataFrame¶ Retrieve a population as a pandas dataframe
- Parameters
population_name (str) – name of population to retrieve
transform (bool, (default=False)) – if True, the provided transformation method will be applied to the returned dataframe
transform_method (str, (default='logicle')) – transformation method to apply, default = ‘logicle’ (ignored if transform is False)
transform_features (list or str, (default='all')) – argument specifying which columns to transform in the returned dataframe. Can either be a string value of ‘all’ (transform all columns), ‘fluorochromes’ (transform all columns corresponding to a fluorochrome) or a list of valid column names
label (bool, (default=False)) – If true, additional column included named ‘label’ with population label (terminal node in population tree)
ctrl_id (str, optional) – If given, retrieves DataFrame of data from control file rather than primary data
- Returns
Population DataFrame
- Return type
Pandas.DataFrame or None
-
load_template
(template_name: str) → bool¶ Load gates from a template GatingStrategy
- Parameters
template_name (str) – name of template to load
- Returns
True if successful, else False
- Return type
bool
-
merge
(population_left: str, population_right: str, new_population_name: str)¶ Merge two populations from the same parent, generating a new population saved to population tree
- Parameters
population_left (str :) – Name of left population to merge
population_right (str :) – Name of right population to merge
new_population_name (str :) – Name of the new population
- Returns
- Return type
None
-
nudge_threshold
(gate_name: str, new_x: float, new_y: float = None)¶ Given some DensityThreshold gate, update the threshold calculated for child populations
- Parameters
gate_name (str :) – Name of gate to update
new_x (float :) – New x-axis threshold
new_y (float, optional) – New y-axis threshold
- Returns
- Return type
None
-
population_size
(population: str)¶ Returns in integer count for the number of events in a given population
- Parameters
population (str) – population name
- Returns
event count
- Return type
int
-
print_population_tree
(image: bool = False, image_name: str = None) → None¶ Generate a tree diagram of the populations associated to this Gating object and print to stdout
- Parameters
image (bool, (default=False)) – if True, an image will be saved to the working directory
image_name (str, optional) – name of the resulting image file, ignored if image = False (optional; default name is of format filename_populations.png
- Returns
- Return type
None
-
register_as_invalid
()¶ Flags the sample associated to this Gating instance as invalid and saves state to database
-
remove_gate
(gate_name: str, propagate: bool = True) → list¶ Remove gate
- Parameters
gate_name (str) – name of gate to remove
propagate (bool, (default=True)) – If True, downstream gates and effected populations will also be removed
- Returns
list of removed gates, list of removed populations
- Return type
(list, list) or None
-
remove_population
(population_name: str, hard_delete: bool = False) → None¶ Remove a population
- Parameters
population_name (str) – name of population to remove
hard_delete (bool, (default=False)) – if True, population and dependencies will be removed from database
- Returns
- Return type
None
-
save
(overwrite: bool = False, feedback: bool = True) → bool¶ Save all gates and population’s to mongoDB
- Parameters
overwrite (bool, (default=False)) – If True, existing populations/gates for sample will be overwritten
feedback (bool, (default=True)) – If True, feedback printed to stdout
- Returns
True if successful else False
- Return type
bool
-
save_new_template
(template_name: str, overwrite: bool = True) → bool¶ Save template structure as a GatingStrategy
- Parameters
template_name (str) – name of the template
overwrite (bool, (default=True)) – If True, any existing template with the same name will be overwritten
- Returns
True if successful, else False
- Return type
bool
-
search_ctrl_cache
(target_population: str, ctrl_id: str, return_dataframe: bool = False)¶ Search the control cache for a target population. Return either index of events belonging to target population in control data or Pandas DataFrame of target population from control data.
- Parameters
target_population (str) – Name of population to extract from control data
ctrl_id (str) – Name of control to extract data from
return_dataframe (bool, (default=False)) – If True, return a Pandas DataFrame of target population, else return index of events belonging to target population
- Returns
- Return type
Pandas.DataFrame or Numpy.array
-
subtraction
(target: list, parent: str, new_population_name: str) → None¶ Given a target population(s) and a parent population, generate a new population by subtraction of the target population from the parent
- Parameters
target (list :) – One or more population names
parent (str :) – Name of parent population
new_population_name (str :) – Name of new population generated after subtraction
- Returns
- Return type
None
-
update_populations
(output: cytopy.flow.gating.defaults.ChildPopulationCollection, warnings: list, parent_name: str) → cytopy.flow.gating.defaults.ChildPopulationCollection¶ Given some ChildPopulationCollection object generated from a gate, update saved populations
- Parameters
output (ChildPopulationCollection) – ChildPopulationCollection object generated from a gate
warnings (list) – list of warnings generated from gate
parent_name (str) – name of the parent population
- Returns
output
- Return type
-
valid_populations
(populations: list, verbose: bool = True)¶ Given a list of populations, check validity and return list of valid populations
- Parameters
populations (list) – list of populations to check
verbose (bool, (default=True)) – if True, prints invalid population
- Returns
Valid populations
- Return type
List
-


SALESFORCE GUIDED TOUR
Want boundless growth? See how with a guided tour.
Your guided tour to epic sales productivity starts now. Drill down, clarify, close. Then hit repeat.
Take the Tour


Modal
Content should have `algolia-no-index` class
Trigger should not have `algolia-no-index` class
Panels that are not expanded should have algolia-no-index class
Panel
Content
Panel
Content
Popover content should have algolia-no-index class
Title
Content should have `algolia-no-index` class
Content should have algolia-no-index classTitle
Tooltip content should have algolia-no-index class
Content should have algolia-no-index class
Question hint and answer should have algolia-no-index class
Question should not have `algolia-no-index` class
Hint should have `algolia-no-index` class
Answer should have `algolia-no-index` class
Tabs except first tab should have algolia-no-index class
First Tab
Content Content Content Content
Second Tab
Content Content Content Content
First Group
First Tab
Content Content Content Content
Second Tab
Content Content Content Content
Second Group
First Tab
Content Content Content Content
Second Tab
Content Content Content Content
Outer One
First Tab
Content Content Content Content
Second Tab
Content Content Content Content
Outer Two
Content Content Content Content