![]() |
Dropping 143850
(2^2*5*7*C138, ready for GNFS but really not a high priority) |
Done another manual update.
Any progress with the page Dubslow? |
Finally worked out the DMZ issues.
Additionally, [URL="https://github.com/dubslow/MersenneForumAliquot/commit/b89432ae6673b2b5ad4afc8dcc6bc94f8b8f7dfc"]here[/URL]'s a patch so that the script will work without needing to poll my site for info. |
Dropping 43456 (2^2 * 7 * sufficiently-ECMed C137)
|
Dropping 991608, taking 812070.
|
Taking 31560 41760
|
Dropping 985950.
Taking 581574. |
Dropping 994944.
Taking 912380. |
Dropping 793968
Taking 308232 |
Just made the script slightly more robust in that it uses words rather than letters to decide whether to reserve or unreserved. This means that you can no use words such as reserve, release etc. without an issue. I will be monitoring it carefully to make sure I haven't forgotten words.
The code is now: [code] if 'Unreserv' in line or 'unreserv' in line or 'Drop' in line or 'drop' in line or 'Releas' in line or 'releas' in line: for s in re.findall(r'(?<![0-9])[0-9]{5,6}(?![0-9])', line): drop.append(int(s)) elif 'Reserv' in line or 'reserv' in line or 'Add' in line or 'add' in line or 'Tak' in line or 'tak' in line: for s in re.findall(r'(?<![0-9])[0-9]{5,6}(?![0-9])', line): # matches only 5/6 digit numbers add.append(int(s))[/code] The code won't cope with both adding and dropping in the same line. I think it chooses the last one it finds in the line. Case shouldn't be an issue anymore. If there are any words anyone wants me to add then please shout. |
[url]https://github.com/dubslow/MersenneForumAliquot/blob/master/reservations/reservations.py#L234-L242[/url]
It checks for the unreserve keywords, and upon finding any, all sequences in the same line are treated as a drop. Only if there are no drop keywords, then check for add keywords; if any are found, process all sequences as an add. |
| All times are UTC. The time now is 23:04. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.