#django-dev

March 9th, 2010

23:54 carljm
exactly
23:54 carljm
then we generate an object tree based on that
23:54 Alex_Gaynor
GMTA
23:54 carljm
heh
23:54 Alex_Gaynor
sounds good
23:54 carljm
that whole process is then slower than what we do now
23:54 carljm
but who cares, its just for the confirmation page
23:55 Alex_Gaynor
right, bulk deletion will be hugely faster
23:55 carljm
and worth it for the reliability IMO
23:55 Alex_Gaynor
agreed
23:55 carljm
alright then! plan is in place. now who will get around to turning it into code first...
23:56 carljm
have you filed a ticket for it yet?
23:56 Alex_Gaynor
no
23:56 carljm
i'm on it
23:56 Alex_Gaynor
thanks

March 10th, 2010

00:04 Alex_Gaynor
Whenever I comment on a Django GSOC proposal I always feel like I need to preface it with an "I'm also a GSOC student, but I promise I'm not trying to sabotage you" decleration :/
00:22 ubernostrum
freakboy3742: ping
00:22 freakboy3742
ubernostrum: Saw your message about the blog post
00:22 freakboy3742
I wrote one last night
00:22 ubernostrum
freakboy3742: yes, you did.
00:22 ubernostrum
And you let it fill in the current time.
00:22 ubernostrum
With JavaScript.
00:22 ubernostrum
Running on Australian time.
00:23 freakboy3742
Ah.
00:23 ubernostrum
Your post will go live when US Central time gets around to it.
00:23 ubernostrum
In... 13 minutes.
00:23 freakboy3742
Got it.
00:23 freakboy3742
This is my breath, baited. :-)
00:23 freakboy3742
(damn backwards yankees... :-)
00:23 jezdez
hehe
00:24 idan
bated! not baited.
00:25 freakboy3742
No... my breath smells like small fish.
00:25 idan
bated == reduced, like an abatement.
00:25 idan
when is your synchronized-bomb-of-a-press-release going off?
00:26 idan is headed to sleep shortly.
00:26 freakboy3742
Well, the mailing list went off last night
00:26 freakboy3742
blog post in about 11 minutes.
00:26 idan
ooo
00:28 idan
cool.
00:28 idan
I missed that in all of the hubbub recently.
00:32 ubernostrum
Yeah, I didn't even see the mailing list post.
00:32 ubernostrum
Was drafting a blog post of my own.
00:33 ubernostrum
Meanwhile I still really want to wipe and lock the "stuff user in a threadlocal" wiki page.
00:33 ubernostrum
But somebody would just create a new one.
00:34 idan
ubernostrum: y so pessmistc?
00:34 freakboy3742
idan: Because history has repeatedly demonstrated that this particular idea won't die.
00:35 ubernostrum
I love being told that not everyone has the breadth of knowledge I do.
00:35 ubernostrum
Takes a genius-level expert Django coder to come up with the idea of
00:35 ubernostrum
def mymethod(self, user):
00:35 ubernostrum
WHO WOULD HAVE THOUGHT OF THAT
00:35 idan
stubborn plagues require concerted, consistent action to eradicate.
00:36 Alex_Gaynor
ubernostrum: I just wrote that line today, I suppose I too am a hyper expert
00:36 freakboy3742
I'm just amazed that people don't seem to grok that threadlocal == global variable with a pretty name.
00:36 idan
I'd say that wiping/locking the page on the wiki with a short message saying that this is a Bad Idea(tm) with a link to more relevant, modern techniques -- is a good idea.
00:36 idan
it won't hurt, though it might not be a cureall.
00:36 Alex_Gaynor
freakboy3742: a thread local is worse than a global variable
00:37 ubernostrum
You know.
00:37 ubernostrum
freakboy3742: let's make an easter egg.
00:37 ubernostrum
Some bit of code deep in the request handler.
00:37 ubernostrum
Which overwrites any threadlocal named 'user' ;)
00:37 freakboy3742
ubernostrum: :-)
00:37 ubernostrum
With... a superuser account.
00:37 freakboy3742
tempting...
00:37 Alex_Gaynor
ubernostrum: it returns your entire page rendered as a pony?
00:37 ubernostrum
So that all those permission checks they use will always pass.
00:38 idan thinks this conversation needs a soundtrack of maniacal cackling.
00:38 ubernostrum
I bet I could probably sneak an obfuscated "pwn ur sitez" backdoor into the code on the wiki if I wanted to.
00:39 ubernostrum
Also.
00:39 ubernostrum
I want to wipe/lock all of mrts' "Django Core Specifications(TM)".
00:39 freakboy3742
ubernostrum: Oh, please, yes.
00:39 idan
gar. I really should go get some zzzs. Adios for real.
00:45 ubernostrum
00:47 ubernostrum does the rest of 'em.
00:48 freakboy3742
ubernostrum: I'd probably change "Not affiliated" to "not part of the core team"
00:48 Alex_Gaynor
"not formally affiliated"
00:49 ubernostrum
freakboy3742: fixing.
00:50 ubernostrum
Done.
00:52 ubernostrum wipes the threadlocal page too :)
00:52 ubernostrum
And... I'm spent.
00:52 ubernostrum
Time for dinner, then I'll come back and look at real issues.
00:53 ubernostrum
freakboy3742: you're live, btw.
00:53 freakboy3742
ubernostrum: I felt the earth move :-)
00:56 ubernostrum
Guess I should read this blog entry.
00:57 ubernostrum
freakboy3742: I'm going to lightly edit to give people a sense of progress.
00:57 ubernostrum
Since at PyCOn we had 300+ tickets.
00:57 freakboy3742
ubernostrum: No probs
00:59 cramm
the indentation of the two-bullet list looks funny here
01:00 cramm
or rather the non-indentation
01:03 Theravadan
if I have a default argument ie def myfunc(a=_("abc")): ... will that cause problems when I use a?
01:04 Theravadan
like a will always be set to _("abc")
01:08 ubernostrum
freakboy3742: edited. Mostly just providing a bit more explanation for what may/may not get bumped, and the ticket count since PyCon.
01:10 freakboy3742
ubernostrum: Looks good to me.
01:10 Alex_Gaynor
malcolm's back!
01:11 Alex_Gaynor
:)
01:12 jezdez
woot!
01:12 brosner
yay!
01:14 ubernostrum
It's like groundhog day.
01:14 Alex_Gaynor
he saw his shadow?
01:14 ubernostrum
If Malcolm sees his commit bit, two more weeks of bugfixing.
01:14 Alex_Gaynor
ubernostrum: two weeks of bugifixing from malcolm and 1.3 will be ready