Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.053 X-Spam-Evidence: '*H*': 0.89; '*S*': 0.00; '(all': 0.07; 'subject: + ': 0.07; 'subject:into': 0.09; 'accepting': 0.14; 'creates': 0.14; '(note': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'movements,': 0.16; 'operation),': 0.16; 'sqlite': 0.16; 'subject: \n ': 0.16; 'subject:which': 0.16; 'switches': 0.16; 'subject:python': 0.16; '(you': 0.16; 'subject: ?': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'seems': 0.21; 'saying': 0.22; 'helpful': 0.24; 'mon,': 0.24; 'people,': 0.24; '15,': 0.26; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'chris': 0.29; 'points': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; '(which': 0.31; 'usually': 0.31; 'alone': 0.33; "i'd": 0.34; 'could': 0.34; "can't": 0.35; 'received:209.85': 0.35; 'no,': 0.35; "who's": 0.35; 'but': 0.35; 'received:google.com': 0.35; '14,': 0.36; 'scheme': 0.36; 'doing': 0.36; 'too': 0.37; 'received:209': 0.37; 'tasks': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'previous': 0.38; 'quote': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'even': 0.60; 'full': 0.61; 'new': 0.61; 'back': 0.62; 'times': 0.62; 'kind': 0.63; 'become': 0.64; 'different': 0.65; 'compliant': 0.68; 'money': 0.72; 'hand': 0.80; 'exclusive': 0.81; '9:45': 0.84; 'atomic': 0.84; 'correcting': 0.84; 'demand': 0.91; 'rusi': 0.91; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=TcxRppqsKt+zkotF3yG5IsJxwAB5VlcE7Smk7NHE/yk=; b=Lmvw0JKnqvyvCRBQqjVw7EV09P2j4OHIPj6WH5RS4EzkPNxx+d4BGNUfyRv/cxgamz FyKn4wVFmO9yyV73pp6Uji+oIfV+ehg4z5AsSZNpcPPI3S16tkc8hpbnRC/XO5L7RB1f ZCwLUwAtgS4IelWAJxQvw+55uE6wNP9mUz0jS8hVS6HTrF/g4SmEmmuBcp9tFxtHYv7M RP+1damjTVT20I7hXEhqa+3Gg+jAmFEmbuy3gSizS5xEgnwa3ORHBo5a8ZtAbMd26Bmk hf334E5zuw5Z+NXOu/axoZg7XfToyxON9RYPZXjFVG3/qwr400/kTMhImTAtgaoQRWrH i5bA== MIME-Version: 1.0 X-Received: by 10.58.56.161 with SMTP id b1mr15953408veq.42.1366028925898; Mon, 15 Apr 2013 05:28:45 -0700 (PDT) In-Reply-To: References: <5168b87f$0$29977$c3e8da3$5496439d@news.astraweb.com> <2d737309-6608-4e2e-8ff1-2b8b020a418c@qc10g2000pbb.googlegroups.com> <516a6125$0$29977$c3e8da3$5496439d@news.astraweb.com> <8555d9af-e52e-47d6-b2bd-ef7fe5dd61d9@pl9g2000pbb.googlegroups.com> Date: Mon, 15 Apr 2013 22:28:45 +1000 Subject: Re: python-noob - which container is appropriate for later exporting into mySql + matplotlib ? From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1366028935 news.xs4all.nl 2653 [2001:888:2000:d::a6]:47734 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:43621 On Mon, Apr 15, 2013 at 9:45 PM, rusi wrote: > I am trying to understand your points Chris. On the one hand you say: > > On Apr 14, 6:22 pm, Chris Angelico wrote: >> No, no, a thousand times no! If I am doing financial transactions, >> even if I'm alone on my machine, I will demand full ACID compliance. > > On the other you describe a bookmark storage scheme (which it seems > you are recommending); to wit > ... > So are you saying that if one switches from the non-ACID compliant > sqlite to your simple-text data-format, the new 'database' (note the > quote marks) will now become ACID compliant? Unlikely. It theoretically could be made ACID compliant (all it needs is an OS-guaranteed atomic move/rename operation), but my point is that some things don't _need_ full-on databases. Financial work *does* (if I'm accepting money from people, I'd better make pretty sure I know who's paid me and how much); bookmarks usually don't. Also, bookmarks are the exclusive property of the person who creates them, so it's helpful to store them in a way that can be edited; with money movements, you often want some kind of indelibility guarantee, too (you can't go back and edit a previous transaction, you have to put in a correcting transaction). Different tasks demand different storage schemes. ChrisA