« first day (957 days earlier)      last day (1994 days later) » 

03:47
Is there a good book about the history of APL and its various offshoots? I'd like to understand the motivations behind developing many of these languages
 
2 hours later…
05:30
@Sherlock9 I don't think so. There are various papers about each one, APL, J, A, K, Q, CoSy, Nial, LYaPAS,… Maybe you should write an ensemble paper?
05:46
@Adám An intriguing idea, though I'm not sure when I'll have the time
Which papers should I start with for each language? For that matter, how many languages are there now?
@Sherlock9 Me neither. Also, I fear that to be good, it would require fair knowledge of each one.
@Adám Right. What I'd mainly be able to provide is a novice's perspective, but I'm not sure how much that's needed given that APL-like programmer community is probably quite small
and quite experienced already, I mean
The oft-mentioned Mastering Dyalog APL by Bernard Legrand and the recently-mentioned Arithmetic by Kenneth Iverson and k language docs have been (or will soon be) good starting points for learning the languages involved, at least
Maybe I'll go dig up the papers on "why we wrote the language this way" at some point, like the original A Programming Language book
@Sherlock9 For early APL, there's A Source Book in APL though, afaict it isn't available online. Maybe The Evolution of APL instead. The Rationalized APL for more modern APL. J was originally APL\?.
Oh fantastic :D
@Adám Thanks a bunch
@Sherlock9 In general, jsoftware.com/papers is a gold mine.
@Sherlock9 I don't know much about the other languages' history, but Stephen Taylor will be at the conference, so I'll try to remember to ask him about K when I see him.
06:04
Yeah, there have to be something like 90 papers in there
@Adám Much appreciated, Adám
@Sherlock9 Only 90‽ Then you've overlooked the link to code.jsoftware.com/wiki/Essays/Bibliography
Oh, A Source Book is there. Cool.
XD
And once I have too many tabs open haha
I'll just leave the papers tab open and peruse them when time allows
 
1 hour later…
07:42
Hello from Dyalog'19, Helsingør (Denmark).
 
8 hours later…
15:35
does anyone have a more concise version of {0=≢⍴⍵:⍴,⍵⋄⍴⍵}¨
15:51
@Nathan (⍴,≢⍴⍨⍬≡⍴)¨ but i'm pretty sure there must be a better way
ngn
ngn
@Nathan if 0=≢⍴⍵ (i.e. is a scalar), isn't ⍴,⍵ always ,1?
I want a scalar to have shape 1
and I want everything else to retain its shape
@Adám genius solution ⍴1/⍵
⎕←{⍴1/⍵}¨(4 4⍴⍳9) (⍳9) (1)
@Nathan
┌───┬─┬─┐
│4 4│9│1│
└───┴─┴─┘
ngn
ngn
@Nathan you could do ⍴,⍤1
@Nathan oh, that one's even better :) / is an older (more basic?) primitive

« first day (957 days earlier)      last day (1994 days later) »