The Nineteenth Byte

The Nineteenth Byte: General discussion for codegolf.stackexc...
Wed 13:05
Possible nor exist inverse of m, in n if gcd(m,n)!=1
Wed 13:02
5x5=25 25%6=1 and 5^-1 mod 6= 5
Wed 12:57
2x4=8 2x5=10 it would be 2 4 0 2 4 there is no 1
Wed 12:53
2×1=2 2×2=4 2×3=6 what is 2^-1 mod 6? It seems not exist
Tue 11:25
event hadle for errors is not the way to go... the way is return a value from a function
Feb 5 15:46
I prefer always to write a<b /\ b<c than b>a /\ b<c
Jan 20 08:48
@UnrelatedString yes I have seen the book, have precedence deference operator & and * on aritmetc operators
Jan 20 08:44
The C definition for consider false ==0 and true !=0, is ok for golfing, instead array of bool and boleans not
Jan 19 21:30
in C int *a,*b; than *a+*b==(*a)+(*b) or *a+*b==*(a+(*b))
Jan 19 20:43
in C int *a,*b; than *a+*b==(*a)+(*b) or *a+*b==(*a+(*b))
Jan 16 12:39
Dependency of alcol can not be if one not drink alcohol for 1 or 2 week
Jan 5 10:45
Yes i comvine myself in reduce alchool
Jan 5 10:44
": (1) DNA methylation" before alcohol has to travel through membrane of cell and nuclear membrane
Jan 4 22:41
sostanza cancerogena e mutagena dico... se era vero mi sa che molti dovevamo essere gia morti
Jan 4 22:39
inabile a trovare in internet lo studio fatto su animali o persone che conferma che l'alcool è cancerogeno. lo dicono, ma dove è lo studio?
Jan 4 22:34
questo lo hanno trovato nella pioggia "Composti del Cadmio"
Jan 4 22:17
how is alcool cancerogenic? because is a dna broken substance or other?
Jan 4 22:13
mio zio diceva bevi... certo non senza cibo subito dopo
Jan 1 14:45
Happy new new year
Dec 26, 2024 12:24
Buon Natale
Dec 23, 2024 10:31
above a=b dont mens a is true or b is true
Dec 23, 2024 10:28
in pratice ↔ is as you = only there is (a=b) = a->b and b->a
Dec 23, 2024 10:21
a^(¬bVb) ↔ a
Dec 23, 2024 10:19
even use axiom ¬(¬avb) ↔ a^¬b
Dec 23, 2024 10:12
this is on your file line 50
Pf. a∨b #
= (a→b)→b

this below is the why i can write ((a→b)→b) ↔ (a∨b) from

(a→b)→b \n
(¬avb)->b \n
¬(¬avb)vb \n
(a˄¬b)Vb \n
(avb)^(¬bVb) \n
(avb)

using the axiom for me (a ^ b)V c ↔ (aVc)^(bVc) and the axiom (a→b)↔¬avb
Dec 23, 2024 10:03
i defined ↔ as "(a↔b) ↔ (a→b) ˄ (b→a)"
Dec 23, 2024 09:50
for example this x→(y→z) = x→((x→y)→z) = y→(x→z) is this for me (x→(y→z)) ↔ (x→((x→y)→z)) ↔ (y→(x→z)) where "(a↔b) ↔ (a→b) ˄ (b→a)"
Dec 23, 2024 09:38
if we can write "f->g" and "g->f", than the last 2 go in axioms set, and we can write "(f->g) and (g->f)" and "(f->g) or (g->f)" and "f<->g" that will be all "derivati dagli assiomi" and will use for build other string
Dec 23, 2024 09:33
i don't understand f=(f->g)->(g->f)->f=(f->g)->(g->f)->g=g because = for me is defined only in the sets not in the logic...
Dec 23, 2024 09:29
followed form axiom = derivati dagli assiomi, in pratica possiamo scrivere nel foglio di carta tutti gli insiemi di lettere o stringhe ricavate dagli assiomi
Dec 23, 2024 09:27
@l4m2 if we can write "f->g" and "g->f" or in equilvalent way "f->g" and "g->f" are followed from the axioms, than we can write too "(f->g) and (g->f)" and "f<->g" not "f=g"
Dec 23, 2024 08:45
possible symbols without a meaning
Dec 23, 2024 08:43
@l4m2 for me your = is <-> ; there was i time where i wrote all logic axioms and math axioms
May 20, 2024 15:17
@lyxal no
 

 The APL Orchard

apl.chat ― Learn, teach, ask, code, golf, & discuss usage. See ...
Tue 08:35
I see a problem here for ⌹. It seems a⌹b would find the solution of linear sys coefficients in b matrix with result a array so linear system bx=a. If the solution of bx=a exist and is only 1, all ok. What it would return if the system has no solution? What would return if the system has infinite solutions?
Tue 08:20
If 1 means there is room X available, 0 it is not available, ∨/ means if return 1, there is at last one free room. If return 0, there is no room available
Tue 07:59
@Adám if the array is one bolean array it would return the or of all
Mon 21:11
∨/ a b c would be a ∨ (b ∨ c)
Jan 22 12:36
I'm not one expert...i from apl like the way right to left to read the line
Jan 22 12:34
Apl as c++ is too much complex one has to reduce construct to use to few for make all simple... C or x86 assembly are not so complex
Jan 21 12:36
Is matrix upper triangular?
Jan 19 09:24
in page "https://en.wikipedia.org/w/index.php?title=APL_syntax_and_symbols&diff=prev&oldid=1270300238" for matrix identity is showed "∘.=⍨∘⍳" here NARS APL it seems ok even "∘.=⍨⍳"
Jan 16 17:58
x[⍸x=0]←y[⍸x=0]
Jan 16 13:10
Pheraps im ot...
Jan 16 12:43
For(i=0;i<n;++i)if(a[i]==0)a[i]=b[i] this as it be C
Jan 16 12:26
at last for me... if in x[i] there is 0, then x[i]=y[i]
Jan 16 12:25
@RubenVerg the best way is the more easy to think, one loop