buy twitter followers

Webpage Screen Capture Using NodeJS and PhantomJS


PhantomJS is a headless WebKit scriptable with a JavaScript API; or commonly known as a headless browser. Headless browsers are useful for website testings, screen capture, page automation, network monitoring, et cetera. In this article we’ll be looking at how to setup PhantomJS, test it, and use it in a NodeJS script.


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.


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.


Never Stop Learning

Screen shot 2014-06-17 at 2.42.58 PM

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

Screen shot 2014-06-17 at 2.02.27 PM

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

Screen shot 2014-06-17 at 2.04.23 PM

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.


The Rise of Digital Shops

Screen shot 2014-02-27 at 5.05.15 PM

There’s a pattern that can be observed from digital agencies around the world. Many of these agencies are creating a new breed of products referred to as “digital shops”. A digital shop usually sprung from a service delivered by the agency on a regular basis, or via a partnership with third party specialists, or simply by cultivating an idea and inspiration.


Node.js 101


Node.js (Node) has gained a lot of popularity in these couple of years. More and more programmers are showing great interest in the technology. In this article, I’m going to write about the very basic requirements you need to start creating your very own Node powered web applications.


Getting Started With Python ElasticSearch Client

Screen shot 2014-06-17 at 2.36.28 PM

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.


1 2 3 4