1 | //修不完的bug |
MFC-User-Objects
本文字数: 2.6k 阅读时长 ≈ 2 分钟
一、用户对象、句柄
User interface objects support only one handle per object. Processes cannot inherit or duplicate handles to user objects. Processes in one session cannot reference a user handle in another session.
There is a theoretical limit of 65,536 user handles per session. However, the maximum number of user handles that can be opened per session is usually lower, since it is affected by available memory. There is also a default per-process limit of user handles. To change this limit, set the following registry value:
1 | HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\USERProcessHandleQuota |
test_gitalk
本文字数: 0 阅读时长 ≈ 1 分钟
go-generitics sort
本文字数: 104 阅读时长 ≈ 1 分钟
翻译,go-generitics实现更快的排序
references
https://eli.thegreenplace.net/2022/faster-sorting-with-go-generics/#id4
wsl2 ulimit
本文字数: 408 阅读时长 ≈ 1 分钟
references
- github issue:https://github.com/microsoft/WSL/issues/1688#issuecomment-532767317
- ulimit 设置
wsl 2 ,ulimit -n 65535 设置报错=>
ulimit: Permission denied when changing resource of type ‘Maximum number of open file descriptors’
修改 /etc/security/limits.conf 的配置,再su username切换到当前用户就会生效
1 | #soft for enforcing the soft limits |
optimization
本文字数: 1.4k 阅读时长 ≈ 1 分钟
Momentum:
Momentum takes past gradients into account to smooth out the steps of gradient descent. It can be applied with batch gradient descent, mini-batch gradient descent or stochastic gradient descent.
You have to tune a momentum hyperparameter β and a learning rate α.
practice-in-tensorflow
本文字数: 350 阅读时长 ≈ 1 分钟
non-stationary:非平稳过程
univariate time series
multivariate time series
tensorflow
本文字数: 0 阅读时长 ≈ 1 分钟
cuDNN failed to initialize
问题
1
2
3Failed to get convolution algorithm. This is probably because cuDNN
failed to initialize, so try looking to see if a warning log message was
printed above.描述
supervised-learning
本文字数: 361 阅读时长 ≈ 1 分钟
supervised learning
由一组参考的输入输出x、y, mapping得到相应的关系y=f(x)
structure data
data indatabase例如年龄、房价预测中的zip code、bedrooms、wealth等