[00:03:23] Сволота is now online
[00:03:34] livevil is now away
[00:03:52] livevil is now online
[00:08:23] Сволота is now away
[00:08:23] Singularity is now chat
[00:08:43] webninja is now dnd
[00:09:33] gigimon is now away
[00:09:34] gigimon is now away
[00:10:44] Сволота is now online
[00:12:01] webninja is now dnd
[00:12:27] alexey-grom is now away
[00:13:28] gigimon is now away
[00:13:30] gigimon is now online
[00:15:15] bliznezz is now away
[00:15:16] bliznezz is now away
[00:15:46] Сволота is now away
[00:15:56] Сволота is now online
[00:16:27] bliznezz is now away
[00:16:28] bliznezz is now online
[00:17:54] webninja is now dnd
[00:25:04] bliznezz is now away
[00:25:05] bliznezz is now away
[00:25:30] Сволота is now away
[00:30:32] Сволота is now online
[00:30:33] bliznezz is now away
[00:30:33] bliznezz is now offline
[00:32:27] alexey-grom is now xa
[00:34:40] py_two is now offline
[00:35:55] py_two is now xa
[00:36:21] livevil is now away
[00:37:33] bliznezz is now online
[00:39:05] alexey-grom is now online
[00:40:08] py_two is now offline
[00:41:18] gigimon is now away
[00:41:18] gigimon is now away
[00:41:21] livevil is now away
[00:42:25] bliznezz is now online
[00:44:48] bliznezz is now away
[00:44:49] bliznezz is now away
[00:45:43] Singularity is now offline
[00:46:18] bliznezz is now away
[00:46:19] bliznezz is now online
[00:46:21] py_two is now xa
[00:46:25] Singularity is now chat
[00:48:56] py_two is now offline
[00:49:05] alexey-grom is now away
[00:49:19] py_two is now xa
[00:57:57] livevil is now online
[00:57:57] livevil is now away
[00:58:59] Singularity: на хаскеле хапилили аналог пеликана
[00:59:14] Singularity: http://jaspervdj.be/hakyll/
[00:59:40] Singularity: хапилил ^_^
[01:00:55] Singularity: что делать?
[01:01:01] gigimon is now away
[01:01:02] gigimon is now online
[01:04:34] pytwo is now offline
[01:05:05] pytwo is now online
[01:09:05] alexey-grom is now xa
[01:10:38] pytwo is now offline
[01:11:01] pytwo is now online
[01:11:23] pytwo is now offline
[01:12:08] pytwo is now online
[01:12:47] pytwo is now offline
[01:13:50] livevil is now online
[01:14:25] pytwo is now online
[01:14:38] bliznezz is now away
[01:14:39] bliznezz is now away
[01:15:08] bliznezz is now away
[01:15:09] bliznezz is now online
[01:17:54] pytwo is now offline
[01:18:24] pytwo is now online
[01:22:59] pytwo is now offline
[01:23:14] pytwo is now online
[01:28:01] bliznezz is now online
[01:32:36] Singularity is now offline
[01:33:40] levsha is now offline
[01:34:12] levsha is now online
[01:50:54] Сволота is now away
[01:51:06] Сволота is now online
[01:59:13] Singularity is now chat
[02:00:16] Singularity is now offline
[02:05:26] mishok13 is now online
[02:05:46] Сволота is now away
[02:09:01] xa4a is now away
[02:09:02] xa4a is now away
[02:10:48] Сволота is now online
[02:13:12] Singularity is now chat
[02:18:04] Singularity is now offline
[02:20:45] py_two is now offline
[02:21:13] py_two is now xa
[02:25:22] webninja is now dnd
[02:28:05] gf is now offline
[02:28:25] gf is now online
[02:28:35] levsha is now offline
[02:28:35] levsha is now online
[02:35:49] mishok13 is now offline
[02:36:01] webninja is now dnd
[02:43:19] webninja is now dnd
[02:53:49] dicos is now online
[02:53:53] xa4a is now away
[02:53:57] xa4a is now online
[02:57:42] dicos is now offline
[02:58:53] bliznezz is now away
[02:58:53] bliznezz is now away
[03:01:01] livevil is now online
[03:03:02] Сволота is now away
[03:04:07] Сволота is now online
[03:09:15] livevil is now online
[03:11:09] Typhon is now online
[03:14:37] gigimon is now offline
[03:18:06] Сволота is now away
[03:22:14] py_two is now offline
[03:28:06] Сволота is now xa
[03:29:38] Tony is now away
[03:40:07] webninja: господа
[03:41:10] webninja: есть например бД - майскуэль. и есть 330к элементов которые туда надо инсертнуть, используя алхимию. как быстрее будет? коммитить каждый инсерт или может разбить на чанки по N элементов и коммитить их.
[03:49:43] Сволота is now online
[03:54:39] Tony is now xa
[03:54:43] Typhon is now online
[03:54:49] Typhon is now online
[03:55:07] deisler is now offline
[03:57:08] Сволота is now away
[03:57:51] webninja is now dnd
[04:02:55] alexey-grom is now online
[04:07:08] Сволота is now xa
[04:07:30] webninja is now dnd
[04:08:40] Typhon is now away
[04:18:40] Typhon is now away
[04:19:39] Typhon is now away
[04:19:39] Typhon is now offline
[04:21:18] xa4a: webninja: второе
[04:21:42] xa4a: а если ты ещё уверен в корректности данных - можно временно отключить проверку констрейнтов
[04:21:47] xa4a: тогда ещё быстрее будет
[04:23:09] Сволота is now online
[04:23:23] xa4a is now offline
[04:25:14] webninja is now dnd
[04:27:35] webninja is now dnd
[04:27:54] webninja: круто
[04:27:56] webninja: щаз попробую
[04:33:06] webninja is now dnd
[04:37:58] alexey-grom is now away
[04:38:02] alexey-grom is now online
[04:39:41] webninja is now dnd
[04:40:57] Сволота is now away
[04:50:33] Typhon is now away
[04:50:57] Сволота is now xa
[04:52:43] Сволота is now online
[04:52:49] webninja is now dnd
[04:57:47] Сволота is now away
[04:58:52] Сволота is now online
[05:04:50] alexey-grom is now away
[05:08:08] alexey-grom is now online
[05:11:01] Typhon is now offline
[05:13:40] gf is now online
[05:13:50] Сволота is now away
[05:16:07] alexey-grom is now offline
[05:20:06] Сволота is now online
[05:35:31] Сволота is now away
[05:43:05] Сволота is now online
[05:51:47] Сволота is now away
[05:53:05] Сволота is now online
[05:57:30] alexey-grom is now online
[05:58:06] Сволота is now away
[06:01:25] mrDoctorWho is now online
[06:08:07] Сволота is now xa
[06:22:33] Сволота is now online
[06:27:37] Сволота is now away
[06:31:35] Сволота is now online
[06:36:45] Сволота is now away
[06:43:33] Сволота is now online
[06:50:57] alexey-grom is now offline
[06:50:57] alexey-grom is now online
[07:04:30] mrDoctorWho is now dnd
[07:05:29] mrDoctorWho is now offline
[07:06:04] mrDoctorWho is now online
[07:06:54] mrDoctorWho is now dnd
[07:12:39] Сволота is now away
[07:22:39] Сволота is now xa
[07:29:41] mrDoctorWho is now online
[07:44:54] mrDoctorWho is now offline
[07:44:56] mrDoctorWho is now online
[07:52:49] mrDoctorWho is now offline
[07:53:03] mrDoctorWho is now online
[07:57:01] Сволота is now online
[08:03:27] Сволота is now away
[08:11:39] mrDoctorWho is now offline
[08:12:07] Сволота is now online
[08:32:37] Сволота is now away
[08:42:36] Сволота is now xa
[08:42:42] Сволота is now online
[08:49:56] gf is now offline
[09:00:39] Сволота is now away
[09:08:49] mrDoctorWho is now online
[09:08:56] webninja is now dnd
[09:09:01] огыешсук is now online
[09:10:39] Сволота is now xa
[09:18:38] best is now offline
[09:22:37] alexey-grom is now away
[09:26:57] Сволота is now online
[09:27:25] webninja is now dnd
[09:27:30] best is now online
[09:32:04] webninja is now dnd
[09:36:05] bliznezz is now away
[09:36:06] bliznezz is now online
[09:36:21] best is now dnd
[09:36:41] best is now online
[09:36:45] best is now dnd
[09:37:05] best is now online
[09:39:00] ink08 is now away
[09:39:00] Сволота is now away
[09:39:01] ink08 is now online
[09:39:56] emese is now online
[09:40:01] webninja is now dnd
[09:42:37] alexey-grom is now xa
[09:44:10] webninja is now dnd
[09:44:25] alexey-grom is now online
[09:45:56] огыешсук: В шесть утра коммитить 330к элементов в mysql. Интересная жизнь у тайских фрилансеров :o)
[09:47:34] best is now dnd
[09:47:37] best is now online
[09:49:00] Сволота is now xa
[09:49:16] webninja is now dnd
[09:52:08] Joes is now offline
[09:53:23] огыешсук is now away
[09:55:23] огыешсук is now online
[09:56:22] Tony is now online
[09:58:23] emese is now away
[09:58:23] emese is now away
[09:58:33] gigimon is now online
[09:58:50] emese is now away
[09:58:50] emese is now online
[09:59:04] gigimon is now away
[09:59:04] gigimon is now offline
[10:04:32] огыешсук is now away
[10:05:38] огыешсук is now online
[10:10:43] best is now dnd
[10:10:59] best is now online
[10:17:47] bliznezz is now away
[10:17:47] bliznezz is now away
[10:18:18] mrDoctorWho is now away
[10:19:51] mrDoctorWho is now online
[10:20:26] bliznezz is now away
[10:20:26] bliznezz is now online
[10:24:59] огыешсук is now away
[10:27:43] fbvaal is now online
[10:28:12] огыешсук is now online
[10:31:24] mrDoctorWho is now offline
[10:33:22] bliznezz is now online
[10:35:49] best is now dnd
[10:36:04] best is now online
[10:42:30] gigimon is now online
[10:46:00] deisler is now away
[10:47:24] best is now dnd
[10:47:48] best is now online
[10:49:10] ink08 is now away
[10:49:11] ink08 is now away
[10:50:00] best is now dnd
[10:51:58] webninja is now dnd
[10:52:10] bliznezz is now away
[10:52:10] bliznezz is now away
[10:52:46] bliznezz is now away
[10:52:46] bliznezz is now online
[10:52:52] ink08 is now away
[10:52:53] ink08 is now online
[10:52:57] best is now online
[10:57:18] pytwo is now offline
[10:57:48] webninja is now dnd
[10:57:52] webninja is now dnd
[10:57:57] Typhon is now away
[10:58:06] mishok13 is now online
[10:59:38] webninja: огыешсук ну а что делать ) чото опять навалило заказов
[11:04:52] webninja is now dnd
[11:07:55] webninja is now dnd
[11:07:56] Typhon is now offline
[11:12:06] ink08 is now away
[11:12:07] ink08 is now away
[11:15:31] pytwo is now online
[11:15:57] mrDoctorWho is now online
[11:16:24] ink08 is now away
[11:16:25] ink08 is now online
[11:19:13] огыешсук is now away
[11:19:53] огыешсук is now online
[11:21:11] mishok13 is now offline
[11:22:00] bliznezz is now away
[11:22:00] bliznezz is now online
[11:31:45] bliznezz is now away
[11:31:46] bliznezz is now away
[11:32:23] огыешсук is now away
[11:33:43] огыешсук is now offline
[11:33:45] огыешсук is now online
[11:38:33] ink08 is now away
[11:38:34] ink08 is now away
[11:38:40] ink08 is now away
[11:38:41] ink08 is now online
[11:39:13] Tony is now offline
[11:40:54] best is now dnd
[11:40:57] best is now online
[11:42:57] webninja is now dnd
[11:43:09] bliznezz is now away
[11:43:09] bliznezz is now online
[11:44:57] levsha is now offline
[11:48:21] alexey-grom is now away
[11:50:42] slav0nic is now xa
[11:51:52] alexey-grom is now online
[11:54:48] emese is now away
[11:54:48] emese is now away
[11:56:33] livevil is now online
[11:57:09] emese is now away
[11:57:09] emese is now online
[11:57:21] огыешсук is now away
[11:58:09] webninja is now dnd
[11:58:20] Typhon is now away
[12:01:52] Сволота is now online
[12:02:07] Joes is now Yep, I'm here.
[12:02:20] огыешсук is now online
[12:05:10] blw0rm is now online
[12:05:56] livevil is now away
[12:06:16] Joes is now offline
[12:10:56] livevil is now away
[12:12:53] webninja is now dnd
[12:13:29] webninja is now dnd
[12:14:34] Typhon is now offline
[12:15:14] mishok13 is now online
[12:19:20] webninja is now dnd
[12:20:41] cutwater is now online
[12:22:54] Joes is now Yep, I'm here.
[12:23:00] Joes is now offline
[12:24:39] best is now away
[12:26:56] mrDoctorWho is now away
[12:27:11] blw0rm is now offline
[12:29:53] blw0rm is now online
[12:30:25] mishok13 is now away
[12:30:41] mishok13 is now online
[12:30:43] webninja is now dnd
[12:31:36] Singularity is now chat
[12:41:11] webninja is now dnd
[12:43:40] webninja is now dnd
[12:44:39] best is now xa
[12:46:55] mrDoctorWho is now xa
[12:52:22] livevil is now away
[12:52:36] levsha is now online
[12:54:44] webninja is now dnd
[12:55:02] py_two is now xa
[12:57:54] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[12:59:14] pytwo is now offline
[12:59:20] pytwo is now online
[12:59:51] mishok13 is now away
[13:00:50] livevil is now online
[13:05:20] mrDoctorWho is now online
[13:06:25] best is now online
[13:06:37] MAVr is now away
[13:06:38] MAVr is now away
[13:06:42] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[13:08:29] webninja is now dnd
[13:09:21] ink08 is now away
[13:09:22] ink08 is now away
[13:09:36] ink08 is now away
[13:09:37] ink08 is now online
[13:12:07] MAVr is now away
[13:16:38] livevil is now online
[13:16:49] mishok13 is now online
[13:17:23] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[13:18:12] webninja is now dnd
[13:19:51] webninja is now dnd
[13:21:43] Singularity is now online
[13:24:24] Singularity is now chat
[13:29:37] Singularity is now online
[13:33:16] py_two is now offline
[13:33:58] mishok13 is now away
[13:34:39] MAVr is now away
[13:34:52] mishok13 is now online
[13:44:35] MAVr is now xa
[13:44:36] MAVr is now xa
[13:47:15] webninja is now dnd
[13:48:16] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[13:49:30] Singularity is now chat
[13:50:24] Singularity is now offline
[13:52:32] webninja is now dnd
[13:53:25] webninja is now dnd
[13:53:31] MAVr is now away
[13:53:46] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[13:58:28] webninja is now offline
[13:58:53] dicos is now online
[13:59:18] mrDoctorWho is now offline
[13:59:19] mrDoctorWho is now online
[14:00:09] cutwater is now away
[14:00:38] webninja is now dnd
[14:02:51] bliznezz is now away
[14:02:52] bliznezz is now away
[14:09:30] nott is now online
[14:10:13] MAVr is now away
[14:12:12] Singularity is now chat
[14:12:17] ink08 is now away
[14:12:18] ink08 is now away
[14:15:23] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[14:15:36] cutwater is now online
[14:15:40] mrDoctorWho is now offline
[14:16:54] emese is now offline
[14:16:56] ink08 is now away
[14:16:57] ink08 is now online
[14:17:09] nott is now away
[14:20:24] MAVr is now away
[14:24:27] cutwater: Господа.... меня тошнит от argparse.. она очень уродски сделана в мелочах
[14:24:28] cutwater: что делать?
[14:25:24] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[14:26:18] slav0nic: там вроде как говна альтернатив argh всякие
[14:26:28] cutwater: например?
[14:26:46] slav0nic: а вообще - смириться
[14:27:02] cutwater: Argh надо будет посмотреть.
[14:27:10] cutwater: slav0nic: или написать свой да?
[14:27:39] slav0nic: пиранья чёт писал ещё http://opster.readthedocs.org/en/latest/ но наверно забил как всегда)
[14:27:55] cutwater: opster таки немножко примитивен
[14:30:06] bliznezz is now away
[14:30:07] bliznezz is now online
[14:30:11] emese is now online
[14:31:39] Singularity is now offline
[14:33:05] Typhon is now online
[14:33:14] cutwater: кстати за argh спасибо
[14:34:28] slav0nic: можешь ещё всякие фреймворки консольные глянуть аля cliapp
[14:34:33] slav0nic: может там чего есть
[14:34:35] MAVr is now away
[14:35:09] slav0nic: + что в меркуриале юзается для данных вещей
[14:35:13] slav0nic: вроде своё было
[14:36:00] pytwo is now offline
[14:36:07] slav0nic: вот нагуглил ещё cement cli, cliff
[14:36:40] pytwo is now online
[14:39:52] xa4a is now online
[14:41:17] best is now dnd
[14:41:18] webninja is now offline
[14:41:33] best is now online
[14:41:58] gigimon is now away
[14:41:59] gigimon is now away
[14:44:21] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[14:44:25] Typhon is now offline
[14:44:36] webninja is now dnd
[14:45:17] cutwater: slav0nic: собственно что мне не нравится в argparse
[14:45:43] cutwater: 1 - то что он работает с неполными названиями аргументов и это не отключается, но вот команды неполные он не умеет.
[14:46:15] cutwater: 2 - то что комманды в usage форматируются как {cmd1, cmd2} а это значит что если их 10-20... все help разрастается до офигительных размеров
[14:47:18] cutwater: 3 - у него все позиционные аргументы только обязательные. то есть написать из коробки что-то типа

