How to Install Linux Mint 12
Linux Mint is the most searched Linux distribution now. Linux Mint was originally a derived distribution from Ubuntu and recently a Debian derivative (from which Ubuntu itself is derived) was also released. Ubuntu’s adoption of unity desktop and user frustration with it seems to have worked in favor of Linux Mint. Linux Mint 11 retained Gnome 2 as the desktop environment and in Linux Mint 12 both Gnome 2 and 3 is supported.
Linux Mint 12 codenamed Lisa is now available for download and is based on Ubuntu. However it comes with the Gnome 3 desktop. Like it or not, Gnome 3 seems to be the future for Linux desktops. In my experience Gnome 3 seems to be more stable and responsive than Unity.
Installing Linux Mint 12
I downloaded 32 bit Linux Mint 12 DVD which contains Gnome + MATE desktop. MATE is a fork of Gnome2 which will work along with Gnome 3. So if you don’t have 3D acceleration turned on, Lisa will use MATE desktop instead of Gnome 3!
When you boot with Linux Mint 12 DVD, you are quickly taken to the desktop with an option to install Lisa. Click on "Install Linux Mint" shortcut.

Select your language and click on continue. Linux Mint 12 tells you that for best results, you need the following,
- At least 5.6GB of hard drive space (more if you have large swap space)
- An active connection to internet If you are installing on a brand new machine, Linux Mint 12 will give you the following options. You can either allow Lisa to create partitions or create them manually. I selected automatic installation. During installation, Lisa created a swap partition with the same size as the RAM I had on my machine and used the rest of the space for the primary root partition.
Lisa tells me that she will use the entire disk for installing Mint,

Click on "Install Now" to begin installation. During installation, you are prompted to select your location, keyboard layout and your login data. You can choose between automatic login or manual login. If you are paranoiac about your data, you can encrypt your home folder as well.

Click on continue. If internet connection is active, Lisa will download language packs. Sit back and enjoy the slide show of various features in Linux Mint 12 while installation is in progress. In my Intel i5 system, it took less than 5 minutes for Linux Mint 12 installation.
I removed Linux Mint 12 DVD from the drive and restarted the system. And voila! I have the sexy Gnome 3 up and running after the boot. It is possible to switch between various Gnome versions during login,

After the first login, Lisa shows you an overview of various resources available for Mint 12. Click on the shield icon on the top bar right to install all updates available for Linux Mint 12. This will keep your system up to date and free of security vulnerabilities. It took me about 20 minutes to apply all the updates.

The DVD 32 bit installer comes with all the common applications and utilities for a desktop Linux system. Some of the applications installed by default are,
- Graphics – Gimp, LibreOffice Draw, Image Viewer and Document Viewer
- Internet – Firefox, Pidgin, Thunderbird Emails, XChat IRC
- Office – LibreOffice Suite
- Media Players – Brasero, Banshee, GNOME MPlayer, VLC media player
- Others – Sun Java 6, Standard Linux Tools
Click on the Software manager icon (star icon) to add more applications (Menu => Software Manager). The software manager tells me that there are 36075 packages available for installation! When you select a category, the packages inside it are listed based on its user rating.

How to disable autorun in Windows 7
By default Windows vista and Windows 7 has the auto play feature turned on. Auto play scans the content of the CD or the portable storage device attached and plays or runs the content automatically. This feature is intended for the novice computer user who may not know how a media CD or a software CD can be used. In the case of a software CD, the file autorun.inf contains the name of the executable that needs to be executed automatically.
However this feature is dangerous since it can also automatically start malicious software contained in a portable storage device such a USB pen drive. Prior to Windows XP service pack 2, autorun was disabled for removable storage devices such as USB sticks and zip drives. In vista and Windows 7, autorun is enabled for all devices.
It is highly recommended that you turn off autorun in your Windows machine. This prevents accidental virus infection where you unknowingly insert a virus infected USB pen drive and autorun starts a virus program. For example, you might take your USB pen drive to an internet cafe to download some text files. The computer at the cafe might be infected and the virus will get into the USB pen drive. Since autorun is enabled on your machine, it will also get infected. Turning off auto run helps in preventing such accidental virus infections.
How to disable autorun in Windows 7
Press Windows key + R to bring up the "Run console". You can also invoke it from Start -> Accessories -> Run menu. Type in "gpedit.msc" without the quotes and press enter.

