3:17 PM
@Adám How can I turn this into an assignable function? `2+(2*⊃)2×⊃⌽1 ¯1+<arg goes here>`
just do a whole `(2+(2*⊃)2×⊃⌽1 ¯1+⊢)`?

a jot, `1 ¯1∘+`?
hm, no, that probably doesn't work...

@Ven it doesn't, I tried it before asking actually >.>
Just asked because I'm kinda stumped

3:49 PM
@J.Sallé Yeah, you need either `1 ¯1+⊢` or `1 ¯1∘+`, but you also have multiple monadic functions in a row, `⊃⌽`, so you need jots, `2+(2*⊃)2×∘⊃∘⌽1 ¯1+⊢` or parens, `2+(2*⊃)2×(⊃(⌽1 ¯1+⊢))` or just go with a dfn, `{2+(2*⊃)2×⊃⌽1 ¯1+⍵}`.

4:00 PM
@J.Sallé Without trying to trainify it, why do you need to add 1 ¯1 if you're gonna use only the last element? It could be ¯1+⊃⌽<arg goes here> instead.

4:29 PM
@ngn I'm using both elements there. The formula is `2+(2^(arg+1))×(arg-1)`
@ngn also, without trying to trainify it? Who are you and what did you do to the real ngn? D:
@Adám yeah I'll just go with the dfn approach here then. Thanks!

@J.Sallé oh, I see... so it was half-trainified

Yeah kinda

The real ngn has been assimi...cumulate-reduced.

I'm still fumbling around with trainification

@Ven I wouldn't be ngn if I didn't say and do stupid things :)
@J.Sallé it looks like this is the shortest I can come up with: 2+2×2∘*×-∘1

4:47 PM
@ngn your train game is too strong

4 hours later…
8:30 PM
@EriktheOutgolfer 27km is not much of a bike ride, even in the hills of Hampshire - less than an hour on the bike :-). Seriously, I would be very interested in feedback on the webinar, from anyone who had the time to watch it. I'm particularly interested in reactions from people who are still relatively new to the technology.

8:50 PM
@Pavel Btw, you can have a function run every time APL starts to initialise settings and load stuff you often use. Have a look at `]??USetup`: Try it online but run it locally for exact info as it applies on your machine.

@Adám I tried to set `Setup←{ ]box on }` and got a VALUE ERROR

@Pavel User commands using the bracket syntax are not APL code. But you can call user commands using the function `⎕SE.UCMD`, e.g. `⎕SE.UCMD 'box on'`.

Got it

k has the same defect

@ngn Which "defect" are you talking about?

8:57 PM
@Adám system (and user) commands not being expressions

@Adám Feature request, when starting a session immediatly run the contents of `~/.dyalogrc`

@Pavel The user command system (currently) displays help with `]?CommandName` (in 17.0 I'm deprecating this in favour of `]CommandName -?`, though the old syntax will still work for now). If the user adds additional commands on his own and documents them, the documentation for them will be displayed by the same syntax. The new `]Help` is intended to help you with things that do not have documentation build-into them.
@Pavel What do you mean by "contents"?

@Pavel What kind of file?

I'm not having much luck with USetup :P
@Adám Just a file containing APL.

9:01 PM
@Pavel Have you made your `setup.dyalog` file?

Yeah
For example, when I start bash, it first runs everything in my `~/.bashrc` file.

@Pavel A function? A namespace? A text file where each line is a statement to be executed?
@Pavel How does it look? (Maybe we should take this over in the APL Orchard, not to clutter TNB?)

``` pavel@localhost ~ \$ cat MyUCMDs/Setup.dyalog
Setup←{⎕SE.UCMD'box on'}```

@Pavel OK, hang on, I'll try that file on my machine.

ok

9:04 PM
uh...is there some hidden context?

@EriktheOutgolfer It's in TNB

@Pavel It works by me. What does `]USetup -info` tell you?

`/home/pavel/.dyalog/MyUCMDs/setup.dyalog 0`
ಠ_ಠ
`]??USetup` doesn't say to put it in `~/.dyalog`

Just in `~/MyUCMDs`

9:07 PM
@Pavel Oh dear, that'll be my fault. I'll fix that then.
@Pavel So if you put it in `/home/pavel/.dyalog/MyUCMDs/setup.dyalog`, does it work?

@Adám It also says `Setup.dyalog` in the `??` and `setup.dyalog` in `-info`, and Linux is case sensitive.
Putting it into `/home/pavel/.dyalog/MyUCMDs/setup.dyalog` does make it work, yes.
Thanks!
Can I also make it not print `Was OFF` when I open Dyalog?

@Pavel I don't see that it says `Setup.dyalog` anywhere, but the example code does cause a file to be named `Setup.dyalog`, so I'll fix that too.

@Adám Yeah, I followed the example code.
Unrelated: I noticed Dyalog says `Dyalog APL/S-64`. What does the `S` stand for?

@Pavel Yes, I think `{⎕SE.UCMD '←box on'}` will work, if it doesn't, use `{0 0⍴⎕SE.UCMD 'box on'}`.
@Pavel Server (terminal) version.

Alright. I've got to go, thanks again for helping me out!

9:14 PM
@Pavel My pleasure.

9:40 PM

@EriktheOutgolfer Nothing, you can still email me directly, but I spoke with my colleagues, and it is ok to write support@dyalog.com in full (it gets lots of spam anyway) and the support team will redirect requests to me. Also, this room is becoming more and more official, so it shouldn't really depend on me personally.

10:00 PM
@Pavel The S stands for Server as opposed to X (X-windows-based IDE) which made sense once upon a time, but is overdue for a revision.

10:11 PM
@MortenKromberg As far as I can tell there isn't an X-based Dyalog. The GUI app seems to be Windows only.

@Pavel That is correct. But there was in 1989 :-)

10:46 PM
22 messages moved from The Nineteenth Byte