Page 3 of 5

Re: FahProgress: A micro monitoring tool for win

Posted: Wed Oct 01, 2008 6:30 pm
by Vulcan_TBB
@francois

Thanks for the offer! I'll sent you the text file via Forum-Mail ;)

Re: FahProgress: A micro monitoring tool for win

Posted: Thu Oct 02, 2008 10:59 am
by francois
About the screen position remembering:
I use a digital flat panel (1440x900) and FaHprogress doesn't start at the same place (far right) it was closed.
It starts nearer the center of the screen (horizontally).
The vertical position seems to be okay though.

Re: FahProgress: A micro monitoring tool for win

Posted: Thu Oct 02, 2008 5:54 pm
by Vulcan_TBB
You are right.. I added a function for checking the actual screen-resolution and set the x/y pos minus a security-tolerance. I think I'll deactivate this in future versions. Unfortunately I cant sent you the textfiles for translation at the moment. I'm on vacation the next 8 days. I'll post/mail you again when I'm back.

Stefan

Re: FahProgress: A micro monitoring tool for win

Posted: Thu Oct 02, 2008 7:14 pm
by francois
No hurry!

Nice vacation!

Best,
François

Re: FahProgress: A micro monitoring tool for win

Posted: Thu Oct 16, 2008 7:21 pm
by francois
Hi again Stefan.
What's the interval between FahProgress updates of the WU progress?
My FahMon is set at 5 minutes, and FahProgress lags behind it with its numbers.

Best regards,
François

Re: FahProgress: A micro monitoring tool for win

Posted: Wed Oct 29, 2008 2:00 pm
by Vulcan_TBB
Hi !

I`m back! :D

Hmm. There is no interval between the updates. But it seems that the unitinfo.txt isn't updated
at the same time as clients % console output. I verified this with other monitoring applications.

If you want to check if FahProgress runs proper, copy a unitinfo.txt to a new directory. Add this
directory to FahProgress as a new client (fahprogress only checks for the unitinfo). Then edit the
section with "Progress" - for example changing the value from "55%" to ""70%".
FahProgress should update immediately!

Best regards,
Stefan

Re: FahProgress: A micro monitoring tool for win

Posted: Wed Oct 29, 2008 2:19 pm
by MtM
Vulcan_TBB wrote:Hi !

I`m back! :D

Hmm. There is no interval between the updates. But it seems that the unitinfo.txt isn't updated
at the same time as clients % console output. I verified this with other monitoring applications.

If you want to check if FahProgress runs proper, copy a unitinfo.txt to a new directory. Add this
directory to FahProgress as a new client (fahprogress only checks for the unitinfo). Then edit the
section with "Progress" - for example changing the value from "55%" to ""70%".
FahProgress should update immediately!

Best regards,
Stefan
Hi there.

Question 1 - which language is it coded in?
Question 2 - If it's any .net language, you're using a filesystemwatcher to monitor unitinfo.txt? Then you should have it monitor the folder with this mask "*.txt" as it then will pick up any write to fahlog as well, and you can use an internal timer to quit looping through the update process when fahlog.txt is being written to continueusly ( as when downloading/uploading, start or end of project ). I'm willing to help you with that if you want.

Marvin :)

*Edit: Also if you want some help with parsing fahlog.txt instread of unitinfo I wouldn't mind helping you there either :)

Re: FahProgress: A micro monitoring tool for win

Posted: Fri Oct 31, 2008 3:17 pm
by Greg C. TNO
Thanks Vulcan, I find this simple to use and useful. I like that I can watch other boxen across the network. I put it in my startup folder so it loads right away.

Wie Gehts? Ich war in die 'Byteboosters' kurtz vor 'Boinc', durch die 'Seti zeit', (jahre 1998?) Hat Stefen die cyber cafe jetz?

Re: FahProgress: A micro monitoring tool for win

Posted: Fri Oct 31, 2008 5:39 pm
by Vulcan_TBB
Hey Greg!

Cool to meet you again! Thanks for your praise... ;)

I wrote you a PM here in the forum ... !

Stefan

Re: FahProgress: A micro monitoring tool for win

Posted: Fri Oct 31, 2008 5:54 pm
by MtM
It's kind of rude to ignore people who offer you help don't you think?

Marvin

Re: FahProgress: A micro monitoring tool for win

