Friday, April 11, 2008
  Reflection.js: Blogger implementation
Hey friends,

Reflection.js is a cool script to add reflection to your images. See it in action [here].

Generally, to enable reflection one has to add class=reflect to each of the img tags in your post. Now, we can't go back and change this on all the posts that we're been putting up for years, can we? Moreover, we wouldn't want this class attribute to be part of the feed that we're syndicating - how will the poor RSS readers know what this class means?

To obviate this issue, here is a enableReflect.js implementation that adds the class attribute at the time of page load and triggers reflection after that. Thus, the reflection feature becomes a part of the website meta-data and is not tightly coupled with the site posts themselves. Additionally, if you want to remove this feature or want to change to something new that comes up in the future, all you'll need to do is to change the blog template!

To have reflection on all your blogger posts, have these two lines before </head> tag in your blogger template.


<script src='http://location/reflection.js' type='text/javascript'/>
<script src='http://location/enableReflect.js' type='text/javascript'/>

That’s it, just these two lines...no other changes :)

Get your copy of enableReflect.js from here:

EDIT: just add this line and you're done :)


<script src='http://divyaratna.googlepages.com/ReflectOneZ1.js' type='text/javascript'/>
If u like it, please send me a note. If you don't, then let me know why? (ya, really!)

Cheers,
Div

Updates:
-removed alt text that was previously added.
-Updated the string above: the tag values are enclosed in single quotes (not backquotes). Each line ends with a />. This makes it XML compliant for blogger.
-Hosted the javascript file in my Google pages account. The reflection 1.9 code is embedded in the blogger code.

Labels:

posted by Div @ 8:15 PM   11 comments
Thursday, August 09, 2007
  BITS (Background Intelligent Transfer System) fails to run on Windows Vista. This causes Windows Update to fail.

Problem:

BITS (Background Intelligent Transfer System) fails to run on Windows Vista. This causes Windows Update to fail.


Symptoms:

· Recurring popup mentioning the following: "Background Intelligent Transfer Service has stopped working".
· "ERROR MESSAGE: Host Process for Windows Services stopped working and was closed"
· Windows Aero stops working
· Event log has this message: Faulting application svchost.exe_BITS …

Solution:

"The host process for Windows Services stops working after you download Microsoft updates on a computer that is running Windows Vista" -
http://support.microsoft.com/kb/940520

References on the web:

·
http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.windowsupdate&tid=c1f9eb6d-ca9d-4dba-9850-31f075dc5273&p=1
·
http://msdn.microsoft.com/vstudio/express/support/troubleshooting/
· "How to troubleshoot definition update issues for Windows Defender"
http://support.microsoft.com/kb/918355
· "Bitsadmin /util /repairservice"
http://technet2.microsoft.com/windowsserver2008/en/library/2ac7baeb-4340-4186-bfcb-66478195378d1033.mspx?mfr=true
·
http://www.eggheadcafe.com/software/aspnet/30432569/host-process-for-windows.aspx
·
http://www.eggheadcafe.com/software/aspnet/29443393/background-intelligent-tr.aspx
·
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1952648&SiteID=1
·
http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=1850978&SiteID=17
·
http://help.lockergnome.com/vista/Problem-successful-install-ftopict1067.html
·
http://help.wugnet.com/vista/Host-Process-Windows-Services-stopped-working-closed-ftopict68623.html
· "Background Intelligent Transfer Service" - http://msdn2.microsoft.com/en-us/library/aa362827.aspx
·
http://www.msfn.org/board/index.php?showtopic=27378
·
http://www.softwaretipsandtricks.com/necessary_files/30-Background%20Intelligent%20Transfer%20Service%20(BITS).html
· "How to troubleshoot definition update issues for Windows Defender" -
http://support.microsoft.com/kb/918355
· "List of known issues for Background Intelligent Transfer Service (BITS)" -
http://support.microsoft.com/kb/331716
· "Update Available for the Background Intelligent Transfer Service" -
http://support.microsoft.com/kb/314862/EN-US

Tags:

BITS
"Background Intelligent Transfer System"
Windows Vista
bitsadmin
Bitsadmin /util /repairservice /force
-------------------------------------------

Did this solve your issue? If it did, please leave a message here...Thanks in advance :)

Labels:

