REST vs SOAP

I’ve been developed several SOAP and REST web services applications in the past. I know pretty well of how to develop a web services application using both SOAP or REST approach. Recently, someone asked me why I choose this approach over another. I told them if you have specific requirement and reason use SOAP otherwise use REST. The person didn’t seem satisfied. So I did some homework and here is the summary of SOAP aand REST.

Read More

Data Serialization/Deserialization in Python

In this post I am going to share what I learned about pickle. Pickle is to be eaten, in Python pickle is for data serializing and deserializing Python’s data object. Object in this case could be a variable, instance of a class, dictionaries, tuple and etc. Pickling is the process to convert data object into character streams. Before writing object into file, pickle serialize the object before writing it to a file. For deserializing data stream from file, unpickle can be used to convert data steam to object. Let’s see how the code look like to do this.

Read More

How to add Tags in GitHub's Jekyll without Plugin

I am using Jekyll that hosted in GitHub for blogging. I immediately love Jekyll as soon as I created my first blog with it. It is so simple yet provide pretty much most of the features I need for technical project blogging. But as I moved further I found that GitHub disable plugin when creating blog with Jekyll.

Read More

Redirect GitHub Page to Custom Domain Name Registered With AWS Route 53

I’m trying to use my own domain for this blog. I researched into pricing and server availability of different DNS service providers. Considering company reputation and customer service I choosed AWS Route 53. Besides, AWS Route 53 connects user request to other AWS infrastructure like EC2 instances (which I am using now), Elastics Load Balancer, AWS S3 bucket. AWS Route 53 partnered with Gandi. So don’t get surprised when you see Gandi’s information showing in your WHOIS site.

Read More

Crawl IMDB Most Popular Titles Over the Years

I am learning scraping content on the web. There are quite a number of open-source web scraping tools like Scrapy, Selenium, BeautifulSoap, Google Web Scraper etc. A guide to web scraping tools gave nice comparision between Web Scrapers. I am learning Python therefore I choose to use Scrapy, 100% written in Python and has a lot of built-in functionality.

Read More

Hello World!

Welcome to my blog! Hooray, my personal blog is up and running now. I have long wanted to have my own blog for sharing my projects. Luckily, we are living in the best era ever. Millions of open source are free and available for us to learn almost whenever wherever we want. We have alternatives other than paying ever increasing tuition fee at school to obtain quality education. I praise the TECHNOLOGY for making this possible. After reading “Blog Like a Hacker “ by Tom Preston-Werner, I am totally inspired and told myself, “I gotto do it this time!”.

Read More