1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Distributed Bit-Tech Folding@Home Team (CLOSED: now superseded by joint CPC/bit-tech team)

Discussion in 'Software' started by Byron C, 2 Aug 2003.

Thread Status:
Not open for further replies.
  1. scotty6435

    scotty6435 What's a Dremel?

    Joined:
    4 Sep 2004
    Posts:
    1,386
    Likes Received:
    0
    I'm starting to lose faith in FAH. It's a good cause but I'm pi**ed off with all the fan noise :D
     
  2. uwannabigmak

    uwannabigmak What's a Dremel?

    Joined:
    30 Dec 2004
    Posts:
    614
    Likes Received:
    0
    how big is an average wu?
     
  3. Amd_Lover2004

    Amd_Lover2004 What's a Dremel?

    Joined:
    3 Feb 2005
    Posts:
    17
    Likes Received:
    0
    Gave it a quick try but I cant be bothered with spending 2-3 hours on a sig, meh.
     
  4. alextwo

    alextwo <a href="http://forums.bit-tech.net/showpost.php?p

    Joined:
    29 May 2003
    Posts:
    774
    Likes Received:
    22
    took me no more than about 20 minutes to knock this sig up, it's not the prettiest but does the job. :thumb:
     
  5. D4VID

    D4VID What's a Dremel?

    Joined:
    17 Nov 2004
    Posts:
    125
    Likes Received:
    1
    Don't know that theres any such thing as a 'average' WU, they range from little 30 credit ones that'll complete in a few hours to monster 600 credit WUs that can take several days to complete. Mainly depends on the speed of the pc you're running it on though
     
  6. kenco_uk

    kenco_uk I unsuccessfully then tried again

    Joined:
    28 Nov 2003
    Posts:
    9,810
    Likes Received:
    383
    Aplogies beforehand, but just testing to see if sig is working now.
    ...
    bleh - can't get the thing to work. It's looking like it should work, as the sig.log file is showing it's created the sig, runnin mksig.pl does its thing with no errors (which is better than I was getting before), but it no worky. I followed the instructions, including changing the forums name.

    Ah, hang on a moment... just going to try something out, just got to find some thread I can reply to now :) Sig won't update with just an edit to a post.

    :sigh: I give up.
     
    Last edited: 13 Feb 2005
  7. uwannabigmak

    uwannabigmak What's a Dremel?

    Joined:
    30 Dec 2004
    Posts:
    614
    Likes Received:
    0
    if theyve already done the wu, why do we have to do it again?
     
  8. Amd_Lover2004

    Amd_Lover2004 What's a Dremel?

    Joined:
    3 Feb 2005
    Posts:
    17
    Likes Received:
    0
    To make sure the calculations are correct, and so they can see if there are any inconsistancys in the folded protiens, Im just pulling this out of my A$$ here but its somewhere along those lines... Plus some other stuff aswell.
     
  9. D4VID

    D4VID What's a Dremel?

    Joined:
    17 Nov 2004
    Posts:
    125
    Likes Received:
    1
    straight from the Folding@Home FAQ:
     
  10. D4VID

    D4VID What's a Dremel?

    Joined:
    17 Nov 2004
    Posts:
    125
    Likes Received:
    1
    @ kenco: its possible that your sig is too long. If it is more than 500 characters (including all the vB code) then the mksig.pl will run just fine but the forum won't accept it. When I was doing mine, it had to shorten it several times before it would work. In fact, although the forum rules state the limit as 500 characters, I found that it would accept about 600, maybe it doesn't count spaces

    EDIT: seems like 500 characters exactly including everything now that I've experimented with it for a bit
     
    Last edited: 13 Feb 2005
  11. alextwo

    alextwo <a href="http://forums.bit-tech.net/showpost.php?p

    Joined:
    29 May 2003
    Posts:
    774
    Likes Received:
    22
    We've just moved into 300th place! Good going guys :thumb:
     
  12. jezmck

    jezmck Minimodder

    Joined:
    25 Sep 2003
    Posts:
    4,456
    Likes Received:
    36
    I don't think it counts VBcode.
     
  13. D4VID

    D4VID What's a Dremel?

    Joined:
    17 Nov 2004
    Posts:
    125
    Likes Received:
    1
    I'm not sure about that, because I used this sig_gen.pl as a basis for my sig. First time I tried, it had a colour gradient on the WU name with loads of color tags and it didn't work because it was too long but when I removed the colour gradient, it worked no problem. Will need to experiment some more to know for sure.
     
  14. Darv

    Darv Bling!!

    Joined:
    12 Aug 2002
    Posts:
    1,692
    Likes Received:
    6
    I think I've finally got this sig to work s I'm just checking. Fingers crossed :lol:

    /edit

    Apparently not :wallbash:
     
  15. Darv

    Darv Bling!!

    Joined:
    12 Aug 2002
    Posts:
    1,692
    Likes Received:
    6
    Sorry for the double post but I think I've actually got it working in some shape or form. :worried:

    /edit. Nope not got it yet. Can someone post their sig_gen files so i can have a look at their code and try and get mine to work.
     
  16. alextwo

    alextwo <a href="http://forums.bit-tech.net/showpost.php?p

    Joined:
    29 May 2003
    Posts:
    774
    Likes Received:
    22
    This is how my sig_gen.pl file looks:


    #!/usr/bin/perl -w
    use LWP::UserAgent;
    use LWP::Simple;
    use XML::Simple;

    #Stanford's stats
    $stfd_username="alextwo";
    $team_num=33346;
    $stfd_url="http://vspx27.stanford.edu/cgi-bin/main.py?qtype=userpage&username=$stfd_username&teamnum=$team_num";

    $ua = LWP::UserAgent->new();
    $page = $ua->get($stfd_url);
    open STFD_PAGE,">stfd.html";
    print STFD_PAGE $page->content;
    close STFD_PAGE;


    open STFD_PAGE, "stfd.html";
    while (<STFD_PAGE>){

    chop;


    if (/Total score/) {
    $_ = <STFD_PAGE>;
    s/<[^>]*>//g;
    s/[^\d]*//g;
    $stfd_total_score=$_;
    }

    if (/Overall rank/) {
    $_ = <STFD_PAGE>;
    s/.*\d> //;
    s/([\d]* of [\d]*)[^\d]*/$1/;
    $stfd_overall_rank=$_;
    }


    if (/> WU/) {
    $_ = <STFD_PAGE>;
    $_ = <STFD_PAGE>;
    s/[^\d]*//;
    s/([\d]*)//;
    $stfd_wu_total=$1;
    }

    }



    #my stats
    $eoc_id=107441;
    $url_oc = "http://folding.extremeoverclocking.com/xml/user_summary.php?s=&u=$eoc_id";

    #xml files that will be saved locally
    $file_oc = "oc.xml";

    #get pages off net and store them locally
    getstore($url_oc,$file_oc) if (time-(stat($file_oc))[9] > 60*60*2 );

    #Slurp in XML file
    my $ocstats = XMLin($file_oc);

    #User Variables that can be used
    $rnk = $ocstats->{user}->{Team_Rank};
    $r7d = $ocstats->{user}->{Change_Rank_7days};

    #makes the change in rank as a string
    #"-3 in 7 days", or "+57 in 7 days"

    if (!$r7d > 0) {
    $r7d = '-'.$r7d.' in 7 days';
    }
    else {
    $r7d = '+'.$r7d.' in 7 days';
    }

    print "{size=1}{B}Folding for Bit-tech:{/B}\n";
    print "Total score: $stfd_total_score | WU total: $stfd_wu_total\n";
    print "Team rank: $rnk ($r7d) | Overall rank: $stfd_overall_rank\n";
    print "{url=http://forums.bit-tech.net/showthread.php?t=37317{Join the Bit-Tech Folding Team!{/url}{/size}";


    But remember to change the {} for [] at the print lines and the EOCID
     
    Last edited: 13 Feb 2005
  17. Darv

    Darv Bling!!

    Joined:
    12 Aug 2002
    Posts:
    1,692
    Likes Received:
    6
    Cheers. Lets see if it works :cooldude:
     
  18. Amd_Lover2004

    Amd_Lover2004 What's a Dremel?

    Joined:
    3 Feb 2005
    Posts:
    17
    Likes Received:
    0
    Alextwo, could I sleal yours(changing the names of coarse), I am rather busy and cant afford the time to make myself one.
     
  19. c.cam108

    c.cam108 Minimodder

    Joined:
    14 Feb 2004
    Posts:
    907
    Likes Received:
    3
  20. kenco_uk

    kenco_uk I unsuccessfully then tried again

    Joined:
    28 Nov 2003
    Posts:
    9,810
    Likes Received:
    383
    Thanks dude, I'll give it another go sometime soon, might pilfer alextwo's code, if that's okay?
     
Tags:
Thread Status:
Not open for further replies.

Share This Page