On Wed, Mar 28, 2007 at 11:00 PM, <[email protected]> wrote:
> Send General mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://www.jsoftware.com/cgi-bin/mailman/listinfo/general > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of General digest..." > > > Today's Topics: > > 1. Re: New to J - Hello (ramacd) > 2. Extended precision ([email protected]) > 3. Re: Extended precision (Roger Hui) > 4. Re: Extended precision (Raul Miller) > 5. RE: Cookies with JHP (Sherlock, Ric) > 6. Re: ;: -- is the word separator parameterizable? (Mark D. Niemiec) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 28 Mar 2007 18:23:33 -0300 > From: "ramacd" <[email protected]> > Subject: Re: [Jgeneral] New to J - Hello > To: "General forum" <[email protected]> > Message-ID: <047001c7717f$5718b210$0202a...@ram> > Content-Type: text/plain; charset="iso-8859-1" > > Hi Terrence; > > I just have to state that that is the first time in the decade and a half > that I've been exposed to J that I've ever heard J characterized as _more_ > readable than APL. I'm curious as to how you conclude that. > > ------------------------------------------------------------------------ > |\/| Randy A MacDonald | APL: If you can say it, it's done.. (ram) > |/\| [email protected] | > |\ | | The only real problem with APL is that > BSc(Math) UNBF'83 | it is "still ahead of its time." > Sapere Aude | - Morten Kromberg > Natural Born APL'er | Demo website: http://156.34.78.235/ > -----------------------------------------------------(INTP)----{ gnat }- > > ----- Original Message ----- > From: "Terrence Brannon" <[email protected]> > To: "General forum" <[email protected]> > Sent: Wednesday, March 28, 2007 12:42 PM > Subject: [Jgeneral] New to J - Hello > > > > On 3/28/07, Dan Bron <[email protected]> wrote: > > > > > > > Though, in retrospect, since Terrence is new to J (I assume), > > > > new for a second time. I keep wondering about it. It's easier to get > > into than kX and kdb. It's more readable than APL. It's more terse > > than haskell (I always start losing in Haskell when it gets to > > monads). > > > > I do a lot of data crunching: I take csv, xml, fixed-width files and > > commit such data to SQL databases. And sometimes spreadsheets. So, I'm > > just playing with J to see what it can offer a > > Perl/Python/soon-to-be-Java guy. > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > ------------------------------ > > Message: 2 > Date: Thu, 29 Mar 2007 00:43:58 +0100 (GMT+01:00) > From: "[email protected]" <[email protected]> > Subject: [Jgeneral] Extended precision > To: [email protected] > Message-ID: <9434439.1175125438248.javamail.r...@ps29> > Content-Type: text/plain;charset="UTF-8" > > NB. When looking at some of the 'Euler Project' problems > NB. I came across the following: > > ]a=.50#'1' > 11111111111111111111111111111111111111111111111111 > x:".a > 11111111111111110805019569335803527359330256945152 > x:".50#'2' > 22222222222222221610039138671607054718660513890304 > x:".50#'3' > 33333333333333332415058708007410582077990770835456 > > NB. I suspect that the limit of precision is related to > NB. the fact that I have a 32 bit computer but, not knowing > NB. much about the mechanics of the thing, I am intrigued by > NB. the apparent reproducibility of the result (under both > NB. Windows and Ubuntu linux) and on the relationship between > NB. the first 16 digits and the remainder. > > NB. Can anyone enlighten me? > > NB. Is there any way of getting the 'correct' answer? > NB. Suppose I want the first 50 digits of Pi? > > Regards, > > Eddie Clough. > > > > > > ___________________________________________________________ > > Tiscali Broadband only £9.99 a month for your first 3 months! > http://www.tiscali.co.uk/products/broadband/ > > > ------------------------------ > > Message: 3 > Date: Wed, 28 Mar 2007 16:53:09 -0700 > From: Roger Hui <[email protected]> > Subject: Re: [Jgeneral] Extended precision > To: General forum <[email protected]> > Message-ID: <[email protected]> > Content-Type: text/plain; charset=us-ascii > > Your expressions all produce a 64-bit IEEE > floating point number first, and then converted > it into extended precision. To avoid that, > append an "x" to the string before executing it: > > ". 'x',~ 50#'1' > 11111111111111111111111111111111111111111111111111 > ". 'x',~ 50#'2' > 22222222222222222222222222222222222222222222222222 > ". 'x',~ 50#'3' > 33333333333333333333333333333333333333333333333333 > > <....@o. 10^50x > 314159265358979323846264338327950288419716939937510 > > > > ----- Original Message ----- > From: "[email protected]" <[email protected]> > Date: Wednesday, March 28, 2007 4:43 pm > Subject: [Jgeneral] Extended precision > > > NB. When looking at some of the 'Euler Project' problems > > NB. I came across the following: > > > > ]a=.50#'1' > > 11111111111111111111111111111111111111111111111111 > > x:".a > > 11111111111111110805019569335803527359330256945152 > > x:".50#'2' > > 22222222222222221610039138671607054718660513890304 > > x:".50#'3' > > 33333333333333332415058708007410582077990770835456 > > > > NB. I suspect that the limit of precision is related to > > NB. the fact that I have a 32 bit computer but, not knowing > > NB. much about the mechanics of the thing, I am intrigued by > > NB. the apparent reproducibility of the result (under both > > NB. Windows and Ubuntu linux) and on the relationship between > > NB. the first 16 digits and the remainder. > > > > NB. Can anyone enlighten me? > > > > NB. Is there any way of getting the 'correct' answer? > > NB. Suppose I want the first 50 digits of Pi? > > > > Regards, > > > > Eddie Clough. > > > ------------------------------ > > Message: 4 > Date: Wed, 28 Mar 2007 19:58:30 -0400 > From: "Raul Miller" <[email protected]> > Subject: Re: [Jgeneral] Extended precision > To: "General forum" <[email protected]> > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 3/28/07, Roger Hui <[email protected]> wrote: > > ". 'x',~ 50#'1' > > 11111111111111111111111111111111111111111111111111 > > Note also that > ".50#'1' > displays using "scientific notation" (which J uses for > display only for very large and very small numbers > represented internally using IEEE floating point): > 1.11111e49 > > -- > Raul > > > ------------------------------ > > Message: 5 > Date: Thu, 29 Mar 2007 12:59:54 +1200 > From: "Sherlock, Ric" <[email protected]> > Subject: RE: [Jgeneral] Cookies with JHP > To: "General forum" <[email protected]> > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="us-ascii" > > Whew, thanks for your comments Oleg, I wasn't expecting such an > enthusiastic reception. I'm just glad to be able to contribute > something to the community which some of you give so much to. > > Thanks too for the new version of JHP ... things happen fast around > here! > > On Behalf Of Oleg Kobchenko > > > > These are all great ideas ... > [removed potentially undeserved praise ;-)] > > > There is a new version of JHP, available through JAL. > > now features support for Cookies and POST params. > http://olegykj.sourceforge.net/jhp/ > > > > ------------------------------ > > Message: 6 > Date: Wed, 28 Mar 2007 22:28:30 -0400 (EDT) > From: "Mark D. Niemiec" <[email protected]> > Subject: Re: [Jgeneral] ;: -- is the word separator parameterizable? > To: [email protected] > Message-ID: > < > 29902870.1175135311125.javamail.r...@mswamui-billy.atl.sa.earthlink.net> > > Content-Type: text/plain; charset=UTF-8 > > Terrence Brannon <[email protected]> wrote: > > > Is it possible to specify what the verb ;: will use to split the > > string? > > Monadic ;: splits strings according to the specific rhematic rules > of the J language, which is sometimes suitable as a quick hack, as in > colors =: ;:'red green blue' > but is generally not suitable for user-generrated data. You can use > dyadic ;: to split a string according to any other criteria that a finite > state machine can recognize (such as comma-delimited strings, ignoring > commas within strings) but this is probably overkill for most applications. > > Much more suitable is ;. Typically, you can use <;._1 (which requires > the delimiter to be at the front of the string), or <;._2 (which requires > it at the end). You can also create a simple dyadic verb that takes two > parameters - an arbitrary delimiter, and a delimited string which does > not need a delimiter at either end: > '/' <;._1@, 'this/is/a/string' > +----+--+-+------+ > |this|is|a|string| > +----+--+-+------+ > > -- Mark D. Niemiec <[email protected]> > > > > ------------------------------ > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > > End of General Digest, Vol 18, Issue 53 > *************************************** > > -- ========================================== Evgeniy N. Sharapov ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
