mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   GPU to 72 (https://www.mersenneforum.org/forumdisplay.php?f=95)
-   -   GPU72.com TF worm fetching tool now available (https://www.mersenneforum.org/showthread.php?t=17665)

swl551 2013-03-22 00:34

[QUOTE=Aramis Wyler;334439]I'll write something in C++ as a command line thing, but I don't have any qualms about putting it into c# and sending you the class code. So don't fret. I just didn't realise misfit only ran on windows.[/QUOTE]

Aramis,
I appreciate it, but only do it if you have the time. I will eventually get to it. I was going to do the PRIMENET and GPU72NET api integrations at the same time.

chalsall 2013-03-22 00:34

[QUOTE=swl551;334438]I'm sure everyone can agree I have put considerable time into writing MISFIT.[/QUOTE]

We agree. You have done some great work.

This is a philosophical debate.

If you haven't yet read it, [URL="http://www.cryptonomicon.com/beginning.html"]Neal Stephenson's "In the Beginning was the Command Line"[/URL] is a worthwhile read.

kracker 2013-03-22 00:35

[QUOTE=chalsall;334443]We agree. You have done some great work.

This is a philosophical debate.

If you haven't yet read it, [URL="http://www.cryptonomicon.com/beginning.html"]Neal Stephenson's "In the Beginning was the Command Line"[/URL] is a worthwhile read.[/QUOTE]

+1 Indeed. I am sure I am not the only one who [I]really[/I] appreciates misfit.

swl551 2013-03-22 00:40

[QUOTE=chalsall;334443]We agree. You have done some great work.

This is a philosophical debate.

If you haven't yet read it, [URL="http://www.cryptonomicon.com/beginning.html"]Neal Stephenson's "In the Beginning was the Command Line"[/URL] is a worthwhile read.[/QUOTE]

I just downloaded it. I'll read it tonight.

THANKS

Mini-Geek 2013-03-22 00:41

[QUOTE=swl551;334408]If you wanted to author a class in .net that can upload the results via primenet API I would put that into MISFIT. [/QUOTE]

You and/or Aramis might find my .Net code that accesses PrimeNet's API a good starting point, then. I mentioned it previously in [URL="http://www.mersenneforum.org/showthread.php?t=17769"]a thread asking about the API[/URL], but haven't really touched it since about that time. If either of you think that might be useful, I shall clean out any personal details (e.g. my GUIDs) and upload it for you. :smile:

swl551 2013-03-22 00:59

[QUOTE=Mini-Geek;334446]You and/or Aramis might find my .Net code that accesses PrimeNet's API a good starting point, then. I mentioned it previously in [URL="http://www.mersenneforum.org/showthread.php?t=17769"]a thread asking about the API[/URL], but haven't really touched it since about that time. If either of you think that might be useful, I shall clean out any personal details (e.g. my GUIDs) and upload it for you. :smile:[/QUOTE]

I would love to look at it.

Thanks

Mini-Geek 2013-03-22 01:56

1 Attachment(s)
[QUOTE=swl551;334447]I would love to look at it.

Thanks[/QUOTE]

Here you are. The code is not particularly clean or documented, but it is functional for its originally intended purpose of submitting TF results from a "results.txt" file (at least, with a valid guid in "g", which I had borrowed from one of my computers but changed to all-zeroes in the attached file). I will be happy to assist/explain where needed, and hope you find it useful. :smile:

swl551 2013-03-22 02:58

[QUOTE=Mini-Geek;334452]Here you are. The code is not particularly clean or documented, but it is functional for its originally intended purpose of submitting TF results from a "results.txt" file (at least, with a valid guid in "g", which I had borrowed from one of my computers but changed to all-zeroes in the attached file). I will be happy to assist/explain where needed, and hope you find it useful. :smile:[/QUOTE]

It looks very clean. U used some c# syntax I am unfamiliar with so I will need to read up to grasp its true slickness.

On the other hand primenet does not impress due to its lack of a user based authentication model. It is also seriously outdated since the advent of web-services. Chalsall I hope you are not modeling your api like primenet.

Nice work!

Aramis Wyler 2013-03-22 12:56

Heh, the primenet api may be archaic but I thought it was well expressed and complete. Challsall's must be pretty similar for prime95 to be working with it. Besides, who wants to right 2 different sets of code, one for primenet and one for gpu72? :)

swl551 2013-03-22 13:06

[QUOTE=Aramis Wyler;334488]Heh, the primenet api may be archaic but I thought it was well expressed and complete. Challsall's must be pretty similar for prime95 to be working with it. Besides, who wants to right 2 different sets of code, one for primenet and one for gpu72? :)[/QUOTE]

Given his influence I'd expected he proposed a better design for both systems.

chalsall 2013-03-22 13:22

[QUOTE=swl551;334489]Given his influence I'd expected he proposed a better design for both systems.[/QUOTE]

I have very little influence on Primenet.

And to be honest, I don't find the Primenet API to be terribly bad. It's not SOAP nor REST, to be sure, but it's functional. Also, sorry to disappoint, but the GPU72 API is very similar.


All times are UTC. The time now is 09:47.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.