Deutsch   English   Français   Italiano  
<ldeebsF93giU2@mid.individual.net>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news.mixmin.net!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: vallor <vallor@cultnix.org>
Newsgroups: comp.os.linux.advocacy
Subject: Re: C Non-Programming Non-Challenge
Date: 18 Jun 2024 22:00:28 GMT
Lines: 48
Message-ID: <ldeebsF93giU2@mid.individual.net>
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>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net IUjenf/MLyMHv3c556tcVQ1xO2UXJvY1VdIUqJW08bMA/F5Yep
Cancel-Lock: sha1:S3Yrxsq8A8Scy8dt4k+vepeLYxI= sha256:dkrgawp1j7Ni+L0nhXE4BN0VUzddq54zKcJeNk2PadA=
X-Face: +McU)#<-H?9lTb(Th!zR`EpVrp<0)1p5CmPu.kOscy8LRp_\u`:tW;dxPo./(fCl
 CaKku`)]}.V/"6rISCIDP`
User-Agent: Pan/0.159 (Vovchansk; 873418b; Linux-6.9.5)
Bytes: 2592

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".

> 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.

-- 
-v System76 Thelio Mega v1.1 x86_64 NVIDIA RTX 3090 Ti
   OS: Linux 6.9.5tweaked Release: Mint 21.3 Mem: 258G
   "People own dogs. Cats own people."