[00:04:23] ink08 is now away
[00:04:59] py_two: вроде сделал связь. Хз, какой-то разрыв мозга:)
[00:06:42] mishok13 is now xa
[00:07:26] fuzzy is now online
[00:09:25] ink08 is now away
[00:12:26] fuzzy is now away
[00:14:27] ink08 is now away
[00:19:03] mishok13 is now online
[00:19:30] ink08 is now away
[00:24:32] ink08 is now away
[00:24:52] Singularity is now chat
[00:26:22] webninja: торнадо рулит пацаны
[00:26:57] Singularity: webninja: оно уносит
[00:27:28] webninja: там охуенные коллбэки
[00:27:36] webninja: и неблокирующие io лупы
[00:27:49] webninja: и корутины везде
[00:28:04] Singularity: корутины?
[00:29:35] ink08 is now away
[00:30:29] py_two is now offline
[00:30:35] Singularity is now offline
[00:30:45] py_two is now away
[00:32:15] mishok13 is now away
[00:32:26] webninja: http://dabeaz.com/coroutines/
[00:32:45] webninja: этож самые модные щаз тема - асинхронность.
[00:33:31] webninja: жава бичи с завистью смотрят на питон в ожидании Java SE8
[00:34:38] ink08 is now away
[00:37:07] livevil is now away
[00:37:53] livevil is now offline
[00:39:41] ink08 is now away
[00:42:15] mishok13 is now xa
[00:44:44] ink08 is now away
[00:49:47] ink08 is now away
[00:54:50] ink08 is now away
[00:55:44] Typhon is now offline
[00:56:05] Typhon is now online
[00:59:52] ink08 is now away
[01:04:55] ink08 is now away
[01:08:29] gigimon is now online
[01:09:50] RanWise is now offline
[01:09:52] RanWise is now ** This message was blocked by the ICQ server **
[01:09:58] ink08 is now away
[01:11:24] fuzzy is now away
[01:11:27] fuzzy is now online
[01:15:00] ink08 is now away
[01:17:08] fuzzy: webninja: а ты уже упёрся в синхронность?
[01:17:33] livevil is now away
[01:18:07] fuzzy: но ссылка знатная, да
[01:19:16] fuzzy: особенно про мультитаскинг ОС на корутинах
[01:19:42] Typhon is now offline
[01:20:02] Typhon is now online
[01:20:04] ink08 is now away
[01:22:58] webninja: а зачем упираться? я веб скаперы писал, много, они асинхронные, так что мне удобнее и привычнее с коллбэками работать.
[01:23:07] webninja: особенно апи например
[01:25:07] ink08 is now away
[01:25:45] Typhon is now offline
[01:26:04] Typhon is now online
[01:29:25] webninja is now dnd
[01:30:10] ink08 is now away
[01:33:28] py_two: fuzzy: f =Article.objects.filter(author=a).values()
and
f[0].keys()
f[0].values()
Окей, мы имеем в списке f элемент, который является словарём.
Но вопрос остается вопросом, как блин исключить из .filter().values() сраниш ненужные поля ?:)
Не вручную же их мля удалять из словаря
[01:34:03] livevil is now offline
[01:34:19] webninja is now dnd
[01:35:12] ink08 is now away
[01:35:33] webninja: почитай документацию
[01:35:38] Singularity is now chat
[01:37:51] Singularity is now offline
[01:38:58] fuzzy: py_two: ты что, наркоман?
[01:39:06] fuzzy: а зачем ты там написал values()?
[01:40:10] Tony is now offline
[01:40:15] ink08 is now away
[01:41:40] fuzzy: webninja: "особенно апи например" - это как?
[01:43:04] py_two: нет, ну конечно вы молодцы. Почитай документацию. Документация - это понятие обширное. Конкретно то, что мне надо я в кверисетах не нашел
[01:43:54] py_two: тыкните носом в доку, где рассказано как исключить объекты из выборки
[01:45:18] ink08 is now away
[01:47:22] webninja: !google sqlalchemy .values()
[01:47:44] livevil is now away
[01:49:09] webninja: values(*columns)
Return an iterator yielding result tuples corresponding to the given list of columns

