Sunday, April 4, 2010

Apple I-Pad unearthed::::

The most awaited I-PAD:::::::::::Secrets has been revealed by Luke Soules within an hour of the launch

Details are as follows:

The secretive Apple is famous for designing sealed-up devices intended to discourage nosy gadget heads from poking around in them, and the iPad was no different.

The iPad had no screws. But working with a tool called a spudger, it took Soules only 10 minutes to separate the iPad's handsome, 9.7-inch facing from its silver-backed casing.

He surveyed the iPad's design, a maze of parts that would be utterly inscrutable to most people.

"That's very, very nice," he said almost reverentially.


IPAD'S SOUL::

Teardown firms are hired by an array of clients, their data used for competitive intelligence, in patent disputes or to keep current on industry benchmarks.

By 9:30 a.m., Soules had turned the iPad inside out and was sharing its secrets with the world.

There is strong competition to be first to tear open Apple devices and reveal the design, chips and components within and iFixit has gained a measure of fame for their work.

Months of anticipation had built ahead of the iPad launch and -- at least in technology circles -- almost as much excitement about what's on the inside of the device.

Within 45 minutes, iFixit had left the iPad -- the gleaming symbol of Apple's technological wizardry -- in tatters, its various parts naked against a crisp white backdrop.

Soules moved at a rapid clip, narrating as he took pictures and streamed to colleague Kyle Wiens and others in California, who were posting them online and helping identify parts.

IFixit's near-live teardowns have become staples for gadget fans during Apple product launches.

As a veteran of many previous efforts, Soules was prepared for any tricks Apple might throw his way, but the iPad didn't prove to be too enormous of a challenge to take apart, as some of previous devices have.

Soules had removed the main circuit board of the iPad by 10 a.m. The 4-inch long, 1-ounce board was covered by an electromagnetic interference shield, and underneath were all the microprocessors that make the device tick.

"The vast majority of the brains of the iPad are on this little board. It's amazing what they can fit into such a small space," Soules said.


DEVIL IN THE DETAILS::

One of first identifiable parts was the NAND flash memory, which was made by Samsung Electronics, which has supplied components for other Apple devices. Soules also quickly noted chips from Broadcom Corp and Texas Instruments Inc.

There were also at least three chips carrying Apple branding. Apple is known to hide the identities of some chipmakers in its products by having them stamp an Apple logo on their parts. The main iPad chip is an Apple creation; its very own A4 processor controls the iPad's programs.

After removing the circuit board, Soules dug in further using a Torx screwdriver to manipulate the minuscule screws inside THE iPad. His fingernails gingerly pried open casings.

"The teardown process is bit easier if I keep my fingernails on the long side," he said.

Soules discovered the iPad's battery is not soldered into place, which means that replacing it is possible for the do-it-yourself crowd. IFixit promotes device repair as a way to cut down on electronic waste.

Apple requires users to mail iPad units back to the company, which will change the battery for a hefty fee.

By 10:45 a.m. Soules was cautiously fiddling with the iPad's display, the most expensive component. A big question is who makes it, but that question was not answered definitively. He peeled back a sticker, hoping to see a manufacturer's name underneath, but found only an indecipherable serial number.

"Not this time," he said quietly.

Besides Richmond, iFixit had also ordered iPads at addresses near Indianapolis and Orlando, Florida. The company had people in both areas, home to FedEx shipping hubs.

IFixit thought it might be able to get a few hours jump on the competition by staking out the FedEx hubs the morning of the launch, to intercept one of the devices.

But that didn't pan out, so they resorted to standing in line -- at the head of the line actually -- in three cities.

The Federal Communications Commission also managed to steal at least some of iFixit's thunder. Bloggers discovered on Friday that the FCC had posted pictures of the insides of pre-production iPads on its Web site, despite the fact that Apple had requested that they keep them confidential.

IFixit spent much of the night identifying the parts, which were not necessarily the same as those in real iPads.

By noon on Saturday, the bulk of the iPad teardown was done. But there will be at least another week of analysis, using sophisticated equipment that can cut into components to determine how they were made, and who made them.

