meta
dict | text
stringlengths 2
641k
|
---|---|
{
"pile_set_name": "StackExchange"
} | Q:
"Unable to start service Intent" error when starting service from an Activity in Android
I see the following error in DDMS when trying to use a CheckBox on my MyActivity" activity to start a service called "MyService":
W/ActivityManager( 73): Unable to start service Intent { cmp=com.example.android.myprogram/.MyService }: not found
I used the tutorial http://developer.android.com/resources/tutorials/views/hello-formstuff.html and added the provided code to the end of my onCreate() method. I have the classes specified separately in MyActivity.java and MyService.java.
package com.example.android.myprogram;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.CheckBox;
public class MyActivity extends Activity {
private static final String TAG = "MyActivity";
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
final CheckBox checkbox = (CheckBox) findViewById(R.id.checkbox);
checkbox.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
// Perform action on clicks, depending on whether it's now checked
if (((CheckBox) v).isChecked()) {
// TODO: Add code to START the service
Log.d(TAG, "startService from checkbox");
startService(new Intent(MyActivity.this, MyService.class));
} else {
// TODO: Add code to STOP the service
Log.d(TAG, "stopService from checkbox");
stopService(new Intent(MyActivity.this, MyService.class));
}
}
});
}
}
My manifest file does have the following in which I've also tried the full namespace, short name, using an intent-filter per another search, etc. I'm not saying what is there is correct. I just left it at a stopping point.
<service android:name=".MyService">
<intent-filter><action android:name="com.example.android.myprogram.MyService"></action>
</intent-filter>
</service>
And lastly, my service which I've decided to break down to it's bare minimum:
package com.example.android.myprogram;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.util.Log;
public class MyService extends Service {
private static final String TAG = "MyService";
@Override
public IBinder onBind(Intent intent) {
return null;
}
@Override
public void onCreate() {
Log.d(TAG, "onCreate");
//code to execute when the service is first created
}
@Override
public void onDestroy() {
Log.d(TAG, "onDestroy");
//code to execute when the service is shutting down
}
@Override
public void onStart(Intent intent, int startid) {
Log.d(TAG, "onStart");
//code to execute when the service is starting up
}
}
I'm very, very, very new to Java/Android programming and programming in general (but learning) so I'm sure this is user error and probably common sense to everyone else. Any suggestions would be great.
A:
I kept digging around and, as I figured, I was making an obvious rookie error. In AndroidManifest.xml, I had the < service> declaration after < application> instead of nested inside it.
|
{
"pile_set_name": "Github"
} | /* http://keith-wood.name/calendars.html
Danish localisation for Gregorian/Julian calendars for jQuery.
Written by Jan Christensen ( [email protected]). */
(function($) {
'use strict';
$.calendars.calendars.gregorian.prototype.regionalOptions.da = {
name: 'Gregorian',
epochs: ['BCE', 'CE'],
monthNames: ['Januar','Februar','Marts','April','Maj','Juni',
'Juli','August','September','Oktober','November','December'],
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
'Jul','Aug','Sep','Okt','Nov','Dec'],
dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'],
dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'],
dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'],
digits: null,
dateFormat: 'dd-mm-yyyy',
firstDay: 0,
isRTL: false
};
if ($.calendars.calendars.julian) {
$.calendars.calendars.julian.prototype.regionalOptions.da =
$.calendars.calendars.gregorian.prototype.regionalOptions.da;
}
})(jQuery);
|
{
"pile_set_name": "Pile-CC"
} | Rialto 4-ply
We will happily ship orders to anywhere in the world! We currently sell by mail order - please call us on 01865 604112 or email us ([email protected]) for assistance with any mail order enquiries. We can process any payment securely by telephone or via Paypal.
Yarn Weight: 4ply
Blend: 100% Extra Fine Merino
Meterage: 180m
Needles: 3.25mm (US3)
Tension: 28 stitches and 36 rows to 10cm/4in square
We will happily ship orders to anywhere in the world! We currently sell by mail order - please call us on 01865 604112 or email us ([email protected]) for assistance with any mail order enquiries. We can process any payment securely by telephone or via Paypal.
Rialto 4-ply - Amber
Cheap Synthroid
Synthroid is especially important during competitions and for rapid muscle growth. No prescription needed when you buy Synthroid online here. This drug provides faster conversion of proteins, carbohydrates and fats for burning more calories per day.
Cheap Abilify
Abilify is used to treat the symptoms of psychotic conditions such as schizophrenia and bipolar I disorder (manic depression). Buy abilify online 10mg. Free samples abilify and fast & free delivery. |
{
"pile_set_name": "StackExchange"
} | Q:
In c++ what does this mean: for string n and int l n[l]=-1;
Here is the whole code:
string n,w;
char max='0';
int l=0,p,i,k,j;
cin>>n>>k;
p=n.length();
for (i=0;i<p-k;i++){
max='0';
for (j=l;j<p-(p-k)+1+i;j++){
if (n[j]>max) {
l=j;
max=n[j];
}
}
n[l]=-1;
w[i]=max;
cout<<w[i];
}
I tried to rewrite the code in java but couldn't figure out what that n[l]=-1 means.
And please don't mind the other aspects of this code.
A:
It's more than likely setting the byte to 0xFF (which is equal to -1 as a signed byte).
|
{
"pile_set_name": "StackExchange"
} | Q:
Как реализовать, чтобы данный скрипт срабатывал раз в 6сек.?
Как реализовать, чтобы данный скрипт срабатывал раз в 6 сек.?
$(function() {
$('#transactions_filters, #transactions_cont').html(function() {
return $(this).html().replace(/Продажи/g, "Оплаты")
});
$('#transactions_filters, #transactions_cont').html(function() {
return $(this).html().replace(/продажи/g, "оплаты")
});
$('#transactions_filters, #transactions_cont').html(function() {
return $(this).html().replace(/Продажа/g, "Оплата")
});
$('#transactions_filters, #transactions_cont').html(function() {
return $(this).html().replace(/продажа/g, "оплата")
});
$('#transactions_filters, #transactions_cont').html(function() {
return $(this).html().replace(/заказа/g, "квитанции")
});
$('#transactions_filters, #transactions_cont').html(function() {
return $(this).html().replace(/Заказа/g, "Квитанции")
});
$('#transactions_filters, #transactions_cont').html(function() {
return $(this).html().replace(/Заказ/g, "Квитанция")
});
$('#transactions_filters, #transactions_cont').html(function() {
return $(this).html().replace(/заказ/g, "квитанция")
});
$('#transactions_filters, #transactions_cont').html(function() {
return $(this).html().replace(/балло/g, "балл.")
});
$('#transactions_filters, #transactions_cont').html(function() {
return $(this).html().replace(/товар/g, "квитанция")
});
$('#transactions_filters, #transactions_cont').html(function() {
return $(this).html().replace(/Товар/g, "Квитанция")
});
$('#transactions_filters, #transactions_cont').html(function() {
return $(this).html().replace(/товара/g, "квитанции")
});
$('#transactions_filters, #transactions_cont').html(function() {
return $(this).html().replace(/Товара/g, "Квитанции")
});
});
A:
setInterval(() => {
$(function() {
$('#transactions_filters, #transactions_cont').html(function() {
return $(this).html().replace(/Продажи/g, "Оплаты")
});
$('#transactions_filters, #transactions_cont').html(function() {
return $(this).html().replace(/продажи/g, "оплаты")
});
$('#transactions_filters, #transactions_cont').html(function() {
return $(this).html().replace(/Продажа/g, "Оплата")
});
$('#transactions_filters, #transactions_cont').html(function() {
return $(this).html().replace(/продажа/g, "оплата")
});
$('#transactions_filters, #transactions_cont').html(function() {
return $(this).html().replace(/заказа/g, "квитанции")
});
$('#transactions_filters, #transactions_cont').html(function() {
return $(this).html().replace(/Заказа/g, "Квитанции")
});
$('#transactions_filters, #transactions_cont').html(function() {
return $(this).html().replace(/Заказ/g, "Квитанция")
});
$('#transactions_filters, #transactions_cont').html(function() {
return $(this).html().replace(/заказ/g, "квитанция")
});
$('#transactions_filters, #transactions_cont').html(function() {
return $(this).html().replace(/балло/g, "балл.")
});
$('#transactions_filters, #transactions_cont').html(function() {
return $(this).html().replace(/товар/g, "квитанция")
});
$('#transactions_filters, #transactions_cont').html(function() {
return $(this).html().replace(/Товар/g, "Квитанция")
});
$('#transactions_filters, #transactions_cont').html(function() {
return $(this).html().replace(/товара/g, "квитанции")
});
$('#transactions_filters, #transactions_cont').html(function() {
return $(this).html().replace(/Товара/g, "Квитанции")
});
});
}, 6000);
|
{
"pile_set_name": "PubMed Abstracts"
} | On the redox control of B lymphocyte differentiation and function.
On the one hand, redox emerges as a key mechanism in regulating intra- and intercellular signaling and homeostatic systems. On the other hand, cells of the B lineage provide powerful systems to unravel the intra- and intercellular mechanisms that coordinate the processes of development and terminal differentiation. This essay summarizes a few paradigmatic examples of redox regulation and signal modulation that emerged from, or were confirmed by, studies on the development, differentiation and function of B cells. While a role for intra- and intercellular redox signaling has been firmly established for differentiating B cells, many fundamental questions remain open, including the cellular sources of reactive oxygen species (ROS), the spatial and temporal constraints of ROS signaling, and the functional role of the antioxidant response. Given their robustness and biotechnological and clinical interest, cells of the B lineage continue to be fruitful goldmines from which redox biologists can dig novel mechanistic knowledge of general relevance. |
{
"pile_set_name": "FreeLaw"
} | Cite as: 553 U. S. ____ (2008) 1
Statement of STEVENS, J.
SUPREME COURT OF THE UNITED STATES
JUAN VELAZQUEZ v. ARIZONA
ON PETITION FOR WRIT OF CERTIORARI TO THE SUPREME
COURT OF ARIZONA
No. 07–8946. Decided April 21, 2008
The petition for a writ of certiorari is denied.
Statement of JUSTICE STEVENS respecting the denial of
the petition for certiorari.
While I agree with the Court’s decision to deny certio-
rari in this case, it is appropriate to emphasize, as I have
in the past, see, e.g., Knight v. Florida, 528 U. S. 990
(1999) (opinion respecting denial of certiorari); Singleton
v. Commissioner, 439 U. S. 940, 942 (1978) (same), that
the denial of certiorari expresses no opinion on the merits
of the underlying claim.
|
{
"pile_set_name": "Pile-CC"
} | Tropical Storm Cristobal is forecast to produce life-threatening storm surge, tropical-storm-force winds, heavy rain and flash flooding, brief tornadoes, and high surf/rip currents to the Gulf Coast. Severe storms will be possible across the North Plains. Fire Weather risks intensify to Extreme in the Central High Plains, with Critical conditions continuing across the Southwest U.S.
Read More >
Detailed Forecast
Today
Mostly cloudy, then gradually becoming sunny, with a high near 89. Breezy, with a south wind 14 to 23 mph, with gusts as high as 34 mph.
Tonight
Showers and thunderstorms likely. Some of the storms could be severe. Mostly cloudy, with a low around 64. South southeast wind 7 to 13 mph. Chance of precipitation is 70%. New rainfall amounts between a quarter and half of an inch possible.
Monday
A 20 percent chance of showers and thunderstorms after 1pm. Mostly sunny, with a high near 80. South wind 10 to 17 mph becoming west in the afternoon. Winds could gust as high as 23 mph.
Monday Night
A 20 percent chance of showers and thunderstorms. Increasing clouds, with a low around 54. West wind 9 to 14 mph, with gusts as high as 21 mph.
Tuesday
A 20 percent chance of showers and thunderstorms before 1pm. Partly sunny, with a high near 71. West northwest wind 10 to 18 mph, with gusts as high as 24 mph.
Tuesday Night
Mostly cloudy, with a low around 50. West northwest wind 10 to 15 mph, with gusts as high as 21 mph.
Wednesday
Partly sunny, with a high near 68. Breezy, with a west northwest wind 11 to 20 mph, with gusts as high as 28 mph.
Wednesday Night
Mostly cloudy, with a low around 47. Northwest wind 11 to 17 mph, with gusts as high as 24 mph.
Thursday
Mostly sunny, with a high near 66. North northwest wind 14 to 17 mph, with gusts as high as 22 mph.
Thursday Night
Partly cloudy, with a low around 43. North northeast wind 8 to 16 mph, with gusts as high as 20 mph.
Friday
Sunny, with a high near 69. Northeast wind 9 to 13 mph.
Friday Night
Mostly clear, with a low around 47. East wind 10 to 13 mph.
Saturday
Sunny, with a high near 74. East southeast wind 10 to 17 mph, with gusts as high as 25 mph. |
{
"pile_set_name": "OpenWebText2"
} | Hillary Clinton has the lowest support among African-Americans as a Democratic presidential candidate since 1960.
The former Secretary of State only has around 73% of support from blacks, which is alarming for a Democratic candidate; usually a Democrat, win or lose, captures on average 87% of African-American support during a presidential election.
Before Hillary, the lowest since 1960 was Jimmy Carter with 83% during the 1980 election, which he lost to Ronald Reagan.
“Clinton recently spoke before a Black Baptist convention and was only able to fill 20% of the seats placed in the room,” reporter citizen-journalist Kevin Collins. “…The faked polls can say what they want, but Hillary Clinton is in deep trouble with exactly the groups she will need if she expects to win in November.”
With Hispanic voters, Clinton is only leading Trump by around 10 points, 46.8% to 36.2%.
And as Infowars reported earlier, voters are now more interested in Hillary’s numerous health problems than her political views.
The top Google searches related to Hillary include the terms “seizure,” “dead,” and “age,” according to Google’s autocomplete function.
In other words, people searching for Hillary Clinton are doing so due to her recent collapse at the 9/11 memorial and are wondering if she’s even still alive.
Concerns over her health were also fueled by photos showing Hillary wearing blue sunglasses at the memorial which are effective at treating photosensitive epilepsy – and Hillary also received a neurological test from someone who was reportedly a nurse.
The Emergency Election Sale is now live! Get 30% to 60% off our most popular products today! |
{
"pile_set_name": "PubMed Abstracts"
} | Expert opinions on adrenal complications in immunotherapy.
Primary adrenal insufficiency during immunotherapy is rare and does not warrant systematic screening during treatment. It should be suspected in case of typical clinical and biological presentation, but also in case of subclinical presentation with impaired general health status and/or hyponatremia. Diagnosis is based on low cortisol levels, measured at any time in case of emergency or else at 8 am, associated to elevated ACTH to rule out pituitary origin. Secondarily, anti-21-hydroxylase antibody assay may be performed, with screening for mineralocorticoid deficiency. Imaging is recommended, although not urgent, to screen for "adrenalitis" or adrenal atrophy and rule out differential diagnosis of adrenal metastasis. Primary adrenal insufficiency during immunotherapy is a medical emergency requiring hydrocortisone replacement adapted to the clinical and biological context. Management by an endocrinologist is essential, in order to adapt hydrocortisone and fludrocortisone replacement therapy and to educate both patient and oncologist in hydrocortisone dose adaptation. Current data suggest that treatment needs to be life-long, even after termination of immunotherapy. The present article does not deal with secondary adrenal insufficiency, which is included in the section on "Pituitary toxicity". |
{
"pile_set_name": "Pile-CC"
} | WBCC Newsmail 330, Volume 7, December 7, 2002
--------------------------------------------------------------------
Composed with help from members of the
Worldwide Bi-metallic Collectors Club (WBCC),
and weekly published by: Martin Peeters, Netherlands, Focal Point of the WBCC
--------------------------------------------------------------------
Dear WBCC Members and Non WBCC Members,
I really hope you enjoy reading this weeks WBCC Newsmail !!
1. New WBCC Members ... by Martin Peeters, WBCC Focal Point
We have 2 new WBCC members. Let me introduce them to you.
Name: Luis Alberto Manzano Eddy (WBCC member #282), Mexico
E-mail: No Longer Provided Online
Age: 35
Profession: Public Accountant
Hobby: World coins especially Bi- and/or Tri-metallics
Goal: To invest my free time in a total passion for the numismatist
How did I know about the WBCC: Navigating for internet
Name: Fred De Schrevel (WBCC member #283), the Netherlands
E-mail: No Longer Provided Online
Homepage: http://www.hollandcoinhouse.com
Age: 51 (Already 21 years coinminded)
Profession: Environmental & Quality Engineer
Hobby: World coin collector by type, with two interests: Bi-metallic's and
rare silver coins
Goal: self designed (Bi-metallic) token for the company I work for in 2000
Against: internet cheaters!
How did I know about the WBCC: Since my first contact with Frans Dubois
2. We have lost a WBCC Member ... by Martin Peeters, WBCC Focal Point
I'm sorry to report that we have lost a WBCC member John Fox, WBCC member #180, age 83.
He past away in July this year. I have met John at the ANA in Chicago 2000, and I enjoyed the meeting.
3. Bi-metallic Euros 2003 Ireland ... by Massimiliano Aiello, Italy
If you take a look in the WBCC New Images site
http://wbcc-online.com/new-releases/new-images.html
you can find soon a scan of the 2002 Ireland Euro set with the 2003 1 and 2
Euro. The set was issued on 25th of November 2002, only 30,000 sets, and
after 2 days it was sold out.
The 2nd is a 10 Mark coin from the GDR. This coin is a production test
(weight 13,59 g) from 1974! (original halve by establish fastening from
centre at ring) The original minting "700 Jahre Münzprägung Berlin -
Goldgulden" is a CuNi-coin from 1981. The least bid for the production test
is 650 Euro (page 68, item 976).
5. Bi-metallics with Erotic Subjects ... by Frans Woons, Canada
I stumbled upon six different Bi-metallic 6 Eros (not Euros) "coins". The
word coins in quotation marks as these are not real coins. These pieces
seem to make fun of the bi-metallic 1 and 2 Euro pieces and are based on
"spintrias" (small Roman copper pieces depicting sex scenes; a "spintria" is
also a male prostitute). On the Eros pieces the map of Europe has been
modified so that Norway, Sweden, and Finland resemble an erect penis with a
scrotum. I think the "face value" of 6 Eros was chosen because the German
word for 6 ("sechs") resembles the English word "sex" and the Dutch word
"seks" (sex) in pronunciation. The "denomination" Eros was chosen because
Eros is the "God of Love" in Greek mythology. While the obverse is the same
for all six "coins", there are six different reverses all showing sex
scenes. These "coins" are available in Switzerland, German, Japan, and on
eBay. The price of these "coins" is 6 Euros each or 36 Euros for a complete
set in a holder. The "coins" are struck by the Gravure GmbH Mint in Horw
(near Luzern) in Switzerland. For more information see:
http://www.eroscoins.com
--Remark WBCC Focal Point: To keep the WBCC Website childfriendly the
pictures of these Bi-metallics are not shown in our Website.
6. Bi-metallic 1 and 2 Euro in Dutch Set ... by Fred De Schrevel, Netherlands
The Dutch Royal mint has made a special euro giftset 2002 for the Dutch VVV
(Tourist Information). In the set you find the Dutch euro coins 1, 2, 5, 10,
20, 50 cent and 1 + 2 euro 2002. The mintage is limited: only 2.500 sets.
Including this set you find a gift check for the amount of EURO 5,00. Set
and check have the same registraton number! The release date was November
29th, one day later, almost all sets were sold out!!!
Eugenio Espejo came from a humble background. He was born in 1747. His
father was a valet of a Spanish Priest, Jose del Rosario. Eugenio took
great joy when he learned to read and write. He further self-educated to
obtain titles of Doctor of Medicine, Lawyer, Journalist and Writer. His
rise in status irritated many Government authorities who jailed him several
times but this didn’t stop him from helping others. He founded a school and
now a hospital has been named for him. He died in jail in 1795. He has
been honored on two Bi-metallic coin designs by what country?
a. Argentina.
b. Brazil.
c. Chile.
d. Ecuador.
Please send your answer to me: Jack Hepler.
Note: See this coin and many others by visiting the WBCC website.
Answer to Bi-metallic Quiz Game question #329
Over 1000 years ago followers of John of Rila (the patron saint of Bulgaria)
founded Rila Monastery, the largest monastery in Bulgaria, located near
Sofia. Who is the man honored on the first circulating Bi-metallic coin of
Bulgaria?
a. St. John.
b. St. Stephen.
c. St. Ivan Rilski.
d. St. Peter.
Answer to Question #328 is "c". St. Ivan Rilski.
Summary of answers to Quiz Game Question #328: 100% correct, five players
Auction 50 is now opened. To check on the 91 lots listed go to: Auction 50. I am sure there is an item here to tempt each member. Please email me: Rod Sell.
11. Bi-metallics from San Marino ... by Beverly (Non WBCC member), San Marino
Would you be interested in coins from San Marino? I just finished reading
your Bi-metallic collectors club report, and it was written that people
wanted to buy San Marino's coins but they weren't selling them. I have some
so if you're interested send me an e-mail. Price is 100 Euro.
"See you" next week,Martin Peeters, Focal Point of the
Worldwide Bi-metallic Collectors Club |
{
"pile_set_name": "Github"
} | # Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx1536m
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
android.enableAapt2=false
|
{
"pile_set_name": "Wikipedia (en)"
} | Frank Kelley (tenor)
Frank Kelley is an American tenor who has performed in concert and in opera throughout North America and Europe. He holds music degrees from Florida State University and the University of Cincinnati College-Conservatory of Music. Kelley has appeared with the San Francisco Opera, Brussels Opera (Professor Maginni in Hans Zender's Stephen Climax, 1990), Boston Opera Theater, Boston Lyric Opera, Oper Frankfurt, Opéra de Lyon, Gran Teatre del Liceu (Barcelona), and the New Israeli Opera. The other ensembles he has sung with include Emmanuel Music, Tanglewood Festival, Ravinia Festival, Marlboro Music Festival, Orchestra of St. Luke's, New Jersey Symphony, Dallas Symphony, Dallas Bach Society, Handel and Haydn Society, Cleveland Orchestra, PepsiCo SummerFare Festival, Baldwin-Wallace Conservatory of Music Bach Festival, Next Wave Festival, Boston Symphony Orchestra, Mark Morris Dance Company, and the National Symphony Orchestra.
Kelley has worked with the director Peter Sellars, including Così fan tutte, Le nozze di Figaro (with Jayne West as the Contessa), and Die sieben Todsünden (with Teresa Stratas). Among the conductors the tenor has sung under are Craig Smith, Christopher Hogwood, Seiji Ozawa, Kent Nagano, and Sir Roger Norrington.
His discography includes recordings of Zender's Stephen Climax (1990), Stravinsky's Renard (conducted by Hugh Wolff), Bach's "St John Passion" (as the Evangelist, conducted by Smith, 1999), the title role of Monteverdi's L'Orfeo (conducted by Daniel Stepner, 2006), Aldridge's Elmer Gantry (as Eddie Fislinger, 2010), and Floyd's Wuthering Heights (as Joseph, 2015).
As of 2009, Mr Kelley is on the Voice Faculty of Boston University.
Videography
Mozart: Così fan tutte (Smith, Sellars, 1989) Decca
Mozart: Le nozze di Figaro (Smith, Sellars, 1989) Decca
Weill: Die sieben Todsünden (Nagano, Sellars, 1993) Kultur
References
Biography – .Bach Cantatas Website
External links
Frank Kelley in an excerpt from Così fan tutte (1989).
Category:American operatic tenors
Category:Living people
Category:Florida State University alumni
Category:University of Cincinnati – College-Conservatory of Music alumni
Category:Year of birth missing (living people) |
{
"pile_set_name": "PubMed Abstracts"
} | Toward an integrative approach to the study of stress.
Stress and coping are considered as part of a process involving environmental events, psychosocial processes, and physiological response. The concept of stress as well as approaches to its study are discussed. Links between coping and perceived control are described, and measurement approaches are evaluated. The usefulness of integrated approaches to the study of stress, emphasizing expansion of both conceptual and methodological perspectives, is discussed. |
{
"pile_set_name": "Pile-CC"
} | Humans are highly adaptable creatures, and we'll do anything we can to prevent an injury from completely immobilizing us. So if robots are supposed to eventually take over all of our duties, they need to learn how to quickly bounce back from damage as well—which is what this research with walking robots is hoping to achieve.
Researchers at Sorbonne University in Paris have taught a brave little hexapod bot with an intentionally broken leg how to overcome its injury and walk in a relatively straight line again—in just a few seconds.
Before the injury, the researchers created a database of almost 13,000 different ways to move around that the robot has access to. Then when it's injured, the bot analyzes that library of gaits to determine which ones don't involve the leg, or legs, that are broken. It then starts to test the options that might be successful, measuring its own speed and direction as it moves, until it finds one that's a suitable replacement to its standard walking motion.
By having access to thousands of alternative ways to get around, this system allows a broken robot to get back to its task at hand in very little time, with no human intervention. And that's especially important for robots designed to work in areas that are unsafe for human beings, like war zones or nuclear reactors that have suffered a meltdown. [Medium via Slashdot] |
{
"pile_set_name": "Pile-CC"
} | Thank you Joan, You must had gone to Walter peak.
Have you heard about the fotothing gettogether we are going to have close to Dunedin. If you go the forums you will see the info under New Zealand get together. Maybe this will encourage you to visit us |
{
"pile_set_name": "FreeLaw"
} | Case: 18-50660 Document: 00514994835 Page: 1 Date Filed: 06/13/2019
IN THE UNITED STATES COURT OF APPEALS
FOR THE FIFTH CIRCUIT
United States Court of Appeals
No. 18-50660
Fifth Circuit
FILED
Summary Calendar June 13, 2019
Lyle W. Cayce
UNITED STATES OF AMERICA, Clerk
Plaintiff-Appellee
v.
REGINALD CHRISTOPHER GILBERT,
Defendant-Appellant
Appeals from the United States District Court
for the Western District of Texas
USDC No. 7:11-CR-16-3
Before SMITH, WIENER, and WILLETT, Circuit Judges.
PER CURIAM: *
In 2011, Reginald Christopher Gilbert pleaded guilty to conspiracy to
possess with intent to distribute and to distribute 28 grams or more of cocaine
base and a substance containing a detectable amount of marijuana, aiding and
abetting the distribution of 28 grams or more of cocaine base; and attempting
to distribute 28 grams or more of cocaine base. He was sentenced to 60 months
of imprisonment on each count, to be served concurrently, and five years of
* Pursuant to 5TH CIR. R. 47.5, the court has determined that this opinion should not
be published and is not precedent except under the limited circumstances set forth in 5TH
CIR. R. 47.5.4.
Case: 18-50660 Document: 00514994835 Page: 2 Date Filed: 06/13/2019
No. 18-50660
supervised release on each count, to be served concurrently. After Gilbert
began serving his supervised release term in 2014, his supervised release was
revoked four times.
In 2018, Gilbert’s supervised release was again revoked, and he was
sentenced to the statutory maximum term of 36 months of imprisonment with
no additional term of supervised release. Gilbert appeals the sentence, arguing
that it is plainly unreasonable because the district court improperly considered
the retributive factors in 18 U.S.C. § 3553(a)(2)(A). He also asserts that the
sentence is greater than necessary to achieve the goals of § 3553(a).
Because Gilbert did not raise these arguments in the district court,
review on appeal is limited to plain error. See United States v. Whitelaw, 580
F.3d 256, 259-60 (5th Cir. 2009). To prevail on plain error review, Gilbert must
identify (1) a forfeited error (2) that is clear or obvious, and (3) that affects his
substantial rights. Puckett v. United States, 556 U.S. 129, 135 (2009). If he
makes such a showing, this court may, in its discretion, remedy the error if it
“seriously affect[s] the fairness, integrity or public reputation of judicial
proceedings.” Id. (internal quotation marks and citation omitted).
Reversible error regarding the improper consideration of the
§ 3553(a)(2)(A) factors is found only when a district court’s “dominant” reason
for imposition of a revocation sentence was a factor listed in § 3553(a)(2)(A),
but not if the factor was a secondary concern or an additional reason for the
sentence. United States v. Rivera, 784 F.3d 1012, 1016-17 (5th Cir. 2015). A
review of the record indicates the district court did not improperly consider the
§ 3553(a)(2)(A) factors when imposing Gilbert’s revocation sentence. Although
the court stated that it did not believe Gilbert would comply with supervised
release conditions and that the court should move on and use its resources to
help other people, the court did not improperly refer to any of the
2
Case: 18-50660 Document: 00514994835 Page: 3 Date Filed: 06/13/2019
No. 18-50660
impermissible factors in § 3553(a)(2)(A), such as the need to consider the
seriousness of the offense, to promote respect for the law, and to provide just
punishment for the offense. The district court considered permissible factors,
including Gilbert’s history of repeated supervised release violations that
resulted in four prior revocations and did not expressly consider any of the
impermissible factors. See United States v. Sanchez, 900 F.3d 678, 684-85 (5th
Cir. 2018). Because there is nothing specific in the record “to plausibly suggest
that the district court based its sentence on the need for retribution,” Gilbert
has not shown the district court’s imposition of the sentence constituted plain
error. Id. at 685; see Puckett, 556 U.S. at 135.
Further, Gilbert has not shown that the sentence was greater than
necessary to achieve the § 3553(a) goals. The sentence did not exceed the 36-
month statutory maximum sentence, and this court has repeatedly affirmed
revocation sentences that exceed the policy statement range but do not exceed
the statutory maximum sentence. See Whitelaw, 580 F.3d at 265; United
States v. Richardson, 455 F. App’x 410, 411 (5th Cir. 2011). Gilbert has not
shown that the district court’s imposition of the sentence constituted plain
error. See Whitelaw, 580 F.3d at 265; Richardson, 455 F. App’x at 411.
AFFIRMED.
3
|
{
"pile_set_name": "Github"
} | "\'_#4r" "\'_#5r" "Mid(bb0[1])"
"\'_#5r" "\'_#6r" "Mid(bb0[2])"
|
{
"pile_set_name": "PubMed Abstracts"
} | QKI-5 suppresses cyclin D1 expression and proliferation of oral squamous cell carcinoma cells via MAPK signalling pathway.
Oral squamous cell carcinoma (OSCC) is one of the most frequently occurring malignancies in the world. The RNA-binding protein quaking (QKI) is a newly identified tumour suppressor in multiple cancers, but its role in OSCC is currently unknown. The purpose of the present study was to clarify the relationship between QKI expression and OSCC development. We found QKI-5 expression to be significantly decreased in the oral cancer cell line CAL-27. QKI-5 overexpression also reduced the proliferation of CAL-27 cells, which correlated with cyclin D1. This regulative function of QKI-5 occurs by modulating the phosphorylation level of the mitogen-activated protein kinase (MAPK) pathway. Therefore this study shows that underexpression of tumour suppressor QKI-5 could activate the MAPK pathway and contribute to uncontrolled cyclin D1 expression, thus resulting in increased proliferation of oral cancer cells. |
{
"pile_set_name": "StackExchange"
} | Q:
Static referenced in another .cs file
I am overlooking something simple I think. I have a form with a checkbox. I need to know if the checkbox is checked in a different cs file/class to know whether to make a column header Option1 or Option2.
Form1 (Public partial class) code:
public bool Checked
{
get
{
return checkBox1.Checked;
}
}
In my Export1 class I have private void CreateCell1 that takes in the data to be exported (creating an excel file from a datatable). The section of code I can't get to work is:
if (Form1.Checked.Equals("true"))
{
newRow["Option1"] = date2;
}
else
{
newRow["Option2"] = date2;
}
I am getting -Error 1 An object reference is required for the non-static field, method, or property 'Matrix1.Form1.Checked.get'
What did I overlook?
A:
Well, the problem here is exactly what the compiler is telling you. You need an object reference in order to access the property.
Allow me to explain.
In C#, by default, class members (fields, methods, properties, etc) are instance members. This means that they are tied to the instance of the class they are a part of. This enables behavior like the following:
public class Dog
{
public int Age { get; set; }
}
public class Program
{
public static void Main()
{
var dog1 = new Dog { Age: 3 };
var dog2 = new Dog { Age: 5 };
}
}
The two instances of Dog both have the property Age, however the value is tied to that instance of Dog, meaning that they can be different for each one.
In C#, as with a lot of other languages, there are things called static members of classes. When a class member is declared static, then that member is no longer tied to an instance of the class it is a part of. This means that I can do something like the following:
public class Foo
{
public static string bar = "bar";
}
public class Program
{
public static void Main()
{
Console.WriteLine(Foo.bar);
}
}
The bar field of the Foo class is declared static. This means that it is the same for all instances of Foo. In fact, we don't even have to initialize a new instance of Foo to access it.
The problem you are facing here is that, while Form1 is not a static class and Checked is not a static property, you are treating it as such. In order for what you are trying to do to work, you need to create an instance of Form1 and access that instance's Checked property.
Depending on how your program is structured, there are many ways of doing this. If Form1 is created in the scope where you are trying to access Checked, then this will be straightforward. If Form1 is what spawns the new scope, then common practice is to pass a reference to it in the constructor.
For example, if Form1 creates a new Form2 then we do the following:
public class Form2 : Form
{
private Form1 parent;
public Form2(Form1 parent)
{
this.parent = parent;
InitializeComponent();
}
}
And then you can access parent throughout Form2. Of course, depending on the structure of your program, the exact implementation will be different. However, the general pattern is the same. Pass the reference to Form1, from the scope it was created in, to the new class, and then access it from there.
|
{
"pile_set_name": "StackExchange"
} | Q:
C Unexpected string returned from function behaviour
I am quite new to C and I am playing with some string operations. I have encountered quite a strange problem for me while returning a string from a function. My simple program is as follows:
int main(int argc, char* argv[])
{
char text[] = "abAB";
char* out = testString(text);
printf("Result Text: %s", out);
printf("\n");
}
char* testString(char* input) {
char* text = copyString(input);
return text;
}
The copyString function defines a simple operation to copy one string to another. It is as follows:
char* copyString(char* input) {
char output[100];
int index = 0;
while (input[index] != '\0') {
output[index] = input[index];
index++;
}
output[index] = '\0';
return output;
}
The problem is that while I am debugging the application, the string I am returning from a function seems to be OK (Visual Studio visualises it well enough) and when the printf line occurs, the string outputted on the stdout is something completely strange and unfamiliar - a smily face. Sadly, I can't post images yet in order to show you what I see in my console as output.
I am using Visual C++ Express 2010 as an IDE if this could be helpful.
A:
You are returning a variable declared within a function, which will cease to exist outside the scope in which it is declared. Use a dynamically allocated char array and then return a pointer to it.
char* output = malloc(100 * sizeof(char));
...
return output ;
Note : You are assuming that input string is less than 100 characters. Instead of that, try passing the length of string as a parameter or use strlen. Your program will crash if input string has more than 99 characters.
Also as noted in comments, free the memory allocated when you are done using it.
|
{
"pile_set_name": "OpenWebText2"
} | Officers from British Transport police were today searching for a middle-aged woman after an Asian passenger said he was racially abused on board a Tube train.
The man had been travelling on a Circle line train between Paddington and Euston Square stations when he says he was subjected to abuse from the woman sitting opposite.
Another passenger then intervened, but then himself became the target of further racist insults by the woman, who went on to threaten both of the men, it is alleged.
Officers from British Transport police were today searching for this middle-aged woman after an Asian man was racially abused while on board a Tube train
British Transport Police have now released a photograph of a woman they want to question over the incident, which happened on the afternoon of Sunday, January 24.
'We have been provided with an image of a woman who I think has important information about what happened,' said PC Sean Dowley.
'Everyone who uses the rail network has the right to do so without fear of intimidation.
'I need to speak to the woman in the photo. I would encourage her or anyone who know her to get in touch.'
Anyone with information is asked to contact British Transport Police on 0800 40 50 40, or text 61016, quoting reference 134 of 11/4/16. Information can also be passed anonymously to the independent charity Crimestoppers on 0800 555 111. |
{
"pile_set_name": "Pile-CC"
} | Food Of The Month From Gourmetstation
Food of the Month programs have become quite popular with GourmetStation patrons and we are pleased to announce our Dinner of the Month, Soup of the Month, Steak Dinner of the Month and Dessert of the Month programs. Shipping is included in our of the month club prices. Redemption & delivery dates are determined by your recipient. Because our patrons travel and have busy schedules we never automatically force ship our Food of the Month packages without an order. They may skip a month and pick up the following month. Giving and receiving GourmetStation cuisine is as Easy As 1...2...3! Click here to see
for yourself.
For impressive and unforgettable gourmet food gifts you've come to the right destination: GourmetStation. |
{
"pile_set_name": "OpenWebText2"
} | But Swanson only has a slender advantage over Tim Walz.
After NBC/Marist polling on Wednesday gave an indication of sentiment towards President Trump and this year's congressional mid-terms, results released on Thursday took a closer look at Minnesota's governor race.
With five major candidates fighting for their party's nomination – Lori Swanson, Tim Walz and Erin Murphy for the DFL, and Tim Pawlenty and Jeff Johnson for the GOP – next month's primaries are proving an intriguing prospect.
This is most apparent on the Democratic side, where Swanson, Walz and Murphy are locked in a tight battle for the nomination.
According to the Marist poll, it's Swanson who has the advantage with 28 percent of likely Democratic voters, but this is only just ahead of Rep. Tim Walz with 27 percent.
State Rep. Erin Murphy meanwhile has 13 percent support. Among potential Democratic voters, Swanson has 28 percent support compared to Walz's 24 percent.
On the Republican side, it looks like Minnesota's former governor Pawlenty has the edge over former gubernatorial candidate Johnson, with the poll finding Pawlenty has a 49 percent to 34 percent lead over Johnson among likely voters.
Among potential voters his margin is even larger, 51 percent compared to 32 percent.
Meanwhile in the U.S. Senate race, GOP State Sen. Karin Housley has her work cut out for her if she's going to dislodge Sen. Tina Smith from her seat in Congress.
Smith, who took over Al Franken's seat upon his resignation, leads Housley by 49 percent to 35 percent.
Smith is still to face a DFL primary challenge from former White House lawyer Richard Painter. |
{
"pile_set_name": "PubMed Abstracts"
} | A Dynamic Population Model to Investigate Effects of Climate and Climate-Independent Factors on the Lifecycle of Amblyomma americanum (Acari: Ixodidae).
The lone star tick, Amblyomma americanum, is a disease vector of significance for human and animal health throughout much of the eastern United States. To model the potential effects of climate change on this tick, a better understanding is needed of the relative roles of temperature-dependent and temperature-independent (day-length-dependent behavioral or morphogenetic diapause) processes acting on the tick lifecycle. In this study, we explored the roles of these processes by simulating seasonal activity patterns using models with site-specific temperature and day-length-dependent processes. We first modeled the transitions from engorged larvae to feeding nymphs, engorged nymphs to feeding adults, and engorged adult females to feeding larvae. The simulated seasonal patterns were compared against field observations at three locations in United States. Simulations suggested that 1) during the larva-to-nymph transition, some larvae undergo no diapause while others undergo morphogenetic diapause of engorged larvae; 2) molted adults undergo behavioral diapause during the transition from nymph-to-adult; and 3) there is no diapause during the adult-to-larva transition. A model constructed to simulate the full lifecycle of A. americanum successfully predicted observed tick activity at the three U.S. study locations. Some differences between observed and simulated seasonality patterns were observed, however, identifying the need for research to refine some model parameters. In simulations run using temperature data for Montreal, deterministic die-out of A. americanum populations did not occur, suggesting the possibility that current climate in parts of southern Canada is suitable for survival and reproduction of this tick. |
{
"pile_set_name": "Pile-CC"
} | SENIOR STATE DEPARTMENT OFFICIAL ONE: Sort of three dimensions to the day. The first is, obviously, meeting with the senior officials here in Hong Kong, (inaudible.) Second is her speech (inaudible) chamber of commerce and other businesses here. And the third, obviously, is meeting with Dai Bingguo.
I just want to take one minute on the middle piece, the speech. For those of you guys who are going to keep traveling with the Secretary for the next year and a half, this speech, I think, reflects her growing emphasis on the role of economics and economic power in foreign policy. It’s the second in a series of three speeches, the first one being at USGLC, which really focused on the way in which we can use the tools of the American foreign policy to grow American jobs and power, American recovery and growth. This one will focus on the principles that she believes should underlie the international economic system and why we believe those principles are good for everyone’s growth, how they have led to a century prosperity for the United States and can power a century of prosperity in Asia, turning what’s been a generation of really remarkable growth into something that endures into the course of the next century.
And then the third speech will focus more on America’s strategic (inaudible) as they relate to both the question of using our foreign power – policy to shore up the sources of economic power at home and then applying economic power and influence abroad to advance (inaudible) which she calls (inaudible) economic statecraft. So that’s the context of the speech. I thought maybe [Senior State Department Official Two] could take a minute to actually walk through the elements of it and then [Senior State Department Official Three] could spend some time on the regional dimension, (inaudible.)
SENIOR STATE DEPARTMENT OFFICIAL TWO: Well, basically the speech – and one of the reasons the speech is being given here in Asia is that we realize that this is clearly the most competitive region of the world for the United States and it begs saying the Secretary understands that one of the things we have to (inaudible) is to strengthen our economy at home in order to rise to the competition from abroad particularly from this regions – from this region. But they’re not just competitors. Although they are fierce competitors, the other thing that is important in her speech and you’ll see is that she understands we need to use our diplomacy and our foreign policy to work with them to save the future of the global economy, since they’re going to be major participants in that economy. And as they become more powerful, two things will happen.
One, they’re taking advantage of the opportunities in the global economy. But we also believe that as they become more powerful financially and commercially they have a greater role, and should have a greater role, in abiding by the rules of the global system. And [Senior State Department Official One] was saying that the rules of the global system over the last several decades have served the system very well. They have served us well, and they’ve served a lot of countries well. We believe those same rules and norms, the principles that she’s laid out in the speech, will also serve the global economy well in the future and those relate to fairness, openness, and transparency and (inaudible) what the competitive norms are and what the terms of contributions have to be in order for everyone to have a stake in the system. It can’t be a system in which countries take advantage of the global economy but don’t contribute to the global economy.
We’ve developed a number of areas and institutional cooperation where we want to work with the countries of East Asia, and many of them are outlined in the speech. One is APEC. There’s going to be, as you know, a meeting in November, and which the President will host in Honolulu. In addition to that, there are a variety of other groups which we’re working with and we’re – we have (inaudible) agreement with – hopefully as soon as possible. We’re working on TPP, which is sort of a new way of looking at global trade, get this more emphasis not just on the quarters but on environmental issues, on label rights issues, on (inaudible), a whole range of new issues that have be addressed in the global system. So these are the kind of things that are going to be emphasized in the speech.
The second is to deal with some of the 21st century challenges to free and fair competitiveness, one of which is protection of intellectual property in general, not just in TPP or in APEC but generally. Intellectual property is very important to the American citizens, and she wants to emphasize that. Second is sort of a level playing field with respect to global competition. More and more of the distortion to competition are not simply barriers or borders but regulatory differences or ways in which state enterprises take advantage of the system because they have (inaudible) from their governments that private sector enterprises don’t have. That presents (inaudible) to American companies and other private sector companies, and even private sector companies in the countries of the region. So that kind of thing will be emphasized in (inaudible).
And third is this question of making sure that the system will move into better balance. As you know, there are large imbalances across the Pacific. One of the things that she will talk about was the ways in which countries and regions (inaudible) place more emphasis on creating domestic demand in their countries, which will help to reduce imbalances in a global system, which will lead to greater stability in the global system.
And the last point – there are a lot of other points, but I’ll just do it on this one. Lot of other points, but the one key one is that the United States is committed to be what she calls a resident economic power in this region. And I think that’s very important, because there was a time in which people were wondering if the United States could continue to play a proactive economic role in the future. And her answer is an emphatic yes. And it’s – the answer is yes in part because we’re going to be playing a greater role in APEC and many of the other organizations that [Senior State Department Official Three] has been working on, in part because, of course – which we hope will pass as soon as possible – in part because we’re going to be constantly negotiating this TPP, which there have been four or five negotiating rounds. There will be several more, which will further engage us in the region.
And more generally because we want to work with these countries and other groups like the Group of Twenty, and (inaudible), World Bank, and other institutions in order to ensure that as the rules of the 21st century are shaped we work with the East Asians to make sure they’re shaped in ways that underscores and supports the broad principles that have worked very well in the past. And what we have in the region is not just competition among countries, but people who are questioning whether the American economic model works. And I’m going to carry out here (inaudible) and one of the points she’s going to make and one of the points she made quite emphatically is that we believe our economic model has been enormously successful in creating opportunities for large numbers of people in our own country, supporting upward mobility, supporting entrepreneurialism, supporting people who want to starts businesses, the free flow of information and ideas.
And we think that model is a very successful one not just for us, but for other countries that also want upward mobility, that also want to create small and medium-sized enterprises, that also want to support entrepreneurs, kids who want to achieve greater opportunities. So she’s going to focus on the fact that this model is not only (inaudible) for us but has a lot of attributes that a lot of other countries can benefit from as well. Those are just a few highlights of the speech.
There’s a lot – there’s a lot of – this is both an architecture speech, but it also has very strong principles that are – that underscore the importance of the kind of (inaudible) talking about, but there are also some very specific things in it that you’ll find that are trying to sort of push the debate into that (inaudible) that, as you know, government procurement is a very big thing out here and in other countries, encouraging other countries to go into that role, (inaudible) government procurement (inaudible), which gives countries access to one another’s government procurement market (inaudible) industry very important because of the infrastructure (inaudible). So there are a lot of very specific elements of the speech that back up entire principles that we talked about.
SENIOR STATE DEPARTMENT OFFICIAL THREE: Thanks. Okay, guys. I’ll talk for just a little bit about the meetings here in Hong Kong and a little context here in Hong Kong. And then as you know, the Secretary this afternoon, after her speech today, which is one of the largest speeches that we’ve seen in Hong Kong for many years, completely oversubscribed an enormous amount of interest in hearing what she has to say about – as [Senior State Department Official Two] indicated and [Senior State Department Official One] pointed out sort of the economic push that the United States has going forward. This afternoon we’ll go up to Shenzhen, and Secretary Clinton will meet with State Councilor Dai Bingguo, and I’ll talk about that in a little bit.
So just a couple of things Hong Kong – many of you are veterans of this part of the world, but obviously it’s one of the world’s greatest cities and it’s gone through an incredible process of transformation just over the last 15 or so years since reversion. And I’m just going throw a little bit of that – obviously the framework that was established for the handover is what is described as one country, two systems, which is the same framework which the Chinese, at least, apply with respect to Taiwan.
The reason that that’s interesting is that clearly there are elements of domestic debate in Hong Kong that have extended far beyond what was originally anticipated by the architects of the so-called Legislative Council, the LegCo. And so you have now swirling debates on issues that were, frankly, unthinkable when the British handed over. And so – and for all of those people who say well, gee the Chinese haven’t allowed as much of this kind of debate, in fact, much more has happened over the last 15 years than during the previous over 100 years of British rule.
She’ll meet with the chief executive today, and our interest here is to take necessary steps through visits, our own engagement – we have a very robust set of engagements with the various aspects of the Hong Kong constabulary, its security services, its port security apparatus, its health services. So we work very closely with them on a whole host of things: disease protection, port safety and security, tracking and the like. And we have a very strong relationship that has continued since reversion.
Just in the last 15 or so months, we’ve had five cabinet secretaries visit. That’s a substantial reaffirmation in the public of our commitment to see the one country, two systems continue. The Secretary will meet with the chief executive today and also members of the LegCo, and we anticipate in the LegCo discussions there’ll be a substantial debate in front of her about the path and process forward, questions associated with Beijing’s role in Hong Kong, its role in a whole host of both political matters but also increasingly financial matters as well.
In addition, what we’ve seen in Hong Kong in the last several years is really a renaissance in many respects. Immediately after reversion and in the wake of the Asian economic crisis, Hong Kong suffered enormously, and there was a crisis of confidence in terms of what would be the appropriate model for growth. This relationship between Hong Kong and China is actually extraordinarily complex.
On one level, China views Hong Kong as part of the Chinese destiny in terms of a Chinese territory over the long term, but at the same time there is increasing an enormous competition between other cities, Shenzhen and Guangzhou, in terms of the very things that Hong Kong has excelled at: legal issues, joint ventures, questions associated with stock listings. Each of those domestic Chinese cities are now competing toe-to-toe with Hong Kong. What we’ve seen probably over the last several years is Hong Kong emerge as the major venue of exchange between the Renminbi and international currencies. And so China – Hong Kong has played a major role in that sort of larger interface between the Chinese currency and Western currencies.
Hong Kong is experiencing a fairly substantial period of economic growth, but at the same time there is a very robust and vibrant debate on all issues. It’s not unlikely to have demonstrations in Hong Kong on a whole host of issues that involve hundreds of thousands of people. It’s really quite substantial, and so those who would say that this – that Hong Kong people are apolitical and only interested in the bottom line – I think that is a caricature from the past. And in fact, you find people intensely interested in local issues associated with housing, healthcare, pensions, and the like.
I mean, I’ll just conclude with one last thing on this. (inaudible) in the 1980s, 1990s (inaudible). What was clear then is that Hong Kong, in many respects, was a British state with Chinese or Asian characteristics. That’s no longer the case any longer for those who look here. This really is a Chinese city with some Western characteristics. So it’s a very substantial change in sort of the nature or the debate.
It’s also the case that there is a major change, for instance, in how media operates here. Twenty years ago, this was the scene of all the major Western sort of journalists that covered Asia. Now, increasingly people based on Hong Kong – out of Beijing or Shanghai – it’s a must smaller Western press, but at the same time it’s a much larger Asian and Hong Kong press, so that’s sort of the nature of the debate here.
After the meetings and after her speech, she’s going to go up into China to see her counterpart in the strategic and economic dialogue, Dai Bingguo. She obviously had good sessions with Foreign Minister Yang. Councilor Dai is probably the principle foreign policy advisor to President Hu. He is also the key advisor on issues that are of manifest importance for us going forward: North Korea, the South China Sea, and issues associated with Chinese involvement in various multilateral forums, like the East Asia Summit and the like.
So the Secretary’s going to want to talk to them about a whole host of issues, what just transpired at the ASEAN Regional Forum. I think we’ll discuss the way forward on the South China Sea. She will carry with her the messages and the advice she’s received from key Southeast Asian leaders, including from Indonesia yesterday, will also talk about the most recent developments on the Korean Peninsula.
As you will all have seen, yesterday, Secretary Clinton announced that we will have meetings later this week in New York with a visiting North Korean official, and she will want to convey directly to State Councilor Dai our strong interest in making sure that China is conveying to North Korea our determination to see real progress if we’re to move forward and not simply business as usual. And we will expect China to play a strong role behind the scenes in that regard.
We will also talk about the upcoming East Asia Summit, the visit of Vice President Biden to China in the next several weeks. And our desire is to make sure that we have very close consultations on all the critical issues going forward. She’s very much looking forward to seeing State Councilor Dai, and as part of this session – it will be a small group, but she’s going to have some one-on-one time with him, so have an opportunity for a very deep, discrete discussion on key issues.
Why don’t I stop there, and then [Senior State Department Official One], [Senior State Department Official Two] or any of us can take any questions that you have. Okay.
QUESTION: Can I ask [Senior State Department Official Two], do you have your sort of arms around how much American intellectual property is being ripped off now? Years ago, it used to – get the impression that the percentage was massive. Has the situation improved?
SENIOR STATE DEPARTMENT OFFICIAL TWO: It’s still a real serious situation (inaudible) because, to be quite candid, the laws of many of these countries have improved considerably; the difficulty comes largely in the area of enforcement. And they’re enforced unevenly and in many parts of the region. And we’ve talked to the Chinese very candidly about this. They understand that some provinces of China – it’s, of course, better than in others. But – well, the reason this is so important is that if you look at the kinds of goods the United States exports, more and more of those goods are goods with a high knowledge content, high intellectual property content, and they’re innovative products of a wide range of American companies.
And in order to keep up the level of investment in these innovative companies in the United States and to keep our level of competitiveness internationally, American companies should get the benefits of the money and the talent and time they’ve put into developing these innovative products. And if there’s piracy, it takes – first of all, it reduces their profits, but it also reduces their incentives to put more time and effort into developing new products if they know that they’re not going to gain the – or retain the benefits of those products. But the other point that’s interesting – and this is a somewhat different angle on this is – and therefore, we regard this a very high priority in the region. It’s not just China. It’s many countries in East Asia, but it’s also countries in Europe and elsewhere, so it’s really a broader issue.
The other point is that we find that there are a number of allies in the region because increasingly, they’re finding Chinese companies and other Asian companies that are developing their own innovative products, and they want protection of their intellectual property too. So one of the key points that she’ll be making and we’ve been making in general is that in that – we want to have a modern knowledge-based economy, affecting intellectual property, both for foreign products as well as for domestic products. So we’re not without allies in the region on that issue, so --
QUESTION: Can I ask you – well, (inaudible). Okay. Is she going to explain to her audience why they should be listening to her about this stuff? I mean, it seems to me it’s really kind of (inaudible) coming here, especially at this point, today, especially, and telling the Chinese that our economic model is the bees knees and needs to be followed when we’ve got unemployed – (inaudible) are unemployed, and they own us. Well, why should we listen? I mean, is she going to come and – she’s going to come out, according to the excerpts we’ve seen, and say, “Don’t worry, everything’s going to be okay?” Well, you know what? Why should anyone believe her? She’s been out of the country for a week and a half, no – she hasn’t been in any of these discussions. Things are going nowhere. Why --
SENIOR STATE DEPARTMENT OFFICIAL TWO: Look, I think – we’ve been away for a while, so I don’t want to comment on the state of the negotiations.
QUESTION: So why is she going to be even talking --
SENIOR STATE DEPARTMENT OFFICIAL TWO: Well – but basically, we’re looking at the long term. And I think the point that she is going to make is that over the course of decades – we’re dealing with a problem now, and a difficult problem that is being worked out in Washington as we speak. But over the course of decades, the approach that we’ve taken to opportunity, upward mobility, free flow of information, a whole range of things, have really led to some remarkable achievements in the American economy. And in many cases, countries in this part of the region – [Senior State Department Official Three] can tell you that as well – have – while they have different models in particular, also see that upward mobility is supporting entrepreneurs, supporting small needs, (inaudible) enterprises, as part of their economic future as well. So I don’t – she’s not going to lecture. She’s going to say we have problems too. Then she’s --
SENIOR STATE DEPARTMENT OFFICIAL THREE: Just to – and [Senior State Department Official Two], just – one other thing, just to say part of the speech that she’s going to give, though, she’s going to lay it very clearly that, like at the end of the Cold War, lots of – the Vietnam War, lots of discussion about how the United States was on its ass on – and we lost and would never recover on the way out of Asia. At the end of the Cold War, a similar set of dynamics, that we have seen this story before only to find the United States comes surging back. And in many respects, we – that sort of dynamic drives us forward and really causes us to pick ourselves up and to excel. So I think that’s (inaudible).
SENIOR STATE DEPARTMENT OFFICIAL TWO: It’s a free flow market – yeah. We have remarkably – we’ve demonstrated remarkable resilience. [Senior State Department Official Three]’s right. After the Vietnam War, people thought, well, we were back on – down on our heels. There was a feeling that when we’ve had Japanese competition, we were going to be no longer able to compete in the world. After the OPEC oil embargo in ’73, ’74, the same thing, and then – and the fact is that the American model (inaudible) very resilient. It’s by no means perfect, and then people make (inaudible). And this is not to say that other countries don’t have some very good ideas as well. As (inaudible) she states it (inaudible) going to express a lot of confidence in the American model year in and year out. It’s proved to be very successful in the past and will continue to be so in the future.
And moreover, it grows up – the more international point is that the principles under which the global economy, global commerce and finance have been conducted over the – since World War II, openness, free trade, transparency – those kinds of things have been, first of all, very good for the global economy, and second, have been important enablers of the – some of the progress that some of the countries have made in this region. A lot of these countries have benefited enormously from an open international financial system and a favorite system, and that now, as they become more powerful, we want to be sure that they support the kind of system that has proved so beneficial to them.
QUESTION: Can I ask --
SENIOR STATE DEPARTMENT OFFICIAL THREE: Yeah.
QUESTION: -- just in your interactions with the Chinese and the Secretary’s as well, do you get any sense of anxiety on their part about the debt limit (inaudible) up, that they (inaudible) –
SENIOR STATE DEPARTMENT OFFICIAL THREE: Yes. Yes, they --
QUESTION: What are the – what’s the message that they’re giving you? And what’s the Secretary’s message going to be to Dai on the subject?
SENIOR STATE DEPARTMENT OFFICIAL THREE: I’ve been in several meetings where the Chinese have demarched us, actually. I have not been in any meetings where they’ve asked us, “What do you think is happening,” or “How is this going to play out?” But I’ve had several meetings where the Chinese have basically made clear that they’ve made a substantial investment in the United States, and that they expect – not hope, expect – that the United States will abide by its various financial international commitments, full stop.
SENIOR STATE DEPARTMENT OFFICIAL TWO: And there’s a lot of conversation that goes on a regular basis between the Treasury and the finance ministry of China and (inaudible). So there’s a huge amount of communication among senior officials on the economic and the financial front. This is part of an ongoing dialogue, not – a lot of it is not made public, but there’s a lot more and more, and a lot of visits and a lot of conversation. So they have a very good idea of what we’re thinking and what we’re doing. They are – the last thing we want to do is keep them in the dark about what’s going on. And I think they would be the first to tell you that there’s been – I mean part of it, the S&ED economic track has been not just meet and consults, but ongoing consultations among (inaudible).
QUESTION: Will you be talking Dai or – what she’s saying about the – like, pro-democracy aspects upon (inaudible)? What specifically – like, what kind of messages would you be sending?
SENIOR STATE DEPARTMENT OFFICIAL THREE: Well, look, I’m going to let – I think I’m going to – we will meet with you guys after the session today here in Hong Kong. We’ll brief you as we go to the airport. I’m cognizant of the filing issues, but I think our expectation is the Secretary is going to talk about the full range of issues while she’s here.
I think our primary areas of engagement with State Councilor Dai will be on the ones that I’ve underscored to you. We only have a few hours, and frankly, what we’re finding more and more is the agenda is so full that you’ve got to be kind of careful with your time. |
{
"pile_set_name": "FreeLaw"
} | Case: 10-11105 Document: 00511473801 Page: 1 Date Filed: 05/11/2011
IN THE UNITED STATES COURT OF APPEALS
FOR THE FIFTH CIRCUIT United States Court of Appeals
Fifth Circuit
FILED
May 11, 2011
No. 10-11105 Lyle W. Cayce
Summary Calendar Clerk
UNITED STATES OF AMERICA,
Plaintiff-Appellee
v.
ROBERT L. MOFFITT,
Defendant-Appellant
Appeal from the United States District Court
for the Northern District of Texas
USDC No. 4:05-CR-111-3
Before HIGGINBOTHAM, SMITH, and HAYNES, Circuit Judges.
PER CURIAM:*
In April 2006, Robert L. Moffitt, federal prisoner # 33882-177, was
convicted of multiple offenses arising out of a drug-trafficking conspiracy and
sentenced to a total of 360 months of imprisonment. The conviction and
sentence were affirmed on appeal, and his 28 U.S.C. § 2255 motion was denied.
See United States v. Moffitt, No. 06-10032 (5th Cir. July 23, 2007); United States
v. Moffitt, No. 09-10813 (5th Cir. Feb. 17, 2010).
*
Pursuant to 5TH CIR . R. 47.5, the court has determined that this opinion should not
be published and is not precedent except under the limited circumstances set forth in 5TH CIR .
R. 47.5.4.
Case: 10-11105 Document: 00511473801 Page: 2 Date Filed: 05/11/2011
No. 10-11105
Moffitt filed a motion requesting that the district court order his former
trial attorney to provide a copy of his files so that Moffitt could prepare a § 2255
motion. The district court denied the motion on the ground that Moffitt has
already sought relief under § 2255. Moffitt has appealed.
Before we can reach the merits of this appeal, we must first consider our
jurisdiction. “Federal courts are courts of limited jurisdiction. They possess only
that power authorized by Constitution and statute, which is not to be expanded
by judicial decree.” Kokkonen v. Guardian Life Ins. Co. of Am., 511 U.S. 375, 377
(1994) (citations omitted). This court may only exercise jurisdiction over final
orders and certain interlocutory orders. See 28 U.S.C. §§ 1291 (final orders),
1292 (interlocutory decisions); Ashcroft v. Iqbal, 129 S. Ct. 1937, 1945 (2009).
As the motion to compel counsel to provide a copy of his files does not fall into
any of the above categories, this appeal is dismissed for lack of jurisdiction. See
also 5th Cir. R. 42.2
DISMISSED.
2
|
{
"pile_set_name": "OpenWebText2"
} | Stanley made the 32-man roster for Canada's selection camp for the upcoming 2018 World Junior Championship.
Stanley could earn him a shot at Team Canada's roster for the 2018 Winter Olympics in PyeongChang, South Korea with an impressive outing at world juniors, due to NHL players prohibited from attending -- and the KHL considering a similar ban. The defenseman has already set career highs in goals (seven) and assists (15) through the first 28 games of the OHL season. Selected with the 18th overall pick in the 2016 NHL Draft, the 19-year-old could get a look during training camp next season for a spot on Winnipeg's roster, although AHL Manitoba might be more likely. |
{
"pile_set_name": "Github"
} | /*
* Copyright (C) 2012 Google Inc. All rights reserved.
* Copyright (C) 2017 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer
* in the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name of Google Inc. nor the names of its contributors
* may be used to endorse or promote products derived from this
* software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#pragma once
#if ENABLE(WEB_RTC)
#include <wtf/RefCounted.h>
#include <wtf/text/WTFString.h>
namespace WebCore {
class RTCVoidRequest : public RefCounted<RTCVoidRequest> {
public:
virtual ~RTCVoidRequest() = default;
virtual void requestSucceeded() = 0;
virtual void requestFailed(const String& error) = 0;
protected:
RTCVoidRequest() = default;
};
} // namespace WebCore
#endif // ENABLE(WEB_RTC)
|
{
"pile_set_name": "Pile-CC"
} | State Legislation Relating to Higher Education, January 1, 1964 - December 31, 1964.
Martorana, S. V.; Brandt, Jeanne D.
This is the eighth in a series of annual reports on the actions of state legislatures in providing higher education for their respective states. The first section consists of digests of the 1964 legislation relating to higher education considered by the 50 state and three territorial legislatures, including appropriations for current operations and capital improvements. The second section consists of analyses of the data, some general observations on the findings, and certain implications growing out of various proposals which the legislatures did not pass. It points out those areas of higher education to which legislatures gave considerable attention, and identifies gaps in public and legislative awareness and concern about some of the problems of higher education. Topics include: finances, bond issues, building programs, land acquisition and transfer, general financial procedures, government aid, institutional growth, tuition, student financial aid, admissions, personnel, administration, curriculum, and surveys and studies. A topical index to state documents and statistical data is included. (SW) |
{
"pile_set_name": "Pile-CC"
} | Nintendo has announced a North American Limited Edition for Fire Emblem Echoes: Shadows of Valentia. Additionally, a new trailer was released that gives an overview of the game's story and mechanics and new information was given for a pair of amiibo figures of the game's protagonists, Alm and Celica.
Releasing for the Nintendo 3DS on May 19, 2017, Shadows of Valentia will retail for $39.99. The Limited Edition of the game will retail for $59.99 and contain the following items along with the game:
Hardcover Valentia artbook
Shadows of Valentia sound selection CD
Pin Set depicting characters Alm, Celica, and Marth
Reversible cover sheet featuring art from Fire Emblem Gaiden
Arriving in stores on the same day as the game will be the amiibo for Alm and Celica, which will be sold as a pair for $24.99. In Shadows of Valentia, the figures can be used to activate unique dungeons for the characters, allowing players to level up further. During combat, they can be used to create a single-turn warrior mirroring the amiibo used. As that particular character becomes more powerful, its stats can be saved to the amiibo and future uses will provide a stronger warrior. These features won't only work for the Alm and Celica amiibo, but also for all previously released Fire Emblem figures and the upcoming Corrin model.
Shadows of Valentia is a remake of Fire Emblem Gaiden, marking the first time the game is available in English. It follows two armies, each led by one of the protagonists, as they fight two different conflicts across the world. New to the game will be modernized graphics, cinematics, and free-roaming 3D dungeons. |
{
"pile_set_name": "PubMed Abstracts"
} | Useful Strategy of Pulmonary Microvascular Cytology in the Early Diagnosis of Intravascular Large B-cell Lymphoma in a Patient with Hypoxemia: A Case Report and Literature Review.
Intravascular large B-cell lymphoma (IVLBCL) is a rare extranodal lymphoma characterized by the presence of tumor cells within blood vessels, and it is considered to be a subtype of diffuse large B-cell lymphoma. We report a case of IVLBCL presenting as progressive hypoxemia. In this case, a definitive diagnosis could not be achieved by repeated transbronchial lung biopsy, a bone marrow biopsy, and a random skin biopsy, and the ultimate diagnosis was made on the basis of a pulmonary microvascular cytology (PMC) examination. Therefore, PMC is considered to be a useful strategy for the diagnosis of IVLBCL, particularly in this critically ill patient suffering from hypoxemia. |
{
"pile_set_name": "Pile-CC"
} | SuperMario
I can hear the pundits now: The president wrote a children's book! It's propaganda! It's a stunt for the midterms!
I think we can all relax -- It's just a picture book. It's called "Of Th...Obama's publishing a kid's book and Super Mario turns 25? What is the world coming to? |
{
"pile_set_name": "USPTO Backgrounds"
} | System administrators have been managing the scarce resources of their computer systems in order to meet performance and capacity objectives using a variety of techniques. As mission critical applications grow increasingly data intensive, organizations have placed more and more emphasis on resource management.
Tools exist to help administrators understand resource utilization. Typically these tools address consumption of common resources such as processor utilization or storage utilization. Storage utilization is typically reported from a hardware perspective, for example as the percentage of a storage volume or device being used detailed perhaps by user or application.
In cases where the application, such as a database, manages its own information, little information is usually available to help the administrator understand how the large block of storage allocated to the application is being used. Typically, the file system allocates a block of storage to the application to manage and then no longer has knowledge of how that block is used. As such, little or no information relating the structure of the database to the physical aspects of the file system on which the database relies is available.
To further complicate matters, an administrator often needs to gather information from a number of systems and tally the results to understand global resource utilization. Such systems may be in a single location but are typically spread out across a wide geographic area, connected by a network.
It would therefore be highly desirable to have a method and software providing detailed information of resources used by applications across a network. |
{
"pile_set_name": "Github"
} | /*
* Copyright 2010 Connor Petty <[email protected]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
package pcgen.gui2.tabs.skill;
import java.awt.Component;
import javax.swing.JTable;
import javax.swing.SwingConstants;
import javax.swing.table.AbstractTableModel;
import javax.swing.table.DefaultTableCellRenderer;
import javax.swing.table.DefaultTableColumnModel;
import javax.swing.table.JTableHeader;
import javax.swing.table.TableCellRenderer;
import javax.swing.table.TableColumn;
import javax.swing.table.TableColumnModel;
import pcgen.facade.core.CharacterFacade;
import pcgen.facade.core.CharacterLevelFacade;
import pcgen.facade.core.CharacterLevelsFacade;
import pcgen.facade.core.CharacterLevelsFacade.CharacterLevelEvent;
import pcgen.facade.core.CharacterLevelsFacade.ClassListener;
import pcgen.facade.core.CharacterLevelsFacade.SkillPointListener;
import pcgen.facade.util.event.ListEvent;
import pcgen.facade.util.event.ListListener;
import pcgen.gui2.tabs.Utilities;
import pcgen.gui2.util.FontManipulation;
import pcgen.gui2.util.table.TableCellUtilities;
/**
* A model to back the table of character levels and the skill points
* associated with them.
*
*/
public class SkillPointTableModel extends AbstractTableModel
implements ListListener<CharacterLevelFacade>, ClassListener, SkillPointListener
{
private CharacterLevelsFacade levels;
public SkillPointTableModel(CharacterFacade character)
{
this.levels = character.getCharacterLevelsFacade();
levels.addListListener(this);
levels.addClassListener(this);
levels.addSkillPointListener(this);
}
public static void initializeTable(JTable table)
{
table.setAutoCreateColumnsFromModel(false);
JTableHeader header = table.getTableHeader();
TableColumnModel columns = new DefaultTableColumnModel();
TableCellRenderer headerRenderer = header.getDefaultRenderer();
columns.addColumn(Utilities.createTableColumn(0, "in_level", headerRenderer, false));
columns.addColumn(Utilities.createTableColumn(1, "in_class", headerRenderer, true));
TableColumn remainCol = Utilities.createTableColumn(2, "in_iskRemain", headerRenderer, false);
remainCol.setCellRenderer(new BoldNumberRenderer());
columns.addColumn(remainCol);
columns.addColumn(Utilities.createTableColumn(3, "in_gained", headerRenderer, false));
table.setDefaultRenderer(Integer.class, new TableCellUtilities.AlignRenderer(SwingConstants.CENTER));
table.setColumnModel(columns);
table.setFocusable(false);
header.setReorderingAllowed(false);
header.setResizingAllowed(false);
}
@Override
public int getRowCount()
{
return levels.getSize();
}
@Override
public int getColumnCount()
{
return 4;
}
@Override
public Class<?> getColumnClass(int columnIndex)
{
switch (columnIndex)
{
case 1:
return Object.class;
case 0:
case 2:
case 3:
return Integer.class;
default:
return Object.class;
}
}
@Override
public Object getValueAt(int rowIndex, int columnIndex)
{
if (columnIndex == 0)
{
return rowIndex + 1;
}
CharacterLevelFacade level = levels.getElementAt(rowIndex);
switch (columnIndex)
{
case 1:
return levels.getClassTaken(level);
case 2:
return levels.getRemainingSkillPoints(level);
case 3:
return levels.getGainedSkillPoints(level);
default:
throw new IndexOutOfBoundsException();
}
}
@Override
public boolean isCellEditable(int rowIndex, int columnIndex)
{
return columnIndex == 3;
}
@Override
public void setValueAt(Object aValue, int rowIndex, int columnIndex)
{
CharacterLevelFacade level = levels.getElementAt(rowIndex);
levels.setGainedSkillPoints(level, (Integer) aValue);
}
@Override
public void elementAdded(ListEvent<CharacterLevelFacade> e)
{
fireTableRowsInserted(e.getIndex(), e.getIndex());
}
@Override
public void elementRemoved(ListEvent<CharacterLevelFacade> e)
{
fireTableRowsDeleted(e.getIndex(), e.getIndex());
}
@Override
public void elementsChanged(ListEvent<CharacterLevelFacade> e)
{
fireTableDataChanged();
}
@Override
public void elementModified(ListEvent<CharacterLevelFacade> e)
{
fireTableRowsUpdated(e.getIndex(), e.getIndex());
}
@Override
public void skillPointsChanged(CharacterLevelEvent e)
{
levelChanged(e);
}
@Override
public void classChanged(CharacterLevelEvent e)
{
levelChanged(e);
}
private void levelChanged(CharacterLevelEvent e)
{
int firstRow = e.getBaseLevelIndex();
int lastRow = e.affectsHigherLevels() ? levels.getSize() - 1 : firstRow;
fireTableRowsUpdated(firstRow, lastRow);
}
/**
* The Class {@code BoldNumberRenderer} displays a right aligned
* read-only column containing a bolded number.
*/
private static class BoldNumberRenderer extends DefaultTableCellRenderer
{
/**
* Create a new BoldNumberRenderer instance.
*/
public BoldNumberRenderer()
{
setHorizontalAlignment(SwingConstants.CENTER);
}
@Override
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus,
int row, int column)
{
Component comp = super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column);
comp.setFont(FontManipulation.bold(table.getFont()));
return this;
}
}
}
|
{
"pile_set_name": "Pile-CC"
} | Unique Features - Support for @BIOS- Support for Q-Flash- Support for Xpress BIOS Rescue- Support for Download Center- Support for Xpress Install- Support for Xpress Recovery2- Support for EasyTune- Support for Smart 6- Support for Auto Green- Support for Cloud OC- Support for 3TB+ Unlock- Support for TouchBIOS- Support for Q-Share
Bundle Software - Norton Internet Security (OEM version)
Form Factor- Micro ATX Form Factor; 24.4cm x 20.5cm
Please do not forget to check with our site as often as possible in order to stay updated on the latest drivers, software and games.
Note: Try to set a system restore point before installing a device driver. It will help you restore system if installed driver not complete. |
{
"pile_set_name": "Pile-CC"
} | Slow economy fuels surge in library visits
CHICAGO - With the nation facing tough economic times, Americans are visiting their local public libraries more often and checking out items with greater frequency. Libraries across the United States report that more people are turning to libraries in record numbers to take advantage of the free resources available there.
According to the ALA’s 2008 State of America’s Libraries Report, Americans visited their libraries nearly 1.3 billion times and checked out more than 2 billion items in the past year, an increase of more than 10 percent in both checked out items and library visits, compared to data from the last economic downturn in 2001.
ALA President Jim Rettig said, “During tough economic times, people turn to libraries for their incredible array of free resources, from computers to books, DVDs and CDs, for help with a job hunt or health information. The average annual cost to the taxpayer for access to this wide range of resources is about $31, the cost of one hardcover book. In good times or bad, libraries are a great value!”
At the Howard County Library in Columbia, Md., from July 1, 2007, to June 30, 2008, visits to its six branches exceeded 2.6 million - a 26 percent increase compared to past usage. Users borrowed more than 5.6 million items, an increase of 15 percent, and attendance at library classes, seminars, workshops and events set a new record of 140,000 attendees, a 12 percent increase.
Many library users have reported that high gas prices have kept their families off the road and in their homes. Families that cannot afford vacations are turning to their local library for free activities near home. For example, the Palmyra (Pa.) Public Library summer reading program increased by 163 percent over the past year; Guthrie Memorial Library in Hanover, Pa., experienced a 54 percent increase in program attendance; and the Adamstown (Pa.) Library summer reading program increased by 16 percent.
Library users are not only saving money on entertainment, but also finding savings related to Internet access. In South Florida a patron that paid $60 a month for Internet access canceled his service, so that he could take advantage of the free Internet service offered at the Hollywood (Fla.) Public Library, a savings of more than $700.
“As the economy slows, libraries continue to be changing and dynamic places that offer our nation’s communities free access to information that can better lives and support lifelong learning,” Rettig said.
Libraries are helping level the playing field for job seekers as well. Less than 44 percent of the top 100 U.S. retailers accept in-store paper applications. Libraries continue to report that many patrons are turning to library computers to prepare resumes and cover letters, find work, apply for jobs online and open e-mail accounts.
Many libraries also design and offer programs tailored to meet local community economic needs, providing residents with guidance (including sessions with career advisers), career training and workshops, job-search resources and connections with outside agencies that offer training and job placement. Millington (Tenn.) Public Library has seen patron attendance double for free adult programs in education, small business development and job networking.
Such services have given libraries a reputation for offering local government an excellent return on investment.. In Florida, a study showed that libraries create jobs, raise wages and increase gross regional product. Florida public libraries return $6.54 for every $1 invested from all sources. A study in South Carolina showed that every dollar expended on the state’s public libraries by state and local governments brought a return on investment of $4.48 — nearly 350 percent. Studies in Ohio, Seattle and Phoenix echo these findings.
There have been countless examples of how libraries encourage business development and help retain and create jobs. They serve as an important link to the business community, assisting with job creation and training programs, as well as contributing to business development initiatives.
To learn more about America’s libraries, please visit the ALA Web site at
http://www.ala.org. Additional library statistical data is available through ALA’s Office for Research and Statistics at
http://www.ala.org/ors.
The American Library Association (ALA), the voice of America's libraries, is the oldest, largest and most influential library association in the world. Its approximately 67,000 members are primarily librarians but also trustees, publishers and other library supporters. The association represents all types of libraries; its mission is to promote the highest quality library and information services and public access to information. |
{
"pile_set_name": "USPTO Backgrounds"
} | Vehicles typically include an engine assembly for propulsion. The engine assembly may include an internal combustion engine defining one or more cylinders. In addition, the engine assembly may include intake valves for controlling the flow of an air/fuel mixture into the cylinders and exhaust valves for controlling the flow of exhaust gases out of the cylinders. The engine assembly may further include a valvetrain system for controlling the operation of the intake and exhaust valves. The valvetrain system includes a camshaft assembly for moving the intake and exhaust valves. |
{
"pile_set_name": "Pile-CC"
} | Main navigation
Double Whammy
Article views
718
VIEWS
When Silicon Graphics Inc. announced that it had sold part of its northern California headquarters in December 2000 to Goldman Sachs for $276 million, one building alone accounted for $160 million. That was $50 million more than SGI had paid for the four-building complex less than four years earlier.
The gain couldn't have come at a better time. Like so many other technology companies, the maker of high-performance computing products had been under pressure to divest noncore assets and improve performance, so owning its headquarters was no longer desirable. "A large portion of our capital was tied up in real estate," says Jeff Zellmer, CFO of SGI.
What's more, SGI had financed the complex through an arrangement known as a synthetic lease. Under GAAP, the term of such a lease can usually run no longer than seven years for the property to be excluded from the borrower's balance sheet, as SGI's complex was. While in theory synthetic leases can be rolled over into new ones when the term is up, in practice the lenders have to be willing to go along. They may not be willing if they're worried about a company's ability to pay. That's because the financing is extended against a company's corporate credit, instead of the underlying property.
And if lenders (typically banks) are willing to roll over a synthetic lease, they may charge so much that it may not be worthwhile. In SGI's case, says Michael Hirahara, vice president of facilities and services, the cost of rolling over its synthetic lease would have been "exorbitant."
In fact, Silicon Graphics might have had to sell the building even if it didn't want to. That's because a synthetic lease leaves the so-called residual value risk — the liability for the value of the property at the end of the term — in the hands of the borrower. At that point, if the borrower and lender can't agree on a rollover, the borrower must either buy the property or arrange for a third party to do so. Perversely, that prospect is likely to face a company at exactly the worst time: If the operating difficulties that make a lender wary of rolling over a lease are shared by other companies — because of an economic downturn, say — the result may be falling demand for the property.
So perhaps SGI found Goldman Sachs in the nick of time. Given SGI's belief that real estate values were at their peak, "it made sense to monetize the asset," says Hirahara. "The timing was good."
But other high-tech companies that financed new property through synthetic leases may not be so lucky. Experts say that with corporate real estate in Silicon Valley and other high-tech havens losing value as local companies struggle to sustain earnings, more and more firms that took out synthetic leases to finance construction in the mid-1990s now find themselves facing what some see as a double whammy — a need to sell property as its value falls. And that underscores the risks that finance executives face when seeking the rewards of this type of financing, which by definition is limited to new properties.
Statistics on real estate financing are hard to come by, so it's difficult to compare winners to losers. Others besides SGI have recently unwound synthetic leases at a profit. Remec Inc., a defense and commercial telecom equipment supplier, managed to unwind a synthetic lease it used to build its San Diego headquarters some two years ago for $26 million, which amounted to a gain of 50 percent on its investment, according to CFO David Morash. Other companies that have recently unwound synthetic leases include Sipex, a manufacturer of integrated circuits headquartered in Billerica, Massachusetts; Provo, Utah-based software maker Novell; Minneapolis-based medical-device maker Medtronic; and Irving, Texas-based paper-products maker Kimberly-Clark.
Still, experts say a number of companies with synthetic leases aren't doing so well. According to Maureen Kelly, a vice president at Dallas-based real estate brokerage firm Staubach Financial Services, one of its clients has seen a $70 million data center financed two years ago through a synthetic lease lose half its value.
"Banks are retrenching," says Jon Tomasson, a principal at Cardinal Capital Partners in New York, "so the chickens" — expiring synthetic leases — "are coming home to roost." And while the need to wind down synthetic leases at a loss may be limited at present to the high-tech industry, financiers warn that such problems could spread if the economic downturn persists.
Synthetic Benefits
Not that the hope of unwinding a lease at a profit is the only, or even a primary, motive for synthetic leases. These arrangements allow companies to move real estate liabilities off the balance sheet, as with a conventional operating lease, yet claim tax benefits associated with ownership — namely, deductions for interest payments and depreciation of the property's value. (Some experts think this duality amounts to a loophole in GAAP, and they speculate that sooner or later, the Financial Accounting Standards Board will close it up.)
Moving real estate liabilities off the balance sheet reduces a company's leverage, of course, although credit analysts routinely add back the effects of leases. Indeed, analysts and academics alike decry such off-balance-sheet financing as largely cosmetic. Still, consultants and CFOs continue to cite the lessened impact on the financial statements as a rationale for leasing.
And particularly for investment-grade credits, synthetic leases can be so much cheaper than sale-leasebacks or outright ownership as to be worth the risk that they can't be rolled over at the term's end. Currently, interest payments on a synthetic lease for even a noninvestment-grade borrower can be as little as 150 basis points over LIBOR (the floating rate typically used to price these deals). That currently works out to roughly 4 percent, whereas interest payments under a sale-leaseback for such a company can run as high as 15 percent, according to Scott Biel, a partner in the San Diego office of Brobeck, Phleger & Harrison.
Such a cost differential, coupled with off-balance-sheet treatment, is "a very attractive choice for us," affirms Jim Kent, vice president and treasurer of Chiron Corp., in Emeryville, California. The biotech company financed a $172 million research facility under a seven-year synthetic lease in 1996, and is about to do another under a similar arrangement worth more than $200 million. Chiron enjoys an investment-grade credit rating and also benefits from a loan guarantee extended by AAA-rated Novartis following Chiron's sale of a minority interest to the Swiss pharmaceuticals maker in 1995. That kind of creditworthiness can make a synthetic lease even less expensive, and Kent reports that Chiron expects to pay well under 4 percent in interest on its newest synthetic.
Financing Mismatch
But critics of synthetic leases say the benefits of such leases aren't great enough to justify their cardinal risk: using short-term financing to support what is normally a long-term asset. This mismatch between assets and liabilities can ultimately force a company to refinance at a much higher cost.
That is what is happening now at companies like SGI and Remec. After selling the real estate financed by synthetic leases, albeit at a profit, they're leasing it back at much higher interest rates and putting the liabilities on the balance sheet. Yet the companies contend that such an outcome is more than acceptable. Remec, for example, is using the cash it freed by unwinding its synthetic lease to fund acquisitions. As Morash points out, "Cash is much more valuable given current economic conditions."
Still, other companies with expiring synthetic leases may be forced to sell at a loss in a sagging market. And as for managing risk, "If you're trying to match assets to liabilities," a synthetic lease "is not the best way to go," says Mike Rotchford, senior managing director of Cushman & Wakefield, a New Yorkbased real estate services firm.
That conclusion is accepted by The Great Atlantic & Pacific Tea Co. (A&P), a supermarket chain based in Montvale, New Jersey. A&P recently sold 19 stores, mostly in the New York City area, through a sale-leaseback with a term in excess of 20 years. And while those stores wouldn't qualify for synthetic leases in any case, because they weren't new, the company has looked at such financing for new properties but decided they aren't as good a choice as a sale-leaseback.
"We're looking for long-term financing at attractive rates," explains treasurer and senior vice president of finance Mitchell Goldstein. And A&P got those rates on its sale-leaseback. While yields on A&P's 20-year bonds were trading in the mid-teens at the time, says Goldstein, "we got 20-year-plus money for less than 10 percent."
Others suggest that individual assets and liabilities needn't match as long as the overall portfolios do. Kent points out that the $1.2 billion in cash that Chiron keeps on the balance sheet helps hedge the risk it assumes through such short-term financing as synthetic leases. Still, many companies are trying to lengthen the duration of their liabilities to take advantage of declining long-term rates — even Chiron saw fit recently to issue a 30-year convertible bond.
Can Real Estate Be Core?
Of course, some companies with lots of cash prefer outright ownership, even though they could qualify for synthetic leases that don't require any cash collateral; their ranks include such giants as Microsoft, Dell, Merck, and Pfizer. "They have so much cash that they'd rather have complete control," says James Koster, a managing director at Staubach Financial Services.
Numerous critics assert that owning real estate is a misallocation of resources, and that companies are better off deploying capital against their core business. However, some finance executives say an asset's ownership is less relevant than its cost when deciding how to allocate capital. From that perspective, Chiron's Kent doesn't buy the argument that synthetic leasing represents a misallocation — indeed, he contends the reverse is true.
What's more, Kent is unconvinced that real estate investment necessarily represents a diversion from one's core competency. In Chiron's case, he notes, the two research facilities it will soon have financed through synthetic leases "are not something you can find on the shelf." In fact, they will help Chiron attract high-caliber scientists, according to Kent. "Research is what we're all about," he says.
In any case, other companies find a diversified asset mix attractive — especially in this environment — and real estate fits neatly into that. Even Cisco Systems, a heavy user of synthetic leases since the mid-1990s, has been buying real estate outright of late.
Ultimately, a company's approach to real estate will depend on two issues, asserts Koster. One is a company's financial condition. Until recently, for example, Lucent and Nortel Networks preferred to own their real estate. "They were among those companies that believed that was the only way of being sure you have complete control of your home," says Koster. Yet after falling on hard times, both of these companies have chosen to sell some of their major operating facilities and lease them back.
The other issue is the type of asset involved, says Koster. As A&P's Goldstein puts it, the question here is, "How well does it hold its value?"
Both concerns seem a lot more pressing today than they did only a year ago.
The conundrum of what off-balance-sheet treatment of assets and liabilities is worth comes quickly to the fore when discussing the merits of synthetic leases.
High-performance-computing company Silicon Graphics Inc., for instance, dismisses the importance of such treatment now that it has unwound a synthetic lease on its Mountain View, California, headquarters campus in favor of a sale-leaseback, the liability for which still needn't be put on its balance sheet. For the most part, credit analysts ignored the off-balance-sheet treatment of such financing, says a spokeswoman. The same holds true at Chiron Corp., which is about to do a second synthetic lease, according to treasurer Jim Kent. "Balance-sheet treatment is not at all a key factor," he says.
But consultants say off-balance-sheet treatment is a big reason companies opt to finance such real estate through synthetic leases. The biggest accounting advantage of any kind of lease over outright ownership lies in not having to write off depreciation of the asset against earnings. Granted, many analysts consider such a boost from a synthetic lease to be artificial (since companies effectively own the asset) and will strip it out of their estimates. But James Koster, a managing director of Staubach Financial Services in Dallas, says companies "still get some value for it," while Mitchell Goldstein, treasurer and senior vice president of finance at A&P, insists the value is largely ephemeral or, as he puts it, "a bit of optics."
In any case, such treatment isn't automatic under U.S. GAAP. In fact, Statement of Financial Accounting Standards No. 13 requires that a lease fail all of the following four tests to be treated as an operating lease instead of a capital lease, and thus qualify for off-balance-sheet treatment:
1. The lease transfers ownership of the property to the tenant by the end of the lease term.
2. The lease contains an option to purchase the leased property at a bargain price.
3. The lease term is equal to or greater than 75 percent of the estimated economic life of the leased property.
4. The present value of rental and other minimum lease payments equals or exceeds 90 percent of the fair value of the leased property.
Even if their leases fail these tests, companies may eventually have no choice but to include them on their balance sheets if the Financial Accounting Standards Board accepts the reasoning of the International Accounting Standards Board. Since the IASB makes no distinction between operating and capital leases, such financing must be included on balance sheets by companies reporting under International Accounting Standards. And while any such treatment under U.S. GAAP would be a long way off, FASB has said that it would take the IASB's position on leasing into account as it helps resolve differences between the two accounting regimes. |
{
"pile_set_name": "Pile-CC"
} | Transatlantic Trade and Investment Partnership
TTIP or Transatlantic Trade and Investment Partnership is the major initiative of US and EU to lead the standards for global trade without the BRICS nations playing any substantial role. BRICS economies helped the world tide through the financial crisis… |
{
"pile_set_name": "Github"
} | module github.com/go-resty/resty/v2
require golang.org/x/net v0.0.0-20190628185345-da137c7871d7
|
{
"pile_set_name": "PubMed Abstracts"
} | Prospective assessment of intraoperative precursor events during cardiac surgery.
Increasing attention has been afforded to the ubiquity of medical error and associated adverse events in medicine. There remains little data on the frequency and nature of precursor events in cardiac surgery, and we sought to characterize this. Detailed, anonymous information regarding intraoperative precursor events (which may result in adverse events) was collected prospectively from six key members of the operating team during 464 major adult cardiac surgical cases at three hospitals and were analyzed with univariable statistical methods. During 464 cardiac surgical procedures, 1627 reports of problematic precursor events were collected for an average of 3.5 and maximum of 26 per procedure. 73.3% of cases had at least one recorded event. One-third (33.3%) of events occurred prior to the first incision, and 31.2% of events occurred while on bypass. While 68.0% of events were regarded as minor in severity (e.g., delays and missing equipment), a substantial proportion (32.0%) was considered major and included anastomotic problems, pump failure, and drug errors. Most problems (90.4%) were reported as being compensated for, although many (30.9%) were never discussed among the team. Major events were more likely to be discussed (p<0.0001) and less likely to have been previously encountered (p=0.0005). Perceptions of the severity and compensation of events varied across the team, as did temporal patterns of reporting (p<0.0001). A wide range of problematic precursor events occurs during the majority of cardiac surgery procedures. Attention to causes and ways of preventing these precursor events could have an impact on the rate of significant errors and improve the safety of cardiac surgery. |
{
"pile_set_name": "PubMed Abstracts"
} | Time series analysis of treatment adherence patterns in individuals with obstructive sleep apnea.
Adherence to medical recommendations is often suboptimal, making examination of adherence data an important scientific concern. Studies that attempt to predict or modify adherence often face the problem that adherence as a dependent variable is complex and non-normally distributed. Traditional statistical approaches to adherence data may mask individual variability that may guide clinician and researcher's development of adherence interventions. In this study, we employ time series analysis to examine adherence patterns objectively in patients with obstructive sleep apnea (OSA). Although treatment adherence is poor in OSA, state-of-the-art adherence monitoring allows a comprehensive examination of objective data. The purpose of the study is to determine the number and types of adherence patterns seen in a sample of patients with OSA receiving positive airway pressure (PAP). Seventy-one moderate to severe OSA participants with 365 days of treatment data were studied. Adherence patterns could be classified into seven categories: (1) Good Users (24%), (2) Slow Improvers (13%), (3) Slow Decliners (14%), (4) Variable Users (17%), (5) Occasional Attempters (8%), (6) Early Drop-outs (13%), and (7) Non-Users (11%). Time series analysis provides a useful method for examining adherence while maintaining a focus on individual differences. Implications for future research are discussed. |
{
"pile_set_name": "StackExchange"
} | Q:
How to properly use indexing in MySQL
I'm running a fairly simple auto catalog
CREATE TABLE catalog_auto (
id INT(10) UNSIGNED NOT NULL auto_increment,
make varchar(35),
make_t varchar(35),
model varchar(40),
model_t varchar(40),
model_year SMALLINT(4) UNSIGNED,
fuel varchar(35),
gearbox varchar(15),
wd varchar(5),
engine_cc SMALLINT(4) UNSIGNED,
variant varchar(40),
body varchar(30),
power_ps SMALLINT(4) UNSIGNED,
power_kw SMALLINT(4) UNSIGNED,
power_hp SMALLINT(4) UNSIGNED,
max_rpm SMALLINT(5) UNSIGNED,
torque SMALLINT(5) UNSIGNED,
top_spd SMALLINT(5) UNSIGNED,
seats TINYINT(2) UNSIGNED,
doors TINYINT(1) UNSIGNED,
weight_kg SMALLINT(5) UNSIGNED,
lkm_def TINYINT(3) UNSIGNED,
lkm_mix TINYINT(3) UNSIGNED,
lkm_urb TINYINT(3) UNSIGNED,
tank_cap TINYINT(3) UNSIGNED,
co2 SMALLINT(5) UNSIGNED,
PRIMARY KEY(id),
INDEX `gi`(`make`,`model`,`model_year`,`fuel`,`gearbox`,`wd`,`engine_cc`),
INDEX `mkt`(`make`,`make_t`),
INDEX `mdt`(`make`,`model`,`model_t`)
);
The table has about 60.000 rows so far, so, nothing that simple queries, even without indexes, couldn't handle.
The point is, i'm trying to get the hang of using indexes, so i made a few, based on my most frequent queries.
Say i want engine_cc for a specific set of criteria like so:
SELECT DISTINCT engine_cc FROM catalog_auto WHERE make='audi' AND model='a4' and model_year=2006 AND fuel='diesel' AND gearbox='manual' AND wd='front';
EXPLAIN says:
+----+-------------+--------------+------+---------------+------+---------+-------------------------------------+------+--------------------------+
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
+----+-------------+--------------+------+---------------+------+---------+-------------------------------------+------+--------------------------+
| 1 | SIMPLE | catalog_auto | ref | gi,mkt,mdt | gi | 408 | const,const,const,const,const,const | 8 | Using where; Using index |
+----+-------------+--------------+------+---------------+------+---------+-------------------------------------+------+--------------------------+
The query is using gi index as expected, no problem here.
After selecting base criteria, i need the rest of the columns as well:
SELECT * FROM catalog_auto WHERE make='audi' AND model='a4' and model_year=2006 AND fuel='diesel' AND gearbox='manual' AND wd='front' AND engine_cc=1968;
EXPLAIN says:
+----+-------------+--------------+------+---------------+------+---------+-------------------------------------------+------+-------------+
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
+----+-------------+--------------+------+---------------+------+---------+-------------------------------------------+------+-------------+
| 1 | SIMPLE | catalog_auto | ref | gi,mkt,mdt | gi | 411 | const,const,const,const,const,const,const | 3 | Using where |
+----+-------------+--------------+------+---------------+------+---------+-------------------------------------------+------+-------------+
It selected a KEY but NOT using the index. The query however, is very fast(1 row in set (0.00 sec)), but since the table doesn't have that many rows, i assume even without indexing, it would be the same.
Tried it like this:
SELECT * FROM catalog_auto WHERE id IN (SELECT id FROM catalog_auto WHERE make='audi' AND model='a6' AND model_year=2009);
Again, in EXPLAIN:
+----+--------------------+--------------+-----------------+--------------------+---------+---------+------+-------+-------------+
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
+----+--------------------+--------------+-----------------+--------------------+---------+---------+------+-------+-------------+
| 1 | PRIMARY | catalog_auto | ALL | NULL | NULL | NULL | NULL | 59060 | Using where |
| 2 | DEPENDENT SUBQUERY | catalog_auto | unique_subquery | PRIMARY,gi,mkt,mdt | PRIMARY | 4 | func | 1 | Using where |
+----+--------------------+--------------+-----------------+--------------------+---------+---------+------+-------+-------------+
Still NOT using any index, not even PRIMARY KEY. Shouldn't this, at least use the PRIMARY KEY?
Documentation says: MySQL can ignore a key even if it finds one, if it determines that a full table scan would be faster, depending on the query.
Is that the reason why it's not using any of the indexes? Is this a good practice? If not, how would you recommend indexing columns, for a SELECT * statement, to always use an index, given the above query.
I'm not much of a MySQL expert, so any pointers would be greatly appreciated.
Using MySQL 5.5 with InnoDB.
A:
I'm not a MySQL expert, but my guess is that the index was used for the row lookup, but the actual data has to be retrieved from the data pages, so an additional lookup is necessary.
In your first query, the data you ask for is available by looking only at the index keys. When you ask for columns that aren't in the index in the second and third queries, the engine uses the key to do a SEEK on the data tables, so it's still very fast.
With SQL performance, since the optimizer has a lot of freedom to choose the "best" plan, the proof is in the pudding when it comes to indexing. If adding an index makes a common query faster, great, use it. If not, then save the space and overhead of maintaining the index (or look for a better index).
Note that you don't get a free lunch - additional indices can actually slow down a system, particularly if you have frequent inserts or updates on columns that are indexed, since the systme will have to constantly maintain those indices.
A:
I'm basically saying the same answer that @DStanley said, but I want to expand on it more than I can fit in a comment.
The "Using index" note means that the query is using only the index to get the columns it needs.
The absence of this note doesn't mean the query isn't using an index.
What you should look at is the key column in the EXPLAIN report:
+----+-------------+--------------+------+---------------+------+---------+-------------------------------------------+------+-------------+
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
+----+-------------+--------------+------+---------------+------+---------+-------------------------------------------+------+-------------+
| 1 | SIMPLE | catalog_auto | ref | gi,mkt,mdt | gi | 411 | const,const,const,const,const,const,const | 3 | Using where |
+----+-------------+--------------+------+---------------+------+---------+-------------------------------------------+------+-------------+
The key column says the optimizer chooses to use the gi index. So it is using an index. And the ref column confirms that's referencing all seven columns of that index.
The fact that it must fetch more of the columns to return * means it can't claim "Using [only] index".
Also read this excerpt from https://dev.mysql.com/doc/refman/5.6/en/explain-output.html:
Using index
The column information is retrieved from the table using only information in the index tree without having to do an additional seek to read the actual row. This strategy can be used when the query uses only columns that are part of a single index.
I think of this analogy, to a telephone book:
If you look up a business in a phone book, it's efficient because the book is alphabetized by the name. When you find it, you also have the phone number right there in the same entry. So if that's all you need, it's very quick. That's an index-only query.
If you want extra information about the business, like their hours or credentials or whether they carry a certain product, you have to do the extra step of using that phone number to call them and ask. That's a couple of extra minutes of time to get that information. But you were still able to find the phone number without having to read the entire phone book, so at least it didn't take hours or days. That's a query that used an index, but had to also go look up the row from the table to get other data.
|
{
"pile_set_name": "StackExchange"
} | Q:
How to prove the Hahn-Banach constructively
I am just wondering, how to prove the Hahn-Banach theorem constructively for a finite dimensional normed vector space.
Thanks in advance for any helpful answers.
A:
Same way as for the infinite dimensional case, except you avoid Zorn's lemma by counting dimensions.
|
{
"pile_set_name": "Pile-CC"
} | Universal Car Care Automotive Car Service will inspect your Toyota at each scheduled appointment, and determine what needs to be fixed or replaced. The schedule is planned according to the manufacturers’ instructions.
Each servicing is done as determined by the Toyota manufacturers. In this way, your Toyota’s warranty is kept intact and service book is filled in time.
What to do when your Toyota runs out of its warranty?
If you are looking for value, quality, and convenience. Then look no further.
Universal Car Care offer a first class service and repair facility and provide you with a dealer type service but at independent garage prices.
At Universal Car Care Automotive we undertake all types of work, from servicing, replacing timing belts and full engine diagnostics to electronic management and service warning light reset. All work on your Toyota, will be carried out to the very highest standard using only approved spare parts.
Why Should You Get Your Toyota Serviced?
Regularly getting your Toyota serviced will ensure that it functions perfectly and gives you no trouble. Having a filled in log book also increases the resale value of your Toyota.
When Should You Get Your Toyota Serviced?
You can choose to have your Toyota serviced at fixed and regular intervals. Another method is to get your Toyota serviced when sensors installed in the engine and other areas prompt you to. These sensors detect when parts may need to be repaired, and then alert you.
Save with Universal Car Care compared to Dealership Prices
When you visit Universal Car Care Automotive, you will see that they offer dealership like services, without the expensive prices of dealerships. If you go to have some part repaired or replaced by a Toyota dealership, it will require expensive machinery and components to get the job done; thus costing you quite a lot.
However, Universal Car Care Automotive has a first class service and repair facility, with which they can service your Toyota with perfection, letting you save up to as much as 30%. Their equipment can diagnose every problem your Toyota may be having, including engine’s computer and coding error and resetting issues.
What Our Gold Coast Automotive Service & Repair Clients Are Saying
Harry Jones says
I've been taking all my cars to Brendan for years. Brendanalso looks after my parents and girlfriends cars. Always has good advice and the price is always competitive.
Paul Nelson says
Quality plus. Professional service, on time and honest.
Jim H says
"We get all our company cars serviced at Universal Car Care and have found that their rates and service are very competitive. We have been using their services since they were located in Nerang."
Ellie W says
"I have found that when I get my Holden commodore serviced at Universal Car Care I get great service, helpful motor mechanics and great prices. Shelley is really nice to deal with compared to other motor mechanics i have dealt with in the past."
Calm C says
"Fast, efficient, super friendly and helpful. Manged to do a job in less than a day that I was told would take 2 days with another mechanic. I will definitely go back and highly recommend Brendon and his team." |
{
"pile_set_name": "PubMed Abstracts"
} | Synthesis of new cholesterol- and sugar-anchored squaraine dyes: further evidence of how electronic factors influence dye formation.
[reaction: see text] Synthesis of new quinaldine-based squaraine dyes linked to cellular recognition elements that exhibit near-infrared absorption (>740 nm) are described. Both product analysis and theoretical calculations substantiate the interesting electronic effects of various substituents in the dye formation reaction. These results are useful in the synthesis of symmetrical and unsymmetrical squaraine dyes that can have potential biological and photodynamic therapeutical applications. |
{
"pile_set_name": "OpenWebText2"
} | Following years of deadlock among EU states, the European Commission is set to withdraw its 2016 proposal to reform the disputed asylum-regulation known as 'Dublin'.
The so-called Dublin regulation determines the member state responsible for processing asylum claims - and is supposed to halt 'asylum-shopping' by restricting applicants to their first country of entry.
Student or retired? Then this plan is for you.
"We are in the post-Dublin horizon," Margaritis Schinas, the Greek commissioner in charge of migration under the "promoting our European way of life" portfolio, told EUobserver on Wednesday (19 February).
He said the bill, along with the Asylum Procedures Regulation, will have to be pulled from the wider package set to be announced at the end of March. Both currently figure among the seven pieces of legislation that make up the Common European Asylum System.
"We have two that have to be taken off and be repackaged, redrafted. One is the Dublin and the other is procedures," he said.
Schinas did not provide further details, but the move signals a shift in the commission's plan to overhaul internal EU asylum rules - amid promises of a new migration package by commission president Ursula von der Leyen.
In reality, the existing system has ground to a halt, with only around three percent of 'Dublin returns' executed EU-wide.
"It would be safe to suggest that there exists a variation in the manner in which the regulation is implemented by responsible Dublin units across the member states," said Markos Karavias, director of the Greek Asylum Service.
He said the regulation is putting undue pressure on entry states - noting that the bulk of Dublin requests in Greece involve family reunification.
Karavias also pointed out that the Greek island of Lesbos had seen 22,252 asylum applications in 2019 alone.
"If Lesbos was a sovereign member state, it would have roughly registered the tenth-highest number of applications among member states," he said.
Ralf Lesser, a senior official in Germany's Federal Ministry of the Interior, made similar comments, pointing out a widespread lack of cooperation among EU states.
"There a very different interpretations within the provision of the regulation," he said, noting only 8,500 people have been returned to a member state from Germany, from among its 49,000 Dublin requests.
Mandatory quotas
The commission's original proposal to overhaul the rules in 2016 failed to convince dissenting EU states such as the Czech Republic, Hungary and Poland.
The core contention in that overhaul was the automated distribution of asylum-seekers across EU states in case of sudden large inflows, similar to the some one million people that arrived in 2015.
Most at that time went to Germany, with others heading to Sweden.
That saga helped instigate a lock-down as half a dozen EU states imposed internal border control checks to prevent onward migratory movements - casting a long shadow over the EU's cherished passport-free Schengen zone.
A handful of EU presidencies have since attempted to balance concepts like responsibility and solidarity in an effort to break the internal deadlock. But they too failed.
For its part, the European Parliament had endorsed the bill, but expanded it to include mandatory quotas and threatened to reduce EU funding access to member states who failed to adhere to the rules.
That position obtained a two-thirds plenary majority in 2017, the support of the main political groups, representing some 220 political parties. |
{
"pile_set_name": "PubMed Abstracts"
} | Novel STAT1 alleles in a patient with impaired resistance to mycobacteria.
Partial defects in interferon (IFN)-γ signaling lead to susceptibility to infections with nontuberculous mycobacteria. The receptors for IFN-α and IFN-γ activate components of the Janus kinase-signal transducer and activator of transcription (STAT) signaling pathway. Some defects in STAT1 mainly affect IFN-γ signaling, thus resulting in mendelian susceptibility to mycobacterial disease (MSMD). MSMD is a severe disease but patients show a favorable response to anti-mycobacterial chemotherapy. Other defects in STAT1 affect both IFN-α and IFN-γ signaling resulting in mycobacterial and lethal viral disease. We report here a patient with two novel STAT1 alleles, which in combination results in a recessive trait with partial STAT1 deficiency and mycobacterial disease. Cells from the patient did respond to mycobacterial antigen, but both the expression of STAT1 and phosphorylation of STAT1 in response to IFN-γ treatment were reduced. This is the first report of a mutation in the N-terminal part of STAT1 involved in causing mycobacterial disease. |
{
"pile_set_name": "Github"
} | adds added
agrees agreed
allows allowed
announces announced
appears appeared
applies applied
appoints appointed
asks asked
becomes became
believes believed
considers considered
consists consisted
contains contained
continues continued
creates created
decides decided
describes described
develops developed
establishes established
expects expected
fails failed
follows followed
happens happened
hears heard
includes included
intends intended
introduces introduced
involves involved
locates located
loses lost
manages managed
marries married
occurs occurred
operates operated
performs performed
proposes proposed
provides provided
publishes published
receives received
refers referred
relates related
remains remained
replaces replaced
represents represented
requires required
seems seemed
sends sent
spends spent
suggests suggested
tells told |
{
"pile_set_name": "OpenWebText2"
} | It is August, meaning Edinburgh’s festival season is now in full swing. The city’s population more than doubles this month as millions of tourists and tens of thousands of performers descend upon the Scottish capital for the thousands of unique shows on offer. Around 3 million tickets were sold for last year’s Fringe alone, not counting the many other simultaneously occurring festivals.
The celebrations began as a radical freewheeling experiment to promote postwar international solidarity, attempting to bring creative people from around the globe together. Yet it has slowly become corporatszed to the point where a handful of companies with questionable ethical practices, such as Underbelly, have come to dominate, setting the terms and conditions of the Festival, making giant fortunes in the process, even as entertainers lose money.
Putting on a show is generally a losing proposition for artists and even some smaller venues. There are many horror stories; for instance, comedian Barry Fearns revealed how performing at the Festival left him £35,000 in debt and eventually bankrupt. Even selling out a venue does not ensure breaking even. Yet creative people from all over the world continue to come in the hopes of being spotted and breaking into the big time.
While these companies may argue they bring benefits to the local economy in the form of hospitality jobs, surprisingly few of the Festival’s workers are actually being paid, and must toil under “shameful” conditions and are “expected to work to the point of exhaustion”, according to a recent report. The people pulling those £6 pints at 2a.m. may not be even being paid for it. Someone is profiting greatly, but it is evidently not the workers or performers.
Nor is it the residents, who have seen their city simultaneously cheapened and become more expensive due to overtourism. Cut-price chain hotels have controversially set up new breezeblock buildings in the middle of the UNESCO World Heritage site. There are now over 10,000 AirBnB properties in the relatively small city, four times the concentration of London or Paris. These are primarily located in the historic city centre, as landlords have realised it is far more profitable to gouge tourists and performers than rent to locals. An under-regulated buy-to-let market allows companies to snap up properties as soon as they come on the market knowing they can make huge profits on AirBnB. As a result Edinburgh’s house prices and rents have ballooned as rich tourists in short-term rentals crowd locals out. Those that work in the city are forced out of town to buy or tread water paying increasingly higher rents.
Conservation groups have warned that the Old Town is becoming a “tourist ghetto”; the avalanche of indistinguishable cheap touristic “tartan tat” shops compound the problem and make it extremely difficult to live there permanently. Performers too, fear rising rents are threatening the Fringe’s future and turning it into an elitist event.
Furthermore, the big festival giants have been allowed to privatise or seal-off many of Edinburgh’s most iconic and picturesque parks or public areas for profit. George Square, Bristo Square, Castlehill, Charlotte Square and parts of the Meadows are all cordoned off throughout August. Local Old Town residents are continually forced into pleading with lines of surly, newly arrived G4S security guards just for access to the streets where they live or work.
Worse still, it often takes until the following spring for the grass surfaces to be relayed and recover from the pounding that turns the beautiful spaces into something resembling a particularly wet Glastonbury. The Festival also puts undue strain on public services and leaves the city covered with litter for days or even weeks afterwards. Comfortably profiting, the corporate giants leave the party, leaving the locals to deal with the collective hangover in September.
The Festival is still a unique, magical event that brings people from all over the world to Scotland’s capital. However, the slow creep of corporations branding and monetising aspects of it is eating it from within. The rampant profiteering is also suffocating the city, negatively impacting year round residents.
Venice was turned into a lifeless museum city through unregulated free-for-all tourism. We must not allow the same thing to happen to Edinburgh.
Alan MacLeod (@AlanRMacLeod) is an Edinburgh native and a journalist at Fairness and Accuracy in Reporting. |
{
"pile_set_name": "StackExchange"
} | Q:
How to access object variable inside self-executing anonymous functions
Please look at this code:
var someObject =
{
x: 3,
y: (function()
{
var z = // HOW TO ACCESS x HERE?
return {
// whatever
};
})()
};
Is there any possibility to access "x" variable inside function, without creating any variables outside "someObject" object?
A:
No.
The object hasn't been created so x doesn't exist at the time that statement is evaluated.
|
{
"pile_set_name": "PubMed Abstracts"
} | Long noncoding RNA LUCAT1 promotes cervical cancer cell proliferation and invasion by upregulating MTA1.
Recent researches have revealed the role of long noncoding RNAs (lncRNAs) in the development of tumors. In this study, lncRNA LUCAT1 was explored to identify how it affected the progression of cervical cancer. Quantitative Real-time polymerase chain reaction (qRT-PCR) was used to detect LUCAT1 expression in both cervical cancer cells and tissue samples. Moreover, the associations between LUCAT1 expression level and patients' overall survival rate were explored, respectively. In addition, cell proliferation assay and transwell assay were conducted. Furthermore, the underlying mechanism was explored via performing qRT-PCR and Western blot assay. By comparing with the expression level in corresponding ones, the LUCAT1 expression level in cervical cancer samples was significantly higher. Moreover, expression level of LUCAT1 was negatively correlated with patients' overall survival time. In addition, after LUCAT1 was overexpressed, cell proliferation, cell invasion and migration capacities were promoted in vitro. In addition, the mRNA and protein expressions of MTA1 were upregulated after LUCAT1 was overexpressed. Furthermore, it was found that the expression level of MTA1 was positively related to LUCAT1 expression level in cervical cancer tissues. We showed that LUCAT1 could enhance proliferation, invasion and migration of cervical cancer cells through upregulating MTA1, which might offer a potential therapeutic choice for patients with cervical cancer. |
{
"pile_set_name": "OpenWebText2"
} | Now, you can get all of the beautiful, harmonically rich tube gain and classic frequency response of this iconic mic preamp in a great-sounding, easy-to-use emulation with the V76 Preamplifier plug-in, exclusively for UAD hardware and UA Audio Interfaces. Learn More |
{
"pile_set_name": "USPTO Backgrounds"
} | The device is in the field of cutting mechanisms for extruded food products, and more specifically, a cutting mechanism for extruded food products having a servo-driven multi-directional cutting edge. |
{
"pile_set_name": "StackExchange"
} | Q:
How to expire a Cookie using Jquery at midnight?
I did this:
$.cookie("ultOS", (i), {expires:1});
But it will only expire next day.
How can I expire a cookie at midnight?
Would this work instead?
var date = new Date();
var midnight = new Date(date.getFullYear(), date.getMonth(), date.getDate(), 23, 59, 59);
$.cookie("ultOS", (i), {expires: midnight});
A:
I think this would work:
var currentDate = new Date();
expirationDate = new Date(currentDate.getFullYear(), currentDate.getMonth(), currentDate.getDate()+1, 0, 0, 0);
$.cookie("ultOS", "5", {expires: expirationDate});
A:
According to the latest version of ths cookie plugin (assuming this is the one you're using: http://plugins.jquery.com/project/Cookie), you can pass a normal Date object in.
I haven't tried it, but the source of the plugin is fairly straightforward....
if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) {
var date;
if (typeof options.expires == 'number') {
date = new Date();
date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000));
} else {
date = options.expires;
}
expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE
}
If you pass in a number, it assumes that's number of days. If you pass in a Date, it takes that.
|
{
"pile_set_name": "Wikipedia (en)"
} | Parsonstown (disambiguation)
Parsonstown is the former name of the town of Birr, County Offaly in Ireland.
Parsonstown may also refer to:
Two townlands in County Kildare:
Parsonstown, Ardkill, in the civil parish of Ardkill, barony of Carbury
Parsonstown, Donaghcumper, in the civil parish of Donaghcumper, barony of North Salt
Parsonstown, County Louth, a civil parish and townland in County Louth in the barony of Ferrard
Parsonstown, County Meath, a townland in County Meath in the civil parish of Rathregan, barony of Ratoath
Parsonstown, County Westmeath, a townland in the civil parish of Tyfarnham, barony of Corkaree
See also
Leviathan of Parsonstown, the unofficial name of the Rosse six-foot telescope. |
{
"pile_set_name": "OpenWebText2"
} | Duplex still appears to be limited to the US, so you can't expect to book a restaurant table or haircut elsewhere in the world. Even so, it's a big step forward. It's been nearly a year since Google unveiled Duplex at I/O, and it has remained a largely niche feature since it rolled out in November. Although you still couldn't call it ubiquitous at this stage, it's about to become considerably more commonplace. |
{
"pile_set_name": "OpenWebText2"
} | LOUIS BURKE | Cadet | CONTACT
Despite having a disposable income and below average intelligence, Darren Callaghan has yet to visit Queensland’s Gold Coast, opting instead to cut out the middleman and glass himself.
The twenty-nine-year-old hospo says he would like to experience everything the Gold Coast has to offer but states he can do that at home by racking eight lines of cocaine, supporting a failing footy team, punching himself in the head and throwing $2000 in the bin.
“If I need the experience of walking around surfers I just pour some salt in my hair and inhale second hand smoke,” stated the ersatz traveler.
“And if I need strip club experience, I just watch some porn without touching myself.”
According to Callaghan, he’d rather avoid the negative stereotypes about men his age who visit the Gold Coast for a holiday but still know what it is like to be glassed by some roided up tan job who is up to their eyeballs on goey.
Rigging up a system he calls the Glitter-Strip Simulator, Callaghan stands on a platform he paid $50 to get on, listening to loud club music while foul smells permeate out of a bathroom where all the stalls are full before a bottle on a rope flies into his temple knocking him into a hedge filled with cane toads and used condoms.
“Wooo!”
More to come. |
{
"pile_set_name": "Github"
} | #include <algorithm>
#include <vector>
#include "caffe/layer.hpp"
#include "caffe/vision_layers.hpp"
namespace caffe {
const float kBNLL_THRESHOLD = 50.;
template <typename Dtype>
void BNLLLayer<Dtype>::Forward_cpu(const vector<Blob<Dtype>*>& bottom,
const vector<Blob<Dtype>*>& top) {
const Dtype* bottom_data = bottom[0]->cpu_data();
Dtype* top_data = top[0]->mutable_cpu_data();
const int count = bottom[0]->count();
for (int i = 0; i < count; ++i) {
top_data[i] = bottom_data[i] > 0 ?
bottom_data[i] + log(1. + exp(-bottom_data[i])) :
log(1. + exp(bottom_data[i]));
}
}
template <typename Dtype>
void BNLLLayer<Dtype>::Backward_cpu(const vector<Blob<Dtype>*>& top,
const vector<bool>& propagate_down,
const vector<Blob<Dtype>*>& bottom) {
if (propagate_down[0]) {
const Dtype* bottom_data = bottom[0]->cpu_data();
const Dtype* top_diff = top[0]->cpu_diff();
Dtype* bottom_diff = bottom[0]->mutable_cpu_diff();
const int count = bottom[0]->count();
Dtype expval;
for (int i = 0; i < count; ++i) {
expval = exp(std::min(bottom_data[i], Dtype(kBNLL_THRESHOLD)));
bottom_diff[i] = top_diff[i] * expval / (expval + 1.);
}
}
}
#ifdef CPU_ONLY
STUB_GPU(BNLLLayer);
#endif
INSTANTIATE_CLASS(BNLLLayer);
REGISTER_LAYER_CLASS(BNLL);
} // namespace caffe
|
{
"pile_set_name": "Pile-CC"
} | Core Program Areas
Character & Leadership Development
These programs empower members to positively influence their Club and community, sustain meaningful relationships with others, and develop self-esteem. The Keystone and Torch Clubs, in which members elect officers and plan and implement their own activities and community service projects, help young people learn about decision making, understanding democratic processes, and contributing to both their Club and community. Our year-long Youth of the Year leadership and recognition program encourages scholarship and develops public speaking skills, both critical for future success.
Education & Career Development
Boys & Girls Clubs help youth become proficient in basic educational disciplines, apply learning to everyday situations, and promote future career success. Each Club is dedicated to helping members improve their study habits, do well in school, and make good life choices. The POWER HOUR program offers members after school homework help and tutoring. Additional educational programs are offered to help build reading proficiency, reduce “summer set-back,” and prepare for college applications and enrollment. Standards are set high, and peer support among members creates an atmosphere focused on excelling.
Health & Life Skills
These programs encourage young people to engage in positive behaviors that nurture their own well-being and set personal goals for the future. Members participate in programs that reinforce healthy living such as SMART Moves, a drug, alcohol, and tobacco prevention program, gender-specific programming, pregnancy prevention programs, and diversity education. Special events that include screenings, health presentations, and financial literacy conferences are another key component of this program area.
The Arts
Art programming allows young people to develop creativity and cultural awareness through knowledge and appreciation of visual arts and crafts, performing arts, and creative writing. These activities foster self-expression and help develop appreciation of other cultures.
Sports, Fitness & Recreation
Club members develop fitness, positive use of leisure time, skills for stress management, appreciation for the environment, and social skills through sports, fitness, and recreation programs. Young people learn teamwork and physical fitness through organized athletic leagues and a variety of low-organized sports and games in the gymnasium.
Technology
Our technology programs help develop young people’s technical skills to provide them with a competitive edge among their peers and prepare them for future success. All members complete an internet safety program annually, in which they learn the responsible use of technology and avoiding online risks. These programs are continuing to expand and include project-based learning techniques to better equip Club members with skills for the 21st century workplace. Members can build their proficiency to levels that affords them the chance to serve as tutors for other members. |
{
"pile_set_name": "PubMed Central"
} | 1. Introduction
===============
Severe Acute Respiratory Syndrome (SARS) is a recently emerged disease associated with pneumonia in a proportion of those human persons infected [@BIB1], [@BIB2], [@BIB3]. The outbreak was first recognized in Guangdong Province, China in November 2002 [@BIB4]. The disease was unusual for its severity and patients suffering from this disease did not respond to empirical, antimicrobial treatment for acute, community-acquired typical or atypical pneumonia. The clinical syndromes of SARS are fever, shortness of breath, lymphopenia and rapidly progressing changes on radiography. At the end of this outbreak, a cumulative total of more than 8000 cases and 700 deaths have been reported [@BIB5]. The disease is highly infectious and \>56% of health care workers caring for SARS patients have been infected [@BIB6]. A novel coronavirus (Cov) is identified to be the cause of this disease [@BIB1], [@BIB7], [@BIB8].
2. Identification of SARS Cov at the etiology of SARS
=====================================================
Nasopharyngeal aspirate (NPA) and lung biopsy samples from patients suffering from SARS were used to infect a monkey kidney cell line, FRhK4. Cytopathic effects were observed 2--4 days postinfection. Electron microscopy of negative, stained, infected cells showed the presence of pleomorphic, enveloped virus particles of around 80--90 nm (range 70--130 nm) in diameter with surface morphology compatible with a Cov.
In order to elucidate the sequence identity of the virus, total RNA from infected cells was extracted and subjected to random RT-PCR assays [@BIB1]. Genetic fingerprints, which were unique in infected cells, were isolated and cloned. Sequence analyses of DNA fragments indicated this virus is close to viruses under the family of Coronaviridae [@BIB1]. However, phylogenetic analysis of the protein sequences in this family (types 1--3 Covs) separated the SARS virus into a distinct group [@BIB1].
Based on the determined viral sequences, conventional and real-time RT-PCR assays were developed to detect this pathogen in clinical samples [@BIB1], [@BIB9], [@BIB10], [@BIB11]. Besides, a serology test was established to detect IgG antibodies against this virus in patients\' sera. More than 93% of SARS patients were reported to be seroconverted at 28 days after the disease onset [@BIB1]. By contrast, neither patients with other respiratory diseases nor a normal healthy blood donor had detected antibodies against this virus. Furthermore, it was demonstrated that this newly discovered virus could cause similar clinical presentation in cynomolgus macaques (*Macaca fascicularis*) [@BIB12], [@BIB13]. Thus, the overall results fulfilled Koch\'s postulations that the etiological agent of SARS is the SARS Cov.
3. SARS diagnosis
=================
Because SARS is a highly contagious disease, a rapid identification of SARS patients would not only allow prompt clinical treatments and patient management, but also establishing a quarantine policy, thereby minimizing the risk of cross-infection [@BIB14]. The identification of SARS Cov prompted us to develop tests for SARS diagnosis. The first approach depends on the detection of antibodies against SARS Cov from SARS patients [@BIB1]. This kind of serological assay is highly accurate [@BIB15] and IgG seroconversion is reported to start at day 11 of disease onset [@BIB15]. Thus, serological tests might be useful for confirmatory purposes.
The second test for SARS diagnosis is based on detecting the SARS Cov viral RNA. Detection of the virus by RT-PCR in clinical specimens offers the option of diagnosis in the early stage of the disease. In this outbreak, we developed several conventional and real-time quantitative PCR assays for SARS diagnosis [@BIB1], [@BIB9], [@BIB10], [@BIB11]. Quantitative analysis of viral RNA in NPA specimens indicated that the viral loads at the early disease onset are low and peak at day 10 of the illness [@BIB15]. The presence of low copy numbers of a viral genome in early clinical samples is a major limiting factor for achieving a sensitive molecular test for SARS diagnosis. Recently, we demonstrated that this problem could be overcome by increasing the volume of clinical samples for RNA extraction. By using a modified RNA extraction method and applying quantitative real-time RT-PCR technologies, 80% of specimens collected at days 1--3 of the onset were positive in RT-PCR assays [@BIB10].
4. SARS Cov is of animal origin
===============================
To better understand the animal hosts involved in the ecology and interspecies transmission of this virus, an investigation was carried out in a retail live animal market in Guangdong, mainland China [@BIB16]. SARS Covs were isolated from four out of six Himalayan palm civets (*Paguma larvata*, Family Viverridae). Evidence of virus infection was also detected in a raccoon dog (*Nyctereutes procyonoides*), Chinese ferret badger (*Melogale moschata*) and in humans working in direct contact with these animals [@BIB16]. Phylogenetic analysis indicates that these animal viruses are highly similar to human SARS Cov [@BIB16]. Sequence analysis revealed that all the animal virus isolates retain an "additional" 29 nucleotide sequence, not found in most human virus isolates, which results in encoding a new putative protein of 122 amino acids of unknown function.
5. Conclusion
=============
Both H5N1 influenza and SARS emerged in the hypothetical pandemic influenza epicenter of southern China. In the case of H5N1, chickens were the immediate source of virus for humans [@BIB17]. The detection of SARS Cov-like viruses in small wild mammals found in live retail markets supplying the restaurant trade in Guangdong indicates how this virus may have crossed from its animal reservoir to humans. Surveillance of SARS Cov in animals is important for public health and may provide clues to understanding the interspecies transmission events relevant to the genesis of novel, emerging diseases.
We acknowledge research funding from Public Health Research Grant A195357 from the National Institute of Allergy and Infectious Diseases, USA, The Research Grant Council of Hong Kong (HKU 7543/03M and HKU 7542/03M), The University of Hong Kong (HKU SARS Research Fund) and the Hospital Authority of Hong Kong SAR.
|
{
"pile_set_name": "Pile-CC"
} | T.D.W.
Jherek Oivos
Description:
Bio:
Jherek is a handsome man in his late twenties, though his easy grin makes him appear somewhat boyish. Beneath nondescript clothing of the local style, his frame is slender but well muscled, and he moves with an easy grace. |
{
"pile_set_name": "StackExchange"
} | Q:
Special case of normal basis theorem - Artin 16.M.13
The very last problem in Artin's Algebra, second edition, reads:
Let $K/F$ be a Galois extension with Galois group $G$. If we think of $K$ as an $F$-vector space, we obtain a representation of $G$ on $K$. Let $\chi$ denote the character of this representation. Show that if $F$ contains enough roots of unity, then $\chi$ is the character of the regular representation.
I know this is a corollary of the normal basis theorem, but finding a proof for the normal basis theorem is not that easy, and going this route seems to ignore the "enough roots of unity" condition. How can we use this condition to obtain a simpler proof?
A:
As I commented, the proof of Normal Basis Theorem is not very hard. Please comment me any questions regarding the proof.
As for the exercise, the "enough roots of unity" condition simplifies the proof of this problem. In this proof, we avoid using the Normal Basis Theorem.
Let $n=|G|$ and assume that $F$ contains a primitive $n$-th root of unity (that should be a more precise statement about having enough roots of unity). Regarding $g\in G$ as a $F$-linear endomorphism on $K$. Since $g^n=1$, the minimal polynomial of $g$ divides $X^n-1 \in F[X]$. It is easy to see that if $g=1$ then $\chi(1)=|G|=n$.
So, we assume $g\neq 1$. Let $1<d|n$ be the order of $g$ in $G$. Then $g^d=1$ and any eigenvalue of $g$ must be a $d$-th root of unity. Since distinct field homomorphisms $1,g,\ldots, g^{d-1}$ are linearly independent over $F$, it follows that $X^d-1\in F[X]$ is the minimal polynomial of $g$. Since $F$ contains $n$-th roots of unity, we may assume that $g$ is diagonalizable over $F$. Moreover, the diagonal matrix $D_g$ corresponding to $g$ has all $d$-th roots of unity appearing on its diagonal entries.
By Galois theory, the field $K^g=\{x\in K| gx=x\}$ is a subfield of $K$ with extension degree $n/d$ over $F$. Then there is a basis $\{y_1,\ldots, y_{n/d}\}$ of $K^g$ over $F$. For each $d$-th root of unity $\zeta$, take a eigenvector $x\in K$ of $g$ so that $g x= \zeta x$. Then $\{xy_1, \ldots, xy_{n/d}\}$ forms a set of $n/d$ linearly independent eigenvectors. Thus, each $d$-th root of unity appears on exactly $n/d$ diagonal entries of $D_g$, and it follows that $(X^d-1)^{n/d}$ is the characteristic polynomial of $g$. Since the coefficient of $X^{n-1}$ in $(X^d-1)^{n/d}$ is zero, we have $\mathrm{tr}(g)=0$.
Hence, the character of the representation is the regular representation.
|
{
"pile_set_name": "Github"
} | /* Copyright 2015 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
==============================================================================*/
#include "tensorflow/core/kernels/cwise_ops_common.h"
namespace tensorflow {
REGISTER5(UnaryOp, CPU, "Cos", functor::cos, float, Eigen::half, double,
complex64, complex128);
#if GOOGLE_CUDA
REGISTER3(UnaryOp, GPU, "Cos", functor::cos, float, Eigen::half, double);
#endif
} // namespace tensorflow
|
{
"pile_set_name": "Wikipedia (en)"
} | Christy Martin (boxer)
Christy Renea Martin (born June 12, 1968) is a former American world champion boxer and currently the CEO of Christy Martin Promotions.
Early life
Martin was born in Mullens, West Virginia with the name Christy Salters.
She played various sports as a child including Little League baseball and all-state basketball. She attended Concord College in Athens, West Virginia on a basketball scholarship and earned a B.S. in education.
Career
Martin is said to be “the most successful and prominent female boxer in the United States” and the person who “legitimized” women’s participation in the sport of boxing. She began her career fighting in “Toughwoman” contests and won three consecutive titles. She then began training with boxing coach, Jim Martin, who became her husband in 1991.
Martin started her professional boxing career at the age of 21 with a six-round draw with Angela Buchanan in 1989. She had her first training under the direction of Charlie Sensabaugh of Daniels West Virginia. Martin won a rematch with Buchanan one month later with a second round knockout. Andrea DeShong then beat Martin in a five-round decision. Martin then had nineteen consecutive wins, including two against Jamie Whitcomb and Suzanne Riccio-Major as well a rubber match win against Buchanan. On October 15, 1993, Martin had her first title fight against Beverly Szymansky, for the WBC women's Jr. Welterweight world championship. Martin won by knocking out Szymansky in three rounds. In her first title defense, she fought to a draw against debutante Laura Serrano in Las Vegas.
Martin defended her title six more times, including a rematch with Szymansky, a fourth fight with Buchanan and defenses versus Melinda Robinson and Sue Chase, winning all of them, before the fight that many credit for putting women's boxing on the sports fans' radar took place: On March 16, 1996, she and Deirdre Gogarty fought what many consider a great fight, in front of Showtime cameras. Martin got the decision, and after that bout, she began to gain more celebrity, even appearing on the cover of Sports Illustrated once shortly afterwards.
Martin won her next eight bouts including wins against Robinson, DeShong, Marcela Acuña and Isra Girgrah. Martin lost her title in a 10-round decision loss to Sumya Anani in 1998. Martin then won her next nine fights including wins against Belinda Laracuente, Sabrina Hall and Kathy Collins. Martin won her next two fights by ten-round decisions against Lisa Holeywine and Mia St. John.
In 2003 Martin fought Laila Ali and lost by a knockout in the fourth round.
Martin's next fight in 2005 was a second-round knockout against Lana Alexander in Lulu, Mississippi.
In 2005 a fight with Lucia Rijker, entitled "Million Dollar Lady", was canceled because Rijker ruptured her Achilles during training.
On September 16, 2005, in Albuquerque, New Mexico, Martin lost a 10-round unanimous decision to Holly Holm. Martin was beaten by the 23-year-old southpaw, with all three judges scoring for Holm.
Martin holds a record of 49 wins, 7 losses and 3 draws with 31 wins by knockout. She is a frequent visitor of the International Boxing Hall Of Fame annual induction ceremonies, and an avid autograph signer. She has fought on the undercard of boxers Mike Tyson, Evander Holyfield, Félix Trinidad and Julio César Chávez.
Martin was promoted by Don King. She was nicknamed The Coal Miner's Daughter in reference to her father's occupation.
Martin announced on January 19, 2011, that she would be fighting again in hopes of her 50th career win on the undercard of the Ricardo Mayorga vs Miguel Cotto Fight at the MGM Grand Hotel in Las Vegas, Nevada, on March 12, 2011, against Dakota Stone in a rematch of their 2009 Fight. The fight was postponed due to a rib injury to Christy Martin. The rescheduled rematch took place June 4, 2011 at Staples Center in Los Angeles on the Julio Ceasr Chavez Jr. vs Sebastian Zbik undercard. Dakota Stone prevailed by TKO with :51 left as Martin broke her right hand in 9 places on a punch in the 4th round and could not continue.
In 2016, she became the first female boxer inducted into the Nevada Boxing Hall of Fame. That same year, Sports Illustrated reported that she was working 2 jobs, as a substitute teacher and helping military veterans find work, and that she was dealing with the after effects of her career, including dealing with lack of stamina and double vision.
Professional boxing record
|-
| style="text-align:center;" colspan="9"|49 Wins (31 knockouts, 18 decisions), 7 Losses (2 knockouts, 5 decisions), 3 Draws
|- style="text-align:center; background:#e3e3e3;"
| style="border-style:none none solid solid; background:#e3e3e3;"|Res.
| style="border-style:none none solid solid; background:#e3e3e3;"|Record
| style="border-style:none none solid solid; background:#e3e3e3;"|Opponent
| style="border-style:none none solid solid; background:#e3e3e3;"|Type
| style="border-style:none none solid solid; background:#e3e3e3;"|Rd., Time
| style="border-style:none none solid solid; background:#e3e3e3;"|Date
| style="border-style:none none solid solid; background:#e3e3e3;"|Location
| style="border-style:none none solid solid; background:#e3e3e3;"|Notes
|- style="text-align:center;"
| Loss || 49–7–3 || Mia St. John || Unanimous decision || 10 || August 14, 2012 || Friant, CA, U.S. ||
|- style="text-align:center;"
| Loss || 49–6–3 || Dakota Stone || TKO Loss (6) || 6 || June 4, 2011 || Los Angeles, U.S. ||
|- style="text-align:center;"
| Win || 49–5–3 || Dakota Stone || Majority decision || 10 || September 9, 2009 || Syracuse, New York, U.S. ||
|- style="text-align:center;"
| Win || 48–5–3 || Cimberly Harris || Split decision || 6 || August 1, 2009 || Huntington, West Virginia, U.S. ||
|- style="text-align:center;"
| style="background:#dae2f1"|Draw || 47–5–3 || Valerie Mahfood || Draw || 8 || July 18, 2008 || Houston, Texas, U.S. ||
|- style="text-align:center;"
| Win || 47–5–2 || Amy Yuratovac || Unanimous decision || 2 || June 2, 2007 || Lake Charles, Louisiana, U.S. ||
|- style="text-align:center;"
| Loss || 46–5–2 || Angelica Martinez || Split decision || 10 || October 6, 2006 || Worley, Idaho, U.S. ||
|- style="text-align:center;"
| Loss || 46–4–2 || Holly Holm || Unanimous decision || 10 || September 16, 2005 || Albuquerque, New Mexico, U.S. ||
|- style="text-align:center;"
| Win || 46–3–2 || Lana Alexander || KO || 2 || April 30, 2005 || Lula, Mississippi, U.S. ||
|- style="text-align:center;"
| Loss || 45–3–2 || Laila Ali || KO || 4 , 0:28 || August 23, 2003 || Biloxi, Mississippi, U.S. ||
|- style="text-align:center;"
| Win || 45–2–2 || Mia St. John || Unanimous decision || 10 || December 6, 2002 || Pontiac, Michigan, U.S. ||
|- style="text-align:center;"
| Win || 44–2–2 || Lisa Holewyne || Unanimous decision || 10 || November 17, 2001 || Las Vegas, Nevada, U.S. ||
|- style="text-align:center;"
| Win || 43–2–2 || Kathy Collins || Majority decision || 10 || May 12, 2001 || New York City, New York, U.S. ||
|- style="text-align:center;"
| Win || 42–2–2 || Jeanne Martinez || Unanimous decision || 10 || March 3, 2001 || Las Vegas, Nevada, U.S. ||
|- style="text-align:center;"
| Win || 41–2–2 || Sabrina Hall || KO || 1 || December 2, 2000 || Las Vegas, Nevada, U.S. ||
|- style="text-align:center;"
| Win || 40–2–2 || Dianna Lewis || Unanimous decision || 10 || August 12, 2000 || Las Vegas, Nevada, U.S. ||
|- style="text-align:center;"
| Win || 39–2–2 || Belinda Laracuente || Majority decision || 8 || March 3, 2000 || Las Vegas, Nevada, U.S. ||
|- style="text-align:center;"
| Win || 38–2–2 || Daniella Somers || TKO || 5 , 1:37 || October 2, 1999 || Las Vegas, Nevada, U.S. ||
|- style="text-align:center;"
| Win || 37–2–2 || Jovette Jackson || TKO || 1 || April 24, 1999 || Washington, D.C., U.S. ||
|- style="text-align:center;"
| Loss || 36–2–2 || Sumya Anani || Majority decision || 10 || December 18, 1998 || Fort Lauderdale, Florida, U.S. ||
|- style="text-align:center;"
| Win || 36–1–2 || Christine Robinson || TKO || 5 || September 19, 1998 || Atlanta, Georgia, U.S. ||
|- style="text-align:center;"
| Win || 35–1–2 || Cheryl Nance || TKO || 9 , 0:41 || August 29, 1998 || Las Vegas, Nevada, U.S. ||
|- style="text-align:center;"
| Win || 34–1–2 || Marcela Acuña || Unanimous decision || 10 || December 5, 1997 || Pompano Beach, Florida, U.S. ||
|- style="text-align:center;"
| Win || 33–1–2 || Isra Girgrah || Unanimous decision || 8 || August 23, 1997 || New York City, New York, U.S. ||
|- style="text-align:center;"
| Win || 32–1–2 || Andrea DeShong || TKO || 7 , 1:43 || June 28, 1997 || Las Vegas, Nevada, U.S. ||
|- style="text-align:center;"
| Win || 31–1–2 || Bethany Payne || TKO || 1 , 2:59 || November 9, 1996 || Las Vegas, Nevada, U.S. ||
|- style="text-align:center;"
| Win || 30–1–2 || Melinda Robinson || KO || 4 || September 7, 1996 || Las Vegas, Nevada, U.S. ||
|- style="text-align:center;"
| Win || 29–1–2 || Deirdre Gogarty || Unanimous decision || 6 || March 16, 1996 || Las Vegas, Nevada, U.S. || Martin recognition by the World Boxing Council as its nominal women's lightweight champion of the world
|- style="text-align:center;"
| Win || 28–1–2 || Del Pettis || TKO || 1 || February 24, 1996 || Richmond, Virginia, U.S. ||
|- style="text-align:center;"
| Win || 27–1–2 || Sue Chase || TKO || 3 , 0:27 || February 10, 1996 || Las Vegas, Nevada, U.S. ||
|- style="text-align:center;"
| Win || 26–1–2 || Melinda Robinson || Unanimous decision || 6 || January 13, 1996 || Miami, Florida, U.S. ||
|- style="text-align:center;"
| Win || 25–1–2 || Erica Schmidlin || TKO || 1 || December 16, 1995 || Philadelphia, Pennsylvania, U.S. ||
|- style="text-align:center;"
| Win || 24–1–2 || Angela Buchanan || TKO || 2 || August 12, 1995 || Las Vegas, Nevada, U.S. ||
|- style="text-align:center;"
| Win || 23–1–2 || Beverly Szymanski || KO || 4 || April 1, 1995 || Las Vegas, Nevada, U.S. ||
|- style="text-align:center;"
| Win || 22–1–2 || Chris Kreuz || TKO || 4 || September 12, 1994 || Las Vegas, Nevada, U.S. ||
|- style="text-align:center;"
| style="background:#dae2f1"|Draw || 21–1–2 || Laura Serrano || Draw || 6 || May 7, 1994 || Las Vegas, Nevada, U.S. ||
|- style="text-align:center;"
| Win || 21–1–1 || Sonja Donlevy || TKO || 1 || March 4, 1994 || Las Vegas, Nevada, U.S. ||
|- style="text-align:center;"
| Win || 20–1–1 || Susie Melton || TKO || 1 , 0:40 || January 29, 1994 || Las Vegas, Nevada, U.S. ||
|- style="text-align:center;"
| Win || 19–1–1 || Beverly Szymanski || KO || 3 || October 15, 1993 || Auburn Hills, Michigan, U.S. ||
|- style="text-align:center;"
| Win || 18–1–1 || Rebecca Kirkland || TKO || 1 || August 27, 1993 || Punta Gorda, Florida, U.S. ||
|- style="text-align:center;"
| Win || 17–1–1 || Deborah Cruickshank || KO || 1 || May 28, 1993 || Punta Gorda, Florida, U.S. ||
|- style="text-align:center;"
| Win || 16–1–1 || Susie Hughes || TKO || 1 || January 29, 1993 || Columbia, South Carolina, U.S. ||
|- style="text-align:center;"
| Win || 15–1–1 || Angela Buchanan || TKO || 1 || November 14, 1992 || Greenville, South Carolina, U.S. ||
|- style="text-align:center;"
| Win || 14–1–1 || Tracy Gordon || TKO || 1 || September 5, 1992 || Daytona Beach, Florida, U.S. ||
|- style="text-align:center;"
| Win || 13–1–1 || Stacey Prestage || Decision || 8 || May 30, 1992 || Daytona Beach, Florida, U.S. ||
|- style="text-align:center;"
| Win || 12–1–1 || Jackie Thomas || TKO || 3 || January 25, 1992 || Daytona Beach, Florida, U.S. ||
|- style="text-align:center;"
| Win || 11–1–1 || Rose Noble || TKO || 1 || January 11, 1992 || Grundy, Virginia, U.S. ||
|- style="text-align:center;"
| Win || 10–1–1 || Shannon Davenport || TKO || 2 || September 10, 1991 || Princeton, West Virginia, U.S. ||
|- style="text-align:center;"
| Win || 9–1–1 || Rhonda Hefflin || KO || 1 || May 25, 1991 || Tennessee, U.S. ||
|- style="text-align:center;"
| Win || 8–1–1 || Pat Watts || TKO || 1 || March 16, 1991 || Chattanooga, Tennessee, U.S. ||
|- style="text-align:center;"
| Win || 7–1–1 || Suzanne Riccio || Decision || 5 || February 25, 1991 || Bristol, Tennessee, U.S. ||
|- style="text-align:center;"
| Win || 6–1–1 || Jamie Whitcomb || Unanimous decision || 5 || January 12, 1991 || Bristol, Tennessee, U.S. ||
|- style="text-align:center;"
| Win || 5–1–1 || Lisa Holpp || TKO || 1 || October 27, 1990 || Bristol, Tennessee, U.S. ||
|- style="text-align:center;"
| Win || 4–1–1 || Jamie Whitcomb || Decision || 6 || September 22, 1990 || Johnson City, Tennessee, U.S. ||
|- style="text-align:center;"
| Win || 3–1–1 || Andrea DeShong || Decision || 5 || April 21, 1990 || Bristol, Tennessee, U.S. ||
|- style="text-align:center;"
| Loss || 2–1–1 || Andrea DeShong || Decision || 5 || November 4, 1989 || Bristol, Tennessee, U.S. ||
|- style="text-align:center;"
| Win || 2–0–1 || Tammy Jones || TKO || 1 || October 21, 1989 || Bristol, Tennessee, U.S. ||
|- style="text-align:center;"
| Win || 1–0–1 || Angela Buchanan || KO || 2 || September 30, 1989 || Durham, North Carolina, U.S. ||
|- style="text-align:center;"
| style="background:#dae2f1"|Draw || 0–0–1 || Angela Buchanan || Draw || 5 || September 9, 1989 || Bristol, Tennessee, U.S. ||
Attempted murder
On November 23, 2010, Christy Martin was stabbed several times and shot at least once in her torso and left for dead by her husband, 66-year-old James V. Martin. The attack reportedly occurred after an argument in their Apopka home. She survived the attack. On November 30, James Martin was arrested and taken to Orlando Regional Medical Center after he stabbed himself.He was booked in Orange County Jail and charged with attempted first degree murder and aggravated battery with a deadly weapon.
In April, 2012, James Martin was found guilty of attempted second-degree murder.
He was sentenced two months later to 25 years in prison.
Personal life
Christy was married to former ring rival Lisa Holewyne on November 25th, 2017. Salters Martin currently is the CEO of Christy Martin Promotions a boxing promotion company that has promoted 13 events in North Carolina since 2016 and will be promoting boxing events in Jacksonville, Florida.
References
External links
Official website
Christy Martin Female Boxer Biography
Category:1968 births
Category:Living people
Category:American shooting survivors
Category:American women boxers
Category:Concord University alumni
Category:Lesbian sportswomen
Category:LGBT sportspeople from the United States
Category:LGBT people from West Virginia
Category:People from Apopka, Florida
Category:People from Mullens, West Virginia
Category:Sportspeople from Florida
Category:Boxers from West Virginia
Category:LGBT boxers |
{
"pile_set_name": "PubMed Central"
} | Background {#Sec1}
==========
Colorectal cancer (CRC) is the third most prevalent cancer worldwide, with over 1.4 million new cancer cases diagnosed and 693,900 deaths in 2012 \[[@CR1]\]. Additionally, the incidence and mortality of CRC are increasing yearly in China \[[@CR2]\]. The development of CRC is a long and complicated process accompanied by the combined activation of oncogenes and inactivation of tumor suppressor genes \[[@CR3], [@CR4]\]. Although an increasing number of molecules have been found to be implicated in CRC over the years, it is still necessary and urgent to identify genes that are crucial for tumor development in specific genetic contexts, which could further improve the early detection, prevention, intervention, and prognostic evaluation of patients with CRC.
The centrosome is a critical cellular organelle that functions as the microtubule-organizing center of cells and is critically involved in cell division \[[@CR3], [@CR5]\]. Centrosomal proteins (CEPs) are usually defined as the molecules that are localized at the centrosome and participate in the regulation of centrosome-related function \[[@CR6]\]. For instance, CEP76 specifically prevents centriole re-duplication by limiting duplication to one per cell cycle \[[@CR7]\]. CEP120 is required for centriole duplication, maturation, and subsequent ciliogenesis, which physiologically affects cerebellar and embryonic development \[[@CR8]\]. Regarding the cell cycle, centrosome duplication is periodically regulated in a highly choreographed manner and is accordingly coupled to activities of cyclin-dependent kinases (CDKs). Reciprocally, the activities of CDKs are affected by centrosome status. The inhibition or silencing of several centrosome-associated proteins, such as dynactin, poly(ADP-ribose) polymerase 3 (PARP3), centriolin, and A-kinase anchor protein 450 (AKAP450), could block cell cycle progression \[[@CR9]\]. Because dysregulation of the cell cycle commonly occurs during tumor development \[[@CR10]\], CEPs potentially participate in tumorigenesis under certain genetic contexts. Recently, CEP55 was found to be overexpressed and positively correlated with tumor growth in CRC \[[@CR11], [@CR12]\]. However, the functions of CEPs in tumor development remain elusive and merit further investigation.
The *CEP78* gene, located on chromosome 9q21.2, encodes a 78-kDa protein CEP78. CEP78 was identified as a component of the centrosome through mass spectrometry-based proteomic analysis. However, whether and how CEP78 is coordinated with centrosome activities remain unknown \[[@CR6]\]. A previous study demonstrated that CEP78 might be involved in treatment-associated immune responses in patients with prostate cancer \[[@CR13]\]. However, the clinical implication and functions of CEP78 relevant to tumorigenesis are largely unknown.
In this study, the expression of CEP78 in CRC was determined. Additionally, the relationship between the clinicopathologic parameters of CRC patients and CEP78 was examined. The antitumor effect of CEP78 was investigated in vitro and in vivo.
Methods {#Sec2}
=======
Cell lines and patient tissue samples {#Sec3}
-------------------------------------
Paraffin-embedded primary specimens were obtained from 237 CRC patients with complete clinicopathologic data. Matched adjacent normal tissues were obtained from 158 patients. The patients were diagnosed at the Sun Yat-sen University Cancer Center (SYSUCC), Guangzhou, China between 1999 and 2007. None of the patients had received radiotherapy or chemotherapy prior to surgery. The cohort consisted of 127 (53.6%) men and 110 (46.4%) women. The clinical stage of CRC was evaluated on the basis of the TNM classification system \[[@CR14]\]. The clinicopathologic characteristics of these CRC patients are shown in Table [1](#Tab1){ref-type="table"}. An additional eight paired fresh CRC tissues, along with the corresponding non-tumorous tissues, were collected for RNA extraction. All samples were anonymous. Written consent was obtained from all patients. The study and consent procedure were approved by the Institutional Research Ethics Committee of SYSUCC.Table 1Association between clinicopathologic variables of colorectal cancer patients and centrosomal protein 78 (CEP78) expressionVariableTotal (cases)CEP78 expression \[cases (%)\]*P* valueLowHighAge0.881 ≤ 50 years8864 (72.7)24 (27.3) \> 50 years149102 (68.5)47 (31.5)Gender0.102 Female11082 (74.5)28 (25.5) Male12784 (66.1)43 (33.9)Size0.017 ≤4 cm6840 (58.8)28 (41.2) \>4 cm169126 (74.6)43 (25.4)Differentiation0.003 Well73 (42.9)4 (57.1) Moderate171112 (65.5)59 (34.5) Poor5951 (86.4)8 (13.6)Depth of tumor0.060 T1 + T24426 (59.1)18 (40.9) T3 + T4193140 (72.5)53 (27.5)Lymphatic metastasis0.034 Absent11271 (63.4)41 (36.6) Present12595 (76.0)30 (24.0)Distant metastasis0.029 Absent178118 (66.3)60 (33.7) Present5948 (81.4)11 (18.6)Stage0.011 I + II9155 (60.4)36 (39.6) III + IV146111 (76.0)35 (24.0)
CRC cell lines (SW480, SW620, HCT116, HT29, DLD1, LOVO, RKO, and THC8307) were obtained from the American Type Culture Collection (ATCC) and cultured according to the instructions of ATCC.
Construction of stable cell lines overexpressing CEP78 {#Sec4}
------------------------------------------------------
Full-length human CEP78 cDNA was cloned into a pSin-puro vector (GenePharma, Shanghai, China), and CEP78 was verified by DNA sequencing. The primers were 5′-GGAATTCCATATGACCATGATCGACTCCGTGAAGCTG-3′ (forward) and 5′-CTAGCTAGCTCAGGAATGCAGGTCCTTTCC-3′ (reverse). pSin-puro-CEP78 or the pSin-puro empty vector was co-transfected with pMD.2G and psPAX2 into HEK-293T cells for 48 h. The recombinant viruses were collected and used to infect HT29 and HCT116 cells, which were cultured with 8 μg/mL polybrene for 24 h. Stable lines were selected with 1 μg/mL of puromycin for 2 weeks.
RNA extraction and quantitative real-time polymerase chain reaction (qRT-PCR) {#Sec5}
-----------------------------------------------------------------------------
The total RNA of fresh CRC specimens was isolated using Trizol (Invitrogen, Carlsbad, CA, USA) according to the manufacturer's protocol. First-strand cDNA was synthesized using PrimeScript^®^ RT reagent kit with gDNA Eraser (Fermentas, Burlington, ON, Canada). Semi-qRT-PCR and qRT-PCR were performed for the detection of *CEP78* mRNA using Advantage HD DNA Polymerase Mix (Takara, Shimogyo-ku, Kyoto, Japan) and SYBR^®^ Premix Ex Taq™ II (Takara), respectively. The primer sequences were as follows: 5′-TGGCAGGGAGCAGATCACA-3′ (forward) and 5′-AAGCCAGCCATACAGTCAAGA-3′ (reverse) for *CEP78*; 5′-ACAGTCAGCCGCATCTTCTT-3′ (forward) and 5′-GACAAGCTTCCCGTTCTCAG-3′ (reverse) for *GAPDH*. The qRT-PCR reaction conditions were as follows: 98 °C for 2 min followed by 35 cycles of 98 °C for 10 s, 60 °C for 5 s, 72 °C for 30 s, and 72 °C for 10 min, and, finally, hold at 4 °C. The products were analyzed by 2% agarose gel electrophoresis and stained with ethidium bromide for visualization using ultraviolet light.
Western blotting {#Sec6}
----------------
Western blotting was performed as previously described \[[@CR15]\]. Cell lysates were resolved by sodium dodecyl sulfate-polyacrylamide gel electrophoresis (SDS-PAGE) and transferred to polyvinylidene fluoride (PVDF) membranes, which were then incubated with anti-CEP78 antibody (Sigma, St. Louis, MO, USA) in 5% non-fat milk. Then, the membrane was incubated with horseradish peroxidase (HRP)-conjugated anti-rabbit secondary antibody. The blots were then visualized using an electrochemiluminescence (ECL) kit (Beyotime, Nangtong, Jiangsu, China).
MTT assay {#Sec7}
---------
The 3-(4,5-dimethylthiazol-2-yl)-2,5-diphenyltetrazolium bromide (MTT) assay was used to measure the cell viability as previously described \[[@CR16]\]. Cells were seeded at a density of 2500 or 3000 per well in 96-well microplates. The cells were incubated with MTT for 4 h, the optical density (OD) was detected at 490 nm with a microplate reader, and measurements were acquired once per day for 5 days. The results are presented as the mean ± standard error of mean (SEM) of three independent experiments.
Colony formation assay {#Sec8}
----------------------
Cells were plated in the 6-well culture plates at 250 cells per well, and each group had 3 wells. Cells were washed twice with phosphate-buffered saline (PBS) after incubation for 15 days at 37 °C, and then stained with Giemsa solution. The number of colonies containing ≥50 cells was counted under a light microscope (Olympus, Orinpasu Kabushiki-gaisha, Japan).
Immunohistochemistry (IHC) {#Sec9}
--------------------------
IHC was performed as previously described \[[@CR17]\]. Sections of paraffin-embedded specimens (4 μm in thickness) were baked and deparaffinized. Sections were stained with an anti-CEP78 antibody (Sigma Aldrich), and the antigen was detected using a secondary anti-rabbit HRP-conjugated antibody. Subsequently, the sections were stained with 3,3′diaminobenzidine (DAB) and counterstained with hematoxylin. CEP78 expression was evaluated by two independent pathologists. The IHC staining score was calculated. Using the H-score method, we multiplied the percentage score by the staining intensity score. The percentage of positively stained cells was scored as 0 (0%), 1 (1%--25%), 2 (26%--50 %), 3 (51%--75%), or 4 (76%--100%). Staining intensity was scored as 0 (negative staining), 1 (weak staining), 2 (moderate staining), or 3 (strong staining). The median score was chosen as the cut-off value to define low and high CEP78 expression \[[@CR16]\].
Apoptosis assays {#Sec10}
----------------
The effect of CEP78 on apoptosis was examined. HT29 and HCT116 cells were transfected with a CEP78 overexpression vector for 48 h. Cells were then collected by centrifugation at 1000 r/min for 10 min and treated with Annexin V-FITC and propidium iodide (Roche, New York, NY, USA) for 15 min. The cell suspension was immediately analyzed by flow cytometry (Beckman-Coulter, Inc, Fullerton, CA, USA) to evaluate cell apoptosis. At least 10,000 events were collected for each sample.
Animal experiments {#Sec11}
------------------
Twenty-four male BALB/c athymic nude mice (4 weeks old) were obtained from Guangdong Medical Laboratory Animal Center (Guangzhou, China). Mice were randomly separated into the empty vector group and the CEP78 group with inoculation of HCT116 or HT29 cells. Each group included 6 mice. All animal experiments were performed in the animal institute of SYSUCC according to the principles and procedures approved by the Medical Experimental Animal Care Commission of SYSUCC. To assess CRC tumor growth in vivo, 1 × 10^6^ HCT116 or HT29 cells were injected subcutaneously into the dorsal flank of each mouse. Tumor size was measured every 2 days. After 20 days, the mice were euthanized, and the xenografts were weighed.
Statistical analysis {#Sec12}
--------------------
SPSS software (version 16.0, Chicago, IL, USA) was used for statistical analysis. The relationship between CEP78 expression and the clinicopathologic parameters was examined by Student's *t* test (Fisher's exact test was chosen when the minimum expected cell count was less than 5). Overall survival (OS) curves were plotted by the Kaplan--Meier method and analyzed using the log-rank test. Univariate and multivariate Cox regression analyses were used to evaluate survival data. Differences were considered statistically significant when *P* values were less than 0.05 (two tailed).
Results {#Sec13}
=======
The expression level of CEP78 was decreased in CRC tissues {#Sec14}
----------------------------------------------------------
We detected the mRNA levels of *CEP78* in CRC tissues and normal tissues by qRT-PCR. As shown in Fig. [1](#Fig1){ref-type="fig"}, *CEP78* mRNA levels were significantly lower in most tumor tissues (5 out of 8) than in normal tissues.Fig. 1The mRNA level of centrosomal protein 78 (*CEP78*) in 8 paired colorectal cancer (CRC) tissues and non-tumorous tissues. **a** *CEP78* mRNA levels in CRC tumor tissues ("T" on this*panel*) and the non-tumorous counterparts ("N" on this*panel*) were determined. **b** quantitative real-time polymerase chain reaction (qRT-PCR) was used to examine relative *CEP78* mRNA expression. The normal/cancer ratio is shown
To determine the potential relationship between CEP78 expression and CRC development, IHC analyses were performed to evaluate CEP78 protein levels in 237 CRC samples. Overall, CEP78 was found to be mainly distributed in the cytoplasm of tumor and non-tumor cells (Fig. [2](#Fig2){ref-type="fig"}). According to the median score (5.85) of CEP78 staining, tissue samples were categorized into low and high CEP78 expression groups. Surprisingly, we found that high CEP78 expression was detected in 30.0% (71/237) of samples of tumor tissues and 89.2% (141/158) of samples of adjacent normal tissues (*P* \< 0.001). These results indicated that CEP78 expression was significantly suppressed in tumor tissues during CRC development.Fig. 2Expression of CEP78 in CRC tissues is determined by immunohistochemistry (IHC). CEP78 is found in the cytoplasm of tumor cells and adjacent normal cells. **a** Representative image of CRC tissues with no expression of CEP78 and the adjacent normal tissues with strong expression. **b** Representative image of CRC tissues with weak expression of CEP78. **c** Representative image of CRC tissues with strong expression of CEP78
Association between CEP78 expression and clinicopathologic factors {#Sec15}
------------------------------------------------------------------
Clinicopathologic factors were further analyzed between the high and low CEP78 expression groups. As shown in Table [1](#Tab1){ref-type="table"}, CRC patients with low CEP78 expression had a higher tendency to exhibit poor differentiation (*P* = 0.003), large tumor size (*P* = 0.017), lymphatic metastasis (*P* = 0.036), distant metastasis (*P* = 0.019), and advanced stage (*P* = 0.008). However, we did not find significant associations between CEP78 expression and other clinicopathologic parameters, such as age, gender, and depth of tumor (*P* \> 0.05).
Low expression of CEP78 was associated with poor prognosis in CRC patients {#Sec16}
--------------------------------------------------------------------------
To test the prognostic value of CEP78 in CRC patients, Kaplan--Meier survival analyses were conducted. In our cohort, 97 patients died of CRC. The median OS was 30.8 months. The 1-, 3-, and 5-year OS rates were 99.9%, 70.7%, and 60.2%, respectively. Of these 97 patients, 77 (79.4%) had low CEP78 expression, whereas 20 (20.6%) had high CEP78 expression. Kaplan--Meier survival analyses indicated that low CEP78 expression was associated with a poor prognosis (*P* = 0.008); poor prognosis was also associated with large tumor size (*P* = 0.003), deep tumor invasion (*P* = 0.007), lymphatic metastasis (*P* \< 0.001), distant metastasis (*P* \< 0.001), and advanced stage (*P* \< 0.001) (Fig. [3](#Fig3){ref-type="fig"}).Fig. 3CEP78 expression is associated with overall survival of CRC patients. Patients with low CEP78 expression show a significantly poorer prognosis than those with high CEP78 expression. The associations between poor prognosis and large tumor size, deep tumor invasion, lymphatic metastasis, distant metastasis, and advanced tumor stage were also examined. *P* value was calculated by the log-rank test
Univariate analyses were also performed to examine the association between various factors and survival in our selected samples. The results shown in Table [2](#Tab2){ref-type="table"} indicated a significant association between patient survival and CEP78 expression (*P* = 0.009), tumor size (*P* = 0.004), tumor depth (*P* \< 0.001), lymphatic metastasis (*P* \< 0.001), distant metastasis (*P* \< 0.001), and tumor stage (*P* \< 0.001). However, other clinicopathologic features, such as age, gender, and histologic grade, were not significant prognostic factors (*P* \> 0.05). Moreover, multivariate analysis showed that tumor size, distant metastasis, and tumor stage (*P* \< 0.05), but not CEP78 expression (*P* = 0.191), were independent prognostic indicators in patients with CRC (Table [2](#Tab2){ref-type="table"}).Table 2Univariate and multivariate analyses of prognostic values of clinicopathologic features and CEP78 expression for overall survival of CRC patientsVariableUnivariate analysisMultivariate analysisHR (95 % CI)*P* valueHR (95 % CI)*P* valueAge (≤50 years vs. \>50 years)0.994 (0.658--1.501)0.976Gender (female vs. male)1.072 (0.719--1.597)0.733Tumor size (≤4 cm vs. \>4 cm)2.125 (1.273--3.548)0.0041.873 (1.095--3.323)0.022Tumor differentiation (well vs. moderate vs. poor)0.214 (0.029--1.574)0.096Depth of tumor (T1 + T2 vs. T3 + T4)4.881 (2.129--11.19)\<0.0010.815 (0.450--1.477)0.500Lymphatic metastasis (absent vs. present)3.714 (2.351--5.865)\<0.0011.537 (0.830--2.847)0.172Distant metastasis (absent vs. present)4.954 (3.283--7.475)\<0.0012.744 (1.701--4.425)\<0.001TNM stage (I + II vs. III + IV)7.373 (4.003--13.58)\<0.0013.642 (1.492--8.894)0.005CEP78 expression (low vs. high)0.520 (0.318--0.852)0.0090.787 (0.475--1.305)0.354*HR* hazard ratio, *CI* confidence interval
Overexpression of CEP78 inhibited CRC proliferation in vitro {#Sec17}
------------------------------------------------------------
CEP78 was differently expressed in CRC cell lines (Fig. [4](#Fig4){ref-type="fig"}a). Two stable cell lines (HT29 and HCT116) overexpressing CEP78 were established (Fig. [4](#Fig4){ref-type="fig"}b). MTT assay analysis indicated that cell viability was dramatically impaired in cells overexpressing CEP78 (Fig. [4](#Fig4){ref-type="fig"}c). Consistently, the colony formation capability was also compromised in CEP78-overexpressing cells compared with the control cells (Fig. [4](#Fig4){ref-type="fig"}d). Further study showed that overexpression of CEP78 resulted in G~2~/M arrest. For instance, the percentage of HCT116 cells at G~2~/M phase increased from 14.5% in control cells to 56.1% in CEP78-overexpressing cells (Fig. [4](#Fig4){ref-type="fig"}e). Annexin V/PI assays revealed that CEP78 had no effect on cell apoptosis (Fig. [4](#Fig4){ref-type="fig"}f).Fig. 4Overexpression of CEP78 in CRC cells inhibits cell viability in vitro. **a** Expression of CEP78 in CRC cell lines was determined by western blotting. **b** CEP78 protein levels were examined by western blotting in cells with or without CEP78 overexpression. **c** MTT assay results showed a significant reduction of viability in cells with CEP78 overexpression. **d** Colony formation was decreased in cells with CEP78 overexpression. The results of colony assay quantification are indicated as the mean ± standard error of the mean (SEM) of three independent experiments. \**P* \< 0.05. **e** Cells were transfected with CEP78 or empty vector for 48 h. The distributions of cell cycle were determined by flow cytometry analyses. **f** Cells treated as described in e were subjected to apoptosis analyses, using Annexin V/PI staining
Overexpression of CEP78 impaired the growth of CRC in vivo {#Sec18}
----------------------------------------------------------
To further characterize the function of CEP78 in CRC development, tumor cells with or without CEP78 overexpression were injected subcutaneously into nude mice, and both the weight and volume of tumors were measured 20 days after injection. The control groups showed rapid tumor growth. In sharp contrast, tumor growth was much slower in groups with CEP78 overexpression compared with the control groups, as indicated by the decreased weight and volume of tumors (Fig. [5](#Fig5){ref-type="fig"}a--c). The results of HE and IHC staining showed CEP78 overexpression in tumors formed by CRC cell lines (Fig. [5](#Fig5){ref-type="fig"}d).Fig. 5Overexpression of CEP78 in CRC cells impairs tumor growth in vivo. **a** Tumors were excised 20 days after injection. **b** The average weight of tumors from indicated cells in each group was assessed. **c** The average volume of tumors from indicated cells was measured every 2 days after injection. \**P* \< 0.05. **d** The xenografts were sectioned and stained by hematoxylin and eosin (HE) or immunohistochemistry (IHC) with CEP78 antibody
Discussion {#Sec19}
==========
Centrosome amplification, a hallmark of cancer, accounts for the unlimited proliferation of human cancers. Centrosome duplication is strictly controlled by a series of checkpoints in which CEPs play essential roles \[[@CR6]\]. In this study, we showed that the expression of CEP78, a centrosome component, was markedly decreased in a large cohort of 237 patients with CRC. The silencing of CEP78 was closely associated with large tumor size, advanced tumor stage, lymphatic metastasis, and distant metastasis. Because patients with CRC often experience metastasis to the lymph nodes, liver, and lungs at late stages, CEP78 may serve as a predictor for tumor metastasis in CRC.
Patients with low CEP78 expression in our cohort were more likely to have shorter survival than those with high CEP78 expression. It has been well known that centrosome abnormality occurs in many types of cancer and is associated with poor outcomes \[[@CR18]\]. Although no evidence indicates that CEP78 plays a role in centrosome duplication, one of its homologous proteins, CEP76, has been demonstrated to regulate the centrosome reduplication. Enforced CEP76 expression specifically inhibits centriole amplification but not normal centriole duplication \[[@CR7]\], indicating that CEPs are capable of limiting centrosome copies. Therefore, we assume that lack of CEP78 results in centrosome amplification, and subsequently contributes to poor outcomes in CRC. Our data suggest that CEP78 may be of clinical significance, not only due to the large sample size in our study but also because CRC lacks common prognostic biomarkers.
CEPs are differentially expressed in human cancers. For example, CEP55 was demonstrated to be highly expressed in colon carcinoma \[[@CR12]\], oral cavity squamous cell carcinoma \[[@CR19]\], and bladder transitional cell carcinoma \[[@CR20]\]. Reduction in CEP63 expression was found in bladder cancer \[[@CR21]\]. Our data revealed that CEP78 expression was decreased in CRC. In vitro data showed that CEP78 overexpression significantly reduced cell viability and colony formation of CRC HT29 and HCT116 cells. The anti-tumor effect of CEP78 was further supported because CEP78 overexpression halted the growth of CRC xenografts. Mechanistically, CEP78 overexpression efficiently inhibited cell growth via arresting CRC cells at the G~2~/M phase. This is consistent with the roles of other CEPs in cell cycle regulation. Slaats et al. \[[@CR22]\] showed that knockdown of CEP164 expression led to S phase arrest in renal cells. Ruiz-Miró et al. \[[@CR23]\] reported that overexpression of CEP57 hindered NIH-3T3 cells at S phase. In our study, cell apoptosis was not observed in CRC cells with CEP78 overexpression. Collectively, our data provide evidence that CEP78 controls cell proliferation partly by modulating G~2~/M phase transition.
In summary, our data show that the expression of CEP78 is remarkably decreased in patients with CRC. Furthermore, the expression of CEP78 is robustly related to unfavorable clinical outcomes in patients with CRC. CEP78 overexpression suppressed cell growth via inducing G~2~/M phase arrest. This study therefore suggests CEP78 as a potential prognostic and therapeutic biomarker for CRC.
Meifang Zhang and Tingmei Duan contributed equally to this work
MZ and TK contributed to conception and design of the study and drafted the manuscript; TD, LW, JT, RL, and RZ contributed to data analysis and interpretation; MZ and TD participated in data collection and literature research. All authors read and approved the final manuscript.
Acknowledgements {#FPar1}
================
We thank Dr. Yuhui Jiang at MD Anderson Cancer Center and the members of Dr. Kang's laboratory for their helpful comments on the manuscript.
Competing interests {#FPar2}
===================
The authors declare that they have no competing interests.
|
{
"pile_set_name": "Github"
} |
function f(int x) -> int[]:
return toString(x)
import toString from std::ascii
function g(any x) -> int[]:
return toString(x)
|
{
"pile_set_name": "Github"
} | #!/bin/bash
#UtilityWorkMessage ---------------------------------------------------------------------
trap onexit 1 2 3 15
function onexit() {
local exit_status=${1:-$?}
pkill -f hstore.tag
exit $exit_status
}
# ---------------------------------------------------------------------
ENABLE_ANTICACHE=true
#SITE_HOST="dev3.db.pdl.cmu.local"
SITE_HOST="localhost"
#CLIENT_HOSTS=( "localhost")
CLIENT_HOSTS=( \
"localhost" \
"localhost" \
"localhost" \
"localhost" \
)
N_HOSTS=4
BASE_CLIENT_THREADS=1
CLIENT_THREADS_PER_HOST=4
#BASE_SITE_MEMORY=8192
#BASE_SITE_MEMORY_PER_PARTITION=1024
BASE_SITE_MEMORY=12288
BASE_SITE_MEMORY_PER_PARTITION=2024
BASE_PROJECT="voter"
BASE_DIR=`pwd`
#OUTPUT_DIR_PREFIX="data-sketch/mergeupdate"
#OUTPUT_DIR_PREFIX="data-DRAM/"
#OUTPUT_DIR_PREFIX="data-tpcc-8GB/optimized/"
#OUTPUT_DIR_PREFIX="data-tmp"
#OUTPUT_DIR_PREFIX="data-tm1-3GB/optimized/"
OUTPUT_DIR_PREFIX="data-voter/optimized/"
#OUTPUT_DIR_PREFIX="data-voter/default/"
#OUTPUT_DIR_PREFIX="data-blocksize-throttle-10GB-2/"
#OUTPUT_DIR_PREFIX="data-allocator-10GB/"
#OUTPUT_DIR_PREFIX="data-ALLOCATORNVM-10GB/"
#OUTPUT_DIR_PREFIX="data-blocksize-10GB-HDD/"
#OUTPUT_DIR_PREFIX="data-sketch-125T/"
#BLK_CON=1
#BLK_EVICT=800
AC_THRESH=500
SCALE=100
#BLOCK_SIZE_KB=256
DURATION_S=150
WARMUP_S=3
INTERVAL_S=2
PARTITIONS=8
CPU_SITE_BLACKLIST="1,2,4,6,8,10,12,14"
for BLK_CON in 500; do
for round in 2 3; do
#for DB in 'NVM'; do
for DB in 'CHATHAM' 'SMR'; do
for BLOCK_SIZE in 1024; do
#for DB in 'ALLOCATORNVM'; do
#for device in 'NVM' 'SSD' 'DRAM'; do
for BLOCK_MERGE in 'false'; do
for BLOCKING in 'true';do
#if [ "$DB" = "HDD" -a "$BLOCK_MERGE" = "false" ]; then
# continue
#fi
#for BLOCK_MERGE in 'false' 'true'; do
#OUTPUT_DIR=${OUTPUT_DIR_PREFIX}${BLK_EVICT}*${BLOCK_SIZE}kb
#mkdir -p $OUTPUT_DIR
#for DB in 'NVM' ; do
#for latency in 160; do
#for latency in 160 320 640 1280; do
# /data/devel/sdv-tools/sdv-release/ivt_pm_sdv.sh --enable --pm-latency=$latency
for AC_THRESH in 250; do
#for AC_THRESH in 9000; do
#if [ "$DB" = "NVM" ]; then
# BLOCK_SIZE=1
#fi
if [ "$DB" = "CHATHAM" ]; then
BLOCK_SIZE=4
fi
if [ "$DB" = "SMR" ]; then
BLOCK_SIZE=16
fi
#for DB in 'NVM' 'ALLOCATORNVM' 'SSD'; do
#for DB in 'SSD' 'NVM' 'HDD' 'DRAM'; do
for skew in 1.01; do
#for read_percent in 90 100; do
for sketch_thresh in 10; do
#for sketch_thresh in 0 10 40 200; do
#sed -i "55c\ \ \ \ #define SKETCH_THRESH ${sketch_thresh}" src/ee/anticache/AntiCacheEvictionManager.h
#ant ee-build
#OUTPUT_DIR=${OUTPUT_DIR_PREFIX}${device}
OUTPUT_DIR=${OUTPUT_DIR_PREFIX}${DB}
#OUTPUT_DIR="${OUTPUT_DIR_PREFIX}${DB}/sketch${sketch_thresh}"
mkdir -p $OUTPUT_DIR
echo $BLK_EVICT
if [ "$BLOCKING" = "true" ]; then
block='sync'
else
block='abrt'
fi
if [ "$BLOCK_MERGE" = "true" ]; then
block_merge='block'
else
block_merge='tuple'
fi
#AC_THRESH=500
DB_TYPE="$DB"
if [ "$DB" = "NVM" ]; then
AC_DIR='/mnt/pmfs/aclevel2'
else
#BLOCK_SIZE=4
if [ "$DB" != "ALLOCATORNVM" ]; then
DB_TYPE="BERKELEY"
fi
if [ "$DB" = "SSD" ]; then
AC_DIR="/data1/ac_berk/ycsb-berk-level1"
#AC_DIR="/data1/ac_berk/ycsb-berk-level$RANDOM"
fi
if [ "$DB" = "HDD" ]; then
AC_DIR="tmp/ac_berk/ycsb-berk-level1"
#AC_DIR="tmp/ac_berk/ycsb-berk-level$RANDOM"
fi
if [ "$DB" = "SMR" ]; then
AC_DIR="/smr/ac_berk/ycsb-berk-level1"
#AC_DIR="/data1/ac_berk/ycsb-berk-level$RANDOM"
fi
if [ "$DB" = "CHATHAM" ]; then
AC_DIR="/mnt/chatham/ac_berk/ycsb-berk-level1"
#AC_DIR="/data1/ac_berk/ycsb-berk-level$RANDOM"
fi
if [ "$DB" = "DRAM" ]; then
AC_THRESH=5000
fi
fi
rm -rf $AC_DIR
BLOCK_SIZE_KB=$BLOCK_SIZE
BLK_EVICT=$((102400 / $BLOCK_SIZE_KB))
#if [ "$BLOCK_SIZE" = "256" ]; then
#BLK_EVICT=$((409600 / $BLOCK_SIZE_KB))
# BLOCKING="false"
#BLOCK_MERGE="true"
#fi
OUTPUT_PREFIX="$OUTPUT_DIR/$round-tm1-3G-$block-$DB-S$skew-${PARTITIONS}p-${BLK_CON}c-${N_HOSTS}h-${CLIENT_THREADS_PER_HOST}ct-sc$SCALE-${BLOCK_SIZE_KB}kb-${BLK_EVICT}b-${AC_THRESH}th-${DURATION_S}s-${block_merge}-R${read_percent}"
#OUTPUT_PREFIX="$OUTPUT_DIR/$round-ycsb1G-$block-$DB-S$skew-${PARTITIONS}p-${BLK_CON}c-${N_HOSTS}h-${CLIENT_THREADS_PER_HOST}ct-sc$SCALE-${BLOCK_SIZE_KB}kb-${BLK_EVICT}b-${AC_THRESH}th-${DURATION_S}s-${block_merge}"
LOG_PREFIX="logs/ycsb-nvm/$round-ycsb1G-$block-$DB-S$skew-${PARTITIONS}p-${BLK_CON}c-${N_HOSTS}h-${CLIENT_THREADS_PER_HOST}ct-sc$SCALE-${BLOCK_SIZE_KB}kb-${BLK_EVICT}b-${AC_THRESH}th-${DURATION_S}s-${block_merge}"
echo "log = $LOG_PREFIX"
echo $OUTPUT_PREFIX
sed -i '$ d' "properties/benchmarks/ycsb.properties"
echo "skew_factor = $skew" >> "properties/benchmarks/ycsb.properties"
#ANTICACHE_BLOCK_SIZE=65536
#ANTICACHE_BLOCK_SIZE=262144
ANTICACHE_BLOCK_SIZE=$(($BLOCK_SIZE_KB * 1024))
if [ "$BLOCK_SIZE" = "1" ]; then
ANTICACHE_BLOCK_SIZE=$(($BLOCK_SIZE_KB * 1100))
fi
ANTICACHE_THRESHOLD=.5
DURATION=$((${DURATION_S} * 1000))
WARMUP=$((${WARMUP_S} * 1000))
INTERVAL=$((${INTERVAL_S} * 1000))
BASE_ARGS=( \
# SITE DEBUG
"-Dsite.status_enable=false" \
"-Dsite.status_interval=10000" \
# "-Dsite.status_exec_info=true" \
# "-Dsite.status_check_for_zombies=true" \
# "-Dsite.exec_profiling=true" \
# "-Dsite.profiling=true" \
# "-Dsite.txn_counters=true" \
# "-Dsite.pool_profiling=true" \
# "-Dsite.network_profiling=false" \
# "-Dsite.log_backup=true"\
# "-Dnoshutdown=true" \
# Site Params
"-Dsite.jvm_asserts=false" \
"-Dsite.specexec_enable=false" \
"-Dsite.cpu_affinity_one_partition_per_core=true" \
#"-Dsite.cpu_partition_blacklist=0,2,4,6,8,10,12,14,16,18" \
#"-Dsite.cpu_utility_blacklist=0,2,4,6,8,10,12,14,16,18" \
"-Dsite.network_incoming_limit_txns=100000" \
"-Dsite.commandlog_enable=false" \
"-Dsite.txn_incoming_delay=5" \
"-Dsite.exec_postprocessing_threads=false" \
"-Dsite.anticache_eviction_distribution=proportional" \
#"-Dsite.log_dir=$LOG_PREFIX" \
#"-Dclient.log_dir=$LOG_PREFIX" \
"-Dsite.specexec_enable=false" \
# "-Dsite.queue_allow_decrease=true" \
# "-Dsite.queue_allow_increase=true" \
"-Dsite.queue_threshold_factor=0.02" \
"-Dsite.cpu_partition_blacklist=${CPU_SITE_BLACKLIST}" \
# Client Params
"-Dclient.scalefactor=${SCALE}" \
"-Dclient.memory=2048" \
"-Dclient.txnrate=16000" \
"-Dclient.warmup=${WARMUP}" \
"-Dclient.duration=${DURATION}" \
"-Dclient.interval=${INTERVAL}" \
"-Dclient.shared_connection=false" \
"-Dclient.blocking=true" \
"-Dclient.blocking_concurrent=${BLK_CON}" \
#"-Dclient.throttle_backoff=100" \
"-Dclient.output_anticache_evictions=${OUTPUT_PREFIX}-evictions.csv" \
#"-Dclient.output_anticache_profiling=${OUTPUT_PREFIX}-acprofiling.csv" \
# "-Dclient.output_anticache_access=${OUTPUT_PREFIX}-accesses.csv" \
"-Dclient.output_memory_stats=${OUTPUT_PREFIX}-memory.csv" \
"-Dclient.output_anticache_memory_stats=${OUTPUT_PREFIX}-anticache-memory.csv" \
#"-Dclient.weights=\"ReadRecord:${read_percent},UpdateRecord:$((100 - ${read_percent})),*:0\"" \
# Anti-Caching Experiments
"-Dsite.anticache_enable=${ENABLE_ANTICACHE}" \
"-Dsite.anticache_timestamps=${ENABLE_TIMESTAMPS}" \
"-Dsite.anticache_batching=false" \
"-Dsite.anticache_profiling=false" \
"-Dsite.anticache_reset=false" \
"-Dsite.anticache_block_size=${ANTICACHE_BLOCK_SIZE}" \
"-Dsite.anticache_check_interval=2000" \
"-Dsite.anticache_threshold_mb=${AC_THRESH}" \
"-Dsite.anticache_blocks_per_eviction=${BLK_EVICT}" \
"-Dsite.anticache_max_evicted_blocks=50000000" \
"-Dsite.anticache_dbsize=10000M" \
"-Dsite.anticache_db_blocks=$BLOCKING" \
"-Dsite.anticache_block_merge=$BLOCK_MERGE" \
"-Dsite.anticache_dbtype=$DB_TYPE" \
# "-Dsite.anticache_evict_size=${ANTICACHE_EVICT_SIZE}" \
"-Dsite.anticache_dir=${AC_DIR}" \
#"-Dsite.anticache_dir=/mnt/pmfs/aclevel0" \
#"-Dsite.anticache_dir=/data1/berk-level$round" \
"-Dsite.anticache_threshold=${ANTICACHE_THRESHOLD}" \
"-Dclient.anticache_enable=false" \
"-Dclient.anticache_evict_interval=2000" \
"-Dclient.anticache_evict_size=${ANTICACHE_BLOCK_SIZE}" \
"-Dclient.output_csv=${OUTPUT_PREFIX}-results.csv" \
# CLIENT DEBUG
"-Dclient.output_txn_counters=${OUTPUT_PREFIX}-txncounters.csv" \
"-Dclient.output_clients=false" \
"-Dclient.profiling=false" \
"-Dclient.output_response_status=false" \
"-Dclient.output_queue_profiling=${OUTPUT_PREFIX}-queue.csv" \
"-Dclient.output_basepartitions=true" \
#"-Dclient.jvm_args=\"-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:-TraceClassUnloading\""
)
EVICTABLE_TABLES=( \
"votes" \
)
EVICTABLES=""
if [ "$ENABLE_ANTICACHE" = "true" ]; then
for t in ${EVICTABLE_TABLES[@]}; do
EVICTABLES="${t},${EVICTABLES}"
done
fi
# Compile
HOSTS_TO_UPDATE=("$SITE_HOST")
for CLIENT_HOST in ${CLIENT_HOSTS[@]}; do
NEED_UPDATE=1
for x in ${HOSTS_TO_UPDATE[@]}; do
if [ "$CLIENT_HOST" = "$x" ]; then
NEED_UPDATE=0
break
fi
done
if [ $NEED_UPDATE = 1 ]; then
HOSTS_TO_UPDATE+=("$CLIENT_HOST")
fi
done
#for HOST in ${HOSTS_TO_UPDATE[@]}; do
#ssh $HOST "cd $BASE_DIR && git pull && ant compile" &
#done
wait
ant compile
#HSTORE_HOSTS="${SITE_HOST}:0:0-7"
if [ "$PARTITIONS" = "1" ]; then
HSTORE_HOSTS="${SITE_HOST}:0:0"
else
PART_NO=$((${PARTITIONS} - 1))
HSTORE_HOSTS="${SITE_HOST}:0:0-$PART_NO"
fi
echo "$HSTORE_HOSTS"
NUM_CLIENTS=$((${PARTITIONS} * ${BASE_CLIENT_THREADS}))
SITE_MEMORY=`expr $BASE_SITE_MEMORY + \( $PARTITIONS \* $BASE_SITE_MEMORY_PER_PARTITION \)`
# BUILD PROJECT JAR
ant hstore-prepare \
-Dproject=${BASE_PROJECT} \
-Dhosts=${HSTORE_HOSTS} \
-Devictable=${EVICTABLES}
test -f ${BASE_PROJECT}.jar || exit -1
# UPDATE CLIENTS
CLIENT_COUNT=0
CLIENT_HOSTS_STR=""
for CLIENT_HOST in ${CLIENT_HOSTS[@]}; do
CLIENT_COUNT=`expr $CLIENT_COUNT + 1`
if [ ! -z "$CLIENT_HOSTS_STR" ]; then
CLIENT_HOSTS_STR="${CLIENT_HOSTS_STR}",
fi
CLIENT_HOSTS_STR="${CLIENT_HOSTS_STR}${CLIENT_HOST}"
done
# DISTRIBUTE PROJECT JAR
for HOST in ${HOSTS_TO_UPDATE[@]}; do
if [ "$HOST" != $(hostname) ]; then
scp -r ${BASE_PROJECT}.jar ${HOST}:${BASE_DIR} &
fi
done
wait
echo "Client count $CLIENT_COUNT client hosts: $CLIENT_HOSTS_STR"
# EXECUTE BENCHMARK
ant hstore-benchmark ${BASE_ARGS[@]} \
-Dproject=${BASE_PROJECT} \
-Dkillonzero=false \
-Dclient.threads_per_host=${CLIENT_THREADS_PER_HOST} \
-Dsite.memory=${SITE_MEMORY} \
-Dclient.hosts=${CLIENT_HOSTS_STR} \
-Dclient.count=${CLIENT_COUNT}
result=$?
if [ $result != 0 ]; then
exit $result
fi
done
done
done
done
done
done
done
done #BLOCK_SIZE
done #BLK_CON
|
{
"pile_set_name": "Pile-CC"
} | About The Herb Box - Old Town
The Herb Box features savory twists on tried-and-true cuisine and fresh, seasonal ingredients that unify regional flavors. The breakfast, lunch and dinner menus are vast and varied, ensuring an entrée for every palate. Founded in 1995 in Scottsdale, Ariz., The Herb Box began as a catering company with a desire to offer high-end catering and exemplary client service. Since then, the company has expanded to include two Arizona restaurant locations and the special event catering business has continued to flourish. The Herb Box has three locations: DC Ranch on Market Street, Southbridge in Old Town Scottsdale and The Colony in Midtown Phoenix. www.theherbbox.com
Catering:The Herb Box menu style combines all the essential elements that magnify an original idea taken to it limits by blending creativity with consistency. We take pride in our ability to offer a wide range of culinary creations with an emphasis on quality and visual excitement.
An “event” doesn’t necessarily mean hundreds of guests. Whether you’re thinking about a sit-down dinner for 12, wine-tasting for 20, a sexy cocktail party for 50, a fundraiser for 1000 or a casual evening with family and friends.
Contact our Catering Company at [email protected] or 480-289-6166.
Parking Details:Street parking on Stetson Drive. Underground parking structure just northwest of the restaurant. Valet available Thursday, Friday and Saturday from 4p-close.
Send a Gift Card
Private Dining
The Herb Box offers innovative world cuisine with a regional flare. Set in the heart of old town Scottsdale, The Herb Box can host anywhere from 10 to 275 people, with a variety of private dining spaces including the award winning Sage room, our intimate main dining room or our Waterfront patio.
Nice dinner but no mention from any of the staff that it was Valentines Day or any special Valentines Day treats. I had the salmon dish which I have had before but this time, it didn’t seem like there were as many veggies (green beans) and fruit garnish with it.
We waited over 10 minutes before we had to ask for a server to come to our table. The menu is boring, we thought the food would make up for the poor service but that was disappointing too. They brought three dishes out and forgot about the 4th person. Then to top it off, we were over charged for one of the dishes. So many other restaurants in the area, check them out before coming here.
Great service, great food, great cocktails, amazing triple chocolate. We were 2 people, there for my birthday which was great, but from what we saw it looks like a good place for larger groups as well. Reservation recommended.
We have been to the Herb box many times and have never been disappointed. We took some company to dinner and had the complete opposite experience. Absolutely terrible service from our waiter. He seemed to avoid his tables, and hard to get his attention. We had a nut allergy at our table, and after we ordered, before I could get a word out, he turned and walked away. Next opportunity, I got his attention and told him.. his response was.. can he eat cross contaminated food... ahh no.. So then he said rudely, well its going to take longer to get your food. After that, he dropped off our meals and didn’t say a word. Simply disappointing, maybe our waiter Beau was having a bad night or needs training in customer service..Unfortunely, We won’t be back.
Food was great, good server but service seemed slow particularly considering the restaurant did not appear to be really busy. Perhaps they were short wait staff tonight. Our server listened to a concern we had and dealt with it without us having to ask for anything. We really appreciated her attention.
It was a beautiful day in Scottsdale which led to the comfortable day sitting outside on the patio. The weather was great, the service was very knowledgeable and helpful with our questions. The food was fantastic. We all enjoyed our meals tremendously
Lovely brunch on the patio. Our kids loved the red velvet pancakes. We enjoyed the cilantro lime crab dip, eggs and lentil bowl. The passion fruit iced tea is a great complement to the food too. Excellent service from Sadie (I think that's her name - she was friendly, helpful, and attentive.)
Great little spot! Ate here with my husband and 8 year old last night for dinner. Not a "kids place" at all..great for a date. We are gluten free and the kids menu is horrible for that even though the menu has lots of GF options. The manager was super accommodating for our daughter's gluten allergy and made her a bacon grilled cheese on GF bread with tomato bisque which was a HUGE hit! Props to them for being crafty and handling the situation well. Brussels sprouts chips are a MUST, even our non veggie eating kid loved them. The salmon was very good and the fig and goat cheese chicken was perfection. Maurice is a fantastic server. Very concerned about your enjoyment.
This place was great! Loved the food. I had the charred salmon and my husband had the blackened prawns and both were tremendous. Great service. Lovely space. Reasonably priced. We would highly recommend this restaurant. It was delish!
I will start my review by calling out what a beautiful restaurant this is. I have gone to the DC Ranch Herb Box for years but never to this downtown location. The outdoor seating space was superb. The service was great; the ambiance perfecto. The food, however, was disappointing. Herb Box, it is time to update your menu, please. Your menu is tired and off-trend. Almost everything on your menu has corn and/or wheat and/or dairy. My friend and I both asked for the different enchilada dishes with NO cheese, and we were told it couldn't be done. I opted for the bowl and was able to get it without cheese, but it had no flavor. What passed for flavor in the otherwise clean dish was french-fried onions - breaded. And there were too many sweet potatoes in the bowl. Please offer more clean, healthy dishes.
I had eaten at The Herb Box deli next door several years ago and the items I had tried were unique and delicious, so I suggested a special lunch at the restaurant next door so to share my past taste experience with a friend. What a disappointment. The service was very slow, and my eggs and sides "brunch" was lukewarm and tasteless. My meal was billed as eggs, tomatoes, and avocado which sounded like a filling and cohesive combination paired with ww toast. But 3 slices of a Roma tomato, one bite of avocado, a small, rubbery egg mound, and 1 piece of cold toast left a lot of empty space on the plate and left me wondering how they could possibly serve such a simple meal in this condition. To their credit, my friend had a plate of french toast which she said was good, so that might have been a better option.
Our experience with this restaurant was horrible. Over cooked and undercooked food. Slow service. When pointing out problems thecorrections were invariably worse.
How can one place screw up so many things?
The photo shows the completely burnt onion rings they brought to the table after they were told the original ones were stone cold. This is the kitchen staff flipping the bird at their customers. If it were my place, I’d fire them all.
Don’t bother going here. Scottsdale has too many good places to choose from
The food here is really fantastic! Creative and interesting choices and lots of healthy options. The mezze plate is a must!
Tags: Authentic, Good for Anniversaries, Creative Cuisine, Great for Lunch, Fun, Fit for Foodies, Worth the Drive, Good for Birthdays, Great for Outdoor Dining, Notable Wine List, Special Occasion, Local Ingredients, Good Vegetarian Options, Good for a Date
Great salmon dish. The ‘crack pie’ is quite tasty although I am sure it is not healthy but worth a splurge. Friendly service and environment. Wish they had more dairy free options. Some appetizers are vegetables but fried and with sugar sauce so great for getting friends to eat vegetables if they typically don’t like them.
Who knew kale and brussel sprouts could taste so good? It's a tricky combination to have food that is "healthy" but also makes the dinner feel satisfied. The Herb Box did both. Cannot WAIT to go back. On top of the amazing food, sitting outside with the patio heaters and looking at the twinkling lights along the waterfront was super romantic!!
I went to The Herb Box the day before to book an outdoor patio reservation for 5 adults and 2 children needing high chairs. When we arrived at our reservation time the following day, the reservation had been made for only 5 people and there was no "reserved table" for our party. Our host was able to find a table outside, but it was in a remote section of the restaurant. The food was great - service was just OK. Not sure if I would go back because of their reservation/no reservation issues.
I'm really not sure where to start. As visitors to scottsdale we looked at the reviews for this place and felt comfortable making dinner reservations. We arrived to find an almost empty restaurant on a weekend night. This should have been or first clue as to what was in store for us (especially, seeing as all the other restaurants around were packed). When seated we found that our waiter smelled like a cigarette and we had to repeat our orders to him several times. The food was no better than average. My steak was over done and my wife's short ribs were salty and a little tough ( how short ribs can be tough, I don't know). Drinks were good but expensive. I won't go back.
Our first time there but not our last. Everything about it was special. We noshed on Brussels sprouts chips followed by white bean chili soup glasses of wine, sandwiches and wraps. The service was perfect and the manager stopped by to tell us about some of their other dishes. Great neighborhood find.
Heard brunch was really good and was excited to try it. I had the kale, brie and granny smith omelette. The omelette was over cooked and the apple slices were slivered so thin it did not add any flavor. Good portion size, cheap bread for toast. Props to the server; she was excellent.
Outside along the canal is gorgeous! While I am not a vegan, I did order the Vegan Nosh Board because it all sounded delicious. It was FANTASTIC! I would return again in a heartbeat - the food was wonderful and the location is excellent.
So booked this through OpenTable a month in advance since I was visiting the area and wanted to take the family out for a nice thanksgiving dinner. Had a reservation for 7pm. Turned up and the place was closed. No email ahead of time to point out that they made a mistake with allowing the booking to go through. Honestly this is unforgivable.
Had breakfast with 2 friends. It was just awful! I ordered French Toast that came pretty black and hard. I couldn't believe it was let out of the kitchen! One friend ordered scrambled eggs. There was no salt or pepper on table and it took about 5 minutes for waiter to bring and eggs were cold by the time it came. Other friend ordered pancakes which she said were good.
Service was so slow. Took forever to get coffee and then informed us they were out of cream. What restaurant lets itself run out of cream? (There is a grocery store with a few blocks of the restaurant)
Will never go back. Only saving grace was they just charged us for the coffee. But we left hungry.
Please sign in to record your input. Thanks!
Report this review as inappropriate?
If you believe this review should be removed from OpenTable, please let us know and someone will investigate.
What are premium access reservations?
We teamed up with popular restaurants to save you a spot when the house is filled. Redeem OpenTable Dining Points for in-demand tables, set aside for you.
How can I earn points?
You can earn points when you book and dine using the OpenTable app or OpenTable.com. Standard qualifying reservations are worth 100 points, and specially marked reservations are worth up to 1,000 points–10x the regular amount of points! |
{
"pile_set_name": "NIH ExPorter"
} | PROJECT SUMMARY/ABSTRACT (AP5) AP5 supports the overall mission of this ICBG - discovering and developing therapeutic agents to treat invasive fungal infections and cancer - in several ways: dereplicating active compounds from bacterial extracts, discovering metabolites identified by genome mining, providing follow-up chemistry, housing the anticancer therapeutic discovery pipeline, administering overall group activities, and assisting in the development of both scientific personnel and research infrastructure in Brazil. These activities are embodied in four specific aims described below. 1. Identify and supply active molecules and derivatives to the antifungal and anticancer screening platforms. AP5 will speed up this traditional bottleneck by waiting for potency/selectivity data before beginning dereplicaton, using NMR techniques on partially purified fractions, and trying an new approach to high- throughput crystallography. 2. AP5 will also carry out studies to identify cryptic metabolites - molecules whose biosynthetic genes can be identified but that have never been characterized. AP5 will use two approaches: elicitor/co-culture stimulation and genetic knockouts coupled with differential metabolomics. 3. A high-throughput anticancer drug discovery pipeline that runs from primary assays to in vivo studies will be used to identify small molecules with therapeutic potential for blood cancers. These assays utilize 24 cell lines from 6 types of blood cancer, and all cell lines have been genomically characterized so that initial phenotypic screening results can reveal something about mechanism. 4. AP5 will also carry out many of the administrative functions: research agreements, database, communications, and training. |
{
"pile_set_name": "Github"
} | /*
* Copyright (C) 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android.tools.idea.ui.resourcemanager.sketchImporter.parser.pages;
import org.jetbrains.annotations.NotNull;
/**
* Mimics the JSON element with attribute <code>"_class": "gradient"</code> contained within a sketch file.
*/
public class SketchGradient {
private final int elipseLength;
/**
* Linear: 0
* Radial: 1
* Angular: 2
*/
private final int gradientType;
private final SketchGradientStop[] stops;
private final SketchPoint2D from;
private final SketchPoint2D to;
public SketchGradient(int elipseLength,
@NotNull SketchPoint2D from,
int gradientType,
@NotNull SketchGradientStop[] stops,
@NotNull SketchPoint2D to) {
this.elipseLength = elipseLength;
this.from = from;
this.gradientType = gradientType;
this.stops = stops;
this.to = to;
}
public int getElipseLength() {
return elipseLength;
}
@NotNull
public SketchPoint2D getFrom() {
return from;
}
public int getGradientType() {
return gradientType;
}
@NotNull
public SketchGradientStop[] getStops() {
return stops;
}
@NotNull
public SketchPoint2D getTo() {
return to;
}
}
|
{
"pile_set_name": "Pile-CC"
} | Jonathan and Drew Scott have taken HGTV by storm with their four hit shows, Property Brothers, Property Brothers at Home, Buying & Selling, and Brother vs. Brother. The talented duo’s good-natured rivalry, playful banter, and no-nonsense strategies have earned the popular twins millions of devoted fans who have been anxiously waiting for a Scott Brothers book. Dream Home is a comprehensive source, covering the ins and outs of buying, selling, and renovating a house, with hundreds of full-color photos throughout. The brothers cover numerous topics including the hidden costs of moving, savvy negotiating tactics, and determining your home must-haves. Other handy features include a calendar of key dates for finding the best deals on home products and a cheat sheet of worth-it fix-its. Look inside for a wealth of information on attaining what you want—on time and on budget. Dream Home also includes all the tips and tricks you won’t see on TV, making it a must-have resource not just for fans but for any current or aspiring homeowner. |
{
"pile_set_name": "OpenWebText2"
} | (CNN) Scotland has moved to become the first nation to make tampons and pads free.
The Scottish parliament advanced legislation on Tuesday that would ensure free universal access to tampons, pads and other menstrual products, in a huge stride for the global movement against period poverty
The Period Products (Free Provision) Scotland Bill passed through the first stage with 112 votes in favor and one abstention.
No one opposed the bill.
"Women and girls are too often left behind in the political process," Monica Lennon, who introduced the bill last year, said during the debate . "This is a chance to put them first and do something that is truly groundbreaking on gender equality."
Lennon also acknowledged transgender and non-binary people, adding that the bill was designed to be inclusive of everyone who menstruates.
The bill now moves to the second stage, where members of the Scottish parliament can propose amendments before it is given final consideration in stage three.
The bill aims to tackle period poverty , stigma around menstruation and the impact that periods have on education.
"Menstruation is normal," Lennon said. "Free universal access to tampons, pads and reusable options should be normal too."
One in 10 girls in the United Kingdom have been unable to afford period products, according to a 2017 survey from Plan International UK . The survey also found that nearly half of all girls aged 14 to 21 are embarrassed by their periods, while about half had missed an entire day of school because of them.
"For some reason, period products are regarded by some as a luxury, a luxury for which women should be charged," Alison Johnstone, a member of parliament, said during debate. "Why is it in 2020 that toilet paper is seen as a necessity but period products aren't?"
The Scottish government has made other efforts to tackle period poverty in the last few years. |
{
"pile_set_name": "Pile-CC"
} | U.S. Army Acquires APKWS™ Laser-Guided Rockets for Immediate Deployment
The U.S. Army has procured an initial quantity of BAE Systems’ Advanced Precision Kill Weapon System (APKWSTM) laser-guided rockets for use in ongoing operations in Iraq and Afghanistan. This deployment marks the first time U.S. Army personnel will be able to benefit from the laser-guided rocket, which has proven highly successful for the U.S. Navy and Marine Corps.
“With a long track record of success with the U.S. Navy and Marine Corps, we are confident that the U.S. Army will greatly benefit from this highly accurate, low-collateral-damage system,” said David Harrold, director of precision guidance solutions at BAE Systems. “The cooperation between military branches has been tremendous. Providing these weapons to our soldiers by leveraging a current program of record should be used as an example for other services and allied countries looking for this precision strike capability.”
The Army is acquiring its initial supply of APKWS rockets out of the current Navy inventory while also working with BAE Systems and the Navy to secure additional rockets to meet ongoing demands. It is expected that the Army will immediately deploy the APKWS rocket, which is a mid-body guidance kit that transforms a standard unguided munition into a precision laser-guided rocket, on its
AH-64 Apache while additional platform priorities are determined.
While initially designed to the meet U.S. Army requirements, the APKWS system is a U.S. Navy program of record and has been deployed in combat by the Marines since 2012. The system’s ‘plug and play’ design makes it highly tailorable and scalable for future needs and allows streamlined deployment on a variety of platforms using existing equipment and infrastructure. In fact, the APKWS laser-guided rocket has already been qualified or demonstrated on more than a dozen rotary and fixed-wing platforms.
Currently in its third year of full rate production and with 5,000 units built to date, the APKWS rocket is the only U.S. Department of Defense fully qualified, guided 2.75-inch rocket that uses semi-active laser guidance technology. More information on the APKWS rocket, which is currently available to international customers through the U.S. Foreign Military Sales program, can be found at
www.baesystems.com/apkws. |
{
"pile_set_name": "DM Mathematics"
} | Convert 132120 (base 4) to base 8.
3630
What is -13043 (base 6) in base 3?
-2201000
What is -b40 (base 16) in base 3?
-10221200
What is -740 (base 8) in base 12?
-340
1334141 (base 5) to base 13
c634
Convert 259e (base 15) to base 9.
12005
2308 (base 14) to base 16
17c4
-2b09 (base 16) to base 15
-33e7
1136 (base 7) to base 10
419
Convert -2443 (base 14) to base 6.
-45151
What is -85ab (base 14) in base 7?
-124204
-509a (base 11) to base 9
-10245
Convert -4461 (base 7) to base 10.
-1611
Convert -13945 (base 10) to base 4.
-3121321
What is 1411 (base 10) in base 11?
1073
What is -340 (base 12) in base 6?
-2120
-725 (base 8) to base 11
-397
Convert -47ab (base 12) to base 9.
-12035
What is 1222 (base 6) in base 13?
1a3
Convert -112 (base 5) to base 3.
-1012
8b (base 12) to base 7
212
What is -467 (base 9) in base 13?
-238
What is 10000000100 (base 2) in base 3?
1102002
Convert 24533 (base 6) to base 15.
113c
What is 643 (base 7) in base 15?
16a
What is -4063 (base 7) in base 11?
-1079
Convert 670 (base 14) to base 4.
103322
-2581 (base 9) to base 10
-1936
What is 1024 (base 5) in base 8?
213
Convert -2452 (base 11) to base 12.
-1a2b
Convert -45534 (base 9) to base 12.
-15671
-b956 (base 13) to base 2
-110010010011111
What is 596 (base 13) in base 11?
800
Convert 12542 (base 8) to base 13.
2651
What is -100011011011 (base 2) in base 11?
-1781
2105 (base 16) to base 15
2788
-111000010110 (base 2) to base 15
-1106
What is -102 (base 13) in base 3?
-20100
-2a57 (base 14) to base 2
-1110101100101
What is -10101 (base 2) in base 4?
-111
What is -1011100101111001 (base 2) in base 3?
-2102010120
Convert 474a (base 13) to base 4.
2130301
What is 11675 (base 8) in base 3?
20221011
What is -1214 (base 15) in base 13?
-1999
Convert 2212020 (base 3) to base 2.
100000100101
What is -7a60 (base 16) in base 12?
-16168
Convert -33069 (base 10) to base 16.
-812d
13334 (base 5) to base 2
10001000110
Convert -748 (base 11) to base 3.
-1020022
What is 3782 (base 9) in base 11?
2141
What is -1e1 (base 16) in base 9?
-584
Convert 2043 (base 14) to base 5.
134142
Convert 281 (base 11) to base 7.
652
What is 36a (base 15) in base 5?
11100
Convert a0 (base 13) to base 3.
11211
What is -20001101 (base 3) in base 14?
-1871
Convert -3aa (base 13) to base 5.
-10042
Convert -22222 (base 3) to base 10.
-242
What is 50013 (base 6) in base 10?
6489
Convert 2021320 (base 4) to base 16.
2278
What is 7065 (base 8) in base 10?
3637
-1033 (base 6) to base 5
-1422
Convert 616 (base 9) to base 10.
501
Convert -2121311 (base 4) to base 16.
-2675
Convert -1421323 (base 5) to base 7.
-152156
What is -11212 (base 4) in base 3?
-111021
What is -23002 (base 5) in base 4?
-121123
What is 511 (base 7) in base 9?
311
What is -511443 (base 6) in base 3?
-2001122100
What is 1662 (base 11) in base 12?
1291
Convert 21324 (base 6) to base 13.
1447
What is 102222022 (base 3) in base 10?
8729
-1000110111100 (base 2) to base 4
-1012330
What is -25 (base 10) in base 11?
-23
What is -155 (base 10) in base 11?
-131
Convert 433 (base 9) to base 5.
2404
10444 (base 5) to base 7
2120
Convert 22 (base 13) to base 4.
130
What is 224224 (base 5) in base 4?
1332000
12de (base 15) to base 5
112114
What is -1671 (base 8) in base 12?
-675
Convert 5034 (base 6) to base 3.
1111211
Convert -39a (base 11) to base 3.
-122111
-3721 (base 12) to base 16
-1849
46 (base 8) to base 4
212
What is -ad (base 16) in base 8?
-255
-3c7 (base 14) to base 6
-3311
3212323 (base 4) to base 8
34673
-11203311 (base 4) to base 2
-101100011110101
What is 4603 (base 8) in base 6?
15135
Convert 30473 (base 9) to base 13.
91a1
11794 (base 10) to base 2
10111000010010
-443 (base 9) to base 5
-2423
Convert -8e (base 15) to base 4.
-2012
What is -1102020 (base 4) in base 11?
-3a49
3bc9 (base 15) to base 3
122112200
Convert -5235 (base 9) to base 2.
-111011111111
What is 451115 (base 6) in base 14?
db15
-5c7 (base 15) to base 16
-520
What is -110 (base 16) in base 12?
-1a8
-3023 (base 8) to base 13
-928
-10 (base 2) to base 9
-2
What is 908a (base 11) in base 6?
131525
Convert -144 (base 12) to base 3.
-21021
468 (base 11) to base 4
20232
-2144 (base 11) to base 3
-10212212
Convert -1101100000 (base 2) to base 6.
-4000
What is -277 (base 14) in base 7?
-1310
What is 1461 (base 7) in base 2?
1001000110
-45161 (base 7) to base 6
-124455
Convert 2242 (base 10) to base 11.
1759
2146 (base 15) to base 8
15601
What is 31023 (base 4) in base 11?
6a7
Convert -154 (base 7) to base 9.
-107
What is -100101000011 (base 2) in base 9?
-3224
Convert -2407 (base 11) to base 13.
-1587
What is 20232 (base 4) in base 7?
1425
Convert -6b2 (base 15) to base 2.
-10111101101
Convert -14004 (base 5) to base 15.
-504
What is -112001201 (base 3) in base 14?
-3a44
1625 (base 8) to base 10
917
-243300 (base 5) to base 8
-21760
Convert 1367 (base 13) to base 4.
223211
Convert 2564 (base 8) to base 13.
835
What is -10100 (base 2) in base 9?
-22
Convert 43244 (base 7) to base 16.
2a0b
19591 (base 13) to base 12
24641
165 (base 9) to base 14
a0
What is -1517 (base 8) in base 7?
-2320
Convert -13350 (base 8) to base 9.
-8035
3130 (base 4) to base 12
164
103252 (base 6) to base 14
3172
What is -413404 (base 5) in base 9?
-20585
What is 5631 (base 12) in base 9?
14071
6a8 (base 11) to base 2
1101001100
Convert 12535 (base 9) to base 16.
2108
-5372 (base 11) to base 10
-7097
-10010101011 (base 2) to base 11
-997
245242 (base 6) to base 15
675e
-121101222 (base 3) to base 7
-46604
Convert -9677 (base 16) to base 6.
-454155
What is -44c6 (base 15) in base 14?
-545c
235320 (base 6) to base 10
20640
-71a (base 11) to base 2
-1101100100
What is 12646 (base 7) in base 11?
2625
Convert -2b6 (base 12) to base 5.
-3201
Convert 10233133 (base 4) to base 13.
8ac1
What is -45 (base 10) in base 8?
-55
What is -d25 (base 16) in base 6?
-23325
-1230313 (base 4) to base 9
-10501
What is -8100 (base 13) in base 4?
-10111101
What is 12236 (base 14) in base 13?
17251
Convert -1000240 (base 5) to base 7.
-63521
What is -505 (base 10) in base 7?
-1321
100001 (base 3) to base 9
301
138 (base 13) to base 9
260
What is 297 (base 10) in base 12?
209
-185 (base 13) to base 5
-2103
a67 (base 12) to base 3
2002021
-5341 (base 7) to base 11
-146a
Convert 1497 (base 16) to base 9.
7206
What is 5416 (base 9) in base 16?
f90
What is -104420 (base 5) in base 10?
-3735
What is 557 (base 14) in base 6?
4521
What is -1632 (base 11) in base 9?
-2774
Convert 2910 (base 12) to base 14.
1a44
What is -6675 (base 8) in base 4?
-312331
Convert 3232 (base 8) to base 9.
2277
What is -2252 (base 6) in base 9?
-655
Convert -1661 (base 15) to base 9.
-6541
What is -39 (base 11) in base 3?
-1120
490 (base 16) to base 9
1537
Convert -111100000 (base 2) to base 7.
-1254
Convert -4015 (base 6) to base 16.
-36b
What is -7686 (base 11) in base 4?
-2132121
-11990 (base 15) to base 8
-155540
-6152 (base 10) to base 8
-14010
294b (base 14) to base 15
227e
Convert -7d0 (base 15) to base 6.
-12110
Convert 200 (base 14) to base 4.
12020
Convert 2a1 (base 16) to base 11.
562
What is -60a6 (base 13) in base 2?
-11010000000110
What is -121130 (base 6) in base 4?
-2212032
Convert 517 (base 14) to base 9.
1332
212221 (base 3) to base 2
1010000110
2164 (base 14) to base 3
21220210
What is -4414 (base 8) in base 5?
-33231
-234 (base 16) to base 2
-1000110100
34412 (base 5) to base 9
3357
Convert -4424 (base 6) to base 7.
-2662
-5a7 (base 16) to base 9
-1877
What is 214101 (base 6) in base 8?
42525
-3130 (base 11) to base 16
-1033
Convert c5a9 (base 15) to base 7.
232551
-21234 (base 5) to base 14
-752
Convert 456 (base 11) to base 4.
20201
Convert -11155 (base 6) to base 2.
-11000101111
Convert -65 (base 8) to base 14.
-3b
Convert c65 (base 15) to base 5.
42140
What is -1b51 (base 13) in base 2?
-1000000011010
What is -c528 (base 16) in base 9?
-76210
-2625 (base 7) to base 14
-515
What is 8b1 (base 13) in base 6?
10532
Convert -1635 (base 8) to base 3.
-1021021
Convert -737d (base 14) to base 16.
-4dc3
-124555 (base 7) to base 2
-101101011100010
Convert 12111220 (base 3) to base 2.
111110110100
What is 30298 (base 11) in base 10?
44272
33103 (base 4) to base 14
4dd
What is -111011011 (base 2) in base 6?
-2111
Convert 10b4 (base 13) to base |
{
"pile_set_name": "PubMed Abstracts"
} | Multidimensional rule, unidimensional rule, and similarity strategies in categorization: event-related brain potential correlates.
Forty participants assigned artificial creatures to categories after explicit rule instruction or feedback alone. Stimuli were typical and atypical exemplars of 2 categories with independent prototypes, conflicting exemplars sharing features of both categories, and "Others" with only 1 or 2 features of the well-defined categories. Ten feedback-only participants spontaneously adopted a unidimensional rule; 10 used a multidimensional similarity strategy. Event-related potentials (ERPs) recorded during the transfer phase showed a commonality between multidimensional rule and similarity strategies in late frontal brain activity that differentiated both from unidimensional rule use. Multidimensional rule users alone showed an earlier prefrontal ERP effect that may reflect inhibition of responses based on similarity. The authors also discuss the role of declarative memory for features and exemplars. |
{
"pile_set_name": "StackExchange"
} | Q:
remove child from parent in knockout
model
public class model
{
public int modelid { get; set; }
public string name { get; set; }
public List<childModel> childModel{ get; set; }
}
public class childModel
{
public int childModelid { get; set; }
public string childname { get; set; }
}
java script
@{
var datam = new JavaScriptSerializer().Serialize(Model);
}
var helloWorldModel = {
model: ko.mapping.fromJS(@Html.Raw(datam)),
dele: function (models) {
helloWorldModel.model.remove(models);
}
}
ko.applyBindings(helloWorldModel);
html
<span data-bind="foreach:model">
<span data-bind="text : name"></span>
<span data-bind="foreach:childmodel">
<input type="text" data-bind="value:childname" />
</span>
<input type="button" data-bind="click:$parent.dele" value="delete parent" />
</span>
so i can remove model, but is there any way to remove childmodel whith this structure?
something like this:
deleChildModel: function (Childmodels) {
helloWorldModel.model.childModel.remove(Childmodels);
}
i can add add modelid to ChildModel and then use
deleChildModel: function (Childmodels) {
helloWorldModel.model()[Childmodels.modelid].childModel.remove(Childmodels);
}
but i am looking for something simpler
A:
You can use bind to have the button pass the parent as well as the child to the deleteChild function. The first argument to bind provides the context (this) for when the resulting function is called.
var models = [{
name: 'One',
childmodel: [{
childname: "SubOne"
}]
}, {
name: 'Two',
childmodel: [{
childname: "SubTwo"
}]
}];
var vm = (function() {
var self = {
model: ko.mapping.fromJS(models),
dele: function(item) {
self.model.remove(item);
},
deleteChild: function(child) {
var parent = this;
parent.childmodel.remove(child);
}
};
return self;
}());
ko.applyBindings(vm);
<script src="https://cdnjs.cloudflare.com/ajax/libs/knockout/3.2.0/knockout-min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/knockout.mapping/2.4.1/knockout.mapping.min.js"></script>
<span data-bind="foreach:model">
<span data-bind="text : name"></span>
<span data-bind="foreach:childmodel">
<input type="text" data-bind="value:childname" />
<button data-bind="click:$root.deleteChild.bind($parent)">Delete Child</button>
</span>
<input type="button" data-bind="click:$parent.dele" value="delete parent" />
</span>
|
{
"pile_set_name": "StackExchange"
} | Q:
Word documnet CSS not formating properly
Trying to print a doc but the css is not correct for some reason and format is messed up.
I have my layout set like this
<?php
// file: app/views/layouts/msword.ctp
header("Content-Type: application/msword");
// header("Cache-Control: no-cache, must-revalidate");
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
header("content-disposition: attachment;filename=myfile.doc");
echo $content_for_layout;
?>
my controller has this
public function word($id = null) {
//debug($id);
$pvs = $this->ProductionVault->find('all', array('conditions' => array('Contract.id' => $id)));
$this->set('pvs',$pvs);
$this->layout = "word";
//Configure::write('debug',3);
}
and finally my view has
<?php
echo $this->Html->css('wordcss', null, array("inline"=>false));
foreach($pvs as $pv):
....
....
?>
Am I missing something that the css is not coming out right?
A:
If you set "inline" => false" when calling the css method, you need a $scripts_for_layout variable in your layout, which is missing in your snippet.
|
{
"pile_set_name": "Github"
} | /* *********************************************************************** *
* project: org.matsim.*
* SignalsDataImpl
* *
* *********************************************************************** *
* *
* copyright : (C) 2010 by the members listed in the COPYING, *
* LICENSE and WARRANTY file. *
* email : info at matsim dot org *
* *
* *********************************************************************** *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* See also COPYING, LICENSE and WARRANTY file *
* *
* *********************************************************************** */
package org.matsim.contrib.signals.data;
import org.matsim.contrib.signals.SignalSystemsConfigGroup;
import org.matsim.contrib.signals.data.ambertimes.v10.AmberTimesDataImpl;
import org.matsim.contrib.signals.data.conflicts.ConflictData;
import org.matsim.contrib.signals.data.conflicts.ConflictDataImpl;
import org.matsim.contrib.signals.data.intergreens.v10.IntergreenTimesData;
import org.matsim.contrib.signals.data.intergreens.v10.IntergreenTimesDataImpl;
import org.matsim.contrib.signals.data.signalcontrol.v20.SignalControlData;
import org.matsim.contrib.signals.data.signalcontrol.v20.SignalControlDataImpl;
import org.matsim.contrib.signals.data.signalgroups.v20.SignalGroupsDataImpl;
import org.matsim.contrib.signals.data.signalsystems.v20.SignalSystemsDataImpl;
import org.matsim.contrib.signals.data.ambertimes.v10.AmberTimesData;
import org.matsim.contrib.signals.data.signalgroups.v20.SignalGroupsData;
import org.matsim.contrib.signals.data.signalsystems.v20.SignalSystemsData;
/**
* @author dgrether
*
*/
public final class SignalsDataImpl implements SignalsData {
private SignalSystemsData signalsystemsdata;
private SignalGroupsData signalgroupsdata;
private SignalControlData signalcontroldata;
private AmberTimesData ambertimesdata = null;
private IntergreenTimesData intergreensdata = null;
private ConflictData conflictData = null;
public SignalsDataImpl(SignalSystemsConfigGroup signalConfig){
this.initContainers(signalConfig);
}
private void initContainers(SignalSystemsConfigGroup signalConfig){
this.signalsystemsdata = new SignalSystemsDataImpl();
this.signalgroupsdata = new SignalGroupsDataImpl();
this.signalcontroldata = new SignalControlDataImpl();
if (signalConfig.isUseAmbertimes()){
this.ambertimesdata = new AmberTimesDataImpl();
}
if (signalConfig.isUseIntergreenTimes()) {
this.intergreensdata = new IntergreenTimesDataImpl();
}
if (signalConfig.getIntersectionLogic().toString().startsWith("CONFLICTING_DIRECTIONS")) {
this.conflictData = new ConflictDataImpl();
}
}
@Override
public AmberTimesData getAmberTimesData() {
return this.ambertimesdata;
}
@Override
public IntergreenTimesData getIntergreenTimesData() {
return this.intergreensdata;
}
@Override
public SignalGroupsData getSignalGroupsData() {
return this.signalgroupsdata;
}
@Override
public SignalControlData getSignalControlData() {
return this.signalcontroldata;
}
@Override
public SignalSystemsData getSignalSystemsData() {
return this.signalsystemsdata;
}
@Override
public ConflictData getConflictingDirectionsData() {
return this.conflictData;
}
}
|
{
"pile_set_name": "Pile-CC"
} | Harry & David Gluten-Free Goodies
Harry & David Gluten-Free Hat Box
— The good folks at MB Limited, who help us out with our computers, sent us a Harry & David Gluten-Free Hat Box. It’s always exciting to open a Harry & David gift tower, so it was fun to unwrap the two hat boxes. Imagine our delight when we discovered that the hat boxes were filled with gluten-free brownies and cookies.
The brownies were some of the most scrumptious brownies I’ve ever had — gluten-free or regular. I looked at the ingredients and was surprised to see that they used black bean powder instead of flour. I was also surprised to see the high amount of fat, but let’s not go there (on the positive side, they had high protein). The gluten-free brownies — two fudge brownies, two walnut brownies and two chocolate chunk brownies — were rich and thick and chocolate.
The gluten-free cookie assortment included two macaroons, two chocolate chip cookies, two peanut butter cookies and two mint chocolate cookies. They were quite good, but the brownies were definitely our favorite. I sent Harry & David an email, asking if their gluten-free goodies were made in a dedicated gluten-free area etc., but I did not hear back.
UPDATE 10/29/11: I just found out that Harry & David has discontinued their gluten-free brownies and cookies. Unfortunately, there’s no explanation from them. I’m sad, those brownies were really delicious.
King Arthur gluten-free birthday cake
Birthday cake made with King Arthur gluten-free chocolate cake mix
— Speaking of rich desserts, it was recently my older daughter’s birthday. Although she does not have celiac and usually orders a bakery cake, she requested that I bake her cake this year. I told her it would have to be a gluten-free cake, as I don’t bake with regular flour any more since flour can remain airborne for a few hours and settle on kitchen appliances and counters.
Gluten-free Chicago
— My husband and I were downtown on a date night and ate at Hub 51, a Lettuce Entertain You restaurant in Chicago. I was pleased to discover that they have an extensive gluten-free menu, including tacos with homemade corn tortillas, hand-cut french fries, pulled chicken nachos, sushi and salads. Lettuce Entertain You, Rich Melman’s successful restaurant enterprise, operates many restaurants with gluten-free menus — a comprehensive list of GF menus is on the Lettuce site.
— Our friend Jennifer of Be Free Bakers — a gluten-free, nut-free and vegan bakery in Lee’s Summit, Mo. — was in Chicago recently. We met her at Wilde, an Irish pub and restaurant with consistently great food. Wilde has a substantial gluten-free menu with GF mac and cheese and burgers with gluten-free buns — to me, GF bread is the hallmark of a restaurant that cares about its gluten-free customers.
— Our family had a tasty dinner at Lula Cafe, a Logan Square spot that offers organic produce and locally sourced farm-to-table food. Lula does not have a gluten-free menu, but they were very friendly and accommodating in pointing out which menu items were gluten-free.
— We also had a good gluten-free meal at Nano Sushi, a sushi/Thai restaurant in Chicago’s North Center neighborhood. I called the restaurant and asked if they could make dishes without wheat or soy sauce and was pleasantly surprised when the woman said, “You mean gluten-free?” Wow, gluten-free certainly is going mainstream. She served us gluten-free sushi, tom kha soup, chicken satay and pad Thai, which we enjoyed.
— I intend to post a list of Chicago gluten-free restaurants at some point. If you have any GF restaurant recommendations, please leave a comment below.
4 responses to “News and Notes”
Urban Vegan on Montrose and Ashland makes great Thai food and will make a majority of their dishes gluten free. Lady Gregory on Clark St in Andersonville has a GF menu. Hamburger Marys brews their own GF beer and its delicious.
Thanks for the restaurant news! I really do intend to post a more comprehensive list of restaurants soon (even though I’ve been saying that for a while). Lady Gregory is owned by the same folks who own Wilde, and I love their GF menu.
Thanks again for the update!
Eve
I enjoyed your blog. I have a restaurant to add to your list. Last night I went out to dinner to Francesca’s on 95th. This specific chain of the restaurant I went to is in a suburb right out side of Chicago called Oak Lawn. They do have many chains in Chicago and other states. Being an Italian restaurant I wasn’t sure my options, but they were willing to take most of their dishes and make them gluten free. All of their sauces were made naturally gluten free which helped the selection. My husband and I actually had the same dish, with different pasta and it was wonderful! I will definitely go back again.
I enjoyed reading your website this evening. I particularly liked your illustrations as well as your healthful and helpful cooking hints. I have modified a waffle recipe to be gluten free simply by substituting gluten free flour. But what makes this recipe really outstanding are two suggestions by my older granddaughter. She encouraged me to add a teaspoon of vanilla and to add cinnamon as well to the waffle batter. This makes them really irresistible. And to make them even better, she adds chopped bananas, chocolate chips, and chopped apples. One almost does not need to add syrup they are so good.
About Gluten-Free Nosh
Sharing recipes, tips and experiences forgluten-free families
My youngest daughter was diagnosed with celiac disease when she turned 2. In the past seven years, we’ve learned how to create gluten-free versions of our favorite foods and traditional Jewish foods and how to navigate through restaurants, school and birthday parties gluten-free. |
{
"pile_set_name": "Pile-CC"
} | Several airstrikes, including the first alleged use of armed drones in the conflict, shook Tripoli overnight in an escalation of the United Arab Emirate-backed assault on the Libyan capital led by Khalifa Haftar. The allegations about the use of drones were made by the Government of National Accord (GNA) based in Tripoli, and supported by eyewitnesses.
A Reuters reporter and several Tripoli residents said they saw an aircraft circling for more than 10 minutes over the capital late on Saturday, and that it made a humming sound before opening fire on several areas. Drone strikes make a noticeably different noise from missile strikes.
What does the battle for Tripoli mean for Libya and the region?
Read more
An aircraft was heard again after midnight, circling for more than 10 minutes before a heavy explosion shook the ground. The UAE established a drone facility at al-Khadim airbase south of Tripoli in 2016, and experts say the ageing fighter aircraft available to Haftar cannot fly by night, making it highly likely that drones were involved.
Haftar’s offensive is aimed at toppling the UN-recognised government in Tripoli and has the backing of Saudi Arabia and Egypt.
Peter Millett, the former UK ambassador to Libya, said: “The use of drones was a significant and tragic escalation that will increase the number of Libyan causalities.”
Anas El Gomati, director of the Sadeq Institute, a Libyan thinktank, said: “The air war in Tripoli has officially entered a dangerous new phase and has the become an attack by a foreign invading power; the UAE.
“Libya is still Libya, but it’s on the verge of becoming a Yemen on the Mediterranean. Haftar’s promise of enduring peace and stability is a myth. UAE drone strikes cannot deliver unity.”
The UN has estimated that 227 people have been killed and 1,128 injured in the two weeks of fighting. More than 16,000 people have been displaced from their homes. The GNA claims its resistance has pushed Haftar’s forces back south of Tripoli.
The main airstrikes apparently hit a military camp of forces loyal to the GNA in the Sabaa district in the south of the capital – the scene of the heaviest fighting between the rival forces.
Authorities temporarily closed Tripoli’s only functioning airport, cutting air links to a city of an estimated 2.5 million residents. The airport in Misrata, a city 130 miles to the east, remained open.
Both the UAE and Saudi Arabia have been involved in a four-year war in Yemen in a bid to oust a Houthi-led government in Aden. .
The airstrikes on Tripoli, first launched last week, appear to reflect the approval given to Haftar by Donald Trump in a phone call on Monday. The White House did not reveal that this call took place until Friday, four days later.
Q&A
What is happening in Libya?
Libya is on the brink of an all-out civil war that threatens to upend years of diplomatic efforts to reconcile two rival armed political factions. An advance led by Khalifa Haftar, the warlord from the east of the country, has diplomats scrambling and the UN appealing in vain for a truce. The French government, the European power closest to Haftar, insists it had no prior warning of his assault, which is closing in on the capital, Tripoli. The outcome could shape not just the politics of Libya, but also the security of the Mediterranean, and the relevance of democracy across the Middle East and north Africa.
Libyan sources claimed the shift in the US position towards support for Haftar came after a discussion with John Bolton, the US national security adviser, and contacts with Mohammed bin Zayed Al Nahyan, Abu Dhabi’s crown prince.
The US appears to have accepted the view from its chief Middle Eastern allies that Haftar’s assault can be seen as the act of a strong leader fighting jihadist militias in Tripoli. But many independent Libyan experts claim Haftar has no commitment to democracy, and himself deploys Salafist militia in his self-styled Libyan National Army.
Trump’s personal backing for Haftar appears to have undercut both the UN special envoy, Ghassan Salamé and the UK Foreign Office’s efforts to secure a UN security council resolution calling for a ceasefire.
Both Russia and the US opposed British moves at the UN last week to pass a statement calling for a ceasefire and a return to talks. In a bid to win over Russian diplomats, the UK had already removed from its draft ceasefire resolution any implication that Haftar was the aggressor, or that his actions forfeited his right to rule Libya in the future.
The UK foreign secretary, Jeremy Hunt, spoke at the weekend to Mike Pompeo, the US secretary of state, after the White House revealed Trump’s backing for Haftar. The US Department of State merely said the two men reaffirmed their commitment “to continue diplomatic efforts to achieve a freeze on the ground and a return to the political process”.
In a bid to re-establish a collective western position, Italy’s foreign ministry has convened an inter-ministerial meeting next week on Libya. Italy, broadly supportive of the GNA, has also clashed with France, which is accused of backing Haftar and even deploying special forces.
Italy believes the airstrikes show that Haftar underestimated the degree of ground resistance he would face inside Tripoli. However, he has used siege tactics in the past in Libya to grind down resistance, and may do so again. |
{
"pile_set_name": "Pile-CC"
} | 50% OFF
Enticing Shubh Labh Door Hangings! May the joy, cheer, mirth and merriment of this divine festival surround you forever with this delectable decorative pooja product. A perfect choice for gifting this festive season to your loved ones.. Choose this beautiful product from the Hosue of Aapno Rajasthan and enhance the beauty of your home and make your choice a cynosure for others. Aapno Rajasthan brings lot of decorative items and hampers for this festive season to make memories cherishable and enjoyable;
Description of product
Enticing Shubh Labh Door Hangings! May the joy, cheer, mirth and merriment of this divine festival surround you forever with this delectable decorative pooja product. A perfect choice for gifting this festive season to your loved ones.. Choose this beautiful product from the Hosue of Aapno Rajasthan and enhance the beauty of your home and make your choice a cynosure for others. Aapno Rajasthan brings lot of decorative items and hampers for this festive season to make memories cherishable and enjoyable; |
{
"pile_set_name": "PubMed Abstracts"
} | [Regulatory properties of Bacillus subtilis isolectins].
The ability of natural and mutant Bacillus subtilis cultures with imperfect reparation/recombination system to synthesis of extracellular and surface lectins was investigated, and dependence of lectin production process on cultures' genotype was proved. Mutant B. subtilis recP has practically lost its ability to produce the extracellular lectins as a result of mutation of a gene of the reparation/recombination system. The application of the method "autofocusing" allowed to investigate all the spectrum oflectin molecular forms of natural B. subtilis culture and to reveal isoforms distinguished by physico-chemical and hemagglutination properties. It was shown that lectin cathode forms inhibit the transcription process from plasmid promnoter completely, and anodic forms activate the transcript formation slightly in the transcription in vitro with T7 bacteriophage DNA-dependent RNA-polymerase. |
{
"pile_set_name": "OpenWebText2"
} | But what the fuck is a radical feminist...? If woman uses a little power to get her opinions heard (which have been completely disregarded by stupid sexist men like you) they suddenly become radical and irrational?? Wow. I'm ashamed to live in a world with such ignorant ass people. |
{
"pile_set_name": "StackExchange"
} | Q:
On page reload, all objects are destroyed?
How can I make a persistent list of objects X that survives page reload / post-back in c# / asp.net ?
This was never a problem in c#, but in asp.net, a post-back will wipe out everything.
A:
You can always save your items to the current Session.
For example:
Session["var1"] = // whatever you want
And your Session object will exist until the current session expires regardless of PostBacks.
|
{
"pile_set_name": "Github"
} | import { deepEqual } from 'assert';
import drop from '../drop';
test('#drop', () => {
const array = [1, 2, 3, 4, 5];
const string = 'Hello World';
deepEqual(drop(2, array), [3, 4, 5]);
deepEqual(drop(array.length + 1, array), []);
deepEqual(drop(6, string), 'World');
});
|
{
"pile_set_name": "PubMed Abstracts"
} | The spectrum of MRI findings in CNS cryptococcosis in AIDS.
We retrospectively reviewed the cranial MRI appearances of 25 patients with AIDS and microbiologically proven central nervous system (CNS) cryptococcosis. Four patients had a normal scan. Ten patients had dilated perivascular Virchow-Robin spaces that were hyperintense on T2-weighted images. Nine of these patients developed progressive cryptococcomas, eight in the basal ganglia and one in the cerebral white matter. The cryptococcomas displayed high signal on T2-weighted and intermediate to low signal on T1-weighted images. None enhanced after dimeglumine gadopentetate. No abnormal dural or leptomeningeal enhancement was detected in any patient. One patient developed an acquired arachnoid cyst during treatment of CNS cryptococcosis which was thought to represent a focal collection of organisms and mucoid material within the subarachnoid space. In addition either cerebral atrophy and/or background white matter hyperintensity on T2-weighted images was present in 19/25 patients. In two patients the neuropathological findings at autopsy correlated well with the imaging abnormalities. In conclusion, this spectrum of MRI appearances in CNS cryptococcosis reflects the pathological mechanism of invasion by the fungus, but a normal scan or one with features of CNS HIV infection such as atrophy or white matter hyperintensity does not exclude the diagnosis. |
{
"pile_set_name": "PubMed Abstracts"
} | Speciation/fractionation of nickel in airborne particulate matter: improvements in the Zatka sequential leaching procedure.
Modifications are reported to the sequential leaching analytical method for nickel speciation/fractionation specified by Zatka so that larger sample masses can be analyzed. Improvements have been made in the completeness of the sulfide/metallic separation during the peroxide-citrate leach step by use of a larger volume of leachant, a longer leach duration and an orbital shaker. Minimal extraction of metallic nickel in this prolonged sulfidic nickel extraction has been confirmed. An increase in the number of samples analyzed simultaneously using these modifications has resulted in substantial productivity improvements and concomitant lower costs. It is critical for practitioners of sequential leaching techniques to recognize potential limitations and to use professional judgment when interpreting results. For example, results obtained may not be biologically relevant in assessing health risks; the acts of sampling and storage may result in changes in fractionation with time; surface coatings/films may alter the ability of a leachant to react with the target compound; and leaching behaviours may be different for samples differing only in particle size distributions. |
{
"pile_set_name": "Pile-CC"
} | Your browser is no longer supported
Theme: paints and finishes
1 April, 2004
Architects need to be aware of an ever-growing list of considerations when specifying paints, fi nishes and sealants. While environmental and health concerns continue to drive changes in the formulation of such coatings - most notably forthcoming legislation demanding the removal of petroleum-based solvents from paint - issues such as accessibility for all represent an urgent challenge to designers as well as to manufacturers.This feature examines the issues facing the specifiers of paints and other surface coatings, and takes a look at some of the latest products on the market Paint it green Environmental and health concerns have prompted a number of changes in the formulation of paints and other coatings in recent years - most notably a reduction in the use of carcinogenic volatile organic compounds (VOCs) and the development of water-based paints that look and perform like oil-based ones.
'As an industry, ' he says, 'we are very much involved in the process of change, having representation on CEPE, the European legislative organisation which sets targets for VOCs. Evidence of our own commitment can be found in low VOC alternative formulations for finishes such as Crown Trade Low Odour Covermatt and Crown Trade Acrylic Eggshell, two products which achieve minimal VOC classification.' Paint manufacturers are being encouraged to develop water-based alternatives, says a spokesperson for Dulux R&D, as solventbased paints will effectively be banned in 2010. 'While Dulux Trade now offers a water-based alternative for every solventbased product in its range, it does recognise some technical problems with this, ' she adds.
'Firstly, it is diffi cult to get the same degree of durability with a water-based product, although these are starting now to come on to the market.' Dulux admits it has been difficult to develop a water-based alternative for gloss paints that gives the same degree of gloss finish, 'because solvent-based products remain open for longer, ie take longer to harden'. Consequently, it says, most waterbased alternatives are mid-sheen rather than high gloss. However, Dulux claims to have found a solution to this with its Aquatech gloss, using resin technology carried in water.
A more recent move, however, is to find alternatives to the resin used in paint, as most resin is derived from non-sustainable petroleum-based sources. Dulux is looking into making resins from more sustainable agricultural products such as starch.
Despite these efforts, environmentalists warn that not enough is being done to address the health and environmental problems associated with mass-produced coatings. They are concerned about the high embodied energy of water-based paints and the fact that petrochemical-based paints do not degrade.
Neil Rodger, sales and marketing director of Natural Building Technologies (NBT), says: 'Many paints are still relatively polluting and not good for the human environment, particularly vinyl-based emulsions.' Paints should always be microporous and breathable, he says, but for environmental paints to have credibility they have 'to meet acceptable usability standards'. Sometimes, Rodger admits, this means compromise: 'You'll need to use small quantities of chemicals to improve shelf life, for example - it's always a balance between usability and fitness for use.' 'The picture is a complicated one, ' agrees Jonathan Fovargue, sales manager of Construction Resources, a Londonbased supplier of ecologically responsible, sustainable building products and systems.
'Just being low-VOC and water-based is not the full story, as such paints require a whole load more chemicals to emulsify their ingredients into water.
'We sell only wholly natural paints with plant-based ingredients and a linseed oil binder. There's always a natural alternative to what's produced chemically, ' Fovargue insists. 'And whereas in the past colour was a limitation for natural paints, we can now offer colour to BS, RAL and NGS colour schemes.' Social housing, he says, is a strong driver for natural products, 'while private developers don't yet see their value'.
Fovargue says that enlightened social landlord, the Peabody Trust, recently specifi ed natural products for a new office building. 'Avoiding illness in its employees from off-gassing is worth more to them than a couple of quid on paint, ' he adds.
Construction Resources' impressive London showroom was designed by Devonbased Gale & Snowden, a firm specialising in low environmental-impact design, active in both the social housing sector and in the design of schools and community centres.
'We took the sustainable agenda on board 12 years ago, ' explains partner David Gale, 'and we always try and use healthy building products.' He fi nds that the specifi cation of eco-products is, increasingly, client-driven:
'Devon and Cornwall Housing Association chose us to build 35 mainly timber-framed units [at a site in Bideford] because they want to change the way they build.' Peter Smith, an authority on sustainable architecture and author of the book, Ecorefurbishment; a guide to saving and producing energy in the home (Architectural Press, 2004) notes that while an increasing number of architects are becoming committed to eco-friendly products, they're still very much in a minority. Since decorating firms are still not keen on eco-paints, he adds, they remain a niche market.
'We're going to need some legislation to drive things forward on a big scale, ' he says, 'as part of building regulations, for example, which need to be more holistically environmental.'
In case of fire Materials specified in the construction of new buildings or in the refurbishment of existing ones can play a crucial role in protecting lives in the event of a fire. Dr Steve Snaith, innovation and business-development manager for Dulux Trade, explains how paint is involved Fire regulations and surface coatings are effectively covered under the Building Regulations for new buildings or construction. Part B, and specifically Approved Document B, consider the impact of fi re on a building. Part B2 looks at the internal spread of fire on linings, and this includes paint. It is concerned with the ability of a lining to resist adequately the spread of fl ame and the rate of heat release, which is reasonable under the circumstances. Finally, B2 provides a classifi ation rating for materials from Class O to Class 3 that should be used in designated parts of a building.
In public buildings, common areas such as stairwells and lobbies should have the highest rating (Class O). Other rooms should be Class 1 or Class 3, depending on their size. In other words, common areas must have the most resistance to fire; the legislation is driven, after all, by the need to protect people, not buildings.
The classifi ation of coatings is determined according to two British Standard tests. Test BS476 Part 6 is a straightforward pass-or-fail test of heat release, while BS476 Part 7 gives a rating of how quickly flames spread across a surface.
Strictly speaking, Building Regulations apply only to new buildings or new construction. Existing buildings are governed by the Fire Precautions Act 1971 and subsequent amendments and specific industry legislation, such as that for schools.
The important thing about all the pieces of legislation and regulations, however, is that they all refer back to Building Regulations for guidance in best practice - it's about reducing risk, doing the best you can at a realistic cost.
Products from a number of manufacturers, including Dulux, have been certified to meet these tests.
The build-up of paint coatings can increase the rate of flame spread signifi cantly, and a proper risk assessment is needed prior to subsequent redecoration if the client wishes to reduce the impact of fi re. If a building already has paint on the wall and this paint is fl aking or is adhering poorly, it will need to be removed - because any subsequent coating will fail to prevent flame spread.
If an existing coating is sound, you may be able use one of a number of approved upgrade coatings that will slow down the spread of fl ame, going some way to counteracting the degradation caused by previous layers of paint.
Crucially, you must make sure that the product you're using has the correct certifi cation for the situation in which it is being used, and you should consult the manufacturer if in any doubt.
A clear vision There is more to specifying paint than choosing a colour as Linda Allmark, national specifi ations manager at Akzo Nobel Decorative Coatings, explains October 2004 will see the implementation of the fi al stage of the Disability Discrimination Act 1995 (DDA). Public or private organisations providing a direct service to the general public will have to make reasonable adjustments to their premises to ensure that their services are accessible to all, including people with physical and sensory impairments.
Regulations currently in place include Part M of the Building Regulations, which has recently been reviewed and now looks at access for all, and BS8300, the code of practice for the design of buildings for the convenience and use of people with disabilities. Both cover the use of colour and contrast, and provide guidance that can be used to meet some of the obligations of the DDA.
It is accepted that the introduction of colour contrast into interior design can improve signifi cantly a visually impaired person's way-fi nding ability and create accessible environments. Importantly, it is possible for designers, architects and facilities managers to use a wide range of colour schemes to create inclusive environments for the visually impaired that meet regulations, while at the same time retaining aesthetic appeal for fully sighted people.
The interior design of an inclusive environment begins with the isolation of the interior surfaces. By creating even a subtle contrast between the primary surfaces of a room (the fl oor, the walls, the door and the ceiling) navigation is significantly improved for the visually impaired. Interior design features such as coving, dado rails, architraves and skirting can provide further clues for way-fi nding by highlighting the areas where primary surfaces meet.
Research conducted at Reading University, which formed part of the basis for the DDA, concluded that a 30 per cent difference in colour, tonal contrast and luminance is necessary to meet the needs of the 90 per cent of people registered as blind who are actually partially sighted.
Selecting the right colour scheme is very important, but in practice it can be rendered ineffective if the light and reflectance of an interior are not considered too. Sources of light, whether natural or artificial, create areas of glare and shadow, and the effect of sporadic, strong lighting on a surface, and the subsequent shadow, can significantly change even the most intense colours. This can cause disrupting shapes and patterns across critical surfaces, such as openings to corridors and doorways, resulting in navigation problems for the visually impaired. Refl ectance can be reduced by avoiding shiny surfaces; matt or mid-sheen paint fi nishes will absorb light and reduce glare signifi cantly.
Few architects and architecture schools take an interest in colour, asserts colour consultant Jenni Little, choosing instead to regard it as the domain of the interior designer. And this, she believes, is a big mistake: 'While those architects who use colour well create great buildings, so often what we get left with are great spaces devoid of personality - pieces of sculpture, but not spaces to contain people.' Little, whose high-profile clients include Dulux, believes a 'judicious' use of colour can really improve a building for its inhabitants - increasing the apparent ambient temperature, for example, or creating a more relaxing or energising environment.
'Colour is the most powerful aspect of an interior, with the ability to influence the way we feel, think and behave, ' agrees Hans Ultee of Akzo Nobel's Aesthetic Centre in the Netherlands.
His colleague Vernon Kinrade, specification senior brand manager at Akzo Nobel Decorative Coatings, recognises a number of colour trends at the moment, 'many seemingly in contrast with one another'. One of the most interesting, he says, is the use of semi-translucent materials with lighting to achieve a subtle veiled appearance. 'This leads to colour palettes suggesting subdued variants of stronger colours - purples, greens and ambers.' He notes too, that in the aftermath of 9/11, 'people - families and organisations - are looking inwards to seek protection, cocooning'. This, he says, implies the use of comforting materials, as a contrast to the high-tech of the end of the last century, and colours that are of the Earth and derived from natural materials. 'It's a back-to-nature and back-to-basics approach.' For the interiors of public buildings, the trend is still very much for beiges and magnolias, says Neil Rodger, 'although on innovative buildings, there's a tendency for specifiers to be more adventurous'.
Jenni Little remarks that the recent trend for 'the naturals' - creams and whites - to be inspired by all things coastal, from pebbles to the sea itself, is now being superseded by a natural palette inspired by the Earth. 'We're seeing the emergence of naturals with green undertones, ' she says, 'and shades influenced by clays, marls, moss, lichen and heather.' She describes also how the current trend for painting woodwork and walls the same colour - a modern take on a Georgian practice - allows the eye to 'read a room without interruption', creating the illusion of space. And colours from this period are increasing in popularity, even for contemporary applications.
'There's a tremendous interest in historic or heritage colours for both new-build and refurbishment projects, ' says Little. 'These colours have a character not immediately apparent in contemporary ranges, a softness and an unsynthetic quality.' As for texture, Little remarks that chalky paints are increasingly popular: 'Dulux has a new very durable range of paints with an ultra-matt fi nish that don't come up shiny when rubbed.' There's also no longer a huge difference between woodwork and walls, with eggshell finishes being used more and more for both surfaces.
However, she notes a contrasting trend for urban apartments - a move to very highly reflective surfaces 'with darker, funky colours and a lot of shine'. But whatever the application, there's a large crossover between domestic and contract colour trends. The British public, Little asserts, 'are streets ahead of their European counterparts when it comes to colour confidence'.
PRODUCTS Coatings clean up A European consortium of private enterprises, research institutions and the European Commission's Joint Research Centre (JRC), is running a test programme for construction materials designed to soak up some of the noxious gases from vehicle emissions. These 'smart' construction materials, which include a surface coating, plaster, mortar and architectural concrete, are being developed as part of the PICADA (Photo-catalytic Innovative Coverings Applications for De-pollution Assessment) project. It is hoped they will help to reduce levels of nitrogen oxides (NOx gases) - gases which cause respiratory problems and trigger smog production, and other toxic substances such as benzene.
The clear coating - which could be pigmented - has been developed in the UK by the inorganic chemicals division of USowned Millennium Chemicals. It comprises a silicon-based polymer, polysiloxane, into which are embedded nanoparticles of titanium dioxide and calcium carbonate.
The idea is that NOx gases diffuse through the porous polysiloxane base and adhere to the titanium-dioxide particles. These particles absorb UV radiation in sunlight and use it to convert the NOx gases into nitric acid. The acid is then either washed away by rain, or neutralised by the alkaline calcium carbonate particles, which convert it to 'harmless quantities of carbon dioxide', water and calcium nitrate - which will also be washed away by rain.
A typical 0.3mm layer of the coating will contain enough calcium carbonate to last fi ve years in a heavily polluted city, according to Robert McIntyre of Millennium Chemicals. When the calcium carbonate has been exhausted, he adds, the titanium dioxide will continue to break down NOx, but the acid this produces will discolour the coating.
Natural choice for exterior timber Developed, tried and tested in Canada to give protection for homes built from cedar, Timba Dura from Blackfriar is a natural alternative to chemical-based products for protecting and reviving timber and other exterior wood on wooden buildings, outbuildings, cladding and A-frame structures.
Formulated using natural materials including beeswax and linseed oil, and coloured solely with permanent earth pigments, Timba Dura is said to deliver complete water-repellent protection, while at the same time allowing timber to breathe, expand and contract. It is designed to work in all weather conditions and extremes of temperature, without fl aking or fading.
Available in cedar, teak, redwood, dark oak, clear and black, it can be used on both fresh cedar and other hardwoods, as well as on weathered untreated hard and softwoods.
It dries to a semi-transparent sheen which, according to Blackfriar, enhances the natural grain and beauty of the timber.
'The natural earth pigments help prevent the greying and discoloration that would otherwise occur when wood is bleached by the sun, ' it claims. Blackfriar suggests a typical re-coating schedule of every five years, but maintains that little preparation is required for this. 'Timba Dura also has the advantage of a non-drip formulation, is easy to brush on to large vertical surfaces and, once dry, is completely harmless to both plants and animals, ' it claims.
The range is suitable for use on interior broadwall areas and joinery. 'Re-coatable' within four hours, says Heppenstall, it is ideal for projects where fast completion is important. In addition to its low environmental impact, the paint delivers a highly durable, satin-lustre washable fi ish. Available ready-mixed in white and magnolia, as well as all 1,232 colours in the Crown Trade Colour Collection, it has a spreading rate of 15m 2 per litre and is available in 1-litre, 2.5-litre and 5-litre packs.
Against radiation New from Ecos Organic Paints is a superconductive wall paint containing a non-toxic nickel pigment. This, the company claims, provides a shield against the ELF and EMR radiation produced by overhead electricity pylons, cellular telephone installations, TV and radio masts, and all kinds of electrical appliances, including computers, washing machines and mobile telephones.
According to Ecos, brick and concrete walls are no barrier to radiation, which has been linked to a number of illnesses. Its ELF/ EMR paint is dark grey, and designed to be over-painted or wallpapered.
Ecos has also launched a matt wall paint that, it claims, absorbs and neutralises volatile chemicals and pollutants, solvents and VOCs from the inside of a building down to a level of approximately one part per million. A 'special' silicate ingredient in Ecos Atmosphere is said to absorb and neutralise pollutants permanently, and is not exhausted with 'the average redecorating schedule of five years'.
On the wall Wall coverings manufacturer Muraspec, which specialises in commercial markets, has been working to reposition itself and reinvigorate the wall-coverings market.
Its research showed that architects found the materials increasingly irrelevant, and confusing to specify. Muraspec's response has been to rationalise its range, launch some new materials and provide a very logical method of specification, the Muraselector. This is a compact box containing a CD that allows one to select products by every criterion possible, and a set of samples and sample charts.
APPLICATIONS Innovative with render Perceptions in the UK are changing it seems, when it comes to the use of external renders.
Their association with crumbling council flats is fast being replaced in the public mind by one of smart new houses and pristinelooking public buildings, thanks in large part to high-profi le projects such as Ken Shuttleworth's Crescent House in Wiltshire and Daniel Libeskind's Imperial War Museum North in Manchester. Both these projects use coatings from German-owned Sto, which supplies a vast range of throughcoloured acrylic and silicate-based render systems in about several hundred shades.
Sto claims to have worked with all of the UK's 'top 100' architectural practices and has assumed a leading position in the UK market for external surface renders.
'Our business is growing, but it's still at a very small level compared with Germany, where acrylic renders are used on just about every type of building, ' says Sto marketing manager Denise Freeman.
She expects business to continue to grow, she adds, particularly on the high-density housebuilding front where, she says, Sto's insulating products 'are well ahead of the game on NHBC detailing'. Sto systems also 'go up very quickly', she adds, and the fact that they enable wall thicknesses to be reduced - by dispensing with the need for cavity walls - is particularly appealing to developers of expensive urban sites.
'Most architects prefer white renders, but a few are starting to use colours, ' says Freeman. She cites an ongoing project to construct fast-track high-density housing at Greenwich Millennium Village. Here, architect EDR has specified the use of several coloured renders, including orange and bright red. Where this project is groundbreaking, however, is not in the use of renders, but rather in the speed at which the apartments were constructed and the singleskin construction method. The facades of the steel-framed apartment block, designed in conjunction with EDR and contractor Taylor Woodrow, are coated with StoTherm Mineral M external wall-insulation system.
They comprise, beneath this, two sheets of internal plasterboard with a vapour membrane, a 150mm stud wall, and a layer of Pyroc sheathing board. 'The stud wall's void could have become a drum, ' says Sto technical consultant Roy Packman, 'so we filled it with an acoustic quilt, reducing the noise and increasing the U-value - which meant we could reduce the external installation.'
The system also eliminates cold bridging, he adds, while its fl exibility means that there's no need for vertical or horizontal movement joints.
'John Prescott said such projects had to be innovative, and this one certainly is, ' says Packman, 'and while we've completed plenty of office buildings using this technique, this is the first time it's been used for housing.' Finishes are on song A range of Dulux products has been used to complement and reproduce the effect of traditional materials such as limewash and wax in the new £1.6 million Song School at Chester Cathedral.
The construction of the building was monitored closely by English Heritage, the Cathedral Fabric Commission for England and local planning authorities, so it was vital that every detail was considered carefully.
The vaulted ceiling of the school has been plastered with lime and coated with a limewash specially tinted with a rose petal shade from the Dulux Trade palette.
Dulux Trade Eggshell, undercoats and gloss have been used to decorate door frames, architraves and skirting boards. The walls use Dulux Trade Supermatt, a permeable paint which lets them breathe, letting moisture escape from the plaster.
Dulux Trade tung oil has been used to protect oak window frames. The cast-iron gutters, downspouts and external window frames have been coated with the company's acrylated rubber, which protects against chemical and acid attack.
The Song School has been built on the site of a medieval monastery. Building work was carried out by Linford Building of Lichfi ld, Staffordshire, under the supervision of architect Arrol & Snell, and the interior decoration was the responsibility of DÚcor Limited. Director Paul Roome said: 'Huge attention has been paid to the detail in this project, and the sheer diversity of the Dulux Trade range has allowed us to find the right solutions to complement the original materials.'
Subscribe to the AJ
The Architects’ Journal is the UK’s best-selling weekly architecture magazine and is the voice of architecture in Britain
About the Architects' Journal
The Architects' Journal is the voice of architecture in Britain. We sit at the heart of the debate about British architecture and British cities, and form opinions across the whole construction industry on design-related matters |
{
"pile_set_name": "OpenWebText2"
} | A south of the border blend of textures and flavors. serve hot as a main dish or a side dish with grilled meat or chicken. |
{
"pile_set_name": "PubMed Abstracts"
} | [Analysis of prodromal phase and prodromal events in anti-N-methyl-D-aspartate receptor encephalitis].
Objective: To analyze prodromal phase and prodromal events of anti-N-methyl-D-aspartate receptor (NMDAR) encephalitis. Methods: Clinical data of 179 patients hospitalized and diagnosed during 2010-2016 including adults and children in Peking Union Medical College Hospital and Beijing Children's Hospital were collected.Patients with prodromal phase or prodromal events were selected.A retrospective analysis of clinical characteristics including prodromal phase or prodromal events, course of disease, brain imaging, laboratory results and therapeutic effect was performed. Results: Prodromal phase was presented in 31.8% (57/179) of patients.Most common symptoms included fever (73.7%) and headache (68.4%). Prodromal phase was prolonged in 6 patients, the longest being 64 days.Among those 6 patients (10.5%), headache and fever were the only symptoms throughout disease courses in 3 cases.Prodromal events were reported in 6.1% (11/179) of patients, including 5 patients after HSV1 encephalitis, 1 after Japanese encephalitis, and 2 after resection of melanocytic nevi. Conclusions: Anti-NMDAR encephalitis can be preceded with prolonged prodromal phase.In some patients prodromal symptoms are the only clinical presentation.Clinical features of those atypical cases suggest that infection may be the precipitating factor.Viral encephalitis including HSV1 encephalitis and Japanese encephalitis may be prodromal events in some cases. |
{
"pile_set_name": "Github"
} | CREATE TABLE mrnaRefseq (
mrna varchar(40) NOT NULL default '',
refseq varchar(40) NOT NULL default '',
KEY mrna (mrna),
KEY refseq (refseq)
) TYPE=MyISAM;
|
{
"pile_set_name": "OpenWebText2"
} | Microsoftは、LTEを搭載しつつ、瞬時の起動や、長時間のバッテリー駆動も実現するWindows 10デバイスのことを「Always Connected PC(常時接続PC)」と呼び、今後の普及を狙っている。
同社がAlways Connected PCの構想を発表し、それを具現化する「Windows on Snapdragon」のプレビューをQualcommとともに行ったのは、今からちょうど1年前に開催されたCOMPUTEX TAIPEI 2017でのことだ。
そして、Snapdragon 835プロセッサを搭載した最初の対応デバイスが発表されたのは、さらに半年後。2017年12月に米ハワイ州マウイ島で開催されたQualcommのイベントにて、Windows on Snapdragonの正式ローンチを行い、ASUSとHPが対応デバイスを発表したのだった。
2017年12月に米ハワイ州マウイ島のQualcommのイベントで発表された「Windows on Snapdragon」デバイス
初のWindows on SnapdragonデバイスとなったHPの「HP Envy x2」は、2018年3月上旬になって出荷が始まり、現時点ではASUSの「NovaGo」、Lenovoの「Miix 630」も含めて、3機種のWindows on Snapdragonデバイスが存在する。しかし、欧米や中国以外での発売予定は明らかにされておらず、日本への提供計画などもいまだ不明とあって、既に多くの人々の意識からは消えかかっているようにも思える。
初めて市場投入されたWindows on Snapdragonデバイス、HPの「HP Envy x2」
こうした中、Windows on Snapdragonについては次の製品のウワサも聞こえてきた。
謎のSnapdragon搭載WindowsデバイスがGeekbenchに登場
現在提供されているWindows 10の最新バージョン「April 2018 Update(1803)」において、Arm系プロセッサでサポート対象となっているのはSnapdragon 835のみだ。これはMicrosoftが公開している「Windows 10対応プロセッサの一覧」で確認できる。
しかしドイツ語ブログサイトのWinFutureによれば、謎のQualcommプロセッサを搭載したLenovoの「Europa」という開発コード名の未発表デバイスが、ベンチマークテストアプリ「Geekbench」のスコアに現れたという。同デバイスはプロセッサコアの動作クロックが3GHz近くと高いことに加えて、スコア全体がSnapdragon 835搭載の現行モデルと比較して25〜50%ほど上昇している。
本来であれば、この手のスコアは発売直前まで公開されないことがほとんどだ。実際、筆者が前述したQualcommのイベントでSnapdragon 845のベンチマークテストを行った際には、スコアが外部に漏れないようアクセスが遮断されたネットワーク内でのテストとなった。
にもかかわらず、今回こうしたスコアがGeekbenchで見られるようになっている理由は不明だ。少なくともSnapdragon 835搭載ではない、何らかの後継プロセッサを搭載したテスト用PCが稼働している可能性が考えられる。WinFutureでは、後にこれがSnapdragon 845ではなく、その派生モデルの「Snapdragon 850」と推察している。
なお、今回の未発表デバイスが「Windows 10が対象とするプロセッサ外の環境で動作している」点を補足すると、これはQualcommが関連ドライバなどの必要なソフトウェアを用意できていれば問題ないと考える。
例えば、最近になりMicrosoftのWindows 10 Mobile搭載スマートフォン「Lumia 950 XL」上で「Windows 10 on Arm」を動作させるというハックが登場した。この場合のベースプロセッサは「Snapdragon 820」となるため、本来は動作要件を満たしていないが、必要な最低限の環境がそろっていれば問題ないということだろう。
1|2 次のページへ
Copyright © ITmedia, Inc. All Rights Reserved. |
{
"pile_set_name": "PubMed Abstracts"
} | Early changes in diaphragmatic function evaluated using ultrasound in cardiac surgery patients: a cohort study.
Little is known about the evolution of diaphragmatic function in the early post-cardiac surgery period. The main purpose of this work is to describe its evolution using ultrasound measurements of muscular excursion and thickening fraction (TF). Single-center prospective study of 79 consecutive uncomplicated elective cardiac surgery patients, using motion-mode during quiet unassisted breathing. Excursion and TF were measured sequentially for each patient [pre-operative (D1), 1 day (D2) and 5 days (D3) after surgery]. Pre-operative median for right and left hemidiaphragmatic excursions were 1.8 (IQR 1.6 to 2.1) cm and 1.7 (1.4 to 2.0) cm, respectively. Pre-operative median right and left thickening fractions were 28 (19 to 36) % and 33 (22 to 51) %, respectively. At D2, there was a reduction in both excursion (right: 1.5 (1.1 to 1.8) cm, p < 0.001, left: 1.5 (1.1 to 1.8), p = 0.003) and thickening fractions (right: 20 (15 to 34) %, p = 0.021, left: 24 (17 to 39) %, p = 0.002), followed by a return to pre-operative values at D3. A positive moderate correlation was found between excursion and thickening fraction (Spearman's rho 0.518 for right and 0.548 for left hemidiaphragm, p < 0.001). Interobserver reliability yielded a bias below 0.1 cm with limits of agreement (LOA) of ± 0.3 cm for excursion and - 2% with LOA of ± 21% for thickening fractions. After cardiac surgery, the evolution of diaphragmatic function is characterized by a transient impairment followed by a quick recovery. Although ultrasound diaphragmatic excursion and thickening fraction are correlated, excursion seems to be a more feasible and reproducible method in this population. |
{
"pile_set_name": "Pile-CC"
} | No Rating
th Train service runs along the Nile between Cairo and Aswan. Travel time to Luxor is around 3 hours on 1st/2nd class AC services. Five AC express services depart to Cairo each day, taking 13-14 hours (55LE 2nd class, 109LE 1st class), in addition to the Abela sleeper train (US$60, two trains each evening, one continuing to Alexandria) |
{
"pile_set_name": "Wikipedia (en)"
} | Alexander Kholminov
Alexander Nikolaevich Kolminov (Александр Николаевич Хо́лминов; 8 September 1925 — 26 November 2015), PAU, was a Soviet and Russian composer.
He is best known for the Soviet opera An Optimistic Tragedy based on the play of the same name by Vsevolod Vishnevsky. The role of the commissar was created by Anna Arkhipova.
Operas
An Optimistic Tragedy (Optimisticheskaya tragediya) 1965, after the play by Vishnevsky
Anna Snegina (1967), after the poem by Sergey Esenin
References
Category:1925 births
Category:Russian composers
Category:Russian male composers
Category:Place of birth missing
Category:2015 deaths |
{
"pile_set_name": "StackExchange"
} | Q:
Inconsistent visualization of numerical values in Excel 2007 vs the underlying xml file
I am attempting to read an Excel 2007 file (xlsx) from outside of Excel and I am finding an inconsistency that I cannot explain.
If you enter the value of 19.99 into a cell and then look at the underlying Xml document it is actually stored as 19.989999999999998. This is not the only value that does this, but it is a reasonable example. No formatting is applied in the sheet. In my example I just open a new Workbook, type in 19.99 in A1 and save the file.
I have attempted to open this simple example in both open office and Google docs and it shows 19.99 when the document is loaded.
My question is, how do I determine when to transform this value from 19.989999999999998 into 19.99 for use in other systems?
A:
The variation between the 19.99 you entered and the 19.989999999999998 stored is the floating point variation... there will typically always be a slight discrepancy between the binary representation of a float (used internally by Excel) and the decimal used for display (and storage in the xlsx file).
Even if you haven't explicitly assigned a format to the cells, Excel applies a default formatting of "@" or "General", which typically (for numerics) displays to 2dp, applying scientific if needed. If you look at the number formatting for that cell (whether using theMS Excel front-end, or by examining the xlsx file), you should find that it is actually set to the default.
|
{
"pile_set_name": "Pile-CC"
} | NCH Software Discount Codes January 2019
£22
Check out these exclusive NCH Software discount codes today. Most NCH Software Vouchers expire within a few days, so be sure to buy your favorite item and take a discount on your purchase. Limited time promotions and clearance sale at NCH Software.
New NCH Software promo codes: Download the MixPad Multitrack Recording Software at NCH Software and take advantage of this sound mixing software for audio and music production. Use this latest NCH Software coupon code right away! |
{
"pile_set_name": "StackExchange"
} | Q:
Is WCF appropriate for implementing legacy network services?
I use the term network services to refer to things such as NNTP, IMAP, POP3... things which have a defined protocol layered on top of TCP/IP.
I'm having a very difficult time figuring out how I can connect to an existing network service using a WCF client. I haven't found any examples other than ones that are basically using C#-ified socket code.
Can anyone refer me to any examples of using WCF to talk to a legacy service as something other than a glorified socket?
Is WCF even appropriate for this type of requirement?
Thanks.
A:
WCF comes with a set of standard bindings, here is a list of the bindings provided in 3.5:
http://msdn.microsoft.com/en-us/library/ms730879.aspx
If you need to use anything else, WCF is probably not the way to go. Even if you could build your own binding, the cost would outweigh the benefit.
If you have a requirement in your project that everything should use WCF, you could build a WCF facade over your sockets code.
|
Subsets and Splits