runserver [host [post]]

я уже не могу, надо извращаться с nargs и ручками писать usage
[14:49:04] xa4a is now away
[14:49:05] best is now dnd
[14:49:17] best is now online
[14:51:08] sakal is now online
[14:51:08] sakal is now online
[14:52:16] MAVr is now away
[14:52:17] sakal is now online
[14:52:22] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[14:53:08] огыешсук is now away
[14:55:23] огыешсук is now online
[14:57:19] sakal is now online
[14:57:19] xa4a is now online
[14:58:50] best is now dnd
[14:58:54] best is now online
[14:59:04] xa4a is now online
[14:59:42] mishok13 is now away
[15:00:38] огыешсук is now away
[15:02:22] sakal is now online
[15:06:03] огыешсук is now online
[15:07:24] sakal is now online
[15:09:26] blw0rm is now away
[15:12:05] огыешсук is now away
[15:12:09] nott is now xa
[15:12:26] sakal is now online
[15:14:00] MAVr is now offline
[15:15:58] огыешсук is now online
[15:16:09] ink08 is now away
[15:16:09] ink08 is now away
[15:17:06] ink08 is now away
[15:17:07] ink08 is now online
[15:17:29] sakal is now online
[15:17:48] best is now dnd
[15:17:52] best is now online
[15:19:00] cutwater is now away
[15:21:05] alexey-grom is now away
[15:22:16] ink08 is now away
[15:22:16] ink08 is now away
[15:22:27] alexey-grom is now online
[15:22:32] sakal is now online
[15:24:18] webninja is now dnd
[15:24:28] blw0rm is now xa
[15:25:19] ink08 is now away
[15:25:20] ink08 is now online
[15:25:39] xa4a is now away
[15:27:34] sakal is now online
[15:29:43] xa4a is now online
[15:29:59] webninja is now dnd
[15:30:11] webninja is now dnd
[15:32:36] sakal is now online
[15:32:51] Singularity is now chat
[15:33:54] blw0rm is now online
[15:36:12] огыешсук is now away
[15:36:56] webninja is now dnd
[15:37:39] огыешсук is now online
[15:37:39] sakal is now online
[15:39:00] cutwater is now xa
[15:39:01] webninja is now offline
[15:39:35] py_two is now xa
[15:39:40] py_two is now offline
[15:41:30] webninja is now dnd
[15:41:37] mishok13 is now online
[15:42:29] cutwater is now online
[15:42:41] sakal is now online
[15:42:54] огыешсук is now away
[15:45:16] огыешсук is now online
[15:47:07] gigimon is now offline
[15:47:07] gigimon is now away
[15:47:41] Typhon is now online
[15:47:43] sakal is now online
[15:48:47] Singularity: Кто нибудь Витальку видел? :-D
[15:50:35] огыешсук is now away
[15:50:59] emese is now offline
[15:50:59] огыешсук is now online
[15:52:06] py_two is now xa
[15:52:45] sakal is now online
[15:55:22] best is now dnd
[15:55:22] webninja is now offline
[15:55:35] Singularity is now offline
[15:57:25] Typhon is now away
[15:57:27] best is now online
[15:57:47] xa4a: cutwater: http://code.google.com/p/python-gflags/
[15:58:26] webninja is now dnd
[15:59:25] Typhon is now online
[16:00:33] webninja is now dnd
[16:00:55] best is now dnd
[16:01:11] best is now online
[16:02:23] ink08 is now away
[16:02:23] ink08 is now away
[16:03:04] xa4a is now away
[16:03:09] xa4a is now online
[16:03:26] xa4a is now away
[16:05:02] ink08 is now away
[16:05:03] ink08 is now online
[16:05:53] ink08: https://github.com/meskyanichi/backup/ - подскажите, есть ли такое на питоне?
[16:07:09] dicos is now away
[16:07:10] dicos is now away
[16:08:51] best is now dnd
[16:08:59] best is now online
[16:09:37] py_two is now offline
[16:11:58] pytwo is now offline
[16:11:58] webninja is now offline
[16:13:26] xa4a is now away
[16:14:42] webninja is now dnd
[16:15:35] Сволота is now away
[16:15:49] огыешсук is now offline
[16:18:06] livevil is now online
[16:18:07] livevil is now online
[16:20:35] Сволота is now online
[16:21:16] mishok13 is now away
[16:21:31] py_two is now xa
[16:21:32] огыешсук is now away
[16:21:40] Typhon is now away
[16:22:03] огыешсук is now online
[16:23:47] mishok13 is now online
[16:25:20] webninja is now dnd
[16:29:37] xa4a is now away
[16:29:40] alexey-grom is now offline
[16:29:41] xa4a is now online
[16:31:40] Typhon is now away
[16:32:39] Typhon is now away
[16:32:39] Typhon is now offline
[16:35:27] Сволота is now away
[16:37:01] Typhon is now away
[16:40:14] pytwo is now online
[16:40:27] Сволота is now online
[16:41:09] dicos is now away
[16:41:10] dicos is now online
[16:45:29] Сволота is now away
[16:46:11] Сволота is now online
[16:48:34] nott is now online
[16:49:01] огыешсук is now away
[16:50:36] огыешсук is now online
[16:54:38] livevil is now online
[16:55:44] nott is now away
[16:56:11] Сволота is now away
[16:59:28] огыешсук is now away
[17:00:02] xa4a is now away
[17:00:34] огыешсук is now online
[17:01:11] Сволота is now online
[17:01:34] Typhon is now online
[17:02:16] xa4a is now online
[17:05:44] gigimon is now away
[17:05:45] gigimon is now online
[17:05:47] livevil is now online
[17:06:13] Сволота is now away
[17:08:53] Сволота is now online
[17:13:55] Сволота is now away
[17:14:01] Сволота is now online
[17:19:45] Orhideous is now online
[17:21:00] Сволота is now away
[17:21:05] nmk is now online
[17:21:22] blw0rm is now away
[17:21:36] blw0rm is now online
[17:22:32] Сволота is now online
[17:23:24] best is now dnd
[17:23:48] best is now online
[17:24:28] best is now dnd
[17:24:52] best is now online
[17:25:16] Typhon is now away
[17:25:18] Singularity is now chat
[17:28:59] dicos is now away
[17:29:00] dicos is now away
[17:30:42] Сволота is now away
[17:32:29] dicos is now away
[17:32:31] dicos is now online
[17:32:58] Сволота is now online
[17:33:11] ink08 is now away
[17:33:12] ink08 is now away
[17:34:05] Singularity is now online
[17:34:17] ink08 is now away
[17:34:18] ink08 is now online
[17:34:23] Singularity is now chat
[17:34:48] bliznezz is now away
[17:34:49] bliznezz is now away
[17:35:16] Typhon is now away
[17:36:06] bliznezz is now away
[17:36:06] bliznezz is now online
[17:37:05] Typhon is now away
[17:37:08] Typhon is now online
[17:37:59] Сволота is now away
[17:39:38] Singularity is now online
[17:39:56] Singularity is now chat
[17:40:24] ink08 is now away
[17:40:25] ink08 is now away
[17:40:49] Сволота is now online
[17:41:02] best is now dnd
[17:41:18] ink08 is now away
[17:41:19] ink08 is now online
[17:41:21] best is now online
[17:42:16] Typhon is now offline
[17:42:57] dicos is now offline
[17:42:57] Typhon is now online
[17:45:11] cutwater is now away
[17:46:00] alexey-grom is now online
[17:51:38] Orhideous: ...однако. http://img839.imageshack.us/img839/8715/perl.png
[17:53:10] cutwater is now online
[17:54:34] mishok13 is now offline
[17:54:51] mishok13 is now online
[17:55:58] mishok13 is now away
[17:56:45] best is now away
[17:57:00] Typhon is now away
[17:57:05] best is now online
[17:58:31] pytwo is now offline
[17:58:36] Typhon is now online
[17:59:00] blw0rm is now away
[17:59:44] pytwo is now online
[18:00:08] xa4a: Orhideous: это не канал об аниме, если что
[18:03:02] ink08: xa4a: помоему речь о perl )))
[18:03:02] livevil is now online
[18:04:10] nott is now online
[18:06:15] Сволота is now away
[18:06:35] livevil is now online
[18:07:02] blw0rm is now online
[18:08:03] slav0nic: у орхидеуса розовая поняция мозга)
[18:08:36] best is now xa
[18:10:29] Сволота is now online
[18:13:25] ink08 is now away
[18:13:26] ink08 is now away
[18:14:03] gigimon: пони
[18:15:16] deisler is now offline
[18:15:31] Сволота is now away
[18:16:47] Сволота is now online
[18:17:01] deisler is now away
[18:17:23] mishok13 is now online
[18:18:57] огыешсук is now offline
[18:19:03] mironich is now online
[18:23:18] blw0rm is now away
[18:24:16] blw0rm is now online
[18:24:21] mironich: Здраствуйте, вот два варианта одного и тогоже действия, http://dumpz.org/406244/ какой более оптимальный? url_list - несколько потоков дергают поэтому for не подойдет.
[18:31:02] Singularity is now offline
[18:34:21] Сволота is now away
[18:36:48] xa4a is now online
[18:37:55] Сволота is now online
[18:38:05] bliznezz is now away
[18:38:06] bliznezz is now away
[18:38:59] bliznezz is now away
[18:38:59] bliznezz is now online
[18:42:41] mironich is now away
[18:42:59] Сволота is now away
[18:43:53] mironich is now online
[18:45:14] alexey-grom is now away
[18:47:48] pytwo is now offline
[18:48:04] pytwo is now online
[18:51:08] deisler is now offline
[18:52:14] gigimon: mironich: конечно без эксепшенов
[18:52:59] Сволота is now xa
[18:53:15] mironich: gigimon, а почему? Я просто подумал... Если без них то каждый раз будет проверяться условие.. Иначе один раз выброситься экцепшен.
[18:53:35] gigimon: код без них красивше
[18:53:51] gigimon: да и более явно
[18:54:10] nmk: mironich: while self.url_list
[18:55:21] mironich: gigimon, а вплане эффективноси?
[18:55:52] gigimon: вот nmk правильно сказал :)
[18:56:21] gigimon: а в плане эффективности, у тебя там что, миллионы данных в 2 секунды надо сделать?
[18:56:23] gigimon: нет же
[18:56:26] gigimon: поэтому пох
[18:56:40] mironich: nmk, там в цикле сейчас глянул в коде условие не while True стоит, в общем туда нельзя пихать список.
[18:57:09] mironich: gigimon, ну то да... Но хочеться всегда эффективный\идеологически правильный код писать.
[18:57:35] gigimon: без эксепшена, т.к. явное лучше неявного, а это проповедует пеп8
[18:57:41] nmk: слушай, если твой код могут понять, то он эффиктивный и идеологически правильный
[18:57:47] gigimon: да и сомневаюсь, что эксепшен эффективнее, чем просто проверку
[18:57:52] nmk: будет тормозить оптимизируешь
[18:58:46] Typhon is now away
[18:59:40] mironich: Ну вообще вопрос с расчетом на будущее... Такие ситуации часто возникают, и вот всегда метался как правильней... Всем спасибо за ответы. Сделаю через if
[18:59:51] mironich: В while впихнуть не удастся
[19:00:09] Typhon is now online
[19:02:10] Typhon is now away
[19:03:08] Typhon is now online
[19:05:14] alexey-grom is now xa
[19:08:16] xa4a: mironich: во втором случае - ace-condition
[19:08:24] xa4a: между 10 и 12 строками
[19:09:02] xa4a: идеологически код не правильный т.к. если несколько потоков, то должна быть синхронизация, то есть тебе нужна очередь
[19:09:49] xa4a: а если именно так хочется, то я бы сказал, что лучше try: except: вынести за цикл
[19:10:08] xa4a: s/ace-condition/race-condition/
[19:11:13] mironich: xa4a, ну в полном коде там мьютексы используються когда значения получаються, а зачем за цикл выносить(try-except)?
[19:11:40] xa4a: try-except - не бесплатно обрабатывается
[19:11:55] xa4a: и лучше один блок сделать, чем заново создавать на каждой итерации
[19:12:53] xa4a: но вместо мьютексов лучше очередь
[19:13:06] Orhideous is now offline
[19:13:22] mironich: try-except - не бесплатно обрабатывается>>То есть, он как-то создаеться? Об этом вообще не знал, с очередями у меня проблемы.
[19:15:17] mironich: xa4a, а где можно почитать про то что блоки try-except создаються? Я думал один раз прописал, ну и все.
[19:15:55] pytwo is now offline
[19:16:13] xa4a: питон интерпретируеумый -> на каждую команду создаётся байт-код -> больше байткода = больше работы
[19:16:52] pytwo is now online
[19:17:24] mironich: xa4a,на каждую команду создаётся байт-код >> получаеться в цикле будет рег-но создаваться блок?
[19:17:55] xa4a: рег-но?
[19:18:05] xa4a: повторно, да
[19:18:18] xa4a: ты же теоретически можешь хотеть обрабатывать этот блок на каждой итерации по-разному
[19:18:19] livevil is now online
[19:18:35] xa4a: на одной - в один лог плюнул ошибку, на другой - в другой
[19:18:48] xa4a: ну..
[19:19:06] xa4a: я фантазирую тут, да, как оно могло бы работать
[19:19:42] mironich: xa4a, О как, и не подозревал об этом... Изучаю питон есяцев 5... И не подозревал о таких особеннастях, а в какой книге о таких подводных камнях написано?
[19:19:55] xa4a: это не подводный камень
[19:20:01] xa4a: это просто мои рассуждения
[19:20:16] xa4a: подтверждение/опровержение написано в исходниках питона
[19:21:20] mironich: xa4a, аа... Вы меня напугали, но если оно действительно так то мне надо половину своего кода выкинуть...
[19:21:22] pytwo is now offline
[19:22:33] xa4a: это в 99% кода не существенно
[19:23:15] xa4a: т.к. ты же пишешь try-except не с точки зрения оптимальности кода, а с точки зрения того, где у тебя возникает исключительная ситуация и где ты её хочешь обработать
[19:23:33] pytwo is now online
[19:23:49] nmk is now offline
[19:24:00] xa4a: короче, не парься по этому поводу
[19:24:11] xa4a: лучше почитай про очереди и перепиши код с ними
[19:24:15] xa4a: !pydoc Queue
[19:24:31] xa4a: slav0nic: ^
[19:24:37] xa4a: какой-то pydoc поломанный
[19:24:46] xa4a: (ссылка)
[19:25:30] livevil is now online
[19:25:38] slav0nic: бот pydoc либу юзаешь?
[19:25:48] deisler is now away
[19:26:51] mironich: xa4a, Я про них и на русском и на англ. читал, и сейчас в броузере открыты, но всеравно не могу до конца понять как использовать. Забиваем список данными, это понятно, дальше берем через get(True), но вот зачем task_done вызывать потом не понятно.
[19:27:31] xa4a: slav0nic: pipe = os.popen('sh -c "pydoc %s | head -n %d"' % (params, self.lines_limit))
[19:28:29] Сволота is now online
[19:28:52] xa4a: mironich: можно его не вызывать. его _нужно_ вызывать в случае, если ты ждёшь конца работы, заблокировавшись в queue.join()
[19:29:02] xa4a: If a join() <http://docs.python.org/release/2.7/library/queue.html#Queue.Queue.join> is currently blocking, it will resume when all items have been processed (meaning that a task_done() <http://docs.python.org/release/2.7/library/queue.html#Queue.Queue.task_done> call was received for every item that had been put() <http://docs.python.org/release/2.7/library/queue.html#Queue.Queue.put> into the queue).
[19:32:54] mironich: xa4a, во спасибо! Буду переписывать, и в будущем их юзать.
[19:39:28] Typhon is now away
[19:45:51] Singularity is now chat
[19:47:33] cutwater is now offline
[19:48:37] Singularity is now offline
[19:49:28] Typhon is now away
[19:49:47] Typhon is now away
[19:49:51] Typhon is now online
[19:52:19] slav0nic is now offline
[19:55:11] xa4a is now away
[19:57:29] xa4a is now online
[20:05:25] xa4a is now away
[20:06:17] livevil is now online
[20:06:56] livevil is now online
[20:07:31] mironich is now away
[20:07:32] mironich is now away
[20:08:10] mironich is now online
[20:12:51] xa4a is now online
[20:13:56] blw0rm is now away
[20:15:20] webninja is now dnd
[20:17:02] xa4a is now away
[20:17:19] Typhon is now away
[20:18:02] blw0rm is now online
[20:18:35] Typhon is now online
[20:20:13] xa4a is now online
[20:23:22] Typhon is now offline
[20:29:04] webninja is now dnd
[20:31:39] mironich is now away
[20:31:40] mironich is now away
[20:35:21] bliznezz is now away
[20:35:22] bliznezz is now away
[20:35:25] mironich is now away
[20:35:25] mironich is now online
[20:40:38] Joes is now Yep, I'm here.
[20:44:16] mishok13 is now offline
[20:46:57] mironich is now away
[20:48:13] xa4a is now away
[20:50:25] best is now offline
[20:53:03] levsha is now offline
[20:54:57] levsha is now online
[20:56:22] xa4a is now online
[20:58:10] best is now xa
[20:58:10] webninja is now offline
[20:59:17] gigimon is now offline
[20:59:45] blw0rm is now offline
[21:00:58] webninja is now dnd
[21:01:57] levsha is now offline
[21:04:01] levsha is now online
[21:09:33] webninja is now dnd
[21:17:14] webninja is now dnd
[21:17:47] webninja is now dnd
[21:18:24] mironich is now online
[21:18:41] best is now online
[21:22:49] webninja is now dnd
[21:24:00] Typhon is now online
[21:27:51] mishok13 is now online
[21:34:17] nott is now away
[21:36:33] nott is now online
[21:40:35] Typhon is now offline
[21:50:09] best is now offline
[21:50:59] best is now online
[21:57:22] Tony is now online
[22:07:51] levsha is now offline
[22:14:18] Сволота is now away
[22:14:52] Сволота is now online
[22:23:02] nott is now offline
[22:24:34] livevil is now online
[22:28:41] xa4a is now away
[22:34:04] bliznezz is now online
[22:37:23] best is now away
[22:38:41] xa4a is now away
[22:39:40] Сволота is now away
[22:40:14] Сволота is now online
[22:40:38] xa4a is now away
[22:40:42] xa4a is now online
[22:41:28] Singularity is now chat
[22:41:52] mishok13 is now away
[22:42:25] livevil is now online
[22:42:41] Singularity is now offline
[22:44:54] mironich is now away
[22:44:54] mironich is now away
[22:45:24] mironich is now online
[22:47:13] mishok13 is now online
[22:52:34] Сволота is now away
[22:53:44] Сволота is now online
[22:57:22] best is now xa
[22:58:30] xa4a is now away
[23:00:32] Сволота is now away
[23:05:32] Сволота is now online
[23:08:24] levsha is now online
[23:08:30] xa4a is now away
[23:10:36] Сволота is now away
[23:15:38] Сволота is now online
[23:17:28] livevil is now online
[23:18:22] livevil is now online
[23:21:18] Сволота is now away
[23:21:40] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[23:22:42] Сволота is now online
[23:23:48] Tony is now away
[23:26:56] Tony is now online
[23:29:18] Сволота is now away
[23:31:00] Сволота is now online
[23:35:54] xa4a is now away
[23:35:58] xa4a is now online
[23:37:02] Сволота is now away
[23:39:12] Сволота is now online
[23:39:34] mironich is now away
[23:39:34] mironich is now away
[23:41:50] MAVr is now offline
[23:43:22] mironich is now away
[23:43:22] mironich is now online
[23:44:56] Сволота is now away
[23:46:54] Сволота is now online
[23:51:54] Tony is now away
[23:52:18] xa4a is now away
[23:52:34] Tony is now online
[23:52:52] Сволота is now away
[23:58:00] Сволота is now online
[23:58:14] gigimon is now online