Some ripped out images for u::::::::::::::







And most important of all::: Check out full details on Ifix website

Thursday, March 4, 2010

Google adds more STARS to its search

Now star mark your search results.........
We all have wasted lots of time to search back results we once found....
No more. Today Google announced a new feature in search that makes it easier for you to mark and rediscover your favorite web content — stars.


With stars, you can simply click the star marker on any search result or map and the next time you perform a search, that item will appear in a special list right at the top of your results when relevant.


The great thing about stars is that you don't have to keep track of them. You don't even have to remember whether or not you starred something. Simply perform a search and you'll rediscover your starred items right when you need them.


For more details visit Google Blog

Increasing Java Heap Size & Largest prime Number

Today I was trying to do this nonsense of computing large prime numbers....
Very soon I found out that the largest prime number known as of now "contains 13 million digits".
More details can be seen on wikipedia.

Well jokes apart......
I am using java and I came across the fact that the default maximum size of java heap is 128 M.
This is truly frustrating as for large scale applications this is sure to give "java.lang.OutOfMemoryError: Java heap space" error or may be slow results.

We can simply increase the heap space by providing a VM arguement with the program.

For eg if ur java class name is MyJava.class. You can run the program with increased heap size uing the command:

>>java -Xmx256m MyJava

or in case of IDEs just supply the vm args under the Arguements tab as -Xmx256m and run the program.

This is an example to run program with heap size 256m, you can use any desired value provided that you have the resources.

Note: This is not a permanent change to the jvm,,,, heap space is permited only for once for the specific deployement.

Sunday, February 28, 2010

Deleted libmysqlclient15 or package missing

This is something really wierd I did few days back. 

libmysqlclient15 is no more available in the repositories as it has been replaced by the latest version 16. 
But mysql admin still needs the old version to run. So we must have old version to run the mysql from terminal

Dont panic just reinstall the package libmysqlclient15off. You can do it from the synaptics package manager or just type
sudo apt-get install libmysqlclient15off --reinstall.

This package is also important as amarok, mysql workbench and few other important packages are dependent on it. Though all of them can use the newer version but mysql server can not be run without libmysqlclient 15..... This is bad and I hope will soon be solved.

Note: Dont even think of uninstalling and then installing again..... It will wipe out many packages which depend on libmysqlclient

Configuring MySQL Workbench (GUI tool)

Well very recently I had  a real bad time configuring MySQL workbench on my system.
Whenever I try to connect to the database using the "Connection Manager", it displays the error "libmysqlclient_r.so" not found".

This happens to be a known bug in the workbench. Just dont linger around.... Simply create a soft link to the already existing libmysqlclient_r.so.16.0.0  or may be u have another version 15.0.0.

Just type:
 sudo ln -sf /usr/lib/libmysqlclient_r.so.16.0.0 /usr/lib/libmysqlclient_r.so


or if u have libmysqlclient 15.0.0 then 
sudo ln -sf /usr/lib/libmysqlclient_r.so.15.0.0 /usr/lib/libmysqlclient_r.so


The worbench will work like  a charm.

Wednesday, December 9, 2009

Chrome Beta is here

Hi guys the wait is over....
Google launches the linux version of its superfast browser.
According to Google 50 open source contributor worked on chromium and helped to bring out the linux version.
All extensions and updates will be available on the standard repositories.
So have fun and cheers..............

Download Goolge Chrome for linux here.
The themes can be downloaded here

Thursday, November 12, 2009

Acess to External Hard Drive

I recently faced this problem of writing to my external hard drive with EXT3 Partition.

For partitioning use gparted. If not previously installed type sudo apt-get install gparted.

Now to have write access to the partition type gksudo nautilus. It will open a new window in root mode. Now navigate to your drive, right click and select the permission tab.
Change the Owner drop-down menu to your name, then change Folder Access to Create & Delete Files, then File Access to Read & Write, then Group to your name, Folder Access to Create & Delete Files, File Access to Read & Write then click Apply Permissions To Enclosed Files.

You will now have full access to your drive.

Monday, August 3, 2009

