effective life plus

Binzy's blog

Zend Framework Multiple Helper Path Configuration

| Filed under Programming

As you may have multiple configuration for helpers of Zend View, simply configure as below will help

resources.view.helperPath.Zend_View_Helper = APPLICATION_PATH "/views/helpers"
resources.view.helperPath.My_Custom_Helper = "/path to helpers"

The “My_Custom_Hepler” is the prefix, so that you can support your different modules’ help path without hard coding in php codes.

subversion client and http

| Filed under Programming

I hate subversion…

while using linux, I thought subversion client should natively support http schema,  but actually it doesn’t. By reading installation instruction, it says I need Neon… Then I download Neon and configure with –with-neon=<neonpath>, doesn’t work! try copy neon to subversion source code, reconfigure it… without –with-neon option… still doesn’t work! Shit… via looking into configure log, it says…

checking neon library version… 0.29.0
You have a neon/ subdir containing version 0.29.0,
but Subversion needs neon 0.28.4.

An appropriate version of neon could not be found, so libsvn_ra_neon
will not be built.  If you want to build libsvn_ra_neon, please either
install neon 0.28.4 on this system

or

get neon 0.28.4 from:
    http://www.webdav.org/neon/neon-0.28.4.tar.gz
unpack the archive using tar/gunzip and rename the resulting
directory from ./neon-0.28.4/ to ./neon/

no suitable neon found

… download 0.28.4, copy to sub folder, configure… yeah… works, finally. You can check whether it supports http via “svn –version”, there should be a ra_neon module.

Grey’s Anatomy Season 6

| Filed under TV

The new season will start very soon on Sep 24th. http://www.greysanatomyinsider.comhas posted many info about season 6, it looks the season will change a lot. At least I’m not expecting George to be back any more… The poster as below shows the beginning of new season will be quite dark…

greysanatomyseason6poster

greys anatomy season6 (copyright (c) abc.com?)

Photojojo Newsletter

| Filed under Photo

Photojojo.com is a website shares the tips of photograph, and I have subscribed their newsletter for a while. It’s an amazing website, which is pretty simple and doesn’t have too many features, but it’s really popular, and it has more than 170k RSS feed subscriber!

Frankly, most of the newsletters in my mailbox are unread, and I just realize how useful and interesting those newsletters are recently, like this one. I have my DSLR several years ago, but I never tried to learn how to take real good photo… In early 2009 2008, I began to take photo weekly, although finally I re-created an account on flickr for some reason, I did enjoy those photos and I’m considering to learn something. So reading newsletters from photojojo and cleaning my DSLR might be a good new start point.

In China, we call lens are 镜头, and everyone has a brain, I mean head, which we call . So it is always said that the (brain) behind camera is more important than the (lens) which is at front.

.Net IoC Containers

| Filed under Programming

Unity, http://unity.codeplex.com, Ms-PL license

Developed by Microsoft P&P.

Spring.Net, http://www.springframework.net/, Apache 2.0 License

Port from the famous Spring framework.

Castle, http://www.castleproject.org/, Apache 2.0 License

The first .Net IoC Container?

StructureMap, http://structuremap.sourceforge.net/, Apache 2.0 License

Looks good.

The fifth?

[updated on Sep 14th]

Yes, just know the fifth,

Ninjecthttp://code.google.com/p/ninject/ Apache 2.0 License. No comment yet…

Live Mesh + Win2008 + 80004002 Error

| Filed under Cloud

The system partition of my workstation was crashed… I have to reinstall the opration system, windows server 2008 (not R2). And I got error while installing live mesh, which is 80004002. Thanks to the search engine, I solved finally. Looks the problem is caused by the windows update agent, reinstall the WUA manually, and Livemesh.exe /force. Then it works.

WUA: http://support.microsoft.com/kb/949104