object-relational mappers

hdante hdante at gmail.com
Wed Apr 2 09:58:23 EDT 2008


On Apr 2, 10:50 am, Aaron Watters <aaron.watt... at gmail.com> wrote:
> >  Try Rails' ActiveRecord. Your problems should reduce to (lg lg
> > 2)^(1/12).
>
> python> (log(log(2)))**(1.0/12.0)
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> ValueError: negative number cannot be raised to a fractional power
>
> So you are saying the problems will get really complex? :)

 lg(x) == log_2(x)
 lg(lg(2))^(1/12) == 0. (fortunately I didn't write 3 lg's). :-P

>
> >  Seriously, you'll forget there's a relational database below. (there
> > are even intefaces for "relational lists", "trees", etc.)
>
> My experience with this sort of thing is that it is a bit
> like morphine.  It can feel really good, and in emergencies

 I don't have this much experience on either. ;-)

> it can save you a lot of pain.  But if you use it too often
> and too seriously you end up with really big problems.
>
>    -- Aaron Watters
>
> ===http://www.xfeedme.com/nucular/pydistro.py/go?FREETEXT=mysterious+obj...




More information about the Python-list mailing list