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.help Subject: Re: interactive spec with reasonable numbers for c-u Date: Sat, 10 Sep 2022 04:03:44 +0200 Message-ID: <87fsh06l4v.fsf@dataswamp.org> References: <83y1uufmhl.fsf@gnu.org> <875yhydx1u.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="35332"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Cancel-Lock: sha1:9yhoXsCxVY4IZAY8kNdNaFY92vM= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 16 15:30:11 2022 Return-path: Envelope-to: geh-help-gnu-emacs@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 1oZBQ2-00092p-Rb for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 16 Sep 2022 15:30:10 +0200 Original-Received: from localhost ([::1]:37846 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZBQ1-00008Z-NT for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 16 Sep 2022 09:30:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48368) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWpqi-0003CB-Uu for help-gnu-emacs@gnu.org; Fri, 09 Sep 2022 22:04:01 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]:57304) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oWpqg-0003ha-Em for help-gnu-emacs@gnu.org; Fri, 09 Sep 2022 22:04:00 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1oWpqa-0006w3-KG for help-gnu-emacs@gnu.org; Sat, 10 Sep 2022 04:03:52 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org In-Reply-To: (Samuel Wales's message of "Thu, 8 Sep 2022 17:44:17 -0700") Mail-Copies-To: never Received-SPF: pass client-ip=116.202.254.214; envelope-from=geh-help-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 16 Sep 2022 09:17:04 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:139530 Archived-At: Samuel Wales wrote: > dna has 4 base pairs that comes in sequences. so loosely > speaking it is base 4 arithmetic. of coure it is not that > simple and i am not making the claim that arithmetic per se > is performed. among the lack of simplicity, there are > codons, there is rna which substitutes uracil, and probably > various other footnotes. but it's not wrong to say that our > dna has 4 nucleotides in sequences. Ah, of course, DNA! Cool, but surely that isn't the reason why we have that sequence in Emacs? :O $ for i in {0..4}; do echo $(( (2**2)**i )); done 1 4 16 64 256 Here's an interesting textfile BTW, https://dataswamp.org/~incal/data/BINARY-UNITS ------------------------------------------------------------------------------- BINARY UNITS incal@dataswamp.org ------------------------------------------------------------------------------- unit bytes bits max value (eval) ------------------------------------------------------------------------------- char/byte 1 8 (1- (** 2 8)) word 2 16 (1- (** 2 (* 8 2))) doubleword 4 32 (1- (** 2 (* 8 4))) quadword 8 64 (1- (** 2 (* 8 8))) paragraph 16 128 (1- (** 2 (* 8 16))) kilobyte 1 024 8 192 (1- (** 2 (* 8 1024))) megabyte 1 048 576 8 388 608 (1- (** 2 (* 8 (** 1024 2)))) gigabyte 1 073 741 824 8 589 934 592 (1- (** 2 (* 8 (** 1024 3)))) terabyte 1 099 511 627 776 8 796 093 022 208 (1- (** 2 (* 8 (** 1024 4)))) ------------------------------------------------------------------------------- (defalias '** #'expt) 1 kilobyte = 1024^1 bytes 1 megabyte = 1024^2 -"- 1 gigabyte = 1024^3 -"- 1 terabyte = 1024^4 -"- ------------------------------------------------------------------------------- https://dataswamp.org/~incal/data/BINARY-UNITS 2022-09-10 ------------------------------------------------------------------------------- -- underground experts united https://dataswamp.org/~incal