tag:blogger.com,1999:blog-1241254853273428596.post4585214195900863472..comments2023-11-21T03:32:53.226-05:00Comments on Al Pi Cheshbon: Omer Counting in Different BasesShtiklerhttp://www.blogger.com/profile/07498936768989355610noreply@blogger.comBlogger16125tag:blogger.com,1999:blog-1241254853273428596.post-6527531795416547562012-05-23T02:59:25.889-04:002012-05-23T02:59:25.889-04:00Today is one of the days when the decimal digits (...Today is one of the days when the decimal digits (46) are the same as the base-7 digits (64), in reverse order. Remember in high school when we worked out all the occasions when that could happen?3.141592653589793238462643383279502884197169399375https://www.blogger.com/profile/12059887722695403992noreply@blogger.comtag:blogger.com,1999:blog-1241254853273428596.post-67605377121297334502012-05-23T02:58:24.212-04:002012-05-23T02:58:24.212-04:00Thanks for widening the box!Thanks for widening the box!3.141592653589793238462643383279502884197169399375https://www.blogger.com/profile/12059887722695403992noreply@blogger.comtag:blogger.com,1999:blog-1241254853273428596.post-14393960397152096872012-05-20T22:19:48.075-04:002012-05-20T22:19:48.075-04:00Maybe it depends on which browser you use, but the...Maybe it depends on which browser you use, but the box containing the sidebar widget seems to be slightly too small, so that you have to scroll to see the answer for "choose you own base". Can you enlarge it slightly?3.141592653589793238462643383279502884197169399375https://www.blogger.com/profile/12059887722695403992noreply@blogger.comtag:blogger.com,1999:blog-1241254853273428596.post-68358643023232149812012-05-20T03:21:41.358-04:002012-05-20T03:21:41.358-04:00Thanks for the fix!Thanks for the fix!3.141592653589793238462643383279502884197169399375https://www.blogger.com/profile/12059887722695403992noreply@blogger.comtag:blogger.com,1999:blog-1241254853273428596.post-62756521293271180082012-05-20T02:42:38.238-04:002012-05-20T02:42:38.238-04:00It's especially problematic if you choose base...It's especially problematic if you choose base 22 today, because a lowercase l looks like a number 1.3.141592653589793238462643383279502884197169399375https://www.blogger.com/profile/12059887722695403992noreply@blogger.comtag:blogger.com,1999:blog-1241254853273428596.post-10553400273203034382012-05-20T02:01:23.685-04:002012-05-20T02:01:23.685-04:00As I was writing the previous comment, I realized ...As I was writing the previous comment, I realized that today's hexadecimal Omer count belongs to Hamlet. Or not.3.141592653589793238462643383279502884197169399375https://www.blogger.com/profile/12059887722695403992noreply@blogger.comtag:blogger.com,1999:blog-1241254853273428596.post-60384637775590982692012-05-20T02:00:22.350-04:002012-05-20T02:00:22.350-04:00The output is inconsistent. It says today is 2B (...The output is inconsistent. It says today is 2B (with a capital B) in hex, but if I choose base 11 it gives 3a with a lowercase a. I see in the code that the hexadecimal line includes "toUpperCase()" which you left out of the choose-your-own-base section. Want to add it in?3.141592653589793238462643383279502884197169399375https://www.blogger.com/profile/12059887722695403992noreply@blogger.comtag:blogger.com,1999:blog-1241254853273428596.post-52363307902916552642010-04-28T14:30:58.756-04:002010-04-28T14:30:58.756-04:00It means that while you can theoretically count in...It means that while you can theoretically count in any base you please, I considered binary, octal and hexadecimal to be the only ones relevant as they are the ones people are familiar with.<br />Of course, that all really went by the wayside once you insisted on being able to plug in any base you please.Shtiklerhttps://www.blogger.com/profile/07498936768989355610noreply@blogger.comtag:blogger.com,1999:blog-1241254853273428596.post-36072021687661222072010-04-28T14:03:20.305-04:002010-04-28T14:03:20.305-04:00What do you mean by "relevant" in "...What do you mean by "relevant" in "So, I added a widget on the blog's sidebar which will display the day of the Omer in various relevant bases"?3.141592653589793238462643383279502884197169399375https://www.blogger.com/profile/12059887722695403992noreply@blogger.comtag:blogger.com,1999:blog-1241254853273428596.post-50722493351751836422010-04-27T00:43:36.165-04:002010-04-27T00:43:36.165-04:00It's complicated. It's half a bug (not a b...It's complicated. It's half a bug (not a beriyah.) It was a bug that I fixed and somehow unfixed. But I refixed it.Shtiklerhttps://www.blogger.com/profile/07498936768989355610noreply@blogger.comtag:blogger.com,1999:blog-1241254853273428596.post-36715531876311015352010-04-27T00:32:19.797-04:002010-04-27T00:32:19.797-04:00At one point it looked like the date had changed a...At one point it looked like the date had changed after sunset (I was starting to wonder which location was used) but now it's after midnight (EDT) at it's back to the 27th day when it should be 28 (decimal). Is this a bug?3.141592653589793238462643383279502884197169399375https://www.blogger.com/profile/12059887722695403992noreply@blogger.comtag:blogger.com,1999:blog-1241254853273428596.post-7250169434050970412010-04-26T13:52:46.667-04:002010-04-26T13:52:46.667-04:00I wrote it. It took me a while but it is actually ...I wrote it. It took me a while but it is actually quite simple. The base conversions were the simplest part. Go to <a href="http://weeklyshtikle.com/omer-mini.php" rel="nofollow">the source page</a> and you can see the JavaScript code.<br />The tricky part was figuring out dynamically what the beginning day of the Omer is. PHP has built in Jewish Calendar functions which is what I used. It will work unattended now. It will automatically show custom "error" messages if after Shavuos or before Pesach. I can send you the full code if you like.Shtiklerhttps://www.blogger.com/profile/07498936768989355610noreply@blogger.comtag:blogger.com,1999:blog-1241254853273428596.post-46855672773741605442010-04-26T13:37:53.671-04:002010-04-26T13:37:53.671-04:00Wow, thanks. It stops after base 36 - I was wonde...Wow, thanks. It stops after base 36 - I was wondering what it would do after running out of letters of the alphabet.<br /><br />Did you have to write the applet yourself or did you get it somewhere?3.141592653589793238462643383279502884197169399375https://www.blogger.com/profile/12059887722695403992noreply@blogger.comtag:blogger.com,1999:blog-1241254853273428596.post-85206227805307641612010-04-26T12:01:18.413-04:002010-04-26T12:01:18.413-04:00Happy now? :-)
Don't say I never did anything ...Happy now? :-)<br />Don't say I never did anything for you.<br />:-)Shtiklerhttps://www.blogger.com/profile/07498936768989355610noreply@blogger.comtag:blogger.com,1999:blog-1241254853273428596.post-56194280795619926262010-04-26T03:30:27.684-04:002010-04-26T03:30:27.684-04:00And why not include many more bases in the sidebar...And why not include many more bases in the sidebar?3.141592653589793238462643383279502884197169399375https://www.blogger.com/profile/12059887722695403992noreply@blogger.comtag:blogger.com,1999:blog-1241254853273428596.post-64615209365609276172010-04-26T03:29:16.669-04:002010-04-26T03:29:16.669-04:00In practise, we count in base 10 and base 7. Why ...In practise, we count in base 10 and base 7. Why is base 7 not in the sidebar?3.141592653589793238462643383279502884197169399375https://www.blogger.com/profile/12059887722695403992noreply@blogger.com