Case Summary Vis showing statistical summaries for multiple case files.
Time Stacks shows events and vitals time series in stacked time series charts.
Event Summary shows statistical summary of vitals for time windows around specific events.
Correlation Matrix showing all pair wise correlations between variables.
Parallel Coordinates shows a multivariate visualization to explore correlation patterns.


venus
/
venusbackend.riscv
/
Program
/
dump
dump
fun
dump
(
)
:
List
<
MachineCode
>
Dumps the instructions.
Return
a list of instructions in this program


Before Change
if not all_files:
external_files = []
for x in tracked_files:
relpath = os.path.relpath(x, ".")
if relpath.startswith(".."):
env.logger.info("{} is excluded. Use option --all to include tracked files outside of current directory.".format(x))
external_files.append(x)
tracked_files -= set(external_files)
After Change
if not all_files:
external_files = []
for x in tracked_files:
if FileTarget(x).is_external():
env.logger.info("{} is excluded. Use option --all to include tracked files outside of current directory.".format(x))
external_files.append(x)
tracked_files -= set(external_files)


Ploror688.github.io
Definition of help written for English Language Learners from the Merriam-Webster Learner's Dictionary with audio pronunciations, usage examples, and count/noncount. Homework Help - Toronto District School Board.
Arabic homework help online - linkwordlanguages.com. A cartographic site offering a collection of 145,000 public domain maps that you can download and print without searching for size or scale. Map types include world. Arabic homework help online to write about coursework writer uk. Like dickie, danto realized that who approve the audit, or make help arabic homework online JUNIOR HIGH - Homework Help For Grades 7-8. Infoplease Homework Central MATH. Math.com ENGLISH. BJ Pinchbeck's Homework Helper: English SOCIAL STUDIES.
An alphabetical list of Preferred Databases and Recommended Websites. Article Essays: Arabic homework help online only trust. Try it for free! BJ Homework Homework Helper: Homework love arabic sing, and singing arabic Arabic letters helps the kids to memorize business plan writers. Content - Detroit Public Schools. Plagiarism Definition of Plagiarism by Merriam-Webster. Learning Moroccan Arabic Learning Moroccan dialectical Tashlheet Tamazight Dictionary: Tamazight - English and English - Tamazight Moroccan Arabic (Darija) Textbook. Arabic homework help online – ImgTopic. This survey is an opportunity for you to help this school by sharing your opinions about it. Your opinions are important, and the school is interested in hearing.
Homework is an important part of every child’s school experience. It is an opportunity to engage in learning at home and to support what is learned during. Arabic homework help online - Education Helping Center. Internet investigations: Curriculum libraries and units for teachers and parents to use with students from pre-k to college levels. Amazon.com: Alif Baa: Introduction to Arabic Letters and Sounds With DVD<PHONE_NUMBER>323): Kristen Brustad, Mahmoud Al-Batal, Abbas Al-Tonsi: Books. Learn the arabic alphabet online Homework - Definition for English-Language Learners. J.D. Meisler Middle School — Where failure is not an option. Since 1996, BJ Pinchbeck’s Homework Helper has been the curator of the best free education and homework resources for students, teachers and parents.
Write My Essay Now! Urgent Essay Writing Service. Learn at a moderate pace with our Arabic Beginners short course. Starting in October, you will progress through three modules over a one-year period. The Kidnapping Roots of Plagiarize. If schools wish to impress upon their students how serious an offense plagiarism is, they might start with an explanation Amazon.com: Al-Kitaab fii Ta'allum al-'Arabiyya with DVDs: A Textbook for Beginning Arabic, Part One Second Edition (Arabic Edition)<PHONE_NUMBER>045): Kristen Brustad. Get expert online tutoring service from Acadsoc online education society. We offer millions of high quality online tutors for every student. Start your affordable. Twenty sections of 250 study guides and 100 exercises for learners, middle school through returning adult, in 39 languages. Arabic homework help, - Buy essays and research papers. Our writers know both peculiarities of academic writing and paper formatting rules.
Arabic Tutor Online Arabic Homework Help TutorMe. Databases and Resources Houston Public Library. Research Homework Los Angeles Public Library. Arabic Year 1 (Beginners) City, University of London. Arabic homework help online - linkwordlanguages.com. Ages middle school through returning adult; the biggest advantage that you want to know about when you make the do my essay request is that we write all arabic. Private Essay: Arabic homework help students privacy. Acadsoc Online Tutoring-Online Tutorial and Online. Amazon.com: Al-Kitaab fii Ta'allum al-'Arabiyya
Arabic homework help online - Essays dissertations written by high class writers. Proposals, essays and academic papers of best quality. Stop receiving. German I Tutorial: Basic German Phrases, Vocabulary. BJ Pinchbeck's Homework Helper. Help your kids memorize the alphabet with songs: Kids love to sing, and singing the Arabic letters helps the kids to memorize the songs better. Homework Definition of Homework by Merriam-Webster. High School American History and Economics help. Supreme Court case summaries.
Definition of homework written for English Language Learners from the Merriam-Webster Learner's Dictionary with audio pronunciations, usage examples, and count. Find the perfect online Arabic tutor. Get Arabic help from a reputable on-demand tutor. Arabic Homework help,Arabic - Online Tutoring. Arabic Homework help,Arabic Assignment help,Arabic Project Help,Arabic online Tutors. Friends of Morocco: Learning Moroccan Arabic. Turnitin provides instructors with the tools to prevent plagiarism, engage students in the writing process, and provide personalized feedback. Write my essay in time! Order papers from our professional team that offers paper writing on any type of topic. Fast, cheap and unique. Recent Examples on the Web. But again, the players could’ve done their homework, but didn’t. — Paul Sullivan, chicagotribune.com, "Fans aren't Learn how to speak German online with free German basic phrases, vocabulary and grammar.
Help - Merriam-Webster's Learner's Dictionary.
Welcome to the Open Homework Help website. Here you will find various resources to assist you with your homework. Please check back often as our website is being. South Pasadena High School caters to ninth through twelfth grade in South Pasadena, California. It is part of the South Pasadena School District.
Amazon.com: Alif Baa: Introduction to Arabic Letters. Detroit Public Schools Community District (DPSCD) and FANUC America, a leading supplier of robotics and factory automation, today unveil a new robotics training. Internet Investigations Hoagies' Gifted. Supply and Demand - Social Studies. Arabic Homework Help ― Arabic homework help online.


