Tuesday, September 15, 2009

Security codes for phones

These are the default passwords or security codes for the phones I've been involved with.

Nokia 7210 - default password "12345" (e.g. when trying to delete all phonebook entries)

Song A768 (Chinese) - default password "1122" (e.g. when trying to delete all phonebook entries)

Samsung SGH D807 - "00000000" (This needs a PIN2 code when trying to delete both SIM and Phone address books. But if you try to delete the phone and SIM address books individually, you can use the above password)
The PIN2 code is provided by the SIM card so you may want to check with the provider.

Friday, September 04, 2009

GSM Coverage map

Here's the reference for world frequencies for GSM operators.

http://www.gsmworld.com/roaming/gsminfo/cou_in.shtml

The link is for India, but you can also see coverage for other countries.

Unlocking Samsung E105

credit to cellphoneforums.net

you would need the new network provider's SIM to unlock.

1. Change your phone's password back to 00000000 (8 number zero)
2. Power off your phone.
3. Take battery out --> take your T-Mobile SIM card out of the phone
4. Put ATT card in side the phone --> put battery back --> power phone on.
5. WRONG CARD message would appear on screen (in some case if the phone ask SIM unlock code , just put any number and it will show that message)
6. Enter *#9998*3323# and you see option exit ---> press right softkey to use function EXIT
7. After that one menu will show up, use arrow key go to number 6(or 7) Malloc Fail and use right softkey to choose this one.
8. Your phone will auto restart and now ATT network show on screen
* Until now your phone temporary unlocked ATT SIM CARD, to unlock your phone forever, please continue:
9. On screen, press *0141# and hit call button then screen appear "Persernalized"
10. Turn off phone --> take ATT SIM out --> put T-Mobile SIM in --> Power on
11. Screen ask " SIM unlock code"
12. Please enter 8 number zero : 00000000 ---> OK

Thursday, August 06, 2009

Dell Issues: The AC power adapter type cannot be determined.

The AC power adapter type cannot be determined. Your system will operate slower and the battery will not charge. Please connect a Dell 65W AC adapter or higher for best system operation.

Few weeks ago I started seeing this warning intermittantly when I connect the power adapter to my Dell XPS M1330. But for last few days it was very regular and I barely could charge the battery.

I called up Dell on Tuesday morning and since the laptop was on extended warranty (I need it with my kind of travel and usage), the scheduled a next day service. The guy showed up next day before 10am with a motherboard and a power supply. It turned out that Dell sent him a correct power cord (3-pin) for the adapter but wrong adapter (2-pin). So the technician was not able to test the adapter and had to change the mother board.

He was done in less than 30 minutes and when we put the power in, voila.. it was charging. But before he left, I tried twisting and rotating the power supplu few time and there was this warning again.

So I called him from the car and he called to FedEx me a new adapter next day. So I'm waiting for my new adapter which is supposed to come by 3pm today.

The technician said that there's a chip inside the adapter and in the laptop and generally he sees the problem with the motherboard if they are using a 3pin supply. An specially with m1330 as well.

So, in less than 2 years, this is the second mother board change and I'm off to my third motherboard already. First one was due to their famous GPU (display issue) problem.
Who know what'll happen in another 2 years.

Tuesday, July 28, 2009

Digital Earth launched in beta website.

Digital Earth Inc just launched it beta website.

The functionality looks cool.

Detail at http://blog.pepperlab.com

Wednesday, May 27, 2009

Digital Earth product demo - part II

http://www.youtube.com/watch?v=8NZo3mYdeoQ


Digital Earth product demo - part I

http://www.youtube.com/watch?v=Xn2CpzyvuB4

Wednesday, April 29, 2009

deleting documents from Nutch Index

Here's what you can use to delete documents from the nutch index.

bin/nutch org.apache.nutch.tools.PruneIndexTool crawl/indexes/part-00000 -queries qu.txt -output ou.txt

where
- crawl/indexes/part-00000 contains the indexes

- qu.txt is the file with a list of queries in it. one example being
"site:abc.xxx.com"

- ou.txt is the output of the document urls which (are) will be deleted

If you just want to see which documets will be effected without actually deleting them then use the -dryrun flag also.

bin/nutch org.apache.nutch.tools.PruneIndexTool crawl/indexes/part-00000 -dryrun -queries qu.txt -output ou.txt

US Energy Map


NPR has published an interactive map of US electric grid along with some other details like power plants, solar and wind etc.

I have been thinking about doing something similar for a long time, but this is a great start.

The map includes:


  1. US Electric Grid with existing and proposed lines

  2. Power sources (including Coal, Nuclear, Gas, Hydro, Oil, Biomass, Wind) and their usage in various states.

  3. Power plants (including Coal, Nuclear, Gas, Hydro, Oil, Biomass, Solar, Wind) and their details

  4. Solar power capacity and solar power transmission lines

  5. Wind speed chart and proposed wind power transmission lines by and after 2030

http://www.npr.org/news/graphics/2009/apr/electric-grid/


