GitHub Actions部署Hexo博客

前言: 最近换了Mac,之前在Windows上写博客是基于本地配置好的一个hexo渲染引擎,迁移到Mac着实花费了不少精力(主要是学习和回顾,好久没折腾hexo了),结论是本地维护一个这样的渲染环境很麻烦也不易迁移。因而有了这篇文章从另外一个角度来实现hexo博客更快的部署和维护。     阅读全文
Junyangz's avatar
Junyangz 9月 17, 2019

Intro to Threads and Processes in Python

Process vs ThreadA process is an instance of program (e.g. Jupyter notebook, Python interpreter). Processes spawn threads (sub-processes) to handle subtasks like reading keystrokes, loading HTML pages, saving files. Threads live inside processes and share the same memory space.     阅读全文
Junyangz's avatar
Junyangz 5月 04, 2019

Ansible Playbooks for Apache Kafka in production

前言参考了confluentinc/cp-ansibleplaybook批量安装部署Apache Kafka 2.2.0. 已在Github上开源     阅读全文
Junyangz's avatar
Junyangz 4月 29, 2019

Top Shell Scripting Interview Questions & Answers

What is a shell? Shell is an interface between the user and the kernel. Even though there can be only one kernel; a system can have many shell running simultaneously. So, whenever a user enters a command through the keyboard, the shell communicates with the kernel to execute it and then display the output to the user.     阅读全文
Junyangz's avatar
Junyangz 1月 02, 2019

联合学习

联合学习:数据分散及隐私保护式分布式机器学习(翻译)原文:Federated learning: distributed machine learning with data locality and privacy ​ 联合学习可以在不直接访问训练数据的情况下构建机器学习系统。数据保留在原始位置,这有助于保护隐私并降低通信成本。 本文关注联合学习技术原理方面。     阅读全文
Junyangz's avatar
Junyangz 12月 11, 2018