<?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>Mostly Software Engineering &#187; Software Engineering</title>
	<atom:link href="http://www.advansen.com/tag/software-engineering/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.advansen.com</link>
	<description>Gabriel Gonzalez&#039;s notebook</description>
	<lastBuildDate>Thu, 22 Jul 2010 13:47:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Twitter Internal Fragmentation: Python + Twitter</title>
		<link>http://www.advansen.com/2010/01/25/twitter-internal-fragmentation-python-twitter/</link>
		<comments>http://www.advansen.com/2010/01/25/twitter-internal-fragmentation-python-twitter/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 09:32:55 +0000</pubDate>
		<dc:creator>Gabriel Gonzalez</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[open source tools]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Software Engineering]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.advansen.com/?p=129</guid>
		<description><![CDATA[As a toy project to play a little bit more with Python and accessing Twitter, I came out with the idea of calculating the Internal Fragmentation of user&#8217;s tweet. 
To interface with Twitter services I used the Twitter extension located at http://code.google.com/p/python-twitter/, which has a pretty straightforward API.
The script shown below gives you back what [...]]]></description>
			<content:encoded><![CDATA[<p>As a toy project to play a little bit more with <strong>Python </strong>and accessing <strong>Twitter</strong>, I came out with the idea of calculating the <a href="http://en.wikipedia.org/wiki/Fragmentation_(computer)">Internal Fragmentation</a> of user&#8217;s tweet. </p>
<p>To interface with Twitter services I used the <a href="http://code.google.com/p/python-twitter/">Twitter extension</a> located at <a href="http://code.google.com/p/python-twitter/">http://code.google.com/p/python-twitter/</a>, which has a pretty straightforward API.</p>
<p>The script shown below gives you back what average percentage of your last 20 tweets have been wasted.</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">import</span> &nbsp;twitter</div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">import</span> &nbsp;<span class="kw3">sys</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li2">
<div class="de2"><span class="kw1">if</span> <span class="kw2">len</span><span class="br0">&#40;</span><span class="kw3">sys</span>.<span class="me1">argv</span><span class="br0">&#41;</span> != <span class="nu0">2</span>:</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">print</span> &nbsp; <span class="st0">&quot;Provide a Twitter Username as Argument&quot;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; exit<span class="br0">&#40;</span><span class="nu0">-1</span><span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">api = twitter.<span class="me1">Api</span><span class="br0">&#40;</span><span class="br0">&#41;</span></div>
</li>
<li class="li2">
<div class="de2">st = api.<span class="me1">GetUserTimeline</span><span class="br0">&#40;</span><span class="kw3">sys</span>.<span class="me1">argv</span><span class="br0">&#91;</span><span class="nu0">1</span><span class="br0">&#93;</span><span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="kw2">sum</span> = <span class="nu0">0.0</span></div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">for</span> s <span class="kw1">in</span> st:</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">sum</span> += <span class="br0">&#40;</span><span class="nu0">140.0</span> &#8211; <span class="kw2">len</span><span class="br0">&#40;</span>s.<span class="me1">text</span>.<span class="me1">encode</span><span class="br0">&#40;</span><span class="st0">&quot;utf-8&quot;</span><span class="br0">&#41;</span><span class="br0">&#41;</span><span class="br0">&#41;</span>/<span class="nu0">140.0</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li2">
<div class="de2"><span class="kw1">print</span> <span class="st0">&quot;%s internal fragmentation is %.2f%s&quot;</span> % <span class="br0">&#40;</span><span class="kw3">sys</span>.<span class="me1">argv</span><span class="br0">&#91;</span><span class="nu0">1</span><span class="br0">&#93;</span>, <span class="kw2">round</span><span class="br0">&#40;</span><span class="kw2">sum</span> / <span class="kw2">len</span><span class="br0">&#40;</span>st<span class="br0">&#41;</span> * <span class="nu0">100</span>, <span class="nu0">2</span><span class="br0">&#41;</span>, <span class="st0">&quot;%&quot;</span><span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
</ol>
</div>
<p>And now some results:<br />
<code><br />
$ python twinternal.py GabrielGonzalez<br />
GabrielGonzalez internal fragmentation is 39.89%<br />
$ python twinternal.py 48bits<br />
48bits internal fragmentation is 36.79%<br />
$ python twinternal.py reversemode<br />
reversemode internal fragmentation is 38.72%<br />
$ python twinternal.py aramosf<br />
aramosf internal fragmentation is 32.41%<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.advansen.com/2010/01/25/twitter-internal-fragmentation-python-twitter/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Vulnerability Engineering</title>
		<link>http://www.advansen.com/2009/11/12/vulnerability-engineering/</link>
		<comments>http://www.advansen.com/2009/11/12/vulnerability-engineering/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 08:59:13 +0000</pubDate>
		<dc:creator>Gabriel Gonzalez</dc:creator>
				<category><![CDATA[Computer Security]]></category>
		<category><![CDATA[Software Engineering]]></category>
		<category><![CDATA[vulnerability engineering]]></category>

		<guid isPermaLink="false">http://www.advansen.com/?p=123</guid>
		<description><![CDATA[I have just published an article about Vulnerabily Engineering in Wintercore&#8217;s blog (spanish version in 48bits.com). It focuses in applying Software Engineering metrics to the world of Vulnerability Research which can give us an idea about how Reliable a Software Product is.
In this article I analyze five applications Microsoft&#8217;s Explorer, Sun&#8217;s Java JRE, Apple&#8217;s QuickTime, [...]]]></description>
			<content:encoded><![CDATA[<p>I have just published an article about <a title="Vulnerability Engineering" href="http://blog.wintercore.com/?p=26">Vulnerabily Engineering in Wintercore&#8217;s blog </a>(<a title="Vulnerability Engineering" href="http://blog.48bits.com/?p=735">spanish version in 48bits.com</a>). It focuses in applying Software Engineering metrics to the world of Vulnerability Research which can give us an idea about how Reliable a Software Product is.</p>
<p>In this article I analyze five applications Microsoft&#8217;s Explorer, Sun&#8217;s Java JRE, Apple&#8217;s QuickTime, HP NodeManager and Adobe Reader. The conclusion I formulated after writing the article was that the reliability of Software Product is too low to be even bad.</p>
<p>QuickTime&#8217;s users are 99% of the time exposed to at least one unfixed vulnerability, which I think should ban this products for almost all computers.</p>
<p>I hope you enjoy the article.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.advansen.com/2009/11/12/vulnerability-engineering/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
