PSO 算法代码摘抄。
A PSO algorithm code excerpt.
Original source: Mastering MATLAB Optimization Computing, 2nd Edition, Page 270
PSO 算法代码摘抄。
A PSO algorithm code excerpt.
Original source: Mastering MATLAB Optimization Computing, 2nd Edition, Page 270
部署云端 VSCode,随时随地敲代码

Deploy a cloud VSCode and code anywhere, anytime

摸鱼时光发现了一篇折腾 VPS 的博客,上面写着用 nginx 反代 GitHub,可以用于 GitHub 的下载加速,并且说理论上可以做任何网站的镜像。于是我也简单操作了一下。
During my idle time I found a blog post about tinkering with VPS. It described using nginx to reverse-proxy GitHub to speed up downloads from GitHub, and claimed that in theory you could mirror any website. So I went ahead and gave it a simple try.
分享一个在公司看到的头文件。
Share a header file seen at the company.


面试官问程序崩溃了怎么调试?
我这里简单演示一下。
The interviewer asks: how do you debug a program crash?
Here I’ll give a quick demonstration.
1 |
|
面试官问我这样可以吗?
我犹豫了好久好久… 也不知道可以不可以。
面试官看我答不出来,然后问我知道静态绑定和动态绑定吗?(这是在提示我了)
可我还是不知道可以还是不可以。😥
The interviewer asked me: can this be done?
I hesitated for a long, long time… and still didn’t know whether it could or couldn’t.
Seeing that I couldn’t answer, the interviewer then asked whether I knew about static binding and dynamic binding. (That was a hint to me.)
But I still didn’t know whether it could or couldn’t. 😥
写一些刷题常用数据结构
Some common data structures used in problem solving