Thursday, October 4, 2012

Spotlight Indexing Search Disabled - Solution

Having changed my office laptop to a MacBook Pro, I noticed that there were quite a lot of options that were disabled for some internal IT reasons. One such feature, which I like and use the most in Mac is the Spotlight feature.

Here's the steps that I followed to enable the feature, without having to reach my very busy IT team.

The first thing to check if SpotLight is enabled is to look at the file /etc/hostconfig

Check if the highlighted property "SPOTLIGHT" is enabled in this file. If not, add it.

 AFPSERVER=-NO-
 AUTHSERVER=-NO-
 TIMESYNC=-NO-
 QTSSERVER=-NO-
 SPOTLIGHT=-YES-

After you have verified the hostconfig, check if the file ".metadata_never_index" is there in the root directory. If the file exist, delete it. This is a ZERO byte file but exist just to disable the index functionality.


d--x--x--x   8 root  wheel          272 Oct  3 07:22 .DocumentRevisions-V100
drwxr-xr-x   2 root  wheel           68 Jul 26 02:20 .PKInstallSandboxManager
drwx------   5 root  wheel          170 Oct  1 14:15 .Spotlight-V100
d-wx-wx-wt   3 root  100035085      102 Oct  1 14:23 .Trashes
drwx------   5 root  wheel          170 Oct  1 14:21 .com.apple.NetBootX
----------   1 root  admin            0 Jun 21 03:17 .file
drwx------  27 root  wheel          918 Oct  4 15:15 .fseventsd
-rw-------   1 root  wheel        65536 Oct  1 14:15 .hotfiles.btree
-rw-r--r--   1 root  wheel            0 Oct  1 15:26 .metadata_never_index
drwxr-xr-x@  2 root  wheel           68 Jun 21 04:13 .vol
drwxrwxr-x+ 51 root  admin         1734 Oct  2 23:02 Applications
drwxr-xr-x+ 63 root  wheel         2142 Oct  3 09:19 Library
drwxr-xr-x@  3 root  wheel          102 Oct  4 09:19 Network
drwxr-xr-x+  4 root  wheel          136 Oct  1 14:48 System
drwxr-xr-x   7 root  admin          238 Oct  2 21:29 Users
drwxrwxrwt@  3 root  admin          102 Oct  4 11:32 Volumes

Just to be on the safer side, I moved the file to my desktop.

 $sudo mv .metadata_never_index ~/Desktop/

Now, having removed all the configurations that blocks indexing, just start the indexing using the below command:

 $sudo mdutil -i on /

That's it, now I could see the Spotlight already started indexing :)

Tuesday, January 4, 2011

Enabling Tamil Font support in Android

I've been looking for a solution to enable tamil fonts in my android (HTC Magic). Finally I found a simple solution by doing a very simple config change in Opera Mini browser.

1. Download 'Opera Mini' from Android Market
2. Open Opera Mini
3. Open the configuration page by typing "config:" in the address bar and hit 'Go'
4. At the bottom of the page, you'll see an option 'Use bitmap fonts for complex scripts'. Select 'Yes' for this option
5. Save the change and restart your 'Opera Mini' browser.

Enjoy reading tamil on your Android

Wednesday, August 11, 2010

iPhone 4 - The cool gadget. But I still love my HTC Magic.

Since when Apple announced iPhone 4 model, I was waiting to hold that. In fact, this eagerness came in me since when Gizmado revealed the (argumented) iPhone prototype.

Fortunately, all three Telco's in Singapore launched iPhone 4 on the same day - unlike the earlier launch of iPhone where M1 and Starhub started distribution after a long time since SingTel was the sole distributor. I have a M1 connection for ~3 years and I don't like to move out of M1 as I had never faced any problem with M1.

On July 30th iPhone4 was released in Singapore. I had the invite from M1 to collect the phone immediately after the release (i.e., 12am of July 30). But I know I can't be the first set person to collect iPhone 4 as I can't find any reason to go out of home at midnight. Also I wanted to buy the iPhone 4 for my wife as a surprise gift. Also I know Singaporeans are so gadget-savvy and I expected too much crowd. Just as I expected, the next day I read the news that the queue stretched along the orchard road from M1 Shop @ Paragon.

