Pages

Showing posts with label programming. Show all posts
Showing posts with label programming. Show all posts

Wednesday, 11 January 2012

Try Something New

I like trying out new things, and getting rid of old things. This happens at all levels, including mental, by letting go of old thoughts and replacing them with new ways of thinking, and physical, by finding new interests and exploring the physical world, and spiritual, by exploring more of the inner world.

In fact, whenever I go to work for a company, I like to throw away all their old instruction manuals and write new ones. Since the modern world is changing more quickly, we must get more comfortable with discarding old ways and creating new, more effective ones.

In review, in 2011 I have...
  • Learnt to swim (albeit only on my back and not in deep water yet)
  • I have learnt how to be more down to earth and spiritual at the same time
  • I have learnt 3 new programming languages including JavaScript, JQuery and Python
  • I have found a new interest in cycling (after cycling from France to Belgium)
  • I have formed two new companies: New Life Awakening (personal development) and KhalsaSoft (web applications) - and also conducted a few exhilarating business deals in true apprentice fashion!
  • I have realised the main golden rules of business, which are the key ingredients into making any business a success (which I intend to share once I have proved their worth myself)
  • Also, I helped define a whole new form of personal development retreat for the Sikh community, on behalf of the City Sikhs Network, called the City Sikhs Retreat. It was a game changer for the Sikh retreat market (more on this later)
There's probably a lot more things - but these are the ones that readily come to my mind.

So...I wonder what gems are yet to unfold in 2012? OOoooooooo...EXCITING!

God Bless You.

Thursday, 8 December 2011

Programming Is Orgasmic

This is true for me at least ;). I know this isn't a technology blog, and programming is probably the farthest from Self-Help as one can imagine, however, I needed to share this so instead of starting a new blog on technology, I'm going to bore some of you with my techy speak. Too bad - feel free to unsubscribe at any time ;)

I only just learnt to program in JavaScript, and I can say that I'm on cloud 300 million right now! (cloud computing lol - did you get the geeky joke?). It's the feeling of being able to create exactly what you want on a computer. In order to create on a computer, you have to learn how computers speak - you have to learn THEIR language. Until two days ago, I did not know how elegant JavaScript was as a language. It's like the French of computing languages.

I also feel this very strongly: everybody should learn basic programming. It should be compulsory like Mathematics or English. It's such a core skill since all of our lives are now on computers. We hardly exist offline these days! Programming can also enrich many subject areas like physics, psychology, mathematics, art, business studies, languages - since one needs to know a little about all these areas in order to produce useful programs. The possibilities which open up when one knows how to program are ENDLESS!

I have wanted to learn programming for soooooooo long, and you people who read this blog religiously may remember that my 2011 resolution was to become a decent Python programmer. I also talked about doing, rather than waiting for things to happen. Somehow, it ALWAYS seems to work out that I end up completing everything on my to do list, even if I never look back at the to do list. It's as if, when I write something down, it goes deep into my subconscious and my mind subconsciously begins working on solving and creating the things I wrote down into reality.

Well, I suppose that's only half-true. I'm not a decent Python programmer, but I am (and that feeling of deja-vu swarms over me yet AGAIN whilst writing this) a much better a programmer than I was 1 year ago. In fact, I just started a software company called KhalsaSoft.

The feeling of creating a program that works is absolutely orgasmic! Especially since I have struggled for around 12 years to create one. But to be fair, I only struggled because I never really tried to go on a course to learn programming, nor tried to find a tutor. All I did was buy a few programming books, which I never read. I learnt later on that I'm a visual learner, so at the advent of YouTube, learning anything for me became much easier.

By the way, if you DO want to learn programming I totally recommend The New Boston by Bucky Roberts: http://thenewboston.org/. He's a really down to earth, young and witty programmer who is sure to make you laugh several times as you learn to program step-by-step. This is how I learnt basic JavaScript in just two days (with a little pre-requisite knowledge of computing concepts and no distractions), and also basic Python in around 2 weeks. Also, use this website religiously: http://www.w3schools.com/

If you're a complete newbie to programming follow this sequence of learning programming languages. Once you've got the hang of one, move onto the next:

  1. HTML/XHTML - For creating simple web pages
  2. CSS - For styling web pages beautifully
  3. JavaScript and/or JQuery - For creating advanced interactive web pages
  4. Python and/or PHP - For doing more heavy stuff
A final note to connect all of this mumbo jumbo to Self-Help is that the future is only going to become more and more computerised. We almost NEED to know some basic programming, so we can create some basic scripts in Excel, in Word, in a browser: to ultimately simplify and automate our lives, reduce our stress and increase the time we have for actually living a life we want, full of quality, richness and love.

Sat Naam.

Friday, 18 November 2011

3 Rules to Improve Productivity


Rule No. 1
Always set a deadline for work tasks, small or big. When you set a deadline - time compresses and you become more productive in a shorter period. Deadlines should be realistic and no deadline should exceed 48 hours.

Rule No. 2
Pareto's 80/20 rule applies to everything. Only 20% of tasks contribute towards 80% of results. The majority of time is wasted on tasks of low importance and low impact. Time should be spent on high importance and high impact tasks. For example, meetings are generally low importance and low impact, instead you can catch up on the minutes of the meeting from a colleague, and focus on more important tasks.

