Re: [U2] Prime number file modulos

2005-09-05 Thread Stewart Leicester
From: "Ray Wurlod" <[EMAIL PROTECTED]> But, for backwards compatibility, it's still the default in UniVerse Pick flavor accounts. So make sure you always specify separation! From: "Dan Fitzgerald" <[EMAIL PROTECTED]> Usually not on purpose... > I thought 500-byte frames were a thing of the

Re: [U2] Prime number file modulos

2005-09-05 Thread Mark Johnson
Re: 500 byte frames: Just my Microdata clients. Mark Johnson - Original Message - From: "Stewart Leicester" <[EMAIL PROTECTED]> To: Sent: Sunday, September 04, 2005 8:36 PM Subject: Re: [U2] Prime number file modulos > From: "Dan Fitzgerald" <[EMAIL PR

Re: [U2] Prime number file modulos

2005-09-05 Thread Ray Wurlod
But, for backwards compatibility, it's still the default in UniVerse Pick flavor accounts. So make sure you always specify separation! - Original Message - From: "Dan Fitzgerald" <[EMAIL PROTECTED]> To: u2-users@listserver.u2ug.org Subject: Re: [U2] Prime number f

Re: [U2] Prime number file modulos

2005-09-04 Thread Stewart Leicester
From: "Dan Fitzgerald" <[EMAIL PROTECTED]> Tuning file sizes is vitally important. If you have an average item size of, say, 1700 bytes, and a sep of 1, then even if you pick a very good modulus, it will take 4 disk reads to retrieve the data. If you have a bad modulus on top of that, like 101

Re: [U2] Prime number file modulos

2005-09-03 Thread Mark Johnson
So let's ask the heavy hitters on this forum. How does the TCL verb PRIME do its magic. Thanks in advance. - Original Message - From: "Ron Hutchings" <[EMAIL PROTECTED]> To: Sent: Saturday, September 03, 2005 12:41 PM Subject: Re: [U2] Prime number file modulos &

Re: [U2] Prime number file modulos

2005-09-03 Thread FFT2001
In a message dated 9/2/2005 8:44:16 PM Pacific Daylight Time, [EMAIL PROTECTED] writes: > INPUT ANS > MAX=INT(SQRT(ANS))+1 > PRIME=TRUE > FOR I=2 TO MAX UNTIL NOT PRIME > IF MOD(ANS,I)=0 THEN PRIME=FALSE > NEXT I You don't need to add "1" Mark. If sqrt is already an int then that is your

Re: [U2] Prime number file modulos

2005-09-03 Thread Ray Wurlod
invent the wheel at all, and use the PRIME verb. - Original Message - From: "Mark Johnson" <[EMAIL PROTECTED]> To: u2-users@listserver.u2ug.org Subject: Re: [U2] Prime number file modulos Date: Fri, 2 Sep 2005 23:43:41 -0400 > > Here's one better if you don't w

RE: [U2] Prime number file modulos

2005-09-03 Thread Allen E. Elwood
to come up with the idea, and another 2 to program it. Now figure that one out! Allen -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Larry Hiscock Sent: Friday, September 02, 2005 23:26 To: u2-users@listserver.u2ug.org Subject: RE: [U2] Prime number file m

Re: [U2] Prime number file modulos

2005-09-03 Thread Ron Hutchings
You can shorten your prime search routine's execution by limiting the search for factors to the square root of the number being tested for primality. If a number is composite(not prime) it has to have a factor smaller than its square root. --- u2-users mailing list u2-users@listserver.u2ug

RE: [U2] Prime number file modulos

2005-09-02 Thread Larry Hiscock
ET:' is prime' END ELSE PRINT 'Next higher prime was : ':TARGET END STOP Enjoy! Allen www.tortillafc.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mark Johnson Sent: Friday, September 02, 2005 14:41 To: u2-users@lists

Re: [U2] Prime number file modulos

2005-09-02 Thread Mark Johnson
d by legislation, the first thing to be > bought & sold are the legislators" - P.J. O'Rourke > Dan Fitzgerald > > > > > > >From: "Mark Johnson" <[EMAIL PROTECTED]> > >Reply-To: u2-users@listserver.u2ug.org > >To: > >Subject:

Re: [U2] Prime number file modulos

2005-09-02 Thread Mark Johnson
al Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Mark Johnson > Sent: Friday, September 02, 2005 14:41 > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] Prime number file modulos > > > I found the resize program and all it did was place the new

Re: [U2] Prime number file modulos

2005-09-02 Thread Dan Fitzgerald
x27;Rourke Dan Fitzgerald From: "Mark Johnson" <[EMAIL PROTECTED]> Reply-To: u2-users@listserver.u2ug.org To: Subject: Re: [U2] Prime number file modulos Date: Fri, 2 Sep 2005 17:40:48 -0400 I found the resize program and all it did was place the new mod in 013 of the

Re: [U2] Prime number file modulos

2005-09-02 Thread Dan Fitzgerald
s" - P.J. O'Rourke Dan Fitzgerald From: "Mark Johnson" <[EMAIL PROTECTED]> Reply-To: u2-users@listserver.u2ug.org To: Subject: Re: [U2] Prime number file modulos Date: Fri, 2 Sep 2005 17:50:07 -0400 One final Old-school question on MODs. (example mods aren't pri

RE: [U2] Prime number file modulos

2005-09-02 Thread Allen E. Elwood
s : ':TARGET END STOP Enjoy! Allen www.tortillafc.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mark Johnson Sent: Friday, September 02, 2005 14:41 To: u2-users@listserver.u2ug.org Subject: Re: [U2] Prime number file modulos I found the res

Re: [U2] Prime number file modulos

2005-09-02 Thread Mark Johnson
me under-sizing, the differences aren't worth policing? Thanks in advance. Mark Johnson - Original Message - From: "Dan Fitzgerald" <[EMAIL PROTECTED]> To: Sent: Friday, September 02, 2005 4:39 PM Subject: Re: [U2] Prime number file modulos > Yeah... the problem wit

Re: [U2] Prime number file modulos

2005-09-02 Thread Mark Johnson
September 02, 2005 4:20 PM Subject: RE: [U2] Prime number file modulos > >P.S. Could "SLOW" stand for System Loves Overflow Workspace? > > Since someone lacked the ability to calculate a prime number, maybe its > > Serious Lack Of Writhmatic > > which fails the E

Re: [U2] Prime number file modulos

2005-09-02 Thread Dan Fitzgerald
#x27;Rourke Dan Fitzgerald From: "Mark Johnson" <[EMAIL PROTECTED]> Reply-To: u2-users@listserver.u2ug.org To: Subject: Re: [U2] Prime number file modulos Date: Fri, 2 Sep 2005 08:53:01 -0400 I just got a copy of the stat report and found over 100 files who's mods are

RE: [U2] Prime number file modulos

2005-09-02 Thread Allen E. Elwood
ehalf Of Mark Johnson Sent: Friday, September 02, 2005 05:53 To: u2-users@listserver.u2ug.org Subject: Re: [U2] Prime number file modulos I just got a copy of the stat report and found over 100 files who's mods are either obviously not prime, ie 1000 or someone's stupid assumption that 1

Re: [U2] Prime number file modulos

2005-09-02 Thread Mark Johnson
hnson P.S. Could "SLOW" stand for System Loves Overflow Workspace? - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Tuesday, August 30, 2005 5:05 PM Subject: Re: [U2] Prime number file modulos > The funniest or most gruesome file tuning that I've seen w

RE: [U2] Prime number file modulos - long, boring math discussion

2005-08-31 Thread Timothy Snyder
Jeff Fitzgerald <[EMAIL PROTECTED]> wrote on 08/30/2005 11:47:29 PM: > This is a simplified version of how the math works: Thanks for this nice dissertation. I initially went through it before my morning coffee, and have to admit that I had to come back after giving my brain cells a jolt. By

RE: [U2] Prime number file modulos - long, boring math discussion

2005-08-30 Thread Jeff Fitzgerald
s?" After that we always explained what a prime number is! Cheers, Jeff Fitzgerald Fitzgerald & Long, Inc. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Timothy Snyder Sent: Tuesday, August 30, 2005 4:17 PM To: u2-users@listserver.u2ug.org

Re: [U2] Prime number file modulos

2005-08-30 Thread Timothy Snyder
I've definitely seen some non-prime modulos make a mess of things on platforms that allow them. UniData forces everything to a prime number, but UniVerse and some PICKs don't. If I remember rightly, Sequoia forced it to a number ending in 1, 3, 7, or 9. I remember an argument years ago - sup

Re: [U2] Prime number file modulos

2005-08-30 Thread BRosenberg
"Mark Johnson" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] Date: 08/30/2005 09:16AM Subject: [U2] Prime number file modulos A little non-U2 but I'm sure still answerable by many experienced MV persons. One client (AP-Pro, Native) reported to me a bunch of GFE's. Upon f

Re: [U2] Prime number file modulos

2005-08-30 Thread Martin Phillips
> This begs the question. Did it really matter to be prime. I understand the > concept of prime numbers and the many forms of hashing so let's not deviate > into a hashing thread debate. I'm just interested to learn first-hand > observations on native systems with non-prime file modulos. Non-prime

[U2] Prime number file modulos

2005-08-30 Thread Mark Johnson
A little non-U2 but I'm sure still answerable by many experienced MV persons. One client (AP-Pro, Native) reported to me a bunch of GFE's. Upon further investigation, all of the involved data files had non-prime modulos. This begs the question. Did it really matter to be prime. I understand the c