Posts
Django ORM and SQL
· β˜• 7 min read
1. Basic Concepts ORM: Object Relational Mapping. Its job is to map between a relational database and objects. No complex SQL statements are needed β€” operating on data is as simple as operating on objects. QuerySet: the list of objects for a given model. A QuerySet lets you read data

Haystack Full-Text Search
· β˜• 3 min read
A quick word on the project requirements: the team needed to publish documentation externally. The documents are written in Markdown and need to be published as HTML. At first we used an Nginx + Jekyll solution. As the documentation grew, the document system developed a strong need for search. I

Jenkins Integrated GitHub Development
· β˜• 4 min read
1. Basic Concepts Continuous Integration Continuous integration emphasizes that once developers commit new code, a build and (unit) test run immediately. From the test results we can determine whether the new code and the existing code integrate correctly. Continuous Delivery Building on continuous integration, continuous delivery deploys the integrated code

Cross-Departmental Collaboration Course Notes
· β˜• 3 min read
Collaboration is a journey. 1. Obstacles to Cross-Departmental Collaboration Resistance to collaborating on new business Gray areas in responsibilities Employees’ ability to collaborate Information asymmetry The management mechanisms for cross-departmental collaboration Misaligned goals and interests Limited resources 2. The Core Philosophy of Collaboration Win-win thinking An open mindset The three aspects at the heart of collaboration

Graphviz Toolkit: Drawing with DOT
· β˜• 2 min read
1. Introduction Graphviz is an open-source drawing toolkit developed at Bell Labs. It uses a specific DSL (domain-specific language), DOT, as its scripting language. It uses layout engines to parse DOT scripts and complete automatic layout. It supports a rich set of export formats, such as PNG, JPG, PostScript, SVG,