Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #40006

Re: Python Newbie

References <mailman.2567.1361905815.2939.python-list@python.org> <we8Xs.273163$5F3.16674@fx21.fr7>
Date 2013-02-27 07:57 +1100
Subject Re: Python Newbie
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.2576.1361912238.2939.python-list@python.org> (permalink)

Show all headers | View raw


On Wed, Feb 27, 2013 at 6:42 AM, Piterrr <piotrekd@optonline.net> wrote:
> This reminds me, when I first started working with databases and saw an
> error msg which said that my query had "ambiguous columns" I laughed for 1/2
> hr. I found it incredibly exitaining that a 100% deterministic piece of
> hardware could have the word "ambiguous" in its internal dictionary.

Enjoy your laugh (laughter's good!), but there are a couple of wrong
assumptions here. The hardware doesn't use the word "ambiguous", and
the SQL engine (which is what does) isn't 100% deterministic. Or to be
more technically correct, it's 100% deterministic with such a large
set of inputs (many of which are outside your access, let alone
control) that it may as well have a random component.  Also, there's
nothing strange about ambiguity: "Go and get the cornflour and the
icing sugar. Put some of it into the cake mix." - what should you put
in? Some of each? That's what the database has been asked to do, and
it's not clear what should be done.

Sorry to be the wet blanket on your joke (I think that metaphor's as
mixed as cake batter), but facts is facts :)

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: Python Newbie Jean-Michel Pichavant <jeanmichel@sequans.com> - 2013-02-26 20:09 +0100
  Re: Python Newbie "Piterrr" <piotrekd@optonline.net> - 2013-02-26 19:42 +0000
    Re: Python Newbie Chris Angelico <rosuav@gmail.com> - 2013-02-27 07:57 +1100

csiph-web