| Index | Recent Threads | Unanswered Threads | Who's Active | Guidelines | Search |
| World Community Grid Forums
|
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 14623
|
|
| Author |
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
I'm pretty sure it's the predictor that's wrong. It gives the same answer for 42 years as it does for 42.9 (i.e. 4 days). It looks like it's dropping the decimal fraction. I'll see if I can fix that tonight. Hi Dave, Yup. My "envelope" gave 8 days as an estimate, so I think you're right, thanks! Just 'cos I mentioned it before: I think that the predictor is a potential source of difficulty because different places use different formats for run time. Your own ranking page says "42 years 41 days" and the WCG pages give "42:041:14:15:49", but in your reply you gave fractional years. If someone uses cut'n'paste to enter runtime it would be great if you could recognise and parse all these formats, otherwise it might be better to expressly ask for input in a specific format to make your life easier. Once again, many thanks for a great tool Dave! |
||
|
|
dcrobinson
Veteran Cruncher UK Joined: Mar 10, 2009 Post Count: 1176 Status: Offline Project Badges:
|
Once again, many thanks for a great tool Dave! Yeah, I'm often called a great tool by my boss ![]() Parsing the input for the run time could be relatively tricky. That may have to go on the long term wish list, but I should be able to support decimal fractions easily enough.
Dave Robinson, Malvern, UK
----------------------------------------[Edit 1 times, last edit by dcrobinson at Aug 6, 2018 1:38:42 PM] |
||
|
|
dcrobinson
Veteran Cruncher UK Joined: Mar 10, 2009 Post Count: 1176 Status: Offline Project Badges:
|
You can now enter decimal years for the predictor. If I get chance at some point I'll do the somewhat more difficult task of parsing a years/days string.
----------------------------------------
Dave Robinson, Malvern, UK
|
||
|
|
reduk
Senior Cruncher UK Joined: Mar 1, 2015 Post Count: 208 Status: Offline Project Badges:
|
Sorry @Mamajuanauk
---------------------------------------- 1 reduk 478 years 34 days 11.40 2 Mamajuanauk 477 years 297 days 11.39 |
||
|
|
RTS48
Veteran Cruncher Bolivia Joined: Aug 2, 2009 Post Count: 1353 Status: Offline Project Badges:
|
Good Afternoon All
----------------------------------------Sorry @Mamajuanauk 1 reduk 478 years 34 days 11.40 2 Mamajuanauk 477 years 297 days 11.39 Wow - I never thought that Mamajuanauk would be toppled. Congratulations reduk onwards and upwards.
Rod Peel
Santa Cruz Bolivia South America , ![]() |
||
|
|
dcrobinson
Veteran Cruncher UK Joined: Mar 10, 2009 Post Count: 1176 Status: Offline Project Badges:
|
Many congralutations reduk . Next target, 500 years.
----------------------------------------I notice that Snurk's signatures still aren't getting updated. Hopefully he'll bring it back online soon, although it looks like there is an issue with the WCG servers causing his updates to run very slowly :( Mine seems to be running ok, touch wood, although the scope of what I'm doing is less than his, due to mine being restricted to Team UK.
Dave Robinson, Malvern, UK
|
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Nice to see a fight at the top of the table -- well done reduk!
And Dave, just to say that the green appeared on cue, as you predicted. As to the predictor, thanks for getting decimals to work, but may I make a different suggestion? It seems that you're parsing out the number of years entered and ignoring what follows (until, maybe, you start to parse out more), but you're displaying the entire user entered string in the answer. If you were to echo only the (possible fractional) years that you actually used in the calculation, then it would be obvious that you have dropped the rest and the user could decide whether or not to put the fraction in themselves. [Just a thought to make it better for the user for minimal effort on your part.] |
||
|
|
dcrobinson
Veteran Cruncher UK Joined: Mar 10, 2009 Post Count: 1176 Status: Offline Project Badges:
|
As to the predictor, thanks for getting decimals to work, but may I make a different suggestion? It seems that you're parsing out the number of years entered and ignoring what follows (until, maybe, you start to parse out more), but you're displaying the entire user entered string in the answer. If you were to echo only the (possible fractional) years that you actually used in the calculation, then it would be obvious that you have dropped the rest and the user could decide whether or not to put the fraction in themselves. [Just a thought to make it better for the user for minimal effort on your part.] I' m pretty sure I'm processing the fraction Apis. In my case, if I enter "99 years for team", I get 99 years and 2,324 days in the answer. If I enter "99.1 years for team" I get 99.1 years and 2,330 days in the answer. 99.2 gives 2,336 etc.
Dave Robinson, Malvern, UK
|
||
|
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
I' m pretty sure I'm processing the fraction I'm sorry, I wasn't clear enough. And, yes, you are processing any decimal fraction of a year. But if I enter e.g. "42 years 41" days or "42:041:14:15:49" then you respond with, e.g. "With the current production rate 42:041:14:15:49 years of run time for the team will be achieved in 2 days." If you responded with merely "With the current production rate 42 years of run time for the team will be achieved in 2 days." then it would be clear that the rest (":041:14:15:49") had been ignored. That would tell me that maybe I need to work out the decimal fraction myself. Is that clearer? I'm just trying to help the user without giving you the task of parsing more complicated strings, though it would be great to have that ability ... ![]() |
||
|
|
dcrobinson
Veteran Cruncher UK Joined: Mar 10, 2009 Post Count: 1176 Status: Offline Project Badges:
|
Right. Got you. Understood.
----------------------------------------I'll see what I can do!
Dave Robinson, Malvern, UK
|
||
|
|
|