<?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>techno.blog(&#34;Dion&#34;) &#187; jetpack</title>
	<atom:link href="http://almaer.com/blog/tag/jetpack/feed" rel="self" type="application/rss+xml" />
	<link>http://almaer.com/blog</link>
	<description>blogging about life, the universe, and everything tech</description>
	<lastBuildDate>Tue, 28 Aug 2012 14:41:55 +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>Jetpack: View-source Slidebar from the future</title>
		<link>http://almaer.com/blog/jetpack-view-source-slidebar-from-the-future</link>
		<comments>http://almaer.com/blog/jetpack-view-source-slidebar-from-the-future#comments</comments>
		<pubDate>Fri, 12 Jun 2009 07:26:08 +0000</pubDate>
		<dc:creator>dion</dc:creator>
				<category><![CDATA[Mozila]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[jetpack]]></category>

		<guid isPermaLink="false">http://almaer.com/blog/?p=2445</guid>
		<description><![CDATA[
It was cool to see the second release of Jetpack with its storage, slidebars, and time travel from the .future().
I quickly hacked up a trivial slidebar that lets me mouse to see the source of the current tab, and click on it to have it stick around. All in a few lines of code that [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://almaer.com/blog/uploads/jetpackviewsource.png" alt="jetpackviewsource" title="jetpackviewsource" width="500" height="434" class="alignnone size-full wp-image-2446" /></p>
<p>It was cool to see the <a href="https://labs.mozilla.com/2009/06/jetpack-02/">second release of Jetpack</a> with its storage, slidebars, and time travel from the .future().</p>
<p>I quickly hacked up a trivial slidebar that lets me mouse to see the source of the current tab, and click on it to have it stick around. All in a few lines of code that use the new future API, slideBar, and tabs:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">jetpack.<span style="color: #660066;">future</span>.<span style="color: #003366; font-weight: bold;">import</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;slideBar&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
jetpack.<span style="color: #660066;">slideBar</span>.<span style="color: #660066;">append</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
  url<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;view-source:&quot;</span> <span style="color: #339933;">+</span> jetpack.<span style="color: #660066;">tabs</span>.<span style="color: #660066;">focused</span>.<span style="color: #660066;">url</span><span style="color: #339933;">,</span>
  width<span style="color: #339933;">:</span> <span style="color: #CC0000;">500</span><span style="color: #339933;">,</span>
  onSelect<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>slide<span style="color: #009900;">&#41;</span> slide<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> size<span style="color: #339933;">:</span> <span style="color: #CC0000;">500</span> <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
  onReady<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>slide<span style="color: #009900;">&#41;</span> $<span style="color: #009900;">&#40;</span>slide.<span style="color: #660066;">doc</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">click</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    slide<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> size<span style="color: #339933;">:</span> <span style="color: #CC0000;">500</span><span style="color: #339933;">,</span> persist<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">true</span> <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Check out the screencast too:</p>
<p><object width="400" height="248"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=5102695&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=5102695&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="248"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://almaer.com/blog/jetpack-view-source-slidebar-from-the-future/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Write Once, Pwn Everywhere&#8230;. oh and Jetpacking around</title>
		<link>http://almaer.com/blog/write-once-pwn-everywhere-oh-and-jetpacking-around</link>
		<comments>http://almaer.com/blog/write-once-pwn-everywhere-oh-and-jetpacking-around#comments</comments>
		<pubDate>Thu, 21 May 2009 00:37:33 +0000</pubDate>
		<dc:creator>dion</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[jetpack]]></category>

		<guid isPermaLink="false">http://almaer.com/blog/?p=2417</guid>
		<description><![CDATA[
By now you have probably read about the critical Java vulnerability and how easy it is to take over a machine from a web page via a Java applet.
Apparently, Sun fixed it fairly quickly, but even then some people say their fix was too specific and thus there are still problems. Apple on the other [...]]]></description>
			<content:encoded><![CDATA[<p><script type="text/javascript" src="http://toonlet.com/embed/strip?i=27722"></script></p>
<p>By now you have probably read about the <a href="http://landonf.bikemonkey.org/code/macosx/CVE-2008-5353.20090519.html">critical Java vulnerability</a> and how <a href="http://blog.cr0.org/2009/05/write-once-own-everyone.html">easy it is to take over a machine</a> from a web page via a Java applet.</p>
<p>Apparently, Sun fixed it fairly quickly, but even then some people say their fix was too specific and thus there are still problems. Apple on the other hand, were not diligent and are still yet to provide a fix. Ouch.</p>
<p>Painful news as JavaOne approaches and Sun tries to push JavaFX. I was trying to think of a Java applet that I have used (knowingly) in the recent past, and I think the only candidate is the Facebook photo uploader.</p>
<p>I have been watching some research for a talk on JavaFX and I am really torn. In theory, the Java platform is phenomenal and should be a great choice for doing this kind of development. The scene graph work in JavaFX is very nicely done, but the implementation seems to be a touch off in much of what I have seen. Scrolling causing the applet to go blank? Browser crashes? Ouch. But, JavaFX is new, and has a chance to get better. Their problem is that they are squeezed from both sides. The browser platform itself is accelerating quickly, and it has the advantage of being native. Once you go to plugin land you are competing with Flash with its large share and proven ability.</p>
<p><b>Getting webby</b></p>
<p><img src="https://jetpack.mozillalabs.com/images/Jetpack_logo.png"></p>
<p>I find myself wanting to get more and more webby. This is why I was excited to work with the <a href="http://labs.mozilla.com/2009/05/introducing-jetpack-call-for-participation/">Jetpack project</a> that we just launched today at Mozilla Labs. Being able to extend the browser using Web technology itself is going to open the door for more playing. People have created 7000 addons for Firefox alone, but as someone who has done a touch of XUL, I am happy to stay in my familiar territory of HTML, CSS, JS. Jetpack has just been born, and is incredibly early stage, but I can&#8217;t wait to see it grow and get the APIs that people want in a secure extensible model.</p>
<p>You will see a lot of Bespin in there too. Below is a screencast where I create a Jetpack feature on the fly (no reloads!) using Bespin, and once you install Jetpack it embeds the puppy into the tutorial and the developer area too. Much more than can be done though!</p>
<p><object width="480" height="276"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=4721680&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=4721680&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=01AAEA&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="480" height="276"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://almaer.com/blog/write-once-pwn-everywhere-oh-and-jetpacking-around/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
