Thursday, December 8, 2011

Nice tool to manage group money: Scred

A few weeks ago I had a wonderful vacation with a group of friends. We shared expenses during the trip. And as you can imagine, dealing with the receipts and costs afterwards was a headache.
Fortunately, one friend introduced Scred , which is a web tool
for recording shared expenses and debts, tracking transactions, and providing pay back suggestions. We saved a lot of time and efforts by using this tool to get the pay back amounts. Then we sent payments via Amazon Payment or bank transfer.
Nice tool really worth to recommend!

Tuesday, November 1, 2011

Land Use Planning

Comprehensive Plan:

Comprehensive planning is a term used in the United States by land use planners to describe a process that determines community goals and aspirations in terms of community development. The outcome of comprehensive planning is the Comprehensive Plan which dictates public policy in terms of transportation, utilities, land use, recreation, and housing. Comprehensive plans typically encompass large geographical areas, a broad range of topics, and cover a long-term time horizon.

The components of a comprehensive plan may include Growth Trends, Growth Management Plan, Natural Areas Inventory, Long Range Transportation Plan, Housing Plan and Community Facilities, Environmental Resources Inventory, Hazard Mititgation Plan, Open Space/Greenways Plan, Water Resources Plan, Agricultural Land Protection Plan, the Economic Development Plan, and Historic Preservation Plan.

Sunday, July 31, 2011




Thank you for contacting us.如果有人写信来询问公司的服务,就可以使用

Thank you for your prompt reply.当一个客户或是同事很快就回复了你的邮
说,“Thank you for getting back to me.”

  Thank you for providing the requested information.如果你询问某人一些信息

Thank you for all your assistance.如果有人给了你特别的帮助,那一定要
感谢他们!如果你想对他们表示特别的感激,就用这个句子,“I truly appreciate
… your help in resolving the problem.”Thank you raising your concerns.

Thank you for your feedback.”



Thank you for your kind cooperation.如果你需要读者帮助你做某事,那就

Thank you for your attention to this matter.与以上的类似,本句包含了

Thank you for your understanding.如果你写到任何会对读者产生负面影响

Thank you for your consideration.如果您是在寻求机会或是福利,例如

Thank you again for everything you've done.这句句子可以用在结尾,


1. Greeting message 祝福

Hope you have a good trip back. 祝旅途愉快。

How are you? 你好吗?

How is the project going? 项目进行顺利吗?

2. Initiate a meeting 发起会议

I suggest we have a call tonight at 9:30pm (China Time) with you and Brown.
Please let me know if the time is okay for you and Ben.


I would like to hold a meeting in the afternoon about our development
planning for the project A.


We’d like to have the meeting on Thu Oct 30. Same time.


Let’s make a meeting next Monday at 5:30 PM SLC time.


I want to talk to you over the phone regarding issues about report
development and the XXX project.


3. Seeking for more information/feedbacks/suggestions 咨询信息/反馈/建议

Should you have any problem accessing the folders, please let me know.


Thank you and look forward to having your opinion on the estimation and


Look forward to your feedbacks and suggestions soon.


What is your opinion on the schedule and next steps we proposed?


What do you think about this?


Feel free to give your comments.


Any question, please don’t hesitate to let me know.


Any question, please let me know.


Please contact me if you have any questions.


Please let me know if you have any question on this.


Your comments and suggestions are welcome!


Please let me know what you think?


Do you have any idea about this?


It would be nice if you could provide a bit more information on the user’s


At your convenience, I would really appreciate you looking into this matter/


4. Give feedback 意见反馈

Please see comments below.


My answers are in blue below.


I add some comments to the document for your reference.

5. Attachment 附件

I enclose the evaluation report for your reference.


Attached please find today’s meeting notes.


Attach is the design document, please review it.


For other known issues related to individual features, please see attached
release notes.


6. Point listing 列表

Today we would like to finish following tasks by the end of today:1…….2…


Some known issues in this release:1…….2…….


Our team here reviewed the newest SCM policy and has following concerns:1…


Here are some more questions/issues for your team:1…….2…….


The current status is as following: 1……


目前数据如下: 1……


Some items need your attention:1…….2…….


7. Raise question 提出问题

