From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.lisp.guile.user Subject: Re: SLAYER announcement and help request for preparing a GNU package Date: Mon, 06 May 2013 23:25:59 +0200 Message-ID: <874nefpzq0.fsf@zigzag.favinet> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1367875434 23513 80.91.229.3 (6 May 2013 21:23:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 6 May 2013 21:23:54 +0000 (UTC) Cc: "guile-user@gnu.org" To: Panicz Maciej Godek Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon May 06 23:23:54 2013 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UZSsz-00047a-QY for guile-user@m.gmane.org; Mon, 06 May 2013 23:23:54 +0200 Original-Received: from localhost ([::1]:59878 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZSsz-0003gb-Av for guile-user@m.gmane.org; Mon, 06 May 2013 17:23:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZSsq-0003gL-4C for guile-user@gnu.org; Mon, 06 May 2013 17:23:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UZSso-0001IV-RJ for guile-user@gnu.org; Mon, 06 May 2013 17:23:44 -0400 Original-Received: from smtp208.alice.it ([82.57.200.104]:55129) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZSso-0001IL-H0 for guile-user@gnu.org; Mon, 06 May 2013 17:23:42 -0400 Original-Received: from zigzag.favinet (95.248.41.74) by smtp208.alice.it (8.6.060.15) id 51239BDA0C1429E6; Mon, 6 May 2013 23:23:39 +0200 Original-Received: from ttn by zigzag.favinet with local (Exim 4.72) (envelope-from ) id 1UZSvB-0007Sb-NZ; Mon, 06 May 2013 23:26:09 +0200 In-Reply-To: (Panicz Maciej Godek's message of "Mon, 6 May 2013 21:36:33 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.104 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:10329 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable () Panicz Maciej Godek () Mon, 6 May 2013 21:36:33 +0200 Thanks :) I see that there are a few persons with similar ideas, and I wonder how powerful we'd become if we managed to orchestrate our powers somehow, as TTN suggested Orchestration is a nice concept. It is the marshalling of separate efforts in a parallel direction (towards the audience), moderated individually, but w/ group awareness, by precise changes in timing and pitch. Cool. For this, i strongly urge everyone who wants to jam[0] to provide documentation. That is the minimal requirement, the tuning of your instrument so that it does not burn the ears of others seated beside you. So what if you don't have (the autotools) rhythm? That can (and must!) be cyclically attained. To start, you gotta have the right Hz. "But ttn, documentation is a pain to create and maintain!" Well, yes. For creation, i offer as riposte Guile-BAUX[1], which helps me painlessly convert: =2D-8<---------------cut here---------------start------------->8--- PRIMPROC (mix_allocate_channels, "allocated-channels", 1, 0, 0, (SCM numchans), doc: /*********** Dynamically change the number of channels managed by the mixer to @var{numchans}. If decreasing the number of channels, the upper channels are stopped. Return the new number of allocated channels. */) { #define FUNC_NAME s_mix_allocate_channels ASSERT_INTEGER (numchans, 1); =20=20 RETURN_INT (Mix_AllocateChannels (C_LONG (numchans))); #undef FUNC_NAME } =2D-8<---------------cut here---------------end--------------->8--- and =2D-8<---------------cut here---------------start------------->8--- ;; Return the exact truncation (rounding to zero) of @var{number}. ;; This is ``safer'' than simply @code{inexact->exact} ;; for some Guile versions. ;; ;; @example ;; (define scale 0.180281690140845) ;; (inexact->exact scale) ;; @result{} 3247666210160131/18014398509481984 ; Guile 1.8.7 ;; @result{} 0 ; Guile 1.4.x ;; (exact-truncate scale) ;; @result{} 0 ;; @end example ;; (define (exact-truncate number) (inexact->exact (truncate number))) =2D-8<---------------cut here---------------end--------------->8--- into: and respectively. The nice thing (IMNSHO) is that Guile-BAUX is itself a nontrivial chunk of Guile Scheme, nothing more, and furthermore takes pains to rise above the cacaphony of Guile version-specific quirks. Documentation maintenance, on the other hand, is a charge laid squarely on the Author and the Author's discipline and astuteness. You know what to do; you know how to do it; what must be dredged from the void is the will and the practice, the mind and the motion. I wish you fortitude. _________________________________________________________ [0] http://www.merriam-webster.com/dictionary/jam (as in "jam session") [1] http://www.gnuvola.org/software/guile-baux/ =2D-=20 Thien-Thi Nguyen GPG key: 4C807502 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAlGIH+kACgkQZwMiJEyAdQJ28QCgv6+0A28xftFRyveTI2TewkPO eAIAn3afUvIjKY+2QKdc/84wks9YSqhs =Ix5t -----END PGP SIGNATURE----- --=-=-=--