Zihao Zhang Blog GitHub LinkedIn Resume About
Zihao Zhang ⬆Home Blog Archive Tags About Subscribe

Zihao Zhang

Hacking with Bleeding Edge Technology

  • Sep 7, 19
    Managing Dotfiles with GNU Stow

    GNU Stow is an amazing application that streamlines the management of unix config files aka dotfiles. Last week, I converted my original rsync based dotfiles script to GNU Stow and could not be happier with the results.

    Read more →
  • May 27, 19
    The Possibility of a Randomly Generated Program

    I got bored today and started thinking about the possibility of randomly generating a valid computer program.

    Read more →
  • Mar 1, 19
    Exploring the GPT-2 Language Model

    OpenAI recently released the GPT-2 language model with incredible performance. It can generate very good quality sentences by predicting the most likely word given all previous words.

    Read more →
  • Jan 17, 19
    Calculating ETag for Objects in AWS S3

    AWS Simple Storage Service (S3) provides one of the most friendly and performent object storage. The ETag metadata returned by S3 can be used to verify the integrity and save bandwith by skipping same files. Here is a simple write up on how the undisclosed etag checksum algorithms work.

    Read more →
  • Jan 6, 19
    The Perfect Blog Setup with Hugo, Webpack 4 and Babel 7 in 2019

    Why live in the past when you can live on the EDGE! This is a complete guide to the perfect blog setup using Hugo, Webpack and Babel. As of January 2019, the latest versions are Hugo v0.53, Babel v7.2.5 and Webpack v4.28.3

    Read more →
  • Mar 26, 18
    Hosting a Static Website with Kubernetes and Google Cloud Storage

    As of March 2018, I finally finished upgrading my personal homepage to a modern and scalable cloud infrastructure. This website is hosted on the extremely reliable Google Cloud Storage proxied through my Kubernetes cluster.

    Read more →
  • Aug 3, 17
    Solving CartPole with Deep Q Network

    CartPole is the classic game where you try to balance a pole by moving it horizontally. We will try to solve this with a reinforcement learning method called Deep Q Network.

    Read more →
  • Jun 17, 17
    Fix Dirty ExFAT Partition on macOS

    macOS has a very dumb ExFAT driver, it often mark ExFAT formatted hard drive dirty and takes forever to clean them. So I dug into the internal of ExFAT format and fix this once for all.

    Read more →
  • Apr 23, 17
    Custom Nginx Ingress Controller on Google Container Engine

    Google Container Engine offers a great managed kubernetes cluster. But it comes with one catch, Load Balancing and Ingress Controller are rather expensive. Here is how you can use nginx as an alternative to google’s load balancer.

    Read more →
Older Posts →

Copyright © 2019 Zihao Zhang CC BY-NC-SA 4.0

Frontend Powered by Hugo, Three.js, React, Cactus Plus
Backend Powered by Kubernetes, Docker, NodeJS
Server Powered by GCP, Linode, DigitalOcean