Apple: Think Different?

Apple laptops in class

I’m just going to put this out here.

Posted in Apple | Tagged , | Leave a comment

One bad apple. Baaaad apple.

So yes. It appears that I am unlucky with lock buttons. First my Nexus One’s power button went kaput last year and now my iPhone’s lock/power button has gone nuts.

Seriously. I was walking down an escalator, one moment it was working fine and next minute I can hardly press it. It’s physically stuck. The 3 months old iPhone decided to malfunction in the middle of my 5 days vacation to Bandung. Marvelous.

iPhone 4 lock button

Since I was in Paris Van Java when the incident took place, I quickly head to ZOOM to see if they can fix it. As expected they’re pulling a “fix it where you bought it” move so I had to wait until I got back to Bali a couple of days later. Bali’s PCMax being a very reliable Apple authorized service provider said that they will help claim the warranty to Jakarta, this will take 2 weeks to do. Minimum 2 weeks.

Awesome.

I thought about the option of fixing it somewhere else but it will most definitely void the warranty. And I really really don’t want to void the warranty because who knows what else will break next. Perhaps the home button? Likely.

Posted in Apple, Gizmo | Tagged , , , | Leave a comment

How to disable password confirmation field on Drupal registration form

Having a password confirmation field in the registration form is neat, it makes sure the user types in the right password everytime. While I agree that this is a good user experience sometimes I have the need to remove the extra confirmation field, today the reason I did this was because the client agreed on the design having no such field. In this particular project I don’t have to worry about the user entering the wrong password than what they intended because I have a fully working Forgot Password page.

In short, what we can do to remove this field is to change the password field’s #type value before the registration form is rendered. This is achievable via a custom module (read more about developing your own module here) and hook_form_alter. Here I’ll be creating a module to do this. The module itself contains 2 files, one .info and one actual .module file.

Info file: disablepassconfirmation.info

name = Disable password confirmation
description = Disable password confirmation on Drupal registration form
core = 7.x
version = 7.x-1.0
package = Custom

Module file: disablepassconfirmation.module

<?php
/**
* Implements hook_form_alter().
*/
function disablepassconfirmation_form_alter(&$form, &$form_state, $form_id)
{
	switch ($form_id) {
		case 'user_register_form': // only do this on the user register
		  $form['account']['pass']['#type'] = "password"; //change the password input box type from confirm_password to password
		break;
	}
}

This module basically changes the type of the password input from ‘confirm_password’ to ‘password’ and Drupal renders it as standard password.

Et voila!

Posted in Drupal | Tagged , , , | Leave a comment

Check the warranty status of your Apple devices online

Don’t remember when you bought your iPhone/iPad/Macbook? Not sure where your warranty ends?

Worry not, Apple website has a tool that lets us check our Apple device warranty online – immediately. Check out https://selfsolve.apple.com/agreementWarrantyDynamic.do

You will have to enter your device’s serial number. On iOS (iPhone, iPod Touch, iPad) it’s located in the Settings > General > About. I’m not sure if it can be copied from there directly though.

On OSX you can click on the  menu on the menu bar and select About This Mac. It will then open up a dialog window where you can click on <More Info> button.

Macbook Pro serial number

There you go. Paste that to https://selfsolve.apple.com/agreementWarrantyDynamic.do and you’ll get your warranty period.

As a fellow sane person I’d recommend you to get the AppleCare protection plan 1 month before your warranty wears off, not later. Fixing an Apple hardware is expensive, this could save you a lot of $$.

Posted in Apple, Gizmo | Tagged , , | Leave a comment

Le Nexus S

Nexus One and Nexus S

A few weeks back my Nexus One started to show the power button degradation issue, it’s a known issue and I couldn’t say I didn’t expect it to happen on my almost 2 y/o Nexus One. A few days after it started showing the signs of degradation, the power button was completely non-functional. Although there are ways to still use the Nexus One without the power button (as in above link) – I felt like it was time to get another one.

And the choice falls the successor of Google’s phone – the Nexus S.

There are many other Android phones out there, but I know this one will simply get the OS updates first. So yeah. I’ll probably give it a review in a week or so, if I’m not lazy (or working on plenty of websites).

Posted in Gizmo | Tagged , , | 1 Comment

End of an era

I bought dudut.com on 2006, around the time I got started doing web development. I was so green and foolish back then, I used the subdomain anima.dudut.com to log my foolish thoughts. It was around then weblogs became a blast and everyone in Indonesia started to do it.

That was my break.

In 2006 I started being social on the internet, thanks to local blogs I met cool people who were very good at what they do. And I also started using WordPress for my clients’ site as well as my own. I remember back then people would change their blog layout on daily basis just to showoff and keep the blogging spirit alive. And I grew quickly, it was great.

Looking back at the archives I realized that I am not the same person anymore, and there were some really cheesy and irrelevant stuff there so I decided to take the entire domain down. As of now, this is my only playground.

Welcome to priapurnama.me, site coming live in the next fool moon :)

Posted in Blog | Leave a comment

Working nomad

I came up with the term ‘working nomad’ a few years ago when I was still working for Trippert Labs (aka Playdom) to help build Facebook apps and iPhone games. It was my first remote work, I was not required to work at an office because that wouldn’t be remote would it?

The office was located in California and I was in Bali.

I had the brightest idea that I could work from home using a 3G modem as my primary internet connection back then, that was a dumb idea. You see, getting decent internet service provider in Bali is a pain in the ass. The wireless ones are slow and the wired ones are either difficult to get or expensive. Or both.

So the first few days was filled with screaming and cursing the 3G modem and Indosat IM2. Then on one bright day I got an assignment to slice a 30-something MB .psd file, so I decided to go out to download the file. My destination back then was Dunkin Donuts in Simpang Enam Denpasar, their donut sucks but they have decent wifi and aircon. So I went there, downloaded the damn file and sliced it. It was then I realized that it was good.

It had everything an office can offer: internet, good seating, aircon. So I started coming there everyday to work.

Unfortunately Dunkin Donuts also had internet outages, so I had to find other alternatives. Several places came to the rescue: Tiara Dewata food court, Baker’s Corner and Djendelo cafe.

This was the primary age of working nomad for me. In the morning I would come to Dunkin Donuts, have lunch somewhere nearby, and then continue working at another cafe. On good days I dont have to worry about the weather and internet (and electricity) outages, but when that happens I always have my 3G modem for backup and work from home.

Alas, the era had to come to and end when I took a job offer at Water&Stone last year. But the habit stays, I still work at cafes occassionally when I have freelance work to do even until now. Working like this benefits me, because I get to work around people but not with people. I also get to do my favorite thing: people-watching. Wouldn’t you like that too?

Posted in Blog | Tagged , | Leave a comment