How To Parse Website (2)

How To Parse Website (2)

My late post How to Parse Website Part 1 has shown you the basic website parsing. Next in this post I will show you more. Open your python command line again then try parse our last website. Here is the result from website I’ve been parse accessed via browser.

Read More

How To Parse Website (1)

How To Parse Website (1)

In this post I will guide you step by step to parse website. I chose python, though. Each language has its own style but I prefer python because I know its strength and its resilient. Maybe some other time I can try another language as an example. This post will not show you how to install python.

Read More

Android Play Store Background Data Disabled

Android Play Store Background Data Disabled

I have been using custom rom for my Galaxy Grand Duos for quite some time. Around two years maybe. If you are asking why then it’s because the vendor does not release next official rom for my Galaxy Grand Duos and another reason is my Grand Duos growing slower and slower. Okay here is my custom rom provided by Cyanogenmod. This is cyanogenmod unofficial version for Galaxy Grand Duos (Device Model : GT-I9802). Android version 5.0.2.

Read More

New Challenge : Yii Framework

New Challenge : Yii Framework

After many years developing using Zend Framework (version 1.x), now we have new challenge. We had a client requesting new framework to develop, Yii Framework. What is Yii Framework ? and what is the difference between Zend and Yii. You can find any articles and many in the internet about Yii. This one article just show you my first experience using our first framework before using Yii Framework, that’s all.

Read More

MySQL Import Error : Access Denied

MySQL Import Error : Access Denied

Sometimes, an error occurred when you try to import mysql database after exporting from cpanel. I’m not searching thoroughly the cause but the problem is mysql cannot create VIEW or any STORE PROCEDURE because there is a flag command we’ve been using. Should you find this script in your VIEW or PROCEDURE :

Read More

Happy Ied Mubarak 1436

Happy Ied Mubarak 1436

I know I’m late but Happy Ied Mubarak 1436 for my brother and sister around the world. It has been quite sometime since I wrote on this blog. I have decided for long time ago the blog will focus on theory, practice and more technical than life. As you already knew or feel, I wrote two or three articles mostly in English. As a matter of fact, I will write in English for now. You can find Indonesian version in here http://qudori.tumblr.com (in Indonesian Language) and my not ready Japanese and maybe mix between Bahasa Indonesia and English in here https://medium.com/@andreyferriyan. As I wrote this article, I’m still in Banyumanik with my family.

Read More

Thank You, TNT

Thank You, TNT

Please, I’m not gonna talk about explosive things :). I’m talking about packages delivery. Yes, a courier.

== Friday May 15, 2015 ==

It’s Friday May 15, 2015, I have deadline for submitting application to Japan. The deadline is May 20, 2015 the document must arrive in that date. Meanwhile in saturday I have to attend my cousin’s wedding ceremony. Its a sacred moment and I can’t skip it because all of my family will be gather and it will be suspicious if I’m not coming, hehehe. And also saturday is day off because Isra Miraj Day and that means holiday for everyone and all offices will be close. I can’t send my application before day because I’m still waiting from them to confirm that I can send my application. Although I can send in Monday May 18 but it will be late to arrive because normally it takes 4 days. I have promised too in Monday for taking my children and wife for vacation. Sigh!. Can you imagine that ?, a very strict date and all of them is important to me. I’m not skipping anything so I take my chances and improvise :). My last opportunity is Friday, that is all!.

Read More

Oracle Virtualbox – Cannot Start VM ntdll Error

Oracle Virtualbox – Cannot Start VM ntdll Error

Specification:
1. Windows 8
2. Oracle Virtualbox for Windows 4.3.26-98988

If you ever met this error “Error -5600 in supR3HardenedWinReSpawn!” and your Virtual Machine (VM) won’t start, not just one but all of them cannot start then you must check your Windows Update. If you want to know the detail just follow this Oracle Virtualbox – VM Cannot Start ntdll Error

My temporary solution is here. Follow the steps.
1. Open Control Panel
Screenshot 2015-05-05 06.04.31
2. Choose “View Installed Updates” from the left
3. Search “KB3045999” from the right side and enter
4. Uninstall

After KB3045999 uninstalled your computer will reboot. After reboot try again your Oracle Virtualbox and voila it works again. FYI, KB3045999 is a security update. If you want to know the detail just search it.

 

Read More

My Journey Seeking Suitable Operating System

My Journey Seeking Suitable Operating System

Back then before I choose FreeBSD as my favourite operating system for server and Ubuntu for my desktop, Gentoo become my favourite one. The most optimize operating system because its compiling from the source based on our processor, very light and faster boot and we can freely and manually tuning it with our likes. I don’t have to worry for slow bandwidth because I works in ISP. Almost every week I’m updating my kernel and apply the most stable one or I feel seem stable (I’m not measuring with any parameter, please don’t follow my example).

Read More

Playing With Raspberry Pi (Part 1) : How To Install an OS to Raspi

Playing With Raspberry Pi (Part 1) : How To Install an OS to Raspi

