« first day (830 days earlier)      last day (1827 days later) » 

9:12 AM
0
Q: Why is ⎕SIGNAL not caught by :: error guards?

Tobia {11::¯1 ⋄ 2÷0}⍬ ¯1 {11::¯1 ⋄ ⎕SIGNAL 11}⍬ DOMAIN ERROR Why is the first signal caught, while the second is not?

 
 
6 hours later…
3:15 PM
@dzaima @ngn .map(w=>w.split('\t')) doesn't seem to do anything.
 
@Adám well it should
 
@dzaima Ah, I think I figured it out. = evaluates before .
 
@Adám ? You mean as in (a=b).c vs a=(b.c)?
 
yeah
 
in that situation, js works just like apl
 
3:26 PM
@dzaima How so? In APL, . has the very highest binding strength.
 
@Adám in JS a=b.ca=(b.c), and in APL a←b.ca←(b.c)
 
@ngn @dzaima * facepalm * — I had put my regex in quotes!
 
3:44 PM
@dzaima Feel like looking at it? It does define the global table array, but for some reason, DataTables doesn't pick it up :-(
 
@Adám I'd guess it's synchronization - $.gets callback would get called after the datatable creation
fix would be moving the DataTable creation in function(w){
 
@dzaima Yay! Thank you.
 
 
2 hours later…
5:24 PM
@Adám little mismatch with variable names for X1(X2 g h)Y
 
5:55 PM
Fixed. But thanks to you , it is now very easy contribute. Just edit the table.tsv file.
 
@Adám (2-⍨/⊢)N(¯2-/⊢)N? it's 100x faster (though i'd see unknowing people use the slow one - potentially optimizable for Dyalog?)
also, -2-/N is faster than ¯2-/N?
 
6:31 PM
Thanks. Both filed as issue number 17191
 

« first day (830 days earlier)      last day (1827 days later) »