Live data from Hacker News

Lewis Carroll – computing the day of the week for any given date (1887)

futilitycloset.com

51–60 of 109 posts

Re: Lewis Carroll – computing the day of the week for any given date (1887)

#51

Earlier quoted context omitted.

> which I have swutch to That's a past participle I've never seent before

For some reason part participles are particularly hard for me too (native English speaker who speaks no other languages fluently). (they must just be a mess in English? I can't imagine how non-native speakers ever get any of them) I'm going to go with swutcheted

For entertainment look up Germanic string and weak verbs.

Re: Lewis Carroll – computing the day of the week for any given date (1887)

#52

This is very similar to the method I use and, after conversation with him, the method Art Benjamin uses. It's trivial to do in 10 to 15 seconds, though it requires practice, a very small amount of memorisation[0], and a small amount of mental arithmetic. I use it regularly, partly to keep in practice, and partly because once you have the skill you find it's surprisingly useful. JH Conway used a different technique[1]…

You don't have to take the mod 7 of each of the values. You can sum them into one number and take its mod 7. You'll get the same result.

Re: Lewis Carroll – computing the day of the week for any given date (1887)

#54

This is very similar to the method I use and, after conversation with him, the method Art Benjamin uses. It's trivial to do in 10 to 15 seconds, though it requires practice, a very small amount of memorisation[0], and a small amount of mental arithmetic. I use it regularly, partly to keep in practice, and partly because once you have the skill you find it's surprisingly useful. JH Conway used a different technique[1]…

You don't have to take the mod 7 of each of the values. You can sum them into one number and take its mod 7. You'll get the same result.

You can take mod 7 anywhere you like as you go. It's a tool to make the arithmetic easier.

No, you don't need to do it relentlessly as you go, but it can be used in an ad hoc manner to keep the numbers small.

Having said that, if you have 24, you can reduce it (mod 7) to 10, which you might find it easier to work with rather than reducing it to 3. Similarly if you start with 27 you can reduce it to -1 (mod 7). You don't always need to reduce things to the range [0..7).

(Note, by convention the square bracket implies "included" and the round bracket implies "excluded", so [0..7) is the collection {0,1,2,3,4,5,6}.)

Re: Lewis Carroll – computing the day of the week for any given date (1887)

#55

This is very similar to the method I use and, after conversation with him, the method Art Benjamin uses. It's trivial to do in 10 to 15 seconds, though it requires practice, a very small amount of memorisation[0], and a small amount of mental arithmetic. I use it regularly, partly to keep in practice, and partly because once you have the skill you find it's surprisingly useful. JH Conway used a different technique[1]…

Judging by that table (month numbers being the same for Feb + March in 2024), you have to adjust -1 for dates before March in leap years?

Re: Lewis Carroll – computing the day of the week for any given date (1887)

#56
post #28
post #26

Neat but what is this useful for?

What do you mean, what knowing the day of week a date is useful for ?

Yes, that's what people typically use a calendar for. So you agree that this trick isn't useful for anything?

Re: Lewis Carroll – computing the day of the week for any given date (1887)

#57

This is very similar to the method I use and, after conversation with him, the method Art Benjamin uses. It's trivial to do in 10 to 15 seconds, though it requires practice, a very small amount of memorisation[0], and a small amount of mental arithmetic. I use it regularly, partly to keep in practice, and partly because once you have the skill you find it's surprisingly useful. JH Conway used a different technique[1]…

> which I have swutch to That's a past participle I've never seent before

Like the joke of the guy returning to Boston after being away for years; asks his cab driver "Do you know where I can get scrod" and the driver says "Sure, but I've never heard that in the past perfect before!"

Re: Lewis Carroll – computing the day of the week for any given date (1887)

#58

Reading the article, I wandered into the difference of Old Style and New Style dates and what happened in 1752. From [1]: By the 18th century, the English legal year – used for legal, financial and other civil purposes – had for centuries begun on 25 March, or Lady Day.[13][i] Thus, for example, 24 March 1707 was immediately followed by 25 March 1708, while the day following 31 December 1708 was 1 January 1708, with…

I just typed "cal 1752" and got a calendar with a September that has no dates between Wednesday the 2nd and Thursday the 14th.

Although disputed by some, apparently the switch to the Gregorian calendar is also the basis for "April Fools' Day."

https://en.wikipedia.org/wiki/April_Fools%27_Day

https://en.wikipedia.org/wiki/Gregorian_calendar

Re: Lewis Carroll – computing the day of the week for any given date (1887)

#59

Earlier quoted context omitted.

Second guessed myself and had to look up whether this was actually a word

Google says the correct term is, in fact, Nintendo Switch.

Trust Google with the facts.

Re: Lewis Carroll – computing the day of the week for any given date (1887)

#60
post #57

Earlier quoted context omitted.

> which I have swutch to That's a past participle I've never seent before

Like the joke of the guy returning to Boston after being away for years; asks his cab driver "Do you know where I can get scrod" and the driver says "Sure, but I've never heard that in the past perfect before!"

This might be the first time I get a joke's punchline but not the setup
Post reply on HN