为什么 LINK 和 AMPL 是空气币
先来说说 LINK
截止现在,18年到20年,最高价20多,最多涨了100倍。Defi 和 oracle 八竿子碰巧能打到一点点,最近和大热的 Defi 走的很近,市值也一度到了第五名。
买的早那是真香,但是有两个硬伤:
截止现在,18年到20年,最高价20多,最多涨了100倍。Defi 和 oracle 八竿子碰巧能打到一点点,最近和大热的 Defi 走的很近,市值也一度到了第五名。
买的早那是真香,但是有两个硬伤:
我们现在有一个表 user_action,有如下数据:
1 2 3 4 |
|
app_id | app_version | device_id | sys_ver | event_name |
---|---|---|---|---|
21370000 | 8.15.2 | x000001 | 13.3 | btn1_touched |
21370000 | 8.15.2 | x000001 | 13.3 | btn1_touched |
21370000 | 8.15.2 | x000001 | 13.3 | btn1_touched |
21370000 | 8.15.2 | x000002 | 14.0 | btn2_touched |
21370000 | 8.15.2 | x000003 | 14.0 | btn1_touched |
21370000 | 8.15.2 | x000003 | 14.0 | btn2_touched |
app_id app_ver 表示 app 和其版本号
device_id 为设备id
sys_ver 为系统版本号
event_name 为具体的事件名
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
|
第一方 从源码编译 和你的 app 一起发布 |
第三方 预先编译好的二进制 和 app 一起或者单独发布 |
|
---|---|---|
进程内 | √ | √ |
进程外 | √ | x 原生 app 只能加载原生插件 Rosetta 转码 ap 只能加载 x86_64 插件 |
WeexSDK 增加 pods 依赖的时候提示:
diff: /Manifest.lock: No such file or directory
查看 shell script:
1
|
|
echo 发现 PODS_ROOT 为空,导致 diff 右值传递为 ‘/Manifest.lock’,所以文件找不到。
查看 Pods-WeexSDK.debug.xcconfig
中对 PODS_ROOT
有定义:
1
|
|
而且 project Info -> Configuration 下面指定了正确的 xcconfig。怀疑 PODS_ROOT 被某优先级更高的设置覆盖为空了。
全局搜索 PODS_ROOT
,发现 target -> Build Settings -> User Defined 中对 PODS_ROOT
设置了空值。删除后问题解决。
MinGW
VSCode
CLion (花钱)
Xcode
文章例子编译环境:
方言: GNU++14[-std=gnu++14]
Standard library:libc++ (LLVM C++ standard library with C++11 support)
1 2 3 4 5 6 7 8 9 10 11 |
|
1 2 3 4 5 6 |
|
1 2 |
|
1 2 3 4 5 6 7 |
|
macOS 10.15 | python 3.8.2 | torch 1.4.0 | torchvision 0.5.0
macOS binary 安装不支持 CUDA,如果需要 CUDA 请翻阅官网 install via source 安装指引。
1 2 |
|
安装成功后发现报错:
1 2 3 4 5 6 7 8 |
|
libc++.1.dylib
在 /usr/lib
下,使用 install_name_tool
解决:
1
|
|
from sklearn.datasets import fetch_openml
mnist = fetch_openml(‘mnist_784’, data_home=‘./’) # downloaded from www.openml.org print(mnist)
如果提示 SSL: CERTIFICATE_VERIFY_FAILED,需要先更新证书:
1
|
|
继承 scroll view,override _adjustContentOffsetIfNecessary 到空方法。
swizz scroll view _adjustContentOffsetIfNecessary 到其 category 的一个空方法中。
对应 UIViewController 的 automaticallyAdjustsScrollViewInsets 设置为 NO。
https://nodejs.org/en/download/
1
|
|
Gitbook 的电子书格式转换需要调用 Calibre 的命令行工具。
然后:
1
|
|
1
|
|
Over
在需要隐藏 navigation bar 的 view controller 中:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
|