Would you like to be notified for every new articles? Please click HERE to subscribe for newsletter.

Blog

Machine Learning: Classify Gender By Name using Django and NLTK

  • Posted on: 19 November 2016
  • By: admin

Machine learning is one of the current hot topics in the IT world. The huge growth of data and the increase of computing power may be the best supporting factors which lead to the current condition. Besides the good trend, machine learning is very interesting for me personally. So, I try to find some information about it and that leads me to Python and its NLTK (Natural Language Toolkit) library. The last time I use Python is about two years ago when I learn about Django, the web development framework for Python.

Drupal 8 Table With Sortable Column And Pagination

  • Posted on: 11 September 2016
  • By: admin

In Drupal 8 module development, we can easily create a table with pager. The code might be different from the one we use in Drupal 7, but it's still quite simple. I assume you have already learned to create a simple Drupal 8 "Hello World!" module as explained in there. So, let's start to create the table with pager. For example, we have a routing file, mydemo.routing.yml like the following.

Starting and Stopping Service Manually In Slackware

  • Posted on: 28 August 2016
  • By: admin

Slackware has a very simple way to enable some system services to start automatically at system startup. As it said in the following documentation, Slackware is using BSD-style for its init system. All of the system initialization files are located at /etc/rc.d folder. When we want to enable a certain system service to start automatically, we just need to change the file mode into executable. For example, the Apache web server init file is rc.httpd.

PHP Ajax Progress Bar

  • Posted on: 10 April 2016
  • By: admin

After my previous article about creating PHP Progress Bar using flush() function and Javascript, I try to create another PHP progress bar using different approach. This time, I will not use flush() function. Instead, I will use Ajax method and jQuery to accomplish the task. Basically, in this new progress bar we will use jQuery Ajax library to trigger the long running process in the web server and then use jQuery Ajax library again to read the progress status and display it in the browser.

Pages