Programmer's in hat notes

Sep 16

Advanced django forms

Advanced Django Forms Usage View more presentations from Daniel Greenfeld

Aug 29

CAP! =)

For employer: Good. Fast. Cheap.

For employee: High-paid. Interesting. Easy.

Pick two!

Jun 12

Programming without ifs. Challenge one in python.

Sometimes I think about programming without ifs

I have found great blog about it here.

And here is my solution for first challenge implemented in python.  

Python and Singleton.

Never use singleton in python!

You can use instead of it Borg Pattern. 

http://pastebin.com/qKXxGHJp

Also you can just use module instead of class. :)

Jan 30

Last 5 months..

..I was working on new russian social network - Vrublevku..

Dec 20

New cool service!

I found new cool service - about.me. 

This is very, very original! ) 

Check it out!

Aug 26

Let's move to console.

Aug 14

[video]

Aug 09

[video]

Aug 08

SICP. Exercise 1.8

Task: Newton’s method for cube roots is based on the fact that if y is an approximation to the cube root of x, then a better approximation is given by the value

Use this formula to implement a cube-root procedure analogous to the square-root procedure. 

Read More