Answer on @Quora by @xamat to How do I learn machine learning?

Deep thought

I didn’t do a PhD on machine learning (was mostly focused on Signal Processing and Software Engineering) so I get this question a lot. The typical person that asks me this question is a software engineer with a computer science background, so I will address it from that perspective. If you are a Math major, for example, my answer might be less useful.

The first thing I tell someone who wants to get into machine learning is to take Andrew Ng’s online course. I think Ng’s course is very much to-the-point and very well organized, so it is a great introduction for someone wanting to get into ML. I am surprised when people tell me the course is “too basic” or “too superficial”. If they tell me that I ask them to explain the difference between Logistic Regression and Linear Kernel SVMs, PCA vs. Matrix Factorization, regularization, or…

View original post 369 more words


Não bộ, động lực làm việc, và các “công tắc” kích thích động lực làm việc

Deep thought

Đọc xong cuốn “のうだま―やる気の秘密” (tạm dịch là bí quyết tạo động lực bằng đánh lừa bộ não: của tác giả Ikegaya Yuji ( – một nhà nghiên cứu về não bộ. Có mấy điểm tóm lược rút ra từ cuốn sách.

– Tính “chóng chán” là đặc tính mà ai cũng có vì đây là cơ chế cố hữu của não bộ trong quá trình tiến hoá của con người. Điều này thấy rõ nhất ở trẻ con. Khi gặp một thứ đồ chơi mới mẻ, trẻ con sẽ rất hứng thú chơi, khám phá, nhưng chỉ sau một thời gian chơi, trẻ sẽ chán đồ chơi đó. Vì thế, khi bạn cảm thấy mình nhanh chán cái gì thì cũng không nên tự dằn vặt mình. Quan trọng là tìm ra phương pháp để vượt qua nó.

– Động lực làm việc liên quan đến…

View original post 330 more words

Maven shade plugin

If you are using Maven to your Java project and you want to build with dependencies, add this to pom.xml to build:


Turn Off Bluetooth By Default In Ubuntu 14.04

Open a terminal and use the following command to install gksu, if you dot have it installed it already.

sudo apt-get install gksu

gksu is used to enter password while running a program as root. Once you have gksu installed, use the command below:

gksudo gedit /etc/rc.local

It will open the rc.local file. Just add the following line just before exit 0.

rfkill block bluetooth

Altogether, your rc.local file look like this:

That would be it. Restart the computer and you should see that Bluetooth has been disabled. Of course you can turn it on when required by the Bluetooth indicator on the top panel.


This little section is just to give a brief explanation of what we did here. It’s not obligatory to read this section. You can skip to comment section for your suggestions or thanks :)

rc.local file is used to run various shell commands at start up time. These commands are user defined. In a clean install, rc.local has no commands to run. What we did here was to add rfkill block bluetooth. rfkill is a tool to query the state of various switches, buttons and subsytem interfaces. With this command in rc.localm we are basically soft blocking Bluetooth at each start up time. I hope this explains the things a bit.