[01:49:39] fuzzy: py_two: прочитай обшиное понятие
[01:49:41] RanWise is now offline
[01:49:45] fuzzy: документация джанги за пару дней читается
[01:50:21] ink08 is now away
[01:50:32] fuzzy: а ты уже сколько времени занимаешься тупой фигнёй, которая появляется исключительно из-за твоего непонимания
[01:51:22] py_two: fuzzy: я книгу про джангу почитал. Тоже самое лежит на djbook.ru. В доках джанги много чего, но именно того, что нужно нет. Везде мусолят одно и тоже
[01:52:55] fuzzy: в доках джанги есть всё, что тебе может быть нужно
[01:52:57] fuzzy: инфа 100%
[01:53:12] fuzzy: доки джанги - это редкий пример хорошей документации по фреймворку
[01:53:31] fuzzy: которую надо взять и один раз прочитать, чтобы хотя бы знать, где что искать, если надо будет
[01:53:40] fuzzy: а не ныть "тыкните носом в доку, где рассказано как исключить объекты из выборки"
[01:54:16] fuzzy: причём вопрос документации - это отдельный вопрос от того, что ты не понимаешь, что делаешь и пытаешься решить неправильные изначально задачи
[01:54:31] py_two: fuzzy: окей, хочешь сказать что в https://docs.djangoproject.com/en/1.4/topics/db/queries/ и в https://docs.djangoproject.com/en/1.4/ref/models/querysets/ есть всё что нужно ?
[01:54:46] singularity is now online
[01:54:50] fuzzy: в https://docs.djangoproject.com/en/1.5/
[01:55:04] singularity: просто тест
[01:55:25] ink08 is now away
[01:56:39] py_two: fuzzy: это утрирование. Зацитирую тебя же: вай-вай, хватит плакаться, почитай от корки до корки https://docs.djangoproject.com/en/1.5/ и всё будет бенч.
[01:57:22] fuzzy: singularity: passed
[01:57:58] fuzzy: py_two: если ты прочитаешь от кори до корки https://docs.djangoproject.com/en/1.5/, то у тебя может пройдёт вопрос "как это сделать?"
[01:58:14] fuzzy: как я выше написал, у тебя есть ещё другая проблема
[01:58:57] py_two: fuzzy: нельзя изучить продукт только читая. Нужно писать читая, но есть частные случаи, они не описаны в доках. И ты это знаешь
[01:59:43] singularity is now online
[01:59:52] fuzzy: то, что ты спрашиваешь описано в доках
[01:59:59] py_two: я перед тем, как задавать вопрос пол вечера гуглил на эту тему, потом вскользь почитал две вышеуказанные доки. Там не нашел. Спросил тут. Что я сделал не так ?
[02:00:28] fuzzy: ты решаешь не правильную задачу
[02:00:33] ink08 is now away
[02:00:52] singularity: я нашел баг в лисе :)
[02:01:22] fuzzy: singularity: лучше бы в хроме нашёл. гугл платит, вроде по 7.5к уже
[02:01:46] singularity: та не
[02:01:58] singularity: там вроде за уязвимости
[02:04:38] singularity: в момент когда у меня есть два активних конекта (wi-fi и модем например) и я захожу в лису она падает(
[02:05:38] livevil is now offline
[02:05:38] ink08 is now away
[02:06:16] webninja: еще стэковерфлоу есть там вообще все
[02:06:33] py_two: fuzzy: что значит неправильную задачу ?
[02:07:19] webninja: а там вообще джанга, я думал про алхимию разговор идет
[02:07:26] webninja: тебе же сказали уже .values()
[02:08:04] webninja: http://stackoverflow.com/questions/699462/python-django-creating-a-simpler-list-from-values-list
[02:08:26] webninja: https://docs.djangoproject.com/en/dev/ref/models/querysets/#values-list
[02:08:29] webninja: йобанный стыд
[02:08:52] singularity is now online
[02:08:56] fuzzy: py_two: зачем тебе удалять значения из объектов?
[02:09:14] singularity: test
[02:09:55] py_two: fuzzy: у меня есть страница, где должны быть выведены данные из таблицы. Но в таблице гараздо больше объектов, нежели требуется
[02:10:32] py_two: fuzzy: поэтому из выборки надо исключить избирательно объекты, чтобы вывести их на страницу
[02:10:42] ink08 is now away
[02:11:07] fuzzy: ты раньше говорил, что надо исключить поля
[02:11:11] fuzzy: а не объекты
[02:12:39] py_two: поля объектов :)
[02:12:45] py_two: может не так выразился
[02:13:27] fuzzy: ..а в документации написано, что такое объект, а что такое поле..
[02:14:00] fuzzy: попробуй сначала. какую задачу ты пытаешься решить?
[02:14:33] singularity is now online
[02:15:45] ink08 is now away
[02:20:48] ink08 is now away
[02:22:54] singularity is now online
[02:25:53] ink08 is now away
[02:26:20] fuzzy: а с NSA представлние всё развивается..
[02:27:43] singularity is now online
[02:29:06] singularity: !g NSA
[02:30:56] ink08 is now away
[02:31:58] fuzzy: про сис. админа, который слил секретные данные амер. спецслужб. о том, что они записывают весь трафик и все разговоры
[02:35:58] ink08 is now away
[02:41:01] ink08 is now away
[02:43:05] singularity: webninja: т на xubuntu?
[02:43:42] singularity: ля ля ля
[02:43:55] singularity: никто не хочет потрндеть?
[02:45:30] fuzzy is now online
[02:45:49] webninja is now dnd
[02:46:04] ink08 is now away
[02:48:27] livevil is now away
[02:50:31] fuzzy is now away
[02:51:06] ink08 is now away
[02:56:09] ink08 is now away
[03:01:04] webninja is now dnd
[03:01:12] ink08 is now away
[03:01:41] gigimon is now offline
[03:03:59] livevil is now offline
[03:06:14] ink08 is now away
[03:07:23] singularity is now offline
[03:11:17] ink08 is now away
[03:16:21] ink08 is now away
[03:18:56] py_two: вопрос1:
>>> print Table.objects.filter(founder='3').values('type_id')
[{'type_id': 1L}]

