Wednesday 7 November 2012

GIDApp.com is Moving

If everything goes as planned, gidapp.com will be served from a new server by Saturday, November 10, 2012.

The completely brand-new web server is located in Los Angeles, USA, and has almost double of everything - more RAM, more disk space, and most importantly, more powerful processors.

I apologise in advance for any inconveniences you may encounter during this period of transition.

Thursday 25 October 2012

4D Search by Date Optimised for Tablets

Searching 4D draw results by date on 4D by GIDApp is going to be a lot easier soon. Presently, all we have is a regular Calendar Date Picker tool (in Java Script) with which you could submit a date like '2012-09-29' without having to actually type it in yourself.


This was fine for most people viewing this site on a laptop computer or a desktop, but for those of us who are viewing these same 4D draw results on our tablets and other hand-held gadgets, it was quite a bit of work to get the form filled-in when the (virtual) keyboard slides into view blocking the Calendar Date Picker tool completely every time you try to access the search by date text box.

To make it easier for iPad and other tablet users, I decided to replace this Calendar Date Picker tool and text box with a selector of draw dates from the past. In other words, you just point or click on the date you want to see from the offered list. This works wonderfully for everybody, the tablet users and regular computer users alike.

Simple point-to-click date selector for tablets

I hope this little optimisation will improve the quality of your experience here every time you search for past 4D and other lottery results on your iPads and tablets.

There is a growing number of people using tablets like the popular iPad and Nexus 7 everyday and I am very certain this number will only explode in 2013 and beyond.

Wednesday 5 September 2012

Latest Damacai Results by GIDApp

Just over a month ago today, I quietly launched Da Ma Cai by GIDApp here at gidapp.com/damacai. Today I am officially announcing the site to the world! :-)

As usual, the main feature of the site is not only the fast results on draw days but also that the site is optimised for any smartphone and even some feature phones.

Screenshots always help, so here are a few:

Android

iPhone

Tablet - Nexus 7

So you see, whether you are looking for the Latest Damacai Results for your iPhone, or the Latest Da Ma Cai results for your shiny brand new Nexus 7 tablet, all you really need is a device (ANY device) connected to the Internet, a browser and this one address: gidapp.com/damacai.

The latest Damacai 1+3D results are usually available after 7:45 p.m. on draw days. The newer Damacai 6D Jackpot results though are typically only available much later, at around 8:10 p.m. onwards.

Friday 6 July 2012

Latest Sports Toto Results by GIDApp

Starting today, you can receive the latest Sports Toto Malaysia lottery results online on your computer or on your smartphone simply by visiting gidapp.com/toto with a web browser.

Mobile phone-friendly web site.


As with 4D Results by GIDApp, this new web app is also thoroughly optimised for your mobile phone. Here are a couple of screen-shots to whet your appetite.

Screenshot from an Android phone.

Screenshot from an iPhone.

As you can see, everything looks the same on popular mobile platforms such as Android and iOS. Everything will be familiar whether you are using an iPhone or the next amazing Android phone.  Best of all - no app to install!

All the Sports Toto results are easily available in one place - no extensive scrolling or zooming around the page is required.  Sports Toto 4D, 5D, 6D, the famous Sports Toto Lotto-type game results such as Mega 6/52, Power 6/55 and Supreme 6/58 are all also quickly and easily displayed on this same single view/page.

Sports Toto by GIDApp results are available every draw day from 7:30 p.m. onwards.

Bookmark: save gidapp.com/toto/ to your favourite browser right now.

Monday 7 May 2012

4D Results for iPhone

Just visit gidapp.com/4 with your iPhone and you will see all the latest 4D results from Magnum, Da Ma Cai and Sports Toto displayed optimally for your smartphone - it's as simple as that!

gidapp.com/4 is a web application designed specially to detect iPhones, Androids and other such smartphones; and to display a mobile version of the web page for these extraordinary devices.

Even though it is simply a web site, on your iPhone, the web page will look and feel like an app.

Here is a screenshot that will help convince you to take a quick look.

