« first day (1766 days earlier)      last day (887 days later) » 

12:42 AM
@Adám are you Creator of APL?
 
What? Nobody owns APL.
 
@Adám Who created APL?
 
Kenneth Eugene Iverson (17 December 1920 – 19 October 2004) was a Canadian computer scientist noted for the development of the programming language APL. He was honored with the Turing Award in 1979 "for his pioneering effort in programming languages and mathematical notation resulting in what the computing field now knows as APL; for his contributions to the implementation of interactive systems, to educational uses of APL, and to programming language theory and practice". == Life == Ken Iverson was born on 17 December 1920 near Camrose, a town in central Alberta, Canada. His parents were farmers...
As Adám stated, modern APL isn't owned by anyone.
 
APL was never owned by anyone.
 
who owned modern APL?
stopped adding updates?
 
12:46 AM
@Fmbalbuena Not sure what you're asking.
 
or features?
 
I still don't get it. Are you asking "who stopped adding features?" or "has the addition of features to APL stopped?"
 
has the addition of features to APL stopped?
 
No, absolutely not.
 
Whats the Date of last update?
 
12:49 AM
there is no single APL.
 
pjC█d┐│↑Ψ{⁽○σ#d{§⁰!∆*κ‽Τ!P¤‚↕⁴‘
 
@Fmbalbuena You can find that on the page for each implementation on APL Wiki.
@Fmbalbuena Wrong room?
 
no, that's just my "about me"
 
Ah, yes, I knew I'd seen it somewhere.
 
@Adám but what?
 
12:52 AM
@Fmbalbuena There's Dyalog APL. There's GNU APL. There's NARS2000. (then there's dzaima/APL. Then Kap, April, and some more probably)
 
@dzaima Date?
 
each has it's own features, and thus updates
 
@Fmbalbuena Look at the page for each one on APL Wiki, e.g. apl.wiki/Dyalog_APL and apl.wiki/APL%2BWin etc.
 
Kap, April & Dyalog are the most actively updated.
 
here are at least 25 APLs
 
12:55 AM
 
@Fmbalbuena Those aren't really APLs, but are just inspired by some features of it. (and APL isn't an esolang)
 
@Adám Split text by delimiter? in APL?
 
Please show using TryAPL bot
 
12:58 AM
⋄ ','(≠⊆⊢)'comma,seperated,string'
 
@FawnLocke
┌─────┬─────────┬──────┐
│comma│seperated│string│
└─────┴─────────┴──────┘
 
@dzaima (fwiw, that's SOGL code)
 
ok so i have to gtg. i'm back tomorrow.
 
Cya :)
 
○/
 
1:05 AM
Adám, I know you can define new primitives in Dyalog. dx and dyalog-apl-extended are proof of that. But is it possible to redefine the primitives? I see there's a definition for iota in apl-extended, so most likely. Just curious what file to look at so I can reproduce it
 
@FawnLocke "you can define new primitives in Dyalog" is a false premise. No, you cannot.
 
Oh? Huh. How do dyalog-apl-extended/dx work then, is it just fancy eval?
 
Text substitution and then plain eval.
 
Gotcha, thanks
 
 
7 hours later…
8:01 AM
H ← {÷1+∘.+⍨⍳⍵}
2
I just watch this video, I got different matrix from the video in RIDE..
if you forward the video to 6:12, then you can see the function,
The matrix is different from my output in RIDE.. does any one know why?
0.3333333333 0.25         0.2          0.1666666667 0.1428571429
0.25         0.2          0.1666666667 0.1428571429 0.125
0.2          0.1666666667 0.1428571429 0.125        0.1111111111
0.1666666667 0.1428571429 0.125        0.1111111111 0.1
0.1428571429 0.125        0.1111111111 0.1          0.09090909091
here is my output in RIDE..
H 5
from the video, they use window XP... which is pretty old MS window.. but I assume the Daylog APL compile should not be different ?
 H ← {÷1+∘.+⍨⍳⍵}
 
@elliptic00 this is weird, I'm getting the same results with tryapl.org:
H ← {÷1+∘.+⍨⍳⍵}

H 2
0.3333333333 0.25
0.25 0.2

H 2
0.3333333333 0.25
0.25 0.2

H 2
0.3333333333 0.25
0.25 0.2
ooff, sorry for the bad formatting
Could you please run two three times H 2 and paste the results here?
@elliptic00
 
I think the speaker is Roger Hui, he just pass away not long ago in Vancouver here,
H 2
0.3333333333 0.25
0.25         0.2
      H 2
0.3333333333 0.25
0.25         0.2
@milia, press CTRL-k , then you will get good format..
after you paste your code, CTRL-k
 
8:23 AM
@elliptic00 thanks for the formatting tip. Yeah, I've learned about Roger a few days after his passing and I've been following his work closely since I started learning APL/J.
So in order to understand your former question...
You're asking why you're getting different results than those from the video ?
 
Yep
 
