我的论坛 bbs

上周建了一个论坛,启用了新的域名:

http://bbs.leakon.com/

主要用来收集一些丰富的内容,既能便于日后查找,又能给大家分享新鲜有趣的东西,感觉不错!

这里的Blog,依然会关注于互联网以及程序开发方面。

论坛 ,会充满各种类别的内容,保证你每天都会有新发现!

2007 年度最佳 Web2.0 网站 其融资情况 (Social Networks)

红极一时的六度关系理论显然过时了,现在的社会关系网站都在卖什么呢?

2007 最佳Web2.0网站- Social networks类:
1. Cambrian House
Cambrian House 让人们对一款将开发的软件投票,这样投资人或企业就可以根据民意决定是否把idea转化成产品.

基地:加拿大卡尔加里
创建时间:2006年
CEO: Michael J. Sikorsky
融资情况:750万美元
投资商:angel investors

25. Khichdee 
这个以印度一种食物命名的网站,可以说是印度的Craigslist。整合了线上线下的分类内容于其强大的搜索引擎之中。

基地:印度孟买
创建时间:2006年
CEO: Ashwin Sanghi
融资情况:M.K. Sanghi集团所有

26. Mobagetown
以休闲手机游戏为核心的人际圈。

基地:日本
创建时间:2006年
CEO:Tomoko Namba
融资情况:日本DeNA公司所有

27. Babytree
专为孩子和他们的父母打造的交流平台,在这里可以为孩子建立网页,也为父母提供资讯服务。

基地:中国北京
创建时间:2007年3月
CEO:王怀南
融资情况:未披露
投资商:Matrix partners

28. Vivapets
以专家意见和维基百科形式的网友参与,Vivapets 正在扮演一个宠物饲养百科全书的角色,并以此为基础建立了自己的关系圈。

基地:葡萄牙波尔图
创建时间:2003年
CEO: Marcos Cerqueira
融资情况:未披露
投资商:创始人

29. Tangler 
Tangler 以最新的网络技术更新了追踪论坛的形式,使得你可以同时追踪几个论坛的情况。

基地:澳大利亚悉尼
创建时间:2006年7月
CEO: Martin Wells
融资情况:200万美元
投资商:天使投资人

30. eDushi 
eDushi 可以让你在虚拟的3D城市的地图上建立、查找和评价相关信息。到2007年底,eDushi 上的城市将增加到100个。

基地:中国杭州
创建时间:2004年
CEO:庞小伟
融资情况:未披露
投资商:创始人

31. Aprex
以企业网络办公软件为基础,可以在线管理日程、客户以及公司介绍,付费用户还可以做email营销。

基地:巴西San Paolo
创建时间:2006年
CEO: Guilherme Coelho
融资情况:50万美元
投资商:创始人

