Skip to main content

Posts

Showing posts from 2010

In This World - 16

"Relationship shouldn't be complicated, if it so, then its time to look at it from a different perspective and attempt to resolve challenges, if that doesn't work at any cost, put a period and move on."

Well..I have one more view to share which may sound bit contradictory to what I expressed above, but its indeed an unarguable truth!

"Move on - is the simplest one to say and most difficult to go through!" :)

Windows Service or Windows Task Scheduler?

Are you planning to create long running background process (in C#) and thinking to build a Windows service?

Then wait for a moment!

Windows Task scheduler (Start->Programs->Accessories-> System Tools-> Task Scheduler) can also be a decent choice!

"Windows Vista and higher windows (server) operating systems are offering matured Task scheduler with many advancements like Triggers, Actions, Conditions, failure recovery, email notifications, security and much more."
Its obvious that many programmers think Windows Service is easy to maintain and what it can do, task scheduler can’t. But now, it’s time to look at Windows Task Scheduler [also at Microsoft white paper] and see what great features it is offering.

When to go for Windows Service?
Okay, let me try to answer this popular question in one line. 

Windows Service is suitable for receiving service request 'anytime' and process 'instantly'.

Just think of anti-virus scanner, network port activity tracker…

Tracking Downloads in Google Analytics

I wanted to track download count of Quick Quest demo version hosted on SrushtiSoft through Google analytics. I faced obstacle during the implementation process and wanted to share here, hoping to save your sometime if you are also trying to do the same for your website or blog.
Google neatly guide you how to do it, http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55529 with a slashing message "This article is for the latest version of the tracking code". But it just doesn't work at one-shot! 
I had to spend sometime to find a way to troubleshoot "pageTracker is not defined" javascript error. Finally, the post on StackOverflow puts you on right path: http://stackoverflow.com/questions/3503511/google-analytics-pagetracker-is-not-defined
Though google talks about the approach in detail here: http://code.google.com/apis/analytics/docs/tracking/asyncUsageGuide.html chances of it going unnoticed is more.

Getting ready for Paris trip?

I had wonderful experiences in Paris. Its a great place and you must visit at least once in a life time. I hope my below points would help to avoid some surprises during your Paris tour...
- Best way to visit Paris is using Metro. If you are planning to stay for few weeks, its worth to buy book of 10 metro tickets which will save you some euros.
- When you are walking on Champse-Elysee, you can have sandwiches from road side stalls. They are tasty and worth each penny.
- Most of the non-veg dishes are with Beef and Fish.


- Alcohol is cheap.


- At least try to greet people in French and they will try their best to assist you in English.

- Do not purchase Disneyland Paris tickets on its English version website when you are in Paris. Disney charge you as per UK (in GBP) rates, which is unnecessarily expensive, where as same kind of ticket can be found in French version of Disney website for 10 euro lesser the UK cost. Disney continue to make fun of you by expecting you to read and understand…