<?xml version="1.0" encoding="UTF-8"?>
<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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Web Oom</title>
	<atom:link href="http://web.pyncus.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://web.pyncus.com</link>
	<description>Build and Share Web Technology</description>
	<lastBuildDate>Mon, 25 Jan 2010 18:19:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to kill vnc session</title>
		<link>http://web.pyncus.com/2010/01/25/how-to-kill-vnc-session/</link>
		<comments>http://web.pyncus.com/2010/01/25/how-to-kill-vnc-session/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 18:19:56 +0000</pubDate>
		<dc:creator>weboom</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[vnc]]></category>

		<guid isPermaLink="false">http://web.pyncus.com/?p=587</guid>
		<description><![CDATA[$vncserver -kill :1
1 is the session number
]]></description>
			<content:encoded><![CDATA[<p>$vncserver -kill :1</p>
<p>1 is the session number</p>
]]></content:encoded>
			<wfw:commentRss>http://web.pyncus.com/2010/01/25/how-to-kill-vnc-session/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to start vnc</title>
		<link>http://web.pyncus.com/2010/01/25/how-to-start-vnc/</link>
		<comments>http://web.pyncus.com/2010/01/25/how-to-start-vnc/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 18:16:00 +0000</pubDate>
		<dc:creator>weboom</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[vncserver]]></category>

		<guid isPermaLink="false">http://web.pyncus.com/?p=585</guid>
		<description><![CDATA[$ vncserver -geometry 1024&#215;798 -depth 24
]]></description>
			<content:encoded><![CDATA[<p>$ vncserver -geometry 1024&#215;798 -depth 24</p>
]]></content:encoded>
			<wfw:commentRss>http://web.pyncus.com/2010/01/25/how-to-start-vnc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is cloud computing ?</title>
		<link>http://web.pyncus.com/2009/12/31/what-is-cloud-computing/</link>
		<comments>http://web.pyncus.com/2009/12/31/what-is-cloud-computing/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 07:20:43 +0000</pubDate>
		<dc:creator>weboom</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cloud computing]]></category>

		<guid isPermaLink="false">http://web.pyncus.com/?p=578</guid>
		<description><![CDATA[Excerpt from here
Cloud computing is a general term for anything that involves delivering hosted services over the Internet. These services are broadly divided into three categories: Infrastructure-as-a-Service (IaaS), Platform-as-a-Service (PaaS) and Software-as-a-Service (SaaS). The name cloud computing was inspired by the cloud symbol that&#8217;s often used to represent the Internet in flow charts and diagrams.
A [...]]]></description>
			<content:encoded><![CDATA[<p>Excerpt from<a href="http://searchcloudcomputing.techtarget.com/sDefinition/0,,sid201_gci1287881,00.html"> here</a></p>
<p>Cloud computing is a general term for anything that involves delivering hosted services over the Internet. These services are broadly divided into three categories: Infrastructure-as-a-Service (IaaS), Platform-as-a-Service (PaaS) and Software-as-a-Service (SaaS). The name cloud computing was inspired by the cloud symbol that&#8217;s often used to represent the Internet in flow charts and diagrams.</p>
<p>A cloud service has three distinct characteristics that differentiate it from traditional hosting. It is sold on demand, typically by the minute or the hour; it is elastic &#8212; a user can have as much or as little of a service as they want at any given time; and the service is fully managed by the provider (the consumer needs nothing but a personal computer and Internet access). Significant innovations in virtualization and distributed computing, as well as improved access to high-speed Internet and a weak economy, have accelerated interest in cloud computing.</p>
<p>A cloud can be private or public. A public cloud sells services to anyone on the Internet. (Currently, Amazon Web Services is the largest public cloud provider.) A private cloud is a proprietary network or a data center that supplies hosted services to a limited number of people. When a service provider uses public cloud resources to create their private cloud, the result is called a virtual private cloud. Private or public, the goal of cloud computing is to provide easy, scalable access to computing resources and IT services.</p>
<p>Infrastructure-as-a-Service like Amazon Web Services provides virtual server instances with unique IP addresses and blocks of storage on demand. Customers use the provider&#8217;s application program interface (API) to start, stop, access and configure their virtual servers and storage. In the enterprise, cloud computing allows a company to pay for only as much capacity as is needed, and bring more online as soon as required. Because this pay-for-what-you-use model resembles the way electricity, fuel and water are consumed, it&#8217;s sometimes referred to as utility computing.</p>
<p>Platform-as-a-service in the cloud is defined as a set of software and product development tools hosted on the provider&#8217;s infrastructure. Developers create applications on the provider&#8217;s platform over the Internet. PaaS providers may use APIs, website portals or gateway software installed on the customer&#8217;s computer. Force.com, (an outgrowth of Salesforce.com) and GoogleApps are examples of PaaS. Developers need to know that currently, there are not standards for interoperability or data portability in the cloud. Some providers will not allow software created by their customers to be moved off the provider&#8217;s platform.</p>
<p>In the software-as-a-service cloud model, the vendor supplies the hardware infrastructure, the software product and interacts with the user through a front-end portal. SaaS is a very broad market. Services can be anything from Web-based email to inventory control and database processing. Because the service provider hosts both the application and the data, the end user is free to use the service from anywhere.</p>
]]></content:encoded>
			<wfw:commentRss>http://web.pyncus.com/2009/12/31/what-is-cloud-computing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is google app engine?</title>
		<link>http://web.pyncus.com/2009/12/31/what-is-google-app-engine/</link>
		<comments>http://web.pyncus.com/2009/12/31/what-is-google-app-engine/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 06:42:00 +0000</pubDate>
		<dc:creator>weboom</dc:creator>
				<category><![CDATA[django]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[google app engine]]></category>

		<guid isPermaLink="false">http://web.pyncus.com/?p=574</guid>
		<description><![CDATA[Google App Engine lets you run your web applications on Google&#8217;s infrastructure. 
It is kind of web hosting server I think.
Django can be also served with google app engine.
]]></description>
			<content:encoded><![CDATA[<p>Google App Engine lets you run your web applications on Google&#8217;s infrastructure. </p>
<p>It is kind of web hosting server I think.<br />
Django can be also served with google app engine.</p>
]]></content:encoded>
			<wfw:commentRss>http://web.pyncus.com/2009/12/31/what-is-google-app-engine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to round the number in Python?</title>
		<link>http://web.pyncus.com/2009/12/28/how-to-round-the-number-in-python/</link>
		<comments>http://web.pyncus.com/2009/12/28/how-to-round-the-number-in-python/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 00:52:12 +0000</pubDate>
		<dc:creator>weboom</dc:creator>
				<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://web.pyncus.com/?p=572</guid>
		<description><![CDATA[I want to make
x=32.34565
to
32.35
How ?
round(x,2)
]]></description>
			<content:encoded><![CDATA[<p>I want to make<br />
x=32.34565<br />
to<br />
32.35</p>
<p>How ?<br />
round(x,2)</p>
]]></content:encoded>
			<wfw:commentRss>http://web.pyncus.com/2009/12/28/how-to-round-the-number-in-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to write lines (Python)</title>
		<link>http://web.pyncus.com/2009/12/22/how-to-write-lines-python/</link>
		<comments>http://web.pyncus.com/2009/12/22/how-to-write-lines-python/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 19:53:16 +0000</pubDate>
		<dc:creator>weboom</dc:creator>
				<category><![CDATA[python]]></category>
		<category><![CDATA[writelines]]></category>

		<guid isPermaLink="false">http://web.pyncus.com/?p=570</guid>
		<description><![CDATA[Use writelines()
e.g.

# read lines in a file
import sys
arg1 = sys.argv[1]
f = open(arg1, 'r')
lines = f.readlines()
f.close()
arg='out_'+arg1
FILE=open(arg,'w')
for line in lines:
     words = line.split(' ')
     if words[1] == 'hypnos':
          FILE.writelines(line)
FILE.close()
]]></description>
			<content:encoded><![CDATA[<p>Use writelines()</p>
<p>e.g.</p>
<pre>
<p># read lines in a file<br />
import sys<br />
arg1 = sys.argv[1]</p>
<p>f = open(arg1, 'r')</p>
<p>lines = f.readlines()<br />
f.close()</p>
<p>arg='out_'+arg1<br />
FILE=open(arg,'w')</p>
<p>for line in lines:<br />
     words = line.split(' ')<br />
     if words[1] == 'hypnos':<br />
          FILE.writelines(line)<br />
FILE.close()</p>
]]></content:encoded>
			<wfw:commentRss>http://web.pyncus.com/2009/12/22/how-to-write-lines-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Find word in a string (Python)</title>
		<link>http://web.pyncus.com/2009/12/22/find-word-in-a-string-python/</link>
		<comments>http://web.pyncus.com/2009/12/22/find-word-in-a-string-python/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 19:36:21 +0000</pubDate>
		<dc:creator>weboom</dc:creator>
				<category><![CDATA[python]]></category>
		<category><![CDATA[find]]></category>

		<guid isPermaLink="false">http://web.pyncus.com/?p=568</guid>
		<description><![CDATA[When you want to find a word in a string, use find()
e.g.

import sys
arg1 = sys.argv[1] # passing the first argument
if arg1.find("off") == -1: # if arg1 does not contain "off"
  # do something
else:
  # do something
]]></description>
			<content:encoded><![CDATA[<p>When you want to find a word in a string, use find()</p>
<p>e.g.</p>
<pre>
<p>import sys<br />
arg1 = sys.argv[1] # passing the first argument</p>
<p>if arg1.find("off") == -1: # if arg1 does not contain "off"<br />
  # do something<br />
else:<br />
  # do something</p>
]]></content:encoded>
			<wfw:commentRss>http://web.pyncus.com/2009/12/22/find-word-in-a-string-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python: How to read lines</title>
		<link>http://web.pyncus.com/2009/12/22/python-how-to-read-lines/</link>
		<comments>http://web.pyncus.com/2009/12/22/python-how-to-read-lines/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 19:32:44 +0000</pubDate>
		<dc:creator>weboom</dc:creator>
				<category><![CDATA[python]]></category>
		<category><![CDATA[readlines]]></category>

		<guid isPermaLink="false">http://web.pyncus.com/?p=565</guid>
		<description><![CDATA[Use readlines()
For example,

arg = "filename"

f = open(arg, 'r')

lines = f.readlines()
f.close()

]]></description>
			<content:encoded><![CDATA[<p>Use readlines()</p>
<p>For example,</p>
<pre>
arg = "filename"

f = open(arg, 'r')

lines = f.readlines()
f.close()
</pre>
]]></content:encoded>
			<wfw:commentRss>http://web.pyncus.com/2009/12/22/python-how-to-read-lines/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is div in html?</title>
		<link>http://web.pyncus.com/2009/12/03/what-is-div-in-html/</link>
		<comments>http://web.pyncus.com/2009/12/03/what-is-div-in-html/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 04:48:00 +0000</pubDate>
		<dc:creator>weboom</dc:creator>
				<category><![CDATA[html]]></category>
		<category><![CDATA[div]]></category>

		<guid isPermaLink="false">http://web.pyncus.com/?p=563</guid>
		<description><![CDATA[The
 tag is nothing more than a container for other tags.
 is a generic block-level element.
For example,


Restaurants

Category

Chinese
Japanese
Mexican
Italian
French

Area

Carmel Valley
La Jolla
Chula Vista
Sorrento Valley
Downtown



It is usually used with class.
]]></description>
			<content:encoded><![CDATA[<p>The
<div> tag is nothing more than a container for other tags.</p>
<div> is a generic block-level element.</p>
<p>For example,</p>
<pre>
<div class="subcontent-box">
<h1 class="menu">Restaurants</h1>
<div class="sidemenu2">
<h2 class="icon">Category</h2>
<ul>
<li><a href="#">Chinese</a></li>
<li><a href="#">Japanese</a></li>
<li><a href="#">Mexican</a></li>
<li><a href="#">Italian</a></li>
<li><a href="#">French</a></li>
</ul>
<h2 class="icon">Area</h2>
<ul>
<li><a href="#">Carmel Valley</a></li>
<li><a href="#">La Jolla</a></li>
<li><a href="#">Chula Vista</a></li>
<li><a href="#">Sorrento Valley</a></li>
<li><a href="#">Downtown</a></li>
</ul></div>
</div>
</pre>
<p>It is usually used with class.</p>
]]></content:encoded>
			<wfw:commentRss>http://web.pyncus.com/2009/12/03/what-is-div-in-html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Restart apache server after change (in webfaction)</title>
		<link>http://web.pyncus.com/2009/12/01/restart-apache-server-after-change-in-webfaction/</link>
		<comments>http://web.pyncus.com/2009/12/01/restart-apache-server-after-change-in-webfaction/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 07:40:10 +0000</pubDate>
		<dc:creator>weboom</dc:creator>
				<category><![CDATA[django]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[restart]]></category>

		<guid isPermaLink="false">http://web.pyncus.com/?p=561</guid>
		<description><![CDATA[After you made changes,
to see its effect,
execute restart under apache2/bin/
>/home/pyncus/webapps/django11/apache2/bin/restart
]]></description>
			<content:encoded><![CDATA[<p>After you made changes,<br />
to see its effect,<br />
execute restart under apache2/bin/<br />
>/home/pyncus/webapps/django11/apache2/bin/restart</p>
]]></content:encoded>
			<wfw:commentRss>http://web.pyncus.com/2009/12/01/restart-apache-server-after-change-in-webfaction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
