Sandaysoft

Support forum for Cumulus weather station software
It is currently Mon May 20, 2013 12:09 pm
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation)
Please put your approximate location into your profile
Add your web site to the Cumulus user map
Vantage Pro2 users with firmware 3.00 should upgrade to fw 3.12 and Cumulus 1.9.4

All times are UTC




Post new topic Reply to topic  [ 35 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: New template: Weather Sky!
PostPosted: Wed Aug 15, 2012 2:31 pm 
Offline
User avatar

Joined: Thu Dec 17, 2009 2:03 pm
Posts: 787
Location: Hurstpierpoint, West Sussex, UK
Weather Station: WH1081
Operating System: Windows XP & 7 Pro
robynfali wrote:
I gotta ask something here, and please excuse me if it sounds pedantic

Microsoft & other software manufacturers, how many times do they release bug fixes etc,

So if a massive company can release something that's buggy, whats the big deal about one person doing all these things for free? does it REALLY matter, just come back, contact the writer and tell them?

Just my 2cents is all


Rob,

I agree with you. I am reminded of the saying “To err is human; to forgive, divine.” ;)

_________________
Neil
Hurstpierpoint Weather

Image


Top
 Profile  
 
 Post subject: Re: New template: Weather Sky!
PostPosted: Wed Aug 15, 2012 3:07 pm 
Offline
User avatar

Joined: Sun Jul 03, 2011 6:23 pm
Posts: 324
Location: Eastleigh, Hampshire, UK
Weather Station: Davis VP2 - 24hr FARS
Operating System: Windows 7 - 64 bit
Just to be clear, before I get taken to the gallows, I'm not simply having a pop @ Jacques but just saying how I test for errors and not just php errors. I use XAMPP and similar routines for other errors too as I'm sure a lot of users on here do to.

I have no doubt that Jacques work has been embraced by many who without it would not have a website ;) . I also hope some of those people get "the bug" and go on to create their own web site templates.

_________________
Duke

Nightingale Weather PHP
Eastleigh, Hampshire, UK


Top
 Profile  
 
 Post subject: Re: New template: Weather Sky!
PostPosted: Wed Aug 15, 2012 3:21 pm 
Offline
User avatar

Joined: Sat Jul 31, 2010 10:34 pm
Posts: 1039
Location: Anglesey, North Wales, UK
Weather Station: Fine Offset
Operating System: Windows XP
I am just generalising Duke, not targeting, the ropes not out yet lol :D

_________________
Rob,
Dyffryn History on WU Dyffryn on Twitter Dyffryn on WOW
Image


Top
 Profile  
 
 Post subject: Re: New template: Weather Sky!
PostPosted: Wed Aug 15, 2012 4:22 pm 
Offline
User avatar

Joined: Sun Jul 03, 2011 6:23 pm
Posts: 324
Location: Eastleigh, Hampshire, UK
Weather Station: Davis VP2 - 24hr FARS
Operating System: Windows 7 - 64 bit
Thank you Rob ;) . Rather than hijack Jacques thread would, any one be interested in starting a thread on the merits of php error reporting?

_________________
Duke

Nightingale Weather PHP
Eastleigh, Hampshire, UK


Top
 Profile  
 
 Post subject: Re: New template: Weather Sky!
PostPosted: Wed Aug 15, 2012 5:21 pm 
Offline
User avatar

Joined: Tue Jul 27, 2010 3:51 am
Posts: 539
Location: St-Ours, Québec, Canada
Weather Station: National Geographic 265nc
Operating System: XP SP3
... I'm using UwAmp.

JacquesD


Top
 Profile  
 
 Post subject: Re: New template: Weather Sky!
PostPosted: Thu Aug 16, 2012 1:52 am 
Offline

Joined: Mon Aug 10, 2009 10:16 pm
Posts: 1797
Location: World...
Weather Station: No weather station
Operating System: No operating system
Rob, some comments on your statement...
robynfali wrote:
Microsoft & other software manufacturers, how many times do they release bug fixes etc,

