![]() |
|
|
#188 |
|
"James Heinrich"
May 2004
ex-Northern Ontario
65358 Posts |
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. |
|
|
|
|
|
#189 | |
|
If I May
"Chris Halsall"
Sep 2002
Barbados
9,767 Posts |
Quote:
), 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/ |
|
|
|
|
|
|
#190 |
|
"/X\(‘-‘)/X\"
Jan 2013
2·5·293 Posts |
P is for Python, no?
|
|
|
|
|
|
#191 |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
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 |
|
|
|
|
|
#192 |
|
If I May
"Chris Halsall"
Sep 2002
Barbados
9,767 Posts |
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?") |
|
|
|
|
|
#193 |
|
"/X\(‘-‘)/X\"
Jan 2013
1011011100102 Posts |
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. :)
|
|
|
|
|
|
#194 |
|
"James Heinrich"
May 2004
ex-Northern Ontario
11·311 Posts |
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.
|
|
|
|
|
|
#195 |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3·29·83 Posts |
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? )
|
|
|
|
|
|
#196 | |
|
If I May
"Chris Halsall"
Sep 2002
Barbados
230478 Posts |
Quote:
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. |
|
|
|
|
|
|
#197 |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
1C3516 Posts |
|
|
|
|
|
|
#198 |
|
If I May
"Chris Halsall"
Sep 2002
Barbados
100110001001112 Posts |
|
|
|
|
![]() |
| 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 |