<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments for Swapfile for my brain</title>
	<link>http://simplygenius.com/geekblog</link>
	<description>Matt Conway's blog - Keeping track of all my bits</description>
	<pubDate>Fri, 04 Jul 2008 14:36:39 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2</generator>

	<item>
		<title>Comment on Mounting Xen DomU LVM disk in Dom0 by Frank Fischer</title>
		<link>http://simplygenius.com/geekblog/2008/01/27/mounting-xen-domu-lvm-disk-in-dom0/#comment-165</link>
		<author>Frank Fischer</author>
		<pubDate>Sun, 08 Jun 2008 21:31:03 +0000</pubDate>
		<guid>http://simplygenius.com/geekblog/2008/01/27/mounting-xen-domu-lvm-disk-in-dom0/#comment-165</guid>
		<description>As I understand you, you take the snapshot from dom0, right? Why did you do this? As far as I understand the inner yards of LVM, this way it is not guaranteed that the snapshotted FS is in a consistent state. The domU FS doesn't know that the snapshot is taken. If you have taken the snapshot from within domU, the fs is aware of the snapshot and brings everthing into a consistent state.
That's the reason why most of the backup procedurece concerning xen found in the web are broken - they pause the domU and then they snapshot the LVM from within dom0. TO have a complete and guaranteed working backup you need the memory image of the paused domU too. Not so if you snapshot from within domU.</description>
		<content:encoded><![CDATA[<p>As I understand you, you take the snapshot from dom0, right? Why did you do this? As far as I understand the inner yards of LVM, this way it is not guaranteed that the snapshotted FS is in a consistent state. The domU FS doesn&#8217;t know that the snapshot is taken. If you have taken the snapshot from within domU, the fs is aware of the snapshot and brings everthing into a consistent state.<br />
That&#8217;s the reason why most of the backup procedurece concerning xen found in the web are broken - they pause the domU and then they snapshot the LVM from within dom0. TO have a complete and guaranteed working backup you need the memory image of the paused domU too. Not so if you snapshot from within domU.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Replacing AppleScript with Ruby by Mike</title>
		<link>http://simplygenius.com/geekblog/2008/05/29/replacing-applescript-with-ruby/#comment-163</link>
		<author>Mike</author>
		<pubDate>Fri, 30 May 2008 13:58:53 +0000</pubDate>
		<guid>http://simplygenius.com/geekblog/2008/05/29/replacing-applescript-with-ruby/#comment-163</guid>
		<description>Good to know! I was recently looking at &lt;a href="http://wafflesoftware.net/thisservice/" rel="nofollow"&gt;ThisService&lt;/a&gt; the other day as a way to customize OSX a bit more using Ruby.</description>
		<content:encoded><![CDATA[<p>Good to know! I was recently looking at <a href="http://wafflesoftware.net/thisservice/" rel="nofollow">ThisService</a> the other day as a way to customize OSX a bit more using Ruby.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on OS X Terminal bug by Swapfile for my brain &#187; Blog Archive &#187; Replacing AppleScript with Ruby</title>
		<link>http://simplygenius.com/geekblog/2006/05/30/os-x-terminal-bug/#comment-162</link>
		<author>Swapfile for my brain &#187; Blog Archive &#187; Replacing AppleScript with Ruby</author>
		<pubDate>Thu, 29 May 2008 23:24:18 +0000</pubDate>
		<guid>http://simplygenius.com/geekblog/2006/05/30/os-x-terminal-bug/#comment-162</guid>
		<description>[...] had a brief run-in with AppleScript trying to overcome an OS X terminal bug.  and its not something I enjoyed.  I would much rather be able to do scripts like this in a [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] had a brief run-in with AppleScript trying to overcome an OS X terminal bug.  and its not something I enjoyed.  I would much rather be able to do scripts like this in a [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sunshade 3.2.0 released by Steven Elliott</title>
		<link>http://simplygenius.com/geekblog/2007/02/24/sunshade-320-released/#comment-157</link>
		<author>Steven Elliott</author>
		<pubDate>Tue, 25 Mar 2008 04:16:24 +0000</pubDate>
		<guid>http://simplygenius.com/geekblog/2007/02/24/sunshade-320-released/#comment-157</guid>
		<description>I'm not sure if this is the best place for it, but I have some feedback on this, particularly the FileDrag plugin.

First, some background on where I'm coming from.  I'm also a developer who once wrote an Eclipse plugin.  I think I had a similar motivation - Eclipse lacks some functionality that I miss from my previous editor, Emacs (and so the name "Emacsish").  One of the things I miss about emacs is it's "emacsclient", which like "eclipseclient" can be used to trigger an existing Emacs instance to load a file from the command line.  I was thinking about writing something like this for Ecilpse, but you beat me to it.

Here are some of my thoughts about the FileDrag plugin:

1) Version 3.2.0 of eclipseclient-* does not seem to work with Eclipse 3.3 whereas latest CVS does.  Maybe part of the point your changes in latest CVS is to support Eclipse 3.3 in which case this does not surprise you.
2) I don't recall trying it in Eclipse 3.2, but drag and drop seems to be natively supported in Eclipse 3.3.  Specifically, if I drag something like "/etc/profile" in nautilus in Fedora 8 to Eclipse it works with or without the FileDrag plugin.  I set some breakpoints and it seems that the FileDrag code is not playing a role when the file is dragged over.  Maybe you want to try to detect the Eclipse version and disable the drag and drop functionality if it is Eclipse version 3.3 or later.
3) You enforce whether or not remote connections are allowed by checking if the remote address of the socket is the loopback address.  That approach is *probably* secure since if a remote host tried to forge its return IP address in the IP header the reply packets wouldn't route back to the remote host.  But it might just be simpler and more secure to bind to localhost instead of checking the remote address.
4) It would be nice if there was something more secure than accepting any local connection, but that's a harder problem to solve.  Some ideas:
  4a) The X cookie approach - Keep some secret piece of information in the user's home directory that is only readable by that user.  eclispeclient-* reads it and sends it to port 7400.  The FileDrag plugin verifies it.
  4b) Use named sockets on platforms that support it.  Permissions can be set on the named socket so only the user that started Eclipse is able to bind to it.  I don't know how this in done on Windows.

