Tuesday, 2008-11-11

*** tpb has joined #melange00:00
*** mithro has joined #melange00:31
*** ChanServ sets mode: +v mithro00:31
*** SRabbelier has joined #melange00:43
*** ChanServ sets mode: +v SRabbelier00:43
*** webchick has quit IRC01:53
*** mithro has quit IRC03:21
*** mithro has joined #melange03:46
*** ChanServ sets mode: +v mithro03:46
*** SRabbelier1 has joined #melange04:58
*** matthewwilkes_ has joined #melange05:37
*** matthewwilkes_ is now known as MatthewWilkes06:44
*** scorche has quit IRC06:48
*** scorche has joined #melange06:50
*** SRabbelier1 has quit IRC07:15
*** Sidnei has joined #melange08:04
*** webchick has joined #melange09:05
*** N4L|Lennie has joined #melange10:22
*** N4L|Lennie is now known as Lennie10:23
*** madrazr has joined #melange10:26
*** Sidnei_ has joined #melange10:38
*** Sidnei_ has quit IRC10:44
*** Lennie is now known as Lennie|Gone10:45
*** Sidnei has quit IRC10:46
*** Sidnei has joined #melange10:49
*** Sidnei_ has joined #melange10:56
*** Lennie|Gone is now known as Lennie11:09
LennieSRabbelier: Ping?11:09
SRabbelierLennie: -yawning-, pong11:10
Lennie:)11:10
*** Sidnei has quit IRC11:13
*** solydzajs has joined #melange11:14
*** ChanServ sets mode: +v solydzajs11:14
*** madrazr is now known as madrazr|oota11:57
*** Sidnei_ is now known as sidnei12:27
*** madrazr|oota is now known as madrazr12:31
*** Lennie is now known as Lennie|Food12:37
*** madrazr has quit IRC13:28
*** Lennie|Food is now known as Lennie13:29
SRabbeliersolydzajs: you need to make it possible to have read_only fields in forms! :P13:33
solydzajsSRabbelier: you can have that13:33
solydzajsSRabbelier: let me show you one sec13:33
SRabbeliersolydzajs: cool13:34
SRabbeliersolydzajs: (using as_table ofcourse)13:34
solydzajsclass EditForm(CreateForm):13:35
solydzajs  """Django form displayed a Document is edited.13:35
solydzajs  """13:35
solydzajs  doc_key_name = forms.fields.CharField(widget=forms.HiddenInput)13:35
solydzajs  created_by = forms.fields.CharField(widget=helper.widgets.ReadOnlyInput(),13:35
solydzajs                                      required=False)13:35
*** madrazr has joined #melange13:35
solydzajslook at created_by property13:35
solydzajsI use ReadOnlyInput widget here13:35
SRabbeliersolydzajs: aah, awesome!13:35
SRabbeliersolydzajs: perfect13:35
solydzajsand that works ok with as_table too13:35
solydzajsI committed my as_table stuff13:35
SRabbeliersolydzajs: awesome!13:36
SRabbeliersolydzajs: yup, I saw, haven't really tested  though13:36
SRabbeliersolydzajs: why don't the field turn grey?13:37
*** MatthewWilkes has quit IRC13:39
Lenniesolydzajs: I fixed the bug with the email adres not showing up when editing a user13:42
Lenniesolydzajs: But changing it doesnt work yet, because the kename isn't updated13:43
SRabbelierLennie: isn't that the case without your patch too?13:43
Lennieyeah13:43
SRabbelierLennie: then submit this one :)13:44
solydzajsLennie: well it was just little change in template right ?13:50
Lennieyeah a fule rules13:50
Lennie*few13:50
solydzajsok13:50
solydzajsLennie: key name of User should not be updated13:51
SRabbeliersolydzajs: it's broken in the current code :(13:53
SRabbeliersolydzajs: I'm not sure why13:53
solydzajsSRabbelier: you have broken former ids twice already :P13:54
SRabbeliersolydzajs: and you fix it in the wrong place! :P13:54
SRabbeliersolydzajs: admittedly, you couldn't fix it in my uncommitted code :p13:54
SRabbeliersolydzajs: but eh, still! :P13:54
solydzajsSRabbelier: I will have a look at it, but like I said Users key_name cannot be changed ever, you can only change id property13:54
SRabbeliersolydzajs: yup13:55
SRabbeliersolydzajs: it shouldn't need to be changes13:55
SRabbeliersolydzajs: probably it's not looking up the user as it should13:55
SRabbelierbut eh, if you have time, please look att that :)13:55
SRabbeliersolydzajs: look at my latest version of invites please13:57
SRabbeliersolydzajs: http://srabbelier-melange.appspot.com/sponsor/edit/google13:59
tpb<http://ln-s.net/2SdJ> (at srabbelier-melange.appspot.com)13:59
LennieSRabbelier solydzajs : Patch sent in14:03
Lennieshould work ^^14:03
SRabbelierLennie: cool14:03
Lenniegrbml14:06
LennieI missed a call from Dynabyte :P14:06
Lennieprobably WolTK :P14:06
SRabbelierLennie: phail14:06
Lennie*WotLK :P14:06
solydzajsSRabbelier: I will have a look at both invites and former ids14:06
SRabbeliersolydzajs: cool14:06
Lenniesolydzajs : +114:06
solydzajsLennie: ok will review14:06
Lennie+1 again :)14:06
Lennie<- Gonna do the dishes and start on email stuff14:07
LennieI've read that Django also has a built in mail system :P14:07
SRabbelierLennie: go fiex :)14:07
Lennieyeah yeah :P14:07
Lennieyou go fix invites :)14:07
SRabbeliercheck them out :)14:07
solydzajsLennie: but you should use Email API from App Engine14:07
Lenniesure14:08
Lenniebbs14:08
solydzajsSRabbelier: looks good, keep up the good work :D14:11
SRabbeliersolydzajs: thanks :)14:12
SRabbeliersolydzajs: you like the interface?14:12
SRabbeliersolydzajs: (that is, selecting with the list view etc)14:12
solydzajsSRabbelier: yep it ok :-)14:13
SRabbeliersolydzajs: thanks14:13
solydzajsSRabbelier: change the text in Invite a Host view14:14
solydzajsSRabbelier: currently it's "Please use this form to edit the Host. "14:14
SRabbeliersolydzajs: heh, minor details :P14:15
SRabbeliersolydzajs: but will do14:15
solydzajsSRabbelier: also change "Save Changes" to "Send Invitation"14:15
SRabbeliersolydzajs: will do/try14:15
solydzajsSRabbelier: ok14:15
solydzajsSRabbelier: linkname validation doesn't work too14:22
solydzajsSRabbelier: I can have two users with same link_name14:22
solydzajsSRabbelier: :(14:22
SRabbeliersolydzajs: weird14:22
solydzajsI'm lately spending too much time on fixing bugs :/14:24
SRabbeliersolydzajs: write tests for them14:24
solydzajsSRabbelier: you refactor and break things you should write tests :P14:25
SRabbeliersolydzajs: hehe14:25
*** mithro has quit IRC14:28
SRabbeliersolydzajs: invites work! :D14:30
SRabbeliersolydzajs: that is, you can create one now :)14:30
solydzajsSRabbelier: I will wait for final version14:30
SRabbeliersolydzajs: sure14:30
SRabbeliersolydzajs: just wanted to let you know progress14:31
Lennieb14:31
solydzajsSRabbelier: thx :-)14:33
SRabbeliersolydzajs: would "Hit 'Send Invitation' to send the invite." be good?14:37
SRabbelierLennie: you forgot to inline the patch14:38
Lennieepic fail?14:38
Lenniesomehow its also lost the 'doc string :P14:39
Lenniegrbml failure ^^14:39
LennieCan I blame Git SRabbelier :P?14:39
solydzajsSRabbelier: Send Invitation is self described :-)14:40
LennieI attached the patch though14:40
SRabbeliersolydzajs: should I just remove the Instruction then?14:40
Lenniedidnt want to make it too long :P14:40
SRabbelierLennie: heh, don't blame git, it'll give Pawel another reason to whine at me using it :P14:41
Lennie^^14:41
SRabbeliersolydzajs: ok, have a look if/when you can, I'm done for the night14:41
SRabbeliersolydzajs: code is on repo14:41
solydzajs"Please make sure that invitation is correct .... " ? something like that ?14:42
SRabbeliersolydzajs: yeah, sure14:42
solydzajsSRabbelier: ok I fixed User link_names bug14:44
solydzajsSRabbelier: I guess it was around for a while14:44
solydzajsSRabbelier: :-)14:44
SRabbeliersolydzajs: what was the bug?14:45
solydzajswas:14:45
solydzajs    if user and user.link_name != link_name:14:45
solydzajs      raise forms.ValidationError("This link name is already in use.")14:45
solydzajsshould be:14:45
solydzajs    if user and user.link_name == link_name:14:45
solydzajs      raise forms.ValidationError("This link name is already in use.")14:45
solydzajsand14:45
solydzajswas:14:45
solydzajs    if user and not id_user.doesLinkNameBelongToId(link_name, user.id):14:45
solydzajs      raise forms.ValidationError("This link name is already in use.")14:45
solydzajsshould be:14:45
solydzajs    user = id_user.getUserFromLinkName(link_name)14:45
solydzajs    if user:14:45
solydzajs      raise forms.ValidationError("This link name is already in use.")14:45
SRabbeliersolydzajs: Brown paper bag fix on my side :)14:46
SRabbelierapologies14:46
Lenniehappy now sverre :P?14:47
SRabbelierLennie: sure, might even be 'git am' applyable14:48
Lennie:P14:49
Lenniethat makes you happy14:49
Lenniegit diff --no-prefix > somepatch.diff14:49
Lennie:P14:49
SRabbelierLennie: yup14:49
*** MatthewWilkes has joined #melange14:49
*** Sidnei_ has joined #melange14:50
SRabbelierMatthewWilkes: thanks for the suggestion yesterday15:08
*** sidnei has quit IRC15:09
MatthewWilkesSRabbelier: No probs, that's why we're here :)15:12
MatthewWilkesthat and coding15:12
SRabbelierMatthewWilkes: hehe, yup :)15:15
MatthewWilkesjust wish I had more time for the latter15:16
MatthewWilkesI've filled my schedule pretty much to the limits :)15:16
SRabbelierMatthewWilkes: no worries :)15:16
MatthewWilkesSRabbelier: Has there been much django community involvement?  It'd be nice to get more plone people involved but we're wary of learning curves having gone up our own ;)15:22
*** madrazr has quit IRC15:22
SRabbelierMatthewWilkes: none as far as I know15:22
MatthewWilkesthat's a shame :(15:23
SRabbelierMatthewWilkes: yes, it is; we could really use a Django guru ;)15:24
solydzajsSRabbelier: the problem is that we cannot use all of them Django features anyway15:24
SRabbeliersolydzajs: this is true, sadly15:25
MatthewWilkesYeah, if we had a WSGI app running on unrestricted CPython we'd be right in there15:25
*** lisppaste9 has quit IRC15:25
*** lisppaste9 has joined #melange15:26
SRabbelierlol @ the lisppaste9 thing15:26
SRabbelierMatthewWilkes: we need appengine though :)15:26
SRabbelierMatthewWilkes: Django doesn't scale as well as Google requires15:26
solydzajsSRabbelier: we need Python, Django and App  Engine guru, you know who he is ?;-)15:26
MatthewWilkeslol15:27
SRabbeliersolydzajs: lol, yes we do15:27
solydzajsSRabbelier: but do you know who he is ?;-)15:27
MatthewWilkesI know people trying to hire them...15:27
SRabbeliersolydzajs: nope, do you?15:27
solydzajsSRabbelier: Guido ;-) but we won't get him :D15:27
MatthewWilkeseg: http://www.lovelysystems.com/wp-content/uploads/2008/10/job-gae.png15:27
tpb<http://ln-s.net/2Sek> (at www.lovelysystems.com)15:28
SRabbeliersolydzajs: LOL, nice :P15:28
solydzajsSRabbelier: he's busy with other stuff at G15:28
SRabbelierMatthewWilkes: LOL WTF :P15:28
SRabbeliersolydzajs: heh, ofcourse :)15:28
SRabbelierMatthewWilkes: that is... weird :P15:28
MatthewWilkesThe guys at lovely are great :)15:28
SRabbelierMatthewWilkes: heh, fancy15:29
solydzajsMatthewWilkes: GAE is not really that complicated :-)15:32
solydzajsSRabbelier: we could apply for this job already I guess :-)15:32
MatthewWilkessolydzajs: If you want it let me recommend you, 2000€ reward :)15:34
solydzajsMatthewWilkes: I'm busy enough with Melange, some iPhone project and NUI :-)15:35
MatthewWilkesToo busy you say?  I'd never have guessed! ;)15:35
SRabbeliersolydzajs: yes, you are, way too busy15:37
SRabbelierMatthewWilkes: are you serious?15:37
solydzajsMatthewWilkes: :-)15:37
SRabbelierMatthewWilkes: heh, it's in german though :(15:37
MatthewWilkesSRabbelier: of course not!15:37
SRabbeliermy german is not that good :P15:37
solydzajsSRabbelier: http://www.lovelysystems.com/batlogg/2008/10/02/e-1000000-for-super-heros/15:37
tpb<http://ln-s.net/2Ser> (at www.lovelysystems.com)15:37
MatthewWilkesSRabbelier: You're dutch, right?15:37
MatthewWilkesJust say you have bad spelling15:37
MatthewWilkesand a lisp ;)15:38
SRabbeliersolydzajs: lol at that15:38
SRabbelierMatthewWilkes: heheh, lol, yes I am Dutch15:38
SRabbelierheh, ashame, I could totally work there, but eh, study and stuff :P15:39
Sidnei_who needs study? :)15:39
MatthewWilkesSidnei_: Me? :P15:39
* Sidnei_ graduated in 10 years15:39
SRabbelierSidnei_: me too15:39
Sidnei_took a long time, but eventually i got there15:40
SRabbelierhehe15:40
MatthewWilkesSRabbelier: I spent most of my day listening to http://www.youtube.com/watch?v=6U9nhv4D56o15:40
tpbTitle: YouTube - Ducktales Opening Theme (Dutch) (at www.youtube.com)15:40
MatthewWilkesSRabbelier: To the extent that I can understand it now15:40
Sidnei_bbl15:40
SRabbelierMatthewWilkes: yes, it is awesome15:41
*** Sidnei_ has quit IRC15:41
SRabbelierMatthewWilkes: hehe, lol, nice15:41
SRabbelierMatthewWilkes: I like the Japanese one15:41
SRabbelierMatthewWilkes: http://www.youtube.com/watch?v=6VXpMqEp3kc15:41
tpbTitle: YouTube - DuckTales Opening Theme (Japanese) (at www.youtube.com)15:41
LennieMatthewWilkes, old school :D15:42
Lenniehttp://www.abandon5000.com/download/adventure-games/duck-tales.html ^^15:42
tpb<http://ln-s.net/2Sew> (at www.abandon5000.com)15:42
SRabbelierLennie: omg, awesome15:42
MatthewWilkesThis, however, is the coolest thing in the world15:43
MatthewWilkeshttp://www.youtube.com/watch?v=2EJTpWWxk6Q&feature=related15:43
tpb<http://ln-s.net/2Sf0> (at www.youtube.com)15:43
SRabbelierMatthewWilkes: hehe, Gummi bears are made of awesome15:43
SRabbelierheh...15:43
Lennienice :P15:43
SRabbelierspelling fail "beyound"15:44
*** MatthewWilkes has quit IRC15:54
SRabbelierrofl @ http://translate.google.com/translate?sl=auto&tl=en&u=http%3A%2F%2Fwww.pbs.org%2Fcringely%2Fpulpit%2F2008%2Fpulpit_20081107_005504.html15:55
tpb<http://ln-s.net/2Sf8> (at translate.google.com)15:55
SRabbeliererrr, meh, bad link15:55
SRabbeliershould be: http://www.pbs.org/cringely/pulpit/2008/pulpit_20081107_005504.html15:55
tpb<http://ln-s.net/2Sf$> (at www.pbs.org)15:55
Lennietoo sleepy, I'll continue working on the mail module tomorrow15:59
LennieSRabbelier: I'll make some basic stuff so you can hook up your invites too it before I refine it :)15:59
SRabbelierLennie: +1 on that15:59
*** Lennie has quit IRC16:04
solydzajsSRabbelier: I just got rid of Person model16:07
solydzajsSRabbelier: see the latest commit16:07
SRabbeliersolydzajs: woooh16:07
solydzajsSRabbelier: "Love-Hate: Why iPod chief Tony Fadell is really leaving Apple" is this from my shared ?;-) hehe16:08
SRabbeliersolydzajs: yes it is, it's brilliant16:08
solydzajsSRabbelier: yep :-)16:08
solydzajsholly crap16:10
solydzajshttp://gmailblog.blogspot.com/2008/11/say-hello-to-gmail-voice-and-video-chat.html16:10
tpb<http://ln-s.net/2SfZ> (at gmailblog.blogspot.com)16:10
SRabbeliersolydzajs: yes, just reading it16:10
SRabbeliersolydzajs: actually, just now installed the pluging!16:10
solydzajsSRabbelier: wanna test ?;-)16:10
SRabbeliersolydzajs: sure!16:11
solydzajsSRabbelier: one sec :-)16:11
solydzajsSRabbelier: Windows or Linux ?16:14
SRabbeliersolydzajs: windows16:14
solydzajsSRabbelier: nice thing about it is that it will work in many browsers16:15
SRabbeliersolydzajs: yup, anything that supports plug-ins16:16
*** ibot has quit IRC16:16
*** Sidnei has joined #melange16:45
*** Sidnei has quit IRC16:59
*** MatthewWilkes has joined #melange17:02
*** Sidnei has joined #melange17:42
*** solydzajs has quit IRC17:53
*** Sidnei has quit IRC18:58
*** Sidnei has joined #melange19:22
*** MatthewWilkes has quit IRC19:28
* Sidnei is away: I'm busy19:30
*** Sidnei_ has joined #melange20:02
*** dmitrig01|afk has joined #melange20:15
*** ChanServ sets mode: +v dmitrig01|afk20:15
dmitrig01|afkHi all20:16
*** dmitrig01|afk is now known as dmitrig0120:16
*** Sidnei__ has joined #melange20:21
*** Sidnei_ has quit IRC20:28
*** Sidnei has quit IRC20:29
*** Sidnei__ is now known as sidnei20:29
*** madrazr has joined #melange21:47
* sidnei is away: I'm busy22:08
*** sidnei has quit IRC22:15
*** Sidnei has joined #melange22:17
*** madrazr has quit IRC22:35
*** madrazr has joined #melange22:42
*** madrazr has left #melange22:47
* Sidnei is away: I'm busy22:50

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!