[00:04:40] Tony is now away
[00:11:09] ambush is now online
[00:18:20] vaal is now away
[00:18:20] vaal is now away
[00:22:53] fuzzy: singularity: што?
[00:24:24] AlexZenon is now offline
[00:24:48] singularity: fuzzy: я пилю свой особый EAV на джанго http://dumpz.org/1106838/
[00:24:57] singularity: как мне это сделать получше?
[00:27:13] fuzzy: я бы любое значение хранил бы в одном текстовом поле
[00:27:38] fuzzy: хранить строку
[00:28:06] fuzzy: def _set_value(self, value): self.value = str(value)
[00:28:45] fuzzy: def _get_value(self): data_map[self.property_type](self.value)
[00:29:40] Tony is now xa
[00:31:14] fuzzy: о, я когда-то давно что-то похожее делал.
[00:31:23] singularity: я тебя не понял
[00:32:36] fuzzy: ну вместо всех value_integer, value_boolean, value_float
[00:32:41] fuzzy: одно поле сделать
[00:33:46] singularity: не так не надо
[00:34:01] singularity: я ж потом захочу еще поиск сделать
[00:34:16] singularity: например год выпуска больше 2011
[00:34:26] singularity: или диагональ больше 27
[00:37:13] fuzzy: и что?
[00:37:19] singularity: ну
[00:37:27] fuzzy: у тебя это типы разные будут?
[00:37:34] singularity: а как я это сделаю для строки
[00:37:37] fuzzy: а, ок
[00:37:42] fuzzy: да, тогда хреново
[00:37:46] fuzzy: ну как бы..
[00:38:02] singularity: что?
[00:38:24] fuzzy: можно какой-то внений движок для поиска задействовать
[00:38:32] fuzzy: и в него уже класть неструктурированные документы
[00:38:40] fuzzy: ну, или по фасетам раскладывать каждое поле
[00:38:45] singularity: я не умею в другие движки :)
[00:38:46] fuzzy: хотя это может костыль..
[00:38:52] fuzzy: я недавно пробовал whoosh
[00:39:03] fuzzy: на питоне и супер просто
[00:39:09] fuzzy: и должно быть супер быстро
[00:39:09] singularity: fuzzy: кстати он не может в такое что мне надо
[00:39:44] singularity: ну типа только relational data
[00:40:08] singularity: хотя всякие elasticsearch может в json
[00:40:32] fuzzy: да, думаю тут ты прав. value_float/value_bool имеет смысл
[00:41:06] singularity: только оно будет тормозить на больших базах
[00:41:07] fuzzy: так что снова вопрос "как получить с переменной i = 1 строку int ?" - што?
[00:41:50] fuzzy: может ты хочешь просто int?
[00:42:03] fuzzy: isinstance(1, int)
[00:42:39] singularity: fuzzy: там у меня switch case будет
[00:42:49] singularity: а я сделал
[00:43:07] singularity: data_map = {type(1): 'integer', type(1.0): 'float', type(True): 'boolean', type(datetime.datetime.now()): 'date', type(u''): 'text', type(str('')): 'text', }
[00:43:21] gigimon is now online
[00:43:40] fuzzy: s/type(1)/int/
[00:43:46] fuzzy: s/type(1.0)/float/
[00:43:56] fuzzy: s/type(True)/bool/
[00:44:06] fuzzy: s/type(str(''))/str/
[00:44:16] fuzzy: s/type(u'')/unicode/
[00:44:48] fuzzy: s/type(datetime.datetime.now())/datetime.datetime/
[00:52:00] singularity: благодарочка
[01:05:49] gigimon is now online
[01:11:44] gigimon is now online
[01:16:53] fuzzy is now away
[01:25:59] gigimon is now online
[01:26:39] fuzzy is now away
[01:35:06] gigimon is now online
[01:43:47] ambush is now offline
[01:45:19] gigimon is now online
[01:56:30] gigimon is now online
[02:02:25] fuzzy is now away
[02:04:10] singularity is now offline
[02:15:31] gigimon is now online
[02:17:49] gigimon is now online
[02:18:52] gigimon is now offline
[02:34:53] singularity is now online
[02:35:33] singularity is now offline
[02:35:36] singularity is now online
[02:38:43] singularity is now offline
[02:50:15] vaal is now away
[02:50:15] vaal is now away
[03:20:24] blw0rm is now xa
[03:20:24] vaal is now away
[03:20:24] Tony is now xa
[03:20:24] bliznezz is now away
[03:20:24] remo is now online
[03:20:24] fuzzy is now away
[03:20:24] magic_pony is now online
[03:20:24] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[03:25:20] remo is now offline
[03:31:09] vaal is now online
[03:31:12] vaal is now offline
[04:01:15] blw0rm is now xa
[04:01:15] Tony is now xa
[04:01:15] bliznezz is now away
[04:01:15] fuzzy is now away
[04:01:15] magic_pony is now online
[04:01:15] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[04:31:27] blw0rm is now xa
[04:31:27] Tony is now xa
[04:31:27] bliznezz is now away
[04:31:27] fuzzy is now away
[04:31:27] magic_pony is now online
[04:31:27] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[04:40:47] singularity is now online
[05:05:40] dicos is now online
[05:17:49] dicos is now away
[05:17:50] dicos is now away
[05:22:03] singularity is now offline
[05:25:13] dicos is now away
[05:25:14] dicos is now online
[05:26:38] fuzzy is now away
[05:41:43] dicos is now away
[05:41:44] dicos is now away
[05:42:13] dicos is now away
[05:42:14] dicos is now online
[05:42:51] fuzzy is now away
[05:47:00] fuzzy is now away
[05:56:59] fuzzy is now away
[06:01:23] fuzzy is now away
[06:17:52] dicos is now away
[06:17:53] dicos is now away
[06:18:46] Magister Yoda is now online
[06:24:43] dicos is now away
[06:24:44] dicos is now online
[06:54:54] blw0rm is now xa
[06:54:54] Tony is now xa
[06:54:54] bliznezz is now away
[06:54:54] fuzzy is now away
[06:54:54] Magister Yoda is now online
[06:54:54] dicos is now online
[06:54:54] magic_pony is now online
[06:54:54] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[07:05:38] dicos is now away
[07:05:39] dicos is now away
[07:07:45] Magister Yoda is now offline
[07:22:12] magister is now online
[07:28:50] dicos is now away
[07:28:51] dicos is now online
[07:58:56] blw0rm is now xa
[07:58:56] Tony is now xa
[07:58:56] magister is now online
[07:58:56] bliznezz is now away
[07:58:56] dicos is now online
[07:58:56] fuzzy is now away
[07:58:56] magic_pony is now online
[07:58:56] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[08:21:24] Tony is now online
[08:25:57] ambush is now away
[08:27:08] ambush is now online
[08:32:21] ambush is now away
[08:41:28] dicos is now away
[08:41:29] dicos is now away
[08:42:20] ambush is now xa
[08:43:13] dicos is now away
[08:43:14] dicos is now online
[08:47:24] ambush is now online
[09:03:07] fuzzy is now online
[09:11:02] dicos is now away
[09:11:03] dicos is now away
[09:14:26] dicos is now away
[09:14:27] dicos is now online
[09:19:29] fuzzy is now away
[09:23:23] dicos is now away
[09:23:24] dicos is now away
[09:30:41] dicos is now away
[09:30:42] dicos is now online
[09:38:41] dicos is now away
[09:38:42] dicos is now away
[09:41:04] fuzzy is now online
[09:47:08] dicos is now away
[09:47:09] dicos is now online
[09:51:37] ambush is now away
[09:52:08] dicos is now away
[09:52:09] dicos is now away
[09:55:02] ambush is now online
[09:55:32] AlexZenon is now online
[10:13:37] ambush is now away
[10:21:17] dicos is now away
[10:21:18] dicos is now online
[10:21:29] fuzzy is now away
[10:22:00] metall1c is now xa
[10:22:01] metall1c is now online
[10:23:36] ambush is now xa
[10:25:07] ambush is now online
[10:25:51] fuzzy is now online
[10:26:19] dicos is now away
[10:26:20] dicos is now away
[10:29:51] fuzzy is now away
[10:30:07] dicos is now away
[10:30:08] dicos is now online
[10:35:31] levsha is now online
[10:35:35] огыешсук is now away
[10:35:36] огыешсук is now online
[10:43:21] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[10:45:54] gigimon is now online
[10:49:51] bliznezz is now online
[10:58:23] vaal is now online
[11:02:26] fuzzy is now away
[11:03:23] fuzzy is now away
[11:07:38] огыешсук is now away
[11:08:44] mishok13 is now online
[11:09:04] огыешсук is now away
[11:09:06] огыешсук is now online
[11:22:20] slav0nic is now online
[11:27:40] огыешсук is now online
[11:27:40] огыешсук is now online
[11:28:39] fuzzy is now away
[11:28:58] fuzzy is now away
[11:29:00] dicos is now away
[11:29:01] dicos is now away
[11:31:11] blw0rm is now online
[11:34:59] ambush is now offline
[11:37:36] dicos is now away
[11:37:37] dicos is now online
[11:47:56] bliznezz is now offline
[11:48:11] MAVr is now offline
[11:48:14] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[11:49:14] огыешсук is now offline
[11:51:08] bliznezz is now online
[11:52:27] bliznezz is now offline
[11:57:58] ambush is now online
[12:00:58] emese is now online
[12:01:15] dicos is now away
[12:01:16] dicos is now away
[12:05:42] dicos is now away
[12:05:43] dicos is now online
[12:06:54] Tony is now away
[12:08:02] gigimon is now online
[12:09:09] vaal is now away
[12:12:24] vaal is now online
[12:12:31] fuzzy is now online
[12:12:46] gigimon is now away
[12:14:33] fuzzy is now offline
[12:26:25] fuzzy is now online
[12:29:12] Tony is now online
[12:29:31] fuzzy is now offline
[12:31:03] dicos is now away
[12:31:04] dicos is now away
[12:32:43] gigimon is now away
[12:32:43] gigimon is now online
[12:40:37] fuzzy is now online
[12:51:50] fuzzy is now offline
[12:52:25] vaal is now offline
[12:56:23] vaal is now online
[12:56:25] огыешсук is now online
[12:59:51] dicos is now away
[12:59:52] dicos is now online
[13:00:52] dicos is now offline
[13:09:21] MAVr is now offline
[13:09:36] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[13:16:17] blw0rm is now away
[13:18:20] огыешсук is now online
[13:18:21] blw0rm is now online
[13:18:22] огыешсук is now away
[13:19:24] огыешсук is now online
[13:19:38] yugo-salem is now online
[13:20:10] metall1c is now away
[13:31:29] огыешсук is now offline
[13:40:10] metall1c is now xa
[13:42:05] metall1c is now online
[13:49:00] yugo-salem is now away
[13:50:38] yugo-salem is now online
[13:50:39] ambush is now away
[13:57:16] огыешсук is now online
[13:57:41] blw0rm is now away
[13:58:59] ambush is now online
[14:01:26] yugo-salem is now away
[14:03:59] bliznezz is now online
[14:06:07] yugo-salem is now online
[14:12:44] blw0rm is now xa
[14:15:43] slav0nic is now away
[14:16:17] огыешсук is now offline
[14:19:58] mrDoctorWho is now online
[14:25:43] slav0nic is now xa
[14:39:58] огыешсук is now online
[14:42:00] yugo-salem is now away
[14:43:20] огыешсук is now offline
[14:45:48] yugo-salem is now online
[14:50:03] dicos is now online
[14:51:04] metall1c is now away
[14:54:46] mrDoctorWho is now away
[14:56:43] slav0nic is now online
[14:57:25] blw0rm is now online
[15:02:39] bliznezz is now away
[15:02:40] bliznezz is now away
[15:11:04] metall1c is now xa
[15:11:52] metall1c is now online
[15:12:49] bliznezz is now away
[15:12:50] bliznezz is now online
[15:13:37] mrDoctorWho is now online
[15:15:47] remo is now online
[15:15:50] fuzzy is now online
[15:23:36] mrDoctorWho is now away
[15:24:04] emese is now offline
[15:24:13] mrDoctorWho is now online
[15:25:42] magister is now offline
[15:27:26] fuzzy is now offline
[15:36:27] MAVr is now offline
[15:36:29] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[15:39:22] metall1c is now away
[15:42:00] metall1c is now online
[15:43:06] magister is now online
[15:43:06] огыешсук is now online
[16:13:10] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[16:13:10] blw0rm is now online
[16:13:10] slav0nic is now online
[16:13:10] Tony is now online
[16:13:10] magister is now online
[16:13:10] bliznezz is now online
[16:13:10] vaal is now online
[16:13:10] yugo-salem is now online
[16:13:10] remo is now online
[16:13:10] mrDoctorWho is now online
[16:13:10] levsha is now online
[16:13:10] ambush is now online
[16:13:10] mishok13 is now online
[16:13:10] gigimon is now online
[16:13:10] metall1c is now online
[16:13:10] AlexZenon is now online
[16:13:10] огыешсук is now online
[16:13:10] dicos is now online
[16:13:10] magic_pony is now online
[16:13:10] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[16:17:23] bliznezz is now away
[16:17:24] bliznezz is now away
[16:17:27] mrDoctorWho is now offline
[16:17:28] mrDoctorWho is now online
[16:21:54] metall1c is now offline
[16:21:56] metall1c is now online
[16:22:11] metall1c is now offline
[16:26:36] levsha is now away
[16:32:13] gigimon is now online
[16:32:50] bliznezz is now online
[16:36:55] gigimon is now online
[16:39:04] emese is now online
[16:41:13] dicos is now offline
[16:44:49] огыешсук is now offline
[16:46:42] levsha is now xa
[16:48:58] огыешсук is now online
[16:50:09] levsha is now online
[16:57:45] mrDoctorWho is now offline
[16:57:46] mrDoctorWho is now online
[17:20:10] ambush is now away
[17:22:13] ambush is now online
[17:23:25] blw0rm is now away
[17:23:56] levsha is now away
[17:25:09] огыешсук is now offline
[17:25:51] levsha is now online
[17:26:23] blw0rm is now online
[17:48:19] MAVr is now offline
[17:58:27] огыешсук is now online
[18:02:27] ambush is now offline
[18:04:46] remo is now offline
[18:07:30] yugo-salem is now offline
[18:09:17] blw0rm is now away
[18:19:17] blw0rm is now xa
[18:21:34] огыешсук is now online
[18:23:03] blw0rm is now online
[18:24:59] ambush is now away
[18:25:41] огыешсук is now online
[18:34:59] ambush is now xa
[18:39:08] vaal is now away
[18:40:48] vaal is now away
[18:40:48] vaal is now online
[18:44:30] огыешсук is now away
[18:50:22] огыешсук is now online
[18:50:23] огыешсук is now online
[18:50:32] ambush is now online
[18:53:45] bliznezz is now offline
[18:53:49] levsha is now offline
[19:00:27] ambush is now away
[19:01:39] bliznezz is now online
[19:02:08] gigimon is now offline
[19:05:41] ambush is now online
[19:10:54] ambush is now away
[19:11:24] ambush is now online
[19:12:36] Magister Yoda is now online
[19:18:15] огыешсук is now online
[19:18:16] огыешсук is now away
[19:22:16] emese is now away
[19:22:17] emese is now away
[19:22:57] emese is now away
[19:22:59] emese is now online
[19:32:30] vaal is now away
[19:32:30] vaal is now away
[19:33:18] singularity is now online
[19:35:17] огыешсук is now offline
[19:36:16] vaal is now away
[19:36:16] vaal is now online
[19:38:41] remo is now online
[19:46:37] emese is now away
[19:46:38] emese is now away
[19:47:04] emese is now away
[19:47:05] emese is now online
[19:56:54] bliznezz is now away
[19:56:55] bliznezz is now away
[19:57:39] vaal is now away
[19:58:33] bliznezz is now away
[19:58:34] bliznezz is now online
[19:59:23] mishok13 is now offline
[19:59:24] ambush is now away
[19:59:45] ambush is now online
[20:01:36] ambush is now offline
[20:03:10] mrDoctorWho is now offline
[20:04:30] mrDoctorWho is now online
[20:12:10] Magister Yoda is now away
[20:17:15] slav0nic is now offline
[20:22:07] Magister Yoda is now online
[20:26:43] Magister Yoda is now away
[20:28:44] bliznezz is now offline
[20:29:47] singularity is now online
[20:33:02] vaal is now away
[20:33:02] vaal is now online
[20:34:39] Magister Yoda is now online
[20:34:55] blw0rm is now away
[20:35:11] blw0rm is now online
[20:35:39] огыешсук is now online
[20:41:55] remo is now offline
[20:42:47] obivan is now online
[20:43:02] obivan is now online
[20:48:04] mrDoctorWho is now offline
[20:48:06] mrDoctorWho is now online
[20:49:08] огыешсук is now online
[20:49:10] огыешсук is now away
[20:49:47] огыешсук is now online
[20:49:49] огыешсук is now online
[21:10:05] vaal is now away
[21:15:16] mrDoctorWho is now away
[21:18:27] mrDoctorWho is now online
[21:26:06] vaal is now online
[21:28:32] mrDoctorWho is now away
[21:28:58] mrDoctorWho is now online
[21:34:57] blw0rm is now away
[21:36:49] Magister Yoda is now away
[21:37:13] remo is now online
[21:38:58] mrDoctorWho is now away
[21:39:03] Magister Yoda is now online
[21:39:55] gigimon is now online
[21:40:44] blw0rm is now online
[21:41:11] blw0rm is now away
[21:46:47] mrDoctorWho is now online
[21:49:21] vaal is now away
[21:49:21] vaal is now away
[21:49:52] emese is now offline
[21:51:17] opka is now online
[21:51:52] vaal is now away
[21:51:52] vaal is now online
[21:56:13] blw0rm is now xa
[22:13:12] Magister Yoda is now offline
[22:32:21] singularity is now online
[22:33:07] singularity is now online
[22:33:17] singularity: у меня есть задача
[22:33:28] singularity: есть число
[22:33:45] singularity: его надо разложить на несколько
[22:33:52] singularity: но так что-бы можно было собрать
[22:34:55] mrDoctorWho is now away
[22:34:56] singularity is now online
[22:39:22] opka: разложи в список, потом склей :)
[22:42:40] opka: раскладывай делением
[22:49:01] levsha is now online
[22:52:19] mrDoctorWho is now online
[22:53:36] Tony is now away
[22:55:00] gigimon is now online
[22:56:36] opka: singularity: или тебе на множетели?
[22:56:41] opka: жители т.е.
[22:57:31] mrDoctorWho is now offline
[22:59:20] levsha is now away
[23:00:56] levsha is now online
[23:07:08] obivan: скорее всего разложить на простые множители
[23:07:10] obivan: тип
[23:07:19] obivan: 48 = 2 · 2 · 2 · 2 · 3
[23:07:34] obivan: мм
[23:08:28] gigimon is now online
[23:08:42] remo is now offline
[23:12:38] opka: ну в любом случае дели на два, пока дурно не станет:) а потом смотри что с остатком от деления :)
[23:13:08] levsha is now away
[23:14:50] opka: только ещ проверйчисла на простоту :)
[23:15:48] огыешсук: Хех, apple keynote придумали новый язык и сравнили его с питоном, получился в 4 раза быстрее.
[23:18:36] Tony is now xa
[23:25:55] levsha is now offline
[23:27:18] Tony is now online
[23:27:42] AlexZenon is now xa
[23:28:18] gigimon is now online
[23:35:35] gigimon is now online
[23:37:02] opka: огыешсук: подробнее
[23:37:43] levsha is now online
[23:38:32] magister: у питона и так три форка
[23:38:35] magister: основных
[23:42:56] magister: а вообще котлеты с мухами сравниваются в онлайн ресурсе
[23:51:43] огыешсук is now online
[23:51:45] огыешсук is now away
[23:53:54] remo is now online
[23:54:05] gigimon is now online
[23:56:59] singularity: нет
[23:57:37] singularity: огыешсук: и шо на всем делать теперь то?
[23:58:17] gigimon is now online
[23:59:58] obivan is now offline