<?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#" >

<channel>
	<title>Victor Palau&#039;s Blog &#187; Ubuntu</title>
	<atom:link href="http://victorpalau.net/tag/ubuntu/feed/?mrss=off" rel="self" type="application/rss+xml" />
	<link>http://victorpalau.net</link>
	<description>Working with Open Source Software</description>
	<lastBuildDate>Wed, 27 Mar 2013 23:49:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='victorpalau.net' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/f139cc072bf42175dfba1a51692653e3?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Victor Palau&#039;s Blog &#187; Ubuntu</title>
		<link>http://victorpalau.net</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://victorpalau.net/osd.xml" title="Victor Palau&#039;s Blog" />
	<atom:link rel='hub' href='http://victorpalau.net/?pushpress=hub'/>
		<item>
		<title>[Ubuntu QML] Writting a game.. Alpha Version</title>
		<link>http://victorpalau.net/2013/03/14/ubuntu-qml-writting-a-game-alpha-version/</link>
		<comments>http://victorpalau.net/2013/03/14/ubuntu-qml-writting-a-game-alpha-version/#comments</comments>
		<pubDate>Thu, 14 Mar 2013 13:06:55 +0000</pubDate>
		<dc:creator>Victor Palau</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://victorpalau.net/?p=1538</guid>
		<description><![CDATA[Since my first steps into QML when the Ubuntu SDK was launched, I have become a bit addicted to it. I decided to try to write a QML declarative game, and I settle on a shooting fighter jet game. Finally had enough content to put out an alpha. Here is the video: The code for [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=victorpalau.net&#038;blog=8255180&#038;post=1538&#038;subd=victorpalau&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Since my first steps into QML when the Ubuntu SDK was launched, I have become a bit addicted to it. I decided to try to write a QML declarative game, and I settle on a shooting fighter jet game. Finally had enough content to put out an alpha.<a href="https://www.youtube.com/watch?v=-JQ1ltNKUUU"> Here is the video</a>:</p>
<p><span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='630' height='385' src='http://www.youtube.com/embed/-JQ1ltNKUUU?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span><br />
The code for it in on my LP Junk branches, not really ready for review yet <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  but happy to have help!</p>
<p>You might notice that I am using the keyboard to drive the game in my computer, I have also build a touch joystick that so far works ok in the Nexus 7, but needs some calibration.</p>
<p>PS: if you have some problems with playing the video, try jumping a head 10 secs, it also helps if you play it in HD <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/victorpalau.wordpress.com/1538/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/victorpalau.wordpress.com/1538/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=victorpalau.net&#038;blog=8255180&#038;post=1538&#038;subd=victorpalau&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://victorpalau.net/2013/03/14/ubuntu-qml-writting-a-game-alpha-version/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>[Ubuntu QML] SimpleToDo.. done!</title>
		<link>http://victorpalau.net/2013/02/01/ubuntu-qml-simpletodo-done/</link>
		<comments>http://victorpalau.net/2013/02/01/ubuntu-qml-simpletodo-done/#comments</comments>
		<pubDate>Fri, 01 Feb 2013 11:42:48 +0000</pubDate>
		<dc:creator>Victor Palau</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://victorpalau.net/?p=1534</guid>
		<description><![CDATA[Last week I wrote about my first impressions on working with QML vs Android as I tried to translate a SimpleTodo application. This week, I managed to find a few more spare hours to finish it. Not only that, but I have been able to go beyond what I had for Android. Specially on the [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=victorpalau.net&#038;blog=8255180&#038;post=1534&#038;subd=victorpalau&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Last week I <a href="http://victorpalau.net/2013/01/25/ubuntu-qml-todo-android-vs-ubuntu/">wrote</a> about my first impressions on working with QML vs Android as I tried to translate a SimpleTodo application.</p>
<p>This week, I managed to find a few more spare hours to finish it. Not only that, but I have been able to go beyond what I had for Android. Specially on the UI part, QML makes it really simple to build in transitions and animations. I also found that defining States for the application had simplified the complexity of the program.</p>
<p>I don&#8217;t think that today there are official menus published for Ubuntu qml components, so I have implemented my own menu &#8220;a la&#8221; Ubuntu for phones. Here is a small video of the app:</p>
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='630' height='385' src='http://www.youtube.com/embed/T-gDv-vDMhg?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span>
<p>or you can access the link here: <a href="http://www.youtube.com/watch?v=T-gDv-vDMhg">http://www.youtube.com/watch?v=T-gDv-vDMhg</a></p>
<p>Overall, I highly recommend everyone to play with QML. Here are two very useful links if you are new to it:</p>
<ul>
<li><a href="http://doc.qt.digia.com/qt/qdeclarativeelements.html"><span style="line-height:13px;">QML Elements</span></a></li>
<li><a href="http://doc.qt.digia.com/qt/qtquick.html">Qt Quick intro</a></li>
</ul>
<p>And of course, lets not forget the awesome <a href="http://developer.ubuntu.com/get-started/gomobile/">developer.ubuntu.com</a> pages!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/victorpalau.wordpress.com/1534/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/victorpalau.wordpress.com/1534/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=victorpalau.net&#038;blog=8255180&#038;post=1534&#038;subd=victorpalau&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://victorpalau.net/2013/02/01/ubuntu-qml-simpletodo-done/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>[Ubuntu QML] ToDo Android vs Ubuntu</title>
		<link>http://victorpalau.net/2013/01/25/ubuntu-qml-todo-android-vs-ubuntu/</link>
		<comments>http://victorpalau.net/2013/01/25/ubuntu-qml-todo-android-vs-ubuntu/#comments</comments>
		<pubDate>Fri, 25 Jan 2013 21:41:01 +0000</pubDate>
		<dc:creator>Victor Palau</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://victorpalau.net/?p=1525</guid>
		<description><![CDATA[A few months back, I decided to write a Simple ToDo app for Android, then I hooked it up to a cloud backend, using Juju. That was my first Android application, so I got to experience first hand the latest developer documentation and development environment. Last month, Canonical launched Ubuntu for Phones, that gave me the [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=victorpalau.net&#038;blog=8255180&#038;post=1525&#038;subd=victorpalau&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>A few months back, I decided to write a<a href="http://victorpalau.net/2012/09/14/juju-adventure-android-todo-and-juju/"> Simple ToDo</a> app for Android, then I hooked it up to a cloud backend, using Juju. That was my first Android application, so I got to experience first hand the latest developer documentation and development environment.</p>
<p>Last month, Canonical launched <a href="http://www.jonobacon.org/2013/01/02/announcing-ubuntu-for-phones/">Ubuntu for Phones</a>, that gave me the idea to re-write the same application on QML using the <a href="http://developer.ubuntu.com/api/ubuntu-12.10/qml/mobile/overview-ubuntu-sdk.html">Ubuntu Components</a>.</p>
<p>Clearly comparing a new SDK-Alpha with a stable platform like Android will seem hardly fair, however, keep reading as you might be surprised of the results.</p>
<p><strong>QML vs Dalvik Java</strong></p>
<p>Lets start with QT/QML vs Dalvik/Java &#8211; I found QML really easy to get to grips with and be productive. I had the UI (see picture below) running in no time and I would say much faster than with Android.  QML is a very flexible declarative environment that allows you to embedded quick logic into the layout. This is a blessing and  a curse.</p>
<p>While with Android, it was very easy to keep a nice <a href="http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller">MVC</a>  separation, I struggled to stop the leaks in QML. So while it is very easy to quickly write a functional application, it does not impose what you would consider as good development practices.</p>
<p>In summary, they are both very powerful development environments.</p>
<p style="text-align:center;"><a href="http://victorpalau.files.wordpress.com/2013/01/todoapp.png"><img class="aligncenter  wp-image-1526" alt="todoapp" src="http://victorpalau.files.wordpress.com/2013/01/todoapp.png?w=317&#038;h=441" width="317" height="441" /></a></p>
<p><strong>IDE: Eclipse vs QtCreator</strong></p>
<p>Part of the development experience is the IDE. I must say that I simply love the QTCreator. Possibly not as polish as Eclipse but you don&#8217;t need to read a manual to use it. Also, with a quick integration with the HUD, it is just very simple to use.</p>
<p>So what is QTCreator missing? A good emulator. The Android Development Kit (ADK) provides a really good user experience to develop mobile solutions. QMLScene gives you similar functionality but does not simulate a phone environment. However, all the technology is there, and  I am sure that will be included in the v1.0 version of the SDK.</p>
<p><strong>Documentation</strong></p>
<p>I can&#8217;t fault Android developer <a href="http://developer.android.com/index.html">documentation</a>, but taking into account its popularity, you  wouldn&#8217;t expect anything else.</p>
<p>I was very surprise of the quality of information on <a href="http://developer.ubuntu.com/">http://developer.ubuntu.com/</a> and specially with the component showcase.</p>
<p style="text-align:center;"><a href="http://victorpalau.files.wordpress.com/2013/01/componentshowcase.png"><img class="aligncenter  wp-image-1529" alt="componentshowcase" src="http://victorpalau.files.wordpress.com/2013/01/componentshowcase.png?w=378&#038;h=296" width="378" height="296" /></a></p>
<p style="text-align:center;">
<p>The only thing to watch out for is that in Android you can get all the info you need from a single website. With QML you quickly end up pinging between Digia, Nokia and Ubuntu pages.</p>
<p><strong>The Code</strong></p>
<p>The code is on my launchpad <a href="https://code.launchpad.net/~vtuson/+junk/simpletodo_qml">repos</a>. The actual source functionality is not finished as I am still trying to figure out how to add menu options to access Done items. Anyway, the whole thing is pretty compact compare to the Dalvik code. The actual logic is almost identical in both. A ListView that is populate from an List model. All the data is persisted in SQLite db.</p>
<p><strong>Conclusion</strong></p>
<p>Both environments have been equally painless to work with, the difference is that the Ubuntu environment has *just* been released as an Alpha. I think this is the start of a very vibrant App development ecosystem.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/victorpalau.wordpress.com/1525/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/victorpalau.wordpress.com/1525/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=victorpalau.net&#038;blog=8255180&#038;post=1525&#038;subd=victorpalau&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://victorpalau.net/2013/01/25/ubuntu-qml-todo-android-vs-ubuntu/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>[Juju Adventure] Droidcon talk video</title>
		<link>http://victorpalau.net/2012/11/20/juju-adventure-droidcon-talk-video/</link>
		<comments>http://victorpalau.net/2012/11/20/juju-adventure-droidcon-talk-video/#comments</comments>
		<pubDate>Tue, 20 Nov 2012 17:05:11 +0000</pubDate>
		<dc:creator>Victor Palau</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://victorpalau.net/?p=1520</guid>
		<description><![CDATA[Last month I attended DroidCon 2012 and did a talked about using Juju and Ubuntu to deliver Android applications with a Web Service background. The guys at Skillmatters were kind enough to record and edit the video, and now it publicly available. &#160;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=victorpalau.net&#038;blog=8255180&#038;post=1520&#038;subd=victorpalau&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Last month I attended DroidCon 2012 and did a talked about using Juju and Ubuntu to deliver Android applications with a Web Service background. The guys at Skillmatters were kind enough to record and edit the video, and now it publicly <a href="http://skillsmatter.com/podcast/os-mobile-server/using-ubunto-to-develop-cloud-connected-android-apps">available</a>.</p>
<p>&nbsp;</p>
<p><a href="http://skillsmatter.com/podcast/os-mobile-server/using-ubunto-to-develop-cloud-connected-android-apps"><img class="aligncenter size-full wp-image-1521" title="droidcon" alt="" src="http://victorpalau.files.wordpress.com/2012/11/droidcon.png?w=630"   /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/victorpalau.wordpress.com/1520/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/victorpalau.wordpress.com/1520/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=victorpalau.net&#038;blog=8255180&#038;post=1520&#038;subd=victorpalau&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://victorpalau.net/2012/11/20/juju-adventure-droidcon-talk-video/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tell me about your Windows 8 experience</title>
		<link>http://victorpalau.net/2012/11/19/tell-me-about-your-windows-8-experience/</link>
		<comments>http://victorpalau.net/2012/11/19/tell-me-about-your-windows-8-experience/#comments</comments>
		<pubDate>Mon, 19 Nov 2012 23:15:11 +0000</pubDate>
		<dc:creator>Victor Palau</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">https://victorpalau.wordpress.com/?p=1518</guid>
		<description><![CDATA[Chances are that either by now, or by the end of the week, some of you reading this post will have bought a new computer with Windows 8. Chances are high that you immediately felt the urge of installing Ubuntu, possibly also to have a shower. If you did, I would like you to tell [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=victorpalau.net&#038;blog=8255180&#038;post=1518&#038;subd=victorpalau&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Chances are that either by now, or by the end of the week, some of you reading this post will have bought a new computer with Windows 8. Chances are high that you immediately felt the urge of installing Ubuntu, possibly also to have a shower.</p>
<p>If you did, I would like you to tell me about (Installing Ubuntu.. not about having a shower). I am specially interested if you installed 12.10, and if you had any secure boot issues.</p>
<p>Did all work magically? Did you have to muck around with BIOS settings? Tell me all about it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/victorpalau.wordpress.com/1518/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/victorpalau.wordpress.com/1518/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=victorpalau.net&#038;blog=8255180&#038;post=1518&#038;subd=victorpalau&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://victorpalau.net/2012/11/19/tell-me-about-your-windows-8-experience/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>[Ubuntu Nexus7] Chromium test extension</title>
		<link>http://victorpalau.net/2012/11/15/ubuntu-nexus7-chromium-test-extension/</link>
		<comments>http://victorpalau.net/2012/11/15/ubuntu-nexus7-chromium-test-extension/#comments</comments>
		<pubDate>Thu, 15 Nov 2012 14:12:54 +0000</pubDate>
		<dc:creator>Victor Palau</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://victorpalau.net/?p=1364</guid>
		<description><![CDATA[A very brief note to let you all know that I have moved the chromium test extension for browsing simulation under the Ubuntu-nexus7. Please submit improvements at your leasure: https://code.launchpad.net/~ubuntu-nexus7/ubuntu-nexus7/chromium_extension<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=victorpalau.net&#038;blog=8255180&#038;post=1364&#038;subd=victorpalau&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>A very brief note to let you all know that I have moved the chromium test extension for browsing simulation under the Ubuntu-nexus7. Please submit improvements at your leasure:</p>
<p><a href="https://code.launchpad.net/~ubuntu-nexus7/ubuntu-nexus7/chromium_extension">https://code.launchpad.net/~ubuntu-nexus7/ubuntu-nexus7/chromium_extension</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/victorpalau.wordpress.com/1364/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/victorpalau.wordpress.com/1364/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=victorpalau.net&#038;blog=8255180&#038;post=1364&#038;subd=victorpalau&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://victorpalau.net/2012/11/15/ubuntu-nexus7-chromium-test-extension/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[Ubuntu Nexus7] Keeping up with progress</title>
		<link>http://victorpalau.net/2012/11/09/ubuntu-nexus7-keeping-up-with-progress/</link>
		<comments>http://victorpalau.net/2012/11/09/ubuntu-nexus7-keeping-up-with-progress/#comments</comments>
		<pubDate>Fri, 09 Nov 2012 17:51:11 +0000</pubDate>
		<dc:creator>Victor Palau</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://victorpalau.net/?p=1509</guid>
		<description><![CDATA[To make it easier to keep up with the work and progress on the Nexus 7 , I have set up a topic in status.ubuntu.com and a wiki page with the performance goals for the release: http://status.ubuntu.com/ubuntu-raring/group/topic-raring-desktop-targets-for-embedded.html https://wiki.ubuntu.com/Nexus7/raring-targets If there is  a missing Blueprint that should be track under this topic, please let me know. [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=victorpalau.net&#038;blog=8255180&#038;post=1509&#038;subd=victorpalau&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>To make it easier to keep up with the work and progress on the Nexus 7 , I have set up a topic in s<a href="http://status.ubuntu.com">tatus.ubuntu.com</a> and a wiki page with the performance goals for the release:</p>
<ul>
<li><a href="http://status.ubuntu.com/ubuntu-raring/group/topic-raring-desktop-targets-for-embedded.html">http://status.ubuntu.com/ubuntu-raring/group/topic-raring-desktop-targets-for-embedded.html</a></li>
<li><a href="https://wiki.ubuntu.com/Nexus7/raring-targets">https://wiki.ubuntu.com/Nexus7/raring-targets</a></li>
</ul>
<p>If there is  a missing Blueprint that should be track under this topic, please let me know.</p>
<p style="text-align:center;"><a href="http://victorpalau.files.wordpress.com/2012/11/status_ubuntu.png"><img class="wp-image-1511 aligncenter" title="status_ubuntu" alt="" src="http://victorpalau.files.wordpress.com/2012/11/status_ubuntu.png?w=544&#038;h=581" height="581" width="544" /></a></p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/victorpalau.wordpress.com/1509/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/victorpalau.wordpress.com/1509/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=victorpalau.net&#038;blog=8255180&#038;post=1509&#038;subd=victorpalau&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://victorpalau.net/2012/11/09/ubuntu-nexus7-keeping-up-with-progress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Ubuntu Nexus7] Impact of screen brightness on battery life</title>
		<link>http://victorpalau.net/2012/11/07/ubuntu-nexus7-impact-of-screen-brightness-on-battery-life/</link>
		<comments>http://victorpalau.net/2012/11/07/ubuntu-nexus7-impact-of-screen-brightness-on-battery-life/#comments</comments>
		<pubDate>Wed, 07 Nov 2012 11:44:23 +0000</pubDate>
		<dc:creator>Victor Palau</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://victorpalau.net/?p=1503</guid>
		<description><![CDATA[Yesterday I mentioned how I got 7 hours of battery life whilst browsing, this was done at a brightness level of 76. After that I decided to run the test again but set the brightness level to 40. This gave me an extra hour , which is about 14% extra battery life. Was I expecting [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=victorpalau.net&#038;blog=8255180&#038;post=1503&#038;subd=victorpalau&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Yesterday I mentioned how I got <a href="http://victorpalau.net/2012/11/06/ubuntu-nexus7-7-hours-battery-life-whilst-browsing/">7 hours of battery life whilst browsing</a>, this was done at a brightness level of 76. After that I decided to run the test again but set the brightness level to 40. This gave me an extra hour , which is about 14% extra battery life. Was I expecting more? perhaps<a href="http://victorpalau.files.wordpress.com/2012/11/chart_12.png"><img class="alignnone size-full wp-image-1504" title="chart_1(2)" alt="" src="http://victorpalau.files.wordpress.com/2012/11/chart_12.png?w=630"   /></a>..</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/victorpalau.wordpress.com/1503/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/victorpalau.wordpress.com/1503/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=victorpalau.net&#038;blog=8255180&#038;post=1503&#038;subd=victorpalau&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://victorpalau.net/2012/11/07/ubuntu-nexus7-impact-of-screen-brightness-on-battery-life/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>[Ubuntu Nexus7] 7 hours battery life whilst browsing</title>
		<link>http://victorpalau.net/2012/11/06/ubuntu-nexus7-7-hours-battery-life-whilst-browsing/</link>
		<comments>http://victorpalau.net/2012/11/06/ubuntu-nexus7-7-hours-battery-life-whilst-browsing/#comments</comments>
		<pubDate>Tue, 06 Nov 2012 14:42:48 +0000</pubDate>
		<dc:creator>Victor Palau</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://victorpalau.net/?p=1498</guid>
		<description><![CDATA[I stumbled upon a Chrome OS test case that includes a chromium-browser extension that simulates user browsing. The extension does a 1 hour test split by: [First 60% of the test] Browsing: a new website is loaded every minute.  The web page loaded is scrolled down one page every second, then scrolled back up one [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=victorpalau.net&#038;blog=8255180&#038;post=1498&#038;subd=victorpalau&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I stumbled upon a <a href="http://www.chromium.org/chromium-os/testing/power-testing">Chrome OS</a> test case that includes a chromium-browser extension that simulates user browsing. The extension does a 1 hour test split by:</p>
<blockquote>
<ul>
<li><span style="font-size:small;">[First 60% of the test] Browsing: a new website is loaded every minute.  The web page loaded is scrolled down one page every second, then scrolled back up one page every second.</span></li>
<li><span style="font-size:small;">[Next 20%] Email: Gmail is loaded in the foreground tab and audio is streamed from a background tab.</span></li>
<li><span style="font-size:small;">[Next 10%] Documents: Various Google Docs are loaded.</span></li>
<li><span style="font-size:small;">[Final 10%] Video: A full screen 480p YouTube Video is played.</span></li>
</ul>
</blockquote>
<p>Besides the fact that the audio requires flash, everything else worked in the Nexus 7. After a few tweaks to the extension, I had it running on a loop for 24 hours. Also, I changed it so the auto-browsing would start as soon as you launch chromium.</p>
<p>The next thing to do was to write a simple bash script that would launch the browser and log battery life and screen brightness to a file every 15 min. The assumption was that as the system run out of battery it would shutdown, and that last entry in the file would give me the battery life whilst browsing.</p>
<ul>
<li>Battery levels can be read from here (thanks ogra!): /sys/class/power_supply/battery/capacity</li>
<li>Brightness levels can be read from here: /sys/class/backlight/pwm-backlight/brightness</li>
</ul>
<p>I set it to run overnight at a screen brightness of 99. The good news is that the system suspended rather than just run out of juice at about 4:51 AM (according to the browser history).  3 hours later, I resumed it to find it in a good state.</p>
<p>All and all -<strong> the Nexus 7 with Ubuntu was browsing for just over 7 hours </strong>(7 hours and 12 minutes), so I am pretty happy with that. Although, for any reliable benchmarking, I would need at least 10 samples of the test run. If you want to check out the test, you can find all the code here: <a href="http://bazaar.launchpad.net/~vtuson/+junk/load_test_nexus7/files">http://bazaar.launchpad.net/~vtuson/+junk/load_test_nexus7/</a></p>
<p>Here is a graphical representation of the results:</p>
<p><a href="http://victorpalau.files.wordpress.com/2012/11/chart_11.png"><img class="alignnone  wp-image-1499" title="Nexus 7 running Ubuntu - battery level whilst browsing" alt="" src="http://victorpalau.files.wordpress.com/2012/11/chart_11.png?w=600&#038;h=371" height="371" width="600" /></a></p>
<p>The brightness &#8220;auto-dim&#8221; was a bit disappointing, not to say erratic, and I have filed a couple of bugs against it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/victorpalau.wordpress.com/1498/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/victorpalau.wordpress.com/1498/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=victorpalau.net&#038;blog=8255180&#038;post=1498&#038;subd=victorpalau&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://victorpalau.net/2012/11/06/ubuntu-nexus7-7-hours-battery-life-whilst-browsing/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>[Ubuntu Nexus 7] Browser Performance</title>
		<link>http://victorpalau.net/2012/11/05/ubuntu-nexus-7-browser-performance/</link>
		<comments>http://victorpalau.net/2012/11/05/ubuntu-nexus-7-browser-performance/#comments</comments>
		<pubDate>Mon, 05 Nov 2012 19:20:37 +0000</pubDate>
		<dc:creator>Victor Palau</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://victorpalau.net/?p=1490</guid>
		<description><![CDATA[I decided to run some browser performance benchmarks from http://peacekeeper.futuremark.com/ in the Nexus 7 running Ubuntu, mainly to see how it compares with other platforms. Here are my basic conclusions as a result of the test: In general Ubuntu + Nexus 7 performs pretty well The Nexus 7 with Ubuntu and Chromium (629) performs better that the Android [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=victorpalau.net&#038;blog=8255180&#038;post=1490&#038;subd=victorpalau&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I decided to run some browser performance benchmarks from <a href="http://peacekeeper.futuremark.com/">http://peacekeeper.futuremark.com/</a> in the Nexus 7 running Ubuntu, mainly to see how it compares with other platforms. Here are my basic conclusions as a result of the test:</p>
<ul>
<li>In general Ubuntu + Nexus 7 performs pretty well</li>
<li>The Nexus 7 with Ubuntu and Chromium (629) performs better that the Android Nexus 7 (489)</li>
<li>Firefox performance (257) is pretty bad compare with Chromium (629). I have tested it in my laptop and the same different exist, however the more powerful hardware makes it not as relevant.</li>
</ul>
<p>Unfortunately, I wasn&#8217;t able to access the detailed results (it displays blank), any suggestions why? My results are the bottom firefox (257) results, and the top Chrome (629):</p>
<p><a href="http://victorpalau.files.wordpress.com/2012/11/bench.png"><img class="alignnone size-full wp-image-1491" title="bench" alt="" src="http://victorpalau.files.wordpress.com/2012/11/bench.png?w=630&#038;h=415" height="415" width="630" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/victorpalau.wordpress.com/1490/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/victorpalau.wordpress.com/1490/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=victorpalau.net&#038;blog=8255180&#038;post=1490&#038;subd=victorpalau&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://victorpalau.net/2012/11/05/ubuntu-nexus-7-browser-performance/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
