Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'intermediate': 0.07; 'made.': 0.07; "subject:' ": 0.07; 'assuming': 0.09; 'lawrence': 0.09; 'modes': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'second.': 0.09; 'gui': 0.12; 'stored': 0.12; 'language.': 0.14; '"new': 0.16; 'concurrent': 0.16; 'dump': 0.16; 'grep': 0.16; 'happily': 0.16; 'limiting': 0.16; 'pause': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'sheer': 0.16; 'sqlite': 0.16; 'ssh': 0.16; 'subject:dates': 0.16; 'subject:sqlite3': 0.16; 'trivially': 0.16; 'worst': 0.16; 'files.': 0.16; 'language': 0.16; 'wrote:': 0.18; 'users.': 0.18; 'file,': 0.19; 'unlike': 0.19; 'seems': 0.21; 'machine': 0.22; 'settings': 0.22; '>>>': 0.22; 'coding': 0.22; 'header:User-Agent:1': 0.23; 'text,': 0.24; 'fine': 0.24; 'file.': 0.24; 'purposes': 0.26; 'switch': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'related': 0.29; 'network.': 0.30; 'originally': 0.30; "i'm": 0.30; '(which': 0.31; 'changed.': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'weeks': 0.32; 'run': 0.32; 'another': 0.32; 'text': 0.33; 'says': 0.33; 'ago': 0.33; 'bugs': 0.33; 'plain': 0.33; 'actual': 0.34; "i'd": 0.34; 'could': 0.34; 'subject: (': 0.35; "can't": 0.35; 'anybody': 0.35; 'editor': 0.35; 'but': 0.35; 'there': 0.35; 'button': 0.38; 'implement': 0.38; 'to:addr:python- list': 0.38; 'fact': 0.38; 'rather': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'even': 0.60; 'read': 0.60; 'wonderful': 0.60; 'browser': 0.61; 'course': 0.61; 'simple': 0.61; 'back': 0.62; 'developed': 0.63; 'such': 0.63; 'our': 0.64; 'talking': 0.65; 'charset:windows-1252': 0.65; 'moments': 0.68; 'overall': 0.69; 'restore': 0.78; 'again?': 0.84; 'different.': 0.84; 'lasting': 0.84; 'misses': 0.84; 'saying:': 0.84; 'kid': 0.91; 'choice.': 0.93; 'suited': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: 'Lite' Databases (Re: sqlite3 and dates) Date: Thu, 19 Feb 2015 03:43:36 +0000 References: <4154cc37-0bb0-4bf2-a52c-b728c737357c@googlegroups.com> <54E517B4.4000409@stoneleaf.us> <54e546b5$0$11119$c3e8da3@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-92-24-222-48.ppp.as43234.net User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 In-Reply-To: <54e546b5$0$11119$c3e8da3@news.astraweb.com> 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: 50 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1424317448 news.xs4all.nl 2930 [2001:888:2000:d::a6]:60367 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:85847 On 19/02/2015 02:13, Steven D'Aprano wrote: > Chris Angelico wrote: > >>> SQLite misses some important features that makes it better suited as a >>> simple datastore, not much unlike shelve. And network use is not one >>> of them, since you can actually implement concurrent sqlite access by >>> coding an intermediate layer. Assuming of course we are talking about >>> a small number of concurrent users. >> >> This is what I was saying: it's fine for purposes like Firefox's >> bookmarks and settings and such (which I think was what it was >> originally developed for?). Not so fine over a network. > > The sheer number of Firefox bugs related to its use of SQLite says > different. > > Once upon a time, Firefox's config, bookmarks, etc. were stored in plain > text files. At worst they were HTML. You could trivially read them, copy > them, restore them and even (if you were careful) edit them using the text > editor of your choice. Many a time I was on one machine, wanted to know a > bookmark from another machine, so I would ssh across to the other machine > and run grep over the bookmark file. > > No more. Firefox still keeps a bookmark HTML file, but it never seems to be > synced with the actual bookmarks. Settings are stored in an opaque blob, > rather than human-readable text, limiting what you can do with it. It's very > nice that Firefox offers about:config but not so nice that you can't do the > same thing without the GUI running. > > If Firefox crashes, there are failure modes where it can no longer read your > bookmarks, or keep history. I don't mean that history won't persist across > restarts, I mean that *within a single session* it cannot remember what page > you came from so you can hit the Back button and return to it. WTF? > > I swear, if not for the fact that every single other browser is worse, I > would dump Firefox in a second. > After a wonderful relationship lasting many happy years I dumped Firefox a few weeks ago for Chrome. A few anxious moments gave me pause for thought, but overall I'm happy to have changed. However is anybody aware of a "new kid on the block" that could take over as I'd happily switch again? Nothing has sprung out at me, hence the choice I made. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence