金庆
码龄19年
  • 1,600,286
    被访问
  • 463
    原创
  • 4,981
    排名
  • 635
    粉丝
  • 4
    铁粉
关注
提问 私信
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:浙江省
  • 加入CSDN时间: 2003-03-05
博客简介:

金庆的专栏

查看详细资料
  • 4
    领奖
    总分 540 当月 6
个人成就
  • 博客专家认证
  • 获得103次点赞
  • 内容获得468次评论
  • 获得180次收藏
创作历程
  • 8篇
    2022年
  • 29篇
    2021年
  • 19篇
    2020年
  • 6篇
    2019年
  • 29篇
    2018年
  • 30篇
    2017年
  • 32篇
    2016年
  • 28篇
    2015年
  • 26篇
    2014年
  • 21篇
    2013年
  • 19篇
    2012年
  • 18篇
    2011年
  • 33篇
    2010年
  • 33篇
    2009年
  • 51篇
    2008年
  • 74篇
    2007年
  • 87篇
    2006年
成就勋章
TA的专栏
  • C/C++
    212篇
  • 网游开发
    106篇
  • Linux/Unix
    38篇
  • 软工与管理
    61篇
  • Golang
    24篇
  • Python
    49篇
  • Erlang
    19篇
  • Rust
    17篇
  • 其它
    111篇
  • 最近
  • 文章
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

Rust sometimes needs manual type annotation

Rust sometimes needs manual type annotation(Jin Qing’s Column, Apr., 2022)This code compiles error:trait MyCallback: FnMut(&u32) -> () { }impl<F: FnMut(&u32) -> ()> MyCallback for F { }fn process_data(mut f: impl MyCallback) ->
原创
发布博客 2022.04.29 ·
95 阅读 ·
1 点赞 ·
0 评论

Fix recastnavigation contour error

Fix recastnavigation contour error(Jin Qing’s Column, Apr., 2022)Using navmesh generated by recastnavigation,we found the agent will collide into the wallwhen it is walking along the navmesh path.After some inspection, we found the reason is that at t
原创
发布博客 2022.04.28 ·
216 阅读 ·
1 点赞 ·
0 评论

TortoiseGit is OK but GitExtensions fails

TortoiseGit is OK but GitExtensions failsGitExtensions and Git fail:"git" pull --progress "origin"git@github.com: Permission denied (publickey).fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the r
原创
发布博客 2022.04.24 ·
883 阅读 ·
0 点赞 ·
0 评论

How to work around rustup-init failure

How to work around rustup-init failure(Jin Qing’s Column, Mar., 2022)rustup-init.exe may fail if some anti-virus software is running with realtime protection.The error message is like this after many retries:error: could not rename component file from
原创
发布博客 2022.03.23 ·
209 阅读 ·
0 点赞 ·
0 评论

Closure as the function parameter

