Wednesday, January 31, 2007

Aren't we moving to dark age?

Well i wonder how many from the west would have heard of load-shedding, an inseparable part of our daily lives. These days we are undergoing 3 hours load-shedding everyday. The light has just gone off now in my neighbourhood. The light will show up after 3 hours (at 1AM in the morning). Now this situation will be getting more worse in the coming days, there are talks going on around that there will be 6 hours electricity cutoff daily. Experts are predicting even worst situation in the future.

The major credit for the present situation goes to maoists, who have destroyed numerous infrastructures to come to the mainstream for the political change in Nepal. So far they are successful but all of us are paying huge price. Now agitated Terai is just around the corner. Nepal still seems to be far from the political stability, instead approaching dark age. May gods of Nepal help Nepal.

My Accomplishments in January 2007

These are some of the achievements that I could remember of
  1. Coordinated hands-on training on Wiki at ICIMOD on 3/4/11 Jan 2007
  2. Ran 10 days in the morning (achievement so far)
    1. Need to increase this number
  3. Posted 31 in total in 3 blogs
    1. I need to blog more on my talkict blog
  4. Completed and implemented Document Flow Tracker at ICIMOD
  5. E-library application is 80% complete
  6. Developed a small script for Html Table to Wiki converter in python
  7. Understood the sphider search engine and customizing it for my need (around 70% done)
  8. Learned Jquery framework for Javascript and Code Igniter php framework
  9. Hacked Mediawiki for versatile page by page access control (based on page-by-page access)
  10. Hike to Lakhurebhangyang

Time flies. We don't remember everything we do. Generating a list, as above, makes sense of my might-have-wasted time. Now I can sit back and enjoy thinking 'I have achieved something!'. This list definitely needs to increase. One thing I am missing here is reading books. Hope to have at least two books in my next month achievements list.

what to do when you don't feel doing anything?

What do you do when you don't feel like doing anything? and at office? Well right now I am going through the similar situation and don't know what should I do. There's work to be done. And yet I am writing to you, incase you have anything interesting to suggest for the next time. I think it's maybe because of fatigue due to running in the morning after a long break or because of hot air. Possibly that. Ok i found the reason. Now what?





powered by performancing firefox

Tuesday, January 30, 2007

A memorable hike to Lakhurebhangyang

The hike to Lakhurebhangyang (Jan 27) was definitely a memorable day to all of us. Our fatigue was none compared to the beautiful scenes on the way. I wasn't tired anyway.
The three cities of Kathmandu valley was supposed to be seen from the top of Lakhurebhangyang, but the panorama was blurred. Fog or pollution?? Didn't try to find that out. That was the second time for few of us. But still we were captivated by the soothing views on the way.
The laugh, talks, food, views, mock... are still fresh in my mind. Fresh! I am sure some of my friends would laugh at me right now.



well the "not supposed to happen" happened :))

Well it just happened the "not supposed to be happened thing". Quite a funny message by the fav. Google in the Google Reader. Just thought of showing to you ;)

Image Hosted by ImageShack.us

I crossed the century but in blogging

This is my 101th blog. Well I hope to cross double century by the next year. Another new year resolution :) I am just thinking that I am going to write about my achievements (anything i remember and that i take as an achievement... you will see tomorrow) at the end of every month... my resolutions seem to be increasing. Good for me. Wish me luck!!

Source code formatter for blogs

I found the source-code formatter to format codes for posting in my just-tech blog. It was quite useful because I was having the problem of managing the structure of codes, when posting it in blog. I wish to have color formatting features for codes in blogspot. I am going to need this quite often.

Friday, January 26, 2007

Why you should learn programming: use of regex

Suppose your boss gives you a list of names, given below, and asks you to remove the numbers. Hapless you have no other way than to go to each line and delete the number. If you have little idea of programming, you would never think that way. You will immediately try to find the least time consuming way. You can write a program to do the job for you. I won't recommend that. But if there are hunderds of such files that need to be sorted out, then you should definitely embrace programming. However for the task given below, there's another tool that will really make your life a happy life. Regular expressions. Sometimes even the good programmer are not aware of such tools. These tools are also available in almost all high level languages.

Most text editors also come with regular expression functionality. Oh don't menion about useless Ms Notepad. I use notepad++, however there are plenty of other free editors lying around the net.

