<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Tefaa&#039;s Blog</title>
	<atom:link href="http://tefaa.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://tefaa.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Wed, 05 May 2010 08:36:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='tefaa.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Tefaa&#039;s Blog</title>
		<link>http://tefaa.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://tefaa.wordpress.com/osd.xml" title="Tefaa&#039;s Blog" />
	<atom:link rel='hub' href='http://tefaa.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Effects of Multicore on Cloud Computing</title>
		<link>http://tefaa.wordpress.com/2010/05/05/multicore-on-cloud-computing/</link>
		<comments>http://tefaa.wordpress.com/2010/05/05/multicore-on-cloud-computing/#comments</comments>
		<pubDate>Wed, 05 May 2010 00:19:39 +0000</pubDate>
		<dc:creator>tefaa</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://tefaa.wordpress.com/?p=15</guid>
		<description><![CDATA[Introduction Lets say you have a company and you have a website, that website exchanges conversations between members. At first you start by a few users talking to each other. Then those users start to tell their friends about your website. And those friends start to tell other friends about your website, and so on. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tefaa.wordpress.com&amp;blog=9996118&amp;post=15&amp;subd=tefaa&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>Introduction</h2>
<div id="attachment_21" class="wp-caption aligncenter" style="width: 310px"><a href="http://tefaa.files.wordpress.com/2010/05/p3.png"><img class="size-medium wp-image-21" title="Overloaded Server" src="http://tefaa.files.wordpress.com/2010/05/p3.png?w=300&#038;h=111" alt="" width="300" height="111" /></a><p class="wp-caption-text">Server Overload</p></div>
<p>Lets say you have a company and you have a website, that website exchanges conversations between members. At first you start by a few users talking to each other. Then those users start to tell their friends about your website. And those friends start to tell other friends about your website, and so on. Till your servers can&#8217;t keep up with the demand. In order to work around this problem you either buy or rent some servers and set them up or ask someone else to set them up for you. Of course this approach costs a lot of money and takes a lot of time.</p>
<p>Now there is a better option, instead of hosting your website on a your dedicated server, you can host it on the Cloud. With cloud computing you have access to computing power almost instantly when you need it. So if you suddenly need more computing power you can scale up as much as you need in the cloud on demand. Thus, the clients won&#8217;t notice any difference. In general, with cloud computing you don&#8217;t focus on hardware or software, you only focus on what you need.</p>
<h2>What&#8217;s Cloud Computing</h2>
<div id="attachment_25" class="wp-caption aligncenter" style="width: 454px"><a href="http://tefaa.files.wordpress.com/2010/05/p1.png"><img class="size-full wp-image-25" title="Cloud Computing" src="http://tefaa.files.wordpress.com/2010/05/p1.png?w=640" alt=""   /></a><p class="wp-caption-text">Cloud Computing</p></div>
<p>A cloud computing is internet-based computing where shared resources, software and information are provided to computers and other devices on demand-like a public utility. <span style="color:#c0c0c0;">&#8220;Wikipedia&#8221;</span></p>
<p>Orcale CEO Larry Ellison said: &#8220;Cloud Computing is using a computer that&#8217;s out-there&#8221;. The cloud in cloud computing provides the means through which everything &#8211; from computing power to computing infrastructure, applications, business processes to personal collaboration &#8211; can be delivered to you as a service wherever you need.</p>
<p>The term &#8220;cloud&#8221; is used as a metaphor for the &#8220;Internet&#8221; which is an abstraction of the infrastructure it represents. Cloud computing typically provide some online services which can be accessed using a web service or a browser while software and data are stored on servers.</p>
<h2>Cloud Computing Characteristics</h2>
<p>In general, Cloud computing users or customers(us) do not own the physical infrastructure. Thus, we don&#8217;t have to worry about the machines that runs the application because they don&#8217;t belong to us, so we don&#8217;t have to devote out time and resources for maintaining an application. On the other hand, all the hardware and software are on the cloud. You just subscribe for the resources you need as a service and only pay for the resources that you use. This approach leads to that overall computer usage rises dramatically as customers don&#8217;t have to engineer for the load limits.</p>
<h2>Cloud Computing Key Features</h2>
<p>Cloud computing has many features, some of the features are:</p>
<h3 style="padding-left:30px;">- Cost</h3>
<p style="padding-left:30px;">Cost is claimed to be greatly reduced as you don&#8217;t need to buy any hardware or software, you only charged on the amount of resources you use. An example of a free cloud-computing service is GooGle Docs (<a title="Google Docs" href="http://docs.google.com/" target="_blank">http://docs.google.com/</a>). With google docs you can create documents, spreadsheets and presentations online. So you don&#8217;t need to buy Microsoft office for windows or IWork for mac. All you need is a PC that&#8217;s capable of running a browser and internet connection.</p>
<p style="padding-left:30px;">
<h3 style="padding-left:30px;">-Virtualization</h3>
<p style="padding-left:30px;">Virtualizing an application means packaging the application with everything it needs to run including database, middleware and operating system to be a self-contained image that can run anywhere on the cloud.</p>
<p style="padding-left:30px;">As we know, the cloud can offer the software as a service, but applications are so hard to deploy on new environments (to meet their requirements). So people thought of why not to separate the application from the infrastructure! So application and infrastructure become independent.Virtualization separates resources and services from the underlying physical delivery environment. Allowing servers to be easily shared by many applications.</p>
<p style="padding-left:30px;">
<h3 style="padding-left:30px;">-Multitenancy</h3>
<p style="padding-left:30px;">Multitenancy is the opposite of virtualization, as in multitenancy environment, multiple customers share the same application, running on the same OS, on the same hardware. The distinction between the customers is achieved during application design, so they don&#8217;t share or see each other data. Multitenancy also improves the utilization of the systems as many customers will be using the same hardware.</p>
<h3 style="padding-left:30px;">-Scalability</h3>
<p style="padding-left:30px;">Regarding hardware, its the ability to go from small to large amounts of processing power with the same architecture. Regarding software products such as databases, it refers to the consistency of performance per unit of power as hardware resources increase.</p>
<p style="padding-left:30px;">The service provider can&#8217;t anticipate how customers will use the service. One customer might use the service three times a year during peak selling seasons, whereas another might use it as a primary development platform for all of its applications. Therefore, the service needs to be available all the time and it has to be designed to scale upward for high periods of demand and downward for lighter ones. Scalability also means that an application can scale when additional users are added and when the application requirements change.</p>
<p style="padding-left:30px;">
<h3 style="padding-left:30px;">-Reliability</h3>
<p style="padding-left:30px;">Improves through the use of multiple redundant sites and the ability of a system to provide uninterrupted service despite the failure of one or more of the system&#8217;s components, this&#8217;s called &#8220;Fault Tolerance&#8221; which is failure prevention.</p>
<p style="padding-left:30px;">
<h3 style="padding-left:30px;">-Maintenance</h3>
<p style="padding-left:30px;">Since there is a third party that owns the hardware and software and just provide them as a service, maintenance isn&#8217;t our problem,the cloud service provider is the one responsible for hardware maintenance and software upgrades/maintenance.</p>
<p style="padding-left:30px;">
<h2>Cloud Computing Layers</h2>
<div id="attachment_36" class="wp-caption alignnone" style="width: 218px"><a href="http://tefaa.files.wordpress.com/2010/05/layers.png"><img class="size-full wp-image-36" title="Layers" src="http://tefaa.files.wordpress.com/2010/05/layers.png?w=640" alt=""   /></a><p class="wp-caption-text">Cloud Computing Layers</p></div>
<p>Cloud computing consists of five layers:</p>
<ol>
<li>Client.</li>
<li>Application.</li>
<li>Platform.</li>
<li>Infrastructure.</li>
<li>Servers.</li>
</ol>
<p>Cloud infrastructure services or &#8220;Infrastructure as a Service (IaaS)&#8221; delivers computer infrastructure, typically a platform virtualization environment as a service. Rather than purchasing servers, software, data center space or network equipment, clients instead buy those resources as a fully outsourced service. The service is typically billed on a utility computing basis and amount of resources consumed will typically reflect the level of activity. It is an evolution of virtual private server offerings.</p>
<p>The Cloud Infrastucture consists of one or more servers. The servers layer consists of computer hardware and computer software products that are specifically designed for the delivery of cloud services, including multi-core processors, cloud-specific operating systems and combined offerings.</p>
<p>There are two different types of services that a cloud can offer:</p>
<ol>
<li>Saas (Software as a Service): GooGle is one of the free Cloud providers that provides software as a service (Google apps).</li>
<li>HaaS (Hardware as a Service): Amazon&#8217;s Ec2 is one of the providers that offers different computing power models (See Amazon&#8217;s EC2 Section).</li>
</ol>
<address> </address>
<h2>Amazon&#8217;s EC2</h2>
<p>Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides resizable compute capacity in the cloud. It is designed to make web-scale computing easier for developers. It provides a basic measure of an EC2 compute unit: One EC2 Compute Unit (ECU) provides the equivalent CPU capacity of a 1.0-1.2 GHz 2007 Opteron or 2007 Xeon processor.</p>
<p>Amazon EC2 instances are grouped into three families: Standard, High-Memory and High-CPU. Standard Instances have memory to CPU ratios suitable for most general purpose applications; High-Memory instances offer larger memory sizes for high throughput applications, including database and memory caching applications; and High-CPU instances have proportionally more CPU resources than memory (RAM) and are well suited for compute-intensive applications. When choosing instance types, you should consider the characteristics of your application with regards to resource utilization and select the optimal instance family and size.</p>
<h3 style="padding-left:30px;">Standard Instance</h3>
<div style="padding-left:30px;">They are well suited for most applications.</div>
<div class="mceTemp" style="padding-left:30px;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><a href="http://tefaa.files.wordpress.com/2010/05/picture11.png"><img class="size-full wp-image-27" title="Standard Instance" src="http://tefaa.files.wordpress.com/2010/05/picture11.png?w=640" alt=""   /></a></dt>
<dd class="wp-caption-dd">Standard Instance</dd>
</dl>
</div>
<h3 style="padding-left:30px;">High-Memory</h3>
<div style="padding-left:30px;">They offer large memory sizes for high throughput applications, including database and memory caching applications.</div>
<div style="padding-left:30px;">
<div id="attachment_28" class="wp-caption alignnone" style="width: 561px"><a href="http://tefaa.files.wordpress.com/2010/05/picture2.png"><img class="size-full wp-image-28" title="High Memory Instance" src="http://tefaa.files.wordpress.com/2010/05/picture2.png?w=640" alt=""   /></a><p class="wp-caption-text">High Memory Instance</p></div>
</div>
<div style="padding-left:30px;">
<h3></h3>
<h3>High CPU Instance</h3>
<div>They offer more CPU resources than memory (RAM) and are well suited for compute-intensive applications.</div>
<div>
<div id="attachment_29" class="wp-caption alignnone" style="width: 562px"><a href="http://tefaa.files.wordpress.com/2010/05/picture3.png"><img class="size-full wp-image-29" title="High CPU Instance" src="http://tefaa.files.wordpress.com/2010/05/picture3.png?w=640" alt=""   /></a><p class="wp-caption-text">High CPU Instance</p></div>
</div>
</div>
<h2>Cacutus</h2>
<p>Cacutus is another cloud computing service provider (SaaS). It&#8217;s a complete network graphing solution designed to handle statistics and signal processing data like network bandwidth, temperatures, CPU load etc. it stores all of the necessary information to create 				graphs and populate them with data in a MySQL database.</p>
<h2>References</h2>
<ul>
<li>Wikipedia</li>
<li>Amazon EC2 &#8211; <a title="Amazon Ec2" href="http://aws.amazon.com/ec2/" target="_blank">http://aws.amazon.com/ec2/</a></li>
<li>Judith Hurwitz, Robin Bloor, Marcia Kaufman, Fern Halper &#8211; 2009 &#8211; Cloud Computing For Dummies</li>
<li>Dion Hinchcliffe &#8211; <a title="Cloud Computing" href="http://www.ebizq.net/blogs/enterprise/2009/08/what_does_cloud_computing_actu.php" target="_blank">http://www.ebizq.net/blogs/enterprise/2009/08/what_does_cloud_computing_actu.php</a></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tefaa.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tefaa.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tefaa.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tefaa.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tefaa.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tefaa.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tefaa.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tefaa.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tefaa.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tefaa.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tefaa.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tefaa.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tefaa.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tefaa.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tefaa.wordpress.com&amp;blog=9996118&amp;post=15&amp;subd=tefaa&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tefaa.wordpress.com/2010/05/05/multicore-on-cloud-computing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/74d66227c8f9a6be723b440e1448c328?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tefaa</media:title>
		</media:content>

		<media:content url="http://tefaa.files.wordpress.com/2010/05/p3.png?w=300" medium="image">
			<media:title type="html">Overloaded Server</media:title>
		</media:content>

		<media:content url="http://tefaa.files.wordpress.com/2010/05/p1.png" medium="image">
			<media:title type="html">Cloud Computing</media:title>
		</media:content>

		<media:content url="http://tefaa.files.wordpress.com/2010/05/layers.png" medium="image">
			<media:title type="html">Layers</media:title>
		</media:content>

		<media:content url="http://tefaa.files.wordpress.com/2010/05/picture11.png" medium="image">
			<media:title type="html">Standard Instance</media:title>
		</media:content>

		<media:content url="http://tefaa.files.wordpress.com/2010/05/picture2.png" medium="image">
			<media:title type="html">High Memory Instance</media:title>
		</media:content>

		<media:content url="http://tefaa.files.wordpress.com/2010/05/picture3.png" medium="image">
			<media:title type="html">High CPU Instance</media:title>
		</media:content>
	</item>
		<item>
		<title>Ubiquity g-osc-blogfinder Feedback</title>
		<link>http://tefaa.wordpress.com/2009/10/19/ubiquity-g-osc-blogfinder-feedback/</link>
		<comments>http://tefaa.wordpress.com/2009/10/19/ubiquity-g-osc-blogfinder-feedback/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 23:39:13 +0000</pubDate>
		<dc:creator>tefaa</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://tefaa.wordpress.com/?p=13</guid>
		<description><![CDATA[After spending hours of thinking for A GOOD IDEA for a new ubiquity command, blogfinder came into my mind (Finally) ,,, The blogfinder aim is to help g-osc community to reach each other&#8217;s blog simply by just enter the desired username (ex. blogfinder Tefaa). It was a challenging idea for me since I needed to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tefaa.wordpress.com&amp;blog=9996118&amp;post=13&amp;subd=tefaa&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After spending hours of thinking for A GOOD IDEA for a new ubiquity command, blogfinder came into my mind (Finally) ,,, The blogfinder aim is to help g-osc community to reach each other&#8217;s blog simply by just enter the desired username (ex. blogfinder Tefaa). It was a challenging idea for me since I needed to parse the html page in order to get the map of the users to there corresponding blog link address. But fortunately, Dr.Fatma provided me with an XML file that contains all information I needed and that made my life easer =) &#8230;. You can check the command which will be found here ==&gt; <a href="http://se.bigbuddysociety.net/wiki/index.php?title=G-osc_ubiquity_commands">http://se.bigbuddysociety.net/wiki/index.php?title=G-osc_ubiquity_commands</a> under my name &#8220;Mostafa Magdi&#8221; &#8230; Hope u like it =) &#8230;.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tefaa.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tefaa.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tefaa.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tefaa.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tefaa.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tefaa.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tefaa.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tefaa.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tefaa.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tefaa.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tefaa.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tefaa.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tefaa.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tefaa.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tefaa.wordpress.com&amp;blog=9996118&amp;post=13&amp;subd=tefaa&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tefaa.wordpress.com/2009/10/19/ubiquity-g-osc-blogfinder-feedback/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/74d66227c8f9a6be723b440e1448c328?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tefaa</media:title>
		</media:content>
	</item>
		<item>
		<title>Open Source: Ubiquity Feedback</title>
		<link>http://tefaa.wordpress.com/2009/10/19/open-source-ubiquity-feedback/</link>
		<comments>http://tefaa.wordpress.com/2009/10/19/open-source-ubiquity-feedback/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 08:34:21 +0000</pubDate>
		<dc:creator>tefaa</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://tefaa.wordpress.com/?p=3</guid>
		<description><![CDATA[Hey every1, First of all, i would like to thank Dr. Fatma for this great course as iam getting to know about open source community more than before. Last week, we were asked to edit a firefox extension which is called &#8220;Ubiquity&#8221;. The task was to enhance the Ubiquity addon by adding this command. Its a &#8220;feedback&#8221; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tefaa.wordpress.com&amp;blog=9996118&amp;post=3&amp;subd=tefaa&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hey every1,</p>
<p>First of all, i would like to thank Dr. Fatma for this great course as iam getting to know about open source community more than before. Last week, we were asked to edit a firefox extension which is called &#8220;Ubiquity&#8221;. The task was to enhance the Ubiquity addon by adding <a title="Ubiquity" href="http://ubiquity.mozilla.com/trac/ticket/872" target="_self"><strong><span style="text-decoration:none;"><em>this</em></span></strong></a> command. Its a &#8220;feedback&#8221; command, simply it take 2 arguments: the first one is the command and the second is the feedback. After that it sends the feedback to the developer&#8217;s (author) email address which can be found according to this template</p>
<p><span id="more-3"></span></p>
<address><strong>/* This is a template command. */</strong></address>
<address><strong>CmdUtils.CreateCommand({</strong></address>
<address><strong>names: ["example"],</strong></address>
<p><em> </em></p>
<address><strong>icon: &#8220;http://www.mozilla.com/favicon.ico&#8221;,</strong></address>
<address><strong>description: &#8220;A short description of your command.&#8221;,</strong></address>
<address><strong>help: &#8220;How to use your command.&#8221;,</strong></address>
<address><strong>author: {name: &#8220;Your Name&#8221;, email: &#8220;you@mozilla.com&#8221;},</strong></address>
<address><strong>&#8230;&#8230;</strong></address>
<address><strong>},</strong></address>
<address><strong>execute: function execute(args) {</strong></address>
<address><strong>displayMessage(&#8220;You selected: &#8221; + args.object.text, this);</strong></address>
<address><strong>}</strong></address>
<address><strong>});</strong></address>
<p>This will allow the users to help the developers by inform them about any bugs or a suggestion or even to thank them &#8230;</p>
<p><!--more--></p>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">/* This is a template command. */</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">CmdUtils.CreateCommand({</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">names: ["example"],</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">icon: &#8220;http://www.mozilla.com/favicon.ico&#8221;,</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">description: &#8220;A short description of your command.&#8221;,</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">help: &#8220;How to use your command.&#8221;,</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">author: {name: &#8220;Your Name&#8221;, email: &#8220;you@mozilla.com&#8221;},</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">license: &#8220;GPL&#8221;,</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">homepage: &#8220;http://labs.mozilla.com/&#8221;,</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">arguments: [{role: 'object', nountype: noun_arb_text}],</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">preview: function preview(pblock, args) {</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">pblock.innerHTML = &#8220;Your input is &lt;b&gt;&#8221; + args.object.html + &#8220;&lt;/b&gt;.&#8221;;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">},</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">execute: function execute(args) {</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">displayMessage(&#8220;You selected: &#8221; + args.object.text, this);</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">}</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">});</div>
<p>Well, at first i was like &#8220;WHAT&#8221; ?!!!! i didnt have a clue how to start or what to look for ! Although i had the source code and a link to a nice tutorial for Ubiquity, but still =/ &#8230;.<br />
SO me and my friends started looking for how to get the command thats passed to the FEEDBACK command as AN OBJECT, in order to access the author&#8217;s email address to send the feedback &#8230;.</p>
<p><!--more--></p>
<p>After some searching and testing we finally figured out how to get the command as AN OBJECT, as follows:<br />
<strong><em>CmdUtils.CreateCommand(<br />
names: ["test"],<br />
execute: function showme_execute() {<br />
e = CmdUtils.getCommand(&#8220;map&#8221;)<br />
}<br />
})</em></strong></p>
<p><strong><em> </em></strong><br />
Unfortunately, we didn&#8217;t know about the template back then. So we started to hacking the MAP command (A predefined command in Ubiquity) code using JavaScript SEARCHING for an email field by accessing the Map object and print all variables and objects names it contains as follows:<br />
<strong><em> CmdUtils.CreateCommand({<br />
names: ["showme"],<br />
execute: function showme_execute() {<br />
c = CmdUtils.getCommand(&#8220;email&#8221;);<br />
x=&#8221;";<br />
for(i in c){<br />
x=x+i+&#8221;: &#8220;+c[i]+&#8221;&lt;br/&gt;&#8221;;<br />
}<br />
CmdUtils.setSelection(x);<br />
}<br />
})</em></strong></p>
<p>After 2 hour of hacking, we didn&#8217;t found any email field or even an author field &#8230; and as soon as we found about the template, we found that the map command doesn&#8217;t follow the template (OH MY GOD) thus it didn&#8217;t have any author or email fields &#8230; And Now all we need to do is to find a way to execute the email command using JavaScript and add the feedback to the email body &#8230;.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tefaa.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tefaa.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tefaa.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tefaa.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tefaa.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tefaa.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tefaa.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tefaa.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tefaa.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tefaa.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tefaa.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tefaa.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tefaa.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tefaa.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tefaa.wordpress.com&amp;blog=9996118&amp;post=3&amp;subd=tefaa&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tefaa.wordpress.com/2009/10/19/open-source-ubiquity-feedback/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/74d66227c8f9a6be723b440e1448c328?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tefaa</media:title>
		</media:content>
	</item>
		<item>
		<title>Hello world!</title>
		<link>http://tefaa.wordpress.com/2009/10/18/hello-world/</link>
		<comments>http://tefaa.wordpress.com/2009/10/18/hello-world/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 19:38:20 +0000</pubDate>
		<dc:creator>tefaa</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tefaa.wordpress.com&amp;blog=9996118&amp;post=1&amp;subd=tefaa&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Welcome to <a href="http://wordpress.com/">WordPress.com</a>. This is your first post. Edit or delete it and start blogging!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tefaa.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tefaa.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tefaa.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tefaa.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tefaa.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tefaa.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tefaa.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tefaa.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tefaa.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tefaa.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tefaa.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tefaa.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tefaa.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tefaa.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tefaa.wordpress.com&amp;blog=9996118&amp;post=1&amp;subd=tefaa&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tefaa.wordpress.com/2009/10/18/hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/74d66227c8f9a6be723b440e1448c328?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tefaa</media:title>
		</media:content>
	</item>
	</channel>
</rss>
