Page 1 of 1

PPD Calc?

Posted: Sat Jun 04, 2011 5:38 am
by ndimario
I found myself using the bonus calculator located http://linuxforge.net/bonuscalc2.php to figure out what my PPD was. However I noticed that too many projects were missing (mostly newer projects), so I read the source of the page and figured out the formula and did it on paper. Then since I was doing it so often, I decided to make a program out of it. Since I was recently working on a monitoring program in Java, I decided to use my prior knowledge of that to make a simple bonus calculator that requires the TPF, credit, preferred and final deadlines, along with kfactor inputted. This calculator worked but took too much time to input all these values. So now the program (on program startup) reads the project summaries site and contains a link list of information that remains as long as the program is running (containing the values previously needed without user input). The program now needs only TPF and Project Number to work.

The program is very core and I'm far from an advanced programmer in Java. So I'm hoping to get some help on a few things:

1: How do I package all the libraries into one file (one JAR?)
2: Is there a universal binary executable for Java applications that is not command line based?
3: What to call the program? I started the program with PPD Calc, but thats too generic.

Any insight into this would be appreciated.

Note: if this program is not useful than I will keep it to myself or download the better version that exists already, however I was not able to find a program similar to this (though I didn't search hard).

Re: PPD Calc?

Posted: Sat Jun 04, 2011 7:23 am
by P5-133XL
Most people here use HFM.net or FAHMON to monitor their folding (v6 or earlier clients only). Both utilities include PPD calculations, including bonus points and are downloadable from the tools link at the top of the page.

Re: PPD Calc?

Posted: Sat Jun 04, 2011 4:30 pm
by 7im
Be careful about what pages you script to read via any tool, or how often it reads it. Too much load, or using the wrong pages will get things shut down or blocked.

Re: PPD Calc?

Posted: Sun Jun 05, 2011 3:47 am
by ndimario
Ah yes, the program itself just downloads the text when the program starts up, there is no other way to execute it in the program. It would be equal to loading it inside a browser (i would guess). In my case its used for the one or two times a day that i check to see if the machines are performing as expected (incase of new units and so on).

Re: PPD Calc?

Posted: Sun Jun 05, 2011 5:27 am
by 7im
Just making sure. We've had other developers try to refresh or reload the data every few minutes, and that's not good.

Re: PPD Calc?

Posted: Tue Jun 07, 2011 11:20 pm
by linuxfah
Which projects are missing? I've added in all the ones I could find with kfactor > 0 (~ 190 projects). Thanks.