Besides my tight schedule at work, I found some time to collect the iPhone 4 at M1 Shop @ Plaza Singapore.

Okay.. stories aside, let me compare iPhone 4 with my 1.5 years old HTC Magic (HTC Android).

  • First thing I love about iPhone 4 is it's retina display. What a crystal clear text and pictures that it displays. Marvelous.
  • Size: I like my HTC Magic. I think magic is sleek and easily holdable than iPhone.
  • Connectivity: I don't see any difference. Both phones provide good connectivity.
  • Apps: Definitely iPhone has a lot of apps available. Though there are not as many apps for Android as iPhone, but I could find android app for all my needs. So I am quite happy with android.
  • Communications: like Mail, Messages, chat, etc., I definitely love Android. Though iPhone is comparable with android, for some reasons I love to use communications tools in my Android phone.
  • Entertainment: I don't think anyone can beat iPhone (~ iPod) when it comes to entertainment. In fact I still stick to iPod touch for music or movies on the move. Onething I really like to get for my android phone is an application similar to iTunes. I wish I don't copy any music or movies manually. I like the way how iPod / iPhone syncs with iTunes. I am looking for such a tool for a long time.

So as to conclude, I like, in fact love, my HTC Magic rather than the new iPhone 4. Still iPhone 4 is real cool gadget for sure.

Saturday, June 14, 2008

Dhasavatharam - Review- A great disappointment

Today, I watched the movie Dhasavatharam with some kind of expectation. But now I feel it's a great disappointment.

First, let me explain the story briefly. After the 15 mins of 12th century,  the story comes to 21st century. Hero Kamal (character name: Govind) plays role of a bio-tech scientist working on a bio weapon project in US. Govind realizes how crucial effect his bio-weapon can cause to human life and he quits the project. Then finds that his project director has sold the virus (bio-weapon) to some terrorist. Hero then steals the virus from the lab. Inspite of the chase from project director, hero seeks help of his friend. By mistake the case, in which the virus is kept, is sent to India by his friend. 

Person who bought the virus appoints a agent villain (Filcher , another character by Kamal) to get back the virus. Hero and villain fly to India in chase of the virus.  Chase of Hero and Villain to get the bio-weapon is the complete story.

Now, my review about this movie is:

I read some news that Oscar films has invested about 90 crores for this movie. I would definitely say, waste of 90 crores just to prove Kamal's talent. 

The first 15 minutes in the movie, Kamal plays a role of a Vaishnav (Perumal) devotee during 12th century (Kulothunga Chola period). The picturization of this 15 minutes was excellent. Art director has really put a lot of effort to actually bring the Kulothunga Chola period to reality. Kamal's acting in this character was also perfect. I thought this movie has something to deal with archeology or something. Till the climax I was waiting for some reason and explanation for this 15 minute scene. The first disappointment is, I couldn't find any reason for this character. There was not even a single explanation for this 15 min scene.

There were a lot of unnecessary roles in the movie. I think, Kamal has introduced a lot of characters unnecessary just to show his talent in acting. Ten characters that Kamal has done are:

1. Hero Govind - Reasonable
2. Villan Felcher - Reasonable
3.  RAW officer - Balram Naidu - Reasonable
4. Nambi - Okay - But what's the need of this 15 mins scene ?
5. Asin's Grandma - Reasonable

All the other roles below are unnecessary. But Kamal's acting is really EXCELLENT in all these roles. But what's the use of these characters?