So if a massive company can release something that's buggy, whats the big deal about one person doing all these things for free? does it REALLY matter, just come back, contact the writer and tell them?
Do you have any idea on the number of people involved in the production of a software from, for example, the massive company that Microsoft appears to you - thousands, with each person or each small groups of people designing just one little part of a complete software package - although that are hundred of people just there to put together those hundred of small bits/pieces of code into what will be a complete software package and testing to ensure that all the bits/pieces of code fit together, under most situations, all those bits/pieces of code will operate together in harmony - but then, when one unexpected action is performed, then the complete software crashes!

I might not have been working directly at Microsoft (I have been a few times at their campus in Redmond WA USA), but, indirectly, for/with a small programming company that did some work for many of those massive companies... More than once, complaints were sent to those massive companies in order to figure out what end results they were trying to achieve and in most replies, no one was too sure...

The point I am getting at, it that properly written code should not produce error...

To used a software we are familiar with - how often has Steve Cumulus code produce an error message - in the almost 3 years I have been using Cumulus, I cannot remember Cumulus ever reporting an operating error - and I can only assume there are nearly a thousand lines of code (if not more) - I am also sure Steve tests Cumulus with the option to display the error messages on.

So, why would someone release a set of templates with coding errors left in them - I am certainly not pretending those template contain thousand of lines of code, maybe a few hundred.

Oh, patches are usually released to either correct small flaws in the software, to add new functions or to add additional security options.

Just my nickel (Canada has removed the cent/penny from circulation)...


Top
 Profile  
 
 Post subject: Re: New template: Weather Sky!
PostPosted: Thu Aug 16, 2012 2:32 am 
Offline
User avatar

Joined: Tue Jul 27, 2010 3:51 am
Posts: 539
Location: St-Ours, Québec, Canada
Weather Station: National Geographic 265nc
Operating System: XP SP3
gemini06720 wrote:
Enough! I am out of this thread and out of you 'dream world'...

You promised Ray!!!! :bash:


Top
 Profile  
 
 Post subject: Re: New template: Weather Sky!
PostPosted: Thu Aug 16, 2012 4:23 am 
Offline

Joined: Mon Aug 10, 2009 10:16 pm
Posts: 1797
Location: World...
Weather Station: No weather station
Operating System: No operating system
JacquesD wrote:
gemini06720 wrote:
Enough! I am out of this thread and out of you 'dream world'...
You promised Ray!!!! :bash:
First, I have never promised anything to you nor to anyone else for that matter... :evil:
Second, the message was not addressed to you... :shock:
Third, this is still a public forum... :?
Fourth, you might have started this thread, but, fortunately, you do not own nor have administrative rights to the Sandysoft forums... :roll:

JacquesD wrote:
... I'm using UwAmp.
This message is addressed to you, Jacques - this UwAmp you suggested (linked to) is old, very old in Internet time - last update was in February 2011 - it still using Apache 2.2.17 (with large weaknesses), outdated PHP 5.2.17/5.3.5 (default installation), etc.

Maybe you should follow other people suggestions to install the latest release of XAMPP for Windows (released July 2012) with the PHP debugging option switched to display ALL PHP error messages...


Top
 Profile  
 
 Post subject: Re: New template: Weather Sky!
PostPosted: Thu Aug 16, 2012 5:20 am 
Offline
User avatar

Joined: Wed May 06, 2009 5:02 am
Posts: 423
Location: Saratoga, CA, USA
Weather Station: Davis Vantage Pro Plus
Operating System: Windows XP SP3
I have found that how you present yourself via postings on a forum can be key to whether the advice you offer is judged by others as helpful or harmful. In my own postings, I strive to answer questions directly and factually, and not delve into arguments about the 'rightness' of a particular approach versus a different approach to solving a issue.

