public class OntologicalCPNet extends CPNet
| Modifier and Type | Class and Description |
|---|---|
static class |
OntologicalCPNet.Builder
Creates
OntologicalCPNet instances. |
class |
OntologicalCPNet.Table
An equivalency table that stores different representations of user preferences.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
applyService(java.util.function.Function<org.semanticweb.owlapi.reasoner.OWLReasoner,T> service)
Creates a new buffering
OWLReasoner using the internal OWLReasonerFactory ,
with the constrained ontology as the root ontology, then executes the specified reasoning service. |
static OntologicalCPNet.Builder |
builder(CPNet baseCPNet,
org.semanticweb.owlapi.model.OWLOntology baseOntology)
Returns a builder that builds an
OntologicalCPNet
upon the specified CPNet and base ontology. |
ConstraintSet<FeasibilityConstraint> |
getClosure()
Retrieves the ontological closure, that is the set of constraints
that must be satisfied by feasible outcomes.
|
OntologicalCPNet.Table |
getDomainTable() |
ConstraintSet<OptimalityConstraint> |
getOptimumSet()
Retrieves the set of constraints that must be satisfied by undominated outcomes.
|
model.Outcome |
interpretModel(DimacsLiterals model)
Converts a satisfiable DIMACS model into an
Outcome . |
java.util.Set<model.Outcome> |
paretoOptimal()
Computes the Pareto optimal outcomes using the ontological variant of the HARD-PARETO algorithm.
|
java.util.stream.Stream<DimacsLiterals> |
solveConstraints(ConstraintSet<? extends Constraint> constraints)
Translates a set of constraints into a boolean satisfiability problem
and finds satisfiable models.
|
<T extends Constraint> |
toConstraintSet(java.util.Set<T> constraints)
Returns a
ConstraintSet instance backed by the specified Set . |
getPreferenceGraph
public OntologicalCPNet.Table getDomainTable()
public ConstraintSet<OptimalityConstraint> getOptimumSet()
public ConstraintSet<FeasibilityConstraint> getClosure()
public <T extends Constraint> ConstraintSet<T> toConstraintSet(java.util.Set<T> constraints)
ConstraintSet
instance backed by the specified Set
.constraints
- getOptimumSet()
,
getClosure()
public java.util.Set<model.Outcome> paretoOptimal() throws java.io.IOException
java.io.IOException
- if an internal call to CPNet.dominates(Outcome, Outcome)
results in an IOException
public <T> T applyService(java.util.function.Function<org.semanticweb.owlapi.reasoner.OWLReasoner,T> service)
OWLReasoner
using the internal OWLReasonerFactory
,
with the constrained ontology as the root ontology, then executes the specified reasoning service.
The return value of service
is relayed to the caller.
After service
returns, the reasoner is immediately disposed of.T
- the type of the value returned by service
service
- service
public java.util.stream.Stream<DimacsLiterals> solveConstraints(ConstraintSet<? extends Constraint> constraints)
constraints
- public model.Outcome interpretModel(DimacsLiterals model)
Outcome
.model
- public static OntologicalCPNet.Builder builder(CPNet baseCPNet, org.semanticweb.owlapi.model.OWLOntology baseOntology)
OntologicalCPNet
upon the specified CPNet
and base ontology.
Any changes to baseOntology
applied before invoking OntologicalCPNet.Builder.build()
will take effect.
The specified base ontology must be consistent and named
(that is, baseOntology.getOntologyID().isAnonymous()
must return false
);
if either condition is not satisfied, OntologicalCPNet.Builder.build()
will throw an IllegalStateException
.
baseCPNet
- the parent object of the OntologicalCPNet
instance to buildbaseOntology
-


{% include html_components/component_includes/componentContentType.html %} {% include html_components/component_includes/componentDivOptions.html %}


| Class | ActiveResource::Errors |
| In: |
/usr/lib/ruby/gems/1.8/gems/activeresource-3.0.0.beta4/lib/active_resource/validations.rb
|
| Parent: | ActiveModel::Errors |
Active Resource validation is reported to and from this object, which is used by Base#save to determine whether the object in a valid state to be saved. See usage example in Validations.
Grabs errors from an array of messages (like ActiveRecord::Validations) The second parameter directs the errors cache to be cleared (default) or not (by passing true)
# File /usr/lib/ruby/gems/1.8/gems/activeresource-3.0.0.beta4/lib/active_resource/validations.rb, line 14 14: def from_array(messages, save_cache = false) 15: clear unless save_cache 16: humanized_attributes = @base.attributes.keys.inject({}) { |h, attr_name| h.update(attr_name.humanize => attr_name) } 17: messages.each do |message| 18: attr_message = humanized_attributes.keys.detect do |attr_name| 19: if message[0, attr_name.size + 1] == "#{attr_name} " 20: add humanized_attributes[attr_name], message[(attr_name.size + 1)..-1] 21: end 22: end 23: 24: self[:base] << message if attr_message.nil? 25: end 26: end
Grabs errors from a json response.
# File /usr/lib/ruby/gems/1.8/gems/activeresource-3.0.0.beta4/lib/active_resource/validations.rb, line 29 29: def from_json(json, save_cache = false) 30: array = ActiveSupport::JSON.decode(json)['errors'] rescue [] 31: from_array array, save_cache 32: end


hub-pr
- Manage GitHub pull requests for the current project.
hub pr
list [-s STATE] [-h HEAD] [-b BASE] [-o SORT_KEY [-]] [-L LIMIT]
hub pr
checkout PR-NUMBER [BRANCH]
List pull requests in the current project.
Check out the head of a pull request in a new branch.
Display pull requests with state STATE (default: "open").
Pretty print the list of pull requests using format FORMAT (default: "%sC%>(8)%i%Creset %t% l%n"). See the "PRETTY FORMATS" section of the git-log manual for some additional details on how placeholders are used in format. The available placeholders are:
%I: pull request number
%i: pull request number prefixed with "#"
%U: the URL of this pull request
%S: state (i.e. "open", "closed")
%sC: set color to red or green, depending on pull request state.
%t: title
%l: colored labels
%L: raw, comma-separated labels
%b: body
%B: base branch
%H: head branch
%au: login name of author
%as: comma-separated list of assignees
%Mn: milestone number
%Mt: milestone title
%NC: number of comments
%Nc: number of comments wrapped in parentheses, or blank string if zero.
%cD: created date-only (no time of day)
%cr: created date, relative
%ct: created date, UNIX timestamp
%cI: created date, ISO 8601 format
%uD: updated date-only (no time of day)
%ur: updated date, relative
%ut: updated date, UNIX timestamp
%uI: updated date, ISO 8601 format
Sort displayed issues by "created" (default), "updated", "popularity", or "long-running".
Sort by ascending dates instead of descending.
Display only the first LIMIT issues.
hub-issue(1), hub-pull-request(1), hub(1)


#include <URefArray.h>
Public Member Functions | |
| URefArray () | |
| ctor & dtor | |
| ~URefArray () | |
| void | CollectGarbage () |
| collect garbage. | |
| void | AddItem (URef< _T > ref) |
| add another item. | |
| unsigned int | GetElemCount () const |
| item traversal. | |
| URef< _T > | operator[] (unsigned int idx) const |
File: URefArray.h Author: Kevin Bray Created: 09-19-04 Copyright © 2004 Bootstrap Studios. All rights reserved. project includes. class URefArray
Definition at line 20 of file URefArray.h.
| void URefArray< _T >::CollectGarbage | ( | ) | [inline] |
| unsigned int URefArray< _T >::GetElemCount | ( | ) | const [inline] |
Definition at line 34 of file URefArray.h.


Guidance
This guidance has been updated and replaced with a new version .
Guidance on the new specific course designation process, the criteria and conditions and the new application process for higher education.
Ref: BIS/14/1060 PDF , 319KB , 55 pages
Ref: BIS/15/164 PDF , 327KB , 32 pages
The guidance sets out detailed information on conditions which alternative providers of higher education need to abide by when relating to:
The ‘alternative provider specific course designation: supplementary guidance for providers’ provides further detail and clarity on a range of policies and actions that were announced in January and February 2015. It sets out new terms and conditions of designation on the:
Published: 5 June 2013
Updated: 27 March 2015


PyServer • A Python webserver! •
GitHub Repository
PyServer 1.2
If you're reading this, your site is working!
Updates:
Announcements!
- Add "announce()" to your webserver file!
Panic mode!
- Messed up something serious? Start new with "panic()"!


{% if loggedin %}
{% if reviewed %}
You have already written a review for this movie.
{% else %}
{% endif %}
{% else %}
You are not logged in. Log in to write a review.
{% endif %}
User reviews:
{% for review in reviews %}
{{ review[2] }} said:
{{ review[3] }} Score: {{ review[4] }}
{% endfor %}


