Script to find out the name of the parsha
Does anyone know of a script (preferably in PHP) that given a date will return the name of the parsha (torah portion) for that week? -- David Suna da...@davidsconsultants.com ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Fwd: Ben Gurion - arrivals in Firefox
On Wed, Apr 28, 2010 at 12:12 AM, Stan Goodman stan.good...@hashkedim.com wrote: I think the lady has tried to write an appropriate response, but has failed to do so. It isn't clear to me that she understands that the present website is demanding the use of proprietary software (IE) in an environment that has always been intended to be vendor neutral. I think she ought to receive and answer to her letter, asking point blank if the proposed new website will allow the use of non-Microsoft browsers that satisfy real Internet standards. She needs to be compelled to state that explicitly. If she can't do that, she needs to specify who is in a position to relate to the very specific question. If that is not done, we stand an excellent change of finding that the new website again required Internet Explorer, and being fobbed off again (as in the case of the Maccabi website), that the IE requirement is unavoidable because if is the only really secure browser. Actually, the lady admits that they are aware of the problem, and that she sort off promises that in a few months the entire problem will be solved. In the meantime, she mentions that they will act to help the people with the most important functionality of the site. Instead of calling her bluff (if the system is expected to be deployed for 5-7 years, and it was deployed in 2003, by now it should have been changed anyhow), I suggest supporting their move (despite the fact that this is due to their stupidity to begin with). Sometimes it's better to be smart than right. Best regards, Orr. -- Orr Dunkelman, orr.dunkel...@gmail.com GPG fingerprint: C2D5 C6D6 9A24 9A95 C5B3 2023 6CAB 4A7C B73F D0AA (This key will never sign Emails, only other PGP keys. The key corresponds to o...@vipe.technion.ac.il) ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Script to find out the name of the parsha
On 28/04/2010, at 09:47, David Suna wrote: Does anyone know of a script (preferably in PHP) that given a date will return the name of the parsha (torah portion) for that week? hebcal. There's an interactive web version available at http://hebcal.com/ and packages available for all linux distributions and OS X. Probably windows too. It's not a php script, but you can call it from within php. The man page will give you the flags you need to get just the parsha. --sambo ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Script to find out the name of the parsha
You can try to make something out of Hebcal - http://www.hebcal.com/sedrot/ On Wed, Apr 28, 2010 at 9:47 AM, David Suna da...@davidsconsultants.comwrote: Does anyone know of a script (preferably in PHP) that given a date will return the name of the parsha (torah portion) for that week? -- David Suna da...@davidsconsultants.com ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- Orna Agmon Ben-Yehuda. http://ladypine.org ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Script to find out the name of the parsha
here are scripts in perl and python: # apt-get install libhdate-python # import hdate year = 2010 h = hdate.Hdate() h.set_gdate(1,1,year) julian = h.get_julian() for i in range(0,365): h.set_jd(julian) julian += 1 day = h.get_gday() month = h.get_gmonth() parasha = h.get_parasha_string(1) if parasha != 'none': print %02d/%02d %s % (day, month, parasha) #--- # apt-get install libhdate-perl #-- use strict; use warnings; use hdate; my $year = 2010; my $h = new hdate::Hdate(); $h-set_gdate(1,1,$year); my $julian = $h-get_julian(); for(my $i = 0; $i 365; $i++) { $h-set_jd($julian + $i); my $day = $h-get_gday(); my $month = $h-get_gmonth(); my $parasha = $h-get_parasha_string(1); if (not $parasha eq none) { print $day/$month $parasha\n; } } #--- 2010/4/28 Orna Agmon Ben-Yehuda ladyp...@gmail.com: You can try to make something out of Hebcal - http://www.hebcal.com/sedrot/ On Wed, Apr 28, 2010 at 9:47 AM, David Suna da...@davidsconsultants.com wrote: Does anyone know of a script (preferably in PHP) that given a date will return the name of the parsha (torah portion) for that week? -- David Suna da...@davidsconsultants.com ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- Orna Agmon Ben-Yehuda. http://ladypine.org ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Fwd: Ben Gurion - arrivals in Firefox
As always, please note that we have a workaround for using their website with a userscript - http://userscripts.org/scripts/show/14464 We are still tracking this issue. Please contact them and request them to fix it. https://bugzilla.mozilla.org/show_bug.cgi?id=329536 On Wed, Apr 28, 2010 at 05:46, Omer Zak w...@zak.co.il wrote: The ridiculous thing with the IAA Web site is that the landings page actively blocks non-IE browsers and prevents them from displaying the data. I am able to routinely check landing times by using View Source and searching for the flight number of interest. If you ask me, I'd look for a conspiracy theory there - such as a secret agreement with Microsoft to continue to block non-IE browsers. --- Omer On Wed, 2010-04-28 at 00:12 +0300, Stan Goodman wrote: At 16:57:57 on Tuesday Tuesday 27 April 2010, Gabor Szabo szab...@gmail.com wrote: This might interest some of you. (was in HTML originally but I textified with Gmail) Gabor I think the lady has tried to write an appropriate response, but has failed to do so. It isn't clear to me that she understands that the present website is demanding the use of proprietary software (IE) in an environment that has always been intended to be vendor neutral. I think she ought to receive and answer to her letter, asking point blank if the proposed new website will allow the use of non-Microsoft browsers that satisfy real Internet standards. She needs to be compelled to state that explicitly. If she can't do that, she needs to specify who is in a position to relate to the very specific question. If that is not done, we stand an excellent change of finding that the new website again required Internet Explorer, and being fobbed off again (as in the case of the Maccabi website), that the IE requirement is unavoidable because if is the only really secure browser. -- Forwarded message -- From: Telma Shamir tel...@iaa.gov.il Date: Mon, Mar 22, 2010 at 11:59 AM Subject: Ben Gurion - arrivals in Firefox To: szab...@gmail.com Dear Mr. Szabo, Thank you for your e-mail. In reply to your remark I would like to inform you as follows: The IAA site was characterized in 2003, written in CMS Microsoft technology and supports internet Explorer browser. This type of system is based on technology which Varies often, and so do the users' requirements. The Life Expectancy of such software is estimated at 5 to 7 years. Since 2003 we have had many such requests for other Browsers from users. The IAA has considered the requests and has concluded That vast changes should be made. However, in order to do so we need to develop a new site which will respond among others to the need for other browsers. The new site is expected in a few months. In spite of the said above, and in order to satisfy the need of the users of other browsers in the meantime the IAA is now Updating the flight screen (arrivals and departures) information, the most sought information on our site, with an emphasis on adjusting the information to the users with disabilities. The flight information will comply with the W3C standard. We do hope that the update will be complete soon. In the meantime you may ask the Information at Ben-Gurion Airport – 972-3-975 (1 for English and then 9 for human voice). We are sorry for the inconvenience caused to you and other users. Best regards, Thalma Shamir Manager, Public Affairs Ben-Gurion Airport Tel: 972-3-9752386 Fax: 972-3-9752387 -- By running MS-Windows XP on your PC, you are probably a multi-zombie. My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- Tomer Cohen http://tomercohen.com ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
The web site of HaMakor does not work in Firefox
When looking at the website of HaMakor http://www.hamakor.org.il/ I see the butterfly on the top of the English About us menu item and I cannot click on the menu item. Typing http://www.hamakor.org.il/en/ worked and the menu item is highlighted. Using FF 3.5.9 on Ubuntu 9.10. regards Gabor http://szabgab.com/ ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Fwd: Ben Gurion - arrivals in Firefox
Hey all, It might be a good time to point out I wrote a few years ago a parser that makes a RSS feed for takeoff and landings, So its viewable in firefox and any other RSS reader. You can also use it for automation! Source code is there :) http://gnet.homelinux.com/nutinabag I am also hosting it, so feel free to use it, distribute and maybe then people will see its better than the site. Guy On Wed, 2010-04-28 at 10:47 +0300, Tomer Cohen wrote: As always, please note that we have a workaround for using their website with a userscript - http://userscripts.org/scripts/show/14464 We are still tracking this issue. Please contact them and request them to fix it. https://bugzilla.mozilla.org/show_bug.cgi?id=329536 On Wed, Apr 28, 2010 at 05:46, Omer Zak w...@zak.co.il wrote: The ridiculous thing with the IAA Web site is that the landings page actively blocks non-IE browsers and prevents them from displaying the data. I am able to routinely check landing times by using View Source and searching for the flight number of interest. If you ask me, I'd look for a conspiracy theory there - such as a secret agreement with Microsoft to continue to block non-IE browsers. --- Omer On Wed, 2010-04-28 at 00:12 +0300, Stan Goodman wrote: At 16:57:57 on Tuesday Tuesday 27 April 2010, Gabor Szabo szab...@gmail.com wrote: This might interest some of you. (was in HTML originally but I textified with Gmail) Gabor I think the lady has tried to write an appropriate response, but has failed to do so. It isn't clear to me that she understands that the present website is demanding the use of proprietary software (IE) in an environment that has always been intended to be vendor neutral. I think she ought to receive and answer to her letter, asking point blank if the proposed new website will allow the use of non-Microsoft browsers that satisfy real Internet standards. She needs to be compelled to state that explicitly. If she can't do that, she needs to specify who is in a position to relate to the very specific question. If that is not done, we stand an excellent change of finding that the new website again required Internet Explorer, and being fobbed off again (as in the case of the Maccabi website), that the IE requirement is unavoidable because if is the only really secure browser. -- Forwarded message -- From: Telma Shamir tel...@iaa.gov.il Date: Mon, Mar 22, 2010 at 11:59 AM Subject: Ben Gurion - arrivals in Firefox To: szab...@gmail.com Dear Mr. Szabo, Thank you for your e-mail. In reply to your remark I would like to inform you as follows: The IAA site was characterized in 2003, written in CMS Microsoft technology and supports internet Explorer browser. This type of system is based on technology which Varies often, and so do the users' requirements. The Life Expectancy of such software is estimated at 5 to 7 years. Since 2003 we have had many such requests for other Browsers from users. The IAA has considered the requests and has concluded That vast changes should be made. However, in order to do so we need to develop a new site which will respond among others to the need for other browsers. The new site is expected in a few months. In spite of the said above, and in order to satisfy the need of the users of other browsers in the meantime the IAA is now Updating the flight screen (arrivals and departures) information, the most sought information on our site, with an emphasis on adjusting the information to the users with disabilities. The flight information will comply with the W3C standard. We do hope that the update will be complete soon. In the meantime you may ask the Information at Ben-Gurion Airport – 972-3-975 (1 for English and then 9 for human voice). We are sorry for the inconvenience caused to you and
Re: The web site of HaMakor does not work in Firefox
Works for me on Firefox 3.6.3 under Arch Linux. Ido On Wed, Apr 28, 2010 at 12:44, Gabor Szabo szab...@gmail.com wrote: When looking at the website of HaMakor http://www.hamakor.org.il/ I see the butterfly on the top of the English About us menu item and I cannot click on the menu item. Typing http://www.hamakor.org.il/en/ worked and the menu item is highlighted. Using FF 3.5.9 on Ubuntu 9.10. regards Gabor http://szabgab.com/ ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Fwd: Ben Gurion - arrivals in Firefox
Since only the list readers are familiar with your workaround (unless more publicizing it), I'd recommend contacting them and even giving them the source code. They can fix their issues, and can give an official temporary solution for such issues. On Wed, Apr 28, 2010 at 13:12, Guy Sheffer guysof...@gmail.com wrote: Hey all, It might be a good time to point out I wrote a few years ago a parser that makes a RSS feed for takeoff and landings, So its viewable in firefox and any other RSS reader. You can also use it for automation! Source code is there :) http://gnet.homelinux.com/nutinabag I am also hosting it, so feel free to use it, distribute and maybe then people will see its better than the site. Guy On Wed, 2010-04-28 at 10:47 +0300, Tomer Cohen wrote: As always, please note that we have a workaround for using their website with a userscript - http://userscripts.org/scripts/show/14464 We are still tracking this issue. Please contact them and request them to fix it. https://bugzilla.mozilla.org/show_bug.cgi?id=329536 On Wed, Apr 28, 2010 at 05:46, Omer Zak w...@zak.co.il wrote: The ridiculous thing with the IAA Web site is that the landings page actively blocks non-IE browsers and prevents them from displaying the data. I am able to routinely check landing times by using View Source and searching for the flight number of interest. If you ask me, I'd look for a conspiracy theory there - such as a secret agreement with Microsoft to continue to block non-IE browsers. --- Omer On Wed, 2010-04-28 at 00:12 +0300, Stan Goodman wrote: At 16:57:57 on Tuesday Tuesday 27 April 2010, Gabor Szabo szab...@gmail.com wrote: This might interest some of you. (was in HTML originally but I textified with Gmail) Gabor I think the lady has tried to write an appropriate response, but has failed to do so. It isn't clear to me that she understands that the present website is demanding the use of proprietary software (IE) in an environment that has always been intended to be vendor neutral. I think she ought to receive and answer to her letter, asking point blank if the proposed new website will allow the use of non-Microsoft browsers that satisfy real Internet standards. She needs to be compelled to state that explicitly. If she can't do that, she needs to specify who is in a position to relate to the very specific question. If that is not done, we stand an excellent change of finding that the new website again required Internet Explorer, and being fobbed off again (as in the case of the Maccabi website), that the IE requirement is unavoidable because if is the only really secure browser. -- Forwarded message -- From: Telma Shamir tel...@iaa.gov.il Date: Mon, Mar 22, 2010 at 11:59 AM Subject: Ben Gurion - arrivals in Firefox To: szab...@gmail.com Dear Mr. Szabo, Thank you for your e-mail. In reply to your remark I would like to inform you as follows: The IAA site was characterized in 2003, written in CMS Microsoft technology and supports internet Explorer browser. This type of system is based on technology which Varies often, and so do the users' requirements. The Life Expectancy of such software is estimated at 5 to 7 years. Since 2003 we have had many such requests for other Browsers from users. The IAA has considered the requests and has concluded That vast changes should be made. However, in order to do so we need to develop a new site which will respond among others to the need for other browsers. The new site is expected in a few months. In spite of the said above, and in order to satisfy the need of the users of other browsers in the meantime the IAA is now Updating the flight screen (arrivals and departures) information, the most sought information on our site, with an emphasis on adjusting the information to the users with
Re: The web site of HaMakor does not work in Firefox
Works here too: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.3) Gecko/20100424 Gentoo BetterPrivacy-1.47 Firefox/3.6.3 Kfir 2010/4/28 ik ido...@gmail.com Works for me on Firefox 3.6.3 under Arch Linux. Ido On Wed, Apr 28, 2010 at 12:44, Gabor Szabo szab...@gmail.com wrote: When looking at the website of HaMakor http://www.hamakor.org.il/ I see the butterfly on the top of the English About us menu item and I cannot click on the menu item. Typing http://www.hamakor.org.il/en/ worked and the menu item is highlighted. Using FF 3.5.9 on Ubuntu 9.10. regards Gabor http://szabgab.com/ ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: The web site of HaMakor does not work in Firefox
This depends on your resolution and font size. I'll try to find a way to make it better, but not sure I can. Kaplan On Wed, Apr 28, 2010 at 12:44 PM, Gabor Szabo szab...@gmail.com wrote: When looking at the website of HaMakor http://www.hamakor.org.il/ I see the butterfly on the top of the English About us menu item and I cannot click on the menu item. Typing http://www.hamakor.org.il/en/ worked and the menu item is highlighted. Using FF 3.5.9 on Ubuntu 9.10. regards Gabor http://szabgab.com/ ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- Lior Kaplan GPG fingerprints: C644 D0B3 92F4 8FE4 4662 B541 1558 9445 99E8 1DA0 2D8A 3CE5 94D0 D815 ABDE EE23 9E44 A8F9 2D28 0129 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Thanks for participating in the rant workshop
Dear all, I would like to thank all of you who attended Monday's rant workshop, both in physical form and from the distance. To recap what happened, we started with a short discussion about this entire idea, and whether this is useful or not. After Dotan suggested to coordinate a long-term initiative in the matter (which he sent an email to the mailing list yesterday), we started sending emails. We looked at hamakor's wiki, and picked websites at random, trying to verify their lack of support for FF and other Linux browsers [1]. We checked FF on Windows, as well as several browsers (chrome, FF, etc.) on Linux, and when there was a difference we looked for the contact persons. First of all we found out that many of the websites that are listed there became accessible on FF (either due to better website or better FF versions). Which forced us to look very carefully for the problematic websites. The list of all problematic websites which contacted are listed at http://www.haifux.org/lectures/233/website.txt. Fill free to send them comments yourself. Please note that this is a very short list, as the actual part of the meeting started relatively late (following the discussion), and the fact that there were only a few people attending (so when some of them left, it was a two-men show). For future events (if anyone wishes to do so), it is advised to ask for the verification of the website before the meeting. Also, it would be wise to try and view the sites in question using hand-held devices. [1] - We did not check W3 compliance. The reason was that we assume webmasters are more concerned with does the site works rather than how the site works. Hence, we tried only graphical interfaces (sorry, no lynx), and we had no problem deeming a website functional when the everything worked on Linux. Best regards, Orr. -- Orr Dunkelman, orr.dunkel...@gmail.com GPG fingerprint: C2D5 C6D6 9A24 9A95 C5B3 2023 6CAB 4A7C B73F D0AA (This key will never sign Emails, only other PGP keys. The key corresponds to o...@vipe.technion.ac.il) ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: The web site of HaMakor does not work in Firefox
try this: #logo { float:left; left:-180px; position:relative; z-index:1; } 2010/4/28 Lior Kaplan kaplanl...@gmail.com: This depends on your resolution and font size. I'll try to find a way to make it better, but not sure I can. Kaplan On Wed, Apr 28, 2010 at 12:44 PM, Gabor Szabo szab...@gmail.com wrote: When looking at the website of HaMakor http://www.hamakor.org.il/ I see the butterfly on the top of the English About us menu item and I cannot click on the menu item. Typing http://www.hamakor.org.il/en/ worked and the menu item is highlighted. Using FF 3.5.9 on Ubuntu 9.10. regards Gabor http://szabgab.com/ ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- Lior Kaplan GPG fingerprints: C644 D0B3 92F4 8FE4 4662 B541 1558 9445 99E8 1DA0 2D8A 3CE5 94D0 D815 ABDE EE23 9E44 A8F9 2D28 0129 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
RE: Script to find out the name of the parsha
The names are in /usr/share/calendar/calensar.judaic. Unfortunately, the dates are out of date. See http://www.mail-archive.com/linux-il@cs.huji.ac.il/msg58148.html. Opening a bug about it is in my to do list. I wonder when I'll do it. Date: Wed, 28 Apr 2010 10:46:58 +0300 Subject: Re: Script to find out the name of the parsha From: kobi.za...@gmail.com To: da...@davidsconsultants.com; linux-il@cs.huji.ac.il here are scripts in perl and python: # apt-get install libhdate-python # import hdate year = 2010 h = hdate.Hdate() h.set_gdate(1,1,year) julian = h.get_julian() for i in range(0,365): h.set_jd(julian) julian += 1 day = h.get_gday() month = h.get_gmonth() parasha = h.get_parasha_string(1) if parasha != 'none': print %02d/%02d %s % (day, month, parasha) #--- # apt-get install libhdate-perl #-- use strict; use warnings; use hdate; my $year = 2010; my $h = new hdate::Hdate(); $h-set_gdate(1,1,$year); my $julian = $h-get_julian(); for(my $i = 0; $i 365; $i++) { $h-set_jd($julian + $i); my $day = $h-get_gday(); my $month = $h-get_gmonth(); my $parasha = $h-get_parasha_string(1); if (not $parasha eq none) { print $day/$month $parasha\n; } } #--- 2010/4/28 Orna Agmon Ben-Yehuda : You can try to make something out of Hebcal - http://www.hebcal.com/sedrot/ On Wed, Apr 28, 2010 at 9:47 AM, David Suna wrote: Does anyone know of a script (preferably in PHP) that given a date will return the name of the parsha (torah portion) for that week? -- David Suna da...@davidsconsultants.com ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- Orna Agmon Ben-Yehuda. http://ladypine.org ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il _ Hotmail: שירות דואר אלקטרוני מהימן ועשיר המסופק בחינם. https://signup.live.com/signup.aspx?id=60969 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il