The APL Orchard

apl.chat ― Learn, teach, ask, code, golf, & discuss usage. See ...
Mar 24 16:46
@Adám Is there some function I can run to format my files from inside APL or from outside?
Mar 24 16:17
@Adám Okay! So everyone just follows interpreter's formatting rules? Is there a way to change them?
Mar 24 14:07
@StackExchangeFeeds Does anyone have any examples of how they manage the formatting and folder structures for big APL Projects? Looking for ideas
Jan 31 10:45
If you have any questions feel free to reach out to me here or at [email protected]
Jan 31 10:26
Hi everyone!
Dyalog is applying for Google Summer of Code 2025 (https://summerofcode.withgoogle.com/). It is a program to promote open source software development where organisations with opensource projects apply and receive contributors from the platform who work on the project and they get a stipend.

For GSoC, Dyalog needs to make an idea list of projects we think will be good for contributors to work on. We would appreciate if the community would also take a look at the projects we have chosen, give their opinions on things that should be added or subtracted or changed from these ideas
Aug 23, 2023 07:44
Thank you @Adám
Aug 23, 2023 07:30
I think I remember, I had set this to try to start dyalog from the terminal <facepalm>
Aug 23, 2023 07:29
Oh, it works now!
Aug 23, 2023 07:27
@Adám ooooh
Aug 23, 2023 07:27
Does the uninstaller not clear the env vars?
Aug 23, 2023 07:26
Okayy! What should I change it back to?
Aug 23, 2023 07:25
I have not manually changed anything
Aug 23, 2023 07:25
C:\Users\rush>set DYALOG
dyalog=C:\Program Files\Dyalog\Dyalog APL-64 18.2 Unicode\dyalog.exe
Aug 23, 2023 07:21
⊢2⎕NQ#'GetEnvironment' 'DYALOG'
C:\Program Files\Dyalog\Dyalog APL-64 18.2 Unicode\dyalog.exe
Aug 23, 2023 07:13
@Adám It is a fresh install, downloaded from the my.dyalog.com portal. With nothing changed, and a default install
Aug 23, 2023 07:10
⎕SE.SALTUtils.getEnvir'SALT'
C:\Program Files\Dyalog\Dyalog APL-64 18.2 Unicode\dyalog.exe\SALT
Aug 23, 2023 06:53
      )si
⎕SE.SALTUtils.GetUnicodeFile[11]*
⎕SE.SALTUtils.splitOnNL[0]
⎕SE.SALTUtils.BootLib[3]
⎕SE.SALTUtils.BootSALT[4]
Aug 23, 2023 06:50
@Adám I redacted it, just in case
Aug 23, 2023 06:48
:64243462

      ⎕SE.SALTUtils.BootSALT
FILE NAME ERROR: C:\Program Files\Dyalog\Dyalog APL-64 18.2 Unicode\dyalog.exe\SALT\core\Utils.dyalog: Unable to open file
 ("The system cannot find the path specified.")
GetUnicodeFile[11] r←{⍵↓⍨-(⎕UCS 10)=¯1↑⍵}1⊃⎕NGET file(256×transform)
Aug 23, 2023 06:41
(Sorry if this has some Windows trick to it. I am not a primary Windows user)
Aug 23, 2023 06:40
Run as Administrator also does not work. Should I try to install it for just 1 user, I have installed it for all users
Aug 23, 2023 06:37
Hi APLers, I was trying to set up dyalog on Windows, but after installation, I start it and get this error.

Dyalog APL/W-64 Version 18.2.45405
Serial number: ***
Wed Aug 23 12:03:59 2023
SALT initialization failed: Unable to open file

I have tried to reinstall and followed this forum post(https://forums.dyalog.com/viewtopic.php?f=22&t=1542) but no luck
Jul 5, 2023 10:12
@RubenVerg Okayy! I have not properly used Windows in a really long time, so did not know.
Jul 5, 2023 09:53
@RubenVerg I think it should, it showed me that it is already installed in the installation wizard
Jul 5, 2023 09:45
Thanks @Adám and @RubenVerg
Jul 5, 2023 09:44
@Adám Oh okay!
Jul 4, 2023 16:20
Hi, I was installing Dyalog on Windows, and I noticed this line in the readme:
> Note: Dyalog strongly recommends that if not already installed, you include the VS2015 runtime packages when you install Dyalog APL; failure to do so may result in the failure of .Net-related code.

From what I've heard, VS2015 has been wiped off by Microsoft, will the newer VS versions work? or should I just install it without VS
Jun 29, 2023 10:30
@Silas Okay! general convenience thing
Jun 29, 2023 08:46
@Adám ahaha yeah, it is definitely meme-able content
Jun 29, 2023 08:43
Also, is there any specific reason why there are multiple ways of doing the same thing?
Jun 29, 2023 08:43
So does the 10○ representation use the | implementation under the hood?
Jun 29, 2023 08:42
Okay!
Jun 29, 2023 08:33
Hello APLers, Does 10○X and |X evaluate the expression in the same way? or is there a difference between how they evaluate the magnitude of a complex number (X here)
Mar 23, 2023 07:01
@Adám Will the videos from APL seeds be available to stream?
Mar 21, 2023 06:48
      (⍳0)≡⍬
1
Mar 21, 2023 06:37
Ooh okayy! I was focusing on Monadic ⊃ being first rather than disclose, thanks @B.Wilson @AidenChow!
Mar 21, 2023 06:30
      ⊃⍬
0
      ⍬[1]
INDEX ERROR
      ⍬[1]
       ∧
      1⊃⍬
INDEX ERROR
      1⊃⍬
       ∧
Mar 21, 2023 06:30
Why does pick zilde work but not with indices?
Mar 21, 2023 06:30
Hi APL, one small query
Mar 2, 2023 09:41
@Adám Thanks adam!
Mar 2, 2023 09:40
@Adám Okay! Thanks
Mar 2, 2023 09:36
Hello! In the documentation of Magnitude(https://help.dyalog.com/17.1/#Language/Primitive%20Functions/Magnitude.htm) it mentions in the last line that "⎕IO is an implicit argument of magnitude."

But in the documentation of ⎕IO(https://help.dyalog.com/latest/#Language/System%20Functions/io.htm), it doesn't mention magnitude in the same line.

But how does ⎕IO affect magnitude? or is it a bug in the docs?
Feb 27, 2023 10:56
@xpqz I would also love to see something on this
Feb 24, 2023 06:29
sorry, ignore me, my brain sometimes just forgets that APL operators can be dyadic ⍨
Feb 16, 2023 18:21
@Jeremygee hahaha! I swear
Feb 16, 2023 10:05
@Adám Thank you
Feb 16, 2023 07:04
mmm, the link to the query didn't work. The query is: ⎕RL
Feb 16, 2023 06:59
@Adám if i search for this(https://aplcart.info/?q=⎕Rl) on aplcart. The TIO link on the first result(`⎕RL←⍬ 1`) takes me to a TIO(https://tio.run/##SyzI0U2pTMzJT////1Hf1EdtExSAVEjw//8A) with a timestamp expression(⎕← ⎕TS)

Looks like a small bug
Feb 16, 2023 05:38
@B.Wilson ooh
Feb 16, 2023 03:09
@Jeremygee I was wondering a few days back, that APL would be the best code to write on paper (my uni java exams would've been so good if they could be written in APL) (writing java on paper is so bad :)) ).