Actually it's been handy for me as I find the city/time display quite useful, so thanks Juanito for the impetus.
My torsmo was taking a second or two to start anyway, maybe coz I have acpi temp etc displayed.
May try to expand what it can pull in at the same time by using a different site containing more info - maybe display city temperature? Wonder if that would be interesting. Might make torsmo display 5 chars wider if on the same line as time.After waking up it occured to me that you cannot be forced to display credits on your own machine. I can maybe understand requiring it in distributed applications that use your service, but if that application is open the end users can modify it themselves to remove that credit.
After the information arrives at its intended destination the service provider has no say in how that info is used. After all the info itself is not property.Makes sense. I think timeanddate.com's notice (doesn't actually say anything as speciific as they 'must be acknowledged') would be a lot less feeble, and more visible, if they thought they had a chance of enforcing it. I don't mind acknowledging a free source - that is what they should specifically ask for.
torsmo starts slowly for me with or without this perl code.
Does torsmo just start slower when you load it with *any* script? And this double buffering thing ..?
Thinking about ways to speed up citytimes.pl eg
1. Don't download every single call. Instead, store the times and increment from the system clock, do correction from the web every hour or so. Needs to get seconds as well to do this.
2. Don't download a full page every time. Instead, parse the page on the fly while it downloads, stop downloading as soon as required info is received.
3. Make web page grepping more efficient (not much benefit).
Quote
1. Don't download every single call. Instead, store the times and increment from the system clock, do correction from the web every hour or so. Needs to get seconds as well to do this.
- For me this would be the way to go, with the added bonus that your machine's time zone does not need to be set correctly (I cannot set mine in dsl).
I left citytime/torsmo running over night and this morning there was just the url and no times displayed - I suppose the net connection dropped out at some point and stopped things working. If you go with the web correction method then I guess it could be programmed to do nothing if it cannot connect.I'll give this is go in the next few days.
The time display vanished for me also when left running overnight.Next Page...
original here.