From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.devel Subject: Re: Adding a generic mathematical library Date: Sun, 21 Jul 2024 10:03:04 +0200 Message-ID: <875xsz5g07.fsf@dataswamp.org> References: <8734o9sdig.fsf@posteo.net> <87wmllqq66.fsf@posteo.net> <87plrdqnhc.fsf@posteo.net> <87le21qldj.fsf_-_@posteo.net> <878qy1at52.fsf@dataswamp.org> <87ikwz5nll.fsf@dataswamp.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8065"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: emacs-devel@gnu.org Cancel-Lock: sha1:XOMXVq4dNQkY+1q9JnZETG1NEmg= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jul 21 10:40:41 2024 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 1sVS7U-0001ur-S4 for ged-emacs-devel@m.gmane-mx.org; Sun, 21 Jul 2024 10:40:40 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sVS7A-0006iA-8J; Sun, 21 Jul 2024 04:40:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sVRXR-0005LA-1B for emacs-devel@gnu.org; Sun, 21 Jul 2024 04:03:25 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sVRXP-00087N-97 for emacs-devel@gnu.org; Sun, 21 Jul 2024 04:03:24 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1sVRXN-0002Uk-49 for emacs-devel@gnu.org; Sun, 21 Jul 2024 10:03:21 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io 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, HEADER_FROM_DIFFERENT_DOMAINS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 21 Jul 2024 04:40:17 -0400 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:321860 Archived-At: Christopher Dimech wrote: > We should ask the community what tools they would like to > use, whether combinatorics, random numbers (Gaussian, > Bernoulli, Binomial), ... > > May I suggest "Units and Conversions". "Symbolic > Simplification" could also be a candidate. > > To promote a mathematical library in Emacs and ensure its > broad adoption, we can think of some things outside the > realm of your libraries but which others would appreciate. Yes, I'll see what we can find and reuse. They are not really complete libraries, even those who sound like they are - time, random, permutations etc - they are just files where I put everything that has to do with it. It is not a bad method, but does not intend to create complete libraries. None are and as for the whole math field, that's huge, not covered by my files, haha (impossible). I'd like to join this project formally now, after so many times suggesting it and now doing this as well. But for sure, I won't be able to do it alone and also I don't have _that_ strong background in math. I did complete a bunch of university courses, but yeah, how much did I understand, truly? It feels like: to some degree that matters, sure, and to a practical degree, fine, but not to that HUGE a degree, really. I know one person, from Poland, but he is probably busy. And I know one person from Russia, maybe he is reading this? Anyone else, join - if we get to be a bunch of guys it will not be that difficult and big a project. Or rather, all it will take is time. Yes, you Mr Dimech, join as well. Why not? I'll end this by sharing this file. Does the ASCII look good? (If not, follow the URL.) If you want to evaluate, first do (defalias '** #'expt) ------------------------------------------------------------------------------- BINARY UNITS incal@dataswamp.org ------------------------------------------------------------------------------- name bytes unit max value ------------------------------------------------------------------------------- char/byte 1 (1- (** 2 (* 8 (** 2 0) ))) word 2 (1- (** 2 (* 8 (** 2 1) ))) doubleword 4 (1- (** 2 (* 8 (** 2 2) ))) quadword 8 (1- (** 2 (* 8 (** 2 3) ))) paragraph 16 (1- (** 2 (* 8 (** 2 4) ))) kilobyte 1 024 KiB (1- (** 2 (* 8 (** (** 2 10) 1)))) megabyte 1 048 576 MiB (1- (** 2 (* 8 (** (** 2 10) 2)))) gigabyte 1 073 741 824 GiB (1- (** 2 (* 8 (** (** 2 10) 3)))) terabyte 1 099 511 627 776 TiB (1- (** 2 (* 8 (** (** 2 10) 4)))) ------------------------------------------------------------------------------- ^^^^ 1024 ------------------------------------------------------------------------------- https://dataswamp.org/~incal/data/BINARY-UNITS 2022-12-01 ------------------------------------------------------------------------------- -- underground experts united https://dataswamp.org/~incal