Rule No. 3
Automate cumbersome tasks wherever possible by empowering individuals to take on responsibility or putting in a technological solution. For example, instead of making all the decisions and doing everything, just empower somebody to make some low to medium importance decisions and do some tasks for you. You can always outsource for $40 an hour. If there is some manual processing which is taking time, you can find a computer programmer to develop a little software tool to help you out ;).

Summary
Identify the 20% of the most important tasks, and then set a deadline to achieve them - gain 80% of results! Empower others to take on some of your responsibilities & automate wherever possible.

Rule No 1 & 3 makes time more efficient
Rule No 2 makes time more effective

Thursday, 30 December 2010

My New Years 2011 Resolution

Not Jesus, It's Santa Claus!!!
The New Year 2011 brings with it a new possibility - the excitement to start something new, to experience something new, to enjoy life with your loved ones or on your own, to reconnect with a long lost friend, a relative perhaps, or to simply just share a bit of that Christmas spirit leftover from the 25th after consuming large turkeys. And so, its only normal for people to create new years resolutions in such an overflowing of positive emotions and well - sugar.

Let's break the word down: 're' and 'solution'. This implies something is wrong, and requires a solution. It also implies the solution has been tried before, but failed and so needs to be 're'-applied. Oh dear - no wonder most people cannot keep their resolutions!

Because... (a) one thinks there is something wrong, which needs to be fixed and (b) one is "trying" to keep their resolution rather than "keeping" their resolution. "Trying" is usually an excuse which avoids actually "doing" something and it also indicates that a person has not yet made a "choice" to create and action their resolution into reality. "Trying" is passive, it waits for things to happen. "Doing" is active, it makes things happen.

The Wrath of God?
Choice is the most powerful act in the Universe. When God commands a human being to do something, one can refuse to do it. But when a human being commands God to do something, even God cannot refuse. I repeat, choice is the most powerful act in the Universe. Most people CHOOSE to "try" - and thus life can become a struggle of continuously trying, sometimes being a success and sometimes failing, but always just trying. The other way to look at life is to "do" and make things happen irrespective of success and failure - it has far more action associated with it, far more control and power. So why not CHOOSE to try out a new way to approach 2011 by remembering to: Always do, never try.

So, in the spirit of sharing - my new years resolution is to become a decent Python programmer by January 2012, this time next year. Learning to program has been a life ambition of mine, I've always tried to do it, but failed. So, I stopped trying. Tuesday 28th December 2010 marks the glorious day when I completed the coding of my first Python program which worked and was a really useful tool for me! Python is a very elegant and simple language to learn if you're just starting off.
The Python Programming Language
Also, I'm kind of a visual person so I learnt how to program through the very EXCELLENT video tutorials on YouTube. Specifically a shout out to my virtual teacher Bucky Roberts - you rock dude!!!

Sweet people of the world - there's so many things to experience out there - please make the most of it in 2011!!!!!!!! You have it all there in front of you, so why not make things happen with grace and consciousness? It's the most fulfilling and enthralling thing you can ever do and its our most privileged opportunity in this life :).

Sat Naam.

My New Years 2011 Resolution

Not Jesus, It's Santa Claus!!!
The New Year 2011 brings with it a new possibility - the excitement to start something new, to experience something new, to enjoy life with your loved ones or on your own, to reconnect with a long lost friend, a relative perhaps, or to simply just share a bit of that Christmas spirit leftover from the 25th after consuming large turkeys. And so, its only normal for people to create new years resolutions in such an overflowing of positive emotions and well - sugar.

Let's break the word down: 're' and 'solution'. This implies something is wrong, and requires a solution. It also implies the solution has been tried before, but failed and so needs to be 're'-applied. Oh dear - no wonder most people cannot keep their resolutions!

Because... (a) one thinks there is something wrong, which needs to be fixed and (b) one is "trying" to keep their resolution rather than "keeping" their resolution. "Trying" is usually an excuse which avoids actually "doing" something and it also indicates that a person has not yet made a "choice" to create and action their resolution into reality. "Trying" is passive, it waits for things to happen. "Doing" is active, it makes things happen.

The Wrath of God?
Choice is the most powerful act in the Universe. When God commands a human being to do something, one can refuse to do it. But when a human being commands God to do something, even God cannot refuse. I repeat, choice is the most powerful act in the Universe. Most people CHOOSE to "try" - and thus life can become a struggle of continuously trying, sometimes being a success and sometimes failing, but always just trying. The other way to look at life is to "do" and make things happen irrespective of success and failure - it has far more action associated with it, far more control and power. So why not CHOOSE to try out a new way to approach 2011 by remembering to: Always do, never try.

So, in the spirit of sharing - my new years resolution is to become a decent Python programmer by January 2012, this time next year. Learning to program has been a life ambition of mine, I've always tried to do it, but failed. So, I stopped trying. Tuesday 28th December 2010 marks the glorious day when I completed the coding of my first Python program which worked and was a really useful tool for me! Python is a very elegant and simple language to learn if you're just starting off.
The Python Programming Language
Also, I'm kind of a visual person so I learnt how to program through the very EXCELLENT video tutorials on YouTube. Specifically a shout out to my virtual teacher Bucky Roberts - you rock dude!!!

Sweet people of the world - there's so many things to experience out there - please make the most of it in 2011!!!!!!!! You have it all there in front of you, so why not make things happen with grace and consciousness? It's the most fulfilling and enthralling thing you can ever do and its our most privileged opportunity in this life :).

Sat Naam.