Closure as the function parameter(Jin Qing’s Column, Mar., 2022)It is best to let the function take a closure trait as the parameter instead of function pointer.fn foo(f: fn()) { f()}fn main() { foo(|| println!("hello")); let a = 123;
原创
发布博客 2022.03.18 ·
332 阅读 ·
0 点赞 ·
0 评论

deadlock detection must not run as tokio task

deadlock detection must not run as tokio taskparking_lot has an experimental feature: deadlock_detection.See: https://amanieu.github.io/parking_lot/parking_lot/deadlock/index.htmluse std::thread;use std::time::Duration;use parking_lot::deadlock;// C
原创
发布博客 2022.02.12 ·
266 阅读 ·
1 点赞 ·
0 评论

Tracing usage

Tracing usage(Jin Qing’s Column, Jan., 2022)Tracing is Rust log crate: https://github.com/tokio-rs/tracingThis example code output log to stdcout and file, using a log filter file,which can automatically reload on change.https://gitee.com/jinq0123/tra
原创
发布博客 2022.01.02 ·
310 阅读 ·
1 点赞 ·
0 评论

Try tracing

Try tracing(Jin Qing’s Column, Dec., 2021)https://github.com/tokio-rs/tracingUsage on githubSwitch to tag tracing-0.1.29 first. The master’s examples can not build.Subscriber is renaming to collector on master.tracing::subscriber in 0.1.29 has been r
原创
发布博客 2022.01.01 ·
281 阅读 ·
1 点赞 ·
0 评论

Box<dyn Trait> doesn‘t implement the trait

Box doesn’t implement the traitFrom: https://bennetthardwick.com/dont-use-boxed-trait-objects-for-struct-internals/By default a Box doesn’t implement the trait of the object it contains. This means that trying to construct PeopleZoo<Box> won’t work
转载
发布博客 2021.12.21 ·
115 阅读 ·
1 点赞 ·
0 评论

minikube DNS fails after SRV query

minikube DNS fails after SRV query(Jin Qing’s Column, Dec., 2021)My program is using K8s DNS SRV query to discovery service,and when it’s deployed on minikube, I find DNS failure.I can use nslookup to reproduce the failure.Querying a FQDN is OK. But a
原创
发布博客 2021.12.10 ·
82 阅读 ·
1 点赞 ·
2 评论

DeathVoteExpirationTimeout in Orleans

DeathVoteExpirationTimeout in Orleans(Jin Qing’s Column, Dec., 2021)Try to find out why Orleans need a DeathVoteExpirationTimeout config.https://dotnet.github.io/orleans/docs/implementation/cluster_management.html#extension-to-totally-order-membership-v
原创
发布博客 2021.12.08 ·
72 阅读 ·
1 点赞 ·
0 评论

How to delete local branches of GitExtension

How to delete local branches of GitExtension(Jin Qing’s Column, Dec., 2021)GitExtension is a good tool. After a long time of usage, my branch list finally reaches over a full screen, and it is hard to select the branch I want.GitExtension always remembe
原创
发布博客 2021.12.07 ·
182 阅读 ·
1 点赞 ·
1 评论

建议日志 slog 改换 tracing

建议日志 slog 改换 tracing(金庆的专栏 2021.11)slog 不是立即写盘,最后的几行日志会丢失tracing 不会丢日志slog 不支持运行中动态更改日志等级tracing with_filter_reloading()examples/tower-loadslog 不支持不同包设置不同日志等级tracing 可单独打开某个模块的日志发现一次 slog panic: panicked at 'slog::Fuse Drain: Fatal(Cu
原创
发布博客 2021.11.24 ·
208 阅读 ·
1 点赞 ·
0 评论

Named parameters in Rust

Named parameters in Rust(Jin Qing’s Column, Nov. 18, 2021)There is no “named function parameters” in Rust,but there is an idiom for this case.If a function needs many parameters, we can define a typewith all these parameters as fields, and implement D
原创
发布博客 2021.11.18 ·
161 阅读 ·
1 点赞 ·
0 评论

Rust traits act as generic constraints

Rust traits act as generic constraints(Jin Qing’s Column, Nov. 18, 2021)Rust traits are different from interfaces of C++/Java/Go.See: https://stevedonovan.github.io/rustifications/2018/09/08/common-rust-traits.htmlRust traits are mechanism for adding b
原创
发布博客 2021.11.18 ·
408 阅读 ·
0 点赞 ·
0 评论

GLIBC_2.29 not found

GLIBC_2.29 not found(Jin Qing’s Column, Nov. 4, 2021)My Rust program failed when running in docker:root@a26b49c91efb:/myapp# ldd libmyapp_py.so./libmyapp_py.so: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by ./libmyapp_py.
原创
发布博客 2021.11.05 ·
2688 阅读 ·
1 点赞 ·
0 评论

Clustering provider in Orleans

Clustering provider in Orleans(Jin Qing’s Column, Nov. 3, 2021)When deployed to a cluster of nodes,Orleans internally implements a protocol to manage it’s silos,including discovery, failure and reconfigure,which is called cluster membership management
原创
发布博客 2021.11.03 ·
840 阅读 ·
0 点赞 ·
0 评论

Why Orleans‘ actor is virutal

Why Orleans’ actor is virutal(Jin Qing’s Column, Nov. 2, 2021)Virtual Actor is a concept invented by Microsoft Orleans, which is a framework of distributed actor.Orleans: Distributed Virtual Actors for Programmability and Scalability describes the virtu
原创
发布博客 2021.11.02 ·
62 阅读 ·
1 点赞 ·
0 评论

What comes after microservice?

What comes after microservice?(Jin Qing’s Column, Oct. 25, 2021)Reading “The Evolution of Distributed Systems on Kubernetes” from Bilgin Ibryam.https://www.infoq.com/articles/distributed-systems-kubernetes/What are the purpose of projects like Dapr, Is
原创
发布博客 2021.10.29 ·
66 阅读 ·
0 点赞 ·
0 评论

Display Non-UTF-8 output

Display Non-UTF-8 output(Jin Qing’s Column, Oct. 27, 2021)Cargo build output Non-UTF-8. Use python to decode it as gbk and print.C:\Users\jinqing01>python>>> s = b'Non-UTF-8 output: \xd5\xfd\xd4\xda\xb4\xb4\xbd\xa8\xbf\xe2 E:\\gitlab\\myp
原创
发布博客 2021.10.27 ·
185 阅读 ·
0 点赞 ·
0 评论
加载更多