вопрос2:
если я выбираю много объектов Table.objects.filter(founder='3').values('type_id', 'some1', 'some2', 'some3', 'some4', 'some5'), то как определить им определенный порядок ? Или порядок и определяется позицией в values() ? По крайней мере у меня они не в таком порядке показываются, как определены в values()
[03:19:49] py_two: 'type_id': 1L - как сопоставить type_id корректное значение из связной таблицы ?
[03:21:23] ink08 is now away
[03:22:08] singularity is now online
[03:24:06] singularity: py_two: Oauth есть уже?
[03:26:27] ink08 is now away
[03:30:58] singularity: :)
[03:31:30] ink08 is now away
[03:32:30] Typhon is now offline
[03:34:29] gf is now offline
[03:36:33] ink08 is now away
[03:39:54] gf is now online
[03:40:09] gf is now offline
[03:41:35] ink08 is now away
[03:43:29] singularity is now online
[03:43:52] gf is now online
[03:44:07] gf is now offline
[03:46:37] ink08 is now away
[03:46:39] gf is now online
[03:46:43] gf is now offline
[03:48:22] singularity is now online
[03:48:46] gf is now online
[03:48:51] gf is now offline
[03:51:39] ink08 is now away
[03:52:11] gf is now online
[03:52:26] gf is now offline
[03:53:33] singularity is now online
[03:56:41] ink08 is now away
[03:58:42] singularity is now away
[04:01:08] singularity is now online
[04:01:44] ink08 is now away
[04:06:17] singularity is now away
[04:06:46] ink08 is now away
[04:10:19] singularity is now online
[04:11:49] ink08 is now away
[04:12:20] singularity is now online
[04:16:51] ink08 is now away
[04:17:47] singularity is now online
[04:21:55] ink08 is now away
[04:26:57] ink08 is now away
[04:27:05] singularity is now online
[04:30:14] singularity is now online
[04:32:00] ink08 is now away
[04:37:02] ink08 is now away
[04:42:04] ink08 is now away
[04:47:06] ink08 is now away
[04:52:08] ink08 is now away
[04:54:10] py_two is now offline
[04:57:10] ink08 is now away
[05:02:13] ink08 is now away
[05:02:20] singularity is now online
[05:02:55] pytwo is now online
[05:04:14] pytwo: Нет чтобы подсказать, так надо поглумиться, отправить читать всю доку по дьянге
[05:04:37] pytwo: А потом устроить синтаксический разбор слов
[05:05:06] dicos is now online
[05:05:52] singularity is now online
[05:06:08] pytwo: Не, ну если бы я в дьянге ковырялся со дня ее появления, а то я в дьянге без года неделя
[05:07:15] ink08 is now away
[05:12:18] ink08 is now away
[05:17:19] ink08 is now away
[05:19:51] singularity is now online
[05:22:22] ink08 is now away
[05:23:14] livevil is now away
[05:23:15] singularity: у меня светает
[05:23:19] singularity: :(
[05:27:24] ink08 is now away
[05:32:26] ink08 is now away
[05:35:23] singularity is now offline
[05:37:29] ink08 is now away
[05:42:31] ink08 is now away
[05:44:02] livevil is now offline
[05:47:33] ink08 is now away
[05:52:34] ink08 is now away
[05:53:49] livevil is now away
[05:57:36] ink08 is now away
[05:57:56] xryun is now online
[05:58:08] xryun is now away
[06:02:38] ink08 is now away
[06:05:42] fuzzy is now away
[06:07:40] ink08 is now away
[06:09:15] livevil is now offline
[06:12:42] ink08 is now away
[06:17:45] ink08 is now away
[06:22:48] ink08 is now away
[06:25:59] livevil is now away
[06:27:50] ink08 is now away
[06:32:53] ink08 is now away
[06:35:02] gf is now online
[06:37:55] ink08 is now away
[06:39:29] dicos is now away
[06:39:30] dicos is now away
[06:42:41] livevil is now offline
[06:42:58] ink08 is now away
[06:48:00] ink08 is now away
[06:49:56] dicos is now away
[06:49:57] dicos is now online
[06:53:01] ink08 is now away
[06:58:03] ink08 is now away
[06:58:15] livevil is now away
[07:03:06] ink08 is now away
[07:08:08] ink08 is now away
[07:13:10] ink08 is now away
[07:15:39] livevil is now offline
[07:18:13] ink08 is now away
[07:23:15] ink08 is now away
[07:25:45] webninja is now dnd
[07:28:18] ink08 is now away
[07:33:20] ink08 is now away
[07:34:10] webninja is now dnd
[07:38:22] ink08 is now away
[07:39:14] webninja is now dnd
[07:43:24] ink08 is now away
[07:45:00] webninja is now dnd
[07:48:26] ink08 is now away
[07:53:29] ink08 is now away
[07:54:01] webninja is now dnd
[07:58:31] ink08 is now away
[08:03:09] webninja is now dnd
[08:03:33] ink08 is now away
[08:05:36] pytwo: Я этих рассветов в жизни перевидел
[08:08:35] ink08 is now away
[08:13:38] ink08 is now away
[08:15:31] webninja is now dnd
[08:18:40] ink08 is now away
[08:22:12] webninja is now dnd
[08:23:42] ink08 is now away
[08:28:45] ink08 is now away
[08:33:47] ink08 is now away
[08:34:07] py_two is now away
[08:38:49] ink08 is now away
[08:39:18] webninja is now dnd
[08:42:07] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[08:43:58] ink08 is now away
[08:44:19] webninja is now dnd
[08:45:24] xryun is now offline
[08:45:28] xryun is now away
[08:45:30] xryun is now away
[08:45:32] xryun is now away
[08:49:02] ink08 is now away
[08:53:51] dicos is now away
[08:53:52] dicos is now away
[08:54:04] ink08 is now away
[08:59:06] ink08 is now away
[09:04:08] ink08 is now away
[09:09:11] ink08 is now away
[09:10:52] deisler is now away
[09:12:18] MAVr is now offline
[09:12:55] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[09:14:14] ink08 is now away
[09:19:16] ink08 is now away
[09:24:18] ink08 is now away
[09:27:24] dicos is now away
[09:27:25] dicos is now online
[09:29:20] ink08 is now away
[09:34:24] ink08 is now away
[09:38:15] livevil is now online
[09:39:26] ink08 is now away
[09:41:53] gf is now offline
[09:44:29] ink08 is now away
[09:49:31] ink08 is now away
[09:52:23] livevil is now away
[09:53:20] livevil is now online
[09:54:33] ink08 is now away
[09:59:36] ink08 is now away
[10:04:38] ink08 is now away
[10:06:09] tvorzasp is now сколько RoR на PHP не портируй, все равно Codeigniter получается
[10:09:41] ink08 is now away
[10:12:55] ink08 is now away
[10:12:56] ink08 is now away
[10:14:43] ink08 is now away
[10:18:15] levsha is now offline
[10:19:42] slav0nic is now xa
[10:19:45] ink08 is now away
[10:20:21] livevil is now offline
[10:24:48] ink08 is now away
[10:29:50] ink08 is now away
[10:34:53] ink08 is now away
[10:39:55] ink08 is now away
[10:41:29] ink08 is now away
[10:41:30] ink08 is now away
[10:42:40] webninja is now dnd
[10:43:06] bliznezz is now online
[10:44:57] ink08 is now away
[10:45:17] ink08 is now away
[10:45:18] ink08 is now away
[10:45:54] mishok13 is now online
[10:48:21] webninja is now dnd
[10:49:01] mishok13 is now offline
[10:49:59] ink08 is now away
[10:50:43] levsha is now online
[10:54:38] bliznezz is now offline
[10:55:01] ink08 is now away
[10:56:22] bliznezz is now online
[10:57:47] py_two is now offline
[11:00:03] ink08 is now away
[11:05:06] ink08 is now away
[11:08:20] bliznezz is now offline
[11:08:39] Typhon is now online
[11:10:09] ink08 is now away
[11:12:26] mishok13 is now online
[11:14:16] bliznezz is now online
[11:14:16] ink08 is now away
[11:14:17] ink08 is now away
[11:15:11] ink08 is now away
[11:19:19] ink08 is now away
[11:19:20] ink08 is now away
[11:20:13] ink08 is now away
[11:22:07] gigimon is now online
[11:24:10] aries.ua is now online
[11:24:11] aries.ua is now online
[11:24:53] aries.ua is now online
[11:25:15] ink08 is now away
[11:27:51] fuzzy is now away
[11:29:55] aries.ua is now online
[11:30:18] ink08 is now away
[11:32:10] ink08 is now away
[11:32:11] ink08 is now away
[11:32:16] ink08 is now away
[11:32:17] ink08 is now away
[11:34:57] aries.ua is now online
[11:35:20] ink08 is now away
[11:36:02] gf is now online
[11:39:45] blw0rm is now online
[11:39:59] aries.ua is now online
[11:40:22] ink08 is now away
[11:45:01] aries.ua is now online
[11:45:05] bliznezz is now away
[11:45:06] bliznezz is now away
[11:45:24] ink08 is now away
[11:47:23] bliznezz is now away
[11:47:24] bliznezz is now online
[11:50:03] aries.ua is now online
[11:50:27] ink08 is now away
[11:52:32] dicos is now away
[11:52:33] dicos is now away
[11:54:02] bliznezz is now away
[11:54:03] bliznezz is now away
[11:55:04] aries.ua is now online
[11:55:12] bliznezz is now away
[11:55:13] bliznezz is now online
[11:55:16] aries.ua is now away
[11:55:16] aries.ua is now away
[11:55:16] aries.ua is now away
[11:55:29] ink08 is now away
[11:56:07] gf is now offline
[12:00:06] aries.ua is now away
[12:00:31] ink08 is now away
[12:05:08] aries.ua is now away
[12:05:34] ink08 is now away
[12:07:31] aries.ua is now online
[12:07:31] aries.ua is now online
[12:10:10] aries.ua is now online
[12:10:37] ink08 is now away
[12:11:06] blw0rm is now away
[12:14:12] blw0rm is now online
[12:15:10] Typhon is now away
[12:15:11] aries.ua is now online
[12:15:39] ink08 is now away
[12:17:09] Typhon is now online
[12:18:08] Typhon is now away
[12:18:30] Typhon is now online
[12:18:55] Typhon is now away
[12:19:12] fuzzy is now away
[12:19:14] fuzzy is now online
[12:19:17] dicos is now away
[12:19:18] dicos is now online
[12:20:13] aries.ua is now online
[12:20:40] fuzzy: pytwo: зачем ты вызываешь values()? тебе не надо вызывать values()
[12:20:41] ink08 is now away
[12:20:50] fuzzy: про порядок сортировки есть в документации
[12:25:15] aries.ua is now online
[12:25:44] ink08 is now away
[12:26:24] fuzzy is now away
[12:28:55] Typhon is now away
[12:30:16] aries.ua is now online
[12:30:46] ink08 is now away
[12:35:18] aries.ua is now online
[12:35:49] ink08 is now away
[12:36:25] fuzzy is now away
[12:36:44] mishok13 is now away
[12:37:15] webninja is now offline
[12:40:19] aries.ua is now online
[12:40:42] webninja is now dnd
[12:40:51] ink08 is now away
[12:42:59] ink08 is now away
[12:43:00] ink08 is now away
[12:45:21] aries.ua is now online
[12:45:54] ink08 is now away
[12:45:59] ink08 is now away
[12:46:00] ink08 is now away
[12:46:44] mishok13 is now xa
[12:48:42] mishok13 is now online
[12:50:23] aries.ua is now online
[12:50:56] ink08 is now away
[12:53:03] fuzzy is now online
[12:53:33] blw0rm is now away
[12:53:47] blw0rm is now online
[12:53:55] blw0rm is now away
[12:55:02] bliznezz is now away
[12:55:04] bliznezz is now away
[12:55:25] aries.ua is now online
[12:55:58] ink08 is now away
[13:00:27] aries.ua is now online
[13:01:01] ink08 is now away
[13:03:40] Typhon is now away
[13:03:42] Typhon is now online
[13:05:29] aries.ua is now online
[13:06:03] ink08 is now away
[13:08:58] blw0rm is now xa
[13:10:31] aries.ua is now online
[13:11:06] ink08 is now away
[13:12:58] Typhon is now away
[13:13:57] Typhon is now online
[13:14:46] dicos is now offline
[13:15:33] aries.ua is now online
[13:16:08] ink08 is now away
[13:16:12] blw0rm is now online
[13:17:22] tvorzasp is now away
[13:17:22] tvorzasp is now away
[13:18:46] ink08 is now away
[13:18:47] ink08 is now away
[13:20:35] aries.ua is now online
[13:21:11] ink08 is now away
[13:21:33] bliznezz is now away
[13:21:34] bliznezz is now online
[13:25:37] aries.ua is now online
[13:26:13] ink08 is now away
[13:27:41] gigimon is now online
[13:28:30] fuzzy is now away
[13:30:32] gigimon is now online
[13:30:39] aries.ua is now online
[13:31:15] ink08 is now away
[13:32:42] gigimon is now away
[13:33:58] ink08 is now away
[13:33:59] ink08 is now away
[13:34:42] fuzzy is now online
[13:35:41] aries.ua is now online
[13:35:48] ink08 is now online
[13:35:48] ink08 is now online
[13:36:18] ink08 is now online
[13:40:43] aries.ua is now online
[13:41:20] ink08 is now online
[13:41:36] mishok13 is now away
[13:45:20] mishok13 is now online
[13:45:45] aries.ua is now online
[13:46:06] aries.ua is now away
[13:46:06] aries.ua is now away
[13:46:06] aries.ua is now away
[13:46:22] ink08 is now online
[13:47:59] bliznezz is now away
[13:48:00] bliznezz is now away
[13:50:47] aries.ua is now away
[13:51:25] ink08 is now online
[13:53:02] mishok13 is now away
[13:54:36] bliznezz is now away
[13:54:36] bliznezz is now online
[13:55:27] gf is now online
[13:55:50] aries.ua is now away
[13:56:27] ink08 is now online
[14:00:51] aries.ua is now away
[14:01:30] ink08 is now online
[14:01:35] gigimon is now away
[14:01:36] gigimon is now online
[14:03:02] mishok13 is now xa
[14:05:54] aries.ua is now away
[14:06:31] ink08 is now online
[14:07:46] tvorzasp is now сколько RoR на PHP не портируй, все равно Codeigniter получается
[14:10:56] aries.ua is now away
[14:11:34] ink08 is now online
[14:15:58] aries.ua is now away
[14:16:36] ink08 is now online
[14:21:00] aries.ua is now away
[14:21:13] bliznezz is now away
[14:21:23] webninja is now dnd
[14:21:39] ink08 is now online
[14:22:04] mishok13 is now online
[14:23:38] bliznezz is now away
[14:23:39] bliznezz is now online
[14:26:02] aries.ua is now away
[14:26:32] Typhon is now away
[14:26:41] ink08 is now online
[14:26:48] Typhon is now online
[14:27:00] Typhon is now away
[14:27:22] gf is now online
[14:31:04] aries.ua is now away
[14:31:31] dicos is now online
[14:31:44] ink08 is now online
[14:36:05] aries.ua is now away
[14:36:46] ink08 is now online
[14:37:00] Typhon is now away
[14:38:28] fuzzy is now online
[14:41:07] aries.ua is now away
[14:41:48] ink08 is now online
[14:44:59] dicos is now offline
[14:45:37] bliznezz is now offline
[14:46:10] aries.ua is now away
[14:46:51] ink08 is now online
[14:50:29] Typhon is now away
[14:50:35] Typhon is now online
[14:51:11] aries.ua is now away
[14:51:53] ink08 is now online
[14:54:36] gf is now offline
[14:56:14] aries.ua is now away
[14:56:53] xryun is now offline
[14:56:56] ink08 is now online
[14:57:39] aries.ua is now online
[14:57:39] aries.ua is now online
[15:01:16] aries.ua is now online
[15:01:59] ink08 is now online
[15:02:14] webninja is now dnd
[15:03:12] bliznezz is now online
[15:03:48] webninja is now dnd
[15:06:18] aries.ua is now online
[15:07:01] ink08 is now online
[15:08:40] blw0rm is now away
[15:08:57] Typhon is now away
[15:09:04] blw0rm is now online
[15:11:00] webninja is now dnd
[15:11:08] Typhon is now online
[15:11:20] aries.ua is now online
[15:12:03] ink08 is now online
[15:12:23] tvorzasp is now away
[15:12:32] dicos is now online
[15:15:27] tvorzasp is now away
[15:15:27] tvorzasp is now сколько RoR на PHP не портируй, все равно Codeigniter получается
[15:16:22] aries.ua is now online
[15:16:31] aries.ua is now away
[15:16:31] aries.ua is now away
[15:16:31] aries.ua is now away
[15:17:06] ink08 is now online
[15:17:55] aries.ua is now online
[15:17:55] aries.ua is now online
[15:18:11] _lorien is now online
[15:18:12] _lorien is now online
[15:18:13] _lorien is now online
[15:20:11] _lorien: 2) юзай value_list
[15:20:24] Typhon is now away
[15:21:24] aries.ua is now online
[15:21:38] webninja is now dnd
[15:21:57] fuzzy: _lorien: зачем?
[15:22:08] ink08 is now online
[15:22:47] _lorien: не понял вопрос
[15:22:54] _lorien: ты же не pytwo
[15:23:03] fuzzy: но ему values() вообще не нужны
[15:23:05] _lorien is now online
[15:23:11] _lorien: мне показалось, что нужны
[15:23:14] fuzzy: >>> print Table.objects.filter(founder='3').values('type_id')
[{'type_id': 1L}]
[15:23:20] fuzzy: [03:19:49] <http://logs.python.su/2013/06/10.html#%5B03:19:49%5D> py_two: 'type_id': 1L - как сопоставить type_id корректное значение из связной таблицы ?

