`
varsoft
  • 浏览: 2442849 次
  • 性别: Icon_minigender_1
  • 来自: 上海
文章分类
社区版块
存档分类
最新评论

房价和过山车

阅读更多
统计资料枯燥么?数据可视化枯燥么?模拟编程枯燥么?还是得看什么人做,怎么做了。下面的视频用第一视角的过山车运动来展现美国1890年以来的房价。想象无止境。 醉钢琴说幸福可遇不可求,充实可求不可遇。把“充实”换成“乐趣”也未尝不可。
P.S., 既然三表推荐的黑马神拼那么牛,输入法的黏性又高,谁都不愿放弃自己辛苦积累的自造词库,Google和sougo又急于用输入法抢占市场,干吗没人提供自动导入其它输入软件词库的功能呢?词库的反向工程没那么难吧?难道中国导入其它产品的文件是违法的?黑马神拼的例子:

黑马输入法:尝一脔肉,而知一镬之味
搜狗输入法:倡议乱肉,而至抑或职位

黑马输入法:车辚辚,马萧萧,行人弓箭各在腰
搜狗输入法:车琳琳,吗小小,行人弓箭搁在要

黑马输入法:人生自古谁无死,留取丹心照汗青
搜狗输入法:人生自古谁无死,留取丹心照汗青

黑马输入法:青青子衿,悠悠我心
搜狗输入法:青青子衿,悠悠我心

黑马输入法:我辈岂是蓬蒿人
搜狗输入法:我被歧视彭好人

黑马输入法:采采卷耳,不盈顷筐
搜狗输入法:踩踩卷二,不应情况

黑马输入法:山水横拖千里外,楼台高起五云中。园修日月光辉里,景夺文章造化功。
搜狗输入法:山水恒拖欠例外,楼台高企乌云中。原秀日月光辉里,经多文章造化工。

P.P.S, 知道太多或者知道太少都未必有害。值得得不多不少有时倒很危险,比如说DailyWTF(Worst than failure, 不是what the f*@#&,别想歪了哈)上某位对UNIX哲学推崇的老大用下面的语句求文件大小:
my$filesize=`wc-c$file|cut-c0-8|sed's///g'`;

其实呢,我们只需要 $filesize = -s $file

P.P.P.S, 什么叫表达能力强? 这个这么样?操作符===妙用无穷的说

planets=['Mercury‘,’Venus‘,’Earth‘,’Mars‘,’Jupiter‘,’Saturn‘,’Uranus‘,’Neptune']
dwarf_planets=['Ceres','Pluto','Eris']

casebody
when
*planets
puts
"#{body}isaplanet"
when
*dwarf_planets
puts
"#{body}isadwarfplanet"
end

这个呢?假如我们要在一个类里定义工厂方法,生成该类的一个空实例。下面的代码可以么?答案:如果A被某个子类继承,这个方法就失效了,因为A.new不包括子类的定义。不过既然Ruby是动态的,显然应该有优雅的解法:self.class

# 不好的方法
classA
defcreate_empty_instance
A.
new #=>
end
end
# 好的方法
class A
def create_empty_instance
self.class.new
end
end

P.P.P.P.S, 做人要低调。有论文为证:这里,还有这里。第一篇论文的结论是CEO得大奖变媒体宠儿社会明星后往往把大量精力投入抛投露面的活动中,而公司的业绩多半下降。第二篇论文的结论是CEO房子住得越豪华,公司效益越差。别的不知道,艾科卡盘活Chrysler后成天写书做讲座接受采访,Chrysler内部鸡飞狗跳却不闻不问,最后被董事会踢出公司。对明星光环无限向往的老大们,可以去逛逛www.thesuperficial.com,清醒一下。

第一篇论文的摘要:We find that the firms of CEOs who achieve "superstar" status via prestigious nationwide awards from the business press subsequently underperform beyond mere mean reversion, both relative to the overall market and relative to a sample of "hypothetical award winners" with matching firm and CEO characteristics. At the same time, award-winning CEOs extract significantly more compensation from their company following the award, both in absolute amounts and relative to other top executives in their firm. They also spend significantly more time and effort on public and private activities outside their company such as assuming board seats or writing books. The incidence of earnings management increases significantly after winning awards. Our results suggest that media-induced superstar culture leads to behavioral distortions beyond mere mean reversion. We also find that the effects are strongest in firms with weak corporate governance, suggesting that firms could prevent the negative consequences.

第二篇论文的摘要:We study real estate purchases by major company CEOs, compiling a database of the principal residences of nearly every top executive in the Standard & Poor's 500 index. When a CEO buys real estate, future company performance is inversely related to the CEO's liquidation of company shares and options for financing the transaction. We also find that, regardless of the source of finance, future company performance deteriorates when CEOs acquire extremely large or costly mansions and estates. We therefore interpret large home acquisitions as signals of CEO entrenchment. Our research also provides useful insights for calibrating utility based models of executive compensation and for understanding patterns of Veblenian conspicuous consumption.

总结:我注意力分散,NADD症状严重,已经无药可救。

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics