Posts Tagged ‘development’

Stagnancy

Thursday, July 1st, 2010

I just finished reading an article on stagnancy http://www.lifehack.org/articles/lifehack/5-steps-to-move-out-of-stagnancy-in-life.html. From my own experience I couldn’t agree more with all the suggestions given. I’m one of those cyclic people; I go on a high working tirelessly and then I reach a low point. So now I try to relax a bit more and spent some time doing things other than work.

My one tip for combating stagnancy is to start slowly and let the momentum build. This is especially useful when you are having trouble starting a project; start with something mundane. I have trouble with focusing when reading something very technical, so I start off by writing down what I read. The combined motor action helps me focus more and gets me started. The hardest part to combating stagnancy is getting started. So start off slow and steady.

Staying motivated and defeating burnouts

Sunday, February 7th, 2010

You know that feeling. Where you’re that close to finishing a project, or achieving a goal, or crossing a task off your to-do list … but you just can’t muster the energy. You’ve lost interest. You’re exhausted. Drained. And you don’t know why. From zenhabits.

I have been burned out several times in my life while working on big projects. There are several trends I see during the times I’ve burned out: it’s a big project where I am the only person working on it, I spend the first couple of months working tirelessly and after a while my interest has dropped. And the article from zenhabits describes it beautifully:

It’s like driving toward a mountain in the distance. You can drive for hours, but the mountain doesn’t seem to get any closer. And spinning your wheels gets real tiring real fast.

And the rest of the article talks about how you should set goals, work less and just enjoy your free time. I find a balance between work and life are extremely important and the article stresses this point and I couldn’t agree more.

I’d just like to add a further point of “How to start working”. Sure we may have all the right requirements in the car to start the engine, inspiration, motivation and anticipation, but we first need to start the car. This is also a problem I usually face. But usually I overcome this by doing some extremely simple/mundane work to get started; writing down stuff/taking notes is usually the best way I get my engine started.

Then just like a snowball rolling down a mountain, it turns to an avalanche. And hopefully it keeps on rolling :P

The Alchemist by Paulo Coelho

Saturday, February 6th, 2010

People are afraid to pursue their most important dreams, because they feel that they don’t deserve them, or that they’ll be unable to achieve them. We, their hearts, become fearful just thinking of loved ones who go away forever, or of moments that could have been good but weren’t, or of treasures that might have been found but were forever hidden in the sands. Because, when these things happen, we suffer terribly.

There are many reasons why we don’t go after our dreams. The main reason, I believe, is that our dreams have faded away along the years. We dream as kids to be firemen, doctors, pilots or astronauts. Because at that point of our lives, everything is clear and everything is possible. Kids are never afraid to dream. But, as time passes, a mysterious force begins to convince them that it will be impossible for them to realize their Personal Legend.

We grow to believe that we are unable to achieve our dreams; and we become fearful. Why don’t people’s hearts tell them to continue to follow their dreams? Because that’s what makes a heart suffer most, and hearts don’t like to suffer. Fear is the main obstacle to almost everything in life. The fear of suffering, fear of disappointment and naturally we’re afraid that, in pursuing our dream, we might lose everything we’ve won.

The Alchemist is a book about listening to your heart and following your dreams. It tales the story of a shepherd in search of his dream and treasure. It describes his journey and the lessons he learns along the way. And by following his heart, he is able to overcome his fear and gain the most important treasures in life. Follow his magnificent journey and may it be inspiration for you to follow your heart and dreams. Because when you want something, all the universe conspires in helping you to achieve it.

*in italics are quotes borrowed from the book, either directly or paraphrased.

OOP

Saturday, December 5th, 2009

Object orientated Perl! Boy, if there is one thing that I want to fully grasp, this would be it. So I spent time (yet again) reading perldoc perlboot. This would be the second time I’ve been through the beginner’s guide to OO Perl. Here’s are the key points (from memory which may be inaccurate):

  1. Packages are used to create “Classes”
  2. In each class, you have methods which operate on an object
  3. Methods are created by using Perl’s subroutines
  4. Methods from can be “inherited” from another class using the @ISA array
  5. The @ISA variable needs to be explicitly (if that’s the right word) declared, either using the full namespace or defined globally using “our”
  6. A constructor is a method used to create a specific instance
  7. An instance is a blessed Perl reference (be it a scalar, hash or array)
  8. The arrow invocation arrow “->” is used to specify a method for an object (i.e. $object->$method)
  9. When using “->” with an instance, the first argument passed to the method is the object
  10. When using “->” in the manner of Class->method, the first argument passed will be the class
  11. Interestingly (to me), when you use “->” with an instance, the method can still pick up the class from the instance

