mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2017-05-24, 08:19   #1
ewmayer
2ω=0
 
ewmayer's Avatar
 
Sep 2002
República de California

979110 Posts
Default Script-based Primenet assignment management

I am considering adding such functionality to my next Mlucas release - auto-comms functionality like that built into the main client is not an option for me because it involves 'secret sauce' code, i.e. violates open-source-ness. I also greatly value build and maintenance simplicity, hence the appeal of a simple cronscript-type solution.

Would appreciate any advice re. the best way to go here - perusing the non-main-client areas of the forum I see stuff about Misfit and at least one other user-written script (need to dig out the thread for that from my saved-link archives). For the near future, we can restrict assignment types here to LL (either 1st-time or DC), and consider only Linux and OS X by way of operating systems (any Windows support will be via a Linux emulation environment like mingw64).

I envision a script which reads the user's primenet credentials from a local file and uses those to exchange data (read from the results.txt file and - for interim-progress updates - the worktodo and exponent-specific status files) with the manual tests forms, but first I want to look at how misfit (and that other 3rd-party script I mentioned, if I can find the thread about that) do things. For a first crack at this for Mlucas doing it via script completely external to the LL client seems best to me.

Thanks for any tips!

Last fiddled with by ewmayer on 2017-05-24 at 08:21
ewmayer is offline   Reply With Quote
Old 2017-05-24, 14:40   #2
Mark Rose
 
Mark Rose's Avatar
 
"/X\(‘-‘)/X\"
Jan 2013

32·11·29 Posts
Default

You're probably thinking of this one. I want to rewrite it, as it's not well done. It basically submits forms and scrapes pages. It doesn't use an API.
Mark Rose is offline   Reply With Quote
Old 2017-05-25, 01:21   #3
ewmayer
2ω=0
 
ewmayer's Avatar
 
Sep 2002
República de California

263F16 Posts
Default

Quote:
Originally Posted by Mark Rose View Post
You're probably thinking of this one. I want to rewrite it, as it's not well done. It basically submits forms and scrapes pages. It doesn't use an API.
Yes, that's it - now that I see it I distinctly recall the 'teknohog' moniker. How difficult do you estimate it would be for a non-Python-expert like me to adapt to do the LL-test-related functionality I outlined above?

And, since I need to support LL rather than TF, don't I want to be looking at llloop.py instead of mfloop.py?

Last fiddled with by ewmayer on 2017-05-25 at 01:36
ewmayer is offline   Reply With Quote
Old 2017-05-25, 04:02   #4
Mark Rose
 
Mark Rose's Avatar
 
"/X\(‘-‘)/X\"
Jan 2013

32×11×29 Posts
Default

Quote:
Originally Posted by ewmayer View Post
Yes, that's it - now that I see it I distinctly recall the 'teknohog' moniker. How difficult do you estimate it would be for a non-Python-expert like me to adapt to do the LL-test-related functionality I outlined above?

And, since I need to support LL rather than TF, don't I want to be looking at llloop.py instead of mfloop.py?
Yeah, teknohog wrote the original. I forked it for my own use. I haven't used the other scripts in the repository. That may in fact be the better script to start with.

Python is very easy to pick up. The only real gotcha is that it uses indentation instead of { and } to denote scope.
Mark Rose is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
PrimeNet Assignment Rules S485122 PrimeNet 7 2018-06-08 14:49
PrimeNet error 40: No Assignment gfonseca Information & Answers 3 2011-01-22 21:39
PrimeNet error 40. No assignment! tony36912378 Information & Answers 3 2010-12-13 21:20
bash script for extracting primenet-status gLauss Linux 0 2010-07-31 11:19
Unable to migrate manual assignment to Primenet 5. xode PrimeNet 14 2009-05-25 20:48

All times are UTC. The time now is 17:02.

Wed Oct 21 17:02:55 UTC 2020 up 41 days, 14:13, 0 users, load averages: 2.00, 2.18, 2.03

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

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.