mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Programming

Reply
 
Thread Tools
Old 2004-01-09, 09:22   #1
HiddenWarrior
 
HiddenWarrior's Avatar
 
Jun 2003
Russia, Novosibirsk

2·107 Posts
Lightbulb Prime Shuffle Utility

There is one simple, but sometimes usefull new utility. It can shuffle worktodo.ini file in some period of time (can be set in minutes) and restart Prime95.exe. Maybe it will be usefull for you!

http://www.yxine.km.ru/zip/primeshuffle.exe - 19.5 KBytes no installation requeired. Shell it and set pathes to your Prime95.exe and WorkToDo.ini and also the period in minutes!

P.S.: utility neads Visual Basic 6.0 run-time files to work correctly. You can find them, for example, at http://www.microsoft.com - ~ 1 MByte
HiddenWarrior is offline   Reply With Quote
Old 2004-01-09, 20:23   #2
PrimeCruncher
 
PrimeCruncher's Avatar
 
Sep 2003
Borg HQ, Delta Quadrant

2×33×13 Posts
Default

This should really be posted in Programming.
PrimeCruncher is offline   Reply With Quote
Old 2004-01-09, 22:33   #3
dsouza123
 
dsouza123's Avatar
 
Sep 2002

2·331 Posts
Default

What exactly does it do ?

Does it change the order of items in the worktodo.ini into sorted numerical order ?

Is the timer used to check every so often in case a new exponent is added at the end but isn't in order ?

Or is it something else (random order) ?

Can it cause prime95 to loose any work ?

For example if it changes the entry at the top of the worktodo.ini
dsouza123 is offline   Reply With Quote
Old 2004-01-10, 11:07   #4
HiddenWarrior
 
HiddenWarrior's Avatar
 
Jun 2003
Russia, Novosibirsk

2·107 Posts
Default

New version: http://www.yxine.km.ru/zip/primeshuffle.zip (14,2 KBytes)
Maybe this will answer all questions:


Prime Shuffle Utility Help

Version history:

Version 1.0.0.22 - First official version of the programs.

About:

Prime Shuffle utility was created by VSC.Group, 2004. Our web-site is http://www.yxine.km.ru/mpf. Source code is available for members of ComputerraRU team only (our password is tcru).

Information:

Prime Shuffle utility makes not so many work, but that work may be found to be very usefull! Let's see a sample:

You have worktodo.ini file with the next set of lines (work):

factor=xxx,60
factor=yyy,59
factor=zzz,58
test=ttt,58,0

So, it means that only after Prime95 will complete factorization of xxx exponet, it will work with the next exponent yyy. All that time exponents from yyy to ttt will just be stored without any progress of work on them. Prime Shuffle lets You to shuffle the set of exponents in some period of time. That means, that any exponent will have some progress of work on it!

After first shell of Prime Shuffle, it will wait till the end of set period of time and shuffle your worktodo.ini next way:

test=ttt,58,0
factor=xxx,60
factor=yyy,59
factor=zzz,58

The next shuffle is:

factor=zzz,58
test=ttt,58,0
factor=xxx,60
factor=yyy,59

And then:

factor=yyy,59
factor=zzz,58
test=ttt,58,0
factor=xxx,60

And so on... So, we take the first line and just move it to the end.

Befor shuffling the program stops and exit Prime95 in advanced mode. So You must not be afraid to lost any work! Why is it so? First of all, Prime95 is unstandart application (it works also as a service). So when you try to terminate it in direct way (programmers know how to!) the Prime95 will probably stay running. So, we must terminate it first like an application and then like service. And the service termination is possible only when it is stopped. Here's why the termination don't give any loss of work.

Usage:

Shell program and set pathes to your Prime95.exe, Worktodo.ini and set period. Period must be in diapazone [1..999] minutes. Then press 'save' and 'hide'. An icon will appear in tray menu. Right click on that icon will display menu from which you can access to properties back or terminate program. When next time the program will be shelled no window will be displayed, just a tray icon!

Contacts:

http://www.yxine.km.ru/mpf
yxine@mail.ru
ICQ: 479471
HiddenWarrior is offline   Reply With Quote
Old 2004-01-10, 15:29   #5
PrimeCruncher
 
PrimeCruncher's Avatar
 
Sep 2003
Borg HQ, Delta Quadrant

2·33·13 Posts
Default

I hope you don't mind my saying this, but this utility seems kind of pointless. Yes, it can shuffle the exponents and get some work done on all of them, but it takes longer to finish all of them. Plus it screws up the PrimeNet exponent tracking.
PrimeCruncher is offline   Reply With Quote
Old 2004-01-11, 09:56   #6
HiddenWarrior
 
HiddenWarrior's Avatar
 
Jun 2003
Russia, Novosibirsk

21410 Posts
Default

Hell yeah, you are right! From one sight the utility is pointless indeed. But maybe for someone it will be useful. Anyway, I will create some more soft, and from now I have the idea to call it 'Poinless soft for Prime95'
HiddenWarrior is offline   Reply With Quote
Old 2004-11-04, 05:21   #7
georgekh
 
georgekh's Avatar
 
Oct 2004

1101102 Posts
Default

if anyone has this program then could you please email it to georgekh@hotmail.com thanks in advance
georgekh is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Utility of integer factorization. jwaltos Other Mathematical Topics 8 2015-05-22 12:20
File Splitting Utility Antonio Software 5 2013-04-18 14:22
(archive)mfaktXHelper - utility for managing mfaktX installations swl551 MISFIT 57 2012-08-12 03:37
James H's http://mersenne-aries.sili.net utility site. Uncwilly Lounge 5 2012-08-11 01:20
Feedback for new MPQS utility sought jasonp Msieve 308 2007-02-21 05:43

All times are UTC. The time now is 18:13.


Fri Jul 16 18:13:08 UTC 2021 up 49 days, 16 hrs, 1 user, load averages: 2.60, 2.26, 1.93

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, 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.