Based on my personal experience, I've found that Ray has some strongly held views on coding practices and evidences little tolerance for alternative approaches. That's fine .. with source code, be it HTML, CSS, PHP or JavaScript, there's always more than one way to accomplish a function. I don't think it's fine to try and browbeat someone into a particular viewpoint though .. persuasion through facts should be the approach taken, and smilies don't mitigate harshly phrased comments.

I think that what Jacques has done with his template sets is quite marvelous and I applaud his efforts and his willingness to freely share what he has done with the weather enthusiast community. I've some experience in this area (both in the development and subsequent support of free scripts), and know it is sometimes a thankless job. The personal reward comes when a nice email or posting arrives citing how the scripts have helped someone learn a bit to venture off on their own and further their hobby. It was the same start I got in 2004 when I began developing weather website scripts.

My 2cents (we still have the penny in circulation here)

Ken


Top
 Profile  
 
 Post subject: Re: New template: Weather Sky!
PostPosted: Thu Aug 16, 2012 5:56 am 
Offline
User avatar

Joined: Sat Jul 31, 2010 10:34 pm
Posts: 1039
Location: Anglesey, North Wales, UK
Weather Station: Fine Offset
Operating System: Windows XP
As I said Ray, not targeting anyone, as for Steves software, I am with you, I have never had any problems, but even Steve releases bug fixes.

If you want to target specifically, then to be perfectly honest, you come across as someone who doesn't chat, or suggest, they lecture and rant!

_________________
Rob,
Dyffryn History on WU Dyffryn on Twitter Dyffryn on WOW
Image


Top
 Profile  
 
 Post subject: Re: New template: Weather Sky!
PostPosted: Fri Aug 17, 2012 8:54 am 
Offline
User avatar

Joined: Sun Jul 03, 2011 6:23 pm
Posts: 324
Location: Eastleigh, Hampshire, UK
Weather Station: Davis VP2 - 24hr FARS
Operating System: Windows 7 - 64 bit
Quote:
.. persuasion through facts should be the approach taken

Were the facts not posted in an earlier post? And the solution?
Quote:
Code:
//-- Section WEBTAGS without COMMAS --
$RCdew = <#RCdew>;
$RCheatindex = <#RCheatindex>;
$RChum = <#RChum>;
$RCinhum = <#RCinhum>;
$RCintemp = <#RCintemp>;
$RCpress = <#RCpress>;
$RCpressTH = <#RCpressTH>;
$RCpressTL = <#RCpressTL>;
$RCrfall = <#RCrfall>;
$RCrrate = <#RCrrate>;
$RCrrateTM = <#RCrrateTM>;
$RCtemp = <#RCtemp>;
$RCtempTH = <#RCtempTH>;
$RCtempTL = <#RCtempTL>;
$RCwchill = <#RCwchill>;
$RCwgust = <#RCwgust>;
$RCwgustTM = <#RCwgustTM>;
$RCwspeed = <#RCwspeed>;
To prevent/remove the error message, the tags have to be included between single or double quotes:
Code:
//-- Section WEBTAGS without COMMAS --
$RCdew = '<#RCdew>';
$RCheatindex = '<#RCheatindex>';
$RChum = '<#RChum>';
$RCinhum = '<#RCinhum>';
$RCintemp = '<#RCintemp>';
$RCpress = '<#RCpress>';
$RCpressTH = '<#RCpressTH>';
$RCpressTL = '<#RCpressTL>';
$RCrfall = '<#RCrfall>';
$RCrrate = '<#RCrrate>';
$RCrrateTM = '<#RCrrateTM>';
$RCtemp = '<#RCtemp>';
$RCtempTH = '<#RCtempTH>';
$RCtempTL = '<#RCtempTL>';
$RCwchill = '<#RCwchill>';
$RCwgust = '<#RCwgust>';
$RCwgustTM = '<#RCwgustTM>';
$RCwspeed = '<#RCwspeed>';

_________________
Duke

Nightingale Weather PHP
Eastleigh, Hampshire, UK


Top
 Profile  
 
 Post subject: Re: New template: Weather Sky!