It just takes a second to extract the names from the list below. I mean a second for me and some of you. Because I already know a bit of regular expression. It's a really confusing at the beginning and you don't have to be a programmer to understand regular expression, though programming idea definitely helps.

I am assuming you are not using notepad. If you are, then change it right away.

1 FirstA LastA
2 FirstB LastB
3 FirstC LastC
...
...
100 FirstAA LastAA
...
...
1000 FirstAAA LastAAA
1001 FirstAAB LastAAB
...

The list goes on

The presentation below shows some regular expressions to manipulate the list of 1000 rows, but definitely not a comprehensive one to master regular expressions. Just know that there's also regular expression around the corner, should you need to do some work expeditiously.

Thursday, January 25, 2007

goggle gets right when you search for me...

Do you ever wonder what google gives when you search for your name? Well I really wanted months back to give pages relevant to myself when being searched for anjesh. Guess what? Now google gives the real me for anjesh, in the first place. There are other anjesh also.
Try searching yourself. It's very unlikely that you will get your own results. If you are curious about what I did for that, then the answer is regular blogging. I think google is curious about updated pages.

Finally html-table to wiki get going... developer's satisfaction

Every developer knows the satisfaction of having something accomplished. Like today I was able to convert html-table to wiki format. I will post the python code in my tech blog soon. Though it's a simple code but it's usage is tremendously high. I found few sites that does table conversion from html to wiki, but they preserve the attributes of rows and columns of table, which I don't need + few other issues. So had to do on my own, also a test of knowledge of Python. Python is a one of the must-know languages.



We at ICIMOD are moving intranet contents to Wiki. We have also hired an intern to do the job. This program is just to make his job a little easy. I understand the pain of creating tables in Wiki, especially when it's two pages long :-(





powered by performancing firefox

Wednesday, January 24, 2007

Track flying-time and elude frustration

Well the first month of this not-anymore-new-year is almost coming to an end. When I look back in January, it seems like I have done nothing at all. Frustration!! Well there are some productive things that I think I might have done but don't remember it clearly. Time flies and no body can control time. The only way to control time is to use it properly. To justify the proper use of our time, we should log our tasks and see at the end of month what we achieve. Easy to say, hard to do. Well I haven't done that so far, but it seems quite promising. That log will give us a glimpse of our achievements over the last month. We can develop strategy accordingly and also it won't let us to frustrate over flying time, unless you happen to waste time doing nothing.

Monday, January 22, 2007

Video editing is a breeze!!

Last night I was really busy trying to convert mobile video format .gp3 to other format recognizable by Moviemaker and do a little editing, slicing, adding titles. Finally I was able to convert .gp3 to .avi using mobile 3gp converter, the best part is it's freeware. Editing in Moviemaker is a breeze. Just took 10 minutes to edit the video file that you may see below.

Sunday, January 21, 2007

Are we helpless or we just don't care?

Two boys, possibly at 15,16 or even less, kicked, thrashed the footpath fence with exertion. Passers-by gave a look. Nobody dared to say anything to those boys. Finally the boys were able to take one bar out of the fence. I was also little frightened while taking the shot with my mobile. I know nobody would come to help me if they snatched my mobile. I would have been helpless. There were police, traffics but just enjoying the scenes; perhaps they had no other choice. I couldn't shot the car being shattered in front of police.

People were saying that they have never seen those hooligans, despite the fact that they have been living in this neighborhood since 30/40 years. So true. When it comes to hooliganism, it appears as if they are being sent from the Satan. Who dares to challenge with the Satan? Just watch, enjoy, talk, and say "Nepal is always like this!" Perhaps the scenario would have changed, should only 100 people from the neighborhood stood against such act. I wait for the day.

http://www.nepalnews.com.np/archive/2007/jan/jan21/news09.php

Saturday, January 20, 2007

(Liverpool vs Chelsea) vs cornered people

I am watching Livelpool vs Chelsea, but with no real intension of watching. I was thrilled to see the two goals by liverpool within the first 20 minutes. Aren't we very privileged? We are indeed and we take many things for granted. And then we have preferences. I do have lots of friends who know about the transfer of player in real time and have opinions on the performance of the teams. I was never bound to sports like an addict. I do watch games but I watch for fun. Some of my friends say that futbol is kindof religion for them. In between i wonder how many of them actually think about cornered people, just a curiosity. Maybe I am talking about the cornered people because I watched them yesterday and their pain still hanging in my mind. I wait for the day when these people would get the same value as Liverpool vs Chelsea.

