Gmail is Back in the Apple App Store

Hello All iOS Users

Gmail app is back with lots of fixes on notification. You will need iOS 4 + to use this app.




http://gmailblog.blogspot.com/2011/11/gmail-app-for-ios-available-in-app.htm

A Simple Guide to Migrating your Hosting to server such as EC2 or Rackspace Cloud..

Weather you are doing this for the fun of it or doing for better availability, scalability or pricing; your domain may have the same importance.



Here is a list of steps that can help and may not a be prefect solution all the time but covers many 'oh I should have thought about that stories'.

Stage one:

Ensure that your DNS service allows you to lower you TTL to x seconds / minutes. DYNDNS 
is one such service that allows you to do that.  If you are asking yourself why this should be done the reason is simple. TTL is how long before that new value is queried for. What this means is if your TTL is 30 Seconds, every 30 Seconds you can change your server address. So you potential loss of data is limited to that.

 
Stage two : 
Migrate your email before hand to google apps free or live. Before you set up this forward all mail to new box. This way all mail will still come to your email and will still be live during migration.

Stage 3:
Before you start:
  • Get All your passwords and access mechanisms such as VPN key etc ready and active.
  • Create a situation specific check list which you will need to check in the and before shouting "Im going home !!".

Copy all data and code and the works to new location and test it.  Recommendation use server to server transfer servers are on high bandwidth so its usually faster. Also saves you one step.
Useful commands on Linux.

  • scp
  • ssh
  • rsync
On Amazon EC2, you will need to allow port wise access to get the server accessible via you aws console.





Stage 4: 
 Notify users on upcoming maintenance.

Stage 5: 
Put the old site on maintenance so that new data does not get added during migration after and repeat stage 3  for new data and files.

Tip:
Have a team check and double check every thing. Get your bosses to sign off on working status so that the responsibility is joint.  Expect migration issues due to human error. Address it pro-actively as far as possible.

Important:
Just one more thing have monitoring tools  automatically notify you of downtime as you are in a new setup may be text or email you. Having a blackberry will help for push mails. It better for you to handle it before someone says hey server is down. Media Temple is infamous for unannounced downtime.

Plan for the worst because the best will take care of itself.

All the best for a safe migration!












 
























IOS 5.01 Update Released

Hello iOS Lovers. iOS 5.0.1 is available for download.

  • Fixes Batter life 
  • iCould 
  • Voice over (Australian)
Let us see if Battery Life is better. But  I will tell you what . Looks like WIFI is more active now.

Let me know your experience.







Apple Filesystem HFS+ is cool becase .....

Here are some reasons why HFS is cool

1) It has built in defgrag ( works when needed / possible )

2) Shrink you Filesystem when need. This is a really cool feature!!! Microsoft must learn this trick. But for now MS can depend on GParted under Linux ;P. What is better it moves the recovery partition when system partition resizing! Intelligent resize! MS are you listening!!

3) It can act as a version control system for your files ( want to go back to the old one 2 hours ago? 2 days  or 2 months. Sure Time machine will allow you to do that )!

Note: TM need HFS.







IOS 5.0.1 is in Beta

iOS 5.0.1 is now in Beta.


Download from. http://developer.apple.com







Apple says "

iOS 5.0.1 beta is now available on the iOS Dev Center. It introduces a new way for developers to specify files that should remain on device, even in low storage situations.


"

Does this mean another XCode update ? God Forbid.


I also feel that Apple has started releasing unstable products. Is this a way to tell the world that the are still some capable hands in Apple. If it is, its definitely not working now!


















Create a Lion Recovery Disk using the Lion Recovery Disk Assistant

Here is a good think that i like about OSX Lion. My Mac came with built in rescue disk. Neat !

Press Option  Key during boot and it will turn up.  This is not an alternate to backups. But people using macs seldom say they had a crash.

This is for those time that you are unable to do that. So plan ahead and stay protected as possible.  That could happen. So here is the solution. Needs to be done before hand. Plugin you USB Dirve ( after backing up you data ). You will loose all of it. Create at least 2 partitions one with 1GB and another with the rest of the space.  

