Nexus 4 has arrived! Initial impressions

After a long two week wait, Google has brightened my day with this beautiful box (see below).

image

Here is a quick overall rating on the Nexus 4 components:

Performance: 5/5
Extremely fast and fluid. Never hiccupped even once throughout heavy daily use. Helps that it’s running 4.2.1.

Battery Life: 3.5/5
Four hours on WiFi and GPS have drained my fully charged battery to 42%. This beast is power hungry but is expected for these specs and screen.

Screen Quality: 5/5
Clean, crisp and bright

Screen Size: 4/5
Akward space on the sides for some apps. Doesn’t feel as big as it should because of the dedicated spot for buttons at the bottom. [Update] On a second thought, after using it for a week the screen size is perfect!

Camera: 3.5/5
Crisp, clear daytime shots. Up close night time shots are too white/bleached when using flash. Not as good as the iPhone 5 camera for night shots

Overall: 4/5
Although it has some mishaps, it’s overall an amazing phone.

My initial impression as soon as i opened the box was the phone’s weight. It feels extremely light, almost too light, but is quite solid unlike the iPhone 5. After using the phone for a couple hours I got the feeling that the screen is a bit too wide. In a way it feels like I am using one of the wide blackberries from 2006. Its probably an illusion because of the way the buttons are displayed on the bottom of the screen. [Note: I’ve come from using a long line of Android phones with hardware buttons on the bottom]. But after about a weeks use the screen size has grown on me and is ideal.

To keep it short, those upgrading to the Nexus 4 from a 2.3 android device or a smartphone of about two years, the transition is going to take a week or so but you will absolutely fall in love with the phone in the process.

Google IO 2012 SOLD OUT in under 30min! – Registration Disappointment This Year

This year’s registration sold out in under 30 minutes with academia tickets selling out in under 15!

Long story cut short, my request goes in 7:00:03, sorry no tickets are available after 5 minutes of staring at the dreadful ajax loader. 15minutes later all academia tickets sold out. I had hope high hopes this year. /rant

Congradulations to everyone that scored one and now I leave you with the screenshot that will stuck in my head for the rest of the year.

iPhone 4s release party – Silicon Valley

image

image

And the wait has started for the most anticipated release of the month.

Migrating a previous Drupal 6 Installation

*Edit: I’m in the process of adding more information and images to the tutorial*

Before we begin:

For this tutorial I’m using MAMP and a previous installation of Drupal 6. We are going to be moving the previous Drupal installation onto a new computer and reinstantiating it so it is identical to the previous install. To do this you need the previous installation folder and a backup of the SQL database.

Now lets start.

Copy your Drupal site folder into the htdocs folder of MAMP (or htdocs of whichever local web development environment you are using).

Navigate to the “default” folder which is located in /htdocs/sites/default.

Make a new folder on your desktop called “default”. (The purpose of this step is to avoid getting the privilege errors when using a drupal installation that was originally used on another computer or one that does not have privileges allowed on your computer. This can be bypassed by chmod 755 your “default” folder but it does not always work for everyone so this is an alternative way).

If a “files” folder exists in your “default” folder, copy over the “files” folder from /sites/default/ into your “default” folder on the desktop.

Navigate back to /htdocs/sites/default and open up default.settings.php from in your favorite text editor. Save it as default.settings.php and as settings.php in your “default” folder on your desktop.

Now delete the “default folder” in /htdocs/sites/ and copy over the “default” folder from your desktop into /htdocs/sites/  (What this essential does is get rid of the restricted permission on the default folder and allow you to have full rwx control since you created the folder).

Open up your preferences page in MAMP and click on the phpMyAdmin page. Go to the ‘privileges’ tab, then click add new user.

Select a username, in this case you can call it “drupal”. In the Host drop down box choose local and it should fill in the field with “localhost”. Choose no password from the password drop down (less secure), or use text field if you wish to use a password.

In the Database for user box, select the second option, “Create database with same name and…” then scroll down to the bottom and hit go.

You should have a user and database with the name drupal created (you can see the database name on the left).

Now back to the “default” folder in /sites/ open up the settings.php and scroll down to the $db_url variable. It should look like this  $db_url = ‘mysql://username:password@localhost/databasename’;

Change the $db_url variable to match your database information you previously created. Mine looks like this  $db_url = ‘mysql://drupal@localhost/drupal’;

You are now ready to install your drupal site.

Navigate to your browser and type localhost:8888 in your url bar.

Drupal should start the installation page.

On the page asking for database information, enter the information you previously created.

On the next page, the information you choose is up to you (the admin email, password, etc…)

Your drupal installation should now be complete. The only thing left to do is import your previous database information into the new drupal database.

To migrate your previous .sql databse go to phpMyAdmin and select the drupal databse on the left hand side. Now go to the import tab (rightmost one) and choose the file location of your previously exported .sql database. Hit go and you should be set.