« first day (799 days earlier)      last day (2152 days later) » 

00:51
how do I set a break point in dyalog windows?
 
4 hours later…
04:36
@nathanrogers In the Editor window, make sure View>Stop is selected. This will show a column on the left. Click in that column to toggle breakpoint. Alternatively, go to Options>Configure>Shortcuts>BP/Toggle Breakpoint and assign a keyboard shortcut to it. Alternatively, use ⎕STOP.
In RIDE, the menu options are called View>Stops and Edit>Preferences>Shortcuts.
 
6 hours later…
11:07
0
Q: APL - How can I find the longest word in a string vector?

awyr_agoredI want to find the longest word in a string vector. Using APL I know that the shape function will return the length of a string e.g. ⍴ 'string' ⍝ returns 6 The reduce function allows me to map diadic functions along a vector but since shape is monadic this will not work. How can I map the shap...

 
1 hour later…
12:12
What happened to Catherine Lathwell's "APL - The Movie: Chasing Men Who Stare at Arrays"? Was it ever made?
Ven
Ven
0
A: Arrow those variables!

VenAPL (Dyalog Unicode), 18 bytesSBCS {⍪⍵[⍋-@(2∘|)⍋≢¨⍵]} Try it online!

Not sure I can simplify (2∘|) here
Ven
Ven
12:35
⎕←v[⍋(⍴∘1 ¯1)∘⍴×≢¨v]
@Ven
VALUE ERROR
Ven
Ven
That one seems simpler to tacit-ify
⎕←((⊂∘⍋((⍴∘1 ¯1)∘⍴×≢¨))⌷⊢)'12' '1234' '1234' '1234' '1234' '12345678' '12345678' '12345678' '12345678'
@Ven
┌────────┬────────┬────┬────┬──┬────┬────┬────────┬────────┐
│12345678│12345678│1234│1234│12│1234│1234│12345678│12345678│
└────────┴────────┴────┴────┴──┴────┴────┴────────┴────────┘
Ven
Ven
It's 4 bytes longer though, and it's missing the table :\.
 
4 hours later…
Ven
Ven
16:47
Oh, maybe I can residue the indexes, take the direction, and grade that.
 
2 hours later…
18:57
@Ven you have 2 pointless pairs of parentheses there which gets you down to 18 bytes (which still isn't better alone sadly)
 
1 hour later…
20:10
oh and of course 14 bytes in extended

« first day (799 days earlier)      last day (2152 days later) »