So by using these ideas, you can create classes with packages; within these classes you can create methods, i.e. the new method as the constructor which creates an instance of the object.

I think the best way to really learn OO Perl, is to start writing some. I will post my OO Perl exploits as they come along.

Giving advice

Sunday, November 8th, 2009

Advice is seldom welcome; and those who want it the most, always like it the least – Lord Chesterfield 1748 in a letter to his son.

Have you ever felt compelled to give someone advice or to advise them of their mistake when you know that they have erred but hesitated to do so? I know I have, on many occasions. For example, you may notice an apparent and undesirable bad habit that a friend has. Most if not all times, I would like to tell them about it and I have many times in the past. Sometimes they tell me “Yeah I know, it’s something I’ve been trying to adjust”. But after a while when you meet your friend again, they don’t seem to have changed at all. Other times people like to justify their bad habits or they tell me it’s really not much of a big deal. And at that particular moment, I don’t really have anything to say. For once I would like someone tell me “Oh sorry I hadn’t noticed, thanks for telling me” upon hearing my advice. But most people are aware of their problems, they just sweep it under the carpet and it resurfaces every now and then.

So over the years, I’ve lost enthusiasm towards giving people advice. If people want to change, they will do it themselves. More importantly people don’t like it when you’re not minding your own business. But as a friend to the many people who have problems, I still want to tell my friends how having such a habit is bad for them. Sure I have many bad and poor habits myself (who doesn’t?) and I’m not a qualified psychologist/counsellor of some sort. But I still would like to tell them.

On the contrary, I would love to have someone tell me of my problems. I would appreciate the effort of them telling me of my problems. But most people don’t like to talk about these things to avoid awkward conversations. And I have to admit I’m not the most inviting person when it comes to conversations, so I have yet met someone who has told me of my problems (or perhaps I’m just perfect). It would be nice to have someone come and tell me of a bad habit that I have; for example “Hey Dave, you know that yawning without covering your mouse is pretty rude in Australia?”. I have been told that once when I first came to Australia, and have since never yawned without covering my mouth.

Fear

Sunday, October 11th, 2009

When I look back on all these worries I remember the story of the old man who said on his deathbed that he had had a lot of trouble in his life, most of which had never happened — Sir Winston Churchill

I love reading articles that I can totally related to and understand. Today I read this one titled “Self Doubt: A Disease that Doesn’t Discriminate!”. The article starts off much in the style of “The Eighth Habit” by Stephen Covey, where the author writes about common problems everyday people faced. I could relate to many of the listed issues related to self doubt; “What if I’m not qualified enough?”, “What if I get all excited – like I always do – and then fail?”, “What if I disappoint people?” which ultimately leads to “Hmm, perhaps I need a little more time to plan and think about this”.

The only thing I wanted to add to the article is that fear is such a deeply embedded disease. And even when we have acknowledged our problem of fear and made a decision to face our fears, it is an extremely difficult problem to face. Rejection and humiliation are the worst feelings in the world, which is why fear is so powerful. So while the article was great, I felt it was a little tough on people whose lives are affected by fear. I whole heartedly agree that the solution is you, because only you can face your fears and manage your fears. And it’s one of those problems that takes so much effort to correct but the tiniest set back can undo all that was done. The solution I believe will involve a lot of support from friends and family, and taking very small steps on the stairway of fearlessness.

Passion

Friday, October 9th, 2009

Admiration is a very short-lived passion that immediately decays upon growing familiar with its object, unless it be still fed with fresh discoveries, and kept alive by a perpetual succession of miracles rising into view – Joseph Addison (English essayist, poet, playwright and statesman).

I’ve had some experience as a salesman and one of the things we were trained on is impulse. Always remember to remind the customer that this is a limited offer (even if it isn’t). Impulse is also the basis of those infomercials you see 3am in the morning (if you’re ever up watching t.v. at that hour). Call now and receive this and that absolutely free. This offer is only limited to the next 500 callers so be quick. I’ve been suckered into buying one of these products. It was a series of audio cassettes that claims to help your memory. The first couple of tapes were pretty cool, but eventually I found the product to be pretty shallow and unapplicable. I was 14.