Thursday, April 23, 2009

Apache Tomcat Native library

Error Message
"The Apache Tomcat Native library which allows optimal performance in production environments was not found"

There are many threads on the internet but most of them fail to resolve this error. What you need is couple of packages in order to get this working.

1) apr
2) tomcat-native

If you use yum, then you can just do

> sudo yum install apr tomcat-native

and this will do all the work, otherwise you might need to find the right rpm/dlls or build these from source.

Thursday, April 16, 2009

What is a ‘green job’ anyway?

Van Jones, social activist and advisor to President Obama says a green job is "a family-supporting, career-track job that directly contributes to preserving or enhancing environmental quality."

http://www.renewableenergyjobs.com/what_is_a_green_job/

Tuesday, April 14, 2009

Nutch 1.0

Nutch has come a long way and just released their 1.0 version. Here's are some thing which I found and might be useful to others as well.


Q: My nutch crawler only seems to find limited set of links and is not indexing all the documents from the website.

A:
i) make sure the depth is defined long enough to crawl thru all the pages.
crawl -d urldir -dir crawl-dir -depth 20 -threads 10-topN 50

ii) make sure the default page size of 65536 is increased to appropriate limit to read the whole page. This is defined with http.content.limit.

iii) Most important is db.max.outlinks.per.page property. Make sure its large enough (or -1) to conver your content. Default is 100.



Q: How do I control which sites are crawled?

A: You can control which sites to control in crawl-urlfilter.txt if you are using the crawl command which is asingle commandfto perform all the steps. If you do not use the crawl command, then you can use db.ignore.external.links property and set it to "true" and it'll use only the sites within the seed list.

Q: How do I crawl only a given set of sites. Should I be using crawl-urlfilter?

A: crawl-urlfilter.txt is used only while crawling and contains the regular expression to control te websites. A better way to do this is using domain-urlfilter.txt where you can specify which domains, TLD or otherwise, to use. Its just a list of domains like
net
xxx.org
foo.bar.cn
in

One thing to note here is if you include "in" as a domain name and one of the "in" sites like http://www.foo.in/ redirects you too www.bar.com/in then you'll end up getting this .com site as well because the urlfilter runs before the fetch and doesn't know about the redirect.

If you don't want this behavior, you can set http.redirect.max to 0 (zero).


Q: How to exclude some file types/extensions which I don't want to crawl.

A: Use suffix-urlfuilter.txt to include file extensions which you don't want.

Sunday, January 11, 2009

Windows 7 on NC4010 - part 2


It failed on installing ZoneAlarm Free Basic version..with the following error.


Windows 7 on NC4010 - Part 1










I decided to check out the new Windows 7 Beta since I wasn't so impressed with Windows Vista and had read great things about how fast Windows 7 is...







Since I still needed a working laptop so I sared my new Dell XPS m1330 and instead installed the Windows 7 beta on the older HP/Compaq NC4010 laptop.


There are many Windows 7 Beta images on the internet but since Microsoft has made it available online you can download it from here:



You'll see that once you select a langauge and version (32bit or 64 bit), it takes you to a sign in page and you need to have Windows Live or a Hotmail account.


After logging in, you'll see a Product Beta key and a button for downloading it. When you start downloading, you'll need to install an ActiveX control for a download manager otherwise it doesn't start the download....


Also if you decide to bypass it and use Firefox, the download button will not work in Firefox and clicking on the button will have not effect.

Similarly, Google Chrome will also not work.

So you are stuck with installing the ActiveX control which you can de-install or de-activate after downloading the complete ISO image.
There are directions as well on the Download page.
Compaq NC4010 is a compact laptop so it doesn't has any DVD/CD bay drive and the issue was how to install?
I copied the complete ISO image in the hard-disk of the laptop and extracted the files using ISOBuster.
Then it was as easy as clicking on Setup.exe to start the installation.
Once you start installing, there are two options: 1) Upgrade or 2) Complete install.
I started with Upgrade but it soon crapped out since I was upgrading from XP and it only supports upgrade from Windows Vista. I then had to choose Complete install but did not do any hard disk partitoning since it would erase my ISO image which was in the same hard disk.
When installing, it renames the previous Windows installation to WINDOWS.OLD which you can erase after the installation finishes.
The installation went pretty event-free and it rebooted couple of times in between but finally prompted my confirm the date and timezone. Next prompt was to create a username and computer name.
It installed most of the drivers automatically but I had to install the Audio, Video drivers seperately and even the XP version of these drivers worked fine.
Although Wireless was a different story (Intel Pro Wireless LAN 2100 3B Mini PCI Adapter). It couldn't auto install the drivers and the XP drivers also failed.
Since HP website does not provide VISTA drivers for this latop, I downloaded the new VISTA drivers for this card from the Intel website and it was fine after that.
Only thing remaining now is the Micro O2 card bus drivers which I'll download and try.
So far, it looks a lot responsive and fast. The boot time is also significantly better.