News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Easter Formula

Started by Gunther, October 29, 2022, 09:13:52 AM

Previous topic - Next topic

learn64bit

that's a very complicated question.... I don't know who set which specific law for you...
for your safety, you should use a VPN...

HSE

Gunther,

Quote from: Gunther on October 31, 2022, 12:36:05 AM
The Gaussian Easter formula is more an algorithm. Why it was not called Gaussian Easter algorithm, I can speculate only. There is a Gaussian algorithm for solving linear equation systems. Perhaps one wanted
to avoid confusion? Be that as it may, we have to live with the name as it has become established.

:thumbsup: Perhaps that worth to add a line for a broader audience.

Obviously Steve understood everything perfectly  :biggrin:

HSE
Equations in Assembly: SmplMath

daydreamer

it works well on dosbox here :thumbsup:
there are also gaussian blur formula
my none asm creations
https://masm32.com/board/index.php?topic=6937.msg74303#msg74303
I am an Invoker
"An Invoker is a mage who specializes in the manipulation of raw and elemental energies."
Like SIMD coding

Gunther

Steve,

Quote from: FORTRANS on October 30, 2022, 11:53:41 PM
   The program runs in Win 2000's NTVDM without problems.

That's the way it's supposed to be. Surely it will run in the DOS emulation of OS/2 without any problems.

Thank you for the warm words about the PDF file. I thought about the individual formulations for a long time. I may include your suggestion in the next version. The EASTER program
is part of a larger project for calendar questions and astronomical calculations. Currently, I am struggling with the Julian date (not to be confused with the Julian calendar) and the
respective converting. This is not so simple also with regard to the required data types. PB for DOS has BCD floating point numbers. This data type would be well suited. I don't know
yet how I'll manage it with the MSVCRT.
You have to know the facts before you can distort them.

TimoVJL

Laws are simple, for not commercial usage, different for other purboses.
Usually acadimic people knows those thing, like is it allowed, that virusscanners can examine all programs not making contracts for every one ?

May the source be with you

Gunther

TimoVJL,

Quote from: TimoVJL on October 31, 2022, 01:11:02 AM
Laws are simple, for not commercial usage, different for other purboses.

In practice, it is not that simple. Ask Hutch what efforts he made to include the assembler and linker in the MASM32 project. Microsoft has a large legal department with many excellent lawyers.
I prefer not to make any acquaintance with them.
You have to know the facts before you can distort them.

Gunther

daydreamer,

Quote from: daydreamer on October 31, 2022, 01:02:10 AM
it works well on dosbox here :thumbsup:

thank you for your response and the test.  :thumbsup:

Quote from: daydreamer on October 31, 2022, 01:02:10 AM
there are also gaussian blur formula

Yes, of course. Every halfway reasonable image processing program has it.
You have to know the facts before you can distort them.

Gunther

HSE,

Quote from: HSE on October 31, 2022, 01:00:07 AM
:thumbsup: Perhaps that worth to add a line for a broader audience.

Perhaps, when I find the time to do so.
You have to know the facts before you can distort them.

daydreamer

Quote from: Gunther on October 31, 2022, 03:30:25 AM
Quote from: daydreamer on October 31, 2022, 01:02:10 AM
there are also gaussian blur formula

Yes, of course. Every halfway reasonable image processing program has it.
I do some 3d cg art,that sometimes need to postwork to correct render artifacts, sometimes knees and elbows need to be fixed and last step I use a weak gaussian blur to hide where I postwork image
Sometimes I create my own textures
Right now I working on asm program that creates greyscale heightmaps for import in 3d landscape program
my none asm creations
https://masm32.com/board/index.php?topic=6937.msg74303#msg74303
I am an Invoker
"An Invoker is a mage who specializes in the manipulation of raw and elemental energies."
Like SIMD coding

Gunther

daydreamer,

