What I do when I work

This is not a savvy post about what people should do while working to boost up their productivity. This is what I often do, and that makes me feel guilty and productive at the same time.

1. Surfing internet:

Sure thing. If I don’t surf internet while I’m working, I lie. But they definitely give you some good effects on your day: lift up your stress, give you some lesson about handling your software and something similar. But to be honest, when you’re in a project, a serious project, forget this part.

Continue reading What I do when I work

Add symlink to bash in Ubuntu

This trick work with custom installation, so that you can start them normally from terminal window:

Here is the syntax of the code:

# Matlab shortcut
export PATH=/usr/local/MATLAB/R2013a/bin:$PATH

Here in this example the matlab is installed into the path usr/local/MATLAB/R2013a/bin, after you put this line into the bashrc file and re-login, you can start matlab by opening the terminal and simply type matlab to begin.

That’s all!

Tải font chữ tiếng Việt ở đâu?

Một trong những điều nhức đầu của các designer Việt Nam đó là sự hỗ trợ kí tự (glyphs) không đầy đủ của font chữ nước ngoài, đặc biệt là các font dạng viết tay đang là mốt thời gian gần đây. Các nhà thiết kế thường vẽ tay, scan, sau đó lên font trên máy tính, và vì thường vẽ tay như vậy thì glyphs rất hạn chế.

Có nhiều cách để khắc phục những vấn đề này, ví dụ như vẽ thêm dấu vào trong thiết kế, hay sửa lại font v.v… tuy nhiên, còn một lựa chọn khác dễ dàng và đỡ nhức đầu hơn và hoàn toàn không phải thuê bên ngoài làm, đó là sử dụng những font Việt hóa do một số thành viên trên internet đã bỏ thời gian công sức ra thiết kế cho bàn dân thiên hạ dùng một cách miễn phí.

Continue reading Tải font chữ tiếng Việt ở đâu?

Learn something new every day

Just discovered this trick this morning, the trick that will help you learn random things whenever you open your web browser.

What I’m talking about is Wikipedia Random Page:

http://en.wikipedia.org/wiki/Special:Randompage

Now that if you open that link, wikipedia will redirect you to a random article, and there is great possibility that the info is not yet in your knowledge system, then BOOM!, you learn something new.

This is one of the most efficient trick and very simple to do, because you’re surfing the internet everyday, so make it more profitable for your brain!

Pygal – another fun way to create chart with Python

pygal 1.4.2 is a dynamic SVG charting library.

Python is a powerful and fun-to-play-with-but-also-serious programming language. Recently I discover a package that help us create some beautiful charts, so besides the default matplotlib, sometimes we can switch to this one and play with it (or also be serious and use it for your research). Here is the homepage of the package

Image: