Wednesday, June 24, 2009

Everything


Everything is a search tool..

Use case: You have Windows XP or something before than that on your Desktop/laptop.. and you don't want to have the bloat of desktop search engines like Google Desktop and you can fairly recognize your content with the name of the file..

.. then, here is a tool for you. Everything

It is a file name search engine, works by indexing all your file names (remember not the contents of the files) and is lightening fast (It indexed my entire hard rive, 300GB, within mins).. It can also launch programs.. So if you are a keyboardee like me you have a tool here..

Friday, June 19, 2009

x2vnc

Well, what the heck is this..

I have a Linux Desktop at home and one of my friend has left his laptop with me and it is lying with me for a while.. Now I got weird idea.. Can I control the two boxes with same mouse and key board instead of switching keyboard and mouse every time I wanted to switch the computer?

End objective is.. I will use a mouse and keyboard pair attached to desktop but when drag the mouse pointer to one edge of the screen (any) the pointer should move to the laptop and I should be able to control that one..

Tech specs: Desktop with fedora 11 on it.. and a laptop with vista on it.. and here are the steps.. and both are connected by internal LAN..

  • Install x2vnc with following command on fedora 11 Linux box.. sudo yum install x2vnc
  • Install vncserver on the windows box. You can download a free vncserver from realvnc. Download a server+viewer executable. While installing, don't opt for running vncserver as a service.. until and unless you are interested in running the server every time you boot your windows box..
  • If you have a firewall installed on the windows machine (machine with vnc server on it) enable access to the port 5900 tcp and udp (you will understand more once you digg firewall for details)
  • Fire up the vncserver and choose a password to control the access (on windows box)
  • Fire the following command on Linux terminal x2vnc -resurface [ip address of windows box]:0 *no need to use the brackets.
n you are in..

now see mouse pointer moving from one screen to the other.. for a better effect keep the laptop right to your Linux desktop monitor.

Important notes:
  • You can only use the mouse and key board attached to Linux box(more precisely X server)
  • It is not a traditional extended desktop where you use two monitors (and one computer) and on pair of keyboard and mouse. It is like controlling too computers with one set of input devices..
ps: my friend suggested me to write everything here.. instead of using two blogs.. so.. have fun!

Wednesday, June 10, 2009

Edges..

Today, I was just sitting in the balcony. It is quitea windy breeze outside. This view is possible if we rotate our head parallel (almost) to the earth plane and around 75 degree right to the window/balcony surface normal. :D

Well, my thoughts didn't stop there. I was thinking about the way my damn brain might process this visual and suddenly this question popped up!! What gives an object its shape? (in a 2D world)...... tha dhan.. "Edges.. "

I took Sravan's camera took one non-sense picture and tried to process it out with Gimp.

Steps are these..
1. Filters -> Edge Detect -> Difference of Gaussians with R1 as 3 and R2 as 1 (pixels)
2. Colors -> Levels and tweaked it until I got the required contrast
3. Image -> Scale to 1200

And I was going through this Difference of Gaussian Algorithm. Well, I could pick up something.. here

The Algo is quite simple.. convert the image to grey scale and independently blur it at two radii and subtract one from the other.. :) (This entire thing is done with one click in Gimp)

Going into the details, if we look at any picture in grey scale and intensity coding (0-256) as some damn field and convert it into Fourier space, the high frequency modes are responsible for the sudden changes in the field (that is black intensity). So.. what does Gaussian blur do..?? It will suppress high frequency modes :). In our Algo.. different radii for the two blurred images will suppress the high frequency modes to different extent.. so if we remove one from the other.. we will get.. the EDGE..

Wednesday, June 3, 2009

Certain things haven't changed really!!

This one is almost 3 years old. From left it is Arun, me, Gops, Sasi, Surya, Santosh, Mahesh ans Sivaram.

This is pretty recent one, when we went for the Alumni meet. From left it is Gops, Mathew, Laks, Mahendra and Gouri, Aarthi, Girish, Arun and me.

ps: I remembered the first one very much as the pose me and Gops gave was something funny and after looking at the recent second one.. I immediately thought.. I have seen this somewhere before. :)

This phase of

.. my life is called stagnancy!

This I recognised by looking my recent post rate here!

Nothing much to say as I couldn't figure out what to think. This does not mean that I have a hell lot to think about at this point. Things come and go. But there is nothing that is keeping my attention focused. Things are going as they supposed to go. No surprises at work and home. Couple of bad news though...

Hmm.. here is one pic, that I shot when I went to a water park near by.

ps: This girl, in her early teenage, is a fascinating dancer with energetic body language. Don't ask me about her as I don't know.. :)