转载自网事如棋[ http://www.ihave.biz/ ]

卡巴斯基 6.0 7.0 激活 Kav ReNew

最近一段卡巴斯基进行了一次封杀,造成使用者的很大不便,不能更新病毒码。

其实卡巴斯基还是一款很好的杀毒软件,鼓励大家还是购买正版。

如果您处于边远山区,或者对网上购物不了解,不放心,出国购买成本也高,而且购买需要时间,又不能停止上网影响您的生活、学习与工作,而你又怕敌人在这一段时间里侵扰你的电脑,那么我来解救你 30 天,方法如下:

1、下载注册表文件:http://down.leakon.com/software/2007/10/kav_renew.reg (请右键点击链接,选择“另存为”)

2、关闭卡巴斯基(如果对我说的不放心,可以断网)

3、运行刚才下载的注册表文件 kav_renew.reg

4、会弹出一个窗口:是否要将 kav_renew.reg 中的信息加入注册表?

5、点击是(Y)

6、然后重行运行卡巴斯基

7、会提醒你激活,请选择 30 天试用,然后点“是”

这样您的卡巴斯基就可以再用 30 天了。以上方法适用于卡巴斯基 6.0 和 7.0。

这个方法绝对可行。

如果 30 天里你还是没有购买卡巴斯基正式版,那你不嫌麻烦就再做一次。

你是买正版呢,还是买正版呢,还是买正版呢?

Mac 还是相当爽的 VMWare OS X 虚拟机 虚拟技术

以前经常会觉得 Apple 开大会时,场面就像宗教活动,教主 Steve Jobs 在台上不管说什么,底下总是又鼓掌又叫好的。还有,你要是跟 Mac 用户面前说 Mac 的任何不好,你就等着对方跟你急吧,你对 Mac 的意见要是尖锐些,保不准得掐起来。这些我以前是相当不理解的。站在一个十几年 PC 用户的角度看 Mac 总是阴冷的──就是看不惯丫们那说不得的德性。但我现在不得不说,一旦突破了以前 PC 的使用习惯,Mac 真是相当舒服的。以前总是担心 Mac 这个不能干那个不能干,实际上,Mac 虽说没有 PC 能干的事情多,但只要不是太偏门的事情都可以,而且很多时候比 PC 舒服的多。实在有 PC 上有 Mac 上没有的软件,拜强大的虚拟技术所赐,实在不济虚拟一个 Windows 出来,让 Windows 运行在 OS X 的窗口中

虽然 Mac 还有这样那样的不足,但我想说,如果可以,我不愿意回到 Windows 下了。

BattleField 2142 PB问题 PunkBuster

最近在玩 战地2142,非常火爆的 FPS 游戏。

以一种新的游戏模式,打破了 CS 在这一类型游戏的霸主地位。

我在上战网玩的时候,刚开始总是被踢,提示 PunkBuster!

下了升级补丁,也总是不行。

装了 PB 客户端,依然被踢。

后来仔细查了查,问题是没有装 pbsvc.exe。

这是一个服务,进入游戏的时候服务器会检查客户端是否有这个服务。

如果你想正常进入战网,按我说的做就OK了:

1、安装正版《战地2142》
2、下载升级程序,升级到 1.25(升级的时候,总进度条会经历好几次从 0% 到 100%,不知道什么毛病,不过不用管他,他会自己升级好的)
3、安装 pbsetup.exe 客户端,选择 BattleField  2142  游戏,并  CheckUpdates
4、安装 pbsvc.exe ,安装服务

此时,进入游戏后,就可以搜索到好多对战服务器,进去杀个天昏地暗吧~~~

上面提到的2个文件的下载地址:http://down.leakon.com/software/2007/10/pb.zip

BattleField 2142

一些提供 subversion 服务的网站 svn 版本控制 hosting

  • berlios.de: free hosting for open-source projects
    http://www.berlios.de/“The goal of BerliOS is to provide support for different interest groups in the area of Open Source Software (OSS). Our aim is to fulfil a neutral mediator function. The target groups of BerliOS are on one hand the developers and users of Open Source Software and on the other hand commercial manufacturers of OSS operating systems and applications as well as support companies.”
  • ObjectWeb: open source middleware
    http://www.objectweb.org/“ObjectWeb is an international consortium fostering the development of open-source middleware for cutting-edge applications: EAI, e-business, clustering, grid computing, managed services and more.” Their hosting software is GForge, with integrated Subversion support. See http://www.objectweb.org/phorum/read.php?f=49&i=37&t=37 for details.
  • CollabNet: commercial software development collaboration platform, with Subversion integration
    http://www.collab.net/subversion/“CollabNet Enterprise Edition (CEE) delivers a complete software development and collaboration platform, offered as a managed service, with full Subversion integration. CollabNet also offers Subversion On Demand, a hosted Subversion development environment, and Subversion support and training.”
  • CVSDude: free and commercial Subversion hosting
    http://www.cvsdude.org/“CVSDude is a free CVS server and Subversion server. We provide cvs hosting and subversion hosting for software developers, software teams, graphic artists, project managers and the like. You can use your favourite software client to access our CVS and Subversion servers. Our basic or `free’ service is limited but we do offer commercial upgrades…”
  • SourceHosting.net: commercial Subversion hosting
    http://www.sourcehosting.net/“SourceHosting.net provides fully-managed Subversion hosting, as well as Bugzilla and CVS hosting packages. Hourly, secure offsite backups are included in all of our hosting plans, and add-on tools such as WebSVN and CVSweb are available as well.”
  • wush.net: commercial Subversion hosting
    http://www.wush.net/“We provide professional quality Subversion hosting for individuals and small businesses. Our plans include a suite of integrated software designed to complement Subversion.”
  • svn-hosting.com: commercial Subversion hosting
    http://www.svn-hosting.com/“svn-hosting.com provides professional subversion hosting. We offer everything from small repositories to dedicated subversion servers to provide you a stable backend for your critical work.”
  • ProjectLocker: commercial Subversion hosting
    http://www.projectlocker.com/“ProjectLocker offers professional Subversion hosting, as well as additional development process, project management, and collaboration tools.”
  • Gna!: free hosting for Projects under a GPL-compatible license
    https://gna.org/index.php“Gna! project [is] a central point for development, distribution and maintenance of Libre Software (Free Software) projects.”
  • OpenSVN.csie.org: appears to be a free Subversion hosting site, with Trac service available too.
    https://opensvn.csie.org[We couldn't find a good description on the site. If you find one, let us know.]
  • http://www.projxpert.com/: professional software project hosting site
    http://www.projxpert.com/
  • DevGuard.com: commercial Subversion hosting
    http://www.devguard.com/“DevGuard.com offers commercial Subversion hosting for individuals and small businesses. Secure, encrypted data transfer, fast network access, easy to use web admin interface.”
  • AVLUX Solutions: commercial Subversion hosting
    http://www.avlux.net/“full-service” web hosting, including (among other things) Subversion repositories and WebSVN.
  • GeekISP: commercial Subversion hosting
    http://www.geekisp.com/“GeekISP includes CVS and SVN repositories with all accounts.”
  • TextDrive: commercial Subversion hosting
    http://textdrive.com/Repository hosting services, from shared hosting to fully managed dedicated server clusters.
  • Labyrinth Data Services: commercial Subversion hosting
    http://www.labyrinthdata.net.au/Australian-based Linux shell accounts and web hosting; unlimited subversion repositories with all accounts.
  • SourceForge.net: no-charge hosting for open-source projects
    http://sourceforge.net/Probably the largest open source project hosting site on the Net.
  • hosted-projects.com: commercial Subversion hosting
    http://www.hosted-projects.comhosted-projects.com is a company specialized in web hosting services for software project teams offering the Subversion revision control system coupled with project and issue management software like Trac and Bugzilla.
  • google.com: free Subversion hosting for open source projects
    http://code.google.com/hosting/“Our new hosting service offers a collaborative development environment that includes: project workspaces with simple membership controls; version control via Subversion; issue tracking; mailing lists at groups.google.com.”
  • myVersionControl.com: Subversion Hosting and Project Management
    http://www.myversioncontrol.com/Commercial Subversion hosting, integrated with other project management services.

T61 8889 A72 评测 图片 对比 HP NX 7010

接上文,买回小黑当天晚上,就用我的 CASIO S600 拍了 300 多张照片,还有我以前的 HP NX 7010 的照片,作为对比。

详细的文字版评测,这个周末我会整理出来,然后再架个论坛,写到论坛上。

先给大家看看图吧:

http://picasaweb.google.com/leakon/20071009

因为是在家里,灯光比较暗,回头再公司再拍点,让大家都能看清楚。

我也加入“黑社会”了,哈哈~~~

今天入手 Lenovo ThinkPad T61 8889-A72

今天,终于把期待了 N 年之久的 IBM ThinkPad 抱回家。

摆弄了一个晚上,拍了好多照片,日后会全部展示。

今天就要过去了。

在此纪念!

这是我的第二个笔记本,人家都说,通常,一个人买第二个笔记本的时候都会选择 IBM,看来,说对了。

PHP5.2 function class 性能对比

简单的PHP 5.2性能测试经测试,暂未发现php5.2环境下,面向对象比过程化编程慢很多(这在php4时代是一个广为流传的经验)的明显证据。测试了class 不实例化,实例化,继承,抽象。

环境:

HP nx6320,Core Duo T5600,1G RAM

Winxp SP2,Apache 2.2.4,PHP 5.2.3

第一轮 简单的功能,function vs class
Function

<?php
function signin() {
    
echo "signin";
}
signin();
?>

Ab –n 10000 –c 50的结果是422.34rps

Class
不实例化

<?php
class User {
    
public function signin() {
        
echo "signin";
    
}
}
User::signin();
?>

Ab –n 10000 –c 50的结果是436.46rps

实例化

<?php
class User {
    
public function signin() {
        
echo "signin";
    
}
}
$user=new User();
$user->signin();
?>

Ab –n 10000 –c 50的结果是422.70rps

继承和抽象

<?php
Abstract class AUser {
    
abstract function signin();
}
class User extends Auser {
    
public function signin() {
        
echo "signin";
    }
}
$
user=new User();
$
user->signin();
?>

Ab –n 10000 –c 50的结果是423.00rps

单件模式

<?php
Abstract class AUser {
    
private function __contruct() {}
    
abstract function signin();
}
 
class User extends Auser {
    
public function signin() {
        
echo "signin";
    }
}
User::signin();
?>

Ab –n 1000(1万次时间有点长) –c 50的结果是415.58rps

PHP 性能 安全 缺点

推荐资源一:a howto on optimizing php
http://phplens.com/lens/php-book/optimizing-debugging-php.php
总揽全局方能运筹帷幄决胜千里之外。这是一篇非常全面的php性能优化指南,高屋建瓴,教你全面均衡的优化你的应用。系统的介绍了LAMP架构下系统优化的各个层次。虽然两年半没有更新了,仍不失为经典的php优化扛鼎之作。

推荐资源二:php benckmark tests
http://www.php.lt/benchmark/phpbench.php
细节决定成败。这个简洁却不失细致的基准测试结果在“代码行”级别上教你如何编写高性能的php程序。尤其值得注意的是,和“同样的任务,面向过程的实现方式比面向对象快数倍”这个论调一样,php社区长期流传单引号速度远远快于双引号的言论,如今,时过境迁,这些经验是否还有效呢?我的建议是,相信你自己的判断,而不是道听途说。作决定之前,对你不了解的技术和架构做个垂直切片,而不是等到业务逻辑全部实现了才发现严重的性能问题。avoid surprises.

推荐资源三:PHP有什么缺点
http://www.nirvanastudio.org/php/php-in-contrast-to-perl.html
知己知彼,百战不殆。衡量一个人是否足够熟悉php的标准之一就是看他了解多少php的缺点,这篇文章罗列了PHP的很多不足之处,其中有很多地方都说的很中肯。了解了php的缺点,相信你能更好的驾驭它,用其可用之处。不过,也别走极端,任何技术都不是完美的,严谨的必然罗嗦(比如ADA),灵活的必然晦涩(比如Haskell),强大的必然难以驾驭(比如汇编),与其把时髦的技术挂在嘴边,不如把过时的技术放在心里。用好自己最熟悉的就是成功。

推荐资源四:《Essential PHP Security》http://project.5acity.com.cn/documents/essential_php_security.chm
一本PHP安全的电子书。软件工程有个很重要的原则就是防御式编程,遵守这个原则能让你生产安全健壮的产品。哦,顺便说个放之四海而皆准的道理:不要相信任何来自外部的数据。2004年的时候,我在linux下面用lumaqq把我的qq昵称修改为空了(不是空格,而是空白,什么都没有)。原因就是qq只在客户端验证了昵称是否为空,服务端却没有验证。

Google

Google
LAMP-Linux-redhat LAMP-Apache LAMP-MySQL LAMP-Php Leakon-Wiki Leakon-BBS XueBaoBao Xyoyou