Re: [Jprogramming] The Accessible Dictionary -- Rank-information on portal page

2014-01-24 Thread Ian Clark
@Raul -- I think what you're proposing is in line with Henry's proposals (see earlier thread), which I'm in-process of implementing. But these will show on individual pages, not the NuVoc portal page. Trouble is, I don't seriously believe in rank information on the NuVoc portal -- much less the "m

Re: [Jprogramming] A SAD STORY

2014-01-24 Thread Linda Alvord
BlandOmlette=:'~!+#$%^&*()_' ((([: $ [) ([: ? $) [: $ ])~ { [) ] No salt (@) or pepper (&) Linda -Original Message- From: programming-boun...@forums.jsoftware.com [mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Dan Bron Sent: Wednesday, January 22, 2014 1:32 PM To: program

Re: [Jprogramming] more fork examples

2014-01-24 Thread Vijay Lulla
I second Joe. I'll also be very interested in viewing it remotely, if possible. Even though I don't participate much in this list (or programming@jsoftware) I follow it very closely. This list is enlightening and very educating. J is awesome and this list is awesome! I love it! On Fri, Jan 24, 20

Re: [Jprogramming] ? and ?. have different ranks

2014-01-24 Thread Brian Schott
Yes! Now rand_bsd has the desired qualities. Thank *you*. -- (B=) -- For information about J forums see http://www.jsoftware.com/forums.htm

Re: [Jprogramming] ? and ?. have different ranks

2014-01-24 Thread Raul Miller
Thank you, that was an interesting error. I have updated the rosettacode page, changing the definition of lcg so that the constants are represented in extended precision. Thanks again, -- Raul On Fri, Jan 24, 2014 at 1:30 PM, Brian Schott wrote: > Raul, > > No, that LCG does not do well for

Re: [Jprogramming] ? and ?. have different ranks

2014-01-24 Thread Brian Schott
Raul, No, that LCG does not do well for the bsd version (the ms version only has 32,000 numbers it can generate, so it is impractical, but works as needed). Consider the two examples below, one on J602 and one on J701. Judging by the how the first few numbers do work, it may by possible to fix by

Re: [Jprogramming] The Accessible Dictionary released

2014-01-24 Thread robert therriault
Thanks for that Murray, I had not seen the Mathematica flash animations before. Also, your example of physically representing the array functions is close to the core of my understanding of J programming. Not that I need physical manifestations but that I think of the arrays and vectors as phys

Re: [Jprogramming] The Accessible Dictionary released

2014-01-24 Thread Devon McCormick
The Mathematica animations look promising as a tool for J - more incentive for me to learn HTML5. On Fri, Jan 24, 2014 at 2:23 AM, Ian Clark wrote: > Firefox is a pretty popular browser. Indeed it's popul-IST. Chrome and > Safari are tools of empire. If Firefox performance gets fixed, I'd say g

Re: [Jprogramming] The Accessible Dictionary -- Rank-information on portal page

2014-01-24 Thread Joe Bogner
Connecting two threads -- Ian wrote this here: http://jsoftware.com/pipermail/programming/2014-January/034769.html > Thus, in the first year of learning J, I unconsciously conjectured Rank > didn't matter -- for most purposes. You could intuit most problems, ones > that don't emerge much for rank

Re: [Jprogramming] ? and ?. have different ranks

2014-01-24 Thread Raul Miller
Would http://rosettacode.org/wiki/Linear_congruential_generator#J satisfy your need for a "portable" "RNG" or do you have deeper needs? Thanks, -- Raul On Fri, Jan 24, 2014 at 9:28 AM, Brian Schott wrote: > If ? had the rank of ?. , it would still behave as ? , if these examples > are relevan

Re: [Jprogramming] The Accessible Dictionary -- Rank-information on portal page

2014-01-24 Thread Raul Miller
Looking at your current nuvoc page, I see 22 distinct "ranks". The most common rank entries are _ _ _ (27 of those) and 0 0 0 (26 of those). Actual numeric values are limited to 0, 1, 2 and _. and there are also a variety of abstract values (mv, mu, lv, rv, lu, ru). So one observation is that the

Re: [Jprogramming] ? and ?. have different ranks

2014-01-24 Thread Ian Clark
No, @Ben, it wasn't a question, it was an observation. But questions arise... I'm just thinking of Henry's students when they discover this "feature". As they will... when we've made it easy for them to discover. It's as well to have our answers ready. (?.) offers itself as a plug-compatible repl

Re: [Jprogramming] ? and ?. have different ranks

2014-01-24 Thread Brian Schott
If ? had the rank of ?. , it would still behave as ? , if these examples are relevant. ?."? 2 10 $100 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 94 ?"?. 2 10 $100 54 83 5 96 96 31 83 59 79 54 81 80 49 68 32 12 92 66 50 92 But on a similar, but different, issue: I have long so

Re: [Jprogramming] ? and ?. have different ranks

2014-01-24 Thread Ben Gorte - CITG
I see... In fact your question is why monadic ? has rank 0, instead of _ , which would make it like behave more like ?. concerning b. 0 . We agree that a rank 0 ?. wouldn't be useful: querydot =: (?.)"0 querydot (10#100) 46 46 46 46 46 46 46 46 46 46 querydot"1 (10#100) 46 46 46 46 46

Re: [Jprogramming] ? and ?. have different ranks

2014-01-24 Thread Ian Clark
It says... > Behaves like monadic/dyadic Roll • > Deal( ?) except ...etc. ...It doesn't. Not with (b.0) On Fri, Jan 24, 2014 at 1:15 PM, Ben Gorte - CITG wrote: > Looks quite right what is written there. > >?."0 (10#100) > 46 46 46 46 46 46

Re: [Jprogramming] ? and ?. have different ranks

2014-01-24 Thread Ben Gorte - CITG
Looks quite right what is written there. ?."0 (10#100) 46 46 46 46 46 46 46 46 46 46 ?. (10#100) 46 55 79 52 54 39 60 57 60 94 illustrates that the random seed is always set to the same value (7^5) each time ?. is executed. Ben From: programming-b

Re: [Jprogramming] ? and ?. have different ranks

2014-01-24 Thread Ian Clark
I'm watching what's being said on this thread, prior to rewriting: http://www.jsoftware.com/jwiki/Vocabulary/querydot Its present wording is wrong. To handle the new rank information, it will need rewriting in conventional format. So I have a genuine reason to know why (? b.0) and (?. b.0) are dif

[Jprogramming] The Accessible Dictionary -- Rank-information on portal page

2014-01-24 Thread Ian Clark
I've re-implemented "Rank Info" using MoinMoin "Comments"... When you write a /* comment */ on a page, initially it doesn't show. But a new button appears on the light-blue toolbar: "Comments". This toggles the comments on/off. It does it really fast too: on the client I guess, not the host. I li

Re: [Jprogramming] ? and ?. have different ranks

2014-01-24 Thread Brian Schott
Bill, To my surprise, you are correct, as the following examples suggest. (My first reaction was that you were wrong, but that is so rare. ) ?."+ 3#9 3 3 3 ?. 3#9 3 8 8 --- (B=) On Jan 24, 2014, at 6:16 AM, bill lam wrote: > I guess this is intended, otherwise all numbers genera

Re: [Jprogramming] more fork examples

2014-01-24 Thread Joe Bogner
> I'd be happy to give the talk, or some variant of it, any time I find a > willing audience. I'd be very interested if there was an opportunity to see it remotely. I wonder if there's any interest for a virtual J user group since the community is somewhat small and spread out beyond a few pockets

Re: [Jprogramming] ? and ?. have different ranks

2014-01-24 Thread bill lam
I guess this is intended, otherwise all numbers generated will be identical. 24.01.2014, в 19:06, Ian Clark написал(а): > ? b.0 > 0 0 0 > ?. b.0 > _ 0 0 > > This puzzles me. Apart from the actual numbers they generate, why shouldn't > their behaviour be identical from the user's pov? >

Re: [Jprogramming] ? and ?. have different ranks

2014-01-24 Thread Ben Gorte - CITG
Just guessing: If ?. y had rank 0, ?.100$10 would give 100 times the same number. ? also might, but this would be a real coincidence. Ben From: programming-boun...@forums.jsoftware.com [programming-boun...@forums.jsoftware.com] on behalf of Ian Clark [e

[Jprogramming] ? and ?. have different ranks

2014-01-24 Thread Ian Clark
? b.0 0 0 0 ?. b.0 _ 0 0 This puzzles me. Apart from the actual numbers they generate, why shouldn't their behaviour be identical from the user's pov? -- For information about J forums see http://www.jsoftware.com/forums.htm