Rails-Devise-Warden Token Authentication + Android’s Volley

Hi, recently I'm trying to make an android app that uses a rails server. I used to code REST server before, but that is for javascript apps. Not android. And now that I'm trying to do so, I found a problem. Whenever the devise authenticate_user! failed and it throw 401 to the android app, Volley complain that some form of challenge key is missing. It work fine with a browser and it responded with an error in json form. This is the normal Devise behavior, which seems to also have support for api server. Read more [...]
Posted in Programming, Projects | Leave a comment

Opensuse 13.2

Problem with it.When installing, the expert partitioner is not very friendly. It by default already have various suggesting setting in which I don't know how to change them, like remove the extended partition and make it primary again. Tips: There is a reset button.VLC says, it can't decode h264. Its VLC and it actually can't do that if you install from official repository.The Yast2 package manager is not very intuitive.It is not obvious that Opensuse 13.2 version of packman repository exist. (13.2 Read more [...]
Posted in Linux | Leave a comment

Introducing, String2Regex

Assalamualaikum everyone. In this post, I'll show you a (relatively) new project which I've created in about a week or two. It seems to be useful for greater good and so I've released the code under the MIT license. The code is available here. String2regex is basically a clone of txt2re.com but run entirely on client side and not as full featured. The concept is, given a sample string, generate a regular expression to match that string based on user's selection of string groups. If you don't know Read more [...]
Posted in Programming, Projects, Uncategorized | Leave a comment

What to complain about linux’s desktop environment.

Ubuntu's Unity:I don't like the virtual desktop.When you click an icon of an application that opened in another virtual desktop, it switches to the virtual desktop.I want it to open in current virtual desktop. So I have to use middle mouse button.The virtual desktop does not show much separation.I can't really change much.It keeps taking something from Gnome, which in the end, prevent me from installing full gnome environment.Cinnamon:It just feels unpolished.For some reason it starts slowly compared Read more [...]
Posted in Article, Linux | Leave a comment

Perbezaan antara Python, Ruby dan PHP.

Assalamualaikum semua, apa khabar, dalam post ini, saya akan mencabar diri saya untuk memperjelaskan perbezaan antara Python, Ruby dan PHP dalam kontext pengatucaraan laman sesawang. Cabaran sebenar saya dalam post ini sebenarnya adalah menggunakan bahasa melayu sebanyak yang mungkin. Sesuatu yang sukar dilakukan memandangkan ini adalah bidang perkomputeran yang mana kebanyakan dokumentasi adalah dalam bahasa Inggeris.  Sebelum saya mulakan, pertama sekali saya perlu memberitahu pembaca sekelian Read more [...]
Posted in Article, Programming, Projects | 1 Comment

Student Admin Dialogue

Posted in Uncategorized | Leave a comment

Thank you for using SemiAutomatic IIUM Schedule Maker

Assalamualaikum everyone. How are you guys? First of all I would like to say thank you very much for using my newest application SemiAutomatic IIUM Schedule Maker. I expect it to get significant traffic, but not this much. For the record, between 19 April 2014 to today 27 April 2014, the application got 9089 visit or 16928 pageviews, 80% of that is from schedulemaker, 10% from scheduleformatter. In comparison, from january 2012 (the start of the application) to 19 April 2014, it received 9335 visits Read more [...]
Posted in Personal, Projects | Leave a comment

SemiAutomatic IIUM Schedule Maker!

Assalamualaikum everyone, how are you? So, lets get straight to the point. The purpose of this post is to publicly kinda-announce SemiAutomatic IIUM Schedule Maker. Given that it does not have an official readme page, I cannot confidently say that I'm releasing it to the wild. However, given that prereg is next week, and I don't feel like making an official readme page any time soon, I'm announcing it now in this post. Also, this post will act like a readme page for now. So what is SemiAutomatic Read more [...]
Posted in Projects | Tagged | Leave a comment

Programming Interest Group Talk

Posted in Uncategorized | Leave a comment

Past, Present and Future of IIUM.

This is an assignment for my leadership and management course last semester. Years ago, when I was stil in secondary school, the name UIA (Universiti Islam Antarabangsa), which is what IIUM is called back then, has a special feel of its own. As you would expect, 'International Islamic University' brings great impression on the university. Other university have the impression of having a lot of student or making beneficial research or becoming the best of what Malaysia has to offer. IIUM on the other Read more [...]
Posted in Article | 4 Comments