博客搬家到BuyVM VPS

Posted by 冰河 at 01:07 8 Responses » 21,112 Views
032012

折腾独立博客除了内容外就是域名、主机和程序了。

域名从icyhe.com换成了binghe.org;程序从emlog换成了wordpress;主机从免费主机到美国主机再到北京BGP多线机房,最终搬到了国外的VPS。VPS是前几天BuyVM放货的时候抢到的,没想着搬,本打算VPS当SSH&VPN主机用,博客继续使用北京BGP多线机房,毕竟速度快还不用备案而且空间9月才到期。但是2012.4.2发生了一件不愉快的事导致博客被停掉。本来以为是技术问题,后来咨询下发现对方态度很恶劣,坚持让我搬走。空间都用了2年了,既然人家话都说到那份上,我也没再辩驳。

之前在123Systems买的128MB内存VPS使用lnmp.org的一键安装包死活通不过,但是在BuyVM上却出奇的顺利。于是修改域名A记录,绑定域名,上传文件&恢复数据库,一气呵成。

现在博客已经能访问了,欢迎大家批评指正~~~

UPDATE1:貌似出现好几次502了。看来内存确实不够用。

UPDATE2:把修改php-cgi的进程数由默认的5改成了3,貌似内存剩余40MB,之前是负十几MB。修改方法:

vi /usr/local/php/etc/php-fpm.conf

<valuename=”max_children”>3</value>

UPDATE3:vsftpd安装有点问题,程序是装上了,但是service没配置好。可以使用yum install vsftpd覆盖安装解决。

博客再次长草

Posted by 冰河 at 16:20 4 Responses » 8,124 Views
262011

实习项目任务重,再加上各种找工作。

等工作定下来再维护吧。

PR从0升到3

Posted by 冰河 at 23:02 32 Responses » 32,053 Views
272011

很久不关注博客的PR了。在博赚恋吧看到PR更新了,就顺手查了查,发现www.binghe.org的PR居然从0升到了3。

从2009年11月开始写博客,那时用的域名是iotax.net,没过多久赶上PR更新,一个新域名居然从0升到了2。

2010年3月的时候换了新域名icyhe.com,并将iotax.net做了跳转,后来PR再次更新,新域名PR也变成了2。

2010年10月的时候注册了binghe.org,一直沿用至今。icyhe.com也做了跳转,但是binghe.org的PR一直是0,现在又赶上PR更新,居然升到了3。

自从进了IBM实习以来,博客更新就不规律了,但尽量坚持更新,别荒废了。

博客以技术、学术和编程为主,较少涉及个人情感。欢迎同类的高质量博客交换友链。

ISP北京联通投放广告弹窗

Posted by 冰河 at 17:59 7 Responses » 26,304 Views
052011

租的房子里用的联通宽带,最近打开网站经常出现弹窗,还以为是网站自身投放的呢。

今天上校内发现居然也出现了弹窗广告,真悲剧,人人网不可能干这事吧。用Adblock plus添加了过滤规则:

||61.172.192.88/10102605//media/*

去网上一搜这个IP,发现有人遇到类似的问题:

莫明其妙的广告,原来如此!

北京联通 4 61.172.192.88

唉,原来是ISP运营商加入的广告。至于嘛,还在乎这点钱~~~

这要是在国外,不被告破产才怪呢。

真鄙视联通。

百度又点我的博客了

Posted by 冰河 at 09:47 16 Responses » 17,055 Views
十一 092010

话说前一段时间在百度site我以前的域名icyhe.com一个结果都没有。不知道是我博客里的内容百度哪点不喜欢,但是事实就是百度把我的域名K了。

上个月换了新域名binghe.org,用Google网站管理员工具进行了域名更变,Google很快收录了我。但是百度依旧是不收录,可能是新站吧。我原来的百度联盟广告也不能用了。唉。今天在cnzz上看到有来自百度的流量,惊喜之余site了一下,发现百度收录了!但是我觉得百度收录可能只是因为我是新站。K掉应该是早晚的事,毕竟内容又没换。不禁感慨百度的技术确实不如Google。附截图,大家自己看吧。

Continue reading »

正式启用新域名binghe.org

Posted by 冰河 at 22:59 10 Responses » 11,191 Views
122010

其实一直想使用binghe的域名,无奈binghe.com、net、org和cn都被人注册了。后来想注册icehe域名,可是icehe.com和net同样被人注册了。于是注册了icyhe.com。今天无意查询whois,发现binghe.org未被注册,于是在Godaddy没有优惠的情况下,花了7.67$注册了这个域名。