By S. S. King, Esq., Kansas City, Kansas. The most powerful book of the year. Its argument is irresistible. You should read it.
President L. L. Polk, National F. A. and I. U., says: “It should be placed in the hands of every voter of this country.”
Price, postpaid, 25 cents; per hundred, $12.50.
II. Money, Land, and Transportation.
CONTENTS:
1. A New Declaration of Rights. Hamlin Garland.
2. The Farmer, Investor, and the Railway. C. Wood Davis.
3. The Independent Party and Money at Cost. R. B. Hassell.
Price, single copy, 25 cents; per hundred, $10.
III. Industrial Freedom. The Triple Demand of Labor.
CONTENTS:
1. The Money Question. Hon. John Davis.
2. The Sub-Treasury Plan. C. C. Post.
3. The Railroad Problem. C. Wood Davis and Ex-Gov. Lionel A. Sheldon.
Price, single copy, 25 cents; per hundred, $10.
IV. Esau; or, The Banker’s Victim.
“Esau” is the title of a new book by Dr. T. A. Bland. It is a political novel of purpose and power. As a romance it is fascinating; as a history of a mortgage it is tragic; and as an exposé of the financial policy of the old parties it is clear and forcible. It is a timely and valuable campaign book.
Price, single copy, 25 cents; per hundred, $12.50.
V. The People’s Cause.
CONTENTS:
1. The Threefold Contention of Industry. Gen. J. B. Weaver, Presidential Nominee of People’s Party.
2. The Negro Question In the South. Hon. Thos. E. Watson, M. C. from Georgia.
3. The Menace of Plutocracy. B. O. Flower, Editor of “The Arena.”
4. The Communism of Capital. Hon. John Davis, M. C. from Kansas.
5. The Pending Presidential Campaign. Hon. J. H. Kyle, State Senator from South Dakota; Thos. E. Watson, M. C. from Georgia.
Price, 25 cents a copy; per hundred, $10.
Salome Shepard, Reformer.
By Helen M. Winslow. A New England story. Price: paper, 50 cents; cloth, $1.00.
The Law of Laws.
By S. B. Wait. The author takes advance metaphysical grounds on the origin, nature, and destiny of the soul.
 Price, postpaid, $1.50.
