Posts tagged with personal
Recently, I have been playing around with CasperJS and PhantomJS for web scraping. I always find screen scraping fun and fascinating. I mean there are just so many applications:
We have bills/accounts all over the place in different websites. The scraping tools can be used to develop a program for personal use that can combine the results in a single place. It also can be used to trigger notifications e.g. bill payments reminder, manga notification, movies notification. The possibility is just endless :)
We want to find and compare the...
New school semester just starts. I am glad to see new students after the short term break. My final year students are just having their mid term presentation. It is my first time doing presentation with overseas students. It can be quite a challenge for both the students and teachers :)
Recently, I have been working on a Windows 8 app at work. It has been fun so far :) Windows 8 initially feels confusing for me. I mean we need to keep switching between Metro & Desktop apps :)) And then there is little weirdness when we hover the mouse over the corners :)) After getting used to it, I love the new design where everything is full screen. Navigation bars and buttons are encouraged to be hidden. The only problem I thinks is sometimes the buttons/commands are hidden and it is not so obvious to figure out.
Back to coding, I have...
Just write my very first web spider which will first crawl mangafox and mangastream websites. Then, it emails me automatically about new mangas that I am currently following. This is fun :)
I basically make use of simple parsing functions, and the CURL and tidy extensions:
1) Get the HTML using the curl
public static function http($target, $ref, $method, $data_array, $incl_head)
# Initialize PHP/CURL handle
$ch = curl_init();
# Prcess data, if presented
Just have a break at Langkawi last week (18 - 20 Aug) with my love :) It is just a short weekend getaway as Hari Raya Puasa falls on Sunday, which results in Monday off for my gf. We booked both the hotel and flight via Expedia. While it is cheap, the hotel experience is terrible. I will never come back to Kampung Tok Senik Resort again.
While it is a resort, it really is just a cheap chalet. We need car to bring us to our rooms which are traditional Malay wooden houses. Wifi is only available in lobby. No ESPN channel for the TV. I...