Protocol Buffers使用
I Have a Dream
On August 28, 1963, some 100 years after President Abraham Lincoln signed the Emancipation Proclamation freeing the slaves, a young man named Martin Luther King climbed the marble steps of the Lincoln Memorial in Washington, D.C. to describe his vision of America. More than 200,000 people-black and white-came to listen. They came by plane, by car, by bus, by train, and by foot. They came to Washington to demand equal rights for black people. And the dream that they heard on the steps of the Monument became the dream of a generation.
As far as black Americans were concerned, the nation’s response to Brown was agonizingly slow, and neither state legislatures nor the Congress seemed willing to help their cause along. Finally, President John F. Kennedy recognized that only a strong civil rights bill would put teeth into the drive to secure equal protection of the laws for African Americans. On June 11, 1963, he proposed such a bill to Congress, asking for legislation that would provide “the kind of equality of treatment which we would want for ourselves.” Southern representatives in Congress managed to block the bill in committee, and civil rights leaders sought some way to build political momentum behind the measure.
A. Philip Randolph, a labor leader and longtime civil rights activist, called for a massive march on Washington to dramatize the issue. He welcomed the participation of white groups as well as black in order to demonstrate the multiracial backing for civil rights. The various elements of the civil rights movement, many of which had been wary of one another, agreed to participate. The National Association for the Advancement of Colored People, the Congress of Racial Equality, the Southern Christian Leadership Conference, the Student Non-violent Coordinating Committee and the Urban League all managed to bury their differences and work together. The leaders even agreed to tone down the rhetoric of some of the more militant activists for the sake of unity, and they worked closely with the Kennedy administration, which hoped the march would, in fact, lead to passage of the civil rights bill.
Tcpdump使用
简介
tcpdump是一个命令行数据包分析、抓取工具
可以使用 -D 标志来列出可用于捕获的接口
1 | $ tcpdump -D |
可以使用 -i 标志指定要捕获的接口,指定 any 作为接口将从所有活动接口捕获
1 | $ tcpdump -i any |
可以使用 -v 标志来调整tcpdump输出中的详细程度
1 | $ tcpdump -i any -v (Verbose output) |
The Pragmatic Programmer
The Pragmatic Programmer Quick Reference Guide
关心你的技艺
Care About Your Craft
如果你不在乎能否漂亮地开发出软件,你又为何要耗费生命去开发软件呢?思考!你的工作
Think!About Your Work
关掉自动驾驶,接管操作,不断地批评和评估你的工作提供各种选择,不要找蹩脚的借口
Provide Options, Don’t Make Lame Excuses
要提供各种选择,而不是找借口,不要说事情做不到,说明能够做什么不要容忍破窗户
Don’t Live with Broken Windows
当你看到糟糕的设计、错误的决策和糟糕的代码时,修正它们做变化的催化剂
Be a Catalyst for Change
你不能强迫人们改变。相反,要向他们展示未来可能会怎样,并帮助他们参与对未来的创造记住大图景
Remember the Big Picture
不要太过专注于细节,已忘了查看周围正在发生什么
Kafka Quickstart
1. GET KAFKA
Download the latest Kafka release and extract it:
1 | $ tar -xzf kafka_2.13-3.2.1.tgz |
2.START THE KAFKA ENVIRONMENT
NOTE: Your local environment must have Java 8+ installed.
Run the following commands in order to start all services in the correct order:
1 | # Start the ZooKeeper service |
Open another terminal session and run:
1 | # Start the Kafka broker service |
Once all services have successfully launched, you will have a basic Kafka environment running and ready to use.
Kafka Introduction
1. What is event streaming?
Event streaming is the digital equivalent of the human body’s central nervous system. It is the technological foundation for the ‘always-on’ world where businesses are increasingly software-defined and automated, and where the user of software is more software.
事件流是人体中枢神经系统的数字等效物。它是”永远在线”世界的技术基础,在这个世界中,企业越来越多地由软件定义和自动化,并且软件的用户更多地是软件。
Technically speaking, event streaming is the practice of capturing data in real-time from event sources like databases, sensors, mobile devices, cloud services, and software applications in the form of streams of events; storing these event streams durably for later retrieval; manipulating, processing, and reacting to the event streams in real-time as well as retrospectively; and routing the event streams to different destination technologies as needed. Event streaming thus ensures a continuous flow and interpretation of data so that the right information is at the right place, at the right time.
从技术上讲,事件流是从事件源(如数据库、传感器、移动设备、云服务和软件应用程序)以事件流的形式实时捕获数据的实践;持久存储这些事件流以供以后检索;实时和回顾性地操作、处理和响应事件流;并根据需要将事件流路由到不同的目标技术。因此,事件流确保了数据的连续流动和解释,以便正确的信息在正确的时间出现在正确的位置。
LeetCode Online Judge
进度

Github
https://github.com/eazow/leetcode
作者
版本
0.3.0.0
Lesson 49 Through the Tunnel
He put on his goggles, fitted them tight, tested the vacuum. His hands were shaking. Then he chose the biggest stone he could carry and slipped over the edge of the rock until half of him was in the cool, enclosing water and half in the hot sun. He looked up once at the empty sky, filled his lungs once, twice, and then sank fast to the bottom with the stone. He let it go and began to count. He took the edges of the hole in his hands and drew himself into it, wriggling his shoulders in sideways as he remembered he must, kicking himself along with his feet.
Soon he was clear inside. He was in a small rock-bound hole filled with yellowish-gray water. The water was pushing him up against the roof. The roof was sharp and pained his back. He pulled himself along with his hands — fast, fast — and used his legs as levers. His head knocked against something; a sharp pain dizzied him. Fifty, fifty-one, fifty-two… He was without light, and the water seemed to press upon him with the weight of rock. Seventy-one, seventy-two… There was no strain on his lungs. He felt like an inflated balloon, his lungs were so light and easy, but his head was pulsing.
He was being continually pressed against the sharp roof, which felt slimy as well as sharp. Again he thought of octopuses, and wondered if the tunnel might be filled with weed that could tangle him. He gave himself a panicky, convulsive kick forward, ducked his head, and swam. His feet and hands moved freely, as if in open water. The hole must have widened out. He thought he must be swimming fast, and he was frightened of banging his head if the tunnel narrowed.
A hundred, a hundred and one… The water paled. Victory filled him. His lungs were beginning to hurt. A few more strokes and he would be out. He was counting wildly; he said a hundred and fifteen and then, a long time later, a hundred and fifteen again. The water was a clear jewel-green all around him. Then he saw, above his head, a crack running up through the rock. Sunlight was falling through it, showing the clean dark rock of the tunnel, a single mussel shell, and darkness ahead.
He was at the end of what he could do. He looked up at the crack as if it were filled with air and not water, as if he could put his mouth to it to draw in air. A hundred and fifteen, he heard himself say inside his head — but he had said that long ago. He must go on into the blackness ahead, or he would drown. His head was swelling, his lungs cracking. A hundred and fifteen, a hundred and fifteen pounded through his head, and he feebly clutched at rocks in the dark, pulling himself forward, leaving the brief space of sunlit water behind. He felt he was dying. He was no longer quite conscious. He struggled on in the darkness between lapses into unconsciousness. An immense, swelling pain filled his head, and then the darkness cracked with an explosion of green light. His hands, groping forward, met nothing; and his feet, kicking back, propelled him out into the open sea.
📝 文章大意
(本文节选自多丽丝·莱辛的短篇小说《穿过隧道》。)小男孩杰里戴好潜水镜,抱着一块大石头沉到海底,开始计数,然后钻进礁石下的洞里。洞里又窄又暗,水把他往尖利、滑腻的洞顶上挤,他撞了头,想到章鱼和缠人的海草,心里发慌。洞变宽后他游得快了些,数到一百时水色变亮,他以为胜利在望,但肺开始疼了。他看到头顶岩缝中透下的阳光,可前面仍是一片黑暗。他已到了极限,脑子里反复数着”一百一十五”,抓着岩石往前爬,几乎失去知觉。就在他觉得快要死去时,黑暗中迸出一片绿光,他的双手触不到东西了,双脚一蹬,便冲进了开阔的大海。
📚 核心单词
| 单词 | 音标 | 词性 | 含义 | 文中用法 |
|---|---|---|---|---|
| goggles | /ˈɡɒɡlz/ | n. | 护目镜,潜水镜 | put on his goggles |
| vacuum | /ˈvækjuːm/ | n. | 真空 | tested the vacuum |
| enclosing | /ɪnˈkləʊzɪŋ/ | adj. | 包围的 | the cool, enclosing water |
| wriggle | /ˈrɪɡl/ | v. | 扭动 | wriggling his shoulders in |
| lever | /ˈliːvə(r)/ | n. | 杠杆 | used his legs as levers |
| dizzy | /ˈdɪzi/ | v. | 使头晕 | a sharp pain dizzied him |
| strain | /streɪn/ | n. | 压力,负担 | no strain on his lungs |
| inflated | /ɪnˈfleɪtɪd/ | adj. | 充了气的 | an inflated balloon |
| pulse | /pʌls/ | v. | 搏动 | his head was pulsing |
| slimy | /ˈslaɪmi/ | adj. | 黏滑的 | felt slimy as well as sharp |
| octopus | /ˈɒktəpəs/ | n. | 章鱼 | thought of octopuses |
| tangle | /ˈtæŋɡl/ | v. | 缠住 | weed that could tangle him |
| panicky | /ˈpæniki/ | adj. | 惊慌的 | a panicky, convulsive kick |
| convulsive | /kənˈvʌlsɪv/ | adj. | 痉挛的,抽搐的 | a convulsive kick |
| duck | /dʌk/ | v. | 低下(头) | ducked his head |
| pale | /peɪl/ | v. | 变淡,变亮 | The water paled |
| mussel | /ˈmʌsl/ | n. | 贻贝 | a single mussel shell |
| swell | /swel/ | v. | 肿胀 | His head was swelling |
| feebly | /ˈfiːbli/ | adv. | 虚弱地 | feebly clutched at rocks |
| clutch | /klʌtʃ/ | v. | 抓住 | clutched at rocks |
| lapse | /læps/ | n. | 陷入(某种状态) | lapses into unconsciousness |
| grope | /ɡrəʊp/ | v. | 摸索 | his hands, groping forward |
| propel | /prəˈpel/ | v. | 推动 | propelled him out into the open sea |
📖 难句解析
1. Then he chose the biggest stone he could carry and slipped over the edge of the rock until half of him was in the cool, enclosing water and half in the hot sun.
the biggest stone (that) he could carry是省略关系代词的定语从句slip over= 滑过half of him was in ... and half (was) in ...后半句省略了 of him was,冷水和烈日形成对照- 译: 然后他挑了一块他能抱得动的最大的石头,从岩石边上滑下去,直到他半个身子浸在凉爽的、包围着他的海水里,另一半露在火热的阳光下。
2. He took the edges of the hole in his hands and drew himself into it, wriggling his shoulders in sideways as he remembered he must, kicking himself along with his feet.
draw oneself into= 把自己拉进wriggling ...和kicking ...是两个现在分词短语作伴随状语,描写连续动作as he remembered he must= 正像他记得自己必须做的那样,must 后面省略了 wriggle his shoulders in sidewayskick oneself along= 用脚蹬着往前- 译: 他双手抓住洞口边缘,把身子拉进洞里,记着要侧着身子扭动肩膀钻进去,同时用脚蹬着往前游。
3. He pulled himself along with his hands — fast, fast — and used his legs as levers.
- 破折号之间的
fast, fast是插入语,表现他心里的催促 use sth as= 把……当作……来用- 译: 他用双手拉着自己往前——快,快——把两条腿当作杠杆来用。
4. He was without light, and the water seemed to press upon him with the weight of rock.
be without= 没有press upon= 压在……上;with the weight of rock= 像岩石那样沉重,夸张地写出水压- 译: 他周围没有一丝光亮,海水好像以岩石般的重量压在他身上。
5. He felt like an inflated balloon, his lungs were so light and easy, but his head was pulsing.
feel like= 感觉像his lungs were so light and easy相当于原因状语,解释为什么感觉像气球- 译: 他觉得自己就像一只充了气的气球,肺部轻松自在,可是脑袋却在突突直跳。
6. He was being continually pressed against the sharp roof, which felt slimy as well as sharp.
was being pressed是过去进行时的被动语态,强调当时一直被压着which引导非限制性定语从句修饰 roof;A as well as B= 不仅 B 而且 A- 译: 他被不停地挤压在锋利的洞顶上,洞顶不仅锋利,而且黏滑。
7. Again he thought of octopuses, and wondered if the tunnel might be filled with weed that could tangle him.
wonder if= 想知道是否that could tangle him是定语从句修饰 weed- 译: 他又一次想到了章鱼,想知道隧道里会不会长满了可能缠住他的海草。
8. He thought he must be swimming fast, and he was frightened of banging his head if the tunnel narrowed.
must be doing= 一定正在做,表示对正在发生的事的肯定推测be frightened of doing= 害怕做- 译: 他想自己一定游得很快,他担心万一隧道变窄,自己的脑袋会撞上去。
9. He was counting wildly; he said a hundred and fifteen and then, a long time later, a hundred and fifteen again.
wildly= 发狂地,表现他心慌意乱a long time later是插入语,两次都数到 115,说明他已经神志不清,失去了时间感- 译: 他发疯似的数着数,数到一百一十五,然后,过了好长一段时间,又数到一百一十五。
10. Sunlight was falling through it, showing the clean dark rock of the tunnel, a single mussel shell, and darkness ahead.
it指上一句的 crack(岩缝)showing ...是现在分词短语作结果状语,宾语有三个并列成分- 译: 阳光从缝隙中照进来,照出了隧道中干净的黑色岩石、一只孤零零的贻贝壳和前方的一片黑暗。
11. He looked up at the crack as if it were filled with air and not water, as if he could put his mouth to it to draw in air.
- 两个
as if从句并列,用虚拟语气,表示与事实相反的想象 draw in air= 吸气- 译: 他仰望着那条裂缝,仿佛里面充满的是空气而不是水,仿佛他能把嘴凑上去吸气。
12. A hundred and fifteen, he heard himself say inside his head — but he had said that long ago.
hear oneself say= 听到自己说,say 是省略 to 的不定式had said是过去完成时,表示在”听到”之前早就说过了- 译: 一百一十五,他听到自己在脑子里说——可是他很早以前就已经数到过这个数了。
13. He must go on into the blackness ahead, or he would drown.
must这里表示必须or= 否则- 译: 他必须继续往前游进黑暗,否则就会淹死。
14. His head was swelling, his lungs cracking.
- 后半句省略了 were:
his lungs (were) cracking,两个分句对称,节奏急促 - 译: 他的头在胀大,他的肺就要炸裂了。
15. A hundred and fifteen, a hundred and fifteen pounded through his head, and he feebly clutched at rocks in the dark, pulling himself forward, leaving the brief space of sunlit water behind.
- 前半句的主语是
A hundred and fifteen, a hundred and fifteen这个数字本身,pound = 猛烈撞击 clutch at= 抓住pulling ...和leaving ...是两个现在分词短语作伴随状语leave sth behind= 把……留在身后- 译: “一百一十五,一百一十五”在他脑子里轰响,他在黑暗中无力地抓着岩石,拉着身子往前,把那一小段有阳光照射的水域抛在了身后。
16. He struggled on in the darkness between lapses into unconsciousness.
struggle on= 挣扎着继续lapse into= 陷入(某种状态);between lapses into unconsciousness= 在一阵阵昏迷的间隙- 译: 他在黑暗中挣扎着往前游,时而失去知觉。
17. An immense, swelling pain filled his head, and then the darkness cracked with an explosion of green light.
the darkness cracked是比喻:黑暗被打破with an explosion of green light= 伴随着绿光的迸发,指他终于看到了出口外的海水- 译: 一阵剧烈的、不断加剧的疼痛充满了他的头部,接着黑暗被一道迸发的绿光打破了。
18. His hands, groping forward, met nothing; and his feet, kicking back, propelled him out into the open sea.
- 两个分句结构对称:主语 + 现在分词短语 + 谓语
groping forward和kicking back都是现在分词作定语或伴随状语met nothing= 什么也没碰到,说明已经出了隧道- 译: 他的双手向前摸索,什么也没摸到;他的双脚向后一蹬,便把他推进了开阔的大海。
Lesson 48 Planning a share portfolio
How does the older investor differ in his approach to investment from the younger investor?
There is no shortage of tipsters around offering “get-rich-quick” opportunities. But if you are a serious private investor, leave the Las Vegas mentality to those with money to fritter. The serious investor needs a proper “portfolio“ - a well-planned selection of investments, with a definite structure and a clear aim. But exactly how does a newcomer to the stock market go about achieving that?
Well, if you go to five reputable stockbrokers and ask them what you should do with your money, you’re likely to get five different answers — even if you give all the relevant information about your age, family, finances and what you want from your investments. Moral? There is no one “right” way to structure a portfolio. However, there are undoubtedly some wrong ways, and you can be sure that none of our five advisers would have suggested sinking all (or perhaps any) of your money into Periwigs*.
So what should you do? We’ll assume that you have sorted out the basics — like mortgages, pensions, insurance and access to sufficient cash reserves. You should then establish your own individual aims. These are partly a matter of personal circumstances, partly a matter of psychology.
For instance, if you are older you have less time to recover from any major losses, and you may well wish to boost your pension income. So preserving your capital and generating extra income are your main priorities. In this case, you’d probably construct a portfolio with some shares (but not high risk ones), along with gilts, cash deposits, and perhaps convertibles or the income shares of split capital investment trusts.
If you are younger, and in a solid financial position, you may decide to take an aggressive approach — but only if you’re blessed with a sanguine disposition and won’t suffer sleepless nights over share prices. If you recognize yourself in this description, you might include a couple of heady growth stocks in your portfolio, alongside your more pedestrian investments. Once you have decided on your investment aims, you can then decide where to put your money. The golden rule here is “spread your risk” — if you put all of your money into Periwigs International, you’re setting yourself up as a hostage to fortune.
“Periwigs” is the name of a fictitious company.
📝 文章大意
到处都有人兜售”快速致富”的门路,但严肃的私人投资者不应抱着赌徒心态,而应建立一个结构明确、目标清晰的”投资组合”。问五个经纪人会得到五种不同的答案,可见组合并没有唯一”正确”的建法,但错误的建法肯定有,比如把钱全押在一家公司上。在处理好房贷、养老金、保险和现金储备等基本问题之后,你要根据个人情况和心理特点确定投资目标。年纪大的人没有时间从重大损失中恢复,应以保本和增加收入为主,选择风险不高的股票、金边债券、现金存款等;年轻、财务稳健、心态乐观的人可以积极一些,在稳健投资之外加入几只高增长股票。确定目标之后再决定投资方向,黄金法则是”分散风险”。
标题问题的答案:年长的投资者以保本和增加收入为主,选择低风险的投资;年轻的投资者如果财务状况稳健、心态乐观,可以采取激进的投资方式,加入高增长股票。
📚 核心单词
| 单词 | 音标 | 词性 | 含义 | 文中用法 |
|---|---|---|---|---|
| portfolio | /pɔːtˈfəʊliəʊ/ | n. | 投资组合 | a share portfolio |
| tipster | /ˈtɪpstə(r)/ | n. | 提供内幕消息的人 | no shortage of tipsters |
| mentality | /menˈtæləti/ | n. | 心态,思维方式 | the Las Vegas mentality |
| fritter | /ˈfrɪtə(r)/ | v. | 浪费(钱、时间) | money to fritter |
| reputable | /ˈrepjətəbl/ | adj. | 声誉好的 | five reputable stockbrokers |
| stockbroker | /ˈstɒkbrəʊkə(r)/ | n. | 股票经纪人 | five reputable stockbrokers |
| sink | /sɪŋk/ | v. | 把(钱)投入 | sinking all of your money into |
| mortgage | /ˈmɔːɡɪdʒ/ | n. | 抵押贷款,房贷 | mortgages, pensions |
| pension | /ˈpenʃn/ | n. | 养老金 | boost your pension income |
| reserve | /rɪˈzɜːv/ | n. | 储备 | sufficient cash reserves |
| boost | /buːst/ | v. | 提高,增加 | boost your pension income |
| capital | /ˈkæpɪtl/ | n. | 资本,本金 | preserving your capital |
| priority | /praɪˈɒrəti/ | n. | 优先考虑的事 | your main priorities |
| gilt | /ɡɪlt/ | n. | 金边债券(英国政府债券) | along with gilts |
| deposit | /dɪˈpɒzɪt/ | n. | 存款 | cash deposits |
| convertible | /kənˈvɜːtəbl/ | n. | 可转换债券 | perhaps convertibles |
| trust | /trʌst/ | n. | 信托(投资)公司 | investment trusts |
| aggressive | /əˈɡresɪv/ | adj. | 积极进取的,激进的 | an aggressive approach |
| sanguine | /ˈsæŋɡwɪn/ | adj. | 乐观的 | a sanguine disposition |
| disposition | /ˌdɪspəˈzɪʃn/ | n. | 性情 | a sanguine disposition |
| heady | /ˈhedi/ | adj. | 令人兴奋的;冒失的 | heady growth stocks |
| pedestrian | /pəˈdestriən/ | adj. | 平淡的,普通的 | more pedestrian investments |
| hostage | /ˈhɒstɪdʒ/ | n. | 人质 | a hostage to fortune |
| fictitious | /fɪkˈtɪʃəs/ | adj. | 虚构的 | a fictitious company |
📖 难句解析
1. There is no shortage of tipsters around offering “get-rich-quick” opportunities.
There is no shortage of= 不缺少,有的是around= 在周围,到处offering ...是现在分词短语,修饰 tipsters- 译: 到处都有人在提供”快速致富”的门路。
2. But if you are a serious private investor, leave the Las Vegas mentality to those with money to fritter.
the Las Vegas mentality= 拉斯维加斯心态,即赌徒心态leave sth to sb= 把某事留给某人money to fritter= 可以挥霍的钱,to fritter 是不定式作定语- 译: 但是,如果你是一个严肃的私人投资者,那就把赌徒心态留给那些有钱可挥霍的人吧。
3. The serious investor needs a proper “portfolio” - a well-planned selection of investments, with a definite structure and a clear aim.
- 破折号后是 portfolio 的同位语,解释什么是投资组合
with a definite structure and a clear aim是介词短语,修饰 selection- 译: 严肃的投资者需要一个合适的”投资组合”,即一套经过精心策划的、结构明确、目标清晰的投资选择。
4. But exactly how does a newcomer to the stock market go about achieving that?
exactly放在疑问词前加强语气:到底go about doing= 着手做,开始做- 译: 但是,一个股市新手到底该怎么去做呢?
5. Well, if you go to five reputable stockbrokers and ask them what you should do with your money, you’re likely to get five different answers — even if you give all the relevant information about your age, family, finances and what you want from your investments.
ask them what ...中 what 引导宾语从句,ask 带双宾语be likely to do= 很可能even if= 即使;about的宾语有四个并列成分,最后一个是宾语从句what you want ...- 译: 如果你去找五个声誉很好的股票经纪人,问他们该怎样用你的钱,你很可能得到五种不同的答案——即使你把自己的年龄、家庭、财务状况以及想从投资中得到什么等相关信息都告诉了他们。
6. Moral? There is no one “right” way to structure a portfolio.
Moral?是自问自答,= What is the moral?;moral = 寓意,教训no one "right" way= 没有唯一”正确”的方法,one 是”唯一的”- 译: 结论是什么?建立投资组合没有唯一”正确”的方法。
7. However, there are undoubtedly some wrong ways, and you can be sure that none of our five advisers would have suggested sinking all (or perhaps any) of your money into Periwigs.
you can be sure that ...= 你可以肯定……would have suggested是对过去的虚拟推测:(如果问他们的话)都不会建议sink money into= 把钱投入(往往是有风险的事情)all (or perhaps any)补充:全部投入,甚至哪怕只投一部分- 译: 但是,错误的方法肯定是有的。你可以肯定,那五位顾问中没有一个人会建议你把所有的钱(或许甚至是任何一笔钱)投入”假发”公司。
8. These are partly a matter of personal circumstances, partly a matter of psychology.
partly ..., partly ...= 部分是……,部分是……a matter of= ……的问题- 译: 这些目标一部分取决于个人的情况,一部分取决于个人的心理。
9. For instance, if you are older you have less time to recover from any major losses, and you may well wish to boost your pension income.
recover from= 从……中恢复may well= 很可能- 译: 例如,如果你年纪较大,就没有多少时间从重大损失中恢复过来,你可能很希望增加养老金收入。
10. In this case, you’d probably construct a portfolio with some shares (but not high risk ones), along with gilts, cash deposits, and perhaps convertibles or the income shares of split capital investment trusts.
along with= 连同,和……一起split capital investment trusts= 分割资本投资信托,将投资者分为收入股和资本股两类- 译: 在这种情况下,你可能会建立这样一个投资组合:一些股票(但不是高风险股),再加上金边债券、现金存款,也许还有可转换债券或者分割资本投资信托公司的收入股。
11. If you are younger, and in a solid financial position, you may decide to take an aggressive approach — but only if you’re blessed with a sanguine disposition and won’t suffer sleepless nights over share prices.
and (you are) in a solid financial position省略了 you arebut only if= 但前提是be blessed with= 有幸拥有suffer sleepless nights over= 因……而失眠- 译: 如果你比较年轻,财务状况良好,你可能会决定采取积极进取的投资方式——但前提是你天生性格乐观,不会因为股票价格而夜不能寐。
12. If you recognize yourself in this description, you might include a couple of heady growth stocks in your portfolio, alongside your more pedestrian investments.
recognize yourself in this description= 认为这样的描述符合你的情况heady growth stocks= 增长迅速、令人兴奋的股票alongside= 与……一起;pedestrian本义”行人”,作形容词意为平淡、乏味- 译: 如果你认为自己符合上述情况,你可以在比较平稳的投资之外,再选择两只增长迅速的股票加入你的投资组合。
13. The golden rule here is “spread your risk” — if you put all of your money into Periwigs International, you’re setting yourself up as a hostage to fortune.
the golden rule= 黄金法则set oneself up as= 使自己成为a hostage to fortune= 命运的人质,指把命运交给运气,承受可能出现的损失- 译: 这里的黄金法则是”分散风险”——如果你把所有的钱都投入”国际假发公司”,那你就把自己的命运交给了运气。