Monday, April 24, 2006

Ever written a "quine"? Know what a "quine" is?

A "quine" is actually a program that's output produces the exact code that it was generated from. Sounds stupid or pointless? Well give it a try and realize that it might not be as trivial as you think!

Found Via Digg

read more | digg story

Wednesday, April 19, 2006

S/w Hack: Make any* Digital Camera to act as Web Cam

I recently brought a Cannon Powershot S2 IS. The software that accompanied the camera included applications to synchronize the photos, do some settings and remote shooting.
The Remote capture feature included allows to connect the camera to PC giving a view finder from the camera on the screen.

Most of the camera even basic ones come with s/w from the manufacturer which provide a viewfinder window of the camera in their application window while rendering live stream from the camera. I wondered if my camera has been added to my system as a capture device so as to be able to use as a webcam. But it was not :( I fail to understand why most of the manufactures do not provide this utility function why should we be required to buy one more gadget when you can get the same functionality from a device you already own.

Given Below to configure your digital camera as a webcam.

1. Install the s/w included with you camera and launch remote shooting



2. With Cannon Software it asks a folder location. Select a folder and press ok



3. Now you can see from the cameras eye on your PC :)

4. Download and Install Camtasia Studio. It allows to record a part of screen and broadcast it as a live stream to other applications like yahoo. Start Camtasia studio and select start a new project by recording screen. Click OK.



5. It will ask you what you want to record. In this dialog select Region of screen and click next.



6. Then you can select the viewfinder window of canon remote shooting. Click finish. It will open the recorder window. In the Tools->options> under the Live Tab select "Eanble Live output" and select the frames/sec. Click OK


5. In camstia record window click the record button

6. Launch your yahoo client and select mywebcam from the menu. Now you have a webcam available to you .



So if you don't have a webcam and want to do a video chat your digital camera. instead.

I suspect it might be possible to use twain/wia generic driver to stream/enumerate your device as a webcam on your system. Any ideas would be of help.

Njoy

Note:
1. Some cameras when connected to PC may be still running on batteries instead of using the USB power so your batteries might be used for keeping the camera ON while you use it.
2. This method should work with a cameras that come with manufacturer software for remote capture.
3. I know that using a camera 350$ camera as a webcam is overkill but I have access to a casio lv-10 which is a basic digital camera and would like to use it as a webcam as soon as I find it :)

Sunday, April 16, 2006

Site Seeing around Minneapolis

Today we had gone to downtown Minneapolis. There were around 30% chances of rain as per the weather prediction today. We took a chance and went ahead with the plan. After looking online for some of the nearby places. I found the site yahoo travelguide useful with a listing of near by places with user review.

We Planned to go to the following places
1. Falls of St. Anthony -directions

2. Minnehaha Falls Pegoia Garden -directions


3. Minneapolis Institute of Arts -directions
We were late the museum closes at 5pm so we decided to drop the idea.
4. LAKE calhoun -directions


We had to take maps with us since in US you need too know the directions to any place you decide to go because once you are on the freeway and if you miss a exit then you might have to go for miles before you can take a exit and get back on track. We collected the maps from the office and started at 1.30. All the place were good.

At the lake Calhoun I saw some wind surfer's. I thought there was a sailing club and I can come there and do some surfing some time. But all of them had brought their own boards :(. But Minnesota state being with 10000 lakes I am sure there might be a lake where there is a sailing/ surfing school :)


More photos at flickr

Unattended Windows++

There was a article on digg on unattended windows setup link . It's a nice article which describes how to create the lasted install disk in addition to how to install windows unattended.
The article has a section where it deescribes how to update the source with the latest hotfixes it describes 3 methods to create a update list. I would like to add two easier methods to get a update list. The first one is a slight variant of the
method 2 mentioned in the original article.

1. Windows update : If you have a machine which is installed using the same service pack say service pack 2 and you have auto updates turned on Then you could got to update.microsoft.com
and view the link review your update history to get a list of all the hotfixes installed till now from windows update.

2. Using Add remove programs: In the add remove programs applet there is a check box show updates which when selected will give the list of updates installed.


Note: I suspect that you will have to have "a machine which is installed using the same service pack number" to get the correct update list.

Friday, April 14, 2006

My Car

Its been long I have trying to post some pics of my car. I bought the car on the 7th of march 2006. Its a 1997 Honda Accord Ex. I had found this on car after a lot of searching on cars.com Before buying any car it generally better to check the car history. Its easy in US to get the car history because of sites like carfax.com which provide a car registration, mortgage loans/refinancing , auto accident history , Title checks, odometer frauds , major accident record, Leased/Rental fleet registration check for the car.

One of my friends told me the accident record may not be completely because if it is not reported to the DMV/police the record does not appear in the history.

The car is good and smooth to drive :)
See the pics below