[15:23:42] fuzzy: он думает, что нужны. а на самом деле не нужны :)
[15:23:53] _lorien: а, у него там одна запись, что ли
[15:23:57] _lorien: ну тогда не нужны
[15:24:23] fuzzy: ему, в смысле нужно просто узнать, что такое ORM и как работать со связанными объектами
[15:24:28] _lorien: херовый из меня телепат
[15:25:00] Typhon is now online
[15:26:27] aries.ua is now online
[15:27:11] ink08 is now online
[15:28:07] _lorien is now online
[15:29:06] singularity is now online
[15:29:30] singularity is now offline
[15:31:30] aries.ua is now online
[15:32:13] ink08 is now online
[15:33:10] _lorien is now online
[15:34:23] singularity is now online
[15:36:32] aries.ua is now online
[15:37:16] ink08 is now online
[15:38:12] _lorien is now online
[15:41:24] webninja is now dnd
[15:41:33] bliznezz is now offline
[15:41:34] aries.ua is now online
[15:42:18] ink08 is now online
[15:42:33] bliznezz is now online
[15:43:15] _lorien is now online
[15:46:37] aries.ua is now online
[15:47:20] ink08 is now online
[15:48:17] _lorien is now online
[15:48:57] Typhon is now away
[15:49:43] singularity is now offline
[15:51:39] aries.ua is now online
[15:52:23] ink08 is now online
[15:52:53] tvorzasp is now away
[15:52:53] tvorzasp is now away
[15:53:19] _lorien is now online
[15:56:40] aries.ua is now online
[15:57:26] ink08 is now online
[15:57:46] Typhon is now online
[15:58:08] tvorzasp is now сколько RoR на PHP не портируй, все равно Codeigniter получается
[15:58:22] _lorien is now online
[15:59:44] bliznezz is now away
[15:59:44] bliznezz is now away
[16:00:19] webninja is now dnd
[16:01:39] webninja is now offline
[16:01:41] bliznezz is now away
[16:01:41] bliznezz is now online
[16:01:43] aries.ua is now online
[16:02:28] singularity is now online
[16:02:28] ink08 is now online
[16:03:25] _lorien is now online
[16:06:45] aries.ua is now online
[16:07:30] ink08 is now online
[16:08:27] _lorien is now online
[16:08:37] singularity is now offline
[16:09:10] Typhon is now away
[16:09:11] Typhon is now away
[16:11:48] aries.ua is now online
[16:12:33] ink08 is now online
[16:13:30] _lorien is now online
[16:14:41] fuzzy is now away
[16:16:50] aries.ua is now online
[16:17:23] Typhon is now away
[16:17:26] Typhon is now online
[16:17:35] ink08 is now online
[16:18:32] _lorien is now online
[16:18:51] огыешсук is now away
[16:19:12] _lorien is now away
[16:19:12] _lorien is now away
[16:19:12] _lorien is now away
[16:20:33] singularity is now online
[16:21:42] _lorien is now away
[16:21:42] _lorien is now online
[16:21:42] _lorien is now online
[16:21:51] aries.ua is now online
[16:22:38] ink08 is now online
[16:23:01] singularity is now online
[16:23:35] _lorien is now online
[16:24:41] fuzzy is now away
[16:24:52] singularity is now offline
[16:25:22] dicos is now away
[16:25:23] dicos is now away
[16:26:54] aries.ua is now online
[16:27:22] Typhon is now away
[16:27:41] ink08 is now online
[16:28:37] _lorien is now online
[16:28:46] Typhon is now online
[16:31:16] ink08 is now away
[16:31:16] ink08 is now away
[16:31:17] ink08 is now away
[16:31:56] aries.ua is now online
[16:31:58] mishok13 is now away
[16:32:26] mishok13 is now online
[16:32:28] ink08 is now away
[16:32:28] ink08 is now online
[16:32:29] ink08 is now online
[16:32:43] ink08 is now online
[16:33:37] fuzzy is now away
[16:33:40] _lorien is now online
[16:33:41] fuzzy is now online
[16:36:58] aries.ua is now online
[16:37:45] ink08 is now online
[16:38:43] _lorien is now online
[16:38:59] fuzzy is now away
[16:39:28] fuzzy is now online
[16:40:52] fuzzy is now away
[16:42:00] aries.ua is now online
[16:42:21] bliznezz is now away
[16:42:21] bliznezz is now away
[16:42:48] ink08 is now online
[16:43:45] _lorien is now online
[16:43:54] fuzzy is now online
[16:44:38] dicos is now away
[16:44:40] dicos is now online
[16:44:45] fuzzy is now away
[16:45:49] fuzzy is now online
[16:47:02] aries.ua is now online
[16:47:50] ink08 is now online
[16:48:48] _lorien is now online
[16:52:00] bliznezz is now away
[16:52:00] bliznezz is now online
[16:52:04] aries.ua is now online
[16:52:52] ink08 is now online
[16:53:50] _lorien is now online
[16:57:06] aries.ua is now online
[16:57:54] ink08 is now online
[16:58:53] _lorien is now online
[17:02:08] aries.ua is now online
[17:02:57] ink08 is now online
[17:03:56] _lorien is now online
[17:07:10] aries.ua is now online
[17:07:24] mishok13 is now away
[17:07:59] ink08 is now online
[17:08:32] Typhon is now offline
[17:08:58] _lorien is now online
[17:12:12] aries.ua is now online
[17:13:02] ink08 is now online
[17:14:00] _lorien is now online
[17:16:16] mishok13 is now online
[17:17:14] aries.ua is now online
[17:18:04] ink08 is now online
[17:19:03] _lorien is now online
[17:19:03] pytwo is now offline
[17:22:17] aries.ua is now online
[17:22:59] gigimon is now online
[17:23:07] ink08 is now online
[17:24:05] _lorien is now online
[17:25:17] gigimon is now online
[17:27:19] aries.ua is now online
[17:28:08] ink08 is now online
[17:29:08] _lorien is now online
[17:30:52] mishok13 is now away
[17:32:22] aries.ua is now online
[17:32:32] _lorien is now away
[17:32:32] _lorien is now away
[17:32:32] _lorien is now away
[17:33:11] ink08 is now online
[17:34:10] _lorien is now away
[17:34:10] mishok13 is now online
[17:34:30] bliznezz is now away
[17:34:30] bliznezz is now away
[17:35:55] dicos is now away
[17:35:57] dicos is now away
[17:36:12] bliznezz is now away
[17:36:12] bliznezz is now online
[17:37:05] dicos is now away
[17:37:07] dicos is now online
[17:37:24] aries.ua is now online
[17:38:14] ink08 is now online
[17:39:13] _lorien is now away
[17:42:26] aries.ua is now online
[17:43:16] ink08 is now online
[17:44:15] _lorien is now away
[17:47:28] aries.ua is now online
[17:48:18] ink08 is now online
[17:49:03] bliznezz is now away
[17:49:03] bliznezz is now away
[17:49:19] _lorien is now away
[17:49:25] fuzzy is now away
[17:50:52] fuzzy is now online
[17:52:30] aries.ua is now online
[17:53:21] ink08 is now online
[17:53:26] pytwo is now online
[17:53:36] bliznezz is now away
[17:53:36] bliznezz is now online
[17:53:38] _lorien is now away
[17:53:38] _lorien is now online
[17:53:38] _lorien is now online
[17:53:52] py_two is now away
[17:54:21] _lorien is now online
[17:56:15] Typhon is now online
[17:57:32] aries.ua is now online
[17:57:46] Typhon is now offline
[17:58:23] ink08 is now online
[17:59:04] MAVr is now offline
[17:59:24] _lorien is now online
[18:02:35] aries.ua is now online
[18:03:26] ink08 is now online
[18:04:26] _lorien is now online
[18:07:37] aries.ua is now online
[18:08:24] _lorien is now away
[18:08:24] _lorien is now away
[18:08:24] _lorien is now away
[18:08:28] ink08 is now online
[18:08:45] _lorien is now online
[18:08:45] _lorien is now online
[18:09:29] _lorien is now online
[18:12:40] aries.ua is now online
[18:13:31] ink08 is now online
[18:14:32] _lorien is now online
[18:17:42] aries.ua is now online
[18:18:33] ink08 is now online
[18:19:34] _lorien is now online
[18:22:44] aries.ua is now online
[18:23:35] ink08 is now online
[18:24:37] _lorien is now online
[18:25:03] ink08 is now away
[18:25:03] ink08 is now away
[18:25:04] ink08 is now away
[18:27:47] aries.ua is now online
[18:28:38] ink08 is now away
[18:29:38] _lorien is now online
[18:32:49] aries.ua is now online
[18:33:41] ink08 is now away
[18:34:41] _lorien is now online
[18:37:52] aries.ua is now online
[18:38:43] ink08 is now away
[18:39:44] _lorien is now online
[18:39:54] _lorien is now online
[18:39:58] _lorien is now offline
[18:42:55] aries.ua is now online
[18:43:46] ink08 is now away
[18:47:57] aries.ua is now online
[18:48:49] ink08 is now away
[18:51:12] dicos is now away
[18:51:14] dicos is now away
[18:52:59] aries.ua is now online
[18:53:51] ink08 is now away
[18:55:22] огыешсук is now Automatically away due to idle
[18:57:40] dicos is now away
[18:57:42] dicos is now online
[18:58:02] aries.ua is now online
[18:58:54] ink08 is now away
[19:00:21] aries.ua is now offline
[19:00:46] levsha is now offline
[19:03:56] ink08 is now away
[19:05:28] fuzzy is now away
[19:06:15] Typhon is now online
[19:08:59] ink08 is now away
[19:08:59] Typhon is now offline
[19:09:30] Typhon is now online
[19:12:05] fuzzy is now online
[19:14:02] ink08 is now away
[19:14:03] ink08 is now away
[19:14:04] ink08 is now online
[19:14:04] ink08 is now online
[19:16:04] Typhon is now offline
[19:19:05] ink08 is now online
[19:20:33] slav0nic is now offline
[19:24:07] ink08 is now online
[19:29:11] ink08 is now online
[19:29:40] mishok13 is now offline
[19:34:13] ink08 is now online
[19:35:50] огыешсук is now away
[19:37:53] огыешсук is now Automatically away due to idle
[19:39:15] ink08 is now online
[19:44:18] ink08 is now online
[19:49:21] ink08 is now online
[19:54:24] ink08 is now online
[19:56:19] gigimon is now offline
[19:59:27] ink08 is now online
[20:00:17] ink08 is now away
[20:00:18] ink08 is now away
[20:00:18] ink08 is now away
[20:02:14] fuzzy is now online
[20:02:26] dicos is now offline
[20:04:22] livevil is now online
[20:04:30] ink08 is now away
[20:09:33] ink08 is now away
[20:10:40] xryun is now online
[20:14:36] ink08 is now away
[20:18:45] livevil is now away
[20:19:38] ink08 is now away
[20:20:54] livevil is now online
[20:22:52] livevil is now away
[20:24:31] livevil is now online
[20:24:41] ink08 is now away
[20:25:37] fuzzy is now away
[20:25:55] blw0rm is now dnd
[20:26:03] fuzzy is now online
[20:26:10] Tony is now online
[20:26:29] fuzzy is now away
[20:26:41] livevil is now away
[20:27:55] livevil is now online
[20:29:43] ink08 is now away
[20:30:05] livevil is now away
[20:30:06] livevil is now online
[20:32:06] fuzzy is now online
[20:34:46] ink08 is now away
[20:39:49] ink08 is now away
[20:44:52] ink08 is now away
[20:49:54] ink08 is now away
[20:54:57] ink08 is now away
[20:59:59] ink08 is now away
[21:01:05] ink08 is now away
[21:01:05] ink08 is now away
[21:01:06] ink08 is now online
[21:01:06] ink08 is now online
[21:01:07] tvorzasp is now offline
[21:01:54] opka is now online
[21:02:27] opka: всем привет. есть список из 200 слов, как выбрать 50 рандомных слов, чтоб не было повторений?
[21:02:49] opka: вернее как лучше это делать, ибо код "в лоб" я сдела :)
[21:05:01] ink08 is now online
[21:05:10] opka is now offline
[21:06:05] ink08 is now away
[21:06:06] ink08 is now away
[21:06:06] ink08 is now away
[21:08:02] xryun: На чем можно написать граф интерфейс для программы?
Уточнение.
1.Должен быть перносимый и работать на самых распостраненных ОС(Tk,GTK,Qt)
2.Не высокий порог вхождения.Ибо времени на изучения не очень много.
3.Планируется выводить формочку(Вот оно 1с и Дельфи-наследие))) ) на которой будет Н-кнопок,поле для загрузки(указания) файла txt,ну и половина площади будет занимать картинка лабиринта и проход по нему.

