2008-7-18
| 00:38 | cramm | anybody knows in which timezone is Sausalito with respect to UTC? |
| 00:38 | cramm | timeanddate.com doesn't seem to be of help |
| 00:41 | salkot | cramm: well it's 5:41pm :) |
| 00:42 | cramm | salkot: ok, it' UTC-9 then. Thanks! |
| 00:42 | cramm | salkot: taht would be which USA domestic timezone? |
| 00:42 | cramm | sorry, it's UTC-7 |
| 00:43 | cramm wants to add that info to the wiki page | |
| 00:43 | salkot | pacific time |
| 00:44 | cramm | PDT, right? |
| 00:46 | salkot | yes, i think so |
| 00:47 | cramm | k, done |
| 00:54 | mattmcc | timeanddate.com is your friend. ;) |
| 02:05 | Gulopine | hrm |
| 02:06 | Gulopine | we're less than 150 tickets away from catching up with commit numbers |
| 02:12 | mattmcc | Shame we can't just recycle tickets that were spam. |
| 02:18 | Gulopine | and commits that will be undone *ahem*oldforms*ahem* |
| 02:22 | empty | Gulopine: funny because I often look at that metric, although meaningless. |
| 02:23 | Gulopine | yeah, it's really rather a useless observation |
| 02:23 | Gulopine | but still, i've been paying attention, wondering when they'd converge |
| 02:24 | Gulopine sighs | |
| 02:24 | Gulopine | finally found what was causing another test failure |
| 02:25 | Gulopine | it was caused by something i put in to satisfy other tests, and for backwards compatibility :( |
| 16:35 | jhenry | Has anyone done any recent work on an object cache? I know #5514 with the goal of single-instances in memory was closed, but I'm having a serious problem with duplicated queries, and caching the results won't fully solve the problem since the page I need to generate is needs a short cache timeout. |
| 16:35 | DjangoBot | |
| 16:36 | jhenry | In particular: len(set([q['sql'] for q in connection.queries])) == 427. len(connection.queries) == 5643 |
| 17:44 | jhenry | I would love for something like this to be able to be turned on via a setting MODEL_CACHE_VERSION = True in django core. http://dpaste.com/65873/ |
| 17:44 | jhenry | thoughts? |
| 17:46 | jhenry | with that as a base, it would be possible to cache all fkey lookups without having to worry about cache invalidation because of the model revision number |
| 17:50 | jhenry | the corresponding piece of this would go into the ReverseSingleRelatedObjectDescriptor -- instead of doing a sql query if the object has not been cached on the instance, it would do a memcached lookup first for the object, and only then if the object didn't exist, it would do the sql query. |
| 17:57 | salkot | j #django-sprint |
| 17:58 | salkot | er |
| 18:17 | jhenry | I did a proof of concept implmentation on only the forward relation (singlerelatedobjectdescriptor) and it dropped the number of queries required from 5643 to 1977 for my problem page |
| 21:20 | Alex_Gaynor | Gulopine: Hop in #django-sprint :P |
| 22:22 | cramm | jbronn: Hi. Do you have a couple of minutes? |
| 22:27 | jbronn | cramm: sure |
| 22:28 | cramm | jbronn: it's about the Oracle abckend. Do you run the test suite using it often? |
| 22:29 | jbronn | not really, I can on request; I don't think that pickling bug has been fixed |
| 22:30 | cramm | I suspect r7885 (and its followup 7901) may affect the way Ocale detects the need of custom limit+offset handling |
| 22:30 | DjangoBot | |
| 22:30 | cramm | oh yes, the pickling thing is still there |
| 22:33 | jbronn | cramm: on first glance, I doubt the pagination in Oracle is affected; `OracleQuery` has it's own `as_sql` that's overloaded |
| 22:35 | cramm | jbronn: eys I know but, as I understand, now None is the value used to indicate no upper bound limit and that may affect this test?: http://code.djangoproject.com/browser/django/tr... |
| 22:35 | cramm | jbronn: there is a very big possibility I'm totally wrong but as there is no buildbot slave running against Oracle... |
| 22:37 | jbronn | cramm: bool(None) == bool(0); but I run the GeoDjango tests against Oracle regularly, and those wouldn't work if pagination was broken so I'll check it out on my next merge |
| 22:40 | cramm | oh ok I was thinking things could break when using something like queryset_instance[:0] |
| 22:41 | cramm | now for the second qeustion? I might be able to adapt a debian system with 1GiB of RAM so I can install oracle xe on it and was wondering how much memory do you dedicate to your Oracle environment VM |
| 22:42 | cramm | so maybe I can stop bothering you with these Oracle-related questions :) |
| 22:43 | jbronn | cramm: I run Oracle (10.2 full version) on Windows, and I think the VM has 772MB. |
| 22:44 | jbronn | now it's entirely possible that corner-case bug exists on Oracle, but I don't think pagination is broken |
| 22:45 | cramm | jbronn: Ok. Thank you very much for your time and patience |
| 23:56 | elliott | brosner: you available? i've found a pretty weird bug in nfa |
| 23:56 | brosner | hehe what is nfa? |
| 23:56 | brosner | no longer exists |
| 23:56 | empty | haha |
| 23:56 | elliott | what once was nfa |
| 23:56 | brosner | it is now in trunk :) |
| 23:57 | brosner | r7967 |
| 23:57 | DjangoBot | |
| 23:57 | Gulopine | hah, that's awesome |
| 23:57 | elliott | cool |
| 23:57 | Gulopine | you get it in trunk for 30 seconds and somebody finds a bug :) |
| 23:57 | elliott | lol |
| 23:57 | jacobkm | brosner: "This is a backward incompatible change." hahahaha |
| 23:58 | elliott | basically, if you have a onetoone field pointing at the User model, the list_filter interface on the user list disappears |
| 23:58 | empty | nice work everyone |
| 23:58 | brosner | :) |
| 23:58 | elliott | if you change that onetoone field to a FK it comes back |
| 23:58 | jacobkm | So we're going to have a shitton of "the admin doesn't work OMG!!!!" errors |
| 23:58 | jacobkm | er, bug reports |
| 23:58 | elliott | does the old one even work at all? |
| 23:58 | jacobkm | so keep an eye out |