<?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>The Open Sourcerer</title>
	<atom:link href="http://www.theopensourcerer.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theopensourcerer.com</link>
	<description>The Magic of Open Source</description>
	<lastBuildDate>Wed, 13 Feb 2013 15:54:47 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Ubuntu Smart Scopes</title>
		<link>http://www.theopensourcerer.com/2013/01/ubuntu-smart-scopes/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ubuntu-smart-scopes</link>
		<comments>http://www.theopensourcerer.com/2013/01/ubuntu-smart-scopes/#comments</comments>
		<pubDate>Wed, 30 Jan 2013 20:38:50 +0000</pubDate>
		<dc:creator>Alan Bell</dc:creator>
				<category><![CDATA[FLOSS in the news]]></category>

		<guid isPermaLink="false">http://www.theopensourcerer.com/?p=3385</guid>
		<description><![CDATA[A new feature of Ubuntu was discussed today (which is like an announcement but without overhyping it), it is called Smart Scopes and is documented here https://wiki.ubuntu.com/SmartScopes1304Spec go read that first and then I have a video for you to watch. http://www.youtube.com/watch?feature=player_embedded&#38;v=CBeQur7VBDM Now go back and read the spec that I told you to read earlier, but [...]]]></description>
				<content:encoded><![CDATA[<p>A new feature of Ubuntu was discussed today (which is like an announcement but without overhyping it), it is called Smart Scopes and is documented here <a href="https://wiki.ubuntu.com/SmartScopes1304Spec">https://wiki.ubuntu.com/SmartScopes1304Spec</a> go read that first and then I have a video for you to watch.</p>
<p><iframe src="http://www.youtube.com/embed/CBeQur7VBDM" height="315" width="560" allowfullscreen="" frameborder="0"></iframe></p>
<p><a href="http://www.youtube.com/watch?feature=player_embedded&amp;v=CBeQur7VBDM">http://www.youtube.com/watch?feature=player_embedded&amp;v=CBeQur7VBDM</a></p>
<p>Now go back and read the spec that I told you to read earlier, but all the way to the end this time.</p>
<p>In the video from left to right is Alan Bell (me), David Callé, Jono Bacon, Michael Hall, Roberto Alsina and Stuart Langridge, all discussing this new framework for searching. It is coming soon, to the Ubuntu Raring desktop and then to phone and TV and tablet etc. The objective is to make searching really really effective and helpful to the user, but as with the previous efforts in this direction there will be some concerns around how it is implemented.</p>
<p>In short, Canonical will be running a server much like the existing productsearch.ubuntu.com server which will accept queries and return a bunch of results as json. The current implementation searches Amazon and the Ubuntu One music store and a few other places. The new one will do the same, plus more server-side searches, plus a new feature altogether which is a list of good scope names for the client to search. Your client will now send a list of all locally installed scopes to the server (actually a list of scopes you have added and a list of scopes you have removed or turned off from the standard set) along with your query. The server then returns results it found and wants to put in your dash, plus a subset of the local scopes you sent it, in order, that the server thinks would be good places to hunt for your search term. This means that your client might have 100 or more locally installed search scopes, but the server will advise it which are likely to give good results. Now for the scary bit, once you have looked at the results and perhaps clicked on something then your client pings the server again to tell it which scope produced the most relevant result. This means that the server can learn from this feedback about which scopes produce high quality results for that keyword, and perhaps rank that one a bit higher in future recommendations lists.</p>
<ul>
<li>Lenses are now called master scopes</li>
<li>You control each individual scope that you want to search in or not search in, not the master scopes so you will have 100 or so things to turn on or off.</li>
<li>You can still have locally installed scopes that search authenticated data sources</li>
<li>You could in principal run your own search server if you write one to implement the API and patch the home master scope to look at your own server</li>
<li>The server isn&#8217;t open source</li>
<li>You can&#8217;t opt out of the feedback process (without turning off the smart scope altogether &#8211; which you can do)</li>
<li>If you install a local scope then your client will tell the server the name of that scope</li>
<li>Every query to the server is going to include a list of locally installed scope names (100 or so perhaps?)</li>
<li>You can focus a search at a particular scope by using a keyword, for example &#8220;<a href="http://www.omlet.co.uk/">omlet</a>: chicken house&#8221; to only search the Omlet scope and not the chicken stuff master scope.</li>
<li>The rather poorly thought out remote-content-search checkbox to disable local scopes from doing online searches remains in place &#8211; however you don&#8217;t need it as you have per-scope controls.</li>
<li>There may be some code quality checks introduced to stop scopes that don&#8217;t pay attention to the remote-content-search setting from getting into the Ubuntu distribution. &#8211; but you don&#8217;t need it.</li>
<li>This probably won&#8217;t put more adverts on your desktop while you are trying to do work.</li>
<li>This is probably a more private way of searching for stuff than googling for it.</li>
<li>This won&#8217;t be opt-in, all the good stuff in Ubuntu is turned on by default.</li>
<li>Your IP address gets logged on the web server logs, but not in the database of the smart scopes application running on the server. The developers working on the smart scopes don&#8217;t have access to the web server logs.</li>
<li>It would be relatively trivial (I could do it in a day or so if I felt like it) to write a gnome-shell client for this smart scopes server to display the remote results, however doing something with the scope recommendations list would be a bit of a struggle.</li>
<li>The home master scope (dash) search box will contain the help text &#8220;search your computer and online sources&#8221; to make it clear that it isn&#8217;t just a local search.</li>
</ul>
<p>Now to the big question. How much are people going to freak out about this? Well if they read the spec all the way to the end they will see all the stuff that is being collected, how it is aggregated, how much or how little privacy this is costing them and why it is being done for the greater good of having decent search results. The feedback data collection process is likely to be slightly freakout causing. I can see why the developers want this turned on and I can see why it is antisocial to turn it off, like leeching on bittorrent while downloading an Ubuntu iso or whatever. I think they would be wise to have a checkbox in the privacy settings dialogue so that antisocial people can turn this off. I imagine the developers will stick with the current policy that if you want to use smart scopes you have to participate in the feedback process to make it better.</p>
<p>I think we need to do some education around the lack of an applications launcher though. Currently people think that Super + name of application is a replacement for the Gnome 2 applications menu. It isn&#8217;t. Super+a + name of application is how to start applications. This is going to focus the search on just applications and will work a lot faster than doing an omniglobaleverywhere search which is what the superkey does by itself.</p>
<p>For me this is a good development overall. The privacy debacle will be solved to my satisfaction when you can locally and personally blacklist scopes. This will mean that I can write a scope without it being co-dependent on all the other online scopes and I don&#8217;t have to worry about whether intranet access constitutes internet access. All scopes can simply stop if remote-content-search is set, but nobody needs to set it, the flag will basically just break all searching and be a bit pointless.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theopensourcerer.com/2013/01/ubuntu-smart-scopes/feed/</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
		<item>
		<title>GeoTools: Geolocation services for vtiger CRM</title>
		<link>http://www.theopensourcerer.com/2013/01/geotools-geolocation-services-for-vtiger-crm/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=geotools-geolocation-services-for-vtiger-crm</link>
		<comments>http://www.theopensourcerer.com/2013/01/geotools-geolocation-services-for-vtiger-crm/#comments</comments>
		<pubDate>Fri, 25 Jan 2013 11:53:38 +0000</pubDate>
		<dc:creator>Alan Lord</dc:creator>
				<category><![CDATA[FLOSS in the news]]></category>
		<category><![CDATA[Libertus]]></category>
		<category><![CDATA[Geolocation]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Mapping]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[vtiger]]></category>

		<guid isPermaLink="false">http://www.theopensourcerer.com/?p=3371</guid>
		<description><![CDATA[As many of you know already, our company Libertus Solutions does quite a lot of work with the open source CRM called vtiger. It&#8217;s a very competent and accomplished product made even more so by its well thought out extension capabilities. In this post I&#8217;m really pleased to announce our first open source vtlib module [...]]]></description>
				<content:encoded><![CDATA[<p>As many of you know already, our company <a href="http://www.libertus.co.uk/" title="Libertus Solutions">Libertus Solutions</a> does quite  a lot of work with the open source CRM called <a href="http://www.vtiger.com" title="vtiger CRM">vtiger</a>. It&#8217;s a very competent and accomplished product made even more so by its well thought out extension capabilities. </p>
<p>In this post I&#8217;m really pleased to announce our first open source vtlib module for vtiger called GeoTools.</p>
<p>It was derived from another project on the vtiger forge called <a href="http://forge.vtiger.com/projects/maps/" title="Maps project">Maps</a>, which we have taken and extended in true open source style. <em><a href="http://en.wikipedia.org/wiki/Standing_on_the_shoulders_of_giants" title="Standing on the shoulders of giants - Wikipedia">Standing on the shoulders of giants</a>, and all that&#8230;</em></p>
<p>GeoTools introduces Geolocation features to vtiger in a standard vtlib module package. It adds the ability to perform distance-based searches on your data.</p>
<p>GeoTools uses the <a href="https://developers.google.com/maps/" title="Google Maps API">Google Maps API</a> to gather positional data, that&#8217;s latitude and longitude coordinates, for the entity records that have been configured in the GeoTools Settings area. Once we have acquired this positional data we can then perform location-based calculations to display the results on an embedded Google Map, and as a list view of entity records.</p>
<p>Anyway enough of the words already! Here&#8217;s a video:</p>
<p><span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='640' height='390' src='http://www.youtube.com/embed/i1FxiADQpsU?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>
<p><em>As soon as the forge site is up I&#8217;ll update this and provide links to the code.</em></p>
<p><strong>Update:</strong> <a href="http://forge.vtiger.com/projects/geotools/" title="GeoTools project on the vtiger Forge">Here we are</a>: This will be a moving target for some time yet &#8211; it&#8217;s still rather &#8220;beta&#8221; grade code&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theopensourcerer.com/2013/01/geotools-geolocation-services-for-vtiger-crm/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Finding VirtualBox IP addresses</title>
		<link>http://www.theopensourcerer.com/2013/01/finding-virtualbox-ip-addresses/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=finding-virtualbox-ip-addresses</link>
		<comments>http://www.theopensourcerer.com/2013/01/finding-virtualbox-ip-addresses/#comments</comments>
		<pubDate>Thu, 24 Jan 2013 16:06:00 +0000</pubDate>
		<dc:creator>Paul Tansom</dc:creator>
				<category><![CDATA[Libertus]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.theopensourcerer.com/?p=3360</guid>
		<description><![CDATA[I have been running some server instances in VirtualBox recently and as I move between networks it is a pain to have to log in and get the IP address from ipconfig before being able to access the test web sites I have running in them. I also prefer to SSH to them rather than [...]]]></description>
				<content:encoded><![CDATA[<p>I have been running some server instances in VirtualBox recently and as I move between networks it is a pain to have to log in and get the IP address from <em>ipconfig</em> before being able to access the test web sites I have running in them. I also prefer to SSH to them rather than use the VirtualBox instance (it gives better character screen size, although I could reconfigure things; I also tab my terminals).</p>
<p>Anyway, in order to make things easier I put together two scripts, one that handles getting the IP address of the Virtualbox instance, and the other that handles connecting via SSH just by telling it the instance name. In order to do this you need to install the VirtualBox Guest Additions. This package is generally used in connection with video drivers for GUI based guests, but it also has some extensions that present extra information about the guest to the host machine.</p>
<p>Installing on Ubuntu is quite easy. My setup is using Ubuntu 12.10 on the desktop (host) and Ubuntu 12.04 LTS on the server (guest). To start with there is a package with the Guest Additions ISO in, so start by installing it with:</p>
<p><code>sudo aptitude install virtualbox-guest-additions-iso</code></p>
<p>Next you need to mount the ISO in the guest OS. To do this choose the <strong>Install Guest Additions</strong> option from the Devices menu. Since this is a CLI server OS it won&#8217;t automatically mount the ISO, so you will have to do this manually with:</p>
<p><code>sudo mount /dev/cdrom /media/cdrom</code></p>
<p><a href="http://www.theopensourcerer.com/2013/01/finding-virtualbox-ip-addresses/guestadditions1/" rel="attachment wp-att-3363"><img class="alignnone size-medium wp-image-3363" alt="guestadditions1" src="http://www.theopensourcerer.com/wp-content/uploads/2013/01/guestadditions1-300x193.png" width="300" height="193" /></a></p>
<p>Once you have done this you need to install <em>dkms</em> and then run the install script with:</p>
<p><code>sudo aptitude install dkms<br />
sudo /media/cdrom/VBoxLinuxAdditions.run</code></p>
<p>It will complain about not having found X to install the graphics drivers, but this isn&#8217;t a problem.</p>
<p>Once you have done this you can use the command:</p>
<p><code>VBoxManage guestproperty enumerate &lt;vname&gt;</code></p>
<p>where &lt;vname&gt; is the name of your guest. This will list out all of the available information that can now be accessed.</p>
<p>Using this command in a little bit of <em>bash</em> I created the two scripts. Firstly to get the IP address of a named guest:</p>
<p><code>#! /bin/bash<br />
VIP=`VBoxManage guestproperty get $1 "/VirtualBox/GuestInfo/Net/0/V4/IP" | awk '{print $2}'`<br />
echo $VIP</code></p>
<p>Secondly, to SSH to a named guest:</p>
<p><code>#! /bin/bash<br />
VIP=`VBoxManage guestproperty get $1 "/VirtualBox/GuestInfo/Net/0/V4/IP" | awk '{print $2}'`<br />
ssh-keygen -f "/home/paul/.ssh/known_hosts" -R $VIP<br />
ssh $VIP</code></p>
<p>This second one is a little more involved because it first deletes the entry from the <em>known_host</em> file (remember to change the location). I&#8217;ve done this to stop an error coming up if the IP address has already been used, which isn&#8217;t uncommon with DHCP leases (you often get the same one, but not always!). You will have to confirm the authenticity of the host each time you connect, but since this is scripted and the IP has been automatically obtained locally to the machine this shouldn&#8217;t present a security risk.</p>
<p>Each of these scripts takes the guest name as a parameter, eg:</p>
<p><code>vbip Alfresco</code></p>
<p>or</p>
<p><code>vssh Alfresco</code></p>
<p>Lastly, to make these new scripts easy to use I created a .bash_aliases file in my home directory with the following:</p>
<p><code>## custom aliases<br />
alias vssh='~/scripts/vssh'<br />
alias vbip='~/scripts/vbip'</code></p>
<p>You will need to adjust for whever you have put these scripts, I tend to have a <em>scripts</em> directory in my home directory for this purpose.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theopensourcerer.com/2013/01/finding-virtualbox-ip-addresses/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>OT: Chillies for 2013</title>
		<link>http://www.theopensourcerer.com/2013/01/ot-chillies-for-2013/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ot-chillies-for-2013</link>
		<comments>http://www.theopensourcerer.com/2013/01/ot-chillies-for-2013/#comments</comments>
		<pubDate>Sat, 05 Jan 2013 15:48:38 +0000</pubDate>
		<dc:creator>Alan Lord</dc:creator>
				<category><![CDATA[Personal Stuff]]></category>
		<category><![CDATA[Chilli]]></category>

		<guid isPermaLink="false">http://www.theopensourcerer.com/?p=3342</guid>
		<description><![CDATA[I&#8217;ve sown my seeds for this year and have decided to document the process on G+ for a change. So if you want to find out about what I and other chilli heads will be growing this year head over to the Chillies Community on Google Plus&#8230;]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.theopensourcerer.com/wp-content/uploads/2013/01/seeds.jpg"><img src="http://www.theopensourcerer.com/wp-content/uploads/2013/01/seeds-300x224.jpg" alt="Some of this year&#039;s seeds" width="300" height="224" class="alignright size-medium wp-image-3349" /></a>I&#8217;ve sown my seeds for this year and have decided to <a href="https://plus.google.com/u/0/104060033182234025482/posts/HxUnDqx59pE">document the process on G+</a> for a change.</p>
<p>So if you want to find out about what I and other chilli heads will be growing this year <a href="https://plus.google.com/u/0/communities/111719964815344213369">head over to the Chillies Community on Google Plus&#8230;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.theopensourcerer.com/2013/01/ot-chillies-for-2013/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shopping lens for Gnome Shell</title>
		<link>http://www.theopensourcerer.com/2012/12/shopping-lens-for-gnome-shell/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=shopping-lens-for-gnome-shell</link>
		<comments>http://www.theopensourcerer.com/2012/12/shopping-lens-for-gnome-shell/#comments</comments>
		<pubDate>Sun, 30 Dec 2012 22:44:04 +0000</pubDate>
		<dc:creator>Alan Bell</dc:creator>
				<category><![CDATA[FLOSS in the news]]></category>

		<guid isPermaLink="false">http://www.theopensourcerer.com/?p=3313</guid>
		<description><![CDATA[The shopping lens in Unity has been one of the most talked about features, not always in a good way. Personally I quite like it, I have purchased several items through it and it seems to be a faster experience at simply finding stuff than using Amazon itself. Producing a lens that makes money clearly [...]]]></description>
				<content:encoded><![CDATA[<p>The shopping lens in Unity has been one of the most talked about features, not always in a good way. Personally I quite like it, I have purchased several items through it and it seems to be a faster experience at simply finding stuff than using Amazon itself. Producing a lens that makes money clearly caused a lot of people to look up and examine the situation in more depth and it was then discovered that it should have been using https for the transport and issues around privacy and sending search terms off the local machine were raised. All valid issues which have been addressed to a greater or lesser extent, but it got me <a href="http://www.theopensourcerer.com/2012/12/privacy-is-hard-lets-go-shopping/" target="_blank">thinking about privacy</a>  and prompted me to <a href="http://www.theopensourcerer.com/2012/12/she-sells-sea-shells/" target="_blank">have a play with Gnome Shell</a> and in due course prompted me to look into Gnome Shell extensions.</p>
<p>You can do cool things with Gnome Shell extensions, they are written in Javascript and can manipulate the user interface in quite flexible ways. One particular type of extension is the search provider &#8211; which corresponds pretty well to the Unity lens. There are search providers for wikipedia, virtualbox, ssh and a few other searchable things and today my <a href="https://extensions.gnome.org/extension/564/amazon-shopping/" target="_blank">shopping search provider for Amazon</a> was approved and published.</p>
<p>In simple terms to get the thing running visit the extension page using chromium or a supported version of Firefox whilst running Gnome Shell. This should give you a slider on the left that you can use to activate the extension, this will download and install it in ~/.local/share/gnome-shell/extensions/shopping@libertus.co.uk (that looks like an email address, but it isn&#8217;t). Once installed you can hit the settings icon on that very same web page to configure the extension &#8211; or just hit super and type &#8220;a toaster&#8221; to search for &#8220;toaster&#8221; on Amazon (&#8220;a&#8221; is the default search prefix to tell it you want to do an Amazon search)</p>
<p><img class="alignnone" alt="" src="http://people.ubuntu.com/~alanbell/screenshots/shellshop.png" width="820" height="461" /></p>
<p>Configuring it looks like this:</p>
<p><img class="alignnone" alt="" src="http://people.ubuntu.com/~alanbell/screenshots/shoppingsettings.png" width="421" height="402" /></p>
<p>If you set the keyword to blank then it will function like the Unity shopping lens does &#8211; it searches as you type for everything you type. I kind of like the prefix, I know when I want to search on Amazon and when I don&#8217;t actively want to do that I am not interested in the performance hit of a redundant search, but you can make up your own mind about that.</p>
<p>The shop domain is the bit after www.amazon and it can be any one of:</p>
<ul>
<li>co.uk</li>
<li>de</li>
<li>com</li>
<li>ca</li>
<li>fr</li>
<li>co.jp</li>
<li>it</li>
<li>cn</li>
<li>es</li>
</ul>
<p>Different stores return different products and prices and descriptions.</p>
<p>The affiliate code can be set to anything, gnomestore-20 will give money to Gnome as you shop, electronicfro-20 will give money to the EFF, and leaving it as theopesou-21 will give money to the LBF (Libertus Beer Fund).</p>
<h3>Why this is not very evil</h3>
<ul>
<li><span style="line-height: 13px;">The user is given control over the affiliate code</span></li>
<li>It is opt-in for each user of the machine as it is installed in the user home directory.</li>
<li>There is a user controllable keyword prefix for searching</li>
<li>It uses https for transport client to server and server to Amazon</li>
<li>The client side is fully open source</li>
<li>I am being transparent about how it works</li>
<li>It does not use geoIP to decide what Amazon store to use, it does not pass your IP address to Amazon or anywhere else.</li>
<li>I am not interested in logging searches or IP addresses, I plan to monitor logs for a few days to check it is working OK for people then turn off logging altogether for the server.</li>
<li>Enabling this does not require you to enable other online search providers, they are not co-dependent.</li>
</ul>
<h3>Why it is a little bit evil</h3>
<ul>
<li>The server side is not in the control of the user &#8211; <del>or published source (it is about 5 lines of code, but includes secret API keys)</del> it is now published in the repository with the client side code, the API keys are in a separate file.</li>
<li>It uses my affiliate ID as a default</li>
<li>It is sending search queries off the local machine &#8211; and has the capacity to log or do evil with all queries typed into the search box (<a href="https://github.com/AlanBell/shopping-search-provider/blob/master/extension.js#L278">check the code to make sure it doesn&#8217;t</a>. The code starts executing on every single keystroke, but it gives up if the regular expression with the keyword doesn&#8217;t match what you typed).</li>
<li>It gets pictures from Amazon and they could data mine the logs for those and indirectly track your searches that way (highly unlikely &#8211; they track you in much more useful ways as soon as you click through to anything you are interested in. Image logs have little informational value.)</li>
<li>It advocates for a materialistic society based on the existential nihilism of unfettered consumerism</li>
</ul>
<h3>How it could be less evil</h3>
<ul>
<li>If someone wants to fork it and run a server on behalf of some foundation that is considered less evil than me then feel free to do so, it is GPLv2 code. What I don&#8217;t want you to do is fork the extension and change the default affiliate ID but keep it pointing at my server by default as a back end.</li>
<li>You could run your own local search provider and register for your own API keys if you want to trust nobody but yourself and Amazon. I don&#8217;t think you can earn money purchasing items yourself on your own affiliate code so don&#8217;t think there is a magical discount facility waiting for you to set it up.</li>
</ul>
<h3>Future enhancements</h3>
<p>I would like to make the store list  a dropdown selection &#8211; maybe auto selected based on locale or something. It would be good to provide a list of common affiliate IDs for charities and organisations that people might want to support, but I want to retain the ability for a user to type in one of their own choosing. Maybe it could take a list of affiliate IDs that it uses at random. If you have suggestions then do leave a comment, or fork it on github <a href="https://github.com/AlanBell/shopping-search-provider">https://github.com/AlanBell/shopping-search-provider</a></p>
<p>Happy shopping (it is the reason for the season) and have a happy new year!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theopensourcerer.com/2012/12/shopping-lens-for-gnome-shell/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>How to install OpenERP 7.0 on Ubuntu 12.04 LTS</title>
		<link>http://www.theopensourcerer.com/2012/12/how-to-install-openerp-7-0-on-ubuntu-12-04-lts/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-install-openerp-7-0-on-ubuntu-12-04-lts</link>
		<comments>http://www.theopensourcerer.com/2012/12/how-to-install-openerp-7-0-on-ubuntu-12-04-lts/#comments</comments>
		<pubDate>Sat, 22 Dec 2012 18:05:36 +0000</pubDate>
		<dc:creator>Alan Lord</dc:creator>
				<category><![CDATA[FLOSS in the news]]></category>
		<category><![CDATA[Libertus]]></category>
		<category><![CDATA[OpenERP]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.theopensourcerer.com/?p=3229</guid>
		<description><![CDATA[Introduction Welcome to the latest of our very popular OpenERP installation &#8220;How Tos&#8221;. The new release of OpenERP 7.0 is a major upgrade and a new Long Term Support release; the 7.0 Release Notes extend to over 90 pages! The most noticeable change is a complete re-write of the User Interface that features a much [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.openerp.com"><img src="http://www.theopensourcerer.com/wp-content/uploads/2011/04/logo1.png" alt="OpenERP Logo" title="OpenERP Logo" width="190" height="46" class="size-full wp-image-2815 alignright" /></a></p>
<h3>Introduction</h3>
<p>Welcome to the latest of our very popular OpenERP installation &#8220;How Tos&#8221;.</p>
<p>The new release of OpenERP 7.0 is a major upgrade and a new Long Term Support release; the <a href="http://v6.openerp.com/node/1272">7.0 Release Notes</a> extend to over 90 pages! The most noticeable change is a <strong>complete re-write</strong> of the User Interface that features a much more modern look and feel.</p>
<p>OpenERP 7.0 is not only better looking and easier to use, it also brings many improvements to the existing feature-set and adds a number of brand new features which extend the scope of the business needs covered by OpenERP. Integration of social network capabilities, integration with Google Docs and LinkedIn, new Contract Management, new Event Management, new Point of Sale, new Address Book, new Fleet Management,&#8230; are only some of the many enhancements in OpenERP 7.0.</p>
<h3>The How To</h3>
<p>Following that introduction, I bet you can&#8217;t wait to get your hands dirty&#8230;</p>
<p>Just one thing before we start: You can simply download a “.deb” package of OpenERP and install that on Ubuntu. Unfortunately that approach doesn’t provide us (<a href="http://www.libertus.co.uk/" title="Libertus Solutions">Libertus Solutions</a>) with enough fine-grained control over where things get installed, and it restricts our flexibility to modify &#038; customise, hence I prefer to do it a slightly more manual way (this install process below should only take about 10-15 minutes once the host machine has been built).</p>
<p>So without further ado here we go:</p>
<h3>Step 1. Build your server</h3>
<p>I install just the bare minimum from the install routine (you may want to install the <code>openssh-server</code> during the install procedure or install subsequently depending on your needs).</p>
<p>After the server has restarted for the first time I install the <code>openssh-server</code> package (so we can connect to it remotely) and <code>denyhosts</code> to add a degree of brute-force attack protection. There are other protection applications available: I’m not saying this one is the best, but it’s one that works and is easy to configure and manage. If you don’t already, it’s also worth looking at setting up key-based ssh access, rather than relying on passwords. This can also help to limit the potential of brute-force attacks. [NB: This isn't a How To on securing your server...]</p>
<p><code>sudo apt-get install openssh-server denyhosts</code></p>
<p>Now make sure your server has all the latest versions &#038; patches by doing an update:</p>
<p><code>sudo apt-get update</code><br />
<code>sudo apt-get dist-upgrade</code></p>
<p>Although not always essential it’s probably a good idea to reboot your server now and make sure it all comes back up and you can login via ssh.</p>
<p>Now we’re ready to start the OpenERP install.</p>
<h3>Step 2. Create the OpenERP user that will own and run the application</h3>
<p><code>sudo adduser --system --home=/opt/openerp --group openerp</code></p>
<p>This is a “system” user. It is there to own and run the application, it isn’t supposed to be a person type user with a login etc. In Ubuntu, a system user gets a UID below 1000, has no shell (it’s actually <code>/bin/false</code>) and has logins disabled. Note that I’ve specified a “home” of <code>/opt/openerp</code>, this is where the OpenERP server code will reside and is created automatically by the command above. The location of the server code is your choice of course, but be aware that some of the instructions and configuration files below may need to be altered if you decide to install to a different location.</p>
<p><em>[Note: If you want to run multiple versions of OpenERP on the same server, the way I do it is to create multiple users with the correct version number as part of the name, e.g. openerp70, openerp61 etc. If you also use this when creating the Postgres users too, you can have full separation of systems on the same server. I also use similarly named home directories, e.g. /opt/openerp70, /opt/openerp61 and config and start-up/shutdown files. You will also need to configure different ports for each instance or else only the first will start.]</em></p>
<p>A question I have been asked a few times is how to run the OpenERP server as the openerp system user from the command line if it has no shell. This can be done quite easily:</p>
<p><code>sudo su - openerp -s /bin/bash</code></p>
<p>This will <code>su</code> your current terminal login to the openerp user (the &#8220;<code>-</code>&#8221; between <code>su</code> and <code>openerp</code> is correct) and use the shell <code>/bin/bash</code>. When this command is run you will be in openerp&#8217;s home directory: <code>/opt/openerp</code>.</p>
<p>When you have done what you need you can leave the openerp user&#8217;s shell by typing <code>exit</code>.</p>
<h3>Step 3. Install and configure the database server, PostgreSQL</h3>
<p><code>sudo apt-get install postgresql</code></p>
<p>Then configure the OpenERP user on postgres:</p>
<p>First change to the postgres user so we have the necessary privileges to configure the database.</p>
<p><code>sudo su - postgres</code></p>
<p>Now create a new database user. This is so OpenERP has access rights to connect to PostgreSQL and to create and drop databases. Remember what your choice of password is here; you will need it later on:</p>
<p><code>createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt openerp</code><br />
<code>Enter password for new role: ********</code><br />
<code>Enter it again: ********</code></p>
<p>Finally exit from the postgres user account:</p>
<p><code>exit</code></p>
<h3>Step 4. Install the necessary Python libraries for the server</h3>
<p><code>sudo apt-get install python-dateutil python-docutils python-feedparser python-gdata \<br />
python-jinja2 python-ldap python-libxslt1 python-lxml python-mako python-mock python-openid \<br />
python-psycopg2 python-psutil python-pybabel python-pychart python-pydot python-pyparsing \<br />
python-reportlab python-simplejson python-tz python-unittest2 python-vatnumber python-vobject \<br />
python-webdav python-werkzeug python-xlwt python-yaml python-zsi</code></p>
<p>With that done, all the dependencies for installing OpenERP 7.0 are now satisfied (note that there are some new packages required since 6.1).</p>
<h3>Step 5. Install the OpenERP server</h3>
<p>I tend to use <code>wget</code> for this sort of thing and I download the files to my home directory.</p>
<p>Make sure you get the latest version of the application: at the time of writing this it’s 7.0. I got the download links from their <a href="http://nightly.openerp.com/7.0/nightly/">download pages</a> (note there are also <code>deb</code>, <code>rpm</code> and <code>exe</code> builds in this area too). There isn&#8217;t a static 7.0 release tarball as such anymore, but there is a nightly build of the 7.0 source tree which should be just as good and will contain patches as and when things get fixed. The link below is to the source tarball for the 7.0 branch.</p>
<p>Note: As an alternative method of getting the code onto your server, <a href="http://www.theopensourcerer.com/2012/12/how-to-install-openerp-7-0-on-ubuntu-12-04-lts/comment-page-1/#comment-64779">Jerome added a very useful comment showing how to get it straight from launchpad.</a> Thanks!</p>
<p><code>wget http://nightly.openerp.com/7.0/nightly/src/openerp-7.0-latest.tar.gz</code></p>
<p>Now install the code where we need it: <code>cd</code> to the <code>/opt/openerp/</code> directory and extract the tarball there.</p>
<p><code>cd /opt/openerp</code><br />
<code>sudo tar xvf ~/openerp-7.0-latest.tar.gz</code></p>
<p>Next we need to change the ownership of all the the files to the OpenERP user and group we created earlier.</p>
<p><code>sudo chown -R openerp: *</code></p>
<p>And finally, the way I have done this is to copy the server directory to something with a simpler name so that the configuration files and boot scripts don’t need constant editing (I called it, rather unimaginatively, server). I started out using a symlink solution, but I found that when it comes to upgrading, it seems to make more sense to me to just keep a copy of the files in place and then overwrite them with the new code. This way you keep any custom or user-installed modules and reports etc. all in the right place.</p>
<p><code>sudo cp -a openerp-7.0 server</code></p>
<p>As an example, should OpenERP 7.0.1 come out soon, I can extract the tarballs into /opt/openerp/ as above. I can do any testing I need, then repeat the copy command so that the modified files will overwrite as needed and any custom modules, report templates and such will be retained. Once satisfied the upgrade is stable, the older 7.0 directories can be removed if wanted.</p>
<p>That’s the OpenERP server software installed. The last steps to a working system is to set up the configuration file and associated boot script so OpenERP starts and stops automatically when the server itself stops and starts.</p>
<h3>Step 6. Configuring the OpenERP application</h3>
<p>The default configuration file for the server (in <code>/opt/openerp/server/install/</code>) is actually very minimal and will, with only one small change work fine so we&#8217;ll simply copy that file to where we need it and change it&#8217;s ownership and permissions:</p>
<p><code>sudo cp /opt/openerp/server/install/openerp-server.conf /etc/<br />
sudo chown openerp: /etc/openerp-server.conf<br />
sudo chmod 640 /etc/openerp-server.conf</code></p>
<p>The above commands make the file owned and writeable only by the openerp user and group and only readable by openerp and root.</p>
<p>To allow the OpenERP server to run initially, you should only need to change one line in this file. Toward to the top of the file change the line <code>db_password = False</code> to the same password you used back in step 3. Use your favourite text editor here. I tend to use nano, e.g. </p>
<p><code>sudo nano /etc/openerp-server.conf</code></p>
<p>One other line we might as well add to the configuration file now, is to tell OpenERP where to write its log file. To complement my suggested location below add the following line to the <code>openerp-server.conf</code> file:</p>
<p><code>logfile = /var/log/openerp/openerp-server.log</code></p>
<p>Once the configuration file is edited and saved, you can start the server just to check if it actually runs.</p>
<p><code>sudo su - openerp -s /bin/bash</code><br />
<code>/opt/openerp/server/openerp-server</code></p>
<p>If you end up with a few lines eventually saying OpenERP is running and waiting for connections then you are all set.</p>
<blockquote>
<p>On my system I noticed the following warning:</p>
<p><code>2012-12-19 11:53:51,613 6586 WARNING ? openerp.addons.google_docs.google_docs: Please install latest gdata-python-client from http://code.google.com/p/gdata-python-client/downloads/list</code></p>
<p>The Ubuntu 12.04 packaged version of the python gdata client library is not quite recent enough, so to install a more up-to-date version I did the following (exit from the openerp user&#8217;s shell if you are still in it first):</p>
<p><code>sudo apt-get install python-pip</code><br />
<code>sudo pip install gdata --upgrade</code></p>
<p>Going back and repeating the commands to start the server resulted in no further warnings</p>
<p><code>sudo su - openerp -s /bin/bash</code><br />
<code>/opt/openerp/server/openerp-server</code></p>
</blockquote>
<p>If there are errors, you&#8217;ll need to go back and find out where the problem is.</p>
<p>Otherwise simply enter <code>CTL+C</code> to stop the server and then <code>exit</code> to leave the openerp user account and go back to your own shell.</p>
<h3>Step 7. Installing the boot script</h3>
<p>For the final step we need to install a script which will be used to start-up and shut down the server automatically and also run the application as the correct user. There is a script you can use in <code>/opt/openerp/server/install/openerp-server.init</code> but this will need a few small modifications to work with the system installed the way I have described above. <a href="http://www.theopensourcerer.com/wp-content/uploads/2012/12/openerp-server">Here’s a link</a> to the one I’ve already modified for 7.0.</p>
<p>Similar to the configuration file, you need to either copy it or paste the contents of this script to a file in <code>/etc/init.d/</code> and call it <code>openerp-server</code>. Once it is in the right place you will need to make it executable and owned by root:</p>
<p><code>sudo chmod 755 /etc/init.d/openerp-server</code><br />
<code>sudo chown root: /etc/init.d/openerp-server</code></p>
<p>In the configuration file there’s an entry for the server’s log file. We need to create that directory first so that the server has somewhere to log to and also we must make it writeable by the openerp user:</p>
<p><code>sudo mkdir /var/log/openerp</code><br />
<code>sudo chown openerp:root /var/log/openerp</code></p>
<h3>Step 8. Testing the server</h3>
<p>To start the OpenERP server type:</p>
<p><code>sudo /etc/init.d/openerp-server start</code></p>
<p>You should now be able to view the logfile and see that the server has started.</p>
<p><code>less /var/log/openerp/openerp-server.log</code></p>
<p>If there are any problems starting the server you need to go back and check. There’s really no point ploughing on if the server doesn’t start…</p>
<div id="attachment_3273" class="wp-caption alignright" style="width: 310px"><a href="http://www.theopensourcerer.com/wp-content/uploads/2012/12/openerp-70-install-1.png"><img src="http://www.theopensourcerer.com/wp-content/uploads/2012/12/openerp-70-install-1-300x135.png" alt="OpenERP 7 Database Management Screen" width="300" height="135" class="size-medium wp-image-3273" /></a><p class="wp-caption-text">OpenERP 7 Database Management Screen</p></div>
<p>If the log file looks OK, now point your web browser at the domain or IP address of your OpenERP server (or localhost if you are on the same machine) and use port 8069. The url will look something like this:</p>
<p><code>http://IP_or_domain.com:8069</code></p>
<p>What you should see is a screen like this one (it is the Database Management Screen because you have no OpenERP databases yet):</p>
<div class="clear"></div>
<p>What I do recommend you do at this point is to change the super admin password to something nice and strong (Click the &#8220;Password&#8221; menu). By default this password is just &#8220;admin&#8221; and knowing that, a user can create, backup, restore and <strong>drop</strong> databases! This password is stored in <em>plain text</em> in the <code>/etc/openerp-server.conf</code> file; <em>hence why we restricted access to just openerp and root</em>. When you change and save the new password the <code>/etc/openerp-server.conf</code> file will be re-written and will have a lot more options in it.</p>
<p>Now it’s time to make sure the server stops properly too:</p>
<p><code>sudo /etc/init.d/openerp-server stop</code></p>
<p>Check the logfile again to make sure it has stopped and/or look at your server’s process list.</p>
<h3>Step 9. Automating OpenERP startup and shutdown</h3>
<p>If everything above seems to be working OK, the final step is make the script start and stop automatically with the Ubuntu Server. To do this type:</p>
<p><code>sudo update-rc.d openerp-server defaults</code></p>
<p>You can now try rebooting you server if you like. OpenERP should be running by the time you log back in.</p>
<p>If you type <code>ps aux | grep openerp</code> you should see a line similar to this:</p>
<p><code>openerp 1491 0.1 10.6 207132 53596 ?  Sl  22:23  0:02 python /opt/openerp/server/openerp-server -c /etc/openerp-server.conf</code></p>
<p>Which shows that the server is running. And of course you can check the logfile or visit the server from your web browser too.</p>
<div id="attachment_3276" class="wp-caption alignright" style="width: 310px"><a href="http://www.theopensourcerer.com/wp-content/uploads/2012/12/openerp-70-install-2.png"><img src="http://www.theopensourcerer.com/wp-content/uploads/2012/12/openerp-70-install-2-300x142.png" alt="OpenERP 70 Main Setup Screen" width="300" height="142" class="size-medium wp-image-3276" /></a><p class="wp-caption-text">OpenERP 70 Main Setup Screen</p></div>
<p>That&#8217;s it! Next I would suggest you create a new database filling in the fields as desired. Once the database is initialised, you will be directed straight to the new main configuration screen which gives you a fell for the new User Interface in OpenERP 7 and shows you how easy it is to set up a basic system.</p>
<div class="clear"></div>
]]></content:encoded>
			<wfw:commentRss>http://www.theopensourcerer.com/2012/12/how-to-install-openerp-7-0-on-ubuntu-12-04-lts/feed/</wfw:commentRss>
		<slash:comments>243</slash:comments>
		</item>
		<item>
		<title>She sells sea shells</title>
		<link>http://www.theopensourcerer.com/2012/12/she-sells-sea-shells/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=she-sells-sea-shells</link>
		<comments>http://www.theopensourcerer.com/2012/12/she-sells-sea-shells/#comments</comments>
		<pubDate>Thu, 20 Dec 2012 00:23:04 +0000</pubDate>
		<dc:creator>Alan Bell</dc:creator>
				<category><![CDATA[FLOSS in the news]]></category>

		<guid isPermaLink="false">http://www.theopensourcerer.com/?p=3294</guid>
		<description><![CDATA[Unity isn&#8217;t the only desktop environment that Ubuntu has. There are many and as they said, Unity is a shell for Gnome but it is not Gnome-Shell. I have been using Unity for a few years now and figured I would have a bit of a play with Gnome Shell for a bit. It is [...]]]></description>
				<content:encoded><![CDATA[<p>Unity isn&#8217;t the only desktop environment that Ubuntu has. There are many and as they said, Unity is a shell for Gnome but it is not Gnome-Shell. I have been using Unity for a few years now and figured I would have a bit of a play with Gnome Shell for a bit. It is very easy to install, on Ubuntu clicking here: <a href="apt:gnome-shell">gnome-shell</a> will with a bit of luck set it up for you. At the lightdm login screen you can then select gnome shell from the list of desktops and you are done.</p>
<p>Shell has two modes, normal and overview, and you get to the overview mode by hitting the super key (that is the one with the anticompetitive Microsoft advert on it in all probability). Overview mode allows you to see a launcher on the left (a lot like the unity launcher) and a workspace switcher on the right which flips workspaces for your primary monitor only, secondary monitor stays static, which actually works rather well for me, I prefer the 1 dimensional list of workspaces to the 2&#215;2 grid that unity has by default. Also in overview mode at the bottom of the screen is a notification area, where you can see notifications that have happened, I like this too. Notifications seem to have a good balance between being ephemeral and reviewable, plus when you click on notifications in shell you actually get to the thing that made them &#8211; so you get a notification about an email and decide to go read it, click the notification and you activate Thunderbird rather than having to go and find it yourself. The menu bar  has cool looking speech bubble menus on the indicators and best of all it has an accessibility indicator in the menu bar so it is easy to turn on the various interesting assitive tools we have.  There isn&#8217;t a global menu which is great, after two years of using it I never really understood the benefit or got used to having the menu in a different place to the thing it belongs to. Overall it seems quite polished, quite productive to use and really rather pleasant.</p>
<p>So this is all rather fun, but is there cool stuff I am missing out on? I can see the HUD has gone, and the dash with it&#8217;s lenses and omni-global super search. Or are they? Gnome shell has extensions <a href="https://extensions.gnome.org/">https://extensions.gnome.org/</a> and they can do rather a lot. I haven&#8217;t seen a HUD extension yet, but I think that would be entirely possible. As for Lenses, well yes, they are absolutely there, have a look at the <a href="https://extensions.gnome.org/extension/512/wikipedia-search-provider/">Wikipedia search provider</a>. You type stuff in overview mode and as you type it searches both your local applications and Wikipedia, returning article summaries that you can click on to open them fully in the browser. When running gnome-shell you can install the extension right from that web page with a little slider control, it then automatically downloads (into ~/.local/share/gnome-shell/extensions) and starts working, no sudo access required as it is just your session, and you opted into it personally as these are not installed system-wide (you probably can install them system-wide by putting them somewhere else). They are written in Javascript and have quite a lot of control over the user interface and can do all kinds of things, in fact looking at the capabilities of extensions it strikes me that pretty much all of the Unity features could be re-implemented as gnome-shell extensions. Right now I am mostly interested in extending the search provider area and the overlap of that with lenses. I want to see if the gnome-shell approach has the same problems as Unity with regards to privacy or different ones. I have been doing a bit of tinkering and in the next post I should have something to show.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theopensourcerer.com/2012/12/she-sells-sea-shells/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Privacy is hard. Lets go shopping!</title>
		<link>http://www.theopensourcerer.com/2012/12/privacy-is-hard-lets-go-shopping/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=privacy-is-hard-lets-go-shopping</link>
		<comments>http://www.theopensourcerer.com/2012/12/privacy-is-hard-lets-go-shopping/#comments</comments>
		<pubDate>Wed, 19 Dec 2012 21:55:39 +0000</pubDate>
		<dc:creator>Alan Bell</dc:creator>
				<category><![CDATA[FLOSS in the news]]></category>

		<guid isPermaLink="false">http://www.theopensourcerer.com/?p=3290</guid>
		<description><![CDATA[It is possible that you have read some stuff about the Ubuntu shopping lens recently. Unity and lenses are pretty cool, it kind of gives one place to search for all kinds of stuff, and you plug in additional search engines to throw your query at. So you might search for a word and find [...]]]></description>
				<content:encoded><![CDATA[<p>It is possible that you have read some stuff about the Ubuntu shopping lens recently. Unity and lenses are pretty cool, it kind of gives one place to search for all kinds of stuff, and you plug in additional search engines to throw your query at. So you might search for a word and find an application, some local files, some wikipedia articles, a file in a document management system and some products on Amazon that relate to your search terms. A kind of super dooper omni-global search for things as well as web pages. Some people are concerned that searching for things means you have to send your search terms about all over the place, you can&#8217;t truly anonymously just search for stuff, you have to tell these various search engines what you are looking for &#8211; and if you are using an omni-global super search that means that search terms might go to inappropriate places.</p>
<div class="wp-caption alignright" style="width: 170px"><a href="http://www.amazon.co.uk/gp/product/B003QI99FK/ref=as_li_tf_il?ie=UTF8&amp;tag=theopesou-21&amp;linkCode=as2&amp;camp=1634&amp;creative=6738&amp;creativeASIN=B003QI99FK"><img style="border: 0px;" alt="Socks" src="http://ws.assoc-amazon.co.uk/widgets/q?_encoding=UTF8&amp;Format=_SL160_&amp;ASIN=B003QI99FK&amp;MarketPlace=GB&amp;ID=AsinImage&amp;WS=1&amp;tag=theopesou-21&amp;ServiceVersion=20070822" width="160" height="109" border="0" /></a><p class="wp-caption-text">There they are!</p></div>
<p><img style="border: none !important; margin: 0px !important;" alt="" src="http://www.assoc-amazon.co.uk/e/ir?t=theopesou-21&amp;l=as2&amp;o=2&amp;a=B003QI99FK" width="1" height="1" border="0" />Imagine you are searching for your socks, this is like looking in a drawer that normally contains socks and at the same time phoning up all your friends and asking them if they have seen your socks anywhere. This is not ideal and when people started noticing this (after about a year of it having this behaviour &#8211; people only <strong>noticed</strong> when there was obvious money involved) a switch was added to &#8220;implement privacy&#8221;. It was a rush job, nobody is arguing with that, and it satisfied most people at first glance. There is now a switch in the privacy controls that can be flipped to turn off online searches. Sounds good right? Well diving a little deeper this just sets a flag, and the individual search scopes (the things that put results in the lenses) have to be modified to check for that flag and not go searching. To stretch our sock analogy this is like contacting each of your friends individually and saying &#8220;when I set this flag, and phone you, please just hang up on me&#8221;. If you acquire a new friend you have to remember to tell them this important condition of friendship.</p>
<p>Now if you want to ask each of your friends &#8220;have you got my Justin Beiber CD?&#8221; you have a problem, because they will just hang up on you. So you have to unflip the flag to perform that search &#8211; your friends are entirely useless with the flag set because they will just hang up on you &#8211; or they will ignore the flag and might end up spying on your morning sock related searches if you accidentally phone them. You do still have the option of doing a focussed lens specific search rather than using the home lens omni-global everywhere search. Using lens specific searches you can &#8220;search in my sock drawer&#8221; or &#8220;ask that friend if they have seen my socks&#8221; without other friends finding out about your sock related issues.</p>
<p>A lot of people got hung up over whether the shopping lens should be opt in or opt out. This is a bogus thing to get hung up about, the problem isn&#8217;t the default setting, the problem is that it isn&#8217;t granular enough. Lets say you install the shopping lens and opt-in to online searches. Awesome, you can now have lots of fun purchasing toasters and shoes and better CDs than that Justin Beiber one that you lent to someone or other. Now lets say you install the rather fine <a href="https://launchpad.net/unity-scope-gdrive">Google Docs lens</a> you would expect that to be opt-in too right? Well, bit late, sorry you opted in to online searches already and there is no more fine grained control (as it happens the Google Docs lens is one of those friends that <a href="http://pad.lv/1092279" target="_blank">doesn&#8217;t know about your flag</a> and it totally ignores it and picks up the phone).</p>
<p>So, there are issues, the developers know about them and they are a clever bunch, I am sure that they will come up with a more considered and comprehensive approach to this by the next version of Ubuntu. In the mean time I am not particularly comfortable writing lenses because they either have to depend on all other online search lenses being turned on, or they have to ignore the flag. Both options kind of suck, so I have been exploring other interesting things that are similar to lenses, one of which is the topic of my next post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theopensourcerer.com/2012/12/privacy-is-hard-lets-go-shopping/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Actions from Ubuntu UDS-R</title>
		<link>http://www.theopensourcerer.com/2012/11/actions-from-ubuntu-uds-r/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=actions-from-ubuntu-uds-r</link>
		<comments>http://www.theopensourcerer.com/2012/11/actions-from-ubuntu-uds-r/#comments</comments>
		<pubDate>Thu, 01 Nov 2012 17:16:56 +0000</pubDate>
		<dc:creator>Alan Bell</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.theopensourcerer.com/?p=3247</guid>
		<description><![CDATA[This week was the Ubuntu Developer Summit in Copenhagen, this is kind of an internal series of workshops, but as Ubuntu is an open project it isn&#8217;t a closed doors event. Anyone can attend in person, some people are sponsored by Canonical to attend. Others (like me this time) can follow along remotely via live [...]]]></description>
				<content:encoded><![CDATA[<p>This week was the Ubuntu Developer Summit in Copenhagen, this is kind of an internal series of workshops, but as Ubuntu is an open project it isn&#8217;t a closed doors event. Anyone can attend in person, some people are sponsored by Canonical to attend. Others (like me this time) can follow along remotely via live video and audio streams and IRC talk back to the workshop rooms. The full schedule was <a href="http://summit.ubuntu.com/uds-r">here</a>, and the proceedings of each session are recorded on an Etherpad page. I wrote some scripts to download all the text of these pages and scoop out the action items and you can find that <a href="http://people.ubuntu.com/~alanbell/uds-r/actions.html">over here</a>. These will all get processed and end up on <a href="http://status.ubuntu.com/ubuntu-raring/">status.ubuntu.com</a> as pretty burndown charts for ongoing tracking, but this is a quick and dirty list of all of them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theopensourcerer.com/2012/11/actions-from-ubuntu-uds-r/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Time for an Upgrade</title>
		<link>http://www.theopensourcerer.com/2012/10/time-for-an-upgrade/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=time-for-an-upgrade</link>
		<comments>http://www.theopensourcerer.com/2012/10/time-for-an-upgrade/#comments</comments>
		<pubDate>Sat, 27 Oct 2012 16:12:03 +0000</pubDate>
		<dc:creator>Alan Bell</dc:creator>
				<category><![CDATA[Libertus]]></category>
		<category><![CDATA[Personal Stuff]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.theopensourcerer.com/?p=3243</guid>
		<description><![CDATA[The Ubuntu UK Local Team allocation of CDs arrived yesterday and as usual these are available for free to anyone who wants one in the UK. Just send me an SAE following the procedure here and please please try to put enough postage on it, I get bored of walking to the post office to [...]]]></description>
				<content:encoded><![CDATA[<p>The Ubuntu UK Local Team allocation of CDs arrived yesterday and as usual these are available for free to anyone who wants one in the UK. Just send me an SAE following the procedure <a href="http://ubuntu-uk.org/free-cds/">here</a> and please please try to put enough postage on it, I get bored of walking to the post office to pay the fine.</p>
<p>If you want several of them to hand out at an event then please get in touch and we can sort that out.</p>
<p>As usual there is one special CD that gets upgraded each release, the one my chickens peck at! They were using Ubuntu Server 12.04 LTS before, but today I upgraded them to Ubuntu Server 12.10 the Quantal Qetzal. I think they were pleased at the bird themed code name and they have been getting quite familiar with the command line over the last few months. I tested the retired 12.04 CD and it still works great in a computer after washing the muck off it.</p>
<div class="wp-caption alignnone" style="width: 569px"><img title="12.10" src="https://lh5.googleusercontent.com/-xT2vjRLCPv8/UIwGdjbvDWI/AAAAAAAADb0/evoQTsWDOGI/s559/IMG_20121027_164601.jpg" alt="" width="559" height="419" /><p class="wp-caption-text">Would you put that in your chicken run?</p></div>
<div class="wp-caption alignnone" style="width: 321px"><img title="12.04 LTS" src="https://lh6.googleusercontent.com/-sZBGog3Yvqw/UIwGdvrBoAI/AAAAAAAADb0/aowdazy17NU/s415/IMG_20121027_164522.jpg" alt="" width="311" height="415" /><p class="wp-caption-text">It might have Long Term Support, but would you put it in your laptop?</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.theopensourcerer.com/2012/10/time-for-an-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->