From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.devel Subject: Re: sqlite3 Date: Mon, 14 Feb 2022 17:31:06 +0300 Message-ID: References: <87czm98qi1.fsf@gnu.org> <87o85tcwm0.fsf@ericabrahamsen.net> <874k7ljwkr.fsf@gnus.org> <87fsr5cuzq.fsf@ericabrahamsen.net> <878rwx8mdn.fsf@gnu.org> <87r1aphuei.fsf@gnus.org> <87r1am8dxr.fsf@telefonica.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22599"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.2.0 (2022-02-12) Cc: emacs-devel@gnu.org To: =?utf-8?B?w5NzY2Fy?= Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Feb 14 16:11:48 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nJd12-0005j2-FZ for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Feb 2022 16:11:48 +0100 Original-Received: from localhost ([::1]:33532 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nJd11-0007z1-H6 for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Feb 2022 10:11:47 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50566) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJcRB-0005CB-71 for emacs-devel@gnu.org; Mon, 14 Feb 2022 09:34:45 -0500 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:40351) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJcR8-0000Pp-1U for emacs-devel@gnu.org; Mon, 14 Feb 2022 09:34:44 -0500 Original-Received: from localhost ([::ffff:41.75.189.127]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000055DA1.00000000620A687B.0000796E; Mon, 14 Feb 2022 07:34:35 -0700 Mail-Followup-To: =?utf-8?B?w5NzY2Fy?= Fuentes , emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: <87r1am8dxr.fsf@telefonica.net> Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:286276 Archived-At: * Óscar Fuentes [2021-12-09 09:56]: > Daniel Fleischer writes: > > > Pip Cet [2021-12-08 Wed 18:36] wrote: > > > >> The proposal is to have Emacs store some user data in some binary > >> format that cannot be readily inspected, diffed, backed up, > >> version-controlled, shared, altered, or understood. (Or archived, > >> published, indexed, checksummed, ...) > > > > It's a binary file, sure, but what exactly prevents your from backing it > > up? or putting it under git, sharing it, calculating its checksum or > > exploring it via a free tool such as sqlite-browser? > > Of course you can do all of the above, but keep in mind that adding, > deleting or editing a row can have arbitrarily large effects on the > binary representation of the database. > > And having to install an specific tool just to "explore" the database's > contents (read: have access within the tool's constraints) doesn't look > like very enticing perspective to me. > > So you can do with a database a lot of things we usually do with text > files, but "readily" does not apply. To open text file with editor such as Emacs you need complex dependencies. On Parabola GNU/Linux-libre, they are listed as: librsvg gpm giflib libxpm libotf m17n-lib gtk3 hicolor-icon-theme desktop-file-utils alsa-lib gnutls jansson cairo harfbuzz Emacs is huge software. Complex. sqlite3 is 1.6M with these dependencies; linux-vdso.so.1 (0x00007ffee8782000) libreadline.so.8 => /usr/lib/libreadline.so.8 (0x00007f47f83f7000) libm.so.6 => /usr/lib/libm.so.6 (0x00007f47f82b3000) libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f47f82ac000) libz.so.1 => /usr/lib/libz.so.1 (0x00007f47f8292000) libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f47f8271000) libc.so.6 => /usr/lib/libc.so.6 (0x00007f47f80a5000) libncursesw.so.6 => /usr/lib/libncursesw.so.6 (0x00007f47f8030000) /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f47f85db000) -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/