« first day (1425 days earlier)      last day (1246 days later) » 

11:00 PM
moon-child: Also, what do you think about splitting the bot into two, one for IRC sync and one for execution, with two different SE and IRC names? I think that'd lesson confusion.
 
⋄ 8 {+/÷⍨⍵=⍺} 2 7 1 8 2 8 1 8 2 8
 
@Konrad'Unrooted'Klawikowski 10
 
oof
{+/÷⍨⍵} was for lenght
length*
it was for the length of the list, right?
 
Yes, I realise what the mistake was. So yes, go ahead and define a "CountIn" function!
 
⋄{+/÷⍨⍵} 8=2 7 1 8 2 8 1 8 2 8
 
11:04 PM
@Konrad'Unrooted'Klawikowski 10
 
hmmmmm
oh wait
⋄{÷⍨⍵} +/8=2 7 1 8 2 8 1 8 2 8
 
Why do you keep ÷⍨ at all?
 
for the length, I think
 
Why do you want the length?
 
wait
⋄ +/8=2 7 1 8 2 8 1 8 2 8
 
11:06 PM
<moon-child> @Adám should reject lone ⋄ now. Separating into two bots--yes, will do that in a bit
 
gives me how many elements there are = 8
 
moon-child: Great. Any idea why the bot sporadically ignores requests ^^^ ?
@Konrad'Unrooted'Klawikowski But +/ gives you the count.
 
the count of the elements = 8?
 
Yes, since 8=⍵ gives a Boolean with 1s where elements are 8, and +/ sums that, it ends up counting the 1s, no? Because counting means +1 for each.
 
so I don't need that +/ part?
ah
wait
⋄{+/=8⍵} 2 7 1 8 2 8 1 8 2 8
 
11:10 PM
= is a dyadic function. That's not how dyadic functions work.
@DyalogAPL You could still try to execute it.
 
⋄{+/8=⍵} 2 7 1 8 2 8 1 8 2 8
 
⋄{+/=8⍵} 2 7 1 8 2 8 1 8 2 8
@Moonchild Bot confused?
 
ah
maybe bot doesn't like me.....
 
hmmm, it seems to be dropping messages
 
I'm just not feeling well.
 
11:13 PM
picks up two, and then no more
 
@DyalogAPL feel better soon Buddy
 
@Konrad'Unrooted'Klawikowski Thanks.
 
You can use tryapl.org to execute things meanwhile.
 
@Adám let the bot rest, let us finish that little thing without the bot, let him rest
sure, gonna try
 
11:15 PM
Also, you may want to install a full desktop interpreter at some point.
 
Cool, ,., interleaves two arrays of the same size
 
⋄{+/8=⍵} 2 7 1 8 2 8 1 8 2 8
 
@Konrad'Unrooted'Klawikowski 4
 
this should work
yeah
 
OK, so, can you write a function X DivisbleBy Y that returns 1 if X is divisible by Y, 0 otherwise?
 
11:21 PM
⍵÷⍨=⍵?
oh man
 
How on, what does it mean for one number to be able to divide another number?
Actually, let's take one simpler step first. Write a function that determines if the argument is an integer.
 
then it is it's divisor?
 
Sure, but what does that mean?
 
it can be divided by that and still be an int
 
Ah, that why we need a function to determine integerness. Write that!
 
11:24 PM
I assume he hasn't learnt about that primitive yet
 
@rak1507 What primitive?
 
|
 
@rak1507 No need, since he has
 
Ah
 
wait
oh man
this thing gave me the =< of an x
{⌊⍵ = ⍵}?
 
11:28 PM
remember execution order
 
so I have to flip them?
{⍵ = ⌊⍵}?
 
not exactly sure what you mean but maybe
yes
 
⋄{⌊⍵ = ⍵} 1 2 3 4
 
@Konrad 'Unrooted' Klawikowski
┌→──────┐
│1 1 1 1│
└~──────┘
 
11:30 PM
Since ⍵=⍵ will always return all 1s (which are integers) this isn't right.
 
⋄ {⌊⍵ = ⍵} 1.5 2.5 3.5 4.5
 
try that one and the other one with decimal arguments
 
@Bubbler
┌→──────┐
│1 1 1 1│
└~──────┘
 
See the problem?
 
@Konrad'Unrooted'Klawikowski This one is right, though.
 
11:30 PM
ah
⋄ {⍵ = ⌊⍵} 1 213.7
 
@Konrad 'Unrooted' Klawikowski
┌→──┐
│1 0│
└~──┘
 
OK, so now that you know if something is an integer, can you write IsDivisibleBy?
 
Why are there two aplcart entries for + as the conjugate
 
⋄ 213.7 {⍵ = ⍵÷⍺} 1 213.7
 
11:33 PM
@Konrad 'Unrooted' Klawikowski
┌→──┐
│0 0│
└~──┘
 
thonk
wait god no
 
@rak1507 I only see one. The other one is "mirror across x-axis" which is conceptually something different, even if computationally the same.
 
How are they conceptually different if they represent the same thing
 
⋄ 213.7 {⍵ = ÷⍺} 1 213.7
 
 @Konrad 'Unrooted' Klawikowski
┌→──┐
│0 0│
└~──┘
 
11:36 PM
ok, I have no other idea
 
what do you get for these things 8 ÷ 3, 27 ÷ 9, 3 ÷ 2, 10 ÷ 5, and how do they relate to divisibility, and how can you use the IsInteger function you wrote a moment ago
 
⋄ 213.7 {⍵÷⍺ = ⌊⍵} 1 213.7
 
@Konrad'Unrooted'Klawikowski DOMAIN ERROR
 
thonk
yeah sorry guys 12.40am can be a bad time for me haha
 
no problem lol
 
11:40 PM
gonna be back in the morning, I think
I really do have no idea for that rn
sorry and thanks everyone <3
Gute Nacht
 
Ok, fair enough, nothing to apologise for :)
 
OK, get some sleep. It has been grand!
 
Don't feel bad for not getting things instantly, pretty sure you know more APL than I did haskell after a similar amount of time
 
Schlaf gut.
 
11:52 PM
@rak1507 Good to hear that
@Adám danke vilmal
 

« first day (1425 days earlier)      last day (1246 days later) »