This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// sh.mjs: javascript shorthand | |
// array helpers (apl/j/k) | |
export const id=x=>x | |
export const af=(n,x)=>Array(n).fill(x) // TODO: make this 'afl' or 'fil' (aa?) | |
export const ii=(n,f)=>{for(let i=0;i<n;i++)f(i)} | |
export const im=(n,f)=>af(n,0).map((_,i)=>f(i)) | |
export const ia=(n,f)=>im(n,id) | |
export const at=(a,ixs)=>ixs.map(i=>a[i]) | |
export const io=(xs,ys)=>ys.map([].indexOf.bind(xs)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34.95.57.145 [加拿大 魁北克省蒙特利尔 Google 云计算数据中心] | |
13.49.54.242 [瑞典 斯德哥尔摩 Amazon 数据中心] | |
18.178.194.147 [日本 东京都东京 Amazon 数据中心] | |
52.79.72.148 [韩国 首尔 Amazon 数据中心] | |
35.180.16.12 [法国 巴黎 Amazon 数据中心] | |
18.206.69.11 [美国 弗吉尼亚州阿什本 Amazon 数据中心] | |
52.76.85.65 [新加坡 Amazon 数据中心] | |
18.130.52.74 [英国 伦敦 Amazon 数据中心] | |
35.202.100.12 [美国 Merit 网络公司] | |
35.195.188.93 [比利时 瓦隆大区圣吉斯兰 Google 云计算数据中心] |