Life. A Novel.
By William W. Wheeler. A book of thrilling interest from cover to cover.
In the form of a novel called “Life,” William W. Wheeler has put before the public some of the clearest statements of logical ideas regarding humanity’s present aspects, its inherent and manifest powers, and its future, that we have ever read. The book is strong, keen, powerful; running over with thought, so expressed as to clearly convey the author’s ideas; everything is to the point, nothing superfluous—and for this it is specially admirable.—The Boston Times.
Price: paper, 50 cents; cloth, $1.00.
Along Shore with a Man of War.
By Marguerite Dickins. A delightful story of travel, delightfully told, handsomely illustrated, and beautifully bound. Price, postpaid, $1.50.
Evolution.
Popular lectures by leading thinkers, delivered before the Brooklyn Ethical Association. This work is of inestimable value to the general reader who is interested in Evolution as applied to religious, scientific, and social themes. It is the joint work of a number of the foremost thinkers in America to-day. One volume, handsome cloth, illustrated, complete index. 408 pp. Price, postpaid, $2.00.
Sociology.
Popular lectures by eminent thinkers, delivered before the Brooklyn Ethical Association. This work is a companion volume to “Evolution,” and presents the best thought of representative thinkers on social evolution. One volume, handsome cloth, with diagram and complete index. 412 pp. Price, postpaid, $2.00.
The Dream Child.
A fascinating romance of two worlds. By Florence Huntley. Price: paper, 50 cents; cloth, $1.00.
A Mute Confessor.
The romance of a Southern town. By Will N. Harben, author of “White Marie,” “Almost Persuaded,” etc. Price: paper, 50 cents; cloth, $1.00.
Redbank; Life on a Southern Plantation.
By M. L. Cowles.  Price: paper, 50 cents; cloth, $1.00.
Psychics. Facts and Theories.
By Rev. Minot J. Savage. A thoughtful discussion of Psychical problems. Price: paper, 50 cents; cloth, $1.00.
Civilization’s Inferno: Studies in the Social Cellar.
By B. O. Flower. I. Introductory chapter. II. Society’s Exiles. III. Two Hours in the Social Cellar. IV. The Democracy of Darkness. V. Why the Ishmaelites Multiply. VI. The Froth and the Dregs. VII. A Pilgrimage and a Vision. VIII. Some Facts and a Question. IX. What of the Morrow? Price: paper, 50 cents; cloth, $1.00.
Is This Your Son, My Lord?
By Helen H. Gardener. The most powerful novel written by an American. A terrible exposé of conventional immorality and hypocrisy. Price: paper, 50 cents; cloth, $1.00.
Pray You, Sir, Whose Daughter?
By Helen H. Gardener. A brilliant novel of to-day, dealing with social purity and the “age of consent” laws. Price: paper, 50 cents; cloth, $1.00.
A Spoil of Office.
A novel. By Hamlin Garland. The truest picture of Western life that has appeared in American fiction. Price: paper, 50 cents; cloth, $1.00.
Lessons Learned from Other Lives.
By B. O. Flower.
There are fourteen biographies in this volume, dealing with the lives of Seneca and Epictetus, the great Roman philosophers; Joan of Arc, the warrior maid; Henry Clay, the statesman; Edwin Booth and Joseph Jefferson, the actors; John Howard Payne, William Cullen Bryant, Edgar Allan Poe, Alice and Phœbe Cary, and John G. Whittier, the poets; Alfred Russell Wallace, the scientist; Victor Hugo, the many-sided man of genius.
“The book sparkles with literary jewels.”—Christian Leader, Cincinnati, Ohio.
Price: paper, 50 cents; cloth, $1.00.
Songs.
By Neith Boyce. Illustrated with original drawings by Ethelwyn Wells Conrey. A beautiful gift book. Bound in white and gold. Price, postpaid, $1.25.
The Finished Creation, and Other Poems.
By Benjamin Hathaway, author of “The League of the Iroquois,” “Art Life,” and other Poems. Handsomely bound in white parchment vellum, stamped in silver. Price, postpaid, $1.25.
Wit and Humor of the Bible.
By Rev. Marion D. Shutter, D.D. A brilliant and reverent treatise. Published only in cloth. Price, postpaid, $1.50.
Son of Man; or, Sequel to Evolution.
By Celestia Root Lang. Published only in cloth.
This work, in many respects, very remarkably discusses the next step in the Evolution of Man. It is in perfect touch with advanced Christian Evolutionary thought, but takes a step beyond the present position of Religion Leaders.
Price, postpaid, $1.25.
Jason Edwards: An Average Man.
By Hamlin Garland. A powerful and realistic story of to-day. Price: paper, 50 cents; cloth, $1.00.
Who Lies? An Interrogation.
By Blum and Alexander. A book that is well worth reading. Price: paper, 50 cents; cloth, $1.00.
Main Travelled Roads.
Six Mississippi Valley stories. By Hamlin Garland.
“The sturdy spirit of true democracy runs through this book.”—Review of Reviews.
Price: paper, 50 cents; cloth, $1.00.
Irrepressible Conflict Between Two World-Theories.
By Rev. Minot J. Savage. The most powerful presentation of Theistic Evolution versus Orthodoxy that has ever appeared. Price: paper, 50 cents; cloth, $1.00.
For sale by all booksellers. Sent postpaid upon receipt of the price.
Arena Publishing Company,
Copley Square, BOSTON, MASS.
***END OF THE PROJECT GUTENBERG EBOOK UNVEILING A PARALLEL***
******* This file should be named 42816-h.txt or 42816-h.zip *******
This and all associated files of various formats will be found in:
http://www.gutenberg.org/4/2/8/1/42816
Updated editions will replace the previous one--the old editions will be renamed.
Creating the works from public domain print editions means that no one owns a United States copyright in these works, so the Foundation (and you!) can copy and distribute it in the United States without permission and without paying copyright royalties. Special rules, set forth in the General Terms of Use part of this license, apply to copying and distributing Project Gutenberg-tm electronic works to protect the PROJECT GUTENBERG-tm concept and trademark. Project Gutenberg is a registered trademark, and may not be used if you charge for the eBooks, unless you receive specific permission. If you do not charge anything for copies of this eBook, complying with the rules is very easy. You may use this eBook for nearly any purpose such as creation of derivative works, reports, performances and research. They may be modified and printed and given away--you may do practically ANYTHING with public domain eBooks. Redistribution is subject to the trademark license, especially commercial redistribution.
To protect the Project Gutenberg-tm mission of promoting the free distribution of electronic works, by using or distributing this work (or any other work associated in any way with the phrase "Project Gutenberg"), you agree to comply with all the terms of the Full Project Gutenberg-tm License available with this file or online at www.gutenberg.org/license.
1.A. By reading or using any part of this Project Gutenberg-tm electronic work, you indicate that you have read, understand, agree to and accept all the terms of this license and intellectual property (trademark/copyright) agreement. If you do not agree to abide by all the terms of this agreement, you must cease using and return or destroy all copies of Project Gutenberg-tm electronic works in your possession. If you paid a fee for obtaining a copy of or access to a Project Gutenberg-tm electronic work and you do not agree to be bound by the terms of this agreement, you may obtain a refund from the person or entity to whom you paid the fee as set forth in paragraph 1.E.8.
1.B. "Project Gutenberg" is a registered trademark. It may only be used on or associated in any way with an electronic work by people who agree to be bound by the terms of this agreement. There are a few things that you can do with most Project Gutenberg-tm electronic works even without complying with the full terms of this agreement. See paragraph 1.C below. There are a lot of things you can do with Project Gutenberg-tm electronic works if you follow the terms of this agreement and help preserve free future access to Project Gutenberg-tm electronic works. See paragraph 1.E below.
1.C. The Project Gutenberg Literary Archive Foundation ("the Foundation" or PGLAF), owns a compilation copyright in the collection of Project Gutenberg-tm electronic works. Nearly all the individual works in the collection are in the public domain in the United States. If an individual work is in the public domain in the United States and you are located in the United States, we do not claim a right to prevent you from copying, distributing, performing, displaying or creating derivative works based on the work as long as all references to Project Gutenberg are removed. Of course, we hope that you will support the Project Gutenberg-tm mission of promoting free access to electronic works by freely sharing Project Gutenberg-tm works in compliance with the terms of this agreement for keeping the Project Gutenberg-tm name associated with the work. You can easily comply with the terms of this agreement by keeping this work in the same format with its attached full Project Gutenberg-tm License when you share it without charge with others.
1.D. The copyright laws of the place where you are located also govern what you can do with this work. Copyright laws in most countries are in a constant state of change. If you are outside the United States, check the laws of your country in addition to the terms of this agreement before downloading, copying, displaying, performing, distributing or creating derivative works based on this work or any other Project Gutenberg-tm work. The Foundation makes no representations concerning the copyright status of any work in any country outside the United States.
1.E. Unless you have removed all references to Project Gutenberg:
1.E.1. The following sentence, with active links to, or other immediate access to, the full Project Gutenberg-tm License must appear prominently whenever any copy of a Project Gutenberg-tm work (any work on which the phrase "Project Gutenberg" appears, or with which the phrase "Project Gutenberg" is associated) is accessed, displayed, performed, viewed, copied or distributed:
This eBook is for the use of anyone anywhere at no cost and with almost no restrictions whatsoever. You may copy it, give it away or re-use it under the terms of the Project Gutenberg License included with this eBook or online at www.gutenberg.org
1.E.2. If an individual Project Gutenberg-tm electronic work is derived from the public domain (does not contain a notice indicating that it is posted with permission of the copyright holder), the work can be copied and distributed to anyone in the United States without paying any fees or charges. If you are redistributing or providing access to a work with the phrase "Project Gutenberg" associated with or appearing on the work, you must comply either with the requirements of paragraphs 1.E.1 through 1.E.7 or obtain permission for the use of the work and the Project Gutenberg-tm trademark as set forth in paragraphs 1.E.8 or 1.E.9.
1.E.3. If an individual Project Gutenberg-tm electronic work is posted with the permission of the copyright holder, your use and distribution must comply with both paragraphs 1.E.1 through 1.E.7 and any additional terms imposed by the copyright holder. Additional terms will be linked to the Project Gutenberg-tm License for all works posted with the permission of the copyright holder found at the beginning of this work.
1.E.4. Do not unlink or detach or remove the full Project Gutenberg-tm License terms from this work, or any files containing a part of this work or any other work associated with Project Gutenberg-tm.
1.E.5. Do not copy, display, perform, distribute or redistribute this electronic work, or any part of this electronic work, without prominently displaying the sentence set forth in paragraph 1.E.1 with active links or immediate access to the full terms of the Project Gutenberg-tm License.
1.E.6. You may convert to and distribute this work in any binary, compressed, marked up, nonproprietary or proprietary form, including any word processing or hypertext form. However, if you provide access to or distribute copies of a Project Gutenberg-tm work in a format other than "Plain Vanilla ASCII" or other format used in the official version posted on the official Project Gutenberg-tm web site (www.gutenberg.org), you must, at no additional cost, fee or expense to the user, provide a copy, a means of exporting a copy, or a means of obtaining a copy upon request, of the work in its original "Plain Vanilla ASCII" or other form. Any alternate format must include the full Project Gutenberg-tm License as specified in paragraph 1.E.1.
1.E.7. Do not charge a fee for access to, viewing, displaying, performing, copying or distributing any Project Gutenberg-tm works unless you comply with paragraph 1.E.8 or 1.E.9.
1.E.8. You may charge a reasonable fee for copies of or providing access to or distributing Project Gutenberg-tm electronic works provided that
1.E.9. If you wish to charge a fee or distribute a Project Gutenberg-tm electronic work or group of works on different terms than are set forth in this agreement, you must obtain permission in writing from both the Project Gutenberg Literary Archive Foundation and Michael Hart, the owner of the Project Gutenberg-tm trademark. Contact the Foundation as set forth in Section 3 below.
1.F.
1.F.1. Project Gutenberg volunteers and employees expend considerable effort to identify, do copyright research on, transcribe and proofread public domain works in creating the Project Gutenberg-tm collection. Despite these efforts, Project Gutenberg-tm electronic works, and the medium on which they may be stored, may contain "Defects," such as, but not limited to, incomplete, inaccurate or corrupt data, transcription errors, a copyright or other intellectual property infringement, a defective or damaged disk or other medium, a computer virus, or computer codes that damage or cannot be read by your equipment.
1.F.2. LIMITED WARRANTY, DISCLAIMER OF DAMAGES - Except for the "Right of Replacement or Refund" described in paragraph 1.F.3, the Project Gutenberg Literary Archive Foundation, the owner of the Project Gutenberg-tm trademark, and any other party distributing a Project Gutenberg-tm electronic work under this agreement, disclaim all liability to you for damages, costs and expenses, including legal fees.   LIMITED RIGHT OF REPLACEMENT OR REFUND - If you discover a defect in this electronic work within 90 days of receiving it, you can receive a refund of the money (if any) you paid for it by sending a written explanation to the person you received the work from. If you received the work on a physical medium, you must return the medium with your written explanation. The person or entity that provided you with the defective work may elect to provide a replacement copy in lieu of a refund. If you received the work electronically, the person or entity providing it to you may choose to give you a second opportunity to receive the work electronically in lieu of a refund. If the second copy is also defective, you may demand a refund in writing without further opportunities to fix the problem.
1.F.4. Except for the limited right of replacement or refund set forth in paragraph 1.F.3, this work is provided to you 'AS-IS', WITH NO OTHER WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PURPOSE.
1.F.5. Some states do not allow disclaimers of certain implied warranties or the exclusion or limitation of certain types of damages. If any disclaimer or limitation set forth in this agreement violates the law of the state applicable to this agreement, the agreement shall be interpreted to make the maximum disclaimer or limitation permitted by the applicable state law. The invalidity or unenforceability of any provision of this agreement shall not void the remaining provisions.
1.F.6. INDEMNITY - You agree to indemnify and hold the Foundation, the trademark owner, any agent or employee of the Foundation, anyone providing copies of Project Gutenberg-tm electronic works in accordance with this agreement, and any volunteers associated with the production, promotion and distribution of Project Gutenberg-tm electronic works, harmless from all liability, costs and expenses, including legal fees, that arise directly or indirectly from any of the following which you do or cause to occur: (a) distribution of this or any Project Gutenberg-tm work, (b) alteration, modification, or additions or deletions to any Project Gutenberg-tm work, and (c) any Defect you cause.
Project Gutenberg-tm is synonymous with the free distribution of electronic works in formats readable by the widest variety of computers including obsolete, old, middle-aged and new computers. It exists because of the efforts of hundreds of volunteers and donations from people in all walks of life.
Volunteers and financial support to provide volunteers with the assistance they need are critical to reaching Project Gutenberg-tm's goals and ensuring that the Project Gutenberg-tm collection will remain freely available for generations to come. In 2001, the Project Gutenberg Literary Archive Foundation was created to provide a secure and permanent future for Project Gutenberg-tm and future generations. To learn more about the Project Gutenberg Literary Archive Foundation and how your efforts and donations can help, see Sections 3 and 4 and the Foundation information page at www.gutenberg.org
The Project Gutenberg Literary Archive Foundation is a non profit 501(c)(3) educational corporation organized under the laws of the state of Mississippi and granted tax exempt status by the Internal Revenue Service. The Foundation's EIN or federal tax identification number is 64-6221541. Contributions to the Project Gutenberg Literary Archive Foundation are tax deductible to the full extent permitted by U.S. federal laws and your state's laws.
The Foundation's principal office is located at 4557 Melan Dr. S. Fairbanks, AK, 99712., but its volunteers and employees are scattered throughout numerous locations. Its business office is located at 809 North 1500 West, Salt Lake City, UT 84116,<PHONE_NUMBER>. Email contact links and up to date contact information can be found at the Foundation's web site and official page at www.gutenberg.org/contact
For additional contact information:
Dr. Gregory B. Newby
Chief Executive and Director
<EMAIL_ADDRESS>Project Gutenberg-tm depends upon and cannot survive without wide spread public support and donations to carry out its mission of increasing the number of public domain and licensed works that can be freely distributed in machine readable form accessible by the widest array of equipment including outdated equipment. Many small donations ($1 to $5,000) are particularly important to maintaining tax exempt status with the IRS.
The Foundation is committed to complying with the laws regulating charities and charitable donations in all 50 states of the United States. Compliance requirements are not uniform and it takes a considerable effort, much paperwork and many fees to meet and keep up with these requirements. We do not solicit donations in locations where we have not received written confirmation of compliance. To SEND DONATIONS or determine the status of compliance for any particular state visit www.gutenberg.org/donate
While we cannot and do not solicit contributions from states where we have not met the solicitation requirements, we know of no prohibition against accepting unsolicited donations from donors in such states who approach us with offers to donate.
International donations are gratefully accepted, but we cannot make any statements concerning tax treatment of donations received from outside the United States. U.S. laws alone swamp our small staff.
Please check the Project Gutenberg Web pages for current donation methods and addresses. Donations are accepted in a number of other ways including checks, online payments and credit card donations. To donate, please visit: www.gutenberg.org/donate
Professor Michael S. Hart was the originator of the Project Gutenberg-tm concept of a library of electronic works that could be freely shared with anyone. For forty years, he produced and distributed Project Gutenberg-tm eBooks with only a loose network of volunteer support.
Project Gutenberg-tm eBooks are often created from several printed editions, all of which are confirmed as Public Domain in the U.S. unless a copyright notice is included. Thus, we do not necessarily keep eBooks in compliance with any particular paper edition.
Most people start at our Web site which has the main PG search facility: www.gutenberg.org
This Web site includes information about Project Gutenberg-tm, including how to make donations to the Project Gutenberg Literary Archive Foundation, how to help produce our new eBooks, and how to subscribe to our email newsletter to hear about new eBooks.


