TAG: dev

  2018-07-24

UML

Finally a book on UML that makes sense to me (and is short enough so I was willing to read it, in one morning).

Milestone 1: requirement review

Everything starts with an analysis of the problem at hand. One thing learned and I'd like to clarify is requirement — it ...

  2018-06-12

System capability model

Ah, DCIM. Infrastructure needs to be managed, but then, what does it mean? Borrowing from wiki, a view can be:

  1. Asset Management
  2. Network connectivity Management
  3. Environment Management
  4. Energy Management
  5. Change Management and
  6. Capacity Management
  7. Computational Fluid Dynamics (CFD) Integration[17]

This type of view is based on an attribute of ...

  2018-06-06

Screencast

Introduce tools to create screencast.

  2018-06-06

Netbox revised

Netbox is a nice level 1 tool (for levels, see capability model). But we need more. Managing a lab or a rack is more than level 1. On top of all these, we talk about automation, which implies capabilities at least to level 4. Therefore, we used Netbox code as ...

  2018-03-22

Django to REST

I have been building Django based web application for a while now. One design/request I get often is a REST API. Once the model data is exposed in REST, one can truly build a complete separate frontend ...

  2017-10-04

Sensitive touchpad

The symptom is that typing jumps all over the place.

Tune sensitivity

The idea here is to use xinput command to tune finger sensitivity values so to find a good balance. Also, we are to disable touch point (the little read dot rubber thingy on Lenovo's laptops) since I ...

  2017-05-23

Sync vs. Async

Irrelevant

Sync vs. Async. I have been thinking this to myself and have involved quite a few discussions with smart (and mostly young) developers which from time to time makes me wonder whether there is a definite answer for this at all.

One thing I can fairly state is that ...

  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

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-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 ...

  2016-09-09

Deployment architecture

Deployment strategy for system architecture is centered around AWS services: EC2 for application server, RDS for database, and S3 for static files and media files. AWS does have message service as well. But to maintain a fair level of portability, I am not using that. Instead, vanilla message broker such ...

  2016-09-08

General system architecture

The word "system architect" has been puzzling to me. I was hired to be one at one point. But it was not a comfortable position. How much do we understand the business? What is the problem we are to solve? How does ...

  2016-09-04

DIY Pelican theme

As a Python house, Pelican is definitely a winner for our blog site. But like any software engineer who hold a high standard to his work, I got turned off by all the available themes. "Ugly", "Where is the document?", "Why my translation is not shown?", I felt running in ...

  2016-09-01

Prototype needed

Building a prototype is a must-have for any new project and new business idea. It is not only a way to test out the initial thoughts so we know it is feasible, it also builds a common platform for client and developers to communicate while they are looking at the same thing.

  2016-07-20

Buildbot continuous integration setup

The whole point of quick development cycle is to shorten the path between a verbal or written requirement, and an actionable application that reflects an implementation of this requirement. Therefore, it becomes crucial to set up an CI environment not only to facilitate development and testing, but to enforce our ...

  2015-03-04

Crawler, TOR, and be a good web citizen

Many projects I have done involved harvesting data from public sites. Data crawling is an exciting business. On one hand, it is easy to develop a crawler these days. In the Python world, plenty tutorials will show you how to build a simple crawler using the Python urllib, or building ...