上海人。老家在青浦朱家角。爷爷是地主，后来战乱到了上海，在上海华山路幸 福邨租了房子，地点离上海交大本部2站路。我父亲最小，上面都三个哥哥一个 姐姐，我分别介绍。他们叫他九弟，中间的几个夭折了。他长大的时候家里经济 应该很拮据，主要靠大哥的收入维持，所以他从那时候就养成了节俭的习惯，后 来经历建国来的那些年代，加上后来分配到了东北，那里虽然当时是中国的工业 基地，但生活条件与南方差距甚远，所以更是对自己的生活变得很苛刻。
父亲还记得自己以前的事情。他说起幸福邨的日子，说起住在那里的人，很多时 候还以为家还在那里。幸福邨是联排屋，我大学的时候家还在那里，整整的一栋 都是，三层，一大家子人都在，以前爷爷奶奶住在顶层，不大下来，我没有见过 奶奶，那天说起亲妈 ...
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 ...
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.
- 北京金手杖: recommended by my ...
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 ...
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 ...
Charm's reactive framework is the core of charm design and
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 ...
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 ...
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 ...
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 ...
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 ...
Introduction of Juju charms
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:
- Add a new machine to the cloud environment. In ...
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 ...
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 ...
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 ...
Juju bootstrap process
The very first command user will encounter is the
juju bootstrap. It
createa a special machine — state controller,
control node, etc. — naming convention aside, it is the brain
that tracks others nodes in the cloud, applications installed and
Through research I want to learn about its ...
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 ...
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.
The MAAS machine functions as both the DHCP server and the TFTP server ...