[00:01:28] bobry is now online
[00:02:53] kostafey is now offline
[00:04:30] kostafey is now Доступен
[00:04:30] kostafey is now offline
[00:05:05] tilarids is now away
[00:06:31] bobry is now online
[00:06:50] levsha is now xa
[00:09:37] kostafey is now Доступен
[00:11:34] bobry is now online
[00:14:40] kostafey is now Доступен
[00:15:04] tilarids is now xa
[00:16:37] bobry is now online
[00:18:22] bobry is now away
[00:18:22] bobry is now away
[00:19:44] kostafey is now Доступен
[00:21:40] bobry is now away
[00:24:47] kostafey is now Доступен
[00:26:43] bobry is now away
[00:28:34] tilarids is now online
[00:29:48] kostafey is now Доступен
[00:31:44] bobry is now away
[00:34:52] kostafey is now Доступен
[00:35:51] tilarids is now away
[00:36:28] tilarids is now online
[00:36:46] bobry is now away
[00:39:54] kostafey is now Доступен
[00:41:49] bobry is now away
[00:44:57] kostafey is now Доступен
[00:46:52] bobry is now away
[00:49:59] kostafey is now Доступен
[00:51:54] bobry is now away
[00:53:45] tilarids is now away
[00:54:57] xa4a is now offline
[00:55:02] kostafey is now Доступен
[00:56:56] bobry is now away
[01:00:05] kostafey is now Доступен
[01:01:59] bobry is now away
[01:03:11] xa4a is now online
[01:03:45] tilarids is now xa
[01:04:01] nott is now online
[01:05:07] kostafey is now Доступен
[01:06:42] tilarids is now online
[01:07:02] bobry is now away
[01:10:11] kostafey is now Доступен
[01:12:04] bobry is now away
[01:12:44] tilarids is now away
[01:14:06] science is now online
[01:15:13] kostafey is now Доступен
[01:17:07] bobry is now away
[01:18:08] science is now offline
[01:20:14] kostafey is now Доступен
[01:22:09] bobry is now away
[01:22:44] tilarids is now xa
[01:23:50] _lorien is now offline
[01:23:51] _lorien is now online
[01:23:52] _lorien is now online
[01:23:52] _lorien is now online
[01:25:17] kostafey is now Доступен
[01:27:12] bobry is now away
[01:28:39] Typhon is now online
[01:30:19] kostafey is now Доступен
[01:31:07] kostafey is now offline
[01:32:14] bobry is now away
[01:34:42] tilarids is now online
[01:35:41] tilarids is now offline
[01:37:17] bobry is now away
[01:42:20] bobry is now away
[01:47:22] bobry is now away
[01:51:20] _lorien is now away
[01:52:24] bobry is now away
[01:53:40] gigimon is now online
[01:53:52] _lorien is now online
[01:57:26] bobry is now away
[01:59:21] gigimon is now online
[02:02:30] bobry is now away
[02:03:29] nott is now away
[02:05:45] gigimon is now online
[02:07:29] gigimon is now offline
[02:07:32] bobry is now away
[02:12:35] bobry is now away
[02:13:08] Typhon is now away
[02:13:27] nott is now xa
[02:15:12] nott is now online
[02:17:37] bobry is now away
[02:17:58] Joes is now offline
[02:22:37] bobry is now away
[02:23:08] Typhon is now xa
[02:27:40] bobry is now away
[02:28:56] belanchuk is now online
[02:31:13] belanchuk is now offline
[02:31:21] gf is now online
[02:32:42] bobry is now away
[02:37:45] bobry is now away
[02:42:48] bobry is now away
[02:43:53] Максим Соловьёв is now online
[02:43:53] Максим Соловьёв is now online
[02:47:30] Максим Соловьёв is now online
[02:47:50] bobry is now away
[02:52:33] Максим Соловьёв is now online
[02:52:51] bobry is now away
[02:57:35] Максим Соловьёв is now online
[02:57:53] bobry is now away
[03:02:37] Максим Соловьёв is now online
[03:02:55] bobry is now away
[03:06:26] Typhon is now online
[03:07:40] Максим Соловьёв is now online
[03:07:57] bobry is now away
[03:08:01] xa4a is now offline
[03:08:25] pc_ is now online
[03:12:42] Максим Соловьёв is now online
[03:13:01] bobry is now away
[03:13:26] pc_ is now away
[03:16:58] Максим Соловьёв is now offline
[03:18:02] bobry is now away
[03:19:43] Typhon is now offline
[03:19:54] pc_ is now online
[03:23:04] bobry is now away
[03:28:06] bobry is now away
[03:28:32] pc_ is now away
[03:33:07] bobry is now away
[03:35:46] gf is now online
[03:38:10] bobry is now away
[03:38:32] pc_ is now xa
[03:43:11] bobry is now away
[03:48:13] bobry is now away
[03:53:17] bobry is now away
[03:58:19] bobry is now away
[03:58:45] deepwalker is now offline
[04:03:22] bobry is now away
[04:08:24] bobry is now away
[04:10:28] Tony is now away
[04:13:25] bobry is now away
[04:18:26] bobry is now away
[04:19:57] _lorien is now away
[04:23:28] bobry is now away
[04:28:31] bobry is now away
[04:29:52] _lorien is now xa
[04:31:30] _lorien is now online
[04:33:34] bobry is now away
[04:35:28] Tony is now xa
[04:36:01] imbolc name is now online
[04:36:02] imbolc name is now online
[04:37:43] imbolc name is now online
[04:38:37] bobry is now away
[04:41:25] imbolc name is now away
[04:41:25] imbolc name is now away
[04:42:45] imbolc name is now away
[04:43:38] bobry is now away
[04:46:27] imbolc name is now online
[04:46:27] imbolc name is now online
[04:47:47] imbolc name is now online
[04:48:40] bobry is now away
[04:52:49] imbolc name is now online
[04:53:41] bobry is now away
[04:54:34] _lorien is now away
[04:57:50] imbolc name is now online
[04:58:43] bobry is now away
[05:02:53] imbolc name is now online
[05:03:39] levsha is now offline
[05:03:46] bobry is now away
[05:04:30] _lorien is now xa
[05:06:20] _lorien is now online
[05:07:54] imbolc name is now online
[05:08:49] bobry is now away
[05:12:56] imbolc name is now online
[05:13:52] bobry is now away
[05:15:23] Сволота is now chat
[05:17:57] imbolc name is now online
[05:18:53] bobry is now away
[05:22:59] imbolc name is now online
[05:23:55] bobry is now away
[05:28:01] imbolc name is now online
[05:28:55] bobry is now away
[05:33:02] imbolc name is now online
[05:33:57] bobry is now away
[05:38:05] imbolc name is now online
[05:38:58] bobry is now away
[05:43:06] imbolc name is now online
[05:44:00] bobry is now away
[05:48:08] imbolc name is now online
[05:49:01] bobry is now away
[05:50:34] imbolc name is now offline
[05:51:39] imbolc name is now online
[05:51:39] imbolc name is now online
[05:54:04] bobry is now away
[05:54:10] imbolc name is now online
[05:59:06] bobry is now away
[05:59:17] imbolc name is now online
[06:01:27] imbolc name is now away
[06:01:27] imbolc name is now away
[06:02:21] imbolc name is now online
[06:02:21] imbolc name is now online
[06:04:07] bobry is now away
[06:04:21] imbolc name is now online
[06:07:31] imbolc name is now away
[06:07:31] imbolc name is now away
[06:09:09] bobry is now away
[06:09:25] imbolc name is now away
[06:14:11] imbolc name is now online
[06:14:11] imbolc name is now online
[06:14:12] bobry is now away
[06:14:28] imbolc name is now online
[06:17:30] _lorien is now away
[06:17:33] _lorien is now online
[06:19:13] bobry is now away
[06:19:31] imbolc name is now online
[06:21:22] dicos is now online
[06:22:29] imbolc name is now away
[06:22:29] imbolc name is now away
[06:24:16] bobry is now away
[06:24:33] imbolc name is now away
[06:29:16] bobry is now away
[06:29:32] imbolc name is now away
[06:29:47] ds.tihonov is now дома! :)
[06:31:09] imbolc name is now online
[06:31:09] imbolc name is now online
[06:34:17] bobry is now away
[06:34:37] imbolc name is now online
[06:37:03] imbolc name is now away
[06:37:03] imbolc name is now away
[06:39:20] bobry is now away
[06:39:40] imbolc name is now away
[06:44:22] bobry is now away
[06:44:43] imbolc name is now away
[06:46:52] ds.tihonov is now offline
[06:47:03] imbolc name is now xa
[06:47:03] imbolc name is now xa
[06:49:23] bobry is now away
[06:49:46] imbolc name is now xa
[06:51:10] ds.tihonov is now дома! :)
[06:54:03] imbolc name is now online
[06:54:03] imbolc name is now online
[06:54:24] bobry is now away
[06:54:46] imbolc name is now online
[06:59:27] bobry is now away
[06:59:35] imbolc name is now away
[06:59:35] imbolc name is now away
[07:00:05] imbolc name is now away
[07:04:28] bobry is now away
[07:05:06] imbolc name is now away
[07:06:12] dicos is now away
[07:06:14] dicos is now away
[07:08:06] dicos is now away
[07:08:08] dicos is now online
[07:09:29] bobry is now away
[07:09:35] imbolc name is now xa
[07:09:35] imbolc name is now xa
[07:10:09] imbolc name is now xa
[07:14:31] bobry is now away
[07:15:13] imbolc name is now xa
[07:16:04] _lorien is now away
[07:18:05] dicos is now away
[07:18:07] dicos is now away
[07:18:09] dicos is now away
[07:18:10] dicos is now online
[07:19:33] bobry is now away
[07:20:13] imbolc name is now xa
[07:21:43] gf is now offline
[07:24:35] bobry is now away
[07:25:15] imbolc name is now xa
[07:25:58] _lorien is now xa
[07:29:36] bobry is now away
[07:30:17] imbolc name is now xa
[07:34:38] bobry is now away
[07:35:20] imbolc name is now xa
[07:39:39] bobry is now away
[07:40:22] imbolc name is now xa
[07:44:40] bobry is now away
[07:45:23] imbolc name is now xa
[07:49:42] bobry is now away
[07:50:27] imbolc name is now xa
[07:54:43] bobry is now away
[07:55:31] imbolc name is now xa
[07:58:48] _lorien is now online
[07:59:43] bobry is now away
[08:00:34] imbolc name is now xa
[08:03:56] _lorien is now away
[08:04:44] bobry is now away
[08:05:37] imbolc name is now xa
[08:09:45] bobry is now away
[08:10:39] imbolc name is now xa
[08:12:02] nightOwl is now Yep, I'm here.
[08:13:56] _lorien is now xa
[08:14:48] bobry is now away
[08:14:58] dicos is now away
[08:15:00] dicos is now away
[08:15:26] ds.tihonov is now offline
[08:15:38] dicos is now away
[08:15:39] dicos is now online
[08:15:42] imbolc name is now xa
[08:19:49] bobry is now away
[08:20:45] imbolc name is now xa
[08:21:21] огыешсук is now online
[08:21:26] _lorien is now online
[08:24:50] bobry is now away
[08:25:14] ds.tihonov is now дома! :)
[08:25:46] imbolc name is now xa
[08:28:04] ds.tihonov is now offline
[08:29:48] dicos is now away
[08:29:50] dicos is now away
[08:29:52] bobry is now away
[08:30:49] imbolc name is now xa
[08:34:54] bobry is now away
[08:35:52] imbolc name is now xa
[08:39:55] bobry is now away
[08:40:54] imbolc name is now xa
[08:44:57] bobry is now away
[08:45:54] imbolc name is now xa
[08:49:58] bobry is now away
[08:50:15] dicos is now away
[08:50:17] dicos is now online
[08:50:57] imbolc name is now xa
[08:53:27] pc_ is now online
[08:55:01] bobry is now away
[08:55:59] imbolc name is now xa
[09:00:02] bobry is now away
[09:01:02] imbolc name is now xa
[09:05:04] bobry is now away
[09:06:03] imbolc name is now xa
[09:09:05] огыешсук is now offline
[09:09:49] огыешсук is now online
[09:09:52] nott is now online
[09:10:05] bobry is now away
[09:10:20] огыешсук is now offline
[09:10:33] огыешсук is now online
[09:11:06] imbolc name is now xa
[09:14:51] nott is now away
[09:14:54] огыешсук is now offline
[09:15:07] bobry is now away
[09:15:27] огыешсук is now online
[09:15:34] imbolc name is now xa
[09:17:49] pc_ is now away
[09:20:08] bobry is now away
[09:20:36] imbolc name is now xa
[09:25:10] bobry is now away
[09:25:38] imbolc name is now xa
[09:27:48] pc_ is now xa
[09:28:17] bobry is now away
[09:28:17] bobry is now online
[09:28:18] bobry is now online
[09:30:11] bobry is now online
[09:30:41] imbolc name is now xa
[09:35:14] bobry is now online
[09:35:42] imbolc name is now xa
[09:36:56] bobry is now away
[09:36:56] bobry is now away
[09:40:14] bobry is now away
[09:40:43] imbolc name is now xa
[09:42:01] Typhon is now online
[09:44:29] bobry is now away
[09:44:29] bobry is now online
[09:44:30] bobry is now online
[09:45:17] bobry is now online
[09:45:44] imbolc name is now xa
[09:50:18] bobry is now online
[09:50:48] imbolc name is now xa
[09:55:19] bobry is now online
[09:55:50] imbolc name is now xa
[09:58:30] _lorien is now away
[09:59:44] levsha is now xa
[10:00:20] bobry is now online
[10:00:52] imbolc name is now xa
[10:03:37] bobry is now away
[10:03:37] bobry is now away
[10:03:38] bobry is now away
[10:05:22] bobry is now away
[10:05:55] imbolc name is now xa
[10:07:34] bobry is now away
[10:07:34] bobry is now online
[10:07:35] bobry is now online
[10:08:18] Tony is now online
[10:08:24] _lorien is now xa
[10:09:55] nott is now xa
[10:10:23] bobry is now online
[10:10:57] imbolc name is now xa
[10:12:55] bobry is now away
[10:12:55] bobry is now away
[10:12:56] bobry is now away
[10:15:26] bobry is now away
[10:15:58] imbolc name is now xa
[10:20:28] bobry is now away
[10:20:59] imbolc name is now xa
[10:25:30] bobry is now away
[10:26:01] imbolc name is now xa
[10:27:38] Typhon is now away
[10:30:33] bobry is now away
[10:31:03] imbolc name is now xa
[10:35:35] bobry is now away
[10:35:51] Сволота is now away
[10:36:06] imbolc name is now xa
[10:39:55] огыешсук is now offline
[10:40:37] bobry is now away
[10:41:09] imbolc name is now xa
[10:42:25] Tony is now offline
[10:42:58] metall1c is now online
[10:45:21] Typhon is now online
[10:45:39] bobry is now away
[10:46:11] imbolc name is now xa
[10:47:16] tilarids is now online
[10:50:40] bobry is now away
[10:51:13] imbolc name is now xa
[10:53:00] metall1c is now away
[10:54:19] tilarids is now away
[10:54:45] огыешсук is now online
[10:55:15] tilarids is now online
[10:55:42] bobry is now away
[10:56:14] imbolc name is now xa
[11:00:44] bobry is now away
[11:01:17] imbolc name is now xa
[11:05:45] огыешсук is now offline
[11:05:47] bobry is now away
[11:05:48] огыешсук is now online
[11:06:01] imbolc name is now xa
[11:09:24] Typhon is now away
[11:10:06] aries.ua is now online
[11:10:06] aries.ua is now online
[11:10:17] aries.ua is now online
[11:10:17] aries.ua is now online
[11:10:46] Typhon is now online
[11:10:49] bobry is now away
[11:11:02] imbolc name is now xa
[11:13:00] metall1c is now xa
[11:15:04] aries.ua is now online
[11:15:07] levsha is now offline
[11:15:21] bobry is now offline
[11:16:04] imbolc name is now xa
[11:20:05] aries.ua is now online
[11:21:06] imbolc name is now xa
[11:25:07] aries.ua is now online
[11:26:08] imbolc name is now xa
[11:29:43] dicos is now away
[11:29:45] dicos is now away
[11:30:09] aries.ua is now online
[11:31:10] imbolc name is now xa
[11:32:36] огыешсук is now offline
[11:32:46] dicos is now away
[11:32:48] dicos is now online
[11:34:35] bobry is now away
[11:34:36] bobry is now away
[11:34:36] bobry is now away
[11:35:11] aries.ua is now online
[11:35:12] bobry is now away
[11:36:08] dpwiz is now online
[11:36:12] imbolc name is now xa
[11:37:08] dpwiz: Как правильно писать в доктестах последовательность строк, чтобы они были как один тест?
[11:37:47] dicos is now away
[11:37:49] dicos is now away
[11:39:20] dicos is now away
[11:39:22] dicos is now online
[11:39:24] dpwiz: http://dumpz.org/106663/
[11:40:12] aries.ua is now online
[11:40:13] bobry is now away
[11:40:57] Typhon: доктесты — фууу %)
[11:41:14] imbolc name is now xa
[11:42:29] biert is now online
[11:42:52] biert: ребята а пайтон может работать с com портом ?
[11:43:23] dpwiz: biert, import antigr^W serial
[11:44:20] dicos is now away
[11:44:22] dicos is now away
[11:44:24] Typhon: biert: pyserial пакет, емнип
[11:44:25] biert: а то почитал хабр и там сплошные басни о джава, отлично отлично
[11:45:14] aries.ua is now online
[11:45:14] bobry is now away
[11:46:17] imbolc name is now xa
[11:47:21] nott is now offline
[11:47:22] nott is now xa
[11:47:22] nott is now xa
[11:47:24] nott is now xa
[11:50:16] bobry is now away
[11:50:17] aries.ua is now online
[11:50:48] aries.ua: Корешь, работали вместе, на питоне писал дрова для кассового аппарата под линухой :) Тоже по ком порту. Там вообще понты работы с ним :)
[11:51:19] imbolc name is now xa
[11:52:14] Typhon is now away
[11:52:14] Typhon is now online
[11:52:17] Typhon is now away
[11:52:22] erraen is now online
[11:52:22] erraen is now online
[11:52:56] dpwiz: /me писал "дрова" для кардридера с NFC и пинпадом - на один вечер дел
[11:52:56] biert: касовый апарат с линуксом ?
[11:53:02] biert: где же ж вы нашли такое
[11:53:16] Typhon is now online
[11:53:48] biert: в джаве подозреваю так же
[11:54:07] erraen is now online
[11:54:53] dicos is now away
[11:54:55] dicos is now online
[11:55:17] bobry is now away
[11:55:18] aries.ua is now online
[11:56:21] imbolc name is now xa
[11:59:09] erraen is now online
[11:59:55] dicos is now away
[11:59:57] dicos is now away
[12:00:20] bobry is now away
[12:00:20] aries.ua is now online
[12:01:22] imbolc name is now xa
[12:04:11] erraen is now online
[12:05:21] aries.ua is now online
[12:05:22] bobry is now away
[12:06:25] imbolc name is now xa
[12:09:13] erraen is now online
[12:10:05] nott is now online
[12:10:23] aries.ua is now online
[12:10:23] bobry is now away
[12:11:27] imbolc name is now xa
[12:14:15] erraen is now online
[12:15:19] Typhon is now away
[12:15:20] Typhon is now away
[12:15:24] aries.ua is now online
[12:15:24] bobry is now away
[12:16:08] gf is now online
[12:16:30] imbolc name is now xa
[12:16:49] Typhon is now away
[12:16:52] Typhon is now online
[12:19:17] erraen is now online
[12:20:26] aries.ua is now online
[12:20:26] bobry is now away
[12:21:31] imbolc name is now xa
[12:22:43] pc_ is now online
[12:22:58] dpwiz is now offline
[12:24:18] erraen is now online
[12:25:27] bobry is now away
[12:25:28] aries.ua is now online
[12:26:32] imbolc name is now xa
[12:28:10] pc_ is now away
[12:29:20] erraen is now online
[12:29:41] gigimon is now online
[12:30:30] bobry is now away
[12:30:30] aries.ua is now online
[12:30:31] tilarids is now offline
[12:31:01] gigimon: никто с gearman не работал?
[12:31:34] imbolc name is now xa
[12:34:21] erraen is now online
[12:35:28] pc_ is now online
[12:35:32] bobry is now away
[12:35:33] aries.ua is now online
[12:36:36] imbolc name is now xa
[12:39:22] erraen is now online
[12:40:28] pc_ is now away
[12:40:34] bobry is now away
[12:40:36] aries.ua is now online
[12:41:38] imbolc name is now xa
[12:42:15] imbolc name is now online
[12:42:15] imbolc name is now online
[12:44:23] erraen is now online
[12:45:36] bobry is now away
[12:45:38] aries.ua is now online
[12:46:40] imbolc name is now online
[12:47:53] nmk is now online
[12:49:25] erraen is now online
[12:49:53] огыешсук is now online
[12:49:59] огыешсук is now offline
[12:50:15] огыешсук is now online
[12:50:28] pc_ is now xa
[12:50:37] bobry is now away
[12:50:40] aries.ua is now online
[12:51:42] imbolc name is now online
[12:53:53] levsha is now xa
[12:54:27] erraen is now online
[12:55:40] bobry is now away
[12:55:42] aries.ua is now online
[12:55:44] biert is now away
[12:56:43] imbolc name is now online
[12:58:07] nott is now away
[12:59:09] nott is now online
[12:59:28] erraen is now online
[13:00:41] bobry is now away
[13:00:43] aries.ua is now online
[13:01:44] imbolc name is now online
[13:03:46] biert is now online
[13:04:18] _lorien is now online
[13:04:29] erraen is now online
[13:04:52] aries.ua: biert сорри. только сел за комп и увидел ваш вопрос. Вообще там хитрая система. Была взята линуха, на ней под вайном постевлена 1С. К нем подрублен кассовый аппарат через самописные драйвера для кассового. Дрова на питоне. Такие компы ставятся в киоски по продаже табачной продукции. Весь товар отпускался через сканер штрихкода. В итоге - хрен кто мог залезть и что-то подправить в линухе. Ну и синхронизация была в фоне с центральной базой :)
[13:05:20] dpwiz is now online
[13:05:43] bobry is now away
[13:05:46] aries.ua is now online
[13:05:50] aries.ua: Хотя надо было написать чистого клиента и выкинуть 1С вообще. :)
[13:05:56] aries.ua: Но времени было в обрез.
[13:06:14] biert: нифига себе система, наверное большая сеть если такие извращения
[13:06:29] aries.ua: Самая крупная розничная сеть города Николаев
[13:06:32] aries.ua: Украина :)
[13:06:47] imbolc name is now online
[13:07:12] aries.ua: я правда там уже год как не работаю и с бухгалтерий подвязал :)
[13:07:25] aries.ua: Щас больше на вебе. Душа к нему лежит :)
[13:08:07] biert: а вообще на чем писал ?
[13:08:22] aries.ua: сейчас или там?
[13:08:42] Rid is now online
[13:08:56] biert: вообще
[13:09:31] erraen is now online
[13:10:23] Rid is now online
[13:10:45] bobry is now away
[13:10:47] aries.ua is now online
[13:11:12] dicos is now away
[13:11:14] dicos is now online
[13:11:49] imbolc name is now online
[13:14:33] erraen is now online
[13:15:24] Rid is now online
[13:15:46] bobry is now away
[13:15:48] aries.ua is now online
[13:16:03] _lorien is now away
[13:16:50] imbolc name is now online
[13:19:35] erraen is now online
[13:20:26] Rid is now online
[13:20:39] biert is now away
[13:20:49] bobry is now away
[13:20:49] aries.ua is now online
[13:21:51] imbolc name is now online
[13:23:55] wistful is now online
[13:24:35] erraen is now online
[13:25:06] pc_ is now online
[13:25:28] Rid is now online
[13:25:50] bobry is now away
[13:25:51] aries.ua is now online
[13:25:58] _lorien is now xa
[13:26:52] imbolc name is now online
[13:28:01] dpwiz is now offline
[13:28:35] Darth Лис is now online
[13:28:53] Darth Лис is now offline
[13:29:37] erraen is now online
[13:30:29] Rid is now online
[13:30:51] aries.ua is now online
[13:30:52] bobry is now away
[13:31:24] dpwiz is now online
[13:31:55] imbolc name is now online
[13:33:06] xa4a is now online
[13:33:26] biert is now online
[13:34:38] erraen is now online
[13:35:31] Rid is now online
[13:35:52] aries.ua is now online
[13:35:54] bobry is now away
[13:36:57] imbolc name is now online
[13:38:03] kr0t is now Да, я здесь.
[13:39:26] erraen is now online
[13:40:01] slav0nic is now xa
[13:40:34] Rid is now online
[13:40:54] aries.ua is now online
[13:40:55] bobry is now away
[13:41:58] imbolc name is now online
[13:43:10] pc_ is now away
[13:43:18] biert is now offline
[13:43:43] biert is now online
[13:44:27] erraen is now online
[13:45:36] Rid is now online
[13:45:56] aries.ua is now online
[13:45:56] bobry is now away
[13:46:59] imbolc name is now online
[13:49:05] Typhon is now away
[13:49:29] erraen is now online
[13:50:38] Rid is now online
[13:50:57] aries.ua is now online
[13:50:59] bobry is now away
[13:52:01] imbolc name is now online
[13:53:10] pc_ is now xa
[13:54:26] pc_ is now online
[13:54:29] erraen is now online
[13:55:41] Rid is now online
[13:55:59] aries.ua is now online
[13:56:01] bobry is now away
[13:57:02] imbolc name is now online
[13:59:31] erraen is now online
[14:00:41] Rid is now online
[14:01:00] aries.ua is now online
[14:01:03] bobry is now away
[14:02:03] imbolc name is now online
[14:04:32] erraen is now online
[14:05:42] Rid is now online
[14:06:01] aries.ua is now online
[14:06:02] Typhon is now online
[14:06:04] bobry is now away
[14:06:06] tilarids is now online
[14:06:09] огыешсук is now away
[14:07:04] imbolc name is now online
[14:07:21] огыешсук is now online
[14:07:53] Typhon is now away
[14:08:38] Typhon is now online
[14:08:54] imbolc name is now offline
[14:09:35] erraen is now online
[14:09:35] deepwalker is now online
[14:10:45] Rid is now online
[14:11:03] aries.ua is now online
[14:11:07] bobry is now away
[14:12:18] biert is now offline
[14:13:28] biert is now online
[14:14:09] gf is now offline
[14:14:34] gf is now online
[14:14:36] erraen is now online
[14:15:02] _lorien is now online
[14:15:46] Rid is now online
[14:16:04] aries.ua is now online
[14:16:10] bobry is now away
[14:19:16] огыешсук is now offline
[14:19:37] erraen is now online
[14:20:11] огыешсук is now online
[14:20:49] Rid is now online
[14:21:05] aries.ua is now online
[14:21:11] bobry is now away
[14:24:39] erraen is now online
[14:24:42] _lorien is now away
[14:24:50] _lorien is now online
[14:25:51] Rid is now online
[14:25:56] Typhon is now away
[14:26:06] aries.ua is now online
[14:26:12] bobry is now away
[14:26:32] gf is now online
[14:29:41] erraen is now online
[14:30:53] Rid is now online
[14:31:08] aries.ua is now online
[14:31:14] bobry is now away
[14:32:36] Typhon is now online
[14:34:42] erraen is now online
[14:35:53] Rid is now online
[14:36:04] nott is now away
[14:36:09] aries.ua is now online
[14:36:15] bobry is now away
[14:39:44] erraen is now online
[14:40:05] огыешсук is now offline
[14:40:07] огыешсук is now online
[14:40:55] Rid is now online
[14:41:11] aries.ua is now online
[14:41:17] bobry is now away
[14:43:00] gigimon is now online
[14:43:44] MAVr is now Да, я здесь.
[14:44:45] erraen is now online
[14:45:56] Rid is now online
[14:46:12] nott is now online
[14:46:13] aries.ua is now online
[14:46:18] bobry is now away
[14:48:21] _lorien is now away
[14:49:47] erraen is now online
[14:50:58] Rid is now online
[14:51:15] aries.ua is now online
[14:51:21] bobry is now away
[14:54:48] erraen is now online
[14:55:35] nott is now away
[14:55:54] MAVr is now away
[14:55:55] MAVr is now away
[14:56:01] Rid is now online
[14:56:16] aries.ua is now online
[14:56:22] bobry is now away
[14:58:18] _lorien is now xa
[14:59:49] erraen is now online
[15:01:05] Rid is now online
[15:01:17] aries.ua is now online
[15:01:24] bobry is now away
[15:04:38] gigimon is now online
[15:04:51] erraen is now online
[15:05:10] MAVr is now Да, я здесь.
[15:06:06] Rid is now online
[15:06:20] aries.ua is now online
[15:06:26] bobry is now away
[15:08:00] dicos is now offline
[15:09:53] erraen is now online
[15:11:09] Rid is now online
[15:11:21] nott is now online
[15:11:22] aries.ua is now online
[15:11:27] bobry is now away
[15:14:54] erraen is now online
[15:16:10] Rid is now online
[15:16:24] aries.ua is now online
[15:16:29] bobry is now away
[15:17:28] pc_ is now away
[15:17:49] pc_ is now online
[15:19:56] erraen is now online
[15:20:49] tilarids is now away
[15:21:11] Rid is now online
[15:21:26] aries.ua is now online
[15:21:30] bobry is now away
[15:21:35] Typhon is now away
[15:21:36] Typhon is now online
[15:21:38] Typhon is now away
[15:22:35] огыешсук is now offline
[15:22:56] Typhon is now online
[15:23:42] Typhon is now away
[15:23:43] Typhon is now online
[15:23:45] Typhon is now away
[15:23:46] Typhon is now online
[15:24:00] bobry is now offline
[15:24:57] erraen is now online
[15:26:13] Rid is now online
[15:26:27] aries.ua is now online
[15:29:07] nott is now away
[15:29:58] erraen is now online
[15:30:49] tilarids is now xa
[15:31:15] Rid is now online
[15:31:26] bobry is now away
[15:31:26] bobry is now away
[15:31:29] aries.ua is now online
[15:32:51] bobry is now away
[15:33:07] tilarids is now online
[15:34:31] nott is now online
[15:35:00] erraen is now online
[15:35:45] Rid is now offline
[15:35:59] xa4a is now away
[15:36:32] aries.ua is now online
[15:37:53] bobry is now away
[15:39:17] pc_ is now away
[15:40:01] erraen is now online
[15:41:33] aries.ua is now online
[15:42:54] bobry is now away
[15:45:03] erraen is now online
[15:45:14] xa4a is now online
[15:46:34] aries.ua is now online
[15:47:55] bobry is now away
[15:49:17] pc_ is now xa
[15:50:05] erraen is now online
[15:51:36] aries.ua is now online
[15:52:08] Typhon is now online
[15:52:08] Typhon is now away
[15:52:35] xa4a is now away
[15:52:58] bobry is now away
[15:55:06] erraen is now online
[15:56:37] aries.ua is now online
[15:57:59] bobry is now away
[15:59:12] gf is now online
[16:00:00] magic_pony is now online
[16:00:08] erraen is now online
[16:00:38] magic_pony is now online
[16:00:39] magic_pony is now online
[16:00:57] cutwater is now online
[16:01:39] aries.ua is now online
[16:03:02] bobry is now away
[16:04:34] Typhon is now away
[16:04:38] Typhon is now online
[16:05:09] erraen is now online
[16:06:41] aries.ua is now online
[16:08:03] bobry is now away
[16:08:10] wistful is now offline
[16:08:15] tilarids is now offline
[16:08:41] pc_ is now online
[16:10:08] xa4a is now away
[16:10:10] erraen is now online
[16:11:43] aries.ua is now online
[16:13:05] bobry is now away
[16:13:49] pc_ is now away
[16:14:07] огыешсук is now online
[16:15:12] erraen is now online
[16:16:44] aries.ua is now online
[16:16:54] Typhon is now away
[16:17:50] Typhon is now online
[16:18:08] bobry is now away
[16:20:14] erraen is now online
[16:21:44] aries.ua is now online
[16:22:08] xa4a is now away
[16:22:12] xa4a is now online
[16:23:11] bobry is now away
[16:23:49] pc_ is now xa
[16:24:27] Sofcom is now online
[16:25:16] erraen is now online
[16:26:46] aries.ua is now online
[16:28:13] bobry is now away
[16:29:23] cutwater is now away
[16:30:18] erraen is now online
[16:31:48] aries.ua is now online
[16:33:15] bobry is now away
[16:35:19] erraen is now online
[16:36:18] pc_ is now online
[16:36:50] aries.ua is now online
[16:37:08] MAVr is now away
[16:37:10] MAVr is now away
[16:37:48] MAVr is now Да, я здесь.
[16:38:17] bobry is now away
[16:40:20] erraen is now online
[16:41:51] aries.ua is now online
[16:43:19] bobry is now away
[16:44:56] Typhon is now away
[16:45:21] erraen is now online
[16:46:54] aries.ua is now online
[16:48:21] bobry is now away
[16:49:23] cutwater is now xa
[16:50:22] erraen is now online
[16:51:58] aries.ua is now online
[16:53:14] gigimon: хы
[16:53:17] xa4a is now away
[16:53:20] gigimon: в lxml xpath работает не совсем по правилам
[16:53:23] bobry is now away
[16:53:33] gigimon: descendant:: и // не равны
[16:53:51] deepwalker is now offline
[16:53:55] deepwalker is now online
[16:53:56] deepwalker is now online
[16:54:00] deepwalker is now online
[16:55:23] erraen is now online
[16:55:32] xa4a is now online
[16:57:00] aries.ua is now online
[16:58:27] bobry is now away
[17:00:24] erraen is now online
[17:02:01] aries.ua is now online
[17:02:30] cutwater is now online
[17:02:53] gf is now offline
[17:02:55] gf is now online
[17:03:29] bobry is now away
[17:04:49] Typhon is now online
[17:05:26] erraen is now online
[17:07:03] aries.ua is now online
[17:07:15] nightOwl is now offline
[17:08:31] bobry is now away
[17:10:27] erraen is now online
[17:12:05] aries.ua is now online
[17:12:56] Typhon is now away
[17:13:33] bobry is now away
[17:15:29] erraen is now online
[17:16:07] Sofcom is now away
[17:16:07] Sofcom is now away
[17:16:25] Sofcom is now away
[17:16:25] Sofcom is now online
[17:16:47] MAVr is now away
[17:16:48] MAVr is now away
[17:17:07] aries.ua is now online
[17:18:34] bobry is now away
[17:19:46] pc_ is now away
[17:20:31] erraen is now online
[17:22:08] aries.ua is now online
[17:22:40] Sofcom is now away
[17:22:40] Sofcom is now away
[17:23:13] Typhon is now online
[17:23:36] bobry is now away
[17:24:01] Sofcom is now away
[17:24:01] Sofcom is now online
[17:25:32] erraen is now online
[17:26:43] MAVr is now xa
[17:26:43] MAVr is now xa
[17:27:10] aries.ua is now online
[17:28:39] bobry is now away
[17:28:49] cutwater is now away
[17:29:45] pc_ is now xa
[17:30:33] erraen is now online
[17:30:33] Сволота is now online
[17:30:34] огыешсук is now away
[17:31:00] огыешсук is now online
[17:32:12] aries.ua is now online
[17:33:40] bobry is now away
[17:34:10] cutwater is now online
[17:35:34] erraen is now online
[17:37:15] aries.ua is now online
[17:38:42] bobry is now away
[17:39:08] nott is now away
[17:39:10] gf is now online
[17:40:04] aries.ua: gigimon ты проверь, правильно ли тебе строится дерево. Я кстати нарвался пару дней назад на то, что HTML и дерево было разным :) И происходила ж...а
[17:40:14] aries.ua: пришлось на участок кода применять регулярку
[17:40:36] erraen is now online
[17:40:53] gigimon: ну просто в доке по xpath пишут, что // это кратка язапись descendant
[17:40:59] gigimon: но возвращает разное количество полей)
[17:41:44] gigimon: In [32]: len(t.xpath("descendant::td[normalize-space(text())='EBS-backed']/.."))
Out[32]: 12
In [33]: len(t.xpath("//td[normalize-space(text())='EBS-backed']/.."))
Out[33]: 14
[17:41:59] MAVr is now Да, я здесь.
[17:42:09] gf is now online
[17:42:13] Sofcom is now offline
[17:42:17] aries.ua is now online
[17:42:17] gigimon: // идет от начала вообще дерева, descendant:: от корня узла, из которого вызываю
[17:42:26] nott is now online
[17:43:44] bobry is now away
[17:43:50] aries.ua: надо запомнить. Хотя я использовал только //
[17:45:20] xa4a is now away
[17:45:37] erraen is now online
[17:46:30] biert is now offline
[17:46:40] xa4a is now online
[17:47:18] aries.ua is now online
[17:48:45] bobry is now away
[17:50:38] erraen is now online
[17:52:20] aries.ua is now online
[17:53:47] bobry is now away
[17:55:39] erraen is now online
[17:56:17] dicos is now online
[17:57:22] aries.ua is now online
[17:58:49] bobry is now away
[18:00:41] erraen is now online
[18:01:51] tilarids is now online
[18:01:57] _lorien is now online
[18:02:24] aries.ua is now online
[18:02:50] nott is now away
[18:03:51] bobry is now away
[18:03:52] _lorien: gigimon, почему не поправил, вроде логично всё, что // от корня, а descendant:: от текущего элемента
[18:04:02] _lorien: .// вот так будет то же самое от текущего
[18:04:10] _lorien: * не по правилами
[18:05:43] erraen is now online
[18:06:42] огыешсук is now away
[18:07:28] aries.ua is now online
[18:07:52] огыешсук is now online
[18:08:21] gigimon: descendant:: — можно заменить на «//»
[18:08:54] bobry is now away
[18:09:07] Сволота: /me уже и не помнит что за ось такая descendant
[18:09:59] gigimon: но наверно все же википедия наебывает, т.к. в стандарте я не нашел что // и descendant одно и тоэже
[18:10:45] erraen is now online
[18:12:25] Сволота: помню только короткие формы, ими же и пользуюсь
[18:12:29] aries.ua is now online
[18:13:17] bobry is now away
[18:13:17] bobry is now online
[18:13:17] bobry is now online
[18:13:56] bobry is now online
[18:14:57] xa4a: gigimon: исправь википедию
[18:15:04] bugi is now online
[18:15:04] gigimon: уже)
[18:15:15] bugi: Всем привет
[18:15:19] gigimon: ку
[18:15:45] erraen is now online
[18:16:42] dpwiz is now offline
[18:17:04] gf is now offline
[18:17:31] aries.ua is now online
[18:17:49] _lorien: http://www.w3schools.com/xpath/xpath_syntax.asp я по xpath всегда тут смотрю
[18:18:03] _lorien: я выше кстати написал неправильно // - это не от корян, это просто где угдоно, от корня это /
[18:18:55] gigimon: _lorien: хорошая страничка, спс
[18:18:58] bobry is now online
[18:20:47] erraen is now online
[18:20:48] bobry is now away
[18:20:48] bobry is now away
[18:20:48] bobry is now away
[18:20:48] bobry is now away
[18:22:33] aries.ua is now online
[18:22:39] Typhon is now away
[18:23:24] bugi: Ребят, такой вот тупой вопрос, что можно использовать в питоне как треды (по принципу работы, не должно локать скрипт) но не threading
[18:24:00] bobry is now away
[18:24:30] cutwater: multithreading
[18:24:34] cutwater: *multiprocessing
[18:24:45] bugi: спасибо, сейчас буду гуглить
[18:25:02] cutwater: Тебе надо выполнять код сразу на нескольких ядрах?
[18:25:49] erraen is now online
[18:26:07] bugi: нет, мне нужно чтобы скрипт который висит как демон читал сокет, отрабатывал его, но во время обработки данных скрипт локается, тоисть не читает сокет дальше пока не отработает код
[18:26:15] bugi: и нужно короче чтобы такого небыло :)
[18:27:04] cutwater: лол
[18:27:35] aries.ua is now online
[18:28:02] cutwater: ну во-первых тебе хватит и threading
[18:28:34] bugi: да, я понимаю, просто начальнике сказал что это говно, потому я хочу посмотреть сначала альтернативы и сам все узнать :)
[18:28:35] cutwater: во-вторых используй асинхронные вызовы
[18:28:43] cutwater: начальнике идиот?
[18:28:50] bugi: асинхронные вызовы на 1 скрипт? это как?
[18:29:02] bobry is now away
[18:29:22] cutwater: еще раз, проблема у тебя не в GIL, значит процессинг тебе по большому счету не нужен
[18:30:44] cutwater: xa4a: или я заблуждаюсь?
[18:30:48] bugi: просто нагрузка будет не маленькая, нужно почитать как треды ещё систему вгружают. Ну это я так, про себя :)
[18:30:50] erraen is now online
[18:30:58] _lorien: bugi, почитай http://krondo.com/blog/?p=1247
[18:30:59] _lorien: нах тебе треды
[18:31:05] _lorien: асинхронный сокет нужен тебе
[18:31:10] _lorien: треды и большая нагрузка это хуйня
[18:31:19] bugi: я юзаю ZeroMQ
[18:31:22] _lorien: треды это вообще хуйня :)
[18:31:25] bugi: для работы с сокетами
[18:32:03] cutwater: /me вообще потерял нить логики. смешались в кучу кони люди
[18:32:03] bugi: _lorien: спасибо, сейчас почитаю
[18:32:04] xa4a: bugi: есть один главный тред и пул обработчиков
[18:32:09] Typhon is now online
[18:32:18] xa4a: когда приходит новый запрос, главный тред его читает и отдаёт свободному обработчику
[18:32:23] xa4a: все довольны
[18:32:36] xa4a: причём отдаёт свободному обработчику ~= кладёт в Queue.Queue()
[18:32:37] aries.ua is now online
[18:32:37] cutwater: Ну и тут уже можно таки сделать мультипроцессинг
[18:32:42] bugi: xa4a: это ты о threading? это я знаю
[18:32:44] xa4a: откуда обработчики по мере освобождения читают
[18:33:02] xa4a: bugi: таким образом у тебя главный тред не блокируется
[18:33:03] cutwater: Собственно как и работают все эти ваши twisted и boost::asio по большому счету
[18:33:25] _lorien: а можно без пула, просто пул сокетов, когда какой-то сокет что-то прочитал, запоминаем это, когда сокет закончил читать, обрабатываем данные - асинхронный подход
[18:33:35] bugi: xa4a: я знаю что с тредами все ок в даном случае, я говорю что локается сам скрипт а не тред, сейчас дам пример
[18:33:45] xa4a: да, давай уже)
[18:33:57] cutwater: локается сам скрипт WTF?
[18:34:04] bobry is now away
[18:34:30] огыешсук is now offline
[18:34:44] xa4a: _lorien: это не стоит называть пулом сокетов
[18:34:58] _lorien: а как называть?
[18:35:06] xa4a: и это всё-равно будет блокироваться, пока данные обрабатываются
[18:35:36] _lorien: ну да, блокировка для обработки данных, но по сравненю с временем IO она ничтожна
[18:35:42] _lorien: если там не через жопу она сделана
[18:35:52] erraen is now online
[18:36:14] xa4a: _lorien: читай задачу выше. учаснег не хочет, чтобы сервер блокировался для новых конектов, видимо, пока данные обрабатываются
[18:36:25] _lorien: хотя стоп
[18:36:27] xa4a: "bugi
нет, мне нужно чтобы скрипт который висит как демон читал сокет, отрабатывал его, но во время обработки данных скрипт локается, тоисть не читает сокет дальше пока не отработает код
и нужно короче чтобы такого небыло "
[18:36:30] _lorien: сокеты то не блокируются
[18:36:34] _lorien: они продолжают данные читать
[18:36:43] bugi: да, но читаются то они как?
[18:36:48] bugi: в while True:
[18:36:53] cutwater: охщи
[18:36:55] xa4a: bugi: не отвлекайся. ищи пример)
[18:37:08] _lorien: почему while True, там сокеты в неблокируемом режиме должны быть
[18:37:21] _lorien: и по ним select делается
[18:37:27] cutwater: select, epoll etc.
[18:37:30] cutwater: gevent etc.
[18:37:35] bugi: import zmq
import md5
context = zmq.Context()
server = context.socket(zmq.PULL)
server.bind('tcp://192.168.100.65:5000')
while True:
message = server.recv()
m = md5.new()
# works 200 ms
for i in range(1, 150000):
m.update(str(i))
m.digest()
[18:37:38] aries.ua is now online
[18:37:44] cutwater: bugi: ты про pastebin не слышал?
[18:37:49] bugi: сорри посоны
[18:37:50] bugi: забыл :)
[18:37:52] bugi: сек
[18:37:54] cutwater: bugi: ну это хуевый код да
[18:37:54] slav0nic is now offline
[18:38:01] cutwater: на правах троллинга, может ты рано с php ушел
[18:38:13] bugi: cutwater: толсто
[18:38:24] cutwater: bugi: теперь опиши таки задачу
[18:38:26] _lorien: а чо делает zmq?
[18:38:33] bugi: работает с сокетами
[18:38:34] cutwater: получает сообщения вестимо
[18:38:57] bugi: http://pastebin.com/cuAB8qPr
[18:39:05] cutwater: for i in range(1, 150000):
о б-ги штоэта
[18:39:07] bobry is now away
[18:39:10] bugi: та просто пример
[18:39:11] bugi: еба
[18:39:14] bugi: чего ты пристал?
[18:39:44] xa4a: bugi: как я выше написал
[18:39:53] xa4a: один тред принимает сокеты и складывает в очередь
[18:39:56] cutwater: bugi: +1 к xa4a про асинхронный подход тебе уже сказали
[18:40:12] xa4a: в пуле каждый поток выбирает по сокету и делает ему # works 200 ms
[18:40:20] xa4a: и складывает результат в другую очередь
[18:40:39] xa4a: ещё один поток из второй очереди делает m.update() или что там
[18:40:39] gigimon: а зачем тут zeromq?
[18:40:42] bugi: xa4a: Да, я эту штуку уже реализовал, все работает кул, данные с сокетов попадают в пул, пул кидает на треды, все крутяк. Я спросил, есть ли ещё какой-то способ такое сделать не используя threading?
[18:40:53] erraen is now online
[18:40:57] bugi: gigimon: а потому-что он дает пару удобных фич которые нам нужны
[18:41:20] xa4a: bugi: да, но будет много секса
[18:41:29] xa4a: ну хм
[18:41:43] xa4a: заюзай свой же zmq. запусти пул обработчиков во внешних процессах
[18:41:52] xa4a: и IPC через zmq вместо очереди обычной
[18:41:57] xa4a: dc` jcnfkmyjt - nj ;t cfvjt
[18:41:59] xa4a: !decode
[18:42:31] bugi: xa4a: нужно просто оптимально все написать, нагрузка будет примерно 1к-1,5к запросов в секунду :)
[18:42:41] aries.ua is now online
[18:43:01] xa4a: ну… как бы...
[18:43:03] xa4a: бенчмаркай
[18:43:16] gigimon: все зависит от запросов
[18:43:26] gigimon: мож там пинг и ответить понг, тогда все будет работать одинаково
[18:43:55] bugi: gigimon: не, там нужно будет много инфы анализировать, минимум 3-5 запросов за дынными
[18:44:09] bobry is now away
[18:44:11] xa4a: на правах троллинга, может тебе просто нужен erlang?
[18:44:24] gigimon: :D
[18:45:05] bugi: не, спасибо
[18:45:16] bugi: мы будем писать паралельно 2 системы, 1 на питоне и одну на С
[18:45:36] bugi: просто пока ещё не знаем будет ли оно так круто на С как кажется
[18:45:54] erraen is now online
[18:47:43] aries.ua is now online
[18:48:53] xa4a is now away
[18:49:11] bobry is now away
[18:50:56] erraen is now online
[18:51:46] xa4a is now online
[18:52:22] cutwater is now away
[18:52:44] aries.ua is now online
[18:54:13] bobry is now away
[18:54:47] Typhon is now away
[18:55:57] erraen is now online
[18:57:48] aries.ua is now online
[18:58:32] Typhon is now online
[18:59:16] bobry is now away
[19:00:59] erraen is now online
[19:02:46] MAVr is now away
[19:02:47] MAVr is now away
[19:02:49] aries.ua is now online
[19:04:18] bobry is now away
[19:06:00] erraen is now online
[19:06:47] MAVr is now Да, я здесь.
[19:07:53] aries.ua is now online
[19:09:19] bobry is now away
[19:09:43] Typhon is now away
[19:11:03] erraen is now online
[19:11:19] MAVr is now offline
[19:12:14] bugi: xa4a: слушай, получается нужно юзать всего 1 тред чтобы небыло GIL?
[19:12:21] cutwater is now xa
[19:12:31] xa4a: я не понимаю о чём ты
[19:12:36] xa4a: GIL будет всё-равно
[19:12:55] aries.ua is now online
[19:13:39] bugi: ну я в плане что вне зависимости от того что там происходите в треде, в том же самом скрипте я спокойно смогу читать из сокета и складывать в пул все?
[19:14:12] xa4a: в каком треде, в каком скрипте?
[19:14:21] bobry is now away
[19:14:33] xa4a: если у тебя в треде что-то происходит, то одновременно с чем-то он не сможет читать из сокета, или складывать в очередь
[19:15:24] bugi: # тут работает тред
while True:
# читаем из сокета
# добавляем в пул
[19:15:34] bugi: я имею ввиду такую схему
[19:15:37] _lorien is now offline
[19:15:52] xa4a: такая схема будет быстро читать из сокета и класть в очередь
[19:16:00] xa4a: без лишних блокировок
[19:16:04] erraen is now online
[19:16:13] bugi: ок, спс
[19:16:15] xa4a: только не "добавляем в пул", а кладём в очередь
[19:16:22] bugi: да, конечно, простите
[19:16:29] gigimon: бр
[19:16:42] xa4a: но если у тебя будет только один такой треда, то данные никто обрабатывать не будет
[19:17:06] bugi: xa4a: ну будет обрабатывать только 1 тред
[19:17:14] bugi: брать из очереди и обратабывать
[19:17:23] bugi: просто тут важно чтобы из сокета читалось норм
[19:17:45] xa4a: просто важно, чтобы читал из сокета и обрабатывал не один и тот же тред
[19:17:57] aries.ua is now online
[19:17:58] xa4a: у тебя разные треды будут по-любому, если хочешь асинхронность обработки данных и приёма соединений. только если ты не хочешь threading, то разные треды прийдётся держать в разных процессах, а значит для их синхронизации вместо Queue() тебе надо будет что-то другое, например zmq
[19:18:55] bugi: xa4a: я просто вот статейку читаю: http://blog.snaplogic.com/?p=94
[19:19:24] bobry is now away
[19:19:59] xa4a: алгоритм следующий:
[19:20:01] bugi: The Python interpreter is not fully thread-safe. In order to support multi-threaded Python programs, there’s a global lock, called the global interpreter lock or GIL, that must be held by the current thread before it can safely access Python objects. Without the lock, even the simplest operations could cause problems in a multi-threaded program: for example, when two threads simultaneously increment the reference count of the same object, the reference count could end up being incremented only once instead of twice.
[19:20:07] bugi: и вот это меня не очень радует
[19:20:12] xa4a: сделать простое решение на питон-threading
[19:20:14] bugi: это правда из другой статьи
[19:20:18] xa4a: отбенчмаркать его
[19:20:24] xa4a: если будет не достаточно, то:
[19:20:56] xa4a: а) переписать обработку на С, так, чтобы на вермя обработки GIL отдавался
[19:21:04] xa4a: б) использовать multiprocessing
[19:21:06] erraen is now online
[19:21:35] xa4a: в) написать свой multiprocessing с блекджеком и zmq
[19:22:23] xa4a: где zmq - любой IPC: сокеты, tcp, файлы, rpc
[19:22:49] bugi: xa4a: ну понятно, спасибо, сейчас буду разбираться
[19:22:59] xa4a: (это если очень хотеть реализацию "на питоне")
[19:22:59] aries.ua is now online
[19:23:08] bugi: просто почитай ту вырезку что я раньше кинул, это с оффсайта питона
[19:23:13] xa4a: я читал
[19:24:26] bobry is now away
[19:24:42] cutwater is now online
[19:26:07] erraen is now online
[19:28:02] aries.ua is now online
[19:28:08] Сволота is now away
[19:29:29] bobry is now away
[19:29:43] Typhon is now away
[19:31:08] erraen is now online
[19:32:23] dicos is now away
[19:32:25] dicos is now away
[19:32:27] dicos is now away
[19:32:28] dicos is now online
[19:32:55] Tony is now online
[19:33:04] aries.ua is now online
[19:33:21] erraen is now offline
[19:33:32] Typhon is now away
[19:33:35] Typhon is now online
[19:33:38] erraen is now online
[19:34:00] erraen is now online
[19:34:30] bobry is now away
[19:34:45] gigimon is now offline
[19:38:07] aries.ua is now online
[19:39:02] erraen is now online
[19:39:32] bobry is now away
[19:41:45] cutwater is now away
[19:43:09] aries.ua is now online
[19:44:04] erraen is now online
[19:44:34] bobry is now away
[19:47:15] Typhon is now away
[19:48:07] Сволота is now xa
[19:48:11] aries.ua is now online
[19:49:05] erraen is now online
[19:49:35] bobry is now away
[19:51:30] pc_ is now online
[19:52:44] dicos is now away
[19:52:46] dicos is now away
[19:53:03] Typhon is now online
[19:53:14] aries.ua is now online
[19:54:07] erraen is now online
[19:54:37] bobry is now away
[19:55:38] dicos is now away
[19:55:40] dicos is now online
[19:56:31] pc_ is now away
[19:56:42] kostafey is now Доступен
[19:58:16] aries.ua is now online
[19:58:53] aries.ua is now offline
[19:59:09] erraen is now online
[19:59:40] bobry is now away
[19:59:43] kostafey is now Доступен
[20:01:45] cutwater is now xa
[20:03:14] erraen is now offline
[20:04:42] bobry is now away
[20:04:47] kostafey is now Доступен
[20:06:31] pc_ is now xa
[20:09:14] maxim.zemlyakov is now online
[20:09:14] maxim.zemlyakov is now online
[20:09:16] maxim.zemlyakov is now online
[20:09:16] maxim.zemlyakov is now online
[20:09:44] bobry is now away
[20:09:50] kostafey is now Доступен
[20:10:40] pc_ is now online
[20:11:02] maxim.zemlyakov is now online
[20:14:47] bobry is now away
[20:14:54] kostafey is now Доступен
[20:16:07] maxim.zemlyakov is now online
[20:19:49] bobry is now away
[20:19:54] kostafey is now Доступен
[20:21:10] maxim.zemlyakov is now online
[20:23:01] Typhon is now away
[20:24:03] bobry is now away
[20:24:03] bobry is now online
[20:24:03] bobry is now online
[20:24:32] xa4a is now away
[20:24:33] xa4a is now online
[20:24:42] xa4a is now away
[20:24:43] xa4a is now online
[20:24:51] bobry is now online
[20:24:57] kostafey is now Доступен
[20:24:59] Typhon is now online
[20:26:14] maxim.zemlyakov is now online
[20:29:46] bobry is now away
[20:29:46] bobry is now away
[20:29:46] bobry is now away
[20:29:53] bobry is now away
[20:30:00] kostafey is now Доступен
[20:31:17] maxim.zemlyakov is now online
[20:31:51] Typhon is now away
[20:31:52] Typhon is now online
[20:34:05] pc_ is now away
[20:34:55] bobry is now away
[20:35:04] kostafey is now Доступен
[20:35:26] pc_ is now online
[20:36:21] maxim.zemlyakov is now online
[20:37:45] kostafey is now offline
[20:39:10] kostafey is now Доступен
[20:39:10] kostafey is now Доступен
[20:39:57] bobry is now away
[20:40:48] kostafey is now offline
[20:41:24] maxim.zemlyakov is now online
[20:41:40] dicos is now away
[20:41:42] dicos is now away
[20:41:42] pc_ is now away
[20:43:58] nott is now online
[20:45:00] bobry is now away
[20:45:04] pc_ is now online
[20:46:27] maxim.zemlyakov is now online
[20:48:54] Typhon is now offline
[20:49:52] dicos is now away
[20:49:54] dicos is now online
[20:50:02] bobry is now away
[20:51:30] maxim.zemlyakov is now online
[20:52:42] pc_ is now away
[20:55:04] bobry is now away
[20:56:33] maxim.zemlyakov is now online
[20:56:58] kostafey is now Доступен
[20:56:58] kostafey is now Доступен
[21:00:06] bobry is now away
[21:00:33] dicos is now away
[21:00:35] dicos is now away
[21:01:16] kostafey is now Доступен
[21:01:34] kostafey is now offline
[21:01:37] maxim.zemlyakov is now online
[21:02:42] pc_ is now xa
[21:03:14] pc_ is now online
[21:03:21] dicos is now away
[21:03:23] dicos is now online
[21:05:08] bobry is now away
[21:06:42] maxim.zemlyakov is now online
[21:06:46] bobry is now away
[21:06:46] bobry is now online
[21:06:46] bobry is now online
[21:10:10] bobry is now online
[21:11:45] maxim.zemlyakov is now online
[21:13:48] bobry is now away
[21:13:48] bobry is now away
[21:14:30] bobry is now away
[21:14:30] bobry is now away
[21:14:30] bobry is now online
[21:14:30] bobry is now online
[21:15:12] bobry is now online
[21:16:50] maxim.zemlyakov is now online
[21:18:09] kostafey is now Доступен
[21:18:09] kostafey is now Доступен
[21:19:44] nmk: жж не работает?
[21:20:00] bobry is now away
[21:20:00] bobry is now away
[21:20:00] bobry is now away
[21:20:14] bobry is now away
[21:20:15] nott is now offline
[21:20:58] kostafey is now Доступен
[21:21:53] maxim.zemlyakov is now online
[21:24:18] nott is now online
[21:25:17] bobry is now away
[21:26:02] kostafey is now Доступен
[21:26:56] maxim.zemlyakov is now online
[21:27:32] xa4a: не очень
[21:30:19] bobry is now away
[21:31:02] kostafey is now Доступен
[21:32:00] maxim.zemlyakov is now online
[21:35:21] bobry is now away
[21:36:03] kostafey is now Доступен
[21:36:16] cutwater is now online
[21:36:39] maxim.zemlyakov is now offline
[21:38:20] nott is now away
[21:39:17] nott is now online
[21:40:25] bobry is now away
[21:41:06] kostafey is now Доступен
[21:45:27] bobry is now away
[21:46:09] kostafey is now Доступен
[21:46:25] огыешсук is now online
[21:48:53] cutwater is now away
[21:50:30] bobry is now away
[21:51:11] kostafey is now Доступен
[21:52:20] nmk is now offline
[21:54:02] den4ik is now online
[21:55:33] bobry is now away
[21:56:15] kostafey is now Доступен
[21:56:35] tilarids is now away
[22:00:35] bobry is now away
[22:00:53] maxim.zemlyakov is now online
[22:00:54] maxim.zemlyakov is now online
[22:00:54] maxim.zemlyakov is now online
[22:01:04] kostafey is now Доступен
[22:01:11] maxim.zemlyakov is now online
[22:02:06] tilarids is now online
[22:03:52] maxim.zemlyakov is now online
[22:05:37] bobry is now away
[22:05:48] bobry is now away
[22:05:48] bobry is now online
[22:05:48] bobry is now online
[22:06:05] kostafey is now Доступен
[22:07:02] maxim.zemlyakov is now offline
[22:07:12] tilarids is now away
[22:08:53] cutwater is now xa
[22:09:52] tilarids is now online
[22:10:40] bobry is now online
[22:11:08] kostafey is now Доступен
[22:11:13] bobry is now away
[22:11:13] bobry is now away
[22:15:43] bobry is now away
[22:15:46] tilarids is now away
[22:15:46] kostafey is now offline
[22:16:20] kostafey is now Доступен
[22:16:20] kostafey is now Доступен
[22:18:02] tilarids is now online
[22:19:10] bobry is now away
[22:19:10] bobry is now online
[22:19:10] bobry is now online
[22:20:46] bobry is now online
[22:21:10] kostafey is now Доступен
[22:24:04] cutwater is now online
[22:24:32] tilarids is now away
[22:25:48] bobry is now online
[22:25:55] bobry is now away
[22:25:55] bobry is now away
[22:25:55] bobry is now away
[22:25:58] nott is now offline
[22:26:04] bobry is now away
[22:26:04] bobry is now online
[22:26:04] bobry is now online
[22:26:11] kostafey is now Доступен
[22:26:12] levsha is now offline
[22:30:49] bobry is now online
[22:31:13] kostafey is now Доступен
[22:31:59] bugi is now offline
[22:32:37] xa4a is now away
[22:32:38] xa4a is now online
[22:34:09] огыешсук is now offline
[22:34:09] огыешсук is now online
[22:34:32] tilarids is now xa
[22:35:05] pc_ is now away
[22:35:51] bobry is now online
[22:36:14] kostafey is now Доступен
[22:36:52] tilarids is now online
[22:37:01] pc_ is now online
[22:37:57] огыешсук is now offline
[22:38:02] огыешсук is now online
[22:40:54] bobry is now online
[22:41:15] kostafey is now Доступен
[22:41:50] den4ik is now offline
[22:44:01] dicos is now away
[22:44:03] dicos is now away
[22:44:28] tilarids is now away
[22:45:39] pc_ is now away
[22:45:55] bobry is now online
[22:46:17] kostafey is now Доступен
[22:49:55] gf is now online
[22:50:58] bobry is now online
[22:51:07] dicos is now away
[22:51:09] dicos is now online
[22:51:18] kostafey is now Доступен
[22:54:28] tilarids is now xa
[22:55:39] pc_ is now xa
[22:56:01] bobry is now online
[22:56:20] kostafey is now Доступен
[23:01:02] bobry is now online
[23:01:21] kostafey is now Доступен
[23:03:44] tilarids is now online
[23:05:42] dicos is now offline
[23:06:04] bobry is now online
[23:06:23] kostafey is now Доступен
[23:11:06] bobry is now online
[23:11:24] kostafey is now Доступен
[23:14:27] cutwater is now away
[23:16:09] bobry is now online
[23:16:25] kostafey is now Доступен
[23:18:55] огыешсук is now away
[23:19:35] xa4a is now offline
[23:21:13] bobry is now online
[23:21:28] kostafey is now Доступен
[23:24:03] tilarids is now away
[23:24:13] огыешсук is now online
[23:26:15] bobry is now online
[23:26:29] kostafey is now Доступен
[23:30:06] огыешсук is now offline
[23:30:25] огыешсук is now online
[23:31:12] tilarids is now online
[23:31:16] bobry is now online
[23:31:31] kostafey is now Доступен
[23:31:46] огыешсук is now offline
[23:34:26] cutwater is now xa
[23:36:19] bobry is now online
[23:36:32] kostafey is now Доступен
[23:41:22] bobry is now online
[23:41:34] kostafey is now Доступен
[23:46:23] bobry is now online
[23:46:35] kostafey is now Доступен
[23:50:55] cutwater is now online
[23:51:28] bobry is now online
[23:51:36] kostafey is now Доступен
[23:56:31] bobry is now online
[23:56:38] kostafey is now Доступен
23:16:25]" name="[23:16:25]" class="ts">[23:16:25] kostafey is now Доступен
[23:18:55] огыешсук is now away
[23:19:35] xa4a is now offline
[23:21:13] bobry is now online
[23:21:28] kostafey is now Доступен
[23:24:03] tilarids is now away
[23:24:13] огыешсук is now online
[23:26:15] bobry is now online
[23:26:29] kostafey is now Доступен
[23:30:06] огыешсук is now offline
[23:30:25] огыешсук is now online
[23:31:12] tilarids is now online
[23:31:16] bobry is now online
[23:31:31] kostafey is now Доступен
[23:31:46] огыешсук is now offline
[23:34:27] cutwater is now xa
[23:36:19] bobry is now online
[23:36:32] kostafey is now Доступен
[23:41:22] bobry is now online
[23:41:34] kostafey is now Доступен
[23:46:23] bobry is now online
[23:46:35] kostafey is now Доступен
[23:50:55] cutwater is now online
[23:51:28] bobry is now online
[23:51:36] kostafey is now Доступен
[23:56:31] bobry is now online
[23:56:38] kostafey is now Доступен