Wednesday, January 1, 2020

和老外交流经典口语600句

和老外交流经典口语600句 http://edu.sina.com.cn/en/2008-08-29/145243698.shtml

Count me on 算上我
Do l have to 非做不可吗?
He is my age. 他和我同岁
It's her field. 这是她的本行
Give me a hand! 帮帮我
How's it going? 怎么样?
I'll see to it 我会留意的。
I don't mean it. 我不是故意的
I'll fix you Up. 我会帮你打点的
What a good deal! 真便宜!
Make up your mind. 做个决定吧。
What day is today? 今天星期几?
Don't be so modest. 别谦虚了。
Don't give me that! 少来这套!
He always talks big. 他总是吹牛。
Time is running out. 没时间了。
Clothes make the man. 人要衣装。
Love me,love my dog. (谚语)爱屋及乌。
My mouth is watering. 我要流口水了。
That's always the case. 习以为常了。
You are a chicken. 你是个胆小鬼
Let bygones be bygones. 过去的,就让它过去吧。
Which would you prefer? 你要选哪个?
I felt no regret for it.
I'm fed up with my work!
All for one,one for all. 我为人人,人人为我。
East,west,home is best. 金窝,银窝,不如自己的草
I'll just play it by ear. 我到时随机应变。窝
Money is not everything. 金钱不是一切。
What's your goal in life 你的人生目标是什么?
Don't dream away your time. 不要虚度光阴。
A lost chance never returns. 错过的机会永不再来。
Don't let this get you down. 不要为此灰心丧气。
I was alone,but not lonely. 我独自一人,但并不觉得寂寞。
My brother is see king a job. 我弟弟正在找工作。
Opportunity knocks but once. 机不可失,时不再来
You really look sharp today. 你今天真漂亮。
Everything has its beginning. 凡事都有开端。
I've got to start working out. 我必须开始做健身运动了。

They charged the fault on him. 他们把过失归咎于他。

Desperate housewives

upscale I performed my chores.
it was her ability to look on the bright side.
stroller hectic Hispanic buffet clog cereal predatory
They tell her that she didn't need to go through so much trouble, and she says that it was no trouble at all. macaroni But sometimes, people pretend to be one way on the outside, when they're totally different on the inside.
Oh, you mean like how dad's girlfriend is always smiling and says nice things, but deep down, you just know she's a bitch?
We all have moments of desperation. But if we face them head on, that's when we find out just how strong we really are.
Mrs. Huber finds Lynette as she's breast feeding her infant.
good news travels quickly.
Apologize now, I am begging you.
I don't want to wake up one morning with a sudden urge to blow my brains out.

DH4

We think of the past as water under the bridge, a curent that carries away the mistakes of our youth--the loves we lost...the addictions we gave into...the opportunities we threwed away...but sooner or later reminders drift back into our lives...of the mistakes we made...and the sins we committed.

Friends Season 8 01

Friends Season 8
01.
1. Joey: Ah. (To Chandler) Slow swimmers? (Chandler looks at him.)
Joey means Chandler's sperm is slow so Monica is not pregnant.
2. Phoebe: Yes, I…I am with child. (Flash) And I didn’t want to say anything because it’s your day; I didn’t want to steal your thunder.
to do what someone else was going to do before they do it, especially if this takes success or praise away from them
Sandy stole my thunder when she announced that she was pregnant two days before I'd planned to tell people about my pregnancy.
3. Rachel: Oh, thank you for doing that. I just can’t deal with this just quite yet.
completely [usually in negatives] completely:
I don’t quite understand the problem.
The drawing’s not quite right.
They’re doing a great job, but they haven’t quite finished.
“Are you ready??“Not quite.?
4. Rachel: You said that she was, I just didn’t disagree with you.
    Phoebe: Sneaky.
doing or saying things secretly, often in a dishonest or unfair way. This word shows that you dislike people and behavior like this:
That was pretty sneaky of you!
5. Oh guess what, Molly Gilbert you’ve just been bumped up to table one.
AMERICAN to move someone to a better position or job:
We were bumped up to first class when two seats became available.
6. Monica: …in this day and age how dumb do you have to be to get pregnant?
INFORMAL stupid:
She’s so dumb she can’t even figure out her answering machine.
7. Monica: Well, there’s a lot to think about. I mean, how is she, how is she going to handle this financially? How is she going to juggle work?
[T] informal to succeed in arranging your life so that you have time to involve yourself in two or more different activities or groups of people
Many parents find it hard to juggle children and a career.
8. about poor, knocked-up Phoebe.
Pregnant, SLANG: You don't want to get knocked up by some guy you hardly know.
9. I wasn't farting!
to release gas from the bowels through the bottom
10. See, for the first time I didn’t want you to be embarrassed to be seen on the dance floor with some clumsy idiot.
describes someone who often has accidents because they do not behave in a careful, controlled way
That's the third glass you've smashed this week - you're so clumsy!
11. Joey: Tell me about it, I feel like I’m holding down the fort all by myself.
hold down the fort:
to be responsible for something while the person usually responsible for it is not there
She's holding the fort while the manager's on holiday.
12. Chandler: Bravo Dennis thanks for pleasing my mother so.
used to express your pleasure when someone, especially a performer, has done something well
13. Phoebe: I’m-I’m just saying, don’t freak out until you’re a hundred percent sure.
to become or cause someone to become extremely emotional
14. Chandler: But you’re not just a soap actor. You are a soap actor with freakishly tiny feet.
very unusual or unexpected, especially in an unpleasant or strange way
Freakish weather conditions have caused massive traffic hold-ups in the area.