Native ObjectPascal Library for accessing tar (Tape Archive) files
Author: Stefan Heymann, E-Mail<EMAIL_ADDRESS>LibTar is a Library which contains the ObjectPascal class TTarArchive. Using this class, you can read the contents (Directory entries and file contents) of a tar file.
tar is a format widely used on Unix and Linux systems. "tar" is short for "Tape Archive". The format was intended primarily for use with tape backup devices. However, tar files are also stored on disks. The common extension for tar files is ".tar".
A tar file contains several files, making one file out of them. There is no compression. The tar file just contains a directory entry for each file (which holds information like the name of the file, size, last modified date, access permissions, etc.). and the file itself.
Using the TTarArchive class, you scan through the tar file, thereby reading out the directory entries and – if you want – the files.
| Step | Code |
| Choose a constructor
You can either pass a TStream instance or a filename |
constructor Create (Stream : TStream); overload; constructor Create (Filename : STRING); overload; |
| Make an instance of TTarArchive |
TA := TTarArchive.Create (Filename); |
| Prepare your scan |
TA.Reset; |
| Scan through the archive |
while TA.FindNext (DirRec) do begin |
| Evaluate the DirRec for each file |
ListBox.Items.Add (DirRec.Name); |
| Read out the current file
You can leave this step out if you don't want to read the file |
TA.ReadFile (DestFilename); END; |
| You're done |
TA.Free |
The FindNext function returns two values:
The function return value (boolean) is true, when there was another file found in the archive and false when the end of the archive has been reached. So you can use it in a "while FindNext () do" loop. Using this loop, you hop from file to file, accessing one at a time.
There is a var parameter, named DirRec of type TTarDirRec. This record gives all the informations about the current file in the archive has the following fields:
| Field Name | Content | ||||||||||||||||||||||
| Name | The file's path and file name. The path is usually divided with slash characters, because tar is a Unix format | ||||||||||||||||||||||
| Size | The size of the file in bytes | ||||||||||||||||||||||
| DateTime | Last last modification date and time. Note that this time is given in UTC (GMT). You must probably convert it to your local time before using it for comparisons. | ||||||||||||||||||||||
| Permissions | A set telling who had which access
rights to the file at the time it was written to the archive:
|
||||||||||||||||||||||
| FileType | The type of the file:
|
||||||||||||||||||||||
| LinkName | If the FileType is ftLink or ftSymbolicLink, the LinkName field contains the name of the file where the link is going to. | ||||||||||||||||||||||
| UID, GID | Numerical User ID and Group ID | ||||||||||||||||||||||
| UserName, GroupName | User Name and Group Name | ||||||||||||||||||||||
| CheckSumOK | True, if the checksum of the tar header was checked OK, false if not. | ||||||||||||||||||||||
| Mode | I don't know enough about tar to tell you what the heck this means. Sorry. | ||||||||||||||||||||||
| Magic | Contains the string in the "magic" field of the tar header. Possible values are 'ustar' and 'GNUtar'. If it is 'ustar', then the UserName and GroupName field can be considered valid. If it is 'GNUtar' then there is a GNU format dump entry. | ||||||||||||||||||||||
| MajorDevNo, MinorDevNo | Major and Minor Device Number for Files of type ftCharacter or ftBlock | ||||||||||||||||||||||
| FilePos | The Position in the tar file. This corresponds to the byte position of the first byte of the current header record. You can use the "SetFilePos" method to return to this position at any time later. |
There are several methods you can use to retrieve or set the Current Position in the tar file during or after scanning:
Percent := Current * 100 DIV Size;
The official site to get this code is http://www.destructor.de
Usage and Distribution of this Source Code is ruled by the "Destructor.de Source code Licence" (DSL) which comes with this file or
can be downloaded at http://www.destructor.de
IN SHORT: Usage and distribution of this source code is free. You use it completely on your own risk.
Please send support requests to<EMAIL_ADDRESS>I'll do my best to help you.
If you like this code, please send a postcard of your city to my address (anonymous if you want):
Stefan Heymann Eschenweg 3 72076 Tübingen GERMANY
2001-04-28, Stefan Heymann


#include <boost/preprocessor/arithmetic/inc.hpp>
#include <boost/preprocessor/repetition/enum_shifted.hpp>
#include <boost/preprocessor/repetition/repeat.hpp>
#define TEXT(z, n, text) text
#define MACRO(z, n, data) \
( \
BOOST_PP_ENUM_SHIFTED_ ## z( \
BOOST_PP_INC(n), \
TEXT, data \
) \
) \
/**/
BOOST_PP_REPEAT(3, MACRO, class) // 展开为 () (class) (class, class)
Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at www.boost.org/LICENSE_1_0.txt)


{% include jquery-minimal-deps.html %} {% include d3-only-deps.html %} {% include recline-deps-moviri-release.html %} {% include bootstrap-deps.html %} {% include codemirror-deps.html %}


BERKSHIRE HATHAWAY INC. 3555 Farnam Street Suite 1440 Omaha, NE 68131 Official Home Page
A Message From Warren E. Buffett
News Releases
Updated July 1, 2014
Annual & Interim Reports
Updated May 2,2014
Warren Buffett's Letter to Berkshire Shareholders
Updated March 1, 2014
Link to SEC Filings
Charlie Munger's Letters to Wesco Shareholders
Corporate Governance
Annual Meeting Information
Links to Berkshire Subsidiary Companies
Comparative Rights and Relative Prices of Class A and B Stock
Updated January 20,2010
Owner's Manual
To view the Owner's Manual you may use Adobe Acrobat® Reader® software. Click
here
to download. Updated March 1, 2014
Order Berkshire Activewear On-line
Letters from Warren E. Buffett Regarding Pledges to Make Gifts of Bershire Stock
Updated August 30, 2012
FOR A FREE CAR INSURANCE RATE QUOTE THAT COULD SAVE YOU SUBSTANTIAL MONEY
WWW.GEICO.COM
OR CALL 1-888-395-6349, 24 HOURS A DAY


Design of design models
Develop and select design methods. What is available beyond “scrum”? Which methods can you design for yourself, by scaling and managing details? Sketching and making of small scale models is such a technique: get an impression about your design choices at an early stage, without making the “real thing”.
- A month of projects and personal coaching, €1.500 per student
- A season of projects and personal coaching €2.500 per student
- Daily feedback on Slack for the duration of the study
- Document sharing and versioning through GitHub
- Design principles for planning, process, methods for feedback and testing criteria


