Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3ECC4200B87 for ; Mon, 19 Sep 2016 23:13:27 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3D6A8160ACC; Mon, 19 Sep 2016 21:13:27 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 79D50160ABB for ; Mon, 19 Sep 2016 23:13:26 +0200 (CEST) Received: (qmail 4435 invoked by uid 500); 19 Sep 2016 21:13:25 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 4419 invoked by uid 99); 19 Sep 2016 21:13:24 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Sep 2016 21:13:24 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 513DF180298 for ; Mon, 19 Sep 2016 21:13:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.72 X-Spam-Level: X-Spam-Status: No, score=-0.72 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=scarlet.be Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id n154sUWdikOC for ; Mon, 19 Sep 2016 21:13:22 +0000 (UTC) Received: from sif.is.scarlet.be (sif.is.scarlet.be [193.74.71.28]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 599545FAF9 for ; Mon, 19 Sep 2016 21:13:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=scarlet.be; s=scarlet; t=1474319596; bh=/9rsWx7hBWzGiyDqFgV7x0M/9YxIO60POnhwGMCEdHo=; h=MIME-Version:Content-Type:Content-Transfer-Encoding:Date:From:To: Subject:In-Reply-To:References:Message-ID; b=oN572gr5+YySpbM/gXWqJHAYCiM1ZxVXXlFnK+r0rWX7lgq/bic6/HiLtLnzSEaIr QEE6II0tI/p8uStAAGeYzOjqvV9c4kR1UGZ9OpwTUHuN/xl/NcoQECudTS0akyXxiu 2CRfeCKjBoMkJNkok1iHkoZeoZ3YMvDFIO03TInc= Received: from webmail.scarlet.be (meigs.is.scarlet.be [193.74.71.216]) by sif.is.scarlet.be (8.14.9/8.14.9) with ESMTP id u8JLDFGl004925 for ; Mon, 19 Sep 2016 23:13:16 +0200 X-Scarlet: d=1474319596 c=193.74.71.216 Received: from ip-213-49-236-170.dsl.scarlet.be ([213.49.236.170]) via ip-213-49-236-170.dsl.scarlet.be ([213.49.236.170]) by webmail.scarlet.be with HTTP (HTTP/1.1 POST); Mon, 19 Sep 2016 22:57:35 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Mon, 19 Sep 2016 22:57:35 +0200 From: Gilles To: Subject: [Math] Modularization (Was: Re: [VOTE][RC2] Release "Apache Commons RNG" version 1.0) In-Reply-To: <9b4c5bd0-8c0f-78fd-fbb7-c901182dcf2c@apache.org> References: <1b7e2510-256a-37c2-d554-590634c6a6d0@apache.org> <55c842b1a4de3a93215c37d9a9fc0eb7@scarlet.be> <62f4c708-31c8-05ff-fa8e-e347c90166a5@apache.org> <6fe5a678641b10d928926deb8bc994d1@scarlet.be> <124abd08-b9c5-c8ef-3c11-038825e2693f@apache.org> <17022af69c096d62341b87e6e8cbf4cb@scarlet.be> <9b4c5bd0-8c0f-78fd-fbb7-c901182dcf2c@apache.org> Message-ID: <7df060a2550f2a60f63e9307e5f6fa4f@scarlet.be> X-Sender: gilles@harfang.homelinux.org User-Agent: Scarlet Webmail X-DCC-scarlet.be-Metrics: sif; whitelist X-Virus-Scanned: clamav-milter 0.98.1-exp at sif X-Virus-Status: Clean archived-at: Mon, 19 Sep 2016 21:13:27 -0000 On Sun, 18 Sep 2016 18:24:16 +0200, Emmanuel Bourg wrote: > Le 18/09/2016 à 13:57, Gilles a écrit : >> >> I can't help it! >> I'll comment... >> >> On Sat, 17 Sep 2016 17:28:19 +0200, Emmanuel Bourg wrote: >> >> Try me. Really. >> What is your plan toward modularization? >> >> I've exposed mine, let's see yours. > > I can't help it either, I'm a nice guy. I have no strong opinion on > the > modularization of RNG. I actually meant that I exposed my view about having to modularize Commons Math; that is, create several Commons components out of it. Commons RNG is the module that allowed to factor out much of the "o.a.c.math4.random" package out of Commons Math. CM3 "o.a.c.m.random": 2388 lines CM4 "o.a.c.m.random": 899 lines [The LOC count also comprises some cleanup not transferred to RNG (e.g. "RandomDataGenerator", replaced by code in package "o.a.c.m.distribution").] RNG "o.a.c.rng": 1842 lines [With 6 additional generators, "save/restore", seed factory, and "automatic" seed conversions.] The next step (IMO) is to create a "Commons RNG-Utils" component (that depends on "Commons RNG" with, broadly, the rest of the "random" package, and the "distribution" package (where the "NormalDistribution" will provide the equivalent of "nextGaussian", on an equal footing with sampling from any of the other distributions). And, for good measure, it could also include the random-related utilities that now in Commons Lang's "RandomUtils" and "RandomStringUtils" (which will improve in quality and performance through a configurable choice of generator). WDYT? Gilles > Intuitively, considering the size of the original > code coming from the random package in Commons Math I feel that a > separate module is probably not necessary. But I haven't examined > your > proposal thoroughly yet. > > Emmanuel Bourg > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org