Screenshot of web page with iPhone.
photo by Harsha Krishnan

Visit 4D Results by GIDApp with your iPhone now, or scan the QR code below:

QR code

In case you don't already know this, we boast the fastest 4D results on the Net. Yes, our draw results are published regularly at around 7:39 p.m. most draw days and sometimes even as early as 7:32 p.m.!

Wednesday 18 April 2012

Latest 4D Results for your Mobile Phone

Starting today, if you visit gidapp.com/4 with your mobile phone, the web site will detect that you are using a smartphone and redirect your request to a mobile-friendly version of the web site.


I didn't want to spend a lot of time tinkering with the design just yet. For now, it looks just good enough to be useful, and that is the priority right now. No need to zoom in or out, and just a thumb click to flip through the 3 pages.

Works great on iPhone; works just OK on Android™. And I'm sure I'll hear from Blackberry and Windows Mobile phone users if something is terribly wrong for them.

If you'd like to bookmark the site on your smartphone, you can bookmark gidapp.com/4/ but I'd really recommend using the complete URL (below) so you can skip all the detection and redirection steps in the request even if the detection and redirection usually happens quickly and without (a discernible) delay.

Get the Latest 4D Results by gidapp.com, optimized for smartphones, from here: gidapp.com/4/?m=1, or scan the QR code below to get the link:

QR Code

Wednesday 11 April 2012

Latest 4D Results by gidapp.com

Now you can get the latest 4D Results (for Malaysia) easily here from gidapp.com.

This was supposed to be my second Android™ application but I decided to finish developing a simple web site for it first. A web site will always have the widest reach and the largest audience -- that is the plain and simple fact about that.

So this is the new plan: Get a simple but fast web site up and running; a web site to quickly display the fresh, daily draw results from Da Ma Cai, Magnum and Sports Toto and have them all up in one place, on one page. For now, I will only focus on these 3 companies. This web site will live here: gidapp.com/4. Bookmark it! :)

For now, there is only one version of the daily draw results page, so if you visit this web site with your smartphone today, all you will see is a regular web page. Some time next week, if everything goes as planned, when you visit gidapp.com/4 with your smartphone, any smartphone, you will (hopefully) see a web page optimized for your typical tiny phone screen.

Actually, the mobile version of the web site is ready and done but I still need to run some tests before I enable it for the rest of the world. The ultimate goal of this little project of mine is still an Android application, of course. If I am lucky, there may even be a version for the iPhone!

Right, Harsha? :)

I hope you will take a look at my web site, and if you like what you see, please share the site with your family and friends who love nothing more than to check 4D digit number results daily.

Visit gidapp.com/4 every 4D draw day from 19:30hrs. onwards.


Thursday 23 February 2012

GIDApp No. 2

For my second Android™ project/application, which will remain unnamed for the moment, I will first need to gather some historical data from more than a couple of local (Malaysian) web sites. Some of this publicly available data go back as far as as 1985! It is insane to even contemplate fetching all this data by hand and so I had to come up with some kind of software to help me do that easily and quickly.

Previously, I would simply use PHP's fsockopen to quickly grab a web document or 2, or to masquerade as a browser, but this time fsockopen was simply not going to cut it. I needed something a lot easier to set up and one that could survive whatever robot traps there are on these kinds of sites usually.

Curl and Wget

When amateurs like me want to develop software that will masquerade as web robots or crawlers, the obvious choices are of course Wget and Curl. I have had limited experience with Wget, especially when setting up cron jobs on my web servers, but I have never had any with Curl. After quickly doing some research on both, I concluded the one more suited for my needs today is Curl.

It took me nearly 3 weeks, but today I have completed my "web robot" that successfully crawls all the necessary web sites, grabs any document I want, extracts just the information I need and puts it all, very nicely, into a MySQL database!

My custom web crawler, powered by PHP and Curl, is able to connect to a web site, manage cookies, send referrer data, request compressed web pages, navigate itself around a web site to get to the best parts, fetch the document containing the data I want, parse it, just extract the data I need, verify that it is correct, and save it all to the database! And it does this all at the rate of 1.5 minutes for one month's worth of data from one web site.