elfedit - update ELF header and program property of ELF files
elfedit [--input-mach=machine]
[--input-type=type]
[--input-osabi=osabi]
--output-mach=machine
--output-type=type
--output-osabi=osabi
--enable-x86-feature=feature
--disable-x86-feature=feature
[-v|--version]
[-h|--help]
elffile...
elfedit updates the ELF header and program property of ELF files which
have the matching ELF machine and file types. The options control how and
which fields in the ELF header and program property should be updated.
elffile... are the ELF files to be updated. 32-bit and
64-bit ELF files are supported, as are archives containing ELF files.
The long and short forms of options, shown here as alternatives, are equivalent.
At least one of the --output-mach, --output-type,
--output-osabi, --enable-x86-feature and
--disable-x86-feature options must be given.
- --input-mach=machine
- Set the matching input ELF machine type to machine. If
--input-mach isn't specified, it will match any ELF machine types.
The supported ELF machine types are, i386,
IAMCU, L1OM, K1OM and x86-64.
- --output-mach=machine
- Change the ELF machine type in the ELF header to machine. The
supported ELF machine types are the same as --input-mach.
- --input-type=type
- Set the matching input ELF file type to type. If
--input-type isn't specified, it will match any ELF file types.
The supported ELF file types are, rel, exec and
dyn.
- --output-type=type
- Change the ELF file type in the ELF header to type. The supported
ELF types are the same as --input-type.
- --input-osabi=osabi
- Set the matching input ELF file OSABI to osabi. If
--input-osabi isn't specified, it will match any ELF OSABIs.
The supported ELF OSABIs are, none, HPUX,
NetBSD, GNU, Linux (alias for GNU),
Solaris, AIX, Irix, FreeBSD, TRU64,
Modesto, OpenBSD, OpenVMS, NSK, AROS
and FenixOS.
- --output-osabi=osabi
- Change the ELF OSABI in the ELF header to osabi. The supported ELF
OSABI are the same as --input-osabi.
- --enable-x86-feature=feature
- Set the feature bit in program property in exec or
dyn ELF files with machine types of i386 or x86-64.
The supported features are, ibt and shstk.
- --disable-x86-feature=feature
- Clear the feature bit in program property in exec or
dyn ELF files with machine types of i386 or x86-64.
The supported features are the same as --enable-x86-feature.
Note: --enable-x86-feature and
--disable-x86-feature are available only on hosts with
mmap support.
- -v
- --version
- Display the version number of elfedit.
- -h
- --help
- Display the command-line options understood by elfedit.
- @file
- Read command-line options from file. The options read are inserted
in place of the original @file option. If file does not
exist, or cannot be read, then the option will be treated literally, and
not removed.
Options in file are separated by whitespace. A
whitespace character may be included in an option by surrounding the
entire option in either single or double quotes. Any character
(including a backslash) may be included by prefixing the character to be
included with a backslash. The file may itself contain additional
@file options; any such options will be processed
recursively.
readelf(1), and the Info entries for binutils.
Copyright (c) 1991-2020 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation License, Version 1.3
or any later version published by the Free Software Foundation; with no
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts.
A copy of the license is included in the section entitled "GNU Free
Documentation License".


--- layout: base ---
pip install -r requirements-dev.txt
python setup.py develop
watchmedo tricks tricks.yaml
The watchmedo
script will convert your notebooks to scripts and html files. py.test-ipynb
will test all notebooks matching test-*.ipynb
.
jekyll serve docs -wit
Docs are hosted at http://localhost:4000/notebookism-chicago/
.
notebookism
is released as free software under the BSD 3-Clause license.
#hi


Steve's Cafe |
|
Here at Steve's Cafe, we have been cooking up home-style breakfast and lunch in the heart of downtown Bothell for more than fifteen years. We are also a great place to stop by and grab a delicious cup of locally roasted Tully's Coffee.
Located on historic Main Street Bothell, Steve's Cafe, is owned and operated by us: a husband and wife team that not only knows the importance of a great meal at a reasonable price, but also the importance of family and community.
So whether you are just passing through or have been in the area for some time-whether you are looking for a quick cup of coffee or a full meal-we graciously invite you to visit us and look forward to serving you.
--Steve and Marlene Hofer


FACE (director/writer: Antonia Bird; screenwriter: Ronan Bennett; cinematographer: Fred Tammes; editor: St John O'Rorke; cast: Robert Carlyle (Ray), Ray Winstone (Dave), Steve Sweeney (Weasel), Gerry Conlon (Vince), Leon Black (Robbie), David Boateng (Lionel), Steven Waddington (Stevie), Phil Davis (Julian), Damon Albarn (Jason), Lena Headey (Connie), Peter Vaughan (Sonny), Arthur Whybrow (Bill), Andrew Tiernan (Chris), Christine Tremarco (Sarah), Sue Johnston (Alice); Runtime: 105; Distant Horizon/BBC Films; 1997-UK)
Reviewed by Dennis Schwartz
A cliché heist-gone-sour movie by the British filmmaker Antonia Bird that has a raw look to it but little else to recommend it. It was bloody, filled with violent action scenes that should please the kind of audience that gravitates toward that sort of thing, and most of all it was very aggressive in attitude without much to say about anything but the criminals. It aimed for style and a maddening fast pace and got both--which makes it entertaining.
Five criminals of varying experience plunge into doing a violent armed robbery of a major West End London security firm, dressed in flashy yellow jumper-suits while heavily armed. The two leaders are Ray (Carlyle), a former East End commie who has lost faith in the cause and is now out for himself as a professional thief. Dave (Winstone) is Ray's closest friend and is a tradional East End hood with a long history in crime. The others are: Stevie (Waddington) is someone Ray feels sorry for because he's not all there and he has looked out for him ever since they were cellmates; Julian (Davis) is an unstable petty hood without much experience and is also money hungry; While Jason (Damon Albarn-the lead singer for the rock band Blur) is valuable because his uncle is a veteran mobster, Sonny (Peter Vaughn), a man with connections.
After the successful robbery the boys realize the take is less than expected and not enough to retire on as they hoped for, as immediately in-fighting occurs over the split. What follows is betrayal, as one of the above has stolen all the other shares. The film becomes a study about criminality and their greedy nature, with Carlyle distinguishing himself in the role of the disillusioned thief whose idea of comradeship fails for both the cause he supported and in his gang of robbers.
In the film's finale there are some more double-crosses as the gang is after blood and money from their former partners, as they end up doing a heist on a local police station to get back their missing robbery loot. But the film fails to get you to care for any of these characters, though it tries hard to get you to believe that Ray is not a bad guy. His commie girlfriend Connie (Headey) is still a believer in the cause, in Ray, and in running a charity house for young black kids.
After director Antonia Bird (Mad Love) did a disappointing tour in Hollywood, she's gone back home to do a native crime caper film that is in the style of British crime films like "Get Carter," "The Long Good Friday" and "Brighton Rock." This action film is all action and the talk is all cockney, which makes it hard for an American audience to understand. This gutsy crime film with political overtones fails to be convincing. It was not possible for me to believe Carlyle has any political insight, never mind him being an idealist. It just seems like another mindless film in a long list of streetwise crime stories that are now hard to remember because they all seem to run together.
Incidentally, the film's title Face--is a cockney term for a gangster. The film is loosely based on a short-story by Belfast-born writer Ronan Bennett.
REVIEWED ON 10/2/2001 GRADE: C
Dennis Schwartz: "Ozus' World Movie Reviews"
http://www.sover.net/~ozus
<EMAIL_ADDRESS>© ALL RIGHTS RESERVED DENNIS SCHWARTZ
========== X-RAMR-ID: 29754 X-Language: en X-RT-ReviewID: 254041 X-RT-TitleID: 1093912 X-RT-SourceID: 873 X-RT-AuthorID: 1315 X-RT-RatingText: C
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


dr: Methods for Dimension Reduction for Regression
Functions, methods, and datasets for fitting dimension
reduction regression, using slicing (methods SAVE and SIR), Principal
Hessian Directions (phd, using residuals and the response), and an
iterative IRE. Partial methods, that condition on categorical
predictors are also available. A variety of tests, and stepwise
deletion of predictors, is also included. Also included is
code for computing permutation tests of dimension. Adding additional
methods of estimating dimension is straightforward.
For documentation, see the vignette in the package. With version 3.0.4,
the arguments for dr.step have been modified.
Downloads:
Reverse dependencies:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=dr
to link to this page.


This package contains guidelines for implementing value type classes. General
things are defined in class Value
,
MutableValue
,
ImmutableValue
and
EnumerationValue
. Each value type
should implement one of these interfaces, or be a Java enum
.
This package offers abstract classes that can be used as superclasses for value type implementations, that implement as much of the contract of values as possible.
Exceptions thrown in the context of value types should be or extend
ValueHelpers
and EnumHelpers
.
For each value type you define, you need extra code that interacts with the context and framework you use in periphery. In a web application, you need code to transfor a value object to and from a String representation that can be carried in a HTTP request and response. In a desktop application, you need a way to edit properties of objects of value type. When object properties of a value type need to be persisted using a persistence technology, we need to explain to the technology how to do that. In the case of SQL-based persistent storage, we need to map the value type to SQL primitives. The code to do this is to be considered part of the definition of the value type, and should be offered in classes next to the value type. We expect that support is offered for the technologies the creator of a new value type uses at the moment of creation, and further support to be added when other people use the value type in other contexts. As such a value library will continuously ameliorate.
This package offers general support for the implementation of such peripheral interaction code for value types for
org.ppwcode.vernacular.value_N.jpa
)org.ppwcode.vernacular.value_N.hibernate2
and org.ppwcode.vernacular.value_N.hibernate3
)org.ppwcode.vernacular.value_N.openjpa
)org.ppwcode.vernacular.value_N.web
)For simple value types, the interaction with the periphery most often revolves around transforming a value instance to and from a programmatic String representation of that value. There are many different frameworks around to do this, that all basically to the same thing. We have choosen for simple types always to implement a standard Java SE {@link java.beans.PropertyEditor}. For all the other peripheral technologies we than have an implementation of user types, value handlers, converters and the likes that delegate transformation to an appropriate {@link java.beans.PropertyEditor} instance for the given value type. This essentially makes it possible for simple value types that have a String programmatic representation to be able to perform in any supported peripheral context when we only have to program an appropriate {@link java.beans.PropertyEditor}, or even only have to code the value type according to patterns explained in the interfaces for value types.
For more complex value types, we need separate code for each peripheral technology, or a more ad hoc generalization is to be created.


Cache Filter¶
In this example, we demonstrate how HTTP caching can be utilized in Envoy by using the Cache Filter. The setup of this sandbox is based on the setup of the Front Proxy sandbox.
All incoming requests are routed via the front Envoy, which acts as a reverse proxy sitting on
the edge of the envoymesh
network. Ports 8000
and 8001
are exposed by docker
compose (see /examples/cache/docker-compose.yaml) to handle HTTP
calls
to the services, and requests to /admin
respectively. Two backend services are deployed behind the front Envoy, each with a sidecar Envoy.
The front Envoy is configured to run the Cache Filter, which stores cacheable responses in an in-memory cache, and serves it to subsequent requests. In this demo, the responses that are served by the deployed services are stored in /examples/cache/responses.yaml. This file is mounted to both services’ containers, so any changes made to the stored responses while the services are running should be instantly effective (no need to rebuild or rerun).
For the purposes of the demo, a response’s date of creation is appended to its body before being served.
An Etag is computed for every response for validation purposes, which only depends on the response body in the yaml file (i.e. the appended date is not taken into account).
Cached responses can be identified by having an age
header. Validated responses can be identified by having a generation date older than the date
header;
as when a response is validated the date
header is updated, while the body stays the same. Validated responses do not have an age
header.
Responses served from the backend service have no age
header, and their date
header is the same as their generation date.
Running the Sandbox¶
The following documentation runs through the setup of Envoy described above.
Step 1: Install Docker¶
Ensure that you have a recent versions of docker
and docker-compose
installed.
A simple way to achieve this is via the Docker Desktop.
Step 2: Clone the Envoy repo¶
If you have not cloned the Envoy repo, clone it with:
git clone git@github.com:envoyproxy/envoy
git clone https://github.com/envoyproxy/envoy.git
Step 3: Start all of our containers¶
$ pwd
envoy/examples/cache
$ docker-compose build --pull
$ docker-compose up -d
$ docker-compose ps
Name Command State Ports
------------------------------------------------------------------------------------------------------------------------
cache_front-envoy_1 /docker-entrypoint.sh /bin ... Up 10000/tcp, <IP_ADDRESS>:8000->8000/tcp, <IP_ADDRESS>:8001->8001/tcp
cache_service1_1 /bin/sh -c /usr/local/bin/ ... Up 10000/tcp, 8000/tcp
cache_service2_1 /bin/sh -c /usr/local/bin/ ... Up 10000/tcp, 8000/tcp
Step 4: Test Envoy’s HTTP caching capabilities¶
You can now send a request to both services via the front-envoy
. Note that since the two services have different routes,
identical requests to different services have different cache entries (i.e. a request sent to service 2 will not be served by a cached
response produced by service 1).
To send a request:
curl -i localhost:8000/service/<service_no>/<response>
service_no
: The service to send the request to, 1 or 2.
response
: The response that is being requested. The responses are found in /examples/cache/responses.yaml.
The provided example responses are:
valid-for-minute
This response remains fresh in the cache for a minute. After which, the response gets validated by the backend service before being served from the cache. If found to be updated, the new response is served (and cached). Otherwise, the cached response is served and refreshed.
private
This response is private; it cannot be stored by shared caches (such as proxies). It will always be served from the backend service.
no-cache
This response has to be validated every time before being served.
You can change the responses’ headers and bodies (or add new ones) while the sandbox is running to experiment.
Example responses¶
1. valid-for-minute¶
$ curl -i localhost:8000/service/1/valid-for-minute
HTTP/1.1 200 OK
content-type: text/html; charset=utf-8
content-length: 103
cache-control: max-age=60
custom-header: any value
etag: "172ae25df822c3299cf2248694b4ce23"
date: Fri, 11 Sep 2020 03:20:40 GMT
server: envoy
x-envoy-upstream-service-time: 11
This response will stay fresh for one minute
Response body generated at: Fri, 11 Sep 2020 03:20:40 GMT
Naturally, response date
header is the same time as the generated time.
Sending the same request after 30 seconds gives the same exact response with the same generation date,
but with an age
header as it was served from cache:
$ curl -i localhost:8000/service/1/valid-for-minute
HTTP/1.1 200 OK
content-type: text/html; charset=utf-8
content-length: 103
cache-control: max-age=60
custom-header: any value
etag: "172ae25df822c3299cf2248694b4ce23"
date: Fri, 11 Sep 2020 03:20:40 GMT
server: envoy
x-envoy-upstream-service-time: 11
age: 30
This response will stay fresh for one minute
Response body generated at: Fri, 11 Sep 2020 03:20:40 GMT
After 1 minute and 1 second:
$ curl -i localhost:8000/service/1/valid-for-minute
HTTP/1.1 200 OK
cache-control: max-age=60
custom-header: any value
etag: "172ae25df822c3299cf2248694b4ce23"
date: Fri, 11 Sep 2020 03:21:41 GMT
server: envoy
x-envoy-upstream-service-time: 8
content-length: 103
content-type: text/html; charset=utf-8
This response will stay fresh for one minute
Response body generated at: Fri, 11 Sep 2020 03:20:40 GMT
The same response was served after being validated with the backend service.
You can verify this as the response generation time is the same,
but the response date
header was updated with the validation response date.
Also, no age
header.
Every time the response is validated, it stays fresh for another minute. If the response body changes while the cached response is still fresh, the cached response will still be served. The cached response will only be updated when it is no longer fresh.
2. private¶
$ curl -i localhost:8000/service/1/private
HTTP/1.1 200 OK
content-type: text/html; charset=utf-8
content-length: 117
cache-control: private
etag: "6bd80b59b2722606abf2b8d83ed2126d"
date: Fri, 11 Sep 2020 03:22:28 GMT
server: envoy
x-envoy-upstream-service-time: 7
This is a private response, it will not be cached by Envoy
Response body generated at: Fri, 11 Sep 2020 03:22:28 GMT
No matter how many times you make this request, you will always receive a new response;
new date of generation, new date
header, and no age
header.
3. no-cache¶
$ curl -i localhost:8000/service/1/no-cache
HTTP/1.1 200 OK
content-type: text/html; charset=utf-8
content-length: 130
cache-control: max-age=0, no-cache
etag: "ce39a53bd6bb8abdb2488a5a375397e4"
date: Fri, 11 Sep 2020 03:23:07 GMT
server: envoy
x-envoy-upstream-service-time: 7
This response can be cached, but it has to be validated on each request
Response body generated at: Fri, 11 Sep 2020 03:23:07 GMT
After a few seconds:
$ curl -i localhost:8000/service/1/no-cache
HTTP/1.1 200 OK
cache-control: max-age=0, no-cache
etag: "ce39a53bd6bb8abdb2488a5a375397e4"
date: Fri, 11 Sep 2020 03:23:12 GMT
server: envoy
x-envoy-upstream-service-time: 7
content-length: 130
content-type: text/html; charset=utf-8
This response can be cached, but it has to be validated on each request
Response body generated at: Fri, 11 Sep 2020 03:23:07 GMT
You will receive a cached response that has the same generation time.
However, the date
header will always be updated as this response will always be validated first.
Also, no age
header.
If you change the response body in the yaml file:
$ curl -i localhost:8000/service/1/no-cache
HTTP/1.1 200 OK
content-type: text/html; charset=utf-8
content-length: 133
cache-control: max-age=0, no-cache
etag: "f4768af0ac9f6f54f88169a1f3ecc9f3"
date: Fri, 11 Sep 2020 03:24:10 GMT
server: envoy
x-envoy-upstream-service-time: 7
This response can be cached, but it has to be validated on each request!!!
Response body generated at: Fri, 11 Sep 2020 03:24:10 GMT
You will receive a new response that’s served from the backend service. The new response will be cached for subsequent requests.
You can also add new responses to the yaml file with different cache-control
headers and start experimenting!
To learn more about caching and cache-control
headers visit
the MDN Web Docs.


{{ partial "head.html" . }}
{{ partial "nav.html" . }}
{{ partial "breadcrumbs.html" . }}
{{ i18n "download_issues"}}
https://gitee.com/openeuler/community-issue
{{ i18n "download_iso_button"}}
{{ partial "footer.html" . }}
{{ partial "scripts.html" . }}


{{orderDetails.order_no}}
{{orderDetails.status}}
{{orderDetails.username}}
¥{{orderDetails.supplier_price}}
¥{{orderDetails.market_price}}
{{orderDetails.goods_number}}
{{orderDetails.pay_name}}
{{orderDetails.create_time}}
{{orderDetails.paytime}}
{{orderDetails.complete_time}}
{{payTerm}}
{{orderDetails.shipping_way}}
{{goodsDetails.goods_name}}
{{orderDetails.sku}}
{{receiveDetails.consignee}}
{{receiveDetails.district}}
{{receiveDetails.consignee_mobile}}
{{receiveDetails.buyer_message}}
{{receiveDetails.invoice_type}}
{{receiveDetails.invoice_header}}
{{receiveDetails.invoicer_card}}
{{receiveDetails.invoice_content}}
{{obj.value}} {{obj.time}}
{{obj.content}}
关闭订单退款 关闭订单线下退款 退货 换货 上门维修 上门退货 上门换货 {{platformInfo.handle_time}}
{{platformInfo.reasons}}
{{platformInfo.refund_result}} {{platformInfo.refund_time}}
{{platformInfo.refund_type}}
{{comments.name}} {{comments.content}}


Social impact focused computer scientist with professional experience ranging from leading engineering projects within labs groups to architecting scalable systems and telephone networks, to researching and developing ways to improve Google Search.
In my free time I direct my creative design and technology skills to personal projects that serve and engage with my community.
My team is within the social impact arm of Google Search. We research and develop ways to better serve those searching for civic or educational information. Our research involves analyzing the massive dataset of Search queries and working with research scientists across the organization. We develop within the Google Search infrastructure and run live experiments that reach millions of Search users every day, with the goal of making a quality education universally accessible as well as inform and further engage those who come to Search with civic informational needs.
I also lead two initiatives for women at Google:
Jun 2017 - Present
Manhattan, NY
Professional sabbatical taken Winter 2016/17 - Spring 2017
"Pioneer Works is a cultural center dedicated to experimentation, education and production across disciplines"
During my residency I began developing a digital coloring book about math which was featured in an exhibition at Pioneer Works in May.
It has already been read/viewed by more than 30k people online and is being tested by educators ranging from elementary school tutors to college math professors. (See projects for details).
Apr 2017 - May 2017
Brooklyn, NY
The Recurse Center is a self-directed educational center and programmers' retreat
Led a Machine Learning study group and worked on various algorithmic art projects.
Feb 2017 - Apr 2017
Manhattan, NY
The HFA technology team worked 7days/week from the campaign headquarters for the Democratic presidential nominee.
Built data infrastructure that powered the campaign and supported our analytics team, as well as led the engineering design and development for several projects:
Feb 2016 - Nov 2016
Manhattan, NY
Mast Mobile is a telecom startup building an intelligent mobile communications network.
Aug 2014 - Feb 2016
Manhattan, NY
Blue Ridge Labs is a social impact incubator with a fellowship that brings together entrepreneurs, designers, and developers to build for communities that are often overlooked by technology.
Press:
Jun 2014 - Aug 2014
Brooklyn, NY
Huffpost Labs operated as a startup embedded within the Huffington Post, exploring and building innovations for digital journalism.
Sep 2013 - June 2014
Manhattan, NY
Various software development internships
Winter - Spring 2013
Worked closely with Professor Philip Klein to help develop and write content, problem sets, and labs for his recently published textbook: Coding The Matrix: Linear Algebra Through Computer Science Applications".
Summer 2012
GPA: 3.8/4.0
Graduated May 2013
Dean's List
GPA: 3.9/4.0
Fall 2009 - Winter 2010
Transferred to Brown Jan. 2011
A mathematical coloring book that exists both digitally and on paper.
Began its development as a side project during "after work hours" while on the Hillary For America technology team. The prototype I developed became a fully staffed project that I led engineering on.
Before the election the bot was used by both the campaign and DNC to register voters and encourage early voting.
As the election neared and registration deadlines passed, the bot was used to educate and engage voters, as well as for voter protection. It flagged concerning cases for the campaign’s voter protection lawyers and connected vulnerable voters to our team of volunteer lawyers.
Handled natural language processing as it responded to voters with information to voters specific to their state.
Advancing access to sustainable eating.
(Current Project)
"Coding the Matrix: Linear Algebra through Applications to Computer Science"
More recent events related to "Illustrating Group Theory" can be seen on the book's website: Link
The annual conference celebrates women in computing, with more than 17,000 attendees in 2017.
October 2017
Summer 2017
Exhibition: Coloring Group Theory
Children and adults alike learned about math while coloring on the walls and engaging with the interactive animations projected on the walls.
May 2017
Presenting A Coloring Book about Group Theory
April 2017
Presented on balancing consistency and availability in a concurrent system such as Mast Mobile’s intelligent phone network.
January 2016
Presented to over 800 members of New York's startup community and investors, a technology I co-invented for digital journalists (Blogcast).
Press: Huffpost
January 2014
(highlights)
Donated time as a technical consultant and developer to a progressive organization that was born from the 2016 election outcome.
Winter 2016/17
Volunteered weekly to help NYC public school students improve their math and critical thinking abilities.
Nov 2015 - Mar 2016
hackNY.org | Mentor
Co-organized by faculty from NYU and Columbia, hackNY has since February 2010 organized the hackNY Fellows program and hackNY student hackathons during the school year in order to create and empower a community of student-technologists.
Summer 2014 & Summer 2015
Managed the budget, collection of dues, and allocation or financial resources for an environmentally focused cooperative house that provided housing and meals for over 30 students every year.
Nov 2015 - Mar 2016


- java.lang.Object
-
- org.joda.money.MoneyUtils
-
public final class MoneyUtils extends java.lang.Object
Utilities for working with monetary values that handle null.This utility class contains thread-safe static methods.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BigMoney
add(BigMoney money1, BigMoney money2)
Adds twoBigMoney
objects, handling null.static Money
add(Money money1, Money money2)
Adds twoMoney
objects, handling null.static boolean
isNegative(BigMoneyProvider moneyProvider)
Checks if the monetary value is negative and non-zero, treating null as zero.static boolean
isNegativeOrZero(BigMoneyProvider moneyProvider)
Checks if the monetary value is negative or zero, treating null as zero.static boolean
isPositive(BigMoneyProvider moneyProvider)
Checks if the monetary value is positive and non-zero, treating null as zero.static boolean
isPositiveOrZero(BigMoneyProvider moneyProvider)
Checks if the monetary value is positive or zero, treating null as zero.static boolean
isZero(BigMoneyProvider moneyProvider)
Checks if the monetary value is zero, treating null as zero.static BigMoney
max(BigMoney money1, BigMoney money2)
Finds the maximumBigMoney
value, handing null.static Money
max(Money money1, Money money2)
Finds the maximumMoney
value, handing null.static BigMoney
min(BigMoney money1, BigMoney money2)
Finds the minimumBigMoney
value, handing null.static Money
min(Money money1, Money money2)
Finds the minimumMoney
value, handing null.static BigMoney
subtract(BigMoney money1, BigMoney money2)
Subtracts the secondBigMoney
from the first, handling null.static Money
subtract(Money money1, Money money2)
Subtracts the secondMoney
from the first, handling null.
-
-
-
Method Detail
-
isZero
public static boolean isZero(BigMoneyProvider moneyProvider)
Checks if the monetary value is zero, treating null as zero.This method accepts any implementation of
BigMoneyProvider
.- Parameters:
moneyProvider
- the money to check, null returns zero- Returns:
- true if the money is null or zero
-
isPositive
public static boolean isPositive(BigMoneyProvider moneyProvider)
Checks if the monetary value is positive and non-zero, treating null as zero.This method accepts any implementation of
BigMoneyProvider
.- Parameters:
moneyProvider
- the money to check, null returns false- Returns:
- true if the money is non-null and positive
-
isPositiveOrZero
public static boolean isPositiveOrZero(BigMoneyProvider moneyProvider)
Checks if the monetary value is positive or zero, treating null as zero.This method accepts any implementation of
BigMoneyProvider
.- Parameters:
moneyProvider
- the money to check, null returns true- Returns:
- true if the money is null, zero or positive
-
isNegative
public static boolean isNegative(BigMoneyProvider moneyProvider)
Checks if the monetary value is negative and non-zero, treating null as zero.This method accepts any implementation of
BigMoneyProvider
.- Parameters:
moneyProvider
- the money to check, null returns false- Returns:
- true if the money is non-null and negative
-
isNegativeOrZero
public static boolean isNegativeOrZero(BigMoneyProvider moneyProvider)
Checks if the monetary value is negative or zero, treating null as zero.This method accepts any implementation of
BigMoneyProvider
.- Parameters:
moneyProvider
- the money to check, null returns true- Returns:
- true if the money is null, zero or negative
-
max
public static Money max(Money money1, Money money2)
Finds the maximumMoney
value, handing null.This returns the greater of money1 or money2 where null is ignored. If both input values are null, then null is returned.
- Parameters:
money1
- the first money instance, null returns money2money2
- the first money instance, null returns money1- Returns:
- the maximum value, null if both inputs are null
- Throws:
CurrencyMismatchException
- if the currencies differ
-
min
public static Money min(Money money1, Money money2)
Finds the minimumMoney
value, handing null.This returns the greater of money1 or money2 where null is ignored. If both input values are null, then null is returned.
- Parameters:
money1
- the first money instance, null returns money2money2
- the first money instance, null returns money1- Returns:
- the minimum value, null if both inputs are null
- Throws:
CurrencyMismatchException
- if the currencies differ
-
add
public static Money add(Money money1, Money money2)
Adds twoMoney
objects, handling null.This returns
money1 + money2
where null is ignored. If both input values are null, then null is returned.- Parameters:
money1
- the first money instance, null returns money2money2
- the first money instance, null returns money1- Returns:
- the total, where null is ignored, null if both inputs are null
- Throws:
CurrencyMismatchException
- if the currencies differ
-
subtract
public static Money subtract(Money money1, Money money2)
Subtracts the secondMoney
from the first, handling null.This returns
money1 - money2
where null is ignored. If both input values are null, then null is returned.- Parameters:
money1
- the first money instance, null treated as zeromoney2
- the first money instance, null returns money1- Returns:
- the total, where null is ignored, null if both inputs are null
- Throws:
CurrencyMismatchException
- if the currencies differ
-
max
public static BigMoney max(BigMoney money1, BigMoney money2)
Finds the maximumBigMoney
value, handing null.This returns the greater of money1 or money2 where null is ignored. If both input values are null, then null is returned.
- Parameters:
money1
- the first money instance, null returns money2money2
- the first money instance, null returns money1- Returns:
- the maximum value, null if both inputs are null
- Throws:
CurrencyMismatchException
- if the currencies differ
-
min
public static BigMoney min(BigMoney money1, BigMoney money2)
Finds the minimumBigMoney
value, handing null.This returns the greater of money1 or money2 where null is ignored. If both input values are null, then null is returned.
- Parameters:
money1
- the first money instance, null returns money2money2
- the first money instance, null returns money1- Returns:
- the minimum value, null if both inputs are null
- Throws:
CurrencyMismatchException
- if the currencies differ
-
add
public static BigMoney add(BigMoney money1, BigMoney money2)
Adds twoBigMoney
objects, handling null.This returns
money1 + money2
where null is ignored. If both input values are null, then null is returned.- Parameters:
money1
- the first money instance, null returns money2money2
- the first money instance, null returns money1- Returns:
- the total, where null is ignored, null if both inputs are null
- Throws:
CurrencyMismatchException
- if the currencies differ
-
subtract
public static BigMoney subtract(BigMoney money1, BigMoney money2)
Subtracts the secondBigMoney
from the first, handling null.This returns
money1 - money2
where null is ignored. If both input values are null, then null is returned.- Parameters:
money1
- the first money instance, null treated as zeromoney2
- the first money instance, null returns money1- Returns:
- the total, where null is ignored, null if both inputs are null
- Throws:
CurrencyMismatchException
- if the currencies differ
-
-


--- layout: minimal title: "Videos" permalink: /videos/index.html image: '/assets/img/series.png' description: "Check out attack videos from people in our clan" ---
Nothing Yet!


I like to eat
_____
.  My best friend is
_____
. I like
_____
.
Change Food
Change Enemy
Change Friend
Change Verb
Counter
0
-1
+1
Back


For no reason whatsoever, I feel it is high time we enjoyed once again dance critic Wilma Salisbury's report of the “crumpled Jesuit” Father Bob VerEecke's magnificent performance, as recorded in The Plain Dealer in July 1999. Below, a priceless snap of Father Bob putting his students through their paces.
As an introduction to the Jesuit priest's choreography, Kahn performed Overwhelmed, an expressionistic evocation of a dark emotional state that suggested sacred dance only in a few gestures of prayer. Set to a recording of prepared piano music by John Cage, the brief piece ended with the exhausted dancer lying in a heap as the stage darkened. When the lights came up, Kahn had disappeared, and VerEecke had taken her place in the same crumpled position. Rising from the floor, he cried out to God, ran around the periphery of the stage and pounded his fists against the rear wall. His cries of the heart were picked up and developed in lyrical movements by ten dancers who had learned the graceful choreography in VerEecke's workshop.


Light as a Feather
Note: some tests launch new browser windows, so make sure no popup blockers are on.


Django SuperTagging v0.5 documentation
This is a way to populate your content with extra content in relation to the tags. The most common way would be to replace where the tags are located with links to another section of your site with more information.
In the settings you will need to have
SUPERTAGGING_SETTINGS = {
# ... Other settings
'MARKUP': {
'ENABLED': True,
}
}
When SuperTagging loads up and markup is enabled, it will add an additional attribute for every field specified in WATCHED_FIELDS.
SUPERTAGGING_SETTINGS = {
'ENABLED': True,
'WATCHED_FIELDS': {
'stories.story':
{'fields':[
{'name': 'body',
'markup_handler': 'MyCustomHandler'}]},
'media.image':
{'fields':[
{'name': 'caption'}]},
'blog.entry':
{'fields':[
{'name': 'content'},
{'name': 'tease',
'markup': False}]}
},
# ... Other settings
'MARKUP': {
'ENABLED': True,
'FIELD_SUFFIX': "tagged",
},
}
Lets take the code sample above as an example. We notice that markup is enabled and the prefix for the markup fields is tagged. The first module is a story model, and the field named body is marked to be tagged. It also specifies a custom markup handler, which we’ll get to a bit later. The next model is a image model and the caption field is marked for tagging. The last model is an entry model and it has 2 fields marked for tagging, content and tease, but tease is not to be marked up.
After SuperTagging is done loading you will end up with three additional attributes for the three different models.
Notice that the a tease__tagged does not exist for the Entry model because the markup flag for that field is False.
Each field will be assigned a MarkupHandler object, which can be found in supertagging/markup.py file. This module does all the markup processing for you on the fly. If an error occurs, since the original content is never touched, the original content is returned.
You can create your own custom handler as well.
from supertagging.markup import MarkupHandler
class MyCustomHandler(MarkupHandler):
def handle(self, instance):
# DO YOUR CUSTOM MARKUP HERE
return "MARKED UP CONTENT"
The handle method needs to return a string of the marked up content.
If you want a create a custom handler but use the default markup method, your code might look something like this:
from supertagging.markup import MarkupHandler, markup_content
class MyCustomHandler(MarkupHandler):
def handle(self, instance):
# DO SOMETHING HERE
return markup_content(instance, self.field)
markup.html
This template is used to render the tags in a marked up state. Below is the default html rendered.
{{ actual_value }}
Context
- actual_value - the value of the tag, this might be the same as the tag name or a reference to the tag, IE: ‘his’, ‘her’ etc.
- tag - a SuperTag instance
There is a build-in cache for the markup, since every time we call this new attribute, a couple database calls need to happen to retrieve all the tags and its meta data for an instance.
You can change the default timeout for this cache by changing the following setting
SUPERTAGGING_MARKUP_CONTENT_CACHE_TIMEOUT = 3600
In some cases, after enabling markup and successfully tagging an instance the markup does not show up. Two things might cause this, 1 is the cache has not expired and 2 the markup did not validate.
Markup validation happens when the markup field is called and the data retrieved does not match what the instance has stored. This usually means that the instance was edited and the field that gets tagged was changed and it has not been re-processed by OpenCalais.


--- layout: layout ---
I am a PhD candidate at the Département d’informatique at Université du Québec à Montréal (UQAM), under the supervision of Abdoulaye Baniré Diallo, director of the Laboratoire Bioinformatique à l’UQAM, Adrian Tsang, director of the Centre for Structural and Functional Genomics (CSFG) at Concordia University, and Marie-Jean Meurs, Associate Professor with the Département d’informatique at UQAM.
I hold a NSERC Alexander Graham Bell Canada Graduate Scholarship, and was awarded the FRQNT Doctoral research scholarship.
My research interests lie in the fields of machine learning, bioinformatics, information retrieval and extraction, big data mining, natural language processing and understanding.
During my masters I was awarded a MITACS Accelerate fellowship to conduct research in supervised learning, text mining and data sampling methods applied to biomedical text classification.


The Storyboard extension provides the capability to embed a series of 'cards' containing screenshots or data (text, xml, or html) in a panel at the bottom of the specification.
This information is captured at runtime to present actions that have been performed on the system under test. These can be used both as an aid to understanding what the test actually did, and as a debugging tool when something goes wrong.
The name comes from a movie development technique where a panel of pictures or other movie clips, laid out in the sequence that they will be shown in the movie. In general, storyboards are a series of photos or drawings that outline the sequence of scenes and major changes in the movie.
This extension currently supports two types of cards out of the box:
If there are a lot of steps, or many examples in a specification the storyboard can get overly large, this is where containers can aid us. This extension comes with two containers:


Emmanuel Frecon -<EMAIL_ADDRESS>Swedish Institute of Computer Science Interactive Collaborative Environments Laboratory
The floatingbbar library implements a new Tcl/Tk widget that presents itself as an (animated) floating button bar that pops up from one of the side of the screen in a direction that can be chosen. The floatingbbar features any number of buttons.
The floatingbbar library provides support for a button bar that will pop up from one side of the screen whenever the mouse hoovers into it. It is useful when trying to save screen space while letting users know that there are more commands available if they need it. The library geared towards fullscreen applications but can be used in any other settings. The library is built on top of the notifier library, available from the same site.
For the time being, floatingbbar has very little documentation and you will have to read the code.
New floatingbbars are created with the command ::floatingbbar::new, the command takes (possibly) the path to a new toplevel floatingbbar, together with a number of key values parameters. The options recognised by the floatingbbar are:
-bg: The background color image. -pad: Padding in pixels between buttons. -side: Side of the bbar (always centered): right, left, top, bottom -content: An even list describing the content of the button bar. First item is the path to an image, second item is the command to associate to the button.
The command returns the path to the floatingbbar. This path is also a command on which you can perform a number of operations:
config (or configure) will reconfigure the creation options.
Any other command will be passed further to the notifier widget.
floatingbbar is subject to the new BSD license, I would appreciate to incorporate any modifications and improvements that you make to the library.
The library is hosted at the following address: http://www.sics.se/~emmanuel/?Code:floatingbbar


| Sight Eye Finance Group™ |
is more than money; it is a peer-to-peer network to operate with no central authority or bank.
is more than a cryptocurrencies; it is a community driven decentralized application platform.
is a decentralized, collateral-backed cryptocurrency pegged to the US Dollar.(Stablecoin)