I have some questions about the report XX-XXX


For the assignment ABC, I have the following questions:…


8. Proposal 提议

For the next step of platform implementation, I am proposing…


I suggest we can have a weekly project meeting over the phone call in the
near future.


Achievo team suggest to adopt option A to solve outstanding issue……


9. Thanks note 感谢信

Thank you so much for the cooperation感谢你的合作!

Thanks for the information


I really appreciate the effort you all made for this sudden and tight


Thank you for your attention!

Thanks to your attention!


Your kind assistance on this are very much appreciated.


Really appreciate your help!


10. Apology 道歉

I sincerely apologize for this misunderstanding!


I apologize for the late asking but we want to make sure the correctness of
our implementation ASAP.


Friday, July 15, 2011

Attractions in New York State

1) Carmel, NY, Putnam County
2) Train From Grand Central to Beacon NY DIA Museum and water front park

Wednesday, July 13, 2011

Export KML from Google Maps

You know, Google Maps support KML. It means much of the content you create or get in Google Maps can be exported to kml files and be viewed in Google Earth.
You can follow the following steps to get the kml file of a route generated in Google Maps.

(1) Left Click "Link" and copy
the link to the clipboard:

(2) Paste the link into the address bar and then ADD "&output=kml"at the end of the original link.
Press "Enter". You will see a pop up window asking you if you want to "Open" or "Save" the kml file.

Wednesday, June 15, 2011

FW: Investing Books

1) The Intelligent Investor

This is perhaps the most important and influential book ever written about value investing. Originally published in 1934 by Ben Graham, this work has been heralded by such notable investors as Warren Buffett as "the best investing book ever written". In it, Graham presents two types of investing styles - one for every day people who don't want to think about their portfolios ("defensive") and the business man or woman who wants to enjoy maximum returns ("enterprising").

Friday, May 6, 2011

Fileseach Method not available in Office 2007!

