Zhennan LI

Results 62 comments of Zhennan LI

Hi, I just met the same problem. I am using `github.com/segmentio/fasthash v1.0.3` and it would take several tries to produce this error when race detector is on: ``` fatal error:...

Please consider replacing your Chinese example with other dummy words, like 滚滚长江东逝水. Unfortunately, your current example in use may be deemed to be rude or vulgar.

I met this problem too. I made a gzip middleware for gin and net/http, with support for setting minimum body size to gzip: https://github.com/nanmu42/gzip Maybe you can have a try.

先同步下前段时间的进度。 # 数据库 * [学会和PostgreSQL的时间数据类型愉快玩耍](https://nanmu.me/zh-cn/posts/2020/postgresql-date-and-time-data-types-explained/) # k8s相关 * [如何使用kubeadm在国内网络环境搭建单主k8s集群](https://nanmu.me/zh-cn/posts/2019/k8s-by-kubeadm/) * [如何使用Elasticseach、Kibana和Fluent Bit收集k8s集群中的日志](https://nanmu.me/zh-cn/posts/2020/k8s-eck-logging/) # 前端 * [如何让使用Service Worker的PWA网页乖乖更新?](https://nanmu.me/zh-cn/posts/2020/why-my-content-served-by-pwa-service-worker-not-updating/)

新文章:[Hugo i18n Automatic Language Redirection](https://nanmu.me/en/posts/2020/hugo-i18n-automatic-language-redirection/) 考虑到文章本身就是说i18n国际化的,这篇只写了英文版本的。 摘要:Hugo has really neat support for i18n. Unfortunately, it does not provide a straitforward way to redirect your visitors automatically according to their web...

# 规避微信內建浏览器中 HTML标签的诡异行为 https://nanmu.me/zh-cn/posts/2020/strange-html-video-tag-behavior-in-wechat/ # 摘要 播放视频时,标签在微信內建浏览器中会默认全屏,脱离文档流悬浮在所有页面元素上方,这往往不是你想要的效果。 作为问题修复的起点,你可以为你的标签添加下列属性: ```html ``` 微信內建浏览器用的是哪家的技术?为什么需要加上这些奇怪的属性?

# 新文章:[MongoDB磁盘空间瘦身指南](https://nanmu.me/zh-cn/posts/2020/a-practical-guide-to-reclaim-disk-space-from-mongo-db/) 这篇文章献给正为MongoDB磁盘占用率偏高而忧心忡忡的运维。 阅读地址:https://nanmu.me/zh-cn/posts/2020/a-practical-guide-to-reclaim-disk-space-from-mongo-db/

# [OpenCV+PID] 把机器人小车训练成一名守门员,总共分几步? 最近做了一点算是机器视觉、PID 、STEM 方面的兴趣活动,和各位分享,希望能寻到更多 DIY 爱好者。 :) # 文章链接 https://nanmu.me/zh-cn/posts/2020/build-a-goalkeeper-robomaster/ 公众号:nanmu42 # 视频链接 https://www.bilibili.com/video/BV1fa4y1e7xJ/ # 摘要 编程控制机器人小车是一件富有乐趣的事情,在这篇文章里,我们会探讨如何让一台机器人小车胜任守门员的工作:发现球、向球移动、将球踢开、返回出发点等待下一个球、保持自己在场地内……并且会讨论这些子任务之上的系统状态和状态转换,以及这些子任务之下的原理和方法。

各位假期过得如何? 这次的文章主要是和业余无线电相关的。 # [如何入门和参与业余无线电?](https://nanmu.me/zh-cn/posts/2020/getting-start-with-amateur-radio-in-china/) ## 文章链接 https://nanmu.me/zh-cn/posts/2020/getting-start-with-amateur-radio-in-china/ ## 摘要 什么是业余无线电?业余无线电好玩吗?如何考证?怎么购机?如何申请设台?如果你正对业余无线电表示兴趣,但是对它还不甚了解,不确定它是不是一个适合你的兴趣活动,或者你正在踌躇如何参与业余无线电,那么这篇文章也许能够帮到你。 # [八重洲 Yaesu FT-70DR业余无线电手台快速入门指南](https://nanmu.me/zh-cn/posts/2020/yaesu-ft-70dr-crash-course/) ## 文章链接 https://nanmu.me/zh-cn/posts/2020/yaesu-ft-70dr-crash-course/ ## 摘要 新用户很容易在官方提供的大而全的手册中迷失方向,希望这篇将以常见任务为导向的文章能助你快速上手。