Emilics Blog

 
 
 
 

Generating Mathematical Formulae Images for Html

2012-05-01
This article explains how to write mathematical formulae in html. The Macro Tagging module will be used to generate image files that contains the mathematical forumale and <img> tags. LaTeX will be used to generate mathematical formulae image files. The result, therefore, will look beautiful and we can also take advantage of the high expressivity to write complicated mathematical formulae.
 
 
 
 
 
 
 
 
 

Python Time Conversion

2012-04-20
  python 
In python, there are four types that are commonly used to manage time. Timestamps, time tuples, datetime objects, and strings. Programmers often have to convert between these types depending on the situation or API. This article will describe all conversion patterns.
 
 
 
 
 
 
 
 
 

Memory Consumption in Linux

2012-04-10
This article explains a reasonable method to measure memory consumption of a process on Linux. Linux is equipped with virtual memory management and, therefore, measuring the memory consumption of a single process is not as simple as most users think. This article explains what information you can get from each indicator related to memory consumption.
 
 
 
 
 
 
 
 
 

Macro Tagging

2012-04-05
In order to make a website with consistent design, the developer often reuses html components that have the same tag structure. Re-writing or copy & pasting the same html code multiple times is inefficient, breaking the Don't Repeat Yourself (DRY) principle, and also takes a lot of time to replace all code when you want to change the design of the entire website.

To solve this problem, I created a small python module named macro tagging that let's the developer define their own abstract tag which can be expanded to standard html tags. The concept is similar to creating a function or subroutine in programming.
 
 
 
 
 
 
 

Navigation

search articles
 
Tags & Categories
Links