This will open the Local Group Policy editor. From the left tree menu, expand Computer Configuration -> Administrative Templates -> Windows Components -> AutoPlay Policies. Click on AutoPlay Policies as shown below.
From the right side, double click on Turn off Autoplay (or you can right click and select the edit menu). This opens up the following screen,
As shown above, select the "enabled" option and click on apply. It may seem strange, but in Windows 7 you need to enable the disabling of autoplay! Now you no longer need to worry about viruses that automatically gets triggered when you connect a USB pen drive.
Apple updates MacBook Pro laptops
Apple has updated its MacBook Pro line of laptops yesterday. These new laptops contain faster processors, unbelievable battery life of 10 hours and a graphics processor which is 80% faster than the predecessor. Interestingly the 15" and 17" laptops now contain latest Intel i5 and i7 processors. The best part is that the prices have remained more or less the same!
Updated specifications for 13 inch MacBook Pros (old configuration in brackets)
|
|
Updated specifications for 15 inch MacBook Pros (old configuration in brackets)
|
|
As you can see from the configuration above, anyone who recently bought the 13" 2.26GHz MacBook Pro must be cursing themselves.
It is interesting to note that even the high end MacBook Pros have the total memory capped at 4GB. In fact now all configurations carry 4GB. There are two reasons – 4GB RAM is usually good enough for most users and secondly DDR3 RAM is not cheap. If you really want to upgrade to 8GB, you need to spend a whopping $400 extra!
Ever wondered what is the most expensive MacBook Pro configuration you can buy? Well, you can get the best of the best for a low price of $7,505. This configuration includes a 24 inch LED cinema display and a 512GB solid state drive. Obviously many of us would have to mortgage our house to get one of these!
Most Expensive MacBook Pro (Configuration)
|
|
Geohot hacks iPad – blackra1n and Cydia on iPad
Within a week of its release, iPad is hacked by the famous iPhone hacker George Hotz. He had a posted picture of hacked iPad running blackra1n (jailbreaking tool) and Cydia. This means that a new version of blackra1n may be released soon. It is also interesting to note that the exploit screenshot was released just within one day of posting the iPad firmware 3.2 encryption keys.
The advantages of Jailbreaking iPad
Jailbreaking iPad opens up more possibilities than on an iPhone. iPad has better hardware and bigger screen and hence it can replace a netbook with much better battery backup. We may see custom Linux distributions capable of running on iPad. The immediate benefit of course is that iPad users can download applications rejected by Apple from other app directories such as Cydia. It also enables complete customization of iPad OS. Who knows, someday someone may even find a way to run Windows XP on iPad!
However the lack of some of the essential hardware on iPad makes jailbreaking less appealing. For example, lack of an integrated camera.
How blackra1n works on iPhone?
Blackra1n works on a specific exploit on iPhone/iPad devices known as the USB Control Message exploit. By manipulating the call to function usb_control_msg it is possible to overwrite sections of memory. See this page for the details of this. However in the case of iPad, the precise exploit that Geohot used is not yet known.
Apple bans Adobe Flash cross compiler for iPhone OS 4.0
The latest developer agreement from Apple on iPhone OS 4.0 explicitly states that iPhone programs must be written on Objective C, C or C++ to legally link with the documented Apple APIs. This means that any sort of cross compiler which creates final iPhone machine code from other technologies are illegal. This change in developer agreement is a direct hit on Adobe’s idea to create a cross compiler for iPhone in its latest release of Flash Professional CS5. Any code generated using this Flash cross compiler is illegal on iPhone OS 4.0.
Apple is refusing to allow flash in its devices claiming that its implementation is buggy and it is not suitable for its devices. So the only option to develop software for iPhone, iPod Touch and iPad was to use the Xcode and iPhone SDK on Mac machines. It also meant that developers need to learn Objective C to build iPhone apps. Adobe thought that they can work around these limitations by providing a cross compiler which will convert Flash programs directly into iPhone’s ARM binary code. Till now Apple approved any app submitted to App store provided it met all its guidelines and hence a number of apps built with a preview release of Flash CS5 got into app store.
With iPhone OS 4.0 onwards this whole cross compiler process becomes illegal. Adobe may probably release iPhone cross compiler as part of Flash Processional CS5. But any developer building an iPhone/iPad application on it will be taking a huge risk since Apple may reject it during App Store submission. Technically there is nothing that can differentiate between the ARM code generated by Xcode and Flash Professional. Apple can insert a unique signature to code, but the same can be easily inserted by Flash professional. But even releasing the cross compiler may be illegal.
Now I think Adobe deserves what it got. They could have directly contacted Apple before going ahead and developing a cross compiler. Things like these should teach giant companies like Adobe that they can’t be arrogant all the time. One day Apple may also get a taste of its own medicine.
Obviously what Apple did makes a lot of business sense. They want people to use their own platform to build apps. Proliferation of cross compilers is not a good thing in long run. It can lead to inefficient code(?) as well. But the real reason seems to be that Apple wants complete control over its platform. They don’t want somebody to create a better development platform for building apps in iPhone and iPad. It also shows how easy it is to decimate the competition when you put restrictions on a platform. I now wonder why Microsoft was harassed by various governments all these years. Compared to Apple, they are angels
There is one more interesting aspect to the Apple/Adobe tussle. There are a lot of Flash game developers out there. It is not easy to compete with them if you are a pure Objective C developer building games for iPhone. So this is a good news for all the Objective C developers out there!
How to Run Windows Live Writer on Mac
If there is one software that Microsoft can claim to be exceptional, it is Windows Live Writer. It is the best desktop blogging tool currently available and it is free! So what makes Windows Live Writer so special? Here is a round up of cool features available in Windows Live Writer,
- Almost perfect WYSIWYG blog authoring. Your editor look as if you are writing inside your blog!
- Edit your blog pictures while writing your post. Crop them or apply various styles on them. Embedding pictures in blog posts is super easy!
- Manage multiple blogs at the same time!
- Built in spell checker and an extensible architecture supporting plugins. But the tool itself is so good that I have never used a plugin!
- Best of all Windows Live Writer supports a wide range of blogging platforms (Blogger, WordPress, TypePad etc.)
So for a blogger, Windows Live Writer is the ultimate tool available. Unfortunately it runs only on Windows platform! Now that means the guys who own costly Mac machines doesn’t have a good blogging tool. However there is a way to get Windows Live Writer running on your Mac. The only catch is that you need to buy a license of Windows XP, Windows Vista or Windows 7 (which shouldn’t be a problem if you can afford Mac!). Using a virtual machine software you can run Windows inside a Mac machine. Now to use Windows Live Writer, just install it on the Windows running inside the virtual machine!
Running Windows Live Writer on Mac
Step 1 – Download VirtualBox – VirtualBox is virtual machine software(owned by Sun Microsystems earlier and now part of Oracle) which emulates a computer. So it is like a second machine running inside your PC and you can install any operating system inside it. VirtualBox software is available for many operating systems including Mac OS X. You can download the Mac version from here. Install VirtualBox.
Step 2 – Create a Windows Virtual Machine in VirtualBox – Start VirtualBox. From the main screen click on New icon to create a new virtual machine. Choose the guest operating system you want to install (Windows XP, Windows Vista or Windows 7). I would recommend that you install Windows XP since it is cheap and it also requires less memory to run.
Now select the virtual machine memory size based on the Windows version you are installing and also depending on the total RAM you have. For example, if you have total 4GB RAM and you are installing Windows XP, 1GB would be a good choice. Then create a virtual disk. This disk will appear as a normal file with .vdi extension. For Windows XP, I usually give 12GB as the disk size and set it as dynamic so that the space is taken only if needed.
Step 3 – Install Windows on the Virtual Machine – Start the virtual machine you have created from the main menu of VirtualBox. It will prompt you for the boot device. Insert your Windows disk in the DVD drive and select this drive as the boot device. Now install Windows just like you install it in a real machine. The only difference here is that it is getting installed to the virtual disk inside the virtual machine. After installation, the virtual machine will reboot and you will get Windows OS running inside your Mac OS!
Once Windows is running in virtual machine, Click on the Devices -> Install Guest Additions menu from the VirtualBox. This will install a set of drivers onto the Windows. This will give you full integration between Mac and the Windows running on the virtual machine. You can now navigate seamlessly between them and you can even share folders/files between them!
Also keep your Windows installation up to date by enabling and running Windows Update.
Step 4 – Install Windows Live Writer on Guest OS – Now you can easily download and install Windows Live Writer from the Windows running in VirtualBox. Windows Live Writer can be downloaded from here. Now blog your heart out!
The following screenshot shows Windows XP running on Snow Leopard Mac OS.

