Cloudify me

It was for about 6 years ago when I worked as an on-site consultant for a large Multi National Oil Company that I saw the implementation of what we call it ‘cloud’ computing today, well maybe not quite the same in the sense of nearly-anywhere-availability. At that time I was enabled to use any computer in the company domain using my temporary credentials and auto magically all of my settings and documents will be there. My bookmarks and browser settings were there, all of my working documents are on “My Documents” folder ready to be updated.

It was later I found out that all my documents are stored in a Storage Attached Network (SAN), and every time I logged into an computer, automatically my roaming profiles will be in effect thus mounting my personalized details such as my personal registries and documents to that computer. It was one of it’s kind, not many companies doing that at that time and I must admit that it was very convenient that I can logged in to any computer and do my works without having to carry my documents around. However, this implementation did not take what cloud computing are offers today. The modern implementation is beyond that.

Google Docs View

Google Docs View

Nowadays, cloud computing is very popular. Many companies are doing it such as Amazon (S3), Google (Google apps, Google docs), Microsoft (Azure) to name a few. What they are doing is to take the applications and documents in the clouds. Take google docs for example, this implementation is for personal or companies who doesn’t need a full blown office applications or their workers are highly mobile. Each of the team member or person can logged in into their google accounts and create/modify regular office documents. These application and documents are virtually available on the ‘clouds’ long as there is internet connection and a browser. Furthermore, the documents can be shared among the team members in an easy way. As for me, I also find it convenient using Google Docs to create and edit some of my personal documents.

Dropbox on iPad

Dropbox on iPad

For storage purpose, I choose Dropbox with it’s free 2 Gigabytes of storage (it’s a pay service for more than that). I found it easy for me to store documents that will be edited across desktop and portable computers in my household. The clients are also available on Linux, Mac OSX and iDevices. So every time needed, I can logged in to any of the devices and edit the documents as if it’s in my local storage and automatically sync into dropbox’s cloud storage. It also has a handy document revision features, i.e. it will create two copy of the documents versions created in two device at once.

The popularity of cloud model is also applied to web services. Google generously offers their system to be a Content Delivery Network (CDN) for commonly used AJAX libraries. This site of mine is also use Google as the jQuery library CDN. The reason behind this is because jQuery library is a common and famous library and it can speed up things up if it is served from a site as Google servers, it also promote caching too from the user’s browser point of view. The other thing of this site cloud implementation is image storage, it uses google picasa storage as you may notice if you carefully inspecting the images URLs. Some moving further to use dropbox as a full CDN for their wordpress’s theme files, thus offloading precious hosting storage for other use.

I am not surprised if in the future this model will replace locally stored documents and applications. Local harddisk is notoriously easy to fail since it uses moving parts, while the Solid Disk Drive is expensive. Internet speed are picking up and transferring megabytes of data through the internet is nolonger a luxulury. Meanwhile, I slowly change all my computing behavior to the cloud. Cloudify Me.

Boost iPhone ‘speed’ by using Google DNS on Mobile Data Network

Having an old-yet-trusty iPhone 3G version is really testing my nerve. With the latest 4.2.1, the latest iOS it can support, it only runs like a camel carrying elephant, well maybe I exaggerated. But yes, it is slow.

Opening applications seems like forever, answering a call while an application running is also frustating. The swipe-to-answer mechanism is becoming scratch-to-answer, fells like a monkey finding a bug. But upgrading to iOS 4 was a mandatory thing since more and more appplication can only run on version 4.

Enough said, no more pitty-party, let’s find a fun thing to do on this interesting platform.

DISCLAIMER, this following procedures is for experimental only, I am not responsible for any bad things caused by this experiment.

Let’s see, there are plenty of things to consider when optimizing a system. Defragmenting, processor upgrade, memory upgrade to name a few, none of them are relevant to i device. Well there is one trick that can be done: DNS.

Yes, it might be the only one we can do right now. It’s easy to change DNS settings when using Wifi connection, it only requires changes on the IP setting for that particular connection. But for unknown reason as usual, Apple decided not to include this DNS setting on mobile network.