posted by Div @ 3:01 AM   0 comments
Wednesday, May 30, 2007
  Microsoft Surface
You must check this out!

http://www.microsoft.com/surface/

Labels:

posted by Div @ 4:56 AM   0 comments
Thursday, April 26, 2007
  Blade Runner - Director's cut
I remember watching Blade Runner not so very long ago. It was the International DVD version. And I saw the same movie again, but this time the Director's cut. I just pause and wonder - how can the same movie leave such a radically different impression based on the edition of the movie?

The first time I watched it, the movie felt so mind-numbing. As most would agree, the voice-over was like feeding humans intravenously to keep them alive for power. What intrigued me this time though was the way the director crafted the movie. As this wasn't the 'public' release, the director took the liberty to flow with the story and expect the audience to follow through. Also, the movie is presented to a mature audience, one who appreciates cyberpunk, dystopian society and anti-utopianism (which is how future is presented in many of the si-fi movies).

Another absorbing ingredient in this edition was the delicious use of what I call forward-references. These are markers in the movie that are laid down and tell you, 'Now hold that thought, you'll get all your pieces later'. These wonderful references are what make a movie wonderful to watch the second time around - the second pass (sorry, couldn't resist :)

Finally, the remarkable scintillating facet of the movie is using 'suspension of belief' turned around and staring you back at your face. After having watched so many movies riddled with flaws, one has his /her guard down when another story fact happens to be wrong. What if the director intended the flaw to be there? What if the lapse is not a mistake? That definitely makes one sit up and notice.

http://en.wikipedia.org/wiki/Blade_Runner

http://www.youtube.com/watch?v=UV5qKL36aEQ - The happy ending, ha!

http://www.blade-runner.it/versioni-e.html - the various versions of the movie


http://news.bbc.co.uk/2/hi/entertainment/825641.stm - BBC article: Blade Runner riddle solved

Labels:

posted by Div @ 10:02 PM   1 comments
Tuesday, April 17, 2007
  Joost - Beta Review



