Author Profile: Ahmad Farhan

Biography »

I grok the Code
Email the author

Publications »

My openLDAP performance tuning tip of the week
By paan
Posted in Rants, Tip & tricks on 24 October 2008
Stats: 185 views and No Comments

Intro
So let me just say it up front, “Index the objectClass attribute”. No really, go ahead and do it right now. Now that we have indexed our objectClass attribute, let me tell you  a story about how I learn that whatever you do, just index the objectClass attribute.
Background
I was working on a medium size openldap [...]

Google unveils chrome
By paan
Posted in News on 2 September 2008
Stats: 455 views and No Comments

Google has reveal their browser Google chrome today. There is a comic that explains all about it on the google chrome site. 
The browser is open sourced and is based on the webkit project which powers browser like Safari. Google apparently have a little FUD going on there with their mention of browser tabs that eats [...]

The programming “zone”. Fiction or myth?
By paan
Posted in Articles, Rants on 4 August 2008
Stats: 1,417 views and 3 Comments

The programming craft
Programming is a creative process. Despite the technical nature of programming codes, the process of coding is involves a lot of creative thinking and problem solving. Paul Graham talks of “Hacker and Painters” and compares the work of us code ninjas to the creative process of painting. And like all other creative task [...]

6 tips to make your fellow coders love you
By paan
Posted in Articles on 30 July 2008
Stats: 2,917 views and 9 Comments

6 tips to make your fellow coders love you
Code readability is paramount in an environment where you are not the only one reading and writing the code. And even if you are the only developer of your system, I know more than a few coders that read a code that they wrote last week and [...]

A shell script for creating a selfsigned cert.
By paan
Posted in Articles on 25 July 2008
Stats: 867 views and 1 Comment

Intro
A selfsigned cert is a digital certificate that is created by using a certification authority certificate that is issued by yourself. This is usefull for backend communications between servers that need the protection of a SSL tunnl but don’t need the ‘assurance’ provided by a regonized and trusted third party certification authority (and the charges [...]

Filter you output with HTML Purifier
By paan
Posted in Articles on 21 July 2008
Stats: 745 views and No Comments

Now that you set up a rich text editor to you phpLD directory you would want to set up some filtering to prevent sites from doing nasty things like maybe insert a javascript in your site. Most phpld templates is already doing this. But they are using the smarty ‘escape’ modifier which will escape ALL [...]

Rich text editor
By paan
Posted in Articles on 21 July 2008
Stats: 715 views and 1 Comment

After seeing countless phpld directory submission form. One thing strike me as strange. It’s that they still use your plain old text area as the input field for the site description. I’ve always thought that a rich text editor will be so much nicer. So long as you keep an eye on it and filter [...]

Powered by phpLD
By paan
Posted in Articles on 21 July 2008
Stats: 487 views and No Comments

Powered by phpLD is a series that I made to follow me as I poke under the hood of phpLD. I will share my experience as a first time directory owner for the directory site xerie.net and also my experience as I go poking into the source of phpld. I hope that the whole experice [...]

Wordpress 2.6. An improvement all around.
By paan
Posted in Articles, News on 17 July 2008
Stats: 1,819 views and No Comments

Intro
For the past couple of days I ‘ve been breaking in the new wordpress 2.6. And all around I am impressed by the improvements of this version. But before I go to any details. The most obvious questions is of course “Should I upgrade?”. My answer to this is a big YES!. This main reason [...]

2.6? This can’t be true?
By paan
Posted in News on 15 July 2008
Stats: 1,408 views and No Comments

What? They released? A whole month ahead of schedule?
If you haven’t heard wordpress 2.6 is released today. What a you waiting for? Go get them now.
Rate this: 2.5