I might be willing to help with some of this, if you are interested.  Feel free to contact me.</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure if this is the best place for it, but I have some feedback on this, particularly the FileDrag plugin.</p>
<p>First, some background on where I&#8217;m coming from.  I&#8217;m also a developer who once wrote an Eclipse plugin.  I think I had a similar motivation - Eclipse lacks some functionality that I miss from my previous editor, Emacs (and so the name &#8220;Emacsish&#8221;).  One of the things I miss about emacs is it&#8217;s &#8220;emacsclient&#8221;, which like &#8220;eclipseclient&#8221; can be used to trigger an existing Emacs instance to load a file from the command line.  I was thinking about writing something like this for Ecilpse, but you beat me to it.</p>
<p>Here are some of my thoughts about the FileDrag plugin:</p>
<p>1) Version 3.2.0 of eclipseclient-* does not seem to work with Eclipse 3.3 whereas latest CVS does.  Maybe part of the point your changes in latest CVS is to support Eclipse 3.3 in which case this does not surprise you.<br />
2) I don&#8217;t recall trying it in Eclipse 3.2, but drag and drop seems to be natively supported in Eclipse 3.3.  Specifically, if I drag something like &#8220;/etc/profile&#8221; in nautilus in Fedora 8 to Eclipse it works with or without the FileDrag plugin.  I set some breakpoints and it seems that the FileDrag code is not playing a role when the file is dragged over.  Maybe you want to try to detect the Eclipse version and disable the drag and drop functionality if it is Eclipse version 3.3 or later.<br />
3) You enforce whether or not remote connections are allowed by checking if the remote address of the socket is the loopback address.  That approach is *probably* secure since if a remote host tried to forge its return IP address in the IP header the reply packets wouldn&#8217;t route back to the remote host.  But it might just be simpler and more secure to bind to localhost instead of checking the remote address.<br />
4) It would be nice if there was something more secure than accepting any local connection, but that&#8217;s a harder problem to solve.  Some ideas:<br />
  4a) The X cookie approach - Keep some secret piece of information in the user&#8217;s home directory that is only readable by that user.  eclispeclient-* reads it and sends it to port 7400.  The FileDrag plugin verifies it.<br />
  4b) Use named sockets on platforms that support it.  Permissions can be set on the named socket so only the user that started Eclipse is able to bind to it.  I don&#8217;t know how this in done on Windows.</p>
