[00:00:42] maxim.zemlyakov is now online
[00:01:33] serg.makar is now online
[00:01:37] serg.makar is now away
[00:01:38] serg.makar is now away
[00:02:02] pc_ is now away
[00:02:44] vnuchaev is now away
[00:03:58] umi is now xa
[00:04:21] evrial is now away
[00:05:28] pc_ is now online
[00:05:43] maxim.zemlyakov is now online
[00:06:07] py_two: все, уже не нужно
[00:06:34] serg.makar is now away
[00:08:59] umi is now xa
[00:09:02] py_two: там была сложная ситуация с map
[00:09:23] evrial is now away
[00:10:46] maxim.zemlyakov is now online
[00:11:25] serg.makar is now online
[00:11:26] serg.makar is now online
[00:11:37] serg.makar is now online
[00:14:00] umi is now xa
[00:14:24] evrial is now away
[00:15:47] maxim.zemlyakov is now online
[00:16:39] serg.makar is now online
[00:17:26] tilarids is now away
[00:18:44] serg.makar is now away
[00:18:45] serg.makar is now away
[00:19:00] umi is now xa
[00:19:24] evrial is now away
[00:20:49] maxim.zemlyakov is now online
[00:21:22] evrial is now offline
[00:21:41] serg.makar is now away
[00:22:44] vnuchaev is now xa
[00:23:12] pc_ is now away
[00:23:55] Makc is now online
[00:24:01] umi is now xa
[00:25:49] maxim.zemlyakov is now online
[00:25:55] Makc: Здравствуйте, я новичек в питоне. Кто-нибудь может объяснить почему питон ругается на строку "from Tkinter import *". Модуль Tkinter, как говорит википедия, включен в стандартный питоновский набор =\
[00:26:42] serg.makar is now away
[00:27:08] pc_ is now online
[00:27:26] tilarids is now xa
[00:28:07] Makc: Питон 3.2 под виндовс
[00:29:01] umi is now xa
[00:30:17] py_two: import Tkinter
[00:30:41] xa4a is now online
[00:30:41] xa4a is now away
[00:30:51] maxim.zemlyakov is now online
[00:31:14] Makc: import Tkinter
ImportError: No module named Tkinter
[00:31:47] serg.makar is now away
[00:32:56] Makc: папка \Lib\tkinter существует
[00:33:35] Typhon: >>> import tkinter
>>> tkinter
<module 'tkinter' from 'C:\Python32\lib\tkinter\__init__.py'>
[00:34:03] umi is now xa
[00:34:15] py_two: ну ок
[00:34:18] py_two: что еще ?
[00:34:30] Makc: эм. дак как мне прописать импортирование?
[00:34:56] Typhon: tkinter
[00:35:03] Typhon: с маленькой буквы
[00:35:24] Makc: 0_0
[00:35:31] Makc: работает
[00:35:52] maxim.zemlyakov is now online
[00:36:19] py_two: Typhon:)
[00:36:26] Makc: спасибо =)
[00:36:51] serg.makar is now away
[00:36:59] py_two: Typhon: я вижу, что тут практически все в пайтоне работают с дьянго
[00:37:04] Makc: кстати, код брал с википедии. вот и верь после этого ей х) http://ru.wikipedia.org/wiki/Tkinter
[00:37:46] Typhon: py_two, не все.
[00:38:03] py_two: практически
[00:38:04] Makc: и еще, ругается на неправилльный синтаксис в print "Hello World!"
[00:38:08] py_two: но много упоминаете
[00:38:14] Typhon: Makc, где там написано, что питоновский модуль-интерфейс к ткинтеру пишется с большой буквы? ;-)
[00:38:23] Typhon: Makc, print -- функций
[00:38:38] Makc: Typhon: там пример кода дан в котором написано from Tkinter import *
[00:38:40] Typhon: функция.
[00:38:56] Typhon: смотри what's changed для 3-ей версии и туториал соотв.
[00:39:01] umi is now xa
[00:39:21] Makc: конфликт версий, ненавижу =\
[00:39:28] Typhon: ну они там ещё и wildcard импорт используют, как им вообще можно верить?
[00:39:35] Makc: ну что же, другого выхода нет
[00:39:38] Typhon: что значит "конфликт"?
[00:39:48] Makc: what's changed для 3-ей версии
[00:39:53] Typhon: просто обратную совместимость поломали чуть ^___^
[00:40:02] Makc: мдя)
[00:40:12] Typhon: Makc, ну "мир изменчив"
[00:40:54] maxim.zemlyakov is now online
[00:40:57] Makc: хм... а во тмне не нравится, что теперь фунция со скобками вызывается
[00:40:59] Typhon: py_two, в контексте "заебаливысосвоейджангой"?
[00:41:20] py_two: Typhon: ага:)
[00:41:21] Typhon: Makc, функции всегда вызываются со скобками
[00:41:31] Typhon: во второй ветки print был statement'ом.
[00:41:34] Typhon: (зачем-то )
[00:41:40] Makc: а чем же тогда раньше print был?
[00:41:52] serg.makar is now away
[00:42:06] serg.makar is now online
[00:42:07] serg.makar is now online
[00:42:11] Makc: ведь раньше print "Hello World" работало
[00:42:52] Typhon: !pydoc print statement
[00:43:02] Makc: fail
[00:43:12] Makc: !pydoc print
[00:43:18] Typhon: http://docs.python.org/reference/lexical_analysis.html#identifiers
[00:43:28] Typhon: фэйл в том, что ты доков не читал ;-)
[00:43:35] Makc: не да
[00:43:37] Makc: *ну
[00:43:53] Makc: говорю же, только поставит питона)
[00:44:01] py_two: читал доки ? не да!
[00:44:03] umi is now xa
[00:44:04] py_two: :)
[00:44:12] Typhon: так тебе в туториал, а на википедию ^_^
[00:44:30] Makc: кэйвордом значит это было...
[00:45:54] maxim.zemlyakov is now online
[00:46:54] serg.makar is now online
[00:47:54] Makc: а там где-т оесть страница рассказывающая о разнице 3.2 и 2.7?
[00:48:19] Makc: а т оя смотрю, в 2.7 print это словарное слово, а в 3.2 это функция 0_0
[00:48:30] Typhon: what's changed.
[00:48:41] Makc: ...
[00:48:49] Typhon: http://docs.python.org/py3k/
[00:49:04] umi is now xa
[00:49:18] tilarids is now online
[00:49:30] Typhon: и туториал там есть
[00:49:37] Typhon: актуальный для третьей версии
[00:50:42] Makc: мне просто нужно узнать какая разница между 3.2 и 2.7. лог изменений об этом не говорит т.к. две версии развиваются параллельно
[00:50:50] Makc: или говорит 0_о
[00:50:55] maxim.zemlyakov is now online
[00:51:30] Makc: м... мне он нифига не говорит об том)
[00:51:58] serg.makar is now online
[00:52:15] serg.makar is now away
[00:52:15] serg.makar is now away
[00:52:31] Typhon: what's changed. повторюсь в третий раз
[00:52:48] Makc: читаю..
[00:52:49] Typhon: и вообще http://wiki.python.org/moin/Python2orPython3
[00:53:05] Makc: о, судя по ссылке - то что надо
[00:53:24] Makc: =)
[00:54:06] umi is now xa
[00:54:29] Typhon: по ссылке есть текст в духе "если ты не знаешь, какой брать и зачем тебе 3 -- бери 2.7"
[00:55:14] Makc: ну блин, ты весь кайф от чтения испортил >_<
[00:55:34] serg.makar is now online
[00:55:34] serg.makar is now online
[00:55:51] py_two: а зачем вообще разрабатывать две версии языка ?
[00:55:56] maxim.zemlyakov is now online
[00:56:05] py_two: имхо создает путаницу
[00:56:45] py_two: Typhon: м ?
[00:56:59] serg.makar is now online
[00:57:23] pc_ is now away
[00:58:33] Makc: ну что же, попробую подружиться с 3.2
[00:58:47] Typhon: никто не разрабатывает _две_ версии языка
[00:59:07] umi is now xa
[00:59:13] Typhon: есть 2ая ветка, для которой есть кучи библиотек и прочего
[00:59:29] Typhon: но в которой также есть всякие глупости, ошибки и исторические наследия, которые неплохо бы поправить
[00:59:44] tilarids is now away
[01:00:03] Makc: надеюсь, вскоре эти библиотеки перепишут для 3.x
[01:00:57] maxim.zemlyakov is now online
[01:02:00] serg.makar is now online
[01:02:27] py_two: Typhon: вообще уникальный язык, но комьюнити несобранное какое-то
[01:02:36] py_two: нет репы бинарных модулей всех
[01:02:46] py_two: а ведь было бы неплохо, согласись
[01:02:51] Typhon: ?
[01:02:58] Typhon: pypu
[01:02:59] Typhon: *pypi
[01:03:03] py_two: под венду
[01:03:24] Typhon: если питон-комьюнити не собраное, то какое тогда ок?
[01:03:44] Typhon: что "под венду"? easy_install есть под винду
[01:03:58] serg.makar is now away
[01:03:58] serg.makar is now away
[01:04:00] py_two: ща:)
[01:04:01] Makc: у меня проблемка: создал форму в PyQt4, получил код. запускаю в питоне код - ни ошибок и ни формы не вижу. такое чувство, что или форма не показывается либо код сразу же завершается.
[01:04:08] umi is now xa
[01:04:39] Makc: мое знакомство с питоном началось с граблинного поля х)
[01:04:43] serg.makar is now online
[01:04:43] serg.makar is now online
[01:05:27] Typhon: а должно было начаться с туториала
[01:05:46] py_two: Typhon: возьмем python-cdb
[01:05:57] maxim.zemlyakov is now online
[01:06:09] py_two: easy_install.exe python-cdb
[01:06:12] Typhon: ты лучше ответь на мой вопрос
[01:06:17] Typhon: в каком языке комьюнити лучше
[01:06:33] Typhon: и где есть пакеты бинарных дистрибутивов.
[01:07:04] serg.makar is now online
[01:07:08] Typhon: и как питон должен думать о сторонних либах сишных, к которым биндинг ты хочешь поставить
[01:07:19] Typhon: и что делать на системах, в которых нет пакетов и пакетных менеджеров?
[01:07:23] pc_ is now xa
[01:08:52] py_two: Typhon: тот, кто вываливает в сеть пакет - должен по крайней мере собрать под вин\лин\бсд\макос пакет
[01:09:07] py_two: и выложить на binary_pypi
[01:09:09] umi is now xa
[01:09:14] py_two: как-то так
[01:09:33] py_two: если я не ошибаюсь в пыхе делается всё через pear
[01:09:43] py_two: и достаточно хорошо, хоть в лин хоть в вин
[01:09:44] tilarids is now xa
[01:09:55] py_two: конечно я понимаю, что там классы
[01:10:27] py_two: но все же можно было бы не создавать путаницу и не заставлять девелоперов компилировать хрен знает что хрен знает чем хрен знает как
[01:10:55] serg.makar is now away
[01:10:55] serg.makar is now away
[01:10:57] maxim.zemlyakov is now online
[01:12:05] serg.makar is now away
[01:12:06] Typhon: эй
[01:12:10] Typhon: pear -- только пуре-пхп распространяет
[01:12:11] Typhon: насколько я понял из фака
[01:12:46] Typhon: лучше, конечно, хрен знает какой бинарник скачать, который хрен знает из чего собран ;-)
[01:14:09] umi is now xa
[01:14:33] py_two: Typhon: ну про бекдоры в OSS тоже говорить не будем
[01:14:46] py_two: open source software
[01:15:06] py_two: для этого и есть ресурсы типа pypi
[01:15:17] py_two: пусть проводят верификацию и после выкладывают
[01:15:31] py_two: есть система доверительных коммитеров и тд
[01:15:56] Typhon: contribute or gtfo %)
[01:15:58] maxim.zemlyakov is now online
[01:16:05] Typhon: python-ideas
[01:16:15] pc_ is now online
[01:16:15] py_two: :)
[01:16:28] tilarids is now online
[01:16:31] py_two: не, ну просто непорядок. Для того, чтобы кодить на питоне надо ставить линукс
[01:16:36] py_two: а по-другому никак
[01:16:59] py_two: ну если конечно голова думает хоть чуть-чуть на перед
[01:17:05] serg.makar is now away
[01:17:16] py_two: кодинг в венде на питоне - детский лепет
[01:17:29] py_two: мое мнение
[01:18:24] Makc: я вот думаю завиртуализировать дебиан или убунту и там питонить ибо я уже знаю один скриптовый язык под виндовс, а под линуксом вообще нифига не знаю)
[01:19:09] umi is now xa
[01:20:06] py_two: Typhon: до сегодня;)
[01:20:18] py_two is now offline
[01:20:58] maxim.zemlyakov is now online
[01:21:34] tilarids is now away
[01:22:07] serg.makar is now away
[01:22:19] Makc: Typhon: не подскажешь как измерить длительность выполнения скрипта? вклчить timer в начале кода и вывести в консоль время в коце или есть какая-ниудь особая функция, показывающая как долго выполнялся скрипт?
[01:22:28] Typhon: timeit
[01:22:54] Typhon: !pydoc timeit
[01:24:03] Tony is now away
[01:24:09] umi is now xa
[01:25:17] serg.makar is now online
[01:25:17] serg.makar is now online
[01:25:58] maxim.zemlyakov is now online
[01:26:34] Makc: читаю я хелп и нифига не понимаю как ею пользоваться x_x
[01:27:07] serg.makar is now online
[01:29:10] umi is now xa
[01:31:00] maxim.zemlyakov is now online
[01:31:35] tilarids is now xa
[01:32:07] serg.makar is now online
[01:33:19] tilarids is now online
[01:34:10] umi is now xa
[01:36:03] maxim.zemlyakov is now online
[01:37:08] serg.makar is now online
[01:39:11] umi is now xa
[01:39:53] Makc: вот как мне измерить сколько времени заимет выполнение
for i in range(100):
print (i)
[01:40:17] tilarids is now away
[01:41:04] maxim.zemlyakov is now online
[01:42:10] serg.makar is now online
[01:43:09] serg.makar is now away
[01:43:09] serg.makar is now away
[01:44:12] umi is now xa
[01:46:06] maxim.zemlyakov is now online
[01:47:10] serg.makar is now away
[01:48:14] Typhon is now xa
[01:49:03] Tony is now xa
[01:49:12] umi is now xa
[01:50:17] tilarids is now xa
[01:51:06] maxim.zemlyakov is now online
[01:52:10] serg.makar is now away
[01:53:33] serg.makar is now online
[01:53:33] serg.makar is now online
[01:54:12] umi is now xa
[01:56:08] maxim.zemlyakov is now online
[01:57:11] serg.makar is now online
[01:59:14] umi is now xa
[02:01:09] maxim.zemlyakov is now online
[02:02:13] serg.makar is now online
[02:02:33] Makc: не работает
ary = []
for i in range(10):
ary.append(i)
print (ary)
[02:04:14] umi is now xa
[02:06:10] maxim.zemlyakov is now online
[02:07:12] serg.makar is now online
[02:09:14] umi is now xa
[02:11:10] maxim.zemlyakov is now online
[02:12:13] serg.makar is now online
[02:13:22] Tony is now online
[02:14:14] umi is now xa
[02:16:11] maxim.zemlyakov is now online
[02:17:13] serg.makar is now online
[02:19:14] umi is now xa
[02:21:12] maxim.zemlyakov is now online
[02:22:13] serg.makar is now online
[02:23:24] serg.makar is now away
[02:23:25] serg.makar is now away
[02:24:13] umi is now xa
[02:26:14] maxim.zemlyakov is now online
[02:26:33] serg.makar is now online
[02:26:34] serg.makar is now online
[02:27:14] serg.makar is now online
[02:28:49] vnuchaev is now online
[02:29:15] umi is now xa
[02:31:15] maxim.zemlyakov is now online
[02:32:14] serg.makar is now online
[02:34:06] serg.makar is now away
[02:34:06] serg.makar is now away
[02:34:15] umi is now xa
[02:36:16] maxim.zemlyakov is now online
[02:37:14] serg.makar is now away
[02:38:50] vnuchaev is now away
[02:39:15] umi is now xa
[02:40:55] pc_ is now away
[02:41:16] maxim.zemlyakov is now online
[02:42:15] serg.makar is now away
[02:42:47] pc_ is now online
[02:44:16] umi is now xa
[02:46:17] maxim.zemlyakov is now online
[02:47:14] serg.makar is now away
[02:49:17] umi is now xa
[02:50:19] Makc is now dnd
[02:50:37] Makc is now online
[02:51:18] maxim.zemlyakov is now online
[02:52:13] serg.makar is now away
[02:54:18] umi is now xa
[02:56:18] maxim.zemlyakov is now online
[02:57:15] serg.makar is now away
[02:58:50] vnuchaev is now xa
[02:59:17] umi is now xa
[03:01:20] maxim.zemlyakov is now online
[03:02:16] serg.makar is now away
[03:04:18] umi is now xa
[03:05:27] pc_ is now away
[03:06:20] maxim.zemlyakov is now online
[03:07:17] serg.makar is now away
[03:08:20] Tony is now away
[03:08:34] Makc is now away
[03:09:19] umi is now xa
[03:09:31] Makc is now online
[03:11:21] maxim.zemlyakov is now online
[03:12:17] serg.makar is now away
[03:14:18] umi is now xa
[03:14:49] darkillusion is now away
[03:14:49] darkillusion is now away
[03:15:27] pc_ is now xa
[03:16:21] maxim.zemlyakov is now online
[03:17:18] serg.makar is now away
[03:19:18] umi is now xa
[03:21:22] maxim.zemlyakov is now online
[03:22:20] serg.makar is now away
[03:22:25] pc_ is now online
[03:24:18] umi is now xa
[03:26:23] maxim.zemlyakov is now online
[03:27:21] serg.makar is now away
[03:29:18] umi is now xa
[03:31:23] maxim.zemlyakov is now online
[03:32:22] serg.makar is now away
[03:33:20] Tony is now xa
[03:34:18] umi is now xa
[03:34:27] serg.makar is now online
[03:34:27] serg.makar is now online
[03:36:24] maxim.zemlyakov is now online
[03:37:22] serg.makar is now online
[03:39:18] umi is now xa
[03:40:23] serg.makar is now away
[03:40:23] serg.makar is now away
[03:41:25] maxim.zemlyakov is now online
[03:42:22] serg.makar is now away
[03:44:18] umi is now xa
[03:46:27] maxim.zemlyakov is now online
[03:47:24] serg.makar is now away
[03:49:19] umi is now xa
[03:51:26] maxim.zemlyakov is now online
[03:52:24] serg.makar is now away
[03:53:12] Makc is now away
[03:54:19] umi is now xa
[03:56:26] maxim.zemlyakov is now online
[03:57:23] serg.makar is now away
[03:59:20] umi is now xa
[04:01:28] maxim.zemlyakov is now online
[04:02:23] serg.makar is now away
[04:04:20] umi is now xa
[04:06:28] maxim.zemlyakov is now online
[04:07:22] serg.makar is now away
[04:09:20] umi is now xa
[04:11:01] _lorien: Makc: в документации есть примеры использования timeit
[04:11:29] maxim.zemlyakov is now online
[04:12:23] serg.makar is now away
[04:13:12] Makc is now xa
[04:14:21] umi is now xa
[04:14:29] _lorien: <pubDate>Птн, 18 Мар 2011 02:47:00 +0300</pubDate>
реально ли это распарсить, зная что дата на русском языке?
[04:15:27] _lorien: Чё-то вопрос некорректен, ладно, проехали :)
[04:16:24] Makc is now online
[04:16:30] maxim.zemlyakov is now online
[04:17:23] serg.makar is now away
[04:19:22] umi is now xa
[04:21:31] maxim.zemlyakov is now online
[04:22:23] serg.makar is now away
[04:24:22] umi is now xa
[04:26:32] maxim.zemlyakov is now online
[04:27:11] pc_ is now away
[04:27:21] serg.makar is now away
[04:29:22] umi is now xa
[04:31:05] Makc is now away
[04:31:34] maxim.zemlyakov is now online
[04:32:21] serg.makar is now away
[04:34:22] umi is now xa
[04:36:35] maxim.zemlyakov is now online
[04:37:11] pc_ is now xa
[04:37:22] serg.makar is now away
[04:39:23] umi is now xa
[04:41:37] maxim.zemlyakov is now online
[04:42:05] _lorien: Птн, 18 Мар 2011 01:04:00 +0300 - это может быть датой в каком-то стандарте? Есть rfc 822, но там я так понял, только английские названия дней и месяцев.
[04:42:23] serg.makar is now away
[04:44:22] umi is now xa
[04:46:37] maxim.zemlyakov is now online
[04:47:22] serg.makar is now away
[04:49:22] umi is now xa
[04:51:05] Makc is now xa
[04:51:38] maxim.zemlyakov is now online
[04:52:23] serg.makar is now away
[04:54:22] umi is now xa
[04:56:39] maxim.zemlyakov is now online
[04:57:24] serg.makar is now away
[04:59:22] umi is now xa
[05:01:40] maxim.zemlyakov is now online
[05:02:24] serg.makar is now away
[05:04:23] umi is now xa
[05:06:41] maxim.zemlyakov is now online
[05:07:24] serg.makar is now away
[05:09:22] umi is now xa
[05:11:42] maxim.zemlyakov is now online
[05:12:23] serg.makar is now away
[05:14:22] umi is now xa
[05:16:42] maxim.zemlyakov is now online
[05:17:23] serg.makar is now away
[05:19:03] dicos is now online
[05:19:21] umi is now xa
[05:21:42] maxim.zemlyakov is now online
[05:22:22] serg.makar is now away
[05:24:21] umi is now xa
[05:26:44] maxim.zemlyakov is now online
[05:27:22] serg.makar is now away
[05:29:22] umi is now xa
[05:31:44] maxim.zemlyakov is now online
[05:32:21] serg.makar is now away
[05:34:21] umi is now xa
[05:36:45] maxim.zemlyakov is now online
[05:37:21] serg.makar is now away
[05:38:13] dicos is now away
[05:38:13] dicos is now away
[05:38:28] dicos is now away
[05:38:28] dicos is now online
[05:39:22] umi is now xa
[05:41:46] maxim.zemlyakov is now online
[05:42:21] serg.makar is now away
[05:44:21] umi is now xa
[05:46:46] maxim.zemlyakov is now online
[05:47:11] vnuchaev is now online
[05:47:22] serg.makar is now away
[05:49:21] umi is now xa
[05:51:47] maxim.zemlyakov is now online
[05:52:21] serg.makar is now away
[05:54:21] umi is now xa
[05:56:19] vnuchaev is now offline
[05:56:48] maxim.zemlyakov is now online
[05:57:19] serg.makar is now away
[05:59:22] umi is now xa
[06:01:49] maxim.zemlyakov is now online
[06:02:20] serg.makar is now away
[06:04:22] umi is now xa
[06:06:51] maxim.zemlyakov is now online
[06:07:21] serg.makar is now away
[06:09:23] umi is now xa
[06:11:51] maxim.zemlyakov is now online
[06:12:23] serg.makar is now away
[06:12:46] Magister Yoda is now away
[06:12:55] Magister Yoda is now away
[06:12:55] Magister Yoda is now online
[06:14:22] umi is now xa
[06:16:50] maxim.zemlyakov is now online
[06:17:23] serg.makar is now away
[06:19:22] umi is now xa
[06:21:52] maxim.zemlyakov is now online
[06:22:23] serg.makar is now away
[06:24:23] umi is now xa
[06:24:29] webninja is now online
[06:24:41] webninja: привет
[06:26:52] maxim.zemlyakov is now online
[06:27:22] serg.makar is now away
[06:27:42] webninja: есть итератор какой-нибудь чтобы грамотно свернуть A=['a','b'] B = ['cd', 'ae', 'bu'] => (false, true, true)
[06:29:23] umi is now xa
[06:31:52] maxim.zemlyakov is now online
[06:32:21] serg.makar is now away
[06:34:24] umi is now xa
[06:35:11] _lorien: цикл внутри цикла спасёт тебя :)
[06:35:20] _lorien: заверни всё в функцию, которая будет делать yield
[06:36:31] webninja: ага =( жалко итератора нет
[06:36:36] gf is now online
[06:36:45] gf is now online
[06:36:53] maxim.zemlyakov is now online
[06:37:01] webninja: ща почитаю че за yield
[06:37:22] serg.makar is now away
[06:38:19] dicos is now offline
[06:39:25] umi is now xa
[06:41:54] maxim.zemlyakov is now online
[06:42:21] serg.makar is now away
[06:42:59] webninja: ага понял как return только возвращает генератор
[06:44:25] umi is now xa
[06:46:53] maxim.zemlyakov is now online
[06:47:12] _lorien: если пытон видит, что в функции есть yield, то он автоматически делает так, шо вызов функции возвращает итератор, который итерируетс по значением, который c помощью yeild выдаются
[06:47:21] serg.makar is now away
[06:49:25] umi is now xa
[06:51:55] maxim.zemlyakov is now online
[06:52:23] serg.makar is now away
[06:52:55] gf is now away
[06:52:55] gf is now away
[06:54:25] umi is now xa
[06:56:57] maxim.zemlyakov is now online
[06:57:18] webninja: _lorien спасибо, вроде все получается =)
[06:57:23] serg.makar is now away
[06:59:25] umi is now xa
[06:59:28] webninja: у меня список итемов есть в словаре там title, product type, url вот мне нужно из него сделать выборку по названию т.е. проверять вхождение нужного кейворда в item['title'] и т.д. вообщем get_category_by_keywords(keywords, fields)
[07:01:09] gigimon is now online
[07:01:58] maxim.zemlyakov is now online
[07:02:26] serg.makar is now away
[07:02:39] wiz is now online
[07:04:25] umi is now xa
[07:06:05] webninja: http://dumpz.org/41747/ приму замечания
[07:06:09] webninja: по коду
[07:06:59] maxim.zemlyakov is now online
[07:07:28] serg.makar is now away
[07:08:35] wiz: pep8, pylint, pychecker натрави на него
[07:09:17] _lorien: ебанутые названия переменных )
[07:09:20] webninja: я страюсь соблюдать pep8
[07:09:23] nott is now online
[07:09:25] umi is now xa
[07:09:27] wiz: for / append свернуть в list comp.
[07:09:29] webninja: так а че этож вспомогательная функция на раз
[07:09:35] _lorien: ii, kk, tt => items, keys, types
[07:09:40] _lorien: ну и что )
[07:09:44] webninja: у пятона внутрях так же )
[07:09:45] wiz: в докстринг доктест, а то непонятно нихера
[07:10:01] webninja: че за докстринг?
[07:10:03] _lorien: ну значит в питоне внутрях тоже ебанутые названия
[07:10:52] wiz: """i am a docstring"""
[07:11:04] _lorien: if ii[t].find(k) != -1:
yield True
else:
yield False
=> yield items[_type].find(key) != 1
[07:11:05] webninja: есть
[07:11:56] _lorien: даже yield k in items[type_]
:)
[07:11:59] maxim.zemlyakov is now online
[07:12:23] webninja: oh shit
[07:12:29] serg.makar is now away
[07:12:29] webninja: что еще за _
[07:12:42] _lorien: ну шобы не совпадало со ствроенной функцией type
[07:12:52] _lorien: ну у тебя в коде не type_, а t щас )
[07:12:58] _lorien: я просто не использовал твои названия
[07:14:08] _lorien: get_category_by_keword кстати тоже может быть генератором :)
[07:14:25] umi is now xa
[07:14:34] webninja: > 20 000 наименований )
[07:14:46] _lorien: Генератор вообще удобная штука :) Единственно, неудобно, когда надо полностью список (например в целях дебага), надо собирать значения через list() в перменную
[07:16:19] _lorien: for item in self.items:
#print [i for i in _match(item, keywords, types)]
if any(_match(item, keywords, types)):
result.append(item['title'])
return result
=> return [x for x in self.items if any(_match(x, keywords, types)]
[07:16:23] _lorien: вот так можно :)
[07:17:01] maxim.zemlyakov is now online
[07:17:06] _lorien: или так
return filter(lambda x: any(_match(x, keywords, types)), self.items)
[07:17:09] webninja: можно ) ваще говорят не стоит злоупотреблять этим
[07:17:21] wiz: или ifilter
[07:17:28] serg.makar is now away
[07:18:02] wiz: http://metaleks.net/programming/the-evolution-of-a-python-programmer (=
[07:18:32] webninja: простое лучше сложного )
[07:19:18] _lorien: да, можно кстати записать так:
return filter(_match(x, keywords, types), self.items), только переписать _match, чтобы она возвращала просто True или False, т.е. any внуть неё перенести
[07:19:25] umi is now xa
[07:19:47] _lorien: и ваще там функция _match не нужна
[07:20:04] _lorien: сделай get_category_by_keyword генератором и там внутри вложенные циклы
[07:20:10] _lorien: :)
[07:20:15] wiz: кстати да
[07:20:32] wiz: а то лишний вызов будет тормозить, если элементов дочёрта
[07:22:01] maxim.zemlyakov is now online
[07:22:29] serg.makar is now away
[07:22:36] webninja: быстро )
[07:22:50] webninja: ну вообщем я уже потерял нить понимания кода
[07:23:44] Makc is now online
[07:23:44] webninja: yield items[_type].find(key) != 1 жжесть ) ну ваще так сразу не врубиться
[07:24:25] umi is now xa
[07:24:28] wiz: почему?
[07:24:42] wiz: хотя да
[07:24:49] _lorien: там не нужен find
[07:24:51] wiz: поэтому key in ... сильно приятней
[07:25:39] webninja: key in ищет подстроку в строке?
[07:27:03] maxim.zemlyakov is now online
[07:27:29] serg.makar is now away
[07:29:25] umi is now xa
[07:29:54] wiz is now away
[07:32:03] maxim.zemlyakov is now online
[07:32:29] serg.makar is now away
[07:32:57] Magister Yoda is now offline
[07:34:26] umi is now xa
[07:35:44] wiz is now online
[07:35:51] wiz: в том числе
[07:35:56] webninja: http://dumpz.org/41753/ с первого взгляда не понять что происходит )
[07:36:53] webninja: yield k in items[t] да тоже самое получается
[07:37:05] maxim.zemlyakov is now online
[07:37:31] serg.makar is now away
[07:37:34] nott is now offline
[07:38:30] webninja: пол года назад глядя на такой код я тихо матерился и верил на слово тому что написано в докстринге, если было написано
[07:38:37] Magister Yoda is now online
[07:39:27] umi is now xa
[07:40:56] Magister Yoda is now offline
[07:42:06] maxim.zemlyakov is now online
[07:42:32] serg.makar is now away
[07:42:51] Makc is now away
[07:44:27] umi is now xa
[07:47:06] maxim.zemlyakov is now online
[07:47:32] serg.makar is now away
[07:47:54] gf is now offline
[07:49:27] umi is now xa
[07:51:03] webninja is now online
[07:52:07] maxim.zemlyakov is now online
[07:52:33] serg.makar is now away
[07:54:27] umi is now xa
[07:57:07] maxim.zemlyakov is now online
[07:57:33] serg.makar is now away
[07:59:26] umi is now xa
[07:59:33] webninja is now online
[08:02:08] maxim.zemlyakov is now online
[08:02:32] serg.makar is now away
[08:02:51] Makc is now xa
[08:04:11] wiz: убери _матч вообще
[08:04:26] umi is now xa
[08:06:41] webninja: куда?
[08:07:09] maxim.zemlyakov is now online
[08:07:34] serg.makar is now away
[08:09:26] umi is now xa
[08:09:38] webninja: норм короче
[08:12:11] maxim.zemlyakov is now online
[08:12:36] serg.makar is now away
[08:12:48] wiz: ну разверни его, как _lorien сказал
[08:14:26] umi is now xa
[08:17:14] maxim.zemlyakov is now online
[08:17:36] serg.makar is now away
[08:19:03] wiz: /me считает, что не тру гонять переменные туда-сюда, через ненужный вызов функции
[08:19:26] umi is now xa
[08:21:11] webninja is now online
[08:22:14] maxim.zemlyakov is now online
[08:22:35] serg.makar is now away
[08:24:27] umi is now xa
[08:25:33] wiz: у тебя в self.items словарь?
[08:27:15] maxim.zemlyakov is now online
[08:27:34] serg.makar is now away
[08:29:27] umi is now xa
[08:31:40] gigimon is now away
[08:31:41] gigimon is now away
[08:32:17] maxim.zemlyakov is now online
[08:32:23] webninja is now online
[08:32:36] serg.makar is now away
[08:34:27] umi is now xa
[08:34:37] nott is now online
[08:35:42] evrial is now away
[08:35:42] evrial is now away
[08:37:19] maxim.zemlyakov is now online
[08:37:37] serg.makar is now away
[08:39:27] evrial is now away
[08:39:27] umi is now xa
[08:42:20] maxim.zemlyakov is now online
[08:42:38] serg.makar is now away
[08:44:28] evrial is now away
[08:44:28] umi is now xa
[08:47:21] maxim.zemlyakov is now online
[08:47:39] serg.makar is now away
[08:49:28] evrial is now away
[08:49:28] umi is now xa
[08:52:23] maxim.zemlyakov is now online
[08:52:39] serg.makar is now away
[08:54:28] umi is now xa
[08:54:29] evrial is now away
[08:55:21] Ляпатяпа is now online
[08:57:24] maxim.zemlyakov is now online
[08:57:40] serg.makar is now away
[08:58:49] maxim.zemlyakov is now offline
[08:59:28] umi is now xa
[08:59:30] evrial is now away
[09:01:13] webninja is now online
[09:01:42] webninja is now online
[09:02:41] serg.makar is now away
[09:03:37] nott is now offline
[09:04:28] umi is now xa
[09:04:30] evrial is now away
[09:06:53] wiz is now away
[09:07:42] serg.makar is now away
[09:09:29] umi is now xa
[09:09:30] evrial is now away
[09:10:04] darkillusion is now away
[09:10:04] darkillusion is now online
[09:11:29] gf is now online
[09:11:39] gf is now online
[09:12:15] webninja is now online
[09:12:25] webninja is now online
[09:12:43] serg.makar is now away
[09:14:29] umi is now xa
[09:14:31] evrial is now away
[09:16:53] wiz is now xa
[09:17:26] webninja is now online
[09:17:38] webninja is now online
[09:17:44] serg.makar is now away
[09:19:30] umi is now xa
[09:19:32] evrial is now away
[09:20:05] wiz is now online
[09:22:41] serg.makar is now away
[09:22:42] alecs is now online
[09:22:42] alecs is now online
[09:23:02] alecs is now online
[09:23:02] alecs is now online
[09:24:31] umi is now xa
[09:24:34] evrial is now away
[09:25:05] alecs is now online
[09:26:53] xa4a is now away
[09:26:53] xa4a is now online
[09:27:41] serg.makar is now away
[09:29:31] umi is now xa
[09:29:35] evrial is now away
[09:30:07] alecs is now online
[09:32:41] serg.makar is now away
[09:32:42] Ляпатяпа is now offline
[09:33:31] wiz is now away
[09:33:56] webninja is now online
[09:34:33] umi is now xa
[09:34:37] evrial is now away
[09:35:08] alecs is now online
[09:35:47] wiz is now online
[09:37:43] serg.makar is now away
[09:38:39] gigimon is now away
[09:38:39] gigimon is now online
[09:39:32] umi is now xa
[09:39:39] evrial is now away
[09:40:10] alecs is now online
[09:40:24] Tony is now online
[09:40:48] webninja is now online
[09:41:15] wiz is now away
[09:42:44] serg.makar is now away
[09:44:13] webninja: wiz: да
[09:44:33] umi is now xa
[09:44:40] evrial is now away
[09:45:12] alecs is now online
[09:46:12] umi is now online
[09:46:12] umi is now online
[09:47:44] serg.makar is now away
[09:49:31] umi is now online
[09:49:42] evrial is now away
[09:50:14] alecs is now online
[09:51:15] wiz is now xa
[09:52:07] umi is now away
[09:52:08] umi is now away
[09:52:44] serg.makar is now away
[09:54:02] webninja: вернее нет там список
[09:54:17] webninja: туда csv читается
[09:54:32] umi is now away
[09:54:43] evrial is now away
[09:55:17] alecs is now online
[09:55:47] wiz is now online
[09:56:12] wiz: кинь пару строк
[09:57:19] webninja: http://dumpz.org/41787/
[09:57:45] serg.makar is now away
[09:59:33] umi is now away
[09:59:45] evrial is now away
[10:00:17] alecs is now online
[10:02:08] umi is now xa
[10:02:08] umi is now xa
[10:02:44] serg.makar is now away
[10:03:45] xa4a: тут, если упадёт open(filename, "rb"), то finally тоже упадёт
[10:04:33] umi is now xa
[10:04:39] wiz: нет, всё же конструкт с filter, lambda, any мне решительно не нравится
[10:04:45] evrial is now away
[10:05:17] wiz: это как писать регруп используя кучу "готовых" функций, хотя там всё в одно выражение делается
[10:05:19] alecs is now online
[10:07:27] webninja: xa4a: уже исправил.
[10:07:46] serg.makar is now away
[10:07:48] webninja: да ваще надо поменьше развлекаться с такими штуками
[10:07:55] webninja: простое лучше сложного
[10:09:21] webninja: убрал кстати continue из циклов
[10:09:35] umi is now xa
[10:09:47] evrial is now away
[10:10:19] alecs is now online
[10:10:19] wiz is now away
[10:11:18] Tony is now away
[10:11:21] webninja: filter(lambda x : callable(getattr(string, x)), [atr for atr in dir(string)]) попробуй вот догадайся сразу что это список методов объекта )
[10:11:57] wiz is now online
[10:12:01] wiz: list comp. / generator exp. рулят
[10:12:47] serg.makar is now away
[10:13:10] serg.makar is now online
[10:13:10] serg.makar is now online
[10:13:34] gigimon is now offline
[10:13:39] wiz: attr for attr in dir(whatever) if callable(getattr(whatever, attr))
[10:14:29] tilarids is now online
[10:14:34] umi is now xa
[10:14:49] evrial is now away
[10:15:21] alecs is now online
[10:16:03] xa4a: def get_all_categories(self, field='product type'): items = map(operator.itemgetter(field), self.items); return items.most_common()
[10:16:16] xa4a: опс
[10:16:31] xa4a: def get_all_categories(self, field='product type'): items = collections.Counter(map(operator.itemgetter(field), self.items)); return items.most_common()
[10:16:50] umi is now online
[10:16:50] umi is now online
[10:17:38] wiz: map в конструкторе - фэйл ящитаю
[10:17:48] serg.makar is now online
[10:17:58] xa4a: ладно, imap
[10:18:27] wiz: return Counter(self.items[item] for item in self.items).most_common()
[10:18:55] serg.makar is now away
[10:18:55] serg.makar is now away
[10:19:25] xa4a: забыл field?
[10:19:36] umi is now online
[10:19:46] wiz: ну не суть важно
[10:19:50] evrial is now away
[10:20:01] xa4a: вообще да. так Ъшнее..
[10:20:22] alecs is now online
[10:21:37] xa4a: def get_category_by_type(self, categories, type="product type"): return (i for i in self.items if i[type] in categories)
[10:22:02] webninja: жжете )
[10:22:50] serg.makar is now away
[10:23:00] wiz: «код завершён не когда больше нечего дописать, а когда больше нечего убрать» ©
[10:23:24] xa4a: "filter(lambda"
[10:23:33] xa4a: это первый признак, что пора сделать LC
[10:23:38] Tony is now online
[10:23:58] webninja: что за LC?
[10:24:06] xa4a: list comprehension
[10:24:09] wiz: lambda - первый признак, что пора сходить выссать кофе и подумать о коде заново
[10:24:37] umi is now online
[10:24:50] evrial is now away
[10:25:11] webninja: лямбда это как - "смотрите - функциональное программирование"
[10:25:22] alecs is now online
[10:25:25] wiz: *функциональное онанирование
[10:25:37] xa4a: def get_category_by_keyword(self, keywords, types=['product type', 'title']): return [i for i in self.items if any(k in i[t] for t in types for k in keywords)]
[10:25:44] umi is now away
[10:25:44] umi is now away
[10:26:23] Typhon is now online
[10:26:24] webninja: тем более звучит солидно "лямбда-функции" там же где-то ряд деламбера )
[10:26:37] xa4a: д'Аламбера же
[10:27:00] wiz: сходимость без причины - признак даламбера? ©
[10:27:52] serg.makar is now away
[10:29:37] umi is now away
[10:29:50] evrial is now away
[10:30:25] alecs is now online
[10:32:51] tilarids is now away
[10:32:54] serg.makar is now away
[10:33:41] tilarids is now online
[10:34:37] umi is now away
[10:34:52] evrial is now away
[10:35:27] alecs is now online
[10:35:44] umi is now xa
[10:35:44] umi is now xa
[10:36:05] serg.makar is now online
[10:36:06] serg.makar is now online
[10:37:54] serg.makar is now online
[10:38:18] Typhon is now xa
[10:39:36] umi is now xa
[10:39:55] evrial is now away
[10:40:29] alecs is now online
[10:42:40] webninja is now online
[10:42:56] serg.makar is now online
[10:43:16] webninja is now online
[10:44:37] umi is now xa
[10:44:58] evrial is now away
[10:45:30] alecs is now online
[10:47:57] serg.makar is now online
[10:49:37] umi is now xa
[10:49:59] evrial is now away
[10:50:31] alecs is now online
[10:51:47] webninja is now online
[10:52:58] serg.makar is now online
[10:53:48] _lorien is now offline
[10:54:23] webninja is now online
[10:54:38] umi is now xa
[10:55:01] evrial is now away
[10:55:32] alecs is now online
[10:57:06] _lorien is now I'm not here right now
[10:57:58] serg.makar is now online
[10:58:12] xa4a is now online
[10:58:12] xa4a is now away
[10:59:39] umi is now xa
[11:00:02] evrial is now away
[11:00:33] alecs is now online
[11:02:59] serg.makar is now online
[11:03:08] gigimon is now online
[11:04:40] umi is now xa
[11:05:03] evrial is now away
[11:05:34] alecs is now online
[11:07:23] webninja is now online
[11:07:31] webninja is now online
[11:08:00] serg.makar is now online
[11:08:17] bobry is now online
[11:09:40] umi is now xa
[11:10:05] evrial is now away
[11:10:35] alecs is now online
[11:12:59] serg.makar is now online
[11:14:13] serg.makar is now away
[11:14:13] serg.makar is now away
[11:14:41] umi is now xa
[11:15:05] evrial is now away
[11:15:37] alecs is now online
[11:18:00] serg.makar is now away
[11:19:41] umi is now xa
[11:20:06] evrial is now away
[11:20:18] wiz is now away
[11:20:37] alecs is now online
[11:22:03] webninja is now online
[11:22:06] webninja is now online
[11:23:00] serg.makar is now away
[11:24:42] umi is now xa
[11:25:07] evrial is now away
[11:25:40] alecs is now online
[11:26:22] gf is now offline
[11:27:06] webninja is now online
[11:27:11] gf is now online
[11:27:20] gf is now online
[11:28:00] serg.makar is now away
[11:29:44] umi is now xa
[11:30:08] evrial is now away
[11:30:18] wiz is now xa
[11:30:41] alecs is now online
[11:33:00] serg.makar is now away
[11:34:45] umi is now xa
[11:35:10] evrial is now away
[11:35:44] alecs is now online
[11:37:02] wiz is now online
[11:38:01] serg.makar is now away
[11:39:45] umi is now xa
[11:40:11] evrial is now away
[11:40:46] alecs is now online
[11:43:02] serg.makar is now away
[11:44:45] umi is now xa
[11:45:12] evrial is now away
[11:45:48] alecs is now online
[11:47:37] webninja is now online
[11:48:04] serg.makar is now away
[11:49:46] umi is now xa
[11:50:13] evrial is now away
[11:50:50] alecs is now online
[11:53:04] serg.makar is now away
[11:53:50] webninja is now online
[11:54:47] umi is now xa
[11:55:15] evrial is now away
[11:55:51] alecs is now online
[11:56:31] bobry is now away
[11:58:05] serg.makar is now away
[11:59:49] umi is now xa
[11:59:53] bobry is now online
[12:00:16] evrial is now away
[12:00:52] alecs is now online
[12:03:08] serg.makar is now away
[12:04:49] umi is now xa
[12:05:18] evrial is now away
[12:05:54] alecs is now online
[12:08:08] serg.makar is now away
[12:09:49] umi is now xa
[12:10:21] evrial is now away
[12:10:55] alecs is now online
[12:13:07] serg.makar is now away
[12:14:51] umi is now xa
[12:15:22] evrial is now away
[12:15:56] alecs is now online
[12:17:23] tilarids is now away
[12:18:07] serg.makar is now away
[12:18:45] tilarids is now online
[12:18:54] tilarids is now offline
[12:19:52] umi is now xa
[12:20:23] evrial is now away
[12:20:56] alecs is now online
[12:22:31] Typhon is now online
[12:23:08] serg.makar is now away
[12:24:53] umi is now xa
[12:25:23] evrial is now away
[12:25:57] alecs is now online
[12:26:53] darkillusion is now away
[12:26:53] darkillusion is now away
[12:27:16] umi is now online
[12:28:08] serg.makar is now away
[12:29:55] umi is now online
[12:30:25] evrial is now away
[12:30:59] alecs is now online
[12:33:10] serg.makar is now away
[12:33:50] gf is now offline
[12:34:54] umi is now online
[12:35:27] evrial is now away
[12:35:51] Magister Yoda is now away
[12:36:00] alecs is now online
[12:36:29] Magister Yoda is now away
[12:36:29] Magister Yoda is now online
[12:37:25] Typhon is now xa
[12:37:50] darkillusion is now away
[12:37:50] darkillusion is now online
[12:38:11] serg.makar is now away
[12:39:53] umi is now online
[12:40:28] evrial is now away
[12:40:59] alecs is now online
[12:42:03] wiz is now away
[12:43:11] serg.makar is now away
[12:43:37] Typhon is now online
[12:44:53] umi is now online
[12:45:29] evrial is now away
[12:46:00] alecs is now online
[12:48:13] serg.makar is now away
[12:49:03] alecs is now away
[12:49:03] alecs is now away
[12:49:03] alecs is now away
[12:49:53] umi is now online
[12:50:31] evrial is now away
[12:51:01] alecs is now away
[12:51:39] wiz is now online
[12:53:15] serg.makar is now away
[12:54:54] umi is now online
[12:55:33] evrial is now away
[12:56:03] alecs is now away
[12:58:15] serg.makar is now away
[12:59:25] webninja is now online
[12:59:56] umi is now online
[13:00:34] evrial is now away
[13:00:57] alecs is now away
[13:00:57] alecs is now online
[13:00:57] alecs is now online
[13:01:03] wiz is now away
[13:01:04] alecs is now online
[13:02:05] umi is now away
[13:02:05] umi is now away
[13:03:17] serg.makar is now away
[13:04:27] webninja is now online
[13:04:56] umi is now away
[13:05:36] evrial is now away
[13:06:06] alecs is now online
[13:08:19] serg.makar is now away
[13:09:56] umi is now away
[13:10:37] evrial is now away
[13:11:03] wiz is now xa
[13:11:07] alecs is now online
[13:12:05] umi is now xa
[13:12:05] umi is now xa
[13:13:20] serg.makar is now away
[13:13:36] webninja is now online
[13:14:57] umi is now xa
[13:15:37] evrial is now away
[13:16:10] alecs is now online
[13:16:23] umi is now online
[13:18:22] serg.makar is now away
[13:19:59] umi is now online
[13:20:39] evrial is now away
[13:20:50] dicos is now online
[13:20:59] webninja is now online
[13:20:59] alecs is now away
[13:20:59] alecs is now away
[13:20:59] alecs is now away
[13:21:08] webninja is now online
[13:21:11] alecs is now away
[13:23:26] serg.makar is now away
[13:23:29] umi is now away
[13:23:29] umi is now away
[13:25:01] umi is now away
[13:25:09] wiz is now online
[13:25:40] evrial is now away
[13:26:10] webninja is now online
[13:26:13] alecs is now away
[13:26:52] webninja is now online
[13:26:56] tilarids is now online
[13:28:29] serg.makar is now away
[13:30:00] umi is now away
[13:30:42] evrial is now away
[13:31:15] alecs is now away
[13:33:29] umi is now xa
[13:33:29] umi is now xa
[13:33:30] serg.makar is now away
[13:35:01] umi is now xa
[13:35:44] evrial is now away
[13:36:16] alecs is now away
[13:38:13] wiz is now away
[13:38:32] serg.makar is now away
[13:40:02] umi is now xa
[13:40:45] evrial is now away
[13:41:17] alecs is now away
[13:43:33] serg.makar is now away
[13:45:03] umi is now xa
[13:45:47] evrial is now away
[13:46:18] alecs is now away
[13:48:13] wiz is now xa
[13:48:34] serg.makar is now away
[13:48:57] wiz is now online
[13:50:05] umi is now xa
[13:50:48] evrial is now away
[13:51:19] alecs is now away
[13:53:38] serg.makar is now away
[13:54:17] wiz is now away
[13:55:05] umi is now xa
[13:55:49] evrial is now away
[13:56:20] alecs is now away
[13:57:19] wiz is now online
[13:58:39] serg.makar is now away
[14:00:07] umi is now xa
[14:00:51] evrial is now away
[14:01:21] alecs is now away
[14:01:49] py_two is now online
[14:03:41] serg.makar is now away
[14:05:09] umi is now xa
[14:05:51] evrial is now away
[14:06:23] alecs is now away
[14:08:43] serg.makar is now away
[14:09:08] dicos is now offline
[14:10:09] umi is now xa
[14:10:33] webninja is now online
[14:10:42] webninja is now online
[14:10:52] evrial is now away
[14:11:25] alecs is now away
[14:13:44] serg.makar is now away
[14:15:10] umi is now xa
[14:15:44] webninja is now online
[14:15:53] webninja is now online
[14:15:54] evrial is now away
[14:16:26] alecs is now away
[14:18:43] serg.makar is now away
[14:20:10] umi is now xa
[14:20:55] evrial is now away
[14:21:29] alecs is now away
[14:22:01] pc_ is now online
[14:23:12] nott is now online
[14:23:45] serg.makar is now away
[14:24:21] bobry is now away
[14:24:34] Magister Yoda is now away
[14:24:34] Magister Yoda is now away
[14:25:10] umi is now xa
[14:25:56] evrial is now away
[14:26:29] alecs is now away
[14:28:07] Magister Yoda is now away
[14:28:07] Magister Yoda is now online
[14:28:45] serg.makar is now away
[14:30:10] umi is now xa
[14:30:58] evrial is now away
[14:31:30] alecs is now away
[14:33:48] serg.makar is now away
[14:34:21] bobry is now xa
[14:35:10] umi is now xa
[14:36:00] evrial is now away
[14:36:32] alecs is now away
[14:38:11] _lorien: где бы надыбать несколько видео по питону джанго на русском?
[14:38:19] _lorien: конференции там или семинары
[14:38:48] serg.makar is now away
[14:39:05] nott: presidentua что-то делал по джанго.
[14:39:23] _lorien: на rupy.ru нашёл видео щас
[14:39:34] _lorien: но ещё источники не помешают
[14:40:10] umi is now xa
[14:41:01] evrial is now away
[14:41:33] alecs is now away
[14:42:32] Magister Yoda is now away
[14:42:32] Magister Yoda is now away
[14:42:38] Magister Yoda is now away
[14:42:38] Magister Yoda is now online
[14:43:52] serg.makar is now away
[14:45:11] umi is now xa
[14:45:59] alecs is now away
[14:45:59] alecs is now online
[14:45:59] alecs is now online
[14:46:02] evrial is now away
[14:46:34] alecs is now online
[14:46:50] webninja is now online
[14:47:01] webninja is now online
[14:48:52] serg.makar is now away
[14:50:11] umi is now xa
[14:50:17] dicos is now online
[14:50:23] dicos is now offline
[14:51:03] evrial is now away
[14:51:35] alecs is now online
[14:53:52] serg.makar is now away
[14:55:13] umi is now xa
[14:56:05] evrial is now away
[14:56:37] alecs is now online
[14:58:53] serg.makar is now away
[15:00:13] umi is now xa
[15:00:33] umi is now online
[15:00:33] umi is now online
[15:01:06] evrial is now away
[15:01:39] alecs is now online
[15:03:29] pc_ is now away
[15:03:55] serg.makar is now away
[15:05:13] umi is now online
[15:05:35] umi is now away
[15:06:07] evrial is now away
[15:06:18] webninja is now online
[15:06:41] alecs is now online
[15:08:55] serg.makar is now away
[15:10:12] umi is now away
[15:11:09] evrial is now away
[15:11:22] _lorien: http://pep8.ru/video/1 ну вот как-то так :)
[15:11:41] alecs is now online
[15:12:08] gigimon: а кто тут в селектеле работает?
[15:12:42] maxp is now away
[15:13:29] pc_ is now xa
[15:13:36] Typhon: bobry
[15:13:57] serg.makar is now away
[15:15:13] umi is now away
[15:15:35] umi is now xa
[15:16:04] gigimon: bobry: ?
[15:16:10] evrial is now away
[15:16:17] maxp is now offline
[15:16:38] _lorien: bobry ? bobry : None
[15:16:43] alecs is now online
[15:16:59] _lorien: bobry if bobry else not bobry
[15:17:04] gigimon: =(
[15:17:12] webninja is now online
[15:19:00] serg.makar is now away
[15:20:14] umi is now xa
[15:21:12] evrial is now away
[15:21:45] alecs is now online
[15:23:18] maxp is now away
[15:24:00] serg.makar is now away
[15:24:43] Typhon: _lorien, Дата:
Фев. 10, 2010
Видео с конференции RuPyRu 2007, прошедшей 10 февраля 2007 года в г. Омске.
[15:25:01] py_two is now offline
[15:25:14] umi is now xa
[15:25:16] _lorien: ага, пофиксил
[15:26:14] evrial is now away
[15:26:47] alecs is now online
[15:29:00] serg.makar is now away
[15:30:16] umi is now xa
[15:31:15] evrial is now away
[15:31:16] py_two is now online
[15:31:48] alecs is now online
[15:34:00] serg.makar is now away
[15:35:16] maxp is now away
[15:35:17] umi is now xa
[15:36:14] evrial is now away
[15:36:50] alecs is now online
[15:37:31] webninja is now offline
[15:39:01] py_two is now offline
[15:39:03] serg.makar is now away
[15:40:19] umi is now xa
[15:41:15] evrial is now away
[15:41:52] alecs is now online
[15:43:25] py_two is now online
[15:44:05] serg.makar is now away
[15:45:20] umi is now xa
[15:45:58] gamepr0graamer is now online
[15:46:18] evrial is now away
[15:46:53] alecs is now online
[15:49:08] serg.makar is now away
[15:50:20] umi is now xa
[15:51:07] pc_ is now online
[15:51:20] evrial is now away
[15:51:55] alecs is now online
[15:54:07] serg.makar is now away
[15:55:21] umi is now xa
[15:56:12] wiz is now away
[15:56:22] evrial is now away
[15:56:57] alecs is now online
[15:59:09] serg.makar is now away
[16:00:22] umi is now xa
[16:01:23] evrial is now away
[16:01:58] alecs is now online
[16:04:09] serg.makar is now away
[16:04:19] pc_ is now away
[16:05:22] umi is now xa
[16:06:13] wiz is now xa
[16:06:24] evrial is now away
[16:07:00] alecs is now online
[16:09:10] serg.makar is now away
[16:10:22] umi is now xa
[16:11:26] evrial is now away
[16:12:01] alecs is now online
[16:12:03] wiz is now online
[16:14:14] serg.makar is now away
[16:14:19] pc_ is now xa
[16:15:21] umi is now xa
[16:16:18] Tony is now offline
[16:16:28] evrial is now away
[16:17:03] alecs is now online
[16:17:57] gigimon is now offline
[16:18:09] wiz is now away
[16:19:15] serg.makar is now away
[16:19:45] gigimon is now online
[16:20:21] umi is now xa
[16:21:29] evrial is now away
[16:21:56] Sevenov is now online
[16:22:04] alecs is now online
[16:24:16] serg.makar is now away
[16:25:22] umi is now xa
[16:25:45] Makc is now online
[16:26:31] evrial is now away
[16:27:05] alecs is now online
[16:28:09] wiz is now xa
[16:29:15] serg.makar is now away
[16:30:22] umi is now xa
[16:30:45] pc_ is now online
[16:31:31] evrial is now away
[16:32:06] alecs is now online
[16:34:17] serg.makar is now away
[16:35:07] Joes is now offline
[16:35:23] umi is now xa
[16:36:33] evrial is now away
[16:37:07] alecs is now online
[16:37:52] Makc is now away
[16:39:19] serg.makar is now away
[16:40:23] umi is now xa
[16:40:35] wiz is now online
[16:41:35] evrial is now away
[16:42:08] alecs is now online
[16:44:22] serg.makar is now away
[16:45:22] umi is now xa
[16:45:35] py_two is now offline
[16:46:37] evrial is now away
[16:47:10] alecs is now online
[16:48:21] wiz is now away
[16:49:03] umi is now online
[16:49:22] serg.makar is now away
[16:49:36] pc_ is now away
[16:50:13] py_two is now online
[16:50:24] umi is now online
[16:50:37] pc_ is now online
[16:51:38] evrial is now away
[16:52:10] alecs is now online
[16:54:09] py_two is now offline
[16:54:21] umi is now away
[16:54:21] umi is now away
[16:54:24] serg.makar is now away
[16:55:02] Tony is now online
[16:55:25] umi is now away
[16:56:39] evrial is now away
[16:57:03] py_two is now online
[16:57:12] alecs is now online
[16:57:53] Makc is now xa
[16:58:21] wiz is now xa
[16:58:43] umi is now online
[16:58:43] umi is now online
[16:59:24] serg.makar is now away
[17:00:25] umi is now online
[17:00:30] py_two is now offline
[17:01:41] evrial is now away
[17:01:59] pc_ is now away
[17:02:14] alecs is now online
[17:03:14] xa4a is now away
[17:03:15] xa4a is now online
[17:04:15] pc_ is now online
[17:04:27] serg.makar is now away
[17:05:26] umi is now online
[17:06:40] evrial is now away
[17:07:16] alecs is now online
[17:08:48] py_two is now online
[17:09:28] serg.makar is now away
[17:10:03] Makc is now online
[17:10:26] umi is now online
[17:11:42] evrial is now away
[17:12:17] alecs is now online
[17:14:28] serg.makar is now away
[17:15:28] umi is now online
[17:16:44] evrial is now away
[17:17:18] alecs is now online
[17:19:29] serg.makar is now away
[17:20:28] umi is now online
[17:21:45] evrial is now away
[17:22:19] alecs is now online
[17:24:28] serg.makar is now away
[17:25:13] pc_ is now away
[17:25:29] umi is now online
[17:26:46] evrial is now away
[17:27:20] alecs is now online
[17:29:28] serg.makar is now away
[17:30:30] umi is now online
[17:31:47] evrial is now away
[17:32:22] alecs is now online
[17:34:28] serg.makar is now away
[17:35:13] pc_ is now xa
[17:35:30] umi is now online
[17:36:48] evrial is now away
[17:37:23] alecs is now online
[17:39:29] serg.makar is now away
[17:40:31] umi is now online
[17:41:10] umi is now away
[17:41:10] umi is now away
[17:41:50] evrial is now away
[17:42:24] alecs is now online
[17:43:42] Magister Yoda is now away
[17:43:42] Magister Yoda is now away
[17:44:27] serg.makar is now away
[17:45:31] umi is now away
[17:45:57] deepwalker is now online
[17:46:06] umi is now online
[17:46:06] umi is now online
[17:46:24] alecs is now away
[17:46:24] alecs is now away
[17:46:24] alecs is now away
[17:46:51] evrial is now away
[17:47:24] alecs is now away
[17:49:28] serg.makar is now away
[17:50:18] Magister Yoda is now away
[17:50:18] Magister Yoda is now online
[17:50:31] umi is now online
[17:51:26] py_two is now offline
[17:51:46] py_two is now online
[17:51:48] umi is now away
[17:51:48] umi is now away
[17:51:53] evrial is now away
[17:52:25] alecs is now away
[17:53:04] umi is now online
[17:53:04] umi is now online
[17:54:29] py_two is now offline
[17:54:31] serg.makar is now away
[17:55:32] umi is now online
[17:56:54] evrial is now away
[17:57:27] alecs is now away
[17:57:45] alecs is now away
[17:57:45] alecs is now online
[17:57:45] alecs is now online
[17:59:00] gamepr0graamer is now away
[17:59:33] serg.makar is now away
[18:00:33] umi is now online
[18:01:55] evrial is now away
[18:02:01] pc_ is now online
[18:02:29] alecs is now online
[18:04:34] serg.makar is now away
[18:05:34] umi is now online
[18:06:55] evrial is now away
[18:07:30] alecs is now online
[18:07:34] Sevenov is now offline
[18:09:35] serg.makar is now away
[18:10:02] maxp is now away
[18:10:34] umi is now online
[18:11:14] Magister Yoda is now away
[18:11:14] Magister Yoda is now away
[18:11:58] evrial is now away
[18:12:31] alecs is now online
[18:13:56] gamepr0graamer is now online
[18:14:40] serg.makar is now away
[18:15:02] Magister Yoda is now away
[18:15:03] Magister Yoda is now online
[18:15:36] umi is now online
[18:16:09] Makc: Typhon: немного подружился с питоном ^__^
правда так и не понял как с помощью timeit получить время выполнения скрипта.
зато реализовал через
import time
start = time.clock()
...
end = time.clock()
print ('Время выполнения скрипта %.3f секунд' % (end - start))
[18:16:51] Typhon: timeit.timeit('''code''', '''setup_code''')
[18:16:58] evrial is now away
[18:17:05] Typhon: и кол-вол итераций задать много
[18:17:19] Typhon: по одному прогону судить о времени выполнения -- не тру
[18:17:24] Typhon: поставь ipython и используй оператор timeit
[18:17:24] Makc: он среднее арифметическое подсчитает?
[18:17:32] alecs is now online
[18:18:13] Makc: что в code и setup_code пихать-то я вчера так и не понял
[18:19:21] Typhon: !pydoc timeit.timeit
[18:19:38] Makc: я то же самое в хелпе вижу
[18:19:41] serg.makar is now away
[18:19:46] Makc: а толку от этого ноль
[18:19:58] Typhon: timeit.timeit('func()', '''def func():
[1] * 10000''')
[18:20:02] Typhon: очень плохо, что толку ноль
[18:20:15] pc_ is now away
[18:20:35] umi is now online
[18:20:58] Makc: мне что, всю функцию внутри timeit.timeit писать 0_0
[18:21:16] Makc: извращенство x)
[18:21:27] darkillusion: $time myscript.py
[18:21:47] darkillusion: о, не знал что это команда
[18:22:00] evrial is now away
[18:22:04] maxp is now away
[18:22:35] alecs is now online
[18:23:59] Typhon: darkillusion, тоже один прогон + единое время для сетап кода и собственно кода, который ты хочешь протестить
[18:24:10] Typhon: + старт интерпретатора и подгрузка всякого
[18:24:41] serg.makar is now away
[18:25:35] umi is now online
[18:25:45] Makc: timeit.timeit('foo()', '''def foo():
c = 0
file = open("test.txt", 'w')
while ((os.path.getsize("test.txt")/(1024)) < 1):
file.write(str(c))
c += 1
file.close
print (c)''')
[18:25:49] Makc: fail
[18:25:59] Magister Yoda is now away
[18:25:59] Magister Yoda is now away
[18:27:02] evrial is now away
[18:27:37] alecs is now online
[18:28:03] Makc: о, кажись разобрался
[18:28:14] Tony is now away
[18:29:41] serg.makar is now away
[18:30:15] pc_ is now xa
[18:30:36] umi is now online
[18:31:30] maxp is now away
[18:31:30] maxp is now offline
[18:32:02] evrial is now away
[18:32:19] Makc: import timeit
from timeit import Timer
def foo():
print ("just random text")
if __name__=='__main__':
t = Timer("foo()", "from __main__ import foo")
print(t.timeit())
[18:32:38] alecs is now online
[18:32:59] tilarids is now away
[18:33:34] nott: топик: "Код постить в dumpz.org"
[18:34:44] serg.makar is now away
[18:35:34] py_two is now online
[18:35:37] umi is now online
[18:37:02] Magister Yoda is now away
[18:37:02] Magister Yoda is now online
[18:37:04] evrial is now away
[18:37:39] alecs is now online
[18:38:05] tilarids is now online
[18:39:16] Tony is now online
[18:39:47] serg.makar is now away
[18:40:38] umi is now online
[18:42:05] evrial is now away
[18:42:40] alecs is now online
[18:42:59] py_two is now offline
[18:44:48] serg.makar is now away
[18:45:38] umi is now online
[18:45:48] py_two is now online
[18:47:06] evrial is now away
[18:47:43] alecs is now online
[18:48:33] life_glider is now Не откладывай на завтра то, на что можно "забить" сегодня
[18:49:48] serg.makar is now away
[18:50:39] umi is now online
[18:52:08] evrial is now away
[18:52:45] alecs is now online
[18:54:50] serg.makar is now away
[18:55:15] Makc is now dnd
[18:55:31] Makc is now online
[18:55:40] umi is now online
[18:57:09] evrial is now away
[18:57:45] alecs is now online
[18:59:18] py_two is now offline
[18:59:51] serg.makar is now away
[19:00:41] umi is now online
[19:01:41] py_two is now online
[19:02:10] umi is now away
[19:02:11] evrial is now away
[19:02:46] alecs is now online
[19:04:52] serg.makar is now away
[19:05:02] umi is now online
[19:05:19] maxim.zemlyakov is now online
[19:05:19] maxim.zemlyakov is now online
[19:05:19] maxim.zemlyakov is now online
[19:05:23] maxim.zemlyakov is now online
[19:05:41] umi is now online
[19:05:48] maxim.zemlyakov is now online
[19:07:14] evrial is now away
[19:08:24] alecs is now online
[19:09:45] gigimon is now offline
[19:09:52] serg.makar is now away
[19:09:53] gigimon is now online
[19:10:25] maxim.zemlyakov is now online
[19:10:42] umi is now online
[19:12:50] evrial is now away
[19:12:51] alecs is now online
[19:14:53] serg.makar is now away
[19:15:26] maxim.zemlyakov is now online
[19:15:43] umi is now online
[19:17:16] evrial is now away
[19:17:51] alecs is now online
[19:19:53] serg.makar is now away
[19:20:28] maxim.zemlyakov is now online
[19:20:44] umi is now online
[19:22:06] Makc is now xa
[19:22:17] evrial is now away
[19:22:52] alecs is now online
[19:22:53] Makc is now online
[19:23:34] Makc is now dnd
[19:24:56] serg.makar is now away
[19:25:30] maxim.zemlyakov is now online
[19:25:45] umi is now online
[19:27:18] evrial is now away
[19:27:54] alecs is now online
[19:28:08] tilarids is now offline
[19:30:01] serg.makar is now away
[19:30:02] umi is now away
[19:30:02] umi is now away
[19:30:30] maxim.zemlyakov is now online
[19:30:46] umi is now away
[19:32:19] evrial is now away
[19:32:34] life_glider is now away
[19:32:34] life_glider is now away
[19:32:55] alecs is now online
[19:33:19] life_glider is now away
[19:33:19] life_glider is now Не откладывай на завтра то, на что можно "забить" сегодня
[19:35:03] serg.makar is now away
[19:35:32] maxim.zemlyakov is now online
[19:35:46] umi is now away
[19:37:22] evrial is now away
[19:37:56] alecs is now online
[19:38:37] xa4a is now online
[19:38:37] xa4a is now away
[19:40:04] umi is now xa
[19:40:06] serg.makar is now away
[19:40:33] maxim.zemlyakov is now online
[19:40:47] umi is now xa
[19:42:23] evrial is now away
[19:42:33] serg.makar is now offline
[19:42:57] alecs is now online
[19:44:32] serg.makar is now away
[19:44:32] serg.makar is now away
[19:45:20] alecs is now away
[19:45:20] alecs is now away
[19:45:20] alecs is now away
[19:45:36] maxim.zemlyakov is now online
[19:45:48] umi is now xa
[19:46:56] serg.makar is now away
[19:47:24] evrial is now away
[19:47:59] alecs is now away
[19:50:37] maxim.zemlyakov is now online
[19:50:49] umi is now xa
[19:51:57] serg.makar is now away
[19:52:24] evrial is now away
[19:53:00] alecs is now away
[19:55:39] maxim.zemlyakov is now online
[19:55:50] umi is now xa
[19:56:56] serg.makar is now away
[19:57:26] evrial is now away
[19:58:03] alecs is now away
[19:59:57] Makc is now away
[20:00:40] maxim.zemlyakov is now online
[20:00:50] umi is now xa
[20:01:57] serg.makar is now away
[20:02:27] evrial is now away
[20:03:05] alecs is now away
[20:05:42] maxim.zemlyakov is now online
[20:05:50] umi is now xa
[20:06:10] _lorien is now offline
[20:06:43] _lorien is now I'm not here right now
[20:06:59] serg.makar is now away
[20:07:26] Makc is now online
[20:07:28] evrial is now away
[20:08:05] alecs is now away
[20:10:44] maxim.zemlyakov is now online
[20:10:50] umi is now xa
[20:11:59] serg.makar is now away
[20:12:30] evrial is now away
[20:13:07] alecs is now away
[20:14:41] alecs is now away
[20:14:41] alecs is now online
[20:14:41] alecs is now online
[20:15:45] maxim.zemlyakov is now online
[20:15:51] umi is now xa
[20:17:00] serg.makar is now away
[20:17:31] evrial is now away
[20:18:08] alecs is now online
[20:20:15] darkillusion is now away
[20:20:16] darkillusion is now away
[20:20:46] maxim.zemlyakov is now online
[20:20:51] umi is now xa
[20:22:01] serg.makar is now away
[20:22:33] evrial is now away
[20:23:09] alecs is now online
[20:23:21] Makc is now away
[20:25:48] maxim.zemlyakov is now online
[20:25:51] umi is now xa
[20:26:17] gigimon is now online
[20:26:17] gigimon is now away
[20:27:02] serg.makar is now away
[20:27:34] evrial is now away
[20:28:11] alecs is now online
[20:28:18] Makc is now online
[20:29:59] Typhon is now xa
[20:30:10] Typhon is now online
[20:30:22] darkillusion is now away
[20:30:22] darkillusion is now online
[20:30:49] maxim.zemlyakov is now online
[20:30:52] umi is now xa
[20:31:21] umi is now online
[20:31:21] umi is now online
[20:32:03] serg.makar is now away
[20:32:35] evrial is now away
[20:33:12] alecs is now online
[20:35:52] maxim.zemlyakov is now online
[20:35:52] umi is now online
[20:36:06] darkillusion is now away
[20:36:54] darkillusion is now away
[20:36:54] darkillusion is now online
[20:37:03] serg.makar is now away
[20:37:37] evrial is now away
[20:38:13] alecs is now online
[20:40:52] maxim.zemlyakov is now online
[20:40:52] umi is now online
[20:42:03] serg.makar is now away
[20:42:38] evrial is now away
[20:43:15] alecs is now online
[20:45:53] maxim.zemlyakov is now online
[20:45:54] umi is now online
[20:47:03] serg.makar is now away
[20:47:39] evrial is now away
[20:47:44] gigimon is now away
[20:47:44] gigimon is now online
[20:48:17] alecs is now online
[20:50:54] maxim.zemlyakov is now online
[20:50:56] umi is now online
[20:52:04] serg.makar is now away
[20:52:41] evrial is now away
[20:53:18] alecs is now online
[20:55:56] maxim.zemlyakov is now online
[20:55:56] umi is now online
[20:57:05] serg.makar is now away
[20:57:42] evrial is now away
[20:58:19] alecs is now online
[21:00:56] maxim.zemlyakov is now online
[21:00:56] umi is now online
[21:02:06] serg.makar is now away
[21:02:43] evrial is now away
[21:03:20] alecs is now online
[21:05:58] maxim.zemlyakov is now online
[21:05:58] umi is now online
[21:07:07] serg.makar is now away
[21:07:44] evrial is now away
[21:08:21] alecs is now online
[21:10:55] umi is now away
[21:10:55] umi is now away
[21:10:57] umi is now away
[21:10:58] maxim.zemlyakov is now online
[21:12:08] serg.makar is now away
[21:12:45] evrial is now away
[21:13:23] alecs is now online
[21:15:39] umi is now online
[21:15:39] umi is now online
[21:15:58] umi is now online
[21:15:59] maxim.zemlyakov is now online
[21:17:10] serg.makar is now away
[21:17:47] evrial is now away
[21:18:25] alecs is now online
[21:21:00] umi is now online
[21:21:00] maxim.zemlyakov is now online
[21:22:10] serg.makar is now away
[21:22:48] evrial is now away
[21:22:51] umi is now away
[21:22:51] umi is now away
[21:23:27] alecs is now online
[21:26:01] umi is now away
[21:26:02] maxim.zemlyakov is now online
[21:27:10] serg.makar is now away
[21:27:50] evrial is now away
[21:28:29] alecs is now online
[21:31:01] umi is now away
[21:31:04] maxim.zemlyakov is now online
[21:32:11] serg.makar is now away
[21:32:51] umi is now xa
[21:32:51] umi is now xa
[21:32:52] evrial is now away
[21:33:30] alecs is now online
[21:36:02] umi is now xa
[21:36:05] maxim.zemlyakov is now online
[21:37:13] serg.makar is now away
[21:37:53] evrial is now away
[21:38:03] Magister Yoda is now offline
[21:38:32] alecs is now online
[21:40:32] Makc is now dnd
[21:40:37] Makc is now online
[21:40:40] Makc is now dnd
[21:41:02] umi is now xa
[21:41:06] maxim.zemlyakov is now online
[21:42:13] serg.makar is now away
[21:42:17] Makc is now online
[21:42:41] Makc is now dnd
[21:42:45] Makc is now online
[21:42:54] evrial is now away
[21:43:33] alecs is now online
[21:43:37] Makc is now dnd
[21:44:37] gamepr0graamer is now offline
[21:44:57] Makc is now online
[21:45:06] Makc is now dnd
[21:45:25] Makc is now online
[21:45:33] Makc is now dnd
[21:45:39] Makc is now online
[21:45:53] Makc is now dnd
[21:46:04] umi is now xa
[21:46:05] Makc is now online
[21:46:08] maxim.zemlyakov is now online
[21:46:08] Makc is now dnd
[21:46:52] Makc is now online
[21:46:55] Makc is now dnd
[21:46:58] Makc is now online
[21:47:02] Makc is now dnd
[21:47:07] bobry is now online
[21:47:14] serg.makar is now away
[21:47:39] Makc is now online
[21:47:41] Makc is now dnd
[21:47:43] bobry: gigimon, я работаю, шито такое?
[21:47:55] evrial is now away
[21:48:10] Makc is now online
[21:48:19] Makc is now dnd
[21:48:34] alecs is now online
[21:48:48] Makc is now online
[21:48:51] Makc is now dnd
[21:48:59] Makc is now online
[21:49:02] Makc is now dnd
[21:49:07] gigimon: bobry: скажи, а ты пилишь облако или и морду, которая показывается пользователю?
[21:49:17] bobry: gigimon, ни то ни то, а какие проблемы с мордой
[21:49:21] gigimon: черт)
[21:49:27] Makc is now online
[21:49:34] Makc is now dnd
[21:49:38] gigimon: та пару удобств в нее охото, уже писали вам тикет, но как-то за пару месяцев тишина(
[21:50:05] gigimon: bobry: очень хочется список всех своих услуг (в моем случае выделенных серверов) с указанием стоимости каждого в табличке и общей суммой
[21:50:13] Makc is now online
[21:50:15] gigimon: а то щас приходится заходить в каждый и смотреть сколько он стоит
[21:50:21] Makc is now dnd
[21:50:33] Makc is now online
[21:50:39] bobry: gigimon, я если честно в нее не заглядываю -- по слухам там тотальный rewrite в процессе :)
[21:50:47] Makc is now dnd
[21:50:54] Makc is now online
[21:50:58] Makc is now dnd
[21:51:01] gigimon: bobry: ну, ее пилят, это видно, но медленно как-то :)
[21:51:04] umi is now xa
[21:51:06] gigimon: ну понятно в общем :) будем ждать
[21:51:08] maxim.zemlyakov is now online
[21:51:10] gigimon: а так приятная панель...
[21:51:20] gigimon: да и вы приятны местами))
[21:51:34] Makc is now online
[21:51:35] Typhon: gigimon, надо же сказать Shibboleet
[21:51:37] bobry: лол :)
[21:51:48] gigimon: ы
[21:51:49] Makc is now dnd
[21:51:50] bobry: gigimon, а какой номер тикета?
[21:52:12] a.shabelsky is now dnd
[21:52:12] a.shabelsky is now dnd
[21:52:15] serg.makar is now away
[21:52:18] Makc is now online
[21:52:21] a.shabelsky is now dnd
[21:52:22] a.shabelsky is now dnd
[21:52:23] Makc is now dnd
[21:52:33] Makc is now online
[21:52:50] Makc is now dnd
[21:52:53] a.shabelsky is now dnd
[21:52:57] evrial is now away
[21:53:09] Makc is now online
[21:53:13] Makc is now dnd
[21:53:27] gigimon: bobry: №16210
[21:53:30] a.shabelsky is now offline
[21:53:34] alecs is now online
[21:53:48] Makc is now online
[21:53:51] Makc is now dnd
[21:54:16] gigimon: bobry: №14683: №12682:
[21:54:17] gigimon: :)
[21:54:23] gigimon: вроде мелочи, но их нехватает
[21:54:55] Makc is now online
[21:55:01] Makc is now dnd
[21:55:58] Makc is now online
[21:56:03] umi is now xa
[21:56:09] maxim.zemlyakov is now online
[21:56:19] Makc is now dnd
[21:56:28] gigimon: bobry: а у вас панель на питоне или пхп?
[21:56:38] bobry: gigimon, меня туда не пускает что то, aww
[21:56:39] Makc is now online
[21:56:42] Makc is now dnd
[21:56:48] gigimon: =(
[21:56:49] bobry: пока на php, но я так понимаю что это legacy
[21:56:54] Makc is now online
[21:56:56] Makc is now dnd
[21:57:05] gigimon: ну надеюсь будете быстро прогрессировать и не для облаков)
[21:57:15] serg.makar is now away
[21:57:20] Makc is now online
[21:57:29] Makc is now dnd
[21:57:33] pc_ is now online
[21:57:36] Makc is now online
[21:57:44] Makc is now dnd
[21:57:57] evrial is now away
[21:57:57] bobry: да-да, я тоже надеюсь :)
[21:58:04] bobry: нам бы ui designer'a еще
[21:58:06] Makc is now online
[21:58:08] Makc is now dnd
[21:58:11] bobry: висит вакансия и нихто не идет
[21:58:27] SemyonKozakov is now online
[21:58:35] alecs is now online
[21:59:09] bobry: кстати кто нить знает *что* это http://codeforces.ru
[21:59:18] bobry: на хабре линк проскочил, еще и спонсор вконтакте
[21:59:24] bobry: видимо под фейсбук косют опять
[21:59:39] Makc is now online
[21:59:42] Makc is now dnd
[21:59:48] Typhon: у вконтакта давно конкурсы были
[22:00:00] bobry: программистские?
[22:00:05] bobry: я помню только xmpp сервер
[22:00:08] Typhon: чтобы отличников-медалистов-спортивных-программистов нанимать
[22:00:09] Typhon: угу
[22:00:45] bobry: беру свои слова назад тогда :)
[22:00:51] Typhon: не, раньше что-то было
[22:00:51] Makc is now online
[22:00:54] Makc is now dnd
[22:01:04] umi is now xa
[22:01:11] maxim.zemlyakov is now online
[22:01:27] Typhon: что-то про подсказу для поиска, кажется было
[22:01:55] Makc is now online
[22:01:58] Makc is now dnd
[22:02:03] Makc is now online
[22:02:10] Makc is now dnd
[22:02:16] serg.makar is now away
[22:02:19] Makc is now online
[22:02:24] Makc is now dnd
[22:02:26] SemyonKozakov: Здравствуйте
[22:02:27] Makc is now online
[22:02:34] Makc is now dnd
[22:02:35] bobry: привет
[22:02:39] SemyonKozakov: У меня имеется проблема с xmpppy
[22:02:43] Makc is now online
[22:02:55] SemyonKozakov: Я пытаюсь залогиниться и передать пробное сообщение
[22:02:59] evrial is now away
[22:03:01] SemyonKozakov: и получаю следующую ошибку
[22:03:02] Makc is now dnd
[22:03:30] Makc is now online
[22:03:37] alecs is now online
[22:03:37] Makc is now dnd
[22:03:39] SemyonKozakov: http://pastebin.com/tyViAC6i
[22:04:10] Makc is now online
[22:04:27] bobry: SemyonKozakov, дык может у Client действительно нет атрибута Dispatcher?
[22:05:10] SemyonKozakov: Дык это уже происходит внутри xmpppy, и в том, что там его нет, я сомневаюсь
[22:05:51] bobry: попробуй взять стабильную версию, а не rc
[22:06:04] SemyonKozakov: bobry: попробую
[22:06:05] umi is now xa
[22:06:12] maxim.zemlyakov is now online
[22:06:50] Makc is now dnd
[22:06:51] SemyonKozakov: Кстати, а можно ли предварительно удалить старую версию
[22:07:02] bobry: смотря как ты ее ставил
[22:07:06] bobry: easy_install?
[22:07:17] serg.makar is now away
[22:07:17] SemyonKozakov: bobry: через setup.py
[22:07:30] SemyonKozakov: из архива с программой
[22:08:00] evrial is now away
[22:08:07] bobry: по моему через setup.py нельзя -- только ручками
[22:08:23] bobry: но я могу ошибаться, pip развращает :)
[22:08:39] alecs is now online
[22:09:18] Makc is now online
[22:09:22] Makc is now dnd
[22:09:26] SemyonKozakov: Установил. Удалил старую. Толку - 0.
[22:09:43] umi is now online
[22:09:43] umi is now online
[22:10:03] bobry: та же ошибка?
[22:10:12] bobry: а можешь показать свой код? может ты там что не так делаешь
[22:11:06] SemyonKozakov: bobry: Ошибка та же. Код - http://pastebin.com/RwQWjQpn
[22:11:06] umi is now online
[22:11:14] maxim.zemlyakov is now online
[22:12:10] bobry: тык ета, может у тебя connect и auth не проходят?
[22:12:17] serg.makar is now away
[22:12:32] bobry: они возвращают статус операции
[22:12:34] bobry: если я не путаю
[22:12:35] SemyonKozakov: bobry: А как выяснить, проходят ли они?
[22:13:02] evrial is now away
[22:13:41] alecs is now online
[22:15:53] SemyonKozakov: Вот ещё что есть в консоли:
[22:15:58] SemyonKozakov: Could not load one of the supported DNS libraries (dnspython or pydns). SRV records will not be queried and you may need to set custom hostname/port for some servers to be accessible.
[22:16:07] umi is now online
[22:16:07] SemyonKozakov: Это может повлиять?
[22:16:15] maxim.zemlyakov is now online
[22:16:29] bobry: м, по моему это не обязательно
[22:17:15] Makc is now online
[22:17:17] serg.makar is now away
[22:18:03] evrial is now away
[22:18:07] Makc is now dnd
[22:18:43] alecs is now online
[22:21:07] umi is now online
[22:21:16] maxim.zemlyakov is now online
[22:22:18] serg.makar is now away
[22:23:04] evrial is now away
[22:23:44] alecs is now online
[22:26:01] Makc is now online
[22:26:09] umi is now online
[22:26:18] maxim.zemlyakov is now online
[22:27:04] bobry: блин, все люди которые до сих пор держат проекты на гуглокоде, sf или прости господи savanaah -- чем они думают?
[22:27:13] SemyonKozakov is now offline
[22:27:17] Makc is now dnd
[22:27:18] serg.makar is now away
[22:27:26] bobry: я вот хочу заслать патч в django-modeltranslation, сколько гемороя я должен познать чтобы это сделать %)
[22:28:05] evrial is now away
[22:28:46] alecs is now online
[22:29:11] Typhon: git diff > blabla.patch и в рассылку им :-)
[22:30:29] bobry: ну когда знаешь что можно по человечески
[22:30:33] life_glider is now away
[22:30:34] life_glider is now away
[22:30:38] bobry: олд скул методы не кажутся такими привлекательными :)
[22:31:09] umi is now online
[22:31:20] maxim.zemlyakov is now online
[22:32:19] serg.makar is now away
[22:32:57] xa4a is now away
[22:32:57] xa4a is now online
[22:33:07] evrial is now away
[22:33:47] alecs is now online
[22:35:06] serg.makar is now online
[22:35:07] serg.makar is now online
[22:36:09] umi is now online
[22:36:21] maxim.zemlyakov is now online
[22:36:33] Makc is now online
[22:36:51] Makc is now dnd
[22:37:19] serg.makar is now online
[22:38:08] evrial is now away
[22:38:49] alecs is now online
[22:39:17] py_two is now offline
[22:39:54] life_glider is now away
[22:39:55] life_glider is now Не откладывай на завтра то, на что можно "забить" сегодня
[22:40:11] umi is now away
[22:40:12] umi is now away
[22:41:09] umi is now away
[22:41:21] maxim.zemlyakov is now online
[22:42:19] serg.makar is now online
[22:43:08] evrial is now away
[22:43:49] alecs is now online
[22:44:03] umi is now online
[22:44:04] umi is now online
[22:45:07] py_two is now online
[22:45:23] pc_ is now away
[22:46:09] umi is now online
[22:46:23] maxim.zemlyakov is now online
[22:46:57] maxim.zemlyakov is now offline
[22:47:00] py_two is now offline
[22:47:19] serg.makar is now online
[22:48:10] evrial is now away
[22:48:51] alecs is now online
[22:49:14] umi is now away
[22:50:39] Makc is now online
[22:50:42] Makc is now dnd
[22:51:09] umi is now away
[22:51:19] alecs is now offline
[22:52:08] Makc is now online
[22:52:11] Makc is now dnd
[22:52:20] serg.makar is now online
[22:53:11] pc_ is now online
[22:53:11] evrial is now away
[22:53:45] bobry: кто нибудь полльзуется hg-git?
[22:54:00] umi is now online
[22:54:53] Makc is now online
[22:54:56] Makc is now dnd
[22:56:10] umi is now online
[22:56:31] life_glider is now offline
[22:57:20] serg.makar is now online
[22:58:12] evrial is now away
[22:58:28] serg.makar is now away
[22:58:29] serg.makar is now away
[23:00:26] Makc is now online
[23:00:30] Makc is now dnd
[23:01:12] umi is now online
[23:02:20] serg.makar is now away
[23:03:14] evrial is now away
[23:03:17] Makc is now online
[23:03:20] Makc is now dnd
[23:04:55] Typhon is now offline
[23:06:12] umi is now online
[23:06:28] Makc is now online
[23:06:32] Makc is now dnd
[23:07:21] serg.makar is now away
[23:08:15] evrial is now away
[23:08:53] Makc is now online
[23:09:53] Makc is now dnd
[23:11:13] umi is now online
[23:12:21] serg.makar is now away
[23:13:17] evrial is now away
[23:13:41] Makc is now online
[23:13:57] Makc is now dnd
[23:14:41] Makc is now online
[23:14:53] Makc is now dnd
[23:15:01] Makc is now online
[23:15:18] Makc is now dnd
[23:16:14] umi is now online
[23:17:22] serg.makar is now away
[23:17:32] wiz is now online
[23:18:18] evrial is now away
[23:20:02] Makc is now online
[23:20:06] Makc is now dnd
[23:21:14] umi is now online
[23:22:23] serg.makar is now away
[23:23:18] Makc is now online
[23:23:21] evrial is now away
[23:24:16] darkillusion is now offline
[23:24:21] Makc is now dnd
[23:24:25] Makc is now online
[23:24:33] Makc is now dnd
[23:24:37] Makc is now online
[23:24:48] Makc is now dnd
[23:25:48] Makc is now online
[23:26:15] umi is now online
[23:26:20] Makc is now dnd
[23:26:56] Makc is now online
[23:27:06] Makc is now dnd
[23:27:08] Makc is now online
[23:27:20] Makc is now dnd
[23:27:23] serg.makar is now away
[23:27:23] Makc is now online
[23:27:32] Makc is now dnd
[23:27:51] Makc is now online
[23:27:58] Makc is now dnd
[23:28:17] Makc is now online
[23:28:21] evrial is now away
[23:28:27] Makc is now dnd
[23:28:33] Makc is now online
[23:28:40] Makc is now dnd
[23:28:49] Makc is now online
[23:29:14] Makc is now dnd
[23:29:35] Makc is now online
[23:29:38] Makc is now dnd
[23:30:01] Makc is now online
[23:30:03] Makc is now dnd
[23:30:11] Makc is now online
[23:30:22] Makc is now dnd
[23:31:06] Makc is now online
[23:31:15] umi is now online
[23:31:16] Makc is now dnd
[23:31:27] Makc is now online
[23:31:43] Makc is now dnd
[23:31:45] Makc is now online
[23:31:53] Makc is now dnd
[23:32:04] Makc is now online
[23:32:09] Makc is now dnd
[23:32:24] serg.makar is now away
[23:32:35] gigimon is now offline
[23:32:55] gigimon is now online
[23:33:22] evrial is now away
[23:33:28] Makc is now online
[23:33:31] Makc is now dnd
[23:33:55] pc_ is now away
[23:34:11] pc_ is now online
[23:34:48] Makc is now online
[23:34:51] Makc is now dnd
[23:35:25] Makc is now online
[23:35:32] Makc is now dnd
[23:35:36] Makc is now online
[23:36:02] Makc is now dnd
[23:36:05] Makc is now online
[23:36:09] Makc is now dnd
[23:36:15] umi is now online
[23:36:17] Makc is now online
[23:37:25] serg.makar is now away
[23:37:47] xa4a is now online
[23:37:47] xa4a is now away
[23:38:23] evrial is now away
[23:40:45] pc_ is now away
[23:40:58] wiz is now away
[23:41:15] umi is now online
[23:41:37] Makc is now dnd
[23:42:26] serg.makar is now away
[23:43:17] Makc is now online
[23:43:25] evrial is now away
[23:43:33] pc_ is now online
[23:44:57] Makc is now dnd
[23:46:16] umi is now online
[23:47:26] serg.makar is now away
[23:48:17] Makc is now online
[23:48:27] evrial is now away
[23:49:50] umi is now away
[23:49:50] umi is now away
[23:50:59] wiz is now xa
[23:51:17] umi is now away
[23:52:10] Makc is now dnd
[23:52:14] Makc is now online
[23:52:26] serg.makar is now away
[23:53:29] evrial is now away
[23:54:46] Makc is now dnd
[23:55:02] Makc is now online
[23:55:06] Makc is now dnd
[23:55:20] umi is now online
[23:55:20] umi is now online
[23:55:35] deepwalker is now offline
[23:56:18] umi is now online
[23:57:27] serg.makar is now away
[23:58:30] evrial is now away