mersenneforum.org The status of aliquot sequences ("Appallingly Blue") Page
 Register FAQ Search Today's Posts Mark Forums Read

 2012-07-10, 07:28 #1 Dubslow Basketry That Evening!     "Bunslow the Bold" Jun 2011 40
 2012-07-10, 08:02 #2 kar_bon     Mar 2006 Germany 2·1,487 Posts Here's any idea to think of: I don't know how you download the last line of a sequence (perhaps like this). If so, you could run a comparison over all open seqs to find merges = last line same. Although the timeframe all seqs are downloaded (55 per hour) is big, not all merges would be found if someone worked on such seq. in the meanwhile. This feature is not yet implemented in the FactorDB as it was long time ago. The FDB restriction are the thing which let me gave up to update my pages: I've done such last-line-download (on a quad core with 4 threads took about an hour) and made my pages via script, finding merges and new terminations in seconds. Last fiddled with by kar_bon on 2012-07-10 at 08:04
 2012-07-10, 08:18 #3 Dubslow Basketry That Evening!     "Bunslow the Bold" Jun 2011 40
 2012-07-10, 08:33 #4 kar_bon     Mar 2006 Germany 2·1,487 Posts - First made a file with all open seqs - creating 4 files downloading all last lines with wget - downloading in 4 threads all last lines in 4 folders - processing the last-line-files with awk script to get lines like this (old ones): Code:  276 U 1687. 3678759348...6<165> = 2 * 3^2 * 7^2 * 53 * 7869677296...1<160> 552 U 1057. 4238228081...6<179> = 2^2 * 3 * 71 * 145633 * 3415741009...1<171> 564 U 3357. 2239382335...8<172> = 2^2 * 7 * 31 * 103 * 6211 * 26557 * 1499962302625458296587675861761081389<37> * 1012395977...9<123> 660 U 890. 2345292265...0<181> = 2^3 * 3^2 * 5 * 6514700736...9<178> 966 U 893. 8491715927...0<178> = 2^2 * 3^2 * 5 * 83 * 2099 * 2707898746...9<171> Here 'U' stands for 'Unchecked' in the FactorDB. 'P' would be prime so terminated. - running another awk-script to do the html-pages (reservations were read from another file) - running awk-script to make stats like this: Code: Counting OES per 100k-ranges: 000k 100k 200k 300k 400k 500k 600k 700k 800k 900k 902 953 918 855 889 951 939 927 959 960 9253 Counting OES-lengths: 000k 100k 200k 300k 400k 500k 600k 700k 800k 900k 1323644 1342120 1250274 1121133 1209676 1283284 1238300 1262357 1272105 1257328 12560221 1357.421 Counting OES-sizes: 000k 100k 200k 300k 400k 500k 600k 700k 800k 900k 108573 110816 105032 97341 100646 108090 105993 105027 108294 108318 1058130 114.355 - running a sort-tool (CMsort) for finding merges and terminations - running awk-script for small queries: Code: type=1: all Seqs of range r1 to r2 type=2: all Seqs <400 lines (-> Project 3b) type=3: all Seqs 150000 Project 9) type=4: all Seqs 100000 Project 7) type=5: all Seqs length<100 digits of last index type=6: all Seqs length<100 of composite So the whole work was done in a little bit more than 1 hour, all data were 'just in time'.
 2012-07-10, 21:52 #5 henryzz Just call me Henry     "David" Sep 2007 Liverpool (GMT/BST) 22·1,499 Posts Nice page. I especially like the ways of sorting the table. Not certain about the colour scheme. It seems a bit in your face to me.
2012-07-10, 22:17   #6
Dubslow

"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3×29×83 Posts

Quote:
 Originally Posted by henryzz Nice page. I especially like the ways of sorting the table. Not certain about the colour scheme. It seems a bit in your face to me.
I like blue

I'd be more open to suggestions for the table background than the page bg, but I'll listen to anything.

Edit: Why do the 'e' and 'r' keys have to be right next to each other?

