[DQSD-Users] RE: DQSD-Users digest, Vol 1 #501 - 12 msgs
I don't know about other countries but in Singapore, there are a couple of holidays that are religious in nature and are calculated based on the movement of the stars and hence are rather hard to compute. In any case, I figured that updating the holidays file once a year isn't that much of an effort in comparison to developing a full-fledged rules engine! Cheers Sidney > From: "MLL" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Subject: RE: [DQSD-Users] Revised 2004 - holidays.sg.xml > Date: Sun, 4 Jan 2004 11:27:45 +0100 > Reply-To: [EMAIL PROTECTED] > > Hi Sidney, > Seems like you submitted the former file. > > And just a thought for everybody. Aren't singaporian, canadian, us = holidays > predictable several years in advance ? That would make things = leaner. Example : > after some research, I could build a holidays.fr.xml = with virtually no limit of > year (though I stopped at 2020). Easier. > > Happy new year to you all. > Take care, > MLL --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ To unsubscribe visit: https://lists.sourceforge.net/lists/listinfo/dqsd-users [EMAIL PROTECTED] http://sourceforge.net/mailarchive/forum.php?forum_id=8601
RE: [DQSD-Users] Revised 2004 - holidays.sg.xml
I agree. To me, this seems like the best of most worlds. Kim > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of MLL > Sent: den 5 januari 2004 20:13 > To: [EMAIL PROTECTED] > Subject: RE: [DQSD-Users] Revised 2004 - holidays.sg.xml > > IMHO, the best of both world would be to pre-build the > holidays files (with some smart engine maybe somebody feels > like building - I remember having built some stuff in vba+xls > to build the french one, can try to put a hand on it if > somebody needs it-) for the next, say, 20 years, and then > include them in the installation executable. > > MLL --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ To unsubscribe visit: https://lists.sourceforge.net/lists/listinfo/dqsd-users [EMAIL PROTECTED] http://sourceforge.net/mailarchive/forum.php?forum_id=8601
RE: [DQSD-Users] Revised 2004 - holidays.sg.xml
IMHO, the best of both world would be to pre-build the holidays files (with some smart engine maybe somebody feels like building - I remember having built some stuff in vba+xls to build the french one, can try to put a hand on it if somebody needs it-) for the next, say, 20 years, and then include them in the installation executable. MLL > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Will Dean > Sent: Monday, January 05, 2004 3:43 PM > To: [EMAIL PROTECTED] > Subject: Re: [DQSD-Users] Revised 2004 - holidays.sg.xml > > > At 08:21 05/01/2004 -0600, you wrote: > > >There have been issues in the past with the slow behavior of > the calendar.. > >Its a lot of JS to load.. There was even talk of splitting > the calendar out > >into its own add-in to not force the extra startup delay on > people who are > >not interested in running it... The calendar has been blamed > a bit on the > >slow startup (and hence disappearing tray icons) of the > toolbar.. Someone > >(sorry I dont remember who) did a ton of work on it to > greatly improve its > >speed. > > It was me, though it wasn't a ton, or even a tonne, of work, > really. I did > do a great deal of work on the 'about' box performance, but > that's been > lost in the huge increase in the number of searches. > > >Sorry to be negative.. This is all IMO of course.. FWIW.. > > I agree entirely - DQSD has already bloated to the point > where bits of it > (for example the menu) are now unusable, even to people > running on fairly > serious workstations. > > Personally, I don't think anybody should add anything which > slows it down > any further, unless they can do a matching amount of > optimisation work to > go with it. > > Unless DQSD is lightning-fast, it loses much of its original intent. > > I'm not trying to pick a fight here - indeed, I'm personally > responsible > for one of the worst bits of usability - the vast, > non-delayed tooltips > which flash up immediately one runs up the menu. Yuk. But I > don't feel > like fixing this bug, as it might take me half a day which I > don't have to > spare. > > Will > > > > > --- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign > up for IBM's > Free Linux Tutorials. Learn everything from the bash shell > to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > ___ > To unsubscribe visit: > https://lists.sourceforge.net/lists/listinfo/dqsd-users > [EMAIL PROTECTED] > http://sourceforge.net/mailarchive/forum.php?forum_id=8601 > --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click ___ To unsubscribe visit: https://lists.sourceforge.net/lists/listinfo/dqsd-users [EMAIL PROTECTED] http://sourceforge.net/mailarchive/forum.php?forum_id01
Re: [DQSD-Users] Revised 2004 - holidays.sg.xml
At 08:21 05/01/2004 -0600, you wrote: There have been issues in the past with the slow behavior of the calendar.. Its a lot of JS to load.. There was even talk of splitting the calendar out into its own add-in to not force the extra startup delay on people who are not interested in running it... The calendar has been blamed a bit on the slow startup (and hence disappearing tray icons) of the toolbar.. Someone (sorry I dont remember who) did a ton of work on it to greatly improve its speed. It was me, though it wasn't a ton, or even a tonne, of work, really. I did do a great deal of work on the 'about' box performance, but that's been lost in the huge increase in the number of searches. Sorry to be negative.. This is all IMO of course.. FWIW.. I agree entirely - DQSD has already bloated to the point where bits of it (for example the menu) are now unusable, even to people running on fairly serious workstations. Personally, I don't think anybody should add anything which slows it down any further, unless they can do a matching amount of optimisation work to go with it. Unless DQSD is lightning-fast, it loses much of its original intent. I'm not trying to pick a fight here - indeed, I'm personally responsible for one of the worst bits of usability - the vast, non-delayed tooltips which flash up immediately one runs up the menu. Yuk. But I don't feel like fixing this bug, as it might take me half a day which I don't have to spare. Will --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ To unsubscribe visit: https://lists.sourceforge.net/lists/listinfo/dqsd-users [EMAIL PROTECTED] http://sourceforge.net/mailarchive/forum.php?forum_id=8601
Re: [DQSD-Users] Revised 2004 - holidays.sg.xml
> > Wouldn't it be better to provide a ruleset style system that DQSD > > could then parse to generate the actual dates on it's own? > > You know, I thought about the same thing... > > > I think a solution that parsed > > *rules* out of the events file for the displayed month would be a > > better solution, since it would only really require updating the > > events file when new holidays were created. I dont know... Would this be worth the effort? I dont find it too difficult to throw together a holidays file, and since it only needs to be done once a year, I personally dont find it to be too big of a deal... It just seems to be a can-of-worms for what I see to be a potentially little gain... > > My only concern was that it may be sluggish driving all that with JS, but I > guess it's not really a problem. > I like the idea of having a generator that emits pre-processed raw data, > from a performance standpoint. There have been issues in the past with the slow behavior of the calendar.. Its a lot of JS to load.. There was even talk of splitting the calendar out into its own add-in to not force the extra startup delay on people who are not interested in running it... The calendar has been blamed a bit on the slow startup (and hence disappearing tray icons) of the toolbar.. Someone (sorry I dont remember who) did a ton of work on it to greatly improve its speed. I think holidays should only be delivered with a years' worth of entries.. (keep in mind that people could be adding their own local events on top of the delivered ones).. Does it make sense maintain event objects for years in the future? Sorry to be negative.. This is all IMO of course.. FWIW.. Monty --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ To unsubscribe visit: https://lists.sourceforge.net/lists/listinfo/dqsd-users [EMAIL PROTECTED] http://sourceforge.net/mailarchive/forum.php?forum_id=8601
Re: [DQSD-Users] Real-time holidays
After years of wondering how the various UK holiday dates get calculated, 30 seconds on Google looking for "Easter" and "algorithm" made it all clear! Just in case people are interested, there's a good javascript calculator here (click on "Return" links for the main page): http://tech.irt.org/articles/js052/source.htm There's also a good explanation of how various other holidays and festivals (Shrove Tuesday etc.) are calculated around the Easter date: http://www.geofftech.co.uk/obsessions/easter/ James Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ To unsubscribe visit: https://lists.sourceforge.net/lists/listinfo/dqsd-users [EMAIL PROTECTED] http://sourceforge.net/mailarchive/forum.php?forum_id=8601
Re: [DQSD-Users] Real-time holidays
Well, if that's going to be done then the UK holidays can be a bit difficult. In particular, holidays falling on a weekend are celebrated on the Monday following. If two consecutive holidays fall on a Saturday and Sunday, they are observed on the Monday and Tuesday following. Presumably that would need some kind of country-specific switch (or is that a general rule for other countries as well?). UK holidays are also occasionally a bit unpredictable - for example, the Spring Bank Holiday is usually the last Monday in May, but back in 2002 was changed to Tuesday 4 June to pair up with a special Bank Holiday on Monday 3 June (Golden Jubilee Bank Holiday) to give a 4-day weekend. This might not sound too convenient, but would it be worth including the possibility for some kind of "holiday exceptions" in a country-specific file (e.g. the main holidays file) so that a holiday defined by parsing of previous parameters in the file can be cancelled, and so that other holidays can be added? We would also need to draw a distinction between holidays and festivals - I've got a load of festivals such as Mothering Sunday, Commonwealth Day and Shrove Tuesday in holidays.gb.xml which aren't holidays (and don't obey the above rule about holidays falling on a weekend) but which are nice to include anyway. Thanks. James Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ To unsubscribe visit: https://lists.sourceforge.net/lists/listinfo/dqsd-users [EMAIL PROTECTED] http://sourceforge.net/mailarchive/forum.php?forum_id=8601