![]() |
|
|
#12 | |
|
"Mike"
Aug 2002
25×257 Posts |
Quote:
|
|
|
|
|
|
|
#13 |
|
∂2ω=0
Sep 2002
República de California
101101011101112 Posts |
is ![]() [= beside himself] to see the new razzie up and running. Now go away, or ah shall haff to taunt you a second time.
|
|
|
|
|
|
#14 |
|
"Mike"
Aug 2002
25·257 Posts |
A very ugly start:
Code: Output:
|
|
|
|
|
|
#15 | |
|
Oct 2015
10A16 Posts |
Quote:
or a thread level sticky post, in the same way that there are forum level sticky threads? |
|
|
|
|
|
|
#16 | |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
Quote:
|
|
|
|
|
|
|
#17 |
|
Jun 2003
13BD16 Posts |
Two comments.
1. Use a string to concatenate the factors directly, instead of dumping into an array. 2. Change the main loop condition to while ($i*$i <= $x). EDIT:- However, with this change, you have to add $x also as a factor (if > 1). Last fiddled with by axn on 2016-03-04 at 13:14 |
|
|
|
|
|
#18 | |
|
Dec 2014
25510 Posts |
Quote:
Some text (post) that is displayed at the top of all pages of a thread that can be filled in by someone (thread originator) to hold text everyone reading the thread might want to know. |
|
|
|
|
|
|
#19 | |
|
Romulan Interpreter
Jun 2011
Thailand
22·33·89 Posts |
Quote:
|
|
|
|
|
|
|
#20 |
|
Dec 2014
25510 Posts |
|
|
|
|
|
|
#21 | |
|
"Mike"
Aug 2002
25×257 Posts |
Quote:
We have the code live now. The only broken part right now, that we know of, is that the post count in private messages is "1". We think this is because we do not have the right "trigger" defined for that template. Lines 4-6 "fix" the untriggered private message issue. We use silly variable names to avoid collision with variable names that may or may not exist. The speed "hit" appears to be negligible. Please look for any other broken areas of the forum.
|
|
|
|
|
|
|
#22 |
|
"Mike"
Aug 2002
25·257 Posts |
Someday, we would like to format the post count like this:
2 * 33 * 1234 That will require a new approach to our code. We would also like to substitute "×" for "*". And maybe add commas to parts that are more than three digits. So: 2 × 33 × 1,234 For now we are happy with the results.
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Collaboration Requests | robert44444uk | Prime Gap Searches | 2 | 2017-01-17 07:57 |
| Requests for change... | WraithX | FactorDB | 32 | 2014-12-18 03:40 |
| Manual Requests | tului | GPU Computing | 15 | 2014-06-24 06:22 |
| a few simple requests for v5 | ixfd64 | PrimeNet | 44 | 2010-01-11 20:21 |
| New Year requests | masser | Sierpinski/Riesel Base 5 | 22 | 2007-09-24 21:05 |