<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>Ramanean's Blog</title>
	<link>http://www.ramanean.com</link>
	<description></description>
	<pubDate>Tue, 19 Aug 2008 14:22:54 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
	<language>en</language>
			<item>
		<title>India got a Gold at Olympics</title>
		<link>http://www.ramanean.com/india-got-a-gold-at-olympics/</link>
		<comments>http://www.ramanean.com/india-got-a-gold-at-olympics/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 01:02:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[India]]></category>

		<guid isPermaLink="false">http://www.ramanean.com/india-got-a-gold-at-olympics/</guid>
		<description><![CDATA[I am a very happy to see India get a gold medal at Olympics.This is the first time ever India has won a Individual Gold medal.
Hats off to Bindra,Surely he is going to inspire a lot of Indians..Yesterday morning I read the news that Bindra has qualified for the 10 m Air Rifle final, since [...]]]></description>
			<content:encoded><![CDATA[<p>I am a very happy to see India get a gold medal at Olympics.This is the first time ever India has won a Individual Gold medal.</p>
<p>Hats off to Bindra,Surely he is going to inspire a lot of Indians..Yesterday morning I read the news that Bindra has qualified for the 10 m Air Rifle final, since already we had poor day for shooters, I took the news lightly but something in my mind told that he may get  gold in this event.After a few minutes ,I recieved a mail from my friend stating that India has won a gold.. I knew straight away who it was ,when we checked TimesofIndia to confirm,my joy was ubound as it is the first gold medal won by India after a long gap of 28 years&#8230;&#8230;..(Last one was one by our Hockey team in 1980,that too some say it was possible due to boycott of Olympic games by other nations)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ramanean.com/india-got-a-gold-at-olympics/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Technical Support</title>
		<link>http://www.ramanean.com/technical-support/</link>
		<comments>http://www.ramanean.com/technical-support/#comments</comments>
		<pubDate>Mon, 04 Aug 2008 06:07:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Jokes]]></category>

		<guid isPermaLink="false">http://www.ramanean.com/technical-support/</guid>
		<description><![CDATA[Dear Tech Support Team: 
 Last Month I upgraded from Girlfriend 5.0 to Wife 1.0.
 I soon noticed that the new program began unexpected child-processes that took up a lot of space and valuable resources. 
In addition, Wife 1.0 installed itself into all other programs and now monitors all other system activities.
Applications such as Bachelor [...]]]></description>
			<content:encoded><![CDATA[<p>Dear Tech Support Team: </p>
<p> Last Month I upgraded from Girlfriend 5.0 to Wife 1.0.</p>
<p> I soon noticed that the new program began unexpected child-processes that took up a lot of space and valuable resources. </p>
<p>In addition, Wife 1.0 installed itself into all other programs and now monitors all other system activities.</p>
<p>Applications such as Bachelor Nights 10.3, Cricket 5.0, BeerWithBuddies 7.5,  </p>
<p>and Outings 3.6 no longer run, crashing the system whenever selected.</p>
<p>  I can&#8217;t seem to keep Wife 1.0 in the background while attempting to run my favorite applications. </p>
<p>I&#8217;m thinking about going back to Girlfriend 5.0, but</p>
<p>the &#8216;uninstall&#8217; doesn&#8217;t work on Wife 1.0. </p>
<p>Please help!</p>
<p> Thanks,</p>
<p>&#8220;A Troubled User&#8221;</p>
<p>&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212; &#8212;&#8212;&#8212; &#8212;&#8212;&#8212; &#8212;&#8212;&#8212; &#8212;&#8212;&#8212; -</p>
<p>REPLY: </p>
<p>Dear Troubled User:</p>
<p>This is a very common problem that people complain</p>
<p>about. </p>
<p>Many people upgrade from Girlfriend 5.0 to Wife 1.0,</p>
<p>thinking that it is just a Utilities and</p>
<p>Entertainment program.</p>
<p>Wife 1.0 is an OPERATING SYSTEM and is designed by its</p>
<p>Creator to run EVERYTHING!! !</p>
<p>It is also impossible to delete Wife 1.0 and to return</p>
<p>to Girlfriend 5.0.</p>
<p>It is impossible to uninstall, or purge the program</p>
<p>files from the system once installed.</p>
<p>You cannot go back to Girlfriend 5.0 because Wife 1.0</p>
<p>is designed not to allow this. (Look in your Wife 1.0 Manual under Warnings-</p>
<p>Alimony- Child Support) . </p>
<p>I recommend that you keep Wife1.0 and work on</p>
<p>improving the environment.</p>
<p>I suggest installing the background application &#8220;Yes Dear&#8221; to alleviate </p>
<p>software augmentation.</p>
<p>The best course of action is to enter the command</p>
<p>C:\APOLOGIZE  because ultimately you will have to</p>
<p>give the APOLOGIZE command before the system will</p>
<p>return to normal anyway.</p>
<p>Wife 1.0 is a great program, but it tends to be very</p>
<p>high maintenance. Wife 1.0 comes with several support</p>
<p>programs, such as Clean 2.5, Sweep 3.0, Cook 1.5 </p>
<p>and Do Laundry 4.2. However, be very careful how you</p>
<p>use these programs. Improper use will cause the system</p>
<p>to launch the program Nag Nag 9.5. </p>
<p>Once this happens, the only way to improve the</p>
<p>performance of Wife 1.0 is to purchase additional</p>
<p>software. I recommend</p>
<p>Sarees 2.1 and Jewellery 5.0</p>
<p>STATUTORY WARNING: DO NOT, under any circumstances,</p>
<p>install SecretaryWithShortSkirt 3.3. This application</p>
<p>is not supported by Wife 1.0 and will cause</p>
<p>irreversible damage to the operating system. </p>
<p>Thanks &#038; Regards<br />
Tech Support</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ramanean.com/technical-support/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Know about Bits and Bytes</title>
		<link>http://www.ramanean.com/know-about-bits-and-bytes/</link>
		<comments>http://www.ramanean.com/know-about-bits-and-bytes/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 08:12:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.ramanean.com/know-about-bits-and-bytes/</guid>
		<description><![CDATA[1 Bit = Binary Digit
8 Bits = 1 Byte
1024 Bytes = 1 Kilobyte
1024 Kilobytes = 1 Megabyte
1024 Megabytes = 1 Gigabyte
1024 Gigabytes = 1 Terabyte
1024 Terabytes = 1 Petabyte
1024 Petabytes = 1 Exabyte -
1024 Exabytes = 1 Zettabyte
1024 Zettabytes = 1 Yottabyte
1024 Yottabytes = 1 Brontobyte
1024 Brontobytes = 1 Geopbyte
]]></description>
			<content:encoded><![CDATA[<p>1 Bit = Binary Digit<br />
8 Bits = 1 Byte<br />
1024 Bytes = 1 Kilobyte<br />
1024 Kilobytes = 1 Megabyte<br />
1024 Megabytes = 1 Gigabyte<br />
1024 Gigabytes = 1 Terabyte<br />
1024 Terabytes = 1 Petabyte<br />
1024 Petabytes = 1 Exabyte -<br />
1024 Exabytes = 1 Zettabyte<br />
1024 Zettabytes = 1 Yottabyte<br />
1024 Yottabytes = 1 Brontobyte<br />
1024 Brontobytes = 1 Geopbyte</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ramanean.com/know-about-bits-and-bytes/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Zlib,bz2 and Gzip compression in Python..</title>
		<link>http://www.ramanean.com/zlibbz2-and-gzip-compression-in-python/</link>
		<comments>http://www.ramanean.com/zlibbz2-and-gzip-compression-in-python/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 02:11:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://www.ramanean.com/zlibbz2-and-gzip-compression-in-python/</guid>
		<description><![CDATA[Zlib compression and Decompression in Python
a=&#8221;ASDADASDASDASDASD&#8221;
import zlib
c = zlib.compress(a)
#to decompress
d=zlib.decompress(c)




//Bz2 Compression and Decompression in Python
import bz2
c =bz2.compress(a)
#to decompress
d=bz2.decompress(c)




]]></description>
			<content:encoded><![CDATA[<p>Zlib compression and Decompression in Python</p>
<p>a=&#8221;ASDADASDASDASDASD&#8221;</p>
<p>import zlib<br />
c = zlib.compress(a)</p>
<p>#to decompress</p>
<p>d=zlib.decompress(c)<br />
<script type="text/javascript"><!--
google_ad_client = "pub-0312533338966184";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_ads";
google_ad_channel = "8976284340";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "CC0000";
google_color_url = "008000";
google_color_text = "333333";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p>//Bz2 Compression and Decompression in Python</p>
<p>import bz2<br />
c =bz2.compress(a)</p>
<p>#to decompress</p>
<p>d=bz2.decompress(c)<br />
<script type="text/javascript"><!--
google_ad_client = "pub-0312533338966184";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_ads";
google_ad_channel = "8976284340";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "CC0000";
google_color_url = "008000";
google_color_text = "333333";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ramanean.com/zlibbz2-and-gzip-compression-in-python/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Base64 encoding and Decoding in Python&#8230;</title>
		<link>http://www.ramanean.com/base64-encoding-and-decoding-in-python/</link>
		<comments>http://www.ramanean.com/base64-encoding-and-decoding-in-python/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 02:07:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://www.ramanean.com/base64-encoding-and-decoding-in-python/</guid>
		<description><![CDATA[ Base64 encoding
import base64
page=&#8221;spmethingsadasd&#8221;
a=base64.b64encode(the_page)
print a
Base64 decoding in Python:
import base64
b=base64.b64decode(a)
print b
]]></description>
			<content:encoded><![CDATA[<p> Base64 encoding</p>
<p>import base64</p>
<p>page=&#8221;spmethingsadasd&#8221;</p>
<p>a=base64.b64encode(the_page)</p>
<p>print a</p>
<p>Base64 decoding in Python:</p>
<p>import base64</p>
<p>b=base64.b64decode(a)</p>
<p>print b</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ramanean.com/base64-encoding-and-decoding-in-python/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Php native functions to  check for aplhanumeric words</title>
		<link>http://www.ramanean.com/php-native-functions-to-check-for-aplhanumeric-words/</link>
		<comments>http://www.ramanean.com/php-native-functions-to-check-for-aplhanumeric-words/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 09:39:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Php]]></category>

		<guid isPermaLink="false">http://www.ramanean.com/php-native-functions-to-check-for-aplhanumeric-words/</guid>
		<description><![CDATA[
More native functions can be found here
http://in2.php.net/ctype_alnum
]]></description>
			<content:encoded><![CDATA[<p><?php<br />
$strings = array('AbCd1zyZ9', 'foo!#$bar');<br />
foreach ($strings as $testcase) {<br />
    if (ctype_alnum($testcase)) {<br />
        echo "The string $testcase consists of all letters or digits.\n";<br />
    } else {<br />
        echo "The string $testcase does not consist of all letters or digits.\n";<br />
    }<br />
}<br />
?></p>
<p>More native functions can be found here</p>
<p>http://in2.php.net/ctype_alnum</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ramanean.com/php-native-functions-to-check-for-aplhanumeric-words/feed/</wfw:commentRss>
		</item>
		<item>
		<title>100 Keyboard shortcuts</title>
		<link>http://www.ramanean.com/100-keyboard-shortcuts/</link>
		<comments>http://www.ramanean.com/100-keyboard-shortcuts/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 06:35:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.ramanean.com/100-keyboard-shortcuts/</guid>
		<description><![CDATA[Hi,
These are 100 keyboard shortcuts
CTRL+C (Copy)
CTRL+X (Cut)
CTRL+V (Paste)
CTRL+Z (Undo)
DELETE (Delete)
SHIFT+DELETE (Delete the selected item permanently without placing the item in the Recycle Bin)
CTRL while dragging an item (Copy the selected item)
CTRL+SHIFT while dragging an item (Create a shortcut to the selected item)
F2 key (Rename the selected item)
CTRL+RIGHT ARROW (Move the insertion point to the beginning [...]]]></description>
			<content:encoded><![CDATA[<p>Hi,<br />
These are 100 keyboard shortcuts</p>
<p>CTRL+C (Copy)</p>
<p>CTRL+X (Cut)</p>
<p>CTRL+V (Paste)</p>
<p>CTRL+Z (Undo)</p>
<p>DELETE (Delete)</p>
<p>SHIFT+DELETE (Delete the selected item permanently without placing the item in the Recycle Bin)</p>
<p>CTRL while dragging an item (Copy the selected item)</p>
<p>CTRL+SHIFT while dragging an item (Create a shortcut to the selected item)</p>
<p>F2 key (Rename the selected item)</p>
<p>CTRL+RIGHT ARROW (Move the insertion point to the beginning of the next word)</p>
<p>CTRL+LEFT ARROW (Move the insertion point to the beginning of the previous word)</p>
<p>CTRL+DOWN ARROW (Move the insertion point to the beginning of the next paragraph)</p>
<p>CTRL+UP ARROW (Move the insertion point to the beginning of the previous paragraph)</p>
<p>CTRL+SHIFT with any of the arrow keys (Highlight a block of text)</p>
<p>SHIFT with any of the arrow keys (Select more than one item in a window or on the<br />
desktop, or select text in a document)</p>
<p>CTRL+A (Select all)</p>
<p>F3 key (Search for a file or a folder)</p>
<p>ALT+ENTER (View the properties for the selected item)</p>
<p>ALT+F4 (Close the active item, or quit the active program)</p>
<p>ALT+ENTER (Display the properties of the selected object)</p>
<p>ALT+SPACEBAR (Open the shortcut menu for the active window)</p>
<p>CTRL+F4 (Close the active document in programs that enable you to have multiple<br />
documents open simultaneously)</p>
<p>ALT+TAB (Switch between the open items)</p>
<p>ALT+ESC (Cycle through items in the order that they had been opened)</p>
<p>F6 key (Cycle through the screen elements in a window or on the desktop)</p>
<p>F4 key (Display the Address bar list in My Computer or Windows Explorer)</p>
<p>SHIFT+F10 (Display the shortcut menu for the selected item)</p>
<p>ALT+SPACEBAR (Display the System menu for the active window)</p>
<p>CTRL+ESC (Display the Start menu)</p>
<p>ALT+Underlined letter in a menu name (Display the corresponding menu)</p>
<p>Underlined letter in a command name on an open menu (Perform the corresponding<br />
command)</p>
<p>F10 key (Activate the menu bar in the active program)</p>
<p>RIGHT ARROW (Open the next menu to the right, or open a submenu)</p>
<p>LEFT ARROW (Open the next menu to the left, or close a submenu)</p>
<p>F5 key (Update the active window)</p>
<p>BACKSPACE (View the folder one level up in My Computer or Windows Explorer)</p>
<p>ESC (Cancel the current task)</p>
<p>SHIFT when you insert a CD-ROM into the CD-ROM drive (Prevent the CD-ROM from<br />
automatically playing)</p>
<p>Dialog Box Keyboard Shortcuts</p>
<p>CTRL+TAB (Move forward through the tabs)</p>
<p>CTRL+SHIFT+TAB (Move backward through the tabs)</p>
<p>TAB (Move forward through the options)</p>
<p>SHIFT+TAB (Move backward through the options)</p>
<p>ALT+Underlined letter (Perform the corresponding command or select the corresponding<br />
option)</p>
<p>ENTER (Perform the command for the active option or button)</p>
<p>SPACEBAR (Select or clear the check box if the active option is a check box)</p>
<p>Arrow keys (Select a button if the active option is a group of option buttons)</p>
<p>F1 key (Display Help)</p>
<p>F4 key (Display the items in the active list)</p>
<p>BACKSPACE (Open a folder one level up if a folder is selected in the Save As or Open dialog box)</p>
<p>micro$oft Natural Keyboard Shortcuts</p>
<p>Windows Logo (Display or hide the Start menu)</p>
<p>Windows Logo+BREAK (Display the System Properties dialog box)</p>
<p>Windows Logo+D (Display the desktop)</p>
<p>Windows Logo+M (Minimize all of the windows)</p>
<p>Windows Logo+SHIFT+M (Restore the minimized windows)</p>
<p>Windows Logo+E (Open My Computer)</p>
<p>Windows Logo+F (Search for a file or a folder)</p>
<p>CTRL+Windows Logo+F (Search for computers)</p>
<p>Windows Logo+F1 (Display Windows Help)</p>
<p>Windows Logo+ L (Lock the keyboard)</p>
<p>Windows Logo+R (Open the Run dialog box)</p>
<p>Windows Logo+U (Open Utility Manager)</p>
<p>Accessibility Keyboard Shortcuts</p>
<p>Right SHIFT for eight seconds (Switch FilterKeys either on or off)</p>
<p>Left ALT+left SHIFT+PRINT SCREEN (Switch High Contrast either on or off)</p>
<p>Left ALT+left SHIFT+NUM LOCK (Switch the MouseKeys either on or off)</p>
<p>SHIFT five times (Switch the StickyKeys either on or off)</p>
<p>NUM LOCK for five seconds (Switch the ToggleKeys either on or off)</p>
<p>Windows Logo +U (Open Utility Manager)</p>
<p>Windows Explorer Keyboard Shortcuts</p>
<p>END (Display the bottom of the active window)</p>
<p>HOME (Display the top of the active window)</p>
<p>NUM LOCK+Asterisk sign (*) (Display all of the subfolders that are under the selected<br />
folder)</p>
<p>NUM LOCK+Plus sign (+) (Display the contents of the selected folder)</p>
<p>NUM LOCK+Minus sign (-) (Collapse the selected folder)</p>
<p>LEFT ARROW (Collapse the current selection if it is expanded, or select the parent folder)</p>
<p>RIGHT ARROW (Display the current selection if it is collapsed, or select the first subfolder)</p>
<p>Shortcut Keys for Character Map</p>
<p>After you double-click a character on the grid of characters, you can move through the<br />
grid by using the keyboard shortcuts:</p>
<p>RIGHT ARROW (Move to the right or to the beginning of the next line)</p>
<p>LEFT ARROW (Move to the left or to the end of the previous line)</p>
<p>UP ARROW (Move up one row)</p>
<p>DOWN ARROW (Move down one row)</p>
<p>PAGE UP (Move up one screen at a time)</p>
<p>PAGE DOWN (Move down one screen at a time)</p>
<p>HOME (Move to the beginning of the line)</p>
<p>END (Move to the end of the line)</p>
<p>CTRL+HOME (Move to the first character)</p>
<p>CTRL+END (Move to the last character)</p>
<p>SPACEBAR (Switch between Enlarged and Normal mode when a character is selected)</p>
<p>micro$oft Management Console (MMC) Main Window Keyboard Shortcuts</p>
<p>CTRL+O (Open a saved console)</p>
<p>CTRL+N (Open a new console)</p>
<p>CTRL+S (Save the open console)</p>
<p>CTRL+M (Add or remove a console item)</p>
<p>CTRL+W (Open a new window)</p>
<p>F5 key (Update the content of all console windows)</p>
<p>ALT+SPACEBAR (Display the MMC window menu)</p>
<p>ALT+F4 (Close the console)</p>
<p>ALT+A (Display the Action menu)</p>
<p>ALT+V (Display the View menu)</p>
<p>ALT+F (Display the File menu)</p>
<p>ALT+O (Display the Favorites menu)</p>
<p>MMC Console Window Keyboard Shortcuts</p>
<p>CTRL+P (Print the current page or active pane)</p>
<p>ALT+Minus sign (-) (Display the window menu for the active console window)</p>
<p>SHIFT+F10 (Display the Action shortcut menu for the selected item)</p>
<p>F1 key (Open the Help topic, if any, for the selected item)</p>
<p>F5 key (Update the content of all console windows)</p>
<p>CTRL+F10 (Maximize the active console window)</p>
<p>CTRL+F5 (Restore the active console window)</p>
<p>ALT+ENTER (Display the Properties dialog box, if any, for the selected item)</p>
<p>F2 key (Rename the selected item)</p>
<p>CTRL+F4 (Close the active console window. When a console has only one console<br />
window, this shortcut closes the console)</p>
<p>Remote Desktop Connection Navigation</p>
<p>CTRL+ALT+END (Open the m*cro$oft Windows NT Security dialog box)</p>
<p>ALT+PAGE UP (Switch between programs from left to right)</p>
<p>ALT+PAGE DOWN (Switch between programs from right to left)</p>
<p>ALT+INSERT (Cycle through the programs in most recently used order)</p>
<p>ALT+HOME (Display the Start menu)</p>
<p>CTRL+ALT+BREAK (Switch the client computer between a window and a full screen)</p>
<p>ALT+DELETE (Display the Windows menu)</p>
<p>CTRL+ALT+Minus sign (-) (Place a snapshot of the active window in the client on the<br />
Terminal server clipboard and provide the same functionality as pressing PRINT SCREEN on a local computer.)<br />
CTRL+ALT+Plus sign (+) (Place a snapshot of the entire client window area on the Terminal server clipboard and provide the same functionality as pressing ALT+PRINT SCREEN on a local computer.)<br />
m*cro$oft Internet Explorer Navigation</p>
<p>CTRL+B (Open the Organize Favorites dialog box)<br />
CTRL+E (Open the Search bar)<br />
CTRL+F (Start the Find utility)<br />
CTRL+H (Open the History bar)<br />
CTRL+I (Open the Favorites bar)<br />
CTRL+L (Open the Open dialog box)<br />
CTRL+N (Start another instance of the browser with the same Web address)<br />
CTRL+O (Open the Open dialog box, the same as CTRL+L)<br />
CTRL+P (Open the Print dialog box)<br />
CTRL+R (Update the current Web page)<br />
CTRL+W (Close the current window)</p>
<p>Source:http://forums.digitalpoint.com/showthread.php?t=955097</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ramanean.com/100-keyboard-shortcuts/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Superb Death Case</title>
		<link>http://www.ramanean.com/superb-death-case/</link>
		<comments>http://www.ramanean.com/superb-death-case/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 06:27:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.ramanean.com/superb-death-case/</guid>
		<description><![CDATA[At the 1994 annual awards dinner given for Forensic Science, AAFS President Dr  Don Harper Mills astounded his audience with the legal complications of a  bizarre death. 
Here is the Case: 
On March 23, 1994 the medical examiner viewed the body of Ronald Opus and  concluded that he died from a shotgun [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal">At the 1994 annual awards dinner given for Forensic Science, AAFS President Dr  Don Harper Mills astounded his audience with the legal complications of a  bizarre death. <o:p></o:p></p>
<p>Here is the Case: <o:p></o:p></p>
<p>On March 23, 1994 the medical examiner viewed the body of Ronald Opus and  concluded that he died from a shotgun wound to the head. <o:p></o:p></p>
<p>Mr. Opus had jumped from the top of a ten-story building intending to commit  suicide. He left a note to the effect indicating his despondency .As he fell  past the ninth floor his life was interrupted by a shotgun blast passing through  a window, which killed him instantly. <o:p></o:p></p>
<p>Neither the shooter nor the deceased was aware that a safety net had been  installed just below the eighth floor level to protect some building workers and  that Ronald Opus would not have been able to complete his suicide the way he had  planned. <o:p></o:p></p>
<p>“Ordinarily,” Dr Mills continued, “A person, who sets out to commit suicide  and ultimately succeeds, even though the mechanism might not be what he  intended, is still defined as committing suicide.” That Mr. Opus was shot on the  way to certain death, but probably would not have been successful because of the  safety net, caused the medical examiner to feel that he had a homicide on his  hands. <o:p></o:p></p>
<p>In the room on the ninth floor, where the shotgun blast emanated, was  occupied by an elderly man and his wife. They were arguing vigorously and he was  threatening her with a shotgun. <o:p></o:p></p>
<p>The man was so upset that when he pulled the trigger he completely missed his  wife and the pellets went through the window striking Mr. Opus. When one intends  to kill subject “A” but kills subject “B” in the attempt, one is guilty of the  murder of subject “B”. <o:p></o:p></p>
<p>When confronted with the murder charge the old man and his wife were both  adamant and both said that they thought the shotgun was u nloaded. The old man  said it was a long-standing habit to threaten his wife with the unloaded  shotgun. He had no intention to murder her. <o:p></o:p></p>
<p>Therefore the killing of Mr. Opus appeared to be an accident; that is, if the  gun had been accidentally loaded. The continuing investigation turned up a  witness who saw the old couple’s son load ing the shotgun about six weeks prior  to the fatal accident. <o:p></o:p></p>
<p>It transpired that the old lady had cut off her son’s financial support and  the son, knowing the propensity of his father to use the shotgun threateningly,  loaded the gun with the expectation that his father would shoot his mother.Since  the loader of the gun was aware of this, he was guilty of the murder even though  he didn’t actually pull the trigger. The case now becomes one of murder on the  part of the son for the death of Ronald Opus. <o:p></o:p></p>
<p>Now comes the exquisite twist. Further investigation revealed hat the son  was, in fact, Ronald Opus. He had become increasingly despondent over the  failure of his attempt to engineer his mother’s murder. This led him to jump off  the ten-story building on March 23rd, only to be killed by a shotgun blast  passing through the ninth story window. The son had actually Murdered himself,  so the medical examiner closed the case as a suicide</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ramanean.com/superb-death-case/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Python code to index a site&#8230;</title>
		<link>http://www.ramanean.com/python-code-to-index-a-site/</link>
		<comments>http://www.ramanean.com/python-code-to-index-a-site/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 01:09:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://www.ramanean.com/python-code-to-index-a-site/</guid>
		<description><![CDATA[#!C:/Python25/python.exe -u
import MySQLdb
print &#8220;Content-type: text/html&#8221;
db=MySQLdb.connect(host=&#8221;localhost&#8221;,user=&#8221;xxxxx&#8221;,passwd=&#8221;xxxxxx&#8221;,db=&#8221;xxxxx&#8221;)
cursor=db.cursor()
import socket
timeout=1
a=1
socket.setdefaulttimeout(timeout)
from urllib2 import Request, urlopen, URLError, HTTPError
cursor.execute(&#8217;SELECT * FROM `stringf` LIMIT 20,5&#8242;)
numrows = int(cursor.rowcount)
# get and display one row at a time
x=20
for x in range(20,25):
row = cursor.fetchone()
print row[0], &#8220;&#8211;&#62;&#8221;, row[1]
url=&#8217;http://www.&#8217;+row[1]+&#8221;
req = Request(url)
try:
response = urlopen(req)
except:
print &#8216;error&#8217;
else:
try:
the_page=response.read()
b=row[1]+&#8217;.txt&#8217;
f=open(b,&#8217;w')
f.write(the_page)
f.close()
except:
print &#8216;error&#8217;
]]></description>
			<content:encoded><![CDATA[<p>#!C:/Python25/python.exe -u<br />
import MySQLdb</p>
<p>print &#8220;Content-type: text/html&#8221;<br />
db=MySQLdb.connect(host=&#8221;localhost&#8221;,user=&#8221;xxxxx&#8221;,passwd=&#8221;xxxxxx&#8221;,db=&#8221;xxxxx&#8221;)<br />
cursor=db.cursor()</p>
<p>import socket<br />
timeout=1<br />
a=1<br />
socket.setdefaulttimeout(timeout)<br />
from urllib2 import Request, urlopen, URLError, HTTPError</p>
<p>cursor.execute(&#8217;SELECT * FROM `stringf` LIMIT 20,5&#8242;)<br />
numrows = int(cursor.rowcount)<br />
# get and display one row at a time<br />
x=20<br />
for x in range(20,25):<br />
row = cursor.fetchone()<br />
print row[0], &#8220;&#8211;&gt;&#8221;, row[1]<br />
url=&#8217;http://www.&#8217;+row[1]+&#8221;<br />
req = Request(url)<br />
try:<br />
response = urlopen(req)<br />
except:<br />
print &#8216;error&#8217;</p>
<p>else:<br />
try:<br />
the_page=response.read()<br />
b=row[1]+&#8217;.txt&#8217;<br />
f=open(b,&#8217;w')<br />
f.write(the_page)<br />
f.close()<br />
except:<br />
print &#8216;error&#8217;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ramanean.com/python-code-to-index-a-site/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Writing contents to file in Python</title>
		<link>http://www.ramanean.com/writing-contents-to-file-in-python/</link>
		<comments>http://www.ramanean.com/writing-contents-to-file-in-python/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 02:06:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://www.ramanean.com/writing-contents-to-file-in-python/</guid>
		<description><![CDATA[Source code for writing contents to file in Python
file=open(&#8217;2.txt&#8217;,'w&#8217;)
file.write(&#8217;asdasdadas&#8217;)
file.close
]]></description>
			<content:encoded><![CDATA[<p>Source code for writing contents to file in Python</p>
<p>file=open(&#8217;2.txt&#8217;,'w&#8217;)</p>
<p>file.write(&#8217;asdasdadas&#8217;)</p>
<p>file.close</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ramanean.com/writing-contents-to-file-in-python/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
