Re: Hebrew calendar software creators: can you notify this list when updating the calendar?
On 14 April 2010 09:25, Nadav Har'El wrote: > On Wed, Apr 14, 2010, Dotan Cohen wrote about "Re: Hebrew calendar software > creators: can you notify this list when updating the calendar?": >> I meant in terms of actually generating that file. It looks like itwould >> need to be hand edited, which I can do once a year, but not for 200 years > > Why would it need to be hand-edited? Calculating the Gregorian dates of the > Jewish years can be completely automatic. First try to simply use existing > free software out there (e.g., hcal, luach) you can try looking at its code, > and at worst I can try to dig up the Jewish calendar code that I once wrote > but never published. But you shouldn't need to do anything manually! > I agree with your assessment about hand-editing, but I wanted to be sure before I get in too deep. Send to me the code, I will try to get something useful out of it. Unless it's Perl. Don't send me Perl! > The bigger question, I think, is - can this "judaic.calendar" file contain > data for several years, or just a single year? Like I said, I consider the > data for a single year to be *worthless*, and I wouldn't even bother > updating it. After all, what do you do in December when you want to plan > your Pesach vacation, and mistakenly find the date of last year's Pesach? > I agree, ideally the file would not need to exist. However, we do not live in an ideal world. Lke you I consider at least two generations of living humans in each direction to be the minimum acceptable time frame that a usable calendar would support. > Finally, I'm at a loss - what is this file good for anyway? Which applications > use it? > Presumably Korganizer, which has a Jewish Date plugin. I will ask on the KDE-PIM list. See also this post: http://www.layt.net/john/blog/odysseus/ethiopean_and_coptic_calendar_systems_for_44 -- Dotan Cohen http://bido.com http://what-is-what.com ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Hebrew calendar software creators: can you notify this list when updating the calendar?
On Wednesday 14 Apr 2010 09:57:28 Dotan Cohen wrote: > On 14 April 2010 09:25, Nadav Har'El wrote: > > On Wed, Apr 14, 2010, Dotan Cohen wrote about "Re: Hebrew calendar software creators: can you notify this list when updating the calendar?": > >> I meant in terms of actually generating that file. It looks like itwould > >> need to be hand edited, which I can do once a year, but not for 200 > >> years > > > > Why would it need to be hand-edited? Calculating the Gregorian dates of > > the Jewish years can be completely automatic. First try to simply use > > existing free software out there (e.g., hcal, luach) you can try looking > > at its code, and at worst I can try to dig up the Jewish calendar code > > that I once wrote but never published. But you shouldn't need to do > > anything manually! > > I agree with your assessment about hand-editing, but I wanted to be > sure before I get in too deep. Send to me the code, I will try to get > something useful out of it. Unless it's Perl. Don't send me Perl! > I have some 16-bit Turbo C++ C source code to convert the Gregorian Calendar to the Jewish calendar here: http://www.shlomifish.org/open-source/nostalgia/ It's MIT/X11, but will take some effort to adapt and I've found much more elegant code in C in the past on the Net (which during my work for Cortext Web Design, I translated into Perl 5, back in 1996ish. It was since lost.). I think it was GPLed. I also have versions of this code in COBOL.NET, Intercal, PDP-10 Assembly, J, APL, Windows NT 4.0 Batch script and Autocad Lisp - I'm sure you can handle all of them because none of them is Perl. ;-). Perlfully and Painfully yours, Shlomi Fish -- - Shlomi Fish http://www.shlomifish.org/ Freecell Solver - http://fc-solve.berlios.de/ Deletionists delete Wikipedia articles that they consider lame. Chuck Norris deletes deletionists whom he considers lame. Please reply to list if it's a mailing list post - http://shlom.in/reply . ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Hebrew calendar software creators: can you notify this list when updating the calendar?
Dotan Cohen wrote: It looks like it would need to be hand edited Watch your language! Shachar -- Shachar Shemesh Lingnu Open Source Consulting Ltd. http://www.lingnu.com ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
mendele.co.il and linux
Just continuing and old thread about encouraging businesses which support Linux, mendele.co.il provide instructions on how to install fbreader specifically on Linux, and mention that it's included in Debian and Ubuntu: http://mendele.co.il/?page_id=99 Cheers for them. --Amos ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Grub4DOS
Hi, Anyone pressed ESC a few times before Windows 7 starts? It has GRUB4DOS showing up as a menu selector :) Nice ha? Thanks, Noam. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Grub4DOS
Noam Rathaus wrote: Hi, Anyone pressed ESC a few times before Windows 7 starts? It has GRUB4DOS showing up as a menu selector :) Nice ha? Thanks, Noam. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il Are you sure this is not something to do with your specific installation? Shachar -- Shachar Shemesh Lingnu Open Source Consulting Ltd. http://www.lingnu.com ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Grub4DOS
Hi, Hrm, I really don't think so, but anything is possible. It is a Windows 7 under VirtualBox - but I am 99% sure, I didn't ask for this, nor does VirtualBox have anything on Grub4dos in its product docs. But after Googling, it appears that it is somehow related to VirtualBox, I wonder why VirtualBox's internal docs don't talk about it. My humble mistake. On Wed, Apr 14, 2010 at 5:19 PM, Shachar Shemesh wrote: > Noam Rathaus wrote: > > Hi, > > Anyone pressed ESC a few times before Windows 7 starts? > > It has GRUB4DOS showing up as a menu selector :) > > Nice ha? > > Thanks, > Noam. > > ___ > Linux-il mailing list > Linux-il@cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > > Are you sure this is not something to do with your specific installation? > > Shachar > > -- > Shachar Shemesh > Lingnu Open Source Consulting Ltd. > http://www.lingnu.com > ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Hebrew calendar software creators: can you notify this list when updating the calendar?
you can generate the list automatically using some scripting language , e.g. python: on debian: # apt-get install libhdate-python # import hdate year = 2010 h = hdate.Hdate() h.set_gdate(1,1,2010) julian = h.get_julian() for i in range(0,365): h.set_jd(julian) julian += 1 day = h.get_gday() month = h.get_gmonth() holyday = h.get_holyday_string(1) if holyday: print "%02d/%02d* %s" % (day, month, holyday) #--- 2010/4/14 Shachar Shemesh : > Dotan Cohen wrote: > > It looks like it would need to be hand edited > > > > Watch your language! > > Shachar > > > -- > Shachar Shemesh > Lingnu Open Source Consulting Ltd. > http://www.lingnu.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: Hebrew calendar software creators: can you notify this list when updating the calendar?
> Date: Wed, 14 Apr 2010 09:25:48 +0300 > From: n...@math.technion.ac.il > To: dotanco...@gmail.com > CC: linux...@hotmail.com; linux-il@cs.huji.ac.il > Subject: Re: Hebrew calendar software creators: can you notify this list when > updating the calendar? > > Finally, I'm at a loss - what is this file good for anyway? Which applications > use it? > 1. Debian and derivatives, and probably others, seem to distribute a yearly calendar files. I think we should be there too. Even if the usability is limited, it still is. If/when they expand the usability of the other files, it would be easier to expand the usability of calendar.judaic if its initially there. 2. I think 2 things should be done about including an up to date calendar.judaic file in the distributions: 2.1 send a bug report with an up to date version. 2.2 send a bug report that include the script for generating an up to date version. Hopefully, the maintainers will have the script run automatically each time they need an up to date file, so that an outsider intervention, such as ours, can be minimal. In addition, with a well documented process of generating the file, it would be easier for any one to create an up to date version and file a bug for its inclusion. 3. Is there a way to semi automatically create the non regular dates, such as the postponed date of the holocaust day? Is there a known authoritative sites to pick these dates from? _ 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
Re: mendele.co.il and linux
On Wednesday, 14 בApril 2010 13:25:05 Amos Shapira wrote: > Just continuing and old thread about encouraging businesses which > support Linux, mendele.co.il provide instructions on how to install > fbreader specifically on Linux, and mention that it's included in > Debian and Ubuntu: > > http://mendele.co.il/?page_id=99 > > Cheers for them. Even more important, it is a free software (GPL) which means that not only we are not locked out of this market, we are also not locked-in to specific vendors. -- Oron Peled Voice: +972-4-8228492 o...@actcom.co.il http://users.actcom.co.il/~oron Ignore Your Rights And They'll Go Away ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Grub4DOS
Are you sure you have legal copy of Windows 7? I know some pirate copies doing tricks similar to this in order to load emulated BIOS before Windows starts. On Wed, Apr 14, 2010 at 17:33, Noam Rathaus wrote: > Hi, > > Hrm, I really don't think so, but anything is possible. > > It is a Windows 7 under VirtualBox - but I am 99% sure, I didn't ask > for this, nor does VirtualBox have anything on Grub4dos in its product > docs. > > But after Googling, it appears that it is somehow related to > VirtualBox, I wonder why VirtualBox's internal docs don't talk about > it. > > My humble mistake. > > On Wed, Apr 14, 2010 at 5:19 PM, Shachar Shemesh > wrote: > > Noam Rathaus wrote: > > > > Hi, > > > > Anyone pressed ESC a few times before Windows 7 starts? > > > > It has GRUB4DOS showing up as a menu selector :) > > > > Nice ha? > > > > Thanks, > > Noam. > > > > ___ > > Linux-il mailing list > > Linux-il@cs.huji.ac.il > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > > > > > Are you sure this is not something to do with your specific installation? > > > > Shachar > > > > -- > > Shachar Shemesh > > Lingnu Open Source Consulting Ltd. > > http://www.lingnu.com > > > > ___ > 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
request for help regarding a bidi patch
Hello list, I have a small help to ask you, that I've wrote about it at: http://whatsup.org.il/forum/53484 (Hebrew). To make things short, I've created a patch to support BiDi on Lazarus implementation in GTK2. In order to apply the patch, they want to make sure that the two binding functions I've added supported in all current major Linux distro's. I wish to find out, what is the earliest version of libpango and the earliest distro version that have the support of the following functions: pango_unichar_direction pango_find_base_dir I will appreciate any help on this matter, Thanks, Ido http://ik.homelinux.org/ ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: request for help regarding a bidi patch
In Debian Lenny, the libpango version (libpango1.0-0) is 1.20.5-5+lenny1 In this version, /usr/include/pango-1.0/pango/pango-types.h declares the functions which you need. Outputs requested by you: $ objdump --dynamic-syms /usr/lib/libpango*.so | grep base_dir 00016500 gDF .text 0130 Base pango_itemize_with_base_dir 00028a20 gDF .text 00a6 Basepango_find_base_dir 00015060 gDF .text 0050 Basepango_context_set_base_dir 00015000 gDF .text 0052 Basepango_context_get_base_dir $ objdump --dynamic-syms /usr/lib/libpango*.so | grep unichar_direction 000289e0 gDF .text 0034 Basepango_unichar_direction I have also a directory with files from RedHat 8.0, where the pango version is 1.1.1 (from August 2002). In this version, the functions which you need don't exist. >From modern pango changelog.gz: Overview of changes between 1.3.3 and 1.3.5 === * Add support for automatically determining the base direction for PangoLayout from the contained text [Dov Grobgeld] So the first supporting version is probably somewhere between 1.3.5 and 1.20.5-4 (inclusive). --- Omer On Wed, 2010-04-14 at 23:31 +0300, ik wrote: > Hello list, > > I have a small help to ask you, that I've wrote about it at: > http://whatsup.org.il/forum/53484 (Hebrew). > > To make things short, I've created a patch to support BiDi on Lazarus > implementation in GTK2. > In order to apply the patch, they want to make sure that the two > binding functions I've added supported in all current major Linux > distro's. > > I wish to find out, what is the earliest version of libpango and the > earliest distro version that have the support of the following > functions: > pango_unichar_direction > > pango_find_base_dir > > I will appreciate any help on this matter, -- Every good master plan involves building a time machine. Moshe Zadka 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
Re: Hebrew calendar software creators: can you notify this list when updating the calendar?
> 3. Is there a way to semi automatically create the non regular dates, > such as the postponed date of the holocaust day? Is there a known > authoritative sites to pick these dates from? there are some fully automated ways :-) : I. the command line hdate: hdate -H 2010 will print all the holidays for the year 2010 II. a python/perl script using libhdate will generate a list of holidays: an example of such a python script is attached in earlier post in this discussion. here is a perl example: # apt-get install libhdate-perl #--- use hdate; $h = hdatec::new_Hdate(); hdatec::Hdate_set_gdate($h,1,1,2010); $julian = hdatec::Hdate_get_julian($h); for($i = 0; $i < 365; $i++) { hdatec::Hdate_set_jd($h, $julian + $i); $day = hdatec::Hdate_get_gday($h); $month = hdatec::Hdate_get_gmonth($h); $holyday = hdatec::Hdate_get_holyday_string($h, 1); if ($holyday) { print $day . "/" . $month . " " . $holyday . "\n"; } } ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
High Availability
I guess this is more a theological question. Would you build a web site infrastructure that needs to be highly available using a single machine where the front end servers are virtual servers? Is this even considered highly available or might it be what's some may call "partially highly available J"? berber ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Grub4DOS
Legal as legal can be I think it is virtual box boot manager which I apparently selected at one point On Apr 14, 2010 11:32 PM, "Tomer Cohen" wrote: Are you sure you have legal copy of Windows 7? I know some pirate copies doing tricks similar to this in order to load emulated BIOS before Windows starts. On Wed, Apr 14, 2010 at 17:33, Noam Rathaus wrote: > > Hi, > > Hrm, I re... -- 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
Re: High Availability
2010/4/15 Boaz Yahav(berber) > I guess this is more a theological question. > > > > Would you build a web site infrastructure that needs to be highly > available using a single machine where the front end servers are virtual > servers? > > Is this even considered highly available or might it be what's some may > call "partially highly available J"? > > > Using Linux more than a decade, I can say that if you're competent enough as a system administrator (which you should be, if you "go big" and start high-availability-ing your stuff - you need to understand what you're doing) - I've learned that most of the time, a downtime of a Linux system is due to... hardware issues; So, if you trust your hardware platform (single machine), there is really no point in partitioning your hardware power to multiple "machines" that all do the same thing - you just add more overhead, and more stuff to manage, and when your hardware fails, you're not going to be highly available, but instead, not available at all ;) So no, I think the key for high availability is: * Redundancy - the more the merrier - and nothing should depend on nothing else - meaning - there should be no single point of failure [ = one thing that breaks that makes everything go down. A good example is Shared Storage ] * Quality Hardware (I personally prefer HP - continuing the line of Compaq from the past) * Reliable OS! Can't stress this enough. Of course, reading this on linux-il - you've already made the right choice ;) Also remember that your hardware and software are not alone in the game. A website needs to be connected to the Internet. Even if you hardware and software are up 24/7/365 - if your switch/router/network connection dies for some reason, the web site will still be down, as far as the customers care. So you need multiple network connections from multiple ISPs on your own IP netblock that you can advertise to all the links that are currently up :-) HTH, -- Shimi ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: High Availability
On Apr 15, 2010, at 7:53 AM, shimi wrote: Using Linux more than a decade, I can say that if you're competent enough as a system administrator (which you should be, if you "go big" and start high-availability-ing your stuff - you need to understand what you're doing) - I've learned that most of the time, a downtime of a Linux system is due to... hardware issues; Obviously you have never used UBUNTU :-( Geoff. -- geoffrey mendelson N3OWJ/4X1GM Jerusalem Israel geoffreymendel...@gmail.com New word I coined 12/13/09, "Sub-Wikipedia" adj, describing knowledge or understanding, as in he has a sub-wikipedia understanding of the situation. i.e possessing less facts or information than can be found in the Wikipedia. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: High Availability
2010/4/15 Boaz Yahav(berber) : > I guess this is more a theological question. > > > > Would you build a web site infrastructure that needs to be highly available > using a single machine where the front end servers are virtual servers? > > Is this even considered highly available or might it be what's some may > call "partially highly available J"? Seconding Shimi's reply - a single hardware server is a major single point of failure. You need at least two of each (even routers and uplinks if you can afford it, let alone network interfaces and redundant shared storage et al. so not even the backplane of the SAN box or the network interface is a SPoF). Putting the front end in a virtual server adds to its isolation from the rest of the system since it is more likely to be the target for an attack, but it won't help high availability one bit. The tools are not overly complicated - just take: 1. a couple of towers or rack-mounts with hardware you rely on 2. RAID 1+0 disks 3. at least two network cards for each address, bonded 4. if possible then redundant routers, you can achieve this with linux servers but we just opted for hardware. 5. If you need shared storage then you can build a SAN box with linux+DRBD+iSCSI if you don't want the hardware option. 6. Put an LVS load balancer in front of the front-ends, you can even run them primary-primary with multiple public addresses. "fake" for internal "floating" ip address if you need it. DRBD and linux-ha or mysql/postgresql replication for database redundancy. --Amos ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: High Availability
A number of issues: First - what. You need to replicate (a) links, (b) storage, (c) service machines. Links are internal and external. Multipath internet connexions. Multipath LAN connexions. Multipath storage links. Redund network infrastructure (switches, routers, firewalls, IDS/IPS). Replicate storage. If you use SAN with dedicated links, multipath links and storage. Redund storage hardware and add storage replication. Add auto-promotion, takeover, and (if possible) partition prevention mechanisms. Use STONITH. Service machines are the easiest to replicte. Simple heartbeat will provide a significant level of failover and/or failback. Here, likewise, use STONITH or other partition prevention mechanisms. Under-utilize. 70% duty cycle is good. Expect costing hikes. M ---MAV Marc. Volovic +972-54-467-6764 marcvolo...@me.com Sent from my iPhone On Apr 15, 2010, at 7:35, "Boaz Yahav(berber)" sites.com> wrote: I guess this is more a theological question. Would you build a web site infrastructure that needs to be highly available using a single machine where the front end servers are virtual servers? Is this even considered highly available or might it be what's some may call "partially highly available J"? berber ___ 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