<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for realmike.org</title>
	<atom:link href="http://realmike.org/blog/index.php/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://realmike.org/blog</link>
	<description>Python and C++, GNU/Linux, computer stuff...</description>
	<lastBuildDate>Tue, 29 Jan 2013 10:15:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>Comment on Embedding Python &#8211; Tutorial &#8211; Part 1 by Marcos</title>
		<link>http://realmike.org/blog/2012/07/08/embedding-python-tutorial-part-1/comment-page-1/#comment-60924</link>
		<dc:creator>Marcos</dc:creator>
		<pubDate>Tue, 29 Jan 2013 10:15:45 +0000</pubDate>
		<guid isPermaLink="false">http://realmike.org/blog/?p=680#comment-60924</guid>
		<description><![CDATA[Parabéns! Great post. Thank you.]]></description>
		<content:encoded><![CDATA[<p>Parabéns! Great post. Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Tutorial: Scaling Processing for Android Apps to Different Screens by Image Before Scaling and after scaling in Android : Android Community - For Application Development</title>
		<link>http://realmike.org/blog/2010/12/23/tutorial-scaling-processing-for-android-apps-to-different-screens/comment-page-1/#comment-58259</link>
		<dc:creator>Image Before Scaling and after scaling in Android : Android Community - For Application Development</dc:creator>
		<pubDate>Tue, 01 Jan 2013 13:01:19 +0000</pubDate>
		<guid isPermaLink="false">http://realmike.org/blog/?p=414#comment-58259</guid>
		<description><![CDATA[[...] http://realmike.org/blog/2010/12/23/tutorial-scaling-processing-for-android-apps-to-different-screen... [...]]]></description>
		<content:encoded><![CDATA[<p>[...] <a href="http://realmike.org/blog/2010/12/23/tutorial-scaling-processing-for-android-apps-to-different-screen" rel="nofollow">http://realmike.org/blog/2010/12/23/tutorial-scaling-processing-for-android-apps-to-different-screen</a>&#8230; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on GNU Automake By Example by asdf</title>
		<link>http://realmike.org/blog/2010/07/18/gnu-automake-by-example/comment-page-1/#comment-58210</link>
		<dc:creator>asdf</dc:creator>
		<pubDate>Mon, 31 Dec 2012 21:59:38 +0000</pubDate>
		<guid isPermaLink="false">http://realmike.org/blog/?p=60#comment-58210</guid>
		<description><![CDATA[Thanks a lot for this. I was ready to throw my computer out the window due to Autotools tutorials that were either overly detailed or unrealistically simple. Yours shows how to get the damn thing working with a standard app layout.]]></description>
		<content:encoded><![CDATA[<p>Thanks a lot for this. I was ready to throw my computer out the window due to Autotools tutorials that were either overly detailed or unrealistically simple. Yours shows how to get the damn thing working with a standard app layout.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Android Development Without Eclipse by Alex</title>
		<link>http://realmike.org/blog/2010/10/31/android-development-without-eclipse/comment-page-1/#comment-57080</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Thu, 20 Dec 2012 18:52:43 +0000</pubDate>
		<guid isPermaLink="false">http://realmike.org/blog/?p=284#comment-57080</guid>
		<description><![CDATA[If i will do android update project --target  --path 
i can continue working and build in eclipse if i want?]]></description>
		<content:encoded><![CDATA[<p>If i will do android update project &#8211;target  &#8211;path<br />
i can continue working and build in eclipse if i want?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Embedding Python &#8211; Tutorial &#8211; Part 1 by Robert</title>
		<link>http://realmike.org/blog/2012/07/08/embedding-python-tutorial-part-1/comment-page-1/#comment-55416</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Sat, 08 Dec 2012 20:48:55 +0000</pubDate>
		<guid isPermaLink="false">http://realmike.org/blog/?p=680#comment-55416</guid>
		<description><![CDATA[Great post! Agrees with previous comments, best intro to the subject that I&#039;v seen on the net. Waiting for the next part eagerly.]]></description>
		<content:encoded><![CDATA[<p>Great post! Agrees with previous comments, best intro to the subject that I&#8217;v seen on the net. Waiting for the next part eagerly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Multiple Screen Sizes With Processing for Android by How To Support Multiple Screen Sizes in Android &#124; Mobile Developers Labs</title>
		<link>http://realmike.org/blog/2010/12/21/multiple-screen-sizes-with-processing-for-android/comment-page-1/#comment-54867</link>
		<dc:creator>How To Support Multiple Screen Sizes in Android &#124; Mobile Developers Labs</dc:creator>
		<pubDate>Tue, 04 Dec 2012 17:21:12 +0000</pubDate>
		<guid isPermaLink="false">http://realmike.org/blog/?p=376#comment-54867</guid>
		<description><![CDATA[[...] http://realmike.org/blog/2010/12/21/multiple-screen-sizes-with-processing-for-android/ [...]]]></description>
		<content:encoded><![CDATA[<p>[...] <a href="http://realmike.org/blog/2010/12/21/multiple-screen-sizes-with-processing-for-android/" rel="nofollow">http://realmike.org/blog/2010/12/21/multiple-screen-sizes-with-processing-for-android/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Supercharging C++ Code With Embedded Python &#8211; EuroPython 2012 Talk by Giorgos</title>
		<link>http://realmike.org/blog/2012/07/05/supercharging-c-code-with-embedded-python/comment-page-1/#comment-54220</link>
		<dc:creator>Giorgos</dc:creator>
		<pubDate>Tue, 27 Nov 2012 22:05:14 +0000</pubDate>
		<guid isPermaLink="false">http://realmike.org/blog/?p=615#comment-54220</guid>
		<description><![CDATA[You also had the solution in another blog post. Thanks !!! 

Py_Initialize();
    PyObject* sysPath = PySys_GetObject((char*)&quot;path&quot;);
    PyList_Append(sysPath, PyString_FromString(&quot;.&quot;));]]></description>
		<content:encoded><![CDATA[<p>You also had the solution in another blog post. Thanks !!! </p>
<p>Py_Initialize();<br />
    PyObject* sysPath = PySys_GetObject((char*)&#8221;path&#8221;);<br />
    PyList_Append(sysPath, PyString_FromString(&#8220;.&#8221;));</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Supercharging C++ Code With Embedded Python &#8211; EuroPython 2012 Talk by Giorgos</title>
		<link>http://realmike.org/blog/2012/07/05/supercharging-c-code-with-embedded-python/comment-page-1/#comment-54219</link>
		<dc:creator>Giorgos</dc:creator>
		<pubDate>Tue, 27 Nov 2012 21:55:31 +0000</pubDate>
		<guid isPermaLink="false">http://realmike.org/blog/?p=615#comment-54219</guid>
		<description><![CDATA[Nice presentation.
&lt;code&gt;std::string CallPythonPlugIn(const std::string&amp; s)
{
    // Import the module &quot;plugin&quot; (from the file &quot;plugin.py&quot;)
    PyObject* moduleName = PyString_FromString(&quot;plugin&quot;);
    PyObject* pluginModule = PyImport_Import(moduleName);
    // Retrieve the &quot;transform()&quot; function from the module.
    PyObject* transformFunc = PyObject_GetAttrString(pluginModule, &quot;transform&quot;);
    // Build an argument tuple containing the string.
    PyObject* argsTuple = Py_BuildValue(&quot;(s)&quot;, s.c_str());
    // Invoke the function, passing the argument tuple.
    PyObject* result = PyObject_CallObject(transformFunc, argsTuple);
    // Convert the result to a std::string.
    std::string resultStr(PyString_AsString(result));
    // Free all temporary Python objects.
    Py_DECREF(moduleName); Py_DECREF(pluginModule); Py_DECREF(transformFunc);
    Py_DECREF(argsTuple); Py_DECREF(result);

    return resultStr;
}
void program()
{
    std::string input;
    std::cout &lt;&lt; &quot;Enter string to transform: &quot;;
    std::getline(std::cin, input);
    std::string transformed = CallPythonPlugIn(input);
    std::cout &lt;&lt; &quot;The transformed string is: &quot; &lt;&lt; transformed.c_str() &lt;&lt;
    std::endl;
}
int main()
{
    program();
    return 0;
}&lt;/code&gt;

the aboce code is copy from your code. When I run it i get segmantation Fault .
Any help?

Thanks]]></description>
		<content:encoded><![CDATA[<p>Nice presentation.<br />
<code>std::string CallPythonPlugIn(const std::string&amp; s)<br />
{<br />
    // Import the module "plugin" (from the file "plugin.py")<br />
    PyObject* moduleName = PyString_FromString("plugin");<br />
    PyObject* pluginModule = PyImport_Import(moduleName);<br />
    // Retrieve the "transform()" function from the module.<br />
    PyObject* transformFunc = PyObject_GetAttrString(pluginModule, "transform");<br />
    // Build an argument tuple containing the string.<br />
    PyObject* argsTuple = Py_BuildValue("(s)", s.c_str());<br />
    // Invoke the function, passing the argument tuple.<br />
    PyObject* result = PyObject_CallObject(transformFunc, argsTuple);<br />
    // Convert the result to a std::string.<br />
    std::string resultStr(PyString_AsString(result));<br />
    // Free all temporary Python objects.<br />
    Py_DECREF(moduleName); Py_DECREF(pluginModule); Py_DECREF(transformFunc);<br />
    Py_DECREF(argsTuple); Py_DECREF(result);</p>
<p>    return resultStr;<br />
}<br />
void program()<br />
{<br />
    std::string input;<br />
    std::cout &lt;&lt; &quot;Enter string to transform: &quot;;<br />
    std::getline(std::cin, input);<br />
    std::string transformed = CallPythonPlugIn(input);<br />
    std::cout &lt;&lt; &quot;The transformed string is: &quot; &lt;&lt; transformed.c_str() &lt;&lt;<br />
    std::endl;<br />
}<br />
int main()<br />
{<br />
    program();<br />
    return 0;<br />
}</code></p>
<p>the aboce code is copy from your code. When I run it i get segmantation Fault .<br />
Any help?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Multiple Screen Sizes With Processing for Android by Michael</title>
		<link>http://realmike.org/blog/2010/12/21/multiple-screen-sizes-with-processing-for-android/comment-page-1/#comment-49873</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Fri, 05 Oct 2012 15:08:38 +0000</pubDate>
		<guid isPermaLink="false">http://realmike.org/blog/?p=376#comment-49873</guid>
		<description><![CDATA[Nice post! What I do and fits well for me is design with pixels in mind and then i resize the images with an app called &quot;Design for multiple densities&quot; https://play.google.com/store/apps/details?id=com.useit.software.android.densityconverter

What it does is simple, based on a px value, it converts to the px that fits in hdpi, mdpi and ldpi.

Regards,
Michael.]]></description>
		<content:encoded><![CDATA[<p>Nice post! What I do and fits well for me is design with pixels in mind and then i resize the images with an app called &#8220;Design for multiple densities&#8221; <a href="https://play.google.com/store/apps/details?id=com.useit.software.android.densityconverter" rel="nofollow">https://play.google.com/store/apps/details?id=com.useit.software.android.densityconverter</a></p>
<p>What it does is simple, based on a px value, it converts to the px that fits in hdpi, mdpi and ldpi.</p>
<p>Regards,<br />
Michael.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Live Desktop Streaming via DLNA on GNU/Linux by Sebastian</title>
		<link>http://realmike.org/blog/2011/02/09/live-desktop-streaming-via-dlna-on-gnulinux/comment-page-1/#comment-49733</link>
		<dc:creator>Sebastian</dc:creator>
		<pubDate>Tue, 02 Oct 2012 15:54:31 +0000</pubDate>
		<guid isPermaLink="false">http://realmike.org/blog/?p=450#comment-49733</guid>
		<description><![CDATA[Would this work on Mountain Lion?]]></description>
		<content:encoded><![CDATA[<p>Would this work on Mountain Lion?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.486 seconds -->
<!-- Cached page served by WP-Cache -->
