[00:00:36] settler is now online
[00:01:01] serg.makar is now online
[00:02:15] evrial is now online
[00:05:37] settler is now online
[00:06:03] serg.makar is now online
[00:07:18] evrial is now online
[00:10:39] settler is now online
[00:11:04] serg.makar is now online
[00:11:46] slav0nic is now offline
[00:12:17] evrial is now online
[00:15:41] settler is now online
[00:16:05] serg.makar is now online
[00:16:46] mishok13 is now away
[00:17:19] evrial is now online
[00:20:42] settler is now online
[00:21:06] serg.makar is now online
[00:22:20] evrial is now online
[00:25:45] settler is now online
[00:26:07] serg.makar is now online
[00:26:13] serg.makar is now away
[00:26:14] serg.makar is now away
[00:27:21] evrial is now online
[00:29:41] settler is now offline
[00:31:07] serg.makar is now away
[00:32:22] evrial is now online
[00:35:22] kyzic is now offline
[00:35:31] mishok13 is now offline
[00:35:51] webninja is now online
[00:36:08] serg.makar is now away
[00:36:11] webninja: посоветуйте хтмл редактор для убунту
[00:36:19] webninja: чтобы мог сворачивать блоки хотябы
[00:37:23] evrial is now online
[00:38:09] serg.makar is now online
[00:38:10] serg.makar is now online
[00:39:51] teraom: webninja: Bluefish
[00:41:08] serg.makar is now online
[00:41:43] webninja: щаз гляну. gedit канешно классный но запарно выяснять где у тебя закрылся див
[00:42:25] evrial is now online
[00:43:35] serg.makar is now away
[00:43:36] serg.makar is now away
[00:46:09] serg.makar is now away
[00:46:44] xa4a is now online
[00:46:44] xa4a is now away
[00:47:29] evrial is now online
[00:51:11] serg.makar is now away
[00:52:31] evrial is now online
[00:55:28] Typhon: emacs
[00:56:13] serg.makar is now away
[00:57:05] webninja: неудобно
[00:57:06] webninja: в емаксе
[00:57:31] evrial is now online
[00:58:27] Typhon: в почтовый ящик неудобно, а для имакса есть el-get и набор пакетов
[01:01:13] serg.makar is now away
[01:02:31] evrial is now online
[01:03:08] webninja is now online
[01:03:17] webninja is now online
[01:03:59] teraom is now offline
[01:06:05] deepwalker is now offline
[01:06:13] serg.makar is now away
[01:07:32] evrial is now online
[01:11:15] serg.makar is now away
[01:12:35] evrial is now online
[01:16:16] serg.makar is now away
[01:17:35] evrial is now online
[01:20:18] Joes is now away
[01:20:35] webninja is now online
[01:20:44] webninja is now online
[01:21:16] serg.makar is now away
[01:22:35] evrial is now online
[01:26:18] serg.makar is now away
[01:27:39] evrial is now online
[01:30:42] asou is now online
[01:31:19] serg.makar is now away
[01:32:07] Tony: http://28.media.tumblr.com/tumblr_lhsrinD76o1qzqt6zo1_250.jpg
[01:32:39] evrial is now online
[01:36:19] serg.makar is now away
[01:37:39] evrial is now online
[01:39:14] evrial is now offline
[01:41:20] serg.makar is now away
[01:46:21] serg.makar is now away
[01:51:21] serg.makar is now away
[01:56:22] serg.makar is now away
[02:01:23] serg.makar is now away
[02:02:46] Dukobpa3 is now dnd
[02:03:02] Dukobpa3: ку. Есть кто живой?
[02:03:57] Dukobpa3: Typhon: webninja ку?
[02:04:42] Typhon: Dukobpa3, да ты вопрос задай, а там, глядишь, -- кто и отзовётся %)
[02:04:55] Dukobpa3: кусок кода можете объяснить?
[02:05:08] Dukobpa3: class fignya(object):
def __init__(self):
self.testo = 55

class bot1:
def __init__ (self):
self.parser = fignya()
print 'bot1 inited'

class bot2:
parser = fignya()
def __init__ (self):
print 'bot2 inited'

class bot3:
def __init__ (self, parser):
self.parser = parser
print 'bot3 inited'


test1_1 = bot1()
test1_2 = bot1()
test2_1 = bot2()
test2_2 = bot2()
parserr = fignya()
test3_1 = bot3(parserr)
test3_2 = bot3(parserr)

print '1:' # тут он покажет разный
print '\t', id(test1_1.parser)
print '\t', id(test1_2.parser)
print ''


print '2:' # тут покажет один и тот же id, это наверное потому-что код класса
# исполняется при его определении. Но это как-то непонятно и путает, лучше так
# не делать
print '\t', id(test2_1.parser)
print '\t', id(test2_2.parser)
print ''


print '3:' # тут покажет один и тот же id, что понятно
print '\t', id(test3_1.parser)
print '\t', id(test3_2.parser)
[02:05:12] webninja: аааа
[02:05:24] webninja: dumpz.org блиять
[02:05:58] Dukobpa3: ща запилю, но тут строк 40 всего
[02:06:22] serg.makar is now away
[02:06:43] Dukobpa3: http://dumpz.org/39247/
[02:06:53] Typhon: в чятик больше 3-4 не бросают обычно ;-)
[02:07:00] Dukobpa3: print '2:' # тут покажет один и тот же id, это наверное потому-что код класса
# исполняется при его определении. Но это как-то непонятно и путает, лучше так
# не делать
print '\t', id(test2_1.parser)
print '\t', id(test2_2.parser)
print ''

