« first day (1078 days earlier)      last day (140 days later) » 

7:13 AM
I just found that RIDE has RD shortcut which exactly does what I wanted.
 
@Bubbler Oh, I'm sorry, I should have told you. I figured you know about the shortcut but only wanted a toolbar button.
 
@Adám Another minor issue is that it's assigned a numpad button by default, which isn't a particularly good idea IMO these days.
 
 
2 hours later…
8:47 AM
@Bubbler Should I wait for you to shorten your answer or shall I go ahead and bounty it as-is?
 
9:00 AM
@Adám Oh, I completely forgot. I'll edit in the shorter version right now.
 
9:39 AM
@Adám Done.
 
@Bubbler The tacit inner function isn't really explained.
 
10:18 AM
hi, is there a better way to write something like this
{1↑⍺[;⊃⍒+⌿⍺∊⍵]} and how would you make it into tacit form
 
@GabrieleCarrettoni So you want the first element of the column with most elements from ?
 
@Adám Explanation added.
 
@GabrieleCarrettoni Doesn't {⍺[1;⊃⍒+⌿⍺∊⍵]} do the trick too?
@GabrieleCarrettoni Notice, btw, that you're getting a 1-element vector result, whereas ^ gives a scalar.
 
yes it does, how should i use ^ in this case?
 
10:23 AM
@GabrieleCarrettoni ;-) I mean that as a pointer to the code I wrote in the previous message.
 
ah wait, with ^ you mean take
 
1↑ gives a vector whereas [1; gives a scalar.
[,1; would give a vector.
 
ok i get it thanks, now i'm trying to get into the mindset of writing in tacit form, any tips in this case?
 
Since you have a long sequence of monadic functions ⊃⍒+⌿ tacit won't look very good.
@GabrieleCarrettoni I think ⊣⌷⍨1,∘⊃∘⍒1⊥∊ will work.
 
scary
indeed it does
 
10:26 AM
I told you it wouldn't look very good.
 
any tips on when use tacit and when not to?
 
@GabrieleCarrettoni If you have long sequences of monadic functions that cannot be made dyadic, or if you need to use one of the slash functions (operators are fine) or if you need to juxtapose arrays, or if you need side effects, recursion, conditionals, error handling, multiple inline variables, or advanced bracket indexing, then tacit may not be a good fit.
 
i see, i think i'll avoid tacit for the time being, still much to learn. Are all those things doable with dfns or one has from time to time use the "old" function definition style and classes and stuff?
 
@GabrieleCarrettoni All of those I mentioned are doable with dfns. You only need tradfns for niladic "functions", exposed class methods, complex control flow and more obscure stuff like dynamic scoping and returning functions as result.
 
thanks for your time @Adám
 
10:35 AM
@GabrieleCarrettoni Don't shy away from tacit entirely though. For production code (code golf is something else), I recommend tacit for smaller utility functions contained in larger functions or in scripts. They are nice when standing for something that can be easily named (even if you use them anonymously inline). Examples are +⌿÷≢ for average and ≠⊆⊢ for splitting, +,- for plus/minus etc.
@GabrieleCarrettoni Also notice that you constantly use tacit programming inline: +⌿ is a tacit function!
@GabrieleCarrettoni No problem at all. This is what I'm here for.
@Bubbler Wow, nice.
 
11:19 AM
would it be possible for someone not in UK, i.e Italy to work for Dyalog on the internals of the platform?
 
@GabrieleCarrettoni Yes. We have people in USA, Canada, France, Germany, Denmark, and Greece working on internal things. See Meet Team Dyalog.
 
i would like to apply for a position as developer but have no idea what are the requirements, i see you have an open "Graduate Programmer/Language Implementor" position in the UK. I'll probably just try to send the cv but i don't expect much. Nice to see a multicultural team thought.
 
11:44 AM
@GabrieleCarrettoni Not much is required, but make sure to mention your l language. One of our previous applicants made his interview presentation about something similar, and was hired. You should also include what your APL experience is.
 
12:22 PM
@GabrieleCarrettoni Btw, we also have a major customer in Italy, if you're interested in APL work.
 
 
2 hours later…
1:54 PM
@Adám ah nice, didn't know about that. Thanks for taking the time to look thought my github profile, I mean, the l language i wrote is barely usable, the one you linked is really well developed, not even comparable.
 
 
3 hours later…
4:53 PM
Is there a short way to convert a number to a binary list in APL? (for golfing)
Nvm, I can use dzaima because that defaults the left argument of ⊤ to 2
 
@EdgyNerd also true for Extended
 
 
3 hours later…
ngn
7:33 PM
@Bubbler you skipped this?
 
8:10 PM
@ElPedro Welcome. Can I offer you an intro course to APL?
 
 
3 hours later…
11:05 PM
@ngn Oh. I think I saw it, but somehow I didn't read it carefully. Anyway the RD shortcut does work for me (I have "auto indent N spaces" and "indent comment-only lines" enabled).
I checked that it works both locally and on the cloud (web browser version).
 
ngn
11:41 PM
@Bubbler great. i get errors most likely because i haven't bothered to upgrade my interpreter for a few years.
 
hmm.. the mapl script makes XQuartz load on a mac
maybe something with the keyboard setup
yeah, that's it.
 

« first day (1078 days earlier)      last day (140 days later) »