Wilson Score Confidence interval

Not sure where I got this snipplet - most likely from reddit code or discussion.

from math import sqrt

def confidence_fixed(ups, downs):
    if ups == 0:
        return -downs
    n = ups + downs
    z = 1.64485 #1.0 = 85%, 1.6 = 95%
    phat = float(ups) / n
    return (phat+z*z/(2*n)-z ...
more ...

Django optimisation in production

Few days ago I realised that my django installation in production started producing too many memory errors - thanks to monit memory alerts were filling my mailbox without any serious service interruption. But hundreds email messages daily annoyed me enough to look deeper into trouble.

1) I switched on django debug ...

more ...

Different approach: Engineering and management

I found interesting posts here and  here1  and was surprised by the difference in approach between blog posts and this news. On one stage we have a developer, who is testing modern frameworks in several programming languages in order to choose one for his new project. On another we have ...

more ...