Posted: Fri Oct 31, 2008 6:27 pm
by Vulcan_TBB
Whoops... Sorry Marvin!
I was not my intention to ingore you! I was writing PM to you, but only saved it as a draft.. :-/

So here is my answer... *g*

Hi there.

FaHProgress is coded in PureBasic. The reason why I've choosen it: Its easy to code, you can code quick'n dirty (my first personal realease of FahProgress was done in 45 minutes), it needs no runtime enviroment, can easily be compiled for linux an mac and, im a fan of procedural programming. :-) Have you ever tried Purebasic?

In my coding, I`m using ReadFile() to open the unitinfo.txt. I'm looping an internal table with the client path information - the parsing is easily done with Findstring().

Stefan

Re: FahProgress: A micro monitoring tool for win

Posted: Fri Oct 31, 2008 6:41 pm
by MtM
Vulcan_TBB wrote:Whoops... Sorry Marvin!
I was not my intention to ingore you! I was writing PM to you, but only saved it as a draft.. :-/

So here is my answer... *g*

Hi there.

FaHProgress is coded in PureBasic. The reason why I've choosen it: Its easy to code, you can code quick'n dirty (my first personal realease of FahProgress was done in 45 minutes), it needs no runtime enviroment, can easily be compiled for linux an mac and, im a fan of procedural programming. :-) Have you ever tried Purebasic?

In my coding, I`m using ReadFile() to open the unitinfo.txt. I'm looping an internal table with the client path information - the parsing is easily done with Findstring().

Stefan
PureBasic I do not know, I been looking at realBasic for cross platform application development but I found it to limited to do exactly what I want to do.

It's funny btw, try to open the fahlog.txt with .net and you get a 'file in use by another process' in your face :( Parsing unitinfo is indeed the quickest way, and afaik now all clients should properly update it. Parsing fahlog once at startup for your project info, and then only when changed for getting progress isn't that hard though either. How does it notice that the content of the file has changed? Does it have an equivalent of a filesystemwatcher?

Now that I read about you using purebasic for this because it will work on both linux and windows, I think me offering help should actually be turned around and maybe ask you for some help. I'm writing a log parser in vb.net which has the only task to record wu's so one can look for eue rates on diffrent projects with all the right info at hand. I use some wmi to get hw info and am able to parse the logfiles without to much problems but .net seems to have problems the logfiles directly ( have to make a copy, parse that, delete the copy ). My thread about it is located in a section I'm not sure you have acces to.

Someone just knocked on my door, can't even properly finish the post : in short, what I was making is prety straightforward text parsing as well, and maybe I need to step away from .net and use realbasic or purebasic as it will run on all os's. Though it seems reading the logfiles over the network isn't a problem..

Sorry to cut it short, g2g :oops:

Re: FahProgress: A micro monitoring tool for win

Posted: Mon Nov 03, 2008 8:15 am
by Vulcan_TBB
Hi!

I hope we won't get to OT here...
MtM wrote:...It's funny btw, try to open the fahlog.txt with .net and you get a 'file in use by another process' in your face :(
Wouldn't it be possible to open the file read-olny? Purebasic does not have these limitations.
MtM wrote:Does it have an equivalent of a filesystemwatcher?
I first had to look what a filesystemwatcher does. :)- Maybe you want to check the Purebasic Help index for filesystem operations here:
http://www.purebasic.com/documentation/ ... index.html
MtM wrote:...problems the logfiles directly ( have to make a copy, parse that, delete the copy ). My thread about it is located in a section I'm not sure you have acces to.
MtM wrote:and use realbasic or purebasic as it will run on all os's. Though it seems reading the logfiles over the network isn't a problem..
You can download a demo of PureBasic here: http://www.purebasic.com/download.php3

I'm not an .net expert - But will try to help if I can. Maybe better via PM... ;)

Best wishes,
Stefan

Re: FahProgress: A micro monitoring tool for win

Posted: Mon Nov 03, 2008 10:49 am
by Flycatchr
how about having the "C1, C2 etc" OR the %bar in colur, IE - green for an nvidia client, red for ATI client, black for cpu etc ??, then the fields dont have to be much larger?

gonna DL it now and try it :)

Re: FahProgress: A micro monitoring tool for win

Posted: Mon Nov 03, 2008 11:23 am
by Vulcan_TBB
Cool Idea! :D

That should be easy to implement! :)