I know maybe it’s already too late for discussing raspberry pi (raspi) but hey, it’s my first time touching this little one and playing with it. I’m not gonna write the history behind or anything related but i’m gonna share my experience. Actually this is not my own raspi, my friend gave me. He has a project related with raspi and python, some kind of robot project. It’s because he doesn’t have python knowledge so he asked me to do some research with his raspi. So first we have to know what kind of model, how much memory and so on. I’m in hurry so my first target is to install raspi (yeay!) using operating system that available on the site. How about the models?, how much memory this raspi have ?. We’ll talk about it later.

Okay my choice is Arch Linux. Why ?, Smaller size than Raspbian. Actually there is another one like RISC OS but i’m afraid some packages are unavailable to download or modify or there is too much dependencies but the choice is yours. The other reason is because I have slow internet connection :). That’s all. Remember, raspi using SD Card for installation. So prepare your SD Card, Image OS (choose your own OS and download from http://www.raspberrypi.org/downloads/) and Win32 Disk Imager (download from http://sourceforge.net/projects/win32diskimager/).

Ok here is my raspi from Element 14. Figure 1 in the box and Figure 2.

Raspberry PiFigure 1. Raspberry Pi from element 14

Raspberry Pi
F
igure 2. Raspberry Pi

 Installing OS to raspi is very simple. First, we have to format SD Card and injecting the image. Insert the SD Card into your notebook (assuming your notebook has SD Card slot) then open the win32diskimager like this Figure 3.

raspberry5
Figure 3. Win32diskimager

Browse your downloaded image and don’t forget to point into the right device. BEWARE !, WRONG POINTING DEVICE can ruined your notebook drive. After that push the “Write” button and wait until the process is done. If the format successfull we can forward to the next step. Insert the SD Card into the back of your raspi like Figure 4 here.

 raspberry6
Figure 4. Back

There are 2 ways to display your raspi on a monitor or TV. We can use RCA cable to connect to TV or we can use HDMI connector. Because I don’t have any HDMI cable so I choose RCA cable. The RCA cable are the most common cable so I hope you can find it in the general store or any store that sell electrical appliances. The RCA cable is like this in Figure 5.

RCA Cable
F
igure 5. RCA Cable

The cable has 3 connectors, i’m using the yellow one. Plug in into your TV (find the the yellow hole in front or back). Prepare your USB keyboard and mouse to configure. I only use USB keyboard though :). Okay the last one we plug the power cord. And here is the alarmpi (Arch Linux Arm) in Figure 6.

RCA Cable in TV
Figure 6. RCA Cable for display

Login to the shell using root and password root. Tada !, congratulation. That’s all for now.

Raspberry Pi
F
igure 7. Login shell

Read More

What Is The Internet of Things?

What Is The Internet of Things?

Imagine when your pillow can elevate the snore or even checking your health. Imagine when all of your appliances connected and you can check, monitor even control it via smartphone. Imagine if you can control your own house and everything within it. The examples I give to you just one of the implementation of Internet of Things.

Yup, Internet of Things become interesting topic this year. We are not just talking about human interaction with computer or human with appliances, but we are talking about computer no… but machines communicate with other machines. Before talking further, we need to know where and when the of terms of Internet of Things started.

The terms of the Internet of things come from Kevin Ashton when he made a presentation at P&G in 1999. Ashton said in RFID Journal, today computers -and therefore the Internet- are wholly almost dependent to human beings for information. Nearly all of the roughly 50 petabytes (a petabyte is 1,204 terabytes) of data available on the Internet were first captured and created by human beings- by typing, pressing a record button, taking digital pictures or scanning a bar code. Conventional diagrams of the Internet include servers and routers and so on, but they leave out of the most numerous and important routers of all: people. The problem is, people have limited time, attention and accuracy– all of which means they are not very good at capturing data about things in the real world.

When we talk about accuracy, computers are better than people. People are physically limited in attention and time. Different than people, computer can survive in extreme condition without food and water.

Many researchers and practitioners studying this technology and trying to create and connecting all devices. Communication is important thing like people talk each other. If you want people to know what your talking about you need to communicate with them using the same language. This also applies to IoT. To work and communicate with other devices, IoT using a protocol. One of them is MQTT.

Refer to mqtt.org, MQTT stands for MQ Telemetry Transport. It’s a extremely simple and lightweight messaging protocol created by Dr Andy Stanford-Clark of IBM and Arlen Nipper of Arcom (now Eurotech) in 1999. Here is an example of the Internet of Things implementation.

Internet of Things Implementation

Internet of Things Implementation (source : electronicsnews.com.au)

Read More

Mengenal AppGyver – Bagian 3

Mengenal AppGyver – Bagian 3
1. Pendahuluan
Sebelumnya kita telah menjelaskan apa itu AppGyver dan sudah pula dijelaskan bagaimana melakukan installasi AppGyver Steroids. Selanjutnya pada bagian ketiga ini kita akan langsung mencoba bagaimana membuat sebuah aplikasi dengan menggunakan AppGyver. Semoga dengan penjelasan ini akan dapat lebih memudahkan kita dalam mengembangkan sebuah aplikasi multiplatform dengan AppGyver.
2. Langkah-langkah
Pastikan steroids telah terinstall. Kita akan coba buat aplikasi sederhana terlebih dahulu. Lakukan langkah-langkah sebagai berikut.
1. Buat project terlebih dahulu dengan mengetikkan pada command prompt sebagai berikut.
Read More