The APL Orchard

https://apl.chat ― Learn, teach, ask, code, golf, & discuss usage. See https://apl.wiki/APL_Orchard for access and info, https://aplcart.info for simple how-to questions. See also https://apl.wiki/Chat_rooms_and_forums
9h ago – B. Wilson
Adám: 3d ago, 69542 posts (28%)rabbitgrowth: 6d ago, 1064 posts (0%)
462

export all events for this room

Starred posts

1 2 3 4 5 16
Jan 20, 2021 14:29
@dzaima most of the time I use rank I either think I know what I'm doing and it fails, or I don't know what I'm doing but it works!
3
Mar 6, 2023 14:08
@SJT My day job in knee deep in k8s, docker, and all that jazz. Not exactly sure what kind of consulting you're looking for, but feel free to ping me at xoongeethe at wilsonb.com if you want.
Jan 6, 2022 21:32
@Fmbalbuena, you will learn much faster by trying to understand on your own. By asking @Adám to help you all the time, you might be giving up the opportunity to push the envelope of your own understanding.
2
Jan 5, 2022 22:15
Jan 5, 2022 21:15
why? everyone knows how taylor series work.
2
Jan 13, 2021 16:32
@RomillyCocking Reference card
3
Jan 13, 2021 11:27
So you've decided to install Dyalog APL? Great. You can download it from here and find out how to fix the keyboarding here.
3
Mar 3, 2023 15:22
As a curiosity, I spotted that there was an (extremely minimal; only handles boolean vectors) APL interpreter submitted in 1989 as an entry to IOCCC: ioccc.org/years-spoiler.html (search for APL on the page). The code itself is ioccc.org/1989/robison.c -- 34 lines of C!
Mar 2, 2023 13:55
0
Q: Largest Binary Area

mousetailTake the sequence of all natural numbers in binary, (1, 10, 11, ..) then write them vertically beside each-other like this: 1 1 1 1 1 1 1 1 1 11 11 11 11 1111 1111 11111111 11 Notice there are areas of connected 1s in the binary representation of the number. Your ...

Dec 31, 2021 19:03
Happy new year, APLers.
2
Dec 28, 2021 16:08
> Yes – fully intentional 😊

The designers were presented with the APL glyphs as inspiration for a Logo and came up with some suggestions of which we really liked the current one.

So well spotted.

/Gitte
2
Dec 20, 2021 12:10
user image
2
Feb 20, 2023 14:04
Announcement: Schedule and registration for APL Seeds '23, the 22 March 2023 (14:00 UTC) free online event aimed at new APLers and the APL-curious (although all are welcome), is now available.
Dec 18, 2020 23:57
(btw instead of images you could post paste (shameless self-advertisement); SE chat has a message length limit, but that can be worked around by using multiline messages, but then SE chat stops allowing markdown sooo)
3
Dec 15, 2021 18:58
Well, because Dyalog hired me ;-) and because it means I can do APL all day while earning enough to sustain my family, and because it is a nice place to work.
2
Dec 13, 2021 09:21
- read first 5 chapters or xpqz's book
2
Dec 8, 2021 15:26
@FawnLocke You can't win money, but you can win free entry to the next physical user meeting.
2
Dec 8, 2021 15:21
Announcement: Dyalog is looking for beta testers for our yearly problem solving competition. While you can use any language to solve the problems, we prefer if you use an APL, or at least an array-oriented language. You will be expected to give feedback on the 10 easy and ≤10 harder problems, while rating their relative difficulties. Note that by beta-testing, you disqualify from the competition. Let me know if you're interested.
2
Dec 7, 2021 19:07
Can't wait for 18.2…
2
Dec 1, 2021 10:57
I ported my APL solution to numpy. Iverson must be turning in his grave: gist.github.com/xpqz/151a8aa81f5333da9d3d75bb2bb48fee
2
Dec 1, 2021 01:09
APL is "hard" language for ppl who are from C++/Java/Python world at the beginning.
2
Dec 1, 2021 01:09
Yes. Much easier to teach to non-programmers.
2
Nov 30, 2021 22:31
Hello! I'm in the happy position to announce that the first (online) meet of the newly created "APL ∊ BCN" meetup.com group will take place on Saturday 2021-12-18 at 19:00 CET. meetup.com/apl-bcn/events/282411026
2
Nov 26, 2021 14:07
Announcement: Most recordings from Dyalog '21 have now been published.
2
RGS
Nov 26, 2021 08:43
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
Nov 26, 2021 08:01
H ← {÷1+∘.+⍨⍳⍵}
2
Nov 25, 2021 18:13
You know about the short url apl.chat?
2
Nov 25, 2021 18:12
I'm not sure that's really a sweet spot for APL. However, it'd be nice if they had off-the-shelf APL containers for easy deployment of APL-based services.
2
Nov 25, 2021 15:20
@milia Have you seen my beginner's guide to APL? xpqz.github.io/learnapl
2
Nov 24, 2021 06:35
Savour the moment!
2
Nov 23, 2021 23:14
@milia Yes it is, and equivalent to 1+÷1+÷1+÷1+÷+÷1
2
Dec 26, 2019 22:57
As I solve more problems in APL, it feels more and more like a general programming language, almost in the same class with Python, JS, or Haskell.
4
RGS
Nov 23, 2021 14:25
I like the tacit interior of my favourite APL expression: ⋄ 1 +∘÷⍣≡ 1
2
Nov 21, 2021 09:39
@elliptic00 You're absolutely right, but precedes the invention of the rank operator by a long time. In fact, originally, Iverson had 64 functions like but it was found that those three were enough to express most things without it becoming too awkward. Just and would have worked too, but ⍉⌽⍉M to flip vertically was apparently too verbose.
2
Feb 1, 2023 05:35
Announcement: apl.show can now be found on many podcast providers, but you can the feed https://apl.show/podcast.rss manually if you cannot find it.
Nov 11, 2021 08:09
A rare treat: Managed to reduce a 190-line/6.9 kB function to 66 lines/2.3 kB while adding plenty of functionality and fixing various issues.
2
Dec 2, 2019 17:13
Announcement: DuckDuckGo now has an !aplcart bang; you can search directly on APLcart by entering !aplcart with your query. This also works in your URL bar if you use DDG as your browser search engine.
4
Oct 28, 2020 10:21
My maths teacher asked me about making a numerical integrator in a programming language.... little does he know it's a two liner in APL
3
ngn
Jan 6, 2019 16:02
@Adám or even 1⌽,⍨9⍴'''1⌽,⍨9⍴'''
5
Sep 3, 2020 17:51
if I cant recompile my operating system, is it really mine?
3
Aug 19, 2020 14:08
user image
3
Sep 13, 2021 08:00
@WongJiaHau (Self-)outer product is a common trick to build a matrix with certain symmetry, and the specific output is easy to construct by going through a pyramid
2
Sep 13, 2021 07:51
⋄ {2|∘.⌊⍨(⊢⌊⌽)⍳⍵}¨ 3 5 7
2
Dec 20, 2017 19:15
@all Quite a mouthful. Any questions? Any brain matter that needs mopping up from the floor?
6
Aug 5, 2020 01:31
@rak1507 My phase 1 and 2 answers
3
RGS
Aug 4, 2020 22:45
@user41805 I will definitely write something on my blog about phase 2 because I really enjoyed it so much; while I don't, here's my phase 1
3
Aug 4, 2020 11:05
Hello all, @Bubbler your solutions are so elegant! Mine look so clumsy and verbose in comparison. github.com/rak1507/APL-Competition-2020/blob/master/… These are mine.
3
Aug 4, 2020 02:10
1 2 3 4 5 16