<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="0.92">
<channel>
	<title>Zagura's blog</title>
	<link>http://www.zagura.ro</link>
	<description>Zagura's blog</description>
	<lastBuildDate>Wed, 10 Mar 2010 14:43:44 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>How to programmatically dump the threads list of a running java process in bash</title>
		<description><![CDATA[It seems that jdb cannot accept commands from command line, so we must use expect.
I created the following expect script dumpthreads
You can use it like:
dumpthreads   java_process_pid

#!/usr/bin/expect
set pid [lindex $argv 0];
spawn jdb -connect sun.jvm.hotspot.jdi.SAPIDAttachingConnector:pid=$pid;
expect &#8220;>&#8221;;
send &#8220;threads\n&#8221;;
expect &#8220;>&#8221;;
send &#8220;quit\n&#8221;;

]]></description>
		<link>http://www.zagura.ro/index.php/2010/03/10/how-to-programmatically-dump-the-threads-list-of-a-running-java-process-in-bash/</link>
			</item>
	<item>
		<title>Midnight commander does not save the settings in Ubuntu</title>
		<description><![CDATA[Today I encountered a strange problem with Midnight Commander 4.6.2 in Ubuntu. I wanted to change the default Ubuntu setting to use the internal edit. I actually like the mc internal editor and I want to use it. The problem was that the setting was not saved when I chosed &#8220;Save setup&#8221; even if a [...]]]></description>
		<link>http://www.zagura.ro/index.php/2010/01/27/midnight-commander-does-not-save-the-settings-in-ubuntu/</link>
			</item>
	<item>
		<title>Emtec S800 board picture</title>
		<description><![CDATA[Here is a picture of the internal board of my newly aquired Emtec S800 PVR. It works on Linux but Emtec was not so kind to provide the sources of the PVR application (there are some sources of an alternative OEM - Ellion available on the net). I needed to open the box to put [...]]]></description>
		<link>http://www.zagura.ro/index.php/2010/01/13/emtec-s800-board-picture/</link>
			</item>
	<item>
		<title>How to convert DVD iso to avi using mplayer</title>
		<description><![CDATA[Here is a python script to convert an .iso of a DVD to avi and to encode it using mpeg4. It is a slightly modified version of the script found at http://lists.mplayerhq.hu/pipermail/mplayer-users/2003-April/032226.html to work with newer versions of mplayer/mencoder.
Later edit:
It seems that mplayer/mencoder know to play/convert .iso files directly so we can do:
mencoder in.iso -o [...]]]></description>
		<link>http://www.zagura.ro/index.php/2009/10/13/how-to-convert-dvd-iso-to-avi-using-mplayer/</link>
			</item>
	<item>
		<title>Some 3d pictures I took around Rosia Montana and Piatra Corbului (red-cyan glasses needed)</title>
		<description><![CDATA[

]]></description>
		<link>http://www.zagura.ro/index.php/2009/09/24/some-3d-pictures-i-took-around-rosia-montana-and-piatra-corbului/</link>
			</item>
	<item>
		<title>How to convince the SmartGWT ListGrid to automatically fetch from the server only the data it displays</title>
		<description><![CDATA[Since I was looking all over the net how to do this and I only found pieces of information, here is an example:
PLAIN TEXT
JAVA:




public class OperationsGrid extends ListGrid&#123;


&#160; &#160; OperationsGrid&#40;&#41;&#123;


&#160; &#160; &#160; &#160; super&#40;&#41;;


&#160; &#160; &#160; &#160; TreeGridField accNoField = new TreeGridField&#40;"accountNo", 150&#41;;


&#160; &#160; &#160; &#160; TreeGridField commentField = new TreeGridField&#40;"comment",&#160; 150&#41;;


&#160;


&#160; &#160; &#160; &#160; [...]]]></description>
		<link>http://www.zagura.ro/index.php/2009/06/16/how-to-convince-the-smartgwt-listgrid-to-automatically-fetch-from-the-server-only-the-data-it-displays/</link>
			</item>
	<item>
		<title>MySQL Java SQLException error codes enum</title>
		<description><![CDATA[Because I had this problem and I could not find a list of MySQL error codes on the Internet, I've decided to implement my own MySQL error codes enum. It is based on MySQL 5.1.35 sources, include/mysqld_ername.h file.
Now I can do something like this:
PLAIN TEXT
JAVA:




catch &#40;SQLException e&#41; &#123;


&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; [...]]]></description>
		<link>http://www.zagura.ro/index.php/2009/06/05/mysql-java-sqlexception-error-codes-enum/</link>
			</item>
	<item>
		<title>Download completed. You can now disconnect from the Internet.</title>
		<description><![CDATA[
]]></description>
		<link>http://www.zagura.ro/index.php/2009/05/15/download-completed-you-can-now-disconnect-from-the-internet/</link>
			</item>
	<item>
		<title>Midnight Commander Returns</title>
		<description><![CDATA[The development for Midnight Commander seems to be revived. There is a new site that supports it's development at http://www.midnight-commander.org  They are keeping the sources on a git repository and they accept patches.
This is good news for me, as I have some old issues with Midnight Commander and this might stimulate me to fix [...]]]></description>
		<link>http://www.zagura.ro/index.php/2009/01/28/midnight-commander-returns/</link>
			</item>
	<item>
		<title>Cifs problem in Gentoo</title>
		<description><![CDATA[If you encounter the following error when you try to mount a cifs filesystem:
CIFS VFS: cifs_mount failed w/return code = -22
try to:
#emerge mount-cifs
I did not find any indications on the net that a separate package should be installed in order to use cifs.
Later Update: same problem in ubuntu, you need to install smbfs
#apt-get install smbfs
]]></description>
		<link>http://www.zagura.ro/index.php/2008/11/25/cifs-problem-in-gentoo/</link>
			</item>
</channel>
</rss>
