CatchZeng Follow
I am a boy who likes 💻 deep learning, 📱 mobile and 💻 server development. I like to build some 🔨 tools to improve development efficiency.

Posts by CatchZeng
AI - Installing TensorFlow GPU on Ubuntu with apt
Installing TensorFlow 2.4.1 GPU on Ubuntu 18.04.5 with apt.
featured, AI, Deep Learning, TensorFlow, Jupyter, Vscode, GPU, Ubuntu, en, Apr 05, 2021AI - Ubuntu 机器学习环境 (TensorFlow GPU, JupyterLab, VSCode)
在 Ubuntu 18.04.5 上使用 apt 安装 TensorFlow 2.4.1 GPU
AI, Deep Learning, TensorFlow, Jupyter, Vscode, GPU, Ubuntu, Apr 05, 2021Service Mesh - Build Kubernetes & Istio environment with kubeadm and MetalLB
Build Kubernetes and Istio environment with kubeadm and MetalLB.
featured, Service Mesh, Istio, Kubernetes, kubeadm, MetalLB, en, Apr 01, 2021Service Mesh - 使用 kubeadm 和 MetalLB 搭建 Kubernetes & Istio 环境
使用 kubeadm 和 MetalLB 搭建本地 3 节点 Kubernetes,并在其上面安装 Istio
Service Mesh, Istio, Kubernetes, kubeadm, MetalLB, en, Apr 01, 2021AI - Deep Learning (TensorFlow, JupyterLab, VSCode) on Mac
This article shows how to install the deep learning environment on an ordinary Mac.
AI, Deep Learning, TensorFlow, Jupyter, Vscode, en, Mar 30, 2021AI - Mac 机器学习环境 (TensorFlow, JupyterLab, VSCode)
使用 TensorFlow, JupyterLab, VSCode 在 Mac 上搭建机器学习环境。
AI, Deep Learning, TensorFlow, Jupyter, Vscode, Mar 23, 2021AI - Deep Learning (TensorFlow, JupyterLab, VSCode) on Apple Silicon M1 Mac
From https://catchzeng.medium.com/deep-learning-tensorflow-jupyterlab-vscode-on-apple-silicon-m1-based-mac-c48881c49c22
featured, AI, Deep Learning, M1 Mac, TensorFlow, Jupyter, Vscode, en, Mar 17, 2021AI - Mac M1 机器学习环境 (TensorFlow, JupyterLab, VSCode)
原文 https://catchzeng.medium.com/deep-learning-tensorflow-jupyterlab-vscode-on-apple-silicon-m1-based-mac-c48881c49c22
AI, Deep Learning, M1 Mac, TensorFlow, Jupyter, Vscode, Mar 17, 2021AI - A simple way to collect your deep learning image dataset
Deep Learning has become the go-to method for solving many challenging problems.
featured, AI, Deep Learning, Bing, en, Mar 09, 2021AI - 一个简单的收集深度学习图像数据集的方法
深度学习已成为解决许多挑战性问题的首选方法。众所周知,经过足够的培训,深层网络可以分割并识别图像中的“关键点”。
AI, Deep Learning, Bing, Mar 09, 2021工具 - macOS Big Sur Navicat Premium 34018无法保存密码
系统升级到最新 macOS Big Sur 后,使用 Navicat Premium 15.20+ 版本建立新的数据库连接,出现无法保存数据库密码,提示 Failed to save password Error code -34018 错误
Navicat, macOS, Feb 21, 2021Tool - macOS Big Sur Navicat Premium Failed to save password 34018
After the system is upgraded to the latest macOS Big Sur, when you establish a new database connection with Navicat Premium 15.20+, the database password cannot be saved, prompting Fa...
featured, Navicat, macOS, en, Feb 21, 2021Python - 如何打包并发布 Python 库到 PyPI
本教程以 py_pkg 项目为例,讲解如何将一个 Python 项目打包成库并分发到 PyPI,方便他人使用 pip install 安装使用。
Python, PyPI, pip, Feb 19, 2021golang 编程规范 - Effective Go 中文
Go 是一门全新的语言。尽管它从现有的语言中借鉴了许多思想,但其与众不同的特性,使得用 Go 编程在本质上就不同于其它语言。
featured, golang, go, Effective Go, Jan 26, 2021微服务监控 - 高可用 EFK 日志收集
在 EFK 日志收集篇中,我们讲解了如何利用 EFK 收集 Kubernetes 集群日志。但是,还存在如下问题。
微服务监控, kubernetes, k8s, Istio, EFK, Elasticsearch, Fluentd, Kibana, ECK, Operator, Dec 21, 2020Istio 常见问题 - no matches for kind MonitoringDashboard in version monitoring.kiali.io/v1alpha1
参考 Istio 文档安装 Kiali,命令如下
Service Mesh, Istio, Istio 常见问题, Dec 01, 2020Service Mesh - Istio 1.8 稳健前进
Istio 1.8 应着 2020 年路线图如约而至,这是 Istio 在 2020 年发布的第四个也是最后一个版本。
Service Mesh, Istio, 微服务, Nov 30, 2020SwiftUI - 如何创建一个强大的 Marquee(跑马灯)?
许多 App 需要用到 Marquee(跑马灯)。在 UIKit 中我们可以使用 https://github.com/cbpowell/MarqueeLabel,但是目前还没有成熟的 SwiftUI 库。
SwiftUITips, SwiftUI, Swift, iOS, view tree, Mirror, Nov 25, 2020微服务监控 - Jaeger 简介
上一篇我们讲解了分布式追踪的概念和作用以及 OpenTracing。本篇主要介绍 CNCF 的分布式追踪方案 Jaeger。
微服务监控, 分布式追踪, OpenTracing, Jaeger, ZipKin, Distributed Tracing, Nov 17, 2020微服务监控 - 分布式追踪(Distributed Tracing)
正如互联网架构演进所讲的,微服务给我们带来许多好处,但同时也带来许多问题,微服务的监控便是其中之一。
微服务监控, 分布式追踪, OpenTracing, Jaeger, ZipKin, Distributed Tracing, Nov 15, 2020SwiftUI - 获取子视图信息(大小、标题等)
使用 SwiftUI 布局界面,经常会遇到需要子视图信息来确定最终形态的情况。
SwiftUITips, SwiftUI, onPreferenceChange, PreferenceKey, iOS, MacOS, Apple, Nov 11, 2020SwiftUI - 分析视图树的实际类型
与 UIKit 命令式创建视图的方式不同,SwiftUI 采用声明式的方式来描述应该在屏幕上显示的内容。
SwiftUITips, SwiftUI, Swift, iOS, view tree, Mirror, Nov 11, 2020在 Golang 上使用整洁架构(Clean Architecture)- 3
bxcodec 在写完上一篇文章 后,收到了 pull request。由此,作者尝试做了一些改进,在最新的 master 分支中引入了 domain package。
golang, go, Clean Architecture, Oct 28, 2020在 Golang 上使用整洁架构(Clean Architecture)- 2
在写完在 Golang 上使用整洁架构(Clean Architecture) 后,我从其他人和 gophers 学习到很多东西。
golang, go, Clean Architecture, Oct 23, 2020在 Golang 上使用整洁架构(Clean Architecture)
阅读完 Uncle Bob 的整洁架构(Clean Architecture)后,我尝试在 Golang 中实现它。
featured, golang, go, Clean Architecture, Oct 23, 2020微服务监控 - Grafana 使用教程
前面几篇文章我们使用 Prometheus 采集了各种各样的监控数据指标,并使用 promQL 语句查询出了一些数据
Service Mesh, Kubernetes, Istio, 微服务监控, Prometheus, Grafana, Sep 16, 2020微服务监控 - 监控自己的服务
上一篇 讲解了使用 Exporter 监控 Kubernetes 集群应用。本篇主要向大家介绍如何监控自己的服务。
Service Mesh, Kubernetes, Istio, 微服务监控, Prometheus, client_golang, Sep 15, 2020微服务监控 - 使用 Exporter 监控 Kubernetes 集群应用
上一篇 讲解了如何利用 Prometheus 监控 Kubernetes 集群。本篇主要借助上一篇对 node_exporter 的理解,向大家介绍 使用 Exporter 监控 Kubernetes 集群应用。
Service Mesh, Kubernetes, Istio, 微服务监控, Prometheus, exporter, Sep 14, 2020微服务监控 - 监控 Kubernetes 集群
上一篇 讲解了最为流行的微服务监控工具 Prometheus,并且使用开发环境演示了 Prometheus 自身的监控。
Service Mesh, Kubernetes, Istio, 微服务监控, Prometheus, Grafana, Kiali, node_exporter, kube-state-metrics, metrics-server, Sep 13, 2020微服务监控 - Prometheus
正如互联网架构演进所讲的,微服务给我们带来许多好处,但同时也带来许多问题,微服务的监控便是其中之一。
Service Mesh, Kubernetes, Istio, 微服务监控, Prometheus, Grafana, Kiali, Sep 10, 2020Service Mesh - Istio 1.7 任性的小子
盼着盼着 Istio 1.7 终于如约而至,Istio 团队完美兑现了发布路线图的诺言。在官方的 Announcing 中是这么描述的:
Service Mesh, Istio, 微服务, Aug 25, 2020golang 编程规范 - Code Review 规范
Code Review 即代码审查,对于项目而言,其目的在于找到开发时被忽视的 Bug,以此极大地提高代码质量也可以帮助开发者们更加熟悉项目。
golang, go, Code Review, 代码审查, Jul 17, 2020golang 编程规范 - 项目目录结构
项目的目录结构通常也是门面,内行人通过目录结构基本就能看出开发者是否有经验。
featured, golang, go, project-layout, 目录结构, Jul 16, 2020微服务监控 - EFK 日志收集
日志收集是微服务可观测性中不可或缺的一部分。日志对于调试问题和监视集群状况非常有用。
微服务监控, kubernetes, k8s, Istio, EFK, Elasticsearch, Fluentd, Kibana, Jul 06, 2020工具 - 打造 Mac “完美”终端(Terminal),一篇就够了
作为一个程序员,经常需要跟终端(Terminal)打交道。配置一个漂亮、好用的终端,不但心情愉悦,效率也能提升不少。
featured, iTerm2, zsh, oh my zsh, powerlevel10k, Jul 05, 2020Service Mesh - Istio 1.6 简化以提升用户体验
Istio 今年的更新频率可谓非常稳健。在 3 月 5 号发布 1.5 这个重大更新版本后,又陆续发布了 4 个 1.5.x 版本,在 5 月 21 号又迎来了 1.6 版本。
Service Mesh, Istio, 微服务, Jun 02, 2020Istio 常见问题 - 如何为公开多个端口的服务配置 VirtualService?
有一个暴露多个端口的容器,Kubernetes Service 的配置如下所示:
Service Mesh, Istio, Istio 常见问题, May 30, 2020Service Mesh - VSCode Istio 代码片段插件
每次编写 Istio CRD yaml 时,总是记不住或者容易犯错。因此,写了一个 Visual Studio Code Istio 代码片段插件,帮助快速写出 Istio CRD。
Service Mesh, Istio, Visual Studio Code, Code snippets, May 24, 2020Istio 常见问题 - Istio 自定义 Ingress(入口)网关
Istio 默认只创建了一个位于 istio-system 命名空间下的 LoadBalancer 类型入口网关 istio-ingressgateway。
featured, Service Mesh, Istio, Istio 常见问题, May 18, 2020Istio 常见问题 - Istio 支持 HTTP/1.0
Istio 默认只支持 HTTP/1.1 以上协议版本,并不支持 HTTP/1.0。
Service Mesh, Istio, Istio 常见问题, May 11, 2020Istio 常见问题 - configmap istio-ca-root-cert not found
Istio 升级到 1.5.0 之后,新建命名空间,并开启 Istio sidecar 注入后,部署服务,会出现如下报错
featured, Service Mesh, Istio, Istio 常见问题, May 11, 2020Istio 常见问题 - 集群内无法访问外部服务
由于默认情况下,来自 Istio-enable Pod 的所有出站流量都会重定向到其 Sidecar 代理
Service Mesh, Istio, Istio 常见问题, Apr 05, 2020Service Mesh - Istio 入口流量路由
上一篇 介绍了 Kubernetes & Istio 开发环境搭建方法,并解释了如何部署应用程序(Bookinfo)和访问服务。
Service Mesh, Istio, Kubernetes, 微服务, Mar 21, 2020Service Mesh - Kubernetes & Istio 开发环境搭建
上一篇 介绍了 Istio 1.5 的新特性,这对于 Istio 老用户们确实是个好消息。
Service Mesh, Istio, Kubernetes, 微服务, Mar 10, 2020Service Mesh - Istio 1.5 拥抱单体,简化架构
上一篇 向大家介绍了 Service Mesh 的代表 Istio。并且介绍了 Istio 的架构,在文中我注解了1.5 版本去掉了 Mixer 组件。
Service Mesh, Istio, 微服务, Mar 08, 2020Service Mesh - Istio
上一篇 通过介绍互联网架构的演进过程,让大家对 Service Mesh 有了初步的认识。但大家可能都会有以下几个疑问:
Service Mesh, Istio, 微服务, Mar 06, 2020Service Mesh - 互联网架构演进
本文是 Service Mesh 系列文章的第一篇,旨在通过介绍互联网架构的演进过程,帮助大家理解微服务(Microservices)以及服务网格(Service Mesh)的概念和出现的原因。
Service Mesh, Istio, 微服务, 架构, Mar 05, 2020Service Mesh(Istio)专栏
实践 Service Mesh(Istio)也有一年多了,感受了它的强大,也遇到了许多问题。所以,想写个专栏帮助新手快速入门;
Service Mesh, Istio, 微服务, 架构, Mar 04, 2020