mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Aliquot Sequences

Reply
 
Thread Tools
Old 2012-07-31, 03:53   #45
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3×2,399 Posts
Default

Quote:
Originally Posted by Dubslow View Post
Next on the list: Fancifying the stats page as per LaurV's request.
Done, though it looks a bit raggedy. Formatting JS tables relative to the rest of the page is quite a bit harder than with a regular table.
Dubslow is offline   Reply With Quote
Old 2012-07-31, 06:44   #46
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

3·2,957 Posts
Default

1. Search box of the second table makes no sense. The tables are beautiful and sortable by every column, you can reach everything you want with just two clicks and a drag, WITHOUT using the search/filter box. What do you want to filter, anyhow? I know, it is an additional feature, and I am not the guy to advocate eliminating features, but I am against that search box because is changing the vertical alignment of the tables (same the "Total sequences extended in the last week" string on the forth table). I would advice for eliminating the search box (and put that string somewhere else, at the end of the text, before the tables, eventually write the number in bold to be eye-attracting). Or better, put few rows of empty text at the beginning of the other tables, so the tables be top-vertically aligned. Like it is now the alignment looks like sh*t, specially when you scroll down the second table and it jumps up and down because the numbers grow big and do not fit on a single row.

2. on the main page, you put the spaces at the end of the table, inside of it, ha ha ha, they were supposed to be put outside, AFTER the table. Scroll down the big table to see what I mean.

