Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Do you guys know what you're doing, or are you just hacking?


devel / comp.lang.c / Calculate date of Easter or Good Friday

SubjectAuthor
* Calculate date of Easter or Good FridayMike Sanders
+* Re: Calculate date of Easter or Good FridayLawrence D'Oliveiro
|+* Re: Calculate date of Easter or Good FridayJanis Papanagnou
||`* Re: Calculate date of Easter or Good FridayLawrence D'Oliveiro
|| +* Re: Calculate date of Easter or Good FridayJanis Papanagnou
|| |+- Re: Calculate date of Easter or Good FridayKaz Kylheku
|| |`* Re: Calculate date of Easter or Good FridayLew Pitcher
|| | +- Re: Calculate date of Easter or Good FridayJanis Papanagnou
|| | `- Re: Calculate date of Easter or Good FridayDan Purgert
|| +- Re: Calculate date of Easter or Good FridayKeith Thompson
|| `* Re: Calculate date of Easter or Good FridayJoe Pfeiffer
||  `* Re: Calculate date of Easter or Good FridayLawrence D'Oliveiro
||   +* Re: Calculate date of Easter or Good FridayScott Lurndal
||   |`- Re: Calculate date of Easter or Good FridayJanis Papanagnou
||   `* Re: Calculate date of Easter or Good FridayJames Kuyper
||    +* Re: Calculate date of Easter or Good FridayLawrence D'Oliveiro
||    |`* Re: Calculate date of Easter or Good FridayJames Kuyper
||    | `* Re: Calculate date of Easter or Good FridayLawrence D'Oliveiro
||    |  `* Re: Calculate date of Easter or Good FridayJames Kuyper
||    |   `* Re: Calculate date of Easter or Good FridayLawrence D'Oliveiro
||    |    +* Re: Calculate date of Easter or Good FridayKeith Thompson
||    |    |`- Re: Calculate date of Easter or Good FridayKaz Kylheku
||    |    `- Re: Calculate date of Easter or Good FridayJames Kuyper
||    `* Re: Calculate date of Easter or Good FridayLawrence D'Oliveiro
||     `* Re: Calculate date of Easter or Good FridayJames Kuyper
||      `- Re: Calculate date of Easter or Good FridayDavid Brown
|+* Re: Calculate date of Easter or Good FridayMike Sanders
||`- Re: Calculate date of Easter or Good FridayLawrence D'Oliveiro
|+- Re: Calculate date of Easter or Good FridayG
|`* Re: Calculate date of Easter or Good FridayJoe Pfeiffer
| +* Re: Calculate date of Easter or Good FridayDavid Brown
| |`- Re: Calculate date of Easter or Good FridayJanis Papanagnou
| `* Re: Calculate date of Easter or Good FridayMichael S
|  `- Re: Calculate date of Easter or Good FridayMichael S
`* Re: Calculate date of Easter or Good FridayLew Pitcher
 +* Re: Calculate date of Easter or Good FridayMike Sanders
 |`* Re: Calculate date of Easter or Good FridayJanis Papanagnou
 | +* Re: Calculate date of Easter or Good FridayMike Sanders
 | |+- Re: Calculate date of Easter or Good FridayJanis Papanagnou
 | |`- [OT] personal things (was Re: Calculate date of Easter or Good Friday)Janis Papanagnou
 | `* Re: Calculate date of Easter or Good FridayMike Sanders
 |  `* [OT] Re: Calculate date of Easter or Good FridayJanis Papanagnou
 |   `- Re: [OT] Re: Calculate date of Easter or Good FridayDavid Brown
 +* Re: Calculate date of Easter or Good FridayDavid Brown
 |+* Re: Calculate date of Easter or Good FridayBen Bacarisse
 ||`* Re: Calculate date of Easter or Good FridayDavid Brown
 || `* Re: Calculate date of Easter or Good FridayJanis Papanagnou
 ||  `- Re: Calculate date of Easter or Good FridayJanis Papanagnou
 |+* Re: Calculate date of Easter or Good FridayMike Sanders
 ||+* Re: Calculate date of Easter or Good FridayScott Lurndal
 |||`* Re: Calculate date of Easter or Good FridayMike Sanders
 ||| `* Re: Calculate date of Easter or Good FridayScott Lurndal
 |||  +- Re: Calculate date of Easter or Good FridayMike Sanders
 |||  `- Re: Calculate date of Easter or Good FridayLawrence D'Oliveiro
 ||`- Re: Calculate date of Easter or Good FridayDavid Brown
 |+- Re: Calculate date of Easter or Good FridayJanis Papanagnou
 |+* Re: Calculate date of Easter or Good FridayLew Pitcher
 ||+- Re: Calculate date of Easter or Good FridayDavid Brown
 ||`- Re: Calculate date of Easter or Good FridayTim Rentsch
 |`* Re: Calculate date of Easter or Good Fridayvallor
 | +- Re: Calculate date of Easter or Good FridayLawrence D'Oliveiro
 | `- Re: Calculate date of Easter or Good FridayTim Rentsch
 `* Re: Calculate date of Easter or Good FridayBen Bacarisse
  `- Re: Calculate date of Easter or Good FridayTim Rentsch

Pages:123
Calculate date of Easter or Good Friday

<urdmac$1d3vr$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33735&group=comp.lang.c#33735

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: porkc...@invalid.foo (Mike Sanders)
Newsgroups: comp.lang.c
Subject: Calculate date of Easter or Good Friday
Date: Sat, 24 Feb 2024 21:15:56 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 8
Sender: Mike Sanders <busybox@sdf.org>
Message-ID: <urdmac$1d3vr$1@dont-email.me>
Injection-Date: Sat, 24 Feb 2024 21:15:56 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="db0fdc4e71042407c1143545d9a77daf";
logging-data="1478651"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19xX+Ijb4cKFgSoNt2+pBL4"
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (NetBSD/9.3 (amd64))
Cancel-Lock: sha1:CPJJaOZuoL6y5vm8DtiyH4OJSro=
 by: Mike Sanders - Sat, 24 Feb 2024 21:15 UTC

Calculate the date of Easter Sunday or Good Friday:

https://busybox.neocities.org/notes/is-easter-or-goodfriday.txt

--
:wq
Mike Sanders

Re: Calculate date of Easter or Good Friday

<urds3c$1e8e4$3@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33742&group=comp.lang.c#33742

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo...@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.c
Subject: Re: Calculate date of Easter or Good Friday
Date: Sat, 24 Feb 2024 22:54:37 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <urds3c$1e8e4$3@dont-email.me>
References: <urdmac$1d3vr$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 24 Feb 2024 22:54:37 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="90cd705a0b104282cd54d6df08a2cdc8";
logging-data="1515972"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+0Iy0QwXdA36s3kiJrcMHq"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:B2SMKnQUzxPyerwT1M/xG8tH3ac=
 by: Lawrence D'Oliv - Sat, 24 Feb 2024 22:54 UTC

On Sat, 24 Feb 2024 21:15:56 -0000 (UTC), Mike Sanders wrote:

> Calculate the date of Easter Sunday or Good Friday:

Did you know that one of the requirements of the rules was that Easter
would never coincide with Passover? Because the sight of Christians
celebrating together with Jews was seen as heretical or something ...

Re: Calculate date of Easter or Good Friday

<urds8d$1ecnk$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33743&group=comp.lang.c#33743

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: janis_pa...@hotmail.com (Janis Papanagnou)
Newsgroups: comp.lang.c
Subject: Re: Calculate date of Easter or Good Friday
Date: Sat, 24 Feb 2024 23:57:16 +0100
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <urds8d$1ecnk$1@dont-email.me>
References: <urdmac$1d3vr$1@dont-email.me> <urds3c$1e8e4$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 24 Feb 2024 22:57:17 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f50e43f458422ac9a0922ecc2134fc7a";
logging-data="1520372"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+DzdLFfd35YLhI8udq5iAC"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:qXFmIDgkJh1JXjcz1c4NtWo24oA=
In-Reply-To: <urds3c$1e8e4$3@dont-email.me>
 by: Janis Papanagnou - Sat, 24 Feb 2024 22:57 UTC

On 24.02.2024 23:54, Lawrence D'Oliveiro wrote:
> On Sat, 24 Feb 2024 21:15:56 -0000 (UTC), Mike Sanders wrote:
>
>> Calculate the date of Easter Sunday or Good Friday:
>
> Did you know that one of the requirements of the rules was that Easter
> would never coincide with Passover? Because the sight of Christians
> celebrating together with Jews was seen as heretical or something ...

.... and that there's not a unique definition of Easter.

Janis

Re: Calculate date of Easter or Good Friday

<urdsic$1e8e4$6@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33744&group=comp.lang.c#33744

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo...@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.c
Subject: Re: Calculate date of Easter or Good Friday
Date: Sat, 24 Feb 2024 23:02:36 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <urdsic$1e8e4$6@dont-email.me>
References: <urdmac$1d3vr$1@dont-email.me> <urds3c$1e8e4$3@dont-email.me>
<urds8d$1ecnk$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 24 Feb 2024 23:02:36 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5d3a24d1dc8cf78704609d9d7dcc21b3";
logging-data="1515972"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/PmfRpR267R9BXVdho5vHn"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:44QatnleVxL0bAfT+e6vRVEVg1Y=
 by: Lawrence D'Oliv - Sat, 24 Feb 2024 23:02 UTC

On Sat, 24 Feb 2024 23:57:16 +0100, Janis Papanagnou wrote:

> ... and that there's not a unique definition of Easter.

Easter, Christmas ... both ancient pagan festivals co-opted by the
Christians and given an invented meaning under their ideology, for their
own propaganda purposes.

Just like they took a lot of existing pagan deities (e.g. in Celtic lands)
and reinvented them as “saints”.

Re: Calculate date of Easter or Good Friday

<ure3fs$1fqpq$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33750&group=comp.lang.c#33750

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: janis_pa...@hotmail.com (Janis Papanagnou)
Newsgroups: comp.lang.c
Subject: Re: Calculate date of Easter or Good Friday
Date: Sun, 25 Feb 2024 02:00:43 +0100
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <ure3fs$1fqpq$1@dont-email.me>
References: <urdmac$1d3vr$1@dont-email.me> <urds3c$1e8e4$3@dont-email.me>
<urds8d$1ecnk$1@dont-email.me> <urdsic$1e8e4$6@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 25 Feb 2024 01:00:44 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="980455b9cf7320503babbc5dfaf38741";
logging-data="1567546"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+PTZtXdwQtr3g68k0dLBNl"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:Wb09b8xdEk/YfC4+KbQan6WdjR8=
In-Reply-To: <urdsic$1e8e4$6@dont-email.me>
X-Enigmail-Draft-Status: N1110
 by: Janis Papanagnou - Sun, 25 Feb 2024 01:00 UTC

On 25.02.2024 00:02, Lawrence D'Oliveiro wrote:
> On Sat, 24 Feb 2024 23:57:16 +0100, Janis Papanagnou wrote:
>
>> ... and that there's not a unique definition of Easter.
>
> Easter, Christmas ... both ancient pagan festivals co-opted by the
> Christians and given an invented meaning under their ideology, for their
> own propaganda purposes.

Yes, the associated rites were of pagan origin. The dates of Easter -
the topic here - still not unique. There's different calculations for
different christian churches; the catholics calculate it differently
from the orthodox christians, still today. - So Easter is peobably
not a good choice for a C program calculation if not parameterized or
explicitly documented to be restricted to only one specific religious
culture.

Janis

Re: Calculate date of Easter or Good Friday

<ure5de$1g7op$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33751&group=comp.lang.c#33751

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: porkc...@invalid.foo (Mike Sanders)
Newsgroups: comp.lang.c
Subject: Re: Calculate date of Easter or Good Friday
Date: Sun, 25 Feb 2024 01:33:35 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 15
Sender: Mike Sanders <busybox@sdf.org>
Message-ID: <ure5de$1g7op$1@dont-email.me>
References: <urdmac$1d3vr$1@dont-email.me> <urds3c$1e8e4$3@dont-email.me>
Injection-Date: Sun, 25 Feb 2024 01:33:35 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a1613b5c599d9e1d52e8709e56c9ba25";
logging-data="1580825"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/4Bkdx7ExMVnP7kvQLTIcG"
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (NetBSD/9.3 (amd64))
Cancel-Lock: sha1:xuQxviePVNCmAdB7u1ImiehraTE=
 by: Mike Sanders - Sun, 25 Feb 2024 01:33 UTC

Lawrence D'Oliveiro <ldo@nz.invalid> wrote:

> Did you know that one of the requirements of the rules was that Easter
> would never coincide with Passover? Because the sight of Christians
> celebrating together with Jews was seen as heretical or something ...

Oh yeah, lots of horror stories committed by & against the 'us & them'.
Isn't a culture on the planet, so far as I can see, that has not been
both prey & predacious. I want to say something like 'that's life',
but its not a very satisfying reply...

--
:wq
Mike Sanders

Re: Calculate date of Easter or Good Friday

<87ttlxwbe6.fsf@nosuchdomain.example.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33754&group=comp.lang.c#33754

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith.S....@gmail.com (Keith Thompson)
Newsgroups: comp.lang.c
Subject: Re: Calculate date of Easter or Good Friday
Date: Sat, 24 Feb 2024 18:00:49 -0800
Organization: None to speak of
Lines: 17
Message-ID: <87ttlxwbe6.fsf@nosuchdomain.example.com>
References: <urdmac$1d3vr$1@dont-email.me> <urds3c$1e8e4$3@dont-email.me>
<urds8d$1ecnk$1@dont-email.me> <urdsic$1e8e4$6@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="bb66de1b9b107dde749bb8d6bc16acf3";
logging-data="1586219"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/1kr/LKHlE2tf9M263DxHb"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:IW7jTuv/V2wHqAB1VvpcaaPPe7Y=
sha1:cKS96PfHzoNhIGkFo60PXogzVOc=
 by: Keith Thompson - Sun, 25 Feb 2024 02:00 UTC

Lawrence D'Oliveiro <ldo@nz.invalid> writes:
> On Sat, 24 Feb 2024 23:57:16 +0100, Janis Papanagnou wrote:
>> ... and that there's not a unique definition of Easter.
>
> Easter, Christmas ... both ancient pagan festivals co-opted by the
> Christians and given an invented meaning under their ideology, for their
> own propaganda purposes.
>
> Just like they took a lot of existing pagan deities (e.g. in Celtic lands)
> and reinvented them as “saints”.

Yes, please, this newsgroup really needs a religious debate!

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Medtronic
void Void(void) { Void(); } /* The recursive call of the void */

Re: Calculate date of Easter or Good Friday

<20240224182601.339@kylheku.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33756&group=comp.lang.c#33756

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 433-929-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.c
Subject: Re: Calculate date of Easter or Good Friday
Date: Sun, 25 Feb 2024 02:27:47 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <20240224182601.339@kylheku.com>
References: <urdmac$1d3vr$1@dont-email.me> <urds3c$1e8e4$3@dont-email.me>
<urds8d$1ecnk$1@dont-email.me> <urdsic$1e8e4$6@dont-email.me>
<ure3fs$1fqpq$1@dont-email.me>
Injection-Date: Sun, 25 Feb 2024 02:27:47 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a78761c3b5e1e32f6c8d9ae9e7cd73d1";
logging-data="1599353"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+uFjeeDQab+J4foPxO7C9N2WeQjn/ca9c="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:NuXJ813sMPnoVrqWGbz1+5+g3OY=
 by: Kaz Kylheku - Sun, 25 Feb 2024 02:27 UTC

On 2024-02-25, Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
> On 25.02.2024 00:02, Lawrence D'Oliveiro wrote:
>> On Sat, 24 Feb 2024 23:57:16 +0100, Janis Papanagnou wrote:
>>
>>> ... and that there's not a unique definition of Easter.
>>
>> Easter, Christmas ... both ancient pagan festivals co-opted by the
>> Christians and given an invented meaning under their ideology, for their
>> own propaganda purposes.
>
> Yes, the associated rites were of pagan origin.

Pretty much all Christian celebrations are hijacks of pagan ones.

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

Re: Calculate date of Easter or Good Friday

<urem72$1mvl0$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33760&group=comp.lang.c#33760

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo...@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.c
Subject: Re: Calculate date of Easter or Good Friday
Date: Sun, 25 Feb 2024 06:20:19 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <urem72$1mvl0$2@dont-email.me>
References: <urdmac$1d3vr$1@dont-email.me> <urds3c$1e8e4$3@dont-email.me>
<ure5de$1g7op$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 25 Feb 2024 06:20:19 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5d3a24d1dc8cf78704609d9d7dcc21b3";
logging-data="1801888"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18i6mQeIBFvvC/nVbaM3PDd"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:KRO3hqdu1wl4sckVV0MTJlPK4Wo=
 by: Lawrence D'Oliv - Sun, 25 Feb 2024 06:20 UTC

On Sun, 25 Feb 2024 01:33:35 -0000 (UTC), Mike Sanders wrote:

> Oh yeah, lots of horror stories committed by & against the 'us & them'.
> Isn't a culture on the planet, so far as I can see, that has not been
> both prey & predacious. I want to say something like 'that's life', but
> its not a very satisfying reply...

You know how most of these religions have, as one of their core
principles, that “our god is the only true god, all other gods are false”?

If they would all agree to get rid of that, it would be a good step on the
road to religious tolerance.

Re: Calculate date of Easter or Good Friday

<urfrkg$1tvc8$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33769&group=comp.lang.c#33769

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: lew.pitc...@digitalfreehold.ca (Lew Pitcher)
Newsgroups: comp.lang.c
Subject: Re: Calculate date of Easter or Good Friday
Date: Sun, 25 Feb 2024 16:58:56 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <urfrkg$1tvc8$1@dont-email.me>
References: <urdmac$1d3vr$1@dont-email.me> <urds3c$1e8e4$3@dont-email.me>
<urds8d$1ecnk$1@dont-email.me> <urdsic$1e8e4$6@dont-email.me>
<ure3fs$1fqpq$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 25 Feb 2024 16:58:56 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ed3ffd1a0dbb0e23a356117b48fb5561";
logging-data="2030984"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+NHBcgDOvI3pIY5M6ZYMtT8ILftNnoIa8="
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
Cancel-Lock: sha1:PzYi5aNtBINo8BVrBSWij8WW1SU=
 by: Lew Pitcher - Sun, 25 Feb 2024 16:58 UTC

On Sun, 25 Feb 2024 02:00:43 +0100, Janis Papanagnou wrote:

> On 25.02.2024 00:02, Lawrence D'Oliveiro wrote:
>> On Sat, 24 Feb 2024 23:57:16 +0100, Janis Papanagnou wrote:
>>
>>> ... and that there's not a unique definition of Easter.
>>
>> Easter, Christmas ... both ancient pagan festivals co-opted by the
>> Christians and given an invented meaning under their ideology, for their
>> own propaganda purposes.
>
> Yes, the associated rites were of pagan origin. The dates of Easter -
> the topic here - still not unique. There's different calculations for
> different christian churches; the catholics calculate it differently
> from the orthodox christians, still today.

As some countries recognize Good Friday and/or Easter Sunday as
statutory holidays, and have /legal/ definitions for those dates.

For instance, the Government of Canada defines Easter Sunday as
"the first Sunday after the first full moon in spring (after March 21st)".
(I don't know if this coincides with /any/ religious definition or not.)

> So Easter is peobably
> not a good choice for a C program calculation if not parameterized or
> explicitly documented to be restricted to only one specific religious
> culture.

--
Lew Pitcher
"In Skills We Trust"

Re: Calculate date of Easter or Good Friday

<urfu0e$1tvc8$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33770&group=comp.lang.c#33770

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: lew.pitc...@digitalfreehold.ca (Lew Pitcher)
Newsgroups: comp.lang.c
Subject: Re: Calculate date of Easter or Good Friday
Date: Sun, 25 Feb 2024 17:39:27 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <urfu0e$1tvc8$2@dont-email.me>
References: <urdmac$1d3vr$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 25 Feb 2024 17:39:27 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ed3ffd1a0dbb0e23a356117b48fb5561";
logging-data="2030984"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18DbnRqLWn/bUhrdxMTgZAClwst9YEgcK0="
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
Cancel-Lock: sha1:jDOnkymitBb5Fl3eHhpMSNfEJ0c=
 by: Lew Pitcher - Sun, 25 Feb 2024 17:39 UTC

On Sat, 24 Feb 2024 21:15:56 +0000, Mike Sanders wrote:

> Calculate the date of Easter Sunday or Good Friday:
>
> https://busybox.neocities.org/notes/is-easter-or-goodfriday.txt

I don't have the expertise to discuss whether or not your code
properly implements the calculations necessary to determine the
date of Good Friday and/or Easter. However, I /do/ have some
expertise on writing understandable code.

My suggestions, with respect to your program, would be to
a) name your objects with relevant, understandable names
You code uses quite a lot of meaningless one-letter
objects, and it is difficult to keep track of the
purpose of the calculations using them.
b) Don't place your calculations /in/ the object initializations.
Doing so obfuscates the intent of the logic, and makes
problem determination and resolution difficult.

Otherwise, it /appears/ to do the job. Good first attempt.
--
Lew Pitcher
"In Skills We Trust"

Re: Calculate date of Easter or Good Friday

<urfulc$1vrrs$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33771&group=comp.lang.c#33771

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: janis_pa...@hotmail.com (Janis Papanagnou)
Newsgroups: comp.lang.c
Subject: Re: Calculate date of Easter or Good Friday
Date: Sun, 25 Feb 2024 18:50:35 +0100
Organization: A noiseless patient Spider
Lines: 45
Message-ID: <urfulc$1vrrs$1@dont-email.me>
References: <urdmac$1d3vr$1@dont-email.me> <urds3c$1e8e4$3@dont-email.me>
<urds8d$1ecnk$1@dont-email.me> <urdsic$1e8e4$6@dont-email.me>
<ure3fs$1fqpq$1@dont-email.me> <urfrkg$1tvc8$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 25 Feb 2024 17:50:36 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="031f19860a42341c067d9633fc2fc264";
logging-data="2092924"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ATgk0VkLuW+2OUT6Bn+sU"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:+7eM/v/5hBGQ2wXqbW/orVXhIwk=
In-Reply-To: <urfrkg$1tvc8$1@dont-email.me>
X-Enigmail-Draft-Status: N1110
 by: Janis Papanagnou - Sun, 25 Feb 2024 17:50 UTC

On 25.02.2024 17:58, Lew Pitcher wrote:
> On Sun, 25 Feb 2024 02:00:43 +0100, Janis Papanagnou wrote:
>>
>> [...] There's different calculations for
>> different christian churches; the catholics calculate it differently
>> from the orthodox christians, still today.
>
> As some countries recognize Good Friday and/or Easter Sunday as
> statutory holidays, and have /legal/ definitions for those dates.
>
> For instance, the Government of Canada defines Easter Sunday as
> "the first Sunday after the first full moon in spring (after March 21st)".
> (I don't know if this coincides with /any/ religious definition or not.)

In Germany it's also legally defined. But it's difficult.

First, most holidays (but one) are defined not on the country level
but individually at states level, but there's still common holidays
across all states. This is not surprising since the states have
different predominant religious variants in their population, so the
"protestant countries" have not the same holidays as the "catholic
countries" (and the orthodox, for example, are not represented in
the legislation at all, e.g. when concerning Easter), and there are
also other state specific holidays. And even within a state there's
regional differences. There are also legislative special rules, e.g.
for Israeli holidays, that Germans have to respect, and that provide
more free time for people of this religious orientation.

Then there's a distinction of fixed and varying holidays. Easter is
from the latter, while Christmas from the former.

And, IIUC, the actual dates rely on a "Church Year", which differs
between catholics/protestants and orthodox christians.

I can't say whether the legislation is referring to some churches'
documents and/or definitions, but it's more likely they copied such
definitions into the legislative texts, since people must be able to
rely on legislative texts. But on a quick view into the Bavarian law
I could not find the Christian holidays listed by date; they are just
referred to by their name.

It's complex.

Janis

Re: Calculate date of Easter or Good Friday

<urgvik$2asnc$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33783&group=comp.lang.c#33783

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: porkc...@invalid.foo (Mike Sanders)
Newsgroups: comp.lang.c
Subject: Re: Calculate date of Easter or Good Friday
Date: Mon, 26 Feb 2024 03:12:20 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 30
Sender: Mike Sanders <busybox@sdf.org>
Message-ID: <urgvik$2asnc$1@dont-email.me>
References: <urdmac$1d3vr$1@dont-email.me> <urfu0e$1tvc8$2@dont-email.me>
Injection-Date: Mon, 26 Feb 2024 03:12:20 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="9fa50c57887cea1a70066dff5b6f6ab0";
logging-data="2454252"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+XUOeyKLWKeSEUyBm+5y8G"
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (NetBSD/9.3 (amd64))
Cancel-Lock: sha1:ag3fHs5FTxMPoR8HNfCkytBz19o=
 by: Mike Sanders - Mon, 26 Feb 2024 03:12 UTC

Lew Pitcher <lew.pitcher@digitalfreehold.ca> wrote:

> I don't have the expertise to discuss whether or not your code
> properly implements the calculations necessary to determine the
> date of Good Friday and/or Easter. However, I /do/ have some
> expertise on writing understandable code.

One thing while I'm thinking about it: allot of discussion up-thread
failed to note that officially mandated Easter dating is really
based a Lunar date mapped onto the Gregorian calendar. Yet another
layer of abstraction.
> My suggestions, with respect to your program, would be to
> a) name your objects with relevant, understandable names
> You code uses quite a lot of meaningless one-letter
> objects, and it is difficult to keep track of the
> purpose of the calculations using them.
> b) Don't place your calculations /in/ the object initializations.
> Doing so obfuscates the intent of the logic, and makes
> problem determination and resolution difficult.
>
> Otherwise, it /appears/ to do the job. Good first attempt.

Thanks Lew appreciate the helpful comments, still a newbie,
I move forward if ever so slowly.

--
:wq
Mike Sanders

Re: Calculate date of Easter or Good Friday

<urh3j7$2bpr9$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33784&group=comp.lang.c#33784

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: janis_pa...@hotmail.com (Janis Papanagnou)
Newsgroups: comp.lang.c
Subject: Re: Calculate date of Easter or Good Friday
Date: Mon, 26 Feb 2024 05:20:55 +0100
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <urh3j7$2bpr9$1@dont-email.me>
References: <urdmac$1d3vr$1@dont-email.me> <urfu0e$1tvc8$2@dont-email.me>
<urgvik$2asnc$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 26 Feb 2024 04:20:55 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ed7d30cb868e503efb1fd8231135ace3";
logging-data="2484073"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19s50WquKFD7wIAhB4phVtz"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:XWLYOd6YJopDSYiD+K+WB2Q7Op0=
X-Enigmail-Draft-Status: N1110
In-Reply-To: <urgvik$2asnc$1@dont-email.me>
 by: Janis Papanagnou - Mon, 26 Feb 2024 04:20 UTC

On 26.02.2024 04:12, Mike Sanders wrote:
>
> One thing while I'm thinking about it: allot of discussion up-thread
> failed to note that officially mandated Easter dating is really
> based a Lunar date mapped onto the Gregorian calendar. [...]

Not sure which instance of "official" you are referring to; there's
just no "official" mandate unless you are restricting yourself to a
global authority instance (which does not exist) or not considering
that any single instance cannot define a "general" rule that would
be valid worldwide. Face it; Easter dates just differ on this planet!

The "western" churches switched to Gregorian calendar while the
"eastern" churches stayed with the Julian _to calculate the Easter
date_. (Both based on lunar constellation, but that's irrelevant.)

I suggest to leave your country, visit (for example) Greece, and ask
the people there what they think about your definition. Or take the
simple approach; inspect Wikipedia or other established encyclopedias.

And both dates, western and eastern, are anyway arbitrary. But if you
decide to neglect the existing facts, either by wrongly assuming that
there's only one "correct" Easter date, or by (arrogantly?) presuming
that one is more correct than the other, then you are discriminating
Christian folks that follow the one [arbitrary] definition (or the
other).

Janis

PS: Just to prevent you from a fallacy; for the date calculation of
Easter it's irrelevant whether "we" have "now" switched to Gregorian
calendar [mostly]. (Think about it before you step into that pit.)

Re: Calculate date of Easter or Good Friday

<l43510F2qejU1@mid.individual.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33789&group=comp.lang.c#33789

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: g...@nowhere.invalid (G)
Newsgroups: comp.lang.c
Subject: Re: Calculate date of Easter or Good Friday
Date: 26 Feb 2024 09:47:12 GMT
Organization: <Not Here, Not Me>
Lines: 27
Sender: Gip <gip@G15.fritz.box>
Message-ID: <l43510F2qejU1@mid.individual.net>
References: <urdmac$1d3vr$1@dont-email.me> <urds3c$1e8e4$3@dont-email.me>
X-Trace: individual.net BX7XOiNv78x5i1rj8/BEvgQPCN8j235wMSF3HuMA5og9GLP6qG
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:nLHKcbYAqhckgM/qGh9c7mlM4Iw= sha256:5BKbt52LNvgkjJzLqF/XmSGqGavTT418M6613XGUUbE=
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.7.5-200.fc39.x86_64 (x86_64))
 by: G - Mon, 26 Feb 2024 09:47 UTC

Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
> On Sat, 24 Feb 2024 21:15:56 -0000 (UTC), Mike Sanders wrote:
>
>> Calculate the date of Easter Sunday or Good Friday:
>
> Did you know that one of the requirements of the rules was that Easter
> would never coincide with Passover? Because the sight of Christians
> celebrating together with Jews was seen as heretical or something ...

I have never heard of this one and I don't think it's true...

Easter is a day while passover last eight days and it happens that one of
those days is the easter sunday as in 2022 when passover started April 15 and
ester was April 17.

The calculation of easter is quite complex and use the "epact" and "golden
number" associated to the year, but the short answer "the first sunday after
the full moon after the spring equinox" usually gives the right answer.
Just remember that it is the "official spring equinox" March 21 and not the
"real" one that can happen on the 19,20(usually, like this year)
or 21 and the "official full moon" that can differ one or two days from the
"real".

For a full discussion see: <https://www.tondering.dk/claus/cal/easter.php>,
part of "The Calendar FAQ".

G

Re: Calculate date of Easter or Good Friday

<urhq4h$2g5oc$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33790&group=comp.lang.c#33790

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c
Subject: Re: Calculate date of Easter or Good Friday
Date: Mon, 26 Feb 2024 11:45:36 +0100
Organization: A noiseless patient Spider
Lines: 63
Message-ID: <urhq4h$2g5oc$1@dont-email.me>
References: <urdmac$1d3vr$1@dont-email.me> <urfu0e$1tvc8$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 26 Feb 2024 10:45:37 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5a7a2173738f25d65e2e44b405e36017";
logging-data="2627340"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18OqWrRQQMZGeNpUtnMPjKbwM1TFCMzHpw="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:MSOXsSqbOd6qAKi1J5Zlf7TPwTY=
Content-Language: en-GB
In-Reply-To: <urfu0e$1tvc8$2@dont-email.me>
 by: David Brown - Mon, 26 Feb 2024 10:45 UTC

On 25/02/2024 18:39, Lew Pitcher wrote:
> On Sat, 24 Feb 2024 21:15:56 +0000, Mike Sanders wrote:
>
>> Calculate the date of Easter Sunday or Good Friday:
>>
>> https://busybox.neocities.org/notes/is-easter-or-goodfriday.txt
>
> I don't have the expertise to discuss whether or not your code
> properly implements the calculations necessary to determine the
> date of Good Friday and/or Easter. However, I /do/ have some
> expertise on writing understandable code.
>
> My suggestions, with respect to your program, would be to
> a) name your objects with relevant, understandable names
> You code uses quite a lot of meaningless one-letter
> objects, and it is difficult to keep track of the
> purpose of the calculations using them.

I agree here.

I'd also avoid single-letter capital letter variables, and avoid
single-letter variables that are easily misread (so don't use "L" or
"O", big or small). Single-letter variables are fine if their scope is
small and their meaning is clear - such as "i" for a loop variable, and
"x" and "y" for coordinates.

Good names here, together with some comments, would go a long way to
making it possible to understand your algorithm here. Links to web
pages for reference are useful (and it's always polite to give your
references), but remember that web pages don't last for ever - try to
make your code stand alone as code, or at least have enough comments to
cover the information.

> b) Don't place your calculations /in/ the object initializations.
> Doing so obfuscates the intent of the logic, and makes
> problem determination and resolution difficult.

I'd disagree with that one. Initialise your variables when you have
something to put in them, and that is often a calculated value.

>
> Otherwise, it /appears/ to do the job. Good first attempt.

Some other suggestions:

Don't use "int" when you mean "bool". That applies to parameters,
return types, and variables.

Don't have one function that appears to do two different things. It's
much better to have "isEaster()" and "isGoodFriday()" functions.
Clearly these are heavily related, so have a static helper function that
does the common calculations.

Consider making and using several general functions, rather than having
a single impenetrable function. You might have a "numberOfDaysInYear()"
function, and functions for converting (day, month) pairs back and forth
to the number of days since the first of January. You can have lunar
calculations also based on the number of days from a given starting
point (perhaps using Unix epoch time rather than struct tm). Then you
can have a "findEaster()" function that returns the date of Easter for a
given year as the number of days from the first of January.

Re: Calculate date of Easter or Good Friday

<slrnutp1qn.mun.dan@djph.net>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33791&group=comp.lang.c#33791

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dan...@djph.net (Dan Purgert)
Newsgroups: comp.lang.c
Subject: Re: Calculate date of Easter or Good Friday
Date: Mon, 26 Feb 2024 12:43:03 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <slrnutp1qn.mun.dan@djph.net>
References: <urdmac$1d3vr$1@dont-email.me> <urds3c$1e8e4$3@dont-email.me>
<urds8d$1ecnk$1@dont-email.me> <urdsic$1e8e4$6@dont-email.me>
<ure3fs$1fqpq$1@dont-email.me> <urfrkg$1tvc8$1@dont-email.me>
Injection-Date: Mon, 26 Feb 2024 12:43:03 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f935d3ade2c120b314cb86988cc6af8e";
logging-data="2672233"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19b9PkPpYVA6X67TAyUpL6LHKmMrAv34GI="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:f8p0eYPHUzyKWEv98F1kVt50Nm4=
 by: Dan Purgert - Mon, 26 Feb 2024 12:43 UTC

On 2024-02-25, Lew Pitcher wrote:
> On Sun, 25 Feb 2024 02:00:43 +0100, Janis Papanagnou wrote:
>> [...]
>> Yes, the associated rites were of pagan origin. The dates of Easter -
>> the topic here - still not unique. There's different calculations for
>> different christian churches; the catholics calculate it differently
>> from the orthodox christians, still today.
>
> As some countries recognize Good Friday and/or Easter Sunday as
> statutory holidays, and have /legal/ definitions for those dates.
>
> For instance, the Government of Canada defines Easter Sunday as
> "the first Sunday after the first full moon in spring (after March 21st)".
> (I don't know if this coincides with /any/ religious definition or not.)

Close enough to Catholic -- "First Sunday after the first full moon
after the Spring Equinox".

Equinox is on the 19th, first full moon is the 31st. Should line up (at
least this year).

--
|_|O|_|
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860

Re: Calculate date of Easter or Good Friday

<874jdv9y29.fsf@bsb.me.uk>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33792&group=comp.lang.c#33792

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ben.use...@bsb.me.uk (Ben Bacarisse)
Newsgroups: comp.lang.c
Subject: Re: Calculate date of Easter or Good Friday
Date: Mon, 26 Feb 2024 13:04:14 +0000
Organization: A noiseless patient Spider
Lines: 76
Message-ID: <874jdv9y29.fsf@bsb.me.uk>
References: <urdmac$1d3vr$1@dont-email.me> <urfu0e$1tvc8$2@dont-email.me>
<urhq4h$2g5oc$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="c23c6daa892f0b788bbe451a1a64e39a";
logging-data="2684744"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/OtaJCs7tvXr9lNffSDueBgB/0xHG+cEU="
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:EElWqRNj7QFy42ruUvArYDFQiFc=
sha1:aia748cJQJwU6qYBAlOzyIOhrQI=
X-BSB-Auth: 1.f93faad3b94e4a89dbf0.20240226130414GMT.874jdv9y29.fsf@bsb.me.uk
 by: Ben Bacarisse - Mon, 26 Feb 2024 13:04 UTC

David Brown <david.brown@hesbynett.no> writes:

> On 25/02/2024 18:39, Lew Pitcher wrote:
>> On Sat, 24 Feb 2024 21:15:56 +0000, Mike Sanders wrote:
>>
>>> Calculate the date of Easter Sunday or Good Friday:
>>>
>>> https://busybox.neocities.org/notes/is-easter-or-goodfriday.txt
>> I don't have the expertise to discuss whether or not your code
>> properly implements the calculations necessary to determine the
>> date of Good Friday and/or Easter. However, I /do/ have some
>> expertise on writing understandable code.
>> My suggestions, with respect to your program, would be to
>> a) name your objects with relevant, understandable names
>> You code uses quite a lot of meaningless one-letter
>> objects, and it is difficult to keep track of the
>> purpose of the calculations using them.
>
> I agree here.

I challenge the "use better names" to try it. The trouble with this
sort of code is, I suspect, that the quantities don't correspond to
anything that can be clearly named. I may be wrong as I don't know this
form, but it true of the much better known Zeller's Congruence.

I think the correct way to present an algorithm like this if to include
a block comment than documents and explains the formula (using whatver
names are conventional), followed by code that uses the same names to do
the calculation.

> I'd also avoid single-letter capital letter variables, and avoid
> single-letter variables that are easily misread (so don't use "L" or "O",
> big or small). Single-letter variables are fine if their scope is small
> and their meaning is clear - such as "i" for a loop variable, and "x" and
> "y" for coordinates.

In this case, I would use the conventional names (if there are any) even
if this violates the usual programming conventions. All supposing that
the formula has been explained in a comment using exactly those names.

> Good names here, together with some comments, would go a long way to making
> it possible to understand your algorithm here.

Have you tried? It may well detract from the explanations in the
references. (I am hoping that the referenced URLs explain the formula.)

> Links to web pages for
> reference are useful (and it's always polite to give your references), but
> remember that web pages don't last for ever - try to make your code stand
> alone as code, or at least have enough comments to cover the information.
>
>> b) Don't place your calculations /in/ the object initializations.
>> Doing so obfuscates the intent of the logic, and makes
>> problem determination and resolution difficult.
>
> I'd disagree with that one. Initialise your variables when you have
> something to put in them, and that is often a calculated value.

Yes, and I'd make them all const to show that they just name quantities
to simplify later calculations. That would force the adjustments to the
day, month and year (to get good Friday) to be in another function. The
logical one would be a separate test function for that date (as you have
suggested):

> Don't have one function that appears to do two different things.

Yes. I was taught a phrase about function arguments: "pass data not
control".

> It's much
> better to have "isEaster()" and "isGoodFriday()" functions. Clearly these
> are heavily related, so have a static helper function that does the common
> calculations.

--
Ben.

Re: Calculate date of Easter or Good Friday

<uri726$2j0f6$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33793&group=comp.lang.c#33793

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: porkc...@invalid.foo (Mike Sanders)
Newsgroups: comp.lang.c
Subject: Re: Calculate date of Easter or Good Friday
Date: Mon, 26 Feb 2024 14:26:14 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 26
Sender: Mike Sanders <busybox@sdf.org>
Message-ID: <uri726$2j0f6$1@dont-email.me>
References: <urdmac$1d3vr$1@dont-email.me> <urfu0e$1tvc8$2@dont-email.me> <urgvik$2asnc$1@dont-email.me> <urh3j7$2bpr9$1@dont-email.me>
Injection-Date: Mon, 26 Feb 2024 14:26:14 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="9fa50c57887cea1a70066dff5b6f6ab0";
logging-data="2720230"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18R33ipDFEsEoaT39g/+U9N"
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (NetBSD/9.3 (amd64))
Cancel-Lock: sha1:SauL5w1NAwRs10f4pxJM53WktaY=
 by: Mike Sanders - Mon, 26 Feb 2024 14:26 UTC

Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:

> Not sure which instance of "official" you are referring to; there's
> just no "official" mandate unless you are restricting yourself to a
> global authority instance (which does not exist) or not considering
> that any single instance cannot define a "general" rule that would
> be valid worldwide. Face it; Easter dates just differ on this planet!

The inference is the 'official' governance of a given municipality or
provence using the Gregorian calendar (updated the URL notes last night
to, I hope, clarify)...

> PS: Just to prevent you from a fallacy; for the date calculation of
> Easter it's irrelevant whether "we" have "now" switched to Gregorian
> calendar [mostly]. (Think about it before you step into that pit.)

Not me =) I'm not touching the Julian variant, heck I got lucky (and
spent way too much time) with the one I cobbled together as it is.

So tell me, what are you coding these days? Haven't seen much from you
lately...

--
:wq
Mike Sanders

Re: Calculate date of Easter or Good Friday

<uri7du$2j0f6$2@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33794&group=comp.lang.c#33794

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: porkc...@invalid.foo (Mike Sanders)
Newsgroups: comp.lang.c
Subject: Re: Calculate date of Easter or Good Friday
Date: Mon, 26 Feb 2024 14:32:30 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 17
Sender: Mike Sanders <busybox@sdf.org>
Message-ID: <uri7du$2j0f6$2@dont-email.me>
References: <urdmac$1d3vr$1@dont-email.me> <urfu0e$1tvc8$2@dont-email.me> <urgvik$2asnc$1@dont-email.me> <urh3j7$2bpr9$1@dont-email.me>
Injection-Date: Mon, 26 Feb 2024 14:32:30 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="9fa50c57887cea1a70066dff5b6f6ab0";
logging-data="2720230"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+hL5Ih+68IyFxoZOFBd5jZ"
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (NetBSD/9.3 (amd64))
Cancel-Lock: sha1:3FERg7sKLifM0iGDcXg2olemYsE=
 by: Mike Sanders - Mon, 26 Feb 2024 14:32 UTC

Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:

> And both dates, western and eastern, are anyway arbitrary. But if you
> decide to neglect the existing facts, either by wrongly assuming that
> there's only one "correct" Easter date, or by (arrogantly?) presuming
> that one is more correct than the other, then you are discriminating
> Christian folks that follow the one [arbitrary] definition (or the
> other).

And what's this? c'mon now, there's nothing arrogant or presumptuous here.
I'm not discriminating against anyone (I'm Catholic if it makes a difference).
Now then - don't start an argument where there is none...

--
:wq
Mike Sanders

Re: Calculate date of Easter or Good Friday

<uri7ph$2j0f6$3@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33795&group=comp.lang.c#33795

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: porkc...@invalid.foo (Mike Sanders)
Newsgroups: comp.lang.c
Subject: Re: Calculate date of Easter or Good Friday
Date: Mon, 26 Feb 2024 14:38:41 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 18
Sender: Mike Sanders <busybox@sdf.org>
Message-ID: <uri7ph$2j0f6$3@dont-email.me>
References: <urdmac$1d3vr$1@dont-email.me> <urfu0e$1tvc8$2@dont-email.me> <urhq4h$2g5oc$1@dont-email.me>
Injection-Date: Mon, 26 Feb 2024 14:38:41 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="9fa50c57887cea1a70066dff5b6f6ab0";
logging-data="2720230"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+mddIWfZPmw3lq1JaWfLMd"
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (NetBSD/9.3 (amd64))
Cancel-Lock: sha1:vCrGmgZP/GqeNfJ7xUl4cFBIOxw=
 by: Mike Sanders - Mon, 26 Feb 2024 14:38 UTC

David Brown <david.brown@hesbynett.no> wrote:

> Don't use "int" when you mean "bool". That applies to parameters,
> return types, and variables.

But I dont mean bool, I mean int, because the function (well my
private code at any rate) now includes other Holi/Holy days:

int foo(const struct tm *now, int hDay);

switch (hDay)...

But you all still raise some good points.

--
:wq
Mike Sanders

Re: Calculate date of Easter or Good Friday

<uri87o$2j93g$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33796&group=comp.lang.c#33796

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.br...@hesbynett.no (David Brown)
Newsgroups: comp.lang.c
Subject: Re: Calculate date of Easter or Good Friday
Date: Mon, 26 Feb 2024 15:46:16 +0100
Organization: A noiseless patient Spider
Lines: 109
Message-ID: <uri87o$2j93g$1@dont-email.me>
References: <urdmac$1d3vr$1@dont-email.me> <urfu0e$1tvc8$2@dont-email.me>
<urhq4h$2g5oc$1@dont-email.me> <874jdv9y29.fsf@bsb.me.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 26 Feb 2024 14:46:16 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5a7a2173738f25d65e2e44b405e36017";
logging-data="2729072"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/WSZi02Tdo8/QjUAFydKs9Q4zhSj/2PCw="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:ChR9bL8Pc91BTczvdXGbnsb9R6s=
Content-Language: en-GB
In-Reply-To: <874jdv9y29.fsf@bsb.me.uk>
 by: David Brown - Mon, 26 Feb 2024 14:46 UTC

On 26/02/2024 14:04, Ben Bacarisse wrote:
> David Brown <david.brown@hesbynett.no> writes:
>
>> On 25/02/2024 18:39, Lew Pitcher wrote:
>>> On Sat, 24 Feb 2024 21:15:56 +0000, Mike Sanders wrote:
>>>
>>>> Calculate the date of Easter Sunday or Good Friday:
>>>>
>>>> https://busybox.neocities.org/notes/is-easter-or-goodfriday.txt
>>> I don't have the expertise to discuss whether or not your code
>>> properly implements the calculations necessary to determine the
>>> date of Good Friday and/or Easter. However, I /do/ have some
>>> expertise on writing understandable code.
>>> My suggestions, with respect to your program, would be to
>>> a) name your objects with relevant, understandable names
>>> You code uses quite a lot of meaningless one-letter
>>> objects, and it is difficult to keep track of the
>>> purpose of the calculations using them.
>>
>> I agree here.
>
> I challenge the "use better names" to try it. The trouble with this
> sort of code is, I suspect, that the quantities don't correspond to
> anything that can be clearly named. I may be wrong as I don't know this
> form, but it true of the much better known Zeller's Congruence.

Yes, I realise that's likely to be a problem here. For variables that
exist solely to break up a long complicated calculation into manageable
parts, good names are hard or impossible.

However, I would guess - without having looked at the details of the
algorithm - that this could be split into parts that are a bit clearer,
and at least some of the variables could then have names showing what's
going on. You might have the offset into the lunar month, or the number
of days in February, or a boolean for before/after the spring equinox.

If the expressions can only be split in somewhat arbitrary positions,
and therefore the variables have arbitrary and meaningless names, so be
it. But if it is possible and practical to do better, then I'd
recommend that.

>
> I think the correct way to present an algorithm like this if to include
> a block comment than documents and explains the formula (using whatver
> names are conventional), followed by code that uses the same names to do
> the calculation.

That is something I also suggested (without the detail of the names).

>
>> I'd also avoid single-letter capital letter variables, and avoid
>> single-letter variables that are easily misread (so don't use "L" or "O",
>> big or small). Single-letter variables are fine if their scope is small
>> and their meaning is clear - such as "i" for a loop variable, and "x" and
>> "y" for coordinates.
>
> In this case, I would use the conventional names (if there are any) even
> if this violates the usual programming conventions. All supposing that
> the formula has been explained in a comment using exactly those names.
>

Agreed. Clear and understandable code is more important than
conventions. (But names like "l" or "O" are rarely clear, even if they
are used in the context of the documentation of an algorithm.)

>> Good names here, together with some comments, would go a long way to making
>> it possible to understand your algorithm here.
>
> Have you tried? It may well detract from the explanations in the
> references. (I am hoping that the referenced URLs explain the formula.)
>
>> Links to web pages for
>> reference are useful (and it's always polite to give your references), but
>> remember that web pages don't last for ever - try to make your code stand
>> alone as code, or at least have enough comments to cover the information.
>>
>>> b) Don't place your calculations /in/ the object initializations.
>>> Doing so obfuscates the intent of the logic, and makes
>>> problem determination and resolution difficult.
>>
>> I'd disagree with that one. Initialise your variables when you have
>> something to put in them, and that is often a calculated value.
>
> Yes, and I'd make them all const to show that they just name quantities
> to simplify later calculations. That would force the adjustments to the
> day, month and year (to get good Friday) to be in another function.

Agreed - I think it is often clearer to have const variables that are
set once and never changed, so that you can always see exactly what
value they have, and when it is set.

> The
> logical one would be a separate test function for that date (as you have
> suggested):
>
>> Don't have one function that appears to do two different things.
>
> Yes. I was taught a phrase about function arguments: "pass data not
> control".
>

That's a good way to put it.

>> It's much
>> better to have "isEaster()" and "isGoodFriday()" functions. Clearly these
>> are heavily related, so have a static helper function that does the common
>> calculations.
>

Re: Calculate date of Easter or Good Friday

<uri9jh$2jiqq$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33799&group=comp.lang.c#33799

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: janis_pa...@hotmail.com (Janis Papanagnou)
Newsgroups: comp.lang.c
Subject: Re: Calculate date of Easter or Good Friday
Date: Mon, 26 Feb 2024 16:09:36 +0100
Organization: A noiseless patient Spider
Lines: 70
Message-ID: <uri9jh$2jiqq$1@dont-email.me>
References: <urdmac$1d3vr$1@dont-email.me> <urfu0e$1tvc8$2@dont-email.me>
<urhq4h$2g5oc$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 26 Feb 2024 15:09:37 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="9eb2bd463d1c2d79d2b6eb4c7d31d1ca";
logging-data="2739034"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18W1BLX8xmlI+yxdUXoeNTO"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:hvkEvziyD24b0oTNYOCtZOJere8=
In-Reply-To: <urhq4h$2g5oc$1@dont-email.me>
X-Enigmail-Draft-Status: N1110
 by: Janis Papanagnou - Mon, 26 Feb 2024 15:09 UTC

On 26.02.2024 11:45, David Brown wrote:
> On 25/02/2024 18:39, Lew Pitcher wrote:
>> On Sat, 24 Feb 2024 21:15:56 +0000, Mike Sanders wrote:
>>
>>> Calculate the date of Easter Sunday or Good Friday:
>>> https://busybox.neocities.org/notes/is-easter-or-goodfriday.txt
>>
>> [...]
>>
>> My suggestions, with respect to your program, would be to
>> a) name your objects with relevant, understandable names
>> You code uses quite a lot of meaningless one-letter
>> objects, and it is difficult to keep track of the
>> purpose of the calculations using them.
>
> [...]
>
> Good names here, together with some comments, would go a long way to
> making it possible to understand your algorithm here. Links to web
> pages for reference are useful (and it's always polite to give your
> references), but remember that web pages don't last for ever - try to
> make your code stand alone as code, or at least have enough comments to
> cover the information.

Yes. Often it is the case that some magic formula is just copied
from some place without knowledge. (I suspect here too.) At least
a reference of the source of the formula should be provided with
the code! (At first glance it seems to be the so called Spencer's
formula [1922], published by someone else already in 1876.[*])

Over the years there had been many formulas, variants, refinements
introducing correction factors, etc. In the Wikipedias you should
find enough information[**].

>
> Consider making and using several general functions, rather than having
> a single impenetrable function. You might have a "numberOfDaysInYear()"
> function, and functions for converting (day, month) pairs back and forth
> to the number of days since the first of January. You can have lunar
> calculations also based on the number of days from a given starting
> point (perhaps using Unix epoch time rather than struct tm). Then you
> can have a "findEaster()" function that returns the date of Easter for a
> given year as the number of days from the first of January.

I'd expect that formulating the algorithm/formula using FP numbers
could probably make it also a bit simpler. (But I haven't tried.)
If you consider the actual task you observe that you somehow have
to map the lunar period (~30 d) to the sun period (~365 d), where
these cycles are not exact (not integral) and they are numerically
not synchronous, plus the weekday mapping (actually a third cycle,
in the calculation, here of integral type). This whole set of scalar
integers seem to emulate these inherent issues as correction factors
and few of them will represent real world entities.

Janis

[*] https://de.wikipedia.org/wiki/Spencers_Osterformel

[**] I picked the links from the German Wikipedia - apologies for
that - but I think that articles like these should be available in
other languages as well if you search for the respective keywords.
Easter date (also listing the two prevalent Easter definitions):
https://de.wikipedia.org/wiki/Osterdatum
Easter computation (mentioning also the necessary corrections):
https://de.wikipedia.org/wiki/Computus_(Osterrechnung)
Gauss' formulas and historic:
https://de.wikipedia.org/wiki/Gau%C3%9Fsche_Osterformel
And a general article about Easter (for the cultural basics):
https://de.wikipedia.org/wiki/Ostern

Re: Calculate date of Easter or Good Friday

<uria1p$2jmlo$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33801&group=comp.lang.c#33801

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: janis_pa...@hotmail.com (Janis Papanagnou)
Newsgroups: comp.lang.c
Subject: Re: Calculate date of Easter or Good Friday
Date: Mon, 26 Feb 2024 16:17:12 +0100
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <uria1p$2jmlo$1@dont-email.me>
References: <urdmac$1d3vr$1@dont-email.me> <urfu0e$1tvc8$2@dont-email.me>
<urhq4h$2g5oc$1@dont-email.me> <874jdv9y29.fsf@bsb.me.uk>
<uri87o$2j93g$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 26 Feb 2024 15:17:13 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="9eb2bd463d1c2d79d2b6eb4c7d31d1ca";
logging-data="2742968"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/wWmHvE9zAMTnESfR9mikw"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:yzpNrRAicYBzzGGjz0PVZe1ib/8=
In-Reply-To: <uri87o$2j93g$1@dont-email.me>
X-Enigmail-Draft-Status: N1110
 by: Janis Papanagnou - Mon, 26 Feb 2024 15:17 UTC

On 26.02.2024 15:46, David Brown wrote:
>
> Yes, I realise that's likely to be a problem here. For variables that
> exist solely to break up a long complicated calculation into manageable
> parts, good names are hard or impossible.
>
> However, I would guess - without having looked at the details of the
> algorithm - that this could be split into parts that are a bit clearer,

Unfortunately not, I fear.

> and at least some of the variables could then have names showing what's
> going on. You might have the offset into the lunar month, or the number
> of days in February, or a boolean for before/after the spring equinox.

You seem to have chosen a source where "Spencer's" algorithm is
described. In a corresponding Wikipedia article (here in German:
e.g. https://de.wikipedia.org/wiki/Spencers_Osterformel)
you find the same non-descriptive names.

>
> If the expressions can only be split in somewhat arbitrary positions,
> and therefore the variables have arbitrary and meaningless names, so be
> it. But if it is possible and practical to do better, then I'd
> recommend that.

If you put in a reference to the document source - while not
explaining anything - that might suffice. Otherwise you'd have
to spend more effort describing the variables in detail.

Janis

Re: Calculate date of Easter or Good Friday

<uriat8$2jtc5$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=33803&group=comp.lang.c#33803

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: janis_pa...@hotmail.com (Janis Papanagnou)
Newsgroups: comp.lang.c
Subject: Re: Calculate date of Easter or Good Friday
Date: Mon, 26 Feb 2024 16:31:52 +0100
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <uriat8$2jtc5$1@dont-email.me>
References: <urdmac$1d3vr$1@dont-email.me> <urfu0e$1tvc8$2@dont-email.me>
<urgvik$2asnc$1@dont-email.me> <urh3j7$2bpr9$1@dont-email.me>
<uri726$2j0f6$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 26 Feb 2024 15:31:52 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="9eb2bd463d1c2d79d2b6eb4c7d31d1ca";
logging-data="2749829"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18pO3AkVIsa91k1InyMM6Di"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:z8CczZQiHTh8wBVHtZB7Qz4w6bk=
In-Reply-To: <uri726$2j0f6$1@dont-email.me>
X-Enigmail-Draft-Status: N1110
 by: Janis Papanagnou - Mon, 26 Feb 2024 15:31 UTC

On 26.02.2024 15:26, Mike Sanders wrote:
> Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
>
>> Not sure which instance of "official" you are referring to; there's
>> just no "official" mandate unless you are restricting yourself to a
>> global authority instance (which does not exist) or not considering
>> that any single instance cannot define a "general" rule that would
>> be valid worldwide. Face it; Easter dates just differ on this planet!
>
> The inference is the 'official' governance of a given municipality or
> provence using the Gregorian calendar (updated the URL notes last night
> to, I hope, clarify)...

(Despite my note you stepped into the fallacy trap.)

One final try to help you here: Greece, like most other countries in
the world, uses the Gregorian calendar. The Greek orthodox church, as
just one example of eastern churches, has not changed the calculation
for Easter. That's not a mistake.

>
>> PS: Just to prevent you from a fallacy; for the date calculation of
>> Easter it's irrelevant whether "we" have "now" switched to Gregorian
>> calendar [mostly]. (Think about it before you step into that pit.)
>
> Not me =) I'm not touching the Julian variant, heck I got lucky (and
> spent way too much time) with the one I cobbled together as it is.

The Wikipedia sources I provided elsethread show both existing Easter
calculations that are in use world wide. So it's easy to reflect the
real world in your code in a non-discriminating way. But if you prefer
to ignore hundreds million orthodox Christians[*] that's of course
completely your decision.

Janis

[*]
https://de.wikipedia.org/wiki/Liste_der_L%C3%A4nder_nach_christlicher_Bev%C3%B6lkerung

Pages:123
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor