Show HN: Weekle – a web app to learn how to calculate the day of the week
122 points| benjoffe | 2 years ago |benjoffe.com | reply
Although there are tutorials for this elsewhere online, and little quizzes available, there didn't seem to be anything well optimised with multiple practice modes etc.
I originally created a basic version of this just for myself, but a small group of friends and family found it interesting and gave suggestions such as the daily game.
Multi-lingual support is a bit rudimentary at the moment, it will only translate the month names and weekday names, not other text. If any translation mistakes are identified please let me know.
Other feedback is welcome too.
[+] [-] jen729w|2 years ago|reply
1/7th is 0.142857 recurring. All you need to remember is one-four-two-eight-five-seven. Say it over and over. It’s my favourite number.
The magic: to get 2/7, 3/7, any/7, just move the decimal point:
- 2/7: 0.285714285714…
- 3/7: 0.428571428571…
- 4/7: 0.571428571428… (I’m typing these out but ‘from memory’ but not really: only by knowing 1-4-2-8-5-7)
- 5/7 & 6/7: left as an exercise for the reader.
So then the trick is to play a bit of mental magic. Pretend like this is really hard and that every decimal point is stretching your mental capacity to its very edge.
31/7? That’s 4, with 3/7 left over. Say it out loud as you gaze in to the middle distance and do this difficult, difficult calculation in your head: “four point four two eight five seven … one four … two eight five … seven one four …” and so on.
A fun trick which is very occasionally practically useful.
[+] [-] hackernewds|2 years ago|reply
[+] [-] replwoacause|2 years ago|reply
[+] [-] account-5|2 years ago|reply
[+] [-] midasuni|2 years ago|reply
The majority of the world uses little endian, so the 8th day of the 10th month of the 2023rd year. 8th October is Sunday, as I know that because it’s the same day as 9th of May.
However experiments E has told me that much of the internet uses the minority American view of “middle endian”
Probably worth making it clear.
[+] [-] opan|2 years ago|reply
[+] [-] benjoffe|2 years ago|reply
Even if it works, I'll probably take your suggestion add a tip below the date to clarify the date format for the user's first session.
[+] [-] naniwaduni|2 years ago|reply
[+] [-] jbaber|2 years ago|reply
[1]: https://firstsundaydoomsday.blogspot.com/2011/01/learn-by-ex...
[+] [-] hluska|2 years ago|reply
[+] [-] keerthiko|2 years ago|reply
[+] [-] benjoffe|2 years ago|reply
[+] [-] scotteh|2 years ago|reply
Nice work on the site!
[+] [-] gcanyon|2 years ago|reply
I don't think that's simpler than the algorithm at weekle, but in case anyone is curious.
[+] [-] robobro|2 years ago|reply
[+] [-] entropy47|2 years ago|reply
[+] [-] benjoffe|2 years ago|reply
I recommend only attempting to memorise the table after you are already able to calculate the year number using the normal algorithm.
[+] [-] quickthrower2|2 years ago|reply
[+] [-] AdieuToLogic|2 years ago|reply
An adjustment for clock drift[0]?
0 - https://www.historic-uk.com/HistoryUK/HistoryofBritain/Give-...
[+] [-] connordoner|2 years ago|reply
[+] [-] Retr0id|2 years ago|reply
[+] [-] AdieuToLogic|2 years ago|reply
[+] [-] onetokeoverthe|2 years ago|reply