23 Feb 2015

The Microsoft HoloLens

During the Windows 10 event held in January 2015, we saw something a lot more than Windows 10. Something that is virtual reality and at the same time, is not virtual reality. This peculiar device is Microsoft’s HoloLens. There isn’t much to say about the HoloLens. But some say it is Microsoft’s answer to PlayStation’s Project Morpheus, while others say it is a device to “combine the digital and real world."

The main idea of the HoloLens is to have a new medium to express creativity. For example, on a Skype call, instructions for the other person can be drawn while performing a task, which are holograms.

HoloLens can also be used for gaming. Minecraft was one game shown by Microsoft (probably) because of Microsoft’s recent purchase of Mojang), and there could be more games soon. It shows  the world of blocks in your living room. You can use your table to build a house, a model of a dinosaur or even a pair of underpants. You can create anything!

You can do a lot more such as sticking virtual sticky notes, looking at virtual recipes, making designs to anything or even use your wall as an App Drawer. HoloLens integrates the real world with the virual world for an enhanced experience of the existing world. This is a new medium of creating and sharing ideas.

The HoloLens can also be used for entertainment. Want to watch your favourite sports team play? Just turn on your device. Want to watch the video of the Mars Rover? Go ahead! You can use gestures and your voice to control the device. HoloLens understands your movements and Gestures.

HoloLens is an interactive device that can change the way we create and share ideas. This is virtual reality and at the same time, it isn’t as we have a virtual world, as well as the real world interacting together. This device can also have a great impact on learning and the way we understand. Here is a preview of the HoloLens:

As a fan of Back To The Future, I can safely assure you that the future is here.

9 Feb 2015

Installing an Alternate OS

Why most programmers need an alternate operating system and how you should go about getting one

A few (of the many) Linux Distros

If you are reading this on a laptop or a desktop computer, I can say with 98.98 percent (Courtesy : netmarketshare.com) surety that you are using a version of either the Windows or Mac Operating System

Generally, a single operating system is sufficient for most computer users. But when you are developing software for multiple operating systems, or using your computer for things like making a web server, or running very specific development environments, often one operating system ceases to be enough.

Running more than one operating system on a computer or dual-booting as it is usually called ( or triple-boot, quad-boot, etc, although the word usage is not as common as dual-boot) is actually very simple and easy, but if you fail to follow some basic procedures, you could end up losing your data, or being unable to use even one OS. Even more terrible things, depending on how bad you mess up.

However operating systems need not always be installed. More on virtualization later.
Here are some questions you will most probably have if you are new to installing operating systems :

1) Which OS should I install?

You should install whatever operating system best suits your particular programming requirements. Windows and OSX are generally best suited for app and software development for those platforms.
For most other things, Linux flavours are popular. If you simply want to install a Linux OS, I would personally recommend either Ubuntu or Debian. Both have easy installations, great support bases, lots of software and applications, and a modern UI.

In the end it comes down simply to what best fits your comfort zone. The Mac OS is better suited for programming than Windows. But neither of these are as popular as open-source Linux distros.

2) Is it compulsory to install an OS to use it?

First of all, it is not required for you to actually install an OS on your hard disk to use one. Lots of Linux operating systems let you run operating systems on flash drives and cd’s. Usually this is to let you demo the OS before installing, but with this method you can actually use an entire OS without it installing on your hard drive.

Almost all operating systems out there can be run by virtualization. What this means is that you use an OS within another OS. There are several great software for doing this, for both Windows and Mac (Also Linux). Virtualbox and VMware (Virtualbox is free) come on the very top of the list.
You can run pretty much any operating system - Android, iOS, Windows, OSX, (Xu/Ku/Edu/Lu/U)buntu, Debian, Fedora, Red Hat - anything as long as your processor supports (hardware) virtualization technology or VT.

Virtualbox can, to a large extent manage on older processors which do not have `VT` enabled, however performance might be low. VMware requires some bypassing commands to do the same.

Anything newer than Intel Pentium or AMD Athlon would probably support VT, but check your processor specifications before trying to run a virtual OS.

3) Are there any precautions I should take before trying to install a new OS.

Yes! As I mentioned before, you might murder your computer by accident when installing an OS, so always take a backup of all you data onto ANOTHER COMPUTER or a HARD DISK.
Before installing any OS, always read the specifications fully, including the version you are planning to install. Check on forums for any complaints people have had when they have tried to install that particular version of that OS on your computer model.

Also its always better to partition your hard drive when you start the installation process. Most Operating Systems allow you to partition your hard drive before installation, but its always better to do it beforehand to ensure nothing goes wrong. It's usually easiest if you use your current OS to partition. If you're on Windows use the Disk Management tool, Disk Utility on Mac, and GParted on Linux.

Never,ever,ever install an OS onto the same partition as another OS. Always take care you select an empty partition during installation.

4) Which installation method should I use?

When you ‘download an OS’ in most cases you are actually downloading an ISO file, or a compressed ISO file. This ISO file can either be burnt to a CD, or to a USB. Its up to you, to choose which. Some old computers may not be able to boot from USB.

