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.
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.
What do you think of when you hear the term machine learning ?. What is the first word that comes to mind ?. Some people will come up with T-1000, the antagonist from The Terminator or maybe from The Transformers (Human Machine ?). That’s fine because they barely knew the linguistic term means.
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.
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 :
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.
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!.
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
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.
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).
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.
Figure 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.
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.
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.
Figure 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.
Login to the shell using root and password root. Tada !, congratulation. That’s all for now.
Figure 7. Login shell