[00:00:29] zandr_dw is now xa
[00:01:06] XIT is now away
[00:01:50] some_user is now offline
[00:02:02] Мозгошредер is now Last.fm: Demon Days by Gorillaz on Demon Days (0:00)
[00:02:06] erraen is now away
[00:04:02] Мозгошредер is now online
[00:04:26] bobry is now online
[00:06:08] XIT is now away
[00:07:08] erraen is now away
[00:09:28] bobry is now online
[00:10:29] zandr_dw is now xa
[00:11:10] XIT is now away
[00:12:10] erraen is now away
[00:13:03] Мозгошредер is now Last.fm: Welcome to the World of the Plastic Beach by Gorillaz on (0:00)
[00:14:31] bobry is now online
[00:15:03] Мозгошредер is now online
[00:16:12] XIT is now away
[00:17:12] erraen is now away
[00:19:33] bobry is now online
[00:21:15] XIT is now away
[00:22:03] zandr_dw is now xa
[00:22:15] erraen is now away
[00:24:36] bobry is now online
[00:26:16] XIT is now away
[00:27:17] erraen is now away
[00:28:04] Мозгошредер is now Last.fm: Superfast Jellyfish by Gorillaz on (0:00)
[00:29:26] melistraza808 is now offline
[00:29:38] bobry is now online
[00:31:03] Мозгошредер is now Last.fm: Empire Ants by Gorillaz on (0:00)
[00:31:19] XIT is now away
[00:31:47] alexey-grom is now away
[00:31:47] alexey-grom is now away
[00:32:19] erraen is now away
[00:34:41] bobry is now online
[00:34:46] xa4a is now away
[00:34:50] xa4a is now online
[00:36:03] Мозгошредер is now Last.fm: Glitter Freeze by Gorillaz on (0:00)
[00:36:06] xa4a: а это мне приснилось, или у амазона была фишка такая, что можно было какому-то другому аккаунту разрешить покупать вещи/книжки по моей карточке с моего апрувала, но без раскрытия номера карты/кода? не могу найти чего-то..
[00:36:21] XIT is now away
[00:37:21] erraen is now away
[00:37:35] xa4a: ага, нашёл. purchase delegation
[00:39:23] xa4a: только апрувала нет..
[00:39:44] bobry is now online
[00:40:03] Мозгошредер is now online
[00:41:24] XIT is now away
[00:42:24] erraen is now away
[00:44:47] bobry is now online
[00:46:26] XIT is now away
[00:47:05] Мозгошредер is now Last.fm: Broken by Gorillaz on Plastic Beach (0:00)
[00:47:26] erraen is now away
[00:49:49] bobry is now online
[00:50:05] Мозгошредер is now online
[00:50:13] bobry is now away
[00:50:13] bobry is now away
[00:50:13] bobry is now away
[00:50:37] bobry is now away
[00:50:37] bobry is now online
[00:50:38] bobry is now online
[00:51:28] XIT is now away
[00:52:28] erraen is now away
[00:54:52] bobry is now online
[00:56:30] XIT is now away
[00:57:30] erraen is now away
[00:59:54] bobry is now online
[01:01:34] XIT is now away
[01:02:33] erraen is now away
[01:04:56] bobry is now online
[01:06:36] XIT is now away
[01:07:12] bobry is now offline
[01:07:35] erraen is now away
[01:09:04] Мозгошредер is now Last.fm: Pirate Jet by Gorillaz on Plastic Beach (0:00)
[01:10:04] Мозгошредер is now online
[01:11:16] erraen is now offline
[01:11:39] XIT is now away
[01:16:43] XIT is now away
[01:21:45] XIT is now away
[01:22:04] Мозгошредер is now Last.fm: Pirate Jet by Gorillaz on Plastic Beach (0:00)
[01:23:04] Мозгошредер is now online
[01:26:48] XIT is now away
[01:30:36] gigimon is now offline
[01:31:49] XIT is now away
[01:36:51] XIT is now away
[01:41:54] XIT is now away
[01:44:13] gigimon is now online
[01:46:56] XIT is now away
[01:49:41] gigimon is now offline
[01:51:59] XIT is now away
[01:57:01] XIT is now away
[02:02:04] XIT is now away
[02:07:06] XIT is now away
[02:12:09] XIT is now away
[02:16:11] deisler is now offline
[02:17:01] gigimon is now online
[02:17:11] XIT is now away
[02:20:57] gigimon is now offline
[02:22:13] XIT is now away
[02:27:15] XIT is now away
[02:32:17] XIT is now away
[02:37:19] XIT is now away
[02:41:41] zandr_dw is now xa
[02:42:21] XIT is now away
[02:45:25] zandr_dw is now xa
[02:45:41] tilarids is now away
[02:47:23] XIT is now away
[02:52:26] XIT is now away
[02:55:40] tilarids is now xa
[02:57:27] XIT is now away
[02:59:17] neoascetic is now online
[02:59:17] neoascetic is now online
[03:00:32] Мозгошредер is now offline
[03:02:15] neoascetic is now online
[03:02:30] XIT is now away
[03:02:37] XIT is now offline
[03:03:53] XIT is now away
[03:03:54] XIT is now away
[03:05:20] XIT is now away
[03:07:16] neoascetic is now online
[03:10:21] XIT is now away
[03:12:19] neoascetic is now online
[03:13:48] tilarids is now online
[03:14:46] slav0nic is now offline
[03:15:23] XIT is now away
[03:17:21] neoascetic is now online
[03:20:24] XIT is now away
[03:21:22] tilarids is now away
[03:22:24] neoascetic is now online
[03:25:12] neoascetic is now offline
[03:25:26] tilarids is now online
[03:25:26] XIT is now away
[03:30:27] XIT is now away
[03:31:23] deepwalker is now offline
[03:33:56] tilarids is now away
[03:35:31] XIT is now away
[03:40:33] XIT is now away
[03:45:36] XIT is now away
[03:48:58] tilarids is now xa
[03:50:24] webninja is now away
[03:50:24] webninja is now online
[03:50:37] XIT is now away
[03:55:38] XIT is now away
[04:00:38] webninja is now away
[04:00:39] webninja is now away
[04:00:40] XIT is now away
[04:01:16] xa4a is now online
[04:05:42] XIT is now away
[04:06:17] xa4a is now away
[04:10:46] XIT is now away
[04:15:47] XIT is now away
[04:20:50] XIT is now away
[04:24:50] webninja is now away
[04:24:50] webninja is now online
[04:25:51] XIT is now away
[04:30:05] zandr_dw is now xa
[04:30:53] XIT is now away
[04:35:54] XIT is now away
[04:37:45] Typhon is now away
[04:37:49] zandr_dw is now xa
[04:40:43] Typhon is now online
[04:40:55] XIT is now away
[04:43:30] Typhon is now offline
[04:45:57] XIT is now away
[04:50:55] zandr_dw is now xa
[04:51:00] XIT is now away
[04:56:02] XIT is now away
[04:57:00] webninja is now away
[04:57:01] webninja is now away
[04:57:48] webninja is now away
[04:57:48] webninja is now online
[05:00:55] zandr_dw is now xa
[05:01:04] XIT is now away
[05:03:43] alex-bulgakov is now online
[05:06:05] XIT is now away
[05:11:08] XIT is now away
[05:16:09] XIT is now away
[05:21:11] XIT is now away
[05:26:13] XIT is now away
[05:31:14] XIT is now away
[05:36:15] XIT is now away
[05:41:17] XIT is now away
[05:46:18] XIT is now away
[05:46:35] XIT is now offline
[05:47:06] XIT is now away
[05:47:06] XIT is now away
[05:49:21] alex-bulgakov is now offline
[05:49:25] alex-bulgakov is now online
[05:51:49] XIT is now away
[05:56:51] XIT is now away
[06:01:53] XIT is now away
[06:05:23] dicos is now online
[06:06:55] XIT is now away
[06:11:57] XIT is now away
[06:16:58] XIT is now away
[06:17:29] XIT is now offline
[06:17:30] webninja is now away
[06:17:31] webninja is now away
[06:17:38] alexey-grom is now offline
[06:17:38] alexey-grom is now away
[06:17:42] alexey-grom is now away
[06:18:15] webninja is now away
[06:18:16] webninja is now online
[06:21:47] alex-bulgakov is now offline
[06:41:58] alex-bulgakov is now online
[06:51:11] neoascetic is now online
[06:51:12] neoascetic is now online
[06:55:59] neoascetic is now online
[06:58:13] webninja is now away
[06:58:13] webninja is now away
[07:01:01] neoascetic is now online
[07:03:31] Ляпатяпа is now online
[07:06:03] neoascetic is now online
[07:11:05] neoascetic is now online
[07:14:05] alex-bulgakov is now offline
[07:14:06] webninja is now away
[07:14:07] webninja is now online
[07:16:08] neoascetic is now online
[07:21:10] neoascetic is now online
[07:26:12] neoascetic is now online
[07:27:49] dicos is now away
[07:27:51] dicos is now away
[07:29:46] dicos is now away
[07:29:48] dicos is now online
[07:31:14] neoascetic is now online
[07:36:15] neoascetic is now online
[07:37:38] webninja is now away
[07:37:39] webninja is now away
[07:41:16] neoascetic is now online
[07:42:05] webninja is now away
[07:42:06] webninja is now online
[07:44:40] dicos is now away
[07:44:42] dicos is now away
[07:46:16] neoascetic is now online
[07:47:37] dicos is now away
[07:47:39] dicos is now online
[07:51:19] neoascetic is now online
[07:56:21] neoascetic is now online
[08:01:22] neoascetic is now online
[08:06:24] neoascetic is now online
[08:09:56] webninja is now away
[08:09:57] webninja is now away
[08:10:39] webninja is now away
[08:10:40] webninja is now online
[08:11:26] neoascetic is now online
[08:12:00] dicos is now away
[08:12:02] dicos is now away
[08:15:51] dicos is now away
[08:15:53] dicos is now online
[08:16:28] neoascetic is now online
[08:21:30] neoascetic is now online
[08:21:45] dicos is now away
[08:21:47] dicos is now away
[08:25:30] dicos is now away
[08:25:32] dicos is now online
[08:26:33] neoascetic is now online
[08:29:37] Ляпатяпа is now offline
[08:29:46] Ляпатяпа is now online
[08:31:35] neoascetic is now online
[08:36:39] neoascetic is now online
[08:41:40] neoascetic is now online
[08:46:35] Мозгошредер is now online
[08:46:41] neoascetic is now online
[08:51:44] neoascetic is now online
[08:56:46] neoascetic is now online
[08:58:02] neoascetic is now away
[08:58:02] neoascetic is now away
[09:01:37] webninja is now away
[09:01:38] webninja is now away
[09:01:48] neoascetic is now away
[09:01:49] webninja is now away
[09:01:50] webninja is now online
[09:03:57] Мозгошредер is now Last.fm: Get Sick by Exilia on Nobody Excluded (0:00)
[09:05:52] xa4a is now away
[09:05:58] maxim.zemlyakov is now online
[09:05:58] maxim.zemlyakov is now online
[09:05:58] maxim.zemlyakov is now online
[09:06:19] maxim.zemlyakov is now online
[09:06:22] maxim.zemlyakov is now offline
[09:06:50] neoascetic is now away
[09:06:57] Мозгошредер is now online
[09:08:02] neoascetic is now xa
[09:08:02] neoascetic is now xa
[09:11:52] neoascetic is now xa
[09:16:55] neoascetic is now xa
[09:21:57] neoascetic is now xa
[09:24:34] Tony is now away
[09:26:58] neoascetic is now xa
[09:32:00] neoascetic is now xa
[09:36:05] Мозгошредер is now offline
[09:37:02] neoascetic is now xa
[09:38:39] livevil is now online
[09:42:03] neoascetic is now xa
[09:43:56] wiz is now online
[09:47:05] neoascetic is now xa
[09:48:25] gigimon is now online
[09:48:43] gigimon is now offline
[09:49:34] Tony is now xa
[09:52:06] neoascetic is now xa
[09:57:08] neoascetic is now xa
[09:57:40] maxim.zemlyakov is now online
[09:57:41] maxim.zemlyakov is now online
[09:57:41] maxim.zemlyakov is now online
[10:02:10] neoascetic is now xa
[10:02:35] maxim.zemlyakov is now online
[10:02:36] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[10:05:41] livevil is now online
[10:07:13] neoascetic is now xa
[10:07:35] maxim.zemlyakov is now online
[10:08:26] dicos is now away
[10:08:28] dicos is now away
[10:10:25] metall1c is now online
[10:10:40] livevil is now away
[10:12:14] neoascetic is now xa
[10:12:38] maxim.zemlyakov is now online
[10:16:24] deisler is now away
[10:17:16] neoascetic is now xa
[10:17:20] Ляпатяпа is now away
[10:17:40] maxim.zemlyakov is now online
[10:19:08] dicos is now away
[10:19:10] dicos is now online
[10:22:19] neoascetic is now xa
[10:22:43] maxim.zemlyakov is now online
[10:24:24] livevil is now away
[10:24:27] livevil is now online
[10:27:21] neoascetic is now xa
[10:27:21] Ляпатяпа is now xa
[10:27:45] maxim.zemlyakov is now online
[10:32:23] neoascetic is now xa
[10:32:47] maxim.zemlyakov is now online
[10:33:15] nott is now online
[10:37:02] Ляпатяпа is now online
[10:37:25] neoascetic is now xa
[10:37:49] maxim.zemlyakov is now online
[10:39:39] gigimon is now online
[10:39:40] MAVr is now offline
[10:40:00] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[10:41:32] metall1c is now offline
[10:41:32] metall1c is now online
[10:42:27] neoascetic is now xa
[10:42:51] maxim.zemlyakov is now online
[10:47:30] neoascetic is now xa
[10:47:51] mishok13 is now online
[10:47:52] maxim.zemlyakov is now online
[10:52:32] neoascetic is now xa
[10:52:55] maxim.zemlyakov is now online
[10:53:16] metall1c is now away
[10:55:29] tilarids is now online
[10:57:33] neoascetic is now xa
[10:57:57] maxim.zemlyakov is now online
[10:58:17] levsha is now offline
[10:59:04] livevil is now online
[11:02:34] neoascetic is now xa
[11:02:58] maxim.zemlyakov is now online
[11:04:03] livevil is now away
[11:04:23] tilarids is now away
[11:05:07] tilarids is now online
[11:07:36] neoascetic is now xa
[11:08:00] maxim.zemlyakov is now online
[11:09:26] metall1c is now online
[11:10:10] zandr_dw is now online
[11:10:43] Tony is now online
[11:10:52] aries.ua is now online
[11:10:57] aries.ua is now online
[11:11:03] aries.ua is now online
[11:11:03] aries.ua is now online
[11:12:38] neoascetic is now xa
[11:13:02] maxim.zemlyakov is now online
[11:15:16] livevil is now away
[11:15:19] livevil is now online
[11:15:59] aries.ua is now online
[11:17:41] neoascetic is now xa
[11:18:05] maxim.zemlyakov is now online
[11:18:41] webninja: пацаны
[11:18:51] webninja: для алхимии есть миграции?
[11:18:52] webninja: типа south
[11:21:02] aries.ua is now online
[11:22:11] slav0nic is now away
[11:22:43] neoascetic is now xa
[11:23:07] maxim.zemlyakov is now online
[11:26:04] aries.ua is now online
[11:27:45] neoascetic is now xa
[11:28:09] maxim.zemlyakov is now online
[11:31:06] aries.ua is now online
[11:32:17] livevil is now online
[11:32:26] MAVr is now away
[11:32:26] MAVr is now away
[11:32:39] mishok13 is now offline
[11:32:48] neoascetic is now xa
[11:33:11] maxim.zemlyakov is now online
[11:36:08] aries.ua is now online
[11:37:16] livevil is now away
[11:37:50] neoascetic is now xa
[11:38:13] maxim.zemlyakov is now online
[11:39:13] erraen is now online
[11:39:13] erraen is now online
[11:39:15] erraen is now online
[11:39:56] livevil is now online
[11:39:57] livevil is now online
[11:41:07] erraen is now online
[11:41:10] aries.ua is now online
[11:41:19] tilarids is now away
[11:41:43] tilarids is now online
[11:42:28] MAVr is now xa
[11:42:29] MAVr is now xa
[11:42:52] neoascetic is now xa
[11:43:15] maxim.zemlyakov is now online
[11:45:30] MAVr is now away
[11:45:35] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[11:46:08] erraen is now online
[11:46:11] aries.ua is now online
[11:47:54] neoascetic is now xa
[11:48:05] levsha is now xa
[11:48:17] maxim.zemlyakov is now online
[11:51:11] erraen is now online
[11:51:13] aries.ua is now online
[11:51:23] tilarids is now away
[11:52:31] tilarids is now online
[11:52:39] gigimon is now online
[11:52:57] neoascetic is now xa
[11:53:19] maxim.zemlyakov is now online
[11:53:43] nmk is now online
[11:56:13] erraen is now online
[11:56:15] aries.ua is now online
[11:57:59] neoascetic is now xa
[11:58:21] maxim.zemlyakov is now online
[11:59:16] mishok13 is now online
[11:59:50] tilarids is now away
[12:00:08] neoascetic is now online
[12:00:08] neoascetic is now online
[12:00:24] tilarids is now online
[12:01:15] erraen is now online
[12:01:17] aries.ua is now online
[12:03:01] neoascetic is now online
[12:03:24] maxim.zemlyakov is now online
[12:06:17] erraen is now online
[12:06:18] aries.ua is now online
[12:08:00] gigimon is now online
[12:08:03] neoascetic is now online
[12:08:26] maxim.zemlyakov is now online
[12:10:11] alexey-grom is now online
[12:10:12] alexey-grom is now online
[12:11:19] erraen is now online
[12:11:21] aries.ua is now online
[12:13:05] neoascetic is now online
[12:13:29] maxim.zemlyakov is now online
[12:16:04] mrDoctorWho. is now online
[12:16:22] erraen is now online
[12:16:22] aries.ua is now online
[12:18:07] neoascetic is now online
[12:18:30] maxim.zemlyakov is now online
[12:21:24] erraen is now online
[12:21:24] aries.ua is now online
[12:23:08] neoascetic is now online
[12:23:33] maxim.zemlyakov is now online
[12:24:50] xa4a is now away
[12:24:53] xa4a is now online
[12:26:25] erraen is now online
[12:26:26] aries.ua is now online
[12:27:32] zandr_dw is now xa
[12:27:37] mishok13: sqlalchemy-migrate и alembic
[12:28:10] neoascetic is now online
[12:28:25] webninja: что посоветуешь?
[12:28:36] maxim.zemlyakov is now online
[12:30:58] webninja: такая мутная документация у алхимии жесть, не могу найти где параметры перечислены типа nullable=Flase, default. уже минут 15 ищу
[12:31:28] aries.ua is now online
[12:31:28] erraen is now online
[12:32:14] webninja: Alembic <http://alembic.readthedocs.org> - Written by the author of SQLAlchemy, Alembic features a highly customizable environment and a minimalistic usage pattern
[12:32:15] webninja: а во
[12:32:38] mishok13: документация мутная пока ты начинаешь с sqla
[12:32:54] mishok13: через 2-3 месяца уже на автопилоте все находится
[12:33:12] neoascetic is now online
[12:33:38] maxim.zemlyakov is now online
[12:34:18] mishok13: мы сейчас пробуем алембик
[12:35:06] xa4a is now online
[12:36:29] aries.ua is now online
[12:36:30] erraen is now online
[12:37:49] webninja is now away
[12:37:50] webninja is now away
[12:38:14] neoascetic is now online
[12:38:40] maxim.zemlyakov is now online
[12:40:06] xa4a is now away
[12:41:31] aries.ua is now online
[12:41:31] erraen is now online
[12:43:00] tilarids is now away
[12:43:16] neoascetic is now online
[12:43:41] maxim.zemlyakov is now online
[12:43:57] maxim.zemlyakov is now offline
[12:45:18] maxim.zemlyakov is now online
[12:45:18] maxim.zemlyakov is now online
[12:45:58] webninja is now away
[12:45:59] webninja is now online
[12:46:09] webninja: ну да может быть такое
[12:46:32] erraen is now online
[12:46:33] aries.ua is now online
[12:47:47] maxim.zemlyakov is now online
[12:48:18] neoascetic is now online
[12:49:30] tilarids is now online
[12:51:34] aries.ua is now online
[12:51:35] erraen is now online
[12:52:49] maxim.zemlyakov is now online
[12:53:19] neoascetic is now online
[12:56:35] aries.ua is now online
[12:56:36] erraen is now online
[12:57:51] maxim.zemlyakov is now online
[12:58:04] tilarids is now away
[12:58:08] alexey-grom is now away
[12:58:08] alexey-grom is now away
[12:58:21] neoascetic is now online
[13:00:10] tilarids is now online
[13:01:37] aries.ua is now online
[13:01:38] erraen is now online
[13:02:53] maxim.zemlyakov is now online
[13:03:24] neoascetic is now online
[13:05:08] livevil is now offline
[13:06:39] aries.ua is now online
[13:06:40] erraen is now online
[13:06:46] xa4a is now away
[13:06:49] xa4a is now online
[13:07:55] maxim.zemlyakov is now online
[13:08:26] neoascetic is now online
[13:09:52] tilarids is now away
[13:09:55] огыешсук is now online
[13:11:41] aries.ua is now online
[13:11:42] erraen is now online
[13:12:57] maxim.zemlyakov is now online
[13:13:27] neoascetic is now online
[13:16:42] aries.ua is now online
[13:16:44] erraen is now online
[13:17:59] maxim.zemlyakov is now online
[13:18:31] neoascetic is now online
[13:19:38] alexey-grom is now online
[13:19:38] alexey-grom is now online
[13:21:44] aries.ua is now online
[13:21:45] erraen is now online
[13:23:01] maxim.zemlyakov is now online
[13:23:28] mrDoctorWho. is now away
[13:23:32] neoascetic is now online
[13:24:21] webninja: и ю блин как такое в символы перевести? )
[13:25:19] mishok13: webninja, http://docs.python.org/library/xml.sax.utils.html#xml.sax.saxutils.unescape ?
[13:25:36] tilarids is now offline
[13:26:09] webninja: from htmlentitydefs import name2codepoint
[13:26:11] webninja: хм
[13:26:46] aries.ua is now online
[13:26:47] erraen is now online
[13:28:02] maxim.zemlyakov is now online
[13:28:35] neoascetic is now online
[13:28:54] webninja: лиц блин как то я делал не могу вспомнить как
[13:29:06] cutwater is now online
[13:30:52] deepwalker is now online
[13:31:04] mrDoctorWho. is now online
[13:31:48] aries.ua is now online
[13:31:49] erraen is now online
[13:32:59] MAVr is now away
[13:33:05] maxim.zemlyakov is now online
[13:33:36] neoascetic is now online
[13:33:55] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[13:34:54] mrDoctorWho. is now offline
[13:34:54] maxim.zemlyakov: всем привет
можно ли какой нибудь стандартной опцией в модели django создать такой столбец в mysql:
varchar(13) default NULL ?
нагуглить не удалось
если ставлю name = models.CharField(max_length=13, null=True, blank=True), то создаётся такой столбец:
'name' varchar(13)
без опций null и blank
создаётся такой столбец
'name' varchar(13) NOT NULL,
[13:35:12] xa4a is now online
[13:35:40] maxim.zemlyakov: In [2]: django.VERSION
Out[2]: (1, 1, 1, 'final', 0)
[13:36:36] mrDoctorWho. is now online
[13:36:50] aries.ua is now online
[13:36:51] erraen is now online
[13:37:12] gigimon: maxim.zemlyakov: в доке для кого поле default описано?
[13:37:14] gigimon: параметр точнее
[13:37:30] gigimon: null=True, default=None
[13:38:07] maxim.zemlyakov is now online
[13:38:38] neoascetic is now online
[13:39:17] webninja: http://stackoverflow.com/questions/275174/how-do-i-perform-html-decoding-encoding-using-python-django кстати тут солюшн по декоду
[13:39:21] MAVr is now away
[13:40:12] xa4a is now away
[13:40:37] огыешсук is now offline
[13:40:40] огыешсук is now online
[13:40:57] mishok13 is now away
[13:41:51] aries.ua is now online
[13:41:52] erraen is now online
[13:42:06] deisler: easy_install-2.7 bb-freeze
Processing bb-freeze
error: Not a recognized archive type: bb-freeze
--------
парни, есть идеи что делать в таком случае?
[13:42:32] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[13:42:58] maxim.zemlyakov: я делал опцию default=None столбец создаётся такй как я описал в вопросе
[13:43:09] maxim.zemlyakov is now online
[13:43:40] neoascetic is now online
[13:44:52] mishok13 is now online
[13:46:12] maxim.zemlyakov: regserver = models.CharField(max_length=13, null=True, default=None)
вывод
manager sqlall
`regserver` varchar(13)
[13:46:53] aries.ua is now online
[13:46:54] erraen is now online
[13:46:57] webninja: блин нам на дижитал лэйбл осталось биллинг подрубить смс, хз чото никто не хочет делать. kmike советовал человека - забил. эххх да чтож такое. есть умельцы робокассу например подключить?
[13:48:12] maxim.zemlyakov is now online
[13:48:12] tilarids is now online
[13:48:42] neoascetic is now online
[13:51:54] aries.ua is now online
[13:51:55] erraen is now online
[13:52:13] deepwalker: maxim.zemlyakov, sqla
[13:53:14] maxim.zemlyakov is now online
[13:53:43] neoascetic is now online
[13:55:20] tilarids is now away
[13:56:28] maxim.zemlyakov: deepwalker: `regserver` varchar(13)
[13:56:56] aries.ua is now online
[13:56:57] erraen is now online
[13:58:16] maxim.zemlyakov is now online
[13:58:45] neoascetic is now online
[14:01:37] dicos is now offline
[14:01:58] aries.ua is now online
[14:01:58] erraen is now online
[14:03:18] maxim.zemlyakov is now online
[14:03:47] neoascetic is now online
[14:04:57] webninja is now away
[14:04:58] webninja is now away
[14:05:17] MAVr is now away
[14:05:22] tilarids is now xa
[14:06:24] nott is now away
[14:06:37] огыешсук is now away
[14:07:00] aries.ua is now online
[14:07:01] erraen is now online
[14:07:03] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[14:07:32] mrDoctorWho. is now xa
[14:08:10] neoascetic is now away
[14:08:11] neoascetic is now away
[14:08:20] maxim.zemlyakov is now online
[14:08:50] neoascetic is now away
[14:09:30] nott is now online
[14:10:15] mrDoctorWho. is now online
[14:10:23] tilarids is now online
[14:10:59] cutwater is now away
[14:12:02] aries.ua is now online
[14:12:02] erraen is now online
[14:12:24] webninja is now away
[14:12:25] webninja is now online
[14:13:22] maxim.zemlyakov is now online
[14:13:50] neoascetic is now away
[14:15:21] xa4a is now away
[14:16:27] tilarids is now away
[14:16:38] огыешсук is now xa
[14:16:43] tilarids is now online
[14:17:01] erraen is now online
[14:17:04] aries.ua is now online
[14:18:11] neoascetic is now xa
[14:18:11] neoascetic is now xa
[14:18:23] zandr_dw is now online
[14:18:24] maxim.zemlyakov is now online
[14:18:45] cutwater is now online
[14:18:52] neoascetic is now xa
[14:19:35] neoascetic is now online
[14:19:35] neoascetic is now online
[14:21:10] nott is now away
[14:21:49] tilarids is now away
[14:21:58] deepwalker: maxim.zemlyakov, промахнулся :)
[14:22:03] erraen is now online
[14:22:05] aries.ua is now online
[14:22:22] MAVr is now away
[14:22:30] zandr_dw is now xa
[14:22:32] zandr_dw is now online
[14:23:25] maxim.zemlyakov is now online
[14:23:53] neoascetic is now online
[14:24:33] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[14:24:59] огыешсук is now online
[14:26:34] огыешсук is now offline
[14:26:43] огыешсук is now online
[14:27:05] erraen is now online
[14:27:07] aries.ua is now online
[14:28:12] gigimon: кто знаком хорошо с celery? как бы сделать последовательный запуск задач, чтобы у них был 1 task_id, а результаты из 1 задачи в другую передавались?
[14:28:27] maxim.zemlyakov is now online
[14:28:35] gigimon: последовательный запуск задач в 1 задачи написано неправильно, а subtask делает на каждую задачу по 1 id
[14:28:55] neoascetic is now online
[14:30:15] cutwater is now away
[14:30:17] cutwater is now online
[14:31:30] mishok13: чего?
[14:31:32] alexey-grom: как правильно стартовать gevent.pool.Pool чтобы он сам запускал Pool.size задач или только самому можно их спаунить?
[14:31:39] gigimon: mishok13: ну, смотри
[14:31:49] tilarids is now xa
[14:32:00] gigimon: есть TaskSet, запускает подзадачи параллельно в рамках 1 задачи
[14:32:06] mishok13: окей
[14:32:06] erraen is now online
[14:32:08] gigimon: т.е. я жду пока закончатся все задачи по 1 task_id
[14:32:09] aries.ua is now online
[14:32:38] gigimon: а мне надо запустить 3 задачи последовательно, передавая result из первой во вторую, из второй в третью
[14:33:01] gigimon: если делать subtask, то у каждой задачи свой id и надо следить за каждой задачей, чтобы узнать, завершилась она или нет
[14:33:29] maxim.zemlyakov is now online
[14:33:43] mishok13: если у тебя три задачи которые должны выполняться последовательно, то почему бы не превратить это в одну задачу?
[14:33:58] neoascetic is now online
[14:37:08] erraen is now online
[14:37:11] aries.ua is now online
[14:37:42] огыешсук is now offline
[14:38:31] maxim.zemlyakov is now online
[14:39:00] neoascetic is now online
[14:39:46] огыешсук is now online
[14:40:35] Typhon is now online
[14:42:10] erraen is now online
[14:42:13] aries.ua is now online
[14:43:21] gigimon is now online
[14:43:33] maxim.zemlyakov is now online
[14:44:02] neoascetic is now online
[14:44:45] MAVr is now away
[14:45:35] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[14:46:25] огыешсук is now offline
[14:46:26] огыешсук is now online
[14:46:34] огыешсук is now offline
[14:46:49] neoascetic is now away
[14:46:49] neoascetic is now away
[14:47:12] erraen is now online
[14:47:14] aries.ua is now online
[14:48:11] neoascetic is now online
[14:48:11] neoascetic is now online
[14:48:21] Tony is now away
[14:48:35] maxim.zemlyakov is now online
[14:49:03] neoascetic is now online
[14:49:51] deepwalker: http://paste.in.ua/3984/
[14:49:55] deepwalker: что за нафиг?
[14:50:33] cutwater: Ну а чо ты ожидал?
[14:51:53] gf is now offline
[14:51:54] gf is now online
[14:52:14] erraen is now online
[14:52:16] aries.ua is now online
[14:52:28] cutwater: deepwalker: python 3 ?
[14:52:48] cutwater: потому как у меня в 2.7 все как и должно быть
[14:53:11] cutwater: в обоих вариантах одинаково
[14:53:38] maxim.zemlyakov is now online
[14:54:06] neoascetic is now online
[14:54:59] deepwalker: ipython? 3?
[14:55:08] deepwalker: а оно суппорт?
[14:55:19] cutwater: ipython
2.7
3 щас не стоит чтобы проверить
[14:55:55] огыешсук is now online
[14:55:57] neoascetic is now offline
[14:56:02] deepwalker: тройка также отрабатывает
[14:56:26] cutwater: deepwalker: я о том что у меня в 2.7try:
2 / 0
except Exception, e:
err = e
...:
...:
In [8]: err
Out[8]: ZeroDivisionError('integer division or modulo by zero',)
[14:56:32] cutwater: упс сорри
[14:56:51] deepwalker: хмм
[14:56:56] deepwalker: а версия ipython?
[14:57:00] alexey-grom: эй, это корректный способ для запуска потоков http://dumpz.org/177895/ ?
[14:57:16] erraen is now online
[14:57:17] aries.ua is now online
[14:57:18] cutwater: 0.10.1
[14:57:26] deepwalker: каких еще потоков?
[14:57:32] deepwalker: cutwater, 0.12
[14:57:35] cutwater: хм
[14:57:37] alexey-grom: *гринлетов
[14:57:38] deepwalker: но это очевидно баг
[14:57:59] mishok13: у меня таже хня на 0.12
[14:58:10] mishok13: они по-ходу __repr__ у исключений манкипатчат
[14:58:28] deepwalker: я просто вчера как скринкаст писал запнулся, но плюнул, а сегодня решил разобраться - WAT?
[14:58:39] maxim.zemlyakov is now online
[14:58:41] cutwater: deepwalker: алсо не знаю у меня до 0.12 не обновляется
[14:58:50] deepwalker: я на панголине
[14:58:55] cutwater: хотя вру какая-то хня
[14:59:12] cutwater: он то до 0.12 обновился
[14:59:15] cutwater: но запускается 0.10
[14:59:24] mishok13: странно короче
[14:59:32] mishok13 is now away
[14:59:45] deepwalker: cutwater, ну у тебя поди с vritualenv какие-то странности
[15:00:02] deepwalker: его там просто в лоб запускать бесполезно, вроде
[15:00:08] deepwalker: не хавает
[15:00:36] cutwater: deepwalker: я что-то не понял. в линуксе что PATH с конца отрабатывается
[15:01:19] cutwater: $ echo $PATH
/home/alexander/work/venv/ax_env/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
$ ls /home/alexander/work/venv/ax_env/bin/ipython
/home/alexander/work/venv/ax_env/bin/ipython*
$ which ipython
/usr/bin/ipython
[15:02:18] erraen is now online
[15:02:19] aries.ua is now online
[15:02:35] cutwater: нет, это какой-то прикол zsh
[15:02:59] cutwater: да уж, скорей всего так и было
[15:03:24] deepwalker: да, гоню
[15:03:34] deepwalker: запускается из venv
[15:03:38] tilarids is now online
[15:03:41] maxim.zemlyakov is now online
[15:07:20] erraen is now online
[15:07:21] aries.ua is now online
[15:08:12] tilarids is now away
[15:08:42] maxim.zemlyakov is now online
[15:08:49] MAVr is now offline
[15:11:37] gigimon is now online
[15:12:21] erraen is now online
[15:12:23] aries.ua is now online
[15:13:20] Tony is now xa
[15:13:22] огыешсук is now offline
[15:13:26] gigimon: mishok13: если у тебя три задачи которые должны выполняться последовательно, то почему бы не превратить это в одну задачу? /// потому что цельная задача состоит из под задач, которые другие задачи тоже могут исопльзовать. Подзадачи типа: скачать картинку, обработать картинку, а задача "сделать клево с этой ссылкой"
[15:13:45] maxim.zemlyakov is now online
[15:13:46] огыешсук is now online
[15:14:05] pc_ is now online
[15:16:10] nott is now xa
[15:17:23] erraen is now online
[15:17:25] aries.ua is now online
[15:18:48] maxim.zemlyakov is now online
[15:19:14] mrDoctorWho.: никто случайно не встречался с проблемой производительности glade-gtk3?
[15:19:14] nott is now online
[15:19:47] mrDoctorWho.: у меня Glade-gtk2 работает нормально, а glade-gtk3 очень медленно и сильно загружает CPU
[15:20:59] огыешсук is now offline
[15:21:07] огыешсук is now online
[15:21:20] огыешсук is now offline
[15:21:31] огыешсук is now online
[15:22:23] erraen is now online
[15:22:26] aries.ua is now online
[15:22:37] webninja is now away
[15:22:38] webninja is now away
[15:23:14] tilarids is now xa
[15:23:49] maxim.zemlyakov is now online
[15:25:36] xa4a is now online
[15:26:01] webninja is now away
[15:26:01] webninja is now online
[15:27:25] erraen is now online
[15:27:28] aries.ua is now online
[15:28:53] maxim.zemlyakov is now online
[15:28:54] Ляпатяпа is now offline
[15:32:26] erraen is now online
[15:32:29] aries.ua is now online
[15:32:41] cutwater is now away
[15:33:54] maxim.zemlyakov is now online
[15:34:26] zandr_dw is now away
[15:34:38] webninja is now away
[15:34:40] webninja is now away
[15:36:09] webninja is now away
[15:36:10] webninja is now online
[15:37:28] erraen is now online
[15:37:31] aries.ua is now online
[15:38:33] zandr_dw is now online
[15:38:56] maxim.zemlyakov is now online
[15:42:29] erraen is now online
[15:42:33] aries.ua is now online
[15:43:58] maxim.zemlyakov is now online
[15:47:06] tilarids is now online
[15:47:31] erraen is now online
[15:47:34] aries.ua is now online
[15:48:55] webninja is now away
[15:48:56] webninja is now away
[15:48:59] maxim.zemlyakov is now online
[15:50:39] xa4a is now away
[15:51:44] mishok13 is now online
[15:52:33] erraen is now online
[15:52:36] aries.ua is now online
[15:52:41] cutwater is now xa
[15:52:53] webninja is now away
[15:52:54] webninja is now online
[15:52:57] mishok13: gigimon, организуй это в функции
[15:53:03] mishok13: и вызови три функции из задачи
[15:53:27] mishok13: image = images.download()
[15:53:29] gigimon: эт как-то не по celery )
[15:53:33] gigimon: придется обойтись наверно
[15:53:41] mishok13: зато у тебя код будет нормально организован
[15:53:47] gigimon: mishok13: да и тогда дублирвоание кода ж
[15:53:49] mishok13: задачи должны выглядеть примерно так
[15:53:58] mishok13: какое в задницу дублирование кода?
[15:54:01] maxim.zemlyakov is now online
[15:54:16] mishok13: код должен быть в модулях, а задачи должны этот код вызывать
[15:54:20] gigimon: как функция и как celery task 9с декоратором task) не?
[15:54:36] mishok13: def task(): call1()
[15:54:56] gigimon: ну, сами эти подзадачи должны тоже быть celery задачами, чтобы можно было их отовсюду вызывать в фон
[15:55:06] gigimon: mishok13: да, я понял тебя
[15:55:18] gigimon: думал уже так делать
[15:55:24] gigimon: но может был другой путь)
[15:55:35] mishok13: это единственный правильный путь
[15:56:58] webninja: !g emacs org-mode
[15:57:34] erraen is now online
[15:57:38] aries.ua is now online
[15:59:02] tilarids is now away
[15:59:03] maxim.zemlyakov is now online
[16:00:39] xa4a is now away
[16:01:31] tilarids is now online
[16:02:35] erraen is now online
[16:02:39] aries.ua is now online
[16:04:05] maxim.zemlyakov is now online
[16:04:50] Joes: https://github.com/albertz/playground/blob/master/py_goto.py
[16:04:55] Joes: гыгы
[16:06:31] webninja: ага
[16:06:41] webninja: py_basic
[16:07:37] erraen is now online
[16:07:41] aries.ua is now online
[16:08:30] cutwater is now online
[16:08:47] alexey-grom is now offline
[16:08:47] alexey-grom is now online
[16:08:50] alexey-grom is now online
[16:09:07] maxim.zemlyakov is now online
[16:12:39] erraen is now online
[16:12:42] aries.ua is now online
[16:14:09] maxim.zemlyakov is now online
[16:14:43] pc_ is now away
[16:17:41] erraen is now online
[16:17:44] aries.ua is now online
[16:17:57] pc_ is now online
[16:19:11] maxim.zemlyakov is now online
[16:20:08] alex-bulgakov is now online
[16:20:10] alex-bulgakov is now offline
[16:22:06] zandr_dw is now xa
[16:22:20] tilarids is now away
[16:22:43] erraen is now online
[16:22:46] aries.ua is now online
[16:24:14] maxim.zemlyakov is now online
[16:25:50] tilarids is now online
[16:27:45] erraen is now online
[16:27:48] aries.ua is now online
[16:29:16] maxim.zemlyakov is now online
[16:29:31] pc_ is now away
[16:30:51] mrDoctorWho. is now away
[16:31:44] tilarids is now away
[16:32:03] xa4a is now away
[16:32:05] xa4a is now online
[16:32:46] erraen is now online
[16:32:50] aries.ua is now online
[16:33:06] xa4a is now away
[16:33:57] xa4a is now online
[16:34:18] maxim.zemlyakov is now online
[16:35:21] mrDoctorWho. is now online
[16:37:48] erraen is now online
[16:37:51] aries.ua is now online
[16:39:20] maxim.zemlyakov is now online
[16:39:31] pc_ is now xa
[16:41:09] webninja is now away
[16:41:09] webninja is now away
[16:41:44] tilarids is now xa
[16:42:19] tilarids is now online
[16:42:50] erraen is now online
[16:42:53] aries.ua is now online
[16:43:09] metall1c is now away
[16:44:22] maxim.zemlyakov is now online
[16:44:48] mishok13 is now away
[16:47:12] metall1c is now online
[16:47:20] mishok13 is now online
[16:47:53] erraen is now online
[16:47:54] aries.ua is now online
[16:47:55] Мозгошредер is now online
[16:49:24] maxim.zemlyakov is now online
[16:49:57] pc_ is now online
[16:51:11] webninja is now away
[16:51:12] webninja is now online
[16:52:12] Мозгошредер is now Last.fm: Day In Hell by Exilia on Unleashed (0:00)
[16:52:26] alexey-grom is now away
[16:52:27] alexey-grom is now away
[16:52:55] erraen is now online
[16:52:56] aries.ua is now online
[16:54:03] alexey-grom is now online
[16:54:05] alexey-grom is now online
[16:54:12] Мозгошредер is now online
[16:54:26] maxim.zemlyakov is now online
[16:57:56] erraen is now online
[16:57:58] aries.ua is now online
[16:59:28] maxim.zemlyakov is now online
[17:00:05] gigimon is now online
[17:02:58] erraen is now online
[17:03:00] aries.ua is now online
[17:03:31] tilarids is now away
[17:04:30] maxim.zemlyakov is now online
[17:07:33] webninja is now away
[17:07:34] webninja is now away
[17:07:42] tilarids is now online
[17:07:48] webninja is now away
[17:07:49] webninja is now online
[17:08:00] erraen is now online
[17:08:01] aries.ua is now online
[17:09:15] dicos is now online
[17:09:33] maxim.zemlyakov is now online
[17:10:10] Мозгошредер is now away
[17:10:10] Мозгошредер is now away
[17:10:35] deepwalker: а как бы так написать sample.py, чтобы он выплевывал команды, и тут же их результат?
[17:10:47] deepwalker: то есть чтобы наглядно было
[17:11:09] deepwalker: и не сильно убого писать, что главное :)
[17:11:37] deepwalker: exec что ли заюзать
[17:11:41] deepwalker: брр
[17:12:27] mrDoctorWho. is now away
[17:13:01] erraen is now online
[17:13:03] aries.ua is now online
[17:14:35] maxim.zemlyakov is now online
[17:14:52] xa4a: sample.py?
[17:14:59] xa4a: $ tee?
[17:17:01] Мозгошредер is now away
[17:17:01] Мозгошредер is now online
[17:18:03] erraen is now online
[17:18:05] aries.ua is now online
[17:19:27] deepwalker: так я выполнять то кто будет?
[17:19:32] deepwalker: а, хм
[17:19:38] maxim.zemlyakov is now online
[17:19:56] deepwalker: гляньте доку - уже ясно хоть чуть чуть? https://github.com/Deepwalker/trafaret
[17:20:02] deepwalker: ну то есть README
[17:20:20] deepwalker: не нравится мне readthedocs - люблю доку листом :)
[17:20:21] Martin is now online
[17:20:36] webninja: рид зе докс решает
[17:20:51] deepwalker: до до до, особенно когда у тебя пять разделов, и в каждом по пять строк
[17:20:59] deepwalker: тут то он и порешит
[17:21:08] Typhon: а куда в первом снипете date делся и откуда взялся task?
[17:21:23] deepwalker: пля :)
[17:21:26] xa4a: Sample of usage: s/ of//
[17:21:52] alexey-grom is now away
[17:21:52] alexey-grom is now away
[17:22:05] deepwalker: ну я не буду писать пля на каждую ошибку :)
[17:22:20] deepwalker: только что сам штук десять вычистил :)
[17:22:25] Martin: приветствую
[17:22:28] xa4a: ".append, you disable default converter with your own."
[17:22:29] deepwalker: hi
[17:22:40] xa4a: append значит не "заменить"
[17:22:53] deepwalker: да, но он именно append
[17:22:55] Typhon: непонятно, почему check возвращает не bool, а что то иное %)
[17:23:04] erraen is now online
[17:23:07] deepwalker: исторически
[17:23:07] aries.ua is now online
[17:23:18] deepwalker: он раньше ничего не возвращал если все ок
[17:23:25] xa4a: and this give you: s/give/gives/
[17:23:31] deepwalker: это contract же переделанный
[17:23:31] Martin: вроде тут водятся линуксоиды. дебиан 7 (он вроде testing) нормально ли использовать в продакшене (компромисс между устойчивостью и новизной пакетов)?
[17:23:42] alexey-grom is now online
[17:24:01] webninja: @guard(a=String, b=Int, c=String)
[17:24:01] deepwalker: Martin, это все зависит от
[17:24:04] webninja: о круто
[17:24:28] xa4a: Dict get dict with Key as keys (it can be strings but will be converted to Key). And Key is powerfull conception - it pops from original dict needed keys. Basic Key pop only one key, but it then can yield it with different name:
[17:24:35] xa4a: тут че-то ваще не понятно ничего с первого раза
[17:24:36] deepwalker: @guard(a=String() >> int, b=Int, c=String) так еще круче
[17:24:40] maxim.zemlyakov is now online
[17:24:44] Martin: deepwalker: от?
[17:24:45] Мозгошредер is now away
[17:24:45] Мозгошредер is now away
[17:25:14] deepwalker: Martin, ну зависит что ты там юзаешь, насколько именно твои компоненты стабильны. Ну и тестировать надо, как оно в комплексе
[17:25:32] deepwalker: то есть если не падает, то юзаешь :)
[17:25:55] Мозгошредер is now away
[17:25:55] Мозгошредер is now online
[17:26:19] deepwalker: например делаешь тестовый комплекс, нагружаешь его сильно дня два, смотришь как он себя ведет
[17:26:47] deepwalker: если нормально, и никаких подвижек к багам нет - ну и запускай
[17:27:10] deepwalker: и эт овсе зависит ессно от - чего за продакшен, насколько там все критично и тп
[17:27:16] xa4a: >>> d = Dict({KeysSubset(['pwd', 'pwd1']): cmp_pwds, 'key1': String}) <= извините, похоже, ахутнг, а не человеческий API
[17:27:27] webninja: мне кроме гвард ваще нихуя не понятна
[17:27:31] webninja: сахара много
[17:27:37] Martin: да ничего серьезного... веб сервер с nginx, apache, php, mysql + сегодня питон поставил. сайтов несколько штук по 1-2к уников.
[17:27:38] deepwalker: какого сахара?
[17:27:49] webninja: сеошник детектед
[17:27:50] deepwalker: там сахара нет особо :)
[17:28:02] огыешсук is now away
[17:28:04] cutwater is now away
[17:28:06] erraen is now online
[17:28:08] webninja: щаз осмыслю
[17:28:09] aries.ua is now online
[17:28:09] deepwalker: xa4a, это просто пример, я там еще не додумал как сделать хорошо
[17:28:14] xa4a: Base class for trafarets.
[17:28:19] mishok13: пффф
[17:28:20] xa4a: в английском, вроде, нет слова trafaret
[17:28:31] xa4a: Type
Just instantitate it with any class, like int, float, str. Sample:
>>> Type(int).check(4)
4
[17:28:32] mishok13: хрень какая
[17:28:35] xa4a: но зачем мне это делать?
[17:28:58] xa4a: deepwalker: может сначала стоит рассказать юз-кейз читателю
[17:29:02] deepwalker: я напоролся на серьезное ревью :)
[17:29:12] xa4a: показать, как это бы решалось без твоей либы, потом с ней и дать сравнить
[17:29:28] webninja: да юз кейз в студию
[17:29:42] maxim.zemlyakov is now online
[17:29:42] gigimon is now online
[17:30:12] Мозгошредер is now Last.fm: Where I'm Wrong by Exilia on Unleashed (0:00)
[17:30:14] огыешсук is now online
[17:30:31] deepwalker: date = t.Dict(year=t.Int, month=t.Int, day=t.Int) >> (lambda d: datetime.datetime(**d)) чем плох?
[17:30:42] wiz is now offline
[17:30:48] deepwalker: прилетел по апи в таком виде - хоп, и легко datetime на выходе
[17:30:53] slav0nic: Martin, дебиан wheezy довольно стабилен, я даже unstable юзаю
[17:31:02] mishok13: магия какая
[17:31:19] deepwalker: да ну где ж магия - сами же все передали :)
[17:31:42] Martin: slav0nic: нестабильный на серваке? ну дебиан конечно - это не убунта. люблю его за стабильность и удобство
[17:32:10] slav0nic: и на серваке и на дестопе, но на последнем таки тестинг поставил) там всё более менее свежее
[17:32:12] deepwalker: а вот типа t.Dict(....) >> lambda d: User(**d) еще можно
[17:32:16] slav0nic: и постгрес и uwsgi
[17:32:27] mrDoctorWho. is now xa
[17:32:34] mishok13: deepwalker, и в чем ценность?
[17:32:53] deepwalker: разбирать структуры удобно
[17:33:08] erraen is now online
[17:33:10] aries.ua is now online
[17:33:26] mishok13: что?
[17:33:46] mishok13: у меня эти три слова в смысл не собираются
[17:33:49] deepwalker: был кривой апи, который спустили от заказчика - на этой либе очень и очень легко получилось все обработать
[17:33:57] mishok13: покажи пример
[17:34:00] mishok13: что обработать?
[17:34:13] Мозгошредер is now online
[17:34:41] deepwalker: https://gist.github.com/d8efc34e983eab10d172
[17:34:43] maxim.zemlyakov is now online
[17:34:46] mrDoctorWho. is now online
[17:35:48] deepwalker: обработать json у которого структура тебе ну никак не подходит
[17:36:20] Typhon is now away
[17:37:13] Мозгошредер is now Last.fm: Kill Me by Exilia on Nobody Excluded (0:00)
[17:37:16] deepwalker: Вот это хороший пример войны с чем попало от другой стороны
CONTACT = t.Or(
t.String(regex=r'(?P<first_name>^\S+)\s*(?P<last_name>.*\S)\s*<(?P<email>.+@.+.[^.]+)>') >>
(lambda match: match.groupdict()),
t.String(regex=r'(?P<email>.+@.+..+)') >>
(lambda match: {'first_name': 'none', 'second_name': 'none', 'email': match.group()})
)
[17:38:10] erraen is now online
[17:38:12] aries.ua is now online
[17:38:13] Мозгошредер is now Last.fm: HIGHSCHOOL OF THE DEAD by Kishida Kyoudan & The Akeboshi Rockets on (0:00)
[17:38:46] deepwalker: регулярка мыла конечно некорректная, но в данном случае было пофиг - по ней не отслать, просто загнать в поле
[17:39:45] maxim.zemlyakov is now online
[17:40:13] Мозгошредер is now online
[17:41:28] Typhon is now online
[17:42:13] Мозгошредер is now Last.fm: Sunburn by Muse on Showbiz (0:00)
[17:42:25] webninja: типа штука для проверки соответствия каких-то там данных шаблону?
[17:43:12] erraen is now online
[17:43:13] aries.ua is now online
[17:43:36] xa4a: deepwalker: с датой - вполне понятный юзкейз и даже более-менее чистый
[17:43:38] xa4a: а вот дальше..
[17:43:41] Typhon: https://github.com/little-arhat/kuvalda/blob/master/test_kuvalda.py#L52 я люблю валидировать структуры данных и всегда так делаю
[17:43:42] deepwalker: гланое чтобы потом перегнать
[17:44:13] Мозгошредер is now online
[17:44:24] deepwalker: trafaret не про валидацию, он про трансформацию
[17:44:46] maxim.zemlyakov is now online
[17:44:53] deepwalker: >>> c = t.Dict(t.Key('uNJ') >> 'user_name': t.String})
>>> c.check({'uNJ': 'Adam'})
{'user_name': 'Adam'}
[17:46:43] cutwater is now online
[17:47:26] webninja is now away
[17:47:27] webninja is now away
[17:47:44] mishok13 is now away
[17:47:59] deepwalker: ни разу не видели бред в джанго формах в clean?
[17:48:14] erraen is now online
[17:48:16] aries.ua is now online
[17:48:41] deepwalker: вот у трафарета можно данные конвертить без классов там где надо
[17:48:45] webninja is now away
[17:48:46] webninja is now online
[17:48:58] deepwalker: а не там где место оставили
[17:49:48] maxim.zemlyakov is now online
[17:49:52] mrDoctorWho. is now offline
[17:50:13] Мозгошредер is now Last.fm: Fillip by Muse on Showbiz (0:00)
[17:50:34] огыешсук is now away
[17:51:30] nott is now away
[17:51:35] deepwalker: не стало интересно? :)
[17:51:40] огыешсук is now online
[17:51:58] deepwalker: надо будет примеры поискать получше, то да
[17:52:14] nott is now online
[17:53:16] erraen is now online
[17:53:17] deepwalker: Но вот представьте сколько кода надо будет накатать без такой фичи - t.Key('uNJ') >> 'user_name':
[17:53:18] aries.ua is now online
[17:54:10] deepwalker: new_data['user_name'] = old_data['uNJ']
new_data['password'] = old_data['pwd']
....
WTF?
[17:54:13] Мозгошредер is now online
[17:54:45] deepwalker: потом пишем map одних ключей в другие, потом там часть обязательные, часть нет - начинаем писать аналог Key
[17:54:50] maxim.zemlyakov is now online
[17:55:08] deepwalker: а, еще ж default может быть
[17:55:18] deepwalker: так что Key просто гарантирован :)
[17:55:48] deepwalker: вопрос - нафиг его писать, когда он есть в трафарете?
[17:56:16] deepwalker: а трафарет он именно об этом - чего перевести куда и в чего
[17:56:28] deepwalker: и чтобы писать поменьше
[17:58:18] erraen is now online
[17:58:19] aries.ua is now online
[17:59:45] deepwalker: и с такой вот фигней можно столкнуться при чтении csv, разборе ответа твиттеровского API, и вообще везде, где структуру данных определяли не вы
[17:59:52] maxim.zemlyakov is now online
[18:00:03] deepwalker: а если это одесковский апи, то там 100% маст хев
[18:00:21] deepwalker: кто пользовался, тот знает почему :)
[18:01:20] Martin is now away
[18:01:39] mrDoctorWho. is now online
[18:01:43] Typhon: ну t.Key('uNJ') >> 'user_name': длиннее, чем {'uNJ': 'user_name}
[18:02:06] Martin is now online
[18:02:15] Typhon: new_data = {mp[k]:v for (k,v) in old_data.iteritems()}
[18:02:47] aries.ua is now offline
[18:03:20] erraen is now online
[18:04:25] Мозгошредер is now away
[18:04:25] Мозгошредер is now away
[18:04:54] maxim.zemlyakov is now online
[18:05:13] deepwalker: Typhon, а теперь optional
[18:05:32] tilarids is now away
[18:05:34] mrDoctorWho. is now offline
[18:06:07] deepwalker: {'uNJ': ('user_name', True)}
[18:06:13] deepwalker: а теперь default
[18:06:31] mrDoctorWho. is now online
[18:06:49] deepwalker: {'uNJ': ('uder_name', True, 'empty')}
[18:06:56] deepwalker: а теперь ошибки вменяемые
[18:07:02] deepwalker: писать не буду
[18:07:04] Мозгошредер is now away
[18:07:04] Мозгошредер is now online
[18:07:06] webninja is now away
[18:07:07] webninja is now away
[18:07:51] deepwalker: а теперь вот конкретно user_name проверить что его в БД нет
[18:07:59] deepwalker: или есть
[18:08:16] deepwalker: в простом варианте все дубово, да
[18:08:19] deepwalker: а если варианты
[18:08:22] erraen is now online
[18:08:22] aries.ua is now online
[18:08:49] deepwalker: а если для одного типа сообщения такие поля, а для другого почти, но чуть другие?
[18:08:51] aries.ua is now online
[18:09:04] deepwalker: там можно углубиться конкретно
[18:09:12] Martin is now away
[18:09:21] mishok13 is now online
[18:09:56] maxim.zemlyakov is now online
[18:10:35] Martin is now online
[18:10:46] Typhon is now away
[18:12:45] Martin is now away
[18:13:24] erraen is now online
[18:13:48] Martin is now online
[18:13:54] aries.ua is now online
[18:14:09] webninja is now away
[18:14:10] webninja is now online
[18:14:59] maxim.zemlyakov is now online
[18:15:28] tilarids is now xa
[18:16:04] metall1c: всем привет, есть пецы по кодингу сетки на питоне?
[18:16:13] metall1c: мне надо распаковать юдп-пакет
[18:16:42] tilarids is now online
[18:16:46] metall1c: есть вот такой код http://dumpz.org/177987/
[18:16:57] metall1c: он просто слушает порт и печатает что на него пришло
[18:16:59] pc_ is now away
[18:17:10] metall1c: а на этот порт шлются потоки в формате netflow v5
[18:17:24] metall1c: вот этот код печатает мне кракозяблы
[18:17:41] metall1c: снифер wireshark распаковывает пакеты и показывает данные
[18:17:55] pc_ is now online
[18:18:02] Мозгошредер is now away
[18:18:02] Мозгошредер is now away
[18:18:02] metall1c: как на питоне мне прочесть содержимое ?
[18:18:25] erraen is now online
[18:18:56] aries.ua is now online
[18:19:06] deepwalker: пецы или поцы, вот в чем вопрос
[18:19:26] metall1c: а спецы есть? :)
[18:19:30] metall1c: *спецы*
[18:19:35] deepwalker: metall1c, я так подозреваю надо смотреть в сторону ASN1
[18:19:50] deepwalker: циска же, суровые брутальные инженера
[18:20:01] maxim.zemlyakov is now online
[18:20:24] metall1c: ага
[18:20:35] metall1c: щас буду гуглить что такое ANS1 :)
[18:20:48] Typhon is now online
[18:20:56] metall1c: я на Си уже такое делал, там во фре просто .h файл подцепил с описанием структуры потока
[18:21:07] Martin: в чем профит от х64 оси будет при 3 гб озу? по мне только больше память будет кушать.
[18:21:08] metall1c: там в заголовке написано сколько записей в пакете всего
[18:22:09] metall1c: кракозяблы вот такого типа (под вид)
[18:22:16] metall1c: (под виндой)
[18:22:18] metall1c: http://s2.ipicture.ru/uploads/20120312/Wo3PoSAf.png
[18:22:26] metall1c: вдруг кто угадает шифр по виду :)
[18:22:47] Мозгошредер is now away
[18:22:47] Мозгошредер is now online
[18:23:27] erraen is now online
[18:23:57] aries.ua is now online
[18:25:02] maxim.zemlyakov is now online
[18:25:27] deepwalker: госпидя, ну бинарный протокол
[18:25:33] deepwalker: чего по нему угадывать
[18:25:57] deepwalker: найди просто нотацию там BER PER MER или как она, найди ASN под питон - и вперед
[18:26:15] deepwalker: ну или напиши если не найдешь :trollface:
[18:26:43] Martin is now away
[18:26:56] Martin is now online
[18:27:49] Мозгошредер is now away
[18:27:49] Мозгошредер is now away
[18:27:52] Мозгошредер is now away
[18:27:52] Мозгошредер is now online
[18:28:09] Martin is now away
[18:28:29] erraen is now online
[18:28:59] aries.ua is now online
[18:29:37] Martin is now online
[18:30:04] maxim.zemlyakov is now online
[18:31:24] Martin is now away
[18:32:31] alexey-grom is now away
[18:32:32] alexey-grom is now away
[18:32:58] webninja is now offline
[18:33:15] Martin is now online
[18:33:31] erraen is now online
[18:33:47] cutwater is now away
[18:34:01] aries.ua is now online
[18:34:17] Martin is now away
[18:34:37] metall1c is now away
[18:34:38] Мозгошредер is now offline
[18:34:51] mrDoctorWho. is now offline
[18:35:06] maxim.zemlyakov is now online
[18:35:17] Martin is now online
[18:35:28] alexey-grom is now online
[18:35:29] alexey-grom is now online
[18:35:49] metall1c is now online
[18:36:26] metall1c: что такое ASN ? не нахожу
[18:36:31] Martin is now away
[18:36:36] Martin is now online
[18:37:14] metall1c: а, нашел Abstract Syntax Notation One ?
[18:38:03] nott is now offline
[18:38:08] dicos is now away
[18:38:09] dicos is now away
[18:38:33] erraen is now online
[18:38:53] deepwalker: yep
[18:38:55] deepwalker: оно самое
[18:39:03] aries.ua is now online
[18:39:12] deepwalker: короче это типа protobuf и thrift, но из глубины двадцатого века
[18:39:35] deepwalker: все телекоммуникационные протоколы на ASN, LDAP, Kerberos, короче море
[18:39:48] deepwalker: так что странно что ты еще про него не слушал :)
[18:39:53] deepwalker: не слышал
[18:40:04] Martin is now away
[18:40:08] maxim.zemlyakov is now online
[18:40:10] metall1c: ну я вообще программирую редко, а сети в принципе крайне редко :)
[18:40:21] metall1c: вот есть какая-то либа http://pyasn1.sourceforge.net/
[18:40:24] Martin is now online
[18:40:39] deepwalker: попробуй, я с asn под питон ни разу ничего не делал
[18:42:33] mrDoctorWho. is now online
[18:43:35] erraen is now online
[18:44:04] aries.ua is now online
[18:45:10] maxim.zemlyakov is now online
[18:45:45] xa4a: надо прочитать и понять пакет, известен тип пакета, есть дамп пакета, как его понять? мне одному кажется, что просто надо почитать описание протокола7
[18:48:38] erraen is now online
[18:49:06] aries.ua is now online
[18:50:12] maxim.zemlyakov is now online
[18:50:30] webninja is now online
[18:50:32] metall1c is now away
[18:53:39] erraen is now online
[18:53:47] cutwater is now xa
[18:53:54] metall1c is now online
[18:54:07] aries.ua is now online
[18:55:08] deepwalker: xa4a, если он asn, то нафиг париться?
[18:55:15] maxim.zemlyakov is now online
[18:55:44] deepwalker: описание протокола и будет в чем нибудь типа BER нотации
[18:55:54] deepwalker: вот пусть его asn и кушает
[18:56:01] metall1c: ну в снифере он так выглядит http://s1.ipicture.ru/uploads/20120312/qWa5Pq6N.png
[18:56:33] xa4a: если есть готовый кушатель asn - окей
[18:56:43] metall1c: как я и говорил, заголовок, в котором указана версия протокола, счетчик записей(максимум 30), прочая инфа и ниже сами записи
[18:57:03] metall1c: в которых написано, с какого IP на какой, сколько байт, протокол и т.д. и т.п.
[18:58:40] erraen is now online
[18:59:09] aries.ua is now online
[18:59:28] metall1c: вот описание формата пакета http://www.plixer.com/support/netflow_v5.html
[18:59:32] metall1c: только что мне это дает?
[19:00:17] maxim.zemlyakov is now online
[19:00:49] deepwalker: ну собственно разбери его через struct
[19:01:05] deepwalker: если ASN бодать нет желания :)
[19:02:08] webninja is now away
[19:02:09] webninja is now away
[19:02:35] webninja is now away
[19:02:36] webninja is now online
[19:02:38] metall1c: так, ладно, уже голова не соображает, завтра продолжу, пошел домой, всем пока
[19:03:42] erraen is now online
[19:04:01] deisler is now offline
[19:04:11] aries.ua is now online
[19:04:13] Martin is now away
[19:05:16] Martin is now online
[19:05:19] maxim.zemlyakov is now online
[19:06:18] Martin is now away
[19:06:25] Martin is now online
[19:06:33] tilarids is now away
[19:08:45] erraen is now online
[19:09:13] aries.ua is now online
[19:09:56] dicos is now away
[19:09:57] dicos is now online
[19:10:22] maxim.zemlyakov is now online
[19:10:35] tilarids is now online
[19:11:21] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[19:12:02] MAVr is now offline
[19:13:42] metall1c is now away
[19:13:46] erraen is now online
[19:14:15] aries.ua is now online
[19:14:56] mrDoctorWho. is now away
[19:15:24] maxim.zemlyakov is now online
[19:16:24] alexey-grom is now away
[19:16:24] alexey-grom is now away
[19:16:46] Мозгошредер is now online
[19:18:02] alexey-grom is now online
[19:18:48] erraen is now online
[19:19:17] aries.ua is now online
[19:20:26] maxim.zemlyakov is now online
[19:21:22] Martin is now away
[19:22:23] Martin is now online
[19:23:49] erraen is now online
[19:23:50] огыешсук is now away
[19:24:19] aries.ua is now online
[19:25:28] maxim.zemlyakov is now online
[19:25:36] nmk: deepwalker: asn через struct? :)
[19:25:42] nmk: он же ебанутый на все 100
[19:25:46] cutwater is now online
[19:25:52] огыешсук is now online
[19:26:55] nmk: хотя если чуть-чуть надо, то может и проще.
[19:27:17] Martin is now away
[19:28:21] Martin is now online
[19:28:33] deepwalker: nmk, ну если вломы и есть структуры по байтикам - мне то что :)
[19:28:39] deepwalker: тут от задачи конечно зависит
[19:28:51] erraen is now online
[19:28:53] deepwalker: по уму - если оно asn, то надо делать через ASN
[19:29:13] nmk: там насколько я помню могут быть приколы, типа тут может быть 2 байта, а может 3
[19:29:21] aries.ua is now online
[19:29:35] pc_ is now away
[19:30:29] maxim.zemlyakov is now online
[19:30:35] tilarids is now away
[19:31:01] tilarids is now online
[19:31:16] xa4a is now online
[19:31:22] deepwalker: http://www.ietf.org/rfc/rfc3954.txt
[19:31:26] deepwalker: эм
[19:32:26] deepwalker: что-то непохоже на asn.1
[19:33:06] deepwalker: http://webcache.googleusercontent.com/search?sourceid=chrome&client=ubuntu&channel=cs&ie=UTF-8&q=cache%3Ahttp%3A%2F%2Falienstudio.ru%2Fsamopisnyjj-parser-netflow%2F
[19:33:30] Martin is now away
[19:33:43] metall1c is now xa
[19:33:53] erraen is now online
[19:33:54] deepwalker: нуу, все стянул
[19:34:20] deisler is now away
[19:34:23] aries.ua is now online
[19:34:37] Martin is now online
[19:34:56] mrDoctorWho. is now xa
[19:35:31] maxim.zemlyakov is now online
[19:35:39] slav0nic is now offline
[19:36:02] Martin is now away
[19:36:19] Martin is now online
[19:38:56] erraen is now online
[19:39:24] aries.ua is now online
[19:39:35] pc_ is now xa
[19:40:34] maxim.zemlyakov is now online
[19:43:57] erraen is now online
[19:44:27] aries.ua is now online
[19:45:36] maxim.zemlyakov is now online
[19:46:28] Typhon is now away
[19:49:00] erraen is now online
[19:49:28] aries.ua is now online
[19:49:52] Typhon is now online
[19:50:39] maxim.zemlyakov is now online
[19:52:06] Мозгошредер is now away
[19:52:07] Мозгошредер is now away
[19:52:39] Typhon is now offline
[19:53:58] erraen is now online
[19:54:31] aries.ua is now online
[19:55:42] maxim.zemlyakov is now online
[19:56:28] огыешсук is now away
[19:56:51] Мозгошредер is now away
[19:56:51] Мозгошредер is now online
[19:57:31] огыешсук is now online
[19:58:21] xa4a: !g python asn parse
[19:58:58] erraen is now online
[19:59:33] aries.ua is now online
[19:59:51] xa4a: а вот в эрланге- просто всё распарсить..
[19:59:56] aries.ua is now offline
[20:00:44] maxim.zemlyakov is now online
[20:00:51] xa4a: там даже парсер asn1 встроенный
[20:02:55] dicos is now away
[20:02:55] dicos is now away
[20:03:32] Martin is now away
[20:03:55] Martin is now online
[20:04:00] erraen is now online
[20:05:46] maxim.zemlyakov is now online
[20:06:26] gigimon is now offline
[20:09:02] erraen is now online
[20:10:34] nmk is now offline
[20:10:49] maxim.zemlyakov is now online
[20:11:38] tilarids is now away
[20:11:40] tilarids is now online
[20:12:13] cutwater is now away
[20:13:57] erraen is now offline
[20:14:54] webninja is now away
[20:14:55] webninja is now away
[20:15:53] maxim.zemlyakov is now online
[20:17:27] cutwater is now online
[20:18:40] Мозгошредер is now away
[20:18:40] Мозгошредер is now away
[20:20:56] maxim.zemlyakov is now online
[20:24:05] Martin is now away
[20:25:58] maxim.zemlyakov is now online
[20:26:04] Martin is now xa
[20:26:06] Tony is now online
[20:26:13] Martin is now online
[20:27:37] Martin is now away
[20:27:42] Martin is now online
[20:30:36] Martin is now away
[20:31:00] maxim.zemlyakov is now online
[20:31:36] Мозгошредер is now away
[20:31:37] Мозгошредер is now online
[20:32:11] slav0nic is now away
[20:32:16] dicos is now away
[20:32:17] dicos is now online
[20:32:22] Martin is now online
[20:33:48] Martin is now away
[20:33:49] Martin is now online
[20:34:06] mishok13 is now away
[20:35:22] mrDoctorWho. is now online
[20:36:02] maxim.zemlyakov is now online
[20:36:45] mishok13 is now online
[20:36:47] slav0nic is now offline
[20:36:50] slav0nic is now xa
[20:36:52] slav0nic is now xa
[20:37:02] slav0nic is now xa
[20:37:03] slav0nic is now xa
[20:37:04] slav0nic is now xa
[20:37:09] slav0nic is now offline
[20:37:19] slav0nic is now xa
[20:41:04] maxim.zemlyakov is now online
[20:41:47] xa4a is now away
[20:44:38] xa4a is now online
[20:45:41] dicos is now offline
[20:46:07] maxim.zemlyakov is now online
[20:51:10] maxim.zemlyakov is now online
[20:55:41] mrDoctorWho. is now offline
[20:56:12] maxim.zemlyakov is now online
[20:57:14] Tony is now away
[20:57:37] mrDoctorWho. is now online
[21:01:15] maxim.zemlyakov is now online
[21:02:29] огыешсук is now offline
[21:05:55] mishok13 is now offline
[21:06:17] maxim.zemlyakov is now online
[21:08:23] gigimon is now online
[21:08:34] zandr_dw is now xa
[21:11:19] maxim.zemlyakov is now online
[21:13:25] mrDoctorWho. is now offline
[21:13:43] Martin: у WSGI одна точка входа в приложение, как я понял?
[21:14:35] xa4a: да
[21:16:22] maxim.zemlyakov is now online
[21:16:28] Martin: вообще стоит ли устанавливать пакеты питона вручную (более свежие версии), чем через пакетную систему дистра (немного устаревшие)?
[21:17:06] cutwater: virtualenv
[21:17:40] zandr_dw is now xa
[21:21:24] maxim.zemlyakov is now online
[21:22:12] Martin is now away
[21:22:15] Tony is now xa
[21:22:40] Martin is now online
[21:22:52] levsha is now offline
[21:24:37] pc_ is now online
[21:26:27] maxim.zemlyakov is now online
[21:26:52] zandr_dw is now xa
[21:26:59] deepwalker: Martin, да, стоит
[21:27:14] deepwalker: ни к чему привязывать сою разработку к шестилетним циклам
[21:28:05] deepwalker: но да, ставить их надо в virtualenv
[21:28:39] deepwalker: http://deepwalker.ru/post/19184253147/trafaret-data-converter вотнаписал по мотивам обсуждения
[21:28:40] Martin: virtualenv пока следующий уровень для меня...
[21:28:48] deepwalker: да ничего там следующего
[21:29:12] deepwalker: aptitude install virtualenv
virtualenv ve
. ve/bin/activate
pip install -r requirements.txt
[21:29:20] deepwalker: все
[21:29:43] deepwalker: это первый уровень, без него задолбаешься
[21:30:46] cutwater: +100500
[21:30:50] Martin: я только вчера WSGI раскурил. конечно до этого попробовал настраивать, на локалке худо бедно работало, но криво... офф мануал в подробностях рассказывает все, но мне нужен был простой пример (вчера на сайте web.py нашел и все пошло как надо). несколько дней назад начал писать на торнадо сайтик, так как nginx'ом можно проксировать было.
[21:31:30] maxim.zemlyakov is now online
[21:31:34] cutwater: может проще с django начинать изучать веб в питоне?
[21:31:54] deepwalker: вот и не знаешь что лучше :)
[21:32:04] deepwalker: как возьмут джанго, потом не отлепишь
[21:32:55] cutwater: ну просто с wsgi начинать уж явно php-way без азов как вообще это делали до нас
[21:33:03] Martin: cutwater: люблю минифреймворки
[21:33:24] cutwater: Martin: вот это уж точно следующий уровень для тебя
[21:33:39] cutwater: ну да впрочем ладно. хочется юзай.
[21:33:46] Martin: без ORM, MVC. на счет последнего можно посмотрить, но без ORM явно можно обойтись
[21:33:59] Martin: *поспорить
[21:34:34] Martin: хотя джанга мне понравилась. меня обычно такие гиганты отталкивают, но она не оттолкнула.
[21:35:55] Martin: с нуля я разве что-то небольшое или просто тестовый hello world или ему подобное буду писать. хотя написание своего велосипеда может помочь с опытом конструирования.
[21:36:32] maxim.zemlyakov is now online
[21:41:35] maxim.zemlyakov is now online
[21:46:37] maxim.zemlyakov is now online
[21:50:25] Martin is now away
[21:51:00] Martin is now online
[21:51:39] maxim.zemlyakov is now online
[21:53:25] Tony is now online
[21:54:54] Martin is now away
[21:55:31] cutwater is now away
[21:55:47] Martin is now online
[21:56:42] maxim.zemlyakov is now online
[22:00:44] Мозгошредер is now away
[22:00:45] Мозгошредер is now away
[22:01:21] xa4a: иди пиши на джанге
[22:01:31] xa4a: тыт так говоришь "гиганты", как-будто тебе исходники перечитать все надо
[22:01:44] maxim.zemlyakov is now online
[22:02:39] tilarids is now away
[22:02:55] xa4a: deepwalker: 'second_name': 'Smith': s/second/last/
[22:04:31] alexey-grom is now away
[22:04:32] alexey-grom is now away
[22:04:33] Martin: гиганты - ибо имеют 100500 функций и возможностей. это не 5 строчек на фласке. в джанге как минимум конфиг, модели, классы и т.д.
[22:05:06] xa4a: !g djmicro
[22:05:42] Мозгошредер is now away
[22:05:42] Мозгошредер is now online
[22:05:49] xa4a: https://github.com/apendleton/djmicro
[22:06:10] Martin: видел, да
[22:06:46] maxim.zemlyakov is now online
[22:06:55] Martin: но по сути преимущество только в возможностях из коробки и легкого перехода на взрослую джангу
[22:08:44] alexey-grom is now online
[22:08:45] alexey-grom is now online
[22:10:44] Мозгошредер is now away
[22:10:44] Мозгошредер is now away
[22:11:46] levsha is now xa
[22:11:50] maxim.zemlyakov is now online
[22:15:31] cutwater is now xa
[22:16:53] maxim.zemlyakov is now online
[22:17:03] deepwalker: Martin, без орма можно обойтись?
[22:17:21] Martin: deepwalker: разве нет?
[22:17:24] deepwalker: дододо, вот только ты напишешь свой когда захочешь немножко заDRYить тему
[22:17:31] Мозгошредер is now away
[22:17:32] Мозгошредер is now online
[22:17:37] deepwalker: нет, надо брать орм
[22:17:53] maxim.zemlyakov is now offline
[22:18:02] deepwalker: только не джанговский
[22:18:08] deepwalker: sqla самое оно
[22:18:28] Martin: что мега плохого юзать raw sql? только с оберткой небольшой
[22:18:41] Martin: которая есть в sqlalchemy, например
[22:18:42] deepwalker: поддерживать плохо
[22:18:52] tilarids is now offline
[22:19:08] deepwalker: мало видимо sql у тебя пока :)
[22:19:35] deepwalker: это же легко в кашу переходит
[22:22:57] xa4a: почему не джанго-орм?
[22:23:53] xa4a: какая-то религиозная неприязнь?
[22:24:17] xa4a: Martin: если ты планируешь запускать проект где-то, кроме своего тестового сервера с sqlite - плохо raw sql
[22:24:18] pc_ is now away
[22:26:13] xa4a: и опять же - орм не нужен, если у тебя нет сущностей
[22:26:42] deepwalker: xa4a, потому что джанго орм провоцирует писать хреновый sql
[22:26:59] Martin: xa4a: sqlite не юзаю. пока мускул только.
[22:27:16] deepwalker: и писать надо под базу, на который будешь запускать :) какой sqlite еще?
[22:27:44] deepwalker: Martin, еще есть неплохой postgresql, про него неплохо знать
[22:27:44] Martin: встраиваема бд жэ
[22:27:49] xa4a: deepwalker: в 95% случаев же не надо писать хреновый sql
[22:27:52] xa4a: оно само его пишет :)
[22:27:54] deepwalker: куда ты ее встраивать собрался?
[22:28:03] Martin: я - никуда
[22:28:07] deepwalker: в вебсайт? :)
[22:28:09] Martin: но ее часто суют в примеры
[22:28:15] Martin: для лентяев видимо
[22:28:15] deepwalker: потмоу что просто
[22:28:20] deepwalker: в примерах самое оно
[22:28:21] xa4a: в питон встроенная, видимо
[22:28:27] xa4a: и для разработки - вполне оно
[22:28:32] deepwalker: не писать же там процедуру настройки постгре
[22:28:32] bobry is now online
[22:28:33] bobry is now online
[22:28:33] bobry is now online
[22:28:35] xa4a: особенно, если орм умеет легко переключаться под разные базы
[22:28:36] Martin: но в некоторые проги имхо норм вариант
[22:28:48] Мозгошредер is now away
[22:28:49] Мозгошредер is now away
[22:28:55] deepwalker: в некоторые - да
[22:29:21] deepwalker: у меня интернет магазин на склайт, правда есть нюанс - в проде он статика
[22:29:32] Martin: разрабатывать предпочитаю под то, с чем будет работать
[22:30:00] xa4a: deepwalker: корзина/чекаут как?
[22:30:43] deepwalker: корзина - куки
[22:30:52] Martin: вообще я не вижу особого смысла в sqlite для веба. а вот небольшая десктоп прога - норм. дабы какой-нибудь клиент-серверный мускул или постгрес не тянуть.
[22:30:56] deepwalker: и один простой скрипт для отсылки писем
[22:31:20] deepwalker: аконади кедшная юзает встраиваемый мускуль
[22:31:30] deepwalker: извращенцы я считаю
[22:31:42] deepwalker: или юзала
[22:31:51] deepwalker: теперь там какой-то virtuozzo
[22:31:57] Martin: а так на питоне более-менее серьезную вещь (веб утилиту) начал писать несколько дней назад. до этого баловство и автоматизация.
[22:32:19] Martin: но она скорее для локального использования. хотя можно допилить и выложить.
[22:32:52] deepwalker: с одной z
[22:32:59] bobry is now online
[22:33:27] Мозгошредер is now away
[22:33:28] Мозгошредер is now online
[22:33:56] deepwalker: кто на реддите - плюсаните что ли http://www.reddit.com/r/Python/comments/qt6n0/trafaret_convertion_library_intro/
[22:34:17] pc_ is now xa
[22:34:26] bobry is now away
[22:34:26] bobry is now away
[22:34:26] bobry is now away
[22:37:49] xa4a: deepwalker: для отправки писем - простой скрипт на сервере?
[22:38:01] bobry is now away
[22:39:42] deepwalker: да, чтобы заказ отправить - js вынимает данные из куки, пакует их поудобнее, и шлет POST на скрипт
[22:40:04] deepwalker: скрипт форматирует письмо и отсылает его заказчику, и администратору магазина
[22:40:20] xa4a: в куки ж, вроде, много не засунешь?
[22:40:29] deepwalker: а там много не надо
[22:40:40] xa4a: аок
[22:40:51] deepwalker: айдишник вещи, размер, все
[22:41:17] deepwalker: статикой же лежит весь ассортимент в json - при отправке он просто вынимает оттуда и шлет скрипту
[22:41:45] deepwalker: пару раз задумывался, а шоб просто js-ом не рисовать весь сайт
[22:41:58] deepwalker: но пока думаю рановато такие штуки задвигать
[22:42:19] deepwalker: я не твиттер - глюкнет, не поймут :)
[22:42:21] Мозгошредер is now away
[22:42:22] Мозгошредер is now away
[22:42:27] deepwalker: мне чтобы работало подубовее
[22:43:04] bobry is now away
[22:43:59] bobry is now away
[22:43:59] bobry is now online
[22:43:59] bobry is now online
[22:45:21] Martin: а еще индексация
[22:45:32] Martin: поисковики JS не интерпретируют
[22:48:07] bobry is now online
[22:53:09] bobry is now online
[22:54:12] xa4a is now away
[22:55:30] bobry is now away
[22:55:30] bobry is now away
[22:55:30] bobry is now away
[22:56:30] Мозгошредер is now away
[22:56:31] Мозгошредер is now online
[22:58:12] bobry is now away
[23:02:37] melistraza808 is now online
[23:03:14] bobry is now away
[23:04:12] xa4a is now away
[23:06:02] zandr_dw is now xa
[23:07:02] Martin is now dnd
[23:07:17] Martin is now offline
[23:08:14] deepwalker: для поисковиков можно статику плоскую подкинуть, хотя два раза рисовать
[23:08:17] bobry is now away
[23:08:30] deepwalker: ну поэтмоу я сейчас и не парюсь
[23:08:43] melistraza808 is now dnd
[23:09:44] melistraza808 is now online
[23:09:48] melistraza808 is now dnd
[23:10:04] melistraza808 is now online
[23:10:08] melistraza808 is now dnd
[23:10:09] gigimon is now online
[23:10:30] zandr_dw is now xa
[23:11:05] melistraza808 is now online
[23:11:09] melistraza808 is now dnd
[23:11:22] tilarids is now online
[23:11:54] bobry is now away
[23:11:54] bobry is now online
[23:11:54] bobry is now online
[23:13:20] bobry is now online
[23:14:05] Tony is now away
[23:16:25] gigimon is now online
[23:18:23] bobry is now online
[23:19:03] Мозгошредер is now Last.fm: Don't Panic by Coldplay on Parachutes (0:00)
[23:20:03] Мозгошредер is now online
[23:20:51] Tony is now online
[23:21:34] xa4a is now away
[23:21:36] xa4a is now online
[23:22:03] Мозгошредер is now Last.fm: Shiver by Coldplay on Parachutes (0:00)
[23:23:25] bobry is now online
[23:24:03] Мозгошредер is now online
[23:28:28] bobry is now online
[23:29:32] slav0nic is now offline
[23:29:47] slav0nic is now xa
[23:31:06] melistraza808 is now online
[23:33:31] bobry is now online
[23:35:10] zandr_dw is now xa
[23:38:04] melistraza808 is now dnd
[23:38:24] melistraza808 is now online
[23:38:28] melistraza808 is now dnd
[23:38:33] bobry is now online
[23:38:48] zandr_dw is now xa
[23:41:18] melistraza808 is now online
[23:41:31] melistraza808 is now dnd
[23:41:59] melistraza808 is now online
[23:42:15] melistraza808 is now dnd
[23:42:27] melistraza808 is now online
[23:42:48] melistraza808 is now dnd
[23:43:35] bobry is now online
[23:43:59] py_two is now online
[23:44:30] py_two is now online
[23:44:33] bobry is now offline
[23:44:47] py_two is now offline
[23:46:04] Мозгошредер is now Last.fm: High Speed by Coldplay on Parachutes (0:00)
[23:46:12] melistraza808 is now online
[23:46:32] melistraza808 is now dnd
[23:47:59] livevil is now online
[23:48:04] Мозгошредер is now online
[23:48:42] melistraza808 is now online
[23:49:10] melistraza808 is now dnd
[23:50:04] Мозгошредер is now Last.fm: We Never Change by Coldplay on Parachutes (0:00)
[23:50:48] py_two is now Available
[23:53:17] py_two is now offline
[23:53:39] py_two is now Available
[23:54:04] Мозгошредер is now online
[23:54:17] py_two is now offline
[23:55:34] py_two is now Available
[23:56:14] py_two is now Available
[23:56:21] py_two is now offline
[23:56:44] py_two is now Available
[23:56:51] py_two is now offline