![]() |
![]() |
#34 |
I quite division it
"Chris"
Feb 2005
England
40358 Posts |
![]()
I only have a basic understanding of programming (and none of .net) but:
Would it work if I renamed other running llr/newpgen? (I assume they would still work.) Then you could kill all llr/newpgen and maybe rma wouldn't find them. |
![]() |
![]() |
#35 | |
7×1,289 Posts |
![]() Quote:
The problem with this, is that I also use FindWindow API elsewhere, to get the handle according to that title. darn it, API's work. With a little adjustment, the idea may work though. I came up with another idea too, which is promising. I can get the path to where the executable resides/started , and match it with RMA's current path, but this also needs some reworking. The other llr/newpgen would have to be in another folder ofcourse. Stability could be an issue here,... not sure yet. I am going to aim for version 0.9, to try this. Version 0.8 works very well, with virtually no waste of cycles at all. The auto-timer is exactly what the doctor ordered! If you are interested in .NET, I have a large Library of valuable functions I can share. This would save a beginer literally months of effort. I recommend getting the Standard version at your local book store, or online it's about 125$ to $150 for a licensed copy. Under the(N.F.R.) EULA, I can redistribute a copy for test, demonstration, or evaluation purposes only, to see if you like it. This goes for anyone interested, but you must buy it if you intend to use it continually. |
|
![]() |
#36 |
I quite division it
"Chris"
Feb 2005
England
31·67 Posts |
![]()
Thank you for your kind offer. I am tempted but I can't think of a single thing I could use it for! I downloaded VB Express beta and it's just sitting there taking up HD space. I also have Delphi 7 but have never used it.
As for rma: If the name change thing works perhaps it would better for rma to auto-change the names of llr/newpgen in its folder. (But I think you've moved on from that.) Pressing 'Cancel' in the colour change dialog still selects the colour. |
![]() |
![]() |
#37 | |
1000111101102 Posts |
![]() Quote:
I'm a bit torn, to say this is a MS bug. Cancel means cancel, not revert to black. (not ok selected) The documentation, and direct examples don't mention it. Although when I finally figured it out(45 min) it was kind of simple after all. The old VB6 does it too, as I remember, but I took for granted that .NET changed, or fixed this. At best they did forget to tell everyone. |
|
![]() |
#38 |
22·33·31 Posts |
![]()
RMA.NET 0.8 is now available!
http://groups.yahoo.com/group/primeform/ View the files section, as a member to download. (Requirements: Microsoft .NET framework) |
![]() |
#39 |
I quite division it
"Chris"
Feb 2005
England
81D16 Posts |
![]()
Looking good!
I don't know how you have implemented the timer so maybe none of this applies but: I've been playing with rma 0.8 with low 'n'. The timer seems to run for 'powers of 2' minutes. It works well for low n but I wondered if it could be optimised. If llr was running a typical >200,000 to say >500,000 as it encountered fft changes it would slow down by maybe 20%. It might trigger more sieving with doubling of the timer (= over sieving) when maybe 1.x times the old timer would suffice. It would then gradually adjust to the change rather than over-shooting, so to speak. Perhaps "oldtimer*2" at the beginning then switch to "oldtimer*1.x". (But maybe an fft change would usually trigger a sieve with an unchanged timer anyway.) There is one sound I think is impossible to get rid of; the one newpgen makes when it closes. But once rma has been running a while it should only be heard every few hours/days anyway. Why does fixed n insist on k>200,000? There is a unused bubble help-"Double click here..." under 'Click here for list of primes found.' Please could you explain exactly what the RMA option does. |
![]() |
![]() |
#40 | |
I quite division it
"Chris"
Feb 2005
England
207710 Posts |
![]() Quote:
|
|
![]() |
![]() |
#41 | |||||
23×32×5×7 Posts |
![]() Quote:
There had been a limit imposed for n 21701. I'm using it right now at n 10000. fine. Quote:
It's only doubled if llr/newpgen are not completing at least one candidate. I'm pretty sure this does not interfere much if at all. A small cost for RMA's loop for larger n, but only in the beginning few loops. Perhaps a small optimization here. Quote:
It doesn't like it's file to be messed with, so I have to shut off the user interface visually. I'll keep trying, but I cant compromise system sound. Quote:
It was a fairly new edition, so it hadn't been updated. Thanks Quote:
A full explanation of RMA's operation will take a bit longer to create. So I'll repost the technical details. Coming along alright for future versions. |
|||||
![]() |
#42 | |
I quite division it
"Chris"
Feb 2005
England
31·67 Posts |
![]() Quote:
Obscure Bug Of The Year Award goes to... RMA.NET For switching of Number Lock on my keyboard every time it starts. ![]() |
|
![]() |
![]() |
#43 |
23×163 Posts |
![]()
Oh, good I was almost worried.... 200,000
It's good to see the bugs get obscure. hehe I should return the state of numer/scroll/caps lock, shouldn't I. Thanks. This is actually pretty nifty thing I came up with. The function is called LiftKeys, and is triggered just before a virtual key/s is sent. Otherwise things can get fouled, ofcourse again this is not in the documentation. I'll make it toggle back and forth, as two seperate functions. One for those three keys, and another for the rest. Last fiddled with by TTn on 2005-10-18 at 02:38 |
![]() |
#44 |
F8A16 Posts |
![]()
I've compiled a list needed revisions for RMA.NET version 0.9.
1. Multi-instance, try for all but do llr/newpgen. 2. LiftKeys & ReturnKeys for scroll/num/caps and user keys. 3. Restart on windows boot, and after 1 minute continue file if checked. 4. Restore sound file path, after disabling/enabling. Clean up user interface a bit. 5. Resize events for debug mode, and additional parameters. Also minimizing, & maximizing. 6. The nth prime display is short when n is larger than 999. 7. Load all colors, not just named colors. 8. Credit Robert Smith, Chris Caldwell, Jim and any others forgotten. Permission. 9. In help list all rma.ini parameters with the menu description. 10. Delete "screensaver on" checkbox. 11. Delete Current Time Zone, from icon's right click context menu. 12. Keep trying to mute NewPGen noise when stoping. 13. Look for any possible orphaned code, I left behind. ![]() 14. ? |