Re: [Jprogramming] Escape from plot on android phone

2019-08-17 Thread Linda Alvord
, The image fills the screen. There is no button On in upperleft . Linda Get Outlook for Android From: Programming on behalf of 'Jim Russell' via Programming Sent: Saturday, August 17, 2019 7:42:57 PM To: programm...@jsoftware.com

Re: [Jprogramming] Escape from plot on android phone

2019-08-17 Thread Linda Alvord
The image fills the screen. No button is in the upper right. Linda Sent from my Verizon, Samsung Galaxy smartphone Original message From: 'Jim Russell' via Programming Date: 8/17/19 7:43 PM (GMT-05:00) To: programm...@jsoftware.com Subject: Re: [Jprogramming] Escape from

[Jprogramming] Escape from plot on android phone

2019-08-17 Thread Linda Alvord
NB.plot boat load 'plot' ]boat=.4 2 3 5 6 4 4 6 4;3 3 2 2 3 3 7 4 4 plot boat How can I return to J after plot appears? Linda Sent from my Verizon, Samsung Galaxy smartphone -- For information about J forums see

Re: [Jprogramming] Simple tacit question

2019-08-08 Thread Linda Alvord
a=:i.2 3 4 Ravel a, then x share y ? f=: 13 :'x$,y' 6 4 f a 0 1 2 3 4 5 6 7 q 12 13 14 15 16 17 18 19 20 21 22 23. Now read the J version. f [ $ [: , ] often , two weeks from now, the explicit will be easier to follow. zLinda Sent from my Verizon, Samsung Galaxy

Re: [Jprogramming] Learning Tacit Programming

2019-08-05 Thread Linda Alvord
([: x: [: % [: p: i.) j."0 [: x: [: % [: p: i. Linda -Original Message- From: Programming On Behalf Of Linda Alvord Sent: Saturday, July 27, 2019 7:51 PM To: programm...@jsoftware.com Subject: Re: [Jprogramming] Learning Tacit Programming It seems not to mat

Re: [Jprogramming] Extended precision tolerance

2019-08-02 Thread Linda Alvord
% p: i.11 0.5 0.33 0.2 0.142857 0.0909091 0.0769231 0.0588235 0.0526316 0.0434783 0.0344828 0.0322581 Two is a prime, too. Linda Q Sent from my Verizon, Samsung Galaxy smartphone Original message From: 'Pascal Jasmin' via Programming Date: 8/1/19 7:30 PM

Re: [Jprogramming] No package manager not working

2019-07-30 Thread Linda Alvord
Linda Alvord wrote: > > you can try decompress assets again by > > dver'' > exit'' > When and where? > > > > Sent from my Verizon, Samsung Galaxy smartphone > > > Original message > From: bill lam > Date: 7/30/19 9:12 PM (GMT-05:00)

Re: [Jprogramming] No package manager not working

2019-07-30 Thread Linda Alvord
you can try decompress assets again by dver'' exit'' then open again, after booting up and decompressed. Close and open again. On Wed, Jul 31, 2019, 9:02 AM Linda Alvord wrote: > Yes > > > > Sent from my Verizon, Samsung Galaxy smartphone > > > Original messa

Re: [Jprogramming] No package manager not working

2019-07-30 Thread Linda Alvord
, 2019, 8:35 AM Linda Alvord wrote: > > > JVERSION > Engine: j807/j64/android > Release-d: commercial/2019-03-24T11:09:09 > Library: 8.07.23 > J Android: 1.2.06/28 > Platform: Android 64 (arm64-v8a) > Installer: unknown > InstallPath: /storage/emulated/0/Android/data

Re: [Jprogramming] No package manager not working

2019-07-30 Thread Linda Alvord
Linda Sent from my Verizon, Samsung Galaxy smartphone Original message From: Linda Alvord Date: 7/30/19 7:58 PM (GMT-05:00) To: programm...@jsoftware.com Subject: Re: [Jprogramming] No package manager not working I entered jandroid.apk andgot linux. JVERSION Engine: j804

Re: [Jprogramming] No package manager not working

2019-07-30 Thread Linda Alvord
cpu, so it can run asimd. Tue, 30 Jul 2019, Linda Alvord написал(а): > Can a phone handle AVX? > > > Linda > > > Sent from my Verizon, Samsung Galaxy smartphone > Original message > From: bill lam > Date: 7/29/19 10:08 PM (GMT-05:00) > To: progra

Re: [Jprogramming] No package manager not working

2019-07-29 Thread Linda Alvord
Spacing problem is o the tablet. Linda Sent from my Verizon, Samsung Galaxy Tablet Original message From: Linda Alvord Date: 7/29/19 11:56 PM (GMT-05:00) To: programm...@jsoftware.com Subject: Re: [Jprogramming] No package manager not working i.5 6 0 1 2 3 4 5 6

Re: [Jprogramming] No package manager not working

2019-07-29 Thread Linda Alvord
. Tue, 30 Jul 2019, Linda Alvord написал(а): > Can a phone handle AVX? > > > Linda > > > Sent from my Verizon, Samsung Galaxy smartphone > Original message > From: bill lam > Date: 7/29/19 10:08 PM (GMT-05:00) > To: programm...@jsoftware.com > Su

Re: [Jprogramming] No package manager not working

2019-07-29 Thread Linda Alvord
changed media storage permission handling. The problem had also be reported for Android Q. I want to fix the https connection to pacman first when/if I have free time and then will build a new j901 beta jandroid. Tue, 30 Jul 2019, Linda Alvord написал(а): > > > JVERSION > Engine: j807

[Jprogramming] No package manager not working

2019-07-29 Thread Linda Alvord
JVERSION Engine: j807/j64/android Release-d: commercial/2019-03-24T11:09:09 Library: 8.07.26 J Android: 1.2.06/28 Platform: Android 64 (arm64-v8a) Installer: unknown InstallPath: /storage/emulated/0/Android/data/com.jsoftware.j.android/files Contact: www.jsoftware.com Strange line feeds Linda

Re: [Jprogramming] A bit-twisting puzzle

2019-07-29 Thread Linda Alvord
i.5 6 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 Sent from my Verizon, Samsung Galaxy Tablet Original message From: Linda Alvord Date: 7/29/19 1:10 PM (GMT-05:00) To: programm...@jsoftware.com Subject: Re: [Jprogramming] A bit

Re: [Jprogramming] A bit-twisting puzzle

2019-07-29 Thread Linda Alvord
I sent two mangled messages earlier. Here's what I can explain. I installed J on a samsungtablet and it seemed to be working. However PASTE removes some spaces. Package Manager is unable to print the page correctly so it can't be used. JVERSION Engine: j807/j32/android Release-d:

Re: [Jprogramming] A bit-twisting puzzle

2019-07-29 Thread Linda Alvord
Maybe the laptop message will look better than the one from the phone. ]c=:#:i.4 0 0 0 1 1 0 1 1 ]a=:0{"1 c 0 0 1 1 ]b=:1{"1 c 0 1 0 1 {:a*b 1 Linda -Original Message- From: Programming On Behalf Of Henry Rich Sent: Sunday, July 28, 2019 8:52 PM To:

Re: [Jprogramming] Learning Tacit Programming

2019-07-28 Thread Linda Alvord
idered to be a list of lines, i. e. a rank-2 array of characters. Henry Rich On 7/27/2019 7:50 PM, Linda Alvord wrote: > It seems not to matter that 1 is in parentheses: > > g=:13 :'1 x}y' > > 1 3 5 g i.10 > 0 1 2 1 4 1 6 7 8 9 > > g > 4 : '1 x}y' >

Re: [Jprogramming] Learning Tacit Programming

2019-07-26 Thread Linda Alvord
Here's an exercise. Cover these three verbs. po=: 13 :'|:y#:i.*/y' cm=: 13 :'(*/y)(#"0)0,}:+/\y' ac=: 13 :'((po + cm) ($y)#2){,'' '',.y' TThese three verbs provide all combinations of a penny, nickel, dime and quarter. po 2 2 2 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 cm

Re: [Jprogramming] J on phone or tablet

2019-07-26 Thread Linda Alvord
m%2Fwiki%2FGuides%2FJAndroidOndata=02%7C01%7C%7C3f >> f566e9959b4ca4035d08d711f7c476%7C84df9e7fe9f640afb435%7C1 >> %7C0%7C636997628160813515sdata=AmtSWTYEOMoU24sSG8QJ39470SjMz5dVC >> b5T7lQQTeg%3Dreserved=0 7/25/19 10:21 PM, Linda Alvord wrote:> >&

[Jprogramming] J on phone or tablet

2019-07-25 Thread Linda Alvord
It would be great to have J as an app in an app store. What route would you offer as the easiest route for getting J installed as easily as possible on a phone or table? Linda Sent from my Verizon, Samsung Galaxy smartphone

Re: [Jprogramming] Question about ^:

2019-07-20 Thread Linda Alvord
Interesting! newfib=: 13 :' }:}.(,[:+/_2&{.) ^: y (0 1)' newfib 10 1 1 2 3 5 8 13 21 34 55 Linda -Original Message- From: Programming On Behalf Of The3DSquare jOsHUa Sent: Saturday, July 20, 2019 6:11 PM To: programm...@jsoftware.com Subject: [Jprogramming] Question

Re: [Jprogramming] Fibonacci Encoding

2019-07-19 Thread Linda Alvord
Interseting! encode 7 4 1776 ]��� decode encode 7 4 1776 7 4 1776 Also: f2=:13 :'{."1([:+/\|.)^:(i.y)1 1' Fibs2=: 13 :'}.f2 y' Fibs2 10 1 2 3 5 8 13 21 34 55 (genfibs 1400)-:Fibs2 1400 1 1 1 On to understand encode and decode. -Original

Re: [Jprogramming] How to improve speed searching for substrings using "E."?

2019-07-07 Thread Linda Alvord
I just began to untangle this long story. Want a big surprise? Then try this! z =: 0 : 0 A001|B002 C003|A001|B002 B002|A001 C003|D004|A001 E005|F006 D004|C003 ) load 'debug' dissect 'z' Cheer on out soccer team, too. Linda -Original Message- From: Programming On

Re: [Jprogramming] Difficulties understanding a sentence with the compose-conjunction

2019-07-03 Thread Linda Alvord
Here's a way to avoid & to2=: 13 :'((i.y)-.i.x),y' 7 to2 11 7 8 9 10 11 to2 ] ,~ ([: i. ]) -. [: i. [ Linda -Original Message- From: Programming On Behalf Of Thomas Bulka Sent: Saturday, June 29, 2019 3:20 PM To: programm...@jsoftware.com Subject: Re:

[Jprogramming] A problem with "words"

2019-06-07 Thread Linda Alvord
po=: 13 :'|:y#:i.*/y' cm=: 13 :'(*/y)(#"0) 0,}:+/y' ac=: 13 :'((po + cm) ($y)#2){,'' '',.y' ac 'PQRS' po ;:': |: ] #: [: i. */' ┌─┬──┬─┬──┬──┬──┬─┬─┐ │:│|:│]│#:│[:│i.│*│/│ └─┴──┴─┴──┴──┴──┴─┴─┘ ac ;:'([: (po + cm) 2 #~ $) { [: , ' ' ,. ]'

Re: [Jprogramming] Video for the Behead Monadic Verb

2019-06-02 Thread Linda Alvord
Interestung boxes. (i.0 2)-:i.2 0 0 (i.0 2);i.2 0 ┌──┬┐ │ ││ │ ││ └──┴┘ Linda Sent from my Verizon, Samsung Galaxy smartphone Original message From: Brian Schott Date: 6/2/19 11:21 AM (GMT-05:00) To: Programming forum Subject: Re: [Jprogramming] Video for the

Re: [Jprogramming] incrby =: (&>) i.

2019-06-01 Thread Linda Alvord
Two hooks! f=: 13 : '((+*:) i.) y' f ;:'(+ *:) i.' ;:'(+ *:) i.' +-+-+--+-+--+ |(|+|*:|)|i.| +-+-+--+-+--+ Linda Sent from my Verizon, Samsung Galaxy smartphone Original message From: Linda Alvord Date: 6/1/19 9:03 PM (GMT-05:00) To: programm...@jsoftware.com Subject: Re

Re: [Jprogramming] incrby =: (&>) i.

2019-06-01 Thread Linda Alvord
PM (GMT-05:00) To: Programming forum Subject: Re: [Jprogramming] incrby =: (&>) i. Hi Linda, Shouldn't it be f=: 13 : '((+*:) i.) y' f (+ *:) i. f 6 6 7 10 15 22 31 Cheers, bob > On Jun 1, 2019, at 10:28 AM, Linda Alvord wrote: > > This seems right. > > f=: 13 :'

Re: [Jprogramming] incrby =: (&>) i.

2019-06-01 Thread Linda Alvord
This seems right. f=: 13 :'(+*:)' f 6 0 2 6 12 20 30 f (+ *:) Linda Sent from my Verizon, Samsung Galaxy smartphone Original message From: Raul Miller Date: 5/31/19 2:33 PM (GMT-05:00) To: Programming forum Subject: Re: [Jprogramming] incrby =: (&>) i. Early J

Re: [Jprogramming] incrby =: (&>) i.

2019-06-01 Thread Linda Alvord
;:'+*:' ┌─┬──┐ │+│*:│ └─┴──┘ Since there is no [: before the two verbs, it is a hook: y + *: y Linda Sent from my Verizon, Samsung Galaxy smartphone Original message From: Ulrich Vollert Date: 5/31/19 2:23 PM (GMT-05:00) To: programm...@jsoftware.com Subject: Re:

Re: [Jprogramming] Seqfan problem

2019-05-13 Thread Linda Alvord
As is often the case , in my haste I miss the subtleties. Apologies to Turing. Linda Sent from my Verizon, Samsung Galaxy smartphone Original message From: Roger Hui Date: 5/13/19 9:42 PM (GMT-05:00) To: programm...@jsoftware.com Subject: Re: [Jprogramming] Seqfan problem

Re: [Jprogramming] Seqfan problem

2019-05-13 Thread Linda Alvord
Hello Roger, I gfuess I'm still allergic to @ , so I tweeked your solution. h=: 13 :',.(*:)^:(i.y)x' 9 h 4 9 81 6561 43046721 h 4 : ',.(*:)^:(i.y)x' Linda -Original Message- From: Programming On Behalf Of Roger Hui Sent: Monday, May 13, 2019

Re: [Jprogramming] ambivalent tacit verb with Self-Reference

2019-05-05 Thread Linda Alvord
ldn't show this version explicit_f =: dyad define result =. y for_repetition. i. x do. a =. 0 , result b =. a , 0 c =. b ,. 0 result =. 0 ,. c end. ) > Date: Sun, 5 May 2019 07:36:11 + > From: Linda Alvord > To:"programm...@jsoftware.com" > Subject: Re: [Jpr

Re: [Jprogramming] ambivalent tacit verb with Self-Reference

2019-05-05 Thread Linda Alvord
,.~ 0 ,. 0 ,~ 0 , ])^:[ 1 f i. 3 4 0 0 0 0 0 0 0 0 1 2 3 0 0 4 5 6 7 0 0 8 9 10 11 0 0 0 0 0 0 0 g=: 4 : '(0 ,.~ 0 ,. 0 ,~ 0 , ])^:x y' 1 g i. 3 4 0 0 0 0 0 0 0 0 1 2 3 0 0 4 5 6 7 0 0 8 9 10 11 0 0 0 0 0 0 0 Cheers, bob > On May 5, 2019, at 12:36 AM, Linda Alvord wrot

Re: [Jprogramming] Jd version 4.24 is available

2019-05-05 Thread Linda Alvord
on-commercial use only! >jdwelcome_jd_ NB. run this sentence for important information > > > Eric, I'm a little puzzled by Package Manager (under both J8 and J9 beta) > reporting > > the latest update as Jd 4.4.73 rather than J.24.xxx . > > Thanks, > > Mike >

Re: [Jprogramming] ambivalent tacit verb with Self-Reference

2019-05-05 Thread Linda Alvord
define this function explicitly. Linda -Original Message- From: Programming On Behalf Of Linda Alvord Sent: Saturday, May 4, 2019 9:28 PM To: programm...@jsoftware.com Subject: Re: [Jprogramming] ambivalent tacit verb with Self-Reference Messy but possible. pad5=: 13 :'(((x#0) ,"

Re: [Jprogramming] ambivalent tacit verb with Self-Reference

2019-05-04 Thread Linda Alvord
Messy but possible. pad5=: 13 :'(((x#0) ,"2 ((x#0) ,"2~ 0 (,"2) 0 ,"1~ (x#0) ,"1 ])) y)(,"2) (x#0)' 3 pad5 i.3 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 2 3 0 0 0 0 4 5 6 7 0 0 0 0 8 9 10 11 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 pad5 4 : '(((x#0) ,"2 ((x#0) ,"2~ 0 (,"2)

Re: [Jprogramming] Jd version 4.24 is available

2019-05-04 Thread Linda Alvord
8a208d6d0ee2258%7C84df9e7fe9f640afb435%7C1%7C0%7C636926118529298384sdata=7Yabx9TvjtvNP8F8AvyM9YpeAGAI0JBBIKnYAPN1Q%2F0%3Dreserved=0> > > Also please post to J General forum for questions about installation. > > On Sun, May 5, 2019, 7:41 AM Linda Alvord > wrote: > > > Th

Re: [Jprogramming] Jd version 4.24 is available

2019-05-04 Thread Linda Alvord
The J home pagee no longer includes Download. Your earlier instructions are buried under an active succession of forum messages. What is the easiest way to install J on a phone? Thanks in advance. Linda Sent from my Verizon, Samsung Galaxy smartphone Original message

Re: [Jprogramming] ambivalent tacit verb with Self-Reference

2019-05-04 Thread Linda Alvord
) 0 ,"1~ 0 ,"1 ] Linda -Original Message- From: Programming On Behalf Of Linda Alvord Sent: Saturday, May 4, 2019 10:58 AM To: programm...@jsoftware.com Subject: Re: [Jprogramming] ambivalent tacit verb with Self-Reference Also, pad4=: 13 :'((0 ,"2 f) y)(,"2) 0'

Re: [Jprogramming] ambivalent tacit verb with Self-Reference

2019-05-04 Thread Linda Alvord
Also, pad4=: 13 :'((0 ,"2 f) y)(,"2) 0' pad4 i.3 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 2 3 0 0 4 5 6 7 0 0 8 9 10 11 0 0 0 0 0 0 0 0 0 0 0 0 0 pad4 0 ,"2~ 0 ,"2 f Linda -Original Message- From: Programming On Behalf Of 'robert therriault' via Programming Sent:

Re: [Jprogramming] How to get actual values instead of booleans from a list?

2019-04-30 Thread Linda Alvord
]a=:2+i.9 2 3 4 5 6 7 8 9 10 (6 Date: 4/30/19 9:08 AM (GMT-05:00) To: programm...@jsoftware.com Subject: Re: [Jprogramming] How to get actual values instead of booleans from a list? (#~ >&6) (2+i.9) 7 8 9 10 On Tuesday, April 30, 2019, 9:06:26 a.m. EDT, JmageK wrote: NB. Want

Re: [Jprogramming] Beginner's Question: How to reverse a number's digits?

2019-04-09 Thread Linda Alvord
2+".|. ":246531 135644 One way. Linda Sent from my Verizon, Samsung Galaxy smartphone Original message From: Thomas Bulka Date: 4/9/19 4:07 PM (GMT-05:00) To: programm...@jsoftware.com Subject: [Jprogramming] Beginner's Question: How to reverse a number's digits? Hi

Re: [Jprogramming] converting from 'floating' to 'rational'

2019-04-08 Thread Linda Alvord
The rational numbers are exact. ([:+/\|.)^:(i.5)1 1 1 1 1 2 2 3 3 5 5 8 fr=: 13 :'%/"1([:+/\|.)^:(i.y)1 1' (,.0j25":"0 fr 20);' ';x:,.fr 20 ┌───┬─┬──┐ │1.0│ │ 1│ │0.5│ │ 1r2│ │0.3│ │ 2r3│

Re: [Jprogramming] Latest Beta D

2019-04-06 Thread Linda Alvord
Should this happen 3r5 3r5 a=:1 1 2 3 5r1 2 3 5 8 a 1 1 2 3 5 2 3 5 8 $a 9 ??? b=:1 1 2 3 5%1 2 3 5 8 b=:1 1 2 3 5%1 2 3 5 8 b 1 0.5 0.67 0.6 0.625 x:b 1 1r2 2r3 3r5 5r8 This is what I Wanted. Linda Get Outlook for Android From:

Re: [Jprogramming] new tasks at rosettacode.org

2019-03-13 Thread Linda Alvord
┘ Linda -Original Message- From: Programming On Behalf Of Linda Alvord Sent: Sunday, March 10, 2019 11:34 AM To: programm...@jsoftware.com Subject: Re: [Jprogramming] new tasks at rosettacode.org Hi Dave, Two @;@'s down. One to go. fe=: 13 :'\:~_".;({~ [:perm#)L:_1 }.comb y' (fe '135

Re: [Jprogramming] new tasks at rosettacode.org

2019-03-10 Thread Linda Alvord
ssage- From: Programming On Behalf Of Linda Alvord Sent: Tuesday, March 5, 2019 9:22 AM To: programm...@jsoftware.com Subject: Re: [Jprogramming] new tasks at rosettacode.org Hi Dave, Beautiful J and only 3 @'s! Linda ' Sent from my Verizon, Samsung Galaxy smartphone O

Re: [Jprogramming] new tasks at rosettacode.org

2019-03-05 Thread Linda Alvord
Hi Dave, Beautiful J and only 3 @'s! Linda ' Sent from my Verizon, Samsung Galaxy smartphone Original message From: David Lambert Date: 3/5/19 8:06 AM (GMT-05:00) To: programming Subject: [Jprogramming] new tasks at rosettacode.org I submitted entries to many newly

Re: [Jprogramming] Try again

2019-02-26 Thread Linda Alvord
10 Jimmy On Mon, Feb 25, 2019 at 9:26 PM Linda Alvord wrote: > > Jimmy, Can you extend this to all possibilities? > > Linda > > > > Sent from my Verizon, Samsung Galaxy smartphone > Original message > From: Jimmy Gauvin > Date: 2/25/1

Re: [Jprogramming] Try again

2019-02-25 Thread Linda Alvord
3 0 5 6 7 4 9 10 11 8 On Mon, Feb 25, 2019 at 4:06 AM Linda Alvord wrote: > I managed to do this, but maybe there is an easier way: > > |:"2(i.4)|."0 2 |:i.3 4 > 0 1 2 3 > 4 5 6 7 > 8 9 10 11 > > 1 2 3 0 > 5 6 7 4 > 9 10 11 8 >

Re: [Jprogramming] Try again

2019-02-25 Thread Linda Alvord
3 0 5 6 7 4 9 10 11 8 On Mon, Feb 25, 2019 at 4:06 AM Linda Alvord wrote: > I managed to do this, but maybe there is an easier way: > > |:"2(i.4)|."0 2 |:i.3 4 > 0 1 2 3 > 4 5 6 7 > 8 9 10 11 > > 1 2 3 0 > 5 6 7 4 > 9 10 11 8 >

Re: [Jprogramming] Try again

2019-02-25 Thread Linda Alvord
(>:i.3)|."0 2 i.3 4 4 5 6 7 8 9 10 11 0 1 2 3 8 9 10 11 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 8 9 10 11 Now do the same for columns. Linda Sent from my Verizon, Samsung Galaxy smartphone Original message From: Raul Miller Date: 2/25/19 11:34 AM (GMT-05:00) To:

Re: [Jprogramming] Try again

2019-02-25 Thread Linda Alvord
I managed to do this, but maybe there is an easier way: |:"2(i.4)|."0 2 |:i.3 4 0 1 2 3 4 5 6 7 8 9 10 11 1 2 3 0 5 6 7 4 9 10 11 8 2 3 0 1 6 7 4 5 10 11 8 9 3 0 1 2 7 4 5 6 11 8 9 10 Linda ---Original Message- From: Programming On Behalf Of

Re: [Jprogramming] What is this?

2019-02-24 Thread Linda Alvord
Brian, Maybe g is a little simpler than f. a 0 1 1 1 1 0 1 1 1 1 1 0 1 1 f [: ; <;.1~ g [: }: 1 |. ] (f a)-: g a 1 Linda -Original Message- From: Programming On Behalf Of Brian Schott Sent: Sunday, February 24, 2019 1:41 PM To: Programming forum Subject: Re:

Re: [Jprogramming] nubsieve modulo rotation

2019-02-14 Thread Linda Alvord
Roger, you had two ideas that allowed me to correct my solution. Thanks! -.a-:"2 (1|.i.20)|."0 2 a 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 0 Linda -Original Message- From: Programming On Behalf Of Roger Hui Sent: Wednesday, February 13, 2019 12:16 PM To: programm...@jsoftware.com

Re: [Jprogramming] nubsieve modulo rotation

2019-02-13 Thread Linda Alvord
I seem to have answered a similar But different question. a-:"2 (i.20)|."0 2 a 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 Linda -Original Message- From: Programming On Behalf Of Roger Hui Sent: Wednesday, February 13, 2019 7:29 PM To: programm...@jsoftware.com Subject: Re:

Re: [Jprogramming] One-based indices

2018-12-30 Thread Linda Alvord
#\i.8 3 1 2 3 4 5 6 7 8 Sorry, Linda Sent from my Verizon, Samsung Galaxy smartphone Original message From: Linda Alvord Date: 12/30/18 12:24 PM (GMT-05:00) To: programm...@jsoftware.com Subject: Re: [Jprogramming] One-based indices This doesn't work. #i.8 3 1 2 3 4

Re: [Jprogramming] One-based indices

2018-12-30 Thread Linda Alvord
This doesn't work. #i.8 3 1 2 3 4 5 6 7 8 Linda Sent from my Verizon, Samsung Galaxy smartphone Original message From: Henry Rich Date: 12/30/18 12:08 AM (GMT-05:00) To: programm...@jsoftware.com Subject: Re: [Jprogramming] One-based indices Seconded. If you must

Re: [Jprogramming] (no subject)

2018-12-17 Thread Linda Alvord
'Q'(] , (,. ,.))' ' Q 'D'(] , (,. ,.))'Q'(] , (,. ,.))' ' Q D DQ ... I hope this helps, -- Raul On Sun, Dec 16, 2018 at 8:35 PM Linda Alvord wrote: > > Louis, That's impressive. I did a little > Cosmetics. > > acl=: 13 :'|:(] , (,. ,.))/y' &

Re: [Jprogramming] (no subject)

2018-12-16 Thread Linda Alvord
Louis, That's impressive. I did a little Cosmetics. acl=: 13 :'|:(] , (,. ,.))/y' acl 'HQDNP ' PNN P PNN PNN PNN P P PNN P PNN PNN P P P PNN P acl [: |: (]

Re: [Jprogramming] (no subject)

2018-12-15 Thread Linda Alvord
Some problems cm=: 13 :'(*/y)(#"0) 0,}:+/\y' cm 2 2 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 ac=: 13 :'((po + cm) ($y)#2){,'' '',.y' ac 'PNDQ' DD

Re: [Jprogramming] Boxed indices,Message-ID:

2018-12-09 Thread Linda Alvord
rms' ┌─ [: ├─ |: │ ┌─ [: ──┤┌┼─ i. ││└─ ! └┼─ A. └─ i. After some false starts it worked. └─ i. f=: 13 :'|:(([:i.!) A. i.)y' f [: |: ([: i. !) A. i. Linda -Original Message- From: Programming On Behalf Of Linda Alv

Re: [Jprogramming] AOC 2018 day 6

2018-12-09 Thread Linda Alvord
~.,X 0 1 3 4 5 2 -Original Message- From: Programming On Behalf Of Linda Alvord Sent: Sunday, December 9, 2018 2:31 PM To: programm...@jsoftware.com Subject: Re: [Jprogramming] AOC 2018 day 6 However, is there a chance that the nub of the raveled hub, first two and last two

Re: [Jprogramming] AOC 2018 day 6

2018-12-09 Thread Linda Alvord
However, is there a chance that the nub of the raveled hub, first two and last two terms are the boundary box? Linda -Original Message- From: Programming On Behalf Of Linda Alvord Sent: Sunday, December 9, 2018 2:20 PM To: programm...@jsoftware.com Subject: Re: [Jprogramming] AOC 2018

Re: [Jprogramming] AOC 2018 day 6

2018-12-09 Thread Linda Alvord
man is not so good! Then comes "Why not" Linda -Original Message- From: Programming On Behalf Of Linda Alvord Sent: Sunday, December 9, 2018 2:03 PM To: programm...@jsoftware.com Subject: Re: [Jprogramming] AOC 2018 day 6 David, It's fun to work through solutions when

Re: [Jprogramming] AOC 2018 day 6

2018-12-09 Thread Linda Alvord
David, It's fun to work through solutions when you can't keep up with advent puzzles. How about this for manhattan? man=:+/"2 man DATA 26 28 (that's as far as I've gone.) Linda -Original Message- From: Programming On Behalf Of David Lambert Sent: Sunday, December 9, 2018 9:14 AM

Re: [Jprogramming] Boxed indices,Message-ID:

2018-12-07 Thread Linda Alvord
Also, once you run it try taking a long journey. Load debug' Dissect 'v ''abcd''' Have a good day. Linda -Original Message- From: Programming On Behalf Of Linda Alvord Sent: Saturday, December 8, 2018 1:54 AM To: programm...@jsoftware.com Subject: Re: [Jprogramming] Boxed indices

Re: [Jprogramming] Boxed indices,Message-ID:

2018-12-07 Thread Linda Alvord
David, I couldn't resist removing all the @'s ! That is nice! u=: 13 :'([: ([:([:<~.)|:)\ [: |: (A.~ [:i.[:!#)) y' ' v [: ([: ([: < ~.) |:)\ [: |: (A.~ ([: i. [: ! #)) v 'abcd' ┌─┬──┬───┬┐ │a│ab│abc│abcd│ │b│ac│abd│abdc│ │c│ad│acb│acbd│ │d│ba│acd│acdb│ │ │bc│adb│adbc│ │

Re: [Jprogramming] Boxed indices

2018-12-06 Thread Linda Alvord
Here's an explicit version. p=: 13 :'|:(i.!y)A.i.y' p 4 0 0 0 0 0 0 1 1 1 1 1 1 2 2 2 2 2 2 3 3 3 3 3 3 1 1 2 2 3 3 0 0 2 2 3 3 0 0 1 1 3 3 0 0 1 1 2 2 2 3 1 3 1 2 2 3 0 3 0 2 1 3 0 3 0 1 1 2 0 2 0 1 3 2 3 1 2 1 3 2 3 0 2 0 3 1 3 0 1 0 2 1 2 0 1 0 p [: |: (i. (A.~) ([: i. !)) How

Re: [Jprogramming] Revisisting the Y combinator

2018-12-04 Thread Linda Alvord
Does this help?    <\i.4 +-+---+-+---+ |0|0 1|0 1 2|0 1 2 3| +-+---+-+---+    <\.i.4 +---+-+---+-+ |0 1 2 3|1 2 3|2 3|3| +---+-+---+-+    <\.|.i.4 +---+-+---+-+ |3 2 1 0|2 1 0|1 0|0| +---+-+---+-+ Mike On 04/12/2018 07:50, Linda Alv

Re: [Jprogramming] Revisisting the Y combinator

2018-12-03 Thread Linda Alvord
, 2018 at 7:30 PM Linda Alvord wrote: > Jose, If you look up the derivation of the fibonnaci series was > developed you will find  1 1 2 3 5 . . . > > I think it should be left out of an example of the Y form. Or, maybe > it can be modified to come out correctly. > > I do h

Re: [Jprogramming] Revisisting the Y combinator

2018-12-03 Thread Linda Alvord
, Binet's formula.) I hope it helps On Thu, Nov 29, 2018 at 10:40 PM Linda Alvord wrote: > Jose, Somehow this surprised me. > > Y=: ($:`)(`:6) >N=: 1 :'(u@:<:@:<: + u@:<:)^:(1 < ])' > P=: (5!:1)<'N' > P Y("0) i.11 > 0 1 1 2 3 5 8 13 21 34

Re: [Jprogramming] J naming conventions

2018-12-02 Thread Linda Alvord
Thomas,, J is a language for communicating with a computer. So just as you might approach any language, you need to learn some words. Like a Spanish to English dictionary, you need to understand the new words. I would suggest going often to the "Vocabulary". Start by taking definitions that do

Re: [Jprogramming] Array Coordinates

2018-12-01 Thread Linda Alvord
I've been looking for an interesting example of a fork. ac $ #: I.@:*@, f=: 13 :'($#:I.*,)y' f $ #: I. * , f ┌─ $ ├─ #: ──┤┌─ I. └┼─ * └─ , Linda -Original Message- From: Programming On Behalf Of Nollaig MacKenzie Sent: Friday, November

Re: [Jprogramming] Recursive verbs

2018-11-29 Thread Linda Alvord
Here's a little variation. Fibonacci series begins 1 1 ... Y=: ($:`)(`:6) N=: 1 :'(u@:<:@:<: + [:u<:)^:(1 < ])' N=: (5!:1)<'N' }.N Y("0) i.11 1 1 2 3 5 8 13 21 34 55 Maybe there is a better way to drop the 0. Linda -Original Message- From: Programming On Behalf O

Re: [Jprogramming] Revisisting the Y combinator

2018-11-29 Thread Linda Alvord
Jose, Somehow this surprised me. Y=: ($:`)(`:6) N=: 1 :'(u@:<:@:<: + u@:<:)^:(1 < ])' P=: (5!:1)<'N' P Y("0) i.11 0 1 1 2 3 5 8 13 21 34 55 Y ($:`)(`:6) N 1 : '(u@:<:@:<: + u@:<:)^:(1 < ])' P ┌┐

Re: [Jprogramming] Recursive verbs

2018-11-28 Thread Linda Alvord
Hi Cliff, It took a while but I got the explicit verb to work. f=: 13 :'4 p.~(([:(2&^)>:),.~ _1r3 *([:(2&^)>:) + _1&^)y' f i.10 7 15 29 59 117 235 469 939 1877 3755 f 4 p.~ ([: 2&^ >:) ,.~ _1r3 * ([: 2&^ >:) + _1&^ Linda -Original Message- From: Programming On Behalf

Re: [Jprogramming] Revisisting the Y combinator

2018-11-19 Thread Linda Alvord
f=: 13 :' 0{"1([:+/\|.)^:(i.y)1 1' f 10 1 1 2 3 5 8 13 21 34 55 By definition: x u^:n y x and y are known. The noun n needs to be modified. f handles this nicely with (i.]): f 3 : ' 0{"1([:+/\|.)^:(i.y)1 1' But the result it is not tacit! My question is, why not?

Re: [Jprogramming] j807 cd - pass array arguments

2018-11-17 Thread Linda Alvord
Would this work? (+/a),a=:*:i.10 285 0 1 4 9 16 25 36 49 64 81 Lihda Sent from my Verizon, Samsung Galaxy smartphone Original message From: Ben Gorte Date: 11/18/18 1:22 AM (GMT-05:00) To: programm...@jsoftware.com Subject: [Jprogramming] j807 cd - pass array arguments Dear

Re: [Jprogramming] Revisisting the Y combinator

2018-11-13 Thread Linda Alvord
ideas? > > Linda > > -Original Message- > From: Programming On Behalf > Of Linda Alvord > Sent: Friday, November 9, 2018 12:56 AM > To: programm...@jsoftware.com > Subject: Re: [Jprogramming] Revisisting the Y combinator > > Jose, I'm not sure I'll be able to follow

Re: [Jprogramming] Revisisting the Y combinator

2018-11-12 Thread Linda Alvord
age- From: Programming On Behalf Of Linda Alvord Sent: Friday, November 9, 2018 12:56 AM To: programm...@jsoftware.com Subject: Re: [Jprogramming] Revisisting the Y combinator Jose, I'm not sure I'll be able to follow your ideas. !i.11x 1 1 2 6 24 120 720 5040 40320 362880 3628800 Howev

Re: [Jprogramming] Square Roots and Extended Arithmetic

2018-11-11 Thread Linda Alvord
either of these things all in one line: b#~(=>.)%:a=.2+i.20 2 3 4 a#~(=>.)%:a=.2+i.20 4 9 16 Skip Skip Cave Cave Consulting LLC On Fri, Nov 2, 2018 at 9:25 PM Linda Alvord wrote: > What does (=>.) do in this example? > > Linda > > > > Sent from my Verizo

Re: [Jprogramming] Revisisting the Y combinator

2018-11-08 Thread Linda Alvord
Jose, I'm not sure I'll be able to follow your ideas. !i.11x 1 1 2 6 24 120 720 5040 40320 362880 3628800 However, Fibohacci would be a nice primitive. Linda -Original Message- From: Programming On Behalf Of 'Pascal Jasmin' via Programming Sent: Thursday, November 8, 2018

Re: [Jprogramming] Square Roots and Extended Arithmetic

2018-11-03 Thread Linda Alvord
│ ┌─ 2 │ ├─ | └─┤ ┌─ _ └─┼─ q: └─ ] Linda -Original Message- From: Programming On Behalf Of Linda Alvord Sent: Saturday, November 3, 2018 10:03 PM To: programm...@jsoftware.com Subject: Re: [Jprogramming] Square Roots and Extended Arithmetic Skip, I

Re: [Jprogramming] Square Roots and Extended Arithmetic

2018-11-03 Thread Linda Alvord
Skip, I can't find the fork in fps1 (fps 2+i.1000)-:fps1 2+i.1000 1 fps1 ┌─ ] ├─ ~ ─── # │ ──┤ ┌─ 0 │ ├─ = │ │ ┌─ [: └─┤ │

Re: [Jprogramming] Square Roots and Extended Arithmetic

2018-11-03 Thread Linda Alvord
I've been looking for an interesting fork! I 'm looking forward to taking it appart. Linda . Sent from my Verizon, Samsung Galaxy smartphone Original message From: Skip Cave Date: 11/3/18 10:43 AM (GMT-05:00) To: "programm...@jsoftware.com" Subject: Re: [Jprogramming]

Re: [Jprogramming] Square Roots and Extended Arithmetic

2018-11-03 Thread Linda Alvord
.)%:a=.2+i.20 4 9 16 Skip Skip Cave Cave Consulting LLC On Fri, Nov 2, 2018 at 9:25 PM Linda Alvord wrote: > What does (=>.) do in this example? > > Linda > > > > Sent from my Verizon, Samsung Galaxy smartphone > > > Original message ---

Re: [Jprogramming] Square Roots and Extended Arithmetic

2018-11-02 Thread Linda Alvord
What does (=>.) do in this example? Linda Sent from my Verizon, Samsung Galaxy smartphone Original message From: Skip Cave Date: 11/2/18 12:06 PM (GMT-05:00) To: "programm...@jsoftware.com" Subject: Re: [Jprogramming] Square Roots and Extended Arithmetic Thanks for all

Re: [Jprogramming] Intersection and Union of (multi)sets

2018-10-30 Thread Linda Alvord
A=: 1 2 3 3 3 B=:3 3 3 3 3 4 5 6 A IS_reb B 3 3 3 A=:1 2 3 3 3 B=:3 3 3 3 3 4 5 6 us=: 13 :'(+./"2 x=/x,y)#x,y' A us B 1 2 3 3 3 3 3 3 3 3 is=: 13 :'(+."1/x=/y)#y' A is B 3 3 3 3 3 Linda -Original Message- From: Programming

Re: [Jprogramming] Binding x and y to an adverb (]})

2018-10-29 Thread Linda Alvord
(i.3)=/i.10 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 Linda Sent from my Verizon, Samsung Galaxy smartphone Original message From: Raul Miller Date: 10/29/18 3:13 PM (GMT-05:00) To: Programming forum Subject: Re: [Jprogramming] Binding x and y to an

[Jprogramming] bridge to poker

2018-10-28 Thread Linda Alvord
S=:13#u: 9827 9830 9829 9824 F=:52$'23456789TJQKA' deck=:S,.F bridge=: 13 :'<"2(:~(|.x)$?~*/x){y' 3 6 bridge deck ┌──┬──┬──┬──┬──┬──┐ │♦2│♣A│♣J│♣9│♣6│♣4│ │♣T│♦3│♣7│♣8│♦5│♣3│ │♣K│♦4│♣5│♣2│♣Q│♦6│ └──┴──┴──┴──┴──┴──┘ However in poker, the cafds have different values. Since I don't know

Re: [Jprogramming] Shuffle and deal 4 bridge hands"

2018-10-28 Thread Linda Alvord
s to hands, then randomly distribute the rest until hands are full. Would save quite a bit of filtering at the back end. On Oct 27, 2018 23:08, "Linda Alvord" wrote: Ooops. This lost an "1 bridge=: 13 :'<"2(\:~"1(|.x)$?~*/x){y' Linda -Original Message- From:

Re: [Jprogramming] Shuffle and deal 4 bridge hands

2018-10-27 Thread Linda Alvord
Ooops. This lost an "1 bridge=: 13 :'<"2(\:~"1(|.x)$?~*/x){y' Linda -Original Message- From: Programming On Behalf Of Linda Alvord Sent: Saturday, October 27, 2018 10:25 PM To: programm...@jsoftware.com Subject: Re: [Jprogramming] Shuffle and deal 4 bridge han

Re: [Jprogramming] Shuffle and deal 4 bridge hands

2018-10-27 Thread Linda Alvord
3 6 bridge deck ┌──┬──┬──┬──┬──┬──┐ │♦2│♣A│♣J│♣9│♣6│♣4│ │♣T│♦3│♣7│♣8│♦5│♣3│ │♣K│♦4│♣5│♣2│♣Q│♦6│ └──┴──┴──┴──┴──┴──┘ However in poker, the cafds have different values. Since I don't know much about poker, I'm throwing in my hand. Linda -Original Message- From: Programming On Behalf Of Linda A

Re: [Jprogramming] Sub-string Matching

2018-10-26 Thread Linda Alvord
Here's a home grown solution that might be interesting: A=:L, 3 7 2 5 B=:7 2 f=: 13 :'x-:"1(i.$x){"1(($y),>:$y)$y' f=: 13 :'x-:"1(i.$x){"1(($y),>:$y)$y' B f A 0 1 0 0 0 0 0 1 0 0 Linda -Original Message- From: Programming On Behalf Of Skip Cave Sent: Friday, October

Re: [Jprogramming] Shuffle and deal 4 bridge hands

2018-10-26 Thread Linda Alvord
dealt is immaterial to the player. (!52)%*/4#!13 is 5364473776548879283923744, which, as you mention, is the cited number of different deals ignoring ordering within each hand. Both results are correct in their different ways! M On 15/10/2018 16:06, Linda Alvord wrote: > Bridge p

Re: [Jprogramming] Common factors

2018-10-23 Thread Linda Alvord
This gives just the single digits that match and not the combination (3 37). Nice. Nice. This gives only the single digits that match and not the pair (3 37). ]i=: q: 1998 2997 3996 4995 5994 6993 7992 8991 2 3 3 3 37 0 0 3 3 3 3 37 0 0 2 2 3 3 3 37 0 3 3 3 5 37 0

Re: [Jprogramming] Using rank to avoid looping - reference?

2018-10-23 Thread Linda Alvord
│♦3│♣8││ ││♣3│♣K│♣J│♣7││ ││♣3│♣K│♣J│♣7││ ││♣2│♣6│♣5│♣4││ ││♣2│♣6│♣5│♣4││ │└──┴──┴──┴──┘│ │└──┴──┴──┴──┘│ └─┴───┴─┘ -Original Message- From: Programming On Behalf Of Linda Alvord Sent: Sunday, October 21, 2018 4:51 AM To: programm...@jsoftware.com Subject: R

  1   2   3   4   5   6   7   8   9   10   >