Feng Xia

  2017-05-18

父亲一家

爷爷,奶奶,幸福邨,夏炽宇(九弟)

父亲叫爷爷“大大”,奶奶“亲妈”

上海人。老家在青浦朱家角。爷爷是地主,后来战乱到了上海,在上海华山路幸 福邨租了房子,地点离上海交大本部2站路。我父亲最小,上面都三个哥哥一个 姐姐,我分别介绍。他们叫他九弟,中间的几个夭折了。他长大的时候家里经济 应该很拮据,主要靠大哥的收入维持,所以他从那时候就养成了节俭的习惯,后 来经历建国来的那些年代,加上后来分配到了东北,那里虽然当时是中国的工业 基地,但生活条件与南方差距甚远,所以更是对自己的生活变得很苛刻。

幸福邨

父亲还记得自己以前的事情。他说起幸福邨的日子,说起住在那里的人,很多时 候还以为家还在那里。幸福邨是联排屋,我大学的时候家还在那里,整整的一栋 都是,三层,一大家子人都在,以前爷爷奶奶住在顶层,不大下来,我没有见过 奶奶,那天说起亲妈 ...

  2017-05-13

What a day

I was sitting in this underground little food court, breathing the muggy air, eating a spicy food, watching people coming in and out, full of life, full of noise, full of hope. Yet, I kept wondering that everybody here has one type of headache or another in their lives, just ...

  2017-05-05

Nursing home evaluation

Due to Dad's deterioating condition, nursing home becomes a necessary option that we must consider as a way to handle this situation. The following are notes most based on recollection and first impression so that they are likely biased and are certainly opinionated.

Sites visited:

  1. 北京金手杖: recommended by my ...

  2017-04-30

My la la land

Maybe it's the travel, maybe it's the stress of my dad's worsening health condition, maybe I'm tired from all these and trying the impossible without knowing the loss is done already. But I know why I'm sad. The life went the way I hoped but ...

  2017-04-30

Bye Bye GFW

The GFW is nothing but an anti-humanity instance that blocks knowledge transfer and information sharing in the 21st century when brain is the competition advantage and this gov decides to sacrifice all the future with a vain hope that creativity can continue to flourish while its citizens are excluded from ...

  2017-04-24

Charm Reactive

Charm's reactive framework is the core of charm design and

  2017-04-24

Charm chained states

This charm is created to demonstrate chained states using Juju charm. Chained states is essentially mirroring a pattern of any sequential execution in a workflow. Potentially each execution block can also have conditions to set the next state, even though this type of knowledge should be exposed outside function element ...

  2017-04-24

You got mail

After becoming an Emacs user for the last few months, I acquired a burning desire to migrate as much as my daily text editing activities into Emacs environment, in particular, emails.

Having tried offlineimap for a bit, I ended up battling its ...

  2017-03-30

MAAS vs. Ironic

This article is to analyze Openstack Ironic and Canonical MAAS, both are tools to turn baremetal into a pool of managed resources that are ready for consumption by upstream srervice. On the highest level, a baremetal is either managed or not-managed. Being managed requires that the manager is aware of ...

  2017-03-22

Baremetal provisioning

Everyone of us has installed an operating system to a computer at some point in life. It is easy to perceive inserting a disk or USB key to make this happen because the OS files are there. A fancier version is to boot from network using PXE boot option, which ...

  2017-03-15

Openstack Ironic

This article is an outcome of my writing a Juju-Ironic provider. The plan was to first figure out Ironic APIs that will achieve what Juju provider needs — start an instance on demand, then build those REST requests into Juju provider code. After playing with Ironic API and Openstack's Devstack ...

  2017-02-28

Introduction of Juju charms

Juju charms are, charming. It promises a selection of blueprints that hold magic to make an application deployment easy. But devils are in the details, as always the case. In this article we will walk in the charm world to learn its design.

Bundle, charm, service, application

Juju terms can ...

  2017-02-08

Juju deploy and Provider

In this article, we have demonstrated how Juju deploys a charm, including what makes a node eligible as a target and what files will be put on by the deployer.If you recall, there were four steps in a deploy process:

  1. Add a new machine to the cloud environment. In ...

  2017-01-21

Emacs

What a wonderful editor!

I wouldn't even call it an editor because it can do so much beyond text editing. Still on the learning curve to get a grasp of what it can do in my daily development workflow. Here is to document the init.el that I'm ...

  2017-01-21

Spectrwm

My favourate desktop manage which tiles windows neatly so I never worry about cluttered view while opening and closing windows.

Here is the config file I'm using.

# PLEASE READ THE MAN PAGE BEFORE EDITING THIS FILE!
# http://opensource.conformal.com/cgi-bin/man-cgi?spectrwm

# colors for focussed and unfocussed window ...

  2017-01-19

Juju charm deployment

We have covered Juju's bootstrap phase. In this article, we will continue our research into another important function — juju deploy.

Deploy will command a node to pull down requested charm and install whatever needed based the charm's instruction. As the bootstrap research, I'm interested in the internal ...

  2017-01-11

Juju bootstrap process

The very first command user will encounter is the juju bootstrap. It createa a special machine — state controller, machine-0, control node, etc. — naming convention aside, it is the brain that tracks others nodes in the cloud, applications installed and their status.

Screencast

Through research I want to learn about its ...

  2017-01-03

Juju charm model

This article is a high level view of Juju's internal modelings. For me it was fairly confusing when looking at its document which has an army of these concepts: charm, bundle, model, unit.... of course, each of them makes sense after a while. Its terminology page helps on understanding ...

  2016-12-09

Targets in MAAS lab

After setting up the MAAS server and its subnet, bringing up a target node is simple.

All nodes must be on the same 192.168.8.0/24 subnet, and they must support PXE boot.

PXE boot

The MAAS machine functions as both the DHCP server and the TFTP server ...

  2016-12-08

Setup a MAAS Virtualbox lab

Canonical MAAS is a deployment tool that can give a bare metal life by putting an OS on it. Working together with Juju, they can setup a cluster of applications quite quickly. Think of them as a package manage like Ubuntu's apt-get, but in the context of a cloud ...