Last fiddled with by Dubslow on 2012-07-10 at 22:22

 2012-07-12, 06:31 #7 Dubslow Basketry That Evening!     "Bunslow the Bold" Jun 2011 40
 2012-07-12, 15:04 #8 LaurV Romulan Interpreter     "name field" Jun 2011 Thailand 277E16 Posts Very nice job with that table! I almost forgive you for those colors Stupid question: how the reservations got into that table? you add them by hand? In any case, please add me to 4290 which I am nurturing since it was C126 (see here about it, if I will have some free CPU I will queue the C142) Last fiddled with by LaurV on 2012-07-12 at 15:09
2012-07-12, 17:11   #9
Dubslow

"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3×29×83 Posts

Quote:
 Originally Posted by LaurV Very nice job with that table! I almost forgive you for those colors
Again, if anybody suggests a different scheme, I'd probably do it.
Quote:
 Originally Posted by LaurV Stupid question: how the reservations got into that table? you add them by hand? In any case, please add me to 4290 which I am nurturing since it was C126 (see here about it, if I will have some free CPU I will queue the C142)
Quote:
 Originally Posted by Dubslow In addition, not only can I update sequences, I can also check reservations here on MersenneForum (and the page even shows the last update to the reservations). That's why I asked about subproject reservations. For the moment then, the table only shows reservations from the main reservation thread, but there are two ways to fix that: 1) Put all subproject reservations in the lead post of the main reservation thread, or (probably easier for teh mods) 2) format the leading subproject posts in the same manner as the main thread lead post.
Code:
def get_reservations():
reserves = {}
req = request.Request('http://www.mersenneforum.org/showpost.php?p=165249&postcount=1',
update = re.search(r'<!-- edit note -->.*Last fiddled with by [A-Za-z_0-9 -]+? on ([0-9a-zA-Z ]+) at <span class="time">([0-9:]{5})</span>', page, flags=re.DOTALL)
updated = update.group(1)+' '+update.group(2)
page = re.search(r'<pre.*?>(.*?)</pre>', page, flags=re.DOTALL).group(1)
for line in page.splitlines():
herp = re.match(r' {0,3}([0-9]{3,6})  ([0-9A-Za-z_ -]{1,16})', line)
try:
name = herp.group(2)
except: pass
else:
if 'jacobs and' in name:
name = 'jacobs and Richard Guy'
reserves[int(herp.group(1))] = name.strip()
return reserves, updated
You'll notice that the "(as of <date/time>)" note in the column header matches the date/time that the lead post of the main reservations thread was last edited at.

So if you want it to appear, ask the mods (Somehow my reservation of 484470 was missed in the last edit )

PS: Regarding merges, SM_88 directed me to this page, about which I had no idea. Anybody could fairly easily check for merges with it.

Last fiddled with by Dubslow on 2012-07-12 at 17:16

2012-07-12, 17:45   #10
kar_bon

Mar 2006
Germany

2×1,487 Posts

Quote:
 Originally Posted by Dubslow PS: Regarding merges, SM_88 directed me to this page, about which I had no idea. Anybody could fairly easily check for merges with it.
This page with endings was done only once in March and contains still some error (missing lines and some doubled).
I've just downloaded that page and compared it with the one from March: no changes!
Syd said then, this page will not be updated because of too much DB-accesses.

2012-07-12, 17:49   #11
Dubslow

"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3×29×83 Posts

Quote:
 Originally Posted by kar_bon This page with endings was done only once in March and contains still some error (missing lines and some doubled). I've just downloaded that page and compared it with the one from March: no changes! Syd said then, this page will not be updated because of too much DB-accesses.
Ah... good thing I'm tracking the ID's then.

 Similar Threads Thread Thread Starter Forum Replies Last Post sweety439 sweety439 3 2022-08-04 09:17 sweety439 sweety439 1 2022-07-30 04:00 kar_bon Aliquot Sequences 174 2022-03-19 13:07 fivemack FactorDB 46 2021-02-21 10:46 yoyo Aliquot Sequences 69 2020-02-06 22:12

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

Thu Sep 29 18:29:16 UTC 2022 up 42 days, 15:57, 0 users, load averages: 1.35, 1.39, 1.42