Archive

Author Archive

Disater Recovery — Sound Good

February 10th, 2010

Disaster recovery is something every one looks to here is in place. In fact very few companies ever tried to actually review the plan and exercise is as well. In hard economic situations, organizations find it hard to actually implement disaster recovery practices with full strength but they also need it for a good selling point.

Read more…

Misc , , , , , ,

Agile vs Non-Agile Development Process

January 27th, 2010

While delivering a training session on development life cycle, a discussion started stating we should have separate development life cycle for agile. Let’s discuss should it be really separate? Let’s talk about in term of phases. I will not write down the name of the phase just for the comparison purposes. Let’s look at both models and focus of phases within them:

Read more…

Agile , , , , , , ,

SharePoint Upgrade Issue

January 7th, 2010

I have faced a weired issue while upgrading SharePoint Server 2007 to SP1 on one of our development servers. Whenever I executed WSS and MOSS upgrade installer, it gives me error “detection failed, this could be due to corrupted installation”. I tried following to overcome the issue but none of them actually worked:

  • WSS SP1 wizard failed
  • KB941422 execution failed
  • Force upgrade with psconfig command line “psconfig -cmd upgrade -force” failed
  • “stsadm -o upgrade -forceupgrade -inplace” also failed
  • Disintegrated server from farm but it still failed

Read more…

SharePoint , , , , , ,

SharePoint – Deletion In Batches

December 16th, 2009

I have been facing an issue after inserting quite much data for testing into one of my lists. It was really hard to get rid of the data and the deletion in sequence was just a nightmare. After some googling I figured out batch deletion would be a perfect solution. Sample code is shown in the following:

Batch Deletion Code

As my data was huge in size like 100,000+ records were there. I prepared batches of thousands and deleted one batch at a time. During each batch, I applied a sleep as well. This way deletion was so fast that I was able to delete all records in like less than an hour.

SharePoint , , , , , , ,

SharePoint Template, Theme and Site Definition

December 3rd, 2009

If you have been reading stuff about sharepoint, you must have read/listened these three terms invariably. Yeah template, theme and site definition. All these three are different, lets talk about each one of these:

Themes

Difficulty level for this entity is lower. This is a collection of stylesheets and images to help creating a skin for the site. It’s all about the look and feel of your site. There are several style sheets already available in “TEMPLATE\LAYOUTS\1033\STYLES” folder.  But it is not recommended to modify these directly as it will effect other sites as well. Themes are available under “TEMPLATE\Themes” folder.

Read more…

SharePoint , , , , , , , , ,

Sharepoint Load Test

November 3rd, 2009

I had to pass through a scenario that may rare as far as working with MOSS is concerned, sharing it on my blog so it might help someone else. I had built an office automation application using MOSS. We need to pull legacy data within our application as well. In the application there were several sharepoint views.

Problem

After performing import for the legacy data, the total count of items was like more than 150k. I see the following problem opening up page in designer:

Issue with SPD

Read more…

SharePoint , , , , , , , , ,

What is Company Loyalty ?

October 6th, 2009

Have you ever wondered what is company loyalty ? Is there something like that or its just for exploitation or something else ? Lets look it other way round. For instance, you are loyal to company and in turn your employer, is your employer in return loyal to you as well ? If you say yes, I doubt it :)

Having said that, is it required to love your company or your work ? If you just love to work for your company and not your job, you are not fulfilling your duties. Top priority should always be your job and work not the company.

When company will do good business, employer will happily say its your company and when its the other way round, the same employer would say this is my company and I have to take some hard decisions :) Is n’t it ?

Read more…

Management , , , , , , , , , ,

Why Should I Leave ?

September 16th, 2009

When I joined my first job, I have never thought will I leave this organization or not? As per circumstances I remained for a while with the employer despite of quite much post WTC financial crisis with the company. Anyways, I left when company asked me to :)

As my career moved onwards, I switched some companies due to many factors like:

  • Having absolutely no structure or hierarchy. Funny part is that most of the companies top management call themselves a matrix organization which by no means fulfills the definition. Just calling itself a matrix organization does not serve any purpose :)
  • Lack of communication or you can say haphazard mode of communication.
  • Having lots of managers :) everyone seems to be manager and you never know who you are ?
  • Very little or no appreciation at all. Delivering is your responsibilities but you do a lot going out of your boundaries to deliver but having no credit definitely hurts.
  • Bad apples, yes the bad apples who are spoiling the culture and always trying to make things worst for people they don’t favor.
  • Last but not the least if you (an employee) have got no social life for longer period of time, ultimately employee will leave with frustration. Working on offshore does not mean you are not human.

Read more…

Management , , , , , , , , , , ,

Productivity! What Is It All About

August 29th, 2009

Productivity is one of the phenomenon talked about much, practiced and yet there is a lot for improvement. Organizations/groups complaining less productivity know that organizations with higher productivity doesn’t use very advanced technologies.

Their better performance can be explained entirely by their more effective ways of handling people, modifying the workplace and corporate culture. All the measures to increase efficiency or productivity account for measures that take longer time periods to be effective which becomes discouraging for organizations. Every organization wants some miracle to happen that some consultant comes and turn over everything but of course it did not happen that reminds me of the phrase “Easy non-solutions are often more attractive than hard solutions”.

Some of the false hopes include:

  • Some managers are getting more than hundred percent gains or more! Forget it. The typical magical tool is focused on the coding and testing part of the life cycle. But even if coding and testing went away entirely, you couldn’t expect a gain of one hundred percent J There is still all the analysis, negotiation, specification, training, acceptance testing, conversion, and cutover to be done.
  • Changing languages will give you huge gains. Languages are important because they affect the way you think about a problem, but again, they can have impact only on the implementation part of the project. Sure, it may be better to do a new application in PowerBuilder™, for example, but even before PowerBuilder, there were better ways. Unless you’ve been asleep at the switch for the past few decades, change of a language won’t do much for you.
  • You automate everything else; isn’t it about time you automated away your software development staff? This is another variation of the high-tech illusion, the belief that software developers do easily automatable work. Their principal work is human communication to organize the users’ expressions of needs into formal procedure. That work will be necessary no matter how we change the life cycle. And it’s not likely to be automated.
  • Your people will work better if you put them under a lot of pressure. They won’t—they’ll just enjoy it less. So far, all this is rather negative. If leaning on people is counterproductive, and installing the latest technological doodad won’t help much either, then what is the manager supposed to do? This Is Management

Let me quote Sharon Weinberg as an example for Managers as quoted by one of the developers:

“In my early years as a developer, I was privileged to work on a project managed by Sharon Weinberg, now president of the Codd and Date Consulting Group. She was a walking example of much of what I now think of as enlightened management. One snowy day, I dragged myself out of a sickbed to pull together our shaky system for a user demo. Sharon came in and found me propped up at the console. She disappeared and came back a few minutes later with a container of soup.

After she’d poured it into me and buoyed up my spirits, I asked her how she found time for such things with all the management work she had to do. She gave me her patented grin and said, Tom, this is management.”

Sharon knew what all good instinctive managers know: The manager’s function is not to make people work, but to make it possible for people to work.

Management , , , , , , , , , , , , ,

Ay Quaid Bohat Sharminda Hain

August 13th, 2009

The great legend we have forgotten completely. To utter disappointment we are also getting rid of even his presence in our state buildings. Here found the speech given by QUAID on the inauguration of Pakistan assembly

quaid

Speech on the inauguration of the Pakistan Constituent Assembly at Karachi: August 14, 1947

Your Excellency. I thank His Majesty the King on behalf of the Pakistan Constituent Assembly and myself for his gracious message. I know great responsibilities lie ahead, and I naturally reciprocate his sentiments and we are grateful for his assurance of sympathy and support, and I hope that you will communicate to His Majesty our assurance of goodwill and friendship for the British nation and himself as the Crown head of the British.

I thank you for your expressions of goodwill and good wishes for the future of Pakistan. It will be our constant endeavor to work for the welfare and well-being of all the communities in Pakistan, and I hope that everyone would be inspired by the idea of public service, and they will be imbued with the spirit of co-operation and will excel in their political and civic virtues which go to make a great nation and help to advance its greatness.

I once more thank you and Lady Mountbatten for your kindness and good wishes. Yes, we are parting as friends and sincerely hope that we shall remain friends.

I wish to emphasize that we appreciate the spirit in which those in the Government service at present and in the Armed Forces and others have so willingly and ungrudgingly volunteered themselves provisionally to serve Pakistan. As servants of Pakistan we shall make them happy and they will be treated equally with our nationals. The tolerance and goodwill that great Emperor Akbar showed to all the non-Muslims is not of recent origin. It dates back thirteen centuries ago when our Prophet (Peace be upon him) not only by words but by deeds treated the Jews and Christians, after he had conquered them, with the utmost tolerance and regard and respect for their faith and beliefs. The whole history of Muslims, wherever they ruled, is replete with those humane and great principles which should be followed and practiced.

Finally, I thank you for your good wishes for Pakistan, and I assure you that we shall not be wanting in friendly spirit with our neighbors and with all nations of the world.

Dear Quaid, hum bohat sharminda hain. I feel ashamed of whatever negligence I have committed and made my homeland ill-place to live. I am sorry that I was not able to make your Pakistan, my Pakistan. I was not able to work like you want me to work. I was not able to love Pakistan like you wanted me to. At the end, I request ALLAH and his MESSENGER that please we want 1948 ka Pakistan. Give us back the same level of dignity, enthusiasm and faithfulness of 1948. Please please ……..

Misc , , , , , , , , , , , , , ,


Copyright © 2006-2011 W@rfi