<?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>RogBlog &#187; Technical</title>
	<atom:link href="http://quote.ucsd.edu/blogs/rogblog/category/technical/feed/" rel="self" type="application/rss+xml" />
	<link>http://quote.ucsd.edu/blogs/rogblog</link>
	<description>Thoughts, technical tidbits, and rants by Roger</description>
	<lastBuildDate>Thu, 22 Oct 2009 19:23:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Getting sendmail to work on OS X 10.5 (Leopard)</title>
		<link>http://quote.ucsd.edu/blogs/rogblog/2009/10/22/getting-sendmail-to-work-on-os-x-10-5-leopard/</link>
		<comments>http://quote.ucsd.edu/blogs/rogblog/2009/10/22/getting-sendmail-to-work-on-os-x-10-5-leopard/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 16:51:16 +0000</pubDate>
		<dc:creator>rlevy</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://quote.ucsd.edu/blogs/rogblog/?p=72</guid>
		<description><![CDATA[With the aid of a couple of helpful blogs (here and here), I have managed to get command-line email-sending capability via sendmail going, at least as long as I&#8217;m on UCSD campus:

$ sudo postfix start
$ sudo postconf -e myhostname=
$ sudo postconf -e relayhost=

And sendmail just works now!  Pretty cool, eh?
UPDATE: it&#8217;s a bit tricky [...]]]></description>
			<content:encoded><![CDATA[<p>With the aid of a couple of helpful blogs (<a href="http://technopark02.blogspot.com/2009/06/mac-os-x-105-tip-sendmail-outgoing-only.html">here</a> and <a href="http://subtlecoolness.com/0000/06/21/enabling-postfix-sendmail-on-mac-os-x-105-leopard/">here</a>), I have managed to get command-line email-sending capability via <code>sendmail</code> going, at least as long as I&#8217;m on UCSD campus:</p>
<p><code><br />
$ sudo postfix start<br />
$ sudo postconf -e myhostname=<br />
$ sudo postconf -e relayhost=<br />
</code></p>
<p>And <code>sendmail</code> just works now!  Pretty cool, eh?</p>
<p>UPDATE: it&#8217;s a bit tricky to get Bcc: effects with sendmail, but I&#8217;ve found a way to do it.  Specify all the addresses that you want to receive an email as arguments of sendmail, and then include an explicit <code>From:</code> line in standard input.  For example:</p>
<p><code><br />
*** Filename: sendmail.test ***<br />
To: Jane Doe<br />
From: John Doe<br />
Subject: bcc test<br />
(put what you want here)<br />
*** End file sendmail.test ***<br />
</code></p>
<p><code><br />
$ sendmail abc@def.com vw@xyz.com &lt; sendmail.test<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://quote.ucsd.edu/blogs/rogblog/2009/10/22/getting-sendmail-to-work-on-os-x-10-5-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using tab on Mac to change focus in web browsers and pop-up windows</title>
		<link>http://quote.ucsd.edu/blogs/rogblog/2009/10/06/using-tab-on-mac-to-change-focus-in-web-browsers-and-pop-up-windows/</link>
		<comments>http://quote.ucsd.edu/blogs/rogblog/2009/10/06/using-tab-on-mac-to-change-focus-in-web-browsers-and-pop-up-windows/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 17:21:12 +0000</pubDate>
		<dc:creator>rlevy</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://quote.ucsd.edu/blogs/rogblog/?p=59</guid>
		<description><![CDATA[Since switching from PC to Mac three years ago, probably the single most annoying user-interface feature on Mac has been the loss of flexibility in using Tab and Shift+Tab to move focus: to buttons and menus in web browsers, and between buttons in pop-up dialogue windows.
Thanks to Tony Spencer, I am now able to do [...]]]></description>
			<content:encoded><![CDATA[<p>Since switching from PC to Mac three years ago, probably the single most annoying user-interface feature on Mac has been the loss of flexibility in using Tab and Shift+Tab to move focus: to buttons and menus in web browsers, and between buttons in pop-up dialogue windows.</p>
<p>Thanks to <a href="http://www.tonyspencer.com/2006/05/02/tab-skips-select-form-fields-in-mac-browsers/">Tony Spencer</a>, I am now able to do this!  It&#8217;s a simple setting: in System Preferences, select Keyboard &amp; Mouse &gt; Keyboard Shortcuts.  At the bottom of the window there will be a button for changing Full Keyboard Access from <strong>Text boxes and lists only</strong> to <strong>All controls</strong>.  Selecting the latter will give you full flexibility of changing focus with Tab and Shift+Tab.</p>
<p>One other crucial tidbit: on pop-up windows, when you have moved focus to a non-default button, in order to select that button you need to press <strong>Space</strong> rather than <strong>Return/Enter</strong>.</p>
<p>Amazing that it took me three years to figure this out&#8230;!</p>
]]></content:encoded>
			<wfw:commentRss>http://quote.ucsd.edu/blogs/rogblog/2009/10/06/using-tab-on-mac-to-change-focus-in-web-browsers-and-pop-up-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>tipa and linguex heads-up</title>
		<link>http://quote.ucsd.edu/blogs/rogblog/2009/06/04/tipa-and-linguex-heads-up/</link>
		<comments>http://quote.ucsd.edu/blogs/rogblog/2009/06/04/tipa-and-linguex-heads-up/#comments</comments>
		<pubDate>Thu, 04 Jun 2009 18:06:25 +0000</pubDate>
		<dc:creator>rlevy</dc:creator>
				<category><![CDATA[Linguistics]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://quote.ucsd.edu/blogs/rogblog/2009/06/04/tipa-and-linguex-heads-up/</guid>
		<description><![CDATA[If you use LaTeX for linguistics paper writing, and use the tipa package for IPA and the linguex package for formatting examples, you may occasionally encounter the problem of odd formatting of examples.  Just be sure to call \usepackage{tipa} before \usepackage{linguex}, not after!
]]></description>
			<content:encoded><![CDATA[<p>If you use LaTeX for linguistics paper writing, and use the <a href="http://www.ctan.org/tex-archive/fonts/tipa/"><tt>tipa</tt></a> package for IPA and the <a href="http://www.ctan.org/tex-archive/macros/latex/contrib/linguex/"><tt>linguex</tt></a> package for formatting examples, you may occasionally encounter the problem of odd formatting of examples.  Just be sure to call <tt>\usepackage{tipa}</tt> <strong>before</strong> <tt>\usepackage{linguex}</tt>, not after!</p>
]]></content:encoded>
			<wfw:commentRss>http://quote.ucsd.edu/blogs/rogblog/2009/06/04/tipa-and-linguex-heads-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Papers: first impressions</title>
		<link>http://quote.ucsd.edu/blogs/rogblog/2009/02/26/papers-first-impressions/</link>
		<comments>http://quote.ucsd.edu/blogs/rogblog/2009/02/26/papers-first-impressions/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 22:43:01 +0000</pubDate>
		<dc:creator>rlevy</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://quote.ucsd.edu/blogs/rogblog/2009/02/26/papers-first-impressions/</guid>
		<description><![CDATA[I&#8217;m using the Papers program for the first time, on a 30-day trial basis.  It seems like one of those programs whose benefits aren&#8217;t totally obvious until you really have been using it for a little while.  The problem for me has generally not been having papers scattered on my hard drive &#8212; I already [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m using the <a href="http://mekentosj.com/papers/">Papers</a> program for the first time, on a 30-day trial basis.  It seems like one of those programs whose benefits aren&#8217;t totally obvious until you really have been using it for a little while.  The problem for me has generally not been having papers scattered on my hard drive &#8212; I already have a &#8220;papers&#8221; directory for this &#8212; but rather things like multiple copies and, most crucially, BibTeX export.  I&#8217;m banking on BibTeX export saving me enough time to make Papers worth it for that feature alone.  Some thoughts:</p>
<ul>
<li>Computational linguistics conference proceedings papers should be obtained through the ACM repository</li>
<li>Psycholinguistics journal articles work well through Google Scholar.</li>
<li>JSTOR doesn&#8217;t work yet <img src='http://quote.ucsd.edu/blogs/rogblog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </li>
<li>The journal <em>Language</em> can be obtained through Project MUSE.</li>
<li>I prefer <a href="http://skim-app.sourceforge.net/">Skim</a> to Preview for PDF reading.  Cmd-Alt-O will open the currently displayed paper in Skim.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://quote.ucsd.edu/blogs/rogblog/2009/02/26/papers-first-impressions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The best WinBUGS tutorial</title>
		<link>http://quote.ucsd.edu/blogs/rogblog/2008/12/31/the-best-winbugs-tutorial/</link>
		<comments>http://quote.ucsd.edu/blogs/rogblog/2008/12/31/the-best-winbugs-tutorial/#comments</comments>
		<pubDate>Wed, 31 Dec 2008 20:02:34 +0000</pubDate>
		<dc:creator>rlevy</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://quote.ucsd.edu/blogs/rogblog/2008/12/31/the-best-winbugs-tutorial/</guid>
		<description><![CDATA[I&#8217;ve decided that the best get-started tutorial for WinBUGS is this one:
 http://mathstat.helsinki.fi/openbugs/data/Docu/Tutorial.html 
Also, kudos to Yarden Katz for publishing a webpage on how to use WinBUGS under Darwine on OS X:
http://web.mit.edu/yarden/www/bayes.html 
(of course, I am actually using JAGS for most things these days.)
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve decided that the best get-started tutorial for WinBUGS is this one:</p>
<p><a href="http://mathstat.helsinki.fi/openbugs/data/Docu/Tutorial.html"> http://mathstat.helsinki.fi/openbugs/data/Docu/Tutorial.html </a></p>
<p>Also, kudos to Yarden Katz for publishing a webpage on how to use WinBUGS under Darwine on OS X:</p>
<p><a href="http://web.mit.edu/yarden/www/bayes.html">http://web.mit.edu/yarden/www/bayes.html </a></p>
<p>(of course, I am actually using JAGS for most things these days.)</p>
]]></content:encoded>
			<wfw:commentRss>http://quote.ucsd.edu/blogs/rogblog/2008/12/31/the-best-winbugs-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing rjags on 64-bit Debian (etch)</title>
		<link>http://quote.ucsd.edu/blogs/rogblog/2008/11/09/installing-rjags-on-64-bit-debian-etch/</link>
		<comments>http://quote.ucsd.edu/blogs/rogblog/2008/11/09/installing-rjags-on-64-bit-debian-etch/#comments</comments>
		<pubDate>Sun, 09 Nov 2008 21:19:28 +0000</pubDate>
		<dc:creator>rlevy</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://quote.ucsd.edu/blogs/rogblog/2008/11/09/installing-rjags-on-64-bit-debian-etch/</guid>
		<description><![CDATA[I&#8217;m learning how to use JAGS for a variety of hierarchical Bayesian models.  I had a bit of trouble figuring out how to install it on my Debian (etch) server, so I thought I would share how I got it to work (thanks to Brian Ripley and Martyn Plummer for suggestions):
# 1. configure and install [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m learning how to use JAGS for a variety of hierarchical Bayesian models.  I had a bit of trouble figuring out how to install it on my Debian (etch) server, so I thought I would share how I got it to work (thanks to Brian Ripley and Martyn Plummer for suggestions):</p>
<blockquote><p><code># 1. configure and install JAGS<br />
./configure --with-jags-modules=/usr/local/lib/JAGS/modules --libdir=/usr/local/lib64<br />
make<br />
make check<br />
sudo make install</code></p>
<p><code># 2. install rjags</code></p>
<p><code>sudo R --with-jags-modules=/usr/local/lib/JAGS/modules/ CMD INSTALL rjags_1.0.3-4.tar.gz</code></p></blockquote>
<p>And this worked.  Critical was to make sure that the JAGS <code>.so</code> files wind up in <code>/usr/local/lib64</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://quote.ucsd.edu/blogs/rogblog/2008/11/09/installing-rjags-on-64-bit-debian-etch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone 2.0, first look</title>
		<link>http://quote.ucsd.edu/blogs/rogblog/2008/07/12/iphone-20-first-look/</link>
		<comments>http://quote.ucsd.edu/blogs/rogblog/2008/07/12/iphone-20-first-look/#comments</comments>
		<pubDate>Sat, 12 Jul 2008 21:25:06 +0000</pubDate>
		<dc:creator>rlevy</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://quote.ucsd.edu/blogs/rogblog/2008/07/12/iphone-20-first-look/</guid>
		<description><![CDATA[I downloaded iPhone 2.0 onto my first-generation iPhone yesterday.  I seem to have avoided some of the hiccups that others complained about.  I&#8217;ve only had time to explore the new iPhone a bit, but my top 3 impressions:

Zenbe lists are pretty cool, and fill the function gap left by the fact that iCal doesn&#8217;t have [...]]]></description>
			<content:encoded><![CDATA[<p>I downloaded iPhone 2.0 onto my first-generation iPhone yesterday.  I seem to have avoided some of the hiccups that others complained about.  I&#8217;ve only had time to explore the new iPhone a bit, but my top 3 impressions:</p>
<ol>
<li><a href="http://lists.zenbe.com/">Zenbe lists</a> are pretty cool, and fill the function gap left by the fact that iCal doesn&#8217;t have to-do lists on the iPhone.</li>
<li>iCal now has multiple calendars.  Hooray!</li>
<li>Camera now says &#8220;Camera would like to use your current location&#8221; &#8212; yech.  Has iPhone been geotagging my pictures?  I don&#8217;t want this.  At least I can say &#8220;no&#8221; now, but it&#8217;d be nice to be able to turn this off by default.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://quote.ucsd.edu/blogs/rogblog/2008/07/12/iphone-20-first-look/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>good command-line PNG viewer for Linux</title>
		<link>http://quote.ucsd.edu/blogs/rogblog/2008/03/04/good-command-line-png-viewer-for-linux/</link>
		<comments>http://quote.ucsd.edu/blogs/rogblog/2008/03/04/good-command-line-png-viewer-for-linux/#comments</comments>
		<pubDate>Tue, 04 Mar 2008 23:12:12 +0000</pubDate>
		<dc:creator>rlevy</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://quote.ucsd.edu/blogs/rogblog/2008/03/04/good-command-line-png-viewer-for-linux/</guid>
		<description><![CDATA[I&#8217;ve found that xzgv is pretty nice!
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve found that <a href="http://sourceforge.net/projects/xzgv">xzgv</a> is pretty nice!</p>
]]></content:encoded>
			<wfw:commentRss>http://quote.ucsd.edu/blogs/rogblog/2008/03/04/good-command-line-png-viewer-for-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Auto reload all the time with Skim</title>
		<link>http://quote.ucsd.edu/blogs/rogblog/2008/01/24/auto-reload-all-the-time-with-skim/</link>
		<comments>http://quote.ucsd.edu/blogs/rogblog/2008/01/24/auto-reload-all-the-time-with-skim/#comments</comments>
		<pubDate>Thu, 24 Jan 2008 20:30:36 +0000</pubDate>
		<dc:creator>rlevy</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://quote.ucsd.edu/blogs/rogblog/2008/01/24/auto-reload-all-the-time-with-skim/</guid>
		<description><![CDATA[I&#8217;ve said before how much I like the streamlined browser Skim.  One of the best parts is that it will auto-reload PDFs that change on disk (e.g., when you recompile a LaTeX document into a PDF).  I just found out how to make it even better, so that Skim never asks you whether [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve said before how much I like the streamlined browser <a href="http://skim-app.sourceforge.net">Skim</a>.  One of the best parts is that it will auto-reload PDFs that change on disk (e.g., when you recompile a LaTeX document into a PDF).  I just found out how to make it even better, so that Skim never asks you whether to reload, it just does it automatically:</p>
<blockquote><p><code>$ defaults write -app Skim SKAutoReloadFileUpdate -boolean true</code></p></blockquote>
<p>Voila!</p>
]]></content:encoded>
			<wfw:commentRss>http://quote.ucsd.edu/blogs/rogblog/2008/01/24/auto-reload-all-the-time-with-skim/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BibTeX gotcha</title>
		<link>http://quote.ucsd.edu/blogs/rogblog/2008/01/23/bibtex-gotcha/</link>
		<comments>http://quote.ucsd.edu/blogs/rogblog/2008/01/23/bibtex-gotcha/#comments</comments>
		<pubDate>Thu, 24 Jan 2008 00:32:00 +0000</pubDate>
		<dc:creator>rlevy</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://quote.ucsd.edu/blogs/rogblog/2008/01/23/bibtex-gotcha/</guid>
		<description><![CDATA[For a long time I have been unsuccessful at using the crossref field in BibTeX properly for the situations where I need it most: when I have multiple chapters in an book consisting of an edited collection of articles in my database, and I want to provide book-level information through a cross-reference.  I always [...]]]></description>
			<content:encoded><![CDATA[<p>For a long time I have been unsuccessful at using the <code>crossref</code> field in BibTeX properly for the situations where I need it most: when I have multiple chapters in an book consisting of an edited collection of articles in my database, and I want to provide book-level information through a cross-reference.  I always got the error</p>
<p><code>Warning--empty booktitle in &lt;your_favorite_key_here&gt;</code></p>
<p>which was rather frustrating.</p>
<p>However, I&#8217;ve finally figured out that for a book or proceedings, you need to specify <em>both </em> <code>title</code> and <code>booktitle</code> fields in the book entry.  Most of the time the contents of these fields will be identical.  Looking back at the Guide to LaTeX, this is a no-brainer, but it stumped me for a very long time.  May this blog post save you similar agony!</p>
]]></content:encoded>
			<wfw:commentRss>http://quote.ucsd.edu/blogs/rogblog/2008/01/23/bibtex-gotcha/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