PostPosted: Fri Aug 17, 2012 9:12 am 
Offline
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2511
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
Isn't the problem that PHP should not ever be parsing the source file with the Cumulus tags in it? PHP should only parse the file once Cumulus has processed it and replaced the tags with numeric values - then there will be no errors generated. It is the same as expecting HTML with embedded tags to validate - it does not make sense, it is the post-processed HTML that needs to validate.

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: New template: Weather Sky!
PostPosted: Fri Aug 17, 2012 12:34 pm 
Offline
User avatar

Joined: Tue Jul 27, 2010 3:51 am
Posts: 539
Location: St-Ours, Québec, Canada
Weather Station: National Geographic 265nc
Operating System: XP SP3
Hi Duke,

This "bug" was present only 1h, because I haven't use the most recent version of wt_data_inc.php
when I launched it. This bug was discovered only when modifying code to make the bug appered,
but bug was already solved, zip file updated and update available on user's TMM.

I'm using a really different approach as I included my "Template Manager Module" to do things
in a new way, As pros we can want to have "hands in the mud", but those templates are geared to
dummies and users needing to be guided. Then no new zip file to analyse to find THE file that has been
upgraded.. or unzip all and live with the trouble of messed-up your things.

Approach now is:
1 - Find bug
2 - Inform me by posting
3 - I take action fast
4 - Corrected file available in TMM
5 - Zip file is updated.

Then, now I don't talk about a bug for weeks anymore! When I take note of a correction to do,
time was about 1h to have new file in TMM.

For now, in TMM:
- Weather Sky has 1 file update
- Weather Blues v2 has 5 files to update.

Then, please, update!

Regards,
Jacques


Top
 Profile  
 
 Post subject: Re: New template: Weather Sky!
PostPosted: Thu Sep 06, 2012 11:18 am 
Offline

Joined: Sat Jun 16, 2012 12:28 pm
Posts: 236
Location: Rhyl North Wales
Weather Station: Davis vp2 // N96GY
Operating System: vista / Samsung ace / Tablet
I have just got onto this post and I can say I am boiling up with some of the comments made it must be so good to be perfect I bow down to all thows perfect people out there how dare they publicly have a go at people whom are only trying to make a difference with
the noledge they have, everyone makes mistakes as Rob says microsoft and others make mistakes I run windows seven I still recieve fixes for that and I paid good money for that o/s I cant even get to grips with getting my webcam working via yawcam and my site there are lots on here who have tried to help I surpose what I am trying to say is Jacques and the team are doing a fantastic job what they dont need is some hi and mighty putting them down for it I think you should really find another forum to join or even start one yourself my opinion sorry Jacques and team keep up the good work.

Geoff

_________________
http://www.rhylweather.yolasite.com http://rhylweather.freeglovine.com


Top
 Profile  
 
 Post subject: Re: New template: Weather Sky!
PostPosted: Mon Dec 03, 2012 3:29 pm 
Offline
User avatar

Joined: Tue Jul 27, 2010 3:51 am
Posts: 539
Location: St-Ours, Québec, Canada
Weather Station: National Geographic 265nc
Operating System: XP SP3
Hi,

As many template users are excited by new webtags in Cumulus beta v1.9.3
and a little frustrated that I'm waiting that 1.9.3 become official. I've decided
to do a "month patch" for all templates available.

Weather Sky was the last one to wait for that patch, then this morning,
I've launched this long awaited page. You will see that this page merge Records
and Monthly Records in one page, you can simply choose period as a particular
month or click on "All time".

You can see step-by-step installation guide on this link:
http://weatherbyyou.com/forum/index.php?topic=521.0

Now all templates are "patched" for v1.9.3:
- Sunny Weather
- Weather Blues v1 & v2
- Weather Sky

Also, Weather Sunset is natively v1.9.3 compatible
(Not just "patched" for month records, all new webtags included)

Hope you'll enjoy,

Best regards,
Jacques


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 35 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group