Path: ...!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Tue, 18 Jun 2024 22:12:04 +0000 Subject: Re: C Non-Programming Non-Challenge Newsgroups: comp.os.linux.advocacy References: <17d933d9ffc8ee40$16989$3694546$802601b3@news.usenetexpress.com> <17d943beaefb3aa2$16097$2041738$802601b3@news.usenetexpress.com> <666f2f33$0$3102233$882e4bbb@reader.netnews.com> <6670fe94$0$989$882e4bbb@reader.netnews.com> From: % Date: Tue, 18 Jun 2024 15:12:03 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.18.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Antivirus: AVG (VPS 240617-10, 2024-6-17), Outbound message X-Antivirus-Status: Clean Message-ID: Lines: 46 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-TjcCC2+3DfWi1uFEJKNcX4u6bqSNn/qN3BTksA5+q3m6AbZQHNpLC2bttbMeIRk8+hasEaRhD8m6AGj!2y4nSjIgvhpx0gWmzl8XYTj7fNr4740WFR7aWTjohYBFr/U7ld8JM/kmjGy1Qf083fkvb+eQdYKS X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Bytes: 2985 vallor wrote: > On Mon, 17 Jun 2024 23:27:18 -0400, DFS wrote in > <6670fe94$0$989$882e4bbb@reader.netnews.com>: > >> On 6/16/2024 8:04 PM, vallor wrote: >>>> On 6/16/2024 4:19 AM, vallor wrote: >>>>>> On Jun 15, 2024 at 3:20:19 PM EDT, "Farley Flud" >>>>>> wrote: >>>>>> >>>>>>> On Sat, 15 Jun 2024 14:29:04 +0000, Farley Flud wrote: >>>>>>> >>>>>>> >>>>>>>> Write a C program to compute the subfactorial of an integer N. >>>>>>>> >>>>>>>> >>>>>>> Nobody got it (as predicted). >>>>>> >>>>>> Because no one bothered. >>>>> >>>>> I actually took the opportunity to install the GMP documentation on >>>>> my system, look up what a "subfactorial" is, and do an implementation >>>>> that works for !N where N is 0 through 50. >>>> >>>> Where's your code? >>> >>> https://github.com/vallor/subfactorial/ >> >> 100 LOC, incl a makefile and a README, copyrighted and released to the >> public under the MIT license? > > Obviously, you've not set up a repo on github. > > What does the README say? "needs GMP" or something like that. > > It also asks you for a license. In a split-second decision, > I picked "MIT". > >> ha! VERY FOSS cheesy! > > Nobody cares, it's a trivial exercise. > >> Always release your non-commercial code to the public domain. > > Depends on the code. > off topic