<?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>froztbyte.getBlog() &#187; life</title>
	<atom:link href="http://blog.froztbyte.net/tag/life/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.froztbyte.net</link>
	<description>returns the contents of froztbyte.blog</description>
	<lastBuildDate>Fri, 03 Apr 2020 21:58:55 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.0</generator>
	<item>
		<title>Should I buy some stock?</title>
		<link>http://blog.froztbyte.net/2012/08/should-i-buy-some-stock/</link>
		<comments>http://blog.froztbyte.net/2012/08/should-i-buy-some-stock/#comments</comments>
		<pubDate>Tue, 07 Aug 2012 15:03:21 +0000</pubDate>
		<dc:creator><![CDATA[froztbyte]]></dc:creator>
				<category><![CDATA[minipost]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[decisions]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[stocks]]></category>

		<guid isPermaLink="false">http://blog.froztbyte.net/?p=283</guid>
		<description><![CDATA[thoughts: I still have some stock account balance left..wonder if I should buy some.. In [1]: from random import choice In [2]: choices = {'buy': 0, 'wait': 0} In [3]: for i in range(0,5000): choices[choice(['buy','wait'])] += 1 ...: In [4]: &#8230;<p class="read-more"><a href="http://blog.froztbyte.net/2012/08/should-i-buy-some-stock/">Read more &#187;</a></p>]]></description>
				<content:encoded><![CDATA[<p>thoughts: I still have some stock account balance left..wonder if I should buy some..</p>
<pre>In [1]: from random import choice
In [2]: choices = {'buy': 0, 'wait': 0}
In [3]: for i in range(0,5000):
    choices[choice(['buy','wait'])] += 1
   ...:
In [4]: choices
Out[4]: {'buy': 2518, 'wait': 2482}</pre>
<p>Guess I&#8217;ll buy some stocks.</p>
<p>[ed's note: this method works equally well to decide <em>which</em> stocks you want to buy when you're lazy]</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.froztbyte.net/2012/08/should-i-buy-some-stock/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