3. (optional) you may add 2^5*3^2*7 [that's the full 2^5*(2^6-1)] to the driver list, it seems quite stable on my list, more stable then the other in your list already, hehe...

LaurV grumpy.

Last fiddled with by LaurV on 2012-07-31 at 06:47
LaurV is offline   Reply With Quote
Old 2012-07-31, 07:12   #47
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3×2,399 Posts
Default

Quote:
Originally Posted by LaurV View Post
1. Search box of the second table makes no sense. The tables are beautiful and sortable by every column, you can reach everything you want with just two clicks and a drag, WITHOUT using the search/filter box. What do you want to filter, anyhow? I know, it is an additional feature, and I am not the guy to advocate eliminating features, but I am against that search box because is changing the vertical alignment of the tables (same the "Total sequences extended in the last week" string on the forth table). I would advice for eliminating the search box (and put that string somewhere else, at the end of the text, before the tables, eventually write the number in bold to be eye-attracting). Or better, put few rows of empty text at the beginning of the other tables, so the tables be top-vertically aligned. Like it is now the alignment looks like sh*t, specially when you scroll down the second table and it jumps up and down because the numbers grow big and do not fit on a single row.
Done.
Quote:
Originally Posted by LaurV View Post
2. on the main page, you put the spaces at the end of the table, inside of it, ha ha ha, they were supposed to be put outside, AFTER the table. Scroll down the big table to see what I mean.
I couldn't see anything wrong, even when I scrolled all the way down. I did move the relevant CSS from inside the <div> wrapping the table to the <body>, and it looks the same to me, but hopefully it's better for you.
Quote:
Originally Posted by LaurV View Post
3. (optional) you may add 2^5*3^2*7 [that's the full 2^5*(2^6-1)] to the driver list, it seems quite stable on my list, more stable then the other in your list already, hehe...
I said somewhere else in the thread that I only show guides with class 3 or lower; I realize that not all the guides meet that criteria, but they're leftover from before I added that rule.
(Edit: The above isn't actually relevant to the quote, but it's still slightly interesting.)

I also made a decision to not show any powers on v (powers=False, see second code box) for simplicity of analysis.
Code:
dr = get_guide(string, powers=False)
if get_class(guide=dr) > 3: 
    drs = '2^{}'.format(dr[2])
In either case, the ^2 actually makes it less stable, according to Clifford's analysis. In general, to lose a driver (i.e. increase the class), the best thing is to raise the factors in v=sigma(2^a) to an even power. (I have no rigorous proof, but lots (lots) of experimenting with my module/his analysis.)
Code:
>>> import aliquot as a
>>> a.get_class('2^5*3^2*7')
2
>>> a.get_class('2^5*3*7')
0
>>> a.get_class('2^5*3^2*7', powers=False)
0
Though guides don't show powers, the class column in the main table is calculated with the powers. (So it would show 2 if the 3 is raised to an even power.)
Edit: Keep in mind that even a class 3 guide is fairly unstable. (Such includes 2^7 * 3 * 5 * 17.)
Quote:
Originally Posted by LaurV View Post
LaurV grumpy.
Hopefully no longer.

Last fiddled with by Dubslow on 2012-07-31 at 07:20
Dubslow is offline   Reply With Quote
Old 2012-07-31, 08:02   #48
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

3·2,957 Posts
Default

.
Attached Thumbnails
Click image for larger version

Name:	7-31-2012 14-53-34.jpg
Views:	119
Size:	203.7 KB
ID:	8342  
LaurV is offline   Reply With Quote
Old 2012-07-31, 08:12   #49
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·2,399 Posts
Default

Quote:
Originally Posted by LaurV View Post
.
And that's what you get right now? After I've moved the margin to the <body>...?

I don't really know. Are there any HTML/CSS experts out there? (Firefox, right?)

Edit: Actually, the scroll box appears to be the right margin off the bottom of the page (it's supposed to be 24px). It's almost as if you scrolled off the bottom of the table. (If you count the rows, about the right number are missing at the top as would fit at the bottom.) I'm not sure if that's a glitch with the DataTables JS or something else though.

Edit2: Would red links be better than orange links for the main table?

Last fiddled with by Dubslow on 2012-07-31 at 08:19
Dubslow is offline   Reply With Quote
Old 2012-07-31, 08:54   #50
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

22×1,433 Posts
Default

Works for me in firefox. It would be nice if the table wasn't right at the bottom of the screen though. In general people don't look at the bottom inch of the screen. They just scroll so the bit then want isn't there. Can't do that here.
Attached Thumbnails
Click image for larger version

Name:	screenshot.jpg
Views:	115
Size:	150.1 KB
ID:	8343  
henryzz is offline   Reply With Quote
Old 2012-07-31, 09:03   #51
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3×2,399 Posts
Default

Quote:
Originally Posted by henryzz View Post
It would be nice if the table wasn't right at the bottom of the screen though.
Do you mean make the table itself shorter, or move it up from the bottom of the screen?
Dubslow is offline   Reply With Quote
Old 2012-07-31, 10:25   #52
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

3×2,957 Posts
Default

Quote:
Originally Posted by henryzz View Post
It would be nice if the table wasn't right at the bottom of the screen though. In general people don't look at the bottom inch of the screen. They just scroll so the bit then want isn't there. Can't do that here.
Exactly that is what I am talking about. Move the table a little up. If you don't like the empty space at the end, then write a (c) message, put a counter, put a button, etc, see this very page of the forum, scroll down and see xyzzy's button.

Related to the statistics page, the aligned tables look MUCH better now. Well done. Same about the space at the end.

And yes, I see the bars longer then the tables if I move the slider to the lowest position, for ALL TABLES, by DIFFERENT amount. It is not proportional to the amount of rows, but to the character size (truncation/rounding of the spaces in between the rows, character fonts, etc), if you change the character size (ctrl+scrollwheel) during the sliders are max-down, you see the effect - all tables are jumping - no matter your OS or firefox version (here tried on XP and vista, with firefox 14.0.1)
LaurV is offline   Reply With Quote
Old 2012-07-31, 14:51   #53
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

31×109 Posts
Default

I can also see LaurV's (mis)formatting if I change the text size (CTRL+/- in Firefox). It appears that the size formatting for the headers and scrolls is not proportional to the text within the table.
EdH is offline   Reply With Quote
Old 2012-07-31, 16:16   #54
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3×2,399 Posts
Default

Quote:
Originally Posted by LaurV View Post
Exactly that is what I am talking about. Move the table a little up. If you don't like the empty space at the end, then write a (c) message, put a counter, put a button, etc, see this very page of the forum, scroll down and see xyzzy's button.
I think I'll interpret that to mean add more space below the table.
Quote:
Originally Posted by EdH View Post
I can also see LaurV's (mis)formatting if I change the text size (CTRL+/- in Firefox). It appears that the size formatting for the headers and scrolls is not proportional to the text within the table.
Nice catch! Now I can reproduce it as well. Whenever I use a non default zoom and scroll to the bottom, it happens. I'm not quite sure what to do about it right off the top of my head, I suspect it's something about the JS. I remember reading on the DataTables site about "what happens when the window resizes?"

In the meantime, in a stroke of inspiration, the columns should resize properly while zooming, though the scrolling off the bottom still happens. (Edit: You need to scroll once for the columns to actually change widths.)

Last fiddled with by Dubslow on 2012-07-31 at 16:18
Dubslow is offline   Reply With Quote
Old 2012-08-01, 06:10   #55
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3×2,399 Posts
Default

Ah mayd mowr intruhstins

Edit: Up to what size does the FDB automatically factor a composite?

Last fiddled with by Dubslow on 2012-08-01 at 06:48
Dubslow is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Russian Blue xilman Science & Technology 24 2015-10-16 00:03
How do you explain the colour blue to someone that was born blond? retina Lounge 32 2015-03-28 13:08
Blue-eyed Islanders fetofs Puzzles 28 2005-11-03 15:50
Blue Gene\L ixfd64 Hardware 9 2005-11-01 11:34
Blue Screen Of Death dave_0273 Hardware 17 2005-05-19 14:33

All times are UTC. The time now is 10:08.

Tue Oct 27 10:08:43 UTC 2020 up 47 days, 7:19, 0 users, load averages: 1.71, 1.72, 1.66

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.