Programming

How to generate combinations in Python

I was asked to help implement a kind of reusable combination generator in Python given the maximum number and the group size. Combination is widely used in high performance computing especially for searching in state space. Note that it means solving problem by brute force technique. So I wrote several codes.

How to show author's full name in Drupal

I found a good question at Codenone regarding author's full name in Drupal. This is a good question because it clearly shows the power of Drupal. If you notice, all contents in Drupal will show their authors somewhere in the page. An author is identified by his/her username. And there is no full name stored in the database by default. Other CMSs usually store user's full name in its database so you might think Drupal is worse. In fact, you are allowed to add additional metadata using profile module which is included in the core modules. So showing author's full name in each node is very easy.

Extend Case Tracker Module is progressing

has begun for a while. One of the most interesting accepted projects in Drupal is Extend Case Tracker Module since I have currently used Case Tracker Module extensively. The student is approaching to the goal by configuring a demonstration site and also a blog to keep updating latest status for all of us and early adopters.

Building academic conference site using Drupal

I have just assigned to find a solution for building an academic conference site as quick as possible. I used to be authors and also reviewer assistant but I have never been an organizer. This is my first time in this area. Anyway, it seems there are many softwares available right now. Below are just a list I found in Google.

  1. BYU Paper Review System - This one is very old and maybe obsolete for so long. The most interesting thing I found is that it was written in C as external PHP module.
  2. MyReview - It has just released the latest feature-rich version last month.

I don't have much time to find more but it seems MyReview is one of the most popular player. Anyway, my favorite CMS is Drupal and most of our sites are Drupalized. It would be nice if we can build an academic conference site using Drupal. And I found Conference module for Drupal.

Programming Language and Martial Art

หลังจากคราวที่แล้วว่ากันเรื่อง ภาษาสำหรับเขียนโปรแกรมกับอาวุธ คราวนี้เรามาว่ากันเรื่อง ภาษาสำหรับเขียนโปรแกรมกับวิทยายุทธ์ ก็อย่างที่เคยบอก เรื่องนี้เป็นเรื่องละเอียดอ่อนอันดับต้นๆ ของโลก ผมแค่นึกขึ้นมาได้ตอนขับรถกลับบ้านเท่านั้น เท่านั้นจริงๆ ช่วงนี้คงจะอ่านนิยายกำลังภายในมากเกินไป มีทั้งจอมคนแผ่นดินเดือดและฟงอวิ๋น สนุกจนไม่ต้องหลับต้องนอน แต่นิยายสมัยนี้ไม่ค่อยมีกระบวนท่าโดดเด่น ผมเลือกมาเฉพาะที่คนส่วนใหญ่จะรู้จักเท่านั้นพอ

Turtle Interpreter in Python

The second computer science homework at Codenone is to develop a turtle interpreter. In fact, I don't like to write this kind of code. It has been so long since I wrote ultra mini assembler and compiler both manual and using lex and yacc. However, the ruby version inspired me. The ruby code looks very pretty and the author also convinces about how easy in Python. So I would like to try to solve this homework in Python.