Can you believe that?! Application.FileSearch in Excel and Access 2003 has been hidden in Office 2007!!
I hate Microsoft not only because they keep sending updates, patches, and forcing customers to upgrade (to me it's downgrade) Windows version, but also because they make easy things difficult to do!
Microsoft is evil.... stamped... again.

Monday, May 2, 2011

FW: Funny Leave of Absence Letters

I will be a little late in Tuesday morning. My ferret broke his tooth Saturday night and the vet was closed yesterday and today. I need to call the vet tomorrow when they open at 7 to see when I can bring him in.

#1 downside to owning cats in an apartment with carpet: Cleaning up after cats in an apartment with carpet.I am running late, on the road now though!

I tweaked my back yesterday while working in the yard and am paying the price this morning. I'll be in the office after noon today, but please contact me on my mobile for anything urgent.

I am not feeling well and just paid my homage to the porcelain god just moments ago….. going home now.

Insomnia, headache have combined to take me out. I'll be in later, probably by 11 if I feel better.

I am growing tired of getting sick. I'm out today. No, it's not the swine flu. Sore throat + lack of voice.

Almost made it to work today when I got a call from the folks saying they had a slight leak in the bathroom and that if I could come by and look at it that would be great. Got there and waters all over the bathroom. Killed the main at the front, cleanup the water, cut into the wall and found the line for the shower has 4 inch gash in it. Off to the Depot now for parts, brother should be in with in the hour to help with the new drywall/ hardy. Basically looks like it's going to be a really bad Friday. See y'all Monday.

car woes. Dealing with a finicky car this morning. I shall arrive late this morning.

Tuesday, March 29, 2011

FW: What Not to Say

What Not to Say About Someone's Appearance

Don’t say: “You look tired.”
Why: It implies she doesn’t look good.
Instead say: “Is everything OK?” We often blurt the “tired” comment when we get the sense that the other person feels out of sorts. So just ask.

Don’t say: “Wow, you’ve lost a ton of weight!”
Why: To a newly trim person, it might give the impression that she used to look unattractive.
Instead say: “You look fantastic.” And leave it at that. If you’re curious about how she got so svelte, add, “What’s your secret?”

Don’t say: “You look good for your age.”
Why: Anything with a caveat like this is rude. It's saying, "You look great?compared with other old people. It's amazing you have all your own teeth."
Instead say: “You look great.”

Don’t say: “I could never wear that.”
Why: It can be misunderstood as a criticism. (“I could never wear that because it’s so ugly.”)
Instead say: “You look so good in skinny jeans.” If you slip, say something like “I could never wear that…because I wasn’t blessed with your long legs.

What Not to Say in the Workplace

Don’t say: “That’s not my job.”
Why: If your superior asks you to do something, it is your job.
Instead say: “I’m not sure that should be my priority right now.” Then have a conversation with your boss about your responsibilities.

Don’t say: “This might sound stupid, but…”
Why: Never undermine your ideas by prefacing your remarks with wishy-washy language.
Instead say: "What’s on your mind." It reinforces your credibility to present your ideas with confidence.

Don’t say: “I don’t have time to talk to you.”
Why: It’s plain rude, in person or on the phone.
Instead say: “I’m just finishing something up right now. Can I come by when I’m done?” Graciously explain why you can’t talk now, and suggest catching up at an appointed time later. Let phone calls go to voice mail until you can give callers your undivided attention.

What Not to Say During a Job Interview

Don’t say: “My current boss is horrendous.”
Why: It’s unprofessional. Your interviewer might wonder when you’d start bad-mouthing her. For all you know, she and your current boss are old pals.
Instead say: “I’m ready for a new challenge” or a similarly positive remark.

Don’t say: “Do you think I’d fit in here?”
Why: You’re the interviewee, not the interviewer.
Instead say: “What do you enjoy about working here?” By all means ask questions, but prepare ones that demonstrate your genuine interest in the company.

Don’t say: “What are the hours like?” or “What’s the vacation policy?”
Why: You want to be seen as someone who focuses on getting the job done.
Instead say: “What’s the day-to-day like here?” Then, if you’ve really jumped through every hoop and time off still hasn’t been mentioned, say, “Can you tell me about the compensation and benefits package?”

Tuesday, March 15, 2011

Periodically Import XML Data into Excel

This is a VBA app (run in Excel 2007) that I developed to automatically import online XML data into a Excel file every 1 minute.
Here is the download link
XML Data Importer

KML Circle Generator

This is a VBA app (run in Excel 2007) to generate a LineString path that looks like a circle in KML file. You can download the app from the following link:
KML Circle Generator

Many thanks to the author of the online KML Circle Generator for sharing the source code. For some reason the above online tool that I have used for over one year isn't working now:(


Thursday, March 3, 2011

No Function MOD(a,b) in VBA

Can you believe that in VBA you cannot call MOD(a,b) function although it works fine in Excel cells??!
Well, you can use the operator a MOD b if both a and b are integer numbers.
But there is no direct MOD function in VBA because VBA 2003 does not support MOD (number, dividor) as a WorksheetFunction.
Therefore, I have to write the following function:

Function fmod(a As Double, b As Double)
fmod = a - b * (a \ b)
End Function

Don't assume those funcstions are exactly the same!

If you see functions sharing the same name in different programming environments, don't jump to a conclusion that they are exactly the same!
Today it took me a lot of time to find a bug in a VBA macro. I just didn't understand why the function atan2(a,b) cannot return the correct answer.
After carefully reading the description of this function in the Microsoft Visual Basic Help, I realized that I mistakenly assumed that the atan2() in VBA (worksheet functions) is the same as the atan2() in c++. I was wrong!!

In Excel Developer Reference:
returns the arctangent of the specified x and y coordinates.

In C++ Developer Reference:
C Library, cmath (math.h)
     double atan2 (      double y,      double x );
long double atan2 ( long double y, long double x );
float atan2 ( float y, float x );
y: Floating point value representing an y-coordinate.
x: Floating point value representing an x-coordinate


See?! The meanings of the first and the second parameters in C++ are switched in VBA!!

Sunday, February 27, 2011

Return License Plates When Moving out of State

There are a lot of things that you have to do when you relocate to another state.
In addition to change your driver license and get new title and registration of your car, don't forget to check if you need to return license plates and cancel registration when you move out of state.

Each state maintains different requirements regarding license plates. Some mandate that you must return license plates along with a registration cancellation notice. Others require no notification from the registered owner. See this link for state-by-state information.

If you live in a state that does not require surrendering your plates, you're free to keep them as souvenirs. If you don't plan on keeping them, be sure to protect yourself against possible identity theft or criminal involvement by disposing of properly.


Maryland law requires you to return your license plates to the MVA
when your vehicle's insurance is cancelled, when you move out of Maryland, or when you no longer need the license plates. Under certain circumstances you may be eligible for a partial refund of your registration fee.

More information can be found on this web page.

Wednesday, February 23, 2011

Learning Oral English

What are you trying to say?(你到底想说什么?)
Don't be silly.(别胡闹了。)
How strong are your glasses?(你近视多少度?)
Just because.(没有别的原因。)
It isn't the way I hoped it would be.(这不是我所盼望的。)
You will never guess.(你永远猜不到。)
No one could do anything about it.(众人对此束手无措。)
I saw something deeply disturbing.(深感事情不妙。)
Money is a good servant but a bad master.(要做金钱的主人,莫做金钱的奴隶。

I am not available.(我正忙着)
Wisdom in the mind is better than money in the hand.(脑中的知识比手中的金钱
Never say's a piece of cake.别泄气,那只是小菜一碟。
Don't'll get use to it soon.别担心,很快你就会习惯的。
I konw how you feel.我明白你的感受。
You win lose some.胜败乃兵家常事。
Don't bury your head in the sand.不要逃避现实。
I didn't expect you to such a good job.我没想到你干得这么好。
You are coming alone well.你做得挺顺利。
She is well-build.她的身材真棒。
You look neat and fresh.你看起来很清纯。
You have a beautiful personality.你的气质很好。
You flatter me immensely.你过奖啦。
You should be slow to judge others.你不应该随意评论别人。
I hope you will excuse me if i make any mistake.如有任何错误,请你原谅
It was most careless ofme.我太粗心了。
It was quite by accident.真是始料不及。
I wish i had all the time i'd ever wasted,so i could waste it all over again
I like you the way you were.我喜欢你以前的样子。
You two go ahead to the movie without me,i don't want to be a third wheel.你
Do you have anyone in mind?你有心上人吗?
How long have you known her?你认识她多久了?
It was love at frist sight.一见钟情
I'd bettle hit the books.我要复习功课啦。
a piece of one's mind .直言不讳
He gave me a piece of mind,"Don't shift responsibility onto others."他责备道
a cat and dog life 水火不容的生活
The husband and his wife are always quarrelling,and they are leading a cat
and dog life.这对夫妇老是吵架,相互之间水火不容。
a dog's life 潦倒的生活
The man lived a dog's life.这个人生活潦倒。 
A to Z 从头至尾
I know that from A to Z. 我很了解这件事。
above somebody 深奥
Well,this sort of talk is above me.我不懂你们在讲什么。
all ears 全神贯注地倾听着
When you tell Mary some gossip,she is all ears.跟Mary讲一些小道消息,她会听
all the more 更加,益发
You'll be all the better for a holiday.度一次假,对你会更有好处。
all dressed up 打扮得整整齐齐
She is all dressed up and nowhere to go.她打扮得整整齐却无处炫耀。
all in all 总的说来;最心爱的东西
The daughter is all in all to him.女儿是他的无价宝。
all out 竭尽全力
They went all out.他们鼓足了干劲。
all over 全部结束;浑身,到处
Glad,it is all over.这事全部结束了,好得很。
I'm wet all over.我浑身都湿了。
all set 准备就绪
He is all set for an early morning start.他已做好清晨出发的一切准备。
all you have to do 需要做得是
All you have to do is to calm yourself down and wait for the good news.你需
as easy as falling of a log /as easy as snapping your fingers /as easy as
ABC 容易得很
To me,a good story teller,it would be as easy as falling of a log.
as busy as a bee 非常忙
Mum is always as busy as a bee in the moring.妈妈每天早上都忙得不可开交。
at one's fingertips 了如指掌
How to get at that little island is at his fingertips.他知道怎么去那个小岛。
at one's wit's end 智穷
Don't ask him.It is also at his wit's end.不要问他了,他也不知道。
big shot 大人物,大亨
He is a big shot in our little town.
black sheep 败家子,害群之马
Every family has a black sheep.家家有本难念的经。
black and blue 遍体鳞伤
The thief was caught of red-handed and beaten black and blue.那个小偷当场被
black and white 白纸黑字
The proof is in black and white and the murderer has no any excuses.证据确凿
blind alley 死胡同
You are heading into a blind alley.你正在钻牛角尖。
blow hot and cold 摇摆不定
This guy seemed to have no own idea.He always blew hot and cold.这家伙好象没
blow one's own trumpet 自吹自擂
Don't blow your own tumpet.Let us see what on earth you can do.不要自吹自擂
born with a silver in one's mouth 出生在富贵人家
He is born with a silver in one's mouth.他是含着金钥匙出生的。
bland new 崭新的
a bland new coat 新衣服
break the ice 打破沉默
The couple hadn't spoken to each other for a week.They were both waiting for
the other one to break the ice.这对夫妇已经一个星期没说过话了。两人都在等另
by a blow 无意中的一击
He is beaten to the ground by a blow.他被击到在地。
can't stand it any longer 不能再忍受了
I can't stand it any longer,I quit.我再也忍受不了了,我走。
carry something too far 过火了
You are carrying your joke too far.你玩笑开得太过分了。
castle in the sky 海市蜃楼
You plan is nearly a castle in the sky.你的计划简直就是空想。
cats got one's tongue 哑口无言
chain smoker 老烟枪
come up with 产生,想出
Let me come up with some ideas.让我想一想。
come easily 容易
Languages come easily to some people.有些人能够很容易地掌握语言。
cup of tea 喜欢
Movies are not my cup of tea.我不喜欢看电影。
cut it out 停止,住嘴
Cut it out!I can't stand you any longer.
call it a day 不再做下去,停止(某种活动)
Let us call it a day,stop.这一天工作够了,停工吧! dark horse 黑马
Nobody considered that John would win the game.He was a dark horse in the
dear John letter 绝交信
Jack received a dear John letter from his girlfriend because he had broken
her heart.
do somone good 对某人有好处
Having some moring exercises does you good.
Do you get me? 你明白我的意思吗?
doesn't count 这次不算
It doesn't count this time,try again.
doesn't make sense 不懂;没有任何意义
The sentence you made doesn't make any sense to me.
down and out 穷困潦倒
Being down and out,he couldn't support his family.
drive at 用意,意欲
What's he driving at?他用意何在?
drop in 偶然拜访
I dropped him in on my way to the hospital.
drop me a line 写信给我
On arriving the University,please drop me a line.
early bird 早起的人
An early bird catchs worms。捷足先登
easy come easy go 来得快去得也快
eat my words 收回前言,认错道歉
I said something bad to my mum.Although I want to eat my words back, it didn
't work,for I had hurt my mum's feeling.
face the music 直面困难
He knew he'd never get away with it so he decided to face the music and give
himself up to the police.他知道自己不可能逃脱,因此决定一人做事一人当——向
face up to 勇敢地面对某事
You must learn to face up to your responsibilities.
fed up 厌倦
I am rather fed up with your complaints.
feel free to do something 不要拘束
Please feel free to make suggestions.
few and far between 很少,稀少
Human beings are few and far between in this zone.
French leave 不辞而别
give me a headache 让人头痛
The naughty boy gave me a headache.
give me a hand 帮我一下
go Dutch AA制
God bless you 上帝保佑你
God bless you with your examinations.
God knows 天知道
Got it? 明白了吗?
green thumbs /fingers 园艺技能
hands are full 非常忙
have a ball 勇敢
have had it 受够了
I have had it with all your excuses.我受够了你的借口。
hold water 站得住脚
Non of his arguements seem to hold water.
in every sense of word 在某种意义上说
It's a lie in every sense of word.这是不折不扣的谎言。
keep an eye on 提高警惕
kill time打发时间
lazy bones 懒骨头
Get up lazy bones!
leave it to me 让我来吧
leave me alone 别管我 
like father like son 有其父必有其子
like it or not 不管你喜不喜欢
make a fool of oneself 愚弄某人
make a big money 赚大钱
make both ends need 收支平衡
We have to cut our expenses to make both ends need.
make waves 引起轰动;兴风作浪
His achievement made waves in his country.
make yourself at home 别拘束
no good 没有好结果
Bad mam comes to no good.
no kidding 不要开玩笑
none of your bussiness 不关你的事
not really 也不是……
old hand 老手
He is an old hand at stealing.
old story 老一套
I am tired of it,same old story.
on one's word of honor 以某人的人格担保
on occasion 间或
of one's own accord 自愿地
packed like sardins 拥挤
During the holidays,people in the trains are packed like sardins.
pass away 去世
pay the price 付出代价
You are playing with the fire and you must pay the poice one day.
put up with 忍受
I cann't put up with your rudeness any more;leave my room.
red-letter day 重要的或值得纪念的日子
red tape 繁文缛节
red carpet 红地毯
run into 偶遇
I ran into an old friend in the shop yesterday.
run out of 用尽,缺少
Quick,quick,we are running out of time.
show up 炫耀
small potatos 小人物
so what? 那怎么样呢?
stand up for 忍受
suit one's taste 对某人的胃口
sunday dress 最好的衣服
sure thing 十有把握的事
take one's time 尽情玩
Take your time and enjoy it.
take the words out of one's mouth 说出某人想说得话
that's it 就是
that is really something 太好了
there is nothing I can do 我什么都不能做
there you go 这边请
there is nothing wrong with me 我没事
under the table 死底下,秘密地
under the weather 身体不适
what's going on 怎么了
what a man 多勇敢的人啊
walking dictionary 活字典
what is up 近来可好
Hi,I haven't seen you for a long time,what's up?
world class 一流的

Tuesday, February 22, 2011

How to split a polygon by an overlapping line feature

Here is a tip to split a polygon by an overlapping line feature. I have tested it in ArcMap 9.3 and it works.

· Select the polygon.

· Set the task to Cut Polygon Features.

· Click the Sketch tool.

· Right-click the line and click Replace Sketch. This lets you see the line's vertices and segments as an edit sketch.

· Finish the sketch (you can press F2 so you don't inadvertently add more segments to the sketch when you finish it). The polygon is split where the line crosses it.

Monday, February 7, 2011

FW: How to spruce up your English

Proper use of adverbs can separate your speech or writing from others. Here are some examples:
1) Improving your English is easier than you think.
Better: Improving your English is incredibly easy.
2) Michelle speaks good English.
Better: Michelle speaks English perfectly/fluently.
3) I was surprised that the driver was not hurt in the accident.
Better: Miraculously the driver escaped the carnage unharmed.
Astonishingly the driver was able to escape injury.


An adverb is a word used to modify verbs, adjectives, and other adverbs. Adverbs are like the seasoning in sentences. They help describe how things appear and how things happen. They help a reader see action in his mind's eye and paint pictures with words. Adverbs help you control what others see when you speak or write. Many adverbs end in "ly," but don't think that all adverbs end in "ly" or that all words that end in "ly" are adverbs.

Adverbs are one of the necessary components to good writing. When used correctly, they can add a whole dimension to your work.


List of Adverbs that you can use in writing or speaking:

absurdly 荒谬地

admittedly 无可否认地

astonishingly 令人惊讶地

certainly 的确

coincidentally 碰巧

curiously 奇怪的是

definitely 肯定地

evidently 明显地

financially 经济上说

frankly 坦率地说

fortunately 幸运地,辛亏

honestly 说真的

hopefully 但愿,我希望

in my opinion 在我看来

indeed 是真的

incredibly 极其,比想象更(好,坏,容易,等等)

interestingly 有趣地,值得一提的是

ironically 正话反说,出乎意料之外

luckily 幸亏

miraculously 不可思议地,奇迹似的

more importantly 更重要的是

mysteriously 令人费解

naturally 自然地,不用说

superficially 表面上看

surprisingly 令人惊讶地

technically 严格意义上说

theoretically 在理论上说

unexpectedly 出乎意料地

undeniably 无可否认地


Wednesday, January 5, 2011

Seek for Fundings


Other Government Agencies
Non-Profit Organization
All Hazards Consortium (AHC)

How to write grant proposal
Sample grant proposal

Request For Proposal (RFP)

Other Government Agencies
Non-Profit Organization