Re: [Jprogramming] bug in ?

2015-12-20 Thread Alan Stebbens
In regard to bug-tracking & fixing, is there any reason not to use github as the source repo? There are a lot of advantages to using github or bitbucket as the open source repo. - git-based version control - easy branch management - cloning repos is simple - forking repos is simple

Re: [Jprogramming] newbie help: how to avoid division by zero

2013-05-21 Thread Alan Stebbens
You should show some dimensional information because many J operations operate over a rank dimension (either default or explicit). It looks like lineReactance is a matrix of 11 x 11, and phase is a vector of 11? Also, your problem statement doesn't match your examples: Problem: how to write

[Jprogramming] Fwd: Testing consecutive pairs of primes

2013-05-13 Thread Alan Stebbens
quite get the problem statement. > > r =. (p+q)%2 is between p and q; so if p and q are CONSECUTIVE primes, r > cannot be prime. > > Henry Rich > > On 5/12/2013 6:07 AM, Alan Stebbens wrote: > > ProgrammingPraxis (at http://programmingpraxis.com/2013/05/10/mindcipher > )

[Jprogramming] Fwd: Testing consecutive pairs of primes

2013-05-13 Thread Alan Stebbens
> Rule of thumb: don't box items of same shape. > > > R.E. Boss > > > > -Oorspronkelijk bericht- > > Van: programming-boun...@forums.jsoftware.com [mailto: > programming-boun...@forums.jsoftware.com] Namens Alan Stebbens > > Verzonden: zondag 12 mei 2013

[Jprogramming] Testing consecutive pairs of primes

2013-05-12 Thread Alan Stebbens
ProgrammingPraxis (at http://programmingpraxis.com/2013/05/10/mindcipher) offered a problem asking, given p, q as two consecutive pairs of primes, if (p+2)%2 could be prime. Since both p & q (> 2) are prime, their sum is an even number and not prime, but could the half of their sum be a prime? I'

Re: [Jprogramming] J Symbols

2013-04-11 Thread Alan Stebbens
On 04/11/2013 04:37 AM, neville holmes wrote: When I suggested using colouring as an option under user control to bring the . and : suffixed symbols down to a single character, this was to simplify the J symbol set for a general readership. Simplification is very important for general acceptance

Re: [Jprogramming] Fwd: Re: J and APL symbols

2013-04-09 Thread Alan Stebbens
On 04/09/2013 04:18 PM, Alan Stebbens wrote: Similarly, the alternative J input method might have allow one to enter "i", which could be a simple variable by itself, the start of a longer variable name, or the beginning of a J symbol: i. -> iota, i: -> steps. Entering &qu

[Jprogramming] Fwd: Re: J and APL symbols

2013-04-09 Thread Alan Stebbens
No, it won't cancel "any" (by which I mean "all") of the advantage. But yes, it will lose SOME. It's a tradeoff. ... It seems reasonable that the people motivated to have a non-ASCII input and presentation mode for J should develop a working prototype, or work with someone who has the skills t

Re: [Jprogramming] stitching matrices

2012-10-21 Thread Alan Stebbens
Vi has support for showing & moving between parens. Sent from my iPhone On Oct 21, 2012, at 9:50 AM, Raul Miller wrote: > That said, when I read your code, I'm noticing that we have all been > using an unnecessary cross in all of oure implementations and reworks > of Aai's code. Here's how y

Re: [Jprogramming] path variable in loop

2012-09-10 Thread Alan Stebbens
Pascha, The people who have been responding are trying to help you understand the "j way" to get your problem addressed. In other words, they have been showing you how to solve the problem using "loop less" J sentences. In order for you to really understand these helpful suggestions, you have t

Re: [Jprogramming] Print Custom Alphabet

2012-08-28 Thread Alan Stebbens
Raul, I very much appreciate your contributions, and this one even more than usual. thanks! -- Alan On Tuesday, August 28, 2012 at 4:16 PM, Raul Miller wrote: > One interesting issue, here, is that the concise expression in J is > not because J was specifically optimized for this task, but b