TRIAL SOFTWARE LICENSE AGREEMENT
This Trial Software License Agreement (the
�Agreement�) is made and effective [DATE],
BETWEEN:�������������������� SRCH2 TECHNOLOGIES INC. (the
"Licensor"), a corporation organized and existing under the laws of
the State of California, US, with its head office located at:
������������������������������������� 8 Twain,
Irvine, CA 92617
AND:����������������������������� [LICENSEE NAME] (the
"Licensee "), a corporation/organization organized and existing under
the laws of the [State/Province] of [STATE/PROVINCE], with its head office
located at:
������������������������������������� [COMPLETE
ADDRESS]
1. Purpose/License/Term
This Trial License Agreement is entered into for the sole purpose of
allowing Licensee to evaluate Licensor�s software product (the "Licensor
Software") and accompanying Documentation (collectively, the "Trial
Package"). Licensor hereby grants to Licensee a non-exclusive,
non-transferable, revocable license to use the Trial Package, including any
modified or enhanced versions thereof provided to Licensee by Licensor, at no
cost, for a [NUMBER]-day trial period beginning on [DATE] and ending on [DATE]
(the "Trial Period").
2. RIGHT
AND LICENSE TO USE
Under the Agreement the Software shall only be used for a non-commercial
purpose. If Licensee desire to use the Software for a commercial purpose or
other purpose not permitted under the scope of the Agreement, Licensee must
enter into a separate license agreement with Licensor and pay all applicable
license fees before engaging in such use.
During the term of the Agreement, Licensor hereby grants a
non-exclusive, non-transferable, terminable right and license to use the
Software on the limited basis set forth in the Agreement. All right, title and
interest in and to the Software and any enhancements or updates remain with
Licensor. The right and license to use the Software expires at the end of the
term of the Agreement.
Under the Agreement Licensee may use the Software up to the level of use
specified in the Agreement, and make and install copies, including a backup
copy, to support such use. The terms of the Agreement apply to each copy made.
Licensee may not (i) use, copy, modify, or distribute the Software
except as provided in the Agreement; (ii) reverse assemble, reverse compile, or
otherwise translate the Software except as specifically permitted by law
without the possibility of contractual waiver; (iii) sell, sublicense, rent,
lease or host the Software; or 4) provide, commercial services using the
Software.
Licensee will ensure that anyone who uses the Software (accessed either
locally or remotely) does so only for authorized use and complies with the
terms of the Agreement. Licensee will protect Software against use by
unauthorized third parties. If Licensee receives a request to furnish all or
any portion of the Software to any third party not eligible for using the
Software under the Agreement in particular from individuals or organizations
formerly related to Licensee, Licensee will not fulfill such a request and will
refer it in writing to Licensor.
The Software is protected by applicable copyright laws and international
treaty provisions. The right and license to use the Software will expire at the
termination of the Agreement.
3. Return
of Trial Package
Within [NUMBER] business days of the end of the Trial Period Licensee
shall return to Licensor all Licensor Software and Documentation included in
the Trial Package (or, at Licensor 's sole discretion, destroy all such
Software and Documentation and certify in writing to Licensor that said
Licensor Software and Documentation have been destroyed).
4. INSTALLATION/ADAPTATION,
SUPPORT AND UPDATES
The Software is delivered to Licensee electronically and is installed or
adapted by Licensee.
There shall be no promise for support by Licensor during the term of the
Agreement.
During the term of the Agreement, Licensor is under no obligation to,
but may grant Licensee the right to receive free new versions of the Software
(�Updates�). New versions of the Software are delivered to Licensee
electronically.
Licensee agrees to send error reports to Licensor to support the
improvement of the Software.� If the
Software is designed to automatically send such error reports, Licensee agrees
to such provision.
If the Software is designed to automatically download available Updates
and offer to install them, licensee agrees to such provision.
5. ACKNOWLEDGMENT
AND PUBLICITY
Any publication or presentation to which use of the Software under the
Agreement materially contributed shall either describe the contribution made by
the Software or note that the work was supported, in part, by a grant from
Licensor.
Licensee grants to Licensor the right to include Licensee name and logo
in the list of users of the Software, published on Licensor�s corporate website
and in marketing and public relations material and texts associated with the
Software.
Licensee will maintain a link from a prominent part of Licensee website
to Licensor's corporate website, either referring to the Software itself as an
offer to Licensee academic staff and students or to Licensor as a sponsor of Licensee
nonprofit work.
6. Limited
Warranty
Licensor warrants that it has the right to grant temporary use by
Licensee of the Trial Package. Licensor makes no other warranties, express or
implied, including but not limited to implied warranties of merchantability and
fitness for a particular purpose.
The Software is provided �as is� and �as available�. Subject to any
statutory warranties which cannot be excluded, Licensor makes no warranties or
conditions either express or implied, including but not limited to, the implied
warranties or conditions of merchantability, fitness for a particular purpose,
and non-infringement, regarding the Software or support. Licensee assumes
responsibility for the selection of the Software to achieve intended results
and for the installation, use and results obtained from the Software. Licensor
does not warrant that the functions contained in the Software will meet
Licensee requirements, or that the operation of the Software will be
uninterrupted or error-free. Further, there is no warranty of title, enjoyment,
or lack of infringement.
Under no circumstances will Licensor be liable for any loss of use,
interruption of business, or any direct, indirect, special, incidental, and/or
consequential damages of any kind, including loss of, or damage to, data; lost
profits, business, revenue, goodwill, or anticipated savings, even if informed
of their possibility. Licensee assumes the entire risk as to the quality and
performance of the Software. In case where a jurisdiction does not allow full
exclusion or limitation of incidental or consequential damages, the above
limitation or exclusion may not apply to Licensee in full, but shall be
interpreted to apply to the maximum extent permissible under applicable law.
7. Proprietary
Rights
Licensee acknowledges that Licensor retains all right, title, and
interest in the Trial Package and in all copies thereof, and no title to the
Trial Package, or any intellectual property or other rights therein, are
transferred to Licensee by virtue of this Trial License Agreement other than as
specified herein.
Licensee shall not without the express prior written consent of Licensor
duplicate, copy or reproduce the Trial Package except for use on a single
computer. In the event Licensor authorizes Licensee to make copies of the Trial
Package, Licensee shall reproduce Licensor 's copyright and other proprietary
rights notices or legends on all copies thereof. Licensee agrees not to cause
or permit the reverse engineering, reverse assembly or reverse compilation of
the Licensor Software, or otherwise attempt to derive source code from the
Licensor Software.
8. Confidentiality
5.1 Licensee Confidential Information
Licensee acknowledges that the Trial Package is
unpublished and contains proprietary and confidential information of Licensor,
which Licensor considers to constitute valuable trade secrets. In addition,
Licensee may also be provided with or be exposed to confidential information of
third parties with which Licensor conducts business. The confidential information
of Licensor and third parties is called collectively "Confidential
Information." In recognition of the foregoing, Licensee covenants and
agrees:
a. That
Licensee will keep and maintain all Confidential Information in strict
confidence, using such degree of care as is appropriate to avoid unauthorized
use or disclosure;
b. That
Licensee will not, directly or indirectly, disclose any Confidential
Information to any third party, except with Licensor 's prior written consent;
c.
That Licensee will not make use of any
Confidential Information for its own purposes, such as creation of a
competitive product; or for the benefit of anyone or any other entity other
than Licensor;
d. That (i)
on termination of discussions with Licensor, or (ii) if Licensor is engaged to
perform services for Licensee, upon completion of the engagement, or (iii) at
any time Licensor may so request, Licensee will deliver promptly to Licensor
or, at Licensor 's option, will destroy all memoranda, notes, records, reports,
media and other documents and materials (and all copies thereof) regarding or
including any Confidential Information which Licensee may then possess or have
under its control; and
e.
That Licensee will take no action with respect
to the Confidential Information that is inconsistent with its confidential and
proprietary nature.
Licensee shall be permitted to disclose the
Confidential Information only as follows:
a. To its
employees and agents ("Employees") having a need to know such
information in connection with this Trial License Agreement (and in any event
Licensee shall be responsible for all Employees' compliance with the terms of
this Trial License Agreement); and
b. If
disclosure is required by law, but in such event Licensee shall notify Licensor
in writing in advance of such disclosure, and provide Licensor with copies of
any related information so that Licensor may take appropriate action to protect
the Confidential Information.
���������
5.2 Licensor Confidential Information
For purposes of this Trial License Agreement,
Confidential Information shall include, but not be limited to, all business
information of Licensor, including the following:
a. All
information and data related to the Software and Documentation;
b. All
information relating to Licensor 's planned or existing computer systems and
systems architecture, including computer hardware, computer software, source
code, object code, documentation, methods of processing and operational
methods;
c.
All information regarding Licensor 's product
strategies, customer lists, sales, profits, organizational restructuring, new
business initiatives and financial information; and
d. Confidential
information of third parties with whom Licensor conducts business.
Notwithstanding the foregoing, Confidential Information shall not include
information that (i) is or becomes generally known to the public not as a
result of a disclosure by Licensee, (ii) is rightfully in the possession of
Licensee prior to disclosure by Licensor or (iii) is received by Licensee in
good faith and without restriction from a third party not under a
confidentiality obligation to Licensor and having the right to make such
disclosure. Licensee acknowledges that the disclosure of Confidential
Information may cause irreparable injury to Licensor and damages which may be
difficult to ascertain. Licensor shall, therefore, be entitled to injunctive
relief upon a disclosure or threatened disclosure of any Confidential
Information, without a requirement that Licensor prove irreparable harm, in
addition to such other remedies as may be available at law or in equity.
Without limitation of the foregoing, Licensee shall advise Licensor immediately
in the event that it learns or has reason to believe that any person or entity
which has had access to Confidential Information has violated or intends to
violate the terms of this Trial License Agreement.
In addition, Licensee shall not release the
results of any evaluation or benchmark of the Trial Package to any third party
without the express prior written consent of Licensor.
9. Indemnification
Licensor agrees to defend Licensee from and against any claim or action
based on any alleged infringement of any [COUNTRY] patent, copyright, trade
secret or other proprietary right as a result of the use of the Trial Package
according to the terms and conditions of this Trial License Agreement, and
Licensor agrees to indemnify Licensee from any costs and/or damages awarded
against Licensee in any such infringement claim or action or settlement
thereof; provided that: (i) Licensor is promptly notified in writing of such
claim, (ii) Licensee grants Licensor sole control of the defense and any
related settlement negotiations, and (iii) Licensee cooperates with Licensor in
defense of such claim.
Notwithstanding the foregoing, Licensor shall have no liability to
Licensee if the infringement results from:
10. Termination
Licensor may terminate this Trial License Agreement at any time with or
without cause by giving written notice of termination to Licensee, effective on
Licensee's receipt thereof. Anything to the contrary herein notwithstanding,
immediately upon such termination Licensee shall return to Licensor the Trial
Package, including all related documentation and all copies thereof.
11. Waiver
The waiver or failure of Licensor to exercise any right provided for
herein shall not be deemed a waiver of any further right hereunder. The rights
and remedies of Licensor set forth in this Agreement are in addition to any
rights or remedies Licensor may otherwise have at law or in equity. If any
provision of this Trial License Agreement shall be held to be invalid, illegal
or unenforceable, the validity, legality and enforceability of the remaining
provisions shall in no way be affected or impaired thereby.
12. Assignment
Neither party may assign its rights, duties or obligations under this
Agreement without the prior written consent of the other party.
13. Governing
Law and Jurisdiction
This Trial License Agreement and performance hereunder shall be governed
by the laws of the State of California without regard to conflicts of laws.
Licensee and Licensor hereby agree that the sole jurisdiction and venue for any
litigation arising from or relating to this Trial License Agreement shall be an
appropriate federal or state court located in the State of California.
14. Survival
All provisions hereof relating to proprietary rights, confidentiality
and non-disclosure, indemnification and limitation of liability shall survive
the completion of the Services or any earlier termination of this Trial License
Agreement.
15. Entire
Agreement
This Trial License Agreement constitutes the entire agreement and
understanding of the parties and supersedes and merges any and all prior
proposals, understandings and agreements, oral and written, between the parties
concerning the subject matter hereof.
IN WITNESS WHEREOF, the parties have executed this Agreement on the
dates set forth first above, with full knowledge of its content and
significance and intending to be legally bound by the terms hereof.
LICENSOR������������������������������������������������������������������� LICENSEE
����������������������������������������������������������������������� ����������� �����������������������������������������������������������������������
Authorized Signature���������������������������������������������������� Authorized
Signature
����������������������������������������������������������������������� ����������� �����������������������������������������������������������������������
Print Name and Title����������������������������������������������������� Print Name and
Title


Preparation time
less than 30 mins
Cooking time
10 to 30 mins
Serves
Makes 20
These crisps are a great as canapés or served as an accompaniment to roast pork or game.
Wipe the sage leaves and pat them dry with absorbent kitchen paper.
Take three deep plates or shallow dishes and pour the beaten egg into one, the flour into another and the breadcrumbs or polenta into the third.
Lay 20 of the sage leaves out flat and place half an anchovy down the centre of each one. Place the remaining 20 sage leaves over the anchovies and press down to sandwich together.
Individually coat each sage and anchovy sandwich in the flour, then dip in the beaten egg and finally coat in the breadcrumbs or polenta.
Heat the oil in a large frying pan. (CAUTION: hot oil can be dangerous. Do not leave unatttended.) Cook the sage crisps in batches until golden-brown and crisp. Drain on absorbent kitchen.
Serve while still warm.


Money Play. Should Red double? If doubled, should White take?
pips Red=160 White=145
(CorrectAnswer= 0/0, ErrorScore= 0)
I actually had this position when trailing 0-2 to 7 when it is a double but only just and it is a trivial take. However, I expected my opponent to pass and he did so fairly quickly.
Red still has three checkers trapped behind a four-point prime and a great deal of work to do to win this position and his threats are just not strong enough to warrant a double in a money game and it is a blunder to double.
Having said that a lot of players will drop this as White so knowing your opponent is critical in positions like this one. Against an unknown opponent I may well venture a double early in a match in a position such as this purely to get a read on his ability to handle the cube.
Red still has three checkers trapped behind a four-point prime and a great deal of work to do to win this position and his threats are just not strong enough to warrant a double in a money game and it is a blunder to double.
Having said that a lot of players will drop this as White so knowing your opponent is critical in positions like this one. Against an unknown opponent I may well venture a double early in a match in a position such as this purely to get a read on his ability to handle the cube.
Cube analysis 2-ply cubeless equity +0.358 0.593 0.272 0.017 - 0.407 0.110 0.006 Cubeful equities: 1. No double +0.509 2. Double, pass +1.000 (+0.491) 3. Double, take +0.438 (-0.070) Proper cube action: No double, take (12.5%)


