Deutsch English Français Italiano |
<slrnv77gml.3jqu.candycanearter07@candydeb.host.invalid> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> Newsgroups: comp.os.linux.advocacy Subject: Re: C Non-Programming Non-Challenge Date: Thu, 20 Jun 2024 05:50:03 -0000 (UTC) Organization: the-candyden-of-code Lines: 52 Message-ID: <slrnv77gml.3jqu.candycanearter07@candydeb.host.invalid> References: <17d933d9ffc8ee40$16989$3694546$802601b3@news.usenetexpress.com> <17d943beaefb3aa2$16097$2041738$802601b3@news.usenetexpress.com> <rPadnWt9mtOO9PP7nZ2dnZfqn_qdnZ2d@supernews.com> <ld7lfuF433iU2@mid.individual.net> <666f2f33$0$3102233$882e4bbb@reader.netnews.com> <ld9ct8F8s0rU5@mid.individual.net> <6670fe94$0$989$882e4bbb@reader.netnews.com> <ldeebsF93giU2@mid.individual.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 20 Jun 2024 07:50:04 +0200 (CEST) Injection-Info: dont-email.me; posting-host="0541d73c3888447053ae0ab7fcacc490"; logging-data="2576004"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+OXlYSaq3XmXARirtxvR3R6N2OiPuq8BEgIk7XkMFTqg==" User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:06OpfVK/hrBBPAXEmRUx63dkMFI= X-Face: b{dPmN&%4|lEo,wUO\"KLEOu5N_br(N2Yuc5/qcR5i>9-!^e\.Tw9?/m0}/~:UOM:Zf]% b+ V4R8q|QiU/R8\|G\WpC`-s?=)\fbtNc&=/a3a)r7xbRI]Vl)r<%PTriJ3pGpl_/B6!8pe\btzx `~R! r3.0#lHRE+^Gro0[cjsban'vZ#j7,?I/tHk{s=TFJ:H?~=]`O*~3ZX`qik`b:.gVIc-[$t/e ZrQsWJ >|l^I_[pbsIqwoz.WGA]<D Bytes: 3168 vallor <vallor@cultnix.org> wrote at 22:00 this Tuesday (GMT): > On Mon, 17 Jun 2024 23:27:18 -0400, DFS <nospam@dfs.com> 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" <ff@linux.rocks> >>>>>> 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". License in GitHub is optional. I know I have plenty of repos without a license defined. >> 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. hm -- user <candycane> is generated from /dev/urandom