Thursday, May 27, 2010

Testing vs Testing

What's wrong with this menu control:

You've probably seen it a few times. You hold down Ctrl and select all the choices you want. Simple, right? Sure it is. But what happens when the menu has over 1300 options? Imagine trying to select Barrow, Alaska and 3 counties within MD. It's a nightmare.

But the funny thing is the developer probably doesn't see anything wrong. Why? Because 
  • he tested the site using a much smaller dataset
  • he just picked from the first few options to test his query
  • he lives in Anchorage, Alaska :)
I doubt that he went through a test case that included picking multiple choices from different sections of the dataset. 

yes this is a blog without babies or politics :)

Wednesday, May 19, 2010

Does SharePoint 2010 run on Vista?

This ought to be a simple Yes/No question. Either it runs on Vista or it doesn't. If it doesn't, that's just in line with what we have with SharePoint 2007. You need a server OS to run it. The twist is SharePoint 2010 is 64-bit only. So to even evaluate it (which you certainly ought to before you recommend it over the 2007 version), you need Windows 2008 64-bit server with Hyper-V. Yikes!

Anyway, prior to this week I had accepted this fact and also that I'll probably not get an evaluation copy anytime soon (since I don't have the server OS or Hyper-V). Anyway, I found out this week that the RTM version of SharePoint actually supports Windows Vista and Windows 7. Imagine my joy. So today, I tried to install it on my 64-bit Vista laptop and the instructions I found are on this page:

Take a minute to open that link and just peruse the instructions. I'll wait....You back? Can you believe that? Microsoft really expects people to jump through all those hoops just to install SharePoint 2010 on Windows 7/Vista? Wow! How hard would it be for them to create a OS specific installer? Instead they want us to extract the installer, change a config file, install 5-6 separate components, turn on a bunch of features in IIS and then run the setup file.

BTW, I went through the steps, install all those components and the end result? The freaking installer is asking for a product key and there isn't one for the trial (not beta) software. What a waste of time.

Simple solution to immigration???

I wrote this awhile ago but never posted it. In light of the Arizona immigration law...

What's the maximum occupancy of the United States? I am sure you can't answer that because the question doesn't even make sense. There's no such thing as the maximum occupancy for geographical areas. So why is it that when it comes to immigration, some people act as if there's a maximum occupancy for the country.

I am not saying let's throw the border gates wide open and let everyone in. But you only have to go to Tijuana to see why immigration can never ever ever be enforced. If you live in abject poverty and you know that a better life is just minutes away (in fact, you can see that life outside your window), will anything prevent you from trying to make it across? Even if the penalty for illegal immigration is death, it'll still be more profitable to try. Because there's a chance, no matter how minuscule, that you will make it across. So spending billions of money on trying to keep people back is just an expensive exercise in futility. Building a fence would be laughable if it wasn't already been done with our tax money.

If we can't force them to stay out, what can we do? We do the same thing we normally do when govt wants to prop up an industry: we make illegal immigration unprofitable. If govt wants to stop people from smoking, they jack up the taxes on tobacco products. If govt wants to entice a developer to build, they give out tax breaks. You want people to invest, allow them to claim investment loses as tax deductions.

Alright fine, we get that but how do we do it? It's very simple: let everybody (except criminals) in! Let them in, remove the threats of illegality and put everything in the open. Right now it's profitable for companies to hire illegals because they can pay them less. What's the illegal going to do: complain to the authorities? No! So they get paid less; they mostly don't pay taxes and Uncle Sam doesn't get a cut. If you let everyone in (aka Guest Worker Program) and make it all legal, no illegal immigrant will work for peanuts. Uncle Sam can collect taxes from them and they are allowed to buy health insurance.

Talking about health insurance, unless we are prepared to allow people to die in the streets, we have to pay for health insurance for illegals. The question is do we pay on the cheap for prevention or pay dearly when people go to the ER for routine stuff. And if we decide to let them die in the streets, well you still gotta pick up the rotting bodies, don't ya? So one way or the way, people will get healthcare. So why not let them pay for it themselves by relaxing our immigration laws?

BTW, when I say "let them all in" I don't mean make them all citizens. You can be in this country legally and work without being on the "path to citizenship".