I guess you're right, maybe something has changed in the interpreter. I wouldn't know for sure. Maybe @Adám knows.
 
Yep.. We can ask Adam when he is online.. from the screen, I can see the video is pretty old video..
@milia, thx..:)
 
Things change over the years I suppose :) I'd trust the results of the current interpreter, and then maybe do the calculations by hand on say a 2x2 matrix
or try a python script
to confirm/falsify the current Dyalog interpreter's results
my guess, python's results will match current Dyalog APL's
if you do such a test, lmk, I'm very curious :)
 
Sure.. I will let you know...
 
8:31 AM
cool:D
 
RGS
@elliptic00 and @milia the difference is that Roger Hui always used ⎕IO ← 0 :)
⋄ ⎕IO ← 0 ⋄ H ← {÷1+∘.+⍨⍳⍵} ⋄ H 2
 
@RGS
1   0.5
0.5 0.3333333333
 
what is ⎕IO ← 0 ?
 
RGS
IO stands for Index Origin, it's a system variable that controls, well, the origin of the index :P It determines whether indexing starts at 0 or 1, and it influences primitives like :
2
⋄ ⎕IO ← 0 ⋄ ⍳5 ⋄ ⎕IO ← 1 ⋄ ⍳5
 
@RGS
0 1 2 3 4
1 2 3 4 5
 
8:43 AM
LOL.. i c..
 
RGS
By default, it's ⎕IO ← 1; however, some people prefer ⎕IO ← 0. To be 100% safe, H could be written as H ← {⎕IO ← 0 ⋄ ÷1+∘.+⍨⍳⍵}.
 
@RGS, thx for clarifying that for someone like me are new to APL...
 
RGS
Absolutely! I don't always hang here, but I love helping & teaching
 
9:21 AM
@elliptic00 yeah, what @RGS said. Pretty much with ` ⎕IO ← 0` you define that your array index will start from 0, as in C, python, Java, etc. If you do it like this ` ⎕IO ← 1`, you're doing it as in Fortran. So yeah, it makes total sense to be getting different results.
 
Yep, thx for clarifying that.
 
I think I prefer ` ⎕IO ← 0` too. The Fortran-way seems so unnatural to me nowdays, but even in modern Fortran (eg. F95) I think there are ways to make that index start from 0, as is the norm nowdays.
sure, anytime :)
cool question
 
@RGS looking at your custom.css, I can see no trace of it serving a different font? Does that mean that MDAPL is also problematic in chromium browsers?
 
9:50 AM
@milia Is there a reason you put a space at the beginning of your inline code? It doesn't work with SE Chat's markdown: ` code` vs code
 
@Adám I must have missed that. Most likely I copied a space character just before the APL code as well. Nice catch.
yeah, I guess there isn't some feature like code here ? or is there and I'm not aware of it ?
hm, backticks dissapeared around "code"
 
RGS
@xpqz Riiiiight, I thought you wanted to see how to specify custom CSS. I have to check those font issues, then :O web dev is so complicated :p
 
@milia Not sure what you're asking.
 
@RGS Yeah. Every time I have to do any css I die a little inside.
 
@Adám in discord if you put backticks around something, it creates a little boxy thing around it.
 
9:58 AM
Well, here too does it render without further markdown, and in monospace, but it doesn't change the background colour.
It is much more like an unstyled HTML <code> element.
I use a user style sheet (via Stylus) that reformats some things:
 
@Adám thank you, reading now!
 
10:26 AM
@Adám I've updated the custom css to include the font you suggested. At least, I think I have. Not sure how I can verify it's correct.
 
The real way of testing it is to use a device without the font installed.
 
10:57 AM
@Adám I'm writing a short Google Doc intro to APL, language, inventor, community, try-apl, to share it with my colleagues. I've noticed that some APL symbols such as the tally don't show properly there. Is there a workaround ?
It looks like this in the docs: ≢
 
@milia Yes, format the APL symbols using a font that has them: apl.wiki/Fonts
@milia Well, you just copied the symbol, and on my machine, that looks fine, but I know the issue, and it looks like ≡/ by you.
 
@Adám spot on, on how it looks on my machine. Will check if I can use the Fonts link provided, thanks :D.
so in a normal computer maybe it shows normal, I guess. I'll edit the Doc from my Linux/Windows laptop, because I don't want to mess with the Chrome box.
ty !
 
@milia Oh, hm, it is a Google Doc, so you're restricted to the fonts Google supplies…
 
oh
okay...
then I guess I'll have to take the LaTex route :)
will send it to you as well if you'd like, when done. I'd appreciate any comments or corrections.
 
@milia Not necessarily. Google Docs does let you choose font. Choose Roboto Mono
 
11:05 AM
Oh neat, will try, ty
 
 
hm
not sure what's going on on my doc, but I'm getting even with Roboto Mono the same result as Arial
I'll look into it later, from a different pc too, if it matters
ty
 
11:17 AM
@milia Go to "More fonts" and Fira Code.
 
that did it. Thx !!
 