Вот этот кусок интересует
[02:07:16] Dukobpa3: Почему таки ИД разный?
[02:07:36] Dukobpa3: ну догадки в каменте есть, а так чтоб точно?
[02:09:05] Typhon: !pydoc id
[02:09:16] Dukobpa3: Typhon: кстати, пидиспатчер запилил, бота по системе МВЦ тоже ;)
[02:09:44] Typhon: и да, то что ты определяешь в теле класса "принадлежит" классу и исполняется единожды -- при интерпретации его.
[02:09:49] Dukobpa3: т.е. наоборот, почему тки ид одинаковый
[02:10:12] Typhon: если хочешь для каждого бота свой парсер -- создавай его в __init__.
[02:10:23] Typhon: + отнаследуй ботов от objects
[02:10:26] Typhon: *object
[02:10:49] Dukobpa3: та на названия не ведись)) Там чисто для примера и теста
[02:10:55] Dukobpa3: вопрос больше по наследованию
[02:11:15] Typhon: это не названия, это new vs old style classes
[02:11:22] Dukobpa3: т.е. получается если я явно конструктор не запускаю, то он один раз выполняется а потом куда не попадя будет один и тот же объект пихаться
[02:11:24] serg.makar is now away
[02:11:35] Typhon: эм
[02:11:58] Dukobpa3: parserr = fignya() - ну вот я конструктор запустил
[02:11:59] Typhon: смотри: "тело" класса выполняется в момент интерпретации питоном исходника.
[02:12:30] Dukobpa3: вот да. Оно выполнилось, значит один объект в памяти висит уже. У него есть ИД.
[02:12:36] Typhon: потом, когда ты создаёшь класс, выполняется class.__new__ => inst; class.__init__(inst)
[02:12:40] Dukobpa3: А потом если я конструктор класса запускаю создается другой.
[02:13:07] Typhon: ты хочешь синглтон? %)
[02:13:37] Dukobpa3: та ниче я не хочу, попробовал разные варианты, меня такой исход удивил
[02:13:45] Dukobpa3: как в каменте и указано - путает
[02:14:11] Typhon: что путает то?
[02:14:12] Dukobpa3: вроде как каждый раз конструктор запускался, значит инстансы разные длжны быть, а оно нифига нет
[02:14:27] Typhon: брр.
[02:14:32] Dukobpa3: class bot1:
def __init__ (self):
self.parser = fignya()
print 'bot1 inited'
class bot2:
parser = fignya()
def __init__ (self):
print 'bot2 inited'
[02:14:58] Dukobpa3: смотри. бот1 - self.parser = fignya() - делается в ините
[02:15:23] Dukobpa3: parser = fignya() - а в боте два то же самое но не в ините а в переменных класса. Типа код который до вызова инита выполняется
[02:15:44] Dukobpa3: но конструктор фигни запускается вроде как теоретически и в том и в другом случае
[02:15:50] Typhon: не "до вызова initа", а во время интерпретации.
[02:15:57] Typhon: ща
[02:16:25] serg.makar is now away
[02:16:37] Typhon: добавь print в __init__ фигни.
[02:16:50] Typhon: и запусти ещё раз пример свой.
[02:17:42] Typhon: или вот так http://paste.in.ua/1877/
[02:18:32] Typhon: тело класса исполняется во время интерпретации исходника, метод __init__ выполняется "при создании" _экземпляра_ класса.
[02:18:50] Typhon: то есть, в bot1 фигня создаётся для каждого _экземпляра_.
[02:19:18] Typhon: а в bot2 -- одна фигня создана для всего класса и все экземпляры этого класса "делят" её.
[02:19:49] Dukobpa3: class fignya(object):
print 'preinit fignya'
def __init__(self):
print 'init fignya'
self.testo = 55
[02:19:52] Dukobpa3: сделал так
[02:20:06] Dukobpa3: preinit fignya
init fignya
init fignya
bot1 inited
init fignya
bot1 inited
bot2 inited
bot2 inited
init fignya
bot3 inited
bot3 inited
[02:20:11] Dukobpa3: выдало так.
[02:20:21] Dukobpa3: преинит в самом начале, а потом больше не встречалось
[02:21:15] Dukobpa3: хм. Можно так мутить статик переменные класса получается
[02:21:25] serg.makar is now away
[02:21:55] Typhon: были б они ещё нужны %)
[02:22:17] Dukobpa3: Ну есть такое понятие ООП как "полиморфизм"
[02:22:19] Dukobpa3: иногда угодно
[02:22:32] Dukobpa3: счетчик объектов тот же замутить
[02:22:39] Dukobpa3: *иногда удобно
[02:23:01] Typhon: полиморфизм каким боком к статическим полям класса? oO
[02:23:10] Typhon: олсо, полиморфизм -- не понятие ооп
[02:23:26] Typhon: !g parametric polymorphism
[02:23:37] Typhon: !g liskov substitution principle
[02:24:55] Dukobpa3: Typhon: ну например статик переменные класса помогут если нужно выловить все инстансы определенного класса или его наследников
[02:25:10] Dukobpa3: А это прерогатива полиморфизма
[02:25:10] Typhon: type()
[02:25:19] Typhon: .__class__
[02:25:21] Typhon: isinstance
[02:25:26] Dukobpa3: Typhon: Не, ну это вы крутые питоновцы))
[02:25:33] Dukobpa3: такие рюшки я тока в питоне встречал
[02:26:01] Dukobpa3: не привык к ним еще... тут чувак мой код подколбасил чуток, как он выразился: "питонизировал" так я вообще афигел, как ту всё гибко и удобно
[02:26:25] serg.makar is now away
[02:26:32] Dukobpa3: Typhon: изинстанс это возвращает булево?
[02:26:41] Dukobpa3: Я такое что-то искал как раз недавно.
[02:27:06] Typhon: да, только он не нужен
[02:27:10] Typhon: !wtf duck-typing
[02:28:11] Dukobpa3: ну мне он уже тоже не нужен) Обошелся
[02:28:18] Dukobpa3: тот же чувак мне метод проще показал
[02:29:48] Dukobpa3: Писать на питоне как на плюсах или чем ином - себе во вред) Уникален он уж слишком.
[02:30:01] Dukobpa3: Я это уже понял, но еще не научился
[02:31:26] serg.makar is now away
[02:34:35] Dukobpa3: Спасибо чуваки) Я понял короче)
[02:35:28] Dukobpa3: А с монгоДБ никто не работал?
[02:36:28] serg.makar is now away
[02:36:29] Dukobpa3: Штука мегоудобная, но я там не совсем понял кк дела с авторизацией обстоят. Ну там сессию открыть, сессию закрыть то понял. А до какой глубины права ставить можно? Таблица, база, запись. Этого что-то не вкурил.
[02:38:30] Typhon: по-моему, почти все эти модные носкли кладут х-й разных размеров на секюрити и авторизацию, подразумеваю, что баз(кластер) будет висеть внутри адм. домена, закрытая от внешнего мира, а внутри все такие правильные и не хотят ничего испортить.
[02:38:44] Typhon: с монгой дела не имел, тут люди были, кто пользовал, но сейчас, видимо, все сптя
[02:38:46] Typhon: *спят
[02:39:35] Dukobpa3: Typhon: не ну как минимум есть два вида юзеров - ридонли и полный доступ
[02:39:44] Dukobpa3: а вот чтоб роли какие-то я как-то хз
[02:41:29] serg.makar is now away
[02:44:10] Dukobpa3: уныло как-то оболочкой на функции ограничения по доступу ставить((
Типа ты хороший можешь запустить "апдейт_базу()"
а ты нуб, тебе хватит только "прочитать_базу()"
[02:46:30] serg.makar is now away
[02:51:30] serg.makar is now away
[02:56:30] serg.makar is now away
[03:01:31] serg.makar is now away
[03:05:43] Dukobpa3 is now offline
[03:06:33] serg.makar is now away
[03:11:34] serg.makar is now away
[03:16:33] serg.makar is now away
[03:17:01] gigimon is now offline
[03:19:01] Tony is now offline
[03:21:33] serg.makar is now away
[03:26:34] serg.makar is now away
[03:26:53] Dukobpa3 is now dnd
[03:27:42] Dukobpa3: Typhon: Кстати, вот эту мульку о которой я изначально спрашивал можно банально память экономить. Держать в инстансах которых много - только уникальные данные, а то что у всех общее - чтоб в одном екземпляре было.
[03:29:05] asou is now offline
[03:31:34] serg.makar is now away
[03:32:29] webninja is now online
[03:32:44] webninja is now online
[03:36:34] serg.makar is now away
[03:37:21] Tony is now online
[03:41:34] serg.makar is now away
[03:42:13] gf is now away
[03:44:03] webninja is now online
[03:46:35] serg.makar is now away
[03:47:03] webninja is now online
[03:51:35] serg.makar is now away
[03:56:36] serg.makar is now away
[04:01:37] serg.makar is now away
[04:06:38] serg.makar is now away
[04:08:08] Dukobpa3 is now offline
[04:11:39] serg.makar is now away
[04:16:39] serg.makar is now away
[04:21:40] serg.makar is now away
[04:22:02] Typhon is now offline
[04:26:41] serg.makar is now away
[04:28:11] gf is now online
[04:28:11] gf is now online
[04:30:15] mishok13 is now connecting
[04:31:42] serg.makar is now away
[04:36:44] serg.makar is now away
[04:37:35] webninja is now online
[04:41:43] serg.makar is now away
[04:46:34] dicos is now online
[04:46:43] serg.makar is now away
[04:51:43] serg.makar is now away
[04:53:11] gf is now offline
[04:56:43] serg.makar is now away
[05:01:43] serg.makar is now away
[05:06:44] serg.makar is now away
[05:11:44] serg.makar is now away
[05:13:22] dicos is now away
[05:13:22] dicos is now away
[05:16:44] serg.makar is now away
[05:21:07] webninja is now online
[05:21:45] serg.makar is now away
[05:26:09] webninja is now online
[05:26:45] serg.makar is now away
[05:31:44] serg.makar is now away
[05:36:44] serg.makar is now away
[05:41:45] serg.makar is now away
[05:43:58] mishok13 is now offline
[05:46:45] serg.makar is now away
[05:47:25] dicos is now away
[05:47:27] dicos is now online
[05:51:45] serg.makar is now away
[05:56:45] serg.makar is now away
[06:01:46] serg.makar is now away
[06:06:46] serg.makar is now away
[06:07:32] gf is now online
[06:07:41] gf is now online
[06:11:46] serg.makar is now away
[06:16:46] serg.makar is now away
[06:21:46] serg.makar is now away
[06:26:46] serg.makar is now away
[06:31:46] serg.makar is now away
[06:36:46] serg.makar is now away
[06:41:47] serg.makar is now away
[06:41:50] wiz is now online
[06:45:10] gf is now away
[06:45:11] gf is now away
[06:46:49] serg.makar is now away
[06:48:01] gf is now online
[06:48:02] gf is now online
[06:51:49] serg.makar is now away
[06:56:10] wiz is now away
[06:56:48] serg.makar is now away
[07:00:37] serg.makar is now online
[07:00:38] serg.makar is now online
[07:01:02] altego is now online
[07:01:02] altego is now online
[07:01:49] serg.makar is now online
[07:03:11] altego is now online
[07:06:10] wiz is now xa
[07:06:48] serg.makar is now online
[07:08:12] altego is now online
[07:11:48] serg.makar is now online
[07:13:12] altego is now online
[07:14:16] dicos is now away
[07:14:17] dicos is now away
[07:16:47] serg.makar is now online
[07:16:58] gf is now away
[07:16:59] gf is now away
[07:17:24] serg.makar is now away
[07:17:25] serg.makar is now away
[07:18:13] altego is now online
[07:18:55] serg.makar is now online
[07:18:56] serg.makar is now online
[07:20:38] dicos is now away
[07:20:39] dicos is now online
[07:21:48] serg.makar is now online
[07:23:15] altego is now online
[07:25:44] serg.makar is now away
[07:25:45] serg.makar is now away
[07:26:50] serg.makar is now away
[07:28:16] altego is now online
[07:31:49] serg.makar is now away
[07:33:16] altego is now online
[07:36:50] serg.makar is now away
[07:38:20] altego is now online
[07:41:21] serg.makar is now online
[07:41:22] serg.makar is now online
[07:41:50] serg.makar is now online
[07:43:21] altego is now online
[07:46:22] ormaturi is now online
[07:46:48] ormaturi is now offline
[07:46:50] serg.makar is now online
[07:48:21] altego is now online
[07:48:53] pc_ is now online
[07:48:59] webninja is now online
[07:50:26] serg.makar is now away
[07:50:26] serg.makar is now away
[07:50:59] kostafey is now online
[07:51:51] serg.makar is now away
[07:52:34] kostafey is now online
[07:53:23] altego is now online
[07:54:03] pc_ is now away
[07:55:13] py_two is now online
[07:56:52] serg.makar is now away
[07:57:36] kostafey is now online
[07:58:03] xa4a is now away
[07:58:03] xa4a is now online
[07:58:25] altego is now online
[07:58:46] webninja is now online
[07:58:55] webninja is now online
[08:01:51] serg.makar is now away
[08:02:37] kostafey is now online
[08:03:25] altego is now online
[08:04:03] pc_ is now xa
[08:06:51] serg.makar is now away
[08:07:38] kostafey is now online
[08:08:30] altego is now online
[08:09:28] webninja is now online
[08:11:52] serg.makar is now away
[08:12:40] kostafey is now online
[08:13:31] altego is now online
[08:13:54] py_two is now xa
[08:14:48] dicos is now away
[08:14:49] dicos is now away
[08:15:40] alecs is now online
[08:15:40] alecs is now online
[08:15:50] alecs is now online
[08:15:51] alecs is now online
[08:16:52] serg.makar is now away
[08:17:41] kostafey is now online
[08:18:11] xa4a is now online
[08:18:11] xa4a is now away
[08:18:34] altego is now online
[08:18:45] alecs is now online
[08:19:59] ormaturi is now online
[08:20:10] dicos is now away
[08:20:11] dicos is now online
[08:20:51] ormaturi is now offline
[08:21:51] serg.makar is now away
[08:22:43] kostafey is now online
[08:23:17] pc_ is now online
[08:23:35] altego is now online
[08:23:48] alecs is now online
[08:24:52] py_two is now online
[08:26:52] serg.makar is now away
[08:27:44] kostafey is now online
[08:28:29] pc_ is now away
[08:28:37] altego is now online
[08:28:49] alecs is now online
[08:29:41] pc_ is now online
[08:31:53] serg.makar is now away
[08:32:44] kostafey is now online
[08:33:27] dicos is now away
[08:33:28] dicos is now away
[08:33:38] xa4a is now away
[08:33:38] xa4a is now online
[08:33:39] altego is now online
[08:33:50] alecs is now online
[08:35:41] pc_ is now away
[08:36:53] serg.makar is now away
[08:37:46] kostafey is now online
[08:38:42] altego is now online
[08:38:51] alecs is now online
[08:41:52] serg.makar is now away
[08:42:47] kostafey is now online
[08:43:44] altego is now online
[08:43:52] alecs is now online
[08:44:10] gf is now online
[08:44:10] gf is now online
[08:44:17] Joes is now online
[08:44:57] py_two is now xa
[08:45:41] pc_ is now xa
[08:46:53] serg.makar is now away
[08:47:26] webninja is now online
[08:47:49] kostafey is now online
[08:48:47] altego is now online
[08:48:53] alecs is now online
[08:51:54] serg.makar is now away
[08:52:48] kostafey is now online
[08:53:41] slav0nic is now online
[08:53:47] slav0nic is now away
[08:53:49] altego is now online
[08:53:56] alecs is now online
[08:56:54] serg.makar is now away
[08:57:49] kostafey is now online
[08:57:58] Joes is now online
[08:58:48] altego is now online
[08:58:55] alecs is now online
[09:01:56] serg.makar is now away
[09:02:48] kostafey is now online
[09:03:51] altego is now online
[09:03:58] alecs is now online
[09:06:55] serg.makar is now away
[09:07:49] kostafey is now online
[09:08:52] altego is now online
[09:09:00] alecs is now online
[09:11:55] serg.makar is now away
[09:12:50] kostafey is now online
[09:13:55] altego is now online
[09:14:01] alecs is now online
[09:14:47] gf is now away
[09:14:47] gf is now away
[09:16:55] serg.makar is now away
[09:17:52] kostafey is now online
[09:18:29] nott is now online
[09:18:50] serg.makar is now online
[09:18:50] serg.makar is now online
[09:18:55] altego is now online
[09:19:03] alecs is now online
[09:21:55] serg.makar is now online
[09:22:37] xa4a is now offline
[09:22:53] kostafey is now online
[09:23:04] xa4a is now online
[09:23:25] py_two is now online
[09:23:28] webninja is now online
[09:23:37] webninja is now online
[09:23:56] altego is now online
[09:24:02] serg.makar is now away
[09:24:03] serg.makar is now away
[09:24:05] alecs is now online
[09:24:39] py_two is now xa
[09:24:47] xa4a is now offline
[09:25:24] vint21h is now online
[09:26:48] serg.makar is now online
[09:26:48] serg.makar is now online
[09:26:55] serg.makar is now online
[09:27:41] xa4a is now online
[09:27:54] kostafey is now online
[09:28:57] altego is now online
[09:29:06] alecs is now online
[09:31:42] xa4a is now offline
[09:31:56] serg.makar is now online
[09:32:15] py_two is now online
[09:32:55] kostafey is now online
[09:33:02] alecs is now away
[09:33:02] alecs is now away
[09:33:03] alecs is now away
[09:33:59] altego is now online
[09:34:07] alecs is now away
[09:34:51] serg.makar is now away
[09:34:51] serg.makar is now away
[09:35:24] Joes is now away
[09:36:47] dicos is now away
[09:36:49] dicos is now online
[09:36:57] serg.makar is now away
[09:37:56] kostafey is now online
[09:38:29] Tony is now offline
[09:38:39] Tony is now online
[09:38:50] alecs is now away
[09:38:50] alecs is now online
[09:38:51] alecs is now online
[09:39:01] altego is now online
[09:39:09] alecs is now online
[09:41:57] serg.makar is now away
[09:42:57] kostafey is now online
[09:44:02] altego is now online
[09:44:10] alecs is now online
[09:45:11] altego is now online
[09:45:11] altego is now online
[09:46:11] altego is now online
[09:46:11] altego is now online
[09:46:32] serg.makar is now online
[09:46:32] serg.makar is now online
[09:46:58] serg.makar is now online
[09:47:59] kostafey is now online
[09:49:04] altego is now online
[09:49:11] alecs is now online
[09:50:45] deepwalker is now online
[09:51:34] serg.makar is now away
[09:51:34] serg.makar is now away
[09:51:58] serg.makar is now away
[09:53:00] kostafey is now online
[09:54:06] altego is now online
[09:54:12] alecs is now online
[09:54:33] serg.makar is now online
[09:54:34] serg.makar is now online
[09:54:37] webninja is now online
[09:56:57] serg.makar is now online
[09:58:01] kostafey is now online
[09:59:07] altego is now online
[09:59:14] altego is now online
[09:59:14] alecs is now online
[09:59:14] altego is now online
[10:01:59] serg.makar is now online
[10:03:03] kostafey is now online
[10:04:08] altego is now online
[10:04:09] maxp is now away
[10:04:14] alecs is now online
[10:05:50] gf is now online
[10:05:50] gf is now online
[10:05:59] webninja is now online
[10:06:59] serg.makar is now online
[10:08:03] kostafey is now online
[10:09:09] altego is now online
[10:09:14] alecs is now online
[10:10:48] Joes is now online
[10:11:15] bobry is now offline
[10:11:17] bobry is now online
[10:11:19] bobry is now online
[10:11:19] bobry is now online
[10:11:51] altego is now online
[10:11:52] altego is now online
[10:12:00] serg.makar is now online
[10:13:03] kostafey is now online
[10:14:09] altego is now online
[10:14:14] alecs is now online
[10:16:07] maxp is now away
[10:16:30] vint21h is now away
[10:16:31] vint21h is now away
[10:17:00] serg.makar is now online
[10:18:03] kostafey is now online
[10:18:13] bobry is now offline
[10:18:16] bobry is now online
[10:19:00] dicos is now away
[10:19:01] dicos is now away
[10:19:10] altego is now online
[10:19:15] alecs is now online
[10:19:26] altego is now dnd
[10:19:26] altego is now dnd
[10:19:37] serg.makar is now away
[10:19:37] serg.makar is now away
[10:20:51] Joes is now away
[10:21:40] vint21h is now away
[10:21:41] vint21h is now online
[10:22:01] serg.makar is now away
[10:22:44] serg.makar is now online
[10:22:44] serg.makar is now online
[10:23:04] kostafey is now online
[10:24:12] altego is now dnd
[10:24:16] alecs is now online
[10:24:51] Typhon is now online
[10:26:41] vint21h is now away
[10:26:42] vint21h is now away
[10:27:00] serg.makar is now online
[10:28:06] kostafey is now online
[10:28:42] _lorien is now offline
[10:29:00] altego is now dnd
[10:29:01] altego is now dnd
[10:29:12] altego is now dnd
[10:29:17] alecs is now online
[10:31:09] altego is now dnd
[10:31:10] altego is now dnd
[10:31:54] webninja: /me насилует гугл
[10:31:59] serg.makar is now online
[10:33:07] kostafey is now online
[10:33:12] vint21h is now away
[10:33:13] vint21h is now online
[10:33:29] webninja: почитал немножко про монгодб. оказывается не совсем это дело подходит под джанго
[10:34:12] altego is now dnd
[10:34:18] alecs is now online
[10:34:28] serg.makar is now away
[10:34:28] serg.makar is now away
[10:34:48] webninja: а если 2е базы данных использовать sql и монго это норм решение будет?
[10:37:00] serg.makar is now away
[10:37:24] gf is now offline
[10:38:09] kostafey is now online
[10:38:21] gf is now away
[10:38:31] gf is now away
[10:39:12] altego is now dnd
[10:39:19] alecs is now online
[10:42:00] serg.makar is now away
[10:43:10] kostafey is now online
[10:43:40] maxp is now away
[10:43:57] dicos is now away
[10:43:57] dicos is now online
[10:44:13] altego is now dnd
[10:44:20] alecs is now online
[10:47:01] serg.makar is now away
[10:47:32] dicos is now offline
[10:48:11] kostafey is now online
[10:49:14] altego is now dnd
[10:49:22] alecs is now online
[10:52:03] serg.makar is now away
[10:53:09] kyzic is now online
[10:53:12] kostafey is now online
[10:54:11] gf is now online
[10:54:11] gf is now online
[10:54:15] altego is now dnd
[10:54:23] alecs is now online
[10:55:48] vint21h is now away
[10:55:49] vint21h is now away
[10:56:05] py_two is now xa
[10:57:04] serg.makar is now away
[10:58:13] kostafey is now online
[10:58:42] maxp is now away
[10:59:16] altego is now dnd
[10:59:24] alecs is now online
[11:02:04] serg.makar is now away
[11:03:15] kostafey is now online
[11:04:14] kostafey is now away
[11:04:14] kostafey is now away
[11:04:15] kostafey is now away
[11:04:15] kostafey is now away
[11:04:17] altego is now dnd
[11:04:25] alecs is now online
[11:06:00] nmk is now online
[11:06:43] vint21h is now away
[11:06:44] vint21h is now online
[11:07:06] serg.makar is now away
[11:08:16] kostafey is now away
[11:09:18] altego is now dnd
[11:09:26] alecs is now online
[11:10:40] py_two is now online
[11:12:06] serg.makar is now away
[11:13:17] kostafey is now away
[11:14:18] altego is now dnd
[11:14:27] alecs is now online
[11:17:04] serg.makar is now away
[11:18:18] kostafey is now away
[11:19:20] altego is now dnd
[11:19:28] alecs is now online
[11:19:49] kyzic is now offline
[11:22:04] serg.makar is now away
[11:23:19] kostafey is now away
[11:23:29] alecs is now away
[11:23:29] alecs is now away
[11:23:30] alecs is now away
[11:24:20] altego is now dnd
[11:24:29] alecs is now away
[11:24:55] vint21h is now away
[11:24:56] vint21h is now away
[11:25:05] alecs is now away
[11:25:06] alecs is now online
[11:25:06] alecs is now online
[11:26:10] tilarids is now online
[11:27:05] serg.makar is now away
[11:28:20] kostafey is now away
[11:29:20] altego is now dnd
[11:29:30] alecs is now online
[11:31:08] kostafey is now away
[11:31:08] kostafey is now online
[11:31:08] kostafey is now online
[11:31:19] py_two is now xa
[11:32:04] serg.makar is now away
[11:33:20] kostafey is now online
[11:34:21] altego is now dnd
[11:34:31] alecs is now online
[11:37:05] serg.makar is now away
[11:38:21] kostafey is now online
[11:39:21] altego is now dnd
[11:39:32] alecs is now online
[11:42:05] serg.makar is now away
[11:42:12] kostafey is now away
[11:42:12] kostafey is now away
[11:42:12] kostafey is now away
[11:43:21] kostafey is now away
[11:44:23] altego is now dnd
[11:44:33] alecs is now online
[11:45:03] _lorien is now I'm not here right now
[11:45:37] webninja is now online
[11:45:49] webninja is now online
[11:46:01] bobry is now away
[11:47:03] pc_ is now online
[11:47:05] serg.makar is now away
[11:47:24] vint21h is now away
[11:47:24] vint21h is now online
[11:47:43] Joes is now online
[11:48:22] kostafey is now away
[11:49:00] kostafey is now away
[11:49:00] kostafey is now online
[11:49:23] altego is now dnd
[11:49:34] alecs is now online
[11:52:05] serg.makar is now away
[11:53:22] kostafey is now online
[11:54:24] altego is now dnd
[11:54:35] alecs is now online
[11:54:43] kostafey is now away
[11:54:43] kostafey is now away
[11:54:43] kostafey is now away
[11:56:01] bobry is now xa
[11:57:05] serg.makar is now away
[11:58:23] kostafey is now away
[11:58:54] _lorien: webninja: зачем тебе монго?
[11:59:24] altego is now dnd
[11:59:35] alecs is now online
[11:59:35] webninja: документы хранить
[11:59:48] _lorien: храни в myql :)

[12:00:03] _lorien: * mysql
[12:00:03] webninja: а поиск по ним?
[12:00:15] _lorien: ну ты колонки создай :)
[12:00:28] Typhon: nmk: http://friendfeed.com/ay4/40ee3510/mongodb — ты вроде используешь активно монгу, или не ?
[12:00:31] webninja: =) откуда я знаю сколько колонок? документы разноформатные
[12:00:56] _lorien: Почему разноформатные? Откуда они берутся?
[12:01:04] nmk: Typhon: у нас не известный проект ;)
[12:01:19] webninja: ну предположим там тексты разные. по этим текстам нужно делать поиск
[12:01:27] altego is now dnd
[12:01:27] altego is now dnd
[12:01:41] _lorien: для текстов можно использовать запросы LIKE, а также fulltext-поиск
[12:01:58] Typhon: nmk: там чувак спрашивает, походу, чтобы на монгодб-москоу пригласить, походу, так что если есть что рассказать, можно чиркануть, думаю.
[12:02:06] serg.makar is now away
[12:02:38] nmk: у меня один негатив. нафиг он им :)
[12:03:01] webninja: не лайк не то. а что за фуллтекст поиск? текст достаточно большие и нужно нарпимер вернуть документы в которых встречается последовательность слов это реально сделать быстро на майскуэль?
[12:03:18] _lorien: так а при чём тут монго не пойму :)
[12:03:23] kostafey is now away
[12:03:24] webninja: nmk: ну выйдешь скажешь ) гавно ваше монго
[12:03:40] webninja: _lorien: пишут что как раз для таких случаев хорошо
[12:04:22] _lorien: последовательность думаю через fulltext быстрее искать, как-то будет fulltext-индекс использоваться
[12:04:26] altego is now dnd
[12:04:30] webninja: ну я так понимаю это индекс нужно строить. этот sphinx умеет такое?
[12:04:30] _lorien: в монго тоже fulltext есть
[12:04:35] alecs is now online
[12:04:37] _lorien: Вообще ян епонимаю как тут монго поможет
[12:04:49] webninja: например в документах рецепты
[12:04:50] _lorien: sphinx - это стороннее решение для поиска
[12:04:59] webninja: пользователь воодит картошка курица
[12:05:07] _lorien: ты смешал в кучу mysql-fulltext, mongodb и sphinx
[12:05:48] webninja: я пока ТЗ рисую потихоньку что использовать буду
[12:06:04] _lorien: я бы советовал попробовать в такой последовательности: mysql-fulltext, shpinx и далее уже монга (при чём тут она не понимаю) :)
[12:06:09] pc_ is now away
[12:06:20] py_two is now offline
[12:06:33] _lorien: просто mysql-fulltext - это самое простое решение, ты можешь быстро попробовать его и оценить скорость
[12:06:40] webninja: майскуэль не вэбскэйл =)
[12:06:43] _lorien: забей большую БД рецептов и делай запросы
[12:06:44] webninja: да думаю попробую
[12:07:06] serg.makar is now away
[12:07:08] Typhon is now away
[12:07:12] _lorien: Вебскейл имеет смысл, если у тебя нагрузка большая, у тебя большая нагрузка? :)
[12:07:19] py_two is now xa
[12:07:49] pc_ is now online
[12:07:57] _lorien: В общем мысль такая: разумно использовать mongodb там где она нужна, а не потому что это модно и прикольно :)
[12:08:00] altego is now dnd
[12:08:00] altego is now dnd
[12:08:12] _lorien: А где она нужна я хз, я особо в этом не разбираюсь :o)
[12:08:23] webninja: да возможно будет большая
[12:08:24] kostafey is now away
[12:08:52] kostafey is now away
[12:08:52] kostafey is now online
[12:08:52] kostafey is now online
[12:09:01] webninja: но в основном на чтение
[12:09:26] altego is now dnd
[12:09:35] alecs is now online
[12:10:35] _lorien: Просто ты сам подумай, как монго искать будет, точно так же какой-то индекс будет использовать. Ничего отличного от mysql не будет, разве что будет чуток быстрее работать. Ну а в теории ты можешь разнести монгу на несколько серверов, но как тогда fulltex-поиск будет работать я не оч. понимаю :) Если индекс будет разбит на несколько машин это значит надо с map-reduce ебаться
[12:11:03] _lorien: А если индекс на одной машине, то тогда прироста в скорости не будет.
[12:12:06] serg.makar is now away
[12:12:19] _lorien: Да и map-reduce он тоже не быстрый. Вот у меня была задача подсчитать кол-во слов в различных документах. Если делать в лоб на питоне то получается в 10 раз быстре чем map-reduce на одной машине. И хз сколько надо машин добавить, чтобы map-reduce быстро заработал :)
[12:12:47] _lorien: А или в 100 раз быстрее или в 1000 я не помню точно )
[12:13:25] kostafey is now online
[12:13:36] webninja: хых =)
[12:13:54] kostafey is now away
[12:13:54] kostafey is now away
[12:13:54] kostafey is now away
[12:14:27] altego is now dnd
[12:14:28] Typhon is now online
[12:14:37] alecs is now online
[12:16:13] _lorien: fulltext-поиск насколько я понимаю это построение индкса, где указано какое слово в каких документах встречается, есс-но для этого БД должна уметь разбивать текст на слова, ну грубо гря по пробелам. Я только не понимаю, как ищутся фразы... или в индексе указаны также позиции слова в каждом документе или же сначала извлескаются все документы в которых есть слова из фразы и далее в этих документах ищется фраза
[12:17:06] serg.makar is now away
[12:18:03] bobry is now online
[12:18:18] webninja: я нашел щаз на сайте майскуэль
[12:18:20] webninja: про это
[12:18:21] webninja: читаю
[12:18:25] kostafey is now away
[12:18:47] webninja: фуллтекст этот средствами джанго-ОРМ реализуется?
[12:19:29] altego is now dnd
[12:19:32] _lorien: Хотя в принципе понятно как в случае несколько машин fulltext-индекс выглядит, на каждой машине только индекс для данных, хранящихся на этой машине. Если всё хранить на одной машине вряд ли много будет сильно быстрее мускуля.
[12:19:33] teraom is now Я здесь.
[12:19:38] alecs is now online
[12:19:50] _lorien: Читай доки, была какая-то херь для того чтобы генерить fulltext-азпросы
[12:20:24] _lorien: http://docs.djangoproject.com/en/dev/ref/models/querysets/#search
[12:20:50] webninja: спасиб
[12:21:18] webninja: так пойду кодить )
[12:21:21] webninja is now offline
[12:22:07] serg.makar is now away
[12:23:26] kostafey is now away
[12:24:31] altego is now dnd
[12:24:38] alecs is now online
[12:24:51] kostafey is now away
[12:24:51] kostafey is now online
[12:24:51] kostafey is now online
[12:27:07] serg.makar is now away
[12:28:28] kostafey is now online
[12:29:32] altego is now dnd
[12:29:40] alecs is now online
[12:29:50] py_two is now offline
[12:30:09] kostafey is now away
[12:30:09] kostafey is now away
[12:30:09] kostafey is now away
[12:30:10] py_two is now xa
[12:32:07] xa4a is now online
[12:32:07] serg.makar is now away
[12:33:29] kostafey is now away
[12:34:32] altego is now dnd
[12:34:41] alecs is now online
[12:34:41] pc_ is now away
[12:37:09] serg.makar is now away
[12:37:59] pc_ is now online
[12:38:30] kostafey is now away
[12:39:34] altego is now dnd
[12:39:42] alecs is now online
[12:40:11] serg.makar is now offline
[12:42:44] serg.makar is now away
[12:42:44] serg.makar is now away
[12:42:57] serg.makar is now away
[12:43:31] kostafey is now away
[12:43:53] py_two is now online
[12:44:36] altego is now dnd
[12:44:42] alecs is now online
[12:45:27] altego is now dnd
[12:45:28] altego is now dnd
[12:47:29] gf is now away
[12:47:57] serg.makar is now away
[12:48:31] kostafey is now away
[12:49:12] kostafey is now away
[12:49:12] kostafey is now online
[12:49:12] kostafey is now online
[12:49:19] pc_ is now away
[12:49:36] altego is now dnd
[12:49:42] alecs is now online
[12:51:27] Tony is now away
[12:52:58] serg.makar is now away
[12:53:13] vint21h is now away
[12:53:13] vint21h is now away
[12:53:31] kostafey is now online
[12:54:24] gigimon is now online
[12:54:36] altego is now dnd
[12:54:43] alecs is now online
[12:55:16] vint21h is now away
[12:55:17] vint21h is now online
[12:56:38] bobry: блин, атомо http://atomo-lang.org/ клевый
[12:56:47] bobry: кто нить на нем писал?
[12:57:15] kostafey is now away
[12:57:15] kostafey is now away
[12:57:16] kostafey is now away
[12:57:16] kostafey is now away
[12:57:58] serg.makar is now away
[12:57:59] Typhon: его ж нету, кажется, рабочей имплементации :)
[12:58:02] Typhon: только "диз-док"
[12:58:11] Typhon: а, или я спутал
[12:58:20] Typhon: да, спутал, с habit
[12:58:32] kostafey is now away
[12:59:02] Typhon: """ inspired by … Ruby (very DSL-friendly)""" — fail %)
[12:59:19] pc_ is now xa
[12:59:37] altego is now dnd
[12:59:40] bobry: нуу, почему?
[12:59:44] alecs is now online
[12:59:46] bobry: coffee вон тоже DSL friendly
[12:59:49] bobry: и нефига не фейл
[13:00:21] bobry: мне вот он смолток напоминает вместе с Io
[13:03:00] serg.makar is now away
[13:03:33] kostafey is now away
[13:04:38] altego is now dnd
[13:04:44] alecs is now online
[13:05:12] altego is now dnd
[13:05:13] altego is now dnd
[13:08:02] serg.makar is now away
[13:08:34] kostafey is now away
[13:09:39] altego is now dnd
[13:09:44] alecs is now online
[13:13:03] serg.makar is now away
[13:13:36] kostafey is now away
[13:14:40] altego is now dnd
[13:14:46] alecs is now online
[13:16:27] Tony is now xa
[13:18:02] serg.makar is now away
[13:18:37] kostafey is now away
[13:19:16] gf is now online
[13:19:16] gf is now online
[13:19:25] vint21h is now away
[13:19:26] vint21h is now away
[13:19:41] altego is now dnd
[13:19:47] alecs is now online
[13:20:33] pc_ is now online
[13:23:02] serg.makar is now away
[13:23:39] kostafey is now away
[13:23:59] vint21h is now away
[13:24:00] vint21h is now online
[13:24:42] altego is now dnd
[13:24:48] alecs is now online
[13:25:21] bobry is now away
[13:25:35] pc_ is now away
[13:27:13] serg.makar is now online
[13:27:13] serg.makar is now online
[13:28:04] serg.makar is now online
[13:28:39] kostafey is now away
[13:29:44] altego is now dnd
[13:29:48] alecs is now online
[13:30:29] Joes is now away
[13:31:48] py_two is now xa
[13:33:06] serg.makar is now online
[13:33:40] kostafey is now away
[13:34:27] Typhon is now away
[13:34:45] altego is now dnd
[13:34:48] alecs is now online
[13:34:53] alecs is now away
[13:34:53] alecs is now away
[13:34:54] alecs is now away
[13:35:22] bobry is now xa
[13:35:35] pc_ is now xa
[13:35:46] Joes is now online
[13:36:17] bobry is now online
[13:38:05] serg.makar is now online
[13:38:09] py_two is now online
[13:38:41] kostafey is now away
[13:39:45] altego is now dnd
[13:39:50] alecs is now away
[13:41:31] bobry is now away
[13:42:19] pc_ is now online
[13:43:06] serg.makar is now online
[13:43:43] kostafey is now away
[13:44:47] altego is now dnd
[13:44:52] alecs is now away
[13:47:00] Typhon is now online
[13:48:07] serg.makar is now online
[13:48:43] kostafey is now away
[13:49:05] nmk: а какие нынче вай-фай роутеры с 802.11n модны? ну, что бы там прошить его какой-нибудь wrt
[13:49:11] nmk: или не прошивать, если итак все работает
[13:49:14] nmk: igmp надо, да
[13:49:47] altego is now dnd
[13:49:53] alecs is now away
[13:51:31] bobry is now xa
[13:52:08] altego is now dnd
[13:52:09] altego is now dnd
[13:52:10] py_two: под вынью меркуриал имеем траблы с кодировкой
[13:52:19] py_two: в самом tortoisehg
[13:52:25] py_two: кто пробывал исправлять оные ?
[13:52:40] py_two: с гит такие же проблемы
[13:53:06] py_two: сорсы в утф8, в тортоис показывает их в виде кракозябров
[13:53:06] serg.makar is now online
[13:53:44] kostafey is now away
[13:54:48] altego is now dnd
[13:54:54] alecs is now away
[13:57:20] огыешсук is now online
[13:58:07] serg.makar is now online
[13:58:44] kostafey is now away
[13:59:35] altego is now dnd
[13:59:36] altego is now dnd
[13:59:49] altego is now dnd
[13:59:53] bobry is now online
[13:59:54] alecs is now away
[14:02:28] serg.makar is now away
[14:02:28] serg.makar is now away
[14:03:08] serg.makar is now away
[14:03:45] kostafey is now away
[14:04:50] altego is now dnd
[14:04:55] alecs is now away
[14:06:06] nott: py_two а BOM в файле есть?
[14:06:25] serg.makar is now online
[14:06:25] serg.makar is now online
[14:06:53] py_two: nott: what ?
[14:08:10] serg.makar is now online
[14:08:21] nott: py_two в общем случае на 100% невозможно определить кодировку файла. почитай в википедии про BOM и посмотри, есть ли он в файле.
[14:08:35] py_two: ок
[14:08:45] kostafey is now away
[14:09:52] altego is now dnd
[14:09:55] alecs is now away
[14:11:08] py_two: nott: решил проблему. Осталась только в kdiff
[14:11:45] py_two: и в logviewer
[14:12:09] bobry is now away
[14:13:09] pc_ is now away
[14:13:11] serg.makar is now online
[14:13:47] kostafey is now away
[14:14:41] pc_ is now online
[14:14:52] altego is now dnd
[14:14:55] alecs is now away
[14:15:14] bobry is now offline
[14:15:16] bobry is now away
[14:15:21] Typhon is now offline
[14:15:36] Typhon is now online
[14:17:14] dicos is now online
[14:18:12] serg.makar is now online
[14:18:18] xa4a is now online
[14:18:18] xa4a is now away
[14:18:40] vint21h is now away
[14:18:41] vint21h is now away
[14:18:48] kostafey is now away
[14:19:53] altego is now dnd
[14:19:56] alecs is now away
[14:23:13] serg.makar is now online
[14:23:49] kostafey is now away
[14:24:00] py_two: не хочу сабвершен=\
[14:24:03] py_two: хочу меркуриал
[14:24:11] vint21h is now away
[14:24:12] vint21h is now online
[14:24:53] altego is now dnd
[14:24:58] alecs is now away
[14:28:14] serg.makar is now online
[14:28:50] kostafey is now away
[14:29:54] altego is now dnd
[14:29:58] alecs is now away
[14:32:48] pc_ is now offline
[14:33:14] serg.makar is now online
[14:33:50] kostafey is now away
[14:34:54] altego is now dnd
[14:35:00] alecs is now away
[14:35:50] xa4a is now away
[14:35:50] xa4a is now online
[14:36:20] alecs is now online
[14:36:21] alecs is now online
[14:37:30] xa4a: nmk: я вот смотрю на airport express :)
[14:37:41] nmk: так мне ж домой
[14:37:55] nmk: семейный бюджет и все такое
[14:38:13] nmk: ой
[14:38:14] serg.makar is now online
[14:38:16] nmk: я спутал
[14:38:20] nmk: ты ж про apple
[14:38:42] nmk: а я думаю про cisco airap
[14:38:51] kostafey is now away
[14:39:55] altego is now dnd
[14:40:01] alecs is now online
[14:40:08] nmk: xa4a: мне на самом деле надо еще пару езернетов
[14:40:26] nmk: приставку там подключить, может торрент качалку куплю -- ее тоже бы не мешало по проводу
[14:41:36] xa4a: там n. должно хватить для торентов
[14:41:47] xa4a: приставка не умеет n?
[14:42:29] nmk: приставка нет.
[14:43:16] serg.makar is now online
[14:43:52] kostafey is now away
[14:44:56] altego is now dnd
[14:45:02] alecs is now online
[14:46:52] xa4a: хорошо, что у меня приставки нет :)
[14:47:03] nmk: почему? :)
[14:47:23] xa4a: но вот идея приходить домой и слышать музыку с компа сразу в колонках мне нравится
[14:47:27] serg.makar is now away
[14:47:27] serg.makar is now away
[14:47:49] xa4a: как-то времени нет. была бы приставка - играл бы ею и не успевал бы дел)
[14:48:17] serg.makar is now away
[14:48:19] xa4a: надо больше знаков препинания..
[14:48:25] py_two is now xa
[14:48:43] serg.makar is now online
[14:48:43] serg.makar is now online
[14:48:54] kostafey is now away
[14:48:56] nmk: да эт так кажется. я только первую неделю перся. потом только в свободное время..
[14:49:54] nmk: а насчет музыки, есть же bluetooth колонки
[14:49:56] altego is now dnd
[14:50:02] alecs is now online
[14:52:31] py_two is now online
[14:52:43] Typhon is now away
[14:52:54] xa4a: а как в bt-колонках со звуком?
[14:53:00] deepwalker: если блютус незолоченый, то плохо
[14:53:18] serg.makar is now online
[14:53:22] deepwalker: только 99.999999 золоченый блютус дает качественный звук
[14:53:54] kostafey is now away
[14:54:24] nmk: xa4a: так а что там со звуком может быть не так? 2.0 + edr это 2.1 мегабита, если верить википедии. этого вполне хватит
[14:54:24] py_two is now offline
[14:54:30] py_two is now online
[14:54:38] Typhon is now online
[14:54:58] altego is now dnd
[14:55:03] alecs is now online
[14:55:34] nmk: а
[14:55:35] nmk: я понял
[14:55:38] nmk: ты про сами колонки говоришь
[14:55:50] xa4a: и про bt
[14:56:12] nmk: http://www.thg.ru/network/20050204/
[14:56:21] xa4a: есть подозрение, что имеющиеся колонки + airport express выйдет дешевле, чем новые колонки + 802.11n точка
[14:56:58] nmk: короче говно этот bluetake
[14:58:07] nmk: дешевле это ккакой-нибудь комп слабенький поближе к колонкам и управлять удаленно
[14:58:19] serg.makar is now online
[14:58:56] kostafey is now away
[14:59:59] altego is now dnd
[15:00:04] alecs is now online
[15:00:43] xa4a: он жужжит
[15:01:00] nmk: ха
[15:01:05] nmk: нет
[15:01:14] nmk: очень много компов, которые не жужжат
[15:01:45] nmk: может можно на заломанный айпод что-то поставить, что бы он через себя музыку пробрасывал? :)
[15:02:07] serg.makar is now away
[15:02:07] serg.makar is now away
[15:02:45] altego is now dnd
[15:02:45] altego is now dnd
[15:03:21] serg.makar is now away
[15:03:57] kostafey is now away
[15:04:20] serg.makar is now online
[15:04:20] serg.makar is now online
[15:05:00] altego is now dnd
[15:05:06] alecs is now online
[15:05:12] tilarids is now away
[15:06:14] altego is now dnd
[15:06:15] altego is now dnd
[15:08:22] serg.makar is now online
[15:08:51] gf is now away
[15:08:51] gf is now away
[15:08:58] kostafey is now away
[15:10:01] altego is now dnd
[15:10:06] alecs is now online
[15:10:23] py_two is now xa
[15:11:26] py_two is now online
[15:11:39] py_two: ну что за запара ?:)
[15:11:58] py_two: как в логвьювере и в диффе научить кодировку утф отображать корректно ?:)
[15:13:22] serg.makar is now online
[15:13:58] kostafey is now away
[15:15:02] altego is now dnd
[15:15:08] alecs is now online
[15:15:39] mishok13 is now away
[15:18:24] serg.makar is now online
[15:19:00] kostafey is now away
[15:19:29] tilarids is now offline
[15:20:03] altego is now dnd
[15:20:09] alecs is now online
[15:23:24] serg.makar is now online
[15:23:50] gf is now online
[15:23:51] gf is now online
[15:24:01] kostafey is now away
[15:24:48] tilarids is now online
[15:25:01] serg.makar is now away
[15:25:01] serg.makar is now away
[15:25:04] altego is now dnd
[15:25:10] alecs is now online
[15:26:41] serg.makar is now offline
[15:28:43] altego is now dnd
[15:28:44] altego is now dnd
[15:29:01] kostafey is now away
[15:30:06] altego is now dnd
[15:30:12] alecs is now online
[15:31:18] serg.makar is now online
[15:31:18] serg.makar is now online
[15:31:27] serg.makar is now offline
[15:33:28] dicos is now away
[15:33:29] dicos is now away
[15:33:37] altego is now dnd
[15:33:38] altego is now dnd
[15:34:02] kostafey is now away
[15:34:58] gigimon is now online
[15:35:06] altego is now dnd
[15:35:12] alecs is now online
[15:35:34] dicos is now away
[15:35:35] dicos is now online
[15:35:54] evrial is now online
[15:35:55] evrial is now online
[15:38:05] evrial is now online
[15:39:05] kostafey is now away
[15:40:08] altego is now dnd
[15:40:13] alecs is now online
[15:43:06] evrial is now online
[15:43:24] kostafey is now offline
[15:43:27] kostafey is now away
[15:45:08] altego is now dnd
[15:45:14] alecs is now online
[15:46:28] kostafey is now away
[15:46:33] dicos is now away
[15:46:34] dicos is now away
[15:46:48] dicos is now away
[15:46:49] dicos is now online
[15:48:06] evrial is now online
[15:50:08] altego is now dnd
[15:50:15] alecs is now online
[15:51:28] kostafey is now away
[15:53:06] evrial is now online
[15:54:19] vint21h is now away
[15:54:20] vint21h is now away
[15:55:10] altego is now dnd
[15:55:16] alecs is now online
[15:56:30] kostafey is now away
[15:58:07] evrial is now online
[15:58:50] vint21h is now away
[15:58:51] vint21h is now online
[15:59:46] gigimon is now offline
[15:59:46] gigimon is now online
[16:00:11] altego is now dnd
[16:00:16] alecs is now online
[16:01:30] kostafey is now away
[16:03:08] evrial is now online
[16:05:12] altego is now dnd
[16:05:17] alecs is now online
[16:06:27] vint21h is now away
[16:06:28] vint21h is now away
[16:06:31] kostafey is now away
[16:07:22] vint21h is now away
[16:07:23] vint21h is now online
[16:08:08] evrial is now online
[16:10:13] altego is now dnd
[16:10:15] tilarids is now away
[16:10:18] alecs is now online
[16:11:32] kostafey is now away
[16:12:24] vint21h is now away
[16:12:25] vint21h is now away
[16:12:49] gf is now offline
[16:13:10] evrial is now online
[16:13:19] vint21h is now away
[16:13:20] vint21h is now online
[16:14:29] tilarids is now online
[16:15:14] altego is now dnd
[16:15:19] alecs is now online
[16:16:32] kostafey is now away
[16:18:11] evrial is now online
[16:20:15] altego is now dnd
[16:20:20] alecs is now online
[16:20:28] mishok13 is now offline
[16:21:34] kostafey is now away
[16:22:38] _lorien: у меня в цикле XML файлы парсятся, как понять. куда память отжирается?
[16:23:11] evrial is now online
[16:25:15] altego is now dnd
[16:25:20] alecs is now online
[16:26:35] kostafey is now away
[16:27:55] Typhon is now away
[16:28:11] evrial is now online
[16:29:13] vint21h is now away
[16:29:14] vint21h is now away
[16:30:11] vint21h is now away
[16:30:12] vint21h is now online
[16:30:16] altego is now dnd
[16:30:22] alecs is now online
[16:31:33] py_two is now xa
[16:31:36] kostafey is now away
[16:31:47] py_two is now offline
[16:33:12] evrial is now online
[16:33:24] Typhon is now online
[16:35:17] altego is now dnd
[16:35:22] alecs is now online
[16:36:36] kostafey is now away
[16:38:12] evrial is now online
[16:39:17] Tony is now online
[16:40:18] altego is now dnd
[16:40:24] alecs is now online
[16:41:37] kostafey is now away
[16:43:14] evrial is now online
[16:45:19] altego is now dnd
[16:45:25] alecs is now online
[16:46:38] kostafey is now away
[16:48:14] evrial is now online
[16:50:20] altego is now dnd
[16:50:25] alecs is now online
[16:51:38] kostafey is now away
[16:53:15] evrial is now online
[16:53:34] nott is now offline
[16:55:20] altego is now dnd
[16:55:25] alecs is now online
[16:56:38] kostafey is now away
[16:56:39] altego is now dnd
[16:56:39] altego is now dnd
[16:56:48] altego is now dnd
[16:56:49] altego is now dnd
[16:57:28] altego is now offline
[16:58:16] evrial is now online
[17:00:27] alecs is now online
[17:01:39] kostafey is now away
[17:01:54] vint21h is now away
[17:01:55] vint21h is now away
[17:02:54] nott is now online
[17:03:17] evrial is now online
[17:03:32] nott is now offline
[17:03:49] vint21h is now away
[17:03:50] vint21h is now online
[17:05:29] alecs is now online
[17:06:41] kostafey is now away
[17:08:18] evrial is now online
[17:10:29] alecs is now online
[17:11:35] dicos is now away
[17:11:36] dicos is now away
[17:11:38] dicos is now away
[17:11:39] dicos is now online
[17:11:43] kostafey is now away
[17:13:19] evrial is now online
[17:15:29] alecs is now online
[17:16:44] kostafey is now away
[17:18:18] evrial is now online
[17:20:31] alecs is now online
[17:21:45] kostafey is now away
[17:22:53] vint21h is now away
[17:22:54] vint21h is now away
[17:23:08] Typhon is now away
[17:23:19] evrial is now online
[17:23:23] dicos is now away
[17:23:24] dicos is now away
[17:24:39] Typhon is now online
[17:24:58] kostafey is now away
[17:24:58] kostafey is now away
[17:24:58] kostafey is now online
[17:24:58] kostafey is now online
[17:25:20] kostafey is now offline
[17:25:21] vint21h is now away
[17:25:22] vint21h is now online
[17:25:32] alecs is now online
[17:26:08] dicos is now away
[17:26:09] dicos is now online
[17:28:20] evrial is now online
[17:30:31] alecs is now online
[17:33:20] evrial is now online
[17:35:32] alecs is now online
[17:36:56] maxp is now away
[17:36:56] maxp is now offline
[17:38:21] evrial is now online
[17:39:45] dicos is now away
[17:39:46] dicos is now away
[17:40:34] alecs is now online
[17:43:18] dicos is now away
[17:43:19] dicos is now online
[17:43:22] evrial is now online
[17:45:34] alecs is now online
[17:48:24] evrial is now online
[17:49:28] slav0nic is now offline
[17:50:36] alecs is now online
[17:53:26] evrial is now online
[17:53:48] teraom is now away
[17:55:36] alecs is now online
[17:58:27] evrial is now online
[18:00:38] alecs is now online
[18:01:42] teraom is now Я здесь.
[18:02:09] vint21h is now away
[18:02:10] vint21h is now away
[18:02:46] vint21h is now away
[18:02:47] vint21h is now online
[18:03:28] evrial is now online
[18:04:51] bobry is now offline
[18:04:54] bobry is now away
[18:05:40] alecs is now online
[18:08:30] evrial is now online
[18:09:59] _lorien: 'a.m.' or 'p.m.' (Note that this is slightly different than PHP's output, because this includes periods to match Associated Press style.) - охуеть :)
[18:10:41] alecs is now online
[18:13:31] evrial is now online
[18:14:24] tilarids is now away
[18:15:42] alecs is now online
[18:18:32] evrial is now online
[18:20:42] alecs is now online
[18:23:33] evrial is now online
[18:23:48] Typhon is now offline
[18:25:44] alecs is now online
[18:27:19] tilarids is now online
[18:28:33] evrial is now online
[18:29:58] alecs is now offline
[18:33:34] evrial is now online
[18:34:26] maxim.zemlyakov is now online
[18:34:26] maxim.zemlyakov is now online
[18:34:26] maxim.zemlyakov is now online
[18:36:22] maxim.zemlyakov is now online
[18:37:01] maxim.zemlyakov is now online
[18:38:35] evrial is now online
[18:41:24] maxim.zemlyakov is now online
[18:43:36] evrial is now online
[18:43:55] gigimon is now offline
[18:43:55] gigimon is now online
[18:45:01] dicos is now offline
[18:46:24] maxim.zemlyakov is now online
[18:48:01] vint21h is now offline
[18:48:36] evrial is now online
[18:51:10] Tony is now away
[18:51:24] maxim.zemlyakov is now online
[18:53:37] evrial is now online
[18:54:45] tilarids is now offline
[18:54:55] gigimon is now online
[18:56:26] maxim.zemlyakov is now online
[18:57:15] life_glider is now Не откладывай на завтра то, на что можно "забить" сегодня
[18:58:39] evrial is now online
[19:01:16] d1ffuz0r is now АНДРОНОМЕШАЛКА
[19:01:28] maxim.zemlyakov is now online
[19:03:40] evrial is now online
[19:05:30] nmk: ха-ха. dns prefetch
"Recently I received a call from our $2/month DNS service provider explaining that our DNS queries have increased to 400 million authoritative queries per month (a high of 120 queries/second) , putting us outside the scope of the basic service and we were required to upgrade to a premium service in the range of $1600/month. "
[19:05:51] nmk: http://www.pinkbike.com/news/DNS-Prefetching-implications.html
[19:06:28] maxim.zemlyakov is now online
[19:08:41] evrial is now online
[19:09:12] bobry is now offline
[19:11:31] maxim.zemlyakov is now online
[19:13:43] evrial is now online
[19:16:10] Tony is now xa
[19:16:32] maxim.zemlyakov is now online
[19:17:23] life_glider is now offline
[19:18:17] d1ffuz0r is now offline
[19:18:44] evrial is now online
[19:19:45] altego is now online
[19:19:45] altego is now online
[19:20:49] nyakawaiidesu is now online
[19:21:22] nyakawaiidesu: нужна помощь нубу!
[19:21:32] nyakawaiidesu: кто готов откликнуться?
[19:21:33] maxim.zemlyakov is now online
[19:21:36] altego is now online
[19:22:13] nmk: да ты лучше вопрос задай. авось кто-нибудь и откликнется
[19:22:42] Tony is now online
[19:22:49] nyakawaiidesu: сейчас поищу на сайтах которые указаны выше, я их не заметил сначала
[19:23:45] evrial is now online
[19:24:08] nyakawaiidesu: а ладно, так задам
[19:25:26] nyakawaiidesu: что нужно написать после слова import чтобы в списки можно было вводить текст?
[19:26:02] altego is now dnd
[19:26:02] altego is now dnd
[19:26:06] nmk: чо-чо?
[19:26:35] maxim.zemlyakov is now online
[19:26:37] altego is now dnd
[19:27:05] nyakawaiidesu: может это совсем конечно глупо но наш информатик *дак
[19:27:44] nmk: ну, может ты напишешь то, что *дак попросил тебя сделать? :)
[19:28:03] nyakawaiidesu: написать программу записной книжки
[19:28:46] evrial is now online
[19:29:05] nyakawaiidesu: Traceback (most recent call last):
File "C:\Users\Тамара\Desktop\ffff.py", line 9, in <module>
name=name+[input("vvedi imya")]
File "<string>", line 1, in <module>
NameError: name 'nastya' is not defined
[19:29:27] nyakawaiidesu: вот что он пишет когда пытаюсь ввести имя
[19:29:30] xa4a: raw_input
[19:29:34] xa4a: вместо input
[19:29:35] nmk: raw_input
[19:29:46] nyakawaiidesu: спасибо
[19:30:21] nmk: какой телефон у насти то, кстати? :)
[19:30:39] nyakawaiidesu: ))
[19:30:44] nyakawaiidesu: рандомный)
[19:31:07] огыешсук is now offline
[19:31:36] maxim.zemlyakov is now online
[19:31:38] altego is now dnd
[19:33:47] evrial is now online
[19:35:56] nmk: заголовок "No-SQL injection in Mongo PHP"
[19:36:20] nyakawaiidesu: это не мне же?
[19:36:36] maxim.zemlyakov is now online
[19:36:40] altego is now dnd
[19:36:42] nmk: нет
[19:38:48] evrial is now online
[19:41:36] maxim.zemlyakov is now online
[19:41:41] altego is now dnd
[19:43:49] evrial is now online
[19:45:18] Joes is now away
[19:46:39] maxim.zemlyakov is now online
[19:46:42] altego is now dnd
[19:48:20] nyakawaiidesu: можно еще вопрос?
[19:48:50] evrial is now online
[19:50:24] nmk: просто *задай* его!
[19:51:01] nyakawaiidesu: я даже не знаю как сформулировать
[19:51:32] nyakawaiidesu: while a!=6:
if a==1:
name=name+[raw_input("vvedi imya")]
year=year+[input("vvedi god rozhdeniya")]
phone=phone+[raw_input("vvedi telefon")]
mail=mail+[raw_input("vvedi e-mail")]
if a==2:
name[:]
year[:]
phone[:]
mail[:]
[19:51:37] maxim.zemlyakov is now online
[19:51:44] nyakawaiidesu: вот кусок программы
[19:51:44] altego is now dnd
[19:51:55] nyakawaiidesu: таких условий будет 6
[19:51:59] nyakawaiidesu: т е 5
[19:52:27] xa4a: ужас какой :-O
[19:52:40] nyakawaiidesu: как сделать так чтобы он не выводил каждый раз первое условие?
[19:52:52] nyakawaiidesu: а переходил к следущему(
[19:52:57] nyakawaiidesu: а переходил к следущему(9
[19:53:08] nyakawaiidesu: ужас да(
[19:53:29] xa4a: сформулируй сначала словами
[19:53:31] xa4a: чего ты хочешь
[19:53:51] evrial is now online
[19:53:54] nyakawaiidesu: чтобы он выводил меню
[19:53:58] nyakawaiidesu: потом
[19:54:15] nyakawaiidesu: если пользователь введет одно из чисел от 1 до 5
[19:54:28] nyakawaiidesu: выполнял ту или иную часть программы
[19:54:37] nyakawaiidesu: пока пользователь не ввел 6
[19:55:53] Joes is now online
[19:56:39] maxim.zemlyakov is now online
[19:56:46] altego is now dnd
[19:57:21] xa4a: код, который выше должен работать
[19:57:26] xa4a: приблизительно)
[19:58:03] nyakawaiidesu: он не работает(
[19:58:24] xa4a: тогда на paste.in.ua весь код
[19:58:53] evrial is now online
[20:00:19] xa4a is now offline
[20:01:27] wiz is now online
[20:01:40] maxim.zemlyakov is now online
[20:01:47] altego is now dnd
[20:01:55] bobry is now online
[20:02:28] bobry is now online
[20:03:54] evrial is now online
[20:05:32] evrial is now away
[20:05:32] evrial is now away
[20:05:33] evrial is now online
[20:06:42] maxim.zemlyakov is now online
[20:06:48] altego is now dnd
[20:08:55] evrial is now away
[20:08:55] evrial is now online
[20:10:04] Joes is now away
[20:11:44] maxim.zemlyakov is now online
[20:11:49] altego is now dnd
[20:13:23] evrial is now online
[20:13:23] evrial is now online
[20:13:56] evrial is now online
[20:13:56] evrial is now online
[20:16:38] Joes is now online
[20:16:45] maxim.zemlyakov is now online
[20:16:51] altego is now dnd
[20:17:07] wiz is now away
[20:18:57] evrial is now online
[20:18:58] evrial is now online
[20:21:46] maxim.zemlyakov is now online
[20:21:52] altego is now dnd
[20:22:43] wiz is now online
[20:23:58] evrial is now online
[20:23:59] evrial is now online
[20:26:48] maxim.zemlyakov is now online
[20:26:53] altego is now dnd
[20:28:53] _lorien: мля, посмотрел код, я теперь не засну
[20:29:00] evrial is now online
[20:29:00] evrial is now online
[20:29:37] nyakawaiidesu: что не так? извини (
[20:29:40] _lorien: > vvedi e-mail
Тут неправильно. Надо было vvedi eletktronnuiu pochtu
[20:29:53] altego is now online
[20:29:53] altego is now online
[20:29:58] _lorien: ВСЁ не так :)
[20:30:03] nyakawaiidesu: ((
[20:30:20] _lorien: Ну, ничего, научишься :) Но пока ужос :)
[20:30:29] nyakawaiidesu: =)
[20:31:50] maxim.zemlyakov is now online
[20:31:53] altego is now online
[20:34:01] evrial is now online
[20:34:02] evrial is now online
[20:35:01] evrial is now away
[20:35:01] evrial is now away
[20:35:01] evrial is now online
[20:35:09] altego is now online
[20:35:10] gigimon is now offline
[20:35:10] altego is now online
[20:35:28] gigimon is now online
[20:36:50] maxim.zemlyakov is now online
[20:36:55] altego is now online
[20:38:11] altego is now online
[20:38:11] altego is now online
[20:39:02] evrial is now away
[20:39:03] evrial is now online
[20:41:52] maxim.zemlyakov is now online
[20:41:57] altego is now online
[20:42:18] gigimon is now offline
[20:42:47] Joes is now away
[20:44:04] evrial is now away
[20:44:05] evrial is now online
[20:44:09] огыешсук is now online
[20:46:53] maxim.zemlyakov is now online
[20:46:59] altego is now online
[20:48:56] tilarids is now online
[20:49:06] evrial is now away
[20:51:23] Joes is now online
[20:51:54] maxim.zemlyakov is now online
[20:52:01] altego is now online
[20:54:08] evrial is now away
[20:54:08] evrial is now online
[20:56:34] altego is now online
[20:56:34] altego is now online
[20:56:45] xa4a is now online
[20:56:54] maxim.zemlyakov is now online
[20:57:02] altego is now online
[20:57:07] altego is now online
[20:57:07] altego is now online
[20:59:09] evrial is now online
[20:59:10] evrial is now away
[21:01:02] tilarids is now away
[21:01:24] Joes is now away
[21:01:56] maxim.zemlyakov is now online
[21:02:03] altego is now online
[21:04:11] evrial is now away
[21:04:11] evrial is now online
[21:05:26] tilarids is now online
[21:06:57] maxim.zemlyakov is now online
[21:07:03] altego is now online
[21:09:12] evrial is now online
[21:11:58] maxim.zemlyakov is now online
[21:12:04] altego is now online
[21:13:16] Lispython is now online
[21:13:22] Lispython: привет
[21:13:41] Lispython: есть кто-нибудь, кто хорошо разбирается в lxml.html?
[21:14:07] Joes is now online
[21:14:13] evrial is now away
[21:14:13] evrial is now online
[21:15:17] Lispython: <td>
<br><br><b>Название на русском</b>(<i>Название на латинском</i>)<br>
Тут некоторое описание котрое нужно достать\n </td>
[21:15:49] Lispython: этот кусок текста предствлен в виде объекта <Element div at a0c195c>
[21:15:54] tilarids is now away
[21:16:21] Lispython: text_content() возвращает все содержимое вмесете с содержимым в тегах b и i
[21:16:59] maxim.zemlyakov is now online
[21:17:07] altego is now online
[21:19:14] evrial is now away
[21:19:14] evrial is now online
[21:20:36] nmk is now offline
[21:21:34] evrial is now online
[21:21:34] evrial is now online
[21:22:01] maxim.zemlyakov is now online
[21:22:08] altego is now online
[21:24:15] evrial is now online
[21:24:16] evrial is now online
[21:25:54] tilarids is now xa
[21:27:02] maxim.zemlyakov is now online
[21:27:08] altego is now online
[21:29:18] evrial is now online
[21:29:18] evrial is now online
[21:29:54] tilarids is now online
[21:32:04] maxim.zemlyakov is now online
[21:32:08] altego is now online
[21:33:01] asou is now online
[21:34:19] evrial is now online
[21:34:19] evrial is now online
[21:37:05] maxim.zemlyakov is now online
[21:37:10] altego is now online
[21:37:57] asou: Там метод tail должен быть или как-то так
[21:39:21] evrial is now online
[21:39:22] evrial is now online
[21:39:56] Lispython: asou, ну да, есть такой
[21:40:04] asou: Вот он.
[21:40:06] wiz is now away
[21:40:49] asou: *Вот, он
[21:40:52] Lispython: он None возвращает
[21:41:59] asou: Попробуй не от дива, а от какого-то из детей. br или td.
[21:42:05] maxim.zemlyakov is now online
[21:42:12] altego is now online
[21:43:42] wiz is now online
[21:44:01] asou: Неочевидная вещь, лучше бы разрабы про нее в мануальчике своем написали. Я помню времени больше чем хотелось бы потратил, чтобы найти как такой текст вынимать.
[21:44:23] evrial is now online
[21:44:24] evrial is now online
[21:44:32] Lispython: там есть itertext
[21:44:44] Lispython: но он опять же берет в расчет b и i
[21:44:58] Lispython: не, tail тоже не работает
[21:45:16] wiz: парьсь регекспами :3
[21:46:21] Lispython: а исходный код элемента можно вывести?
[21:46:32] Lispython: вот этого дива например
[21:47:07] maxim.zemlyakov is now online
[21:47:14] altego is now online
[21:47:40] asou: Ну вот нашел кусок исходника своего старого
def tounistr(elem):
out = u""
if elem.text!=None:
out = elem.text
for i in elem.iterchildren():
out += etree.tounicode(i)
if elem.tail!=None:
out += elem.tail
return out
[21:48:03] asou: С tail точно работает кароче. Ты просто не так как-то к снаряду подходишь.
[21:49:24] evrial is now online
[21:49:25] evrial is now online
[21:51:54] Lispython: http://dumpz.org/39482/
[21:51:59] Lispython: ну вот что получается
[21:52:08] maxim.zemlyakov is now online
[21:52:14] altego is now online
[21:53:08] evrial is now offline
[21:53:24] tilarids is now away
[21:53:53] wiz is now away
[21:54:26] tilarids is now online
[21:55:54] Lispython: и какой наркоман так верстал
[21:55:57] asou: Это нехорошо? gll.getchildren()[-1].tail допустим. Ну наверное есть какое-то решение более правельное.
[21:56:41] Lispython: asou, не факт, что после текта не завалялись несколько br
[21:57:10] maxim.zemlyakov is now online
[21:57:15] altego is now online
[21:57:25] asou: Еще есть xpath хорошая штука. Можно вытащить ей этот див и регуляркой разделать как сверху предлагали.
[22:02:12] maxim.zemlyakov is now online
[22:02:15] altego is now online
[22:04:46] tilarids is now away
[22:07:12] maxim.zemlyakov is now online
[22:07:17] altego is now online
[22:08:52] nyakawaiidesu is now offline
[22:11:08] tilarids is now online
[22:12:13] maxim.zemlyakov is now online
[22:12:18] altego is now online
[22:12:39] bobry is now away
[22:14:23] bobry is now online
[22:14:45] Lispython: asou, ну вытаскивать див мне не нужно, он и так у меня уже в виде объекта. Попробую регаляркой
[22:17:14] maxim.zemlyakov is now online
[22:17:18] altego is now online
[22:18:26] tilarids is now away
[22:22:15] maxim.zemlyakov is now online
[22:22:19] altego is now online
[22:27:17] maxim.zemlyakov is now online
[22:27:21] altego is now online
[22:27:40] огыешсук is now offline
[22:28:26] tilarids is now xa
[22:30:13] altego is now online
[22:30:13] altego is now online
[22:32:17] maxim.zemlyakov is now online
[22:32:22] altego is now online
[22:35:00] Lispython is now offline
[22:37:19] maxim.zemlyakov is now online
[22:37:22] altego is now online
[22:42:20] maxim.zemlyakov is now online
[22:42:24] altego is now online
[22:47:22] maxim.zemlyakov is now online
[22:47:24] altego is now online
[22:48:22] altego is now online
[22:48:23] altego is now online
[22:52:22] maxim.zemlyakov is now online
[22:52:26] altego is now online
[22:57:23] maxim.zemlyakov is now online
[22:57:28] altego is now online
[23:02:25] maxim.zemlyakov is now online
[23:02:29] altego is now online
[23:05:10] tilarids is now online
[23:07:27] maxim.zemlyakov is now online
[23:07:30] altego is now online
[23:12:14] maxim.zemlyakov is now offline
[23:12:31] altego is now online
[23:17:32] altego is now online
[23:18:22] xa4a is now offline
[23:19:14] webninja is now online
[23:22:12] webninja is now offline
[23:22:33] altego is now online
[23:27:34] altego is now online
[23:31:28] mishok13 is now away
[23:32:35] altego is now online
[23:34:17] h3g is now online
[23:34:17] h3g is now online
[23:35:22] h3g is now online
[23:36:19] webninja is now online
[23:36:29] webninja: привет
[23:37:07] webninja: у меня есть сложный объект у которого на вход много параметров которые будут поступать с разных мест
[23:37:34] webninja: я думаю сделать объект который будет заниматься созданием этого сложного объекта
[23:37:36] altego is now online
[23:37:38] deepwalker: че за фигня с гуглом творится
[23:37:50] deepwalker: тыкаешь на ссылки, у него request uri too large
[23:37:57] deepwalker: так это ж блин его собственные ссылки
[23:38:12] webninja: хз он потому что явой их переделывает через свои редиректы
[23:38:35] webninja: может поэтому.
[23:38:45] webninja: на самом деле заебал блин даже не скопировать нормально с выдачи
[23:40:01] asou: Можно сделать словарь и передавать с двумя ** конструктору.
[23:40:17] mishok13 is now offline
[23:40:23] mishok13 is now away
[23:40:23] h3g is now online
[23:40:29] h3g is now offline
[23:40:35] asou: Вот и объект.
[23:40:44] webninja: не есть же паттерны
[23:40:59] webninja: Строитель (Builder)
Отделяет конструирование сложного объекта от его представления, позволяя использовать один и тот же процесс конструирования для создания различных представлений.
[23:41:18] webninja: что правда имеется в виду под "представлением" я хз
[23:41:42] asou: А это будет паттерн «компоновщик» 8d
[23:42:37] altego is now online
[23:42:41] webninja: =( i'm dumb
[23:42:51] webninja: в вики норм написано
[23:42:56] webninja: Строитель Builder Класс, который представляет собой интерфейс для создания сложного объекта
[23:44:27] asou: Ты по _той книжке_ или по вике?
/me вчера начал читать _ту книжку_
[23:44:59] webninja: тоже умею в некоторых областях так завернуть что сторонний человек будет понимать только предлоги и глаголы. хороший специалист всегда сможет выразить сущность простым и понятным языком. ) вот собственно разница между 2я описаниями билдера
[23:44:59] altego is now online
[23:45:00] altego is now online
[23:45:06] webninja: а что за _та_книжка_?
[23:45:16] asou: Это переводчик наверное. Они такие.
[23:45:36] asou: Design patterns. blah-blah-blah
[23:45:37] webninja: да скорее всего
[23:45:38] altego is now online
[23:45:39] altego is now online
[23:46:47] webninja: Design Patterns: Elements of Reusable Object-Oriented ?
[23:46:54] asou: Да.
[23:47:36] asou: Вообще по-моему она на расстоянии не больше двух переходов по ссылкам от любой статью в вике про паттерны находится.
[23:47:37] altego is now online
[23:47:48] webninja: ага
[23:48:02] webninja: по design petterns в гугле
[23:52:39] altego is now online
[23:53:20] tilarids is now away
[23:54:28] webninja is now online
[23:54:37] webninja is now online
[23:57:39] altego is now online
[23:58:36] tilarids is now online
[23:58:40] mishok13 is now offline