<?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>williambrownstreet</title>
	<atom:link href="http://www.williambrownstreet.net/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.williambrownstreet.net/blog</link>
	<description>is there something in luxembourg?</description>
	<lastBuildDate>Tue, 24 Aug 2010 15:45:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Ubuntu 10.04 on EEEBox 1501 (towards the perfect media-center)</title>
		<link>http://www.williambrownstreet.net/blog/?p=304&amp;utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=ubuntu-10-04-on-eeebox-1501-towards-the-perfect-media-center</link>
		<comments>http://www.williambrownstreet.net/blog/?p=304#comments</comments>
		<pubDate>Tue, 24 Aug 2010 15:45:14 +0000</pubDate>
		<dc:creator>littleiffel</dc:creator>
				<category><![CDATA[EEEBox]]></category>
		<category><![CDATA[Lucid Lynx]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[eeebox]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[media-center]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.williambrownstreet.net/blog/?p=304</guid>
		<description><![CDATA[building the perfect media center is a difficult task, as there are many constraints for this task. connectivity with tv, network and other computers which includes a perfect choice of hardware, operating system and drivers. input devices are important as &#8230; <a href="http://www.williambrownstreet.net/blog/?p=304">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>building the perfect media center is a difficult task, as there are many constraints for this task. connectivity with tv, network and other computers which includes a perfect choice of hardware, operating system and drivers. input devices are important as well, as you don&#8217;t want to get up from the couch when ever you need to launch the next episode of your favorite show.</p>
<p>my choice was the EEEBox 1501 with an Intel N330 Atom and nVidia ION. this very small box is available for 350€ in many online shops, and there are different versions like 1501U with USB 3.0 or a Blu-Ray version (apparently only available in Switzerland). A new version 1501P is announced to be released in september 2010 with a more powerful processor. Why this model? The first ION based nettop box with an integrated DVD recorder, 6USB ports, HDMI (Audio- and Video-out), eSata, WiFi, SD-card reader, low power consumption and drivers available for Ubuntu for nVidia ION.</p>
<p>Download the latest ISO from <a href="http://www.ubuntu.com/desktop/get-ubuntu/download" target="_blank">Ubuntu.com</a>, then instead of burning and wasting a CD-ROM, make an install USB key (<a href="http://www.ubuntu.com/desktop/get-ubuntu/download" target="_blank">see how</a>). After the default installation almost everything works out of the Ubuntu Box. Almost everything except the remote control with the built-in IR receiver. But the remote can be activated easily, check it out <a href="http://wiki.xbmc.org/index.php?title=HOW-TO_preform_a_Miminal_Ubuntu_and_XBMC_install_on_a_Asus_EeeBox_PC_EB1501#EB1501_German_.2F_Asian_Edition" target="_blank">here</a>. Since Ubuntu comes only with a limited package of codecs, I recommend you install them in the usual way. I tried <a href="http://ubuntu-tweak.com/" target="_blank">Ubuntu Tweaks</a> and I am happily impressed by this nice application.</p>
<p>To get the full power of the nVidia ION video chip, install the nVidia driver from the official repository, System -&gt; Administration -&gt; Hardware Drivers.</p>
<p>I connected the EEEBox to my TV with a HDMI cable and was surprised to have no sound on the TV through the HDMI cable. In fact the audio line for HDMI was muted in Alsamixer.</p>

<div class="wp-terminal">user@computer:$ alsamixer<br/></div>

<p>and you need to unmute the HDMI line.</p>
<p>I installed <a href="http://www.boxee.tv/" target="_blank">Boxee</a> on top of Ubuntu to have on of the best freely available MediaCenter software on the box. However during video playback, I noticed for fast moving pictures a horizontal line on the screen, where the vertical sync of the display was not working correctly. This is due to the interaction of hardware driver and window managers. The best and easiest solution is to disable composite for the whole session. System -&gt; Preferences -&gt; Appearance -&gt; Visual Effects -&gt; None.</p>
<p>Video playback is working great, I have no FullHD TV but I guess the ION chip does not have any problems for 1080 playback. Ubuntu (32-bit) is faster than the pre-installed Windows 7, boots faster and applications start faster as well. The EEEBox is reasonably fast, meaning you can listen to music while browsing the internet, downloading torrents. However don&#8217;t expect to much from it, meaning it is a perfect media center, but clearly no desktop box!</p>
<p>To finish the whole experience get a <a href="http://www.logitech.com/en-us/keyboards/keyboard/devices/3848" target="_blank">Logitech diNovo mini</a> Keyboard and mousepad (which is really plug-and-play under Ubuntu via Bluetooth with the dongle that comes with the diNovo Mini, <strong>No installation required!</strong>), and you will have an excellent media center for around 450€.</p>
<p>A YouTube video shows all how well this works. (video not by me) <a href="http://www.youtube.com/watch?v=o3jLyy39hBo" rel="shadowbox[post-304];player=swf;width=640;height=385;">diNovo Mini Controls Ubuntu Media Center</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.williambrownstreet.net/blog/?feed=rss2&amp;p=304</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting a Job in Luxembourg</title>
		<link>http://www.williambrownstreet.net/blog/?p=300&amp;utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=getting-a-job-in-luxembourg</link>
		<comments>http://www.williambrownstreet.net/blog/?p=300#comments</comments>
		<pubDate>Mon, 23 Aug 2010 09:10:23 +0000</pubDate>
		<dc:creator>littleiffel</dc:creator>
				<category><![CDATA[my life]]></category>
		<category><![CDATA[applying]]></category>
		<category><![CDATA[it]]></category>
		<category><![CDATA[jobs]]></category>
		<category><![CDATA[luxembourg]]></category>

		<guid isPermaLink="false">http://www.williambrownstreet.net/blog/?p=300</guid>
		<description><![CDATA[after about 80 sent job applications, i got a job in the country of luxembourg. in fact the job is located in a small village of rosport close to the german border. What will I do there? well programming computers &#8230; <a href="http://www.williambrownstreet.net/blog/?p=300">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>after about 80 sent job applications, i got a job in the country of luxembourg. in fact the job is located in a small village of rosport close to the german border. What will I do there? well programming computers and other stuff. the company is doing databases for their customers and the company is called <a href="http://www.oashi.com" target="_blank">oashi sarl</a>. the company is a small team of 4 or 5 people, i haven&#8217;t met them all yet, but i am sure it will be a pleasure to work with these people.</p>
<p>i sent around 80 job application, all to open job position i found on jobs.lu, monster.lu and in local newspapers. i don&#8217;t know if that&#8217;s the case all around the world, but only 4 companies cared to write a response, where 3 were interested in meeting me. i talked to people about this and they said &#8220;well that&#8217;s normal!&#8221;. if all those companies want to be normal, well so be it. if people want to be normal in luxembourg, and we define normal by average&#8230; this person would earn 10$ a day, would not have a car, would have 2.54 children and divorced 0.78 times.</p>
<p>i don&#8217;t think that i am the super best programmer, but i guess i can live quite well without these <strong>normal</strong> companies and people! quality of service is decreasing extremely fast in luxembourg, people and companies just don&#8217;t care about their customers.</p>
<p>the worst of all however was centre lippmann based in esch, a public research center. i applied for a job as a research assistant, they invited my for a job position I did not apply (and i would not have applied), i spend 4 hours answering question about my life and why you should index some fields of a database. and after 4 hours of my life while outside was the best weather&#8230;they don&#8217;t give ANY response! After 5 weeks i wrote an email to inquire where i am in the process for the job and now after 7 weeks after the job interview no response yet. this is a public institution, running on huge sums of public money and yes it is a company but there are people doing the HR stuff. So come on, after an interview of 4 hours i deserve at least a copy-paste email.</p>
<p>in a country where distances are measured in minutes-driving-by-car, i am happy to have found a small company with people who care about their environment. my work place is now 1.5 hour of public transportation away, but i guess that&#8217;s the prize you have to pay in luxembourg for not becoming a jerk!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.williambrownstreet.net/blog/?feed=rss2&amp;p=300</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu One Sync with Phone (SE Hazel)</title>
		<link>http://www.williambrownstreet.net/blog/?p=297&amp;utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=ubuntu-one-sync-with-phone-se-hazel</link>
		<comments>http://www.williambrownstreet.net/blog/?p=297#comments</comments>
		<pubDate>Thu, 12 Aug 2010 12:59:34 +0000</pubDate>
		<dc:creator>littleiffel</dc:creator>
				<category><![CDATA[Lucid Lynx]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[contacts]]></category>
		<category><![CDATA[evolution]]></category>
		<category><![CDATA[hazel]]></category>
		<category><![CDATA[phone]]></category>
		<category><![CDATA[sync]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu one]]></category>

		<guid isPermaLink="false">http://www.williambrownstreet.net/blog/?p=297</guid>
		<description><![CDATA[the ubuntu one service is a very nice idea. sync your files easily with multiple computers, easy to setup &#8230; easy to use. i use the service for syncing of my contacts, since i always have trouble keeping a contact &#8230; <a href="http://www.williambrownstreet.net/blog/?p=297">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>the ubuntu one service is a very nice idea. sync your files easily with multiple computers, easy to setup &#8230; easy to use. i use the service for syncing of my contacts, since i always have trouble keeping a contact list, i create in a great effort.</p>
<p>sometime ago ubuntu one added the possibility to sync your contacts with your mobile phone through syncml. the procedure is very easy again and can be very useful to keep your contacts in the case of the loss of your phone or similar. and it allows you to keep your contacts when upgrading your mobile phone. to activate this process go to one.ubuntu.com and login. activate the sync for phones and select your phone model. my phone model was not listed (j20 Hazel SonyEricsson), so I had to choose a similar model. but you only get the procedure for configuring the phone. just follow the on-screen instructions and enter the given username and password on your phone. and start syncing!!</p>
<p><a href="http://www.williambrownstreet.net/blog/wp-content/uploads/ubuntuone.png" rel="shadowbox[post-297];player=img;"><img class="aligncenter size-thumbnail wp-image-298" title="ubuntuone" src="http://www.williambrownstreet.net/blog/wp-content/uploads/ubuntuone-150x150.png" alt="" width="150" height="150" /></a></p>
<p>This procedure makes it possible to sync your phone with your evolution, since evolution contacts can also sync easily with ubuntu one. (once the bug is fixed) right not evolution contacts are not syncing with ubuntu one due to a <a href="https://bugs.launchpad.net/ubuntuone-servers/+bug/585530" target="_blank">bug</a> in couchdb stuff for ubuntu one!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.williambrownstreet.net/blog/?feed=rss2&amp;p=297</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What Browser for Ubuntu? (Firefox vs Chrome vs Opera)</title>
		<link>http://www.williambrownstreet.net/blog/?p=277&amp;utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=what-browser-for-ubuntu-firefox-vs-chrome-vs-opera</link>
		<comments>http://www.williambrownstreet.net/blog/?p=277#comments</comments>
		<pubDate>Fri, 30 Jul 2010 15:12:51 +0000</pubDate>
		<dc:creator>littleiffel</dc:creator>
				<category><![CDATA[Lucid Lynx]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[opera]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.williambrownstreet.net/blog/?p=277</guid>
		<description><![CDATA[Recently I made a small, informal post on Firefox vs Chrome on Ubuntu. This post was mainly inspired by the rumors that using the Windows Firefox in Wine is faster than running the native version on Ubuntu. (more info here) I haven&#8217;t &#8230; <a href="http://www.williambrownstreet.net/blog/?p=277">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Recently I made a small, informal post on Firefox vs Chrome on Ubuntu. This post was mainly inspired by the rumors that using the Windows Firefox in Wine is faster than running the native version on Ubuntu. (<a href="http://brainstorm.ubuntu.com/idea/18058/" target="_blank">more info here</a>) I haven&#8217;t tested a Windows version of any browser and I don&#8217;t like the idea of using an emulated software when there is a decent native alternative. So here I simply want to compare three browsers:</p>
<ul>
<li>Google Chrome Version 5.0.375.99 (<a href="http://www.google.com/chrome" target="_blank">download here</a>)</li>
<li>Mozilla Firefox Version 3.6.7 (<a href="http://www.mozilla.com/en-US/firefox/firefox.html" target="_blank">download here</a>)</li>
<li>Opera Version 10.60 (<a href="http://www.opera.com/" target="_blank">download here</a>)</li>
</ul>
<p>In fact I used the either the versions from the main Ubuntu channels or from the main websites. No Beta&#8217;s or Alpha&#8217;s are used. Right from the start, all three browsers are excellent products, no random freezing or problems.</p>
<p><strong>look &amp; feel</strong></p>
<p>from the start the main difference is that firefox still uses one global addressbar, tabs below the addressbar, where for opera and chrome the addressbar is within each tab. from any point of view this makes much more sense to have the tabs above the addressbar. the height of the browser interface is important as most people have a small pixel height. The interface height (with window border) for the browsers are</p>
<ol>
<li>Chrome: 92 pixel</li>
<li>Opera: 92 pixel</li>
<li>Firefox: 158 pixel</li>
</ol>
<p>The difference is quite huge and 60px on a 800px height of the display makes a difference. Firefox are going to move the addressbar within the tab in the upcoming release 4. (<a href="http://www.mozilla.com/en-US/firefox/beta/" target="_blank">here</a>) firefox integrates well into the gtk desktop of ubuntu and for chrome it is possible to set the theme such that it fits perfectly into the default ubuntu desktop. whereas personally, I think that opera does not fit that well into the ubuntu environment(using its own icon for the menus,&#8230;), but this is only a personal impression. however opera is the best looking browser. Opera is the only browser having tab preview by default installed, whereas it is available as plugins or extension for chrome and firefox. a new tab appears empty or shows a selected site for firefox, where opera and chrome have a nice view of most visited sites.</p>
<div id="attachment_278" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.williambrownstreet.net/blog/wp-content/uploads/addressbarheight.png" rel="shadowbox[post-277];player=img;"><img class="size-medium wp-image-278" title="Compare Address Bar Height" src="http://www.williambrownstreet.net/blog/wp-content/uploads/addressbarheight-300x84.png" alt="" width="300" height="84" /></a><p class="wp-caption-text">Comparison of Address Bar Height for Chrome, Opera and Firefox</p></div>
<div id="attachment_280" class="wp-caption aligncenter" style="width: 160px"><a href="http://www.williambrownstreet.net/blog/wp-content/uploads/operanewtab.png" rel="shadowbox[post-277];player=img;"><img class="size-thumbnail wp-image-280" title="Opera new Tab" src="http://www.williambrownstreet.net/blog/wp-content/uploads/operanewtab-150x150.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">Opening a new Tab in Opera, very similar in Chrome</p></div>
<p><strong>browsing &amp; speed</strong></p>
<p>Startup time is important for modern browsers, as I often want to quickly check a site, news, a wikipedia article or look up a word in an online dictionary. The startup times (without plugins, under the same conditions and 3 tabs to load) I found on my system</p>
<ol>
<li>chrome: 1.1 secs</li>
<li>firefox: 2.7 secs</li>
<li>opera: 3.2 secs</li>
</ol>
<p>chrome is still the speedy browser, very fast to open. firefox made some big improvements from the last version I tested (firefox 3.5.7: 4.7 secs). opera comes in last, but opera has the option to reduce the browser to the notification area, such that it can be opened instantly if it is loaded once (and never exited).</p>
<p>Important for a browser is how fast it handles sites and how correctly it displays them. there are tests around where you can test your browser on your system. I test with <a href="http://service.futuremark.com/peacekeeper/" target="_blank">peacekeeper</a>, tests are run in a browser instance with no other open tabs or windows, and I didn&#8217;t touch the window during the tests:</p>
<ol>
<li>chrome: 3877 pts</li>
<li>opera: 3300 pts</li>
<li>firefox: 1413 pts</li>
</ol>
<p>for the <a href="http://acid3.acidtests.org/" target="_blank">acid 3 test</a>,  verifying how browsers display websites, the more points a browsers scores, in general, the more correct it displays the site. both opera and chrome score 100/100pts, whereas firefox only comes close to 96/100pts.</p>
<p><strong>processor &amp; memory usage</strong></p>
<p>to find the memory &amp; processor usage of each browser I used the command line tool <em>top</em>. each browser has at least two processes running, one for the browser and one for the plugins. chrome has a process for for each open tab. with 2 open tabs, wordpress site, youtube video and cnn.com, chrome has 6 processes, opera and firefox have 2 processes running. the memory usage of a process is difficult to measure, as a process has a virtual allocated memory space and a reserved memory space. i took the values of the virtual memory</p>
<ol>
<li>opera: 329 mb</li>
<li>firefox: 580mb</li>
<li>chrome: 983mb</li>
</ol>
<p>the memory usage of the browsers today depends a lot on the user&#8217;s installed extensions and add-ons. but a great difference is visible for the virtual memory of the three browsers, opera being quite in the lead position here. For the processor usage of all browser there I could not distinguish a major difference, the only interesting note is that often the processes for the plugins (opera and firefox) have a constant usage of 4-5% of the processor. again the plugins seems to be in need for the processor time, whereas the browser itself is quite optimized and only shows some load when doing some heavy JS or flash.</p>
<p><strong>security</strong></p>
<p>who needs security? well all browsers pass the security check <a href="http://bcheck.scanit.be/" target="_blank">here</a>. using any of these browsers, you should be safe as regular updates are guaranteed by Mozilla, Google and Opera. together with linux or ubuntu, there shouldn&#8217;t be too much trouble right now, however the most insecure part in a system is often the user, so don&#8217;t get too lazy!</p>
<p><strong>integration &amp; extensions</strong></p>
<p>for all browsers there are many add-ons or extensions, the most common exists for all three (delicious, feed reader, &#8230;) chrome integrates pretty good into the dark ubuntu desktop. firefox integrates to 100% with the ubuntu theme and also other gnome or ubuntu applications. you can sync your firefox bookmarks with ubuntu one for example. many other applications like gnome-do, always start with plugins for firefox. opera pretty much goes its own way for the integration. you clearly notice that opera does not follow the look of ubuntu, it is dark, but yet it feels as an alien. opera has pretty cool features, i like. for example their widgets allows to have a clock in your browsers on top of the websites and also if you want on top of your desktop. the <a href="http://unite.opera.com//" target="_blank">unite</a> features allows to share files, messages, music&#8230;which is working great, except that I don&#8217;t have any friends using it, but all this feature in a browser..wow!</p>
<p><strong>Conclusion</strong></p>
<p>opera and chrome definitely feels more responsive and faster than firefox, however firefox is the more complete solution as there are many extensions available, I guess it has the largest base of extensions. however having the tab-bar beneath the address bar is an old-style browser habit, opera and chrome have them on top and firefox beta 4 will do the same. choose firefox if you need the extensions, otherwise go for chrome or opera since they are faster for displaying websites with JS. I use chorme as I come to like it very much, fast for displaying websites and yet it feels small. if you go for opera let me know to test out unite.! all of them are very easy to install on ubuntu, just go to their homepage.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.williambrownstreet.net/blog/?feed=rss2&amp;p=277</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install ANDROID Development Tools (ADT) on Ubuntu 10.04 (and Eclipse)</title>
		<link>http://www.williambrownstreet.net/blog/?p=266&amp;utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=install-android-development-tools-adt-on-ubuntu-10-04-and-eclipse</link>
		<comments>http://www.williambrownstreet.net/blog/?p=266#comments</comments>
		<pubDate>Fri, 09 Jul 2010 18:59:57 +0000</pubDate>
		<dc:creator>littleiffel</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Lucid Lynx]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.williambrownstreet.net/blog/?p=266</guid>
		<description><![CDATA[I recently installed eclipse 3.6 and Android Development Tools (ADT) on my fresh Ubuntu 10.04 install. I followed the excellent and simple Installation tutorial here. Installing Eclipse is as easy as downloading it from the official Download page (http://www.eclipse.org/downloads/) and extracting it to a desired folder. I chose the Classic Eclipse 3.6 download and I created a folder in my home, called /home/thierry/Applications. <a href="http://www.williambrownstreet.net/blog/?p=266">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I recently installed eclipse 3.6 and Android Development Tools (ADT) on my fresh Ubuntu 10.04 install. I followed the excellent and simple Installation tutorial <a href="http://onthefencedevelopment.com/?p=455" target="_blank">here</a>. Installing Eclipse is as easy as downloading it from the official Download page (<a href="http://www.eclipse.org/downloads/">http://www.eclipse.org/downloads/</a>) and extracting it to a desired folder. I chose the Classic Eclipse 3.6 download and I created a folder in my home, called /home/thierry/Applications.</p>
<p>To install the ADT in Eclipse 3.6, the official instructions can be found here, go to HELP &gt; INSTALL NEW SOFTWARE. Enter the address  to WORK WITH:</p>
<pre>https://dl-ssl.google.com/android/eclipse/</pre>
<p>Click OK. Then Select &#8216;Developer Tools&#8217; to install Android DDMS and ADT. Then click NEXT followed by FINISH. At that point I am now sure if I had to restart Eclipse, but as it is suggested, do restart Eclipse.</p>
<div id="attachment_274" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.williambrownstreet.net/blog/wp-content/uploads/adtinstall.png" rel="shadowbox[post-266];player=img;"><img class="size-medium wp-image-274" title="Install ADT in Eclipse" src="http://www.williambrownstreet.net/blog/wp-content/uploads/adtinstall-300x255.png" alt="" width="300" height="255" /></a><p class="wp-caption-text">Install ADT in Eclipse</p></div>
<p>Start a new Android project under FILE &gt; NEW &gt; Other &gt; Android. The Project Name would be <strong>HelloWorld</strong>, as Build Target I choose <strong>Android 2.2</strong>. Scroll down to find the Application Name:<strong> Hello Android</strong> and the package Name: <strong>com.yourexample.helloandroid</strong>. A first Hello World program is as follows</p>
<pre class="brush: java">
package com.example.helloandroid;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class HelloAndroid extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
TextView tv = new TextView(this);
tv.setText(&quot;Hello, Android&quot;);
tv.setTag(&quot;Hi freaks, look at me&quot;);
tv.setText(&quot;Mama&quot;);
tv.s
setContentView(tv);
}
}</pre>
<p>To run the code and test the application, you don&#8217;t need to have an android device, but you can use the android emulator. Use RUN &gt; RUN AS &gt; ANDROID APPLICATION and the emulator should show up, it might take 1 minute to boot!</p>
<div id="attachment_273" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.williambrownstreet.net/blog/wp-content/uploads/emulator1.png" rel="shadowbox[post-266];player=img;"><img class="size-medium wp-image-273" title="emulator of android" src="http://www.williambrownstreet.net/blog/wp-content/uploads/emulator1-300x202.png" alt="" width="300" height="202" /></a><p class="wp-caption-text">Android Emulator</p></div>
<p>Of course this is not what you have done in your HelloWorld, but to test your Android application you need to boot Android first. Play around with Android and go to Applications to find your Application called Hello Android. Click it to launch your Hello World.</p>
<p><em>P.S.: I have a problem that auto-complete in Eclipse with ADT freezes as soon as for example &#8220;tv.s&#8221; is written in the editor. Apparently this bug is related to xulrunner, but not for sure. This bug is however very annoying making development impossible. For a Java file the auto-complete is however working fine.</em></p>
<p>Where to go after the HelloWorld? Go to the <a href="http://developer.android.com/guide/topics/fundamentals.html" target="_blank">official documentation site for Android project</a>, the page with <a href="http://developer.android.com/resources/samples/index.html" target="_blank">sample code</a>,</p>
]]></content:encoded>
			<wfw:commentRss>http://www.williambrownstreet.net/blog/?feed=rss2&amp;p=266</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>welcome to luxembourg</title>
		<link>http://www.williambrownstreet.net/blog/?p=260&amp;utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=welcome-to-luxembourg</link>
		<comments>http://www.williambrownstreet.net/blog/?p=260#comments</comments>
		<pubDate>Mon, 05 Jul 2010 18:18:21 +0000</pubDate>
		<dc:creator>littleiffel</dc:creator>
				<category><![CDATA[luxembourg]]></category>
		<category><![CDATA[my life]]></category>

		<guid isPermaLink="false">http://www.williambrownstreet.net/blog/?p=260</guid>
		<description><![CDATA[i am back to my native land, after 3587 days in switzerland and chad, after studies and work. no job, no (own) place, no social security, but yet motivated to find a job in this small piece of europe. right &#8230; <a href="http://www.williambrownstreet.net/blog/?p=260">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>i am back to my native land, after 3587 days in switzerland and chad, after studies and work. no job, no (own) place, no social security, but yet motivated to find a job in this small piece of europe.</p>
<p>right now i got one denial after a phone interview from chad with luxembourg based amazon (which costed me 150 €). they asked me the usual java questions, like what is the difference between an interface and an abstract class, how would you implement this and that? i have another job interview at a research center in luxembourg, apparently it is going to last 5 hours.</p>
<div id="attachment_261" class="wp-caption aligncenter" style="width: 650px"><a href="http://www.williambrownstreet.net/blog/wp-content/uploads/DSC00005.jpg" rel="shadowbox[post-260];player=img;"><img class="size-large wp-image-261" title="luxembourg skyline sunset" src="http://www.williambrownstreet.net/blog/wp-content/uploads/DSC00005-1024x768.jpg" alt="" width="640" height="480" /></a><p class="wp-caption-text">luxembourg skyline in a sunset</p></div>
<p>there are many job opportunities for IT, software developers here in luxembourg, but most of them are for consulting or banking companies, which are not yet in my field of interest. a good place to look for jobs here is online at <a href="http://www.monster.lu" target="_blank">monster</a> and <a href="http://www.jobs.lu" target="_blank">jobs.lu</a>. many companies are based in luxembourg, like ebay, skype, amazon, paypal&#8230;to name a few. but they mainly are based here in luxembourg to (not) pay their taxes. as it seems however some of them are starting some projects at their luxembourg based sites.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.williambrownstreet.net/blog/?feed=rss2&amp;p=260</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding Flattr</title>
		<link>http://www.williambrownstreet.net/blog/?p=257&amp;utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=adding-flattr</link>
		<comments>http://www.williambrownstreet.net/blog/?p=257#comments</comments>
		<pubDate>Mon, 05 Jul 2010 17:41:00 +0000</pubDate>
		<dc:creator>littleiffel</dc:creator>
				<category><![CDATA[my life]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[flattr]]></category>
		<category><![CDATA[love]]></category>
		<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://www.williambrownstreet.net/blog/?p=257</guid>
		<description><![CDATA[Flattr is a new micro-financing system allowing to easily give a small amount of money (they call it love) to things you like on the net. i really appreciate every effort to move away from an ad driven world, so i &#8230; <a href="http://www.williambrownstreet.net/blog/?p=257">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flattr.com" target="_blank">Flattr</a> is a new micro-financing system allowing to easily give a small amount of money (they call it love) to things you like on the net. i really appreciate every effort to move away from an ad driven world, so i added their button to my site. with wordpress it is really easy to integrate flattr buttons to sidebar, posts and pages using the <a href="http://wordpress.org/extend/plugins/flattr/" target="_blank">flattr wordpress plugin</a>s.</p>
<p>still in beta status, there are not many things to give love to, and even though money can easily be shared it will be very hard for flattr to gain a ground in the internet world. only users of flattr can give their love, which is only available for invited people. i guess i will use my 2€ per month and honestly i am not hoping to receive a cent.</p>
<p>i still prefer other ways to give love to online media publishers, i still appreciate the old fashion way of leaving a simple comments. to give me love, just read my stuff and leave a comment</p>
]]></content:encoded>
			<wfw:commentRss>http://www.williambrownstreet.net/blog/?feed=rss2&amp;p=257</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting started with VALA</title>
		<link>http://www.williambrownstreet.net/blog/?p=166&amp;utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=getting-started-with-vala</link>
		<comments>http://www.williambrownstreet.net/blog/?p=166#comments</comments>
		<pubDate>Sun, 11 Apr 2010 18:54:44 +0000</pubDate>
		<dc:creator>littleiffel</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[gedit]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[hello world]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[vala]]></category>

		<guid isPermaLink="false">http://www.williambrownstreet.net/blog/?p=166</guid>
		<description><![CDATA[While browsing and looking for news in the open source world, I came to find about VALA.  A 'new' programming language created to design and implement applications for GNOME. VALA has built-in features GObject, GLib,... VALA is translated into C code and apparently it is very efficient C code (benchmarks) So I wanted to dive into VALA and find out more about it...Documentation and blog posts about VALA are rare, except for the official language description page, and even though the people seems to be very active on the project (Version 0.8.0 released in March 2010) the information on it is limited. The standard documentation is rather good online and on the site of VALA may information can be found, however as soon as something goes wrong no information is available. So I want to describe here my experience setting up the environment to compile and run my first VALA program. <a href="http://www.williambrownstreet.net/blog/?p=166">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">While browsing and looking for news in the open source world, I came to find about <a href="http://live.gnome.org/Vala" target="_blank">VALA</a>.  A &#8216;new&#8217; programming language created to design and implement applications for GNOME. VALA has built-in features GObject, GLib,&#8230; VALA is translated into C code and apparently it is very efficient C code (<a href="http://code.google.com/p/vala-benchmarks/wiki/BenchResults" target="_blank">benchmarks</a>) So I wanted to dive into VALA and find out more about it&#8230;Documentation and blog posts about VALA are rare, except for the <a href="http://live.gnome.org/Vala/Tutorial" target="_blank">official language description page</a>, and even though the people seems to be very active on the project (Version 0.8.0 released in March 2010) the information on it is limited. The standard documentation is rather good online and on the site of VALA may information can be found, however as soon as something goes wrong no information is available. So I want to describe here my experience setting up the environment to compile and run my first VALA program.</div>
<div id="_mcePaste">I prepared my Ubuntu environment with the following packages</div>

<div class="wp-terminal">user@computer:$ sudo apt-get install flex lex bison yacc glib gobject-introspection libglib2.0-dev<br/></div>

<div id="_mcePaste">You could install the version of VALA from the Ubuntu repositories, but the version for Karmic is 0.7.6 and apparently this version contains some bugs.</div>
<div id="_mcePaste">Rather download the latest version of VALA from <a href="http://live.gnome.org/Vala/Release" target="_blank">here</a>, the version I have been using is version 0.8.0. To install VALA you need to use the standard method, extract the files to a folder, open terminal in that folder and then use first,</div>

<div class="wp-terminal">user@computer:$ ./configure<br/></div>

<div>, second,</div>

<div class="wp-terminal">user@computer:$ make<br/></div>

<div>and last,</div>

<div class="wp-terminal">user@computer:$ make install.<br/></div>

<div>So I tried the Hello World example (from here):</div>
<div>
<pre class="brush: java">
using GLib;

public class Sample : Object {
public Sample () {
}

public void run () {
stdout.printf (&quot;Hello, world!\n&quot;);
std
}

static int main (string[] args) {
var sample = new Sample ();
sample.run ();
return 0;
}
}
</pre>
</div>
<div id="_mcePaste">However trying to compile it, I get the following error message</div>

<div class="wp-terminal">user@computer:$ valac -o hello hello.c<br/>valac: error while loading shared libraries: libvala.so.0: cannot open shared object file: No such file or directory<br/></div>

<div id="_mcePaste">Clearly the compiler could not find the libraries, however they were exactly where they were supposed to be, namely in the directory /usr/local/lib. To correct the error at compiling time, I had to run the command</div>

<div class="wp-terminal">user@computer:$ sudo ldconfig<br/></div>

<div id="_mcePaste">to update the linkers to dynamic libraries.</div>
<div id="_mcePaste">I use gEdit together with <a href="http://yorba.org/valencia" target="_blank">Valencia</a> plugin to write VALA code and I also want to try out the <a href="http://code.google.com/p/vtg/" target="_blank">Vala Toys for gEdit</a>. However with the latest version of VALA (0.8.0) the current version of Valencia 0.2.1 is not compatible with version 0.8.0. You need to check out the latest version from the development trunk of valencia <a href="http://trac.yorba.org/wiki/Valencia" target="_blank">via Subversion</a>, where additional information on the plugin is available.</div>
<div id="_mcePaste">After that the hello world compiled just fine. I am curious to see where VALA is taking me. Many bindings exists for GTK+, Cairo, Clutter, GNOME,&#8230;.</div>
<div>
<div id="attachment_167" class="wp-caption alignright" style="width: 310px"><a href="http://www.williambrownstreet.net/blog/wp-content/uploads/autocomplete.png" rel="shadowbox[post-166];player=img;"><img class="size-medium wp-image-167" title="autocomplete" src="http://www.williambrownstreet.net/blog/wp-content/uploads/autocomplete-300x247.png" alt="" width="300" height="247" /></a><p class="wp-caption-text">Valencia AutoComplete</p></div>
<div id="attachment_168" class="wp-caption alignright" style="width: 282px"><a href="http://www.williambrownstreet.net/blog/wp-content/uploads/gotodef.png" rel="shadowbox[post-166];player=img;"><img class="size-medium wp-image-168" title="gotodef" src="http://www.williambrownstreet.net/blog/wp-content/uploads/gotodef-272x300.png" alt="" width="272" height="300" /></a><p class="wp-caption-text">Go To Definition of a Method or Class</p></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.williambrownstreet.net/blog/?feed=rss2&amp;p=166</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Arte+7 Downer (Download and Streamer) for Python and Linux</title>
		<link>http://www.williambrownstreet.net/blog/?p=161&amp;utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=arte7-downer-download-and-streamer-for-python-and-linux</link>
		<comments>http://www.williambrownstreet.net/blog/?p=161#comments</comments>
		<pubDate>Sun, 04 Apr 2010 11:04:13 +0000</pubDate>
		<dc:creator>littleiffel</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[arte+7]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[stream]]></category>

		<guid isPermaLink="false">http://www.williambrownstreet.net/blog/?p=161</guid>
		<description><![CDATA[The Arte+7 Downer got inspired from the arte+7 Recorder. However this excellent application is missing some desired features, like saving the description of the downloaded video and the corresponding screenshot. Further to preview a video it is necessary to start the download of the video. <a href="http://www.williambrownstreet.net/blog/?p=161">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<address><em>Note:</em></address>
<address><em>The following application might not be legal, and ARTE did not respond to my messages to ask if it is legal to download their videos on Arte+7. The following application was created as an educational project, and will not receive further features or other development from my side (at least until the legal issue is clearly solved).</em></address>
<address><em><br />
</em></address>
<address></address>
<address><em><a href="http://dl.dropbox.com/u/3182672/arte7.py">Download Python Script</a></em></address>
<address><em><br />
</em></address>
<div id="_mcePaste">The Arte+7 Downer got inspired from the <a href="http://www.benjaminbaudouin.com/arte-7-recorder/" target="_blank">arte+7 Recorder</a>. However this excellent application is missing some desired features, like saving the description of the downloaded video and the corresponding screenshot. Further to preview a video it is necessary to start the download of the video.</div>
<div id="_mcePaste">The idea was born to create this small script because I wanted to create something other than a &#8216;Hello World&#8217; in Python and I wanted to be able to stream Arte+7 videos in fullscreen mode in my favorite video player. Arte+7 have interesting shows which are available for streaming online for  7 days. However it is only possible to view the shows in the browser on their website. The code is a mess and it definitely is not very beautiful, but it works. I will try to clean up the code some day.</div>
<div id="_mcePaste">The usage is pretty simple, first download the script and you need to have the Python modules html2text, urllib2, StringIO and it uses the mimms package to record the video stream. To run the script simply type python arte7.py in your terminal. Or to make the file executable Right-Click the file and enable &#8220;Properties &gt; Permissions &gt; Allowing Executing File as Program&#8221;. After that simply double-click the file to start Arte+7 Downer. The application does only work if there is an available internet connection (or if the arte+7 page is available).</div>
<div id="_mcePaste">The main window contains just a list of the online shows with the date they came online and the date they will be removed. To select an item double-click on it.</div>
<div>
<div id="attachment_162" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.williambrownstreet.net/blog/wp-content/uploads/main.jpg" rel="shadowbox[post-161];player=img;"><img class="size-medium wp-image-162 " title="main" src="http://www.williambrownstreet.net/blog/wp-content/uploads/main-300x155.jpg" alt="" width="300" height="155" /></a><p class="wp-caption-text">Main Window</p></div>
</div>
<div>A window with details on the selected item opens and you can either select to view the video or to save it (default folder $home/Videos/Arte+7/). The &#8216;Save Info&#8217; Button saves the description into a text file and the image as a jpeg file into the same folder as the video file under the same name (with different extensions).</div>
<div>
<div id="attachment_163" class="wp-caption aligncenter" style="width: 261px"><a href="http://www.williambrownstreet.net/blog/wp-content/uploads/detailled-view.jpg" rel="shadowbox[post-161];player=img;"><img class="size-medium wp-image-163" title="detailled-view" src="http://www.williambrownstreet.net/blog/wp-content/uploads/detailled-view-251x300.jpg" alt="" width="251" height="300" /></a><p class="wp-caption-text">Detailled View with Control Buttons</p></div>
</div>
<div id="_mcePaste">That&#8217;s it, the code is a mess, as it is quite difficult to extract the mms URL from the Arte+7 site. Have fun looking through the code and watching Arte+7 in a real video player.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.williambrownstreet.net/blog/?feed=rss2&amp;p=161</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>On Software vs Architecture</title>
		<link>http://www.williambrownstreet.net/blog/?p=157&amp;utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=on-software-vs-architecture</link>
		<comments>http://www.williambrownstreet.net/blog/?p=157#comments</comments>
		<pubDate>Sun, 07 Mar 2010 09:34:03 +0000</pubDate>
		<dc:creator>littleiffel</dc:creator>
				<category><![CDATA[PhD]]></category>
		<category><![CDATA[science]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[forma verification]]></category>
		<category><![CDATA[model checking]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.williambrownstreet.net/blog/?p=157</guid>
		<description><![CDATA[Software contains bugs! And we are used to it, but we shouldn't accept it as a truth! <a href="http://www.williambrownstreet.net/blog/?p=157">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">Software contains bugs! And we are used to it, but we shouldn&#8217;t accept it as a truth!</div>
<div id="_mcePaste">I am currently working on my PhD thesis (to finish it at last) which is on the subject of the underlying automata of model checking. Model checking is a formal verification technique used to proof that a system is correct, meaning that the system is satisfying given properties. This technique is already used much for software verification in some fields like flight engineering. The software of the Airbus A380 was verified using formal verification methods.</div>
<div id="_mcePaste">The understanding of formal verification methods is pretty advanced in Science, however the practicability of formal methods to the average programmer is close to zero. A verification of a random program would require like 10-20 times the time it took to write the original code. It took more than a year to a team of specialists to verify part of the A380 software. It will take years before formal methods are build into compilers that will help the programmer with its job to provide a correct program.</div>
<div id="_mcePaste">Bugs are mistakes, coding errors or design errors, made at some point during the development of the code. We have grown from a point were complaining about bugs in the OS was a daily routine(Windows 95) to a point where we actually are online long enough to notice bugs in software or hardware. Small devices are growing to complete computers (iPhones, GPS,&#8230;), and the number of processor is increasing per machine. Asynchronous processes and other requirements of clients make the situation worse, before we can make it any better.</div>
<div id="_mcePaste">In architecture, an architect designs the plan of a building, the architect has a diploma and he was trained to design plans. After the architect has finished his job, the plan goes to an engineer who is responsible for verifying the plan. He does some calculations about stability, controls the materials used and either gives a go or gives it back to the architect to redesign the plan. But only after the engineer gives his OK, the plan gets reworked to get a plan for the workers, with millimetre precise plans. After those plans are done, the real construction starts, getting on the place where the final building should be standing. During the whole process the architect controls the execution of the work, discusses issues with the workers on fields, try to discover problems before they are in stone&#8230;Finally the architect has all the responsibility of the final result.</div>
<div id="_mcePaste">Sometimes before the final construction, the architect creates some prototypes of the whole house or of some parts, and even the engineer for some special constructions creates prototypes of some parts to verify their properties.</div>
<div id="_mcePaste">I don&#8217;t want to analyse the process of software design, but as a programmer ask yourself if you want to live in your code. Software should be created more like buildings, get a plan first, you are allowed to use prototypes during the plan making phase. However give the plan and not the prototype to an engineer would verifies it. Then start the programming, but as soon as issues arise, stop the process and choose a solution before it&#8217;s too late to go back (and the walls around are too high).</div>
<div id="_mcePaste">Of course for software the comparison with buildings is not true for most of the software, that&#8217;s why most software engineers or programmers don&#8217;t respect the process. If the program in contrast to a building contains bugs, in general no lives are at risk or only a limited amount of money.</div>
<div id="_mcePaste"><strong>Some famous &#8216;BUGS&#8217; from Software and other Space:</strong></div>
<div id="_mcePaste">
<ul>
<li>Russian Venus Lander (<a href="http://en.wikipedia.org/wiki/Venera#Venera_camera_failures_and_success" target="_blank">VENERA from wikipedia</a>): The Venera 9 and 10 landers had two cameras each. Only one functioned because the lens covers failed to separate from the second camera on each lander. The design was changed for Venera 11 and 12, but this made the problem worse and all cameras failed on those missions.</li>
</ul>
</div>
<div id="_mcePaste">and even better:</div>
<div id="_mcePaste">
<ul>
<li>Venera 13 and 14 were the only landers on which all cameras worked properly; although unfortunately, the lens cap on Venera 14 landed exactly in the way of the soil compression probe.</li>
</ul>
</div>
<div id="_mcePaste">
<ul>
<li>NASA Mars Lander: NASA lost a $125 million Mars orbiter because one engineering team used metric units while another used English units for a key spacecraft operation,  ~ <a href="http://www.cnn.com/TECH/space/9909/30/mars.metric/" target="_blank">cnn.com</a></li>
</ul>
</div>
<div id="_mcePaste">
<ul>
<li>Pentium Bug: The Pentium FDIV bug was a bug in Intel&#8217;s original Pentium floating point unit (FPU). Certain floating point division operations performed with these processors would produce incorrect results. According to Intel, there were a few missing entries in the lookup table used by the divide operation algorithm. ~<a href="http://en.wikipedia.org/wiki/Pentium_FDIV_bug" target="_blank">wikipedia.org</a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.williambrownstreet.net/blog/?feed=rss2&amp;p=157</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