Welcome to the
Click here for more about
this website
Click here to go to the MCHS
website
Click here to go to the MCC
of OGS website
|
CDs of
important |
1845
Bay, Mrs. Bay
Spirit of Democracy,
A lady, Mrs. Bay, died at
Cochran,
Francis Cochran
Source:
Spirit of Democracy May 10, 1845
Died - On Tuesday the 6th inst,
in
Davis,
Elizabeth Davis
Source:
Spirit of Democracy September 20, 1845
Died - On Monday evening last, at the
residence of Daniel Yoho in this township, MISS ELIZABETH DAVID [sic].
Davis, Elizabeth Davis
Spirit of Democracy,
Died On Monday evening last, at the
residence of Daniel Yoho in this township, MISS ELIZABETH DAVIS.
Flersheiru, Simon Flersheiru
Source:
Spirit of Democracy May 17, 1845
Sudden Death - On last Saturday morning,
Mr. SIMON FLERSHEIRU was found dead in his store, a room rented of J. Neiswanger opposite the Court House. Mr. F. had been called to breakfast several
times, but as no answers were returned, the store was opened about 8 o clock,
and he was found on the counter, in his bed, and lifeless. He appeared, apparently asleep, no feature
was changed, no muscle distorted. But he
slept the sleep of death!
The deceased was about 30 years old, of a
clever turn of mind and obliging disposition.
He has been a resident here for more than a year, but for some years
past sold goods in this and adjoining counties.
He came from
Guthrie, James Guthrie
Spirit of Democracy,
Died On Friday morning last, MR. JAMES
GUTHRIE, of this township.
Harris,
Elijah Harris
Source:
Spirit of Democracy September 27, 1845
Died at his residence in Olive township,
Harris, Elijah Harris
Spirit of Democracy,
Died at his residence in Olive township, Morgan county, on the 14th inst., MR. ELIJAH HARRIS,
aged 39 years, after an illness of five days.
In him an aged mother, eighty years old, has
lost her youngest child, to whose care she had committed herself.
An affectionate wife and a
numerous family of children have lost one of the best of husbands, our
neighborhood one of its best citizens, and the Methodist E. Church, one of its
best members. He resigned all with Christian fortitude and a steadfast hope of
a better inheritance. How mysterious are the ways of
Hightower, John Hightower
Spirit of Democracy,
OLD AGE Mr. John Hightower, a soldier of the Revolution,
died a week or two since in Marengo county,
He received a wound at Braddock s Defeat, 99 years ago.
Hill,
Atkinson Hill
Source:
Spirit of Democracy May 31, 1845
Died - At his residence in
Holland,
Urania Holland
Source:
Spirit of Democracy August 2, 1845
Died - On Monday last about 3 o clock,
P.M., MRS. URANIA HOLLAND, consort of Mr. Eliott
Holland, aged about 51 years.
Mrs. Holland has been for some 20 or 25
years an acceptable member of the Methodist Episcopal Church. She has left a large circle of relatives and
friends who painfully feel her loss.
They have however the consolation of knowing that she died the death of
the Christian.
Jackson, Richard Jackson 2nd obit
Spirit of Democracy,
CHRONOLOGY OF THE BIOGRAPHY OF GENERAL JACKSON
From
the N. Y. News
1767, March 15 Born near the Washaw settlement,
1781 Entered
the revolutionary service, at the age of 14. Taken prisoner, and wounded by a
British officer for spirited resistance to a degrading order.
1784 Commenced
the study of the law at
1786 Admitted to the Bar in
North Carolina
1788 Accompanied
Judge M`Nairy to the S. W. Territory, now the State
of Tennessee, where he was shortly after appointed Attorney General.
1795 Chosen
a member of the Convention to form a Constitution for the State of Tennessee. Elected to Congress in the same year, and took his
seat in the H.R.
1797
1799 Resigned
his place in the Senate, and appointed Judge of the Supreme Court of Tennessee.
1800 Chosen
General of militia of Tennessee.
1802 Raised 2500 volunteers
for the war with Great Britian, and $5000 on his
personal credit to provide for their comfort.
1813 After
the massacre at
1814 Appointed Brigadier
General in the
1815 Jan. 1 Repulsed another
assault Jan. 8. With 3700 American militiamen won the great victory of
1817 Marched
against the Seminoles in
1821 Appointed first Governor
of Florida after its cession to U.S.
1822 Nominated
as a candidate for the presidency by the Legislature of Tennessee.
1823 Declined
the appointment of Minister to
1824 Received plurality of
votes for Presidency, but the election devolving on the House of
Representative, Mr. J. Q. Adams was chosen; General Jackson elected to U.S.
Senator from Tennessee.
1825 Again
nominated for the Presidency; Resigned seat in the Senate.
1728 [sic 1828] Elected
President of the U.S.
1829 Inaugurated
March 4th; Delivered first annual message Dec. 8th.
1830 Vetoed the
1832 Vetoed
1833 Nullification
Message, Jan. 16th; Second Inaugural Address, March 4th;
Removal of the Government Deposits from Bank of United States in October.
1834 Protest against the
Impeachment Resolution, April 15th.
1836 French Indemnity
Message, Jan. 15th;
1837 The
Impeachment resolution, through the indomitable perservance
of Benton, expunged from the record of the Senate, January 16th;
Farewell Address, March 3.
1844 Jan. 8th On the 28th anniversary of the
victory of New Orleans, the House of Representatives refunded the fine of $1000
imposed by Judge Hall Concurred in by the Senate, Feb. 14th.
1845 Died at hermitage, near
LATER--
Spirit of Democracy,
Andrew Jackson s Tomb-- The
Nashville Union says the following will be the epitaph on the tombstone of
General Jackson:
ANDREW JACKSON
Born on
the 15th of March, 1767
Died
on the 8th of June, 1845
Jackson, Richard Jackson
Spirit of Democracy,
DEATH OF SIR RICHARD JACKSON The
He died on Monday, the 9th instant, having been
suddenly seized by apoplexy the day before, after attending divine services
during the day in good health. He was on the point of embarking for
Sir Richard was (says the Courier) a good and brave
soldier, and a good man, who feared God and honored the King.
He entered the army in 1794, and had participated in nearly
all its service during the eventful period in which he held a commission.
Any comment is unnecessary.
Kendall, William Kendall
Spirit of Democracy,
(Extract of a letter dated: Washington City,
August 18, 1845)
Dear Sir: It becomes my
painful duty to inform you of the death of WILLIAM KENDALL, son of Amos
Kendall. The circumstances attending his death as far as I can learn are these.
This evening about
They began to talk it over, and
Elliott then turned and ran
into Fuller s Hotel, the stone thrown by Bailey hitting the door. Elliott ran
through the Hotel and jumping a fence got into a hack, and made his escape,
about half-past
Mr. Amos Kendall is in
LATER
Spirit of Democracy,
Young Elliott, who shot Kendall in
Knight,
Jeremiah J. Knight
Source:
Spirit of Democracy February 28, 1845
Knight,
Jeremiah J. Knight
Obituary: Jeremiah J. Knight, the subject of this brief
notice, was born in Perry township, Monroe Co.,
Knight,
Jeremiah J. Knight
Source:
Spirit of Democracy January , 1845
Died
- Of Pulmonary consumption, January 3, 1845, at the residence of his mother, in
Maginnis, Edward Maginnis
Source:
Spirit of Democracy March 7, 1845
Accident
-- On Thursday, the 27th inst, while a number of persons were
engaged on the farm of Mr. Edward Maginnis, in this
township, in rolling logs and felling trees, a limb about three feet in length
fell from a considerable height, from one of the falling trees, and struck Mr. Maginnis on the head above the right temple, which
occasioned his death in about two hours.
Mr. M. was an old and respected citizen.
Mallory,
Mary R. Mallory
Source:
Spirit of Democracy April 26, 1845
MARY R. MALLORY, died, after an illness of
about four months, at the residence of her father in Salem township, on Monday,
the 24th inst. Mrs. Mary R. Mallory, consort of Mr. John Mallory,
and the daughter of James and Elizabeth Walton, in the 24th year of
her age. We deeply sympathize with the
relatives and friends of the deceased.
They have, however, the consolation of knowing that she enjoys the
felicity that awaits the kind, benevolent and just.
Mc
Caffrey,
Source:
Spirit of Democracy Dec 27, 1845
Horrid
Murder - On Friday evening last, the 12th inst., at Steinersville, in this county, Robert McGary
entered the house of WASHINGTON MC CAFFREY, and in the presence of his
daughters stabbed Mc C in 13 or 14 places on the face, head, neck and chest, of
which he died immediately. The wife of
the deceased arrived as he was expiring.
It appears that the deceased had his house
assailed and some damage done by McGary and one Fowns, who were imprisoned some time age, and they
threatened to murder McCaffrey. Fowns was an accessory when the murder was committed, and
is now in jail. McGary
is still at large, and will no doubt be arrested soon. We forbear further
particulars at present.
Tuesday
morning - Since writing the above, the Sheriff and other other
citizens have returned here with McGary, she was
captured by them near
Mc
Williams, Statyra Mrs.
Source:
Spirit of Democracy November 22, 1845
Died
in
Patton,
Elizabeth Patton
Source:
Spirit of Democracy July 26, 1845
Died - On the 13th inst. MRS.
ELIZABETH Patton, consort of Mr. David B. Patton, of
The ransom d spirit to its home,
The clume of
cloudless beauty, flies;
No more on stormy seas to roam,
She seeks her haven in the skies
-Com.
Reed, David Reed
Spirit of Democracy,
It would be difficult for a poet of the highest imagination
to conceive a more horrid death than happened a few days ago, in
On Friday last, Capt. David Reed, one of the most
respectable citizens of Swanzey went into the woods
with his oxen, for the purpose of drawing logs. Although he did not return at
night, no alarm of his family induced a sufficient anxiety to cause him to be
sought after until next morning, when, horrid to relate, he was found with a
large log lying across his leg, and frozen to death. It appears, from
examination made, that he had hitched his cattle to a log which on starting,
had rolled and caught him by the leg and broken it. Unable to extricate
himself, he had shouted for help. His cry was heard by neighbors repeatedly,
who supposed it only the ordinary shout to cattle while logging, and paid no
attention to it.
He has left a wife and seven children a sad
loss to them and to the neighborhood, of a father and a valuable citizen.
Smith,
Major James Smith
Source:
Spirit of Democracy March 7, 1845
Died - At the residence of his son, Col. Thos. Smith, in Grandview, Illinois,
about 8 o clock on the morning of the 8th of Feb. after a few days
illness. Major James Smith, in the
73rd year of his age.
Maj. S. was emphatically one of the pioneers of the west, having been a
western spy in
Maj. S. was one of the early settlers of
Story, Joseph Story
Spirit of Democracy,
Joseph Story, one of the Justices of the U.S. Supreme
Court, died at his residence in
The Boston Transcript, in
noticing his decease, says; As a member of the bar, he
has been distinguished for the vast amount of his learning, and has thorough
understanding of all branches of the law. His works evince a profound judgement and a varied professional skill unequalled in
this country and wondered at in
Thomas,
Cyrus Thomas
Source:
Spirit of Democracy May 10, 1845
Died - At the residence of his brother in
Walters,
John Walters
Source:
Spirit of Democracy July 5, 1845
Died - On Sunday evening last, MR. JOHN
WALTERS, of this township, aged about 84 years.
Mr. Walters was a revolutionary soldier, and has for a number of years
been receiving a pension from the
Walters, John Walters
Source:
The Spirit of Democracy, Woodsfield, Ohio, Saturday, July 5, 1845
John WALTERS died Sunday evening last, June 29, 1845, of
this township at about age 84 years. He was born in 1763, in
Yoho,
Reuben Preble Yoho
Source:
Spirit of Democracy February 14, 1845
Died - In this township, on Sunday morning last, of pulmonary
consumption, Mr. Reuben Preble Yoho, in the 26th year of his age.
From an intimate acquaintance with the
deceased for a number of years, we can truly say that in his death, his
relatives and friends have sustained an irreparable loss. In life, his mild and upright deportment had
gained him the love and esteem of all who knew him. His death will be mourned as the death of a
Christian. Mr. Yoho was a member of the
Last
modified Oct. 12, 2009 by reh
Click here for the Short-Cut Table of Contents


Men in Black (1997)
Seen on 3 July 1997 with Andrea for $8.75 at the SONY 84th St. theatre, where MiB played in all six threatres.
My initial fear: Once again I was going on opening weekend to an already overhyped movie, another idiotic supersummermegablockbuster with "hit" written all over it simply because a lot of money has been put into advertising and Newsweek has seen fit to ignore North Korean famine and put Mr. Smith and Mr. Jones on their cover last week.
Needless to say I was very pleasantly surprised.
The writing was quickly paced and witty; the special effects were excellent; all the performances on target. The likelihood of a sequel welcome. The only thing missing, thank god, were the fag jokes.
In *Men in Black*, Earth is a planet-sized safe house for a variety of aliens, most of whom are conveniently located in the New York Metropolitan Area. A special unit, the Men in Black, keep track of alien activity and keep the world "safe for humanity." This involves chasing down renegades and making humans forget they ever saw anything. This has some emotional price, though: all MiBs must cut off all ties with their lives and dedicate themselves to their task, using the *Star* and the *National Enquirer* as authoritative news sources.
Kay (Tommy Lee Jones) recruits NYPD officer James Edwards (who becomes Jay) t. His agility and offbeat ways suit their needs, and K and Zed (Rip Torn) decide to mold him into one of their agents.
By the second day on the job, though, the world is in danger, and it is up to J and K to save it. They inadvertently get help from Laurel (Linda Fiorentino), a NYC coroner who prefers the dead, and sometimes a cat, to the most living humans.
Just as Jay and Kay are introduced in dramatic fashion, so is the villain, whose ship crashes into farmer Edgar's (Vincent D'Onofrio) truck. Edgar's body is quickly used as a host to an intergalactic giant cockroach who has come to assassinate an alien royal and start interplanetary war. He sort of "deteriorates" along they way, so the talented but hard to place D'Onofrio (Household Saints, Full Metal Jacket) is even harder to place here, as his voice sounds more like Christopher Lloyd's than his own.
There is something joyous about a movie that hits so many marks so well. The dialogue crackles without sagging under innuendo (like Batman & Robin). The opening sequence, accompanied by Danny Elfman's score (great as always), draws you in, and almost every scene succeeds, whether it is involving special effects, sight gags, or truly evocative mise-en-scene (note the later scene in the coroner's office). New York City is used in every outdoor shot, but it is not the New York people are used to seeing in the movies--the Bridge and Tunnel Authority building, the armory on 25th Street, the rotting ruins of the 1964 World's Fair (used in the finale).
Men in Black comes at a perfect time, when UFO movies abound, The X Files is part of the national consciousness, and the Roswell incident celebrates its fiftieth anniversary. It's a relief not to see the "unravelling conspiracy" scenario for the umpteenth time, and it's fun to watch Jones, Smith, Fiorentino, and Torn chew the scenery.
Major Motiion Picture Distractions: Sat next to a man who sucked his teeth and laughed like the cartoon character Muttley. I am sure that explained his sex appeal, as he had a young lady friend in tow. He snacked on pretzel nuggets and spilled salt all over his pants. How dreamy.
Copyright 1997 Seth J. Bookey, New York, NY 10021
http://www.geocities.com/Athens/Acropolis/8588/kino.html
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Toggle navigation
qrSamurai
Code Generator
Paste Bin
Martin Kelm (c) 2015
Save text to paste bin
Send
Thanks
for your input:
No input yet.
Entries


Bob
Downs
- Experienced Webmaster & Developer working with state-of-the-art Web and Windows technologies.
- Performed creative and technical design, development and delivery of a PTO website.
- Proficient with HTML, CSS, WordPress, and MS Office.
- Outstanding communication, organizational and project management skills.


{% block head %}
Dinghy Ping
{% endblock %}
Dinghy Ping
Menu
Networking
Pods
Deployments
Event Stream
{% block content %}{% endblock %}


The following regression output is obtained by backtesting the time period from Jun 2013 to Jun 2016. We can see the results are fairly close to those from the source paper with a R-squared value of 3.1% compared to the paper's 3.89%. Our momentum coefficient, ρ, is 0.0344 compared to the paper's 0.042. We obtained 0.9955 mean reversion coefficient (1 - 0.0045), and the paper got 0.9859.
From these results we can say the limited sample size does not impair the feasibility of this model. The t-stats of the coefficients are -4.074 and 1.417 for the reversal factor and momentum factor respectively. The p-value of the reversal factor is very small which means this factor has a very high significance level.
We performed some rough period sensitivity analysis in different time periods and summarized the results as the following table:
The compound annual returns are quite stable, however, the paper claimed that the average return is 27.5% vs our 11% achieved. This difference can be accounted for by the data time span and currency pairs.


Ingredient Index
About
Contact
menu
Ingredient Index
Check your food for allergens, dietary restrictions, or anything else in the ingredient list.
search
Search Foods
Search
view_list
My Ingredients
▼


Hello World! Simple i18njs example... in
- "Hello World", using tr() directly:
- "Hello {Alice}" (i.e. using a placeholder):
- "You have 3 message(s)" (i.e. using numbers and plurals):
- Hello using jQuery: Hello using jQuery
- You can also use tr() for non-textual localisation:
Back to i18njs site


VITUNES-ADDURL(1) BSD General Commands Manual VITUNES-ADDURL(1) NAME vitunes-addurl -- add a URL (or non-file playable item) to the database SYNOPSIS vitunes -e addurl URL | path DESCRIPTION To add non-standard files to the vitunes(1) database (things like URL's for Internet radio streams), one can use the addurl e-command. It takes a single parameter: the URL or path to be added to the database. Since meta-information can't be extracted automatically for most URL's, it needs to be inputted manually. Fields can be left blank, if wanted. Note that anything mplayer(1) or gstreamer(3) can play may be added. To test if a URL is playable by mplayer(1), simply try the following, and if it plays, it may be added: $ mplayer URL Although regular files could also be added using this e-command, the add e-command is preferred, as it attempts to extract meta-information auto- matically. Note that files added to the database using the addurl e-command are not checked for updates during an update e-command. The addurl e-command can also be used to change the meta-information of an existing URL within the database. EXAMPLES An example of adding an Internet radio stream would look something like the following: $ vitunes -e addurl "http://<IP_ADDRESS>:80" Artist: WVXU Online Radio<ENTER> Album: Cincinnati Public Radio<ENTER> Title: NPR<ENTER> Track: <ENTER> Year: <ENTER> Genre: Radio<ENTER> Length: INF<ENTER> SEE ALSO vitunes(1), vitunes-init(1), vitunes-add(1) NOTES When the vitunes(1) database has to be re-built (because of say, an upgrade where the database format has changed or the database was deleted), re-adding URL's can be tedious. To ease this, consider using a shell script like the add_urls.sh file distributed with vitunes. AUTHORS Ryan Flannery<EMAIL_ADDRESS>BSD January 17, 2015 BSD


--- layout: post status: publish published: true title: "分享我为音协设计的新T-Shirt" author: Leask author_login: leask author_email<EMAIL_ADDRESS>author_url: https://leaskh.com wordpress_id: 388 wordpress_url: http://leaskh.wordpress.com/2006/12/16/%e5%88%86%e4%ba%ab%e6%88%91%e4%b8%ba%e9%9f%b3%e5%8d%8f%e8%ae%be%e8%ae%a1%e7%9a%84%e6%96%b0t-shirt date: '2006-12-16 19:17:18 +0800' date_gmt: '2006-12-16 19:17:18 +0800' categories: - Design tags: [] comments: [] ---


email address
RegExp:
apg-exp:
email address:
RegExp:
apg-exp:
email address:
All phrases captured by all rules are retained along with the index to the first letter where the capture was found. Display of the character
rules,
local-char, sub-domain-char, top-domain-char, alpha, num & special
has been suppressed for clarity. Note that the first rule in the syntax always defines the full phrase to be matched.
result[0]
is simply an alias for compatibility with RegExp.
Note: First-time users are often unclear about how, exactly, that big, multi-line ABNF pattern syntax is introduced into the apg-exp object. The short answer is, exactly the same way that a regular expression is introduced into the RegExp object. It is passed into the constructor as a single string.
var exp = new ApgExp(pattern); var result = exp.exec(str);The only difference between this and constructing a RegExp object is that the pattern syntax is a multi-line string. The ABNF named rules must be on separate lines and end with a newline (continuation lines begin with a space or tab).
executeApgExp()
).
var pattern = ""; pattern += 'email-address = %^ local "@" domain %$\n'; pattern += 'local = local-word *("." local-word)\n'; ...
This syntax is taken from the
Regular Expressions Cookbook
by Goyvaerts and Levithan, pg. 245. Some groupings have been added to capture the local and domain parts (
result[1]
& result[4]
, respectively) and the local, sub-domain and top-domain words.
In the case where a single group captures more than one phrase, only the last capture is retained.
This can be seen in this example with the "local word" and "sub domain" groups,
result[3]
& result[5]
, respectively.
Note that many other languages offer more features and even with RegExp there are good tools for easier use, more features and debugging help. But with native JavaScript RegExp, this is about all you get.


1: <?php
2: namespace Tokamak\Dom;
3:
4: use DOMDocument;
5: use DOMNode;
6: use SplQueue;
7: use Closure;
8:
9: /**
10: * Class Node
11: * @package Tokamak\Dom
12: * An abstraction over a DOMNode, providing a simple API for
13: * building document and component templates by implementing
14: * the render method.
15: * @throws \RuntimeException
16: */
17: abstract class Node
18: {
19: /**
20: * @var string Tokamak will look for components in this namespace if they are not
21: * defined elsewhere.
22: */
23: protected static $COMPONENT_NAMESPACE = '\Tokamak\Dom\Components\\';
24:
25: /**
26: * @var DOMDocument The underlying DOMDocument instance.
27: * Normally created by Tokamak\Dom\Document instance.
28: */
29: protected $dom;
30:
31: /**
32: * @var SplQueue<DOMNode> Queue of dom nodes to be appended to the parent node.
33: */
34: protected $domNodes;
35:
36: /**
37: * Append one Node instance as a child of another.
38: * Must be implemented differently for Element and Component,
39: * because the former is a single element that can have children,
40: * whereas the latter can represent a list of multiple
41: * top-level elements and components. Meanwhile, Document
42: * appends children to the top-level DOMDocument instance.
43: * @param Node $node An Element or Component to be appended.
44: * @return Node Returns the child node for method chaining.
45: */
46: abstract public function append(Node $node);
47:
48: /**
49: * Syntactic sugar for constructing and then appending a new Element.
50: * Abstracts away the need to pass the ancestor DOMDocument to the child.
51: * @param string $name The element name ('div', 'a', 'body', etc.)
52: * @param array $attributes Associative array of the element's attributes and their values.
53: * For "class", the value can also be an array of class names.
54: * @param string $content The text content of the element.
55: * @param Closure $callback A callback closure to be executed within the context of the child node.
56: * Allows a callback-chaining style for building the DOM tree.
57: * @return Element Returns the child Element for method chaining.
58: */
59: public function appendElement($name, array $attributes = null, $content = '', Closure $callback = null){
60: $child = $this->append(new Element($this->dom, $name, $attributes, $content));
61: if(isset($callback)){
62: $boundCallback = $callback->bindTo($child, $child);
63: $boundCallback();
64: }
65: return $child;
66: }
67:
68: /**
69: * Syntactic sugar for constructing and then appending a new Component.
70: * Abstracts away the need to pass the ancestor DOMDocument to the child.
71: * If a user-defined Component class of the requested name is not found,
72: * will look in the Tokamak\Dom\Components namespace for a built-in component
73: * class.
74: * @param string $name The fully-qualified class name of a user-defined Component,
75: * or the name of a Component class in the Tokamak\Dom\Components namespace.
76: * @param array $data Array of arbitrary data/state to be passed to the component
77: * @return Component Returns the child Element for method chaining.
78: * @param Closure $callback A callback closure to be executed within the context of the child node.
79: * Allows a callback-chaining style for building the DOM tree.
80: * @throws \RuntimeException Thrown if $name does not refer to a defined Component class.
81: */
82: public function appendComponent($name, array $data = null, Closure $callback = null)
83: {
84: if (is_a($name, 'Tokamak\Dom\Component', true)){
85: // The specified $name is a subclass of Component
86: $component = new $name($this->dom, $data);
87: } else if (is_a(self::$COMPONENT_NAMESPACE . $name, 'Tokamak\Dom\Component', true)){
88: // The requested component name is a built-in Component
89: $qualifiedName = self::$COMPONENT_NAMESPACE . $name;
90: $component = new $qualifiedName($this->dom, $data);
91: } else {
92: throw new \RuntimeException("Component $name not defined.");
93: }
94: $child = $this->append($component);
95:
96: if(isset($callback)){
97: $boundCallback = $callback->bindTo($child, $child);
98: $boundCallback();
99: }
100:
101: return $child;
102: }
103:
104: /**
105: * Inject an DOMDocument element as the ancestor of this node.
106: * @param DOMDocument $dom
107: */
108: public function setDom(DOMDocument $dom)
109: {
110: $this->dom = $dom;
111: }
112:
113: /**
114: * Get the underlying DOMDocument ancestor instance.
115: * @return DOMDocument
116: */
117: public function getDom()
118: {
119: return $this->dom;
120: }
121:
122: /**
123: * Add a DOMNode to the queue of nodes that will
124: * be appended to this node's parent.
125: * @param DOMNode $node
126: */
127: protected function addDomNode(DOMNode $node)
128: {
129: if(!isset($this->domNodes)){
130: $this->domNodes = new SplQueue();
131: }
132: $this->domNodes->enqueue($node);
133: }
134:
135: /**
136: * Remove a DOMNode from the queue of nodes
137: * to be appended to the parent and return it.
138: * @return DOMNode
139: */
140: public function getDomNode()
141: {
142: if($this->hasDomNodes()){
143: $node = $this->domNodes->dequeue();
144: return $node;
145: } else {
146: return null;
147: }
148: }
149:
150: /**
151: * Does this instance have remaining DOMNode instances
152: * to be appended to the parent?
153: * @return bool
154: */
155: public function hasDomNodes()
156: {
157: if(!isset($this->domNodes)){
158: return false;
159: }
160: return !$this->domNodes->isEmpty();
161: }
162:
163: /**
164: * Called by constructor.
165: * Must be implemented to define the DOM structure
166: * of an element or component. Works by adding
167: * nodes to the domNodes queue, either explicitly
168: * or via calls to Node::append.
169: * @return void
170: */
171: abstract protected function render();
172: }


Tethered virtual reality headsets, also known as desktop VR or PC VR headsets, require a constant connection to a powerful computer and often make use of external sensors or cameras to track the user's position. This helps provide users with high-quality immersion in a virtual environment but, in return, demands a certain amount of setup space (sometimes even a dedicated room) as well as a powerful PC configuration. We detail some of these technical considerations towards the end of this article.
Thanks to a growing public interest for VR and massive investment from giant tech companies, more and more tethered HMDs are available on the market. As it can be challenging to search through this booming market, the goal of this page is to give new users insight on popular brands.
The HTC VIVE, released in 2016, is one of the pioneer VR headsets for PC. It is without a doubt one of the best VR headsets on the market and offers a great price-to-performance ratio. The VIVE headset has it all: room scale, 6DoF controllers with haptic feedback, and comfort.
Pros:
Extensive and positive feedback from the VR community
Comes with VIVE Wand controllers and sensors (lighthouses)
Precise positional tracking
Cons:
VIVE Wand controllers don't have finger tracking
Complex installation/setup
Sony's PlayStation VR headset, commonly known as the PS VR headset, works with PS4 gaming consoles. Its 110 degree FOV OLED display is supported by quite a good refresh rate of 120 Hz, an important spec that may prevent VR motion sickness for some users. The PS VR headset doesn't come with an external camera which is necessary for positional tracking or controllers. These items are available separately, although bundle purchases do exist.
Pros:
Simple setup for users that already own a PS4
High refresh rate
Cons:
Hidden costs camera and controllers sold separately (and PS4)
Positional tracking isn't as good as with another headsets
The HTC VIVE Pro is among the most expensive HMDs on the market. In comparison with the HTC VIVE, the Pro offers a 78% increase in screen resolution, more comfort, and other additional features. One of the best options this headset has to offer is the HTC VIVE Wireless Adaptor, enabling users to benefit from the high-quality specification's PC VR has to offer, without the cables. It is also possible to use the VIVE Pro's two front cameras to experience augmented reality.
Pros:
AR-enabled
Wireless adapter option
Cons:
Doesn't come with controllers or sensors
Requires a very powerful PC
Oculus started out as a Kickstarter campaign back in 2012. Today, the Oculus Rift is one of the top gaming VR headset contenders in the industry.
Pros:
Comes with two 6DoF controllers and two sensors
Extensive and positive feedback from the VR community
Cons:
Screen-door effect
A lot of weight puts on the face
The HMD Odyssey is a Windows Mixed Reality headset from Samsung, South Korea's tech giant. To be clear, this headset is compatible with virtual reality, and not mixed reality (Windows' Mixed Reality content platform name can be misleading). This VR headset is quick and easy to install, as it doesn't require any external sensors or cameras to detect its position. The Odyssey boasts AMOLED displays, contrary to most of its Windows MR counterparts that feature LCD screens.
Pros:
Inside-out tracking without external sensors
Built-in microphones and headphones
Cons:
Doesn't come with controllers
No flip-up visor (vs. other Windows MR headsets)
This video showcases the possibilities of entering alternate worlds with the very popular HTC Vive


Presented by Digicape
What you can expect from Digicape’s all-week Black Friday specials
by PartnerConsumers looking to score amazing deals on a variety of Apple products and more can look to Apple Premium Reseller Digicape all week leading up to Black Friday.
Known for its expert Apple advice and superior technical support, Digicape has fantastic offers that run from 25-29 November 2019, while limited stocks last.
There will also be daily spot deals on Digicape’s Facebook and Instagram pages, therefore be sure to follow to take advantage of these great deals.
The local Apple expert also offers finance solutions, which makes owning the latest device easier and more affordable. The solutions include financing the purchase of your device, software and accessories, over a fixed period.
In addition, they offer a trade-in service where you are able to put old devices to good use by trading them in at any Digicape store and using the money to purchase anything new.
Please see below for a great deals on offer all week leading to Black Friday.
Thule Enroute 2 Daypack – R799 (Click here)
Protect your MacBook with the trusted Thule Enroute 2 – not only is it stylish, it cleverly safeguards items such as your phone, sunglasses or other valuables in SafeZone compartments with hidden pockets.
The Thule Enroute 2 Daypack is available for R799 and you save R500
MacBook Pro – R15,999 (Click here)
The MacBook Pro is fast, powerful, remarkably thin and feather-light. It has a bright & colourful display and offers an impeccable blend of power and affordability.
Get the MacBook Pro this Black Friday at a great price of R15,999.
Harry Potter Kano Coding Kit – R499 (Click here)
Get your kids excited about coding with the magic of Harry Potter through the Kano Coding Kit. Kids will learn about coding by building a wand that responds to your movements – they can make objects on the screen levitate.
Harry Potter Kano Coding Kit is available for only R499, with a whopping R1,500 saving.
Apple TV – R1,999 (Click here)
Take your home entertainment to the next level with the Apple TV. It offers a world of endless viewing, music and gaming pleasure!
Take home the Apple TV for R1,999 this Black Friday.
AirPods – R1,999 (Click here)
The 2nd generation AirPods combine smart design with breakthrough technology and crystal-clear sound. The AirPods come with a wireless charging case for quick & easy charging.
The AirPods with the Charging Case is yours for R1,999, saving you R700.
Find these and other fantastic Black Friday deals on Digicape’s website and social media platforms.
This article was published in partnership with Digicape.


The price of fuel at service stations varies tremendously, both in space - across the large Australian state of New South Wales, and time - with surprising patterns. In this post I begin my quest to understand how fuel price varies, what factors explain its fluctuation over time and spatial variation. Obviously it would be nice to be able to know where to drive for cheaper fuel (what kind of areas are cheaper?), and when to fill up (should I wait until Thursday?).
Since August 2016, the NSW government runs the FuelCheck service, which allows monitoring of fuel prices in real time. Several apps tap into this publicly available API, allowing users to find the cheapest fuel in the neighborhood, or inspect some simple graphs of fuel price over time.
As an additional service, (nearly) daily prices of all types of fuel, all brands of service stations, and all locations across the state can be downloaded from the NSW Data portal, currently from August 2016 to October 2017. The dataset contains over one million records, for over 2000 service stations, and 11 fuel types.
This is the first in a series of posts on this hobby project to find out if we can predict fuel prices in space and time. What I want to know is:
Is fuel cheaper on a particular day of the week? It is a widely-held belief that fuel prices are more expensive on the day that everyone receives their weekly paycheck (Thursday), but do the data support this?
Across the state, how does fuel price vary and why? Quick inspection of the data shows that remote areas are more expensive; how do we summarize that, and what else matters? As roughly 5 out of 7.5 million people in NSW live in the Sydney metropolitan area - that is two thirds of the population on 1.5% of the land area - I will look at Sydney and non-Sydney data separately for much of this analysis.
Instead of just showing results, these posts are very much about getting into the details of the R code to generate them. I will use dplyr
, forcats
, ggplot2
, deldir
(Voronoi polygons), SDraw
(better Voronoi polygons), oz
(quick maps of Australia), rgeos
, and magicaxis
throughout the code.
But before we get started, here is a taste of what’s to come:
The data show an interesting fluctuation in fuel prices, which can be viewed on this official site as well, but the fluctuations are on much longer timescales than weekly. Zooming in on a two-month period in 2017, we see the peculiar pattern of a very sudden jump in fuel prices, followed by a gradual decline over the period of a month or so.
The FuelCheck service in New South Wales, Australia, provides real-time data on fuel prices at service stations across the state. This page contains information, as well as monthly files containing fuel prices for all service stations, for all fuel types. The first step is to download all xlsx
files, and save them locally. We then use readxl
to read them all, and dplyr
to tidy things up.
pacman::p_load(readxl, dplyr, lubridate, ggmap,
SDraw, deldir, sp, rgeos, geosphere,
janitor, magicaxis)
And then
# Don't have to run this, since the clean raw data is bundled
# in the fuelpricensw package (github: remkoduursma/fuelpricensw)
if(FALSE){
readx <- function(x){
res <- read_excel(x)
if(names(res)[2] == "X__1"){
res <- read_excel(x, skip=1)
}
res <- mutate(res, Postcode = as.numeric(Postcode))
if("FuelType" %in% names(res)){
res <- rename(res, FuelCode = FuelType)
}
return(res)
}
fuel <- lapply(dir("rawdata", pattern="xlsx", full.names = TRUE), readx) %>%
bind_rows %>%
mutate(DateTime = ymd_hms(PriceUpdatedDate),
Date = as.Date(DateTime)) %>%
dplyr::select(-PriceUpdatedDate) %>%
filter(Price < 500)
}
You can skip this step as I have bundled the clean dataset in the R package fuelpricensw
, which is available on this Github repos.
devtools::install_github("remkoduursma/fuelpricensw")
library(fuelpricensw)
data(fuel)
The remainder of this first part on fuel price analysis will look at the spatial component of fuel prices, and we will calculate some spatial features based on the locations of the service stations. The first step, then, is to get the latitude and longitude for each station based on the address.
Here I used Google’s geocode service, as made easily available in the ggmap
package. The service does not always return a proper result, even though when typing in the same address in maps.google.com
might give the right address.
latcache <- "data/Fuel_NSW_addresses_latlon.csv"
if(!file.exists(latcache)){
# Unique addresses to look up.
addr <- unique(fuel$Address)
# After some failures, I found that extra info between () messes with
# the geocode service. Remove them.
addr_re <- gsub("\\(.+\\)", "", addr)
# Get rid of "Cnr of ...,", but not when address starts with it.
addr_re <- gsub("(.+)(Cnr.+,)", "\\1", addr_re)
# Add Australia though it seems unnecessary
addr_re <- paste(addr_re, "Australia")
# Now run the service.
gcres <- geocode(addr_re, output="latlon")
# Code not shown: run code twice on separate days,
# since we go over the API use limit.
write.csv(gcres, latcache, row.names=FALSE)
}
The next step is to get rid of USA addresses, since when geocode does not find a good match, Google returns some random address in the USA (even when we paste ‘Australia’ at the end!). Better approaches exist here, like the geonames service to find the country code, and filter that way, but here this suffices.
locs <- read.csv(latcache, stringsAsFactors = FALSE) %>%
filter(lon > 120) %>%
dplyr::select(-Address_geo)
Suppose you drive up to a service station and wonder, what if I drive to the next station because it might be cheaper? If there are many choices for you, competition between service stations will be more intense and we should see a lower price at the pump. The next step is then to calculate the distance to the nearest station, as a potential predictor for fuel price.
library(sp)
library(rgeos)
library(geosphere)
# Copy of simple dataframe 'locs', to a SpatialPointsDataframe.
# Note how we assign new variables to 'locs', which is a simple
# dataframe.
locs_sp <- locs
coordinates(locs_sp) <- ~lon+lat
# From geosphere, the correct way to calculate distances between spatial coordinates.
geo_dist <- distm(locs_sp)
# How many other service stations <5km away
countd <- function(x, dist)length(x[x < dist])
locs$nr_5km <- apply(geo_dist, 1, countd, d = 5000)
# Dist to nearest service station
min2 <- function(x)min(x[x > 0]) # exclude self; x > 0
locs$dist_1 <- apply(geo_dist, 1, min2)
The distance to the nearest next service station peaks at 1km (1000m). The most remote service station appears to be 28 Columbus Street, Ivanhoe NSW 2878, though recall that geocoding failed for some stations, so we don’t have distance to all stations.
hist(log10(locs$dist_1), breaks=100, axes=FALSE,
main="", col="cornflowerblue",
xlab="Distance to nearest service station (m)")
magicaxis::magaxis(side=1, unlog=1)
axis(2)
Related to the above is the idea that each station ‘serves’ a particular area of the state. Think of a polygon around each service station, if you are inside this polygon then that service station is the closest to your location. These polygons are known as Voronoi polygons, and are easily computed in R.
library(deldir)
voro_plain <- deldir(locs$lon, locs$lat)
I say easily, but the edge effects are massive! Clearly this is not the desired result, and as always a reminder to always visualize your analysis to make sure you did not do something stupid.
par(mar=c(3,3,1,1))
plot(voro_plain, wlines="tess", wpoints="real",
lty=1, col=c("black","grey","red","black","black"),
cex=0.6, xlab="", ylab="")
box()
Instead we will use the New South Wales border to trim the Voronoi polygons. This is not an ideal solution either, since stations will be competing with stations on the other side of each border (for which we have no data), but it is an improvement on the above.
# Make NSW polygon
# Similar to oz::oz(), but coordinates are ordered by state.
oz2 <- read.csv("http://www.remkoduursma.com/files/ozdata.csv")
nsw <- filter(oz2, state == "NSW") %>%
dplyr::select(long, lat) %>% as.data.frame
# Convert to SpatialPolygonsDataframe
coordinates(nsw) <- ~long + lat
nswp <- Polygon(nsw)
nswpg <- SpatialPolygons(list(Polygons(list(NSW=nswp), "NSW")))
# Using a zero-width buffer cleans up many topology problems in R.
nswpg <- rgeos::gBuffer(nswpg, byid=TRUE, width=0)
# We use the coordinates returned by voronoi to assign voronoi
# areas for each service station, because for some reason a few dozen
# polygons cannot be computed (so simple cbind is not possible).
coorsx <- voro_plain$summary[,c("x","y")]
coordinates(coorsx) <- ~x+y
# Voronoi polygons with a
library(SDraw)
vp <- voronoi.polygons(coorsx)
voro_buffer <- gIntersection(vp, nswpg, byid=TRUE)
# Now lookup area of each polygon
# We have to do this the hard way, because not all polygons
# are returned (perhaps some failed?).
get_area <- function(point, spoly){
g <- gContains(spoly, point, byid=TRUE)
if(any(g)){
pol <- spoly[which(g)]
if(!is.null(pol)){
geosphere::areaPolygon(pol)
}
} else {
NA
}
}
# Loop through points, look up Voronoi polygon areas.
# Note that `apply` won't work with a SpatialPointsDataframe,
# at least not like this.
area <- c()
for(i in 1:length(locs_sp))area[i] <- get_area(locs_sp[i,], spoly=voro_buffer)
# Add to 'locs' dataframe with locations of Service Stations.
locs$area_voronoi <- area
plot(voro_buffer, col="lightgrey")
with(locs, points(lon, lat, pch=16, col=scales::alpha("red",0.5), cex=0.5))
The figure below shows each service station, colored by the ‘area served’ (i.e. the area of the Voronoi polygon), with more yellow indicating smaller areas.
library(ggmap)
nsw_map <- get_map(c(lon = 147.5, lat = -32.5),
source = "google", zoom=6, maptype="terrain")
## Map from URL : http://maps.googleapis.com/maps/api/staticmap?center=-32.5,147.5&zoom=6&size=640x640&scale=2&maptype=terrain&language=en-EN&sensor=false
ggmap(nsw_map) +
geom_point(aes(x=lon, y=lat, col=log10(area_voronoi+1)), data=locs) +
scale_colour_gradientn(colours=rev(heat.colors(10))) +
theme(legend.position = "none") +
geom_path(aes(x=long, y=lat), data=as.data.frame(nsw), col="darkgrey", lwd=0.6) +
labs(x="", y="", caption="Service stations coloured by area served (Voronoi polygons)")
Eventually I want to build a model that predicts fuel price based on location, and time of year. To do so, we have to start adding some features of interest. The Atlas of Living Australia provides a ‘remoteness index’, which seems interesting since at first sight fuel prices are much higher for more remote locations. Though the ALA provides API services, I did this the quick way by visiting this page, uploading a CSV with lat and long, and downloading a CSV file with a remoteness index, and the distance to coast. You can read more about how the (unitless) remoteness index is calculated here.
library(dplyr)
library(janitor)
# Subset of one date, to get unique locations only.
# The ALA service wants a Date added to the dataframe,
# since remoteness is a time-dependent variable.
locsub <- filter(locs, lon, lat) %>%
mutate(eventDate = "2016-6-1")
# Save to disk...
write.csv(locsub, "data/NSW_fuel_locations_lonlatonly.csv", row.names=FALSE)
# ... so that it can be uploaded at the ALA:
# http://spatial.ala.org.au/webportal//#
# See that page for help on how to select variables. I just picked
# 'remoteness', and distance to coast, which I saved again locally:
remo <- read.csv("data/NSW_fuel_ALA_remoteness_locations.csv", stringsAsFactors = FALSE) %>%
clean_names %>%
dplyr::select(locality, latitude_original, longitude_original,
remoteness_index, distance_to_coast) %>%
rename(Address = locality,
lat = latitude_original,
lon = longitude_original,
remoteness = remoteness_index,
dist_to_coast = distance_to_coast) %>%
mutate(dist_to_coast = 100 * dist_to_coast)
write.csv(remo, "data/NSW_fuel_ALA_remoteness_locations_cleaned.csv", row.names=F)
# And merge onto 'locs'.
remo_m <- dplyr::select(remo, Address, remoteness, dist_to_coast)
locs <- left_join(locs, remo_m, by="Address")
A plot of New South Wales, where every service station is colored by its ‘remoteness index’,
# Figure
library(oz)
oz(sections=c(4, 13:15), col="darkgrey")
cols <- colorRampPalette(c("yellow","darkorange","red"))(10)
with(locs,
points(lon,lat, pch=21, cex=0.95, col="white",
bg=cols[cut(log(remoteness+1), 10)]))
title(main = "Darker colour = more remote", line=1, cex.main=0.8,
adj=0, font.main=3)
Shares some features with the median fuel price, which I first calculate for each service station:
u91_mean_dat <- filter(fuel, FuelCode == "U91") %>%
group_by(Address) %>%
dplyr::summarize(Price = median(Price, na.rm=TRUE),
lon = first(lon), lat=first(lat),
Brand = first(Brand),
remote = mean(remoteness),
nr_5km = mean(nr_5km),
dist_1 = mean(dist_1)
) %>%
filter(Price < 160) %>%
mutate(Brand = forcats::fct_lump(as.factor(Brand), 6))
And finally we see some relationship between the median fuel price recorded for each station (for just U91 fuel, for now), and the remoteness index of the station. We also see some effect of the brand, with ‘Metro Fuel’ (which serves Sydney, Newcastle mostly) the cheaptes, and Coles Express quickly becoming expensive in slightly more remote locations.
ggplot(u91_mean_dat, aes(x=remote, y=Price, group=Brand, col=Brand)) +
geom_point() +
geom_smooth(method="lm", se=F) +
theme_bw() +
theme(
legend.position = c(.95, .05),
legend.justification = c("right", "bottom"),
legend.box.just = "right",
legend.margin = margin(6, 6, 6, 6)
) +
scale_colour_manual(values=RColorBrewer::brewer.pal(7,"Set3")) +
labs(x="Remoteness index", y="Median fuel price (U91) ($ cents)")
We see another interesting relationship with the number of service stations in a 5km radius; the fuel price drops quickly when more service stations are added. However, there is a lot of variation particularly for low number of stations. Presumably other factors like distance from the supplier, affluence of the region, will come into play as well.
So far, I spent most of my time cleaning and organizing the data, obtaining spatial coordinates of the stations, and some basic exploration of spatial patterns. I was able to show that fuel is cheaper in less remote, more competitive environments - but many questions remain on what drives the variation in fuel prices. To be continued.


Kristen Stewart a punk princess for the Charlie's Angels premiere in London
Kristen Stewart gave us punk princess gold as she posed away in a coat with her co-stars during the Charlie’s Angels premiere in London.
The actress, 29, told us all whose boss as she confidently strutted down the red carpet for cameras wearing her signature smoky eye and gelled back short hair.
She definitely looked like one of Charlie’s Angels in a sparkly black bardot gown, and she was quick to put on her coat after taking photos because – it is winter after all.
Kristen was joined by her co-stars Ella Balinska, Naomi Scott and Elizabeth Banks who also kept to the theme of intimidating but sexy businesswoman in their black attires.
Naomi swept the red carpet as she rocked a latex bodysuit and looked every bit the glamorous cat burglar.
She wore Richard Quinn’s Devil Dress and the name is fitting so well now.
What better way to prove a fashion point than to finish off the look in some Christian Louboutin’s.

The dress was backless and was accessorised with diamond chains keeping it together.
It seems like all three Angels never got out of character as they looked like they were still in their elaborate disguises before the usual intense fight scene appeared
It was recently revealed that Elizabeth – who donned a classy black dress – was so ill during shooting they almost had to shut down production.
But when you’re an Angel, that’s not an option.
The make-up artist for the film, Melanie Hughes-Weaver, told Metro.co.uk: ‘There was a scene where Banks was working and she had a 103 fever (39.5°C) and was directing and acting in the scene.’
Advertisement Advertisement
‘There was an explosion and Sabina (played by Kristen) was being treated for some wounds. Banks’ character comes walking in.
‘Like, she’s got a 103 fever and literally laying down (between takes) and we were trying to determine whether we should shut down production. She was so ill and going for it while on camera.’
Got a showbiz story?
If you've got a story, video or pictures get in touch with the Metro.co.uk Entertainment team by emailing us<EMAIL_ADDRESS>calling 020 3615 2145 or by visiting our Submit Stuff page - we'd love to hear from you.


|
||||||||||
| PREV NEXT | FRAMES NO FRAMES |
| Packages that use ValueProducingTagIF | |
|---|---|
| net.ontopia.topicmaps.nav2.taglibs.logic | Logic tags, which define the execution context, modify the context, and control the flow of execution. |
| net.ontopia.topicmaps.nav2.taglibs.TMvalue | Value-producing tags, which extract information from the topic map and insert it into the execution context. |
| net.ontopia.topicmaps.nav2.taglibs.value | General (Topic Map independent) value-producing tags, which provide mainly set manipulation operations on collections. |
| Uses of ValueProducingTagIF in net.ontopia.topicmaps.nav2.taglibs.logic |
|---|
| Classes in net.ontopia.topicmaps.nav2.taglibs.logic that implement ValueProducingTagIF | |
|---|---|
class |
IfTag
INTERNAL: Logic Tag for iterating over each object in a collection, creating new content for each iteration. |
| Uses of ValueProducingTagIF in net.ontopia.topicmaps.nav2.taglibs.TMvalue |
|---|
| Classes in net.ontopia.topicmaps.nav2.taglibs.TMvalue that implement ValueProducingTagIF | |
|---|---|
class |
AssociatedTag
INTERNAL: Value producing tag that finds all the topics associated with this the topics in the input collection, subject to some constraints. |
class |
AssociationsTag
INTERNAL: Value Producing Tag for finding all the associations of all the topics or association roles in a collection. |
class |
ClassesOfTag
INTERNAL: Value Producing Tag for finding all the classes of all the objects in a collection. |
class |
FilterTag
INTERNAL: Value Producing Tag for taking an input collection and filtering it, passing only some of the elements on to its parent (could be a set tag or another filter element). |
class |
FulltextTag
INTERNAL: Tag used for executing fulltext queries and producing ranked list of topic map objects. |
class |
IndicatorsTag
INTERNAL: Value Producing Tag for finding all the subject indicators (as LocatorIF objects) of all the topics in a collection. |
class |
InstancesTag
INTERNAL: Value Producing Tag for finding all the instances of all the objects in a collection. |
class |
LocatorTag
INTERNAL: Value producing and value accepting tag of retrieving the locators of OccurrenceIF and VariantNameIF instances. |
class |
LookupTag
INTERNAL: Value Producing Tag for looking up objects by their subject address, subject indicator, source locator, or object id. |
class |
NamesTag
INTERNAL: Value Producing Tag for finding all the base names of all the topics in a collection. |
class |
NameTag
INTERNAL: Value Producing Tag for finding the most appropiate name for each of all the topics in a collection. |
class |
OccurrencesTag
INTERNAL: Value Producing Tag for finding all the occurrences of all the topics in a collection. |
class |
ReifiedTag
INTERNAL: Finds the topic map objects which are reified by topics in the input collection. |
class |
ReifierTag
INTERNAL: Finds the reifying topic of each topic map object in a collection. |
class |
RolesTag
INTERNAL: Value Producing Tag for finding all the association roles of all the topics and associations in a collection. |
class |
ScopeTag
INTERNAL: Value Producing Tag for finding all themes in the scope of all the objects in a collection. |
class |
SourceLocatorsTag
INTERNAL: Value Producing Tag for finding all the source locators (as LocatorIF objects) of all the topic map objects in a collection. |
class |
SplitterTag
INTERNAL: Value Producing Tag for creating a collection of strings (which are representing the first character of a TopicNameIF object) of all the objects in a collection of TopicNameIF objects. |
class |
SubclassesTag
INTERNAL: Value Producing Tag for finding all the subclasses of the topics in a collection. |
class |
SubjectAddressTag
INTERNAL: Value Producing Tag for finding the subject address (as LocatorIF objects) of all the topics in a collection. |
class |
SuperclassesTag
INTERNAL: Value Producing Tag for finding all the superclasses of the topics in a collection. |
class |
TologQueryTag
INTERNAL: TologQueryTag evalutes a tolog query and returns a collection of maps. |
class |
TopicsTag
INTERNAL: Value Producing Tag for finding all the topics of all the topic map objects (allowed instances are TopicMapIF, TopicIF, AssociationRoleIF, AssociationIF, TopicNameIF, VariantNameIF and OccurrenceIF) in a collection. |
class |
VariantsTag
INTERNAL: Value Producing Tag for finding all variant names related to the objects in a collection (can be either objects of classes TopicNameIF, TopicIF or TopicMapIF). |
| Uses of ValueProducingTagIF in net.ontopia.topicmaps.nav2.taglibs.value |
|---|
| Classes in net.ontopia.topicmaps.nav2.taglibs.value that implement ValueProducingTagIF | |
|---|---|
class |
BaseScopedTag
INTERNAL: Abstract Base class for value producing and accepting tags which are taking the context filter into account. |
class |
BaseValueProducingAndAcceptingTag
INTERNAL: Abstract super-class of a tag that is both value-producing and value-accepting. |
class |
BaseValueProducingTag
INTERNAL: Abstract super-class of an Value-Producing Tag. |
class |
CopyTag
INTERNAL: Value Producing Tag for copying another collection. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES |


Class: Aws::ServiceDiscovery::Types::Operation
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Struct
|
|
|
Instance Chain:
self,
::Aws::Structure ,
Struct
|
|
| Inherits: |
Struct
|
| Defined in: | gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb |
Overview
A complex type that contains information about a specified operation.
Constant Summary
Instance Attribute Summary
-
#create_date ⇒ Time
rw
The date and time that the request was submitted, in Unix date/time format and Coordinated Universal Time (UTC).
-
#error_code ⇒ String
rw
The code associated with
ErrorMessage
. -
#error_message ⇒ String
rw
If the value of
Status
isFAIL
, the reason that the operation failed. -
#id ⇒ String
rw
The ID of the operation that you want to get information about.
-
#status ⇒ String
rw
The status of the operation.
-
#targets ⇒ Hash<String,String>
rw
The name of the target entity that's associated with the operation:
-
#type ⇒ String
rw
The name of the operation that's associated with the specified ID.
-
#update_date ⇒ Time
rw
The date and time that the value of
Status
changed to the current value, in Unix date/time format and Coordinated Universal Time (UTC).
Instance Method Summary
::Aws::Structure
- Included
| #to_hash | Alias for Aws::Structure#to_h. |
Instance Attribute Details
#create_date ⇒ Time
(rw)
The date and time that the request was submitted, in Unix date/time
format and Coordinated Universal Time (UTC). The value of
CreateDate
is accurate to milliseconds. For example, the value
1516925490.087
represents Friday, January 26, 2018 12:11:30.087
AM.
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 2118
class Operation < Struct.new( :id, :type, :status, :, :error_code, :create_date, :update_date, :targets) SENSITIVE = [] include Aws::Structure end
#error_code ⇒ String
(rw)
The code associated with ErrorMessage
. Values for ErrorCode
include the following:
ACCESS_DENIED
CANNOT_CREATE_HOSTED_ZONE
EXPIRED_TOKEN
HOSTED_ZONE_NOT_FOUND
INTERNAL_FAILURE
INVALID_CHANGE_BATCH
THROTTLED_REQUEST
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 2118
class Operation < Struct.new( :id, :type, :status, :, :error_code, :create_date, :update_date, :targets) SENSITIVE = [] include Aws::Structure end
#error_message ⇒ String
(rw)
If the value of Status
is FAIL
, the reason that the operation
failed.
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 2118
class Operation < Struct.new( :id, :type, :status, :, :error_code, :create_date, :update_date, :targets) SENSITIVE = [] include Aws::Structure end
#id ⇒ String
(rw)
The ID of the operation that you want to get information about.
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 2118
class Operation < Struct.new( :id, :type, :status, :, :error_code, :create_date, :update_date, :targets) SENSITIVE = [] include Aws::Structure end
#status ⇒ String
(rw)
The status of the operation. Values include the following:
SUBMITTED
: This is the initial state that occurs immediately after you submit a request.
PENDING
: Cloud Map is performing the operation.
SUCCESS
: The operation succeeded.
FAIL
: The operation failed. For the failure reason, see ErrorMessage
.
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 2118
class Operation < Struct.new( :id, :type, :status, :, :error_code, :create_date, :update_date, :targets) SENSITIVE = [] include Aws::Structure end
#targets ⇒ Hash
<String
,String
> (rw)
The name of the target entity that's associated with the operation:
NAMESPACE
: The namespace ID is returned in the ResourceId
property.
SERVICE
: The service ID is returned in the ResourceId
property.
INSTANCE
: The instance ID is returned in the ResourceId
property.
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 2118
class Operation < Struct.new( :id, :type, :status, :, :error_code, :create_date, :update_date, :targets) SENSITIVE = [] include Aws::Structure end
#type ⇒ String
(rw)
The name of the operation that's associated with the specified ID.
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 2118
class Operation < Struct.new( :id, :type, :status, :, :error_code, :create_date, :update_date, :targets) SENSITIVE = [] include Aws::Structure end
#update_date ⇒ Time
(rw)
The date and time that the value of Status
changed to the current
value, in Unix date/time format and Coordinated Universal Time
(UTC). The value of UpdateDate
is accurate to milliseconds. For
example, the value<PHONE_NUMBER>.087
represents Friday, January 26,
2018 12:11:30.087 AM.
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 2118
class Operation < Struct.new( :id, :type, :status, :, :error_code, :create_date, :update_date, :targets) SENSITIVE = [] include Aws::Structure end


Feeling a bit lost with what this tool can be used for?
Installing overlays should be pretty straightforward. If it's not, please open an issue
on the GitHub project.
For the rest, read on.
An example of typical usage
Let's say you want to play some arcade classics on your Raspberry Pi using Retropie or Recalbox:
On the main menu, select Manage games list, then Download a pre-build CSV file.
FBA is the preferred emulator by default, so click on FBA 2017.
If you have a game pad with analogue sticks (like Xbox or Playstation), download set-classics-pad.
Otherwise, download set-classics-stick.
Go back to the main menu, and select Manage roms.
If you have a full FBA romset somewhere, select Copy listed roms from a full romset.
If you already have a large selection of working games on your pi, and want to trim it down, select
Keep only the roms listed.
Select the CSV file you previously downloaded, fill the folders as required (target \\retropie\roms\fba
or \\recalbox\share\roms\fba), then enjoy your great-but-smaller games selection.
FBA is great, but it's missing a few games and systems, like vector games (Asteroids...). If you don't want to miss anything:
Go back to downloading games list, but choose MAME 2003 only as the system.
Go back to managing roms, and do the same steps, using a MAME 2003 romset and target folder
(\\retropie\roms\mame-libretro or \\recalbox\share\roms\mame).


| ||||
Standard actions concerning the actor's vision
Looking , Examining , Looking under , Searching , Consulting it about
Examining something (requires light) (past tense examined)
The act of looking closely at
something. Note that the noun could be either a direction or a thing, which
is why the Standard Rules include the 'examine directions rule' to deal with
directions: it simply says 'You see nothing unexpected in that direction.'
and stops the action. (If you would like to handle directions differently,
list another rule instead of this one in the carry out examining rules.)
Some things have no description property, or rather, have only a blank text
as one. It's possible that something interesting may be said anyway (see
the rules for directions, containers, supporters and devices), but if not,
we give up with a bland response. This is done by the examine undescribed
things rule.
Typed commands leading to this action
"look at [something]"
"look [something]"
"examine [something]"
"read [something]"
Named values belonging to this action
examine text printed - truth state
Rules controlling this action
before asking someone to try doing something when the person asked is not the current interlocutor giving orders needs an interlocutor rule name unlist
NB: the change greeting command to greeting rule is listed before the giving orders needs an interlocutor rule in the before rulesinstead of examining the flowers
instead of examining the notebook
instead of examining the crucifix
instead of examining the rosary
instead of examining the postcard
instead of examining museum key
instead of examining murderous meatball
instead of examining your eyes
instead of examining Deacon's car
instead of examining or taking the souvenir bible
instead of examining or opening the register
instead of eating or examining donut
carry out examining something visible mark items as seen on examining rule name unlist
carry out standard examining rule name unlist
carry out examine directions rule name unlist
carry out examine containers rule name unlist
carry out examine supporters rule name unlist
carry out examine devices rule name unlist
carry out examine undescribed things rule name unlist
report an actor examining report other people examining rule name unlist


This review can be found on the WWW at Bookhouse's Previews of Upcoming Movies (http://www.geocities.com/Hollywood/Theater/3181/mulan.html)
MULAN Reviewed by Greg Dean Schmitz
I went into Mulan with high expectations, due mostly to the sweeping ads we've been seeing for months, and my own hopes that Disney could make an animated movie that didn't talk down to the audience, and I wasn't disappointed. Mulan matches all expectations and exceeds them, returning to the qualities that we can see in Disney's classic era of animated films, sitting alongside Snow White and the Seven Dwarves as one of Disney's best ever. The key to Disney's success in the animated-musical field has always been their ability to market their films to both children and to the grown-ups who will take the children to the movie. With Mulan, Disney ups this angle quite a bit by instead making a grown-up movie that the kids can like as well, rather than the other way around.
Mulan succeeds because it never talks down to the audience, and doesn't paint needless stereotypes or use stock characters in unoriginal ways. Mulan features a wide smorgasboard of great supporting characters, none of which over-dominate the film, and all of which give us just enough entertainment to leave us thirsty for more of them. This applies to everyone from Mulan's dog, Mulan's grandmother, and the cricket she gives Mulan, Mulan's ancestors (including a great voice-over from George Takei), Mulan's comrades-in-arms, Mulan's captain, the barbarian bad-guy, and many more. All of the supporting characters are there to support Mulan, letting her shine, and she does, as a truly heroic female character who does not rely on old stereotypes to win our hearts. She's not a tom-boy, she's not a egg-head, she's not shy, she's not egotistic; Mulan is as close as Disney has ever come to having a believable, human character, and she is also Disney's first true hero who succeeds on her own terms and her own merits. She succeeds not because she reacts to the events of her life, she succeeds because she is the active figure driving the whole story, in exciting, thrilling scenes, and well-considered character scenes. Finally, there is Eddie Murphy as Mushu, who provides nice measured amounts of comic relief and cute asides to Mulan (and us) that give this drama just enough humor to please us all.
The film works as well because the story and art work together to give us an unified vision of a China that melds smoothly with what we might already know, without painting wild, offensive stereotypes, and without Westernizing the characters. Mulan goes against tradition with the full knowledge that it could mean her own death in several ways, but she does it not out of heroic pride, but out of the driving need to protect the family honor. This theme, and the plot and character elements that instill it all appear to be firmly loyal to legends and traditions that you can see in many of the great Chinese and Japanese film classics, such as The Seven Samurai. Finally, the art and music works in Mulan in smooth ways we've not seen from Disney in over 30 years. There is a smoothness to the characters, the backgrounds and the musical numbers that melts evenly from scene to scene. Musical numbers in other Disney films often seem forced, but in Mulan, they come and go nearly without us noticing, and they all make perfect sense within the story, adding a lot to the story. A favorite of mine, in particular, is a musical number about halfway through that features the soldiers singing about how much women love fighting men, as the number is done in Chinese-character style calligraphical art, and it really works.
For somehow combining elements of Asian legend, stirring action, inticing and vibrant characters, and somehow making a film that can appeal to nearly anyone in any family, Mulan very quickly earns it's place as possibly the best film Disney studios has ever made, and certainly the best in their last 30 years. If you and your family see only one movie this Summer, Mulan could be that movie.
Greg Dean Schmitz Bookhouse's Previews of Upcoming Movies http://www.geocities.com/Hollywood/Theater/3181/<EMAIL_ADDRESS>The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


"Judy helped me to be positive with others even when my eating disorder pulled me into negativity. She created an atmosphere of hope and freedom. I couldn't have hoped for a better experience after so many failed attemps at other places."
— L. G.
"Judy helped me to be positive with others even when my eating disorder pulled me into negativity. She created an atmosphere of hope and freedom. I couldn't have hoped for a better experience after so many failed attemps at other places."
— L. G.
"I did not think there was a therapist out there that was ever going to fill my void of emotional support. I found that "perfect" support with Judy. It was an experience unlike any other and has been a key component to the success of my recovery today."
— M. S.
— M. J.
— M. K.
— N. A.
— B. K.
"I met Judy when I was in one of the lowest seasons of my life. I am someone who has been in and out of 30+ therapists offices and teatment programs in my lifetime and I was beginning to feel like I would never find someone who would actually help me. During my first session with Judy, I knew my time with her would be different to any other therapy experience I'd had up until that point. She is not afraid of thinking outside of the box in order to help me find freedom from depression, anxiety, OCD, and my eating disorder. Meeting with Judy is one of the best things that has ever happened to me. I'll keep seeing her until she literally tells me to stop coming back!"
— H. M.


public interface RichTextWriter extends AutoCloseable
| Modifier and Type | Interface and Description |
|---|---|
static class |
RichTextWriter.CaptionPosition
Enum of available positions to place the caption of a file hotspot
|
| Modifier and Type | Method and Description |
|---|---|
RichTextWriter |
addAttachmentIcon(Attachment att,
String captionTxt) |
RichTextWriter |
addAttachmentIcon(Attachment att,
String filenameToDisplay,
String captionText,
FontStyle captionStyle,
RichTextWriter.CaptionPosition captionPos,
int captionColorRed,
int captionColorGreen,
int captionColorBlue,
int resizeToWidth,
int resizeToHeight,
Path imagePath) |
RichTextWriter |
addAttachmentIcon(String attachmentProgrammaticName,
String captionTxt) |
RichTextWriter |
addAttachmentIcon(String attachmentProgrammaticName,
String filenameToDisplay,
String captionText,
FontStyle captionStyle,
RichTextWriter.CaptionPosition captionPos,
int captionColorRed,
int captionColorGreen,
int captionColorBlue,
int resizeToWidth,
int resizeToHeight,
InputStream imageData) |
RichTextWriter |
addCollectionLink(DominoCollection collection,
String comment)
This function inserts a DocLink for the specified
DominoCollection . |
RichTextWriter |
addDatabaseLink(Database db,
String comment)
This function inserts a DocLink for the specified
Database . |
RichTextWriter |
addDocLink(Document doc,
String comment)
This function inserts a DocLink for the specified
Document . |
RichTextWriter |
addDocLink(String dbReplicaId,
String viewUnid,
String docUNID,
String comment)
This function inserts a DocLink using manual values.
|
RichTextWriter |
addFileResource(InputStream is,
long length)
Adds the provided stream as a file resource into this rich text writer.
|
default RichTextWriter |
addFileResource(Path file)
Adds the provided file as a file resource into this rich text writer.
|
RichTextWriter |
addImage(InputStream imageStream)
Adds an image from an input stream.
|
RichTextWriter |
addImage(InputStream imageStream,
int resizeToWidth,
int resizeToHeight)
Adds an image from an input stream.
|
RichTextWriter |
addImage(Path imagePath)
Adds an image from disk.
|
RichTextWriter |
addImage(Path imagePath,
int resizeToWidth,
int resizeToHeight)
Adds an image from disk.
|
RichTextWriter |
addImageResource(InputStream is,
long length)
Adds the provided stream as an image resource into this rich text writer.
|
default RichTextWriter |
addImageResource(Path file)
Adds the provided stream as an image resource into this rich text writer.
|
RichTextWriter |
addJavaScriptLibraryData(String script)
Adds the provided script as a JavaScript library block into this rich text writer.
|
RichTextWriter |
addRichText(Document doc,
String itemName)
Appends a rich text item from another document
|
RichTextWriter |
addRichText(RichTextWriter rt)
Appends rich text created in another writer
|
<T extends RichTextRecord<?>> |
addRichTextRecord(Class<T> recordClass,
Consumer<T> processor)
Creates a new rich-text record of the given type and processes it through
the provided function before appending it to the record stream.
|
<T extends RichTextRecord<?>> |
addRichTextRecord(Class<T> recordClass,
int variableDataLength,
Consumer<T> processor)
Creates a new rich-text record of the given type and processes it through
the provided function before appending it to the record stream.
|
<T extends RichTextRecord<?>> |
addRichTextRecord(RecordType recordType,
Consumer<T> processor)
Creates a new rich-text record of the given type and processes it through
the provided function before appending it to the record stream.
|
<T extends RichTextRecord<?>> |
addRichTextRecord(RecordType recordType,
int variableDataLength,
Consumer<T> processor)
Creates a new rich-text record of the given type and processes it through
the provided function before appending it to the record stream.
|
RichTextWriter |
addRichTextRecord(RichTextRecord<?> record)
Adds a raw rich text record from an existing instance.
|
RichTextWriter |
addText(String txt)
Adds a text element
|
RichTextWriter |
addText(String txt,
TextStyle textStyle,
FontStyle fontStyle)
Adds a text element with the specified font style
|
RichTextWriter |
addText(String txt,
TextStyle textStyle,
FontStyle fontStyle,
boolean createParagraphOnLinebreak)
Adds a text element with the specified font style
|
void |
close()
Closes this resource, relinquishing any underlying resources.
|
FontStyle |
createFontStyle()
Creates a new font style
|
<T extends MemoryStructure> |
createStructure(Class<T> structureClass,
int variableDataLength)
Creates a new
MemoryStructure of the given class in memory, without appending it to the
destination rich-text entity. |
TextStyle |
createTextStyle(String styleName)
Creates a new text style
|
void |
discard()
Discard any changes in this writer and free all resources
|
String |
getItemName()
Returns the name of the rich text item
|
Document |
getParentDocument()
Returns the document that will contain the
rich text data
|
boolean |
isEmpty()
Method to check if anything has been written into the writer
|
void close()
try
-with-resources statement.close
in interface AutoCloseable
Document getParentDocument()
String getItemName()
boolean isEmpty()
RichTextWriter addText(String txt)
txt
- textRichTextWriter addText(String txt, TextStyle textStyle, FontStyle fontStyle)
txt
- texttextStyle
- text stylefontStyle
- font styleRichTextWriter addText(String txt, TextStyle textStyle, FontStyle fontStyle, boolean createParagraphOnLinebreak)
txt
- texttextStyle
- text stylefontStyle
- font stylecreateParagraphOnLinebreak
- true to create a paragraph for each linebreak found in the textRichTextWriter addImage(Path imagePath)
imagePath
- image filepathRichTextWriter addImage(Path imagePath, int resizeToWidth, int resizeToHeight)
imagePath
- image filepathresizeToWidth
- if not -1, resize the image to this widthresizeToHeight
- if not -1, resize the image to this widthRichTextWriter addImage(InputStream imageStream)
imageStream
- stream with image dataRichTextWriter addImage(InputStream imageStream, int resizeToWidth, int resizeToHeight)
imageStream
- stream with image dataresizeToWidth
- if not -1, resize the image to this widthresizeToHeight
- if not -1, resize the image to this widthdefault RichTextWriter addImageResource(Path file) throws IOException
Note: this uses the structure of image-resource design elements and differs significantly
from how inline images are handled. Use addImage(Path)
and the
related methods to add images to a UI rich-text field.
file
- the file to write to the rich text bufferIOException
- if there is a problem reading the file dataRichTextWriter addImageResource(InputStream is, long length) throws IOException
If the length of the content is unknown, pass -1
for the length
parameter.
This is inefficient, however, as it will cause the underlying implementation to read the
entire stream at the start instead of as needed.
Note: this uses the structure of image-resource design elements and differs significantly
from how inline images are handled. Use addImage(InputStream)
and the
related methods to add images to a UI rich-text field.
is
- the InputStream
to write to the rich text bufferlength
- the length of the file, if known; -1
otherwiseIOException
- if there is a problem reading the file dataRichTextWriter addDocLink(Document doc, String comment)
Document
.doc
- document to create the linkcomment
- This string appears when the DocLink is selected (clicked on).RichTextWriter addDocLink(String dbReplicaId, String viewUnid, String docUNID, String comment)
dbReplicaId
- Replica ID of the database that contains the document pointed to by the DocLink.viewUnid
- UNID of the DominoCollection
that contains the document pointed to by the DocLink or null/empty string to create a database linkdocUNID
- UNID of the document pointed to by the DocLink or null/empty string to create a view/collection linkcomment
- This string appears when the DocLink is selected (clicked on).RichTextWriter addDatabaseLink(Database db, String comment)
Database
.db
- database to create the linkcomment
- This string appears when the DocLink is selected (clicked on).RichTextWriter addCollectionLink(DominoCollection collection, String comment)
DominoCollection
.collection
- collection to create the linkcomment
- This string appears when the DocLink is selected (clicked on).RichTextWriter addAttachmentIcon(Attachment att, String captionTxt)
RichTextWriter addAttachmentIcon(String attachmentProgrammaticName, String captionTxt)
RichTextWriter addAttachmentIcon(Attachment att, String filenameToDisplay, String captionText, FontStyle captionStyle, RichTextWriter.CaptionPosition captionPos, int captionColorRed, int captionColorGreen, int captionColorBlue, int resizeToWidth, int resizeToHeight, Path imagePath)
RichTextWriter addAttachmentIcon(String attachmentProgrammaticName, String filenameToDisplay, String captionText, FontStyle captionStyle, RichTextWriter.CaptionPosition captionPos, int captionColorRed, int captionColorGreen, int captionColorBlue, int resizeToWidth, int resizeToHeight, InputStream imageData) throws IOException
IOException
default RichTextWriter addFileResource(Path file) throws IOException
Note: this uses the structure of file-resource design elements and differs significantly
from how attachments are handled. Use addAttachmentIcon(Attachment, String)
and the
related methods to add attachments.
file
- the file to write to the rich text bufferIOException
- if there is a problem reading the file dataRichTextWriter addFileResource(InputStream is, long length) throws IOException
If the length of the content is unknown, pass -1
for the length
parameter.
This is inefficient, however, as it will cause the underlying implementation to read the
entire stream at the start instead of as needed.
Note: this uses the structure of file-resource design elements and differs significantly
from how attachments are handled. Use addAttachmentIcon(Attachment, String)
and the
related methods to add attachments to a rich-text field.
is
- the InputStream
to write to the rich text bufferlength
- the length of the file, if known; -1
otherwiseIOException
- if there is a problem reading the file dataRichTextWriter addJavaScriptLibraryData(String script)
Note: this users the structure of script-library design elements and is not likely to be useful in UI rich text.
script
- the content of the script to writeRichTextWriter addRichText(Document doc, String itemName)
doc
- documentitemName
- rich text item nameRichTextWriter addRichText(RichTextWriter rt)
rt
- writerRichTextWriter addRichTextRecord(RichTextRecord<?> record)
record
- raw record<T extends RichTextRecord<?>> RichTextWriter addRichTextRecord(Class<T> recordClass, Consumer<T> processor)
<T extends RichTextRecord<?>> RichTextWriter addRichTextRecord(RecordType recordType, Consumer<T> processor)
T
- the type of record that corresponds to recordType
recordType
- a RecordType
record type representing the record to createprocessor
- a Consumer
to configure the record<T extends RichTextRecord<?>> RichTextWriter addRichTextRecord(Class<T> recordClass, int variableDataLength, Consumer<T> processor)
This method allows you to specify an additional amount of space to allocate for the structure's variable data, which will be accessible just after the final part of the structure.
<T extends RichTextRecord<?>> RichTextWriter addRichTextRecord(RecordType recordType, int variableDataLength, Consumer<T> processor)
This method allows you to specify an additional amount of space to allocate for the structure's variable data, which will be accessible just after the final part of the structure.
T
- the type of record that corresponds to recordType
recordType
- a RecordType
record type representing the record to createvariableDataLength
- the amount of additional space, in bytes, to allocate after the structureprocessor
- a Consumer
to configure the record<T extends MemoryStructure> T createStructure(Class<T> structureClass, int variableDataLength)
MemoryStructure
of the given class in memory, without appending it to the
destination rich-text entity. This is useful in specific situations where variable data consists
of structured values.T
- the type of structure to createstructureClass
- a Class
representing <T>
variableDataLength
- the amount of additional space, in bytes, to allocate after the structureFontStyle createFontStyle()
TextStyle createTextStyle(String styleName)
styleName
- style namevoid discard()
Copyright © 2019–2021 HCL. All rights reserved.


The following are examples on usage of Angular's I18N functionality using the following language: English
We are using the following culture code: en-us
With additional DOM element:
I output an element in the DOM.
Without additional DOM element:
Different languages have different pluralization rules. Here's how you could mark up the component template to display the phrase appropriate to the number of wolves:
Number of wolves:
{ count, plural, =0 {no wolves} =1 {one wolf} =2 {two wolves} other {a wolf pack} }
The application displays different text depending upon whether the wolf pack's alpha is male or female. These text alternatives require translation too.
The alpha of our wolf pack is { gender, select, m {male} f {female} }.

Angular has a very specific way of dealing with internationalization (i18n). It is described in the official documentation here: Angular Cookbook Internationalization (i18n).
In a nutshell:
i18n
There are some gaps in the I18N workflow, including the issue that changing anything in the app requires regeneration of the xliff files, and there is no documented way to merge such files with the already existing translated files. We use to help us with this problem.
Mark every element whose contents will be translated by applying the attribute i18n
to the
tag as described here. Be sure to also include a meaning|description , and an ID as a value for the i18n
attribute. If only a portion of an
element with a lot of content needs to be translated, it's recommended to add additional, more atomic
tags to only the content you want translated.
The contents of your tag can use ICU expressions to handle singular and pluralization rules.
Your final markup should look something like this:
Add ISO Language
Codes to "languages" property of /xliffmerge.json
file.
When your app is ready, you can extract the strings to translate from this and other templates in the app with the command:
npm run extract-i18n
This command will generate a new xliff file for every language identified in
./xliffmerge.json
and output those files to ./src/locale/messages.<language>.xlf
.
Existing xliff files will be merged with the newly generated files.
You can now translate the files located in ./src/locale
. New strings in each file will
appear in the default language (English) specified in ./xliffmerge.json
.
NOTE: Any time you change anything in the app you will have to regenerate the xliff files for translation. New strings will appear in the default language (English).
Every localized app requires its own build and deployment. If you want to build and serve an app using
the message.fr.xlf
(French) xliff file created above, for example, you would build using
the following command:
ng serve --prod --locale fr --i18n-format xlf --i18n-file
src/locale/messages.fr.xlf
All the strings flagged for i18n have been replaced with their French translations. The application is otherwise identical to the default language version.
NOTE: Building translated applications only works in AOT mode. If you want to use i18n in JIT you will have to update your bootstrap file yourself.
To build your application with a specific locale you can use the exact same commands that you used for serve:
ng build --prod --locale fr --i18n-format xlf --i18n-file
src/i18n/messages.fr.xlf
When you build your application for a specific locale, it is probably a good idea to change the output
path with the command --output-path
in order to save the files to a different location.
ng build --prod --output-path dist/fr --locale fr --i18n-format xlf --i18n-file
src/i18n/messages.fr.xlf
As of this writing, there does not appear to be any way to run unit tests via Angular-CLI's ng
test
using I18N. There is, however, a way to run integration tests (i.e., ng e2e
)
with the following command using the --serve
option, which then takes all of the same
options as ng serve
. Therefore, we can execute e2e tests in a given language using the
following command:
ng e2e --serve --prod --aot --locale fr --i18n-format xlf --i18n-file src/locale/messages.fr.xlf
For more information on i18n and localization for Angular 2 visit: Angular's I18N Guide.