6.  Avtar Singh - Okay - Acceptable
7. Poovaraagan - Kamal's acting and this characterization are excellent. Reason ?
8. George Bush - Oops :(
9. Tallest man - Kalif Ullah - Miserable 
10. Japanese martial arts expert - Just used for the climax.  

My question is: does Kamal thinks acting in multi-faced characters as technically advanced thing ?

Asin's character - A talketive character. But I used to wait for Asin to shut her mouth in the movie.

I expected this movie to have lot of technical aspects. Talking about it, I would say the Tsunami scene was excellent and it bought a tsunami as live to our eyes. But except the 10 characters and few other scenes I don't see any thing technical.

Kamal should have worked still on the screenplay to make the second-half of the movie interesting. Lot of dragging scenes in the second-half. 

All I could say about this movie is: WE ARE NOT THE VICTIM FOR KAMAL TO PROVE HIS TALENTS.

Thursday, April 10, 2008

Excellent Novel - Sila Nerangalil Sila Manithargal (சில நேரஙகளில் சில மனிதர்கள்)

Last week I registered membership with Singapore National Library. I didn't expect that Singapore library will have such a good collection of Tamil books. Since I came to Singapore, I didn't had a chance to read Tamil Novels. So, I thought of lending a tamil book.

At first sight, I found Jeyakanthan's 'Sila Nerangalil Sila Manithargal (சில நேரஙகளில் சில மனிதர்கள்)' and I didn't had any hesitation to take it home. The reason being this book (JK's Sila Nerangalil Sila Manithargal) won the Sahithya Academy award and I knew there were a lot of controversies about this book. In fact, all most all of JK's writing would have been discussed in controversy forums.

Day before yesterday, I had completed only about 70 pages. But yesterday, I was not able to go to sleep without completing the novel. It was such an amazing novel. I would say, in Tamil, I had never read such a good novel. I really started admiring about JK's story-telling skills.

First thing I was impressed in the novel is characterization. I was able to picturize each and every character in the novel, even small characters like office peon (Rangasamy). Another highlight is story narration. Anyone should be able to feel Ganga's mental confusion, after she had become close to Prabhu.

Yesterday I was desperate to complete the novel and after closing it (at 3:00 in the morning), I didn't get any sleep. I was arguing myself (in my mind) about the climax of the novel. Initially I thought the novel would have been finished saying Ganga gone back to her lonely life. But the author's climax is the best suitable one. If the climax was in any other way, he wouldn't have got Academy award or any fame.

I had never written any critics or review. But this novel inspired me to scribble here.

I would definitely suggest, if you had not read the novel, please go find it somewhere. Also I am sure once you open the novel, you will definitely be reluctant to close the book till you complete it.

Tuesday, April 1, 2008

Apple iPhone vs. Sony Ericsson XPERIA X1

The Sony Ericsson XPERIA X1 is the new kid on the Windows Mobile block. Announced at the 2008 World Mobile Congress in Spain, the X1, with HSPA and an iPhone-esque touchscreen interface, could be the new handset to show off in the boardroom.


Apple iPhone
Apple iPhone
Sony Ericsson XPERIA X1
Sony Ericsson XPERIA X1
Operating systemMac OS XWindows Mobile 6.1
3GNoYes (HSPA-enhanced)
Camera resolution2 megapixels3.2 megapixels
Camera flashNoLED photo light
BrowserSafariInternet Explorer
E-mailDisplays HTML-rich; Push IMAP (Yahoo); IMAP/POP3; push email via ExchangePOP3/SMTP/IMAP; HTML; push email via Exchange
Media playeriTunesWindows Media Player
A-GPSNoYes
Pre-installed mapsGoogle MapsGoogle Maps
TouchscreenYes (multi-touch sensors)Yes
Alternate InputNoneQWERTY keypad, optical joystick
Screen8.9cm (320x480 pixels)7.6cm (800x480 pixels)
Weight136g145g
Processor speed620MHz528MHz
Memory8GB/16GB400MB
Expansion slotNonemicroSD
Replaceable batteryNoYes
Battery - talk time8 hoursUnknown
Battery - audio playback24 hoursUnknown
MMS (for sending pictures and video)NoYes
IM (instant messaging)Yes - AIMYes - Windows Live
Video callingNoYes
Video captureNoYes
Access to MS OfficeYes - read onlyYes - editable
User installable 3rd-party appsAs of June '08Yes
Accelerometer changes screen orientation when rotatedYesNo
Proximity sensor (turns screen off when put up to your ear)YesNo
Threaded SMSYesYes
Supports stereo Bluetooth (A2DP)NoYes
Locked to carrierYesNo
PriceUS$399 - 8GB, US$499 16GB  - 2 year contractUnknown