A web developer's blog. PHP, MySQL, CakePHP, Zend Framework, Wordpress, Code Igniter, Django, Python, CSS, Javascript, jQuery, Knockout.js, and other web development topics.

Monthly Archives: February 2009

jQuery Charts!

Just a quick plug! http://www.reynoldsftw.com/2009/02/6-jquery-chart-plugins-reviewed/

Posted in General | Tagged , | 2 Comments

jQuery: Getting the latest text/value inside a textarea

Now, I was not expecting this. You can get the text inside the textarea using something like: alert($(’#id_of_textarea’).text()); That works, but if you bind it with an event, let’s say onkeyup — you will never get the “latest” text inside … Continue reading

Posted in General | Tagged , , | 9 Comments

Zend_View security issue fixed in ZF 1.7.5

I’m a bit busy at the moment so I am going to quote directly from Matthew’s blog Yesterday, we released Zend Framework 1.7.5. It contains a somewhat controversial security fix to Zend_View that could potentially affect some use cases of … Continue reading

Posted in General | Tagged , | Leave a comment

My mysterious number 6174

I found an interesting article from HN regarding the 6174 number. Quoted from this site: In 1949 the mathematician D. R. Kaprekar from Devlali, India, devised a process now known as Kaprekar’s operation. First choose a four digit number where … Continue reading

Posted in General | Tagged | 1 Comment

Average rating solution

Quoted from evanmiller.org: CORRECT SOLUTION: Score = Lower bound of Wilson score confidence interval for a Bernoulli parameter Say what: We need to balance the average rating with the uncertainty of a small number of observations. Fortunately, the math for … Continue reading

Posted in General | Tagged , , | Leave a comment

Bespin from Mozilla Labs is super cool!

I am overly-excited for Bespin. It is a web-based framework for editing your code and you will have to see it to believe. I have yet to find out what it runs on and the other technical details surrounding it … Continue reading

Posted in General | Tagged , , | 1 Comment

Unbelievably easy fixed headers, sidebars and footers without Javascript

This post solved all my problems. I tested one layout and it is W3C Compliant — results here. Anyway, I am again posting this for myself.

Posted in General | Tagged , , , , | 2 Comments

Zend Framework 1.7.4 Released

I can no longer keep up with the frequent releases of Zend Framework. Zend has just released ZF 1.7.4 last February 2. You can go to their site to get it. I do not know the details of the release. … Continue reading

Posted in General | Tagged , , | Leave a comment