Google Gadgets

Google Desktop for windows comes up with all the features like search, sidebar and GADGETS. Well now bingo for linux users,,, you can download the google gadgets for linux and run your favourite application right from ur desktop on ur loving linux platform.

The source code can be downloaded from here. A careful compilation is required with loads of pre-requirements. If you are not interested in source code you can directly install the prebuilt binary package.

Well whatever you do Please read QuickStart and HowToBuild carefully before building and using Google Gadgets for Linux. Or u might end up messing up.

Spice up and have fun.

Screenshot:

Thursday, July 23, 2009

Spice up Linux with Google Desktop

Well products from google are always great. As we all wait for chrome for linux we have in hand this Google desktop utility. To Download it directly click here.

Have fun

Thursday, March 5, 2009

Installing slackware packages

Slackware packages are usually .tgz files containing pre-built binaries. To install software in slackware you will need to find and download the .tgz package manually beforehand. If you are looking for a slackware package for a piece of software and have not found it yet, search Linux Packages for it.

Ok, once we have our package, lets install it. To install slackware packages, ensure you are the root user using the su command:

Now run the following command to install the package:
Code:
installpkg packagename.tgz

Uninstalling a package is also quite simple:
Code:
removepkg packagename

Also worth noting about slackware packages, is a utility called pkgtool which will allow you to install, remove and list packages on your system. To use pkgtool, run:
Code:
pkgtool
and follow onscreen prompts.

Lastly, if you are having trouble locating a slackware package, but have been able to find a equivilent RPM, you can "convert" that RPM to a slackware package which you can use with the installpkg and removepkg commands. To convert your RPM to .tgz, use the command:
Code:
rpm2tgz packagename.rpm


Installing with fedora / yum

Most of the same commands used with Debian's apt-get are used with yum, such as

yum install
yum remove
yum update

Installing Binary Files and Scripts (.BIN/.SH)

For BIN files:

1. Make sure the file is set to "executable" by running this command:
Code:
chmod +x filename.bin

2. Run the file like this:
Code:
./filename.bin

NOTE: If the installer requires access to directories outside of your /home/ directory, you may need to log in as root before you can execute these commands successfully. That can be accomplished with the su command, followed by your root (Administrator) password. Ubuntu users will use sudo and their regular user password instead.

For .SH files:

1. Make sure the file is executable by following Step 1 above.
2. Run the file either with the same command as the previous Step 2, or like this:
Code:
sh filename.sh

Direct installation using apt-get

APT (Advance Packaging Tool) is a wonderful package management system. It consists of different tools, which names usually begins with "apt-" : apt-get, apt-cache, apt-cdrom, etc. Unlike RPM, which equivalent in a Debian system would probably be DPKG, apt-get handles dependencies resolution and takes care of downloading the software for you (much like YUM in a Red Hat system).

Aptitude is a terminal-based apt frontend with a number of useful features, including: a mutt-like syntax for matching packages in a flexible manner, dselect-like persistence of user actions, the ability to retrieve and display the Debian changelog of most packages, and a command-line mode similar to that of apt-get. One should use aptitude to install meta-packages because aptitude keeps log of all packages that are part of meta-package. Its easy to remove/un-install meta-package if one go with aptitude.

One must have root privileges to execute apt-get or aptitude commands. Execute 'su' or add prefix 'sudo' to gain root privileges.

Installating a binary package is done in one single step :
Code:
apt-get install package //Exact package name will be required

Uninstalling a package is done like this :
Code:
apt-get remove package

Or if you wish to remove the package along with all of its configuration files (essentially doing a clean uninstall):
Code:
apt-get remove --purge package

Note: A word of caution : apt-get handles dependencies in a very strict manner. If you try to uninstall a piece of software that other pieces of software depends on, apt-get will also want to uninstall them (not before warning you about the situation).

There are many other features of apt command, it comes with a built in tool package for building, compiling e.t.c.Just have a look. Once the user has a sources.list adapted to his/her needs, the local list of packages needs to be updated :
Code:
apt-get update

Only then can the repositories be browsed with apt-cache.
To search a package from its text description :
Code:
apt-cache search something

