Monday, May 25, 2009

My domains are on holiday for the long weekend.

Todayamerican.com & sparrkle.com will be up & running again sometime
late evening tomorrow.

We are on vacation now. Tahoe is amazing. Went on the Gondola, would
love to come back in the winter.

More observations for Mac

Unlike public perception, software is cheaper for the Mac. Even OSX is
not sold splintered into different versions like windows.

Office 2008 is far more cheaper than office 2007 for the PC.

I get better overall program performance on OSX rather than windows.
That said, I personally like the default OSX mail client better than
MS Entourage.

Seems that MS ventured into OOP programming after that was popularized
by Steve Jobs & Web objects which powers iTunes.

I think if Apple follows the current path of the iPhone and improve
OSX similar to that, nobody will buy windows again. But, that is a
while away and also means Apple will gave to provide an easier
migration path from PC's to the Mac, by combining the best of both
worlds.

These are simple stuff like keyboard shortcuts, window maximization &
minimization etc. Apple has to swallow the bitter pill like they did
with MS Exchange. If they do so, and deliberately attempt to be more
popular, then they can definitely beat the PC at it's own game.

This is what the iPhone has taught me.

Sunday, May 24, 2009

How to buy a unibody Mac for the lowest price...

I got my MacBook air a few months ago and since then I have been
looking for a MacBook online.

I need a MacBook because my office has MacBook adapters in all
conference rooms and no wifi. So even though the air is gr8, it is
difficult carrying around a lot of adapters.

Why not a pro? - because before choosing my air, I went to bestbuy and
weighed every PC & Mac notebook. The pro is too heavy for me. The
Macbook is heavy too, but manageable, I think.

I looked at craigslist for a month. 90% of mac listings are fake, the
few real sellers expect the poor suckers (buyers) to shell out more
than $700 cash for notebooks which are more than 2 years old!!!

Electronics fail over time. Buying something that old for that high a
price is not acceptable for me. The apple store is too expensive,
gainsaver is nice but the systems are too barebone and they are used
too. No 30 day warranty for me.

Ultimately, I have brought a new MacBook for eBay, saving several
hundreds over the price, no tax and most importantly a $95 cashback
from live search!!!

So for around a thousand bucks, a new notebook which costs more than
$1200 everywhere else. I still get the warranty, I still get a new
notebook - not refurbished, used or open box.

I think it is a gr8 deal.

Happy B'day to myself!!

Friday, May 22, 2009

Windows 7 definitely better than Vista

I did not believe when I heard first. But windows 7 is definitely
better than vista in everyway. After using 7 for a week, it seems like
Vista is the alpha software.

No more hangs, crashes and even videos play without 100% CPU usage.
The video card on which I spent a fortune is actually doing it's job
and producing crystal clear video on my 45 inch LCD.

Monday, May 18, 2009

Installed Windows 7 build 7100 RC

I have been using vista sp1 for sometime now. As my PC started
behaving weirdly for the past few days, I installed/ upgraded to
windows 7 yesterday. So far, so good. The machine is much faster now.

Wednesday, May 13, 2009

Another problem in Infragistics UltraWebGrid 2007 Vol 2 + Hot Fixes

If you have a templated column in this kind of grid, you cannot create columns for the grid only on page not postback, because the grid does not instantiate your custom template column (using ITemplate) on postback.

The only way to fix this is to create the columns afresh on every page load on the server.

This is when you create columns for the grid in C#

Why my Infragistics Grid was not firing the paging event and not binding properly.

I use a base class for all the infragistics grids in my project so that if anything changes tomorrow, I can change it from one place. The problem was happening because I was doing the following within initialize data source of my code, which is really conditional, and should not be turned on for grids which do not need this functionality:

            base.Browser = Infragistics.WebUI.UltraWebGrid.BrowserLevel.Xml;
            base.DisplayLayout.LoadOnDemand = Infragistics.WebUI.UltraWebGrid.LoadOnDemand.Xml;
            base.DisplayLayout.ViewType = Infragistics.WebUI.UltraWebGrid.ViewType.Flat;

Monday, May 11, 2009

How to access a JS method inside a frame

This is not straightforward as you cannot access these methods directly from the parent window.

.contentWindow.();

Monday, May 4, 2009

My new iPhone website

After getting frustrated with news reader crashes and seeing no
updates in the available iPhone news apps, I have gone ahead and
created an iPhone specific tech news website.

Just open safari in your iPhone browser and point to: www.todayamerican.com

The site will look good only on the iPhone. You will not need to zoom
in to read.

If you do the one click registration & login, I keep track of read
articles automatically. You never need to see already read news ever
again.

The site will see more features soon. Expect outages during evenings @
PST.