Workaround for Project Updates in HFM

This forum contains information about 3rd party applications which may be of use to those who run the FAH client and one place where you might be able to get help when using one of those apps.

Moderator: Site Moderators

billford
Posts: 1003
Joined: Thu May 02, 2013 8:46 pm
Hardware configuration: Full Time:

2x NVidia GTX 980
1x NVidia GTX 780 Ti
2x 3GHz Core i5 PC (Linux)

Retired:

3.2GHz Core i5 PC (Linux)
3.2GHz Core i5 iMac
2.8GHz Core i5 iMac
2.16GHz Core 2 Duo iMac
2GHz Core 2 Duo MacBook
1.6GHz Core 2 Duo Acer laptop
Location: Near Oxford, United Kingdom
Contact:

Workaround for Project Updates in HFM

Post by billford »

I got fed up editing ProjectInfo.tab, especially when an un-noticed typo stopped HFM working! So I dreamed up a workaround which others might find useful and I'd appreciate any suggestions for improvement. Use at your own risk, but it seems OK so far.


1) In your browser open the psummary page of your choice (I use psummaryC) and save it as a text (HTML) file. In Chromium that's File => Save Page As, select the "Webpage, complete" format option.

2) Use your favourite editor to remove all <tr class=xxxx> … </tr> blocks containing a "NaN" and Save. It's easier if the editor understands HTML and can indent/format the lines; I use TextWrangler. Good idea to open this file in your browser to check it looks OK.

3) In HFM, go to the "Web Settings" tab in the Preferences pane and change the "Project Download url" entry to point to the above file. (I used the full "file:///C:/Users/ etc " url format; it may not be necessary, I didn't check). OK out and quit HFM.

4) In your …/AppData/Roaming/HFM folder, rename the ProjectInfo.tab file to something else (so you can recover it in case of disaster!)

5) Restart HFM- it should create a new ProjectInfo.tab from the HTML file and continue happily.

When new projects are announced, simply create a new HTML file as above and HFM should automatically get the new details when a client gets a previously "unknown" project. Not yet tested.



Obviously it's not ideal, it depends how assiduously you keep track of new projects in the Announcements section. But that's no different to now, it should make life easier when several new projects are introduced simultaneously and you don't have to worry about typos!
Image
bollix47
Posts: 2959
Joined: Sun Dec 02, 2007 5:04 am
Location: Canada

Re: Workaround for HFM

Post by bollix47 »

Thanks Bill, this worked for me.

I didn't rename ProjectInfo.tab but did copy it for backup.

I used Firefox to save the Project Summary page as D:/newprogs/Folding@home%20Projects%20Summary.htm.

I used notepad++ to remove the NAN records. I suspect this could be done from the command line using grep but an appropriate editor does make it easy.

I then put my file name file:///D:/newprogs/Folding@home%20Projects%20Summary.htm in the Project Download url clicked on OK even though the address went yellow and HFM didn't seem to like it. I then clicked on Tools > Download Projects from Stanford.

ProjectInfo.tab did update correctly.

I did not want to completely create a new file as I had information in the old file that I didn't want to lose.
billford
Posts: 1003
Joined: Thu May 02, 2013 8:46 pm
Hardware configuration: Full Time:

2x NVidia GTX 980
1x NVidia GTX 780 Ti
2x 3GHz Core i5 PC (Linux)

Retired:

3.2GHz Core i5 PC (Linux)
3.2GHz Core i5 iMac
2.8GHz Core i5 iMac
2.16GHz Core 2 Duo iMac
2GHz Core 2 Duo MacBook
1.6GHz Core 2 Duo Acer laptop
Location: Near Oxford, United Kingdom
Contact:

Re: Workaround for HFM

Post by billford »

bollix47 wrote:... even though the address went yellow and HFM didn't seem to like it.
I didn't get that... but one thing I didn't mention was that I renamed the file to just ProjInfo.html, maybe HFM wasn't sure about the @ or the %20's in the filename?

I wondered about trying to script it, but my skills in that area are more than a little rusty and I decided it would probably cause me more trouble than it would save!
Image
toTOW
Site Moderator
Posts: 6359
Joined: Sun Dec 02, 2007 10:38 am
Location: Bordeaux, France
Contact:

Re: Workaround for HFM

Post by toTOW »

If you don't want to bother with all the editing part, you can point HFM to http://87.98.172.206/psummary_manu.htm

This is hosted on my server and manually updated, so I don't know how often I'll update it. Let me know if something important is missing and I'll update it.
Image

Folding@Home beta tester since 2002. Folding Forum moderator since July 2008.
PS3EdOlkkola
Posts: 177
Joined: Tue Aug 26, 2014 9:48 pm
Hardware configuration: 10 SMP folding slots on Intel Phi "Knights Landing" system, configured as 24 CPUs/slot
9 AMD GPU folding slots
31 Nvidia GPU folding slots
50 total folding slots
Average PPD/slot = 459,500
Location: Dallas, TX

Re: Workaround for Project Updates in HFM

Post by PS3EdOlkkola »

Thanks toTOW, works great :)
Image
Hardware config viewtopic.php?f=66&t=17997&p=277235#p277235
billford
Posts: 1003
Joined: Thu May 02, 2013 8:46 pm
Hardware configuration: Full Time:

2x NVidia GTX 980
1x NVidia GTX 780 Ti
2x 3GHz Core i5 PC (Linux)

Retired:

3.2GHz Core i5 PC (Linux)
3.2GHz Core i5 iMac
2.8GHz Core i5 iMac
2.16GHz Core 2 Duo iMac
2GHz Core 2 Duo MacBook
1.6GHz Core 2 Duo Acer laptop
Location: Near Oxford, United Kingdom
Contact:

Re: Workaround for Project Updates in HFM

Post by billford »

Good idea toTOW and thanks, but intending no disrespect I'll stick to my local file.

That way, if it isn't updated in a timely fashion I can swear all I like at the culprit without fear of repercussions :wink:
Image
toTOW
Site Moderator
Posts: 6359
Joined: Sun Dec 02, 2007 10:38 am
Location: Bordeaux, France
Contact:

Re: Workaround for Project Updates in HFM

Post by toTOW »

I have 5 HFM to update at various locations ... that's why it's easier to publish the file to my server ;)
Image

Folding@Home beta tester since 2002. Folding Forum moderator since July 2008.
billford
Posts: 1003
Joined: Thu May 02, 2013 8:46 pm
Hardware configuration: Full Time:

2x NVidia GTX 980
1x NVidia GTX 780 Ti
2x 3GHz Core i5 PC (Linux)

Retired:

3.2GHz Core i5 PC (Linux)
3.2GHz Core i5 iMac
2.8GHz Core i5 iMac
2.16GHz Core 2 Duo iMac
2GHz Core 2 Duo MacBook
1.6GHz Core 2 Duo Acer laptop
Location: Near Oxford, United Kingdom
Contact:

Re: Workaround for Project Updates in HFM

Post by billford »

toTOW wrote:I have 5 HFM to update at various locations ... that's why it's easier to publish the file to my server ;)
I said it was a good idea, now I see it's even better than I thought :D
Image
JimF
Posts: 651
Joined: Thu Jan 21, 2010 2:03 pm

Re: Workaround for Project Updates in HFM

Post by JimF »

billford wrote:
toTOW wrote:I have 5 HFM to update at various locations ... that's why it's easier to publish the file to my server ;)
I said it was a good idea, now I see it's even better than I thought :D
It is great to see you and toTOW doing something about it, and in less time than it takes to excuse it.
msgclb
Posts: 16
Joined: Mon Jun 13, 2011 9:56 pm

Re: Workaround for Project Updates in HFM

Post by msgclb »

I used the notepad that’s in Win 8.1.
The “file:///C:/Users/.etc” created an empty file but then I tried “file://C:/Users/.etc” and HFM created a new ProjectInfo.tab.
toTOW
Site Moderator
Posts: 6359
Joined: Sun Dec 02, 2007 10:38 am
Location: Bordeaux, France
Contact:

Re: Workaround for Project Updates in HFM

Post by toTOW »

File updated on my server. New project : p9852.
Image

Folding@Home beta tester since 2002. Folding Forum moderator since July 2008.
billford
Posts: 1003
Joined: Thu May 02, 2013 8:46 pm
Hardware configuration: Full Time:

2x NVidia GTX 980
1x NVidia GTX 780 Ti
2x 3GHz Core i5 PC (Linux)

Retired:

3.2GHz Core i5 PC (Linux)
3.2GHz Core i5 iMac
2.8GHz Core i5 iMac
2.16GHz Core 2 Duo iMac
2GHz Core 2 Duo MacBook
1.6GHz Core 2 Duo Acer laptop
Location: Near Oxford, United Kingdom
Contact:

Re: Workaround for Project Updates in HFM

Post by billford »

You've probably done this already, but a hint for anyone using their own local file- if there are only a few new projects, rather than downloading the page and editing out all those NaN blocks it's easier to View Source in your browser and copy/paste the relevant section(s) into the existing local file.
Image
toTOW
Site Moderator
Posts: 6359
Joined: Sun Dec 02, 2007 10:38 am
Location: Bordeaux, France
Contact:

Re: Workaround for Project Updates in HFM

Post by toTOW »

If you don't know what the changes are, it's quicker find and remove the NaNs ...
Image

Folding@Home beta tester since 2002. Folding Forum moderator since July 2008.
billford
Posts: 1003
Joined: Thu May 02, 2013 8:46 pm
Hardware configuration: Full Time:

2x NVidia GTX 980
1x NVidia GTX 780 Ti
2x 3GHz Core i5 PC (Linux)

Retired:

3.2GHz Core i5 PC (Linux)
3.2GHz Core i5 iMac
2.8GHz Core i5 iMac
2.16GHz Core 2 Duo iMac
2GHz Core 2 Duo MacBook
1.6GHz Core 2 Duo Acer laptop
Location: Near Oxford, United Kingdom
Contact:

Re: Workaround for Project Updates in HFM

Post by billford »

That's true... it does rather assume that the announcement is accurate and complete (which it usually is).
Image
Grandpa_01
Posts: 1122
Joined: Wed Mar 04, 2009 7:36 am
Hardware configuration: 3 - Supermicro H8QGi-F AMD MC 6174=144 cores 2.5Ghz, 96GB G.Skill DDR3 1333Mhz Ubuntu 10.10
2 - Asus P6X58D-E i7 980X 4.4Ghz 6GB DDR3 2000 A-Data 64GB SSD Ubuntu 10.10
1 - Asus Rampage Gene III 17 970 4.3Ghz DDR3 2000 2-500GB Segate 7200.11 0-Raid Ubuntu 10.10
1 - Asus G73JH Laptop i7 740QM 1.86Ghz ATI 5870M

Re: Workaround for Project Updates in HFM

Post by Grandpa_01 »

It's quicker just to put toTOW's link in your HFM web settings and then hit the Download projects from Stanford button in your HFM tool's. :mrgreen:

Thanks toTWO although I did change the 9852 points manually before you posted that you had updated it. I am using your link and it is appreciated. :D
Image
2 - SM H8QGi-F AMD 6xxx=112 cores @ 3.2 & 3.9Ghz
5 - SM X9QRI-f+ Intel 4650 = 320 cores @ 3.15Ghz
2 - I7 980X 4.4Ghz 2-GTX680
1 - 2700k 4.4Ghz GTX680
Total = 464 cores folding
Post Reply