<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Biboroku</title>
	<atom:link href="http://nomo17k.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://nomo17k.wordpress.com</link>
	<description>Miscellaneous notes for Dr. T</description>
	<lastBuildDate>Mon, 14 Dec 2009 21:12:04 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='nomo17k.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/52619c0d2898f996f3acbdb0f6d64fc5?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Biboroku</title>
		<link>http://nomo17k.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://nomo17k.wordpress.com/osd.xml" title="Biboroku" />
		<item>
		<title>PyRAF Tips</title>
		<link>http://nomo17k.wordpress.com/2009/11/27/pyraf-tips/</link>
		<comments>http://nomo17k.wordpress.com/2009/11/27/pyraf-tips/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 20:55:06 +0000</pubDate>
		<dc:creator>nomo17k</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[Research]]></category>

		<guid isPermaLink="false">http://nomo17k.wordpress.com/?p=576</guid>
		<description><![CDATA[The Standard Calling Sequence for an IRAF Task within a Python Script
This is just an example of how to run an IRAF task as if it is part of a Python module using PyRAF.  It ensures that the task parameters are set to their default values, and a user overrides only those parameters which [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nomo17k.wordpress.com&blog=7052207&post=576&subd=nomo17k&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h3>The Standard Calling Sequence for an IRAF Task within a Python Script</h3>
<p>This is just an example of how to run an IRAF task as if it is part of a Python module using PyRAF.  It ensures that the task parameters are set to their default values, and a user overrides only those parameters which need to be customized for a particular task.</p>
<blockquote><p><code>
<pre>

#!/usr/bin/env python
from pyraf import iraf
from pyraf.irafpar import IrafParList

def default_irafpar(task):
    # Return the IrafParList object for default parameters.
    return IrafParList(task.getName(), parlist=task.getDefaultParList())

def main():
    # Load IRAF packages.
    iraf.gemini(_doprint=0)
    iraf.gmos(_doprint=0)

    # Get default parameters and override some.
    yes, no = 'yes', 'no'
    plist = default_irafpar(iraf.gprepare)
    plist.setParList(inimages = 'someimage.fits',
                     rawpath = '/astro/data/',
                     fl_addmdf = yes,
                     mdfdir = '../mdf/',
                     logfile = '',
                     verbose = yes)

    # Run the task.
    iraf.gsprepare(ParList=plist)

    return

if __name__ == '__main__':
    main()
</pre>
<p></code>
</p></blockquote>
Posted in Python, Research  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nomo17k.wordpress.com/576/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nomo17k.wordpress.com/576/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nomo17k.wordpress.com/576/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nomo17k.wordpress.com/576/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nomo17k.wordpress.com/576/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nomo17k.wordpress.com/576/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nomo17k.wordpress.com/576/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nomo17k.wordpress.com/576/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nomo17k.wordpress.com/576/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nomo17k.wordpress.com/576/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nomo17k.wordpress.com&blog=7052207&post=576&subd=nomo17k&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nomo17k.wordpress.com/2009/11/27/pyraf-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0c402d583c253dc3af165687b9310dac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nomo17k</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing Freemind on Debian Lenny</title>
		<link>http://nomo17k.wordpress.com/2009/11/14/installing-freemind-on-debian-lenny/</link>
		<comments>http://nomo17k.wordpress.com/2009/11/14/installing-freemind-on-debian-lenny/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 04:15:48 +0000</pubDate>
		<dc:creator>nomo17k</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://nomo17k.wordpress.com/?p=573</guid>
		<description><![CDATA[Download .deb from Freemind&#8217;s sourceforge web page, e.g., freemind_0.8.1-2_all.deb.  Then

# apt-get install sun-java6-jre
# apt-get install libcommons-codec-java libcommons-lang-java libjcalendar-java
# apt-get install libjgoodies-forms-java librelaxng-datatype-java
# dpkg -i freemind_0.8.1-2_all.deb

Add the following line to ~/.bashrc:

export JAVA_HOME=/usr/lib/jvm/java-6-sun

(Without the environment variable set, I could not get freemind to run at all.)  You can then launch it by typing freemind on [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nomo17k.wordpress.com&blog=7052207&post=573&subd=nomo17k&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Download .deb from Freemind&#8217;s <a href="http://sourceforge.net/projects/freemind/files/freemind-deb/">sourceforge web page</a>, e.g., freemind_0.8.1-2_all.deb.  Then</p>
<blockquote><p>
# apt-get install sun-java6-jre<br />
# apt-get install libcommons-codec-java libcommons-lang-java libjcalendar-java<br />
# apt-get install libjgoodies-forms-java librelaxng-datatype-java<br />
# dpkg -i freemind_0.8.1-2_all.deb
</p></blockquote>
<p>Add the following line to ~/.bashrc:</p>
<blockquote><p>
export JAVA_HOME=/usr/lib/jvm/java-6-sun
</p></blockquote>
<p>(Without the environment variable set, I could not get freemind to run at all.)  You can then launch it by typing freemind on the shell or choose the program in the menu under office.</p>
Posted in Debian, Lenny, Linux  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nomo17k.wordpress.com/573/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nomo17k.wordpress.com/573/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nomo17k.wordpress.com/573/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nomo17k.wordpress.com/573/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nomo17k.wordpress.com/573/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nomo17k.wordpress.com/573/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nomo17k.wordpress.com/573/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nomo17k.wordpress.com/573/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nomo17k.wordpress.com/573/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nomo17k.wordpress.com/573/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nomo17k.wordpress.com&blog=7052207&post=573&subd=nomo17k&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nomo17k.wordpress.com/2009/11/14/installing-freemind-on-debian-lenny/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0c402d583c253dc3af165687b9310dac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nomo17k</media:title>
		</media:content>
	</item>
		<item>
		<title>KCorrect: kcorrect Python Port Project</title>
		<link>http://nomo17k.wordpress.com/2009/08/02/kcorrect-kcorrect-python-port-project/</link>
		<comments>http://nomo17k.wordpress.com/2009/08/02/kcorrect-kcorrect-python-port-project/#comments</comments>
		<pubDate>Sun, 02 Aug 2009 21:01:18 +0000</pubDate>
		<dc:creator>nomo17k</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[Research]]></category>

		<guid isPermaLink="false">http://nomo17k.wordpress.com/?p=539</guid>
		<description><![CDATA[By Taro Sato (taro at ap.smu.ca)
NOTE: This is a page for my old side programming project, on astrophysical computing.  I just moved it here since I haven&#8217;t been tracking access and therefore I don&#8217;t know if there has been any serious interest in doing k correction on Python rather than IDL.  If anyone is seriously [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nomo17k.wordpress.com&blog=7052207&post=539&subd=nomo17k&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h3>By Taro Sato (taro at ap.smu.ca)</h3>
<p><em>NOTE: This is a page for my old side programming project, on astrophysical computing.  I just moved it here since I haven&#8217;t been tracking access and therefore I don&#8217;t know if there has been any serious interest in doing k correction on Python rather than IDL.  If anyone is seriously interested in doing k correction with Python, this whole thing can be made into an open source project for communal use (if we can obtain an approval from the original library developer).</em></p>
<p>KCorrect is an attempt to wrap some of the utilities available in<a href="http://cosmo.nyu.edu/mb144/kcorrect/"><strong> kcorrect</strong> written by Michael Blanton</a> into an easy-to-use Python package.<strong> kcorrect</strong> is a collection of C/IDL codes which implements k corrections and photometric redshifts with broad-band photometry (and much more).</p>
<h3>Motivation</h3>
<p>With <a href="http://numpy.scipy.org/">NumPy</a> quickly maturing into the standard platform for scientific computing with Python, there should be an increasing interest in carrying out astronomical data analysis on Python in near future.  Python is a well-designed programming language offering astronomers a simple-to-use yet very powerful platform with all the advantages of a modern programming language (e.g., object orientation, exceptions, namespace) as well as the simplicity of a scripting language, not to mention it is FREE.  We (actually I&#8230;as of now) hope to contribute to the increase in the usage of Python among astrophysicists.</p>
<h3>Conditions of Use</h3>
<p>Since KCorrect is simply a Python wrapper to kcorrect (v4_1_4), users are requested to follow the conditions of use described in <a href="http://cosmo.nyu.edu/mb144/kcorrect/">kcorrect distribution website</a>.</p>
<p><span style="text-decoration:line-through;">No extra citation is necessary on the use of the Python version</span>.  I changed my mind because there are too many people who are not very sincere.  Please acknowledge the use of this Python version clearly, if you ever use a portion of this program in your published work</p>
<p>Also, please do not modify the program yourself.  If you wish to do that, please consider contributing to the project instead, rather than secretly using it to your liking and don&#8217;t even acknowledge somebody else&#8217;s effort on which you build your work.</p>
<p>Although we do attemp to ensure that users obtain similar results to the IDL version when desired, bugs are a fact of life; please report bugs and comments to Taro Sato (email address given above) if you suspect the problems occur with the Python version.</p>
<h3>General Description</h3>
<p>The general concepts of k corrections are well documented in Michael Blanton&#8217;s <a href="http://cosmo.nyu.edu/mb144/kcorrect/">kcorrect distribution website</a>; users of KCorrect are urged to learn the principles behind the software by throughly reading his documentation.  There is also an <a href="http://adsabs.harvard.edu/cgi-bin/nph-bib_query?bibcode=2002astro.ph.10394H&amp;db_key=PRE&amp;data_type=HTML&amp;format=&amp;high=40c0dc207d00856">article written by David Hogg</a> which may be of interest for users of kcorrect.</p>
<p>The KCorrect Python port project is totally a volunteer effort by those who love to code in Python, so we have not implemented all the rich functionalities already available in the IDL version of kcorrect (it is slow going without external contributions; please let me know if you can contribute a tiny bit).</p>
<h3>Currently Available Functionalities</h3>
<ul>
<li>Core implementation of k correction</li>
<li>High-level interface for some redshift surveys (so far only SDSS and DEEP)</li>
</ul>
<h3>Installing KCorrect</h3>
<p>This version of KCorrect requires the following software to be already installed on your machine:</p>
<ul>
<li>Python 2.3.5 or better (http://www.python.org/)</li>
<li>NumPy 1.0rc1 or better (http://www.scipy.org/Download/)</li>
<li>SWIG 1.3.24 or better (http://www.swig.org/)</li>
</ul>
<p>Download the snapshot version <a href="http://ap.smu.ca/~taro/software/kcorrect/KCorrect-0.2b.tar.gz">here</a>. README.txt included in the tarball has a detailed installation instruction.  If you already have a working installation of the IDL version of kcorrect (which is a requirement), the standard python method</p>
<pre> $ python setup.py install</pre>
<p>should simply work.</p>
<h3>Usage</h3>
<p>Here is an example IPython session:</p>
<pre>In [1]: import KCorrect as KC

In [2]: maggie = [1., 4.78, 10.96, 14.45, 19.05]

In [3]: maggie_ivar = [1100., 28., 7.7, 4.4, 2.5]

In [4]: redshift = 0.03

In [5]: filters = KC.FilterList(['sdss_u0.par','sdss_g0.par','sdss_r0.par',
   ...:                          'sdss_i0.par','sdss_z0.par'])

In [6]: kc = KC.KCorrect()

In [7]: kc.set_data(redshift, filters, maggie, maggie_ivar)

In [8]: print kc.kcorrect(band_shift=0.1)
[[-0.38402203 -0.33727303 -0.19066639 -0.15796432 -0.13370053]]</pre>
<p>The above example is to be compared to the one given at <a href="http://cosmo.nyu.edu/mb144/kcorrect/">kcorrect distribution website</a>.  What we wanted to do with the Python version is to hide the part of implementation that users really do not want to deal with (e.g., conversions to &#8220;AB maggies,&#8221; preserving the projection table or the template spectra, etc.).  A more typical usage goes like this:</p>
<pre>In [11]: redshift = [1.029, 0.9581]

In [12]: deepmag = [[23.112, 22.363, 21.690],[24.668, 23.878, 23.248]]

In [13]: kc = KC.KCorrectDEEP(cosmo=(0.3,0.7,1.0))

In [14]: kc.set_data(redshift, deepmag)

In [15]: print kc.absmag()
[[-21.2052002  -21.69138336 -21.85865593]
 [-19.35534096 -19.64371872 -19.71680069]]

In [16]: vega2ab = KC.vega2ab(kc.filter_list)

In [17]: print kc.absmag() - vega2ab
[[-21.0925668  -21.93185531 -22.3164852 ]
 [-19.24270756 -19.88419066 -20.17462996]]

In [18]: bessell = KC.FilterList(['bessell_V.par','bessell_R.par'])

In [19]: print kc.appmag(filter_list=bessell)
[[ 22.75250435  22.36059952]
 [ 24.18490219  23.83894157]]</pre>
<p>Note that the classes in KCorrect package are designed so that users need to define the minimal set of input data.  Fine tuning of parameters (e.g., assumed cosmology above) can generally be done using optinal input arguments.  We also implement some auxiliary functions such as:</p>
<pre>In [28]: KC.get_available_filters()</pre>
<p>which returns the list of all available filter file names.</p>
<h3>Documentation</h3>
<p>At this point, no fancy documentation is available besides this web page.  We strive to document the software using Python&#8217;s native docstrings.  For example, doing</p>
<pre>In [29]: help(KC.KCorrectDEEP)</pre>
<p>should give you more detailed information about KCorrectDEEP class in KCorrect package.</p>
Posted in Python, Research  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nomo17k.wordpress.com/539/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nomo17k.wordpress.com/539/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nomo17k.wordpress.com/539/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nomo17k.wordpress.com/539/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nomo17k.wordpress.com/539/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nomo17k.wordpress.com/539/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nomo17k.wordpress.com/539/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nomo17k.wordpress.com/539/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nomo17k.wordpress.com/539/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nomo17k.wordpress.com/539/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nomo17k.wordpress.com&blog=7052207&post=539&subd=nomo17k&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nomo17k.wordpress.com/2009/08/02/kcorrect-kcorrect-python-port-project/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0c402d583c253dc3af165687b9310dac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nomo17k</media:title>
		</media:content>
	</item>
		<item>
		<title>Setting Up Squid Proxy Server on Mac OS X Leopard</title>
		<link>http://nomo17k.wordpress.com/2009/07/30/setting-up-squid-proxy-server-on-mac-os-x-leopard/</link>
		<comments>http://nomo17k.wordpress.com/2009/07/30/setting-up-squid-proxy-server-on-mac-os-x-leopard/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 20:47:33 +0000</pubDate>
		<dc:creator>nomo17k</dc:creator>
				<category><![CDATA[Leopard]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://nomo17k.wordpress.com/?p=529</guid>
		<description><![CDATA[My goal is to set up a very basic proxy server on my Mac box on campus, so that I can have full access to subscription-based academic journals via the proxy on my laptop even when I am off campus.  Some schools provide such (library) proxies but my school unfortunately does not.  I want to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nomo17k.wordpress.com&blog=7052207&post=529&subd=nomo17k&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>My goal is to set up a very basic proxy server on my Mac box on campus, so that I can have full access to subscription-based academic journals via the proxy on my laptop even when I am off campus.  Some schools provide such (library) proxies but my school unfortunately does not.  I want to set it up such that the proxy requires a password authentication in order not to make it wide open to the public.</p>
<h3>Getting and Installing Squid</h3>
<p><a href="http://www.squid-cache.org/Versions/v2/2.7/">Download a tarball</a> for a stable version from the repository.  The version that I use here is 2.7.  I assume the file is downloaded to <em>/usr/local/src/squid</em>.</p>
<blockquote>
<pre>$ cd /usr/local/src/squid
$ gunzip -c squid-2.7.STABLE6.tar.gz | tar xvf -
$ cd squid-2.7.STABLE6
$ ./configure
$ make
$ sudo make install
$ cd helpers/basic_auth/NCSA
$ make
$ sudo make install
$ sudo /usr/local/squid/sbin/squid -z
$ sudo chown -R nobody var</pre>
</blockquote>
<p>Squid will be installed at <em>/usr/local/squid</em>.  (The last command is necessary to run a daemon as user &#8220;nobody.&#8221;)</p>
<h3>Configure Squid</h3>
<p>First, prepare a NCSA-compliant encrypted password file as follows for a user (here with username johndoe).</p>
<blockquote>
<pre>$ cd /usr/local/squid/etc
$ sudo touch squid_passwd
$ sudo chmod o+r squid_passwd
$ sudo htpasswd squid_passwd johndoe
New password:
Re-type new passwod:
Adding passwod for user johndoe</pre>
</blockquote>
<p>Now, edit <em>/usr/local/squid/etc/squid.conf</em>.  The following lines need to be added:</p>
<blockquote>
<pre># Add this to the auth_param section
auth_param basic program /usr/local/squid/libexec/ncsa_auth /usr/local/squid/etc/squid_passwd

# Add this to the bottom of the ACL section
acl ncsa_users proxy_auth REQUIRED

# Add this at the top of the http_access section
http_access allow ncsa_users</pre>
</blockquote>
<p>Finally, run the server:</p>
<blockquote>
<pre>$ sudo /usr/local/squid/sbin/squid -N -d 1 -D</pre>
</blockquote>
<p>With firewall, I allow squid to be open to incoming connections.</p>
<p>The IP address or host name of your Mac box at the port 3128 will be available as a proxy server now.</p>
<h3>Launch Squid on Startup with launchd</h3>
<p>Under the directory <em>/Library/LaunchDaemons</em>, create a file squid.plist with the following content:</p>
<blockquote>
<pre>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
&lt;plist version="1.0"&gt;
  &lt;dict&gt;
    &lt;key&gt;Label&lt;/key&gt;
    &lt;string&gt;tssquid&lt;/string&gt;
    &lt;key&gt;OnDemand&lt;/key&gt;
    &lt;false/&gt;
    &lt;key&gt;ProgramArguments&lt;/key&gt;
    &lt;array&gt;
      &lt;string&gt;/usr/local/squid/sbin/squid&lt;/string&gt;
      &lt;string&gt;-N&lt;/string&gt;
      &lt;string&gt;-d 1&lt;/string&gt;
      &lt;string&gt;-D&lt;/string&gt;
    &lt;/array&gt;
    &lt;key&gt;ServiceIPC&lt;/key&gt;
    &lt;false/&gt;
  &lt;/dict&gt;
&lt;/plist&gt;</pre>
</blockquote>
<p>Then issuing</p>
<blockquote>
<pre>$ sudo launchctl load -w /Library/LaunchDaemons/squid.plist</pre>
</blockquote>
<p>will launch squid.  On reboot, the proxy  should also be working automatically.</p>
<h3>Launch Squid on Startup with SystemStarter</h3>
<p>This method should be ignored in favor of the method with <tt>launchd</tt> described above.  This one is incomplete anyways&#8230;</p>
<p>This is a server so it would be convenient if the proxy starts up upon reboot automatically.  Here is a Mac way to do it:</p>
<blockquote>
<pre>$ sudo mkdir /Library/StartupItems/squid
$ sudo touch /Library/StartupItems/squid/squid
$ sudo touch /Library/StartupItems/squid/StartupParameters.plist
$ sudo chmod +x /Library/StartupItems/squid/squid</pre>
</blockquote>
<p>The newly created files should have contents as follows.</p>
<p>squid:</p>
<blockquote>
<pre>#!/bin/sh

. /etc/rc.common

StartService()
{
 ConsoleMessage "Starting squid"
 /usr/local/squid/bin/RunCache &amp;
}

StopService()
{
 ConsoleMessage "Stopping squid"
 # TODO: add a command to stop squid
}

RestartService()
{
 ConsoleMessage "Restarting squid"
 # TODO: add a command to restart squid
 StopService
 StartService
}

RunService "$1"</pre>
</blockquote>
<p>StartupParameters.plist:</p>
<blockquote>
<pre>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE plist
 SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd"&gt;
&lt;plist version="0.9"&gt;
 &lt;dict&gt;
 &lt;key&gt;Description&lt;/key&gt;
 &lt;string&gt;squid&lt;/string&gt;
 &lt;key&gt;Provides&lt;/key&gt;
 &lt;array&gt;
 &lt;string&gt;squid&lt;/string&gt;
 &lt;/array&gt;
 &lt;key&gt;Requires&lt;/key&gt;
 &lt;array&gt;
 &lt;string&gt;Network&lt;/string&gt;
 &lt;/array&gt;
 &lt;key&gt;OrderPreference&lt;/key&gt;
 &lt;string&gt;Last&lt;/string&gt;
 &lt;/dict&gt;
&lt;/plist&gt;</pre>
</blockquote>
<h3>References</h3>
<p><a href="http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch32_:_Controlling_Web_Access_with_Squid">Quick HOWTO: Ch32 : Controlling Web Access with Squid &#8211; Linux Home Networking</a></p>
Posted in Leopard, Mac OS X  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nomo17k.wordpress.com/529/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nomo17k.wordpress.com/529/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nomo17k.wordpress.com/529/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nomo17k.wordpress.com/529/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nomo17k.wordpress.com/529/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nomo17k.wordpress.com/529/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nomo17k.wordpress.com/529/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nomo17k.wordpress.com/529/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nomo17k.wordpress.com/529/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nomo17k.wordpress.com/529/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nomo17k.wordpress.com&blog=7052207&post=529&subd=nomo17k&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nomo17k.wordpress.com/2009/07/30/setting-up-squid-proxy-server-on-mac-os-x-leopard/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0c402d583c253dc3af165687b9310dac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nomo17k</media:title>
		</media:content>
	</item>
		<item>
		<title>most (a pager application) Binary for Mac OS X Leopard</title>
		<link>http://nomo17k.wordpress.com/2009/07/16/most-a-pager-application-binary-for-mac-os-x-leopard/</link>
		<comments>http://nomo17k.wordpress.com/2009/07/16/most-a-pager-application-binary-for-mac-os-x-leopard/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 20:19:24 +0000</pubDate>
		<dc:creator>nomo17k</dc:creator>
				<category><![CDATA[Leopard]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://nomo17k.wordpress.com/?p=523</guid>
		<description><![CDATA[My favorite pager is most, not more or less, so I build a binary.  Simply gunzip and put it in your bin directory.
Download MOST version 5.0.0 (S-Lang version pre2.2.0-121) for Mac OS X Leopard.
No warranty of any kind though.
Posted in Leopard, Mac OS X       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nomo17k.wordpress.com&blog=7052207&post=523&subd=nomo17k&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>My favorite pager is <tt>most</tt>, not <tt>more</tt> or <tt>less</tt>, so I build a binary.  Simply gunzip and put it in your bin directory.</p>
<p><a href="http://ap.smu.ca/~taro/software/most.gz">Download</a> MOST version 5.0.0 (S-Lang version pre2.2.0-121) for Mac OS X Leopard.</p>
<p>No warranty of any kind though.</p>
Posted in Leopard, Mac OS X  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nomo17k.wordpress.com/523/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nomo17k.wordpress.com/523/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nomo17k.wordpress.com/523/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nomo17k.wordpress.com/523/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nomo17k.wordpress.com/523/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nomo17k.wordpress.com/523/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nomo17k.wordpress.com/523/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nomo17k.wordpress.com/523/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nomo17k.wordpress.com/523/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nomo17k.wordpress.com/523/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nomo17k.wordpress.com&blog=7052207&post=523&subd=nomo17k&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nomo17k.wordpress.com/2009/07/16/most-a-pager-application-binary-for-mac-os-x-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0c402d583c253dc3af165687b9310dac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nomo17k</media:title>
		</media:content>
	</item>
		<item>
		<title>Logitech MX Revolution in Mac OS X Leopard</title>
		<link>http://nomo17k.wordpress.com/2009/07/09/logitech-mx-revolution-in-mac-os-x-leopard/</link>
		<comments>http://nomo17k.wordpress.com/2009/07/09/logitech-mx-revolution-in-mac-os-x-leopard/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 19:27:10 +0000</pubDate>
		<dc:creator>nomo17k</dc:creator>
				<category><![CDATA[Leopard]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://nomo17k.wordpress.com/?p=514</guid>
		<description><![CDATA[I want to use this mouse as if it is a 3-button mouse, such that within X a middle click pastes the content in the clipboard.
I find the Logitech Control Center (LCC) for Mac OS X to work just fine.  After installation, it will show up under System Preferences under the category labeled &#8220;Other&#8221;.
First, in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nomo17k.wordpress.com&blog=7052207&post=514&subd=nomo17k&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I want to use this mouse as if it is a 3-button mouse, such that within X a middle click pastes the content in the clipboard.</p>
<p>I find the <a href="http://www.logitech.com/index.cfm/428/130&amp;cl=ca,en?softwareid=659&amp;osid=9">Logitech Control Center (LCC) for Mac OS X</a> to work just fine.  After installation, it will show up under System Preferences under the category labeled &#8220;Other&#8221;.</p>
<p>First, in order to make One-Touch Search button (that&#8217;s a button right below the vertical scroll wheel) as the third button, plug in your Apple Mighty Mouse, go to System Preferences -&gt; Keyboard &amp; Mouse -&gt; Mouse, and select the middle button to act as &#8220;Button 3&#8243;.  Then unplug the Mighty Mouse and plug in your MX Revolution again.  Awkward, but it works&#8230;</p>
Posted in Leopard, Mac OS X  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nomo17k.wordpress.com/514/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nomo17k.wordpress.com/514/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nomo17k.wordpress.com/514/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nomo17k.wordpress.com/514/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nomo17k.wordpress.com/514/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nomo17k.wordpress.com/514/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nomo17k.wordpress.com/514/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nomo17k.wordpress.com/514/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nomo17k.wordpress.com/514/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nomo17k.wordpress.com/514/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nomo17k.wordpress.com&blog=7052207&post=514&subd=nomo17k&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nomo17k.wordpress.com/2009/07/09/logitech-mx-revolution-in-mac-os-x-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0c402d583c253dc3af165687b9310dac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nomo17k</media:title>
		</media:content>
	</item>
		<item>
		<title>Miscellaneous Mac OS X Leopard Tips</title>
		<link>http://nomo17k.wordpress.com/2009/06/21/miscellaneous-mac-os-x-leopards-tips/</link>
		<comments>http://nomo17k.wordpress.com/2009/06/21/miscellaneous-mac-os-x-leopards-tips/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 20:54:07 +0000</pubDate>
		<dc:creator>nomo17k</dc:creator>
				<category><![CDATA[Leopard]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://nomo17k.wordpress.com/?p=494</guid>
		<description><![CDATA[Here is a list of miscellaneous tips when configuring my new iMac to my liking.
Disable Automatic Login &#38; Password Protect the System
Apple Menu -&#62; System Preferences -&#62; Security -&#62; General
Check the following: &#8220;Require password to wake this computer from sleep or screen saver&#8221; and &#8220;Disable automatic login.&#8221;
Firefall
Apple Menu -&#62; System Preferences -&#62; Security -&#62; Firewall
and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nomo17k.wordpress.com&blog=7052207&post=494&subd=nomo17k&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Here is a list of miscellaneous tips when configuring my new iMac to my liking.</p>
<h2>Disable Automatic Login &amp; Password Protect the System</h2>
<p>Apple Menu -&gt; System Preferences -&gt; Security -&gt; General</p>
<p>Check the following: &#8220;Require password to wake this computer from sleep or screen saver&#8221; and &#8220;Disable automatic login.&#8221;</p>
<h2>Firefall</h2>
<p>Apple Menu -&gt; System Preferences -&gt; Security -&gt; Firewall</p>
<p>and choose &#8220;Allow only essential services&#8221; for the maximum protection.  Use by-application/service option for more flexibility, when allowing remote login via ssh, for example.</p>
<h2>Remote Login with SSH</h2>
<p>Apple Menu -&gt; System Preferences -&gt; Sharing</p>
<p>Check &#8220;Remote Login.&#8221;  Don&#8217;t forget to reconfigure the firewall to allow ssh (see above).</p>
<h2>Right Clicking with Apple Mouse</h2>
<p>Apple Menu -&gt; System Preferences -&gt; Keyboard &amp; Mouse -&gt; Mouse</p>
<p>and specify &#8220;Secondary Button&#8221; for the right side of your Apple Mouse.</p>
<h2>Japanese Input Method</h2>
<p>Apple Menu -&gt; System Preferences -&gt; International -&gt; Input Menu</p>
<p>and check the box for Kotoeri.  You can change the input method by clicking on a country-flag icon in the menu bar.</p>
Posted in Leopard, Mac OS X  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nomo17k.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nomo17k.wordpress.com/494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nomo17k.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nomo17k.wordpress.com/494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nomo17k.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nomo17k.wordpress.com/494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nomo17k.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nomo17k.wordpress.com/494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nomo17k.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nomo17k.wordpress.com/494/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nomo17k.wordpress.com&blog=7052207&post=494&subd=nomo17k&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nomo17k.wordpress.com/2009/06/21/miscellaneous-mac-os-x-leopards-tips/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0c402d583c253dc3af165687b9310dac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nomo17k</media:title>
		</media:content>
	</item>
		<item>
		<title>Setting Up Astro Research Environment on Mac OS X Leopard</title>
		<link>http://nomo17k.wordpress.com/2009/06/19/setting-up-astro-research-environment-on-mac-os-x-leopard/</link>
		<comments>http://nomo17k.wordpress.com/2009/06/19/setting-up-astro-research-environment-on-mac-os-x-leopard/#comments</comments>
		<pubDate>Sat, 20 Jun 2009 01:27:56 +0000</pubDate>
		<dc:creator>nomo17k</dc:creator>
				<category><![CDATA[Leopard]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Research]]></category>

		<guid isPermaLink="false">http://nomo17k.wordpress.com/?p=481</guid>
		<description><![CDATA[In my new research environment I have an iMac.  My preferred solution is Linux, but I figured that sometimes learning new things is a good thing (though I have to sacrifice my efficiency which I developed over the years using a Debian-based Linux box).
There are nice existing resources, like

OS X for Astronomers
Setup a New Mac [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nomo17k.wordpress.com&blog=7052207&post=481&subd=nomo17k&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In my new research environment I have an iMac.  My preferred solution is Linux, but I figured that sometimes learning new things is a good thing (though I have to sacrifice my efficiency which I developed over the years using a Debian-based Linux box).</p>
<p>There are nice existing resources, like</p>
<ul>
<li><a href="http://users.ociw.edu/jrigby/osx.html">OS X for Astronomers</a></li>
<li><a href="http://macsingularity.org/astrowiki/tiki-index.php?page=Setup+a+New+Mac+for+Astronomy">Setup a New Mac for Astronomy</a></li>
</ul>
<p>so what I leave here is a quickie for myself based on the above sites.</p>
<h2>X11</h2>
<p>X11 comes with Leopard.  Just drag the X11 icon at <em>/Applications/Utilities/X11</em> to your dock, so that clicking on it you have an X11 environment in which you can open up a shell terminal (Applications -&gt; Terminal).</p>
<h2>Xcode Tools</h2>
<p>This one includes all the necessary development applications.  Install these from the Mac OS X installation DVD.  Xcode Tools can be found under the Optional Installs directory.</p>
<h2>Fink</h2>
<p>As an apt-get afficionado, I like the way I can use the APT-based packaging system on Mac OS X.  Basically you can use the <tt>apt-get</tt> command the way you do on Debian.  Go to the <a href="http://www.finkproject.org/download/">Fink project web site</a> and download and install the software.  You can <a href="http://pdb.finkproject.org/pdb/">browse all the available packages</a> as well.  Nice.</p>
<h2>Software for Astrophysics</h2>
<p>Use <a href="http://web.mac.com/npirzkal/Scisoft">Scisoft</a> for Mac OS X to install a bunch at once.  People are lazy but that&#8217;s how innovations arise, I suppose.  The package will be installed at <em>/Applications/scisoft</em>.</p>
<h2>IRAF</h2>
<p>As of this writing, the version of IRAF is 2.14.  Applying 2.14.1 patch is actually easy by overwriting:</p>
<ol>
<li>Download IRAF binaries from ftp://iraf.noao.edu/iraf/v214/PCIX/ib.macx.x86.gz to <em>/Applications/scisoft/all/Packages/iraf/irafbin/bin.macintel</em> and just extract the archive with gzip and tar.</li>
<li>Download NOAO binaries from ftp://iraf.noao.edu/iraf/v214/PCIX/nb.macx.x86.gz to <em>/Applications/scisoft/all/Packages/iraf/irafbin/noao.bin.macintel</em> and extract the archive with gzip and tar.</li>
<li>Download the patch from ftp://iraf.noao.edu/iraf/v214/PCIX/patch1.tar.gz to <em>/Applications/scisoft/all/Packages/iraf/iraf</em> and extract the archive with gzip and tar.</li>
</ol>
<p>It is also recommended to check the versions of external packages.  If outdated, you can simply install them under <em>/Applications/scisoft/all/Packages/iraf/extern</em>.</p>
<p>If you are reusing login.cl file from a Linux installation, make sure to update your home environmental variable:</p>
<p>set home = &#8220;/Users/username&#8221;</p>
<p>(in Linux, it would be &#8220;/home/username&#8221; of course.)</p>
<p>IMPORTANT: Also, do not forget to do this:</p>
<blockquote><p>
$ cp /Applications/scisoft/all/Packages/iraf/iraf/dev/imtoolrc ~/.imtoolrc
</p></blockquote>
<p>Otherwise you may see DS9 not behaving well&#8230;</p>
<h2>DS9</h2>
<p>Download from <a href="http://hea-www.harvard.edu/RD/ds9/">here</a> and install the Leopard X11 version.</p>
<p>Others</p>
<ul>
<li><a href="http://download.openoffice.org/">OpenOffice.org</a></li>
<li><a href="http://www.gimp.org/downloads/">GIMP</a></li>
</ul>
<p>TO BE CONTINUED.  Still need to install quite a few packages via apt-get.</p>
<p>sudo apt-get install wget emacs22 gv less</p>
Posted in Leopard, Mac OS X, Research  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nomo17k.wordpress.com/481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nomo17k.wordpress.com/481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nomo17k.wordpress.com/481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nomo17k.wordpress.com/481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nomo17k.wordpress.com/481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nomo17k.wordpress.com/481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nomo17k.wordpress.com/481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nomo17k.wordpress.com/481/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nomo17k.wordpress.com/481/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nomo17k.wordpress.com/481/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nomo17k.wordpress.com&blog=7052207&post=481&subd=nomo17k&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nomo17k.wordpress.com/2009/06/19/setting-up-astro-research-environment-on-mac-os-x-leopard/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0c402d583c253dc3af165687b9310dac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nomo17k</media:title>
		</media:content>
	</item>
		<item>
		<title>Microsoft Natural Ergonomic Keyboard 4000 on Mac OS X Leopard</title>
		<link>http://nomo17k.wordpress.com/2009/06/19/microsoft-natural-ergonomic-keyboard-4000-on-mac-os-x-leopard/</link>
		<comments>http://nomo17k.wordpress.com/2009/06/19/microsoft-natural-ergonomic-keyboard-4000-on-mac-os-x-leopard/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 22:54:16 +0000</pubDate>
		<dc:creator>nomo17k</dc:creator>
				<category><![CDATA[Leopard]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://nomo17k.wordpress.com/?p=476</guid>
		<description><![CDATA[I just wish the keyboard to work fairly close to iMac keyboard.  Windows (labeled Start) and Alt keys are &#8220;flipped,&#8221; which is annoying.  Following this article, I set up the keyboard.  Basically
Apple -&#62; System Preferences -&#62; Keyboard &#38; Mouse (under Hardware submenu) -&#62; Keyboard tab -&#62; Modifier Keys
Select keyboard should be &#8220;Natural Ergonomic Keyboard 4000&#8243; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nomo17k.wordpress.com&blog=7052207&post=476&subd=nomo17k&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I just wish the keyboard to work fairly close to iMac keyboard.  Windows (labeled Start) and Alt keys are &#8220;flipped,&#8221; which is annoying.  Following <a href="http://codyhanson.com/blog/2007/11/13/os-x-leopard-and-usb-keyboards/">this article</a>, I set up the keyboard.  Basically</p>
<p>Apple -&gt; System Preferences -&gt; Keyboard &amp; Mouse (under Hardware submenu) -&gt; Keyboard tab -&gt; Modifier Keys</p>
<p>Select keyboard should be &#8220;Natural Ergonomic Keyboard 4000&#8243; and you just need to swap the Option and Command modifier key bindings.  That&#8217;s it.</p>
<p>However, the above change makes the key locations resemble that of Mac.  I am too used to the PC culture of using Ctrl + some key, and my productivity suffers when I cannot position my left hand that way.  Roughly speaking, the Command key on Mac corresponds to the Ctrl key on PC, so I decided to swap them as well:</p>
<p><a href="http://nomo17k.files.wordpress.com/2009/06/picture-2.png"><img class="alignnone size-full wp-image-510" title="MS Natural Ergonomic Keyboard Configuration" src="http://nomo17k.files.wordpress.com/2009/06/picture-2.png?w=431&#038;h=293" alt="MS Natural Ergonomic Keyboard Configuration" width="431" height="293" /></a></p>
<p>This works much better for me.</p>
<p>There are quite a few special keys that do not work the ways they do on Windows, but I don&#8217;t use them much anyways so it&#8217;s good for now.  I&#8217;ll keep adding instructions as I find them on the web.</p>
Posted in Leopard, Mac OS X  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nomo17k.wordpress.com/476/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nomo17k.wordpress.com/476/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nomo17k.wordpress.com/476/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nomo17k.wordpress.com/476/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nomo17k.wordpress.com/476/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nomo17k.wordpress.com/476/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nomo17k.wordpress.com/476/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nomo17k.wordpress.com/476/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nomo17k.wordpress.com/476/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nomo17k.wordpress.com/476/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nomo17k.wordpress.com&blog=7052207&post=476&subd=nomo17k&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nomo17k.wordpress.com/2009/06/19/microsoft-natural-ergonomic-keyboard-4000-on-mac-os-x-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0c402d583c253dc3af165687b9310dac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nomo17k</media:title>
		</media:content>

		<media:content url="http://nomo17k.files.wordpress.com/2009/06/picture-2.png" medium="image">
			<media:title type="html">MS Natural Ergonomic Keyboard Configuration</media:title>
		</media:content>
	</item>
		<item>
		<title>More Japanese Fonts</title>
		<link>http://nomo17k.wordpress.com/2009/04/22/more-japanese-fonts/</link>
		<comments>http://nomo17k.wordpress.com/2009/04/22/more-japanese-fonts/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 20:50:49 +0000</pubDate>
		<dc:creator>nomo17k</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://nomo17k.wordpress.com/?p=458</guid>
		<description><![CDATA[A few collections of web sites listing stylistic Japanese fonts for download:

フリーフォント最前線
脱力系フォントのまとめ
無料で使える日本語フォント11選

Some are free, others are not.
My favorite is 国鉄風フォント, which resembles the characters used by kokutetsu, the Japanese national railway system (now JR and privatized).  It has a very retro feel that I like.
Posted in Web       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nomo17k.wordpress.com&blog=7052207&post=458&subd=nomo17k&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A few collections of web sites listing stylistic Japanese fonts for download:</p>
<ul>
<li><a href="http://www.akibatec.net/freefont/fff.cgi?page=1&amp;mode=kt&amp;kt=01_01&amp;sort=">フリーフォント最前線</a></li>
<li><a href="http://tangerine.sweetstyle.jp/?eid=596754">脱力系フォントのまとめ</a></li>
<li><a href="http://www.designwalker.com/2007/03/jp-font.html">無料で使える日本語フォント11選</a></li>
</ul>
<p>Some are free, others are not.</p>
<p>My favorite is <a href="http://homepage1.nifty.com/tabi-mo/font.htm">国鉄風フォント</a>, which resembles the characters used by kokutetsu, the Japanese national railway system (now JR and privatized).  It has a very retro feel that I like.</p>
Posted in Web  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nomo17k.wordpress.com/458/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nomo17k.wordpress.com/458/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nomo17k.wordpress.com/458/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nomo17k.wordpress.com/458/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nomo17k.wordpress.com/458/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nomo17k.wordpress.com/458/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nomo17k.wordpress.com/458/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nomo17k.wordpress.com/458/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nomo17k.wordpress.com/458/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nomo17k.wordpress.com/458/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nomo17k.wordpress.com&blog=7052207&post=458&subd=nomo17k&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nomo17k.wordpress.com/2009/04/22/more-japanese-fonts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0c402d583c253dc3af165687b9310dac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">nomo17k</media:title>
		</media:content>
	</item>
	</channel>
</rss>