<p>I might be willing to help with some of this, if you are interested.  Feel free to contact me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on OS X UI Freeze by matt</title>
		<link>http://simplygenius.com/geekblog/2006/01/26/os-x-ui-freeze/#comment-155</link>
		<author>matt</author>
		<pubDate>Wed, 12 Mar 2008 15:11:21 +0000</pubDate>
		<guid>http://simplygenius.com/geekblog/2006/01/26/os-x-ui-freeze/#comment-155</guid>
		<description>I stopped using LiteSwitch when I switched to Leopard many weeks ago, and haven't seen this happen since, so its probably fixed now.</description>
		<content:encoded><![CDATA[<p>I stopped using LiteSwitch when I switched to Leopard many weeks ago, and haven&#8217;t seen this happen since, so its probably fixed now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Setting up eclipse for painless upgrades by Lakshman L</title>
		<link>http://simplygenius.com/geekblog/2005/04/08/setting-up-eclipse-for-painless-upgrades/#comment-152</link>
		<author>Lakshman L</author>
		<pubDate>Tue, 26 Feb 2008 08:08:07 +0000</pubDate>
		<guid>http://simplygenius.com/geekblog/2005/04/08/setting-up-eclipse-for-painless-upgrades/#comment-152</guid>
		<description>Thanks, Nice article</description>
		<content:encoded><![CDATA[<p>Thanks, Nice article</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Auto generating eclipse user libraries by Tech Phrases &#187; Blog Archive &#187; Library dependency management</title>
		<link>http://simplygenius.com/geekblog/2006/06/05/auto-generating-eclipse-user-libraries/#comment-147</link>
		<author>Tech Phrases &#187; Blog Archive &#187; Library dependency management</author>
		<pubDate>Mon, 11 Feb 2008 13:51:37 +0000</pubDate>
		<guid>http://simplygenius.com/geekblog/2006/06/05/auto-generating-eclipse-user-libraries/#comment-147</guid>
		<description>[...] we also need a good integration in to the IDE. The Ive Eclipse plugin is very poor, but I found a post in Swapfile of my brain with similar ideas&#8230; It&#8217;s time to put everything together.  Technorati tags: java, [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] we also need a good integration in to the IDE. The Ive Eclipse plugin is very poor, but I found a post in Swapfile of my brain with similar ideas&#8230; It&#8217;s time to put everything together.  Technorati tags: java, [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Setting up eclipse for painless upgrades by George Nikolaidis</title>
		<link>http://simplygenius.com/geekblog/2005/04/08/setting-up-eclipse-for-painless-upgrades/#comment-142</link>
		<author>George Nikolaidis</author>
		<pubDate>Sat, 02 Feb 2008 08:20:57 +0000</pubDate>
		<guid>http://simplygenius.com/geekblog/2005/04/08/setting-up-eclipse-for-painless-upgrades/#comment-142</guid>
		<description>Great info, we have dozens of "library" plugins, which are just OSGi re-packagings of open-source java libraries (like Eclipse Orbit does). 

Thanks to this solution, all these plug-ins sit in their own extension location and we don't have to keep their projects open in our workspaces. Step 6 on every new Eclipse install and you are good to go.</description>
		<content:encoded><![CDATA[<p>Great info, we have dozens of &#8220;library&#8221; plugins, which are just OSGi re-packagings of open-source java libraries (like Eclipse Orbit does). </p>
<p>Thanks to this solution, all these plug-ins sit in their own extension location and we don&#8217;t have to keep their projects open in our workspaces. Step 6 on every new Eclipse install and you are good to go.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Auto generating eclipse user libraries by matt</title>
		<link>http://simplygenius.com/geekblog/2006/06/05/auto-generating-eclipse-user-libraries/#comment-140</link>
		<author>matt</author>
		<pubDate>Sun, 27 Jan 2008 05:48:51 +0000</pubDate>
		<guid>http://simplygenius.com/geekblog/2006/06/05/auto-generating-eclipse-user-libraries/#comment-140</guid>
		<description>Sorry about that, the link is fixed now</description>
		<content:encoded><![CDATA[<p>Sorry about that, the link is fixed now</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Auto generating eclipse user libraries by Adam</title>
		<link>http://simplygenius.com/geekblog/2006/06/05/auto-generating-eclipse-user-libraries/#comment-134</link>
		<author>Adam</author>
		<pubDate>Tue, 15 Jan 2008 01:13:59 +0000</pubDate>
		<guid>http://simplygenius.com/geekblog/2006/06/05/auto-generating-eclipse-user-libraries/#comment-134</guid>
		<description>This is very helpful, thanks! I hope to apply these awesome time-saving and IDE-enhancing tips to &lt;a href="http://mifos.org" rel="nofollow"&gt;Mifos&lt;/a&gt; (the project I'm currently working on).

Would you mind re-posting genlibs.sh? The link appears to be broken.</description>
		<content:encoded><![CDATA[<p>This is very helpful, thanks! I hope to apply these awesome time-saving and IDE-enhancing tips to <a href="http://mifos.org" rel="nofollow">Mifos</a> (the project I&#8217;m currently working on).</p>
<p>Would you mind re-posting genlibs.sh? The link appears to be broken.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
