IRC log of #zope for Monday, 2010-11-22

CIA-82regebro regebro-python3 * r118519 zc.buildout/ (24 files in 3 dirs): Remade loads of prints in doctests.00:03
*** vipod has quit IRC00:29
*** davisagli is now known as davisagli|away00:32
*** cpf_ has quit IRC00:37
*** gqlewis has joined #zope00:44
*** rogererens has joined #zope00:46
*** gqlewis has quit IRC01:01
*** ccomb has joined #zope01:16
*** apexi200sx has left #zope01:20
*** MrTango has quit IRC01:39
*** giampaolo has joined #zope01:51
*** nitrogenycs has left #zope02:16
*** giampaolo has quit IRC03:21
*** ccomb has quit IRC03:24
*** mr_jolly_ has quit IRC03:31
*** alga has quit IRC03:34
*** srichter has joined #zope03:53
koshbetabug: wake up!03:54
*** astoon has joined #zope04:11
*** ajmitch has joined #zope04:15
*** davisagli|away is now known as davisagli04:40
*** dixond has quit IRC04:43
*** davisagli is now known as davisagli|away04:46
*** dixond has joined #zope04:47
*** davisagli|away is now known as davisagli05:08
*** davisagli is now known as davisagli|away05:25
*** davisagli|away is now known as davisagli05:31
*** davisagli is now known as davisagli|away05:37
*** dixond has quit IRC05:38
*** davisagli|away is now known as davisagli05:43
*** dixond has joined #zope05:54
*** davisagli is now known as davisagli|away06:28
*** davisagli|away is now known as davisagli06:34
*** davisagli is now known as davisagli|away06:40
*** davisagli|away is now known as davisagli06:48
*** davisagli is now known as davisagli|away07:06
*** davisagli|away is now known as davisagli07:10
*** astoon has quit IRC07:12
*** benji has quit IRC07:18
*** davisagli is now known as davisagli|away07:19
*** davisagli|away is now known as davisagli07:20
*** davisagli is now known as davisagli|away07:37
*** davisagli|away is now known as davisagli07:43
*** davisagli is now known as davisagli|away08:07
*** menesis has joined #zope08:10
*** davisagli|away is now known as davisagli08:14
*** astoon has joined #zope08:14
*** davisagli is now known as davisagli|away08:19
*** srichter has quit IRC08:33
*** wosc has joined #zope08:44
*** zagy has joined #zope08:45
*** __mac__ has joined #zope08:46
*** JaRoel|4D has quit IRC08:49
*** sm has quit IRC08:52
*** kleist has joined #zope09:00
*** MrTango has joined #zope09:27
*** cpf_ has joined #zope09:30
betabugkosh: sup?09:42
betabugI'll be at the office in 20 minutes09:43
koshoh you are awake09:44
koshI am currently making a patch for OFS.Image for Files and Images to save as blobs and I am planning to do sendfile support for it next09:45
koshdo you think that would be an interesting product for me to make available?09:45
koshI already have it so I added a new method for Images and Files to have them resave their existing data to a blob09:45
koshon my initial tests it is much faster then serving from the zodb and much less memory usage09:46
koshseems to be about 4x faster or more then serving the same data from the zodb but no added memory usage09:48
koshI just took one system from 1.5G to 430M zodb with the rest as blob :)09:49
*** cna has joined #zope09:58
*** JaRoel|4D has joined #zope10:00
*** bigkevmcd has joined #zope10:00
*** seppo14 has joined #zope10:03
*** d2m has joined #zope10:03
betabugkosh: cool stuff!10:04
betabugis it something that could be done with a product or should it be integrated into zope source?10:04
koshit could be done as a monkey patch just fine10:05
koshintegrated in would probably be better but that is probably a LOT more work10:05
betabugah, yeah10:05
betabugalso with a product that does a monkey patch, it would work with older zope versions too10:05
koshbut if I can get a fully working monkey patch done at least then I could have people look at it and see if they have ideas to make it better10:05
betabugwell, I think it would be really interesting10:05
koshshould work for 2.11 - 2.13 I think10:06
betabugyeah, that too10:06
betabugcool10:06
koshprior to that there was no blob support10:06
betabugI have one DB that could profit a lot from this :-)10:06
betabugright10:06
betabugand you're taking it one step further by integrating standard image objects and blogs10:06
koshwell I will have to put up a preliminary version in the next few days that you could test then and see how it works for you10:06
koshno sendfile by then though10:07
betabugehm, what's the "sendfile" thing?10:07
koshwell what I did with my own product is when I needed to store files and images I used the builtin zope ones instead of making my own10:07
koshso to hit all my objects fixing the base types makes the msot sense10:07
betabugyeah10:07
koshsendfile is something that linux and other unixes have to allow you to stream from a file to a socket10:07
betabugah, right10:08
betabugI remember that now from some code that TheJester did10:08
*** dburba has joined #zope10:08
koshyeah that is where I got the idea for it10:08
koshwith blobs though his code idea becomes VERY simple to make it work10:08
koshthe complex part is doing http range support with it also but it looks like it is all workable at least I think it is10:08
betabugyeah, his was before the blob support IIRC10:09
koshyeah it was so his only worked with files you had on the filesystem10:09
koshbecause we have blobs now I can make that work with any file or image as long as it is turned into a blob first10:09
betabugright10:09
betabugand blogs are stored in some central directory, so backups can just take that directory too, I guess10:10
koshwhat I did was add a method called resave_to_blob  for File and Image objects  so you can do a very simple ZopeFind query and call obj.resave_to_blob() on each one10:10
koshI have mine setup so that all my zope servers and zeo share the same blob directory10:10
betabugnice10:11
koshand that also means that when a zope client has to send a blob it wont' be sent over zeo, it can grab it directly10:11
koshso it removes blobs from hitting zeo10:11
betabugand you can use whatever standard backup tools for that10:11
koshwell right now the backup tool I use is have rackspace backup the entire server :)10:11
betabugyupp10:11
koshif i need to restore from backup I can make a new server with that backup image10:11
koshokay well I will work on turning it into a product and then find you so I can give it to you and you can play with it also10:13
koshprobably just fine someplace public to put it and give out some links to it10:13
betabugcool!10:13
betabugyeah, that works well :-)10:13
koshso far though I am loving the results10:13
koshwell I will see you later I need to head out10:14
betabugok, cya!10:14
*** milele has joined #zope10:27
*** planetzopebot has quit IRC10:33
*** planetzopebot has joined #zope10:34
*** hever has joined #zope10:35
*** goschtl has joined #zope10:52
*** neo|4D has joined #zope10:55
*** rogererens has quit IRC11:04
*** alga has joined #zope11:05
*** rogererens has joined #zope11:11
*** tisto has joined #zope11:12
*** yvl has joined #zope11:16
*** vipod has joined #zope11:20
*** mcdonc has quit IRC11:22
*** mitchell`off is now known as mitchell`11:23
*** f10w has quit IRC11:27
*** ccomb has joined #zope11:29
*** giampaolo has joined #zope11:29
*** dburba has quit IRC11:32
*** sylvain has joined #zope11:39
*** astoon has quit IRC11:41
*** dburba has joined #zope11:45
*** alexpilz has joined #zope11:47
*** ccomb has quit IRC11:49
*** nitrogenycs has joined #zope11:53
*** f10w has joined #zope11:55
*** seppo14 has left #zope12:01
*** mgedmin has quit IRC12:01
*** mgedmin has joined #zope12:01
*** smita has joined #zope12:06
*** hever has quit IRC12:12
*** hever has joined #zope12:15
moo_is it possible to temporarily disable event dispatch?12:16
betabugwouldn't that mess up e.g. adding objects in a big way?12:16
*** kiorky has quit IRC12:22
*** kiorky has joined #zope12:22
*** TomBlockley has joined #zope12:24
moo_betabug: "temporarily" :)12:33
*** menesis has quit IRC12:33
moo_i.e just for one function call12:33
betabughow would you know that nobody adds an object right that moment in another thread?12:34
*** ccomb has joined #zope12:43
*** ccomb has quit IRC13:05
*** ccomb has joined #zope13:05
*** mr_jolly has joined #zope13:06
*** agroszer has joined #zope13:08
*** menesis has joined #zope13:08
*** indrajeet has joined #zope13:13
*** teix has joined #zope13:16
*** fredvd has joined #zope13:23
*** cna_ has joined #zope13:24
*** tisto has quit IRC13:26
*** cna has quit IRC13:28
*** cna_ is now known as cna13:28
*** gwik has joined #zope13:31
*** evilbungle has joined #zope13:50
*** lucmult has joined #zope13:55
*** sunew has joined #zope14:03
*** eldragon has quit IRC14:08
*** lcpfnyvc has quit IRC14:15
*** sm has joined #zope14:16
*** lcpfnyvc has joined #zope14:37
*** dayne has joined #zope14:54
*** dayne has quit IRC15:07
*** dburba has quit IRC15:09
*** sunew has quit IRC15:10
*** dayne has joined #zope15:33
*** mcdonc has joined #zope15:38
*** rbanffy has joined #zope15:41
*** benji has joined #zope15:47
*** J1m has joined #zope15:47
*** J1m has quit IRC15:50
*** J1m has joined #zope15:53
*** J1m has quit IRC15:55
*** __mac__ has quit IRC16:00
*** J1m has joined #zope16:04
*** jim_SFU has joined #zope16:25
*** nitrogenycs has quit IRC16:26
*** allisterb has quit IRC16:31
*** cna has quit IRC16:34
*** allisterb has joined #zope16:44
*** nitrogenycs has joined #zope16:46
*** MrWu has joined #zope16:47
*** wosc has quit IRC16:59
*** goschtl has quit IRC17:05
*** milele has quit IRC17:09
*** RichardBarrell has joined #zope17:18
*** River-Rat has joined #zope17:28
*** hever has quit IRC17:29
*** River_Rat has quit IRC17:30
*** RichardBarrell has quit IRC17:36
*** zagy has quit IRC17:36
*** daMaestro has joined #zope17:44
*** alvaro_o has joined #zope17:45
*** evilbungle has quit IRC17:46
*** thetet has joined #zope17:49
*** evilbungle has joined #zope17:56
*** lucmult has quit IRC17:58
*** lucmult has joined #zope17:58
*** shastry_ has joined #zope18:09
giampaolohi, is there something which is recommended for doing template batching (I mean, display a lot of results in different pages)? I noticed there's z3c.batching but wondered if there's something else as well18:11
*** shastry has quit IRC18:13
*** indrajeet has quit IRC18:13
*** eperez has joined #zope18:13
mgedminz3c.table supports batching18:14
mgedmin(it's built on top of z3c.batching, or, rather, z3c.batching was split off z3c.table)18:15
*** tiwula has joined #zope18:25
*** hever has joined #zope18:39
*** sm_ has joined #zope18:41
*** sm has quit IRC18:42
*** sm_ is now known as sm18:42
*** alga has quit IRC18:43
*** JaRoel|4D has quit IRC19:00
*** neo|4D has quit IRC19:06
*** vipod has quit IRC19:11
*** ccomb has quit IRC19:14
*** cpf_ has quit IRC19:25
*** hever has quit IRC19:31
*** benji is now known as benji-lunch19:31
CIA-82regebro regebro-python3 * r118520 zc.buildout/src/zc/buildout/ (tests.py buildout.py testing.py buildout.txt): Various fixes. Encountered a bug in distribute, solved in http://bitbucket.org/tarek/distribute/changeset/226bd89d1d6919:32
*** redir has quit IRC19:37
*** fredvd has quit IRC19:42
*** jim_SFU has quit IRC19:43
*** mitchell` is now known as mitchell`off19:46
*** alexpilz has quit IRC19:47
*** eldragon has joined #zope19:48
CIA-82janwijbrand janjaapdriessen-resource-publisher * r118521 hurry.resource/src/hurry/resource/ (publisher.py __init__.py README.txt core.py wsgi.py): move generating a library URL to the library class19:49
*** sashav has joined #zope19:52
*** menesis has quit IRC20:00
*** davisagli|away is now known as davisagli20:01
*** TomBlockley has quit IRC20:01
*** davisagli is now known as davisagli|away20:07
*** hever has joined #zope20:10
*** alecm has joined #zope20:11
*** evilbungle has quit IRC20:15
*** yvl has quit IRC20:17
*** ccomb has joined #zope20:21
*** davisagli|away is now known as davisagli20:22
*** benji-lunch is now known as benji20:27
*** danielblackburn is now known as danielb_afk20:27
*** davisagli has left #zope20:28
*** davisagli has joined #zope20:28
*** davisagli is now known as davisagli|away20:30
*** JaRoel|4D has joined #zope20:31
*** thetet has left #zope20:32
*** eperez has quit IRC20:32
*** shastry_ has quit IRC20:39
*** shastry has joined #zope20:41
*** ccomb has quit IRC20:43
*** hever has quit IRC20:47
*** redir has joined #zope20:49
*** hever has joined #zope20:49
*** pfrog has left #zope20:50
*** sylvain has quit IRC20:51
*** gwik has quit IRC20:54
*** hever has quit IRC20:55
*** bigkevmcd has quit IRC20:58
*** ccomb has joined #zope21:03
*** zagy has joined #zope21:05
*** menesis has joined #zope21:12
*** MrWu has quit IRC21:17
CIA-82regebro regebro-python3 * r118522 zc.buildout/ (5 files in 2 dirs): easy_install.txt passes under Python 3.1.21:18
*** agroszer has quit IRC21:20
*** davisagli|away is now known as davisagli21:25
*** danielb_afk is now known as danielblackburn21:32
*** kleist has quit IRC21:39
*** daMaestro has quit IRC21:45
*** lucmult has quit IRC21:46
*** alga has joined #zope21:55
*** gwik has joined #zope22:02
*** gwik has quit IRC22:02
*** shastry has quit IRC22:04
*** ccomb has quit IRC22:05
*** davisagli is now known as davisagli|away22:09
*** alexpilz has joined #zope22:17
*** lucmult has joined #zope22:19
*** davisagli|away is now known as davisagli22:22
*** smita has quit IRC22:30
*** menesis has quit IRC22:31
*** zagy has quit IRC22:31
*** alga has quit IRC22:34
*** alga has joined #zope22:34
*** zagy has joined #zope22:37
*** daMaestro has joined #zope22:43
*** ccomb has joined #zope22:44
*** teix has left #zope22:45
*** zagy has quit IRC22:46
giampaoloI'm searching for a method do get the current url including request arguments. Something like http://localhost/something?foo=123:03
smgiampaolo: should be all in the request object. The syntax for getting that depends on where you are23:15
*** sashav has quit IRC23:17
giampaolook, I found out23:18
*** vipod has joined #zope23:39
*** bigkevmcd has joined #zope23:40

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!