Introduction to R Loop Functions

The R programming language is fast becoming a popular technology with the rise of Big Data. A dialect of S language, R was specifically designed to work with data analysis. And now it is one of the de facto requirements for people interested in any type of data analysis.

There are a lot of great introduction articles to R programming language out there, with O’Reilly and Coursera as my favorites. In this article I want to discuss about R’s handy loop functions. You need to be familiar with R’s data types and syntaxes to follow the samples.

I am fairly new to R, so please correct me should you find mistakes in the article. And if you have better solution to the example codes, I’d be very grateful if you could share it in the comments. So, here we go.

Continue reading


Hyperlocal Digital Signage

The new advertising media popularly known as Digital-Out-of-Home (DOOH/Digital Signage) enables interactive methods of conveying information to people at outdoor locations. DOOH were traditionally used to display scheduled ad videos. But now, with the synergy between various types of video display, internet connectivity, and electronic sensors, DOOH is taken to a new level of experience for consumers, thus the term Hyperlocal was added.¬†It has produced many memorable brand activations, with new & never been seen before campaigns. This collaboration of technologies significantly increases the interaction between the brand and its customers, creating a viral “Wow” factor in the brand’s market segments.

Continue reading


Never Stop Learning

These past two weeks I’ve been busy between my work and my study. I’m enrolled to several classes on Coursera to improve and update my knowledge and skills.

Currently I’m learning R programming, introduction to big data, practical Machine Learning, and bioinformatics. Because I mainly use JavaScript at work, I’m also currently keeping my Python skills in shape at Codecademy.

I’m hoping after I finished all of these classes, I’d be able to write some new exciting articles/apps on these amazing sciences. Maybe something on big data using R, or an app in bioinformatics using Python. So guys, keep learning new stuff and improve your skills. Happy coding!


New Toys at The Lab #3

This is a long overdue article, but I’ve finally been able to add some new things at the lab.

First, experiments with this nice little JS library that let you add rain drops effect on the screen. I’ve made two pages using this library: on the first one I added a rain sound effect using a video from YouTube. On the second one, I’ve added a background music that matches the mood. The music is loaded using SoundCloud API, a very beautiful song by the talented layur.

The political election was held earlier this month. I’ve made some charts to visually show the rise and fall of political parties, and the imminent coalitions. The charts were made using Morris.js, a charting library created on top of Raphael.


The last toy on the lab was inspired by an excellent infographic from Info We Trust. We all know time management is essential to get things done. That infographic shows the daily routines of some of the greatest minds in history. In this experiment, I tried to develop an interactive model of that infographic.


MEAN Stack Tutorial, Part 2

We’ve discussed about setting up a Node web server and how to create a Node REST API server for CRUD operations to MongoDB. In this final part of the MEAN stack tutorial, I’m going to discuss about creating an application using Angular.js.

Important: Before starting with this tutorial, you need to have already set up a backend server as shown in the second article. And you also need to get accustomed with some basic Angular, such as its data binding techniques and $http object.

Continue reading


Getting Started With Python ElasticSearch Client

So these couple of days I’ve been trying out ElasticSearch, a¬†distributed restful search and analytics software. We’re currently researching various technologies on a prototype that will use ElasticSearch and will be developed using Python. In this post we’ll discuss about my experience on using the Python ElasticSearch Client library.

You ned to download and run ElasticSearch before trying these scripts. The Python library uses Python 2.7, so make sure your Python version is correct.

Continue reading