Quote from: daydreamer on October 31, 2022, 04:00:41 AM
I do some 3d cg art,that sometimes need to postwork to correct render artifacts, sometimes knees and elbows need to be fixed and last step I use a weak gaussian blur to hide where I postwork image

That sounds interesting.

Quote from: daydreamer on October 31, 2022, 04:00:41 AM
Sometimes I create my own textures

What is the purpose for that? Background for a computer game?

Quote from: daydreamer on October 31, 2022, 04:00:41 AM
Right now I working on asm program that creates greyscale heightmaps for import in 3d landscape program

Sounds a bit like George Lucas.
You have to know the facts before you can distort them.

FORTRANS

Hi Gunther,

   The power went out for around an hour, so I tracked down
my copy of "Astronomical Algorithms".  Amazing what one does
with time on their hands.  Surprised me a bit that I actually found
it.  Anyway, reading up on his description of the method of finding
the date of Easter, I can easily see why you did not include it in
your document.  But including the reference did allow me to see
what it is.

Cheers,

Steve N.

Gunther

Steve,

Quote from: FORTRANS on October 31, 2022, 05:42:58 AM
... Anyway, reading up on his description of the method of finding
the date of Easter, I can easily see why you did not include it in
your document.  But including the reference did allow me to see
what it is.

There are no secrets in the Easter formula I've used. This has all been published long ago and anyone can read it. In the meantime, I even found the corresponding article in Wikipedia. The only difference is that some variables
are named differently there. Is it really necessary to repeat everything again in the PDF document?
You have to know the facts before you can distort them.

FORTRANS

Hi,

Quote from: Gunther on October 31, 2022, 06:56:05 AM
Steve,

Quote from: FORTRANS on October 31, 2022, 05:42:58 AM
... Anyway, reading up on his description of the method of finding
the date of Easter, I can easily see why you did not include it in
your document.  But including the reference did allow me to see
what it is.

There are no secrets in the Easter formula I've used. This has all been published long ago and anyone can read it. In the meantime, I even found the corresponding article in Wikipedia. The only difference is that some variables
are named differently there. Is it really necessary to repeat everything again in the PDF document?

   No.  Originally I thought a small formula would be easy to include
and might illustrate what was going on in your program.  Reading about it
showed me it was dull, wordy,  and would add little, if anything, to your
paper.  So I think you were correct in not including it now.  I had
thought that was what I said above, more or less.  Again, I think you
wrote a good paper aimed at the interested layperson.  Thank you for
sharing it as well.

Regards,

Steve

Gunther

Steve,

Quote from: FORTRANS on October 31, 2022, 07:28:13 AM
...  Originally I thought a small formula would be easy to include
and might illustrate what was going on in your program.

it's more than just a little formula, unfortunately. Before Gauss developed his Easter formula, the calculation of the date of Easter was very cumbersome and mysterious.
For example, one needed the Golden Number of the respective year,  the so-called epact and other values. Then, by using comprehensive tables, it was possible to determine
the date for Easter Sunday. This was a job for insiders and specialists. With Gauss' Easter formula, however, it then became possible to determine the date without tables
by a series of divisions and modulo calculations. This was a great step forward.

However, it means that you have to calculate 10 different parameters. With the algorithm I used, there are even 14. Roughly speaking, these algorithms split into 2 parts.
The first part is the approximate tracking of the lunar orbiting and the second part is the exact deterministic offsetting to obtain a Sunday following the full moon. But I didn't
want to bore readers with all the technical details.

Quote from: FORTRANS on October 31, 2022, 07:28:13 AM
... Again, I think you
wrote a good paper aimed at the interested layperson.  Thank you for
sharing it as well.

Thank you. The question: what to explain, what to leave out is always a tightrope walk. I hope I've succeeded to some extent.
You have to know the facts before you can distort them.

TimoVJL

Funny, with SQL
https://www.sqlservercentral.com/scripts/calculating-easter-in-sql
May the source be with you