mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > PrimeNet > GPU to 72

Reply
 
Thread Tools
Old 2015-08-17, 17:01   #188
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

23×149 Posts
Default

It actually just occurred to me that I should already have this kind of parsed data (count by range and factored bits, by date) available on mersenne.ca, since I need that data to generate the graphs that I do.

I'll take a peek at the data and see if I can come up with a poor approximation of mersenne.info's tables.
James Heinrich is offline   Reply With Quote
Old 2015-08-17, 17:29   #189
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

2·67·73 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
I'll take a peek at the data and see if I can come up with a poor approximation of mersenne.info's tables.
And... I would be happy to provide you with the code which generates the tables, graphs etc. It's in Perl though; I know you and I have a disagreement about what the "P" stands for in LAMP (), but it should be trivial to host directly on a LAM[P|P] stack, or port...

To be perfectly honest, the rending side of things wasn't / isn't the issue -- it was the back-end server here in Barbados which did the spidering which suffered an unfortunate early death.

Last fiddled with by chalsall on 2015-08-17 at 17:30 Reason: s/about that the/about what the/
chalsall is online now   Reply With Quote
Old 2015-08-17, 17:31   #190
Mark Rose
 
Mark Rose's Avatar
 
"/X\(‘-‘)/X\"
Jan 2013

2·5·293 Posts
Default

P is for Python, no?
Mark Rose is offline   Reply With Quote
Old 2015-08-17, 17:50   #191
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26·131 Posts
Default

Quote:
Originally Posted by Mark Rose View Post
P is for Python, no?
https://en.wikipedia.org/wiki/LAMP_(software_bundle) suggest it's interchangeable nowadays but used to stand for : Linux operating system,Apache HTTP Server,MySQL relational database management system and PHP. but the picture on the right of the page shows perl, python, and PHP, mysql etc.

Last fiddled with by science_man_88 on 2015-08-17 at 17:50
science_man_88 is offline   Reply With Quote
Old 2015-08-17, 18:19   #192
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

2·67·73 Posts
Default

Quote:
Originally Posted by Mark Rose View Post
P is for Python, no?
Just a small rant, if I may...

While I /can/ code in Python, I seriously dislike indentation being used for code structure. That (at least in my mind) is what curly brackets are for.

"I sentient programmer. You deterministic compiler. Do what I tell you to do, rather than forcing me to use an IDE to indent the code to YOUR liking. I accept the responsibility if you do /EXACTLY/ what I tell you to do.

(Please keep in mind, I'm old school. I still use VIM as my primary editor, and sometimes dream in C. When I want to conditionally remove a section of code by using "if (CONDITION) { [MANY LINES OF CODE] }" I feel I should be able to without the compiler telling me "Tut tut! You didn't indent to my satisfaction. More tea dear while you try again?")
chalsall is online now   Reply With Quote
Old 2015-08-17, 19:23   #193
Mark Rose
 
Mark Rose's Avatar
 
"/X\(‘-‘)/X\"
Jan 2013

2×5×293 Posts
Default

I actually like Python's pickiness with indentation. No more arguments about where the curly braces go, or problems when someone has a three-space tabulator and indents things to match with spaces. I also use VIM. :)
Mark Rose is offline   Reply With Quote
Old 2015-08-17, 19:23   #194
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

23·149 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
It actually just occurred to me that I should already have this kind of parsed data
And upon closer inspection I realize I have something that's almost-but-not-quite that: I have data on the distribution of bitsize of known factors, not the distribution of TF for unfactored exponents. I could expand my data-collection, but it would make more sense to just run this off mersenne.org and pull from the real data. Perhaps when Aaron has some free time he can help me figure out the best way to pull that kind of data out, I can assemble a front-end once the data is available.
James Heinrich is offline   Reply With Quote
Old 2015-08-17, 19:40   #195
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3×29×83 Posts
Default

Quote:
Originally Posted by Mark Rose View Post
P is for Python, no?
Beat me to it

As for the indentation, it forces good style habits (i.e. is easier to read), as well as being simpler to write and learn.

Disabling code by putting it in an always-false conditional is (arguably) a bad habit. If you want to pretend that code isn't there, comment it, don't leave it sitting there looking for all the world like legitimate code if you either fail to notice or forget the false conditional.

(Also what's this nonsense about IDEs? )
Dubslow is offline   Reply With Quote
Old 2015-08-17, 20:05   #196
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

2×67×73 Posts
Default

Quote:
Originally Posted by Dubslow View Post
Disabling code by putting it in an always-false conditional is (arguably) a bad habit. If you want to pretend that code isn't there, comment it, don't leave it sitting there looking for all the world like legitimate code if you either fail to notice or forget the false conditional.
LOL...

Who said anything about always-false in the conditional?

On the other hand, there are those who sometimes remove sections of code temporarily.

Python has no such option. You can either remove the code without the reminder of what was originally there, or you indent around the conditional, or you add a hash mark for each line.

Regardless, you are at the sufferance of the editor / compiler. Something I'm not willing to do.
chalsall is online now   Reply With Quote
Old 2015-08-17, 20:38   #197
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

1C3516 Posts
Default

Quote:
Originally Posted by chalsall View Post

Regardless, you are at the sufferance of the compiler.
That's true of any language, including Perl.
Dubslow is offline   Reply With Quote
Old 2015-08-17, 20:44   #198
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

263616 Posts
Default

Quote:
Originally Posted by Dubslow View Post
That's true of any language, including Perl.
Agreed.

On the other hand, no other compiler (that I know of) gets upset because of indentation.
chalsall is online now   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
AVX? (Other new features?) Dubslow Software 6 2011-10-16 14:03
A little request 10metreh Aliquot Sequences 8 2009-10-07 18:13
Upcoming features Xyzzy Forum Feedback 1 2007-11-26 18:57
New features in Prime95 v22.9 guido72 Software 4 2003-03-02 23:54
Desired Features/Addins Complex33 Software 5 2002-09-05 06:13

All times are UTC. The time now is 01:05.


Fri Aug 6 01:05:52 UTC 2021 up 13 days, 19:34, 1 user, load averages: 2.29, 2.38, 2.33

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.