To complicate the problem, according to Saurik, the guy behind Cydia found here the name-to-IP mechanism on iOS is somewhat different than its *nix brothers. Usually the name server configuration should be placed in /etc/resolv.conf, some variant placed them on /var/resolv.conf but soft-linked to the former. Having proved this myself, created these two files on the iOS filesystem with no luck.

Thanks to this tutorial which tells us that Darwin Kernel in which all of the Apple Operating System derived from, somewhat mysterious on the way they do the name resolving stuff.

Well, if you are having plenty of time to spare you may see those links to study about the behind the scene stories and the mumbo jumbo things surrounding this mystery. But to make things simpler, I’ve created a simple script here that you can try.

#!/bin/sh
state=`echo "list State:/Network/Service/[^/]+/DNS" | scutil | awk '{print $4}'` 

scutil << EOF
get $state
d.add ServerAddresses * 8.8.4.4 8.8.8.8
set $state
show $state
EOF

 

Make sure that you have mobile terminal handy to run this script as root. Since the Mobile Terminal on the default Cydia repository is not compatible yet with iOS 4, please see here for step by step installing the program on your iPhone.

If you are curious about what this script is doing, it simply find an entry on the Darwin Kernel for the name resolver using ‘list’ command on scutil. The value of the GUID then feeded into scutil again, but for the purpose of changing the name server to Google’s name server.

This script is not persistence, it will replaced by the Operator’s setting if the data connection is restarted. But hey, for the purpose of fun, this one is quite great :)

 

Mobile Era

Recently the mobile device is one of the most significant thing in human life, even after purse. One can get easily distracted if they forgot their mobile device home, and maybe will turn around to get it, the case will be slightly different if they found that what’ve been left is the purse.

Getting mobile device is also a lot of easier nowadays, only by less than $30 to get, and the cost of running it is also cheaper. Operators are like crazy offering packages and offers, luring new subscribers or, hopefully, converts.

This competition will certainly lowering their ARPU (Average Revenue Per User) figure, but the key of getting the profit is the volume of subscriber and calls or texts. The other new stream of revenue is the need of the people demanding Internet connection on their mobile device.

Online everywhere, whenever needed becoming new trends. This kind of life style is supported by new mobile gadgets that are more and more sophisticated, smart and also faster. These gadgets are a mean of tools, communication device, entertainment as well as status pendant to some.

Wether we like it or not, now is the new era where mobile devices are parts of human life. In addition to that, the technology enables these devices to function more or less as personal computer, multimedia platform and also a gateway to the cyber world.

Scary fact on jail broken iPhones

iPhone.jpg

iPhone Screenshot

Did you know that:

  • iPhone OS is basically an *nix variant?
  • Every *nix system will have at least 1 administrator called ‘root’ and some regular user?
  • Every iPhone shipped is having same ‘root’ password and a regular user

So is it dangerous? Not exactly. On regular iPhone device there is noway for somebody to exploit those userid and password, *but* it will be completely differrent when we are talking about jailbroken device. So if you are a novice user and faithful user of app store then nothing to worry about. You can safely stop reading here and have a nice dream.

But if you are having a jailbroken device then you have to worry, don’t ever install OpenSSH package before you change the default passwords

How? Simply download console package from cydia and do a regular password change procedure (just google on it) don’t forget on root password too.

 

New equation

Having seen the new ads in Star World for a new season of ‘Eureka’, it display some equation and one of it strike my mind immediately. It says:

Life – Dreams = Job

Do I still manage to maintain my dreams? Or worse, do I still dreaming? Post me your comments

Now it’s late, I have to ‘dream’ (literally :) )

Qumana

I’m trying to find a way to edit blog using OSX (free one of course), and this program seems the right one.

This post is made by Qumana

“Life” PageRank

Having amazed by what of the two ‘boys’ from Stanford of what they have done which is also known of one of the most important invention in the Internet History. Sergei Brin and Larry Page still in their early 30s are doing of what Internet people are dreaming: having fun and make money. No doubt they have the two.

More