<?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>dare2be &#124; eb2erad</title>
	<atom:link href="http://eb2erad.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://eb2erad.wordpress.com</link>
	<description>Studies, Automation &#38; Robotics, Gentoo and whatnot</description>
	<lastBuildDate>Thu, 22 Dec 2011 09:32:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='eb2erad.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>dare2be &#124; eb2erad</title>
		<link>http://eb2erad.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://eb2erad.wordpress.com/osd.xml" title="dare2be &#124; eb2erad" />
	<atom:link rel='hub' href='http://eb2erad.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Fixing PostgreSQL database after automatic upgrade (Fedora)</title>
		<link>http://eb2erad.wordpress.com/2011/12/22/fixing-postgresql-database-after-automatic-upgrade-fedora/</link>
		<comments>http://eb2erad.wordpress.com/2011/12/22/fixing-postgresql-database-after-automatic-upgrade-fedora/#comments</comments>
		<pubDate>Thu, 22 Dec 2011 09:32:03 +0000</pubDate>
		<dc:creator>eb2erad</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://eb2erad.wordpress.com/?p=53</guid>
		<description><![CDATA[Hi, I&#8217;m posting this here so that you don&#8217;t have to work your way through it yourself. I recently preformed a FC15-&#62;16 upgrade, thus upgrading my postgresql-server installation (9.0 -&#62; 9.1). To my surprise, when I tried to start the server, I got the following error: [root@PC10CIS pgsql]# service postgresql start Redirecting to /bin/systemctl  start [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eb2erad.wordpress.com&amp;blog=9350370&amp;post=53&amp;subd=eb2erad&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi,<br />
I&#8217;m posting this here so that you don&#8217;t have to work your way through it yourself.</p>
<p>I recently preformed a FC15-&gt;16 upgrade, thus upgrading my postgresql-server installation (9.0 -&gt; 9.1). To my surprise, when I tried to start the server, I got the following error:</p>
<pre>[root@PC10CIS pgsql]# service postgresql start
Redirecting to /bin/systemctl  start postgresql.service
Job failed. See system logs and 'systemctl status' for details.</pre>
<p>So I did. In the logs, I found:</p>
<pre>Dec 22 09:56:35 PC10CIS postgres[4536]: [1-1] FATAL:  database files are incompatible with server
Dec 22 09:56:35 PC10CIS postgres[4536]: [1-2] DETAIL:  The data directory was initialized by PostgreSQL version 9.0, which is not compatible with this version 9.1.2.
Dec 22 09:56:35 PC10CIS pg_ctl[4532]: FATAL:  database files are incompatible with server
Dec 22 09:56:35 PC10CIS pg_ctl[4532]: DETAIL:  The data directory was initialized by PostgreSQL version 9.0, which is not compatible with this version 9.1.2.
Dec 22 09:56:40 PC10CIS pg_ctl[4532]: pg_ctl: could not start server
Dec 22 09:56:40 PC10CIS pg_ctl[4532]: Examine the log output.
Dec 22 09:56:40 PC10CIS systemd[1]: postgresql.service: control process exited, code=exited status=1
Dec 22 09:56:40 PC10CIS systemd[1]: Unit postgresql.service entered failed state.</pre>
<p>So i thought, OK let&#8217;s run pg_upgrade. But since the old bin dir of postgresql-server was gone, I could not do it. So here are the steps:</p>
<ol>
<li>Move the old database files
<pre>$ sudo mv /var/lib/pgsql/data{,.old}</pre>
</li>
<li>Initialize a new database
<pre><kbd>$ sudo su - postgres -c "initdb -D /usr/local/pgsql/data"</kbd></pre>
</li>
<li>Go to <a title="http://pkgs.org" href="http://pkgs.org">http://pkgs.org</a> and find the version you had previously installed (worry only about the first two numbers (as in 9.0.5 &#8211; the major version is 9.0)) and download it</li>
<li>Then, use <a title="rpm2cpio" href="http://www.rpm.org/max-rpm/s1-rpm-miscellania-rpm2cpio.html">rpm2cpio</a>to extract the files, like that:
<pre>$ mkdir -p /tmp/pgsql-install ; cd /tmp/pgsql-install ; rpm2cpio ~/Downloads/postgresql-server-9.0.4-1.fc15.x86_64.rpm | cpio -idmv</pre>
</li>
<li>
<pre>Run the upgrade
 $ su - postgres -c "pg_upgrade -b /tmp/pgsql-install/usr/bin/ -B /usr/bin/ -d /usr/local/pgsql/data.old -D /usr/local/pgsql/data"</pre>
</li>
<li>Copy over old config files
<pre><kbd>$ sudo cp /usr/local/pgsql/data{.old,}/pg_hba.conf  ; sudo cp /usr/local/pgsql/data{.old,}/postgresql.conf</kbd></pre>
</li>
</ol>
<p>And now you&#8217;re good to go!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eb2erad.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eb2erad.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eb2erad.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eb2erad.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eb2erad.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eb2erad.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eb2erad.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eb2erad.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eb2erad.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eb2erad.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eb2erad.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eb2erad.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eb2erad.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eb2erad.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eb2erad.wordpress.com&amp;blog=9350370&amp;post=53&amp;subd=eb2erad&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eb2erad.wordpress.com/2011/12/22/fixing-postgresql-database-after-automatic-upgrade-fedora/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/919806b75dfce03b42e2e9534ed7750e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">eb2erad</media:title>
		</media:content>
	</item>
		<item>
		<title>Creating an IPv6 suffix from MAC address using PL/pgSQL</title>
		<link>http://eb2erad.wordpress.com/2011/01/13/creating-an-ipv6-suffix-from-mac-address-using-plpgsql/</link>
		<comments>http://eb2erad.wordpress.com/2011/01/13/creating-an-ipv6-suffix-from-mac-address-using-plpgsql/#comments</comments>
		<pubDate>Thu, 13 Jan 2011 10:29:01 +0000</pubDate>
		<dc:creator>eb2erad</dc:creator>
				<category><![CDATA[Source Code]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://eb2erad.wordpress.com/?p=35</guid>
		<description><![CDATA[So right now I am writing an application for my university &#8211; a server application controlling the access to the network by means of VMPS. Anyways, we need to assign IPv4 and IPv6 addresses to registered computers for the use of DHCP. As we all know, IPv6 addresses are generated based on the MAC address [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eb2erad.wordpress.com&amp;blog=9350370&amp;post=35&amp;subd=eb2erad&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So right now I am writing an application for my university &#8211; a server application controlling the access to the network by means of VMPS. Anyways, we need to assign IPv4 and IPv6 addresses to registered computers for the use of DHCP. As we all know, IPv6 addresses are generated based on the MAC address of the network adapter.</p>
<p>Since PostgreSQL has an excellent support for inet types, we chose to stick with that. And since I believe the best way to design a DB-based application is to put as much logic into  the database as possible, I chose to generate the IPv6 addresses on the DB&#8217;s side. But when it came to generating them, it turned out that the only thing you can do with a MAC address (PostgreSQL type macaddr) is cast it to text. I mean, what a joke! So I came up with a solution to generate the MAC-depended suffix needed for the generation of IPv6 address. In case it proves useful to anybody, here you go:</p>
<pre>
<div>CREATE OR REPLACE FUNCTION mac_create_suffix(macaddr)
RETURNS text AS '
DECLARE
  mac ALIAS FOR $1;
  mac_switched macaddr;
  ret text;</div>
<div>BEGIN
  mac_switched := (SELECT mac_switch_7b(mac));
  ret := mac_switched::text;
  ret := substring(ret from 1 for 2) || substring(ret from 4 for 2) || '':'' ||
    substring(ret from 7 for 2) || ''ff'' || '':'' ||
    ''fe'' || substring(ret from 10 for 2) || '':'' ||
    substring(ret from 13 for 2) || substring(ret from 16 for 2);
RETURN ret;
END;'
LANGUAGE 'plpgsql';</div>
<div>CREATE OR REPLACE FUNCTION mac_switch_7b(macaddr)
RETURNS macaddr AS '
DECLARE
  mac_orig ALIAS FOR $1;
  mac_orig_txt text;
  mac_ret macaddr;
  mac_ret_txt text;
  siodmyBit BIT(4);
  buf text;
  bit_orig BIT(4);
  bit_repl BIT(4);
BEGIN
  --- we'll use that to switch the 7th bit from the left to 1
  siodmyBit := ''0010''::BIT(4);
  mac_orig_txt := upper(mac_orig::text);
  --- switching the 7th bit from the left will only affect the second letter of the MAC address
  buf := (SELECT substring(mac_orig_txt from 2 for 1));
  bit_orig := CASE buf
    WHEN 0::text  THEN ''0000''::BIT(4)
    WHEN 1::text  THEN ''0001''::BIT(4)
    WHEN 2::text  THEN ''0010''::BIT(4)
    WHEN 3::text  THEN ''0011''::BIT(4)
    WHEN 4::text  THEN ''0100''::BIT(4)
    WHEN 5::text  THEN ''0101''::BIT(4)
    WHEN 6::text  THEN ''0110''::BIT(4)
    WHEN 7::text  THEN ''0111''::BIT(4)
    WHEN 8::text  THEN ''1000''::BIT(4)
    WHEN 9::text  THEN ''1001''::BIT(4)
    WHEN ''A''    THEN ''1010''::BIT(4)
    WHEN ''B''    THEN ''1011''::BIT(4)
    WHEN ''C''    THEN ''1100''::BIT(4)
    WHEN ''D''    THEN ''1101''::BIT(4)
    WHEN ''E''    THEN ''1110''::BIT(4)
    WHEN ''F''    THEN ''1111''::BIT(4)
  END;
  --- THIS IS WHERE WE SWITCH THE 7th BIT TO 1
  bit_repl := bit_orig | siodmyBit;
  --- END OF SWITCHING
  buf := CASE bit_repl
    WHEN ''0000''::BIT(4) THEN 0::text
    WHEN ''0001''::BIT(4) THEN 1::text
    WHEN ''0010''::BIT(4) THEN 2::text
    WHEN ''0011''::BIT(4) THEN 3::text
    WHEN ''0100''::BIT(4) THEN 4::text
    WHEN ''0101''::BIT(4) THEN 5::text
    WHEN ''0110''::BIT(4) THEN 6::text
    WHEN ''0111''::BIT(4) THEN 7::text
    WHEN ''1000''::BIT(4) THEN 8::text
    WHEN ''1001''::BIT(4) THEN 9::text
    WHEN ''1010''::BIT(4) THEN ''A''
    WHEN ''1011''::BIT(4) THEN ''B''
    WHEN ''1100''::BIT(4) THEN ''C''
    WHEN ''1101''::BIT(4) THEN ''D''
    WHEN ''1110''::BIT(4) THEN ''E''
    WHEN ''1111''::BIT(4) THEN ''F''
  END;
  mac_ret_txt := (SELECT overlay(mac_orig_txt placing buf from 2 for 1));
  mac_ret := mac_ret_txt::macaddr;
RETURN mac_ret;
END;'
LANGUAGE 'plpgsql';</div>
</pre>
<p>And here&#8217;s the output of a test run:</p>
<pre>myDB=# SELECT mac_create_suffix('00:0d:b9:1a:ed:b8');
  mac_create_suffix
---------------------
 020d:b9ff:fe1a:edb8
(1 row)</pre>
<p><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:13px;">A sidenote: You&#8217;d probably want to rewrite the hex-to-bin and bin-to-hex to be in a separate function, probably a hash table, but hey! it&#8217;s only a proof of concept <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eb2erad.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eb2erad.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eb2erad.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eb2erad.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eb2erad.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eb2erad.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eb2erad.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eb2erad.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eb2erad.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eb2erad.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eb2erad.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eb2erad.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eb2erad.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eb2erad.wordpress.com/35/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eb2erad.wordpress.com&amp;blog=9350370&amp;post=35&amp;subd=eb2erad&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eb2erad.wordpress.com/2011/01/13/creating-an-ipv6-suffix-from-mac-address-using-plpgsql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/919806b75dfce03b42e2e9534ed7750e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">eb2erad</media:title>
		</media:content>
	</item>
		<item>
		<title>Hydro-Gaz.com.pl -&gt; commercial project</title>
		<link>http://eb2erad.wordpress.com/2010/07/05/hydro-gaz-com-pl-commercial-project/</link>
		<comments>http://eb2erad.wordpress.com/2010/07/05/hydro-gaz-com-pl-commercial-project/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 21:59:17 +0000</pubDate>
		<dc:creator>eb2erad</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://eb2erad.wordpress.com/?p=33</guid>
		<description><![CDATA[So right now I&#8217;m up to getting my father&#8217;s company&#8217;s website up and running, trying to achieve that with the newest, bleeding-edge CSS3 techniques. We&#8217;ll see what comes out The link: http://www.hydro-gaz.com.pl<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eb2erad.wordpress.com&amp;blog=9350370&amp;post=33&amp;subd=eb2erad&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So right now I&#8217;m up to getting my father&#8217;s company&#8217;s website up and running, trying to achieve that with the newest, bleeding-edge CSS3 techniques. We&#8217;ll see what comes out <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The link: <a href="http://www.hydro-gaz.com.pl" target="_blank">http://www.hydro-gaz.com.pl</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eb2erad.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eb2erad.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eb2erad.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eb2erad.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eb2erad.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eb2erad.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eb2erad.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eb2erad.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eb2erad.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eb2erad.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eb2erad.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eb2erad.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eb2erad.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eb2erad.wordpress.com/33/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eb2erad.wordpress.com&amp;blog=9350370&amp;post=33&amp;subd=eb2erad&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eb2erad.wordpress.com/2010/07/05/hydro-gaz-com-pl-commercial-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/919806b75dfce03b42e2e9534ed7750e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">eb2erad</media:title>
		</media:content>
	</item>
		<item>
		<title>Gnuplot and LaTeX tricks</title>
		<link>http://eb2erad.wordpress.com/2010/05/07/gnuplot-and-latex-tricks/</link>
		<comments>http://eb2erad.wordpress.com/2010/05/07/gnuplot-and-latex-tricks/#comments</comments>
		<pubDate>Fri, 07 May 2010 10:23:40 +0000</pubDate>
		<dc:creator>eb2erad</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://eb2erad.wordpress.com/?p=31</guid>
		<description><![CDATA[A thing to share &#8211; so that you don&#8217;t waste your precious time looking for a solution, like I just did. I wanted to plot the inner (hatched) part of a circle in gnuplot and kept looking for a solution, until i worked out this: gnuplot&#62; set terminal png font "/usr/share/fonts/dejavu/DejaVuSans.ttf" 9 gnuplot&#62; set output [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eb2erad.wordpress.com&amp;blog=9350370&amp;post=31&amp;subd=eb2erad&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A thing to share &#8211; so that you don&#8217;t waste your precious time looking for a solution, like I just did.</p>
<p>I wanted to plot the inner (hatched) part of a circle in gnuplot and kept looking for a solution, until i worked out this:</p>
<pre>gnuplot&gt; set terminal png font "/usr/share/fonts/dejavu/DejaVuSans.ttf" 9
gnuplot&gt; set output 'a_circle.png'
gnuplot&gt; plot [t=0:2*pi] sin(t)-1,cos(t) lc rgb "gold" with filledcurves title "A circle"
</pre>
<p>Yeah, I know it&#8217;s simple. But I had to google for over 10 mins to get to the &#8220;filledcurves&#8221; option. I copy&amp;pasted this code from a project I&#8217;m working on, so the output is redirected to a png file. Hope you don&#8217;t mind.</p>
<p>As for Latex: Beware of FIGURES! I only noticed it by accident. If you insert a figure like that:</p>
<pre>\begin{figure}
 \centering
 \label{fig:MyFigure}
 \includegraphics[width=0.8\textwidth]{fig/myFigure.png}\\
 \caption{SomeDescription}
\end{figure}
</pre>
<p>the numbering/referencing won&#8217;t work properly. Be sure to insert the \label{} part as the last thing in the figure environment or you&#8217;ll get strange results when referencing to that figure.</p>
<p>That&#8217;s it for now <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Hope it&#8217;ll help.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eb2erad.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eb2erad.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eb2erad.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eb2erad.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eb2erad.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eb2erad.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eb2erad.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eb2erad.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eb2erad.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eb2erad.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eb2erad.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eb2erad.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eb2erad.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eb2erad.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eb2erad.wordpress.com&amp;blog=9350370&amp;post=31&amp;subd=eb2erad&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eb2erad.wordpress.com/2010/05/07/gnuplot-and-latex-tricks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/919806b75dfce03b42e2e9534ed7750e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">eb2erad</media:title>
		</media:content>
	</item>
		<item>
		<title>The first attempt at constructing a robot</title>
		<link>http://eb2erad.wordpress.com/2010/03/20/the-first-attempt-at-constructing-a-robot/</link>
		<comments>http://eb2erad.wordpress.com/2010/03/20/the-first-attempt-at-constructing-a-robot/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 17:15:36 +0000</pubDate>
		<dc:creator>eb2erad</dc:creator>
				<category><![CDATA[Studies]]></category>

		<guid isPermaLink="false">http://eb2erad.wordpress.com/?p=26</guid>
		<description><![CDATA[Well, I recently got around to building a robot with my friends. For a start, we chose a Line Follower robot. It&#8217;s driven by two transoptors, the output of which is used as the input for PID-based driver. It has a custom-built H bridge for the motors. We are planning on adding additional sensors on [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eb2erad.wordpress.com&amp;blog=9350370&amp;post=26&amp;subd=eb2erad&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Well, I recently got around to building a robot with my friends. For a start, we chose a Line Follower robot.</p>
<p>It&#8217;s driven by two transoptors, the output of which is used as the input for PID-based driver. It has a custom-built H bridge for the motors. We are planning on adding additional sensors on the front in order to accomplish greater accuracy. Here are some videos:</p>
<span style="text-align:center; display: block;"><a href="http://eb2erad.wordpress.com/2010/03/20/the-first-attempt-at-constructing-a-robot/"><img src="http://img.youtube.com/vi/oGShc6se5go/2.jpg" alt="" /></a></span>
<span style="text-align:center; display: block;"><a href="http://eb2erad.wordpress.com/2010/03/20/the-first-attempt-at-constructing-a-robot/"><img src="http://img.youtube.com/vi/yhFJJbyHK3w/2.jpg" alt="" /></a></span>
<p>The onboard video is freaking me out <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Notice the speed and tightness of cornering <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<span style="text-align:center; display: block;"><a href="http://eb2erad.wordpress.com/2010/03/20/the-first-attempt-at-constructing-a-robot/"><img src="http://img.youtube.com/vi/JkVxl_IXtk8/2.jpg" alt="" /></a></span>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eb2erad.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eb2erad.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eb2erad.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eb2erad.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eb2erad.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eb2erad.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eb2erad.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eb2erad.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eb2erad.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eb2erad.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eb2erad.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eb2erad.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eb2erad.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eb2erad.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eb2erad.wordpress.com&amp;blog=9350370&amp;post=26&amp;subd=eb2erad&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eb2erad.wordpress.com/2010/03/20/the-first-attempt-at-constructing-a-robot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/919806b75dfce03b42e2e9534ed7750e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">eb2erad</media:title>
		</media:content>
	</item>
		<item>
		<title>A simple non-linear neuron model</title>
		<link>http://eb2erad.wordpress.com/2009/10/12/a-simple-non-linear-neuron-model/</link>
		<comments>http://eb2erad.wordpress.com/2009/10/12/a-simple-non-linear-neuron-model/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 21:09:09 +0000</pubDate>
		<dc:creator>eb2erad</dc:creator>
				<category><![CDATA[Studies]]></category>
		<category><![CDATA[books]]></category>
		<category><![CDATA[neural network]]></category>
		<category><![CDATA[tadeusiewicz]]></category>

		<guid isPermaLink="false">http://eb2erad.wordpress.com/?p=17</guid>
		<description><![CDATA[Hello everyone, though delayed (thanks to *indows), here comes my neuron model article. First of all, I want to make clear that none of these can be treated as a 100% truth. There may be mistakes everywhere&#8230; Some bibliography There is a very good intro to neural networks theory written by some other WordPress blogger. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eb2erad.wordpress.com&amp;blog=9350370&amp;post=17&amp;subd=eb2erad&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello everyone,</p>
<p>though delayed (<a href="http://eb2erad.wordpress.com/2009/10/11/why-i-actually-hate-indows/">thanks to *indows</a>), here comes my neuron model article. First of all, I want to make clear that none of these can be treated as a 100% truth. There may be mistakes everywhere&#8230;</p>
<p><strong>Some bibliography</strong></p>
<p>There is a very good intro to neural networks theory written by some other WordPress blogger. It can be found <a href="http://takinginitiative.wordpress.com/2008/04/03/basic-neural-network-tutorial-theory/">here.</a></p>
<p>There is also a great book in Polish, available on-line &#8211; by the master and pioneer of Neural Networks in Poland &#8211; prof. Tadeusiewicz, available <a href="http://winntbg.bg.agh.edu.pl/skrypty2/0263/">here, </a>which I wholeheartedly recommend.</p>
<p><strong>About this source code</strong></p>
<p>This is for those who want to learn how to create neural networks but never came across a simple example &#8211; for people like me. You get a lot of full-sized neural networks source code available on-line, whole C++ ANN libraries GPL-licensed, but never anything for a simple human being to start with. So I decided it was a high time to change that. From now on, I&#8217;ll keep posting NN-related source code, increasing its level of complicatedness. The examples will be based on the programs that come along with the book written by <strong>Tadeusiewicz</strong>. Those programs were written in QBASIC, which is rather ancient. So i&#8217;ll kind of port them to C++.</p>
<p><strong>Source code itself&#8230;</strong></p>
<p>can be found <a href="http://eb2erad.wordpress.com/2009/10/12/a-model-of-a-neuron/">here</a>. It&#8217;s not complete and idiot-proof so if you want to prove it&#8217;s not working, you can easily <img src='http://s2.wp.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  The idea is that you can characterize a flowe by two traits &#8211; it can smell good (or bad) and it can be colourfull. Those two traits can be assessed with a value ranging (for example) from -5 to 5. So you can teach the neuron to like flowers which smell very well (4-5) and are quite colourfull (2-3) and after few rounds (7 is usually enough) it can discern well those from the others and tell you how much it likes such flowers.. A pretty straightforward example but it should suffice to illustrate a simple neuron.</p>
<p><strong>The neuron</strong></p>
<p>is non-linear with activation function being f(x) = 1/(1 &#8211; exp(-x)). Its derivative is f(x)*(1-f(x)). Well, I guess you&#8217;ll get the rest from the source code. If not, comment and ask <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Have fun,</p>
<p>dare2be</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eb2erad.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eb2erad.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eb2erad.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eb2erad.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eb2erad.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eb2erad.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eb2erad.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eb2erad.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eb2erad.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eb2erad.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eb2erad.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eb2erad.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eb2erad.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eb2erad.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eb2erad.wordpress.com&amp;blog=9350370&amp;post=17&amp;subd=eb2erad&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eb2erad.wordpress.com/2009/10/12/a-simple-non-linear-neuron-model/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/919806b75dfce03b42e2e9534ed7750e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">eb2erad</media:title>
		</media:content>
	</item>
		<item>
		<title>A simple non-linear neuron model &#8211; source code</title>
		<link>http://eb2erad.wordpress.com/2009/10/12/a-model-of-a-neuron/</link>
		<comments>http://eb2erad.wordpress.com/2009/10/12/a-model-of-a-neuron/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 20:39:03 +0000</pubDate>
		<dc:creator>eb2erad</dc:creator>
				<category><![CDATA[Source Code]]></category>

		<guid isPermaLink="false">http://eb2erad.wordpress.com/?p=14</guid>
		<description><![CDATA[A model of a neron - source code<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eb2erad.wordpress.com&amp;blog=9350370&amp;post=14&amp;subd=eb2erad&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre>A simple non-linear neuron model - source code

<span id="more-14"></span><pre class="brush: cpp;">

//en.neuron.cpp - a neuron model
#include &lt;iostream&gt;
#include &lt;cstdlib&gt;
#include &lt;ctime&gt;
#include &lt;cmath&gt;

const float ETA = 0.5;
const int INPUTNO1 = 2;

using std::cout;
using std::cin;
using std::endl;

struct NEURON_T
{
 float Weights[INPUTNO1];
};

NEURON_T * InitialiseNeuron( void );
void TrainNeuron( NEURON_T * );
float Summate( NEURON_T *, float * Inputs  );
float ActivationFunction( float x );
float ActivationFunctionDerivative( float x );
float CalculateError( float Output, float Awaited );
void AdjustWeights( NEURON_T *, float * Inputs, float Output, float Error );

void TestIt( NEURON_T * );

int main()
{
 srand(time(0));
 NEURON_T * TestNeuron = InitialiseNeuron();

 int i = 0;
 while (++i &lt; 7)
 {
 TrainNeuron( TestNeuron );
 }

 i = 0;
 while (++i &lt; 5)
 {
 TestIt( TestNeuron );
 }

 delete TestNeuron;
 return 0;
}

NEURON_T * InitialiseNeuron( void )
{
 NEURON_T * TestNeuron = new NEURON_T;
 double RandMaxPlusOne = RAND_MAX+1.0;
 TestNeuron-&gt;Weights[0] = ((float)rand()/RandMaxPlusOne)*2 - 1;
 TestNeuron-&gt;Weights[1] = ((float)rand()/RandMaxPlusOne)*2 - 1;
 return TestNeuron;
}

void TrainNeuron( NEURON_T * TestNeuron )
{
 float Inputs[INPUTNO1];
 float Awaited;

 cout    &lt;&lt; &quot;\nPlease provide the traits of the flower which should be favored by the neuron:\n&quot;
 &lt;&lt; &quot;Interval: &lt;-5, 5&gt;\n&quot;
 &lt;&lt; &quot;Smells good: &quot;;
 cin    &gt;&gt; Inputs[0];

 cout    &lt;&lt; &quot;Looks good: &quot;;
 cin    &gt;&gt; Inputs[1];

 cout    &lt;&lt; &quot;How much should the neuron like that kind of flower? ( 0 - dislikes; 1 - likes )\n&quot;;
 cin    &gt;&gt; Awaited;

 float Sum = Summate( TestNeuron, Inputs );
 float Output = ActivationFunction( Sum );
 float Error = CalculateError( Output, Awaited );

 cout    &lt;&lt; &quot;The neuron responds: &quot; &lt;&lt; Output &lt;&lt; &quot; with weights [&quot; &lt;&lt; TestNeuron-&gt;Weights[0] &lt;&lt; &quot;, &quot; &lt;&lt; TestNeuron-&gt;Weights[1] &lt;&lt; &quot;]&quot; &lt;&lt; endl;

 AdjustWeights( TestNeuron, Inputs, Output, Error );

 cout    &lt;&lt; &quot;The new, adjusted weights of the neuron are: [&quot;&lt;&lt; TestNeuron-&gt;Weights[0] &lt;&lt; &quot;, &quot; &lt;&lt; TestNeuron-&gt;Weights[1] &lt;&lt; &quot;]&quot; &lt;&lt; endl;
}

float Summate( NEURON_T * TestNeuron, float * Inputs  )
{
 //Sumowanie:
 int i;
 float result = 0;
 for ( i=0; i &lt; INPUTNO1; i++ )
 {
 result += (float) TestNeuron-&gt;Weights[i] * Inputs[i];
 }
 return result;
}

float ActivationFunction( float x )
{
 return 1./(1. + exp(-x));
}

float ActivationFunctionDerivative( float x )
{
 return ActivationFunction( x ) * (1 - ActivationFunction( x ));
}

float CalculateError( float Output, float Awaited )
{
 return Awaited - Output;
}

void AdjustWeights( NEURON_T * TestNeuron, float * Inputs, float Output, float Error )
{
 int i;
 for ( i=0; i &lt; INPUTNO1; i++ )
 {
 TestNeuron-&gt;Weights[i] += ETA * Error * ActivationFunctionDerivative( Output ) * Inputs[i];
 }
}

void TestIt( NEURON_T * TestNeuron )
{
 float Inputs[INPUTNO1];
 cout    &lt;&lt; &quot;\nPlease provide the following traits of the neuron and the neuron will decide whether it likes it or not&quot;
 &lt;&lt; endl
 &lt;&lt; &quot;Smells good: &quot;;
 cin    &gt;&gt; Inputs[1];
 cout    &lt;&lt; &quot;Looks good: &quot;;
 cin    &gt;&gt; Inputs[2];

 float Sum = Summate( TestNeuron, Inputs );
 float Output = ActivationFunction( Sum );

 cout    &lt;&lt; &quot;The neuron responds: &quot;
 &lt;&lt; Output
 &lt;&lt; &quot;, which means that the neuron's attitude towards this flower is &quot;
 &lt;&lt; ((Output &lt; 0.4) ? (&quot;negative&quot;) : ((Output &gt;= 0.4 &amp;&amp; Output &lt;= 0.6) ? (&quot;neutral&quot;) : (&quot;positive&quot;)));
}

</pre>
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eb2erad.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eb2erad.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eb2erad.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eb2erad.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eb2erad.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eb2erad.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eb2erad.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eb2erad.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eb2erad.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eb2erad.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eb2erad.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eb2erad.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eb2erad.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eb2erad.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eb2erad.wordpress.com&amp;blog=9350370&amp;post=14&amp;subd=eb2erad&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eb2erad.wordpress.com/2009/10/12/a-model-of-a-neuron/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/919806b75dfce03b42e2e9534ed7750e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">eb2erad</media:title>
		</media:content>
	</item>
		<item>
		<title>Why I actually hate *indows&#8230;</title>
		<link>http://eb2erad.wordpress.com/2009/10/11/why-i-actually-hate-indows/</link>
		<comments>http://eb2erad.wordpress.com/2009/10/11/why-i-actually-hate-indows/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 21:59:50 +0000</pubDate>
		<dc:creator>eb2erad</dc:creator>
				<category><![CDATA[GNU/Linux and the rest of the world of OSes]]></category>

		<guid isPermaLink="false">http://eb2erad.wordpress.com/?p=5</guid>
		<description><![CDATA[First post is going to be actually a strong one.. But it is fully justified, since I&#8217;ve just recovered my precious Gentoo installation after the mess Windows made to my disk.. Here comes the story: I need to scan a whole book (for translating purposes) so I borrowed a Plustek scanner from my dad. As [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eb2erad.wordpress.com&amp;blog=9350370&amp;post=5&amp;subd=eb2erad&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>First post is going to be actually a strong one..</p>
<p>But it is fully justified, since I&#8217;ve just recovered my precious Gentoo installation after the mess Windows made to my disk..</p>
<p>Here comes the story: I need to scan a whole book (for translating purposes) so I borrowed a Plustek scanner from my dad. As we all know, Plusteks are dreadful when it comes to Linux support. But not having any other option, what could I do? I had to install *indows on my HDD to get it working.</p>
<p>After I finally got my *indows CD to boot (after changing few parameters in BIOS), I had to face the pure idiotism of *indows not recognizing any partitions other that NTFS/FAT. Thanks God I use LVM so I&#8217;m quite flexible and I found enough place for *indows installation. So i hit (from the *indows installer) &#8220;Delete partition&#8221;, than &#8220;Create partition&#8221; and got the weird error which can be compressed into &#8220;I&#8217;m stupid, I can&#8217;t create a new partition, although I&#8217;ve just successfully removed one.&#8221; So I hit whatever it took to exit and decided to give up and return to Gentoo to write a post on WordPress about my new neuron model. This is when I got that beautiful message</p>
<p>&#8220;Error loading operating system&#8230;&#8221;</p>
<p>This sucker altered my partition table in some wicked way so that I had to search for some old Gentoo LiveCD, boot it and chroot to my old environment and setup GRUB once more.</p>
<p>*indows&#8230; Why is it so destructive?!</p>
<p>(Thank God Linux is simple and I solved my problem in a less than two minutes&#8230;)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eb2erad.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eb2erad.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eb2erad.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eb2erad.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eb2erad.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eb2erad.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eb2erad.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eb2erad.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eb2erad.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eb2erad.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eb2erad.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eb2erad.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eb2erad.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eb2erad.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eb2erad.wordpress.com&amp;blog=9350370&amp;post=5&amp;subd=eb2erad&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eb2erad.wordpress.com/2009/10/11/why-i-actually-hate-indows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/919806b75dfce03b42e2e9534ed7750e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">eb2erad</media:title>
		</media:content>
	</item>
		<item>
		<title>Hey!</title>
		<link>http://eb2erad.wordpress.com/2009/10/11/hey/</link>
		<comments>http://eb2erad.wordpress.com/2009/10/11/hey/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 21:49:10 +0000</pubDate>
		<dc:creator>eb2erad</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://eb2erad.wordpress.com/?p=3</guid>
		<description><![CDATA[Hello, everybody Wanted to say hi to whatever comes to my blog. I&#8217;m not that really into blogging which brings me to the question: &#8220;What am I doing here, exactly?&#8221; Anyways, I&#8217;ll try to post some useful (hopefully) thoughts on whatever I learn See you around&#8230; dare2be<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eb2erad.wordpress.com&amp;blog=9350370&amp;post=3&amp;subd=eb2erad&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello, everybody <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Wanted to say hi to whatever comes to my blog. I&#8217;m not that really into blogging which brings me to the question: &#8220;What am I doing here, exactly?&#8221;</p>
<p>Anyways, I&#8217;ll try to post some useful (hopefully) thoughts on whatever I learn <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>See you around&#8230;</p>
<p>dare2be</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/eb2erad.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/eb2erad.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/eb2erad.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/eb2erad.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/eb2erad.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/eb2erad.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/eb2erad.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/eb2erad.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/eb2erad.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/eb2erad.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/eb2erad.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/eb2erad.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/eb2erad.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/eb2erad.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=eb2erad.wordpress.com&amp;blog=9350370&amp;post=3&amp;subd=eb2erad&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://eb2erad.wordpress.com/2009/10/11/hey/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/919806b75dfce03b42e2e9534ed7750e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">eb2erad</media:title>
		</media:content>
	</item>
	</channel>
</rss>
