Igor Davydenko: Миграция с Posterous на Blogger

Как вы, наверное, знаете Twitter сначала купил Posterous, а потом его закрыл. И так как на Posterous'е был мой блог, я перенес все посты из него сюда. Сорри, если RSS фид обновился слишком рьяно.

Если у кого есть схожая проблема и он еще не перевез никуда свой Posterous, вот ...

• Posted at April 25, 2013, 2:18 p.m. Go to entry »
Igor Davydenko: Чиним gunicorn'овский Internal Server Error

Если вдруг, после запуска gunicorn перестал работать и показывает ошибку похожую на:

Internal Server Error

Traceback:

Traceback (most recent call last):
  File "/Users/playpauseandstop/Projects/project/env/lib/python2.7/site-packages/gunicorn/workers/async.py", line 45, in handle
    self.handle_request(req, client, addr)
  File "/Users/playpauseandstop/Projects/project/env ...
• Posted at April 25, 2013, 1:52 p.m. Go to entry »
Igor Davydenko: Запускаем gunicorn из Python'а

Иногда бывает надо запустить gunicorn внутри Python скрипта, например, в manage.py. Конечно всегда можно воспользоваться subprocess.call:

import subprocess


app = 'package.module:app'
host, port = '0.0.0.0', 8000
subprocess.call('gunicorn -b {}:{:d} -w 4 {}'.format(host, port, app))

Но как-то это не комильфо подумал я и ...

• Posted at April 25, 2013, 1:51 p.m. Go to entry »
Max Klymyshyn: ArangoDB Driver for Python: added support of Python 3.3 and ArangoDB 1.2
At least added support of Python 3.3 to the ArangoDB Python driver v 0.1.6 (github). Move forward with pip install arango. By default in Python 3.3 pycurl client will not work, so it's better to specify client by hands using: Also, added support of ArangoDB ...
• Posted at March 8, 2013, 7:49 p.m. Go to entry »
Volodymyr Hotsyk: Moved to DigitalOcean

I have recently moved http://ua.pycon.org site and http://hotsyk.com blog to the http://digitalocean.com Good prices with SSD disks were very insteresting, so I've decided to give a try. After a week of running sitest there, there are no issues and I am happy ...

• Posted at March 1, 2013, 11 p.m. Go to entry »
Volodymyr Hotsyk: Moved to DigitalOcean

I have recently moved http://ua.pycon.org site and http://hotsyk.com blog to the http://digitalocean.com Good prices with SSD disks were very insteresting, so I've decided to give a try. After a week of running sitest there, there are no issues and I am happy ...

• Posted at March 1, 2013, 11 p.m. Go to entry »
Max Klymyshyn: arango: ArangoDB Driver for Python (updated Feb 24, 2013)

Past year I've heard about new database - ArangoDB. I was not able to test it using my daily tools - there was no driver for Python. So, I've decided to create it. I've tried to create really good one - high code coverage, well documented and easy API initially ...

• Posted at Feb. 18, 2013, 7:21 p.m. Go to entry »
Artem Dudarev: Concentration
The Moon Rises
The Moon Rises. Photo by Jeremy Kerwin.

Sometimes I cannot concentrate on a task that I am working on. There are a few techniques that I use to focus on the work.

  1. It helps to use some variations of Pomodoro technique. Currently I use cycles of 45 minutes work and ...

!--more-->
• Posted at Feb. 3, 2013, 4 p.m. Go to entry »
Artem Dudarev: Concentration Techniques
The Moon Rises
The Moon Rises. Photo by Jeremy Kerwin.

Sometimes I cannot concentrate on a task that I am working on. There are a few techniques that I use to focus on the work.

  1. It helps to use some variations of Pomodoro technique. Currently I use cycles of 45 minutes work and ...

!--more-->
• Posted at Feb. 3, 2013, 4 p.m. Go to entry »
Max Klymyshyn: Redis PubSub wrapper for Python

Recently I've found that there's no reasonable simple and useful Redis pub sub examples around. So, here is my dead simple wrapper how to implement it without any unnecessary overhead.

• Posted at Jan. 30, 2013, 3:50 p.m. Go to entry »
Artem Dudarev: Top of 2012
Animated Year Change, 2012 to 2013

This is my personal top of the past year in various categories.

Tool

Progressio

Also: Pathogen, Moleskine

Project used by others

Mapjumper

Hosting

Amazon EC2

Team

42 coffee cups

Event

Hackathons (offline and online)

Podcast

Build and Analyse

Podcast in Russian

Берись и делай

Excersice

Walking

Personal hack

3 steps ...

!--more-->
• Posted at Jan. 15, 2013, 9 p.m. Go to entry »
Sergiy Kishchenko: Отчёт о Dee Mon Winter Contest

По традиции участвовал в этом контесте в составе команды THIRTEEN. Отчёт(осторожно, там СПОЙЛЕРЫ-СПОЙЛЕРЫ-СПОЙЛЕРЫ), написанный san'ом и brox'ом с моими небольшими дополнениями можно прочитать здесь. Контест выдался замечательный, вполне в духе, автору браво и аплодисменты.
• Posted at Dec. 16, 2012, 4:48 a.m. Go to entry »
Volodymyr Hotsyk: Youtube video has published
See links to video on talk pages
• Posted at Nov. 11, 2012, 1:34 a.m. Go to entry »
Igor Davydenko: Валидация Django моделей, пять советов

Не думаю, что для кого-то открою Америку, сказав что в Django есть валидация не только для форм, а и для моделей :) Однако судя по моей практике это чуть спорное, но весьма полезное решение не спешат повсеместно использовать и городят свои велосипеды для проверки значений при создании/обновлении моделей. Поэтому хочу ...

• Posted at Nov. 8, 2012, 10:24 a.m. Go to entry »
Igor Davydenko: Learn Python

Идея вести курсы по Python пришла ко мне довольно давно, как никак за 6 лет активной разработки разнообразных веб-сервисов и приложений на Django, а потом и на Flask, появилось много различных правильных решений, техник и советов, которыми хочется поделится с коллегами и начинающими питонистами. И так удачно совпало, что Андрей ...

• Posted at Oct. 30, 2012, 8:25 p.m. Go to entry »
Follow us at @42cc
Capital-efficiency comes to ui design, a blog post: http://bit.ly/boofm6
Best practices in web development with #Python and #Django http://bit.ly/d3EjEm
Watch #Django on Google App Engine on http://vimeo.com/10514466 #GAE
if your django.test.Client authorization stops working after update to 2.6.5, patch http://bit.ly/9ARWAp, discussion http://bit.ly/dza3u5
Get rid of manual quality control - http://bit.ly/aNFgYZ thanks @akhavr
Using #Pinax and #Django For Collaborative Corpus Linguistics - http://vimeo.com/10515200
Congratulations to teams of @prettygreenltd, @chilliifish & @42cc to launch the new prettygreen.com http://bit.ly/9qCLhC #django #satchmo
RT @mashable The Current State of Twitter [INFOGRAPHIC] http://bit.ly/d4v4q5
#django query analyzer http://bit.ly/9NUqiz this is the start of the django query analyzer project, a way to introspect the django ORM. OT
2 senior Django developers available for hire from March 10. OT. #django #python
RT @akhavr Updated django-couchdb (http://bit.ly/sIKu5) with two fixes by @sevenov
We've started translation of the Pro Git(http://progit.org/book/) book into Ukrainian: http://bit.ly/SJWEY
RT @gotsyk: Стартували переклад http://bit.ly/SJWEY (дякую за підримку та ідеї @akhavr, @mrpetruccio)