Practical steps to overcome depression

Painful to read that a student committed suicide at NITK Surathkal – my alma mater.

About 800,000 people die by suicide worldwide every year, of these 135,000 (17%) are residents of India. On an average male suicide rate is twice that of females – compared to women, men are emotionally weaker, take things too personal and do not have enough strength to handle rejection, failure and hardships.

Unhappy in life ? Hate your job ? Bad grades at college ? Not enough money ? Got dumped in a relationship ? Stage 3 Cancer ? Family problems ?

Lets admit. You are hurt. hurt badly. The world looks so unfair. People whom you trusted have stabbed you. You often get bad headaches. You cant bear the pain any longer and the thought of ending your life seems like a good optionย ? Not so fast.

Take care of your mind, body and soul and put yourself on a path to recovery and healing. Postpone the thought of killing yourself by another minute, then by an hour, a day, a week, a month, a year. Tell yourself that you will overcome the pain. If you have the courage to take your own life, the following steps should not be too difficult for you ๐Ÿ™‚

Body

  • Eat Healthy. Nutrition is key.
  • Exercise. Hit the gym. Exercise. Shed some excess pounds. Get in shape.
  • Avoid habits that will inflict self harm

Mind

  • Stay positive. Be hopeful. This too shall pass.
  • Learn a new skill or engage in an activity.
  • Pursue a degree.
  • Do not compare your current situation to others.
  • Listen to music. Watch an inspirational movie.
  • Cry, grieve. let the emotions flow out. Give a deadline to suffering.
  • Meet new people. Connect with friends and family who care for you
  • Set daily goals no matter how small they are. Commit and act.
  • Seek professional help. Consult a mental health professional.

Soul

  • Meditate. Try breathing exercises.
  • Prayer – If you believe in a higher power
  • Travel

Keep telling yourself that you are going to be fine. Yes, you can overcome. Suicide is not the only answer to overcome depression. You are going to be happy very soon.

Why chase death when it will anyway come to you……. someday.

Advertisements

Happiness is a choice

Happiness is a choice. Today, for a moment I was excited and thought this perspective was my discovery. But wait. Just google for it and you will find 27 million search results. There is even a book authored by Barry Neil Kaufman which I intend to read it in the foreseeable future. Bucket_List ++

One can compare himself / herself to a billionaire in Silicon Valley or a bankrupt homeless impoverished unfortunate poor little soul. The result is Dissatisfaction and Contentment respectively. Most people treat happiness relatively comparing them to their peers / relatives / friends. The only problem with this is that you cannot cannot cannot compare yourself with anybody in this planet. You are unique. You are strength. You are divine manifestation. You are “THE ONE”. Your DNA is one and only. Even identical twins from the same biological mother have subtle differences. Comparison is the primary evil root of unhappiness. Your thoughts are the building blocks of your happiness.

Happiness is difficult to quantify through words. Nonetheless for all practical purposes, happiness can be positively correlated with mental peace.

I totally loved the 9 points to be happy from within – 9 ways to be happy within yourself

Know Thyself. Know your happiness. Choose your desires that are a good fit with you. Happiness is a choice. So Choose it.

Respect to “John Coffey” fame of “The Green Mile”

RIP Michael Clarke Duncan. My tribute to the role you played (John Coffey) in the movie ‘Green Mile”.

Why Worry

From a purely rational standpoint, there is absolutely no reason to worry !

LUCK

harder i work luckier i get

Money, Knowledge, Skill, Educational Degrees, Experience, Tact, Contacts, Attitude etc. kept aside, at the core of it, success is all about being at the right place at the right time with the right people, thinking the right thoughts, talking the right words and doing the right actions …. aka LUCK.

In other words, LUCK is talent meeting opportunity. LUCK may be random and probabilistic, but then in my experience, harder , smarter one tries more luckier he/she gets. So I feel LUCK is positively correlated with strong affirmative thought and persuasive effort in the direction of one’s desire.

May you create your own LUCK. Amen.

Idea vs Execution

IDEA vs EXECUTION

One of the hottest ‘chicken and egg’ type debate – What is important ? The Idea or the Execution. The answer is a complex balance of both. Many a time, in my experience, even a not so great idea executed very well ends up more successful than a great idea executed at average.

Listen to your Gut; Pursue your happiness

Steve Jobs

Steve Jobs

This is worth a read everyday. And with each day I read this, it gives me a whole lot of meaning and purpose. Respect and Bow to this wonderful man who continues to inspire millions everyday.

Purpose of Life

Purpose of Life - Humour

Purpose of Life

After countless hours of thought and reading the best answer that I could possibly contemplate to the question
“What is the purpose of life”ย  is “A life of purpose”.

What purpose ?ย  It isย  individualistic and only the vibes that you get from YOUR Heart can guide you towards your purpose. And note that the “Purpose” is not just the destination but also the journey.

Ask yourself – What do you want ? What do you really want ? Andย  WANT it with all your heart and let the WANT guide your actions. The Law of attraction will take care of it and you will get what you desire, sooner or later.

I also suggest another post that relates to the topic. I really liked the way it was perceived by the author.ย  – http://alistairpott.com/2010/03/30/purpose-of-life/

Cheers and Wish you the best in your Quest for your purpose in life.

Open Solaris 2008.05 Review

Hi, This is Ashwin Bhat K S the SUN CAMPUS AMBASSADOR of NITK Surathkal India, and i will be telling about my experiences with Opensolaris 2008.05. [ THE LIVE CD WHICH TAKES THE LEAST TIME TO INSTALL ] This Blog is more focussed on Desktop and Laptop usage of OpenSolaris. In the Server Side its no secret Solaris Rules with Features like ZFS, Predictive Self Healing, DTrace, Zones etc which rule the Data Centre and simplify Administration and MAnagement.

My SUN BLOG – http://blogs.sun.com/ashwin

At the end is a list of Links which will help any Solaris enthusiast be it Sysadmin / Developer / End User . Do remember to see them.

Let me start with some really cool features and interesting stuff.

I Downloaded the Live CD from the OpenSolaris Website. It was an ISO around 685 MB. You could also order a Free Live CD which sun will ship to your Doorstep.

Live CD is a computer operating system that is executed upon boot, without installation to a hard disk drive. Typically, the LiveDistro is named after the bootable medium it is stored on, such as a CD-ROM or DVD (Live CD/DVD) or a USB flash drive (Live USB).

The term “live” derives from the fact that these “distros”, or software distributions, each contain a complete, functioning and operational operating system on the distribution medium. A LiveDistro does not alter the operating system or files already installed on the computer hard drive unless instructed to do so. LiveDistros often include mechanisms and utilities for more permanent installation, including disk partitioning tools. The default option, however, is to allow the user to return the computer to its previous state when the LiveDistro is ejected and the computer is rebooted. It is able to run without permanent installation by placing the files that typically would be stored on a hard drive into RAM, typically in a RAM disk. However, this does cut down on the RAM available to applications, reducing performance somewhat. As of 2007, certain LiveDistros run a graphical user interface in as little as 32MB RAM.

SO you could Play around with the cool features of OS without affecting your hard disk.

First i would like to tell about my experiences with installation.

I put the Live CD inside my CD ROM Drive and in 2 minutes i had the OpenSolaris Live CD running with a cool Desktop Background. it was bundled with the latest Build 86 of the famous Solaris Kernel.

Solaris Works really cool with the NVIDIA Graphics Card and I am lucky to have it my Laptop. So i had no trouble whatsoever with the GUI Working wonderful and fine. In case anybody has any problem with the gui they can type this command $ gdm or just leave a comment for this blog. I can help you with xorg configuration just in case. I recommend Opensolaris folks to buy a laptop or a Desktop with an NVIDIA Graphics Card

Live CD

There is complete Documentation in the Firefox link provided in Desktop of Live CD. ( Getting Started with OpenSolaris 2008.05 ) This includes installation Procedure , Dual Boot instructions, Solaris Basic System Administration etc and other useful fundae.

There were a couple of interesting Features I noticed. First was a device Driver Utility. This detected almost all my drivers in the System except for my network card , Wi-fi and AUDIO ( which are all available for download in the Internet) .

But there was an option for me to submit my Device Configuration to the BigAdmin Portal Hardware Compatibility List so that they can get the Drivers Well integrated into the next BIG Release.

The next BIG Thing is the easiest to use CAIMAN INSTALLER. I found it amazing and even a newbie computer user would find it easy to install Opensolaris. In just 6-7 Clicks OpenSolaris was installed. TO install OpenSolaris from live CD you need to Double click the INSTALL Icon waiting to be clicked on the Desktop.

When you click NEXT you get to give your partition Options. I already had a Primary Partition of 39.1 GB Free out of the 150 GB Hard Disk. So i just selected SOLARIS in the Partition Type Field.

In case you did not have a primary partition you could use Gparted Live CD to do so. My advice to guys is not to use partition magic as it damages your MBR sometimes. If you have Linux already installed you could use the command format or parted. If you have Windows then Control panel -> Administrative tools -> Computer Management -> Disk Management You could right click on any partition , create a partition delete a partition etc and make necessary primary partition required by Solaris . Extended Partition support for installation is a project which is going on and we would soon see extended partition install support for Solaris. The Image for Changing partition configuration through windows is here

Select Your Country , Date, TIme, etc. Even a New born could do this ๐Ÿ˜‰ And then say NEXT

Select your Language Options.

Enter Root Password and Fill in other User related Details. Don’t Forget to give a good name for your COMPUTER.