接下来就是更换域名了。

首先按照原来域名的设置对新域名进行解析。因为两个域名绑定在同一空间,所以没有转移任何博客文件,只是修改了博客设置,然后用如下SQL语句将数据库中的链接进行了替换:

//把emlog_blog表里content,即全文的字段内容为icyhe.com的全部改为binghe.org。

update emlog_blog set content=REPLACE(content,’icyhe.com’,'binghe.org’)

//把emlog_blog表里excerpt,即摘要的字段内容为icyhe.com的全部改为binghe.org。

update emlog_blog set excerpt=REPLACE(excerpt,’icyhe.com’,'binghe.org’)

然后根据Google管理员工具的提示,对原有的域名进行301重定向。

RewriteEngine on
RewriteCond %{HTTP_HOST} ^icyhe.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.icyhe.com$
RewriteRule ^(.*)$ http://www.binghe.org/$1 [R=301,L]

最后就是通知友情博客更新友情链接了,这是一个繁琐的苦力活。

最后不免唠叨几句:好域名都让猪拱了。上面几个被人占的域名,不是在域名投资商手里,就是个人闲置着。好像只有icehe.net在用。

122010

在http://blankcn.com/life/google-pen-test.html看到的,据说是Google2011校招笔试题。题目是这样的:

现在北京有一套房子,价格200万,假设房价每年上涨10%,一个软件工程师每年固定能赚40万。如果他想买这套房子,不贷款,不涨工资,没有其他收入,每年不吃不喝不消费,那么他需要几年才能攒够钱买这套房子?
A, 5年
B, 7年
C, 8年
D, 9年
E, 永远买不起

Continue reading »

Ubuntu各版本动物代号

Posted by 冰河 at 14:00 2 Responses » 10,622 Views
192010

众所周知的,Ubuntu版本的命名规则是根据正式版发行的年月命名,Ubuntu 10.04 也就意味着2010年04月发行。除此之外,每个版本的 Ubuntu 还有一个用 2 个英文单词组成的开发代号,比如现在 Ubuntu 10.04 为 Lucid Lynx (清醒的猞猁) ,即将在 10 月发布的 10.10 为 Maverick Meerkat (标新立异的的狐?),而且这2个字的英文字当中,第1个字母一定是一样的。而随着 Ubuntu 10.10 正式发布日期的临近,Ubuntu 创始人Mark Shuttleworth博士在其博客上撰文并确定了下一版,也就是将在 2011 年 04 月发布的 Ubuntu 11.04 的开发代号,定名为 Natty Narwhal (敏捷的独角鲸) 。

下面是Ubuntu各版本动物代号:

Ubuntu Warty WARTHOG (4.10):

多疣的疣猪

ubuntu warthy warthog 4.10 Continue reading »

182010

这是谷奥上的一篇译文,写的很不错,转过来和大家分享。英文原文附在最后。

本文为《True North: Discover Your Authentic Leadership》一书作者 之一Peter Sims所 写。

在4月底,JP摩根邀请我参加一个“思想领导者聚餐”来讨论最近硅谷和数字媒体的事情。在旧金山Kokkari饭馆的私人包间里坐了有20来人,有 来自著名VP公司、成功企业家和JP摩根的一帮人,JP摩根的副总裁Jimmy Lee坐在龙头老大位置。

在干了几杯之后,Jimmy开始了他想说的话题:“我想知道你们都是怎么想的,你们会长期持有哪个公司的股票,而哪家公司是短期的?”于是我们开始 写下自己的答案,很多人在长期票名单上都写了Yahoo!和Amazon,而15位思想领导者里的12位则将短命票都投给了Google。Jimmy惊呼 到:“我的佛祖,上帝,以及老天爷呀!你们这是谷黑大聚会吗?”

我当然也被震惊了。Google毕竟是一家在最近非常成功的公司(不管是成长率还是收入),他们有一个受人尊敬的CEO Eric Schmidt,还有很多人写书(这本这本)说为什么每个人都应该变得更Google。我个人也佩服Google和他们的人,他们已经完成了很多壮 举,但这间屋子里的人们的想法并不是基于一个公司过去成绩的,而是Google的未来前景。下面就是人们看衰Google的一些原因:

1.Google已经经历了过去几年严重的人才流失,丧失最初的创业者和一些创新人才。

尽管Google的人才保留率很高,但人才的挑战不是看数量的,而是离职人们的类型和他们离开的原因。屋子里的VC们都同意Facebook和 Zynga是目前硅谷最炙手可热的,最近不少从Google出去的人基本都去了Facebook,包括Android高级产品经理Erick Tseng

知情人士说,Google公司的早期创新文化已经被慢慢取代了,创业型和思想领导者都在挪窝,人们甚至说Google让其想到了2004-2005 年间的Yahoo,已经不是他们加入时那种任人唯贤的公司了。

2.Google已经失去了简单的发展机遇,现在必须找到新的大块收入源。

对于核心搜索业务,Google有必要豪赌一把,尽管移动搜索的增速很快,但它的份额依然很小。Google现在跟个疯狗似的寻找各种增长点,因为 他们知道移动并不是个出路。最近花7亿美元收购ITA就是个挥动魔法棒寻找大赌注的例子。Google必须找到越来越大的收入源来保证增 长率,创新研究专家Clayton Christensen在《The Innovators Solution》已经指出了这个问题,你还可以参考Jim Collins的《How the Mighty Fall》。

3.Google缺乏连贯性的策略,特别在移动方面。

CEO Schmidt和其他Google高管一直强调移动是未来增长的核心,而当晚到场的很多人对Google在移动方面的努力则有自己的一套观点。他们争辩说 还需要很久才能看到新的一直在增长的移动收入,特别是在AdMob被收购后市场上就没有可观的收购对象的时候,不过最近对ITA的收购表现出Google开始押注一些中型收购。

4.人!人!人!

Google以工程师为主导的文化大家都很熟悉了,但是Peter Drucker在《Innovation and Entrepreneurship》一书里指出,成功的创新者看全貌,而他们只看人。Google一直都只招聘符合他们特定要求的一群 人。

比如说产品经理的候选人被告知他们必须具备顶尖大学的计算机科学学位。但尽管Google的核心算法出自冰雪聪明的工程师创新,但能否拧成一股绳才 是公司持续发展的关键。这种类似饼干模子似的招聘规矩使他们拒绝了多样性,并为非工程师制造了升职限制,导致创新的缺失。文化上的傲慢是Jim Collins最关注的问题。人们还总是说,在Google的工程师主导了工程和产品,甚至是市场上的决定。比如Google RadioGoogle Wave这类失败的东西,批评者通常会质疑Google公司是否真正了解人们的需求。

总结:

对于以上这些问题,也许熟悉硅谷的观察家会问:Google会成为下一个微软吗?没错,微软的先驱者有主导市场的操作系统和Office软件,跟 Google革命性的搜索类似。但除了XBOX,微软很难做出新的创新,其实这就是高度成功下所隐藏的深度文化问题。

有一件事可以肯定:现在是Google的关键时刻。如果他们不想将这些问题摆到桌面上解决,衰歌合唱团人数将增加。但手里堆成山的现金、得到出色人 才并解决以上提到的问题,还是有机会。

Google 是否有成为下一个微软的风险?

Via TechCrunch

英文原文;

Is Google at Risk of Becoming the Next Microsoft?

In late April, JP Morgan invited me to a “thought leaders dinner” to discuss the latest goings on in Silicon Valley and digital media. In a private room at the swanky San Francisco restaurant Kokkari, there were about 20 of us seated around a long rectangular table, including venture capitalists from prominent firms, highly successful entrepreneurs, and a handful of people from J.P. Morgan, including Jimmy Lee, the firm’s well-known Vice Chairman, who sat at the head of the table. (I was, like Kevin Costner’s character in Bull Durham Crash Davis, “the player to be named later.”)

Anyhow, after about an hour and a few glasses wine, Jimmy raised the main question he was curious about: “I want to know from each of you: which company would you go long on and which would you short?” We could pick any timeframe. And, as it turned out, while the long picks varied widely from Amazon to Yahoo!, 12 of the 15 ‘thought leaders’ shorted Google. Jimmy was surprised, virtually astounded: “Wow!” he exclaimed, “You guys are really negative on Google, huh?”

I, too, was surprised. Google has been, after all, the most successful company in recent history (in terms of churning out growth and profits), led by Eric Schmidt, a well-respected CEO. And, we’ve seen book after book about why everyone should be more like Google. I admire Google, its people, and what they have been able to accomplish enormously. It’s astonishing. But the opinions in that room were not based on the company’s past performance. They were based on insights about Google’s future. Below are the reasons people cited for shorting the company (which, interestingly, were fairly diverse):

  • Google has experienced a severe talent drain over the past several years, losing some of its most entrepreneurial and innovative people. Although Google’s has high retention rates, Google’s talent challenge is not in terms of numbers, it’s the type of people who are leaving and why they are leaving. The talent drain from Google has been well documented. Venture capitalists in the room (without a vested interest in the companies) argued that Facebook and Zynga are currently considered hot places to work in Silicon Valley. Google has, for example, seen a stream of people leave for Facebook including, more recently, the likes of Erick Tseng, the senior product manager of Android, Google’s critically important mobile initiative.

    People close go Google say upward management is slowly replacing the company’s early culture of innovation. Entrepreneurial types and thought leaders who feel confined or unmotivated are moving. People will even say that it reminds them of Yahoo back in 2004-2005, not the meritocracy they once joined.

  • The company has run out of easy growth opportunities and must now find big chunks of new revenue. With the core search business maturing, Google increasingly seems to increasingly feel the need to make some “big bets.” That is a problem that maturing companies face that CEOs call “the tyranny of large numbers.” Even mobile search, which is seeing impressive growth numbers of a small base, is still too small to make a material difference for the company. The company is obviously trying like crazy to find growth pockets, knowing that mobile is a ways off. The recent $700 million ITA acquisition is a great case in point of how it is going to spread out some medium-sized to big-bets to see what sticks. That is, companies must find bigger and bigger chunks of revenue to maintain growth rates. This problem is documented well by innovation researchers Professor Clayton Christensen in The Innovators Solution, and Jim Collins in How the Mighty Fall.
  • The company lacks a coherent strategy, especially in mobile. As Schmidt and other Google execs have stated, mobile is core to future growth. A number of people around the table that night had unique insight into Google’s mobile efforts. They argued that growing nascent mobile revenues will take significant time, especially since there aren’t many sizable acquisition targets available in mobile after Google’s purchase of AdMob. Instead, the recent purchase of ITA Software was an indicator of how the company might make some medium to big bets to see what sticks.
  • It’s about people, people, people. Google’s engineering-dominated culture isn’t news to anyone. But As Peter Drucker opined in his landmark book Innovation and Entrepreneurship, “Successful innovators…look at figures, and they look at people.” The company has long recruited people who fit a very specific profile.

Product manager candidates, for example, are told they must have computer science degrees from top universities. But while Google’s core algorithm was a brilliant feat of engineering innovation, a growing chorus of voices question whether it can be sustained. That cookie-cutter approach to people misses important opportunities for diversity and creates glass ceilings for non-engineers, both of which stifle innovation. Cultural hubris, another pattern Jim Collins in particular raises, is of foremost concern. It is often said that at Google the engineers lead engineering, product, and even marketing decisions. But when the company has failed, such as with Google Wave or Google Radio, critics have questioned whether the company really understands people.

For these reasons and more, perhaps the question that “in the know” Silicon Valley observers are now increasingly asking is: Could Google be the next Microsoft? That is, much like Google revolutionized search, Microsoft was a pioneer with its market-dominating operating systems and Microsoft Office. But outside the Xbox, Microsoft has struggled severely to produce new innovations. Deeper cultural problems were hidden by amazing performance and success.

One thing is for certain: it’s a pivotal time in Google’s history. If the company does not put these types of issues on the table, the chorus of short sellers will increase. But with mountains of cash, access to great people and big problems, I see the moment as an opportunity. It’s a chance to reflect, ask some tough questions, openly discuss the challenges, and incorporate some fresh thinking and people, so that this great symbol of global innovation can evolve and grow.

What do you think—are you long or short? Is Google at risk of becoming the next Microsoft or on the verge of a creative explosion?

222010

加密版Google搜索终于上线了,地址当然就是https://www.google.com。通过加密搜索,一切你发送出去的搜索关键字都会以加密方式传输,特别适合在公众网络和安全性不高的网络里使用Google搜索,以降低安全风险。

不过你也许注意到了,Google SSL搜索logo里有beta字样,也就是说Google还在进行完善。目前加密搜索只覆盖Google网页搜索,所以在这里你看不到指向地图搜索和图 片搜索的链接,因为它们还都不支持加密搜索,当然Google未来会逐步让其它搜索产品也支持加密。另外,由于SSL连接需要进行加密和解密,所以搜索速 度可能会有所下降。

另外需要注意的是,所谓的加密只是针对网络传输的过程加密,Google那边依然会存储你搜索的内容,以提升搜索质量。

© 2009 - 2018 冰河的博客