q龄大应该保?br id="dxk9">Q?0岁,30Q的资Q各U投资不过70Q;40岁,储蓄40Q,投资60Q;60岁,储蓄60Q,投资40Q?br id="ureq0">q个意见基本上和《奔奔族理胦》意见一_也很合理?br id="g:bq">
W一只基金去买货币基金?货币基金再怎么C不会有损?br id="zcfw">指数基金不推荐,因ؓ中国市场不够规范Q美国的市场基本上是有效的,但中国的市场恐怕连半有效市场都不是Q?br id="ucp:">新基金不是个好选择Q老牌基金公司下的老牌劲旅基金恐怕是一个好选择
- 首先取决于你的风险承受能力和你准备投资的q限Q先要确定投资甚么基金品U;
- 再确定是哪个公司的哪U基金。选择晨星评臛_4星以上的Q?/li>
- 不能以短旉雄;三个月,甚至半年以内的排位我认ؓ没有M意义?/li>
我采用的是一ơ性投入和定投l合的办法?br id="drsl">当我W一ơ把银行的存ƾ投入基金的时候,我基本采用的是一ơ性投入(实际上我是在较短的时间分Ҏ入的Q这样降低偶然涨跌媄响)?br id="drsl0">而后来每个月的结余工资是采用定投的方式来存养老金?br id="emxp0">嗯,定投是很合理的选择啊,虽然波段的诱惑很大。。?br id="g:bq0">
定投最大的好处实际上是心理上的?br id="f:rx">定投可以D你克服你的贪婪。这是一U强制性的非常有纪律性的投资方式Q别去考虑股市的涨跌,也不要试图抓住这U涨跌?br id="f:rx0">要注意严格的投资U律性在投资上是非常重要的?br id="f:rx1">
评h一个基金公司的好坏Q可以看他所有的基金的^均水q?br id="axat">主要参考某家基金公司所有品在晨星的评U,如果多数?星的基金品种Q说明这家基金公司整体水q不错?br id="sj3y">感觉和taobao上挑卖家差不多。。?br id="g:bq1">
一个模拟的例子说明定投收益最l好于一ơ性投?br id="fzj6">英文中定投称为dollar-cost averageҎ
如果你要长期投资Q按照普遍的认ؓQ大盘是长期向上的,在这个向上的势上有很多短期的L动。那定投实际上就是^滑了q种波动Q最后得C个^均效益?br id="qpuy">定投不是最好的长期投资ҎQ但如果你没有那么多资金q行一ơ性投资,例如你是从每个月的收入中提取一部分Q定投则是非常好的选择?br id="qpuy0">
无论市场是牛是熊q是_定投都是一个不错的办法Q这是我的观c?br id="qpuy2">
推荐Q?a id="p-y02" >基金投资入门pd贴汇怅R新手必诅R?q篇q没看完Q蛮pȝ的介l了入门Q这个以后回来重诅R。?br id="g_ed">另外提到的这入门脓Q重点看了里面介l?a title="货币基金" id="py7n">货币基金的部分。M货币基金是风险回报小Q基本可以用来代替存Ƅ东西?br id="g_ed0">
http://www.cairographics.org/download/
?a id="e0h6" >official GTK+ for Windows pageQ下载最新版?cairo"?libpng"?zlib"
解出libcairo-2.dll, libpng12.dll和zlib1.dllQ放到某目录中(如d:cairobinQ,这个目录加入系lPath
http://bbs.chinaunix.net/viewthread.php?tid=1162830
帖子讲的是PyGTK的安装,而且老了Q但提到很有用的信息Q?br id="umi8">
windows版的PyCairo要去gnome的ftp下,最新的1.4?br id="u_.k">?a title="cairo主页上找到的PyCairo" id="bwyt">cairo主页上找到的PyCairo 下蝲是源码包Q有个setup.pyQ但安装p|Q提C找不到cairo
http://www.cairographics.org/pycairo/
q行其中的example
Lockable
, TimedLockable
, Lockable
的基上加上了timeoutSharedLockable
, TimedLockable
基础上,允许shared ownershipQ同时也支持exclusiveQ?br id="fd4b">UpgradeLockable
, SharedLockable
基础上,允许upgradable ownershipQ同时也支持shared、exclusiveQ?br id="et:2">SharedLockable
concept: unlock()
, just as if it had been acquired by a call to lock()
.lock_guard
Lockable
objectunique_lock
lock_guard
复杂在:不仅提供RAII-style的lockQ还允许用户指定是否在ctor中立即lockQ意味着可以指定推迟lockQdefer acquiring the lockQ通过指定defer_lock_t参数Q,直到昑ּ调用其lock()ҎTimedLockable
conceptQ前提是需要lock的Lockable object本n支持boost::unique_lock
are not thread-safe...[注:q句没看懂。。。]shared_lock
upgrade_lock
upgrade_to_unique_lock
mutex
boost::mutex
实现?a id="lexp" class="link" title="Lockable Concept">Lockable
conceptQ提供exclusive-ownership mutex. boost::mutex
at any time. lock()
, try_lock()
and unlock()
shall be permitted.try_mutex
timed_mutex
recursive_mutex
recursive_try_mutex
recursive_timed_mutex
shared_mutex
wait
on an instance of condition_variable
or condition_variable_any
. When the thread is woken from the wait, then it checks to see if the appropriate condition is now true, and continues if so. If the condition is not true, then the thread then calls wait
again to resume waiting.(中文参?/a>)lock
is passed to wait()
Q?wait()
will atomically add the thread to the set of threads waiting on the condition variable, and unlock the mutex. When the thread is woken, the mutex will be locked again before the call to wait
returns. This allows other threads to acquire the mutex in order to update the shared data, and ensures that the data associated with the condition is correctly synchronized. In the mean time, another thread sets the condition to true
, and then calls either notify_one()
or notify_all()
on the condition variable to wake one waiting thread or all the waiting threads respectively.
boost::unique_lock<boost::mutex>cdQ?/span>
condition_variable一般更优化boost::thread对象?/code>get_id()Ҏ
Q或者在q行的thread中调?code id="tu3j" class="computeroutput">boost::this_thread::get_id()
Ҏ?br id="h8n3">