<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.7" -->
<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/"
	>

<channel>
	<title>Slightly boring ...</title>
	<link>http://zabica.org/~dejan/blog</link>
	<description></description>
	<pubDate>Thu, 08 Jan 2009 15:35:35 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.7</generator>
	<language>en</language>
			<item>
		<title>Tip of the day</title>
		<link>http://zabica.org/~dejan/blog/2009/01/08/tip-of-the-day/</link>
		<comments>http://zabica.org/~dejan/blog/2009/01/08/tip-of-the-day/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 15:35:35 +0000</pubDate>
		<dc:creator>Dejan</dc:creator>
		
		<category>Tech</category>

		<category>Notes</category>

		<guid isPermaLink="false">http://zabica.org/~dejan/blog/2009/01/08/tip-of-the-day/</guid>
		<description><![CDATA[Must not free if &#8216;const&#8217; keyword in front of prototype.

]]></description>
			<content:encoded><![CDATA[<p><hawkins_voice>Must not free if &#8216;const&#8217; keyword in front of prototype.</hawkins_voice>
</p>
]]></content:encoded>
			<wfw:commentRss>http://zabica.org/~dejan/blog/2009/01/08/tip-of-the-day/feed/</wfw:commentRss>
		</item>
		<item>
		<title>My first bread</title>
		<link>http://zabica.org/~dejan/blog/2008/12/23/my-first-bread/</link>
		<comments>http://zabica.org/~dejan/blog/2008/12/23/my-first-bread/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 21:12:31 +0000</pubDate>
		<dc:creator>Dejan</dc:creator>
		
		<category>Uncategorized</category>

		<guid isPermaLink="false">http://zabica.org/~dejan/blog/2008/12/23/my-first-bread/</guid>
		<description><![CDATA[



















]]></description>
			<content:encoded><![CDATA[<table border="0">
<tr>
<td><img width="500" src="http://zabica.org/~dejan/blog/wp-gallery/kruh/Fotografija0029.jpg" /></td>
</tr>
<tr>
<td><img width="500" src="http://zabica.org/~dejan/blog/wp-gallery/kruh/Fotografija0030.jpg" /></td>
</tr>
<tr>
<td><img width="500" src="http://zabica.org/~dejan/blog/wp-gallery/kruh/Fotografija0031.jpg" /></td>
</tr>
<tr>
<td><img width="500" src="http://zabica.org/~dejan/blog/wp-gallery/kruh/Fotografija0032.jpg" /></td>
</tr>
<tr>
<td><img width="500" src="http://zabica.org/~dejan/blog/wp-gallery/kruh/Fotografija0033.jpg" /></td>
</tr>
<tr>
<td><img width="500" src="http://zabica.org/~dejan/blog/wp-gallery/kruh/Fotografija0034.jpg" /></td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://zabica.org/~dejan/blog/2008/12/23/my-first-bread/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Moved to Debian</title>
		<link>http://zabica.org/~dejan/blog/2008/06/30/moved-to-debian/</link>
		<comments>http://zabica.org/~dejan/blog/2008/06/30/moved-to-debian/#comments</comments>
		<pubDate>Mon, 30 Jun 2008 21:13:03 +0000</pubDate>
		<dc:creator>Dejan</dc:creator>
		
		<category>Uncategorized</category>

		<guid isPermaLink="false">http://zabica.org/~dejan/blog/2008/06/30/moved-to-debian/</guid>
		<description><![CDATA[I moved to Debian and I must say I like it more than Ubuntu.
Most of the features worked out of the box on my R60 except for the standard problems with ATI.
It works faster and actually works. No gnome-power-manager freezing, no translation errors kept over 3 Ubuntu releases and more and more.
So, Debian all the [...]]]></description>
			<content:encoded><![CDATA[<p>I moved to Debian and I must say I like it more than Ubuntu.</p>
<p>Most of the features worked out of the box on my R60 except for the standard problems with ATI.</p>
<p>It works faster and actually works. No gnome-power-manager freezing, no translation errors kept over 3 Ubuntu releases and more and more.</p>
<p>So, Debian all the way! <img src='http://zabica.org/~dejan/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />
</p>
]]></content:encoded>
			<wfw:commentRss>http://zabica.org/~dejan/blog/2008/06/30/moved-to-debian/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ubuntu 8.04 on my R60 and it&#8217;s problems</title>
		<link>http://zabica.org/~dejan/blog/2008/04/26/ubuntu-804-on-my-r60-and-its-problems/</link>
		<comments>http://zabica.org/~dejan/blog/2008/04/26/ubuntu-804-on-my-r60-and-its-problems/#comments</comments>
		<pubDate>Sat, 26 Apr 2008 01:02:23 +0000</pubDate>
		<dc:creator>Dejan</dc:creator>
		
		<category>Tech</category>

		<category>Notes</category>

		<guid isPermaLink="false">http://zabica.org/~dejan/blog/2008/04/26/ubuntu-804-on-my-r60-and-its-problems/</guid>
		<description><![CDATA[Image via WikipediaYesterday i dist-upgraded my ubuntu 7.10 to 8.04 and just after that i noticed that the machine doesn&#8217;t resume from suspend-to-RAM. The next thing i noticed is xine crash just after start with a segfault. That brought me to try glxinfo which crashed too.
My conclusion was, &#8220;Damn ATI and their borken drivers!&#8221;, so [...]]]></description>
			<content:encoded><![CDATA[<p><span style="margin: 1em; display: block; float: right" class="zemanta-img"><a target="_blank" href="http://en.wikipedia.org/wiki/Image:Ubuntu_Logo.svg"><img style="border: medium none ; display: block" alt="Ubuntu (Linux distribution)" src="http://upload.wikimedia.org/wikipedia/en/thumb/9/94/Ubuntu_Logo.svg/202px-Ubuntu_Logo.svg.png" /></a></span><span style="margin: 1em 0pt 0pt; display: block">Image via <a target="_blank" href="http://en.wikipedia.org/wiki/Image:Ubuntu_Logo.svg">Wikipedia</a></span>Yesterday i dist-upgraded my <a class="zem_slink" target="_blank" rel="homepage" title="Ubuntu (Linux distribution)" href="http://www.ubuntu.com/">ubuntu 7.10</a> to 8.04 and just after that i noticed that the machine doesn&#8217;t resume from <a class="zem_slink" target="_blank" rel="wikipedia" title="Advanced Configuration and Power Interface" href="http://en.wikipedia.org/wiki/Advanced_Configuration_and_Power_Interface">suspend-to-RAM</a>. The next thing i noticed is xine crash just after start with a segfault. That brought me to try <em>glxinfo</em> which crashed too.</p>
<p>My conclusion was, &#8220;Damn <a class="zem_slink" target="_blank" rel="homepage" title="ATI Technologies" href="http://ati.amd.com/">ATI</a> and their borken drivers!&#8221;, so i tried to install it mannully. After dozens of retries i have chosen the right solution:</p>
<p>- <em>$ sudo apt-get remove xorg-driver-<a class="zem_slink" target="_blank" rel="homepage" title="Fglrx" href="http://ati.amd.com/support/driver.html">fglrx</a> xorg-driver-fglrx-dev fglrx-amdcccle fglrx-kernel-source</em></p>
<p>- <em>$ sudo <a class="zem_slink" target="_blank" rel="wikipedia" title="Dynamic Kernel Module Support" href="http://en.wikipedia.org/wiki/Dynamic_Kernel_Module_Support">dkms</a> uninstall -m fglrx -v 8.476</em></p>
<p>- <em>$ sudo dkms remove -m fglrx -v 8.476 &#8211;all</em></p>
<p>- <em>$ sudo apt-get remove dkms</em></p>
<p>- <em>$ sudo ./ati-driver-installer-8-3-x86.x86_64.run</em> (install it without creating packages)</p>
<p>- $Â  sudo /etc/init.d/gdm restart</p>
<p>And enjoy&#8230;</p>
<p>Ah &#8230; and BTW, it seem to fix the resume from suspend problem&#8230; <img src='http://zabica.org/~dejan/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div style="margin: 5px 0pt; width: 100%" id="zemanta-pixie"><a title="Zemified by Zemanta" id="zemanta-pixie-a" href="http://www.zemanta.com/"><img style="border: medium none ; float: right" id="zemanta-pixie-img" src="http://img.zemanta.com/pixie.png?x-id=ad118292-f70b-4d09-8304-90898d907bb0" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://zabica.org/~dejan/blog/2008/04/26/ubuntu-804-on-my-r60-and-its-problems/feed/</wfw:commentRss>
		</item>
		<item>
		<title>C coding tip</title>
		<link>http://zabica.org/~dejan/blog/2008/04/11/c-coding-tip/</link>
		<comments>http://zabica.org/~dejan/blog/2008/04/11/c-coding-tip/#comments</comments>
		<pubDate>Fri, 11 Apr 2008 21:44:54 +0000</pubDate>
		<dc:creator>Dejan</dc:creator>
		
		<category>Tech</category>

		<category>Notes</category>

		<guid isPermaLink="false">http://zabica.org/~dejan/blog/2008/04/11/c-coding-tip/</guid>
		<description><![CDATA[There&#8217;s nothing wrong with having 6 lines more in your header files even if you don&#8217;t need them right now.
You wil maybe spare a lot of time debugging build/linking problems in the future with them.
#ifdef __cplusplus
extern &#8220;C&#8221; {
#endif
#ifndef YOUR_HEADER_
#define YOUR_HEADER_
int main(int argc, char ** argv) {
&#8230;
}
#endifÂ 
#ifdef __cplusplus
}
#endif 
This is needed if you want to use [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s nothing wrong with having 6 lines more in your <a class="zem_slink" target="_blank" rel="wikipedia" title="Header file" href="http://en.wikipedia.org/wiki/Header_file">header files</a> even if you don&#8217;t need them right now.</p>
<p>You wil maybe spare a lot of time debugging build/linking problems in the future with them.</p>
<blockquote><p><em>#ifdef __cplusplus<br />
extern &#8220;C&#8221; {<br />
#endif</em></p>
<p><em>#ifndef YOUR_HEADER_<br />
#define YOUR_HEADER_</em></p>
<p>int main(int argc, char ** argv) {</p>
<p>&#8230;</p>
<p>}</p>
<p><em>#endifÂ </em></p>
<p><em>#ifdef __cplusplus<br />
}<br />
#endif </em></p></blockquote>
<p>This is needed if you want to use your lib in C++.</p>
<div style="margin: 5px 0pt; width: 100%" id="zemanta-pixie"><a title="Zemified by Zemanta" id="zemanta-pixie-a" href="http://www.zemanta.com/"><img style="border: medium none ; float: right" id="zemanta-pixie-img" src="http://img.zemanta.com/pixie.png?x-id=70072e95-0e9e-44ba-ab68-b9eeb5a5c426" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://zabica.org/~dejan/blog/2008/04/11/c-coding-tip/feed/</wfw:commentRss>
		</item>
		<item>
		<title>FOSDEM: Free internet finally!!!!</title>
		<link>http://zabica.org/~dejan/blog/2008/02/23/fosdem-free-internet-finally/</link>
		<comments>http://zabica.org/~dejan/blog/2008/02/23/fosdem-free-internet-finally/#comments</comments>
		<pubDate>Sat, 23 Feb 2008 10:46:58 +0000</pubDate>
		<dc:creator>Dejan</dc:creator>
		
		<category>Uncategorized</category>

		<category>My Life</category>

		<category>School</category>

		<category>Tech</category>

		<category>Private</category>

		<category>Notes</category>

		<guid isPermaLink="false">http://zabica.org/~dejan/blog/2008/02/23/fosdem-free-internet-finally/</guid>
		<description><![CDATA[After 2 days offline.


]]></description>
			<content:encoded><![CDATA[<p>After 2 days offline.</p>
<p><img style="width: 436px; height: 327px" title="Internet finally" alt="Internet finally" src="http://zabica.org/~dejan/blog/wp-gallery/fosdem2008/23022008.jpg" />
</p>
]]></content:encoded>
			<wfw:commentRss>http://zabica.org/~dejan/blog/2008/02/23/fosdem-free-internet-finally/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Maybe, &#8230;</title>
		<link>http://zabica.org/~dejan/blog/2008/02/15/maybe/</link>
		<comments>http://zabica.org/~dejan/blog/2008/02/15/maybe/#comments</comments>
		<pubDate>Fri, 15 Feb 2008 08:52:15 +0000</pubDate>
		<dc:creator>Dejan</dc:creator>
		
		<category>Tech</category>

		<guid isPermaLink="false">http://zabica.org/~dejan/blog/2008/02/15/maybe/</guid>
		<description><![CDATA[

]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.fosdem.org"><img alt="Iâ€™m going to FOSDEM, the Free and Open Source Software Developersâ€™ European Meeting" src="http://www.fosdem.org/promo/going-to" /></a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://zabica.org/~dejan/blog/2008/02/15/maybe/feed/</wfw:commentRss>
		</item>
		<item>
		<title>01110100001100010010001001011000</title>
		<link>http://zabica.org/~dejan/blog/2008/02/14/01110100001100010010001001011000/</link>
		<comments>http://zabica.org/~dejan/blog/2008/02/14/01110100001100010010001001011000/#comments</comments>
		<pubDate>Thu, 14 Feb 2008 13:28:38 +0000</pubDate>
		<dc:creator>Dejan</dc:creator>
		
		<category>Tech</category>

		<guid isPermaLink="false">http://zabica.org/~dejan/blog/2008/02/14/01110100001100010010001001011000/</guid>
		<description><![CDATA[0111000001001101110101110101010110101010010101011101 &#8230;

]]></description>
			<content:encoded><![CDATA[<p>0111000001001101110101110101010110101010010101011101 &#8230;
</p>
]]></content:encoded>
			<wfw:commentRss>http://zabica.org/~dejan/blog/2008/02/14/01110100001100010010001001011000/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Lost in the code</title>
		<link>http://zabica.org/~dejan/blog/2008/01/15/lost-in-the-code/</link>
		<comments>http://zabica.org/~dejan/blog/2008/01/15/lost-in-the-code/#comments</comments>
		<pubDate>Tue, 15 Jan 2008 17:02:46 +0000</pubDate>
		<dc:creator>Dejan</dc:creator>
		
		<category>Tech</category>

		<guid isPermaLink="false">http://zabica.org/~dejan/blog/2008/01/15/lost-in-the-code/</guid>
		<description><![CDATA[A lot of times, when I write code, I get lost in the source. I just can&#8217;t write a nice piece of code without during a learning process, rfc, spec, &#8230;
I really need to write it twice, the first time for learning and the second time for production. If I even try to leave the [...]]]></description>
			<content:encoded><![CDATA[<p>A lot of times, when I write code, I get lost in the source. I just can&#8217;t write a nice piece of code without during a learning process, rfc, spec, &#8230;</p>
<p>I really need to write it twice, the first time for learning and the second time for production. If I even try to leave the first code I get lost trough the lines.</p>
<p>Do you maybe have something that will help me? <img src='http://zabica.org/~dejan/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />
</p>
]]></content:encoded>
			<wfw:commentRss>http://zabica.org/~dejan/blog/2008/01/15/lost-in-the-code/feed/</wfw:commentRss>
		</item>
		<item>
		<title>H263 crappy payloading</title>
		<link>http://zabica.org/~dejan/blog/2008/01/13/h263-crappy-payloading/</link>
		<comments>http://zabica.org/~dejan/blog/2008/01/13/h263-crappy-payloading/#comments</comments>
		<pubDate>Sun, 13 Jan 2008 01:58:53 +0000</pubDate>
		<dc:creator>Dejan</dc:creator>
		
		<category>Tech</category>

		<category>Notes</category>

		<guid isPermaLink="false">http://zabica.org/~dejan/blog/2008/01/13/h263-crappy-payloading/</guid>
		<description><![CDATA[For the last month I was trying to get a &#8220;by spec&#8221; H263 rtp stream out of Gstreamer, the currently available payloader plugin is just a quick hack, so i was trying create a patch to get it right.
I don&#8217;t wonder anymore why there&#8217;s no open source by spec implementation of the rfc2190, actually there [...]]]></description>
			<content:encoded><![CDATA[<p>For the last month I was trying to get a &#8220;by spec&#8221; H263 rtp stream out of <a title="Gstreamer" href="http://gstreamer.freedesktop.org/">Gstreamer</a>, the currently available payloader plugin is just a quick hack, so i was trying create a patch to get it right.</p>
<p>I don&#8217;t wonder anymore why there&#8217;s no open source by spec implementation of the <a title="RFC2190" href="http://www.faqs.org/rfcs/rfc2190.html">rfc2190</a>, actually there are just a few closed source ones. The reason why is just the complexity of this rfc complicates the implementation so much, that nobody wants to implement it right i guess. Everybody is using the newer dynamic payload type 96 instead, because it&#8217;s easier to implement and lightweight, but as known a lot of systems still use the old - 34 - and that&#8217;s why i&#8217;m working this.</p>
<p>This rfc defines 3 modes for payloading frames, the first mode is simple, you take a frame and if it fits in a package you add the payload header and send it over rtp, if it doesnt you split the frame at &#8220;Group Of Block&#8221; boundries. The second and third apply to frames with &#8220;groups of blocks&#8221; bigger than MTU, you normally send the other fitting GOBs, the bigger ones must be packet at macroblock boundries in regard to the frame type (payload mode B for normal frames - I, P - mode C for PB frames).</p>
<p>To get theÂ  macroblock boundries you have practically decode the video because most of the codes in it are variable length and you don&#8217;t know when you got it.<br />
The Gstreamer plugin is not yet completed, but i hope it will be soon.</p>
<p>Have fun!!!
</p>
]]></content:encoded>
			<wfw:commentRss>http://zabica.org/~dejan/blog/2008/01/13/h263-crappy-payloading/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
