Sunday, 4 July 2010

My Experiments with my Induction Stove

Day 1: H = I^2*R

After buying necessary stuff for cooking, like a Frying Pan and a Boiling dish. I headed for a grocery store to buy something to cook. Eggs were already on my mind, I also got some brown bread to couple.

Happily, I came back to my room only to realize I forgot to buy Butter and Oil. Thus,   the frying pan was useless for the day. I now planned to go for boiled eggs with Toasted bread as it did not require Oil/butter. The Toaster for bread I already had.

Ready with eggs in the boiling dish I switched on the stove. What I see is an "E" sign flashing repeatedly, bewildered I went to the hostel canteenwala as he used a similar stove to cook maggies. I procured a paper plate and some salt from him and then asked about how the thing would function. I also tried hands on his machine and was disheartened to see that his worked seamlessly with easy controls as opposed to mine, which had a control panel like that of some Aircraft. Soon, he told me that the thing only works with Iron/Steel dishes as they provide with the necessary resistance to produce heat by the formula I^2*R. Me being already an Engineering graduate was ashamed to realize what a fool I was in buying highly conductive Aluminium dishes.

Thus, the program for the day failed and I had to make myself satisfied with the Maggi made by him on his stove using his Steel vessel, and biscuits. Tomorrow I will go back to the shop looking for an exchange with Iron dishes and would also buy some Oil.

Day 2:


Its still to come :)

Thursday, 1 July 2010

Bollywood's must Watch

Must Wath Hindi Movies: ( In random Order )

1. Maine gandhi ko nahi maara
2. Hazaarom khawhishein aisi
3. Gandhi
4. Katha
5. Mandi
6. Gandhi My Father 
7. Bazaar
8. Angoor
9. 15 Park Avenue
10. The Japanese Wife.
11. Dasvidaniya
12. Ardhsatya
13. Yeh mera India
14. Shatranj ke khiladi
15. Chintu Ji
16. Rocket Singh
17. Welcome to Sajjanpur
18. Water
19. Well Done Abba
20. Sooraj ka saatwan Ghoda
21. Bheja Fry
22. Omkara
23. Maqbool
24. Paanch
25. Dev D
26. Gulaal
27. No Smoking
28. Satya
29. Shool
30. Yuva
31. Wajood
32. Road
33. Manorma 6 feet under
34. Ek chalis ki last local
35. Oye lucky lucky oye
36. Khosla ka Ghosla
37. Ishqiya
38. Khuda ke liye
39. Parzania
40. Darjeeling ltd.
41. Mithya
42. Teen deewarein
43. Dharm
44. Matrubhoomi
45. A Wednesday
46. Dil Kabaddi
47. Maharathi
48. Prahaar
49. Bandit Queen
50. Yeshwanth

... more to come as I remeber them or see them :)

Wednesday, 20 January 2010

video across multiple monitors

We set up a multiple monitor configuration in Linux in one of m previous posts. I was not able to do a strech of video across the dual monitors I set up.

Until, I came across this cool feature which VLC has, called "Wall" output.

It splits the video output for multiple screens working together. Like playing video on a wall of monitors.

Using it is simple, in the VLC menubar go to : (using version 1.0.3)

Tools -> Effects and filters -> Video Effects Tab -> Vout/Overlay tab -> Check the Wall option.

By default the video is split up into a grid of 2x2. We may adjust this grid size to have the number equal to the number of monitors we have.

Once we do this, and we drag the blocks to their respective monitors and full screen, We still may see Video size not being as big as expected. If this happens with you then you need to adjust the aspect Ratio of the video being played by going to :

Video -> Aspect Ratio -> Select the appropriate one for your screen size.

Once done, we again do a full screen Wall, and can see our video being played stretched across all our monitors.

You might also want to try options like Panoramix filter in the same option window as Wall. There are many others present there. Enjoy!

Tuesday, 12 January 2010

Create Live or Bootable USB pendrive for Linux or Windows

Creating bootable USB disks is now ever easier than before, thanks to a cool utility known as UNetBootin ... its easily available in popular distro repositories or you can download a version for yourself from here.

Nothing more needs to be spent on buying CD-Rs that wear due to scratches in some days and is a sheer waste of 10 bucks.

Steps :

1. Install UNetBootin from the repository or from the link provided above.

2. Procure the bootable ISO of the target operating system, it might be a Linux iso or a Windows iso.

3. Launch UNetBootin. And select the option "Disk Image" and then point to your iso. Select the target drive and press OK.

4. Its done! within some minutes.

I have tested the method for many Linux distros like Ubuntu, Debian, Arch Linux and others. also for Windows7. I will check this for the difficult Windows XP soon, with high hopes :)

configure IP adress with Linux

Well windows is quite straightforward when it comes to fixing up an ip address ... Linux is even more :)

open the file /etc/network/interfaces with sudo privileges in text editor and then edit accordingly

$ sudo gedit /etc/network/interfaces

Now copy paste the following :


# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet static # (specify the interface, eth0 is the default ethernet, static tells that the ip address is static)
address 10.108.10.131 #(ip address you want to configure)
netmask 255.255.255.0 #(the subnet mask if any)
network 10.108.10.0 #(the network mask, optional)
broadcast 10.108.10.255 #(the broadcast adress, optional )
gateway 10.108.10.2 #( the default gateway )
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 144.16.192.55 # (the dns server address)



Now this configuration can be done for iface wlan0 in case of a wireless connection...

Now issue the following commands at terminal :

$ sudo ifdown eth0
$ sudo ifup eth0

$sudo ifconfig :
to check the new ip address

this resets the ethernet and sets the static ip specified.

for Dynamic ip setting via DHCP, just give the command :

$ sudo dhclient

This would search for DHCP servers on all configured interfaces and set the ip addresses automatically if any found.

use multiple monitors with Linux

So you are planning to enjoy the convenience of multiple monitors with your linux system... here's a way to go about it...

1. Connect the external display/monitor to your computer/Laptop. Make sure its turned on.

2. use apt-get / yum whatever to install xrandr.

3. issue the following command at your command line : (for a laptop)

xrandr --output LVDS --mode 1280x800 --output VGA --mode 1024x768 --right-of LVDS

here the resolution of the LVDS(Laptop LCD) is 1280x800 and the external VGA monitor is 1024x768... the logical positioning of extended desktop would be the right of Laptop screen. There are several options in this regard like --left-of --above etc... refer to xrandr manpages for many other advanced options like panning etc.

If you get an error like

Maximum allowed size is blah blah etc..

then add a line to your /etc/X11/xorg.conf ..
Section "screen"
....

Subsection "Display"
...
virtual 2400 800 ( example, use a value which is higher then your resolutions added together )

now try the xrands command again, after restarting your X with Alt+Bkspace.

Hopefully your new monitor now comes to life... enjoy!

P.S. by default the external screen is made your default primary display... all panels are now visible on the external display... in GNOME you can easily add panels to the LCD screen as well and remove the ones from external if you want.