[00:05:33] Tony is now away
[00:13:00] levsha is now offline
[00:13:32] AlexZenon is now offline
[00:13:36] AlexZenon is now xa
[00:17:00] огыешсук is now online
[00:21:51] Sasha_ is now away
[00:22:29] Sasha_ is now online
[00:26:22] mrDoctorWho is now offline
[00:26:45] огыешсук is now offline
[00:26:49] огыешсук is now online
[00:26:54] огыешсук is now offline
[00:29:12] RanWise is now ** This message was blocked by the ICQ server **
[00:30:33] Tony is now xa
[00:35:47] Sasha_ is now away
[00:37:27] Sasha_ is now online
[00:48:48] magister is now offline
[00:57:59] Sasha_ is now away
[00:58:43] Sasha_ is now online
[01:05:45] Сволота is now away
[01:06:01] Сволота is now online
[01:12:18] emese is now offline
[01:25:25] Сволота is now away
[01:35:25] Сволота is now xa
[02:00:25] Sasha_ is now away
[02:02:55] gigimon is now online
[02:10:26] Sasha_ is now xa
[02:17:13] Sasha_ is now online
[02:20:33] Сволота is now online
[02:23:42] RanWise is now offline
[02:25:35] Сволота is now away
[02:35:33] gigimon is now offline
[02:35:35] Сволота is now xa
[02:37:22] Sasha_ is now away
[02:38:21] Sasha_ is now online
[02:42:27] Сволота is now online
[02:47:53] Сволота is now away
[02:57:47] Сволота is now online
[03:02:49] Сволота is now away
[03:07:15] Сволота is now online
[03:12:15] Сволота is now away
[03:18:41] remo is now offline
[03:22:15] Сволота is now xa
[03:24:07] Сволота is now online
[03:29:09] Сволота is now away
[03:30:37] Сволота is now online
[03:42:27] Сволота is now away
[03:43:45] Сволота is now online
[03:50:29] Сволота is now away
[03:51:47] Сволота is now online
[04:21:56] blw0rm is now xa
[04:21:56] Сволота is now online
[04:21:56] Tony is now xa
[04:21:56] bliznezz is now away
[04:21:56] Sasha_ is now online
[04:21:56] yugo-salem is now xa
[04:21:56] metall1c is now xa
[04:21:56] AlexZenon is now xa
[04:21:56] magic_pony is now online
[04:21:56] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[04:52:07] blw0rm is now xa
[04:52:07] Сволота is now online
[04:52:07] Tony is now xa
[04:52:07] bliznezz is now away
[04:52:07] Sasha_ is now online
[04:52:07] yugo-salem is now xa
[04:52:07] metall1c is now xa
[04:52:07] AlexZenon is now xa
[04:52:07] magic_pony is now online
[04:52:07] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[05:22:09] blw0rm is now xa
[05:22:09] Сволота is now online
[05:22:09] Tony is now xa
[05:22:09] Sasha_ is now online
[05:22:09] yugo-salem is now xa
[05:22:09] metall1c is now xa
[05:22:09] AlexZenon is now xa
[05:22:09] magic_pony is now online
[05:22:09] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[05:22:09] bliznezz is now away
[05:49:25] Tony is now online
[06:19:32] blw0rm is now xa
[06:19:32] Сволота is now online
[06:19:32] Tony is now online
[06:19:32] bliznezz is now away
[06:19:32] Sasha_ is now online
[06:19:32] yugo-salem is now xa
[06:19:32] metall1c is now xa
[06:19:32] AlexZenon is now xa
[06:19:32] magic_pony is now online
[06:19:32] : slav0nic установил(а) тему: python.su | Сначала поищи ответ на docs.python.org | Теперь поищи в google.com | Код постить в dumpz.org | Хочешь задать вопрос - просто *задай* его! | Правила написания хорошего кода: http://➡.ws/pep8 | Логи: http://logs.python.su
[06:38:57] Сволота is now away
[06:48:57] Сволота is now xa
[06:49:09] Сволота is now online
[06:57:50] Sasha_ is now away
[06:59:19] Sasha_ is now online
[07:05:15] Сволота is now away
[07:15:15] Сволота is now xa
[07:22:00] Sasha_ is now away
[07:24:37] Сволота is now online
[07:32:01] Sasha_ is now xa
[07:32:11] Сволота is now away
[07:35:47] Сволота is now online
[07:40:47] Сволота is now away
[07:42:13] Сволота is now online
[07:48:25] Сволота is now away
[07:50:03] Сволота is now online
[07:59:29] Сволота is now away
[08:09:29] Сволота is now xa
[08:26:03] огыешсук is now online
[08:33:59] Сволота is now online
[08:41:13] Сволота is now away
[08:47:39] Сволота is now online
[08:54:25] Сволота is now away
[08:59:25] Сволота is now online
[09:08:25] Сволота is now away
[09:12:25] Сволота is now online
[09:27:58] singularity is now online
[09:35:01] Сволота is now away
[09:36:55] Сволота is now online
[09:42:15] ambush is now online
[09:49:16] aki is now online
[09:57:15] singularity is now offline
[10:08:27] Сволота is now away
[10:09:17] Сволота is now online
[10:09:59] gigimon is now online
[10:11:03] singularity is now online
[10:16:27] obivan is now online
[10:23:06] mrDoctorWho is now online
[10:28:09] singularity is now offline
[10:30:39] gigimon is now offline
[10:39:29] ambush is now away
[10:39:43] ambush is now online
[10:45:06] огыешсук is now online
[10:45:12] огыешсук is now away
[10:45:12] огыешсук is now online
[10:45:13] огыешсук is now online
[10:48:37] Сволота is now away
[10:51:51] Сволота is now online
[10:54:00] огыешсук is now offline
[10:54:53] ambush is now away
[10:59:08] singularity is now online
[11:01:40] singularity is now offline
[11:02:30] emese is now online
[11:04:36] Sasha_ is now online
[11:04:53] ambush is now xa
[11:10:34] Sasha_ is now away
[11:15:41] ambush is now online
[11:19:47] Сволота is now away
[11:20:34] Sasha_ is now xa
[11:23:44] Sasha_ is now online
[11:29:31] Сволота is now online
[11:32:52] Sasha_ is now away
[11:39:04] singularity is now online
[11:39:58] singularity is now offline
[11:40:07] singularity is now online
[11:41:45] Сволота is now away
[11:42:52] Sasha_ is now xa
[11:44:49] singularity is now offline
[11:46:25] Сволота is now online
[11:51:54] ambush is now offline
[11:51:56] ambush is now online
[11:51:59] ambush is now online
[11:51:59] ambush is now online
[11:52:01] ambush is now online
[11:55:32] obivan is now away
[11:58:09] ambush is now away
[12:00:25] ambush is now online
[12:04:40] remo is now online
[12:05:39] aki is now away
[12:05:59] obivan is now away
[12:05:59] obivan is now online
[12:07:02] magister is now online
[12:15:15] Сволота is now away
[12:16:35] Сволота is now online
[12:16:37] ambush is now offline
[12:24:55] mrDoctorWho is now offline
[12:25:00] mrDoctorWho is now online
[12:25:39] aki is now xa
[12:28:10] aki is now online
[12:28:13] singularity is now online
[12:29:12] singularity is now offline
[12:29:13] singularity is now online
[12:31:42] singularity is now online
[12:32:52] singularity is now offline
[12:38:17] obivan is now away
[12:46:13] огыешсук is now online
[12:54:43] mrDoctorWho is now away
[12:55:18] Sasha_ is now online
[13:01:00] obivan is now online
[13:03:44] VeeSot is now online
[13:03:44] Sasha_ is now away
[13:03:54] Sasha_ is now online
[13:05:47] Сволота is now away
[13:06:41] obivan is now offline
[13:06:55] obivan is now online
[13:07:11] Сволота is now online
[13:14:43] mrDoctorWho is now xa
[13:15:57] огыешсук is now offline
[13:23:24] VeeSot is now away
[13:24:23] VeeSot is now online
[13:28:56] Sasha_ is now away
[13:37:35] Сволота is now away
[13:38:50] mrDoctorWho is now online
[13:38:56] Sasha_ is now xa
[13:40:06] mrDoctorWho is now offline
[13:40:17] Сволота is now online
[13:40:43] mrDoctorWho is now online
[13:45:13] singularity is now online
[13:46:24] singularity is now offline
[13:48:02] VeeSot is now offline
[13:49:17] Сволота is now away
[13:52:35] singularity is now online
[13:52:41] singularity is now offline
[13:55:21] Sasha_ is now online
[13:56:17] remo: first, *rest = [9, 2, -4, 8, 7]
[13:56:26] remo: двойка такое не умеет ?
[13:58:23] Сволота is now online
[14:05:32] VeeSot is now online
[14:06:46] emese is now away
[14:06:48] emese is now away
[14:07:10] VeeSot: Добрый день.Есть файл(текстовы) на милион строк.Возможно получить строку номер 9999,не читая весь файл?
[14:09:42] VeeSot: linecache не подходит,ибо требует создание кэша,а для кэша нехватает памяти.
[14:10:49] Sasha_ is now away
[14:12:10] emese is now away
[14:12:11] emese is now online
[14:12:27] singularity is now online
[14:12:48] singularity: VeeSot: да
[14:13:25] VeeSot: singularity, как?
[14:13:42] aki is now offline
[14:13:54] VeeSot: строки разной длины.
[14:14:03] singularity: for line in open('really_big_file.dat'): process_data(line)
[14:14:05] singularity: и?
[14:14:16] singularity: эта ж линивая хрень
[14:14:23] singularity: все в память не берет
[14:16:50] VeeSot: singularity, ну да.Мы проитетрируемся по строчно.И что на это даст?
[14:17:26] VeeSot: разве это дает возможность получить произвольную строку и ее содержимое?
[14:19:47] VeeSot: Чувствую,надо было книжки по Си читать =).Там рассматривается многие фундаментальные особенности и работа с памятью.
[14:20:48] Sasha_ is now xa
[14:21:57] VeeSot: Просто номера строки у меня есть,но как по нему получить содержимое,которое находится в этой строке(если вообще такое возможно) - я не знаю.Мапить в память через mmap - тоже не выйдет.Файл гораздо больше чем память,что есть в наличии.
[14:22:19] singularity: VeeSot: блять . Заводишь себе i пропускаешь до 1000
[14:24:38] remo: VeeSot: http://stackoverflow.com/questions/2081836/reading-specific-lines-only-python
[14:24:55] remo: VeeSot: нагуглилось по python access to some line in file
[14:25:26] remo: VeeSot: пытайся гуглить перед тем, как задать вопрос. А то ты выводишь из себя singularity=)
[14:27:34] Sasha_ is now online
[14:29:32] VeeSot: remo, вы не поверите - гуглил.Нашел некоторые варианты,но они не подходили.
[14:37:06] AlexZenon is now online
[14:37:56] singularity: VeeSot: а этот подходит?
[14:49:04] andreyjkee is now online
[14:50:35] singularity: andreyjkee: привет!
[14:53:02] Tony is now offline
[14:53:12] Tony is now online
[14:55:16] levsha is now online
[14:57:24] Sasha_ is now away
[15:00:26] Sasha_ is now online
[15:03:20] levsha is now offline
[15:14:49] andreyjkee is now online
[15:14:50] andreyjkee is now away
[15:15:27] VeeSot: singularity, пока не знаю.Временно переключился на другой кусок программы.Как проверю - отпишу.
[15:17:40] Sasha_ is now away
[15:18:53] singularity is now offline
[15:19:01] andreyjkee is now away
[15:19:03] andreyjkee is now online
[15:22:04] andreyjkee is now online
[15:22:05] andreyjkee is now away
[15:23:39] VeeSot is now away
[15:23:39] andreyjkee is now away
[15:23:41] andreyjkee is now online
[15:27:40] Sasha_ is now xa
[15:29:40] emese is now offline
[15:33:18] gigimon is now online
[15:33:39] VeeSot is now xa
[15:34:10] singularity is now online
[15:40:05] VeeSot is now online
[15:41:06] andreyjkee is now online
[15:41:09] andreyjkee is now away
[15:44:37] gigimon is now online
[15:46:59] gigimon is now online
[15:49:00] remo: VeeSot: тут все общаются на ты. Даже к старпёру fuzzy на ты обращаются)
[15:50:04] singularity: remo: он не старпер
[15:50:09] singularity: а ты скорей всего да
[15:50:29] singularity: сволоте еще вроде за 30
[15:50:58] andreyjkee is now away
[15:50:59] andreyjkee is now online
[15:54:33] andreyjkee is now online
[15:54:34] andreyjkee is now away
[15:54:35] remo: singularity: это не я старпёр, а ты сопляк
[15:54:50] singularity: remo: ну окей.
[15:55:06] singularity: а то еще растроешся :)
[15:55:18] andreyjkee is now away
[15:55:19] singularity: забухаешь
[15:55:19] andreyjkee is now online
[15:55:30] singularity: кризис среднего возраста и т.д.
[15:55:36] singularity: :)
[15:58:15] andreyjkee is now online
[15:58:16] andreyjkee is now away
[15:59:25] gigimon is now online
[16:00:38] gigimon is now online
[16:02:35] remo: singularity: что это ?
[16:03:02] remo: singularity: а, смотри, сопелька выпала из носика.
[16:03:11] singularity: remo: то о чем ты узнаешь на более чем 10 лет раньше меня )
[16:03:25] andreyjkee is now away
[16:03:26] andreyjkee is now online
[16:03:41] obivan is now away
[16:04:06] singularity is now offline
[16:04:44] remo: Все видели ? singularity оригинален Ё!
[16:06:24] andreyjkee is now online
[16:06:27] andreyjkee is now away
[16:09:23] andreyjkee is now away
[16:09:24] andreyjkee is now online
[16:10:27] mrDoctorWho is now away
[16:13:48] Sasha_ is now online
[16:16:56] obivan is now away
[16:16:57] obivan is now online
[16:21:59] andreyjkee is now online
[16:22:03] andreyjkee is now away
[16:22:07] mrDoctorWho is now online
[16:24:21] gigimon is now online
[16:26:39] andreyjkee is now away
[16:26:41] andreyjkee is now online
[16:27:39] singularity is now online
[16:28:03] singularity: remo: вот?
[16:29:13] gigimon is now away
[16:29:34] andreyjkee is now online
[16:29:35] andreyjkee is now away
[16:34:20] andreyjkee is now away
[16:34:21] andreyjkee is now online
[16:35:01] VeeSot: singularity, на кошках(тестовом примере) работает.Запустил на 2 гиговом лог-файл с 2000000 записей и 100мб оперативной памяти =)
[16:35:16] singularity: и?
[16:37:18] andreyjkee is now online
[16:37:19] andreyjkee is now away
[16:38:45] andreyjkee is now away
[16:38:46] andreyjkee is now online
[16:38:59] VeeSot: Ну то что работает - это факт.
[16:39:21] огыешсук is now online
[16:39:36] Sasha_ is now away
[16:43:14] Sasha_ is now online
[16:47:53] emese is now online
[16:51:28] Sasha_ is now away
[16:51:40] remo: VeeSot: может всётаки гуглить ? http://stackoverflow.com/questions/519633/lazy-method-for-reading-big-file-in-python
[16:54:30] remo: VeeSot: может 100мб - это резервирует, а не использует
[16:55:58] metall1c is now online
[16:56:42] VeeSot: remo, подожду результатов по времени для того что использую,потом сравню с альтернативой по ссылке
[16:58:23] gigimon is now away
[16:58:25] gigimon is now online
[16:58:26] VeeSot: remo, там комплексная задача сортировки логов используя внешнюю сортировку.То что я искал - лишь часть всей программы.
Мы прикидываем что у нас есть 100 мб свободной памяти,чтобы совершать некоторые операции в ней.
[16:59:58] VeeSot: То есть это параметр задаваемый пользователем.
[17:00:15] andreyjkee is now offline
[17:01:28] Sasha_ is now xa
[17:12:17] gigimon is now online
[17:14:28] gigimon is now online
[17:17:50] metall1c is now away
[17:20:18] VeeSot is now away
[17:21:02] metall1c is now online
[17:21:57] ambush is now online
[17:22:40] VeeSot is now online
[17:27:48] ambush is now away
[17:31:37] mrDoctorWho is now offline
[17:32:54] Sasha_ is now online
[17:37:48] ambush is now xa
[17:38:23] metall1c is now away
[17:40:50] obivan: Ввожу числа в поля на сайте, выбираю знак и дальше все это должно отобразиться в результате на другой странице.
Как передать данные с формы на другую страницу?
http://pastebin.com/F20gE7HY
Тоесть из equale в result
[17:40:58] obivan: Это Flask
[17:42:10] gigimon is now online
[17:46:01] gigimon is now online
[17:47:44] VeeSot is now away
[17:48:36] ambush is now online
[17:49:37] singularity: какой ключ сносит файл если он есть ? а+ ?
[17:49:54] VeeSot is now online
[17:53:38] ambush is now away
[17:53:49] obivan: ну это вроде как дозапись
[17:54:47] obivan: точнее открытие на чтение и на дозапись.
[17:54:58] Sasha_ is now away
[17:58:24] metall1c is now xa
[17:58:34] singularity: obivan: можно использовать get запрос, куки, сесию
[17:58:38] singularity: или в бд хранить
[17:58:57] singularity: redirect('/result?ffff=1')
[17:59:05] singularity: а на той просто прочитать
[17:59:28] obivan: да бд не очень бы хотелось
[17:59:30] obivan: спасибо
[17:59:31] obivan: понял
[17:59:34] obivan: блин
[17:59:37] obivan: как и сам не додумался
[17:59:41] obivan: мозг уже не варит
[18:01:17] obivan is now offline
[18:03:34] VeeSot is now away
[18:03:36] Sasha_ is now online
[18:03:38] ambush is now xa
[18:03:47] Sasha_ is now offline
[18:06:32] VeeSot is now online
[18:16:00] огыешсук is now offline
[18:22:08] yugo-salem is now offline
[18:22:09] yugo-salem is now online
[18:27:18] ambush is now online
[18:27:38] VeeSot is now away
[18:29:18] remo is now offline
[18:37:38] VeeSot is now xa
[18:44:37] VeeSot is now online
[18:49:07] gigimon is now offline
[18:50:00] VeeSot is now away
[18:51:42] VeeSot is now online
[18:57:35] mrDoctorWho is now online
[18:58:32] ambush is now away
[19:01:12] VeeSot is now away
[19:01:15] VeeSot is now online
[19:08:32] ambush is now xa
[19:14:17] VeeSot is now away
[19:16:31] mrDoctorWho is now away
[19:19:21] ambush is now online
[19:19:24] огыешсук is now online
[19:20:57] VeeSot is now online
[19:22:26] mrDoctorWho is now online
[19:24:23] ambush is now away
[19:28:38] Сволота is now offline
[19:28:53] VeeSot is now away
[19:32:49] Сволота is now online
[19:33:04] Сволота is now offline
[19:33:50] Сволота is now online
[19:34:23] ambush is now xa
[19:35:41] ambush is now online
[19:37:53] VeeSot is now online
[19:43:40] огыешсук is now away
[19:43:40] огыешсук is now away
[19:45:21] огыешсук is now online
[19:45:21] огыешсук is now online
[19:45:23] VeeSot is now away
[19:46:41] singularity is now offline
[19:52:11] ambush is now away
[19:53:29] metall1c is now online
[19:53:31] ambush is now online
[19:55:22] VeeSot is now xa
[19:57:45] огыешсук is now online
[20:00:18] огыешсук is now online
[20:03:32] metall1c is now away
[20:09:25] VeeSot is now online
[20:12:37] ambush is now away
[20:16:29] VeeSot is now offline
[20:16:43] VeeSot is now online
[20:19:07] Tony is now away
[20:19:59] VeeSot is now away
[20:20:20] VeeSot is now online
[20:21:25] ambush is now online
[20:23:24] огыешсук is now away
[20:23:31] metall1c is now xa
[20:25:25] огыешсук is now online
[20:25:48] singularity is now online
[20:36:06] огыешсук is now offline
[20:37:44] VeeSot is now away
[20:40:41] ambush is now away
[20:42:45] VeeSot is now online
[20:44:07] Tony is now xa
[20:47:30] emese is now offline
[20:47:46] VeeSot is now away
[20:50:41] ambush is now xa
[20:51:42] огыешсук is now online
[20:52:47] VeeSot is now online
[20:57:50] VeeSot is now away
[20:58:27] VeeSot is now online
[21:00:18] singularity: я так понял что-бы делать руские буквы в адрессе надо просто екодить все это дело? http://example.com/?key=%D0%B7%D0%BD%D0%B0%D1%87%D0%B5%D0%BD%D0%B8%D0%B
[21:01:31] ambush is now online
[21:03:30] VeeSot is now away
[21:04:18] огыешсук is now away
[21:08:29] VeeSot is now online
[21:13:32] VeeSot is now away
[21:18:31] VeeSot is now online
[21:23:04] Сволота is now away
[21:23:22] Сволота is now online
[21:23:34] VeeSot is now away
[21:28:33] VeeSot is now online
[21:33:36] VeeSot is now away
[21:37:01] огыешсук is now offline
[21:38:35] VeeSot is now online
[21:43:38] VeeSot is now away
[21:48:37] VeeSot is now online
[21:53:44] VeeSot is now away
[21:58:43] VeeSot is now online
[22:03:46] VeeSot is now away
[22:06:56] VeeSot is now online
[22:12:57] remo is now online
[22:21:29] magister is now offline
[22:30:44] VeeSot is now offline
[22:42:14] singularity is now offline
[23:08:04] gigimon is now online
[23:16:18] remo is now offline
[23:16:32] remo is now online
[23:18:51] ambush is now away
[23:19:13] remo is now offline
[23:23:14] remo is now online
[23:24:37] metall1c is now online
[23:28:29] ambush is now online
[23:35:33] metall1c is now away
[23:35:39] ambush is now away
[23:45:38] ambush is now xa
[23:49:04] ambush is now online
[23:55:32] metall1c is now xa