То есть идея уже есть реализации самого процесса уже почти осмыслена.Осталось придумать внешность.
[21:10:04] ink08 is now away
[21:14:49] огыешсук is now away
[21:15:07] ink08 is now away
[21:16:04] огыешсук is now Automatically away due to idle
[21:18:33] slav0nic is now online
[21:20:10] ink08 is now away
[21:23:49] slav0nic is now away
[21:23:57] fuzzy is now away
[21:23:59] fuzzy is now online
[21:25:13] ink08 is now away
[21:27:16] огыешсук is now away
[21:27:58] xryun: снимаю вопрос
[21:29:08] огыешсук is now Automatically away due to idle
[21:30:16] ink08 is now away
[21:33:48] slav0nic is now xa
[21:34:13] огыешсук is now away
[21:34:15] fuzzy is now online
[21:35:18] ink08 is now away
[21:35:57] огыешсук is now Automatically away due to idle
[21:39:16] fuzzy is now away
[21:40:21] ink08 is now away
[21:41:03] огыешсук is now away
[21:42:19] огыешсук is now Automatically away due to idle
[21:45:23] ink08 is now away
[21:49:19] огыешсук is now away
[21:50:15] огыешсук is now Automatically away due to idle
[21:50:26] ink08 is now away
[21:53:06] bliznezz is now away
[21:53:06] bliznezz is now away
[21:55:20] огыешсук is now away
[21:55:29] ink08 is now away
[21:56:08] slav0nic is now online
[21:56:33] огыешсук is now Automatically away due to idle
[22:00:31] ink08 is now away
[22:01:37] огыешсук is now away
[22:02:30] slav0nic is now away
[22:02:59] огыешсук is now Automatically away due to idle
[22:05:20] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[22:05:33] ink08 is now away
[22:10:36] ink08 is now away
[22:12:30] slav0nic is now xa
[22:15:39] ink08 is now away
[22:17:09] xryun is now offline
[22:20:41] ink08 is now away
[22:23:58] огыешсук is now away
[22:25:44] ink08 is now away
[22:29:20] огыешсук is now Automatically away due to idle
[22:30:48] ink08 is now away
[22:31:40] slav0nic is now online
[22:31:58] MAVr is now offline
[22:34:37] огыешсук is now away
[22:35:50] ink08 is now away
[22:36:52] огыешсук is now Automatically away due to idle
[22:40:53] ink08 is now away
[22:45:56] ink08 is now away
[22:49:07] огыешсук is now away
[22:50:59] ink08 is now away
[22:51:48] slav0nic is now away
[22:52:02] огыешсук is now Automatically away due to idle
[22:56:01] ink08 is now away
[22:57:28] gigimon is now online
[22:59:52] slav0nic is now online
[23:01:03] ink08 is now away
[23:06:06] ink08 is now away
[23:11:09] ink08 is now away
[23:13:17] gigimon is now offline
[23:16:12] ink08 is now away
[23:20:13] gigimon is now online
[23:21:14] ink08 is now away
[23:22:38] opka is now online
[23:23:40] opka: как оптимизировать?
def ten_words():
l = []
i = 0
while i != 10:
a = choice(words)
if a in l:
i += 1
continue
l.append(a)
return ' '.join(l)
[23:24:20] slav0nic is now offline
[23:26:17] ink08 is now away
[23:31:20] ink08 is now away
[23:31:26] opka: видимо какую-то лямбду можно прикрутить сюда
[23:32:07] gigimon: в 1 строку
[23:32:41] gigimon: хотя, list compretihions тебе не подойдет
[23:32:45] gigimon: раз надо уникальные
[23:33:13] gigimon: ну как минимум while заменить на for и enumerate
[23:36:23] ink08 is now away
[23:37:11] opka: i += 1 надопосле l.append влепить
[23:37:31] gigimon: и?
[23:37:48] gigimon: если i = 10 то break
[23:37:55] gigimon: уменьшишь код на 3 строки
[23:41:06] opka: я не про оптимизацию :)
[23:41:26] ink08 is now away
[23:41:34] opka: а про правильность :) увеличивать счетчик только после того, как успешно уникальное слово добавлено :)
[23:43:19] gigimon: а, я не так код глянул (:
[23:44:16] gigimon: opka: стоп, а что ты хочешь сделать тогда?
[23:44:35] gigimon: судя из названия функции, ты хочешь получить 10 слов уникальных
[23:44:53] opka: у меня есть список слов (words). я хочу создать новый список, в который войдет 10 слов из тог осписка, выбранные случайно и без повторений
[23:45:21] gigimon: а сейчас, если я дам 100 уникальных слов, то я уйду в вечный цикл, т.к. мне ни разу не попадутся слова, которые уже есть в списке
[23:45:22] opka: я делаю return join для отладки, можно просто лист вернуть
[23:45:41] gigimon: счетчик надо увеличивать тогда, когда добавляешь слово в список
[23:46:03] opka: <opka> i += 1 надопосле l.append влепить
[23:46:20] opka: а про правильность :) увеличивать счетчик только после того, как успешно уникальное слово добавлено :)
[23:46:29] ink08 is now away
[23:46:31] opka: как-то так :)
[23:50:48] огыешсук is now Automatically away due to idle
[23:51:31] ink08 is now away
[23:51:41] gigimon: opka: твой код можно сделать в 1 строку
[23:52:06] opka: я ж не спорю
[23:52:36] gigimon: random.sample(set(words), 10)
[23:52:38] gigimon: вот :)
[23:56:34] ink08 is now away
[23:58:37] opka: gigimon: спасибо :)
[23:58:51] gigimon is now offline