<?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>Blog.Project13.pl &#187; freedom</title>
	<atom:link href="http://www.blog.project13.pl/index.php/tag/freedom/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.blog.project13.pl</link>
	<description>The Blog of a Coder</description>
	<lastBuildDate>Sun, 05 Feb 2012 02:28:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>[release] maven-git-commit-id-plugin</title>
		<link>http://www.blog.project13.pl/index.php/fun/1174/release-maven-git-commit-id-plugin/</link>
		<comments>http://www.blog.project13.pl/index.php/fun/1174/release-maven-git-commit-id-plugin/#comments</comments>
		<pubDate>Sun, 13 Feb 2011 15:25:18 +0000</pubDate>
		<dc:creator>Ktoso</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[freedom]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[#maven]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[free software]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://www.blog.project13.pl/?p=1174</guid>
		<description><![CDATA[Yup, today I&#8217;m releasing yet another piece of cool free software! It solves a problem we&#8217;ve had at our company, the tester tometimes tested stuff that wasn&#8217;t deployed yet, and the developers thought it was deployed and this caused some weird situations sometimes. Using the plugin I&#8217;ve written, we&#8217;re able to expose &#8220;which version is [...]]]></description>
			<content:encoded><![CDATA[<p>Yup, today I&#8217;m releasing yet another piece of cool free software! It solves a problem we&#8217;ve had at our company, the tester tometimes tested stuff that wasn&#8217;t deployed yet, and the developers thought it was deployed and this caused some weird situations sometimes. Using the plugin I&#8217;ve written, we&#8217;re able to expose &#8220;which version is this?&#8221; using repository information from<strong> git </strong>in our webapps. Yes there are maven plugins that do this, but none of them supported git &#8211; so I wrote my own and hope you guys will find it as useful as we do!</p>
<p><strong>UPDATE</strong><br />
The plugin is now available from <strong>Sonatype Nexus</strong>!</p>
<pre>
    <repository>
        <id>sonatype-releases</id>
        <name>Sonatype Releases</name>
        <url>https://oss.sonatype.org/content/repositories/releases/</url>
    </repository>
</pre>
<p><strong>END OF UPDATE</strong></p>
<p>Now I&#8217;ll be a bit lazy and just paste the README I&#8217;ve prepared for <strong><a href="https://github.com/ktoso/maven-git-commit-id-plugin/" target="_blank" onclick="urchinTracker('/outgoing/github.com/ktoso/maven-git-commit-id-plugin/?referer=');">maven-git-commit-id-plugin on github</a></strong>.</p>
<div id="readme">
<div>
<h2>Maven plugin: git-commit-id-plugin</h2>
<p><strong>git-commit-id-plugin</strong> is a plugin quite similar to <a href="https://fisheye.codehaus.org/browse/mojo/tags/buildnumber-maven-plugin-1.0-beta-4" target="_blank" onclick="urchinTracker('/outgoing/fisheye.codehaus.org/browse/mojo/tags/buildnumber-maven-plugin-1.0-beta-4?referer=');">build-number maven plugin</a> for example but as buildnumber only supports svn (which is very sad) and  cvs (which is even more sad, and makes bunnies cry) I had to quickly  develop an git version of such a plugin. For those who don&#8217;t know the  previous plugins, let me explain what this plugin does:</p>
<h3>Sample scenario why this plugin is useful</h3>
<p>If you develop your maven project inside an git repository (which you  hopefully already are docing) you may want to know exactly what changeset is currently deployed online. Why is this useful? Well,  the tester won&#8217;t come to you screaming &#8220;heeey that bug ain&#8217;t fixed&#8221; of  course you&#8217;d reply &#8220;but I fixed it this morning!&#8221; and after some  searching you notice &#8220;oh&#8230; it&#8217;ll be online after the next deployment,  sorry tester&#8230; :-(&#8220;.</p>
<p>This scenario keeps repeating sometimes, thus you can state which  commit fixes/closes the bug, note this in JIRA etc and then the tester  will know if it&#8217;s already online (by the commit date for example).</p>
<h2>Usage</h2>
<h3>Getting the plugin</h3>
<p>I&#8217;ll be trying to get this plugin out to sonatype for others to use if more simply, for now it&#8217;s quickest to just:</p>
<pre><code>  git clone git://github.com/ktoso/maven-git-commit-id-plugin.git maven-git-commit-id-plugin
  cd maven-git-commit-id-plugin
  mvn install
</code></pre>
<p>and you&#8217;re ready to use it ;-) I&#8217;m also thinking about making this  github repo a maven repository, which would make the above step not  needed &#8211; but first let&#8217;s wait if sonatype let me in with this project,  k? ;-)</p>
<h3>Using the plugin</h3>
<p>It&#8217;s really simple to setup this plugin, here&#8217;s a sample pom that you may base your <strong>pom.xml</strong> on:</p>
<pre><code>   &lt;?xml version="1.0" encoding="UTF-8"?&gt;
   &lt;project xmlns="http://maven.apache.org/POM/4.0.0"
            xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
       &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;

       &lt;groupId&gt;pl.project13.maven&lt;/groupId&gt;
       &lt;artifactId&gt;my-git-plugin-sample-app&lt;/artifactId&gt;
       &lt;packaging&gt;war&lt;/packaging&gt;
       &lt;version&gt;0.1&lt;/version&gt;
       &lt;name&gt;my-git-plugin-sample-app&lt;/name&gt;
       &lt;url&gt;http://www.blog.project13.pl&lt;/url&gt;

       &lt;parent/&gt;

       &lt;dependencies /&gt;

       &lt;build&gt;
           &lt;!-- GIT COMMIT ID PLUGIN CONFIGURATION --&gt;
           &lt;resources&gt;
               &lt;resource&gt;
                   &lt;directory&gt;src/main/resources&lt;/directory&gt;
                   &lt;filtering&gt;true&lt;/filtering&gt;
                   &lt;includes&gt;
                       &lt;include&gt;**/*.properties&lt;/include&gt;
                       &lt;include&gt;**/*.xml&lt;/include&gt;
                   &lt;/includes&gt;
               &lt;/resource&gt;
           &lt;/resources&gt;

           &lt;plugins&gt;
               &lt;plugin&gt;
                   &lt;groupId&gt;pl.project13.maven&lt;/groupId&gt;
                   &lt;artifactId&gt;git-commit-id-plugin&lt;/artifactId&gt;
                   &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
                   &lt;executions&gt;
                       &lt;execution&gt;
                           &lt;goals&gt;
                               &lt;goal&gt;revision&lt;/goal&gt;
                           &lt;/goals&gt;
                       &lt;/execution&gt;
                   &lt;/executions&gt;
                   &lt;configuration&gt;
                       &lt;prefix&gt;git&lt;/prefix&gt; &lt;!-- that's the default value --&gt;
                       &lt;dateFormat&gt;dd.MM.yyyy '@' HH:mm:ss z&lt;/dateFormat&gt; &lt;!-- that's the default value --&gt;
                       &lt;verbose&gt;true&lt;/verbose&gt; &lt;!-- false is default for this --&gt;
                       &lt;dotGitDirectory&gt;${project.basedir}/../.git&lt;/dotGitDirectory&gt; &lt;!-- required, you have to specify this path --&gt;
                   &lt;/configuration&gt;
               &lt;/plugin&gt;
               &lt;!-- END OF GIT COMMIT ID PLUGIN CONFIGURATION --&gt;

               &lt;!-- other plugins --&gt;
           &lt;/plugins&gt;
       &lt;/build&gt;
   &lt;/project&gt;
</code></pre>
<p>Based on the above part of a working POM you should be able to figure out the rest, I mean you are a maven user after all&#8230; ;-) Note that the resources filtering is important for this plugin to work, don&#8217;t omit it!</p>
<p>Now you just have to include such a properties file in your project under <code>/src/main/resources</code> (and call it <strong>git.properties</strong> for example) and maven will put the appropriate properties in the placeholders:</p>
<pre><code> git.branch=${git.branch}

 git.build.user.name=${git.build.user.name}
 git.build.user.email=${git.build.user.email}
 git.build.time=${git.build.time}

 git.commit.id=${git.commit.id}
 git.commit.user.name=${git.commit.user.name}
 git.commit.user.email=${git.commit.user.email}
 git.commit.message.full=${git.commit.message.full}
 git.commit.message.short=${git.commit.message.short}
 git.commit.time=${git.commit.time}
</code></pre>
<p>The <code>git</code> prefix may be configured in the plugin declaration above.</p>
<h3>Maven resource filtering + Spring = GitRepositoryState Bean</h3>
<p>You&#8217;ll most probably want to wire these plugins somehow to get easy  access to them during runtime. We&#8217;ll use spring as an example of doing  this. Start out with with adding the above steps to your project, next paste  this <strong>git-bean.xml</strong> into the <code>/src/main/resources/</code> directory (or any other, just adjust the paths later on):</p>
<pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&gt;
&lt;beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"&gt;

    &lt;bean name="gitRepositoryInformation"&gt;
        &lt;property name="branch" value="${git.branch}"/&gt;
        &lt;property name="commitId" value="${git.commit.id}"/&gt;
        &lt;property name="commitTime" value="${git.commit.time}"/&gt;
        &lt;property name="buildUserName" value="${git.build.user.name}"/&gt;
        &lt;property name="buildUserEmail" value="${git.build.user.email}"/&gt;
        &lt;property name="commitMessageFull" value="${git.commit.message.full}"/&gt;
        &lt;property name="commitMessageShort" value="${git.commit.message.short}"/&gt;
        &lt;property name="commitUserName" value="${git.commit.user.name}"/&gt;
        &lt;property name="commitUserEmail" value="${git.commit.user.email}"/&gt;
    &lt;/bean&gt;

&lt;/beans&gt;
</code></pre>
<p>And here&#8217;s the source of the bean we&#8217;re binding here:</p>
<pre><code>package pl.project13.maven.example.git;

import org.codehaus.jackson.annotate.JsonWriteNullProperties;

/**
 * A spring controlled bean that will be injected
 * with properties about the repository state at build time.
 * This information is supplied by my plugin - &lt;b&gt;pl.project13.maven.git-commit-id-plugin&lt;/b&gt;
 *
 * @author Konrad Malawski
 */
@JsonWriteNullProperties(true)
public class GitRepositoryState {
  String branch;                  // =${git.branch}
  String commitId;                // =${git.commit.id}
  String buildUserName;           // =${git.build.user.name}
  String buildUserEmail;          // =${git.build.user.email}
  String buildTime;               // =${git.build.time}
  String commitUserName;          // =${git.commit.user.name}
  String commitUserEmail;         // =${git.commit.user.email}
  String commitMessageFull;       // =${git.commit.message.full}
  String commitMessageShort;      // =${git.commit.message.short}
  String commitTime;              // =${git.commit.time}

  public GitRepositoryState() {
  }

  /* Generate setters and getters here */
}
</code></pre>
<p>The source for it is also on the repo of this plugin. Of course, <em>feel free to drop out the jackson annotation</em> if you won&#8217;t be using it.</p>
<p>The last configuration related thing we need to do is to load up this bean in your appContext, so open up your <strong>applicationContext.xml</strong> or whatever you call it in your project and add these lines in the  section:</p>
<pre><code>&lt;context:property-placeholder location="classpath:*.properties" /&gt;
&lt;import resource="classpath:/git-bean.xml"/&gt;
</code></pre>
<p>Of course, you may adjust the paths and file locations as you please, no problems here&#8230; :-) <em>Now you&#8217;re ready to use your GitRepositoryState Bean!</em> Let&#8217;s create an sample <strong>Spring MVC Controller</strong> to test it out:</p>
<pre><code> @Controller
 @RequestMapping("/git")
 public class GitService extends BaseWebService {

     @Autowired
     GitRepositoryState gitRepoState;

     @RequestMapping("/status")
     public ModelAndView checkGitRevision() throws WebServiceAuthenticationException {
       ServerResponse&lt;GitRepositoryState&gt; response = new ServerResponse&lt;GitRepositoryState&gt;(gitRepoState);
       return createMAV(response);
     }
 }
</code></pre>
<p>Don&#8217;t mind the createMAV and responses stuff, it&#8217;s just example code.  And feel free to use constructor injection, it&#8217;s actually a better idea  ;-)</p>
<p>In the end <em>this is what this service would return</em>:</p>
<pre><code> {
     "branch" : "testing-maven-git-plugin",
     "commitTime" : "06.01.1970 @ 16:16:26 CET",
     "commitId" : "787e39f61f99110e74deed68ab9093088d64b969",
     "commitUserName" : "Konrad Malawski",
     "commitUserEmail" : "konrad.malawski@java.pl",
     "commitMessageFull" : "releasing my fun plugin :-)
                            + fixed some typos
                            + cleaned up directory structure
                            + added license etc",
     "commitMessageShort" : "releasing my fun plugin :-)",
     "buildTime" : "06.01.1970 @ 16:17:53 CET",
     "buildUserName" : "Konrad Malawski",
     "buildUserEmail" : "konrad.malawski@java.pl"
 }
</code></pre>
<p>That&#8217;s all folks! <strong>Happy hacking!</strong></p>
<h2>Configuration details</h2>
<p>Just a short recap of the available parameters&#8230;</p>
<p>Required parameters:</p>
<ul>
<li> <strong>dotGitDirectory</strong> &#8211; (required) the location of your .git  folder. Try to use ${project.basedir} as root for this, and navigate  using ../ to higher up folder to easily use this plugin in multi module  enviroments etc. An example would be: <code>${project.basedir}/../.git</code></li>
</ul>
<p>Optional parameters:</p>
<ul>
<li> <strong>prefix</strong> &#8211; (default: git) is the &#8220;namespace&#8221; for all exposed properties</li>
<li> <strong>dateFormat</strong> &#8211; (default: dd.MM.yyyy &#8216;@&#8217; HH:mm:ss z) is a  normal SimpleDateFormat String and will be used to represent  git.build.time and git.commit.time</li>
<li> <strong>verbose</strong> &#8211; (default: false) if true the plugin will print a summary of all collected properties when it&#8217;s done</li>
</ul>
<h2>License</h2>
<p>I&#8217;m releasing this plugin under the <strong>GNU Lesser General Public License 3.0</strong>. You&#8217;re free to use it as you wish, the license text is attached in the LICENSE file. You may contact me if you want this to be released on a different license, just send me an email konrad.malawski@java.pl :-)</p>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.project13.pl/index.php/fun/1174/release-maven-git-commit-id-plugin/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>[song] Every OS sucks!</title>
		<link>http://www.blog.project13.pl/index.php/fun/774/song-every-os-sucks/</link>
		<comments>http://www.blog.project13.pl/index.php/fun/774/song-every-os-sucks/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 23:01:20 +0000</pubDate>
		<dc:creator>Ktoso</dc:creator>
				<category><![CDATA[freedom]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.blog.project13.pl/?p=774</guid>
		<description><![CDATA[An very amazing and beautiful song I just had to share with you guys! It&#8217;s by http://www.deadtroll.com/ so feel free to get over to their site if you liked it :-) It&#8217;s my second favourite GeekSong &#8211; I&#8217;ll link my favourite next week (by VoidMain and an special guest!)&#8230; :-) Download the MP3 file: three_dead_trolls_in_a_baggie-every_os_sucks.mp3 [...]]]></description>
			<content:encoded><![CDATA[<p>An very amazing and beautiful song I just had to share with you guys! It&#8217;s by <a href="http://www.deadtroll.com/" onclick="urchinTracker('/outgoing/www.deadtroll.com/?referer=');">http://www.deadtroll.com/</a> so feel free to get over to their site if you liked it :-) It&#8217;s my second favourite GeekSong &#8211; I&#8217;ll link my favourite next week (by VoidMain and an special guest!)&#8230; :-)</p>
<p>Download the MP3 file: <a href="http://www.up.project13.pl/files/three_dead_trolls_in_a_baggie-every_os_sucks.mp3" onclick="urchinTracker('/outgoing/www.up.project13.pl/files/three_dead_trolls_in_a_baggie-every_os_sucks.mp3?referer=');">three_dead_trolls_in_a_baggie-every_os_sucks.mp3</a></p>
<p>And here are the lyrics:</p>
<p><!-- p, li { white-space: pre-wrap; } --></p>
<blockquote><p><!--StartFragment-->(spoken introduction)</p>
<p>You see, I come from a time in the nineteen-hundred-and-seventies when computers were used for two things &#8211; to either go to the moon, or play Pong&#8230; nothing in between. Y&#8217;see, you didn&#8217;t need a fancy operating system to play Pong, and the men who went to the moon&#8211;God Bless &#8216;em&#8211;did it with no mouse, and a plain text-only black-and-white screen, and 32 kilobytes of RAM.</p>
<p>But then &#8217;round &#8217;bout the late 70&#8242;s, home computers started to do a little more than play Pong&#8230; very little more. Like computers started to play non-Pong-like games, and balance checkbooks, and why&#8230; you could play Zaxxon on your Apple II, or&#8230; write a book! All with a computer that had 32 kilobytes of RAM! It was good enough to go to the moon, it was good enough for you.</p>
<p>It was a golden time. A time before Windows, a time before mouses, a time before the internet and bloatware, and a time&#8230; before every OS sucked.</p>
<p>*sigh*</p>
<p>(singing)</p>
<p>Well, way back in the olden times,<br />
my computer worked for me.<br />
I&#8217;d laugh and play, all night and day,<br />
on Zork I, II and III.</p>
<p>The Amiga, VIC-20 and the Sinclair II,<br />
The TRS 80 and the Apple II,<br />
they did what they were supposed to do,<br />
wasn&#8217;t much&#8230; but it was enough.</p>
<p>But then Xerox made a prototype,<br />
Steve Jobs came on the scene,<br />
read &#8220;Of Mice and Menus,&#8221; Windows, Icons<br />
a trash, and a bitmap screen.</p>
<p>Well Stevie said to Xerox,<br />
&#8220;Boys, turn your heads and cough.&#8221;<br />
And when no-one was looking,<br />
he ripped their interfaces off.</p>
<p>Stole every feature that he had seen,<br />
put it in a cute box with a tiny little screen,<br />
Mac OS 1 ran that machine,<br />
only cost five thousand bucks.</p>
<p>But it was slow, it was buggy,<br />
so they wrote it again,<br />
And now they&#8217;re up to OS 10,<br />
they&#8217;ll charge you for the Beta, then charge you again,<br />
but the Mac OS still sucks.</p>
<p>Every OS wastes your time,<br />
from the desktop to the lap,<br />
Everything since Apple Dos,<br />
Just a bunch of crap.</p>
<p>From Microsoft, to Macintosh,<br />
to Lin&#8211; line&#8211; lin&#8211; lie&#8230; nux,<br />
Every computer crashes,<br />
&#8217;cause every OS sucks.</p>
<p>Well then Microsoft jumped in the game,<br />
copied Apple&#8217;s interface, with an OS named,<br />
&#8220;Windows 3.1&#8243; &#8211; it was twice as lame,<br />
but the stock price rose and rose.</p>
<p>Then Windows 95, then 98,<br />
man solitaire never ran so great,<br />
and every single version came out late,<br />
but I guess that&#8217;s the way it goes.</p>
<p>But that bloatware&#8217;ll crash and delete your work,<br />
NT, ME, man, none of &#8216;em work.<br />
Bill Gates may be richer than Captain Kirk,<br />
but the Windows OS blows!</p>
<p>And sucks!</p>
<p>At the same time!</p>
<p>I&#8217;d trade it in, yeah right&#8230; for what?<br />
It&#8217;s top of the line from the Compuhut.<br />
The fridge, stove and toaster, never crash on me,<br />
I should be able to get online, without a PHD.</p>
<p>My phone doesn&#8217;t take a week to boot it,<br />
my TV doesn&#8217;t crash when I mute it,<br />
I miss ASCII text, and my floppy drive,<br />
I wish VIC-20 was still alive&#8230;</p>
<p>But it ain&#8217;t the hardware, man.</p>
<p>It&#8217;s just that every OS sucks&#8230; and blows.</p>
<p>Now there&#8217;s lih-nux or lie-nux,<br />
I don&#8217;t know how you say it,<br />
or how you install it, or use it, or play it,<br />
or where you download it, or what programs run,<br />
but lih-nux, or lie-nux, don&#8217;t look like much fun.</p>
<p>However you say it, it&#8217;s getting great press,<br />
though how it survives is anyone&#8217;s guess,<br />
If you ask me, it&#8217;s a great big mess,<br />
for elitist, nerdy shmucks.</p>
<p>&#8220;It&#8217;s free!&#8221; they say, if you can get it to run,<br />
the Geeks say, &#8220;Hey, that&#8217;s half the fun!&#8221;<br />
Yeah, but I got a girlfriend, and things to get done,<br />
the Linux OS SUCKS.<br />
(I&#8217;m sorry to say it, but it does.)</p>
<p>Every OS wastes your time,<br />
from the desktop to the lap,<br />
Everything since the abacus,<br />
Just a bunch of crap.</p>
<p>From Microsoft, to Macintosh,<br />
to lin&#8211; line&#8211; lin&#8211; lie&#8230; nux.<br />
Every computer crashes,<br />
&#8217;cause every OS sucks.</p>
<p>Every computer crashes&#8230; &#8217;cause every OS sucks!<!--EndFragment--></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.project13.pl/index.php/fun/774/song-every-os-sucks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://www.up.project13.pl/files/three_dead_trolls_in_a_baggie-every_os_sucks.mp3" length="4179968" type="audio/mpeg" />
		</item>
		<item>
		<title>FDM &#8211; Not Libre but still a better way of selling music</title>
		<link>http://www.blog.project13.pl/index.php/freedom/304/fdm-not-libre-but-better-way-of-seling-music/</link>
		<comments>http://www.blog.project13.pl/index.php/freedom/304/fdm-not-libre-but-better-way-of-seling-music/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 00:50:55 +0000</pubDate>
		<dc:creator>Ktoso</dc:creator>
				<category><![CDATA[freedom]]></category>
		<category><![CDATA[drm]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[music]]></category>

		<guid isPermaLink="false">http://www.blog.project13.pl/?p=304</guid>
		<description><![CDATA[A week ago a friend of mine told me about an interesting idea by FDM (Fabryka Dźwięku z Muz &#8211; pl. &#8216;Factory of Sounds from Muses&#8217; (it&#8217;s kinda hard to translate)). FDM is a small music label, supporting new and fresh artists (indie, could be a good word here I guess). As such, it&#8217;s not [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">A week ago a friend of mine told me about an interesting idea by <strong>FDM</strong> (<strong>Fabryka Dźwięku z Muz</strong> &#8211; pl. &#8216;Factory of Sounds from Muses&#8217; (it&#8217;s kinda hard to translate)). FDM is a small music label, supporting new and fresh artists (indie, could be a good word here I guess). As such, it&#8217;s not at all &#8220;mainstream&#8221; (polish mainstream would be&#8230;  stachursky 2009 or&#8230;&#8230;. doda?), in other words &#8220;soulless&#8221;. But, mainstream sells well, and indie does not, and that&#8217;s nothing new, but for FDM it was a really painful experience, thus they started an action called &#8220;<strong>Muzyka bez Ceny</strong>&#8221; (pl. &#8220;Music without a price&#8221;).</p>
<p style="text-align: left;">
<div id="attachment_313" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.blog.project13.pl/wp-content/uploads/2009/12/p1010593.jpg"><img class="size-medium wp-image-313" title="p1010593" src="http://www.blog.project13.pl/wp-content/uploads/2009/12/p1010593-300x168.jpg" alt="New Century Classics - Natural Process [Front]" width="300" height="168" /></a><p class="wp-caption-text">New Century Classics - Natural Process</p></div>Here&#8217;s how it works. The price of the CD is 0PLN. The shipping costs are 4PLN. They ship it by cheapest mail avaiable, that is around 2PLN, so basically do they earn just shabby 2PLN for one CD sold? Now that&#8217;s not working<strong> business model</strong> is it? The trick here is, that the customer pays 4 + <strong>X</strong> PLN, where <strong>X is an amount of money he thinks the CD is worth</strong>. I really <strong>LOVE the idea</strong>, and also the band <em><a href="http://www.myspace.com/newcenturyclassics" onclick="urchinTracker('/outgoing/www.myspace.com/newcenturyclassics?referer=');"><strong>New Century Classics</strong></a></em> which I found through FDM. So i bought their CD for about 20PLN (around 5$), as i thought the CD would be low value, maybe even home-burned&#8230; I got the CD yesterday and&#8230; I was shocked, It&#8217;s so well released that I can only compare it to Hotel by Moby or Minutes to Midnight by Linkin Park. <em>It&#8217;s a neat stiff paper and stylish box.</em> I would have never thought that a small indie company would release someones first album with this much style etc. (Photos attached below). Now i feel that i should have paid even more for this CD, the value is really there, as is the sound &#8211; it&#8217;s got <em>soul and feeling</em>.</p>
<p><div id="attachment_309" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.blog.project13.pl/wp-content/uploads/2009/12/p1010599.jpg"><img class="size-medium wp-image-309" title="p1010599" src="http://www.blog.project13.pl/wp-content/uploads/2009/12/p1010599-300x168.jpg" alt="New Century Classics" width="300" height="168" /></a><p class="wp-caption-text">New Century Classics</p></div>
<p>All that said&#8230; FDM does <strong>not</strong> support Creative Commons etc, which is really sad, yet their move &#8220;pay as much as you want&#8221; is a great thing and really motivates to support bands. I really love the fact of <strong>getting a REAL CD</strong> and not only a download link when i <strong>PAY</strong> for something.</p>
<p>And now back to reality&#8230; I am aware that there are not a whole lot of people, who happily pay for stuff thay can get for free such as paying for stuff on Creative Commons or GPL. In this, I guess, I represent a minority that is really happy to pay bands such as <a href="http://www.jamendo.com/en/album/50033" onclick="urchinTracker('/outgoing/www.jamendo.com/en/album/50033?referer=');">Celestial Aeon Project</a>, <a href="http://www.jamendo.com/en/artist/steven.dunston" onclick="urchinTracker('/outgoing/www.jamendo.com/en/artist/steven.dunston?referer=');">Steven Dunston</a> or even the polish <a href="http://wolniartysci.pl/pl/bands/73" onclick="urchinTracker('/outgoing/wolniartysci.pl/pl/bands/73?referer=');">Accomplice Affair</a> for their amazing (and <strong>free </strong>as in freedom) music. I&#8217;d be even more happy donating to them if there was a possibility to get their CDs, such as was the case with FDMs. That said, I will continue to suppoer Free/Libre Artists and hope more and more of them to understand that real <strong>fans, are willing to pay for content</strong> (and there are lot&#8217;s of case studies profing that!) ,<strong> </strong>if only it makes sense.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.project13.pl/index.php/freedom/304/fdm-not-libre-but-better-way-of-seling-music/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>(Almost) Automatically convert files into PDF</title>
		<link>http://www.blog.project13.pl/index.php/fun/285/almost-automatically-convert-files-into-pdf/</link>
		<comments>http://www.blog.project13.pl/index.php/fun/285/almost-automatically-convert-files-into-pdf/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 00:56:55 +0000</pubDate>
		<dc:creator>Ktoso</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[freedom]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[terminal heroes]]></category>
		<category><![CDATA[cool]]></category>
		<category><![CDATA[gnu]]></category>
		<category><![CDATA[gnu/linux]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[trick]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[wget]]></category>

		<guid isPermaLink="false">http://www.blog.project13.pl/?p=285</guid>
		<description><![CDATA[I&#8217;m learning Numerical Analysis right now and a friend of mine found some really nice PS files by dr Marian Bubek ( http://www.icsr.agh.edu.pl/~mownit/mownit.html ). I was really happy to see some *.ps but some people from my fellow students started complaining that they&#8217;d rather have pdf&#8217;s and not ghostscript files (who knows why they&#8217;d do..?). [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m learning Numerical Analysis right now and a friend of mine found some really nice PS files by dr Marian Bubek ( <a href="http://www.icsr.agh.edu.pl/~mownit/mownit.html" onclick="urchinTracker('/outgoing/www.icsr.agh.edu.pl/_mownit/mownit.html?referer=');">http://www.icsr.agh.edu.pl/~mownit/mownit.html</a> ). I was really happy to see some *.ps but some people from my fellow students started complaining that they&#8217;d rather have pdf&#8217;s and not ghostscript files <em>(who knows why they&#8217;d do..?)</em>. Anyways, they all had &#8220;manual&#8221; repetitious methods for converting the files &#8211; even uploading to somewebsite to have them converted over there &#8220;in the cloud&#8221;&#8230; I though of a slightly quicker and more efficient way, here it is, hope you&#8217;ll like it. Ah, there is One &#8220;non standard&#8221; requirement for this to work, you have to install <strong>cups-pdf</strong> :-)</p>
<div class="geshi no bash">
<div class="head">wget http://www.icsr.agh.edu.pl/~mownit/mownit.html -r &#8211;level 1 -A.ps &#8211;cut-dirs 4</div>
<ol>
<li class="li1">
<div class="de1"><span class="kw2">mv</span> www.icsr.agh.edu.pl<span class="sy0">/*</span> .</div>
</li>
<li class="li1">
<div class="de1"><span class="kw2">rm</span> -rf www.icsr.agh.edu.pl<span class="sy0">/</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">for</span> <span class="kw2">file</span> <span class="kw1">in</span> `<span class="kw2">dir</span> -f <span class="sy0">*</span>` ; <span class="kw1">do</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp;<span class="kw2">lpr</span> -P <span class="st0">&#39;cups-PDF&#39;</span> <span class="re1">$file</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp;<span class="kw3">echo</span> <span class="st0">&quot;press enter when cups is done printing&#8230;&quot;</span> <span class="co0">#yeah, i got lazy here, one could watch lpq for changes etc.</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp;<span class="kw2">read</span> oczekiwanie;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp;<span class="kw2">mv</span> <span class="sy0">/</span>home<span class="sy0">/</span>ktoso<span class="sy0">/</span>Pulpit<span class="sy0">/</span>cups-pdf<span class="sy0">/</span>template.pdf .<span class="sy0">/</span><span class="re1">$file</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">done</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="co0"># ________________ </span></div>
</li>
<li class="li1">
<div class="de1"><span class="co0">#&lt; Happy hacking! &gt;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="co0"># &#8212;&#8212;&#8212;&#8212;&#8212;- </span></div>
</li>
<li class="li1">
<div class="de1"><span class="co0"># &nbsp; &nbsp; &nbsp; &nbsp;\ &nbsp; ^__^</span></div>
</li>
<li class="li1">
<div class="de1"><span class="co0"># &nbsp; &nbsp; &nbsp; &nbsp; \ &nbsp;(oo)\_______</span></div>
</li>
<li class="li1">
<div class="de1"><span class="co0"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(__)\ &nbsp; &nbsp; &nbsp; )\/\</span></div>
</li>
<li class="li1">
<div class="de1"><span class="co0"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;||&#8212;-w |</span></div>
</li>
<li class="li1">
<div class="de1"><span class="co0"># &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|| &nbsp; &nbsp; ||</span></div>
</li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.project13.pl/index.php/fun/285/almost-automatically-convert-files-into-pdf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AWK and multiple lines from shell command</title>
		<link>http://www.blog.project13.pl/index.php/coding/274/awk-and-multiple-lines-from-shell-command/</link>
		<comments>http://www.blog.project13.pl/index.php/coding/274/awk-and-multiple-lines-from-shell-command/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 15:11:16 +0000</pubDate>
		<dc:creator>Ktoso</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[awk]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[freedom]]></category>
		<category><![CDATA[gnu]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.blog.project13.pl/?p=274</guid>
		<description><![CDATA[Let&#8217;s say you want to read the ps output inside an AWK script, it&#8217;s not so simple since system returns an exit code and not the string you want &#8211; it&#8217;s being sent to stdout, here is a simple trick to read multiple lines from a shell command inside awk: awk 'BEGIN{while ("ps aux" &#124; [...]]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s say you want to read the ps output inside an AWK script, it&#8217;s not so simple since system returns an exit code and not the string you want &#8211; it&#8217;s being sent to stdout, here is a simple trick to read multiple lines from a shell command inside awk:<br />
<code>awk 'BEGIN{while ("ps aux" | getline){ print "test " $1 " test"}}' /dev/null | more</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.project13.pl/index.php/coding/274/awk-and-multiple-lines-from-shell-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;m an RHCT &#8211; yay!</title>
		<link>http://www.blog.project13.pl/index.php/project13/261/im-an-rhct-now/</link>
		<comments>http://www.blog.project13.pl/index.php/project13/261/im-an-rhct-now/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 19:54:53 +0000</pubDate>
		<dc:creator>Ktoso</dc:creator>
				<category><![CDATA[Project13]]></category>
		<category><![CDATA[freedom]]></category>
		<category><![CDATA[gnu]]></category>
		<category><![CDATA[gnu/linux]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[skills]]></category>

		<guid isPermaLink="false">http://www.blog.project13.pl/?p=261</guid>
		<description><![CDATA[Yes, my GNU/Linux skills have been certified and now I can call myself a Red Hat Certified Technician as I&#8217;ve today passed the RH-202 exam with a 100% score &#8211; which leads me to the idea that I should have tried to tackle RHCE and not RHCT &#8211; I&#8217;ll do ir eventually someday I guess [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.blog.project13.pl/wp-content/uploads/2009/10/red-hat-logo-05071.png"><img class="size-full wp-image-262 alignleft" title="red-hat-logo-05071" src="http://www.blog.project13.pl/wp-content/uploads/2009/10/red-hat-logo-05071.png" alt="red-hat-logo-05071" width="120" height="120" /></a>Yes, my GNU/Linux skills have been certified and now I can call myself a <strong>Red Hat Certified Technician</strong> as I&#8217;ve today passed the RH-202 exam with a 100% score &#8211; which leads me to the idea that I should have tried to tackle <strong>RHCE</strong> and not <strong>RHCT</strong> &#8211; I&#8217;ll do ir eventually someday I guess anyways.</p>
<p>Happy Hacking!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.project13.pl/index.php/project13/261/im-an-rhct-now/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Blender &#8211; 04 &#8211; Simple Present</title>
		<link>http://www.blog.project13.pl/index.php/fun/248/blender-04-simple-present/</link>
		<comments>http://www.blog.project13.pl/index.php/fun/248/blender-04-simple-present/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 00:47:34 +0000</pubDate>
		<dc:creator>Ktoso</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[blender]]></category>
		<category><![CDATA[free software]]></category>
		<category><![CDATA[freedom]]></category>
		<category><![CDATA[gnu]]></category>
		<category><![CDATA[gnu/linux]]></category>
		<category><![CDATA[render]]></category>
		<category><![CDATA[study]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://www.blog.project13.pl/?p=248</guid>
		<description><![CDATA[With this simple box i&#8217;ve learned a little about the &#8220;wave&#8221; property in blender. This, a little subsurv and smooth subdivision can actually be quite OK for creating a simple ribbon like the one below:The final render looked like this:]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;">With this simple box i&#8217;ve learned a little about the &#8220;wave&#8221; property in blender. This, a little subsurv and smooth subdivision can actually be quite OK for creating a simple ribbon like the one below:<a href="http://www.blog.project13.pl/wp-content/uploads/2009/09/zrzut_ekranu-11.png"><img class="aligncenter size-medium wp-image-249" title="Ribbon" src="http://www.blog.project13.pl/wp-content/uploads/2009/09/zrzut_ekranu-11-300x187.png" alt="Ribbon" width="300" height="187" /></a><a href="http://www.blog.project13.pl/wp-content/uploads/2009/09/zrzut_ekranu-13.png"><img class="aligncenter size-medium wp-image-251" title="Ribbon &quot;how&quot;" src="http://www.blog.project13.pl/wp-content/uploads/2009/09/zrzut_ekranu-13-300x187.png" alt="Ribbon &quot;how&quot;" width="300" height="187" /></a>The final render looked like this:<a href="http://www.blog.project13.pl/wp-content/uploads/2009/09/denae_present.jpg"><img class="aligncenter size-medium wp-image-254" title="denae_present" src="http://www.blog.project13.pl/wp-content/uploads/2009/09/denae_present-300x225.jpg" alt="denae_present" width="300" height="225" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.project13.pl/index.php/fun/248/blender-04-simple-present/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beauty: Ólafur Arnalds &#8211; Ljósið</title>
		<link>http://www.blog.project13.pl/index.php/fun/216/beauty-olafur-arnalds-ljosi%c3%b0/</link>
		<comments>http://www.blog.project13.pl/index.php/fun/216/beauty-olafur-arnalds-ljosi%c3%b0/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 10:29:59 +0000</pubDate>
		<dc:creator>Ktoso</dc:creator>
				<category><![CDATA[freedom]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[beauty]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.blog.project13.pl/?p=216</guid>
		<description><![CDATA[Ólafur Arnalds &#8211; Ljósið (Official Music Video) from Erased Tapes on Vimeo. Yet another amazing freedom using initiative. Let&#8217;s quote the homepage first: In April 2009, Iceland’s neo-classical export Ólafur Arnalds created the 7-song series ‘Found Songs’ – recording a song a day for 7 days and instantly making each track available via Twitter. With [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><object width="521" height="293"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=6284199&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=59a5d1&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=6284199&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=59a5d1&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="521" height="293"></embed></object></p>
<p><a href="http://vimeo.com/6284199" onclick="urchinTracker('/outgoing/vimeo.com/6284199?referer=');">Ólafur Arnalds &#8211; Ljósið (Official Music Video)</a> from <a href="http://vimeo.com/erasedtapes" onclick="urchinTracker('/outgoing/vimeo.com/erasedtapes?referer=');">Erased Tapes</a> on <a href="http://vimeo.com" onclick="urchinTracker('/outgoing/vimeo.com?referer=');">Vimeo</a>.</p>
<p>Yet another amazing freedom using initiative. Let&#8217;s quote the <a href="http://foundsongs.erasedtapes.com/" onclick="urchinTracker('/outgoing/foundsongs.erasedtapes.com/?referer=');">homepage</a> first:</p>
<blockquote><p>In April 2009, Iceland’s neo-classical export Ólafur Arnalds created the 7-song series ‘Found Songs’ –<br />
recording a song a day for 7 days and instantly making each track available via Twitter. With artwork contributions<br />
from fans via Flickr, this modern release awakens memories of a tradition that seemed lost in the digital age we live in.</p></blockquote>
<p>The music and video are just amazing&#8230; Low-quality audio files can be downloaded on the website, for HQ you&#8217;d have to pay &#8211; fair deal i guess as the LQ is quite ok. Sadly it&#8217;s not on creative commons, but the basic idea seems to be there nevertheless.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.project13.pl/index.php/fun/216/beauty-olafur-arnalds-ljosi%c3%b0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blender &#8211; 02 &#8211; Simple plain with sky</title>
		<link>http://www.blog.project13.pl/index.php/coding/220/blender-02-simple-plain-with-sky/</link>
		<comments>http://www.blog.project13.pl/index.php/coding/220/blender-02-simple-plain-with-sky/#comments</comments>
		<pubDate>Sun, 13 Sep 2009 22:32:41 +0000</pubDate>
		<dc:creator>Ktoso</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[freedom]]></category>
		<category><![CDATA[blender]]></category>
		<category><![CDATA[free software]]></category>
		<category><![CDATA[gnu]]></category>
		<category><![CDATA[gnu/linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[study]]></category>

		<guid isPermaLink="false">http://www.blog.project13.pl/?p=220</guid>
		<description><![CDATA[And once again I&#8217;m having fun with blender&#8230; ;-) In this semester at my University we&#8217;ll have to do some simple 3D stuff in XSI. As I don&#8217;t want to &#8220;learn&#8221; a proprietary program I won&#8217;t have access to in my future I&#8217;m learning to use blender :-) It&#8217;s such an amazing tool, and the [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">And once again I&#8217;m having fun with blender&#8230; ;-) In this semester at my University we&#8217;ll have to do some simple 3D stuff in XSI. As I don&#8217;t want to &#8220;learn&#8221; a proprietary program I won&#8217;t have access to in my future I&#8217;m learning to use blender :-) It&#8217;s such an amazing tool, and the UI is amazing&#8230; it&#8217;s <em><strong>vi</strong>&#8216;ish</em> &#8211; 1 button = lots of actions, which in opposition to the &#8220;<em>lots of shiny buttons</em>&#8221; apparoach is just amazing/quick/efficient. Love it. :) As this is my 2 &#8220;render&#8221; in my lifetime, it&#8217;s still veeeery simple&#8230; I created a simple plain and used subdivision to make it smooth, the sky is created with a &#8220;dome&#8221; &#8211; though I don&#8217;t really know if that&#8217;s the best way to add skys to scenes&#8230; Ah well, here is it: <a href="http://www.blog.project13.pl/wp-content/uploads/2009/09/grass.jpg"><img class="size-thumbnail wp-image-221 aligncenter" title="grass" src="http://www.blog.project13.pl/wp-content/uploads/2009/09/grass-150x150.jpg" alt="grass" width="150" height="150" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.project13.pl/index.php/coding/220/blender-02-simple-plain-with-sky/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xplode &#8211; initial release</title>
		<link>http://www.blog.project13.pl/index.php/project13/110/xplode-initial-release/</link>
		<comments>http://www.blog.project13.pl/index.php/project13/110/xplode-initial-release/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 10:18:11 +0000</pubDate>
		<dc:creator>Ktoso</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[gaming]]></category>
		<category><![CDATA[Project13]]></category>
		<category><![CDATA[freedom]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://www.blog.project13.pl/?p=110</guid>
		<description><![CDATA[Xplode, a simple open source J2ME game I&#8217;ve been coding some time just for fun is has gained a &#8220;quite playable&#8221; status now&#8230; So if you own a touch screen enabled device or just like to take a look at some source -- please stay with me for a sec ;-) Xplode&#8216;s idea is very [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-112 alignleft" style="margin: 5px;" title="xplode logo" src="http://www.blog.project13.pl/wp-content/uploads/2009/08/logo.png" alt="xplode logo" width="150" height="150" />Xplode, a simple <strong>open source</strong> <strong>J2ME</strong> game I&#8217;ve been coding some time just for fun is has gained a &#8220;quite playable&#8221; status now&#8230; So if you own a touch screen enabled device or just like to take a look at some source -- please stay with me for a sec ;-)</p>
<p><strong><em>Xplode</em></strong>&#8216;s idea is very simple, and not so new as I realized after finding the game: <a href="http://www.funny-games.biz/boomshine.html" target="_blank" onclick="urchinTracker('/outgoing/www.funny-games.biz/boomshine.html?referer=');">boomshine</a> online. The basic gameplay idea is simple: create an explosion (by tapping the screen) that will trigger another one as anything that touches an explosion -- also explodes. The first introduced gameplay mode (chain eXplosion) is all about creating longer than the requested chain explosions, as you succesfully explode a long enough chain, you advance to the next level -- with more dots on the field, and a longer chain to break&#8230; The overall goal is &#8220;high score hunting&#8221; I guess&#8230; High Score tracking isn&#8217;t implemented yet, but I guess I&#8217;ll eventually add it to try out the J2ME&#8217;s persistent data storage.</p>
<p>The game is <strong>100% free software</strong> (and open source) and is licensed under the <strong>General Public License 3</strong>, so if your interested, go check out the <strong>code</strong> at: <a href="http://kenai.com/projects/xplode" onclick="urchinTracker('/outgoing/kenai.com/projects/xplode?referer=');">http://kenai.com/projects/xplode</a> also, more information about the game can be found at the wiki there: <a href="http://kenai.com/projects/xplode/pages/Home" onclick="urchinTracker('/outgoing/kenai.com/projects/xplode/pages/Home?referer=');">http://kenai.com/projects/xplode/pages/Home</a> along with an explanation what the <strong>Giant Enemy Crab joke</strong> means&#8230; ;-) If your interested in a prebuild <strong>jar/jad</strong> package, please download: <a href="http://www.uploadmysoul.project13.pl/files/xplode_initial.tar.gz" onclick="urchinTracker('/outgoing/www.uploadmysoul.project13.pl/files/xplode_initial.tar.gz?referer=');">http://www.uploadmysoul.project13.pl/files/xplode_initial.tar.gz</a> which includes the source, and the files needed to install and run the game on your phone <em>(in the dist folder, yup, the jad and jar files)</em>.</p>
<p>For those of you who want to see the game in action, or even see it&#8217;s prototype versions and experiments with the manual implementation of semi transparent drawing I&#8217;ve created the bellow video, take a look if you&#8217;re interested <em>(skip the ~1st minute if you don&#8217;t care about the &#8220;pre-release test versions&#8221;)</em>.</p>
<p style="text-align: center;"><span class="youtube">
<object width="425" height="355">
<param name="movie" value="http://www.youtube.com/v/LLy1bIW9uYw&amp;color1=3a3a3a&amp;color2=999999&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0?rel=1" />
<param name="allowFullScreen" value="true" />
<embed wmode="transparent" src="http://www.youtube.com/v/LLy1bIW9uYw&amp;color1=3a3a3a&amp;color2=999999&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0?rel=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="355"></embed>
<param name="wmode" value="transparent" />
</object>
</span><p><a href="http://www.youtube.com/watch?v=LLy1bIW9uYw" onclick="urchinTracker('/outgoing/www.youtube.com/watch?v=LLy1bIW9uYw&amp;referer=');"><img src="http://img.youtube.com/vi/LLy1bIW9uYw/default.jpg" width="130" height="97" border=0></a></p><br />
S<em>oundtrack: <a href="http://www.jamendo.com/en/track/22890" target="_blank" onclick="urchinTracker('/outgoing/www.jamendo.com/en/track/22890?referer=');">Reality</a> by <strong><a href="http://www.jamendo.com/en/artist/mindthings" target="_blank" onclick="urchinTracker('/outgoing/www.jamendo.com/en/artist/mindthings?referer=');">mindthings</a></strong> from the album <a href="http://www.jamendo.com/en/album/3177" target="_blank" onclick="urchinTracker('/outgoing/www.jamendo.com/en/album/3177?referer=');">The First Emotion<br />
</a>from Jamendo.com licensed under <strong>Creative Commons</strong></em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.project13.pl/index.php/project13/110/xplode-initial-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