Here is a trick. If you are going to use NTFS. make sure the second partition is the 1GB drive else Windows wont like it ! Lion Recovery Disk Assistant should be downloaded form here.

Mount the DMG and run it. Allow the app to run. Choose the 1GB partition and allow it to do its job.

Test it by rebooting while holding the option key and choosing the orange recovery disk.

Once booted you can
  1. Run Terminal
  2. Repartition / Reformat
  3. Use Safari
  4. Restore from Time machine ( So take your backups !) 
Recommended backup software:
Carbon Copy  (Donation ware -pay if you like it!)
SuperDuper and  ( Paid easy to user
TimeMachine  ( You already have it )

Update: New Update of VBox Allows you to see device but does not hand it over to the VBox Guest OS.










Soultion to problem of mounting external disk drives on Virtual Box on Mac OS.

Hey All !

Are you a Mac OS user ( Lion Possibly).  Did you ever think of virtual-izing the Win XP / Wind 7 on your machine with VirtualBox. Well then you have seen that the External drives ( thumb or external HDD) do not turn up or are greyed out ? How annoying !!  I have lost a ton of time on that.

Edit : 
https://www.virtualbox.org/ticket/9762




Looks Like i am not the only one.

https://forums.virtualbox.org/viewtopic.php?f=8&t=45376&p=205964#p205964

Well after a bit of reading forums and and experimenting here is what i realized / learnt.

Note: VirtualBox (VB) will re-create /dev/vb* entries every boot ! Why ???  

So any permission set on this via command line will be lost.

To get your device to work you will need to do the following


Create a file called runvb.sh in your home directory.

# BEGIN SCRIPT 
# I call this by the name runvb.sh

sudo kextunload -b com.apple.iokit.IOUSBMassStorageClass
#sudo kextunload -b com.apple.iokit.IOUSBMassStorageClass
#sudo kextunload -b com.apple.iokit.IOUSBMassStorageClass
# note the commented code above un-comment if you find the kext is not revived.

sudo open -a VirtualBox.app
## END SCRIPT
Note : Unmount and unplug your device first.
Once that happens. Plug in your device only after the VB fully loads.

Try running this with sudo sh ./runvb.sh in the terminal .

next time you want it unplug the device after unmount and restart VB via the script!

Best of luck













Working with MySQL Partitions - Part 1 - Check if it is Enabled.

Steps

Ascertain MySQL is 5.1.16 or above for proper working of partitioning.
Commands:

Show variables
Show plugins


e.g. :

SHOW VARIABLES LIKE '%partition%';

result:

+-------------------+-------+
| Variable_name | Value |
+-------------------+-------+
| have_partitioning | YES |
+-------------------+-------+
1 row in set (0.00 sec)

mysql> SHOW PLUGINS;
+------------+----------+----------------+---------+---------+
| Name | Status | Type | Library | License |
+------------+----------+----------------+---------+---------+
| binlog | ACTIVE | STORAGE ENGINE | NULL | GPL |
| partition | ACTIVE | STORAGE ENGINE | NULL | GPL |
| ARCHIVE | ACTIVE | STORAGE ENGINE | NULL | GPL |
| BLACKHOLE | ACTIVE | STORAGE ENGINE | NULL | GPL |
| CSV | ACTIVE | STORAGE ENGINE | NULL | GPL |
| FEDERATED | DISABLED | STORAGE ENGINE | NULL | GPL |
| MEMORY | ACTIVE | STORAGE ENGINE | NULL | GPL |
| InnoDB | ACTIVE | STORAGE ENGINE | NULL | GPL |
| MRG_MYISAM | ACTIVE | STORAGE ENGINE | NULL | GPL |
| MyISAM | ACTIVE | STORAGE ENGINE | NULL | GPL |
| ndbcluster | DISABLED | STORAGE ENGINE | NULL | GPL |
+------------+----------+----------------+---------+---------+
11 rows in set (0.00 sec)

At this point if you have partition enabled if the above result indicates the availability of the service.

if you are doing a custom build please compile you need to compile the server using the --with-partition option.

Once you have done this you be start the server and check again if the service is enabled.

End of Step on.

Creation of partitions is a relatively easy process.

PHP Goes HipHop

PHP Performance has particular point of interest for many developers and companies. All the more true for FaceBook the second largest* site on the internet.

Facebook recently released HPHP (HipHop).

Supposedly, Facebook sees about a 50% reduction in CPU usage when serving equal amounts of Web traffic when compared to Apache and PHP. Facebook’s API tier can serve twice the traffic using 30% less CPU. Not Bad Eh?

Final result : A binary with a built in web server. Note: It does not process .htaccess yet.

HipHop has been developed on CentOS and Fedora, building on other operating systems may not currently be functional. Support will be added as soon as its ready.
At the moment, HipHop can only run on 64 bits systems.

HipHop currently supports PHP version 5.2 and will be updated to support 5.3.



Should be on debian soon.


HipHop for PHP transforms PHP source code into highly optimized C++. It was developed by Facebook and was released as open source in early 2010.

You will need the following to build


* cmake 2.6 is the minimum version
* g++/gcc 4.1 is the minimum version
* Boost 1.37 is the minimum version
* flex
* bison
* re2c
* libmysql
* libxml2
* libmcrypt
* libicu 4.2 is the minimum version
* openssl
* binutils
* libcap
* gd
* zlib
* tbb Intel's Thread Building Blocks
* Oniguruma

Modifications/ Patches

* libcurl
* src/third_party/libcurl.fb-changes.diff
* libevent 1.4
* src/third_party/libevent.fb-changes.diff

Pretty Nifty and Pretty Uber Cool !!

Go HipHop!

Get Gmail ( java ) and Opera Mini to work on Samsung star or Tocco lite

This is for all those who have not been able to get the Gmail app to work on your Samsung Star Phone. Do NOT forget the read the section that is labeled "Important" especially if you use a Samsung Phone.


For starters you need to have an internet access account with your mobile service provider such as T-Mobile, Airtel or Etisalat or any provider who offers the GPRS service.


Second your set should be Java enabled

Should have enough memory.

First install the 2.0 version of Gmail

At this point you will get error that tells you that you do not have the "appropriate certificate".

Then install the 1.5 version (http://gmail.com/app/v1.5.0/L1/gmail-g.jar)

This does the tick.

What is better is , now you can install opera mini as well.

IMPORTANT ::
When you start an unsigned java app on your phone to protect your privacy it will ask you want to allow the application to connect to the internet. Choose end-call ( right soft key). If you are not using the Samsung touch screen phone choose yet / ok / enter. On the Samsung phone, This will cause the application to ask you if you want to quit , simply choose no. Remember that you will need to do this a ton of times in the initial week ( it is frustrating ) but keep at it and you will succeed. I had to do it approx 20 times.

Also note, it is ideal to remove the proxy setting on the Airtel Mobile office. It slow the request down or kills it.

Relaiable Development Companies in India

Just wanted to list down some reliable software development and companies in India.


Infosys - Banking related and SAP
Wipro - Systems related and SAP
Real Consulting - Web Site Development
Mind Tree - Telco related
NIIT - Good Co work for.

Is PMBOK against Agile ?

Development organizations work towards optimizing software development and delivery. Development teams generally use the Project Management Institute's "A Guide To The Project Management Body of Knowledge" a.k.a (PMBOK).

They may also investigate Agile development methodologies such as Scrum or XP as their popularity. To Generalize Agile is a Delivery methodology.

These clash, when it comes to earned value measurement and few other measurement parameters. PMBOK admits that the project requirement is only "Incremental clear" and will fully be clear only when nearing completion. This is in full alignment for PMBOK. So the truth is delivery is the KEY and marriage of PMBOK to agile is is what can set development process to achieve what it started out to do.

The PBMOK talks about

Initiating
Planing
Executing
Controlling
Closing


Agile process

Envision
Speculate
Explore
Adapt
Close

So if you read the above carefully. One is written with the thought of bringing in formal note the other is about working with the client. Then the question what do you need. The answer is obvious we need both.

For those who are in a relationship or are married clearly know that we need to accept the other instead of trying to get them to change. So I guess it is time for Agile and PMBOK to hug each other.

Let me tell you this is a long term thing -yes pun intended ;) !