<?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>Jan Slupski</title>
	<atom:link href="http://juljas.net/lpt/feed" rel="self" type="application/rss+xml" />
	<link>http://juljas.net/lpt</link>
	<description>Linux - Programming - Technology</description>
	<lastBuildDate>Wed, 18 Jan 2012 08:59:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>WordPress moderate comments even if moderation off</title>
		<link>http://juljas.net/lpt/post/wordpress-moderate-comments-even-if-moderation-off</link>
		<comments>http://juljas.net/lpt/post/wordpress-moderate-comments-even-if-moderation-off#comments</comments>
		<pubDate>Thu, 19 May 2011 20:29:03 +0000</pubDate>
		<dc:creator>Jan Slupski</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://juljas.net/lpt/?p=198</guid>
		<description><![CDATA[Recently I came across a problem with comments moderation. I didn&#8217;t want to have comments on a blog moderated, so I have turned it off in a discussion settings in WordPress. But WordPress kept putting all new comments into the &#8230; <a href="http://juljas.net/lpt/post/wordpress-moderate-comments-even-if-moderation-off">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Recently I came across a problem with comments moderation. I didn&#8217;t want to have comments on a blog moderated, so I have turned it off in a discussion settings in WordPress. But WordPress kept putting all new comments into the moderation queue. </p>
<p>The answer is an <em>Akismet</em> plugin, that was turned on but not initialized (no code generated). Apparently Akismet in that state treat all comments as suspicious and overrides WordPress by putting them to moderation queue.</p>
<p>Disabling Akismet plugin finally turned the moderation off.</p>
]]></content:encoded>
			<wfw:commentRss>http://juljas.net/lpt/post/wordpress-moderate-comments-even-if-moderation-off/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Skype, Firefox 4 (or other 32-bit app) on 64-bit Fedora Linux</title>
		<link>http://juljas.net/lpt/post/skype-firefox-4-or-other-32-bit-app-on-64-bit-fedora</link>
		<comments>http://juljas.net/lpt/post/skype-firefox-4-or-other-32-bit-app-on-64-bit-fedora#comments</comments>
		<pubDate>Fri, 25 Mar 2011 20:40:34 +0000</pubDate>
		<dc:creator>Jan Slupski</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://juljas.net/lpt/?p=184</guid>
		<description><![CDATA[After setting up new Fedora 14 x86_64 system I have installed Skype for Fedora offered on the Skype web page. It turned out that it is i586 compilation and my system wasn&#8217;t configured to run 32-bit applications out of the &#8230; <a href="http://juljas.net/lpt/post/skype-firefox-4-or-other-32-bit-app-on-64-bit-fedora">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After setting up new Fedora 14 x86_64 system I have installed Skype for Fedora offered on the <a href="http://www.skype.com/intl/en/get-skype/on-your-computer/linux/post-download/">Skype web page.</a> It turned out that it is i586 compilation and my system wasn&#8217;t configured to run 32-bit applications out of the box. The same problem showed up with brand new Firefox 4 that also by default came in i386 flavor. </p>
<p>► <a href="#solution">Jump straight to solution</a></p>
<p>First error I got was:</p>
<div class='code'><code>bash: /usr/bin/skype: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory</code></div>
<p>This is the sign of missing i386 version of <i>glibc</i> library.</p>
<p>After installing that, there were more errors, i.e.:</p>
<div class='code'><code>skype: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory<br />
skype: error while loading shared libraries: libXv.so.1: cannot open shared object file: No such file or directory<br />
</code></div>
<p>and more of such. </p>
<p>Each one means missing i386 (i686) library that was not installed by default on x86_64 system.</p>
<p>To find out package that needs to be installed for a particular error, I first check if I do have x86_64 version, i.e.</p>
<div class='code'><code>$ locate libXv.so.1<br />
/usr/lib64/libXv.so.1<br />
/usr/lib64/libXv.so.1.0.0</code></div>
<p>Then I check what is the name of the package containing it:</p>
<div class='code'><code>$ rpm -qf /usr/lib64/libXv.so.1<br />
libXv-1.0.5-1.fc13.x86_64</code></div>
<p>and I learn that I need to install <strong>libXv.i686</strong> &#8212; the same package in i386/i686 flavor.</p>
<hr />
<p><a name="solution"></a>For Skype this is the command that will install all the requirements:</p>
<div class='code'><code>yum install glibc.i686 alsa-lib.i686 libXv.i686 libXScrnSaver.i686 libstdc++.i686 qt.i686 qt-x11.i686</code></div>
<p>Firefox 4 is more demanding and needs yet:</p>
<div class='code'><code>yum install gtk2.i686 dbus-glib.i686 libXt.i686</code></div>
]]></content:encoded>
			<wfw:commentRss>http://juljas.net/lpt/post/skype-firefox-4-or-other-32-bit-app-on-64-bit-fedora/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Moving windows partition</title>
		<link>http://juljas.net/lpt/post/moving-windows-partition</link>
		<comments>http://juljas.net/lpt/post/moving-windows-partition#comments</comments>
		<pubDate>Mon, 14 Feb 2011 15:07:28 +0000</pubDate>
		<dc:creator>Jan Slupski</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[fat32]]></category>
		<category><![CDATA[low level]]></category>
		<category><![CDATA[partitions]]></category>

		<guid isPermaLink="false">http://juljas.net/lpt/?p=107</guid>
		<description><![CDATA[Moving a FAT32 partition within a disk will make Windows on it unbootable. <a href="http://juljas.net/lpt/post/moving-windows-partition">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><em>This is an advanced topic, and the description below is very quick and     raw. If you have any doubts you know what you are doing, just don&#8217;t risk     and don&#8217;t experiment.</em></p>
<p>After moving a FAT32 (not sure about NTFS) partition within a disk (as a whole,   without looking inside, just byte-to-byte copying), Windows stops   to boot. It even starts to, but later fails with the error (blue screen) -  I don&#8217;t remember saying what   right now (but will check).</p>
<p>Problem is that damn Windows keeps absolute offset of the partition data   inside the boot sector of that partition!</p>
<p>These are 4 little-endian bytes at 1Ch offset from partition start.<br />
Number in there should point do partition data start, that is (at least in case of extended partitions) partition offset (a sum of size of all the preceding   partitions) + 63 bytes.</p>
<p>References: <a href="http://mirror.href.com/thestarman/asm/mbr/MSWIN41.htm">MS WIN4.1 boot record</a> <a name="gwu513"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://juljas.net/lpt/post/moving-windows-partition/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>KDE 4 grumbling</title>
		<link>http://juljas.net/lpt/post/kde-4-grumbling</link>
		<comments>http://juljas.net/lpt/post/kde-4-grumbling#comments</comments>
		<pubDate>Mon, 14 Feb 2011 14:59:02 +0000</pubDate>
		<dc:creator>Jan Slupski</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://juljas.net/lpt/?p=158</guid>
		<description><![CDATA[Recently I have upgraded my system to Fedora 9, and was generously forced to upgrade KDE 3 to KDE 4. I found it very annoying, and still cannot configure it in a way I&#8217;m used to work on my desktop. &#8230; <a href="http://juljas.net/lpt/post/kde-4-grumbling">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<style type='text/css'>
    <!--
    .bug { background: #fee; border: #faa 1px solid; }
    ul.err { padding: 0; } 
    ul.err li { padding: 10px; list-style: none; margin: 0; margin-bottom: 1em;} 
    .partfixed { background: #ffd; border: #ff0 1px solid; } 
    .fixed { background: #efe; border: #afa 1px solid; } 
    // -->
  </style>
<p>  Recently I have upgraded my system to Fedora 9, and was generously forced to upgrade KDE 3 to KDE 4. I found it very annoying, and still cannot configure it in a way I&#8217;m used to work on my desktop.</p>
<p>  So here you have &#8211; my <span class='bug'>problems</span>, <span class='partfixed'>workarounds</span>, and <span class='fixed'>solutions</span> (if I ever get to that point).</p>
<ul class='err'>
<li class='fixed'>
    <b>Upgraded KDE 3 to KDE 4 + doing some configuration tweaking resulted in<br />
      crash of KDE on every startup</b>. Well, I didn&#8217;t have time to debug it, so<br />
    just removed ~/.kde directory and did new config from scratch. Painful, lost<br />
    all settings from kde apps too (have a backup), but worked.</p>
<p>Ah, it happened again. I wasn&#8217;t going to scratch the config again, so tried to find out.<br />
    Crash seems to be related with adding some scripts (anything?) to<br />
    ~/.kde/Autostart. If I find out something more, I&#8217;ll be submitting a bug<br />
    report probably.</p>
<p>    <b>Update:</b> Problem turned out to be my default settings of <i>umask 0077</i>, that disallowed any access to <i>/usr/share/mime/</i> every time it got updated. That made kde to crash.
    </li>
<li class='partfixed'>
    <b>Panel (or how they call the main menu bar) on the left (vertically)<br />
      setting is unusable</b> Applications (widgets) embed in it, just does not<br />
    support (does not fit) that mode. No solution as of now.<br />
    <b>Update (KDE 4.2):</b> This is partially fixed, but some apps/widgets still behave poorly.
    </li>
<li class='partfixed'>
<p>    <b>No &#8216;Manual&#8217; mode for window placement</b> Any automatic (even Smart) option<br />
    on a large (virtual/multi-monitor) display just does not work for me. I want<br />
    manual control, period. For KDE 3 I wrote a small, and quite imperfect patch<br />
    to add that mode to kwin. Will have to do the same for KDE 4.<br />
    Anyway, ok, that&#8217;s just a <a href='http://bugs.kde.org/show_bug.cgi?id=23710'>feature request</a>, with apparently minimal interest among users. </p>
<p>    <b>Update (KDE 4.2):</b> I have implememnted that feature for myself. Maybe after more testing I will make the patch public.</p>
</li>
<li class='fixed'>
    <b>gnome-terminal just got mad</b>, shows a lot of trash instead of ASCII<br />
    text on a +- half of the screen. Didn&#8217;t debug. Highlighting the text, or<br />
    moving the window out of the screen and back helps until contents changes.<br />
    <center><img src='/linux/i/gnome-terminal-mess.png' alt='gnome-termial window with broken contents'></center><br />
    Tried switching to konsole, but&#8230;</p>
<p>    <b>Update (KDE 4.1):</b> this started to work ok at some point. Not sure when/why. No more <i>konsole</i>. Hurray!
    </li>
<li class='bug'>
    <b>konsole knows better(!) what shortcuts I want to use</b>, so redefines<br />
    Ctrl+Insert to &#8216;Paste&#8217; the clipboard (aka Ctrl+V), instead paste the current selection (X<br />
    default), and disallow to change it.
    </li>
<li class='bug'>
    <b>konsole starts in geometry of last closed konsole</b> (sic!), and no way<br />
    to change, set up on<br />
    <a href='http://bugs.kde.org/show_bug.cgi?id=147094'>command line</a> or in<br />
    any other way (tried dcop/dbus too!)<br /> 
    </li>
<li class='bug'>
    <b>konsole tabs cannot be set up</b> upon command line startup, i.e. what<br />
    tabs are opened, how to name them, and what command to run 
    </li>
<li class='fixed'>
    Where <b>do I configure mouse wheel to change desktops?</b></p>
<p>    <i>Answer: Option is gone in KDE4 (using compositing, but apparently, in my case, without compositing too), but <a href='http://techbase.kde.org/Projects/KWin/4.0-release-notes#Usage'>planned</a>.</i></p>
<p>    <b>Update (KDE 4.2):</b> Fixed
    </li>
<li class='bug'>
<p>    New <b>kickoff menu very hard to navigate</b> when you want to scan through menus. Fortunately old one is available.
    </li>
<li class='bug'>
    How do I setup <b>middle click on the desktop = window list</b>?</p>
</li>
<li class='fixed'>
    And <b>forced predefined shortcuts again!</b>.  I&#8217;m used to have Alt+Up<br />
    combination bound to Window Rise action. Who made the developers into the<br />
    position to decide it will be irrevocably bound to some &#8216;Up&#8217; action?! If you<br />
    wish, you can warn, that redefining the <i>standard action</i> is a bad idea<br />
    and user does it on his responsibility. But force?! You are apparently going<br />
    Windows!<br />
    <center><img src='/linux/i/keybindng-standard-action.png' alt='Dialog showing error window'></center><br />
    <span style='font-size: smaller; color: gray;'>Window says: The &#8216;Alt+Up&#8217; key combination has already been allocated to the standard action &#8220;Up&#8221; that many application use. You cannot use it for global shortcuts for this reason.</span></p>
</li>
</ul>
<hr />
<ul>
<li>Fixed both <b>forced shortcuts</b> problem with a <a href='kdelibs-remove-shortcuts.patch'>kdelibs-remove-shortcuts.patch</a>. For now on, it disables only shortcuts: Alt+Up &amp; Shift+Insert, so both can redefined. This unfortunately does not fix Ctrl+Insert being bound to &#8216;Paste&#8217; (although it can be now redefined to something else).
<li>It means rebuilding whole KDE rpms every KDE update. Eh&#8230;
  </ul>
<p><em>Post Scriptum: this is an import of information that I wrote a while ago. Things might have changed since then.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://juljas.net/lpt/post/kde-4-grumbling/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>IOGear GWU513 wireless card &#8211; Windows 64-bit drivers</title>
		<link>http://juljas.net/lpt/post/iogear-gwu513-wireless-card-windows-64-bit-drivers</link>
		<comments>http://juljas.net/lpt/post/iogear-gwu513-wireless-card-windows-64-bit-drivers#comments</comments>
		<pubDate>Mon, 14 Feb 2011 14:30:46 +0000</pubDate>
		<dc:creator>Jan Slupski</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[drivers]]></category>
		<category><![CDATA[wifi]]></category>

		<guid isPermaLink="false">http://juljas.net/lpt/?p=103</guid>
		<description><![CDATA[I&#8217;ve been trying to find x64 drivers for my USB 802.11g WiFi adapter (actually to use them under Linux x86_64, but that doesn&#8217;t matter). I couldn&#8217;t find Vista nor XP 64-bit drivers for it, neither for any other device with &#8230; <a href="http://juljas.net/lpt/post/iogear-gwu513-wireless-card-windows-64-bit-drivers">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been trying to find x64 drivers for my USB 802.11g WiFi adapter (actually  to use them under Linux x86_64, but that doesn&#8217;t matter). I couldn&#8217;t  find Vista nor XP 64-bit drivers for it, neither for any other device  with Prism54 chip GWU513 has.<br />
So finally I went into a Live Chart with IOGEAR support and here is an answer I got:</p>
<blockquote>
<div>You are now chatting with: &#8216;Iogear3&#8242;<br />
<strong>Iogear3</strong>: Thank you for using IOGEAR Customer Advocacy  Technical Support Live Chat. Please tell me your model number, operating  system, and short description of the problem.<br />
<strong>You</strong>: Hello, I own GWU513 802.11g network card, and just  upgraded my computer to 64 bit. Where can I find drivers that would work  with 64-bit OS?<br />
<strong>Iogear3</strong>: That unit is only supported on 32 bit OSs, we unfortunately do not offer support for it under 64 bit systems.<br />
<strong>You</strong>: Are there any plans to release 64-bit drivers?<br />
<strong>Iogear3</strong>: No as that product is discontinued we have no plans to offer 64 bit support.<br />
<strong>You</strong>: Hmm, I must say I&#8217;m quite disappointed.<br />
<strong>You</strong>: Hmm, I must say I&#8217;m quite disappointed.Thanks anyway<br />
<strong>Iogear3</strong>: Take care.</div>
</blockquote>
<p>Well, that would be it&#8230; Any new info is appreciated.</p>
<p>PS. Actually, GWU513 works under Linux (x86 and x86_64) after <a href="post/gwu513-on-linux">minor tweaking</a>.<br />
Isn&#8217;t it funny that for once Linux has better WiFi drivers than Windows?</p>
]]></content:encoded>
			<wfw:commentRss>http://juljas.net/lpt/post/iogear-gwu513-wireless-card-windows-64-bit-drivers/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Matshita UJDA745 CD-RW/DVD combo drive failure</title>
		<link>http://juljas.net/lpt/post/dvd-ujda745-failure</link>
		<comments>http://juljas.net/lpt/post/dvd-ujda745-failure#comments</comments>
		<pubDate>Mon, 14 Feb 2011 14:25:20 +0000</pubDate>
		<dc:creator>Jan Slupski</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[dvd]]></category>
		<category><![CDATA[failure]]></category>

		<guid isPermaLink="false">http://juljas.net/lpt/?p=99</guid>
		<description><![CDATA[Matshita UJDA745 (Panasonic/Matsushita) is an ultraslim 9.5mm (regular is 12.7mm high) cdrw/dvd drive build into some light laptops, ie. Sony Vaio PCG-V505BX (and probably other from 505 series), IBM T40. DVD reading problems Unfortunately it seems that it is build &#8230; <a href="http://juljas.net/lpt/post/dvd-ujda745-failure">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div>
<div><img class="alignright" src="../../linux/i/ujda745.jpg" alt="UJDA745 drive" width="400" height="247" /></div>
<p><strong>Matshita UJDA745</strong> (Panasonic/Matsushita) is an ultraslim 9.5mm (regular is 12.7mm high) cdrw/dvd drive build    into some light laptops, ie. Sony Vaio PCG-V505BX (and probably other    from 505 series), IBM T40.</p>
<h2>DVD reading problems</h2>
<p>Unfortunately it seems that it is build on weak parts, or    something else bad happens to the hardware as after some period of time   for unspecified reason drive <strong>stops reading/playing DVDs</strong>.   Some DVD still can be recognized, but later a lot of read errors   shows up. Same DVDs are read without any problem in another drive.<br />
This happened to drive I bought (new) in a laptop and another    I&#8217;ve bought on eBay as a replacement.</p>
<h3>more info</h3>
<ul>
<li>CD and CD-writing is not affected.</li>
<li>both data DVD and video DVD does not work (neither DVD-R/RW nor pressed)</li>
<li>not an OS issue (doesn&#8217;t work in Linux nor in WinXP)</li>
<li>uploading newest firmware 1.05 doesn&#8217;t help</li>
<li>software or hardware were not abused in any way (ie. no unofficial firmwares, no disassembling)</li>
<li>BTW, drive &#8216;by design&#8217; doesn&#8217;t read DVD+R (but firmware 1.05 states to add support for Double Layer DVD+R)</li>
</ul>
<h3>devices that failed</h3>
<ul>
<li>manufactured: <strong>June 2003</strong>, serial no: <strong>3FBEB127xxx</strong></li>
<li>manufactured: <strong>March 2003</strong>, serial no: <strong>3CAEB037xxx</strong></li>
</ul>
<h3>finally&#8230;, replace with compatible drive</h3>
<p>After unsuccessful tries to rescue or replace broken UJDA745 drive, with new one. I have finally decided   to buy compatible DVD+-RW drive <strong>MATSHITA UJ-822Da</strong>. I&#8217;ve paid about $130 on eBay.   Replacing the drive is easy, and the drive seems to work without any problems   so far (a few months now).</p>
<h2>Resources</h2>
<p><em>Here I&#8217;m trying to collect web resources on that issue, for   others that are hit by that issue, and to show that it is not   single issue, but rather common problem with this hardware&#8230;</em></p>
<h3>various complains on the issue</h3>
<ul>
<li><a href="http://www.driversearch.com/forums/cdrom/5020.html">http://www.driversearch.com/forums/cdrom/5020.html</a> (a lot of complains)</li>
<li><a href="http://yabb.jriver.com/interact/index.php?topic=28973.0">http://yabb.jriver.com/interact/index.php?topic=28973.0</a></li>
<li><a href="http://forum.rpc1.org/viewtopic.php?t=32519">http://forum.rpc1.org/viewtopic.php?t=32519</a></li>
<li><a href="http://www.siliconpopculture.com/sonytr/viewtopic.php?p=35085">http://www.siliconpopculture.com/sonytr/viewtopic.php?p=35085</a>,     <a href="http://www.siliconpopculture.com/sonytr/viewtopic.php?p=38651">p=35085</a></li>
<li><a href="http://www.computing.net/hardware/wwwboard/forum/37516.html">http://www.computing.net/hardware/wwwboard/forum/37516.html</a></li>
<li><a href="http://www.howtofixcomputers.com/bb/sutra216442.html">http://www.howtofixcomputers.com/bb/sutra216442.html</a></li>
</ul>
<h3>Compatible models</h3>
<p>Some says that <strong>UJDA755</strong>, <a href="http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-55186"><strong>Panasonic UJ-812B DVD-R</strong></a> or <strong>Panasonic UJ-822B DVD+-R</strong> can replace UJDA745</p>
<ul>
<li><a href="http://www.siliconpopculture.com/sonytr/viewtopic.php?p=38651">http://www.siliconpopculture.com/sonytr/viewtopic.php?p=38651</a></li>
<li><a href="http://www.driverzone.com/viewcomment.php?company=Matshita&amp;masterid=418">Others say</a> that <strong>Panasonic UJ-810</strong> fails after 12 months too&#8230;</li>
<li><a href="http://www.siliconpopculture.com/sonytr/viewtopic.php?t=3681">Reports</a> that updating <strong>Panasonic UJ-812B</strong> bios from K101 to K103 broke DVD reading.</li>
<li><a href="http://forum.thinkpads.com/viewtopic.php?t=10274&amp;view=previous&amp;sid=962cc0e694e79ab59e3a05682b9bc056">Another UJ-812B problem reports</a></li>
</ul>
<h2>Other resources</h2>
<ul>
<li><a href="http://esupport.sony.com/perl/swu-download.pl?mdl=PCGV505BX&amp;upd_id=1860&amp;os_id=7">Firmware update</a> for Sony Vaio laptops</li>
<li><a href="http://www-3.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-41020">Firmware update</a> for IBM laptops</li>
</ul>
<h2>Comments</h2>
<p>Any solution to the problem is really appreciated&#8230;<br />
Any additional info of course, too&#8230;<br />
By then, I would recommend to avoid buying laptop with an UJDA745.     <small><br />
</small></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://juljas.net/lpt/post/dvd-ujda745-failure/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debug memory errors with valgrind</title>
		<link>http://juljas.net/lpt/post/memory-errors-with-valgrind</link>
		<comments>http://juljas.net/lpt/post/memory-errors-with-valgrind#comments</comments>
		<pubDate>Mon, 14 Feb 2011 14:18:59 +0000</pubDate>
		<dc:creator>Jan Slupski</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[memory]]></category>

		<guid isPermaLink="false">http://juljas.net/lpt/?p=96</guid>
		<description><![CDATA[Quick look at valgrind - the memory debugger and an option for disabling glibc memory debugging. <a href="http://juljas.net/lpt/post/memory-errors-with-valgrind">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>For debugging memory errors <a href="http://valgrind.org/">valgrind</a> is very useful tool.</p>
<div class='code'>
<div class='title'>broken program would show</div>
<p><code>$ ./program<br />
*** glibc detected *** double free or corruption (out): 0x08138a80 ***<br />
Aborted</code></p></div>
<div class='code'>
<div class='title'>valgrind shows where the problem occurs</div>
<p><code>$ valgrind ./program&lt;/div&gt;<br />
&lt;div&gt;==31784== Invalid free() / delete / delete[]<br />
==31784==&nbsp;&nbsp;&nbsp;&nbsp;at 0x1B90579D: free (vg_replace_malloc.c:152)<br />
==31784==&nbsp;&nbsp;&nbsp;&nbsp;by 0x1BB2E6CD: xfree (xmalloc.c:200)<br />
==31784==&nbsp;&nbsp;&nbsp;&nbsp;by 0x1BB25095: _xFreePtr (mem.c:613)</code></p></div>
<p>For debugging with valgrind I use following configuration:</p>
<div class='code'>
<div class='title'>~/.valgrindrc</strong> file</span></div>
<p><code>--tool=memcheck<br />
--memcheck:leak-check=yes<br />
--memcheck:show-reachable=yes<br />
--num-callers=16<br />
--memcheck:db-attach=no</code></p></div>
<p>To disable glibc memory errors detection you need to set <strong>MALLOC_CHECK_</strong> environment variable to <strong>0</strong> (note the ending underscore).</p>
<div class='code'><code>export MALLOC_CHECK_=0</code></div>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://juljas.net/lpt/post/memory-errors-with-valgrind/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WindowMaker DockApp fix</title>
		<link>http://juljas.net/lpt/post/windowmaker-dockapp-fix</link>
		<comments>http://juljas.net/lpt/post/windowmaker-dockapp-fix#comments</comments>
		<pubDate>Mon, 14 Feb 2011 13:51:19 +0000</pubDate>
		<dc:creator>Jan Slupski</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[windowmaker]]></category>

		<guid isPermaLink="false">http://juljas.net/lpt/?p=91</guid>
		<description><![CDATA[What to do when WindowMaker DockApp does not show, or show in regular window <a href="http://juljas.net/lpt/post/windowmaker-dockapp-fix">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h3>WindowMaker DockApp does not show, or show in regular window</h3>
<p>Normally DockApps should be displayed in special mode, so they can be docked    in one of the screen corners. They also does not have titlebar, and does not   require to be placed manually (if this is set up in Window Maker).</p>
<p>Some old DockApp applications are somehow incompatible with recent WindowMaker   (tested on 0.91+), and either does not display at all, or display in regular   &#8220;window&#8221;.</p>
<p>I didn&#8217;t see confirmation of that behavior, so maybe this is only my issue   (but on a few machines) but solution I found is to fix the source code bye  changing one line of it. Search for <em><tt>res_class</tt></em> string in the    source and change right side of the expression to the <tt>"DockApp"</tt>.   Recompile.</p>
<div class='code'>
<div class='title'>Old code</div>
<p><code>something.res_class = &quot;anything&quot;;</code></p></div>
<div class='code'>
<div class='title'>New code</div>
<p><code>something.res_class = &quot;DockApp&quot;;</code></p></div>
<div><em>Post Scriptum: this is an import of information that I wrote a while ago. Things might have changed since then.</em></div>
]]></content:encoded>
			<wfw:commentRss>http://juljas.net/lpt/post/windowmaker-dockapp-fix/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Playing DVD movie stored in an image on a disk</title>
		<link>http://juljas.net/lpt/post/play-dvd-image</link>
		<comments>http://juljas.net/lpt/post/play-dvd-image#comments</comments>
		<pubDate>Mon, 14 Feb 2011 13:46:10 +0000</pubDate>
		<dc:creator>Jan Slupski</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[dvd]]></category>
		<category><![CDATA[movie]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://juljas.net/lpt/?p=89</guid>
		<description><![CDATA[mplayer dvd:// -dvd-device /tmp/movie-image.iso]]></description>
			<content:encoded><![CDATA[<div class='code'>
<code>mplayer dvd:// -dvd-device /tmp/movie-image.iso</code></div>
]]></content:encoded>
			<wfw:commentRss>http://juljas.net/lpt/post/play-dvd-image/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Forward email as an attachment in pine</title>
		<link>http://juljas.net/lpt/post/email-as-an-attachment-in-pine</link>
		<comments>http://juljas.net/lpt/post/email-as-an-attachment-in-pine#comments</comments>
		<pubDate>Mon, 14 Feb 2011 13:42:48 +0000</pubDate>
		<dc:creator>Jan Slupski</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[pine]]></category>

		<guid isPermaLink="false">http://juljas.net/lpt/?p=83</guid>
		<description><![CDATA[By default pine attaches forwarded messages inline. Here is trick to forward email as an attachment. It is sometimes important that you preserve original headers when forwarding email. Eg., if you want to report spam. Forwarding as attachment do preserve &#8230; <a href="http://juljas.net/lpt/post/email-as-an-attachment-in-pine">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>By default pine attaches forwarded messages inline.<br />
Here is trick to forward email as an attachment.<br />
<em>It is sometimes important that you preserve original headers when     forwarding email. Eg., if you want to report spam.<br />
<strong>Forwarding as attachment do preserve email headers, attachment inline does not.</strong></em></p>
<p>Instruction:</p>
<ol>
<li>Open (or put cursor on) message you want to forward</li>
<li>Enter <em>Full Headers</em> mode¹ (press <strong>h</strong>)</li>
<li>Forward the mail (press <strong>f</strong>)</li>
<li>Accept &#8216;Forward message as an attachment?&#8217; (press <strong>y</strong>)</li>
</ol>
<p>Tested on pine 4.62. Is there any simple method? What displaying full headers has to do?</p>
<p>¹<em>To be able to enter Full Headers mode, you may need to enable it in configuration:<br />
On main screen enter <strong>Setup</strong> (press <strong>s</strong>), <strong>Config</strong> (<strong>c</strong>), and check (<strong>x</strong>) <strong>enable-full-header-cmd</strong> in Advanced Command Preferences. Exit and save (<strong>e</strong>, <strong>y</strong>).</em></p>
<p><em>Post Scriptum: this is an import of information that I wrote a while ago. Things might have changed since then.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://juljas.net/lpt/post/email-as-an-attachment-in-pine/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