Considering that I have over 20 years of data to fetch, and that too from more than one web site, it is not bad at all, if you ask me! :)

At this rate, GIDApp No. 2 should be ready in 3 months. :)

Friday 3 February 2012

Buying Cotton Swabs with GIDCompare

A couple of days ago, I was at the local pharmacy and decided I also needed to get myself some cotton buds. Cotton buds are so cheap that I am sure many of us don't even know the price we usually pay for one. I know I didn't. Like regular people, I'd usually just walk into a store, grab the first one that catches my eye or whatever is available on the shelf, pay, leave and not think about it until I run out again.

Since I have GIDCompare installed on my Android™ phone now though, nothing, not even cheap cotton swabs, is going to escape my scrutiny. :)

I must reveal right away that the results below are somewhat shocking and that I am quite disturbed by the price variances I found.

As you will see, if you buy a certain brand of cotton buds at a certain store in Malaysia and if you just happen to choose the wrong packaging, you can pay up to 196% more for the same product!

This particular brand of cotton swab comes in 3 different sizes/packaging. Let us compare the first 2 first:

i. 5x20 sticks @ RM2.90

ii. 2x120 sticks @ RM5.88

Preview image of file
GIDCompare i vs. ii

Preview image of file
GIDCompare Report i vs. ii

Using the 'move' button in GIDCompare, we'll move Package ii up into Item A and fill in the details of our 3rd package in as Item B.  Here is the third product packaged and priced in yet another way:

iii. 5x100 sticks @ RM4.90

Preview image of file
GIDCompare ii vs. iii

Preview image of file
GIDCompare Report ii vs. iii

All 3 packaging compared above contain the exact same product, but can costs a whopping 196% more if you pick/buy the wrong one!

From now on, I am going to use GIDCompare to compare unit cost prices for everything, and I mean EVERYTHING! :)

Wednesday 25 January 2012

72 Hours Later...

We crossed a milestone in just under 72 hours.  Now the app, GIDCompare, is in the "10 - 50 users" category.

Thank God for kind and loving family and friends! :P

I am going to add advertisement banners to the other web sites like GIDForums and see how that will work out for the app.  I am sure there is a lot of potential there to convince the random reader to install the app on her Android device.

If you have a web site or a blog and would like to advertise the app on your web site, you can find some banners here.  The click URL is:
https://market.android.com/details?id=com.gidapp.android.gidcompare



Monday 23 January 2012

Introducing GIDCompare

GIDCompare is my first Android application published to Google Play.

GIDCompare is a simple unit cost price calculator. An ideal tool for shopping, especially grocery shopping. Compare packaging sizes and compare prices to find the most value for your money. A shopping price comparison application to help you find the best buys.

The input fields of the application also accept valid math expressions (formulas,) e.g. "500+375" or "2*4.275" or "23*(1-0.25)".

Download GIDCompare from Google Play.

If you are reading this and you own an Android device, I urge you to install my little Android application and try it out. Please rate it if you like it. If you don't like it, or if you have ideas for me to improve the application, please leave a message here or contact me via email.

I owe a debt of gratitude to all the senior members of GIDForums, past and present, for inspiring me and teaching me everything I know about programming today. Without these great and generous human-beings, I would not even imagine developing an Android application all by myself.

Special thanks to Mr. Dave Evans - an intelligent man, a generous man, a worthy man. Just reading his forum posts everyday for the last few years turned me, a guy who has never had a day of formal computer training his entire life, into a guy who loves programming and getting good at it! :)

Visit the GIDApp Site. Image archive can be found here.

Sunday 22 January 2012

A Web Log for GIDApp.

Welcome to my web log for GIDApp.com.

I am very grateful to Google for making this all so simple and nice. I created this blog in just under 5 minutes and after 15, this post, my first blog of this site, is already written and published to the web!

Now I can spend my valuable time developing Android applications instead of wasting a huge chunk of it figuring out how best to style my web pages! :)

Hello Watch out world!