Its not just enough MOVING the ISO file to a CD or USB. It must be burnt, so as to make it BOOTABLE.

There are plenty of software for burning ISO files. Here are two free ones, for the lazy and the uninitiated (Disclaimer : Don’t blame me if this causes your computer to explode, or transform into a killer robot)

Boot devices menu in the BIOS 

After you burn the ISO image, insert the USB/Disc. Run the autorun if it has one - it most likely will - or directly proceed to restart your computer. Before your OS loads, on the BIOS screen, hit the key for the boot option menu (Usually f9 on PC’s) and select either USB or CD depending on which your OS is loaded. I bid you smooth sailing.

5) Precautions to take DURING installation

Stating the obvious here - Whenever you are installing a new OS, make sure to keep your computer fully charged and plugged in.

Keep your Internet easily accessible. Always. WiFi is recommended, but Cable will also work. If you use a dongle, try to convert it’s network into a hotspot as the OS you just install maybe unable to use it. Have another computer standing as backup, in case your installation goes boink.

Ensure you have all the files you may need, already downloaded and ready to be booted if required. I personally would recommend downloading the boot repair disk and putting it on either a bootable CD or USB, especially if you are installing Linux.

The boot repair disk can be downloaded here.

The boot repair disk can be booted from directly. It’s main function is to fix GRUB, but it also contains very useful tools, such as GParted the partition editor, as well as an OS-Uninstaller. It can also be used to access the Internet, in case you need some urgent help.

6) What should I do if something goes wrong during the install

Odds are, the install will not go ferpectly the ristf eimt. Maybe there were driver problems. Maybe your computer was not fully compatible with the OS version you tried to install. Maybe you made some other mistakes. Whatever happens, it’s always best if you try the whole install afresh. If you think the operating system has not installed completely or with some defects, use the boot repair disk to uninstall the operating system, format the partition that you installed the OS on, and try again.
In case of a failed install, Purge, Cleanse and Start over!

7) The OS has been installed. Now what?

So all the installation is done. Check if everything is functioning as it should. The only tests you need to run, are with the hardware. Just make sure all your hardware components - speakers, keyboard, touchpad/mouse, camera, ports - are all functioning correctly. If there is a problem with anything, try looking on forums if you're experiencing a known issue with the OS. More likely than not, the drivers will need to be updated, and once this is done, your new OS will be ready.

Also ensure your multi-boot screen is functioning correctly. ( This will be GRUB if you have any linux versions installed ) The boot repair disk can fix most issues with GRUB. If you have installed Windows freshly, GRUB may not be accessible during startup and you will directly boot Windows. Again, the boot repair disk can fix this issue.

The Grand Unified Bootloader
Aah, the satisfaction of using a freshly installed OS
Some General tips for Linux : Start using the terminal for even basic things. That way you'll get the hang of it. Install updates, as soon as you get your system up and running.

General tips for Ubuntu : Click Here for a quick list of things to do immediately after you install Ubuntu.

This post is crosspublished on my blog, The New Age Tech Connoisseur
Go forth and conquer!

4 Feb 2015

Texas Instruments Quiz - More Questions!

Hello everybody!

So as I said in my previous post, I wanted to put up a few more questions for preparation and just for fun. These are some interesting questions which you can try.

  1. Most vehicles have an RPM meter but even when the vehicle is at idle, the RPM meter does not show zero. (But the engine is turned on). So this meter shows the RPM of what? (Try to get the specific answer)
  2. When you open a refrigerator and then close it, sometimes the fridge door get 'stuck' and needs a lot of force to open it. However if left alone for sometime, the door opens normally again. How do you explain the door getting stuck and then opening normally again sometime later?
  3. Satellites are placed in space and many of them continuously face the sun and receive heat from it. This should cause them to keep heating up until the temperature becomes very high and the satellite is damaged. But this does not happen. How / Why?
  4. Nokia posted this as a response to 'X'. ID X.
  5. There is a natural gas field in Turmekistan called the Door To Hell. Soviet engineers in 1971 found this natural gas site but the whole region collapsed into a crater. They lit the gas and expected it to burn out within a few weeks but it continues to burn till date. Even though burning the gas produces CO2 which is a greenhouse gas, it is considered to be better than letting the gas escape. Why?
  6. In a camera with an electronic flash, immediately after clicking a photo with the flash, a high-frequency whirring sound can be heard sometimes. We say that the 'flash is charging'. What exactly needs to charge? Why does it need to charge? 
  7. Related to the previous question. Explain why this sound is heard. (You might also hear it some other electronics)
  8. What purpose did screensavers serve on computer screens and TVs?
  9. There was an app called 'Bump' which allowed two people with the app to just bump their phones to share files with each other over the internet. It does not use Bluetooth or NFC. Can you explain how this worked?
  10. The picture below has many red dots. What do these represent? (Hint: Related to automobiles)
Try to answer as many as you can!