So all Installation options are listed and OpenSolaris will wait for your Approval to install itself. Just Say INSTALL.

50 % of the installation took hardly 7 minutes. That was amazingly Fast.

In another 20 minutes OpenSolaris in running in your Bare Metal. Congratulations. ๐Ÿ˜‰ Good Job Done. You could also try to install opensolaris 2008.05 as a virtual machine / guest using XVM VIRTUALBOX

I felt that OpenSolaris 2008.05 was the fastest Live CD which i could install. It beat even Knoppix.

Belenix which uses Gzip / Lofi / HSFS compression and OpenSolaris 2008.05 which uses LZMA Compression are the fastest live CDs currently existing. This is a little known Fact. More than 3.5 GB of Packages is compressed to less than 700 MB. Thats amazing Compression ratio.

Installation is complete and Press Reboot. Remember to take the CD out of the CD ROM Tray.

When the System reboots you get a message that 139 SMF Services are started. Also you see that ZFS FIlesystem is being used. Note ZFS is used as a Root Filesystem in this Release.

ZFS Automounts the various Filesystems. So administering Filesystems is so easy. Just 2 Commands – $ zfs and $ zpool.

GNOME is the Desktop Environment and it really looks cool.

To know the power of ZFS Just watch this video.

Now for the Really big one… IAN Packaging System.. Just Kidding. The Image packaging system is a great way to install packages from a network repository. IPS Server currently supports 4464 Packages. Thats really cool.

  • The COOLEST Feature that i liked about OpenSolaris was the IMAGE PACKAGING SYSTEM ( IPS ). Have a look at the list of packages in the IPS server. There are 4464 packages currently being supported by the IPS server.
  • OpenSolaris 2008.05 also supports SVR4 Packages in .pkg format. So we do have SVR4 backward Compatibility using pkg-get / pkgadd . Those packages can be installed from BLASTWAVE
  • I found a cool link which compares apt-get and IPS (pkg) commands – http://opensolaris.org/os/community/documentation/apt_ips/
  • Installing Packages never got easy. Its just a simple command.
  • Netbeans – $ pkg install netbeans
  • OpenOffice Suite – $ pkg install openoffice
  • Sun Studio express – $ pkg install sunstudioexpress
  • Glassfish Application Server v2 – $ pkg install glassfishv2
  • Web stack tools and UI – $ pkg install webstackui
  • any problem ? just do a $ man pkg and all options along with parameters are displayed.

This was by command line.

There is also a GUI to manage ( Add / Update / Remove ) Packages.

Now i needed MYSQL to be installed in my Laptop. Installing MYSQL is as easy as demonstrated below using the Package Manager GUI.

Go to System -> Administration -> Package Manager in the Menu of Title Bar. You would get a GUI Something like this.

This lists all the available Packages. Type MYSQL in the field provided.

And then i select SUNMySQL5 , the Mysql Server. But wait these have some dependencies. IPS is cool enough to know the dependencies and resolve them automatically. ๐Ÿ˜‰ WOW thats great. If you notice, Below there are three tabs namely General Info, Files Details, Dependencies. The Files Details tab tells you where this package would be installed in your Disk. I feel this is very useful so that we can add this to our PATH variable.

Dependencies being resolved in a royal way ๐Ÿ˜‰ A user need not break his head regrading dependencies. This i believe is one of the cool features in Opensolaris 2008.05.

Sit and watch as Solaris installs MYSQL from the network. You could meanwhile have a tea break. Mysql would be installed in /usr/mysql.

Uninstalling Packages, Updating Packages can also be done using the Package Manager which uses IPS written in Python Programming Language.

COMPIZ

OpenSolaris is never short of cool features. COMPIZ Desktop effects are very well integrated into OpenSolaris 2008.05 and extremely easy to configure.

To turn on compiz desktop effects go to System->Preferences->Appearances

In the Visual Effects Tab Click on Extra Radio Button.

Click on Appearance…

Click the Extra Button to enhance / turn on Compiz Desktop settings.

3D CUBE

Some other Cool Compiz Effects

Somebody call the fire Engine ๐Ÿ˜‰ My Desktop is burning.

Desktop Burning

There is also a CompizCOnfig Settings Manager in System->Preferences->CompizCOnfig Settings Manager where one can enable/ disable various Compiz Effects.

Some other features.

  • The Default shell was bash. ๐Ÿ™‚ Great going. This is one significant improvement over the previous Bourne (sh) Shell.
  • Lot of GNU Utilities are also available in /usr/gnu/bin