We are constantly trying to distinguish between admiration or passion, lust or love, and impulse or real need. We try to change careers, change partners, buy new products all in an attempt to find our passion. Why is it so hard to find something that we can adhere to? I believe it has to do with freshness. The quote at the start of this entry basically encapsulates my whole belief of passion. I believe humans are innately wired to keep demanding freshness. It’s a trait that has been selected during evolution. Because if we were content with what we had, the human race wouldn’t have evolved so quickly since the neanderthals. No other species are like humans, which you may argue is not a good thing (listen to Agent Smith in “The Matrix”).

So unless there is a perpetual succession of freshness, we won’t really further lust into love, admiration into passion and impulse into continual need. It’s just like playing a role playing computer game, where you want to level up your character and find the best items in the game. But the addiction dies out once you have reached the highest level and found all the items in the game (which is something I have achieved in Diablo 2, twice). I had my level 99 character (with several others close to 99) and all the best items in the game; then I asked myself now what?

So when you are searching for your passion, find something that continually brings you joy and a feeling of accomplishment (Diablo 2 is probably not an ideal candidate). Find something that makes you get out of bed every morning (preferably not coco pops). And once you find your passion, I’m sure great things will happen.

Reflection

Friday, July 31st, 2009

I have recently read a post from zen habits about “being still”. It described today’s society as one that is in constant motion; one where we spend each moment doing something or another. A busy lifestyle is seen as one that is productive and engaging; on the contrary when we are being idle or still we are percieved as being lazy or inefficient. As a consequence we try to jam pack as much as we can in a day; when we get a spare moment we’ll check our emails, our phones or read up on news. We feel the need to constantly bombard ourselves with information so that we seem to make the most out of 24 hour day.

However while we might be achieving more, there is a price to pay. In the exact words of Leo (founder of zen habits) “This comes at a cost: we lose that time for contemplation, for observing and listening. We lose peace.” Life is all about balance, and we can’t neglect the part of us that requires this peace. With that I decided to be still for a moment and reflect.

I sat and pondered on my current situation. I looked back 4 years ago, a fresh honours graduate going through a tough relationship. I suffered from depression, low self esteem, and a general lack of direction. It was tough back then, especially when I lacked the support I needed. It is a very long story (which I plan to graduately write about), but I am glad to have met many people along the way that made things better. Life is very different these days. I’m in more control of my life and much happier. I still have the down times but they don’t last. I have chosen to be happy.

Thinking back and reflecting makes me appreciate the things I have today. I enjoy my work, I am in good health and have a better half. Sometimes it is nice to be still; it makes you appreciate the things you have in life.

On comparing

Thursday, July 30th, 2009

I enjoy reading blogs to see what others’ think and reflect on their ideas. Since I like to write I always like to compare my blog to the ones I read. Most of the times I just feel that my entries are never as good as the ones I read. When I write about technology and then read another blog on technology, I always have this inferior feeling and feel like removing my blog. This is why I don’t really like to publicise what I write, which wasn’t my motive to starting this blog in the first place.

I know a lot of people like to compare, and it is just a part of us. Parents almost always compare their kids to other kids, especially my mother. Its good to have a benchmark but sometimes comparing too much leaves us worst off. I can’t really help it though and I always set my bar up too high. I compare myself to professionals who specialise themselves in an area but logic doesn’t come into play whenever I compare.

Stephen Covey describes comparing as one of six metastasizing cancers; the other five are criticizing, complaining, competing, contending, and cynicism. I have had 3 of the 6 cancers throughout my childhood; competing, contending and comparing in almost everything I do. I’m much more lax these days but I still find things to compare. Its hard not to compare, but I guess the next time I find myself making a comparison I’ll try to think in a logical manner. And if I really want to contend and compete, I’ll try to see the value of such actions. Besides sometimes it’s ok to be inferior to someone who is superior.

davetang.org

Sunday, May 31st, 2009

So it has been a month and a bit that I have purchased this domain and paid for the web hosting. I haven’t spent as much time on it as I have wished. My web hosting company actually provides a lot of tools (if tools is the right word to use) for web development. They provide MySQL, PHP and Perl. Their control panel also makes it idiot proof to install popular internet applications such as WordPress, wiki, etc. I hadn’t expected this many features, especially since I only paid 80 bucks for the entire package, which includes a year’s worth of hosting. Perhaps had it been more expensive I would be doing more work on my site, just to get my money’s worth.

Nevertheless, as with all tasks the hardest thing is just to get started. At least at minimum I am now using the blogging software. I’ll try to put in a few hours everyday on the site or just update my blog with the catch of the day.