2008-6-10
| 15:37 | jkocherhans | phatmonkey: kind of :) |
| 15:38 | phatmonkey | I'm your soc student - just wanted to apologise for not being around |
| 15:38 | phatmonkey | exams getting on top of me |
| 15:38 | jkocherhans | oh, it's ok. I wasn't expecting you to do much until mid June |
| 15:39 | phatmonkey | last exam is on friday 20th, I think i'll give myself the weekend to, er, recover |
| 15:39 | phatmonkey | then I'll get going - I'd like to get started |
| 15:45 | jkocherhans | phatmonkey: sounds good to me |
| 15:52 | jdunck | for some reason, it never occurred to me to look for this IRC channel :-/ |
| 15:53 | david`bgk | welcome aboard :) |
| 15:54 | brosner | :) |
| 15:58 | jkocherhans | jdunck: well, it's only a few months old :) |
| 15:58 | jdunck | so, i'd like to get a clue about nfa. best to just read wiki/NewformsAdminBranch and browse keywords containing nfa-blocker ? |
| 15:59 | jkocherhans | probably. brosner has a good idea of where things are I think. |
| 16:00 | jkocherhans | the major thing I'd like to happen before merge is to either make the ModelAdmin methods more granular, or to get class based admin views working |
| 16:00 | brosner | yeah the best place is looking at the nfa-blocker tickets. there are some in there that i can going to defer until later. |
| 16:00 | brosner | s/can/am |
| 16:04 | david`bgk | jkocherhans, what is the status of class based views? you told me that the way of getting a queryset should be modified, any update? |
| 16:04 | jdunck | how serious are we about nfa sprint? :) |
| 16:04 | jkocherhans | david`bgk: haven't worked on them. I'm slammed for the next month or so. |
| 16:05 | jdunck | jkocherhans: class-based views is a djdev thread? |
| 16:05 | david`bgk | jkocherhans, ok |
| 16:05 | brosner | jdunck: i am not. there are too many little things that require a bit of internal knowledge of nfa. i am rolling through the last big blocker items today and tomorrow |
| 16:06 | jkocherhans | jdunck: hmmm... I don't remember if there's a thread there or not. I don't remember one. Sprint wise? I plan on participating, but I'm not sure very many people sprinting on it would be useful. |
| 16:07 | jdunck | well, i was responding to the pitchforks about 1.0 soonest vs. landing nfa vs. sprint rather than 1.0 w/o nfa |
| 16:07 | jdunck | i'd rather code than complain :) |
| 16:07 | jdunck | jkocherhans: so class-based views isn't this ? |
| 16:08 | jdunck | |
| 16:08 | jkocherhans | I think nfa is close enough to wait. James convinced me that we shouldn't do 1.0 w/o it. |
| 16:08 | brosner | yeah it really is close imho |
| 16:08 | jkocherhans | jdunck: that's the generic view portion, at pycon I discussed taking the same approach with the admin |
| 16:09 | jkocherhans | discussed with Adrian that is |
| 16:11 | jdunck | so i guess i'm proving your point about sprinting not being terribly productive :) |
| 16:13 | jkocherhans | well, a sprint would mean I actually feel obligated to sit down and code for a day or two ;) |
| 16:13 | jkocherhans | I think it might be more productive if we could merge nfa *before* the sprint |
| 16:13 | jkocherhans | maybe a week or so beforehand |
| 16:13 | brosner | yeah there are a ton of nfa-someday tickets that people could hack on |
| 16:14 | phatmonkey | merging nfa with trunk asap seems a good idea |
| 16:14 | phatmonkey | I never used it because I was using the queryset refactor branch for a while |
| 16:15 | jkocherhans | I want to work out the ModelAdmin interface before we merge. It really bothers me right now, and merging kind of blesses the api in my opinoin. |
| 16:15 | brosner | agreed |
| 16:16 | jdunck | is 'Large streaming uploads' really accepted as a 1.0 feature? |
| 16:16 | jdunck | i'd be happy to see it, but it somewhat surprises me :) |
| 16:16 | jkocherhans | I think it's on the maybe list |
| 16:17 | jkocherhans | not sure how much work is left, but it seems close |
| 16:23 | empty | is that axiak_ ticket 2070 you're talking about? |
| 16:23 | empty | he seemed to indicate that it was done. But hopefully he'll chime in. |
| 16:32 | lsoto | seems like the fix to #7366 (on cset [7575]) breaks on python2.3 ... |
| 16:32 | DjangoBot | |
| 16:33 | lsoto | because sorted() is not present on python2.3 |
| 16:33 | lsoto | should I reopen the bug or fill another? |
| 16:35 | brosner | file another one |
| 21:26 | jdunck | jbronn_: gis question-- is there a reasonable use case for point.distance to *not* throw an exception when the other geom has a different srid? |
| 22:56 | jbronn | jdunck: As it is it doesn't throw an exception because if its in a different SRID it'll be implicitly transformed to the SRID of the field via the ST_Transform procedure. Exceptions are only thrown if you're trying to do something the spatial database doesn't support (e.g., geodetic distances on PostGIS that aren't w/PointFields). |
| 22:57 | jdunck | jbronn: i mean geos.Point instances |
| 22:57 | jdunck | no implicit transform (or exception) occurring there, as far as i can tell. |
| 22:59 | jbronn | jdunck: what's the problem you're running into, specifically? |
| 23:02 | jdunck | silently wrong distance results. |
| 23:02 | jdunck | dpaste in just a ec |
| 23:02 | jdunck | sec* |
| 23:04 | jdunck | jbronn: http://dpaste.com/55938/ |
| 23:05 | jdunck | jbronn: i've gotta run, but seems to me either "other" should be transform(clone=True) to match, or an exception should be thrown |
| 23:07 | jbronn | jdunck: You're using GEOS `distance` which is only pythageorean 2D distances. Remember GEOS has no knowledge of what the spatial reference system is. |
| 23:08 | jdunck | sure, but we wrap distance there, and we *do* know, since we have gis.geos.Point, which has srid |
| 23:09 | jbronn | jdunck: right a patch then takes into account the differences in spatial reference systems and can deal with geodetic differences. I'm hesitant to couple GEOSGeometry like that to the model API. |
| 23:10 | jdunck | on svn branch? |
| 23:11 | jdunck | you prefer implicit transform or exception? |
| 23:11 | jdunck | implicit transform is sensible since distance has this docstring: ' Units will be in those of the coordinate system of |
| 23:11 | jdunck | the Geometry.' |
| 23:14 | jbronn | Yes, in theory implicit transformation will be ideal; but there are wrinkles to this approach and those have to do with the limitations in GEOS' distance implementation cause it thinks everything is 2D and doesn't treat geodetic SRID's any differently than projected ones. |
| 23:15 | jdunck | ok, but Point.transform uses GDAL, which is aware, right? |
| 23:18 | jbronn | Not aware in the sense I'm saying. By 'aware' I mean you would use a spherical and/or a great circle function for distance calcs on geodetic srids rather and the normal pythogorean GEOS distance (what I mean by 2D) for everything else. |
| 23:20 | jbronn | Bottom line making it smarter is not a trivial matter, so I'd rather keep it as dumb as GEOS currently has it. |
Page 2 of 2
← Previous
(172 total)