TAG: dev


Pandoc workflow

Pandoc is awesome. I have been using it for the last six months now writing a reference architecture document for work. Here is some tips of how I'm using it.

doc header

Things that are specific to that document. This, thus, is context sensitive — title, subtitle, author, bibliography, abstract ...


Browser proxy

This is a common trick. Say we have local machine (A), and a remote machine (B). If we can SSH from A→B, we can reroute browser traffic from A to B, much quicker than X-windows.

  1. On A, ssh -vv -ND ...



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


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



Introduce tools to create screencast.


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


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


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


Sync vs. Async


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


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


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



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.

# http://opensource.conformal.com/cgi-bin/man-cgi?spectrwm

# colors for focussed and unfocussed window ...


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


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


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


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.


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


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