Hg Init: a Mercurial tutorial

Posted on 25th March 2010 by Nio in 程序人生 - Tags: ,

Hg Init: a Mercurial tutorial

Mercurial is a modern, open source, distributed version control system, and a compelling upgrade from older systems like Subversion. In this user-friendly, six-part tutorial, Joel Spolsky teaches you the key concepts.

High level search with PHP and Apache Solr

Posted on 23rd March 2010 by Nio in Java, Lucene, 程序人生 - Tags: , , ,

High level search with PHP and Apache Solr

When data sets get large and MySQL database querying to search become too load heavy and slow, full indexing is required. Several solutions are available but in this article I will be demonstrating the Apache foundations Solr Java Lucene implementation. For this a Java build will be required. Linux or Mac is less of a problem but for windows I use the Apache Tomcat server.

Faster, PHP! Kill! Kill!

Posted on 21st March 2010 by Nio in 程序人生 - Tags: , ,

Faster, PHP! Kill! Kill!

What most developers don’t realize is that there are three major factors that typically slow down PHP projects based on frameworks (like Symfony or, sigh, Drupal) so much that code profiling and database query redesign don’t even have a chance to become relevant factors. Fix these things first before you worry about other issues:

1. Compiling code over and over and over. Would you wait for your Mac to recompile MacOS X from source code every time you boot it up? Of course not. How about every time you fill out a dialog box? That’s pretty much what you’re doing every time you access a PHP-driven website that doesn’t use a bytecode cache.

2. Waiting and waiting and waiting for web browsers to make another request, pinning down web server processes that your other users need. By default Apache usually lets browsers hold on to a connection for up to 15 seconds just in case they ask for more. This is a good thing in many ways, but 15 seconds is far too long. Which leads us to #3:

3. Tying up a “fat” web server process with PHP on board for every request, even requests for the zillions of little static PNGs that probably make up your page design. (**) A typical Apache web server configuration with mod_php suffers from this flaw, fatally limiting the number of simultaneous users you can handle.

So what can we do about these problems? Quite a bit as it turns out. I’ll start with the low-hanging fruit and move on to the tougher stuff. The fascinating common thread with all of these suggestions: no changes at all to your PHP code.

急聘:PHP 网页游戏开发工程师

Posted on 9th March 2010 by Nio in 创业, 工作忙碌 - Tags:

职位信息

* 工作性质:全职
* 工作地点:北京
* 招聘人数:2
* 薪  水:4000~6000
* 工作经验:不限
* 学  历:不限
* 语言能力:不限
* 简历语言:中文
* 其他待遇:年底分红

职位描述

* 热爱游戏,熟悉网络游戏/网页游戏。
* 兴趣广泛,思维活跃,富于想象力及创造力,有较好的逻辑思维能力。
* 工作态度严谨,有耐心重效率,抗压能力强,能适应高强度长时间的研发工作。
* 性格开朗,乐于助人,擅与人相处及沟通,具有良好的团队意识。

技能要求

* 精通 PHP,AJAX,JavaScript 开发,熟练使用 MySQL 数据库。
* 具有大型互联网应用、开发经验。
* 能够承担重要任务承受较强工作压力。
* 有网络游戏开发经验者优先。

公司介绍

北京三思利德科技有限公司,手机游戏和互联网游戏开发及推广。

联系方式

地址:北京市昌平区天通苑
Email: hr@10086.im

*注:请在邮件中注明应聘职位的名称