12:11 PM
Hi all, beginner question here: I have a matrix to which I want to add a row number column. Is there a one-liner for that?
 
@RudiAngela (⍳≢m),m – also, welcome!
 
@xpqz you can always follow the ways of Lakatos :)
 
@RudiAngela I assumed you want the column on the left. Was that correct?
 
@KamilaSzewczyk Attempt to resolve the perceived conflict between Popper's falsificationism and the revolutionary structure of science described by Kuhn?
 
have you read "Proofs and Refutations"?
 
12:15 PM
@Adám @Adám: Thank you! For now any location is ok for the extra column. Now let me try your suggestion.
 
@KamilaSzewczyk No. Should I?
 
@xpqz "Proofs and Refutations" is a dialogue between students
you can see it for yourself:
https://palaiologos.rocks/library/Imre%20Lakatos%3b%20Proofs%20and%20Refutations.pdf
 
@RudiAngela You can try it right here: ⋄ m←4 3⍴⎕A ⋄ (⍳≢m),m
 
@Adám
1 ABC
2 DEF
3 GHI
4 JKL
 
@Adám Cool!
 
12:17 PM
I think that this book is a compulsory lecture for all teachers
 
@KamilaSzewczyk Nice. It reads almost like a stage play
 
do you dare to write a stage play about APL :)
 
CMC: Remove adjacent duplicates in a vector. For example: 1 2 3 4 4 3 2 1 2 2 3 4 gives 1 2 3 3 2 1 3 4
 
@PyGamer0 What does 1 2 2 2 3 give?
@PyGamer0 dzaima/APL, 13: ⊢⌿⍨1(,∧,⍨)2≠/ Try it online!
Oh wait, this assumes a simple vector. instead of for the general case.
 
12:37 PM
@KamilaSzewczyk was thinking more like a soap opera.
 
aw
ever considered awakening your inner artist instead :)?
 
12:59 PM
@KamilaSzewczyk not surprised to see one of the most important philosophy of science books on this room.
but rather pleased to see it :)
 
1:31 PM
this is a pretty nice intro in philosophy of science, for anyone interested to do the deep dive and have a great headache after reading it. Great read, but kinda hard. Surely interesting tho. en.wikipedia.org/wiki/What_Is_This_Thing_Called_Science%3F
 
2:07 PM
Announcement: Most recordings from Dyalog '21 have now been published.
2
 
2:22 PM
@Adám regarding next years' Dyalog user meeting ('22), do you know if there could be an option for someone that'd prefer to stay to some other hotel, and have a fee just for attending the talks/workshops?
 
@milia Assuming it'll be IRL, then yes, we do allow you to book attendance without lodging.
 
cool thx !
it'd be nice if it'd be IRL. I see it's only 3h40m far from my place, and seems to have direct flights too.
 
Yeah, it'd be very nice. It is close to RGS too.
 
:)
 
 
1 hour later…
3:37 PM
@Adám did you get a chance to cast your eyes over the cultivation-as-notebook?
 
 
1 hour later…
5:05 PM
 
 
1 hour later…
6:29 PM
∘.+⍨ ⍳ 2
2 3
3 4
      1 + ∘.+⍨ ⍳ 2
3 4
4 5
      ÷ 1 + ∘.+⍨ ⍳ 2
0.3333333333 0.25
0.25         0.2
⍝ How the ÷1 apply to the matrix?
1 + (∘.+⍨ ⍳ 2)
1 is add to the matrix
⍝ I'm wondering where ÷1 come from?
 
÷ there is monadic, i.e. reciprocal. It's ÷ (1 + (∘.+⍨ (⍳2)))
 
 
1 hour later…
8:03 PM
oh.. it is reciprocal of each element of the matrix.. .@dzaima, thx:)
 
 
2 hours later…
9:44 PM
Finally, Dyalog makes the APL running as script
when we can do it and use it?
 
10:01 PM
Question: Given a list of integers I want to produce a list of occurrence count per value in the list. The following works, but I would like to pass the list as a right parameter instead of having a reference to the specific list in the expression. Any suggestions? {⍺,¨{⍵ +.= ∘, mylist}¨ ⍵}⍨ ∪mylist
 
the key operator is exactly what you want here, {⍺,≢⍵}⌸
 
alternatively, a literal translation: {u,¨+.=∘⍵¨ u←∪⍵} mylist (or {(⊢,¨+.=∘⍵¨) ∪⍵} by utilizing a train)
 
but if you want to do it with that method, you can pass it as an operand so you'd do something like (⍵ {⍵ +.=∘, ⍺⍺})¨ or use it as a left argument ⍵∘{⍵+.=∘,⍺}¨
 
note that rak's example will give a matrix; {⊂⍺,≢⍵}⌸ gives the exact same result as yours
(also, {⊂⍺(≢⍵)}⌸ would be more correct, if your list isn't a simple list)
 
yeah true
 
10:08 PM
Nice suggestions! I'll go try them. Thx!
 

« first day (1766 days earlier)      last day (887 days later) »