GNU Utilities

  • GNOME Environment Rocks. This is a cool enhancement over JDS.
  • I downloaded HD Audio drivers from Opensound
  • Another Great feature with this release is that it comes up with ZFS root, i.e The root Filesystem is ZFS. So one does not have to create zpools, mount filesystems etc . Everything is done automatically and so easy to use.
  • Also Solaris is great in Networking. I installed the driver and absolutely nothing else. I could Connect to Internet through he DHCP Server. ( With Zero Configuration ). Network Auto Magic ( NWAM ) is already configured and it was a great experience. ( In the Previous Release i had to use the command $ svcadm enable network/pysical:nwam or svcadm enable nwam so that solaris could detect my Internet connection) All that is history now.
  • As usual DTrace, SMF, Zones/Containers , Predictive Self Healing etc are always there.
  • One could also try Project Crossbow and play around with VNICS ( Virtual NICs), Flows etc. ( this is useful mainly for SysAdmins )

Some of the features I would like to see added in the future releases so that OpenSolaris becomes still more user friendly are ( in order of priority)

  • More Drivers ( Network and Wireless ).
  • Integrated GStreamer Plugins.
  • OpenSolaris 2008.05 Live DVD to support more packages in DVD itself.
  • KDE as a choice for the Desktop Environment
  • Extended Partition support for Solaris.

LINKOSPHERE

  1. Since i am a student I will start with resources that help with Education / research and curriculum – http://opensolaris.org/os/community/edu/
  2. ( My Favourite ) Introduction to Operating System through OpenSolaris – http://opensolaris.org/os/community/edu/curriculum_development/
  3. OpenSolaris Home Page – http://www.opensolaris.org/os/
  4. OpenSolaris 2008.05 Home Page – http://www.opensolaris.com/
  5. BIGADMIN – a one stop portal for System Administrators, Developers and users – http://www.sun.com/bigadmin/home/index.html
  6. OpenSolaris 2008.05 Download Page – http://www.opensolaris.com/get/
  7. Introduction to Solaris Development Environment – http://docs.sun.com/app/docs/doc/820-0696/feafr?a=view
  8. Solaris Software developer Collection including Doc on Writing Device Drivers – http://docs.sun.com/app/docs/coll/45.26
  9. OpenSolaris 2008.05 Forums – http://forums.opensolaris.com/index.jspa
  10. OpenSolaris 2008.05 Knowledge Centre – http://www.opensolaris.com/learn/
  11. Getting Started with IPS – http://opensolaris.org/os/community/documentation/May2008/
  12. Download Virtual Box ( to run multiple Guests on OpenSolaris as Host or run OpenSolaris as a guest on Other Hosts) – http://www.virtualbox.org/
  13. Browse OpenSolaris Source Code with a great search engine BAsed on OpenGrok : http://src.opensolaris.org/source/
  14. OpenSolaris Download Centre where other flavours like Belenix, SXCE are present – http://www.opensolaris.org/os/downloads/
  15. Current OpenSolaris source code tarball Download Page – http://dlc.sun.com/osol/on/downloads/
  16. Help / pod cast showing usage of IPS GUI Manager – http://frsun.downloads.edgesuite.net/sun/08D12331/index.html
  17. OpenSolaris Communities – http://www.opensolaris.org/os/communities/#all
  18. OpenSolaris Projects where you could participate – http://www.opensolaris.org/os/projects/#all
  19. OpenSolaris Mailing Lists where you could post your queries – http://www.opensolaris.org/os/discussions/
  20. OpenSolaris Jive Forums – http://www.opensolaris.org/jive/index.jspa?categoryID=1
  21. OpenSolaris Technical Essentials – http://www.sun.com/training/catalog/operating_systems/WS-1000-OS.html
  22. Accessing Windows / ext2 / ext3 Partition in Solaris – http://blogs.sun.com/pradhap/entry/mount_ntfs_ext2_ext3_in
  23. Modular Debugger Guide – http://docs.sun.com/app/docs/doc/816-5041
  24. Solaris Dynamic Tracing Guide – http://docs.sun.com/app/docs/doc/817-6223
  25. Solaris ZFS Administration Guide – http://docs.sun.com/app/docs/doc/819-5461
  26. Solaris Dtrace User Guide – http://docs.sun.com/app/docs/doc/819-5488
  27. Learning Solaris docs – http://learningsolaris.com/docs/
  28. Solaris How to Guides – http://www.sun.com/software/solaris/howto_guides.jsp
  29. Solaris Containers – resource management – http://docs.sun.com/app/docs/doc/817-1592
  30. Jim Grisanzio’s ( OpenSolaris Community Development Manager) Weblog – http://blogs.sun.com/jimgris/
  31. Booting Solaris in 32 bit mode : http://blogs.sun.com/ajaykumar/entry/boot_solaris_in_32_bit
  32. OpenSolaris 2008.05 and VMWare Fusion – http://blogs.sun.com/souvik/entry/getting_started_with_opensolaris_2008

More Links to come ๐Ÿ˜‰