"We corner People" is cornered and will be always

Everyone almost choked when a person ,from Helvetas, was reading a letter to a family in a Tamang village of Rasuwa District, so called the corner of the country, in a documentary "We corner people" by Kesang Tseten. That person even couldn't complete the letter and apologized. That particular scene showed the hardships living through by exploited Nepalese in Arab countries. At the end, everyone of us at ICIMOD conference hall was distressed, it was felt in the silence among people leaving the hall towards the party; everyone forgot what they have just seen and felt through. After having dinner, some started to dance and "We corner people" was definitely cornered. I really wish we could do something.

Wednesday, January 17, 2007

Why do people, or better you, smoke?

For fun, show-off, peer pressure, environment, loneliness, foul breath... or to die first, that's for sure whether you like it or not.



A friend of mine once explained to me that he first started to smoke for show-off; young people often feel superior when they do something they are not supposed to do. It doesn't take time for continuous show-off to turn into habit and finally addiction. I also asked another friend of mine, a girl, that whether she is addicted. She proudly said no. I asked her again that if she could refrain herself from smoking for even a day. Surprised. 'wow.. I haven't thought of that'. That was funny.



We all know that smoking is injurious to health and yet we do (excluding me and some of you). Sometimes people would make fun of themselves saying that "Yeh.. I have left smoking", after a little pause, "since 2 hours." That clearly shows how much will power that we, humans, lack; there are and will be exceptions though.



I wonder whether these smokers are also contributing to the global warming - risking our planet. As long as they are risking their own lives, let them enjoy. When it comes to other non-smokers' lives, they should be stopped. But how? Will government ever stop high-income generating cigarette industry? But at least they should be reminded that 'Smoking is not just injurious to their health but the entire planet.' But again who cares. Humans! Social yet selfish animals!!!

my nokia mobile broke again....

I was installing few applications in my nokia 6600 from http://www.crazy4mobilez.com. Fortunately I also installed "backup contacts". I was also testing bluetooth connector for pc and luckily happened to transfer the backed-up contact file. Otherwise I would have lost the contacts again like couple of months back. Suddenly one application caused mobile to collapse. I guess the mobile c drive got corrupted. I was not able to view contacts or do anything. The last time, the same thing happened, restarting helped. This time, nothing helped at all. A message came at the same time and couldn't do anything to view that message. It was on mobile memory. Now i have changed the settings to store the messages in MMS card. Finally I had to format the mobile losing all the data on the mobile phone. This time I have my contacts in my pc so didn't worry much. You wouldn't believe that the last time, my mobile broke, I paid Rs 500 to fix it. That guy who fixed my mobile did nothing more than formatting it. I still hate that guy. But again I got an opportunity to know about formatting the mobile myself and freed myself from the anxiety of what would happen if i did this. Now I am not afraid to do anything stupid with my mobile.

Saturday, January 13, 2007

lost in the city

Well it sounds funny that I got lost today in the morning in the puzzling alleys of this city. I woke up little late so decided not to run far. But something came up and I decided to run inside the city. On reaching Bishalnagar, I wanted to take another route which I have never been to. I happened to circle the same area thrice, everytime with different routes. Finally I went back from where I came and took known route back to home. I got so so tired :-<

test:blogging from flock

This following text was written 2 days back. I couldn't blog from flock nor could I log-in to my blog through flock. Finally i am able to log-in now.
I just installed flock browser, which is just another fork of mozilla base code, or you may say a brother of firefox. Flock already comes with blog, image posting features. I am just trying to test blogging from flock. Hope this will get to my blog.
Firefox needs a separate extension for this feature, which is embedded in flock core. Also I noticed that this is comparatively fast than firefox2.0. Sometimes typing in the address bar of firefox lags almost 5 seconds before appearing. I don't know if only i am facing this problem. Anyways flock seems to be a good competitor to firefox: my opinion!!

Blogged with Flock

Friday, January 12, 2007

Creative CV: worth watching it

Below is the screenshot image of musical CV in flash - very creative, funny, interesting, sounds good...

The forward mail contains the following message.... (believe at your own risk but who cares :)
This guy posted his resume musically on the net and he really got hired by Microsoft graphics team. This is amazing stuff.....The person who prepared this CV received job offers from 180 companies; More than 1,000,000 ppl have viewed this CV...

http://www.paradoxware.com/alstudio/cv/en.htm