The same approach can be taken to get Windows Live Writer running on various Linux distributions such as Ubuntu and Fedora.
A brief history of Windows 7
Ever wondered why Microsoft named the latest Windows release as Windows 7? Microsoft considers Windows 7 as the seventh generation Windows OS. Following are the 6 previous generations of Windows Operating System,
1. Windows 1.0 – Microsoft released the first version of Windows in 1985 and it featured tiled windows. From the beginning Windows was designed as a multitasking system. It was more of a GUI for the underlying MS-DOS operating system. It is interesting to note that Microsoft supported this operating system for 16 years (till 2001)!
2. Windows 3.11 – The next major release of Windows was in 1993 named Windows for Workgroups 3.11. It included networking and truetype fonts. Within months of release it sold millions of copies and Microsoft was named as the “Most of innovative company in US” by Forbes.
3. Windows 95 – Released in 1995, Windows 95 cemented Microsoft’s position as the solid leader in operating systems business. Microsoft integrated MS-DOS into Windows effectively putting all other MS-DOS competitors out of business. Windows 95 also introduced Internet Explorer 1.0. For optimal use Windows 95 required 8MB of RAM. The basic UI elements introduced in Windows 95 remains even today in Windows 7.
4. Windows 2000 – Windows 2000 was released in 2000 and the primary market was business laptops and server machines. Windows 2000 includes NTFS 3.0 and introduced encrypted file system. Windows 2000 was marketed as the most secure operating system, but continues to receive security patches in short intervals. Windows 2000 is supported till July 2010.
5. Windows XP – Released in 2001, Windows XP is the most used operating system even as of 2009 with more than 60% of market share. It offered a fresh user interface and a number of performance and stability improvements. Windows XP is supported till 2014.
6. Windows Vista – Windows Vista was released in 2007 and was not adopted quickly due to its high system requirements. To get a decent performance it required 1GB of RAM (Windows XP required 128MB) probably due to the fact that its engine core components were rewritten (audio, display, networking etc.). However it does have over 20% of the OS market share as of 2009. Vista is also notorious for its high prices (Ultimate edition costs over $300 almost matching hardware price).
There are a number of other Windows releases which are not considered in the above 6 generations. These include Windows 2 and Windows 3, Windows 98, Windows NT and Windows Me.
And then in 2009, Microsoft launches Windows 7 as the seventh generation Windows operating system.
How to fix Apple iPod Touch 3.1.2 firmware upgrade issue
Apple has recently released iPod Touch firmware upgrade 3.1.2. This upgrade is essential to test your iPhone/iPod apps. It may seem funny that 3.1.2 is a bug fix release. There seems to be a bug in the iTunes download progam or Apple servers which prevents this firmware upgrade. What is more irritating is the fact that Apple charges $4+ for this upgrade, yet you can’t install it!
The error is not uniform. Sometimes you get no error at all, but still the 3.1.2 is neither downloaded nor installed. Sometimes it gives a message “Unknown error 2020″. I tried upgrading iTunes and it turned out that it is the latest. I also tried resetting the iPod firmware. Interestingly the original firmware was downloaded without any issue which indicated that this may not be a download server issue. Finally I found a workaround quite accidentally.
There is a simple workaround to get 3.1.2 firmware installed on your iPod touch. Just download a free app from the Apple iTunes Store. This download somehow triggers the iPod touch upgrade download! Initially a 0.4KB file is downloaded which triggers the download of 240MB iPod touch software upgrade.
Problems like these remind me of the good old days when you can do upgrade to a device simply by downloading a file manually. If the file is available for download, it is guaranteed to work. For upgrade etc. iTunes should be made optional. They should give a alternate download location from where the upgrade can be dowloaded and directly moved to the iPod/iPhone.
What is new in iPod Touch 3.1.2 firmware?
3.1.2 firmware upgrade is a minor bug fix release. It contains fixes related to video streaming and sleep issues.
How to deal with a telemarketer
For many of us unsolicited marketing calls is a big nuisance. There is really not much you can do to prevent these calls. However as the following video shows sometimes it is the telemarketer who is at the receiving end. Highly recommended for anyone planning to join call centre work! It is the funniest prank call I have heard
Tom Mabe is telemarketer’s nightmare
It is hard to stop laughing ‚
The ridiculous pricing of Wolfram Alpha API
I am fan of the Wolfram Alpha right from the day it was released. The computational answer engine from Wolfram Research was one of the coolest things I have seen in a while. Wolfram is capable of almost all types of mathematical processing and in addition it is also capable of responding to natural language based queries. So it can not only give answer to questions like 20 * 30 = ? , but also respond to questions like "who is barack obama?". Check out the examples page for the kind of things Wolfram Alpha is capable of.
Unlike traditional search engine results, the Wolfram output is structured. This means that processing output from it is easy and is extremely useful in large scan data analysis. So an API interface from Wolfram Alpha was eagerly awaited and it was released last week. But the pricing of the API is one of the most ridiculous I have seen in a while. The following is the pricing for personal use (for hobbyists etc.).
What? $60 dollars for accessing Wolfram API for 1000 times? I can’t believe that someone in Wolfram could be so retarded to charge almost one dollar for 10 hobbyist requests for the API. Then you look at companies like Google and think – Man, these are angels from heaven!
Now checkout the terms of use section of API which is worse than many of the free online services(you thought paying through your noise would give you better TOS?). Some examples,
- Wolfram|Alpha reserves the right to terminate this Agreement or discontinue the Wolfram|Alpha API or any portion or feature thereof for any or no reason and at any time without liability to You.
- You are required to provide a hyperlink to www.WolframAlpha.com on every page with Results. All hyperlinks associated with data provided by Wolfram|Alpha must navigate directly to Wolfram|Alpha.
- utilize the Wolfram|Alpha API in association with, or as a component of, any website that in the sole discretion of Wolfram|Alpha is determined to be obscene or otherwise inappropriate.
Here is what I think is reasonable pricing,
- Up to 5000 requests – free
- Up to 25,000 requests – $50
- Up to 100,000 requests – $150
- Up to 500,000 requests – $500
- Additional request pricing – Below $2 per 1000 requests
So here is the one liner verdict – Wolfram Alpha API pricing sucks.
The strange case of SyntaxHighlighter WordPress plugin
From 2.7 version onwards WordPress supports automatic upgrade of plugins. Usually this is a good thing. WordPress will inform you of any updates to the plugin and you just need to click on “upgrade automatically” to keep your plugin upto date.
But recently I realized that auto upgrade is not always good. I have been using the SyntaxHighlighter plugin from Erik on my blog and one day it showed that a new upgrade is available. I went ahead and updated the plugin and realized that it no longer worked. The problem was that the new version of SyntaxHighlighter named “SyntaxHighlighter Evolved” was a different version created by someone named Viper007Bond. But since he had the URL http://wordpress.org/extend/plugins/syntaxhighlighter/, the plugin system of WordPress was identifying it as an upgrade of Erik’s plugin!
So I had two options left. Either update all my posts with the new plugin’s conventions or rollback to the old version by Erik. I prefered the second method(changing posts was too much work).
So if you are a plugin writer, ensure that you have the official WordPress extend entry for your plugin also. Otherwise people can hijack your plugin using auto-upgrade feature!
Chicken a la Carte – A short film on hunger
This is a short film which won the people’s choice awards on the theme food, taste and hunger. Directed by Ferdinand Dimadura, this film reminds me that there are still a lot of people in the world for whom food is still a luxury. The film also reminds us that over 25,000 people die every day due to hunger.
Who got all the AIG bonus money?
If you steal $100 from someone, you get enough jail sentence to repent all your sins. But if you steal trillions of dollars, you get millions of dollars in bonus as well! – first law of AIG.
Nick Vujicic on struggles in life – inspirational video
In the following video Nick Vujicic demonstrates why you should never give up when faced with challenges in life. Nick was born with no arms and no legs. He is a well known motivational speaker and spreads the message of hope & love around world.
LoseThos – 64bit open source free operating system
LoseThos is a small 64bit open source free operating system available for IBM PC compatible computers. It is written and released by Terry A. Davis
and is an operating system developed from ground up. The primary focus of this operating system seems to be video games (really simple ones!) and is intended for "programming as entertainment". Interestingly it also introduces a new language very much similar to C/C++!
The latest version available as of November 11th 2008 is V4.19 and the ISO file is less than 20MB. The distribution is a "live cd" and you can boot into the OS by burning it into a CD. Since LoseThos is a pure 64bit OS, it will work only on those systems or virtual machines which support 64bit. For example, Linux qemu emulator is not supported.
What makes LoseThos interesting is that the whole of the OS is written by Terry over a period of 5 years. It has over 100,000 lines of code. Programmers may find LoseThos as an interesting toy! It allows complete access to all the hardware and there is minimal layering.
LoseThos Hardware Requirements
- IBM PC Compatible (EM64T)
- VGA Graphics
- Minimum 256MB RAM and a maximum of 128GB RAM!
- CD-ROM but no SCSI
- ATA/SATA hard drives
- Gameport Joystick/RS232 serial port but no USB
LoseThos is currently just a hobby OS which can be fun for programmers. But who knows, it might even inspire someone to create an exceptional 64 bit open source operating system in future!
Don’t waste your time trying to get this running on Vmware Workstation. After trying for a few minutes I realized that LoseThos uses non standard stuff and hence Vmware cannot support it. In fact I was also unable to get this running on my latest machine which is Intel Quad core CPU (Q9300).