Tmux is an open-source terminal multiplexr for Unix-like operating systems. It allows multiple terminal sessions to be accessed simultaneously in a single window.
Continue readingGraph is common data structure that represents the relationships between different entities using edges and vertices. The behavior of search algorithm can be changed by plugging in different data structures, such as using a stack yields depth-first search, and using a queue gives breadth-first search.
Continue reading"Graph theory is the study of graphs, which are mathematical structures used to model pairwise relations between objects. A graph in this context is made up of vertices (also called nodes or points) which are connected by edges (also called links or lines). Graphs are one of the principal objects of study in discrete mathematics." ... from Wiki page.
Continue readingEither computer data storage or telecommunication, regardless of the data storages and transmission, is non-zero probabilities that the data could be changed while it's being stored or transmitted. There is always a code-word with block length without free bit-errors. That means the data probably could be changed while it is being processed or transmitted. If the machine can't locate the position of the error and correct it, the information might be lost forever.
Continue readingThe HTML canvas can be used for sketching/drawing either by mouse or by touch. In the previous post, I quickly discuss how to use Canvas API to implement a canvas with mouse sketching. In this post, I would like to describe how go about implementing for sketching/drawing by mouse and touch.
Continue reading