@* * Copyright 2021 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *@ @import uk.gov.hmrc.play.views.html.helpers.form @import models.resident.properties._ @import views.html.helpers._ @import views.html.calculation.resident._ @import views.html.calculation.resident.properties._ @import play.api.Application @import models.resident.properties.ValueBeforeLegislationStartModel @import config.AppConfig @(valueBeforeLegislationStartForm: Form[ValueBeforeLegislationStartModel])(implicit request: Request[_], messages: Messages, appConfig: AppConfig) @resident_properties_main_template( title = Messages("calc.resident.properties.valueBeforeLegislationStart.question"), backLink = Some(controllers.routes.GainController.ownerBeforeLegislationStart.toString()), appConfig = appConfig){ @errorSummary(valueBeforeLegislationStartForm, "amount")
@Messages("calc.resident.properties.valueBeforeLegislationStart.information")
@Messages("calc.resident.properties.valueBeforeLegislationStart.help")
@Messages("calc.resident.properties.valueBeforeLegislationStart.jointOwnership")


| File | Statements | Branches | Functions | Lines | |||||
|---|---|---|---|---|---|---|---|---|---|
| asset-data.component.ts | 47.37% | 9/19 | 0% | 0/6 | 20% | 1/5 | 46.67% | 7/15 | |
| asset-detail.component.ts | 94.85% | 221/233 | 98.26% | 113/115 | 89.02% | 73/82 | 95.19% | 198/208 | |
| asset-save-subclip.component.ts | 62.5% | 25/40 | 100% | 0/0 | 22.22% | 2/9 | 61.76% | 21/34 | |
| asset-share.component.ts | 58.82% | 20/34 | 0% | 0/2 | 8.33% | 1/12 | 66.67% | 18/27 |


Where all minions serve their overlords~! Get it? "Serve".


Shahid Kapoor To Romance THIS Gorgeous Actress In Jersey
"Jersey" is a Hindi remake of the Telugu hit of the same name.
by IANSActress Mrunal Thakur, who wooed the audience with her performances in movies like “Super 30” and “Batla House“, will now be seen as female lead in Shahid Kapoor’s “Jersey“.
“Jersey” is a Hindi remake of the Telugu hit of the same name.
The Hindi version will be directed by Gowtam Tinnanuri, who also helmed the original movie.
Excited about sharing screen space with Shahid in Jersey, Mrunal said: “I’m super excited to play the lead opposite Shahid in ‘Jersey’. When I saw the original film I was bowled over by its passionate emotional journey.
“It felt like I had lived a full lifetime of experiences in those two plus hours. So deep was the affect of the film on me that I couldn’t get it out of my heart the whole night so I immediately watched it again the next day, I can’t wait for Hindi audiences to experience a similar impact!”
Looking at the original version, Mrunal’s character will be the anchor to Shahid’s, who goes on an emotional journey against all odds to play cricket for the country in his mid 30’s, when it’s time for most people to retire from competitive sports.
On casting Mrunal, Gowtam said: “After Shahid came on board, I only had Mrunal on my mind for the lead opposite him, I loved her performance and confidence in ‘Super 30’ opposite Hrithik Roshan and felt she’s perfectly fit for the part in Jersey and will do full justice to the role.”
Produced by Allu Aravind, Aman Gill, Dil Raju, the film is releasing on August 28, 2020.


library(forcats)
library(tidyr)
library(dplyr)
library(ggplot2)
library(sp)
library(maps)
library(maptools)
## Thank you to Chris Kennedy for kindly telling me I should be using library instead of require on my posts.
Forever ago @dpseidel drew my attention to an awesome dataset collected by @jimwebb about tweets that cursed being cold/hot. This reminded me of a project that @danascientist (so many Dana’s!) and I did in @BaumerBen’s class where we tried to assess how cold it had to be for people to talk about being cold on Twitter. I was curious whether differences in region would impact the overall median per phrase since we expect those in warmer regions to have less of a tolerance to the cold.
This seemed like a perfect dataset to work through the forcats
package and tackle some factors. Be warned, curse words are involved.
setwd("~/Desktop/cold_as_f-ck-master")
data <- read.csv("data/collected-tweets.csv")
First I translate lat/long to state.
#https://stackoverflow.com/questions/8751497/latitude-longitude-coordinates-to-state-code-in-r
latlong2state <- function(pointsDF) {
# Prepare SpatialPolygons object with one SpatialPolygon
# per state (plus DC, minus HI & AK)
states <- map('state', fill=TRUE, col="transparent", plot=FALSE)
IDs <- sapply(strsplit(states$names, ":"), function(x) x[1])
states_sp <- map2SpatialPolygons(states, IDs=IDs,
proj4string=CRS("+proj=longlat +datum=WGS84"))
# Convert pointsDF to a SpatialPoints object
pointsSP <- SpatialPoints(pointsDF,
proj4string=CRS("+proj=longlat +datum=WGS84"))
# Use 'over' to get _indices_ of the Polygons object containing each point
indices <- over(pointsSP, states_sp)
# Return the state names of the Polygons object containing each point
stateNames <- sapply(states_sp@polygons, function(x) x@ID)
stateNames[indices]
}
data$state <- latlong2state(data[,c("long","lat")])
Then I break down the states into regions using fct_collapse
since we don’t have enough tweets per state.
data$division <- fct_collapse(data$state,
newengland = c("connecticut", "maine", "massachusetts", "new hampshire", "rhode island", "vermont"),
midatlantic = c("new jersey", "new york", "pennsylvania"),
eastnorthcentral = c("illinois", "indiana", "michigan", "ohio", "wisconsin"),
westnorthcentral = c("iowa", "kansas", "minnesota", "missouri", "nebraska", "north dakota", "south dakota"),
southatlantic = c("delaware", "florida", "georgia", "maryland", "north carolina", "south carolina","district of columbia", "west virginia", "virginia"),
eastsouthcentral = c("alabama", "kentucky", "mississippi", "tennessee"),
westsouthcentral = c("arkansas", "louisiana", "oklahoma", "texas"),
mountain = c("arizona", "colorado", "idaho", "montana", "nevada", "new mexico", "utah", "wyoming"),
pacific = c("alaska", "california", "hawaii", "oregon", "washington")
)
## Warning: Unknown levels in `f`: alaska, hawaii
data$region <- fct_collapse(data$division,
northeast = c("newengland", "midatlantic"),
midwest = c("eastnorthcentral", "westnorthcentral"),
south = c("southatlantic", "eastsouthcentral", "westsouthcentral"),
west = c("mountain", "pacific")
)
No Hawaii or Alaska in our dataset, but that’s fine. Also, am I the only one who thinks it is weird that Delaware is considered the south?
We can use fct_count
to easily count how many tweets fall in each category.
fct_count(data$division)
## # A tibble: 10 x 2
## f n
## <fct> <int>
## 1 eastsouthcentral 313
## 2 mountain 224
## 3 westsouthcentral 709
## 4 pacific 911
## 5 newengland 108
## 6 southatlantic 1043
## 7 eastnorthcentral 697
## 8 westnorthcentral 172
## 9 midatlantic 500
## 10 <NA> 698
fct_count(data$region)
## # A tibble: 5 x 2
## f n
## <fct> <int>
## 1 south 2065
## 2 west 1135
## 3 northeast 608
## 4 midwest 869
## 5 <NA> 698
Even these are a bit sparse, so we’ll stick with region to try to get a reasonable number of tweets per phrase.
For reference I want to easily be able to tell which phrase contains “hot” or “cold”.
data$type <- ifelse(grepl("hot",data$phrase,ignore.case = T),"H",ifelse(grepl("cold",data$phrase,ignore.case = T),"C","O"))
## I should be using stringr, but forgive me
Now I want to pick the phrases that are displayed in Jim’s plots to make comparisons easier.
toCompare = c("colder than mars", "colder than a witch's tit", "cold as heck", "colder than a mf", "cold as a bitch", "cold as balls", "cold as tits", "cold as fuck", "colder than my heart", "colder than a bitch", "cold as a mf", "cold as hell", "cold as ice", "hot as heck", "hotter than two rats", "hot as balls", "hotter than hell", "hot as tits", "hot as hell", "hot as fuck", "hot as shit", "hotter than satan's asshole", "hot as a mf", "hot as a bitch", "hotter than a mf", "hot as hades", "hot as dick")
We can use fct_other
to lump all the other phrases into an “Other” category.
data$phrase <- fct_other(data$phrase, keep = toCompare)
Some regions don’t have every phrase, but I want that to be explicit in the data, so we break out our new friend tidyr
.  We match Jim’s values. I can try to make a quick plot to assess differences per region.
res2 <- subset(res,!is.na(region) & phrase != "Other")
ggplot(data = res2, aes(x = phrase, y = medAppT, col = region)) + geom_point() + theme(axis.text.x = element_text(angle = 45, hjust = 1))
But my ordering doesn’t match Jim’s so it’s hard to compare. He ordered them by overall median, so I can compute that and then use fct_reorder
to rearrange. But first I need to get rid of the pesky “Other” category using fct_drop
.
data2 <- data %>% filter(phrase != "Other")
data2$phrase <- fct_drop(data2$phrase) ## defaults to drop what isn't present
toOrder <- data2 %>% group_by(phrase) %>% summarise(medAppT = median(apparentTemperature, na.rm = T), count = n()) %>% arrange(medAppT) %>% mutate(order = 1:nrow(.))
res2$phrase <- fct_drop(res2$phrase) ## drop before merging so levels match
res2 <- left_join(x = res2, y = toOrder, by = c("phrase"="phrase"))
res2$phrase <- fct_reorder(res2$phrase, res2$order)
ggplot(data = res2, aes(x = phrase, y = medAppT.x, col = region)) + geom_point() + theme(axis.text.x = element_text(angle = 45, hjust = 1)) + ylab("median apparent temp (F)") + xlab("")
There we go! But it is still hard to see what is going on. The south and west have larger temperatures for cold and hot categories which makes sense. But how much do the differences in number of tweets by region affect the median? Regional differences in phrase usage could potentially skew even a median.
## drop levels
data2 <- data %>% filter(phrase!="Other")
data2$phrase <- fct_drop(data2$phrase,only="Other")
## I would like to be able to do this in one step?
## reorder
data2 <- left_join(x = data2,y = toOrder, by = c("phrase"="phrase"))
data2$phrase <- fct_reorder(data2$phrase, data2$order)
## add on medians in black
ggplot(data = filter(data2, !is.na(region)), aes(x = phrase, y = apparentTemperature, col = region)) + geom_point(alpha = .5) + geom_point(aes(x = phrase, y = medAppT), cex = 2, col = "black") + theme(axis.text.x = element_text(angle = 45, hjust = 1)) + xlab("") + ylab("apparent temperature (F)")
Even with some transparency in the points, we can’t see what may be affecting the medians (shown in black). Jittering on the categorical scale to the rescue!
ggplot(data = filter(data2, !is.na(region)), aes(x = phrase, y = apparentTemperature, col = region)) + geom_point(alpha = .5, position = position_jitter(w = .25, h = 0)) + geom_point(aes(x = phrase, y = medAppT), cex = 2, col = "black") + theme(text = element_text(size=15), axis.text.x = element_text(angle = 45, hjust = 1)) + xlab("") + ylab("apparent temperature (F)")
There are no immediately obvious clusters by region in the temperature direction per phrase, so the median seems like a reasonable choice. However, we can see how the mean could be affected by values that differ from the majority per phrase.
Actually drawing conclusions is beyond the scope of this post but questions remain:
Do particular regions use certain phrases more than we would expect by proportion of people/Twitter users?
Within phrases that are common across all regions, are there statistically and practically significant differences between the average temperature when a phrase is used?
I almost made it through this post without a gif (the horror!).
P.S. @AmeliaMN and @askdrstats have a great paper about Wrangling Categorical Data in R if you want some serious guidance on factors.


|
|---|
| The same day went Jesus out of the house, and sat by the sea side.
|
|---|
| ᎾᎯᏳ ᎢᎦ ᏥᏌ ᎤᏄᎪᏨᎩ ᎠᏓᏁᎸᎢ, ᎠᎴ ᎥᏓᎷᎶᏗ ᎤᏪᏅᎩ.
|
|---|
Na-hi-yu i-ga Tsi-sa u-nu-go-tsv-gi a-da-ne-lv-i, a-le v-da-lu-lo-di u-we-nv-gi.
|
|---|
|
|---|
| And great multitudes were gathered together unto him, so that he went into a ship, and sat; and the whole multitude stood on the shore.
|
|---|
| ᎤᏂᏣᏘᏃ ᏴᏫ ᎬᏩᏓᏡᏫᏍᏔᏅᎩ, ᎾᏍᎩ ᎢᏳᏍᏗ ᏥᏳᎯ ᎤᏣᏅᎩ, ᎠᎴ ᎤᏪᏅᎩ. ᏂᎦᏗᏳᏃ ᎾᏍᎩ ᎤᏂᏣᏘ ᎠᎹᏳᎶᏗ ᎠᏂᏙᎾᎥᎩ.
|
|---|
U-ni-tsa-ti-no yv-wi gv-wa-da-tlu-wi-s-ta-nv-gi, na-s-gi i-yu-s-di tsi-yu-hi u-tsa-nv-gi, a-le u-we-nv-gi. Ni-ga-di-yu-no na-s-gi u-ni-tsa-ti a-ma-yu-lo-di a-ni-do-na-v-gi.
|
|---|
|
|---|
| And he spake many things unto them in parables, saying, Behold, a sower went forth to sow;
|
|---|
| ᏕᎤᏬᏁᏔᏅᏃ ᎤᏣᏘ ᏧᏓᎴᏅᏛ ᏚᏟᎶᏍᏓᏁᎸᎩ; ᎯᎠ ᏄᏪᏒᎩ; ᎬᏂᏳᏉ, ᎠᏫᏍᎩ ᎤᏫᏒᏎᎢ.
|
|---|
De-u-wo-ne-ta-nv-no u-tsa-ti tsu-da-le-nv-dv du-tli-lo-s-da-ne-lv-gi; hi-a nu-we-sv-gi; Gv-ni-yu-quo, a-wi-s-gi u-wi-sv-se-i.
|
|---|
|
|---|
| And when he sowed, some seeds fell by the way side, and the fowls came and devoured them up:
|
|---|
| ᎤᏫᏒᏃ ᎢᎦᏛ ᏅᏃᎱᎶᏗ ᎤᎳᎨᏯᏛᏤᎢ, ᏥᏍᏆᏃ ᎤᏂᎷᏤ ᎠᎴ ᎤᏄᏘᏐᏁᎢ.
|
|---|
U-wi-sv-no i-ga-dv nv-no-hu-lo-di u-la-ge-ya-dv-tse-i, tsi-s-qua-no u-ni-lu-tse a-le u-nu-ti-so-ne-i.
|
|---|
|
|---|
| Some fell upon stony places, where they had not much earth: and forthwith they sprung up, because they had no deepness of earth:
|
|---|
| ᎢᎦᏛᏃ ᏅᏲᎯ ᎨᏒ ᎤᎳᎨᏯᏛᏤᎢ, ᎦᏲᎵ ᎦᏓ ᎦᎳᎨᏴᎢ, ᎩᎳᏉᏃ ᎢᏴᏛ ᎤᎵᏰᏁᎢ, ᏅᏗᎦᎵᏍᏙᏗᏍᎨ ᏌᎨᎢᏳ ᎨᏒ ᎦᏓ.
|
|---|
I-ga-dv-no nv-yo-hi ge-sv u-la-ge-ya-dv-tse-i, ga-yo-li ga-da ga-la-ge-yv-i, gi-la-quo-no i-yv-dv u-li-ye-ne-i, nv-di-ga-li-s-do-di-s-ge sa-ge-i-yu ge-sv ga-da.
|
|---|
|
|---|
| And when the sun was up, they were scorched; and because they had no root, they withered away.
|
|---|
| ᎠᏎᏃ ᏅᏙ ᏧᎧᎸᏨ ᎤᎴᏴᏎᎢ, ᏂᏚᎿᎭᏍᏕᏢᎾᏃ ᎨᏒ ᎢᏳᏍᏗ ᎤᎿᎭᏍᎬᏤᏉ.
|
|---|
A-se-no nv-do tsu-ka-lv-tsv u-le-yv-se-i, ni-du-hna-s-de-tlv-na-no ge-sv i-yu-s-di u-hna-s-gv-tse-quo.
|
|---|
|
|---|
| And some fell among thorns; and the thorns sprung up, and choked them:
|
|---|
| ᎢᎦᏛᏃ ᎠᏄᎦᎸᎯ ᎤᎳᎨᏯᏛᏤᎢ, ᎠᏄᎦᎸᏃ ᏧᏛᏒ ᎤᏁᏄᎳᏍᏔᏁᎢ.
|
|---|
I-ga-dv-no a-nu-ga-lv-hi u-la-ge-ya-dv-tse-i, a-nu-ga-lv-no tsu-dv-sv u-ne-nu-la-s-ta-ne-i.
|
|---|
|
|---|
| But other fell into good ground, and brought forth fruit, some an hundredfold, some sixtyfold, some thirtyfold.
|
|---|
| ᎢᎦᏛᏍᎩᏂ ᎣᏒ ᎦᏙᎯ ᎤᎳᎨᏯᏛᏤᎢ, ᎾᏍᎩᏃ ᎤᎦᏔᏔᏁᎢ, ᎢᎦᏛ ᎠᏍᎪᎯᏧᏈ ᎤᏁᏉᏤᎢ, ᎢᎦᏛᏃ ᏑᏓᎳᏍᎪᎯ ᎤᏁᏉᏤᎢ, ᎢᎦᏛᏃ ᏦᎠᏍᎪᎯ ᎤᏁᏉᏤᎢ.
|
|---|
I-ga-dv-s-gi-ni o-sv ga-do-hi u-la-ge-ya-dv-tse-i, na-s-gi-no u-ga-ta-ta-ne-i, i-ga-dv a-s-go-hi-tsu-qui u-ne-quo-tse-i, i-ga-dv-no su-da-la-s-go-hi u-ne-quo-tse-i, i-ga-dv-no tso-a-s-go-hi u-ne-quo-tse-i.
|
|---|
|
|---|
| Who hath ears to hear, let him hear.
|
|---|
| ᎩᎶ ᏕᎦᎷᎨᏍᏗ ᎤᏛᎪᏗᏱ ᏩᏛᎬᎦ.
|
|---|
Gi-lo de-ga-lu-ge-s-di u-dv-go-di-yi wa-dv-gv-ga.
|
|---|
|
|---|
| And the disciples came, and said unto him, Why speakest thou unto them in parables?
|
|---|
| ᎬᏩᏍᏓᏩᏗᏙᎯᏃ ᎬᏩᎷᏤᎸ ᎯᎠ ᏂᎬᏩᏪᏎᎸᎩ; ᎦᏙᏃ ᏕᎯᏬᏁᏗᏍᎬ ᏥᏕᎭᏟᎶᏍᏓᏁᎭ?
|
|---|
Gv-wa-s-da-wa-di-do-hi-no gv-wa-lu-tse-lv hi-a ni-gv-wa-we-se-lv-gi; Ga-do-no de-hi-wo-ne-di-s-gv tsi-de-ha-tli-lo-s-da-ne-ha?
|
|---|
|
|---|
| He answered and said unto them, Because it is given unto you to know the mysteries of the kingdom of heaven, but to them it is not given.
|
|---|
| ᎤᏁᏨᏃ ᎯᎠ ᏂᏚᏪᏎᎸᎩ; ᏅᏗᎦᎵᏍᏙᏗᏍᎩᏂ ᏂᎯ ᎡᏥᏁᎸᎯ ᎨᏒ ᎢᏦᎵᏍᏗᏱ ᎤᏕᎵᏛ ᎨᏒ ᎦᎸᎳᏗ ᎡᎯ ᎤᎬ ᏫᏳᎯ ᎨᏒᎢ, Ꮎ-ᏍᎩᏂ ᎥᏝ ᎨᎦᎵᏍᎪᎸᏓᏁᎸᎯ ᏱᎩ.
|
|---|
U-ne-tsv-no hi-a ni-du-we-se-lv-gi; Nv-di-ga-li-s-do-di-s-gi-ni ni-hi e-tsi-ne-lv-hi ge-sv i-tso-li-s-di-yi u-de-li-dv ge-sv ga-lv-la-di e-hi u-gv wi-yu-hi ge-sv-i, na--s-gi-ni v-tla ge-ga-li-s-go-lv-da-ne-lv-hi yi-gi.
|
|---|
|
|---|
| For whosoever hath, to him shall be given, and he shall have more abundance: but whosoever hath not, from him shall be taken away even that he hath.
|
|---|
| ᎩᎶᏰᏃ ᎤᎮᏍᏗ ᎠᏥᏁᏗ ᎨᏎᏍᏗ, ᎤᏣᏘᏃ ᎤᎮᏍᏗ; ᎩᎶᏍᎩᏂ ᏄᎲᎾ ᎨᏎᏍᏗ ᎠᏥᎩᎡᏗᏉ ᎨᏎᏍᏗ ᎾᏍᎩ ᎾᏍᏉ ᎤᎲᎢ.
|
|---|
Gi-lo-ye-no u-he-s-di a-tsi-ne-di ge-se-s-di, u-tsa-ti-no u-he-s-di; gi-lo-s-gi-ni nu-hv-na ge-se-s-di a-tsi-gi-e-di-quo ge-se-s-di na-s-gi na-s-quo u-hv-i.
|
|---|
|
|---|
| Therefore speak I to them in parables: because they seeing see not; and hearing they hear not, neither do they understand.
|
|---|
| ᎾᏍᎩ ᏅᏗᎦᎵᏍᏙᏗᎭ ᏥᏕᎦᏥᏯᏟᎶᏍᏓᏁᎭ, ᎠᏂᎪᏩᏘᏍᎬᏰᏃ ᎥᏝ ᏱᎾᏛᎩᎭ ᎠᎴ ᎥᏝ ᏱᏃᎵᎦ.
|
|---|
Na-s-gi nv-di-ga-li-s-do-di-ha tsi-de-ga-tsi-ya-tli-lo-s-da-ne-ha, a-ni-go-wa-ti-s-gv-ye-no v-tla yi-na-dv-gi-ha a-le v-tla yi-no-li-ga.
|
|---|
|
|---|
| And in them is fulfilled the prophecy of Esaias, which saith, By hearing ye shall hear, and shall not understand; and seeing ye shall see, and shall not perceive:
|
|---|
| ᎠᎴ ᎠᏁᎲ ᎤᏙᎯᏳᏅ ᎢᏌᏯ ᏧᏙᎴᎰᏎᎢ, ᎯᎠ ᏥᏄᏪᏎᎢ; ᎢᏣᏛᎩᏍᎬ ᎢᏣᏛᎩᏍᎨᏍᏗ, ᎠᏎᏃ ᎥᏝ ᏱᏦᎵᎨᏍᏗ; ᎠᎴ ᎢᏥᎪᏩᏘᏍᎬ ᎢᏥᎪᏩᏘᏍᎨᏍᏗ, ᎠᏎᏃ ᎥᏝ ᏱᏣᏙᎴᎰᏍᎨᏍᏗ.
|
|---|
A-le a-ne-hv u-do-hi-yu-nv I-sa-ya tsu-do-le-ho-se-i, hi-a tsi-nu-we-se-i; I-tsa-dv-gi-s-gv i-tsa-dv-gi-s-ge-s-di, a-se-no v-tla yi-tso-li-ge-s-di; a-le i-tsi-go-wa-ti-s-gv i-tsi-go-wa-ti-s-ge-s-di, a-se-no v-tla yi-tsa-do-le-ho-s-ge-s-di.
|
|---|
|
|---|
| For this people's heart is waxed gross, and their ears are dull of hearing, and their eyes they have closed; lest at any time they should see with their eyes, and hear with their ears, and should understand with their heart, and should be converted, and I should heal them.
|
|---|
| ᎯᎠᏰᏃ ᏴᏫ ᏧᏂᎾᏫ ᏚᎵᏦᎲᏒ, ᎠᎴ ᏓᏂᎵᎷᎬ ᎦᏲᎵᏳ ᏓᏛᎩᎭ, ᎠᎴ ᏗᏂᎦᏙᎵ ᏚᏂᏍᏚᏅ; ᎾᏍᎩ ᏗᏂᎦᏙᎵ ᏗᎬᏩᏂᎪᏩᏛᏙᏗ ᏂᎨᏒᎾ ᎢᏳᎵᏍᏙᏗᏱ, ᎠᎴ ᏓᏂᎵᎷᎬ ᏗᎬᏩᎾᏛᎪᏙᏗᏂᎨᏒᎾ ᎢᏳᎵᏍᏙᏗᏱ, ᎠᎴ ᏧᏂᎾᏫ ᏗᎬᏩᏃᎵᏍᏙᏗ ᏂᎨᏒᎾ ᎢᏳᎵᏍᏙᏗᏱ, ᎠᎴ ᏗᎬᏩᎾᏓᏁᏟᏴᎡᏗ ᏂᎨᏒᎾ ᏚᎾᏓᏅᏛ, ᎠᎴ ᏗᎦᎦᏥᏅᏬᏗ ᏂᎨᏒᎾ ᎢᏳᎵᏍᏙᏗᏱ.
|
|---|
Hi-a-ye-no yv-wi tsu-ni-na-wi du-li-tso-hv-sv, a-le da-ni-li-lu-gv ga-yo-li-yu da-dv-gi-ha, a-le di-ni-ga-do-li du-ni-s-du-nv; na-s-gi di-ni-ga-do-li di-gv-wa-ni-go-wa-dv-do-di ni-ge-sv-na i-yu-li-s-do-di-yi, a-le da-ni-li-lu-gv di-gv-wa-na-dv-go-do-di-ni-ge-sv-na i-yu-li-s-do-di-yi, a-le tsu-ni-na-wi di-gv-wa-no-li-s-do-di ni-ge-sv-na i-yu-li-s-do-di-yi, a-le di-gv-wa-na-da-ne-tli-yv-e-di ni-ge-sv-na du-na-da-nv-dv, a-le di-ga-ga-tsi-nv-wo-di ni-ge-sv-na i-yu-li-s-do-di-yi.
|
|---|
|
|---|
| But blessed are your eyes, for they see: and your ears, for they hear.
|
|---|
| ᏂᎯᏍᎩᏂ ᏗᏥᎦᏙᎵ ᏗᎦᎸᏉᏔᏅᎯ, ᎾᏍᎩᏰᏃ ᏓᎪᏩᏘᎭ, ᎠᎴ ᏕᏥᎵᎷᎬᎢ, ᎾᏍᎩᏰᏃ ᏓᏛᎩᎭ;
|
|---|
Ni-hi-s-gi-ni di-tsi-ga-do-li di-ga-lv-quo-ta-nv-hi, na-s-gi-ye-no da-go-wa-ti-ha, a-le de-tsi-li-lu-gv-i, na-s-gi-ye-no da-dv-gi-ha;
|
|---|
|
|---|
| For verily I say unto you, That many prophets and righteous men have desired to see those things which ye see, and have not seen them; and to hear those things which ye hear, and have not heard them.
|
|---|
| ᎤᏙᎯᏳᎯᏯᏰᏃ ᎯᎠ ᏂᏨᏪᏎᎭ, ᎤᏂᏣᏘ ᎠᎾᏙᎴᎰᏍᎩ ᎠᎴ ᎤᎾᏓᏅᏘ ᎤᎾᏚᎸᏛ ᎤᏥᎪᏩᏛᏗᏱ ᎯᎠ ᎾᏍᎩ ᏥᏥᎪᏩᏘᎭ, ᎠᏎᏃ ᎥᏝ ᎤᏂᎪᎲᎯ ᏱᎩ; ᎠᎴ ᎤᎾᏛᎪᏗᏱ ᎯᎠ ᎾᏍᎩ ᏥᏣᏛᎩᎭ, ᎠᏎᏃ ᎥᏝ ᎤᎾᏛᎦᏅᎯ ᏱᎩ.
|
|---|
U-do-hi-yu-hi-ya-ye-no hi-a ni-tsv-we-se-ha, u-ni-tsa-ti a-na-do-le-ho-s-gi a-le u-na-da-nv-ti u-na-du-lv-dv u-tsi-go-wa-dv-di-yi hi-a na-s-gi tsi-tsi-go-wa-ti-ha, a-se-no v-tla u-ni-go-hv-hi yi-gi; a-le u-na-dv-go-di-yi hi-a na-s-gi tsi-tsa-dv-gi-ha, a-se-no v-tla u-na-dv-ga-nv-hi yi-gi.
|
|---|
|
|---|
| Hear ye therefore the parable of the sower.
|
|---|
| ᎾᏍᎩ ᎢᏳᏍᏗ ᏂᎯ ᎢᏣᏛᎬᎦ ᏓᏟᎶᏍᏛ ᎠᏫᏍᎩ.
|
|---|
Na-s-gi i-yu-s-di ni-hi i-tsa-dv-gv-ga da-tli-lo-s-dv a-wi-s-gi.
|
|---|
|
|---|
| When any one heareth the word of the kingdom, and understandeth it not, then cometh the wicked one, and catcheth away that which was sown in his heart. This is he which received seed by the way side.
|
|---|
| ᎢᏳᏃ ᎩᎶ ᎠᏛᎬᎦ ᎧᏃᎮᏛ ᎦᎸᎳᏗ ᎡᎯ ᎤᎬᎾᏳᎯ ᎨᏒ ᎤᎬᏩᎵ, ᏂᎪᎵᎬᎾᏃ ᏥᎨᏐᎢ, ᎿᎭᏉ ᎤᏁᎫᏥᏛ ᎦᎷᎪᎢ ᎠᎴ ᎤᎩᎡᎰ ᎠᏫᏒ ᎤᎾᏫᏱ. ᎾᏍᎩ ᎯᎠ ᎤᏃᎱᎶᏗ ᏣᏫᏎᎢ.
|
|---|
I-yu-no gi-lo a-dv-gv-ga ka-no-he-dv ga-lv-la-di e-hi u-gv-na-yu-hi ge-sv u-gv-wa-li, ni-go-li-gv-na-no tsi-ge-so-i, hna-quo u-ne-gu-tsi-dv ga-lu-go-i a-le u-gi-e-ho a-wi-sv u-na-wi-yi. Na-s-gi hi-a u-no-hu-lo-di tsa-wi-se-i.
|
|---|
|
|---|
| But he that received the seed into stony places, the same is he that heareth the word, and anon with joy receiveth it;
|
|---|
| ᎯᎠᏃ ᎾᏍᎩ ᏅᏲᎯ ᏣᏫᏎᎢ; ᎾᏍᎩ ᏣᏛᎩᏍᎪ ᎧᏃᎮᏛ, ᎠᎴ ᎩᎳᏉ ᎢᏴᏛ ᎤᎵᎮᎵᏨᎯ ᏥᏓᏓᏂᎸᎪᎢ;
|
|---|
Hi-a-no na-s-gi nv-yo-hi tsa-wi-se-i; na-s-gi tsa-dv-gi-s-go ka-no-he-dv, a-le gi-la-quo i-yv-dv u-li-he-li-tsv-hi tsi-da-da-ni-lv-go-i;
|
|---|
|
|---|
| Yet hath he not root in himself, but dureth for a while: for when tribulation or persecution ariseth because of the word, by and by he is offended.
|
|---|
| ᎠᏎᏃ ᏂᏚᎿᎭᏍᏕᏢᎾᏉ ᎨᏐᎢ, ᎠᎴ ᏞᎦᏉ ᏥᏓᎧᎿᎭᏩᏕᎪᎢ; ᎠᎩᎵᏴᏰᏃ ᎦᎾᏄᎪᎢ ᎠᎴ ᎧᏃᎮᏛ ᏛᎵᏰᎢᎸᏍᏓ ᎠᎦᏕᏯᏙᏓ, ᎩᎳᏉ ᎢᏴᏛ ᏚᏬᏕᎯᎰᎢ.
|
|---|
A-se-no ni-du-hna-s-de-tlv-na-quo ge-so-i, a-le tle-ga-quo tsi-da-ka-hna-wa-de-go-i; a-gi-li-yv-ye-no ga-na-nu-go-i a-le ka-no-he-dv dv-li-ye-i-lv-s-da a-ga-de-ya-do-da, gi-la-quo i-yv-dv du-wo-de-hi-ho-i.
|
|---|
|
|---|
| He also that received seed among the thorns is he that heareth the word; and the care of this world, and the deceitfulness of riches, choke the word, and he becometh unfruitful.
|
|---|
| ᎯᎠᏃ ᎾᏍᏉ ᎠᏄᎦᎸᎯ ᏣᏫᏎᎢ, ᎾᏍᎩ ᏣᏛᎩᏍᎪ ᎧᏃᎮᏛ, ᎡᎶᎯᏃ ᎤᏪᎵᎯᏍᏗ ᎨᏒ ᎠᎴ ᎨᏅᎢᏍᏗ ᎨᏒ ᎤᏓᎵᏓᏍᏛ ᎠᏂᏁᏄᎳᏍᏗᏍᎪ ᎧᏃᎮᏛ, ᎾᏍᎩᏃ ᎾᎦᏔᏛᏍᎬᎾᏉ ᎨᏐᎢ.
|
|---|
Hi-a-no na-s-quo a-nu-ga-lv-hi tsa-wi-se-i, na-s-gi tsa-dv-gi-s-go ka-no-he-dv, e-lo-hi-no u-we-li-hi-s-di ge-sv a-le ge-nv-i-s-di ge-sv u-da-li-da-s-dv a-ni-ne-nu-la-s-di-s-go ka-no-he-dv, na-s-gi-no na-ga-ta-dv-s-gv-na-quo ge-so-i.
|
|---|
|
|---|
| But he that received seed into the good ground is he that heareth the word, and understandeth it; which also beareth fruit, and bringeth forth, some an hundredfold, some sixty, some thirty.
|
|---|
| ᎾᏍᎩᏍᎩᏂ Ꮎ ᎣᏒ ᎦᏙᎯ ᏣᏫᏎᎢ; ᎾᏍᎩ ᏣᏛᎩᏍᎪ ᎧᏃᎮᏛ ᎠᎴ ᏥᎪᎵᎪᎢ, ᎠᎴ ᎾᏍᏉ ᏣᎦᏔᏛᏍᎪᎢ, ᎠᎴ ᏥᎦᎾᏄᎪᏫᏍᎪᎢ, ᎢᎦᏛ ᎠᏍᎪᎯᏧᏈ ᎤᏁᏉᏨᎯ, ᎢᎦᏛᏃ ᏑᏓᎳᏍᎪᎯ, ᎢᎦᏛᏃ ᏦᎠᏍᎪᎯ.
|
|---|
Na-s-gi-s-gi-ni na o-sv ga-do-hi tsa-wi-se-i; na-s-gi tsa-dv-gi-s-go ka-no-he-dv a-le tsi-go-li-go-i, a-le na-s-quo tsa-ga-ta-dv-s-go-i, a-le tsi-ga-na-nu-go-wi-s-go-i, i-ga-dv a-s-go-hi-tsu-qui u-ne-quo-tsv-hi, i-ga-dv-no su-da-la-s-go-hi, i-ga-dv-no tso-a-s-go-hi.
|
|---|
|
|---|
| Another parable put he forth unto them, saying, The kingdom of heaven is likened unto a man which sowed good seed in his field:
|
|---|
| ᏅᏩᏓᎴ ᏚᏟᎶᏍᏓᏁᎸᎩ, ᎯᎠ ᏄᏪᏒᎩ; ᎦᎸᎳᏗ ᎡᎯ ᎤᎬᏫᏳᎯ ᎨᏒ ᎾᏍᎩᏯᏉ ᎠᏍᎦᏯ ᎣᏍᏛ ᎤᎦᏔ ᎤᎶᎨᏒ ᏧᏫᏎᎢ.
|
|---|
Nv-wa-da-le du-tli-lo-s-da-ne-lv-gi, hi-a nu-we-sv-gi; Ga-lv-la-di e-hi u-gv-wi-yu-hi ge-sv na-s-gi-ya-quo a-s-ga-ya o-s-dv u-ga-ta u-lo-ge-sv tsu-wi-se-i.
|
|---|
|
|---|
| But while men slept, his enemy came and sowed tares among the wheat, and went his way.
|
|---|
| ᎠᏎᏃ ᏴᏫ ᎤᏂᎵᏅᏨ, ᎤᏍᎦᏯ ᎤᎷᏤ ᎤᏲ ᎤᎦᏔ ᎤᏫᏎ ᎤᏣᎴᏍᏗ ᎠᏫᏒ ᎤᏑᏴᏁᎢ; ᎠᎴ ᎢᎤᏪᏅᏎ.
|
|---|
A-se-no yv-wi u-ni-li-nv-tsv, u-s-ga-ya u-lu-tse u-yo u-ga-ta u-wi-se u-tsa-le-s-di a-wi-sv u-su-yv-ne-i; a-le i-u-we-nv-se.
|
|---|
|
|---|
| But when the blade was sprung up, and brought forth fruit, then appeared the tares also.
|
|---|
| ᎿᎭᏉᏃ ᎤᎵᏰᏅ ᎠᎴ ᎤᎦᏔᏔᏅ ᎾᏍᏉ ᎤᏲ ᎤᎾᏄᎪᏤᎢ.
|
|---|
Hna-quo-no u-li-ye-nv a-le u-ga-ta-ta-nv na-s-quo u-yo u-na-nu-go-tse-i.
|
|---|
|
|---|
| So the servants of the householder came and said unto him, Sir, didst not thou sow good seed in thy field? from whence then hath it tares?
|
|---|
| ᎿᎭᏉᏃ ᎠᏍᎦᏯ ᎦᏁᎳ ᏧᏅᏏᏓᏍᏗ ᎬᏩᎷᏤᎴᎢ, ᎯᎠ ᏂᎬᏩᏪᏎᎴᎢ; ᏍᎩᏅᏏᏓᏍᏗ, ᏝᏍᎪ ᎣᏍᏛ ᎤᎦᏔ ᏱᏣᏫᏎ ᏣᎶᎨᏒᎢ? ᎦᏙ ᏗᎦᎵᏍᏙᏓᎭ ᎤᏲ ᏧᏰᎦ?
|
|---|
Hna-quo-no a-s-ga-ya ga-ne-la tsu-nv-si-da-s-di gv-wa-lu-tse-le-i, hi-a ni-gv-wa-we-se-le-i; s-gi-nv-si-da-s-di, Tla-s-go o-s-dv u-ga-ta yi-tsa-wi-se tsa-lo-ge-sv-i? Ga-do di-ga-li-s-do-da-ha u-yo tsu-ye-ga?
|
|---|
|
|---|
| He said unto them, An enemy hath done this. The servants said unto him, Wilt thou then that we go and gather them up?
|
|---|
| ᎯᎠᏃ ᏂᏚᏪᏎᎴᎢ; ᎩᎶ ᎠᎩᏍᎦᎩ ᎾᏍᎩ ᏄᏛᏁᎸ. ᏧᏅᏏᏓᏍᏗ ᎯᎠ ᏂᎬᏩᏎᎴᎢ; ᏣᏚᎵᏍᎪᏃ ᎣᎩᏰᎯᏒᏍᏗᏱ?
|
|---|
Hi-a-no ni-du-we-se-le-i; Gi-lo a-gi-s-ga-gi na-s-gi nu-dv-ne-lv. Tsu-nv-si-da-s-di hi-a ni-gv-wa-se-le-i; Tsa-du-li-s-go-no o-gi-ye-hi-sv-s-di-yi?
|
|---|
|
|---|
| But he said, Nay; lest while ye gather up the tares, ye root up also the wheat with them.
|
|---|
| ᎠᏎᏃ ᎯᎠ ᏄᏪᏎᎢ; ᎥᏝ, ᎢᏥᏰᎯᏍᎬᏰᏃ ᎤᏲ, ᏱᏕᏥᎿᎭᏍᏕᏢᏓ ᎾᏍᏉ ᎤᏣᎴᏍᏗ.
|
|---|
A-se-no hi-a nu-we-se-i; v-tla, i-tsi-ye-hi-s-gv-ye-no u-yo, yi-de-tsi-hna-s-de-tlv-da na-s-quo u-tsa-le-s-di.
|
|---|
|
|---|
| Let both grow together until the harvest: and in the time of harvest I will say to the reapers, Gather ye together first the tares, and bind them in bundles to burn them: but gather the wheat into my barn.
|
|---|
| ᎤᏁᎳᎩ ᎢᎫᎳᎭ ᏫᏓᏛᎯ ᎬᏂ ᎠᎦᏛᎾᏨᎭ; ᎿᎭᏉᏃ ᎠᎦᏛᎾᏨ ᎯᎠ ᏅᏓᎦᏥᏪᏎᎵ ᎠᏂᏍᎫᏕᏍᎩ; ᎢᎬᏱ ᎢᏥᏟᏌ ᎤᏲ, ᎠᎴ ᏗᏦᏛᏣ ᏗᎪᎲᏍᏙᏗ, ᎤᏣᎴᏍᏗᏍᎩᏂ ᎢᏥᏟᏌ ᎠᎩᏍᏆᏂᎪᏙᏗᏱ.
|
|---|
U-ne-la-gi i-gu-la-ha wi-da-dv-hi gv-ni a-ga-dv-na-tsv-ha; hna-quo-no a-ga-dv-na-tsv hi-a nv-da-ga-tsi-we-se-li a-ni-s-gu-de-s-gi; I-gv-yi i-tsi-tli-sa u-yo, a-le di-tso-dv-tsa di-go-hv-s-do-di, u-tsa-le-s-di-s-gi-ni i-tsi-tli-sa a-gi-s-qua-ni-go-do-di-yi.
|
|---|
|
|---|
| Another parable put he forth unto them, saying, The kingdom of heaven is like to a grain of mustard seed, which a man took, and sowed in his field:
|
|---|
| ᏅᏩᏓᎴ ᏚᏟᎶᏍᏓᏁᎸᎩ, ᎯᎠ ᏄᏪᏒᎩ; ᎦᎸᎳᏗ ᎡᎯ ᎤᎬᏫᏳᎯ ᎨᏒ ᎾᏍᎩᏯᏉ ᎠᏥᎸ ᎤᎦᏔ, ᎠᏍᎦᏯ ᏧᎩᏎ ᎠᎴ ᏧᏫᏎ ᎤᎶᎨᏒᎢ.
|
|---|
Nv-wa-da-le du-tli-lo-s-da-ne-lv-gi, hi-a nu-we-sv-gi; Ga-lv-la-di e-hi u-gv-wi-yu-hi ge-sv na-s-gi-ya-quo a-tsi-lv u-ga-ta, a-s-ga-ya tsu-gi-se a-le tsu-wi-se u-lo-ge-sv-i.
|
|---|
|
|---|
| Which indeed is the least of all seeds: but when it is grown, it is the greatest among herbs, and becometh a tree, so that the birds of the air come and lodge in the branches thereof.
|
|---|
| ᎾᏍᎩ ᎤᏙᎯᏳᏒ ᏥᏬᏓᎪᎾᏛᏗ ᎤᏍᏗᎩᏳ ᎨᏒ ᏂᎦᎥ ᎤᎦᏔ, ᎠᏎᏃ ᎠᏛᎯ ᏥᏬᏓᎪᎾᏛᏗ ᎤᏛᏂᏳ ᎨᏒ ᏂᎦᎥ ᎤᏰᎿᎭᎥᎢ, ᎠᎴ ᏡᎬ ᏥᏂᎦᎵᏍᏗᎭ, ᎾᏍᎩᏃ ᏥᏍᏆ ᏣᏂᎷᎪᎢ, ᏚᏩᏂᎦᎸ ᏣᎾᎭᏗᏍᎪᎢ.
|
|---|
Na-s-gi u-do-hi-yu-sv tsi-wo-da-go-na-dv-di u-s-di-gi-yu ge-sv ni-ga-v u-ga-ta, a-se-no a-dv-hi tsi-wo-da-go-na-dv-di u-dv-ni-yu ge-sv ni-ga-v u-ye-hna-v-i, a-le tlu-gv tsi-ni-ga-li-s-di-ha, na-s-gi-no tsi-s-qua tsa-ni-lu-go-i, du-wa-ni-ga-lv tsa-na-ha-di-s-go-i.
|
|---|
|
|---|
| Another parable spake he unto them; The kingdom of heaven is like unto leaven, which a woman took, and hid in three measures of meal, till the whole was leavened.
|
|---|
| ᏅᏩᏓᎴ ᏚᏟᎶᏍᏓᏁᎸᎩ, ᎯᎠ ᏄᏬᏒᎩ; ᎦᎸᎳᏗ ᎡᎯ ᎤᎬᏫᏳᎯ ᎨᏒ ᎾᏍᎩᏯᏉ ᎠᎪᏙᏗ, ᎾᏍᎩ ᎠᎨᏴ ᏧᎩᏎ ᎠᎴ ᏧᏑᏴᏁ ᏦᎢ ᎢᏳᏟᎶᏛ ᎢᏒ ᎦᎸᎢ, ᎬᏂ ᏂᎦᏛ ᎤᎪᏐᏅ.
|
|---|
Nv-wa-da-le du-tli-lo-s-da-ne-lv-gi, hi-a nu-wo-sv-gi; Ga-lv-la-di e-hi u-gv-wi-yu-hi ge-sv na-s-gi-ya-quo a-go-do-di, na-s-gi a-ge-yv tsu-gi-se a-le tsu-su-yv-ne tso-i i-yu-tli-lo-dv i-sv ga-lv-i, gv-ni ni-ga-dv u-go-so-nv.
|
|---|
|
|---|
| All these things spake Jesus unto the multitude in parables; and without a parable spake he not unto them:
|
|---|
| ᎾᏍᎩ ᎯᎠ ᏂᎦᏗᏳ ᏥᏌ ᏚᏬᏁᏔᏅᎩ ᎤᏂᏣᏘ ᏚᏟᎶᏍᏓᏁᎸᎩ, ᏂᏓᏟᎶᏍᏓᏁᎲᎾᏃ ᎨᏒ ᎥᏝ ᏱᏚᏬᏁᏔᏁᎢ.
|
|---|
Na-s-gi hi-a ni-ga-di-yu Tsi-sa du-wo-ne-ta-nv-gi u-ni-tsa-ti du-tli-lo-s-da-ne-lv-gi, ni-da-tli-lo-s-da-ne-hv-na-no ge-sv v-tla yi-du-wo-ne-ta-ne-i.
|
|---|
|
|---|
| That it might be fulfilled which was spoken by the prophet, saying, I will open my mouth in parables; I will utter things which have been kept secret from the foundation of the world.
|
|---|
| ᎤᏙᎯᏳᏗᏱ ᎠᏰᎸᏒᎩ ᎠᏙᎴᎰᏍᎩ ᏧᏁᏤᎢ, ᎯᎠ ᏥᏄᏪᏎᎢ; ᏓᏥᏍᏚᎢᏏ ᏥᎣᎵ ᏕᎦᏟᎶᏍᏗᏍᎬᎢ, ᏓᏥᏁᎢᏍᏔᏂ ᎤᏕᎵᏛ ᎠᏍᏆᏂᎪᏛ ᎡᎶᎯ ᏧᏙᏢᏅ ᏅᏓᎬᏩᏓᎴᏅᏛ.
|
|---|
U-do-hi-yu-di-yi a-ye-lv-sv-gi a-do-le-ho-s-gi tsu-ne-tse-i, hi-a tsi-nu-we-se-i; da-tsi-s-du-i-si tsi-o-li de-ga-tli-lo-s-di-s-gv-i, da-tsi-ne-i-s-ta-ni u-de-li-dv a-s-qua-ni-go-dv e-lo-hi tsu-do-tlv-nv nv-da-gv-wa-da-le-nv-dv.
|
|---|
|
|---|
| Then Jesus sent the multitude away, and went into the house: and his disciples came unto him, saying, Declare unto us the parable of the tares of the field.
|
|---|
| ᎿᎭᏉᏃ ᏥᏌ ᏚᏰᎵᎯᏍᏔᏅ ᎤᏂᏣᏘ, ᎠᏓᏁᎸ ᏭᏴᎸᎩ; ᎬᏩᏍᏓᏩᏗᏙᎯᏃ ᎬᏩᎷᏤᎸᎩ, ᎯᎠ ᏄᏂᏪᏒᎩ; ᏗᏍᎩᏲᏏᏌᏏ ᏓᏟᎶᏍᏛ ᎤᏲ ᏧᎵᏰᏁ ᏠᎨᏏ.
|
|---|
Hna-quo-no Tsi-sa du-ye-li-hi-s-ta-nv u-ni-tsa-ti, a-da-ne-lv wu-yv-lv-gi; gv-wa-s-da-wa-di-do-hi-no gv-wa-lu-tse-lv-gi, hi-a nu-ni-we-sv-gi; Di-s-gi-yo-si-sa-si da-tli-lo-s-dv u-yo tsu-li-ye-ne tlo-ge-si.
|
|---|
|
|---|
| He answered and said unto them, He that soweth the good seed is the Son of man;
|
|---|
| ᎤᏁᏨᏃ ᎯᎠ ᏂᏚᏪᏎᎸᎩ; ᎾᏍᎩ Ꮎ ᎣᏍᏛ ᎤᎦᏔ ᏧᏫᏎᎢ ᎾᏍᎩ ᏴᏫ ᎤᏪᏥ;
|
|---|
U-ne-tsv-no hi-a ni-du-we-se-lv-gi; na-s-gi na O-s-dv u-ga-ta tsu-wi-se-i na-s-gi yv-wi U-we-tsi;
|
|---|
|
|---|
| The field is the world; the good seed are the children of the kingdom; but the tares are the children of the wicked one;
|
|---|
| ᏠᎨᏏᏃ ᎾᏍᎩ ᎡᎳᏂᎬᎢ; ᎣᏍᏛ ᎤᎦᏔ ᎾᏍᎩ ᎦᎸᎳᏗ ᎡᎯ ᎤᎬᏫᏳᎯ ᎨᏒ ᎠᏁᎯ; ᎤᏲᏃ ᏧᎵᏰᏁ ᎾᏍᎩ ᎤᏁᎫᏥᏛ ᏧᏪᏥ;
|
|---|
Tlo-ge-si-no na-s-gi e-la-ni-gv-i; o-s-dv u-ga-ta na-s-gi ga-lv-la-di e-hi u-gv-wi-yu-hi ge-sv a-ne-hi; u-yo-no tsu-li-ye-ne na-s-gi u-ne-gu-tsi-dv tsu-we-tsi;
|
|---|
|
|---|
| The enemy that sowed them is the devil; the harvest is the end of the world; and the reapers are the angels.
|
|---|
| ᎠᎦᏍᎩᏃ ᎾᏍᎩ ᏧᏫᏎᎢ, ᎾᏍᎩ ᎠᏍᎩᎾ; ᎤᎦᏛᎾᎢᏍᏗᏱᏃ ᎨᏒ ᎾᏍᎩ ᎠᎵᏍᏆᏛᎭ ᎡᎶᎯ; ᎠᏂᏍᎫᏕᏍᎩᏃ ᎾᏍᎩ ᏗᏂᎧᎿᎭᏩᏗᏙᎯ.
|
|---|
A-ga-s-gi-no na-s-gi tsu-wi-se-i, na-s-gi a-s-gi-na; u-ga-dv-na-i-s-di-yi-no ge-sv na-s-gi a-li-s-qua-dv-ha e-lo-hi; a-ni-s-gu-de-s-gi-no na-s-gi di-ni-ka-hna-wa-di-do-hi.
|
|---|
|
|---|
| As therefore the tares are gathered and burned in the fire; so shall it be in the end of this world.
|
|---|
| ᎾᏍᎩᏃ ᎤᏲ ᏣᏂᏟᏏᏍᎪ ᎠᎴ ᏣᎾᎪᎲᏍᏗᏍᎪ ᎠᏥᎸᏱ, ᎾᏍᎩᏯᏍᎩᏂ ᎾᏍᏉ ᏄᏍᏕᏍᏗ ᎠᎵᏍᏆᏛᎭ ᎯᎠ ᎡᎶᎯ.
|
|---|
Na-s-gi-no u-yo tsa-ni-tli-si-s-go a-le tsa-na-go-hv-s-di-s-go a-tsi-lv-yi, na-s-gi-ya-s-gi-ni na-s-quo nu-s-de-s-di a-li-s-qua-dv-ha hi-a e-lo-hi.
|
|---|
|
|---|
| The Son of man shall send forth his angels, and they shall gather out of his kingdom all things that offend, and them which do iniquity;
|
|---|
| ᏴᏫ ᎤᏪᏥ ᏙᏓᎦᏅᏏ ᏧᏤᎵ ᏗᏂᎧᎿᎭᏩᏗᏙᎯ, ᎠᎴ ᎾᏍᎩ ᎤᏤᎵᎪᎯ ᏙᏛᏃᏣᎴᏏ ᏂᎦᏛ ᏗᎾᏓᏙᏕᏍᏗᏍᎩ ᎠᎴ ᏂᎦᏛ ᎠᏂᏍᎦᏅᎩ,
|
|---|
Yv-wi U-we-tsi do-da-ga-nv-si tsu-tse-li di-ni-ka-hna-wa-di-do-hi, a-le na-s-gi u-tse-li-go-hi do-dv-no-tsa-le-si ni-ga-dv di-na-da-do-de-s-di-s-gi a-le ni-ga-dv a-ni-s-ga-nv-gi,
|
|---|
|
|---|
| And shall cast them into a furnace of fire: there shall be wailing and gnashing of teeth.
|
|---|
| ᏗᎪᏢᏒᏃ ᎠᏥᎸᏱ ᏫᏙᏛᎾᏓᎡᏏ; ᎾᎿᎭᏓᏂᏴᎨᏍᏗ ᎠᎴ ᏓᏂᎸᏓᎩᏍᎨᏍᏗ ᏓᏂᏄᏙᎬᎢ.
|
|---|
Di-go-tlv-sv-no a-tsi-lv-yi wi-do-dv-na-da-e-si; na-hna da-ni-yv-ge-s-di a-le da-ni-lv-da-gi-s-ge-s-di da-ni-nu-do-gv-i.
|
|---|
|
|---|
| Then shall the righteous shine forth as the sun in the kingdom of their Father. Who hath ears to hear, let him hear.
|
|---|
| ᎿᎭᏉᏃ ᎤᎾᏓᏅᏘ ᎬᏩᏂᏔᎷᎩᏍᎩ ᎨᏎᏍᏗ ᎤᏂᏙᏓ ᎤᏤᎵᎪᎯ, ᏅᏙ ᎾᏍᎩᏯᎢ. ᎩᎶ ᏕᎦᎵᎷᎨᏍᏗ ᎤᏛᎪᏗᏱ ᏩᏛᎬᎦ.
|
|---|
Hna-quo-no u-na-da-nv-ti gv-wa-ni-ta-lu-gi-s-gi ge-se-s-di U-ni-do-da u-tse-li-go-hi, nv-do na-s-gi-ya-i. Gi-lo de-ga-li-lu-ge-s-di u-dv-go-di-yi wa-dv-gv-ga.
|
|---|
|
|---|
| Again, the kingdom of heaven is like unto treasure hid in a field; the which when a man hath found, he hideth, and for joy thereof goeth and selleth all that he hath, and buyeth that field.
|
|---|
| ᎠᎴ ᎾᏍᏉ ᎦᎸᎳᏗ ᎡᎯ ᎤᎬᏫᏳᎯ ᎨᏒ ᎾᏍᎩᏯᏉ ᏧᎬᏩᎶᏗ ᎤᏕᎵᏛ ᏠᎨᏏ ᏣᎰᎢ, ᎾᏍᎩ ᎢᏳ ᎠᏍᎦᏯ ᎠᏩᏛ, ᏣᏕᎸᏍᎪᎢ, ᎠᎵᎮᎵᎬᏃ ᎢᏳᏍᏘ ᏤᎪᎢ ᏥᏫᎦᎾᏕᎪ ᏂᎦᏛ ᎤᏍᏆᏂᎪᏛᎢ, ᎠᎴ ᏥᏭᏩᏍᎪ ᎾᏍᎩ ᏠᎨᏏ.
|
|---|
A-le na-s-quo Ga-lv-la-di e-hi u-gv-wi-yu-hi ge-sv na-s-gi-ya-quo tsu-gv-wa-lo-di u-de-li-dv tlo-ge-si tsa-ho-i, na-s-gi i-yu a-s-ga-ya a-wa-dv, tsa-de-lv-s-go-i, a-li-he-li-gv-no i-yu-s-ti tse-go-i tsi-wi-ga-na-de-go ni-ga-dv u-s-qua-ni-go-dv-i, a-le tsi-wu-wa-s-go na-s-gi tlo-ge-si.
|
|---|
|
|---|
| Again, the kingdom of heaven is like unto a merchant man, seeking goodly pearls:
|
|---|
| ᎠᎴ ᎾᏍᏉ ᎦᎸᎳᏗ ᎡᎯ ᎤᎬᏫᏳᎯ ᎨᏒ ᎾᏍᎩᏯᏉ ᎦᏃᏗᏍᎩ ᏥᏚᏲᎮ ᏧᏬᏚᎯ ᏓᎬᎾ-ᎢᏳᎾᏍᏗ.
|
|---|
A-le na-s-quo Ga-lv-la-di e-hi u-gv-wi-yu-hi ge-sv na-s-gi-ya-quo ga-no-di-s-gi tsi-du-yo-he tsu-wo-du-hi da-gv-na--i-yu-na-s-di.
|
|---|
|
|---|
| Who, when he had found one pearl of great price, went and sold all that he had, and bought it.
|
|---|
| ᎾᏍᎩᏃ ᎿᎭᏉ ᎤᏩᏛᎲ ᏌᏉ ᎤᏣᏘ ᏧᎬᏩᎶᏗ ᏓᎬᎾ ᎢᏳᏍᏗ ᎤᏪᏅᏎ ᏭᎾᏗᏅᏎ ᏂᎦᏛ ᎤᏍᏆᏂᎪᏛᎢ, ᎾᏍᎩᏃ ᎤᏩᏎᎢ.
|
|---|
Na-s-gi-no hna-quo u-wa-dv-hv sa-quo u-tsa-ti tsu-gv-wa-lo-di da-gv-na i-yu-s-di u-we-nv-se wu-na-di-nv-se ni-ga-dv u-s-qua-ni-go-dv-i, na-s-gi-no u-wa-se-i.
|
|---|
|
|---|
| Again, the kingdom of heaven is like unto a net, that was cast into the sea, and gathered of every kind:
|
|---|
| ᎠᎴ ᎾᏍᏉ ᎦᎸᎳᏗ ᎡᎯ ᎤᎬᏫᏳᎯ ᎨᏒ ᎾᏍᎩᏯᏉ ᎠᎦᏯᎷᏗ ᏥᏭᎾᏓᎢᏅᏎ ᎠᎺᏉᎯ, ᎠᎴ ᏥᏚᏂᏂᏴᎮ ᎾᏂᎥ ᏧᎾᏓᎴᏅᏛ;
|
|---|
A-le na-s-quo Ga-lv-la-di e-hi u-gv-wi-yu-hi ge-sv na-s-gi-ya-quo a-ga-ya-lu-di tsi-wu-na-da-i-nv-se a-me-quo-hi, a-le tsi-du-ni-ni-yv-he na-ni-v tsu-na-da-le-nv-dv;
|
|---|
|
|---|
| Which, when it was full, they drew to shore, and sat down, and gathered the good into vessels, but cast the bad away.
|
|---|
| ᎾᏍᎩᏃ ᎿᎭᏉ ᎤᎧᎵᏨ ᎠᎹᏳᎶᏗ ᎤᏂᎾᏏᏃᎴᎢ, ᎠᎴ ᎤᎾᏅᏁᎢ, ᎠᏃᏍᏛᏃ ᏗᏖᎵᏙ ᏚᏂᎸᏔᏁᎢ, ᎤᏂᏲᏃ ᏚᎾᏓᎢᏅᏎᎢ.
|
|---|
Na-s-gi-no hna-quo u-ka-li-tsv a-ma-yu-lo-di u-ni-na-si-no-le-i, a-le u-na-nv-ne-i, a-no-s-dv-no di-te-li-do du-ni-lv-ta-ne-i, u-ni-yo-no du-na-da-i-nv-se-i.
|
|---|
|
|---|
| So shall it be at the end of the world: the angels shall come forth, and sever the wicked from among the just,
|
|---|
| ᎾᏍᎩᏍᎩᏂ ᏄᏍᏕᏍᏗ ᎡᎶᎯ ᎠᎵᏍᏆᏛᎭ; ᏗᏂᎧᎿᎭᏩᏗᏙᎯ ᏛᏂᎷᏥ, ᏙᏛᎾᎦᎴᏅᏔᏂ ᎤᏂᏁᎫᏥᏛ ᎠᎴ ᎤᎾᏓᏅᏘ;
|
|---|
Na-s-gi-s-gi-ni nu-s-de-s-di e-lo-hi a-li-s-qua-dv-ha; di-ni-ka-hna-wa-di-do-hi dv-ni-lu-tsi, do-dv-na-ga-le-nv-ta-ni u-ni-ne-gu-tsi-dv a-le u-na-da-nv-ti;
|
|---|
|
|---|
| And shall cast them into the furnace of fire: there shall be wailing and gnashing of teeth.
|
|---|
| ᎤᏂᏁᎫᏥᏛᏃ ᏫᏙᏛᎾᏓᎡᏏ ᏗᎪᏢᏒ ᎠᏥᎸᏱ, ᎾᎿᎭᏓᏂᏴᎨᏍᏗ ᎠᎴ ᏓᏂᎸᏓᎩᏍᎨᏍᏗ ᏓᏂᏄᏙᎬᎢ.
|
|---|
U-ni-ne-gu-tsi-dv-no wi-do-dv-na-da-e-si di-go-tlv-sv a-tsi-lv-yi, na-hna da-ni-yv-ge-s-di a-le da-ni-lv-da-gi-s-ge-s-di da-ni-nu-do-gv-i.
|
|---|
|
|---|
| Jesus saith unto them, Have ye understood all these things? They say unto him, Yea, Lord.
|
|---|
| ᏥᏌᏃ ᎯᎠ ᏂᏚᏪᏎᎸᎩ; ᎢᏦᎵᎩᏧ ᏂᎦᏛ ᎯᎠ? ᎥᎥ, ᏣᎬᏫᏳᎯ, ᎥᎬᏬᏎᎸᎩ.
|
|---|
Tsi-sa-no hi-a ni-du-we-se-lv-gi; i-tso-li-gi-tsu ni-ga-dv hi-a? v-v, tsa-gv-wi-yu-hi, v-gv-wo-se-lv-gi.
|
|---|
|
|---|
| Then said he unto them, Therefore every scribe which is instructed unto the kingdom of heaven is like unto a man that is an householder, which bringeth forth out of his treasure things new and old.
|
|---|
| ᎿᎭᏉᏃ ᎯᎠ ᏂᏚᏪᏎᎸᎩ; ᎾᏍᎩ ᎢᏳᏍᏗ ᎩᎶ ᏗᎪᏪᎵᏍᎩ ᎦᎸᎳᏗ ᎡᎯ ᎤᎬᏫᏳᎯ ᎨᏒ ᎤᎬᏩᎵ ᎠᎨᏲᏅᎯ ᏥᎨᏐᎢ, ᎾᏍᎩᏯᏉ ᎠᏍᎦᏯ ᎦᏁᎳ ᏥᏙᏗᎦᎾᏄᎪᏫᏍᎪ ᏧᎬᏩᎶᏗ ᎤᏍᏆᏂᎪᏛ ᏧᏓᎴᏅᏛ ᏗᏤ ᎠᎴ ᏧᏪᏘ.
|
|---|
Hna-quo-no hi-a ni-du-we-se-lv-gi; Na-s-gi i-yu-s-di gi-lo di-go-we-li-s-gi ga-lv-la-di e-hi u-gv-wi-yu-hi ge-sv u-gv-wa-li a-ge-yo-nv-hi tsi-ge-so-i, na-s-gi-ya-quo a-s-ga-ya ga-ne-la tsi-do-di-ga-na-nu-go-wi-s-go tsu-gv-wa-lo-di u-s-qua-ni-go-dv tsu-da-le-nv-dv di-tse a-le tsu-we-ti.
|
|---|
|
|---|
| And it came to pass, that when Jesus had finished these parables, he departed thence.
|
|---|
| ᎯᎠᏃ ᏄᎵᏍᏔᏅᎩ, ᎿᎭᏉ ᏥᏌ ᎤᏍᏆᏛ ᎯᎠ ᎾᏍᎩ ᏓᏟᎶᏍᏗᏍᎬᎢ, ᎤᏂᎩᏒᎩ.
|
|---|
Hi-a-no nu-li-s-ta-nv-gi, hna-quo Tsi-sa u-s-qua-dv hi-a na-s-gi da-tli-lo-s-di-s-gv-i, u-ni-gi-sv-gi.
|
|---|
|
|---|
| And when he was come into his own country, he taught them in their synagogue, insomuch that they were astonished, and said, Whence hath this man this wisdom, and these mighty works?
|
|---|
| ᎿᎭᏉᏃ ᎤᏩᏒ ᎤᏤᎵᎪᎯ ᎤᎷᏨ ᏧᏂᎳᏫᎢᏍᏗᏱ ᏚᏪᏲᏅᎩ; ᎾᏍᎩ ᎢᏳᏍᏗ ᎤᏂᏍᏆᏂᎪᏒᎩ, ᎠᎴ ᎯᎠ ᏄᏂᏪᏒᎩ; ᎦᏙ ᎤᎵᏍᏙᏔᏅ ᎯᎠ ᎾᏍᎩ ᎠᏍᎦᏯ ᏣᎦᏔ ᎿᎭᎠ ᎠᎴ ᎤᏍᏆᏂᎪᏗ ᏥᏚᎸᏫᏍᏓᏁᎭ?
|
|---|
Hna-quo-no u-wa-sv u-tse-li-go-hi u-lu-tsv tsu-ni-la-wi-i-s-di-yi du-we-yo-nv-gi; na-s-gi i-yu-s-di u-ni-s-qua-ni-go-sv-gi, a-le hi-a nu-ni-we-sv-gi; Ga-do u-li-s-do-ta-nv hi-a na-s-gi a-s-ga-ya tsa-ga-ta hna-a a-le u-s-qua-ni-go-di tsi-du-lv-wi-s-da-ne-ha?
|
|---|
|
|---|
| Is not this the carpenter's son? is not his mother called Mary? and his brethren, James, and Joses, and Simon, and Judas?
|
|---|
| ᎯᎠᎧᏂ ᏗᏁᏍᎨᏍᎩ ᎤᏪᏥ, ᎺᎵᎧᏂ ᎤᏥ, ᎠᎴᎧᏂ ᎠᎾᎵᏅᏟ ᏥᎻ, ᎠᎴ ᏦᏏ ᎠᎴ ᏌᏩᏂ ᎠᎴ ᏧᏓᏏ?
|
|---|
Hi-a-ka-ni di-ne-s-ge-s-gi u-we-tsi, Me-li-ka-ni u-tsi, a-le-ka-ni a-na-li-nv-tli Tsi-mi, a-le Tso-si a-le Sa-wa-ni a-le Tsu-da-si?
|
|---|
|
|---|
| And his sisters, are they not all with us? Whence then hath this man all these things?
|
|---|
| ᎠᎴᎧᏂ ᏧᏙ ᏂᎦᏛ ᎡᏍᎦᏂ ᏣᏁᎭ? ᎦᏙᏃ ᎤᎵᏍᏙᏔᏅ ᎯᎠ ᏂᎦᏛ ᏧᏪᎭ?
|
|---|
A-le-ka-ni tsu-do ni-ga-dv e-s-ga-ni tsa-ne-ha? Ga-do-no u-li-s-do-ta-nv hi-a ni-ga-dv tsu-we-ha?
|
|---|
|
|---|
| And they were offended in him. But Jesus said unto them, A prophet is not without honour, save in his own country, and in his own house.
|
|---|
| ᎥᎬᏩᎪᏁᎶᎯᏎᎸᎩᏃ; ᎠᏎᏃ ᏥᏌ ᎯᎠ ᏂᏚᏪᏎᎸᎩ; ᎠᏙᎴᎰᏍᎩ ᎥᏝ ᎾᏥᎸᏉᏛᎾ ᏱᎨᏐᎢ, ᎤᏩᏒᏍᎩᏂᏃᏅ ᎤᏤᎵᎪᎯ ᎠᎴ ᎤᏩᏒ ᎦᏁᎸᎢ.
|
|---|
V-gv-wa-go-ne-lo-hi-se-lv-gi-no; a-se-no Tsi-sa hi-a ni-du-we-se-lv-gi; A-do-le-ho-s-gi v-tla na-tsi-lv-quo-dv-na yi-ge-so-i, u-wa-sv-s-gi-ni-no-nv u-tse-li-go-hi a-le u-wa-sv ga-ne-lv-i.
|
|---|
|
|---|
| And he did not many mighty works there because of their unbelief.
|
|---|
| ᎥᏝᏃ ᏳᏣᏖ ᎤᏍᏆᏂᎪᏗ ᎾᎿᎭᏱᏚᎸᏫᏍᏓᏁᎴᎢ, ᎾᏃᎯᏳᎲᏍᎨᎾ ᎨᏒ ᏅᏓᎦᎵᏍᏙᏗᏍᎬᎩ.
|
|---|
V-tla-no yu-tsa-te u-s-qua-ni-go-di na-hna yi-du-lv-wi-s-da-ne-le-i, na-no-hi-yu-hv-s-ge-na ge-sv nv-da-ga-li-s-do-di-s-gv-gi.
|
|---|


Source code for pymap3d.timeconv
# Copyright (c) 2014-2018 Michael Hirsch, Ph.D.
#
# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
# 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
 IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
import numpy as np
from six import string_types
from dateutil.parser import parse
from datetime import datetime
[docs]def str2dt(t):
"""
Converts times in string or list of strings to datetime(s)
output: datetime
"""
t = np.atleast_1d(t)
if isinstance(t[0], string_types):
t = np.array([parse(T) for T in t])
assert isinstance(t[0], datetime), 'did not convert {} to datetime'.format(type(t[0]))
return t[()] # [()] to pop scalar from 0d array while being OK with ndim>0


{% extends "posts/show/question.html" %} {% load static %} {% load posts %} {% load text_filters %} {# this type in inherited from "question" #} {% block post_title %}


Chapter 4 Github
To quote from wikipedia, “Github is a Web-based Git version control repository hosting service. It is mostly used for computer code.”— and I would add, many other things.
The purpose of this chapter is to describe how Github can be used to serve your web-book (compiled using bookdown), and to share the source code so that others can duplicate and modify your book, or so that others can contribute content to your existing book.
4.1 Getting Started
4.1.1 Make an account with Github
To get started with Github you need to create a free account. You should see a sign up option on the main page.
Your account now consists of your profile page (where you can add information about yourself), and an empty list of repositories. Repositories are Github file folders. They can be purely cloud-based; for example, you can create a repository then add files to it through the web-based interface. You can also create a copy of each repository on your local computer, make changes to the repository on your local computer, and then merge those changes with the online repository.
4.1.2 Install Github Desktop
Github has provided a free and convenient tool for using your local computer to interface with the web-based version of Github. To use the tool, download and install the desktop app for Github. Once the app is installed, make sure that you connect it to your Github account so that you can access repositories that you create.
4.2 Repository workflow
We will use the following workflow:
- Create a new empty repository on the Github Website
- Clone the repository to your local computer
- Add files to the repo on your local computer (work locally)
- Merge the files back to the Github Website (share final versions)
4.3 Creating a new repository on Github.com
- Log in to Github.com
- In the top right corner of the page, click the “+” icon
- Choose new repository
- Give it a short name
- You have a few other options that you can revisit later
- Click create repository
4.4 Cloning a copy on your computer
- Open the Github desktop app
- Login in to your Github account
- Choose the clone repository option
- Find the name of the repository you created on Github and select it. Github Desktop will now download the contents of the repository and save it locally (in the file folder of your choice) on your computer
4.5 Make changes to the repository
- If you are on a mac, choose “show in finder”.
- You can now edit any of the files locally
4.6 Update the online github repository
- Any time you change a file, git will track all of the changes that you make
- To submit changes, choose the commit button
- All of your changes will now be uploaded to the online repository.


Service governance and configuration management
Service governance
服务治理主要作用是改变运行时服务的行为和选址逻辑，达到限流，权重配置等目的，主要有以下几个功能：
the basic function of service governance is changing the runtime behaviour and routing logic, to do weight configuration and current limiting:
应用级别的服务治理
application level service governance
在Dubbo2.6及更早版本中，所有的服务治理规则都只针对服务粒度，如果要把某条规则作用到应用粒度上，需要为应用下的所有服务配合相同的规则，变更，删除的时候也需要对应的操作，这样的操作很不友好，因此Dubbo2.7版本中增加了应用粒度的服务治理操作，对于条件路由(包括黑白名单)，动态配置(包括权重，负载均衡)都可以做应用级别的配置：
In Dubbo 2.6 or earlier version, all service governance rule are in service scope, if you need to make application scope rule, you need to set the same rule for all services under an application, modify and delete need the same operation, this is very unfriendly. In Dubbo 2.7, application scope service governance is supported, condition route(including black white list) and dynamic configuration(including weight, load balance) all support application scope config.
picture above is condition route configuration, can create and search by both application name and service name.
tag route
标签路由是Dubbo2.7引入的新功能，配置以应用作为维度，给不同的服务器打上不同名字的标签，配置如下图所示：
tag route is a new feature in Dubbo2.7, in application scope, to set different tag on different server, the screenshot is shown as below:
the client can use setAttachment
to specify different tag, is the above case, setAttachment(tag1)
, the client will choose from the three servers in the picture above. In this way, you can implement features such as traffic isolation and gray release.
condition route
condition route is a traditional function in Dubbo, now you can create it in either service scope or application scope. Condition route is in yaml
format, you can read here to find more.
black white list
black white list is a part of condition route and store with condition route together, you can set black list or white list, in either service scope or application scope:
dynamic configuration
dynamic configuration has the same level with routing rule, it can change the RPC behaviour dynamically without restart service. It supports application scope since Dubbo 2,7, in Dubbo format, the screen shot shows in below: to read more, please refer here
weight adjust
weigth adjuest is part of dynamic configuration, change the weight of server side to do traffic control dynamically:
load balancing
load balancing is also poart of dynamic configuration, to specify the route strategy in client side. now we have three strategies: random, least active and round robin, to read more, please refer here
configuration management
configuration management is also a new feaature for Dubbo 2.7. In Dubbo 2.7, we can specify configurations in global scope and application scope(including services in application), you can view, modify and create new configurations in Dubbo Admin.
* global configuration:
you can set registry center, metadata center, timeout for provider and consumer in global configurations. If the implementation of registry center and metadata center is zookeeper, you can also check the location of configuration file.
* application and service scope configuration:
application configuration can also set service configuration in this application. you need to specify consumer and provider in service scope: dubbo.reference.{serviceName}
stands for configuration as consumer side，dubbo.provider.{servcieName}
stands for configuration as provider side. the address of registry address and metadata center address can only be configured in global configuration, which is also the recommendation way in Dubbo 2.7
* priority service configuration > application configuration > global configuration


{% extends "base.html" %} {% import "bootstrap/wtf.html" as wtf %} {% import "_macros.html" as macros %} {% block page_content %}


What does this do?
This web service tests any email address to see if it complies with the standards set out in the internet RFCs.
It doesn't check if a particular address actually exists - you can only do that by trying to send an email to it.
If you want to know more about email address validation, read the About page
How to use the email address validation service
The email address validation service has a REST API. The validation results can be returned as semantic HTML, JSON, JSONP or XML.
In general you would validate an email address like this:
https://isemail.info/<method>/<address>
where <method>
is one of the methods described below and
<address>
is the address you want to validate.
Default method
If you just use https://isemail.info/<address>
then the validator
will return information about <address>
in the default HTML format.
There are some reserved words you can't test like this, for instance
https://isemail.info/help
and https://isemail.info/about
and all
the methods documented below.
Putting an email address into a URL
Note the address must be URL-encoded if it contains characters that have
a special meaning in a URL. In other words, if you try to validate
a#[email protected]
then the #
and everything after it will not be forwarded to the server (try it).
The way to avoid this is to use appropriate URL entities where necessary.
The address above can be validated by putting a%[email protected]
into the URL.
If you type an address into the text box then the URL-encoding will be done for you.
Methods
Here are the methods you can use
- json
- e.g.
https://isemail.info/json/[email protected]
- Returns comprehensive information about
[email protected]
as JSON data. - jsonp=callback
- e.g.
https://isemail.info/jsonp=myFunction/[email protected]
- Returns a valid line of Javascript calling the function
myFunction
with comprehensive information about[email protected]
. - xml
- e.g.
https://isemail.info/xml/[email protected]
- Returns comprehensive information about
[email protected]
as XML data. - html
- e.g.
https://isemail.info/html/[email protected]
- Returns comprehensive information about
[email protected]
in HTML format (this is the default). - basic
- e.g.
https://isemail.info/basic/[email protected]
- Returns brief, basic information about
[email protected]
as an HTML fragment. - valid
- e.g.
https://isemail.info/valid/[email protected]
- Returns 1 for a valid RFC 5321 Mailbox, 0 otherwise.
- diagnosis
- e.g.
https://isemail.info/diagnosis/[email protected]
- Returns the specific diagnostic text for this address.
- category
- e.g.
https://isemail.info/category/[email protected]
- Returns the general diagnostic category for this address.
- numeric
- e.g.
https://isemail.info/numeric/[email protected]
- Returns the specific diagnosis for this address as an integer.
- constant
- e.g.
https://isemail.info/constant/[email protected]
- Returns the specific diagnosis for this address as a constant name.
- categoryconstant
- e.g.
https://isemail.info/categoryconstant/[email protected]
- Returns the general diagnostic category for this address as a constant name.
- smtp
- e.g.
https://isemail.info/smtp/[email protected]
- Returns the likely SMTP extended return code for this address as text.
- reference
- e.g.
https://isemail.info/reference/[email protected]
- Returns any relevant passages from the RFCs that help to support the diagnosis for this address.
Behaviour note
What if you are testing an address that is the same as a method name? Here's what happens:
https://isemail.info/<method>
tests <method>
as if it was an address.
https://isemail.info/<method>/
(note the trailing slash) tests the empty string and returns the results in the format specified by <method>
.


Check out the power of myWork!
Put your most wanted information direct on the startscreen!
View your overtime hours on a daily basis
Track your time with the help of Geofencing fully automatically!
This not only records your working time automatically.
The basis version is unlimited free to use.
Built-in export function, based on templates
THE ANSWER IS NOW HERE


This option changes the value of the selected cell to the specified value. Note that this may change the data type of the whole column.


Magic Box is an expert system engine with a rule language specialized for processing service orders (with United States Patent 6,493,694) and it is proven to be useful in handling other tree structured documents such as XML and JSON, as it offers a good balance between express power and simplicity as well as conciseness () MDW embeds a version of the Magic Box engine for various purposes. The most commonly used features of the Magic Box rule language within MDW applications are its expressions and conditions. This documentation describes only the relevant portion of the rule language with many examples to help casual users to start easily. The documentation for the full language, the engine and the other features can be found from here.
Magic Box language is a document processing language, and a typical Magic Box session involves processing one or more documents. The documents it can process can be hierarchical, such as XML documents, JSON documents and USO service orders, or tabular, such as data contained in a database table or a hash table. With MDW the Magic Engine is mainly used to handle hierarchical documents, so this quick introduction document will not cover tabular documents.
Let us start by introducing some common concepts that are referenced in various places. We will use the following sample XML document in the examples:
<ServiceOrder> <DueDate>2011-11-11</DueDate> <Billing> <Address> <Street>2833 Quick Lane</Street> <City>Denver</City> </Address> </Billing> <Services> <Line action="add"> <TN>303 662-4545</TN> <VoiceMail>English</TN> <CallForwardingNumber>303 662-0001</TN> </Line> <Line action="change"> <TN>303 662-7261</TN> </Line> <DSL action="recap"> <DN>303 662-7091</DN> <ISP>MSN</ISP> </DSL> </Services> </ServiceOrder>
The high level objects the Magic Box engine deals with
are document variables and global variables.
Both have the same syntax, which is a dollar sign followed by an
identifier (made of letters, numbers and "_"), such as $ORDER
and $ServiceOrderNumber
. The difference only lies
what types of values they are bound to: a document variable is
bound to a document, whereas a global variable is bound to a simple string as value.
(Magic Box also supports tables and sets
as values but those are not used under MDW context).
Within MDW context, document and global variables are typically predefined and bound to values that are natural in the context. For example, when the language is used as scripts for implementing script activities or used as expressions in defining smart attributes for activities, the process variables are automatically treated as Magic Box document and global variables.
When the Magic Box session involves only one document variable, the special syntax $$
can be used to refer to this document variable (we will see later that even this
short hand can be omitted entirely). This is the case
when the language is used as expressions and conditions for
place holders in an HTML form, which is the sole document variable. It is also
the case when the language is used as expressions in the filters of
MDW automated tester, where $$
is bound to the request XML/JSON message (or other referenced documentation)
from which the values are taken from.
myVar
.
Local variables can be bound to strings or nodes as values.
In Magic Box terminology, elements within a tree-structured document are called nodes and the syntactic elements for specifying nodes are called node references. A node reference is composed of a global variable ( must be bound to a document) or a local variable (must be bound to a node within a document) followed by 1 or more subnode names delimited by dots, as in
$ORDER.DueDate $ORDER.Billing.Address.City line.TN
When Magic Box session is used in the single document mode, the document
variable $ORDER
can be replaced by $$
; furthermore,
if the language is used in the context of simple expression and conditions
where local variables are not used, we can even omit $$.
part,
as shown below:
$$.DueDate DueDate $$.Billing.Address.City Billing.Address.City
"1001 DISCOVERY DR." 125Note internally numbers are also represented as strings, so
125
and "125"
are indeed the same.
Both service orders and XML documents allow to associate attributes to their nodes, in addition to organizing nodes in a tree fashion.
Attributes of nodes can be referenced by the syntax nodeexpr:attrname, where nodeexpr is a node reference, a local variable bound to a node, a document reference, or a table reference. The special attribute & is used to represent the name of the node. For example, &$ORDER represent the root tag name of an XML document if the variable is bound to one. Two other special attributes, # and @, are also supported, but they are not used in MDW environments.. The following are some examples:
$ORDER.Services.DSL:action line:action assuming line is a local variable bound to a "Line" in the order &line if line is a local variable bound to a line in the order, this has the value "Line" &$ORDER this represents the name of the root element, namely "ServiceOrder"
Value patterns is useful in a number of places for matching values. Magic Box implements the standard regular expressions for this purpose. There are two important differences, though, in the Magic Box Engine implementation.
^
and appending a $
, and you can match a
partial string in Magic Box Engine by prepending and appending
.*
. The choice is made in Magic Box Engine because
matching whole string is a much common need.
As a result, the characters ^
and $
lose their special meaning in Magic Box Engine regular expressions.(...){var}
,
as in the following example:
$ORDER.Billing.Address.Street like "(\d+){streetNumber} .*"The pattern finds the street number and binds it to local variable
streetNumber
.Node reference patterns are used to select nodes from documents, much like what XPath is designed to do. Syntactically, a node reference pattern is composed of a global variable ( must be bound to a document) or a local variable (must be bound to a node within a document) followed by 1 or more node name pattern delimited by dots, and a node name pattern can be:
$ORDER.Billing
;$ORDER.Services.[Line,DSL]
;$$.Services."Line|DSL".TN
;$MyOrder.Services.[action="add"].TN
.$ORDER.Billing.Address.[Street,City] billing."Street|City" $ORDER.Services.".*".TN $$.Services.[action="change"].TN
"New York"
and 125
$REGION
. This syntax
is very often used to access process variables in MDW.line
$ORDER.DueDate
line:TN
and &$$
.
For a node in XML document, the name is the tag of the corresponding element.
For a node in JSON document, the name is the same as what JSON considers a name.
([cond1]expr1;
[cond2]expr2;
... ...;
exprn)
, more details covered below.length("GOOD-BYE") 12 * (7 + 5) "Value is " | $ORDER.DueDate | "!" square(squar(2))
Magic Box allows to define functions easily, either in native implementation language (Java and C) or in rule language itself. For expressions used in MDW, the following table lists all predefined functions:
| Function | Semantics |
|---|---|
| expr1+expr2 | Addition of integers. |
| expr1-expr2 | Subtraction of integers |
| expr1*expr2 | Multiplication of integers. |
| expr1/expr2 | Integer division. |
| expr1%expr2 | Modulo operation. |
| expr1|expr2 | String concatenation. |
| substring(expr,start) | Return a substring of the string value of the expression, starting from location start, which must be an expression evaluated to numbers. |
| substring(expr,start,end) | Return a substring of the string value of the expression, starting from location start (an expression evaluated to a number) and end before end (another expression evaluated to numbers. |
| time(format) | Return current time in the given format (which is
an expression), as defined for the Java
class SimpleDateFormat . |
| today() | Is equivalent to time("MM-dd-yyyy") . |
| length(expr) | Return the length of the string value of the given expression. |
| replaceall(expr,pattern,by) | Return a string constructed from expr by replacing all occurances of pattern, which is a regular expression, by by |
where n is 2 or more.
For those familiar with Java conditional expression syntax, the above
is similar to Java syntax (cond1?expr1:
cond2?expr2: ... ... :exprn)
,
where condn are conditions described in the next section.
The following are examples of conditional expression:
( [var>12] 12; [var<5] 5; var ) ([exist $$.Services.DSL] "hasDSL" ; "noDSL"")
var > 6
not 5>6
x>6 and x<12
x<6 or x>12
We describe the syntax for all above below, as well as special explanations on existence and pattern matching predicates.
| Predicate | Semantics |
|---|---|
| expr1 == expr2 | String comparsion for equality, such as $$.DueDate=="2012-02-02" |
| expr1 != expr2 | String comparsion for inequality, such as line.TN!="303 555-6666" |
| numexpr1 < numexpr2 | Arithmetic comparsion for less-than, such as var<6 |
| numexpr1 <= numexpr2 | Arithmetic comparsion for less-than or equal-to, such as var<=6 |
| numexpr1 > numexpr2 | Arithmetic comparsion for greater-than, such as var>6 |
| numexpr1 >= numexpr2 | Arithmetic comparsion for greater-than or equal-to, such as var>=6 |
| dateexpr1 << dateexpr2 | Date comparison for less-than, such as $$.DueDate<<"2000-12-32" |
| dateexpr1 >> dateexpr2 | Date comparison for greater-than, such as $$.DueDate>>"2012-01-01" |
| true | always evaluates to true |
| false | always evaluates to false |
| expr like "pattern" | pattern is a regular expression.
Note this matches the whole expression, not just a substring.
If you would like to match a substring, need to use .*
before and/or after the pattern. Atditionally,
variables can be bound to substrings (explanation and examples
are in early sections).
|
| expr in nodeval | When nodeval is bound to a table, the table must have exactly one column. The predicate evaluates to true if the value of the expression is in table. When nodeval is bound to a node and expr also evaluates to a node, then the predicate evaluates to true if the former node is an ancestor of the latter node. When nodeval is bound to a node and expr can only evaluate to a string, then the predicate returns true if the node contains a child whose name is the same as the string. |
| expr in (string1, ...) | Evaluates to true if the value of the expression is in the in-line table. |
| nodeval1 before nodeval2 | Evaluates to true if the two nodes have the same parent and nodeval1 is sequenced before nodeval2 |
| nodeval1 last before nodeval2 | Evaluates to true if the node nodeval1 is sequenced right before the node nodeval2 (the last node before the second node) |
| nodeval1 after nodeval2 | Evaluates to true if the two nodes have the same parent and nodeval1 is sequenced after nodeval2 |
| nodeval1 first after nodeval2 | Evaluates to true if the node nodeval1 is sequenced right after the node nodeval2 |
| nodeval first | Evaluates to true if the node nodeval is the first child of its parent. |
| nodeval last | Evaluates to true if the node nodeval is the last child of its parent. |
| when same_node(nodeval1, nodeval2) | Evaluates to true if both arguments are refering to the same node. |
not
has higher precedence than and
,
which in turn has higher precedence than or
.
Use parenthesis when the precedence needs to be altered.
In the first form, the local variable var is bound to the first node whose names match the given pattern nodepattern, and the nested condition cond, if presents, is satisfied. The local variable can be referenced in the nested condition part. The condition is true when such a node is found, and false otherwise.
In the second form, the local variable var is bound to
the first node that is the child of nodeval (for in
),
the first node of the same parent before nodeval (for before
),
or the first node of the same parent after nodeval (for after
).
If the optional nexted condition cond is present, the predicate
will bind the variable to the first node that also satisfies the condition.
The condition is true when such a node is found, and false otherwise.
The following are some examples.
exist service like $$.Services."Line|DSL" with ( service:action == "add" ) exist service in $$.Services with (exist tnOrDn like service."TN|DN" ) exist line like $$.Services.Line with line.TN like "303 (...){nxx}-(....){xxxx}" exist line like $$.Services.Line with (exist tn like line.TN and tn like "303.*") exist node like $$.chapter.Services.Line[action="add"].TN exist node like $$..TN
The existence predicate can also be used in the following form:
exist node like nodepattern
.
Here is an example (in the nested condition):
exist line like $$.Services.Line with (exist line.TN)Finally, the existence predicate can be used to check if a global variable is bound. The syntax is:
exist variable REGION
when tmp = 12*(9-7) and tmp > 30
For XML documents, by default, the name of the node representing an XML element is its tag, and the value of the node is the direct text in the element. The attributes of the element are accessed as attributes of the node.
There are cases when the XML documents contain a lot of generic tags but using some attribute to diffentiate the different semantic types. This technique for XML is often used for highly dynamic data such as service orders, so that the XSD does not have to be changed when new data types need to be added. This is the case for the form data documents used in MDW, where only a few actual XML tags are used (e.g. FIELD, SUBFORM, and TABLE). For such documents, while the default mapping can still be used, the conditions and expressions will become cumbersome and far less readable.
Magic Box offers an alternative mapping to gain
the readability for such documents. An attribute
such as NAME in the case of form data document
is designated as the name of the node (instead of
using tags), and the tags are accessible
using a special attribute syntax #node
.
Take the following sample form data document as an example:
<FORMDATA> <FIELD NAME='COUNTRY'>USA</FIELD> <FIELD NAME='STATE'>Colorado</FIELD> <FIELD NAME='DD'>2009-03-09</FIELD> <SUBFORM NAME='TABLE_DATA_META'> <FIELD NAME='total_rows'>10</FIELD> <FIELD NAME='start_row'>1</FIELD> </SUBFORM> <TABLE NAME='TABLE_DATA'> <ROW> <FIELD NAME='RED'>red</FIELD> <FIELD NAME='GREEN'>green</FIELD> <FIELD NAME='BLUE'>blue</FIELD> </ROW> <ROW> <FIELD NAME='RED'>rot</FIELD> <FIELD NAME='GREEN'>gruen</FIELD> <FIELD NAME='BLUE'>blau</FIELD> </ROW> <ROW> <FIELD NAME='RED'>hong</FIELD> <FIELD NAME='GREEN'>lue</FIELD> <FIELD NAME='BLUE'>lan</FIELD> </ROW> </TABLE> </FORMDATA>
The following gives some sample expressions and their corresponding values:
$$.COUNTRY
has the value "USA"
$$.TABLE_DATA_META.total_rows
has the value 10
exist row in $$.TABLE_DATA with row.RED=="rot"
will bind the variable row to the second row in the table#$$.TABLE_DATA
has the value "TABLE"


WITNESS LIST Subcommittee on Higher Education Committee March 29, 1999-2:00P SB 751 Registering, but not testifying: On: Parker, Walt (Univ. of North Texas), Denton Rafes, Richard (Univ. of North Texas), Ponder SB 947 FOR: Cobb, Dean (Self), unavailable Fatehi, Parisa (unavailable), unavailable Ferguson, Brian (U. T. Students/ Rep. to the Union Board), unavailable Hayes, Jeremiah (unavailable), Austin Holand, Annie (Student Govt.of the Univ. of Texas), Austin Nehta, Parag (unavailable), unavailable ON: Vick, James W. (Univ. of Texas at Austin), Austin SB 989 FOR: Longoria, Fred (unavailable), Edinburg ON: Nevarez, Miguel A. (Univ. of Texas- Pan American), unavailable Wilson, James S. (U.T. System), Austin SB 1289 ON: Mullins, Charles B. (U.T System), Austin Wilson, James S. (U. T. System), Austin Registering, but not testifying: On: Price, Robert B. (U.T. Health Science Center), San Antonio SB 1290 ON: Mullins, Charles B. (U. T. System), Austin Wilson, James S. (U.T. System), Austin Registering, but not testifying: On: Price, Robert B. (U.T. Health Science Center), San Antonio SB 1326 ON: Strickland, Jerald W. (College of Optometry- Univ. of Houston), Houston SB 1420 ON: Elliott, Roger W. (Tx. Higher Ed. Coordinating Board), Austin Nevarez, Miguel (U.T. Pan American), unavailable SB 1451 FOR: Collins, Robby V. (Texas School Alliance), unavailable ON: McKahe, Ed (State Comptroller's Office), Austin O'Hara, Pat (State Comptroller's Office), Austin Vallejo,Roger (State Comptroller's Office), Austin Registering, but not testifying: On: Elliott, Roger (Tx. Higher Ed. Coord. Board), Austin SB 1569 Registering, but not testifying: On: Elliott, Roger (Tx. Higher Ed. Coord. Board), Austin Johnson, Aubrey (GSC), unavailable


{% extends 'layout.html' %} {% block pageTitle %} Getting a pension estimate, what date do you want to start taking your pension? {% endblock %} {% block content %}
The earliest date you can start taking your pension is 15 March 2026, the latest date is 15 March 2046.
For example, 31 3 2042


^w^
Hello there, awesome person!
My favourite sites!
Duckduckgo search engine
A very popular anime site
And here is Youtube


My Book
1
Prerequisites
2
jquery practice
3
datatable
4
map
5
jqplot
6
chartjs
7
shiny garden map
8
flot3
9
flot2
10
flot4
11
flot6
12
flot8
13
flot9
14
flot10
15
button1
16
flot11
17
flot12
18
flot13
19
flot
20
Introduction
21
Apples
21.1
Fuji Apple
21.1.1
Including Plots
21.2
Williams Pride Apple
21.2.1
Including Plots
22
Methods
22.1
Gallery via links
22.2
Video
22.3
Breakfast
22.4
Dinner
22.5
Going to sleep
23
Applications
24
Final Words
25
Testing
26
Testing 2
27
Tables
28
paged tables
29
filter list
30
slide show
31
include html
32
table paginate
33
table paginate again
34
table paginate with filter
35
Apple Collection
35.1
Adams Pearmain Apple
References
Published with bookdown
My Book
Chapter 5
jqplot
Line Style Options
-1
0
1
2
3
4
5
6
7
-1.5
-1.0
-0.5
0.0
0.5
1.0
1.5
161, 24


| Home | Trees | Indices | Help |
|
|---|
|
|
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|
|||
|
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Connection will establish to the remote host using ssh. It will take user_name ,ip_address and password as arguments<br> and will return the handle.
|
Arguments: str ip: ONOS IP Address str port: ONOS REST Port str url: ONOS REST url path. NOTE that this is is only the relative path. IE "/devices" str base: The base url for the given REST api. Applications could potentially have their own base url str method: HTTP method type dict query: Dictionary to be sent in the query string for the request dict data: Dictionary to be sent in the body of the request |
Description: Gets a list of dictionary of all intents in the system Returns: A list of dictionary of intents in string type to match the cli version for now; Returns main.FALSE if error on request; Returns None for exception |
Description: Get the specific intent information of the given application ID and intent ID Required: str intentId - Intent id in hexadecimal form Optional: str appId - application id of intent Returns: Returns an information dictionary of the given intent; Returns main.FALSE if error on requests; Returns None for exception NOTE: The GET /intents REST api command accepts application id but the api will get updated to accept application name instead |
Description: Returns all the current application installed in the system Returns: List of dictionary of installed application; Returns main.FALSE for error on request; Returns None for exception |
Decription: Activate an app that is already installed in ONOS Optional: bool check - If check is True, method will check the status of the app after the command is issued Returns: Returns main.TRUE if the command was successfully or main.FALSE if the REST responded with an error or given incorrect input; Returns None for exception |
Required: Deactivate an app that is already activated in ONOS Optional: bool check - If check is True, method will check the status of the app after the command is issued Returns: Returns main.TRUE if the command was successfully sent main.FALSE if the REST responded with an error or given incorrect input; Returns None for exception |
Decription: Gets the informaion of the given application Required: str name - Name of onos application Returns: Returns a dictionary of information ONOS application in string type; Returns main.FALSE if error on requests; Returns None for exception |
Description: Adds a host-to-host intent ( bidirectional ) by specifying the two hosts. Required: * hostIdOne: ONOS host id for host1 * hostIdTwo: ONOS host id for host2 Optional: str appId - Application name of intent identifier Returns: Returns main.TRUE for successful requests; Returns main.FALSE if error on requests; Returns None for exceptions |
Description: Adds a point-to-point intent ( uni-directional ) by specifying device id's and optional fields Required: * ingressDevice: device id of ingress device * egressDevice: device id of egress device Optional: * ethType: specify ethType * ethSrc: specify ethSrc ( i.e. src mac addr ) * ethDst: specify ethDst ( i.e. dst mac addr ) * bandwidth: specify bandwidth capacity of link (TODO) * lambdaAlloc: if True, intent will allocate lambda for the specified intent (TODO) * ipProto: specify ip protocol * ipSrc: specify ip source address with mask eg. ip#/24 * ipDst: specify ip destination address eg. ip#/24 * tcpSrc: specify tcp source port * tcpDst: specify tcp destination port Returns: Returns main.TRUE for successful requests; Returns main.FALSE if no ingress|egress port found and if error on requests; Returns None for exceptions NOTE: The ip and port option are for the requests input's ip and port of the ONOS node |
Description: Remove all the intents Returns: Returns main.TRUE if all intents are removed, otherwise returns main.FALSE; Returns None for exception |
Description: Get a list of dictionary of all discovered hosts Returns: Returns a list of dictionary of information of the hosts currently discovered by ONOS; Returns main.FALSE if error on requests; Returns None for exception |
Description: Gets the information from the given host Required: str mac - MAC address of the host Optional: str vlan - VLAN tag of the host, defaults to -1 Returns: Return the host id from the hosts/mac/vlan output in REST api whose 'id' contains mac/vlan; Returns None for exception; Returns main.FALSE if error on requests NOTE: Not sure what this function should do, any suggestion? |
Description: Gets the overview of network topology Returns: Returns a dictionary containing information about network topology; Returns None for exception |
Description: Get intent state. Accepts a single intent ID (string type) or a list of intent IDs. Returns the state(string type) of the id if a single intent ID is accepted. Required: intentId: intent ID (string type) intentsJson: parsed json object from the onos:intents api Returns: Returns a dictionary with intent IDs as the key and its corresponding states as the values; Returns None for invalid IDs or Type error and any exceptions NOTE: An intent's state consist of INSTALLED,WITHDRAWN etc. |
Description: Check intents state based on expected state which defaults to INSTALLED state Required: intentsId - List of intents ID to be checked Optional: expectedState - Check the expected state(s) of each intents state in the list. *NOTE: You can pass in a list of expected state, Eg: expectedState = [ 'INSTALLED' , 'INSTALLING' ] Return: Returns main.TRUE only if all intent are the same as expected states , otherwise, returns main.FALSE; Returns None for general exception |
Description: Get flows currently added to the system NOTE: The flows -j cli command has completely different format than the REST output; Returns None for exception |
Description: Gets all the flows of the device or get a specific flow in the device by giving its flow ID Required: str device - device/switch Id Optional: int/hex flowId - ID of the flow |
Description: Creates a single flow in the specified device Required: * deviceId: id of the device Optional: * ingressPort: port ingress device * egressPort: port of egress device * ethType: specify ethType * ethSrc: specify ethSrc ( i.e. src mac addr ) * ethDst: specify ethDst ( i.e. dst mac addr ) * ipProto: specify ip protocol * ipSrc: specify ip source address with mask eg. ip#/24 * ipDst: specify ip destination address eg. ip#/24 * tcpSrc: specify tcp source port * tcpDst: specify tcp destination port Returns: Returns main.TRUE for successful requests; Returns main.FALSE if error on requests; Returns None for exceptions NOTE: The ip and port option are for the requests input's ip and port of the ONOS node |
Description: Remove specific device flow Required: str deviceId - id of the device str flowId - id of the flow Return: Returns main.TRUE if successfully deletes flows, otherwise Returns main.FALSE, Returns None on error |
Description: Check if all the current flows are in ADDED state Return: returnValue - Returns main.TRUE only if all flows are in return main.FALSE otherwise; Returns None for exception |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Aug 10 11:12:35 2015 | http://epydoc.sourceforge.net |


This gem aids in building sortable and filtrable tables with both local or remote sources.
Table contents are loaded by ajax.
Add this line to your application’s Gemfile:
source<EMAIL_ADDRESS>do gem "sortable_skima" end
Run:
$ bundle
Create both backtraces and sortables migrations if you dont have them already in your db
create_table :sortables do |t| t.text :query t.timestamps end create_table :backtraces do |t| t.integer :user_id t.string :action t.string :value t.timestamps end
<%= sortable_table_tag 'Project.select("projects.*, COUNT(warnings.id) as warnings_count").joins("LEFT JOIN users ON users.id = projects.manager_id '+ 'LEFT JOIN divisions ON divisions.id = projects.division_id '+ 'LEFT JOIN budgets ON budgets.project_id = projects.id AND budgets.active '+ 'LEFT JOIN budget_stats ON budget_stats.budget_id = budgets.id '+ 'LEFT JOIN project_types ON project_types.id = projects.project_type_id '+ 'LEFT JOIN warnings ON warnings.warnable_type = \'Project\' AND warnings.warnable_id = projects.id")'+ '.joins( :project_stats).group("projects.id")',[ {:sort_field=>'projects.id',:title=>'Name',:display_method=>"summary",:path_method=>"project_path(model)",:td_class=>'align_center', :style=>'width: 200px;'}, {:sort_field=>'manager_id',:title=>'Manager',:display_method=>"manager.nil? ? '---' : manager.username",:path_method=>"model.manager.nil? ? nil : user_path(model.manager)",:td_class=>'align_center', :style=>'width: 70px;'}, {:sort_field=>'divisions.name',:title=>'Unit',:display_method=>'division.name rescue "---"',:td_class=>'align_center',:style=>'width: 100px;'}, {:sort_field=>'nature',:title=>'Nature',:display_method=>'nature',:td_class=>'align_center',:style=>'width: 70px;'}, {:sort_field=>'project_types.name',:title=>'Type',:display_method=>'project_type.name',:td_class=>'align_center',:style=>'width: 70px;'}, {:sort_field=>'status',:title=>'Status',:display_method=>'get_status',:td_class=>'align_center',:style=>'width: 70px;'}, {:sort_field=>'warnings_count',:title=>'Alarms',:display_method=>"warnings_count",:td_class=>'align_center',:style=>'width: 70px;'}, {:sort_field=>'price',:title=>'Price',:display_method=>"price",:td_class=>'align_center',:style=>'width: 70px;'}, {:sort_field=>'budget_stats.estimated_costs',:title=>'Est. Cost',:display_method=>"active_budget.budget_stats.estimated_costs rescue '---'",:td_class=>'align_center',:style=>'width: 70px;'}, {:sort_field=>'project_stats.actual_cost',:title=>'Actual Cost',:display_method=>"project_stats.actual_cost",:style=>'width: 90px;'}, {:sort_field=>'progress',:title=>'Prog3',:display_method=>"100 * project_stats.progress.round(2) if !project_stats.progress.nil?",:style=>'width: 70px;'} ],:items_per_page=>12, :class=>'fixed_columns alternatingRows', :style => "padding-top:10px; padding-bottom:10px;" %>
This will render a sortable table. with the given settings.
A string containing a set of rails commands that must return an ActiveRecord::Relation.
The query must contain a reference to any tables that will be used in either sorting or filtering either through a join() or an include().
NOTICE: a simple ‘join()’ will result in an INNER JOIN exluding any unpaired results.
An array of hashes representing each column in the table
The arguments for each column are:
The SQL field wich will be used for sorting this will be placed in the DB query
The title for the html table header, can contain html, if blank the sort_field will be used
The method to generate the content of each cell in the column, this is run in each model instance, and has controller_context and view_context available if needed
The method used to generate an url which is then used to convert the cell into an hyperlink, run in the controller context with the variable ‘model’ available containing the model instance for each row
This field wont be parsed to html.
Useful for when extra data is needed for JS or to pass specific CSS for each row.
NOTICE: Possible bug if the no_display columns are not added after displayed columns, untested.
Boolean. Disables ordering on this column.
Order to be used in case there is no order selected.
For paginate. Defaults to 10.
Boolean. Disables caching of the selected order and filters. Unstable.
Boolean, default true. Enable pagination.
String. ID of the table and filters group. For when there is more than one sortable in the same page.
All options accepted for a ‘content_tag’ helper. EX: :class, :style , :some_attribute
Unit: <%= sortable_filter_tag "division_id", ['All']+Division.all.map{|x|[ x.name, x.id]}, :style => "width:90px"%> Status: <%= sortable_filter_tag "status", ['All']+Project::STATUSES, :style => "width:90px"%> Nature: <%= sortable_filter_tag "nature", ['All']+Project::TYPES, :style => "width:90px;"%> Type: <%= sortable_filter_tag "project_type_id", ['All']+ProjectType.all.map{|x|[ x.name, x.id]}, :style => "width:90px"%> Manager: <%=sortable_filter_tag("manager_id", users, :style => "width:90px") %>
String with the SQL column to be used for filtering. (Discarded if :raw_sql is true)
An array with 1 or 2 dimensions .
The first element ( ar[0] ) is displayed the second ( ar[1] ) is the actual value to be matched. ( some_query.where(column_name => option_value) )
If it has only one dimension both values are the same.
If :raw_sql is true then the second element should contain a valid WHERE condition. EX: ‘users.login_attempts > 5’
Boolean. Defaults to false.
If true the value in the options list will be used literaly in the query ( some_query.where(option_value) )
ID to match the one in the sortable table that is related to this filter. For when there is more than one sortable in the same page.
The selected option. Must be the same as the option value.
All options that are valid for a ‘select_tag’ helper
This gem has Javascript and CSS files included to make the tables work on the browser
*These files are added automatically to config.default_js *
*These files must be present in your views for the frontend to work*
> skima-sortable-tables.js > ,jquery.ba.bbq.js > ,jquery-ui.min.js > ,jquery-ui.css
Fired after the table data has been loaded and rendered
Arguments passed with event
data: The data received for the table
$table: The table element Jquery reference
queryID: Unique identifier for the sortable query on the server
Catch the data loaded event in javascript
$('your sortable table or document or whatever').on('sortable.loaded',someFunction); function someFunction(evt, data, $tableElement, queryID){ //Send the reference to the query to the server $.ajax({ url:'some_path' data:{sortable_id:queryID} }) }
Then use the sortable filters in your controller
def some_action my_base_query = User.where('some_rule')# or User or User.order_by() or SomeModel.join() or whatever include_order = false users = SortableSkima.attach_sortables( my_base_query, params['sortable_id'], cur_user_or_admin, include_order) #...do what you want with your results end ---
In console:
$ gem install geminabox-release
Add these lines to ‘Rakefile’:
require 'geminabox-release' GeminaboxRelease.patch(:host =><EMAIL_ADDRESS>In console each time you want to publish the gem:
$rake inabox:push
Or to overwrite a previous gem version
$rake inabox:forcepush


{% extends 'base.html' %} {% block head_title %}Password reset successful{% endblock %} {% block content %}
Your password reset was successful! Try logging in again.