<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Piotr Jankowski</title>
	<atom:link href="http://jankowskipiotr.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://jankowskipiotr.wordpress.com</link>
	<description>web + software + linux + technology</description>
	<lastBuildDate>Thu, 26 Jan 2012 06:59:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='jankowskipiotr.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Piotr Jankowski</title>
		<link>http://jankowskipiotr.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://jankowskipiotr.wordpress.com/osd.xml" title="Piotr Jankowski" />
	<atom:link rel='hub' href='http://jankowskipiotr.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Buying music on the Internet</title>
		<link>http://jankowskipiotr.wordpress.com/2012/01/25/buying-music-on-the-internet/</link>
		<comments>http://jankowskipiotr.wordpress.com/2012/01/25/buying-music-on-the-internet/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 20:28:20 +0000</pubDate>
		<dc:creator>jankowskipiotr</dc:creator>
				<category><![CDATA[personal]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://jankowskipiotr.wordpress.com/?p=217</guid>
		<description><![CDATA[Since Lucid Lynx I use Ubuntu One Music Store to buy music on the Internet. Although I had some problems at the beginning now I&#8217;m happy with the service. Still, I can&#8217;t find all the music I would like to and I consider the prices a little too high (comparing to Polish earnings) but the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jankowskipiotr.wordpress.com&amp;blog=4434739&amp;post=217&amp;subd=jankowskipiotr&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Since <a href="http://jankowskipiotr.wordpress.com/2010/05/15/lucid-lynx-is-here/">Lucid Lynx</a> I use <a href="https://one.ubuntu.com/music/">Ubuntu One Music Store</a> to buy music on the Internet.</p>
<p>Although I had some <a href="http://jankowskipiotr.wordpress.com/2010/05/15/lucid-lynx-is-here/">problems</a> at the beginning now I&#8217;m happy with the service. Still, I can&#8217;t find all the music I would like to and I consider the prices a little too high (comparing to Polish earnings) but the number of available tracks and artists grows constantly and buying one or two mp3s in a month is affordable.</p>
<p><a href="http://jankowskipiotr.files.wordpress.com/2012/01/ubuntu_one.png"><img src="http://jankowskipiotr.files.wordpress.com/2012/01/ubuntu_one.png?w=510&#038;h=231" alt="Ubuntu One Music Store -- no Metallica" title="Ubuntu One Music Store -- no Metallica" width="510" height="231" class="aligncenter size-full wp-image-221" /></a></p>
<p>Recently I noticed that also Amazon store was integrated with Banshee. I was really kindly surprised when I found in the Amazon store music that is not available in Ubuntu One Music Store. I picked a track and was about to pay when a nasty screen told me they don&#8217;t sell it outside the US.</p>
<p><a href="http://jankowskipiotr.files.wordpress.com/2012/01/amazon.png"><img src="http://jankowskipiotr.files.wordpress.com/2012/01/amazon.png?w=510&#038;h=404" alt="Amazon -- outside US" title="Amazon -- outside US" width="510" height="404" class="aligncenter size-full wp-image-220" /></a></p>
<p>Is my money worse? Don&#8217;t I deserve that goods? I mean, what the hell is wrong? I know it&#8217;s not Amazon&#8217;s fault. The zone/region music distribution system has nothing to do with people&#8217;s need today. I want to spend my money and I can&#8217;t! That makes no sense to me.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jankowskipiotr.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jankowskipiotr.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jankowskipiotr.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jankowskipiotr.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jankowskipiotr.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jankowskipiotr.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jankowskipiotr.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jankowskipiotr.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jankowskipiotr.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jankowskipiotr.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jankowskipiotr.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jankowskipiotr.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jankowskipiotr.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jankowskipiotr.wordpress.com/217/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jankowskipiotr.wordpress.com&amp;blog=4434739&amp;post=217&amp;subd=jankowskipiotr&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jankowskipiotr.wordpress.com/2012/01/25/buying-music-on-the-internet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">jankowskipiotr</media:title>
		</media:content>

		<media:content url="http://jankowskipiotr.files.wordpress.com/2012/01/ubuntu_one.png" medium="image">
			<media:title type="html">Ubuntu One Music Store -- no Metallica</media:title>
		</media:content>

		<media:content url="http://jankowskipiotr.files.wordpress.com/2012/01/amazon.png" medium="image">
			<media:title type="html">Amazon -- outside US</media:title>
		</media:content>
	</item>
		<item>
		<title>Removing indicator-appmenu package from Unity</title>
		<link>http://jankowskipiotr.wordpress.com/2012/01/05/removing-indicator-appmenu-package-from-unity/</link>
		<comments>http://jankowskipiotr.wordpress.com/2012/01/05/removing-indicator-appmenu-package-from-unity/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 18:10:11 +0000</pubDate>
		<dc:creator>jankowskipiotr</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://jankowskipiotr.wordpress.com/?p=209</guid>
		<description><![CDATA[In Ubuntu with Unity just type: sudo apt-get remove indicator-appmenu logout and log in again. Your life will become&#8230; normal<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jankowskipiotr.wordpress.com&amp;blog=4434739&amp;post=209&amp;subd=jankowskipiotr&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In Ubuntu with Unity just type:</p>
<p><code>sudo apt-get remove indicator-appmenu</code></p>
<p>logout and log in again. Your life will become&#8230; normal <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jankowskipiotr.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jankowskipiotr.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jankowskipiotr.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jankowskipiotr.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jankowskipiotr.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jankowskipiotr.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jankowskipiotr.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jankowskipiotr.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jankowskipiotr.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jankowskipiotr.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jankowskipiotr.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jankowskipiotr.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jankowskipiotr.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jankowskipiotr.wordpress.com/209/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jankowskipiotr.wordpress.com&amp;blog=4434739&amp;post=209&amp;subd=jankowskipiotr&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jankowskipiotr.wordpress.com/2012/01/05/removing-indicator-appmenu-package-from-unity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">jankowskipiotr</media:title>
		</media:content>
	</item>
		<item>
		<title>E-mail anonymization in Firebird</title>
		<link>http://jankowskipiotr.wordpress.com/2011/09/29/e-mail-anonymization-in-firebird/</link>
		<comments>http://jankowskipiotr.wordpress.com/2011/09/29/e-mail-anonymization-in-firebird/#comments</comments>
		<pubDate>Thu, 29 Sep 2011 17:12:59 +0000</pubDate>
		<dc:creator>jankowskipiotr</dc:creator>
				<category><![CDATA[firebird]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://jankowskipiotr.wordpress.com/?p=178</guid>
		<description><![CDATA[I worked recently with Firebird database. I want to share my experience in one task I had to do: anonymization of e-mails. To anonymize all e-mails in a table run in Firebird one of the following SQL expressions depending on what output is desired. Let&#8217;s assume we have two tables MEMBRE and SOCIETE (in French: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jankowskipiotr.wordpress.com&amp;blog=4434739&amp;post=178&amp;subd=jankowskipiotr&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I worked recently with Firebird database. I want to share my experience in one task I had to do: anonymization of e-mails.</p>
<p>To anonymize <strong>all</strong> e-mails in a table run in Firebird <strong>one</strong> of the following SQL expressions depending on what output is desired.</p>
<p>Let&#8217;s assume we have two tables <strong>MEMBRE</strong> and <strong>SOCIETE</strong> (in French: <i>member</i> and <i>company</i>). Both have an <i>email</i> column. <strong>MEMBRE</strong> has <i>NOT NULL</i> and <i>UNIQUE</i> clauses on that column. <strong>SOCIETE</strong> is not restricted.</p>
<p>In my case I wanted to be able to see if e-mails were actually sent to the anonymized addresses. That&#8217;s why I change domain names to <i>@yopmail.com</i>. See <a href="http://www.yopmail.com/" title="www.yopmail.com" target="_blank">www.yopmail.com</a> for more details about the service.</p>
<h3>Scenario 1</h3>
<pre>
update membre set email=substring(email from 1 for position('@' in email)) || 'yopmail.com';

update societe set email=substring(email from 1 for position('@' in email)) || 'yopmail.com' where email is not null and email like '%@%';
</pre>
<p>Will do the following change: <i>john.doe@company.com</i> =&gt; john.doe@yopmail.com</p>
<p>The simplest solution but may cause a data violation error if the same username is used in different domains, e.g. john.doe@company.com and john.doe@societe.fr</p>
<h3>Scenario 2</h3>
<pre>create sequence anonymizator;

update membre set email='mem' || next value for anonymizator || '@yopmail.com';

update societe set email='soc' || next value for anonymizator || '@yopmail.com' where email is not null and email like '%@%';

drop sequence anonymizator;
</pre>
<p>Will do the following change: <i>john.doe@company.com</i> =&gt; mem1@yopmail.com</p>
<p>Requires a sequence which is created before and deleted after the operation. &#8217;1&#8242; in the result address will be increased for subsequent rows. Completely erases any information of previous e-mail value so it really anonymizes data.</p>
<h3>Scenario 3</h3>
<pre>
update membre set email=substring(email from 1 for position('@' in email)-1) || '_' || substring(email from position('@' in email)+1) || '@yopmail.com';

update societe set email=substring(email from 1 for position('@' in email)-1) || '_' || substring(email from position('@' in email)+1) || '@yopmail.com' where email is not null and email like '%@%';
</pre>
<p>Will do the following change: <i>john.doe@company.com</i> =&gt; john.doe_company.com@yopmail.com</p>
<p>The most sophisticated but keeps information of initial e-mail value. So doesn&#8217;t really anonymize but successfully prevents sending e-mail messages to affected addresses.</p>
<p><strong>Note:</strong> Anonymizing e-mails may increase its length and therefore may cause an error during execution. When the database replies
<pre>arithmetic exception, numeric overflow, or string truncation</pre>
<p> it means that a new value probably exceeds the length of field being changed. The table can be changed with this SQL:</p>
<pre>
alter table membre alter column email type varchar(100);
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jankowskipiotr.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jankowskipiotr.wordpress.com/178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jankowskipiotr.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jankowskipiotr.wordpress.com/178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jankowskipiotr.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jankowskipiotr.wordpress.com/178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jankowskipiotr.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jankowskipiotr.wordpress.com/178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jankowskipiotr.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jankowskipiotr.wordpress.com/178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jankowskipiotr.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jankowskipiotr.wordpress.com/178/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jankowskipiotr.wordpress.com/178/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jankowskipiotr.wordpress.com/178/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jankowskipiotr.wordpress.com&amp;blog=4434739&amp;post=178&amp;subd=jankowskipiotr&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jankowskipiotr.wordpress.com/2011/09/29/e-mail-anonymization-in-firebird/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">jankowskipiotr</media:title>
		</media:content>
	</item>
		<item>
		<title>Unity</title>
		<link>http://jankowskipiotr.wordpress.com/2011/09/27/unity/</link>
		<comments>http://jankowskipiotr.wordpress.com/2011/09/27/unity/#comments</comments>
		<pubDate>Tue, 27 Sep 2011 19:26:32 +0000</pubDate>
		<dc:creator>jankowskipiotr</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://jankowskipiotr.wordpress.com/?p=166</guid>
		<description><![CDATA[I didn&#8217;t post about Ubuntu for a long time. Today I decided to break the silence. I&#8217;ll explain later what made me do that. The reason why I didn&#8217;t say a word about Ubuntu is Unity. This new default interface in Ubuntu brought many controversies to the distro&#8217;s community. My first impression was: &#8220;Ok, we&#8217;ve [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jankowskipiotr.wordpress.com&amp;blog=4434739&amp;post=166&amp;subd=jankowskipiotr&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I didn&#8217;t post about Ubuntu for a long time. Today I decided to break the silence. I&#8217;ll explain later what made me do that.</p>
<p>The reason why I didn&#8217;t say a word about Ubuntu is Unity. This new default interface in Ubuntu brought many controversies to the distro&#8217;s community. My first impression was: &#8220;Ok, we&#8217;ve got something new. It looks odd by we need to move forward. Win95 looked strange in 1995 but it change our way of interacting with machines&#8221;. I gave it a chance despite of the fact that most of blog entries were somewhere between &#8220;I don&#8217;t like Unity&#8221; and &#8220;I hate it&#8221;. I used Unity since it was set the default UI in Ubuntu. I wanted to post about Unity once I have a deep enough insight in this UI.</p>
<p>Yesterday after a subsequent &#8220;minor annoyance&#8221; in Unity I switched to Gnome. And guess what? Suddenly I felt&#8230; just better. But to be honest here are my remarks on Unity.</p>
<p><strong>The good</strong><br />
Lenses! I like it very much and I already miss it after switching to Gnome. It&#8217;s really a very useful feature.</p>
<p><strong>The bad</strong><br />
Slow! Unity is just much slower than Gnome. And to be honest &#8212; I realized that speed is the most important reason why I use Linux on daily basis. But with Unity I felt like I stepped one step back.</p>
<p>Hiding a window top panel. I find this feature really frustrating. For example &#8212; when I have two windows in Gnome side by side I can directly select an option in the second window&#8217;s menu when the first window has focus. With Unity it require one click more. It&#8217;s especially annoying when you want to close a window. First you need to pass focus to it and then close it. I just can&#8217;t stand it. What&#8217;s even worse &#8212; this feature is buggy. E.g. WINE windows incorrectly receive mouse position when the window is maximized. It&#8217;s a nail in the coffin.</p>
<p>Limited configuration of sidebar. I like the sidebar it&#8217;s functional and&#8230; pretty <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  But I missed some configuration options. E.g. how to change some icons positions? For example, I want partitions to be higher.</p>
<p><strong>The ugly</strong><br />
Bugs! Bugs! And more bugs! They are not &#8220;critical&#8221; but highly annoying. Just to give some examples of bugs that happened to me:</p>
<ul>
<li>invisible window &#8212; covers some part of the screen and prevents clicking anything under it. Nice, huh?</li>
<li>hanging &#8212; Unity just hangs from time to time.</li>
<li>exploding theme &#8212; not every time but quite often any theme, be it Ambiance or Radiance or any other, explodes and switches to a gray default theme. Icons, top panel and UI other element becomes &#8220;default&#8221; but windows keep their Ambiance decoration.</li>
<li>disappearing icons in sidebar &#8212; as I said I like the sidebar but sometime some icons disappear. E.g. &#8220;applications&#8221; and &#8220;places&#8221; (or whatever it&#8217;s called &#8212; I don&#8217;t remember).</li>
</ul>
<p>That was enough for me. I switched back to Gnome and I&#8217;m happy. I wish all the best to Unity. I hope some issues will be solved in the incoming release. But in Unity 11.04? &#8212; No, thanks.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jankowskipiotr.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jankowskipiotr.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jankowskipiotr.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jankowskipiotr.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jankowskipiotr.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jankowskipiotr.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jankowskipiotr.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jankowskipiotr.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jankowskipiotr.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jankowskipiotr.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jankowskipiotr.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jankowskipiotr.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jankowskipiotr.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jankowskipiotr.wordpress.com/166/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jankowskipiotr.wordpress.com&amp;blog=4434739&amp;post=166&amp;subd=jankowskipiotr&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jankowskipiotr.wordpress.com/2011/09/27/unity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">jankowskipiotr</media:title>
		</media:content>
	</item>
		<item>
		<title>MySQL anonymize e-mail</title>
		<link>http://jankowskipiotr.wordpress.com/2011/07/26/mysql-anonymize-e-mail/</link>
		<comments>http://jankowskipiotr.wordpress.com/2011/07/26/mysql-anonymize-e-mail/#comments</comments>
		<pubDate>Tue, 26 Jul 2011 09:29:00 +0000</pubDate>
		<dc:creator>jankowskipiotr</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://jankowskipiotr.wordpress.com/?p=144</guid>
		<description><![CDATA[Working with MySQL I encountered a task I&#8217;ve never faced before. I had to anonymize (mask) e-mail addresses in a table. In first attempt I googled this article on StackOverflow. That give me a feeling that some functions useful for this issue should be already implemented in MySQL. I was right. I found string functions [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jankowskipiotr.wordpress.com&amp;blog=4434739&amp;post=144&amp;subd=jankowskipiotr&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Working with MySQL I encountered a task I&#8217;ve never faced before. I had to anonymize (mask) e-mail addresses in a table. In first attempt I googled this <a href="http://stackoverflow.com/questions/5058611/mysql-data-masking">article on StackOverflow</a>. That give me a feeling that some functions useful for this issue should be already implemented in MySQL. I was right. I found <a href="http://dev.mysql.com/doc/refman/5.0/en/string-functions.html">string functions documentation</a> and finally I ended up with the following solution:</p>
<p><code>select concat(substring_index(email, '@', 1), '@yopmail.com') from societe;</code></p>
<p>It changes e-mails from:</p>
<blockquote><p>jean.dupont@yahoo.fr</p></blockquote>
<p>to: </p>
<blockquote><p>jean.dupont@yopmail.com</p></blockquote>
<p>Alternatively, you can change username and leave the string after &#8216;@&#8217;.</p>
<p><code>select concat('user@', substring_index(email, '@', -1)) from societe;</code></p>
<p>And the result is:</p>
<blockquote><p>user@yahoo.fr</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jankowskipiotr.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jankowskipiotr.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jankowskipiotr.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jankowskipiotr.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jankowskipiotr.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jankowskipiotr.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jankowskipiotr.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jankowskipiotr.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jankowskipiotr.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jankowskipiotr.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jankowskipiotr.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jankowskipiotr.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jankowskipiotr.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jankowskipiotr.wordpress.com/144/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jankowskipiotr.wordpress.com&amp;blog=4434739&amp;post=144&amp;subd=jankowskipiotr&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jankowskipiotr.wordpress.com/2011/07/26/mysql-anonymize-e-mail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">jankowskipiotr</media:title>
		</media:content>
	</item>
		<item>
		<title>Ubuntu 10.10</title>
		<link>http://jankowskipiotr.wordpress.com/2010/10/26/ubuntu-10-10/</link>
		<comments>http://jankowskipiotr.wordpress.com/2010/10/26/ubuntu-10-10/#comments</comments>
		<pubDate>Tue, 26 Oct 2010 17:41:40 +0000</pubDate>
		<dc:creator>jankowskipiotr</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://jankowskipiotr.wordpress.com/?p=135</guid>
		<description><![CDATA[The latest Ubuntu was released on 10.10.2010 at 10:10. The numbers look magical but is the latest release really so extraordinary? I doubt. Someone may say that I&#8217;m going to grumble again against Ubuntu. But I&#8217;m not. I simply didn&#8217;t switch to the latest release so I can&#8217;t say anything about it which goes beyond [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jankowskipiotr.wordpress.com&amp;blog=4434739&amp;post=135&amp;subd=jankowskipiotr&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The latest Ubuntu was released on 10.10.2010 at 10:10. The numbers look magical but is the latest release really so extraordinary? I doubt. Someone may say that I&#8217;m going to grumble again against Ubuntu. But I&#8217;m not. I simply didn&#8217;t switch to the latest release so I can&#8217;t say anything about it which goes beyond information from release notes. And this is the first time since, I guess, 2005 when I left a release behind.</p>
<p>Why?<br />
The one reason is that I have to do some stuff using Windows and therefore I use Ubuntu less often these days. The second reason comes from a simple fact that my current Ubuntu 10.04 LTS is stable and causes no problem now. But the ultimate reason is that this release brought literally no new feature that I could be possibly interested in. Let&#8217;s take a closer look at the <a href="https://wiki.ubuntu.com/MaverickMeerkat/ReleaseNotes">release notes</a>.</p>
<h3>Ubuntu Software Center</h3>
<p>Added &#8220;Featured&#8221; and &#8220;What&#8217;s new&#8221; sections, history of installs and removals (sounds promising) and Fluendo DVD player for purchase. Commercial software is something that I really want to see more in the Linux world but for now it&#8217;s rather a curiosity[1]. History of installs might be useful but not a necessary feature.</p>
<h3>Ubuntu font</h3>
<p>Wow. The Ubuntu brand grows. But, frankly, who will update his/her release up to the latest version because of a new font?</p>
<h3>Installer</h3>
<p>I had no problem with the installer. But if it&#8217;s better, ok &#8211; let it be.</p>
<h3>Ubuntu Desktop Edition</h3>
<p>New GNOME &#8212; does it have any important changes to me? I don&#8217;t know but I suppose nothing &#8220;visible&#8221;.</p>
<p>New Evolution &#8212; I don&#8217;t use it.</p>
<p>Shotwell has replaced F-Spot &#8212; I use neither of them.</p>
<p>Updated Gwibber &#8212; what the hell is that? I don&#8217;t use it.</p>
<p>Upgraded sound menu &#8212; would I notice a difference?</p>
<p>Updated Ubuntu One integration &#8212; good but again, would I notice any difference?</p>
<p>And that&#8217;s all for changes that might be interesting for me. Might be, but are not. I&#8217;ll stay with 10.4 but it doesn&#8217;t mean that I&#8217;m not interested in changes in Ubuntu. Quite the contrary! I will, indeed, carefully observe the way the distribution goes.</p>
<p>[1] &#8212; I called a commercial piece of software in Linux a curiosity because it&#8217;s the first time I see it in a software manager such as Ubuntu Software Center.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jankowskipiotr.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jankowskipiotr.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jankowskipiotr.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jankowskipiotr.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jankowskipiotr.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jankowskipiotr.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jankowskipiotr.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jankowskipiotr.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jankowskipiotr.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jankowskipiotr.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jankowskipiotr.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jankowskipiotr.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jankowskipiotr.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jankowskipiotr.wordpress.com/135/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jankowskipiotr.wordpress.com&amp;blog=4434739&amp;post=135&amp;subd=jankowskipiotr&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jankowskipiotr.wordpress.com/2010/10/26/ubuntu-10-10/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">jankowskipiotr</media:title>
		</media:content>
	</item>
		<item>
		<title>Poland and U.S.</title>
		<link>http://jankowskipiotr.wordpress.com/2010/10/25/poland-and-usa/</link>
		<comments>http://jankowskipiotr.wordpress.com/2010/10/25/poland-and-usa/#comments</comments>
		<pubDate>Mon, 25 Oct 2010 21:41:13 +0000</pubDate>
		<dc:creator>jankowskipiotr</dc:creator>
				<category><![CDATA[personal]]></category>

		<guid isPermaLink="false">http://jankowskipiotr.wordpress.com/?p=130</guid>
		<description><![CDATA[Today I&#8217;ve bumped into an article at CNN.com about shrinking role of U.S. in Poland. Its author briefly presents what seemed obvious to me (and other people in Poland). Nevertheless, the article is worth reading to get to know the point of view of an American. Enjoy reading. U.S. role in Poland shrinking<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jankowskipiotr.wordpress.com&amp;blog=4434739&amp;post=130&amp;subd=jankowskipiotr&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I&#8217;ve bumped into an article at CNN.com about shrinking role of U.S. in Poland. Its author briefly presents what seemed obvious to me (and other people in Poland). Nevertheless, the article is worth reading to get to know the point of view of an American.</p>
<p>Enjoy reading.</p>
<p><a href="http://www.cnn.com/2010/OPINION/08/16/Frum.poland.us/index.html">U.S. role in Poland shrinking</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jankowskipiotr.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jankowskipiotr.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jankowskipiotr.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jankowskipiotr.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jankowskipiotr.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jankowskipiotr.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jankowskipiotr.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jankowskipiotr.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jankowskipiotr.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jankowskipiotr.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jankowskipiotr.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jankowskipiotr.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jankowskipiotr.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jankowskipiotr.wordpress.com/130/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jankowskipiotr.wordpress.com&amp;blog=4434739&amp;post=130&amp;subd=jankowskipiotr&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jankowskipiotr.wordpress.com/2010/10/25/poland-and-usa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">jankowskipiotr</media:title>
		</media:content>
	</item>
	</channel>
</rss>