To know more about a package and its description (dependencies, functionnalities, maintainer's identity, etc.) :
Code:
apt-cache show package

Another neat feature of apt-get : it allows to build and install a source package. Minimally, two steps are needed in order to do that. First install the package dependencies :
Code:
apt-get build-dep package

Secondly tell apt-get to build and install the package itself :
Code:
apt-get source -b package

Saturday, February 28, 2009

Installing RPM's using the Redhat Package Manager

Redhat RPM's offer a flexible and easy method to install new software. Software installed from an RPM package differs from compiling from source in a few ways, but the most important one of all is the software is already compiled for you. Essentially all you are doing is extracting the pre-built binaries and copying them to their pre-selected destination. RPM's are files that have a ".rpm" extention. The good point about RPM's is installation of new software, and maintaining the software currently installed is much easier than doing so for individual packages compiled from source. The downside to RPM's is that you don't have as much choice about where software is installed on your system, how it is compiled, and how it is configured.

If rpm is not pre-installed u can easily do it.
Open terminal.
Type sudo apt-get install rpm.

Using the RPM system is fairly straight forward. To install a package, you can use the following command:

rpm -i filename.rpm

When using rpm, you must be logged in as the root user. The "-i" flag in the above command means "install".

Un installing a package is just as easy:

rpm -e package

The "-e" switch used here means "erase" (un install).
Note that is different from used when installing.

For example, if you are installing an application called "mysoftware", you may use a command like "rpm -i mysoftware-1.0.2-i386.rpm" to install "mysoftware", when removing we dont follow the filename for installation, but rather the name of the software itself.

For further uses of RPM, please use rpm website, which has some fairly useful information.


If you need to find & download the RPM file for a piece of software, I recommend using RPM Find and RPM Pbone Search. Note that not all applications are available as RPM's, in these cases you will need to compile the software from source. (see previous blog).

Friday, February 27, 2009

Compiling and Installing software from source

Typically applications you must compile from source as a ".tar.gz", ".tar.bz2", or ".zip" file.

You'll probably want to operate from inside your home directory. If your user is (for example) username, your home directory will be /home/username/. For the rest of this section we will assume you have downloaded your zip file to /home/username/src. If you do not have a src directory, you can create it with the following "mkdir" (make directory) command:

mkdir /home/username/src/
So, we have our source package in /home/username/src/.

Change to the /home/username/src/ directory with the "cd" (change directory) command like so:

cd /home/username/src/

Use the "ls" (list directory contents) command, to see the file is present:

ls

We now need to unzip the zipped file, this is done differently depending on the file extension.

for files ending in .tar.gz, use:

tar -zxvf filename.tar.gz
(replacing with the name of the file).

for files ending in .tar.bz2, use:

tar -jxvf
filename.tar.bz2

for files ending in .zip, use:

unzip
filename.zip

You should now have a new directory, containing all of the source files. To confirm it exists, and to get its name, use the "ls" command again.

we now need to go into the new directory, so use the cd command:

cd

This is where things will differ. Some packages will have an INSTALL or README file which will contain installation instructions. use "ls" to see if the software has an install or readme file. If it does have one, you can use the "more" command to read it, like so:

more INSTALL

Generally, the final 3 stages are as follows:
- Configure the installation
- Compile the software
- Install the binaries

The pre-installation configuration is done by executing ./configure:

./configure

This will perform some requirements testing on your system, and create a "Makefile" which will explain to the "make" utility how the software should be compiled. If you receive any error messages during this stage, you may wish to search the linux forums to see if they have been found and resolved by someone else already, if not, feel free to send a mail to me- Please include all of the output including any error messages, and some details about your system - what distro you are using, what are you trying to install etc etc


The next stage is to compile the software, this is done using "make". When you run "make" it will read the instructions in the Makefile and build the application binaries.

make

The final stage is to install these binaries, ie, copy them to a more permanent location. Typically only the "root" user can do this, so you will need to swich to the root user with the su command:

Once you are root, install the binaries using the "make" command, followed by "install", like so:

make install

That is it! Check the user documentation of the software you installed for details of how to run the application.

How to install files in linux

Introduction:

For the benifit of people new to Linux, I have written a generic explanation of how to install software in Linux. Note that some software may have specific installation procedures, this HOWTO is not a substitute for reading the official installation documentation

The upcoming blogs will cover HOWTO for the following topics:

  • Compiling and Installing software from source
  • Installing RPM's using the Redhat Package Manager
  • Installing using Debian's apt-get
  • Installing binary files (.BIN/.SH)
  • Installing with fedora / yum
  • Installing slackware packages

So just find the relevant one and if still unsuccessfull, jus drop me a mail.

Tuesday, February 24, 2009

Connect your BSNL-EVDO modem to Linux

Hi all,
here is how can u connect ur BSNL-EVDO.
  • Connect ur device to usb port.
  • Open terminal & type lsusb. It will show all connected device to ur system via usb.
  • The out put will be:
  • Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 002: ID 062a:0000 Creative Labs Optical mouse
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 003: ID 05c6:3197 Qualcomm, Inc. CDMA Wireless Modem/Phone
    Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  • 6th line is my modem. U too will find ur device listed, if not try again or check connection
  • Log in as root user using su command.
  • Now type modprobe usbserial vendor=05c6 product=3197
  • Next insert wvdialconf
  • Now modify the wvdial.conf file:
    vim /etc/wvdial.conf
  • Del the content of file, Jus copy & paste the following:
  • [Dialer Defaults]
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Stupid Mode = 1
    Modem Type = Analog Modem
    ISDN = 0
    Phone = #777
    New PPPD = yes
    Modem = /dev/ttyUSB0
    Username = xxxxxxx
    Password = xxxxxxx
    Baud = 460800
  • Verify username, password & phone number from ur service provider.
  • Now u have finished ur configuration, any time u want to connect ur device, plugin the device-open terminal and key in sudo wvdial
Note: U can connect to other dial up devices by making minor changes & giving corresponding phone number, username & password in the wvdial.conf file

Installing Java

The simplest way is to go to Synaptics Package Manager and find it. But MAY BE U MISS OUT THE LATEST VERSION......
Jus chill and download the "jdk.bin" file from java.sun.com

  • Save the .bin file to ur hard disk where u have access rights.
  • Go to terminal- to the location u saved the file.
  • Switch as a root user by su command.
  • Type chmod +x filename.bin //Eg, chmod +x jdk-6u12-linux-i586.bin
  • Now run the binary file using ./filename.bin
  • Accept terms & condn and the installation would began.
After installation u may not able to run ur java programs
  • Open terminal, go to location where u wish to run java & javac commands.
  • Type sudo export PATH=/path/jdk/bin:$PATH
  • For eg. sudo export PATH=/usr/local/jdk1.6.0_12/bin:$PATH
Don't forget to install the java docs from the same website.
  • Download the .zip file.
  • Unzip by unzip filename.zip.
  • Preferably place it on the same location as ur JDK.
  • Save the index.html as a bookmark in ur browser.
  • Docs are of sheer importance as they provide details about all built-in classes of Java so dare not to ignore it.

Microsoft Fonts for linux

The most suitable replacements to microsoft office is Open Office..... but we tend to miss one thing terribly. Fonts in microsoft,,,,,, so miss it no more get it done by downloading "Microsoft Core Fonts" using Add/Remove Programs. You can find it under Graphics tag.

Sunday, February 22, 2009

Recommended net tools

Browser
  • Firefox sudo apt-get install firefox (copy & paste in terminal to install)
  • Epiphany sudo apt-get install epiphany
Chat Messenger
  • Pidgin sudo apt-get install pidgin
Download Manager
  • Downloader for X sudo apt-get install d4x
Torrent
  • Bit Torrent Download Client sudo apt-get install bittorrent
Plugins & Addons
  • Icedtea Java Plugin
  • Open Firefox. Goto Tools-Addons-Get Addons. Get a whole new variety of recommended addons by Mozilla.
All of them can also be installed from Add/Remove Programs GUI.