This article mainly introduces the statics library and shared library on Linux and has done some experiments for better comprehension.

Read More

The high-end(expensive) MacBooks/iMacs is not friendly on their prices for those economical young people (unless the employee’s company give him an MBP), but macOS deserves a trial by installing it in a VM.

Read More

Go语言在将int64进行JSON解析时,会出现几百或几千的小的偏移。解决方法时将int64转化成string表示。
比如,将

1
controller.Data["json"] = map[string]int64{"MomentId": MomentId}

改为

1
controller.Data["json"] = map[string]string{"MomentId": strconv.FormatInt(MomentId, 10)}

DNS是有缓冲区的,
利用三级域名字符串模糊匹配。

new和malloc都是分配地址,不同的是new分配在堆中能改变缓冲区大小,malloc不能改变缓冲区,分配在栈中。

Read More

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×