How to implement an array with string index

I had shown you how to implement an array with string based index in Python programming language in the previous post. In this post, I will explain the same problem…

How many CPU cores does your computer have?

http://www.howtogeek.com/howto/ubuntu/display-number-of-processors-on-linux/ http://www.linuxquestions.org/questions/linux-newbie-8/find-number-of-cores-in-my-processor-772925/ http://askubuntu.com/questions/257248/how-can-i-see-how-many-processor-cores-are-working http://www.cyberciti.biz/faq/linux-get-number-of-cpus-core-command/

How cache memory works

Sorry, this entry is only available in Tiếng Việt.

What is cache?

Bạn đã bao giờ từng đặt câu hỏi, đại loại như “Cache là cái gì? Hoạt động của cache như thế nào?”. Trong bài viết này tôi muốn giới thiệu…

Tìm hiểu bộ nhớ Cache

Bô nhớ cache – còn được gọi là bộ nhớ kí ức. Nói thêm từ cache là một thuật ngữ dùng trong máy tính, thường chúng ta dùng nguyên chữ…

Array, List, etc. with String Indices

(Tiếng Việt) Trong lập trình, chúng ta cũng hay gặp nhiều trường hợp phải tạo một danh mục mà index của nó là các chuỗi kí tự. Có một khái niệm để mô tả loại đối tượng này, thường gọi là HashMap hay HashTable.

Counting how many times each string appears in a list

To count how many times a word appearing in a list of words, we can do as follows:

Introduction of Petri Net

Bài này giới thiệu chung về Petri nets. Đó là một loại đồ thị có hướng đặc biệt gồm 6 thành phần cấu tạo. P: set of places T: set…

Cluster Analysis

Statistica http://www.statsoft.com/textbook/cluster-analysis/

Count the times a word appears in a given string

(Tiếng Việt) Làm thế nào đếm xem một “word” xuất hiện bao nhiêu lần trong một “string” cho trước. Cách đơn giản nhất nhiều người biết: tách chuỗi thành từng từ và so sánh chúng với từ cần tìm.