IRC log of dig on 2007-01-22
Timestamps are in UTC.
- 01:20:06 [timbl]
- timbl has quit ()
- 01:24:22 [sandro]
- sandro has quit ("Getting off stoned server - dircproxy 1.0.5")
- 01:24:54 [sandro]
- sandro (n=nnsandro@homer.w3.org) has joined #dig
- 02:49:14 [timbl]
- timbl (n=timbl@146-115-112-112.c3-0.lex-ubr1.sbo-lex.ma.cable.rcn.com) has joined #dig
- 02:49:36 [DanC_lap]
- DanC_lap (n=connolly@64-126-89-30.dyn.everestkc.net) has joined #dig
- 02:53:16 [timbl_]
- timbl_ (n=timbl@146-115-112-112.c3-0.lex-ubr1.sbo-lex.ma.cable.rcn.com) has joined #dig
- 02:53:57 [timbl]
- timbl has quit (Read error: 104 (Connection reset by peer))
- 03:10:36 [Ralph]
- Ralph has quit ()
- 03:41:09 [timbl_]
- timbl_ has quit ()
- 08:39:41 [eikeon]
- eikeon has quit (Read error: 104 (Connection reset by peer))
- 08:40:13 [eikeon]
- eikeon (n=eikeon@dsl092-168-155.wdc2.dsl.speakeasy.net) has joined #dig
- 09:25:06 [maxwilson]
- maxwilson (n=maxwilso@gingdotpb.ecs.soton.ac.uk) has joined #dig
- 09:38:10 [maxwilson]
- maxwilson has quit (Read error: 104 (Connection reset by peer))
- 12:34:34 [RalphS]
- RalphS (n=swick@30-6-113.wireless.csail.mit.edu) has joined #dig
- 12:37:45 [DIGlogger]
- DIGlogger (n=dig-logg@pink-panther.csail.mit.edu) has joined #dig
- 12:37:45 [kornbluth.freenode.net]
- topic is: MIT Decentralized Information Group http://dig.csail.mit.edu/
- 12:37:45 [kornbluth.freenode.net]
- Users on #dig: DIGlogger RalphS eikeon DanC_lap sandro das05r aztennenbaum
- 12:50:34 [timbl]
- timbl (n=timbl@146-115-112-112.c3-0.lex-ubr1.sbo-lex.ma.cable.rcn.com) has joined #dig
- 13:07:40 [DanC_lap]
- DanC_lap has quit (Read error: 60 (Operation timed out))
- 13:09:52 [DanC_lap]
- DanC_lap (n=connolly@64-126-89-30.dyn.everestkc.net) has joined #dig
- 13:10:17 [timbl]
- timbl has quit (Read error: 110 (Connection timed out))
- 13:23:20 [DanC_lap]
- DanC_lap has quit (Read error: 60 (Operation timed out))
- 13:57:50 [sandro]
- I haven't seen an agenda. DIG meeting today?
- 14:00:23 [timbl]
- timbl (n=timbl@31-34-61.wireless.csail.mit.edu) has joined #dig
- 14:19:37 [DanC]
- DanC (n=connolly@64-126-89-30.dyn.everestkc.net) has joined #dig
- 15:08:03 [sandro]
- I'm unhappy that the Java community doesn't seem to actually start property names with lower case. They start method names with lower case, but the "name" property rather than being x.name would be referred to via x.getName(). Alas, only Eiffel does the right thing and treats foo.bar as foo.bar() when you want it to.
- 15:08:54 [amyvdh]
- amyvdh (n=amy@128.30.55.179) has joined #dig
- 15:09:23 [sandro]
- Python is somewhere between the two, kind of worse than either. The convention seems to be x.name() (where there's no real need for the parens -- it's just leakage about the implementation.)
- 15:09:58 [sandro]
- of course you can hack around it, but that's kind of going against the language conventions.
- 15:14:47 [DanC]
- python language conventions increasingly support x.name
- 15:14:52 [DanC]
- there's real attribute support these days
- 15:16:28 [DanC]
- I prefer not to use the more dynamic aspects of python; I tend to stick to the subset of python that's analogous to Modula-3; i.e. something where I know how compilation would work, and where I'm comfortable that I could port it to java/C++ if I wanted to
- 15:23:49 [sandro]
- no, you're not missing anything before that. i was just venting.
- 15:24:16 [sandro]
- do you have an example in mind of the x.name style being used in python ?
- 15:25:18 [DanC]
- what comes to mind re x.name in python is Andrew K's "what's new in python 2.4" article (or maybe 2.3 or 2.5)
- 15:28:32 [mc-iam]
- mc-iam (n=mc@w3cdhcp6.w3.org) has joined #dig
- 15:32:00 [djweitzner]
- djweitzner (n=djweitzn@gandalf.mindlab.umd.edu) has joined #dig
- 15:32:01 [DanC]
- I'm having trouble finding it too. I did find one relevant article: http://www.cafepy.com/article/python_attributes_and_methods/python_attributes_and_methods.html
- 15:33:39 [DanC]
- ah... I didn't go back far enough; it's new in python 2.2. "More new features, such as slots and properties, are also implemented as new kinds of descriptors ..." -- http://www.python.org/doc/2.2.1/whatsnew/sect-rellinks.html#SECTION000320000000000000000
- 15:34:10 [DanC]
- note: f = eiffelmethod(f, pre_f, post_f)
- 15:36:08 [DanC]
- "property is a new built-in type that packages up three functions that get, set, or delete an attribute, and a docstring."
- 15:36:45 [jambo]
- jambo (i=jambo@30-6-150.wireless.csail.mit.edu) has joined #dig
- 15:37:33 [sandro]
- oh, excellent -- I'd be doing it the hard way.
- 15:37:38 [sandro]
- s/be/been/
- 15:54:40 [mc-iam]
- mc-iam has left #dig
- 16:01:28 [timbl]
- timbl has quit ()
- 16:07:02 [timbl]
- timbl (n=timbl@31-34-61.wireless.csail.mit.edu) has joined #dig
- 16:32:55 [amyvdh]
- amyvdh has quit ()
- 17:01:56 [jambo]
- jambo has quit (Read error: 145 (Connection timed out))
- 18:05:11 [timbl]
- timbl has quit ()
- 18:08:07 [jambo]
- jambo (i=jambo@30-6-150.wireless.csail.mit.edu) has joined #dig
- 18:17:16 [timbl]
- timbl (n=timbl@31-34-61.wireless.csail.mit.edu) has joined #dig
- 20:49:50 [djweitzner]
- djweitzner has quit ()
- 21:06:18 [alerer]
- alerer (i=markus@AEP-SIX.MIT.EDU) has joined #dig
- 21:16:10 [timbl]
- timbl has quit ()
- 21:21:20 [timbl]
- timbl (n=timbl@30-7-120.wireless.csail.mit.edu) has joined #dig
- 22:03:54 [alerer]
- alerer has quit ()
- 22:57:44 [timbl]
- timbl has quit ()
- 23:00:29 [jambo]
- jambo has quit (Read error: 145 (Connection timed out))
- 23:03:25 [timbl]
- timbl (n=timbl@30-7-120.wireless.csail.mit.edu) has joined #dig
- 23:04:29 [RalphS]
- RalphS has quit ("bye for today")
- 23:15:32 [timbl]
- timbl has quit ()