« first day (75 days earlier)      last day (646 days later) » 

9:24 AM
todo: add tacks
 
9:44 AM
ok lets hope my commit works
⊣⊢
^ added
ok lets test em
ok i guess " works
ok i think it works
 
 
5 hours later…
2:40 PM
@mathcat if you have time can you give me feedback on the documentation?
^
 
nice docs
 
do you understand the documentation?
 
I'm reading
 
ok
 
wait
+ is a dyadic chain right?
 
2:49 PM
no its a dyadic link
 
okay link then
 
cchains arity are dependent on the number of arguments it was called with
 
ah
so if + is called with 2 args
then it's a dyadic chain?
 
yes
 
who is clearing my stars
 
2:51 PM
so it was you
gottem
stop star spamming
@mathcat ok let me run flax and show you some things
 
okay
 
@PyGamer0 i have done no such thing
 
      + ⍝ Let's call it monadically
> 3
>
6
      + ⍝ Let's call it dyadically now
> 3
> 4
7
      + ⍝ Don't forget niladic chains!
>
>
0
@mathcat ^
 
amogus comment
 
yes
 
2:55 PM
nice
so 3+ gives 6?
 
yeah, look at how moandic chains are executed
@mathcat only when called monadically
 
@PyGamer0 a+a
yeah but
3 4 5+
how does it know if it is niladic, monadic or dyadic?
 
well, how much arguments you pass in the chain?
do you pass 1, 2, or 0 args?
 
3, 4, 5 are args right?
 
@mathcat + is a lone dyad so the 2 case is invoked and according to that the accumulator is added (+) to the left argument
@mathcat they are .. to the link not the chain
 
3:00 PM
oh
 
a chain always has its arity determined by the number of arguments you invoke it with
 
ah
 
> Chains are a sequence of links.
> Chains can be called niladically, monadically or dyadically.
 
okay
so a chain of 2 dyads
+ and * (times)
 
times is ×
 
3:02 PM
If I pass 3 args to it
@PyGamer0 oh, ok
 
@mathcat you can't
there are only niladic, monadic and dyadic chains
aka 0, 1, 2 arguments
 
ah
 
@mathcat ok i updated the documentation so it makes more sense
 
okay 2 args then
 
ok
then it follows these rules:
so it multiplies (×) the arguments and adds (+) it to the accumulator
      +×
> 3
> 4
15
@mathcat do you know why the output is 15?
 
3:06 PM
because λ = ⍺ I think
right?
 
good job!
 
but uh why doesn't it add first?
 
now you know the basics of chaining of flax
 
is tacit arabian?
 
@mathcat because it follows the 2, 2 rule
 
3:08 PM
ah, ok
 
@mathcat no, read the documentation closely
 
understood
 
there are rules, the links are executed according to those rules
 
Can you give an example of an LCC chain?
 
1+1+1
a nilad followed by 2, 0 / 0, 2 / 1 rules
 
3:10 PM
okay
 
so 1+2C is a LCC
and so it 1 2+C
 
C?
 
a monad which calculates 1-x
(x is the argument of the atom)
 
okay
so
 
@mathcat quiz: lets say the chain is +2+×C and the chain is called monadically with 3, what is the output?
 
3:13 PM
ok
 
one sec
the second plus is a dyadic link, right?
 
its always dyadic
since all atoms have fixed arity
meaning that their arity doesnt change
 
is the result -23?
 
no
try again
 
3:19 PM
after the first plus, the result is 6
then there is 2
 
@mathcat how?
@mathcat ah, you see the 2, 0 rule is followed here
 
wait why?
 
the longer rules have higher precedence
 
oh
 
2, 0 is checked first before 2 rule
 
3:20 PM
okay
then the result is 4
then 6
 
how?
 
but 4 is correct, right?
after the first +
 
but the input is 3
whats +2 called with 3
 
oh
I'm reading it like a stack
 
ah
 
3:24 PM
okay
+2 with 3 is 5
 
yes
now try the original problem
 
then the other plus is called with 5 and 3?
 
yes
 
8 then
 
yes
 
3:26 PM
8*3 is 24
 
no... check if any other rule is followed here
 
is the 2, 1 rule applied here?
 
exactly
 
because times is dyadic and C is monadic?
okay
 
yes
 
3:29 PM
so its (1-8)*3=-21?
oh C is 1-x
that feels wrong
 
yea
@mathcat C stands for Complement
 
I only know Compliment
 
if you want Increment/ Decrement.. thats }{
 
ah
but C is 1-x?
 
yes
 
3:31 PM
so C is applied to ⍺
 
yes
 
and is multiplied with 8?
 
19 secs ago, by PyGamer0
yes
and what do you get?
 
so *head maths*
-16?
 
good job!
 
3:32 PM
nice
 
well done
now you know chaining in flax (and as a bonus, jelly)
 
Can you give another example to practise?
 
@mathcat btw here is my output:
      +2+×C
> 3
>
¯16
 
wohoo
 
^ see its the high minus for negative numbers
@mathcat ok ill give one more and i will leave ok?
 
3:35 PM
ok, thanks
 
quiz: +2×+}×3+1-CC called dyadically with 3 and 4
all the best!
o/
 
o/
woah that's big
* installs flax *
 
 
2 hours later…
5:30 PM
@PyGamer0 can you help me
 
yeah
so the first plus calculates 3+4+2
right?
 
how?
its a 2, 0
 
which's 9
so it's (3 + 4) + 2
 
no
what does +3 give with 3 and 4?
ok ill explain properly tomorrow
 
5:35 PM
okay o/
 
o/
 

« first day (75 days earlier)      last day (646 days later) »