[00:00:21] nickname is now online
[00:03:26] py_two is now away
[00:05:12] singularity is now offline
[00:05:19] singularity is now online
[00:05:33] sakal is now online
[00:06:36] py_two is now offline
[00:09:16] sakal is now offline
[00:09:39] sakal is now online
[00:09:39] sakal is now online
[00:12:21] py_two is now away
[00:12:54] py_two: fuzzy: а какая по стандарту ширина строки кода ? И какую используешь ты ?
[00:13:08] fuzzy: стандарта питона нет
[00:13:14] sakal is now online
[00:13:19] fuzzy: я использую ту, которая у меня в стайл-гайде на работе прописана - 80
[00:15:08] py_two: fuzzy: а 80 не мало ?:)
[00:15:13] fuzzy: нет
[00:15:21] fuzzy: в самый раз
[00:15:32] py_two: fuzzy: а для си тоже юзается 80 ? Или для всего и вся 80 ?
[00:16:39] fuzzy: у нас гугл-стайл-гайды
[00:16:43] Tony is now xa
[00:16:43] fuzzy: питон: http://google-styleguide.googlecode.com/svn/trunk/pyguide.html?showone=Line_length#Line_length
[00:16:52] fuzzy: си: http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Line_Length#Line_Length
[00:18:17] sakal is now online
[00:20:12] py_two:




Each line of text in your code should be at most 80 characters
long
[00:23:20] sakal is now online
[00:25:41] nickname is now away
[00:27:30] nickname is now online
[00:28:23] sakal is now online
[00:33:25] sakal is now online
[00:35:31] singularity is now offline
[00:35:35] singularity is now online
[00:38:28] sakal is now online
[00:43:31] sakal is now online
[00:45:07] mks is now away
[00:48:34] sakal is now online
[00:50:07] mks is now xa
[00:52:02] py_two is now offline
[00:53:37] sakal is now online
[00:58:40] sakal is now online
[01:02:51] singularity is now offline
[01:03:42] sakal is now online
[01:08:44] mks is now online
[01:08:45] sakal is now online
[01:08:57] AlexZenon is now xa
[01:13:48] sakal is now online
[01:15:11] py_two is now away
[01:15:44] singularity is now online
[01:16:09] singularity is now online
[01:18:51] sakal is now online
[01:23:54] sakal is now online
[01:24:19] pythonkun is now online
[01:26:30] pythonkun is now online
[01:26:59] mks is now away
[01:28:58] sakal is now online
[01:31:30] Сволота is now offline
[01:31:32] pythonkun is now online
[01:31:59] mks is now xa
[01:32:09] pythonkun is now offline
[01:33:40] singularity is now offline
[01:33:44] singularity is now online
[01:34:00] sakal is now online
[01:36:01] mks is now online
[01:39:03] sakal is now online
[01:44:06] sakal is now online
[01:45:39] gigimon is now online
[01:48:07] singularity is now offline
[01:48:08] singularity is now online
[01:49:09] sakal is now online
[01:51:55] singularity is now online
[01:54:12] sakal is now online
[01:57:17] nickname is now away
[01:58:14] nickname is now online
[01:59:15] sakal is now online
[02:02:37] mks is now away
[02:04:18] sakal is now online
[02:07:37] mks is now xa
[02:07:45] mks is now online
[02:07:48] singularity is now online
[02:09:21] sakal is now online
[02:14:24] sakal is now online
[02:19:27] sakal is now online
[02:23:30] mks is now offline
[02:24:23] nickname is now away
[02:24:29] sakal is now online
[02:26:10] nickname is now offline
[02:29:31] nickname is now away
[02:29:32] sakal is now online
[02:34:35] sakal is now online
[02:39:38] sakal is now online
[02:44:41] sakal is now online
[02:48:54] nickname is now offline
[02:49:44] sakal is now online
[02:50:31] singularity is now offline
[02:50:50] singularity is now online
[02:52:16] singularity is now offline
[02:52:39] singularity is now online
[02:54:47] sakal is now online
[02:59:49] sakal is now online
[03:04:00] gigimon is now offline
[03:04:52] sakal is now online
[03:09:55] sakal is now online
[03:14:58] sakal is now online
[03:20:00] sakal is now online
[03:25:03] sakal is now online
[03:30:05] sakal is now online
[03:30:06] nickname is now away
[03:34:21] nickname is now offline
[03:34:37] nickname is now away
[03:35:07] sakal is now online
[03:40:11] sakal is now online
[03:45:13] sakal is now online
[03:50:16] sakal is now online
[03:50:52] nickname is now offline
[03:55:18] sakal is now online
[03:56:08] singularity is now offline
[03:56:22] singularity is now online
[04:00:21] sakal is now online
[04:05:23] sakal is now online
[04:06:21] singularity is now offline
[04:06:33] singularity is now online
[04:10:26] sakal is now online
[04:15:29] sakal is now online
[04:20:32] sakal is now online
[04:25:34] sakal is now online
[04:28:55] singularity is now offline
[04:29:01] singularity is now online
[04:30:36] sakal is now online
[04:31:15] singularity is now online
[04:32:11] singularity is now offline
[04:33:05] singularity is now online
[04:35:14] nickname is now away
[04:35:38] sakal is now online
[04:39:47] singularity is now online
[04:40:41] sakal is now online
[04:45:44] sakal is now online
[04:48:39] singularity is now offline
[04:50:46] sakal is now online
[04:51:11] nickname is now offline
[04:55:48] sakal is now online
[05:00:51] sakal is now online
[05:05:54] sakal is now online
[05:10:56] sakal is now online
[05:16:00] sakal is now online
[05:21:02] sakal is now online
[05:26:05] sakal is now online
[05:31:08] sakal is now online
[05:35:50] nickname is now away
[05:36:10] sakal is now online
[05:41:13] sakal is now online
[05:46:15] sakal is now online
[05:51:15] py_two is now offline
[05:51:18] sakal is now online
[05:51:39] nickname is now offline
[05:56:20] sakal is now online
[06:01:22] sakal is now online
[06:06:25] sakal is now online
[06:11:26] sakal is now online
[06:16:28] sakal is now online
[06:21:30] sakal is now online
[06:21:32] dicos is now online
[06:23:25] dicos is now online
[06:26:33] sakal is now online
[06:30:59] dicos is now online
[06:31:01] dicos is now online
[06:31:34] sakal is now online
[06:36:26] nickname is now away
[06:36:37] sakal is now online
[06:37:26] dicos is now online
[06:37:28] dicos is now online
[06:38:18] nickname is now offline
[06:38:35] nickname is now away
[06:41:39] sakal is now online
[06:46:41] sakal is now online
[06:51:43] sakal is now online
[06:56:46] sakal is now online
[06:57:54] nickname is now offline
[07:01:48] sakal is now online
[07:06:51] sakal is now online
[07:11:52] sakal is now online
[07:11:59] Tony is now online
[07:16:54] sakal is now online
[07:19:36] py_two is now online
[07:21:24] fuzzy is now away
[07:21:55] sakal is now online
[07:26:58] sakal is now online
[07:28:07] xryun is now offline
[07:31:24] fuzzy is now away
[07:32:01] sakal is now online
[07:34:20] py_two is now offline
[07:37:03] sakal is now online
[07:39:11] nickname is now away
[07:42:06] sakal is now online
[07:47:08] sakal is now online
[07:52:10] sakal is now online
[07:56:56] nickname is now offline
[07:57:12] sakal is now online
[08:02:15] sakal is now online
[08:07:16] sakal is now online
[08:12:19] sakal is now online
[08:17:22] sakal is now online
[08:22:24] sakal is now online
[08:27:26] sakal is now online
[08:30:45] dicos is now away
[08:30:47] dicos is now away
[08:32:29] sakal is now online
[08:37:31] sakal is now online
[08:39:49] nickname is now away
[08:40:39] dicos is now away
[08:40:41] dicos is now online
[08:42:33] sakal is now online
[08:45:19] xryun is now online
[08:47:36] sakal is now online
[08:52:38] sakal is now online
[08:56:08] nickname is now offline
[08:57:40] sakal is now online
[09:02:42] sakal is now online
[09:07:45] sakal is now online
[09:12:46] sakal is now online
[09:17:50] sakal is now online
[09:20:09] Magister Yoda is now online
[09:22:52] sakal is now online
[09:27:55] sakal is now online
[09:32:58] sakal is now online
[09:38:00] sakal is now online
[09:40:25] nickname is now away
[09:43:04] sakal is now online
[09:48:06] sakal is now online
[09:53:08] sakal is now online
[09:58:12] sakal is now online
[09:58:33] nickname is now offline
[10:03:14] sakal is now online
[10:08:17] sakal is now online
[10:10:52] dicos is now away
[10:10:54] dicos is now away
[10:12:57] xryun is now offline
[10:13:19] sakal is now online
[10:13:38] xryun is now online
[10:18:22] sakal is now online
[10:23:26] sakal is now online
[10:28:28] sakal is now online
[10:29:18] xryun is now away
[10:30:24] xryun is now online
[10:33:32] sakal is now online
[10:38:34] sakal is now online
[10:41:01] nickname is now away
[10:42:08] dicos is now away
[10:42:10] dicos is now online
[10:43:37] sakal is now online
[10:44:00] dicos is now offline
[10:48:40] sakal is now online
[10:53:42] sakal is now online
[10:58:45] sakal is now online
[10:59:30] nickname is now offline
[11:03:47] sakal is now online
[11:08:50] sakal is now online
[11:11:55] xryun: Мысль такая.Предположим есть функция принимающая некий аругмент.Скажем
def function(a,b):
if a>b:
print a
else:
print b
Вопрос стоит о том-какую проверку ставить первую,если известно что в 95 процентах a>b.Так сказать-вопрос чтобы избежать ненужных проверок и движений.Теоретически ведь проверку на (a>b)?
[11:13:02] Magister Yoda: xryun: а прогнать и так, и так и посмотреть время выполнения?
[11:13:30] xryun: Magister Yoda, вот чего не умею,того не умею.
[11:13:54] sakal is now online
[11:14:25] xryun: У меня есть некоторые функции но до сих пор не знаю как протестировать их на скорость в различных ситуациях.Например два конкурирующих алгоритма поиска.
[11:15:21] xryun: Может средство подскажте?)
[11:15:35] Magister Yoda: xryun: ну самы простой вариант - запускаешь оба алгоритма с одинаковыми рандомными значениями и делаешь, скажем, 1000 раз каждый ну и измеряешь время =)
[11:15:52] Magister Yoda: xryun: а вообще конечно это извращение, то что я написал
[11:16:23] xryun: ну я думаю есть что то что бенчмарки(наверное так) может измерять.
[11:17:00] xryun: Преположим у меня есть нехилый такой массив данных.Вот как на нем замеры провести?
[11:17:26] Magister Yoda: xryun: есть
[11:17:47] Magister Yoda: xryun: я бы знал... :D
[11:18:03] xryun: Magister Yoda, откройте тайное знание непосвященным)
[11:18:28] Magister Yoda: xryun: Я такой же нуб, как и ты, а может даже ещё более
[11:18:57] sakal is now online
[11:23:59] sakal is now online
[11:29:01] sakal is now online
[11:34:04] sakal is now online
[11:35:24] xryun is now offline
[11:36:17] Сволота is now online
[11:39:08] sakal is now online
[11:41:38] nickname is now away
[11:44:10] sakal is now online
[11:47:55] огыешсук is now Automatically away due to idle
[11:49:13] sakal is now online
[11:53:22] gf is now online
[11:54:15] sakal is now online
[11:59:18] sakal is now online
[12:01:10] nickname is now offline
[12:04:22] sakal is now online
[12:07:24] Сволота is now away
[12:09:24] sakal is now online
[12:09:50] Сволота is now online
[12:14:27] sakal is now online
[12:19:30] sakal is now online
[12:22:41] огыешсук is now away
[12:24:33] sakal is now online
[12:24:54] огыешсук is now Automatically away due to idle
[12:29:36] sakal is now online
[12:34:38] sakal is now online
[12:39:41] sakal is now online
[12:41:58] огыешсук is now offline
[12:42:12] nickname is now away
[12:43:04] огыешсук is now Automatically away due to idle
[12:44:44] sakal is now online
[12:49:47] sakal is now online
[12:51:48] Magister Yoda is now offline
[12:54:51] sakal is now online
[12:58:45] nickname is now offline
[12:59:55] sakal is now online
[13:04:57] sakal is now online
[13:05:00] Сволота is now away
[13:06:27] gigimon is now online
[13:10:01] sakal is now online
[13:13:28] Сволота is now online
[13:15:04] sakal is now online
[13:20:08] sakal is now online
[13:25:12] sakal is now online
[13:27:29] singularity is now online
[13:30:15] sakal is now online
[13:35:18] sakal is now online
[13:40:21] sakal is now online
[13:42:48] nickname is now away
[13:45:24] sakal is now online
[13:50:27] sakal is now online
[13:55:31] sakal is now online
[13:58:04] fuzzy is now away
[13:58:11] fuzzy is now online
[14:00:34] sakal is now online
[14:01:38] nickname is now offline
[14:02:14] yugo-salem is now offline
[14:05:38] sakal is now online
[14:06:09] огыешсук is now away
[14:07:23] nickname is now away
[14:09:37] nickname is now offline
[14:09:54] nickname is now away
[14:10:41] sakal is now online
[14:12:54] xryun is now Доступен
[14:15:44] sakal is now online
[14:16:08] огыешсук is now xa
[14:17:19] xryun is now away
[14:20:47] sakal is now online
[14:25:50] sakal is now online
[14:26:30] nickname is now offline
[14:27:18] xryun is now xa
[14:30:53] sakal is now online
[14:31:20] AlexZenon: xryun: кажется, это называется профайлер, и оно встроенное в сам Питон. :-)
[14:31:29] singularity: а как правильно очистить удалить virtualenv ?
[14:32:35] AlexZenon is now online
[14:35:57] sakal is now online
[14:36:32] xryun is now Доступен
[14:37:53] Tony is now away
[14:41:00] sakal is now online
[14:41:32] xryun is now away
[14:46:03] sakal is now online
[14:51:06] sakal is now online
[14:51:32] xryun is now xa
[14:56:09] sakal is now online
[14:57:27] levsha is now online
[14:57:41] levsha is now offline
[14:59:45] levsha is now online
[15:01:12] sakal is now online
[15:02:53] Tony is now xa
[15:06:15] sakal is now online
[15:09:29] Tony is now online
[15:10:30] nickname is now away
[15:11:19] sakal is now online
[15:14:56] levsha is now offline
[15:16:22] sakal is now online
[15:18:59] levsha is now online
[15:21:25] sakal is now online
[15:22:57] levsha is now offline
[15:24:44] gf is now online
[15:26:28] sakal is now online
[15:26:47] nickname is now offline
[15:31:12] Tony is now offline
[15:31:17] Tony is now online
[15:31:30] sakal is now online
[15:32:40] nickname is now away
[15:33:12] nickname is now offline
[15:33:23] огыешсук is now Automatically away due to idle
[15:33:28] nickname is now away
[15:36:33] sakal is now online
[15:41:37] sakal is now online
[15:45:09] огыешсук is now away
[15:46:39] sakal is now online
[15:48:41] gigimon is now online
[15:48:55] xryun is now Доступен
[15:51:43] sakal is now online
[15:52:48] gigimon is now online
[15:53:55] xryun is now away
[15:54:38] evch26 is now online
[15:55:07] огыешсук is now xa
[15:56:47] sakal is now online
[15:57:24] singularity is now away
[15:57:24] singularity is now away
[15:58:03] singularity is now away
[15:58:03] singularity is now online
[16:01:50] sakal is now online
[16:03:55] xryun is now xa
[16:06:53] sakal is now online
[16:08:33] AlexZenon is now offline
[16:08:35] AlexZenon is now online
[16:11:56] sakal is now online
[16:16:59] огыешсук is now Automatically away due to idle
[16:16:59] sakal is now online
[16:22:02] sakal is now online
[16:22:16] огыешсук is now away
[16:24:44] evch26: Подскажите, как запускать веб-сервер, БД от имени их пользователей, а не от рута?
[16:27:05] sakal is now online
[16:32:09] sakal is now online
[16:32:16] огыешсук is now xa
[16:32:52] gigimon: открой любой init скрипт и посмотри
[16:34:36] evch26: скрипт веб-сервера или системы?
[16:37:12] sakal is now online
[16:37:19] nickname is now away
[16:42:16] sakal is now online
[16:43:05] nickname is now away
[16:44:23] nickname is now away
[16:45:30] огыешсук is now Automatically away due to idle
[16:46:00] gigimon is now offline
[16:47:19] sakal is now online
[16:49:51] nickname is now online
[16:50:28] evch26 is now offline
[16:52:22] sakal is now online
[16:57:17] sakal is now offline
[17:18:36] py_two is now away
[17:24:21] огыешсук is now away
[17:28:35] py_two is now offline
[17:28:38] py_two is now away
[17:33:34] singularity is now offline
[17:34:19] огыешсук is now xa
[17:40:27] огыешсук is now Automatically away due to idle
[17:42:23] nickname is now away
[17:46:09] огыешсук is now away
[17:47:44] nickname is now away
[17:49:09] nickname is now away
[17:49:15] nickname is now online
[17:56:09] огыешсук is now xa
[18:08:20] singularity is now online
[18:38:23] Сволота is now online
[18:38:23] gf is now online
[18:38:23] py_two is now away
[18:38:23] nickname is now online
[18:38:23] fuzzy is now online
[18:38:23] blw0rm is now dnd
[18:38:23] Tony is now online
[18:38:23] AlexZenon is now online
[18:38:23] ds.tihonov is now дома! :)
[18:38:23] xryun is now xa
[18:38:23] singularity is now online
[18:38:23] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[18:38:23] magic_pony is now online
[18:38:23] огыешсук is now xa
[18:42:04] singularity is now online
[18:43:24] Typhon is now online
[18:54:21] Typhon is now away
[18:57:59] singularity is now online
[18:59:59] Magister Yoda is now online
[19:01:23] Typhon is now away
[19:17:32] Typhon is now away
[19:17:38] Typhon is now online
[19:20:23] nickname is now online
[19:20:37] nickname is now online
[19:20:43] Typhon is now away
[19:21:33] gigimon is now online
[19:21:47] Typhon is now offline
[19:35:20] gigimon is now online
[19:37:13] Сволота is now away
[19:40:20] gigimon is now away
[19:44:25] Сволота is now online
[19:45:51] gigimon is now away
[19:45:53] gigimon is now online
[19:52:14] gigimon is now offline
[20:04:26] gigimon is now online
[20:07:26] Tony is now offline
[20:07:40] Tony is now online
[20:08:28] Tony is now offline
[20:08:41] Tony is now online
[20:08:48] py_two is now offline
[20:16:36] singularity: вот есть какой-нибудь пакет который использует переменные типа settings.CASE и которые не описаны в документации. Вопрос: есть ли какой инструмент который может показать их список ?
[20:19:24] singularity: epydoc генерирует то что есть уже например, а grep пока ниасилил
[20:23:47] py_two is now away
[20:34:24] gigimon: singularity: рекурсивный греп по проекту или поиск в pycharm тебе поможет
[20:35:06] singularity: пичаль(
[20:35:25] singularity: ну я пока epydoc помучаю
[20:37:36] gigimon: странные вещи ты желаешь
[20:41:10] singularity: почему ? я вот случайно наткнулся на пару таких настроек
[20:41:26] singularity: думаю может еще есть
[20:46:51] Magister Yoda: Проблема... Вот, например, пробую установить lxml из исходников. В итоге вываливаются ошибки http://pastebin.com/1xsAnXGm . Под Ubuntu это решалось установкой python-dev, а под Windows не знаю как быть. И в итоге многие библиотеки не могу установить из-за подобного рода ошибок. Некоторые могу конечно из бинарников установить, но не для всех они есть. Вот ещё пример - обновление matplotlib. http://pastebin.com/465UnTfE по-началу вроде даже всё нормально, а потом вываливается с ошибкой. Может есть что-то типа apt-get для Win? Вроде и VS всяких версий стоит, и всё равно ошибки падают =(
[20:47:54] gigimon is now offline
[20:56:12] nickname is now offline
[20:58:47] nickname is now online
[21:03:46] py_two is now offline
[21:05:16] py_two is now away
[21:05:19] py_two is now offline
[21:08:34] py_two is now Unique message status
[21:15:54] emese is now online
[21:16:25] nickname is now offline
[21:18:05] py_two is now offline
[21:18:06] py_two is now Unique message status
[21:19:30] py_two is now offline
[21:19:31] py_two is now Unique message status
[21:27:14] singularity is now offline
[21:29:23] nickname is now online
[21:35:49] Typhon is now away
[21:35:49] Typhon is now offline
[21:40:59] Сволота is now away
[21:42:48] Typhon is now away
[21:43:03] Typhon is now online
[21:45:21] Сволота is now online
[21:47:12] nickname is now offline
[21:50:23] Сволота is now away
[21:52:05] Сволота is now online
[22:02:15] py_two is now offline
[22:13:06] Typhon is now offline
[22:13:24] Typhon is now online
[22:13:59] огыешсук is now Automatically away due to idle
[22:21:21] Typhon is now offline
[22:22:45] Typhon is now online
[22:26:51] emese is now away
[22:26:52] emese is now away
[22:29:42] emese is now away
[22:29:43] emese is now online
[22:30:14] nickname is now online
[22:31:15] огыешсук is now offline
[22:32:04] py_two is now Unique message status
[22:32:18] Typhon is now offline
[22:32:53] py_two is now offline
[22:32:54] py_two is now Unique message status
[22:33:04] py_two is now offline
[22:33:05] py_two is now Unique message status
[22:33:17] py_two is now offline
[22:33:19] py_two is now Unique message status
[22:34:58] py_two is now offline
[22:39:47] py_two is now Unique message status
[22:40:08] py_two is now offline
[22:40:10] py_two is now Unique message status
[22:41:21] py_two is now offline
[22:41:22] py_two is now Unique message status
[22:41:32] py_two is now offline
[22:41:34] py_two is now Unique message status
[22:42:06] py_two is now offline
[22:43:46] py_two is now Unique message status
[22:43:58] Magister Yoda is now offline
[22:43:59] xryun is now online
[22:44:31] py_two is now offline
[22:47:17] nickname is now offline
[22:50:43] py_two is now away
[23:03:36] py_two is now Unique message status
[23:03:46] Typhon is now online
[23:05:52] Tony is now away
[23:13:54] py_two is now offline
[23:13:55] py_two is now Unique message status
[23:17:55] py_two is now offline
[23:17:56] py_two is now Unique message status
[23:19:38] nickname is now online
[23:22:38] Typhon is now offline
[23:30:52] Tony is now xa
[23:36:59] ds.tihonov is now offline
[23:50:40] nickname is now away
[23:56:21] nickname is now away