Posts

Exploring Gammu - An open source mobile phone communication library

Image
A few weeks back, while working on Twinstrata project (as a shadow resource), I had some spare time and I wondered if I could provide an SMS notification (in addition to email notification) whenever Nagios detected that the services on the production cluster are down. Hence, I started searching different communication libraries and found Gammu, an open source mobile phone communication library. Below are the steps I took to install Gammu on Linux (CentOS 7) and generate SMS notifications to the development team through it.  First, I had to find a spare mobile phone that could be used for this purpose and a SIM card. I had one Samsung GT-S3653W mobile phone which I wasn't using anymore ever since I bought the smartphone. One of the reasons why I chose Gammu instead of any other library (e.g Gnokki) was their database that indicated that GT-S3653 ( http://wammu.eu/phones/samsung/5152/ ) was compatible with this library. For installation, I downloaded Gammu (version 1.34.0) t

Google Code Jam 2014

Image
Update (13th April, 2014) 11:00 AM : I saw my final results today. The large input file of problem 2 and 3 were rejected, while the large input file of problem 4 was accepted. I lost 35 points because of that, and my final score is 55 :( . I do qualify for the next round though. My overall rank dropped to 7920/25462, while Pakistan rank dropped to 42/265. Below is the screenshot now. Hoping to do well in the next round as well which is on 26 April 2014. 12 April, 2014... 6:00 AM: Just woke up and received an email from from Google Code Jam that the contest has been started. Will start competing after breakfast..      6:42 AM: Working on the first problem "Magic Trick". It has only one small input file and is worth 6 points. According to the contest analysis, 88% people who attempted this question got it right.  7:31 AM: Just submitted solution file and source code of the "Magic Trick" problem. The response of the online judge is "Correct&q