From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: North Year Newsgroups: gmane.emacs.help Subject: Re: problems of everyday life Date: Wed, 16 Nov 2022 15:54:01 -0500 Message-ID: References: <87r0y4w8hy.fsf@dataswamp.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39186"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.8.10; emacs 28.2 Cc: help-gnu-emacs@gnu.org To: Emanuel Berg Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 16 22:02:44 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 1ovPYS-000A2c-1S for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 16 Nov 2022 22:02:44 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovPYA-0002a8-Hh; Wed, 16 Nov 2022 16:02:26 -0500 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 1ovPY9-0002Zx-SG for help-gnu-emacs@gnu.org; Wed, 16 Nov 2022 16:02:25 -0500 Original-Received: from mail-bn1nam02olkn2082d.outbound.protection.outlook.com ([2a01:111:f400:7eb2::82d] helo=NAM02-BN1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovPY7-0000cp-VH for help-gnu-emacs@gnu.org; Wed, 16 Nov 2022 16:02:25 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VnyuhpqvMRlRnW3qLat9UImFvNOFLkJk2ojXTd95nsn2psGraEIZeokBHUxpQsxE0qtx58zOr/SkXtx+H9Qkgz9pIX7N7dgJgkssPe9hULouBL1ycnMAV6c/bPD3ryKGlNFrAgXXNl4BeuCc9W5uIjSa806GQWRaKeN6cbh9VXptds9S+3dEBOvJT7HlS029koSETbfPh7U7w71AR1RTivPkFIblP29Y7VDGARBLGx726sPNqK6E9dpOh/d0QYxGJsiXTwibkA1sBmbHX7wOUtZT26hT5Eub2SJr6pbAKM0mK8xSiFIW0QlWGWjljreE8C1yUH7IGpJhTgnnZFwxCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=XDnonkmR1kyb9NiE+5X41ySoInp0sV3Xg/YO/3Nchmw=; b=NZxQtlcWEBTxl+a/vNp2ZIBZSwKHoEYpjvQLXvtFXW/B1dOBMnk2bCSplWMqNEaefJxPlhnWc36k9/urQrWrylhf0zb+Z9+VR2IqkxM0rmKahM2bLHLkOQ0H71QZdRdDZ7IMc2k7JzxGShbdGsoMZUWfkwUeiXcyrkZh8jxckbgeS6Ny75JDtdY6mC9VslLHUKyxRwQYHV/40njXBsxQ0xPVo+sDluWTmJbqA4OWcyKdCJWIheRcjD+WG/ljcp1CjtCBXIrvemnMdyBQ9jzRi8Qf10DEBqMFITo/qVQWM/grFlsv3o7F7wfGlYJiD4hY1wHYpIMhXiBb0w4GOM/wKA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XDnonkmR1kyb9NiE+5X41ySoInp0sV3Xg/YO/3Nchmw=; b=sWKxKXsqb9ToyemhU6Rqgox/SSstLhE5GSL4W6pHBT+WODb8L4dTgO8Lng3BWfLsh9oCYcj2qeqN9YMEdQS/mkVTdiBLC3pWbmnuyr3vDRf730zKiKZY0gwgdbfxTKV1Ucw202WXXrrRjFdOYiORLf1XBivAAcTqT73OI39z8WKmRkFMSPm1Ag9IcB6hoG5EnnxXU1hfbKSY5lMG6zTV+5X7lAmmYjup1S0j8ALZqHY6p1i9mp+HwTtE/wxDUIFJ8G9UnmYMs7SDawo4CNdfeVah5Z2ID39cy1jto/+yMjhflBcxZwE2B030vEFF7EnXZ5Yj1mGh/W7HnWxWoXSc+A== Original-Received: from MW4PR14MB5327.namprd14.prod.outlook.com (2603:10b6:303:186::9) by CH2PR14MB3660.namprd14.prod.outlook.com (2603:10b6:610:36::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5834.8; Wed, 16 Nov 2022 20:57:16 +0000 Original-Received: from MW4PR14MB5327.namprd14.prod.outlook.com ([fe80::dba6:bcfd:576c:f8cc]) by MW4PR14MB5327.namprd14.prod.outlook.com ([fe80::dba6:bcfd:576c:f8cc%4]) with mapi id 15.20.5813.012; Wed, 16 Nov 2022 20:57:16 +0000 In-reply-to: <87r0y4w8hy.fsf@dataswamp.org> X-TMN: [Cp6Qk4zyX+6wE7vX+Lb+IQgsi38JeODmDw9igQ/5vPdR5KG6B+J7BgYUh4Kjj9K9] X-ClientProxiedBy: BL1PR13CA0271.namprd13.prod.outlook.com (2603:10b6:208:2bc::6) To MW4PR14MB5327.namprd14.prod.outlook.com (2603:10b6:303:186::9) X-Microsoft-Original-Message-ID: X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MW4PR14MB5327:EE_|CH2PR14MB3660:EE_ X-MS-Office365-Filtering-Correlation-Id: 7901d0c7-8908-47a8-8a3e-08dac815246e X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: VIt/gRMm3ZJsxh+SqH8IeELXzl5GPh76xS4oSSOGczaujY2E1DSqb5pl0GLEYHs2kIvoHTk/yan3SUesLpaw/VegiAEBWam3T1hUu/ciQI6CyaokRFd/0x8FAlxl7VmY5cOsJwBDrW5foyVWRsMokshmJV5usAVSa9ImlwKCnbn342ZfE9h0RvmWKehKZCH5AKMI/MeoRcLnpXztmnspasFIBzSWkxUQ7AmzY6Ehgmk7UpTRq4QZ3YzTy2xCM0N4WcTcPQWTtsqijXArvc3x/VfS4MAim5tswhbnaf1xmfqyciSToT6QvEuJ2KKj0uieKnmAcdj3JD0WjfmvtJLqsu4QV+xNexjWOJ6oyRcslYuebK67qoY0ERFL8tjL/IjHPw6Sl9b7gQyerMHYY6CyuHfU0o6tUIfDyDdrpcNQ5VEyFPN93pf5GqtHFSben+/N3NdYjkAnNax10II1O+N/iyYT6VvA3CL/72ixVtPh96VVN7kAwthDEDnK49GJYxLXsXLq74R/QGHtdvF3HniZ2JfHJTqMKVfferJMdozYb7H5/sBuI9ESPFTx7vhNFNP1NL/BS4c7jXqSnrb7VvWkEQx9fJH6GQH4vYyugcUySZuBnZfzQRfGfqud5TrlG3dNcMwg4deHzXpCvW3q91tnvq0hi1l1Eaf6kmdTseiJ/qohZdobz2HJKJpi6+Ai3TSu X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?cml4cnhvKzdsTm0vanhIZEdFb0ZaRmQ1ZWdZbDF3ekRRQnV0U0lHMHVZc1pB?= =?utf-8?B?TkVJbHdxVEd3VWNSWXpVK01ta0NzOHFEdGszdHlJdmQ0dmpCRHoxVVlKaDND?= =?utf-8?B?d3FiSmVDTXBBaUhZUlR4NHkzeUVTak1YNDB6ZENuY2JJWG91cHV2TWM0YmFk?= =?utf-8?B?d0NtZzJIVExyelhoY0Nxc0tBc01uZVBFeE5TRjhMbWRGaDh1STNad3hqcWNk?= =?utf-8?B?R1h6a3p3dUFybzRKQU5DM1JsWGNCeE5iR3NZbi81dXdjQkRpbVNaVDI2N1Z4?= =?utf-8?B?MHExUUQxUTcvcURYZGtRbE1DQld1NmR1ZldFWUk2UStaaWxpenltVC9YNkkz?= =?utf-8?B?U3l2NEFsTVZnaUl1TFQ3YlBxSjl5STdMaDRkSVpqMEZjTEVrVVpEUkg3RGlH?= =?utf-8?B?WXNyenhXUWRXQTNZMWFNVEczazlyeGdYRDNtMC9ERDJENXpyN1V2dmJUazE5?= =?utf-8?B?Qk5UUUtxNFhyY0RhZSs0bFZXa0xrdGJ3dXVmMnZZeXRjOTVaWnlkTDlNSU9F?= =?utf-8?B?R0l1NVBoa2ZGR3VIeXdoSWdXSnFIYk5XUS9uSWVHMWxjbFRuY3lYZDQxZ2wv?= =?utf-8?B?QXhUUGpucjN0ekpjTEJXUUFlUEkrREcxOVdSTUJnSTd5dUx4aHlHdTNUb0pL?= =?utf-8?B?Z2ZnN2hDVG5ndmowWXhYTlVFZWs3RG1jT3l5aW X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7901d0c7-8908-47a8-8a3e-08dac815246e X-MS-Exchange-CrossTenant-AuthSource: MW4PR14MB5327.namprd14.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Nov 2022 20:57:16.4005 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR14MB3660 Received-SPF: pass client-ip=2a01:111:f400:7eb2::82d; envelope-from=ny-ml@outlook.com; helo=NAM02-BN1-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:141024 Archived-At: Emanuel Berg writes: > If you are to boil one egg for 5 minutes, the other for > 7 minutes, and the third one for 10 minutes, how long time > does it take to boil all three eggs? > > In Lisp, there are several ways to solve this, it can be > put as > > (+ 5 7 10) > > or maybe > > (apply #=E2=80=99+ =E2=80=99(5 7 10)) > > or =E2=80=A6 well, what do you prefer? This leads to a dynamic programming problem I guess. x eggs to be boiled each of which need x_i times to be boiled. y pots can be used to boil egges each of which has capacity to cook y_i egg= s at one time. Never tried to writing algorithm codes in elisp. This would be interesting.