Joost is an Internet based IPTV delivery platform that started as "The Venice Project" in 2006 (http://en.wikipedia.org/wiki/Joost). It uses something called as "P2PTV" to deliver content among it's users (http://en.wikipedia.org/wiki/P2PTV). I had nominated myself as a public beta user for this product many months ago and got my invitation yesterday. So, here are some of the observations of Joost:

-It works on Vista. Although this is not mentioned in the documentation, it's a really good thing for a product that is planning to go public in 2007.

-I had some issues getting the app to work initially - there was an error message that indicated trouble connecting to the network. However there was no option to set network settings anywhere - like set proxy etc. When I tried using Joost later, it mysteriously started working fine.

-Joost needs a user to login from it's interface to get started. The account setup process is a breeze and one can be done from inside the UI.

- Joost can be used either in a full screen app or in a window. In the full screen app, there are controls on all four sides. The channel/volume controls are at the bottom. All the content here is on-demand and there doesn't seem to be any 'live' service.

-Video quality is quite variable - some channels are really jerky with frame-drops and audio-drops, others were remarkably good. Video startup time is between 3 and 10 seconds. Seeks times are same as the startup times.

-The UI is really cool. Channels are organized by category, and programs are placed under these channels.

-One really fancy feature is the ability to chat with friends from inside the interface. Also, one can chat with people watching the current show.

-Ads are placed inline in video programs. However, I don't think different ads can be placed for the same show when watched at different times/by different people.

-Joost used up ~170MB while running, which is not really that bad.

In summary, I think that Joost has a good potential to act as a secondary TV viewing platform and since it uses P2PTV technology it will not have troubles scaling. As more people adopt Joost, the video and audio quality will incrementally get better.







Labels:

posted by Div @ 9:32 AM   2 comments
Friday, April 13, 2007
  Tickets to the Stephen Hawking talk

If you are at all interested in physics, this may turn out to be one of the most fascinating events in recent memory. A very rare chance to hear Stephen Hawking in person that may never come again, plus a lot of hands on experiments to try for adults and kids.


Labels:

posted by Div @ 8:06 PM   0 comments
Sunday, February 25, 2007
  Ek Lamhe Mein Simat Aaya Hai Sadiyon Ka Safar
Ek Lamhe Mein Simat Aaya Hai Sadiyon Ka Safar
Zindagi Tej Bahut Tej Chali Ho Jaise






Koyi Fariyaad Tere Dil Mein Dabi Ho Jaise
Koyi Fariyaad Tere Dil Mein Dabi Ho Jaise
Tune Aankhon Se Koyi Baat Kahi Ho Jaise
Jaagte Jaagte Ek Umr Kati Ho Jaise
Jaagte Jaagte Ek Umr Kati Ho Jaise
Jaan Baaki Hai Magar Saas Ruki Ho Jaise

Jaanta Hoon Aapko Sahare Ki Zarurat Nahin
Main Sirf Saath Dene Aaya Hoon

Har Mulaakat Pe Mehsoos Yehi Hota Hai
Har Mulaakat Pe Mehsoos Yehi Hota Hai
Mujhse Kuch Teri Nazar Pooch Rahi Ho Jaise

Raah Chalte Huve Aksar Yeh Ghumaan Hota Hai
Raah Chalte Huve Aksar Yeh Ghumaan Hota Hai
Woh Nazar Chupke Mujhe Dekh Rahi Ho Jaise
Woh Nazar Chupke Mujhe Dekh Rahi Ho Jaise

Ek Lamhe Mein Simat Aaya Hai Sadiyon Ka Safar
Ek Lamhe Mein Simat Aaya Hai Sadiyon Ka Safar
Zindagi Tej Bahut Tej Chali Ho Jaise
Zindagi Tej Bahut Tej Chali Ho Jaise

Is Tarah Pehron Tujhe Sochta Rehta Hoon Main
Is Tarah Pehron Tujhe Sochta Rahta Hoon Main
Meri Har Saas Tere Naam Likhi Ho Jaise
Meri Har Saas Tere Naam Likhi Ho Jaise

Koyi Fariyaad Tere Dil Mein Dabi Ho Jaise
Tune Aankhon Se Koyi Baat Kahi Ho Jaise
Jaagte Jaagte Ek Umr Kati Ho Jaise

Labels:

posted by Div @ 12:36 AM   2 comments
Sunday, February 18, 2007
  Literally the longest day of my life!
It feels weird to be served three breakfasts in a day. Each of them about six hours apart. If that's not all, how about witnessing two sunrises on the same day! One can just bask in the marvel of modern transport.

A very popular adage back home recounts that an overseas trip means crossing seven seas. How many did I cross (or went over)? Join me in the count - Aral Sea, Caspian Sea, North Sea, Celtic Sea, North Atlantic Ocean, Labrador Sea, Lake Michigan - that's seven!

Labels:

posted by Div @ 9:35 PM   0 comments
Tuesday, January 30, 2007
  Expanding the realm of one's comfort zone
All of us have created a sphere of convenience around us. You, me, we all spend most of our time inside this comfort zone. This is a safe place. Here we engage ourselves in repetitive daily tasks - the tasks that we are proficient in. This is a familiar place and we feel at ease taking the beaten path.

This sphere of convenience gets built all along our lives. It begins with early childhood and is developed during initial schooling, from the culture at home and in the environment where we grow up, while pursuing higher education, with the company of friends, at the workplace, et al. What is vital to observe is that the rate of expansion of this sphere is not constant during this period. The sphere grows in increments - something like a jagged curve. A line of best fit would have a higher positive slope during the formative years than during the later years after completing education and after settling down at the workplace. This slope is a good measure of the development of a person's personality.

As you would have realized during the above description, the growth of this realm is not entirely an externally triggered event. It is very much possible to provide a upward fillip to the slope of the curve. I'm sure you can come up with a list of such empowering activities that suite your taste and needs. Some means of accelerating the multi-directional expansion of this sphere include: challenging oneself, developing a quest for the limits of one's potential, building the energy and passion to venture beyond the safely of one's nest, etc.

Like all goals, this too has a 'as measured by' component. When we cross the threshold of comfort we instinctively get that feeling of adrenalin rush. It is not a feeling which can be missed or mistook for something else.

When people say that we should live life on the edge, it is this edge of the sphere that they are talking about. Feel it. Live it.

Labels:

posted by Div @ 2:43 AM   1 comments
Sunday, January 28, 2007
  Happy Republic Day
posted by Div @ 9:58 PM   0 comments
>
Previous Post
Archives
Links