15. Vocabulary
bathrobe botanist hottie

16. The sentences
What size shoes do you wear?|- Eleven.
My shoes are giving me a problem.|Can I borrow your boots?
She's gonna raise it on her own.





Friends note

Do I dare ask?
We don't have as much money as you.
It was pretty much sucked.
Here's your bill. Let me get there.
He's just adorable.
I have no morals and I need the cash.
It's like I'm looking in a mirror.
How do you say this in English?
Sorry but I am tied up all day tomorrow.
I am not 100% fluent, but at least I am improving.
The price is too high/ rather low.
The car is speeding. Or “The car is going too fast.”
This is easier said than done.
Spotter Safety: Your Number One Priority.

You don't need to fill these silences.

It's pretty much the gist.

Season 8 02
Chandler: Not the disposable cameras from the tables.
How about I take the real pictures and get them developed right now.
Monica: You kissed another woman!
Chandler: Call it even?!
Ross: Hey! How you doing?
Tag: Good! Good, long time no see.

Ross: Yeah.

Season 8 03
Chandler: Hey! Babe! Aren’t you excited we’re going on our honeymoon?
Monica: That’s right. Get it out of your system while we’re alone.
get something out of your system:
informal to do something that helps you get rid of unpleasant strong feelings
I was furious, so I went for a run to get it out of my system.
Monica: Yeah, but I’m the only one related by blood.
Rachel: Ross, there is no pressure on you. Okay? I mean you can as involved as you want. (Ross nods.)
Mr. Treeger: Namaste. (Bows.)
namaste:(印度)合十礼
used for greeting someone with respect, especially when you put your hands together in a movement which is called a namaskar
Ross: Nothing. But the complaint department at the condom company got an earful. And then when I turned around she was gone.
earful:
a lot of talk from someone, especially someone who is angry or complaining
Phoebe: Hey! So how was the doctor?
Rachel: Oh, everything went great.

Monday, December 30, 2019

English sentences

I've worked hard to make this book as good as I can, but I have no illusions that it's perfect.

But what a man is looking for a woman can be very different from what a woman is looking for in a man.
The saying goes, a woman wants one man to satisfy her every need; a man wants every woman to satisfy his one need.

In American English, the title "Miss" used for single women has become a bit outdated, especially with professional women. "Ms." (pronounced miz) is a safe bet in any situation. It's neutral and doesn't indicate whether the woman is married or not. If the woman prefers "Miss" or "Mrs." (pronounced misiz), she'll probably tell you.
-from Global English
Don't overreact! It's not the end of the world.

Early to bed and early to rise makes a man healthy, wealthy and wise.
I accept all those flaws, why can't you accept me for this?
You ruffled his feathers when you asked him about his income.
She felt put off by his personal questions.
Did you catch the new engineer's name?
I think he needs to use more finesse in certain situations.
Every day I work,I bust my ass so my family can live well.
So I guess what I'm trying to say is that I'm very thankful that all of your Thanksgivings sucked.
You now have a good understanding of... But make sure you don't get complacent.

Have you both got over the jet-lag?
Obviously this is not my call any longer, but it's my 2 cents worth.
marinara


Be confident, be proud of what we’ve achieved together at XXX, but be prepared to change.
The journey is only beginning.

I'll let him know if anything comes up.

English Tips:
1. But the German chancellor Angela Merkel said Berlin needed to be certain that Greece was serious about spending cuts.
2. The precondition however is that Greece will accept an ambitious austerity program so that the trust of the financial  markets can be restored.
3. The British prime minister Golden Brown has said sorry to a woman he had been called on microphone describing as “bigoted” during Campaigning for General election.
4. They highlight a vast gulf between the Prime minister’s behavior and attitude in public and in private. Warm, attentive and concerned on camera, angry dismissive and disdainful when off it.
5. Coroner  concluded that Mrs. McQueen hanged himself after taking a mixture of cocaine tranquilizers and sleeping pills. 
6. The first offshore wind farm in the United States has won government approval after years of opposition from environmentalists and indigenous tribes.


the government ususally covers everyting up, including mental health problems within China.
Yes. You can blame in on corruption, the government or whatever else you would like to.
Most often than not, the widespread corruption goes unnoticed and unpunished.

Triggers for the attacks have included pent-up grivevances over lost jobs, business failures, broken relationships, and a new home that officals had ordered torn down.

China devotes hundred thousand officials to control internet's content. The real question behind this is: why China try to control the internet content so much? what do they want people 
not to know? Is it about China or the foreigner countries?

This was the sixth attack on schoolchildren in China since March -- a succession of attacks that had already prompted calls for more security at schools and worries about social malaise 
that some see underneath China's rapid economic growth.


My thoughts about the school attack
The succession of bloody assaults on schools shocks me heavily. It is belived that triggers for the attacks have included pent-up grivevances over lost jobs, business failures, broken relationships,
and a new home that officals had ordered torn down. The attacks prompted worries about social malaise that some see underneath China's rapid economic growth.



Thursday, December 19, 2019

MongoDB in Action Note 2

MongoDB in Action Note
1.
Indexes in MongoDB are implemented as a B-tree data structure.
With MongoDB, you can create up to 64 indexes per collection. The kinds of
indexes supported include all the ones you’d find in an RDMBS; ascending, descending,
unique, compound-key, hashed, text, and even geospatial indexes4 are supported.
2.
mongoexport and mongoimport—Export and import JSON, CSV, and TSV7 data;
3.
db.users.insert({username: "smith"})
db.users.find()
db.users.find({username: "jones"})
db.users.find().pretty()
db.users.count()
db.users.update({username: "smith"}, {$set: {country: "Canada"}})   --OPERATOR UPDATE
db.users.update({username: "smith"}, {country: "Canada"})           --REPLACEMENT UPDATE
db.foo.remove()
db.users.remove({"favorites.cities": "Cheyenne"})
db.users.drop()
4.
> help
> db.help()
$ mongo --help
5.
> for(i = 0; i < 20000; i++) {
db.numbers.save({num: i});
}
db.numbers.find( {num: {"$gt": 20, "$lt": 25 }} )
db.numbers.find({num: {"$gt": 19995}}).explain("executionStats")
db.numbers.createIndex({num: 1})
db.numbers.getIndexes()
db.numbers.find({num: {"$gt": 19995 }}).explain("executionStats")
> db.stats() (wraps db.runCommand( {dbstats: 1} ) )
you can execute the parentheses-less version and see the internals:
> db.runCommand
6.
In addition to the size limit, MongoDB allows you to specify a maximum number
of documents for a capped collection with the max parameter.
MongoDB also allows you to expire documents from a collection after a certain
amount of time has passed. These are sometimes called time-to-live (TTL) collections.
7.
BSON specifies three numeric types: double, int, and long.
The BSON datetime type is used to store temporal values. Time values are represented
using a signed 64-bit integer marking milliseconds since the Unix epoch.
if you’re creating dates in JavaScript, keep in mind that months in JavaScript dates are 0-based.
8.
db.stockdata.find({code: "SH600050"}).skip(3490).limit(3).sort({'date':1}).pretty()
MongoDB allows you to query using regular expressions
db.users.find({'last_name': /^Ba/})
db.users.find({'first_name': "Smith", birth_year: 1975})
db.reviews.find({
'user_id': ObjectId("4c4b1476238d3b4dd5000001"),
'$where': "(this.rating * .92) > 3"
})
9.
Projections:
db.users.find({}, {'username': 1}) --returns user documents excluding all but two fields: the username and the _id field
db.users.find({}, {'addresses': 0, 'payment_methods': 0})  --returns user documents including all exclude the two fields
To return the first 12 reviews,
or the last 5, you’d use $slice like this:
db.products.find({}, {'reviews': {$slice: 12}})
db.products.find({}, {'reviews': {$slice: -5}})
10.
Aggregation pipeline operations include the following:
$project—Specify fields to be placed in the output document (projected).
$match—Select documents to be processed, similar to find().
$limit—Limit the number of documents to be passed to the next step.
$skip—Skip a specified number of documents.
$unwind—Expand an array, generating one output document for each array entry.
$group—Group documents by a specified key.
$sort—Sort documents.
$out—Write the results of the pipeline to a collection
$redact—Control access to certain data
11.
db.stockdata.aggregate([{$group:{_id:'$code',count:{$sum:1}}}]);
db.stockdata.aggregate([
{$match:{'code':/^SH/}},
{$group:{_id:'$code',count:{$sum:1}}}
]);
db.stockdata.aggregate([
{$match:{'code':/^SH/}},
{$group:{
_id:'$code',
average:{$avg:'$close'},
count:{$sum:1}
}}
]);
db.stockdata.aggregate([
{$match:{'code':/^SH/}},
{$group:{
_id:'$code',
average:{$avg:'$close'},
count:{$sum:1}
}}
]).forEach(function(doc){
var category = db.stockdata.findOne({code:doc._id});
if(category!=null){
doc.code = category.code;
}
else{
doc.code = 'not found';
}
db.mainStockData.insert(doc);
});